1
\$\begingroup\$

I have imported a Spice model of an op-amp from the link below and tried to plot the same outputs, but I am getting different results.

Link to the Spice model I used and the desired plot: https://www.eng.auburn.edu/~strouce/analogbc/opamp2.htm

Circuit I am using:

enter image description here

Output plots I am getting:

enter image description here

Edit: added a negative feedback and still getting the wrong results enter image description here

\$\endgroup\$
10
  • 2
    \$\begingroup\$ You need some amount of negative feedback - otherwise, the circuit has no fixed bias point at the linear portion of the transfer curve. This is due to the huge open-loop gain of the opamp. \$\endgroup\$
    – LvW
    Jul 29 at 7:27
  • \$\begingroup\$ After looking at the netlist at the end I can see that the non-inverting terminal is connected to an AC source (Vin 17 0 AC 1 DC 0 sin(0 1 1Mhz) and the inverting terminal is connected to a resistor (R1 18 0 0) but the value of resistance here is given as 0. Also I did run simulation with a negative feedback but still didn't get the wanted results. \$\endgroup\$
    – Anshul
    Jul 29 at 8:06
  • \$\begingroup\$ Anshul show us the circuit with feedback. \$\endgroup\$
    – LvW
    Jul 29 at 8:10
  • \$\begingroup\$ added in an edit section of original question \$\endgroup\$
    – Anshul
    Jul 29 at 8:20
  • 2
    \$\begingroup\$ When you run ac simulations, you must always look at the operating bias point. It tells you if the dc levels are within the expected ballpark or not. Here, OrCAD should let you display the bias points and we could see if they are correct or not. If the op-amp is stuck to the upper or lower rail, then something is wrong. I would first simulate the raw netlist given in the page and check results are correct. Then, redo the exercise with the included .LIB and see it is still correct. If all is ok but OrCAD keeps giving wrong results, then the symbol pinout might be the issue. \$\endgroup\$ Jul 29 at 8:22

1 Answer 1

3
\$\begingroup\$

For finding the open-loop curve, you should use "special" feedback.
For reference, Example with a "classic" op-amp.

enter image description here

For closed-loop, with one resistor your feedback is ok.
Probably, "operating point" check in your simulator.

NB: your generator amplitude voltage too high in TRAN analysis.

You can do also a DC Analysis if you want see the "characteristic" curve (Vout versus Vin).
See the "open-loop gain" under "slope" in the picture.

enter image description here

After "import" of the Spice file (free simulator microcap v12), I have this picture which seems "ok".
As pointed out by @Verbal Kint, probably pinout issue.

enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.