Electronics > Projects, Designs, and Technical Stuff

LTSPice LoopGain2 Circuit Stability example does not make sense.

(1/2) > >>

osflores@qdusa.com:
Hi all,
Lately I am learning about simulating circuit stability on Op Amps and I encountered an example provided by LTSPice "LoopGain2". When I use another common mothod of stabily analysis I get different results. The results that I get in the "LoopGain2" example has a negative Phase margin of -106 degrees at 0dB (see attached simulation LoopGain2.asc). When simulating with the other method which seems to be very popular I see a phase margin of 74 degrees at 0dB (see attached simulation LoopGain2_Other_Method.asc). Can someone explain what I am doing wrong or which one is right/wrong and why?

moffy:
I guess you realise that 74 - -106 = 180 degrees? I would say that the problem is just a matter of the reference phase not the result.

iMo:
Your schematics differ. Once you have the signal generator at the output, once in the input. Therefore perhaps that 180 shift.

youngda9:
Attached are VENABLE TECHNICAL PAPERs # 16 & #18.

It explains that "The criteria for making a loop measurement was to find a place in the loop where the signal was confined to a single path and the impedance looking into the circuit input was much
higher than the impedance of the circuit output."

In your first example, one side of the injection point is hooked to the output of the amplifier (low impedance) and looks into higher impedance circuitry.  This is done correctly.  I always set up my simulation this way and the phase with respect to 0degrees is directly measured as the phase at crossover, without subtracting out 180degrees...which is nice.  I like to see it this way.

In your second example both sides of the injection point are high-impedance, therefore this injection point is incorrect.  In a real-world application the results will be compromised most likely.  Seems to work in a simulation, but the phase is shifted for some reason...not sure why.

Either way, you just need to realize that the results are the same in your simulation when shifting the phase 180degrees as pointed out in the previous reply.  You have a single inverting amplifier application here, so the low frequency phase shift will be 180degrees.

osflores@qdusa.com:
Looks like one heck of a considence right, but I can't explain how I get a real phase margine from the negative. For instance, do I substract 180 degrees from it? why?