PSpice simultion

Thread Starter

thisonedude

Joined Apr 20, 2014
52
I keep getting a job aborted when i try to compile my pSpice file. Can anyone tell me what i am doing wrong? This is my code:
** Part4

Vi 1 0 AC 1
Rl1 1 2 10k
Rl2 2 4 10k
Cl 2 4 0.01u
X1 0 2 4 NOpamp

Rh1 4 5 10k
Ch 5 6 0.1u
Rh2 6 7 10k
X2 0 6 7 NOpamp


.subckt NOpamp 1 2 3
Ri 1 2 2MEG
Ei 4 0 1 2 1
R 4 5 1
C 5 0 0.0383
Eo 6 0 5 0 200K
Ro 6 3 75
.ENDS



.AC DEC 100 10 10M
.PRINT VDB(7), VP(7)
.OPTIONS POST
.END

And what i am tryig to construct is the following circuit: (Check attachment)
Any help would be appreciated!
 

Attachments

Last edited:

Thread Starter

thisonedude

Joined Apr 20, 2014
52
The only error message I get Is "job had aborted"
Does my spice code look correct at all? Is it maybe my parameters when I try to ask for an AC analysis?
 

Alec_t

Joined Sep 17, 2013
15,117
I don't use Pspice, but in LTspice ".AC DEC 100 10 10M" would be wrong. The 10M would be 10Meg (unless you really do want the analysis to start at 10milliHertz!).
Don't the opamps need a supply voltage?
 
Last edited:

MikeML

Joined Oct 2, 2009
5,444
Here is what works in LTSpice. I show you the netlist that LTSpice created based on the graphical schematic that I started with. You should be able to run that in PSpice.

The important thing is that you figure out what is wrong with your netlist. (There is an error)
 

Attachments

Last edited:

Thread Starter

thisonedude

Joined Apr 20, 2014
52
Thank you all for all the help!!! So I figured out my mistake. Instead of having 10M I Should have had a smaller stop value. My start value was greater than my stop value. Thanks all again!
 
Top