I need to do the stability analysis of my amplifier circuit. I implemented schematic in LTspice, where I did some of simulations, so I would like to keep the same tool also for the stability analysis. The amplifier schematic is the following:

PA Transient setup

I followed some video tutorial that advices the following steps for stability analysis:

  • Break feedback loop for the AC signals by inserting large - 1TH inductor between the output and feedback network (this way we keep the DC bias but block the AC),

  • Add large capacitance (1TF) between the feedback network and AC stimulus,

  • Ground the input.

Applying the previous, I got the following schematic:


If I correctly understand, the stability check is based by measuring the phase margin of the closed loop gain (that should be V(out)) on the intersect point of 1/β (that should be 1/V(fb), fb is feedback point) and open loop gain plots (that should be V(out)/V(fb)). In general, we should ensure that the phase shift of the feedback signal is less than 180° when amplifier reaches the unity gain (avoid amplification when feedback signal subtraction become addition, because of phase shift). In practice, as a rule of thumb, the minimum phase margin should be 45°. After simulation I get the following plot:

enter image description here

From the plot, I can notice that the phase margin is about 113° (180° - absolute_value(phase at intersection point)), so I can conclude that the amplifier is stable (right?). This also confirms the transient simulation. However, when I remove the 100pF capacitor at the transistor Q4 (the second differential pair), I get phase margin of 145°, but the transient analysis reveals oscillation, like on plot:


I am definitely missing something, so I need help to make correct setup and simulations (probably and interpretation).

  • \$\begingroup\$ Does it indicate HF oscillations when the input signal is zero? \$\endgroup\$
    – Andy aka
    Commented May 16, 2020 at 13:01
  • \$\begingroup\$ Without thinking too deep, V3 is the inverted input for feedback so your phase difference needs to be re-inverted to measure non-inverted phase-margin. \$\endgroup\$ Commented May 16, 2020 at 13:29
  • \$\begingroup\$ Yes, it indicates oscillations when the input signal is zero, in configuration with 100pF removed. \$\endgroup\$
    – IgorEkis
    Commented May 16, 2020 at 13:57
  • \$\begingroup\$ D1 has its anode disconnected. Also, no need to tempt the devil by using those humongous values for L and C; the matrix solver can cough if the dynamic range between two adjacent elements varies by more than 15(? don't recall) orders of magnitude. You have 1T (1e12) and 100n (1e-7) close to one another. 1k will suffice. \$\endgroup\$ Commented May 16, 2020 at 18:52

1 Answer 1


Stability depends on the gain and phase of the loop gain. That is the complete loop comparing one side of the break with the other. You should be comparing the gain and phase of the signals either side of the inductor. That is to say comparing Vout to the injected signal.

The complete loop phase must be substantially less than 360 degrees when the loop gain is 1 (unity). Notice that you have 180 degrees lag already at low frequency due to the inverting nature of the combined input stages. So theoretically you're allowed another 180 degrees lag around the rest of the loop at unity gain. In practice a safety margin is included (phase margin of say 45 degrees). So in practice the phase lag around the complete loop should be no more than 315 degrees at unity loop gain.

Also watch out for the phase scale. Where it starts at 180, that would have been clearer if it had been labeled -180 and then increase negatively to -360 where it is marked as 0.

If you find that the loop phase is greater than 315 degrees at unity loop gain then increase the size of C4, the compensation capacitor.

  • \$\begingroup\$ Thank you. A little off topic, do you think this two stage differential amplifier is maybe not good idea because of stability? \$\endgroup\$
    – IgorEkis
    Commented May 16, 2020 at 17:27
  • \$\begingroup\$ I've never seen a double input stage like that before. Usually one diff amp/current source/current mirror input stage suffices and contributes enough to the open loop gain (forward gain). I would expect your double input stage approach to largely increase the open loop gain for which you could compensate by having a larger value for C4 (8pF is quite small) and/or a larger closed loop gain, either of which will help to get the loop gain down to unity before the loop phase reaches -360. You'd have to look at the loop magnitude and phase response to be sure. \$\endgroup\$
    – user173271
    Commented May 16, 2020 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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