Phase margin and ideal opamp

Thread Starter

FerrariRace

Joined Aug 7, 2015
4
Hi guys,

I see a lot of posts talking about the phase margin of an inverting opamp as beta*open loop gain. Here beta is the feedback factor. Lets say I have an ideal opamp in ltspice since I am using the universal opamp 2 model. A(open loop) is fixed and does not vary with frequency. Neither does the compensation network , assuming it is made of resistors only. How do I find the phase margin of such a circuit?
 

crutschow

Joined Mar 14, 2008
34,285
The LTspice opamp 2 component has no circuit and requires a subcircuit model to be added. It's the subcircuit characteristics that determine the gain and phase margin.

An ideal op amp does not have a constant open-loop gain with frequency. It rolls off smoothly at 6dB per octave. If it did not roll off in this manner it would not be stable in a closed-loop configuration with feedback.
 

Thread Starter

FerrariRace

Joined Aug 7, 2015
4
I have attached a file . I did not add any circuit to the universal opamp. I still get a roll-off rate. Am I doing something wrong? How do I set the location of the first pole and second pole of the ideal opamp?
 

Attachments

crutschow

Joined Mar 14, 2008
34,285
Okay, I was mistakenly referring to the opamp2 component, not the UniversalOpamp2, which does indeed have gain and internal poles.
If you right-click on the op amp, you will see the parameters that can be adjusted. The can be set to whatever phase margin you desire.
What is your definition of an "ideal op amp"? That will determine where the poles are set.
 

ScottWang

Joined Aug 23, 2012
7,397
Next time when you upload the *.asc, please also attach a circuit for *.gif file, it will let other members whom maybe not play the LTspice, but they still can help you.
 
Top