When discussing voltage regulators, one often hears that phase margin should be measured at the 0dB gain crossing. This makes intuitive sense in a simple system where the phase has only a negative slope with increasing frequency. However, what about in more complicated systems where the phase dips and then recovers before gain goes to zero? It would seem that system stability would depend on the lowest phase margin at any frequency with positive gain, rather than just the amount of phase margin when gain finally goes to zero.

An example bode plot is below: Bode plot with non-simple phase

Using the oft-cited method of measuring phase margin at 0dB (70kHz, in this case), one would report a phase margin of 87 degrees. However, if we look at the worst-case, we actually have 58 degrees of phase margin at 23kHz. Either way, there's probably enough margin to comfortably call this stable, but that's not always the case.

Often, one will add a pole to the feedback loop to boost phase margin towards the higher frequencies in an attempt to improve stability. However, I've seen little emphasis on maintaining margin in the middle of the frequency range.

Am I fundamentally misunderstanding stability, or is lots of regulator design literature glossing over this important consideration when looking at phase response?

  • \$\begingroup\$ Phase margin is good only to guarantee instability. It can help to assess stability in a dominant pole system, but in your case even speaking of phase margin makes no sense. \$\endgroup\$ Commented Aug 25, 2017 at 22:06
  • \$\begingroup\$ Is this a real system, a simulation of a TF, arbitrary, ... ? The phase scale appears to go down from 180deg to 40deg is that correct? \$\endgroup\$
    – Chu
    Commented Aug 26, 2017 at 8:46
  • \$\begingroup\$ I do not agree with V. Cravero. It is no problem to identify a phase margin of 87 deg. from the plot. \$\endgroup\$
    – LvW
    Commented Aug 26, 2017 at 13:03

3 Answers 3


Phase margin is defined at the zero dB crossing of the gain. A system that has a phase dip that touches -180 degrees with positive gain will still be stable if the phase margin as measured where the gain crosses 0 dB is sufficient.

This is called "conditional stability" because if the gain changes so that the zero crossing occurs where the phase is close to -180 then the system can be unstable.

This can be problematic because the gain may go through an unstable point during power up, or over temperature or component variation, etc.

That's why it's desirable to have good gain margin as well. No matter how intuitive it seems, phase margin is NOT measured at the lowest phase dip where there is gain > 0dB, and a phase dip with gain >0dB doesn't predict system stability.

See the "conditional stability" section in this paper.


Phase and gain margins on the Bode plot are not the best metrics for determining stability as noted in this paper and this discussion. I believe the Nyquist criterion would probably be the simplest graphical approach. There are a variety of metrics that may be used, the gap-metric being my favorite. There is a lot of information in the book "Multivariable Feedback Control: Analysis and Design" by Skogestad and Postlethwaite.

  • \$\begingroup\$ I'm upvoting this because the paper you cited was a good read. Thanks for the link. \$\endgroup\$
    – bobflux
    Commented Aug 25, 2017 at 22:43
  • \$\begingroup\$ The BODE plot contains exactly the same information as the Nyquist plot. The only difference is: Magnitude and phase are shown separately. Hence, each criterion (Nyquist, full oder simplified) can be applied to the BODE plot as well. However, sometimes the Nyquist plot is more practical for applying the criterion. \$\endgroup\$
    – LvW
    Commented Aug 26, 2017 at 12:59
  • \$\begingroup\$ The stability criterion applied to a Bode plot can potentially fail with nonminimum-phase systems. As soon as your transfer function embarks RHP zero(s), RHP pole(s) or pure delays, Bode can mislead you and only Nyquist can tell you if the system is stable by applying the Cauchy principle: agreed, it is not obvious without a good mathematical solver. The condition for oscillation (before checking phase) is a magnitude of 1 so in the proposed plot, even if the phase momentarily reverses while the gain is greater than 1, conditions for oscillations are not met. \$\endgroup\$ Commented Aug 26, 2017 at 16:56

Even if the phase dips below 180 degrees before the gain reaches 0dB, the system could still be stable.

Given the block diagram of a feedback system below, we can show why the only point to consider for phase margin is when the gain is 0dB.

enter image description here

The closed loop transfer function is below. This just says that the input voltage is multiplied by this "transfer function" to get the output voltage.

enter image description here

The punch line here is that if the denominator (1+AB) ever equals 0 then the equation will be unbounded and go to infinity! This is instability, you can't divide by 0. All other values have a finite result and are valid.

So how does the denominator get to 0? If AB ever equals -1, then the denominator is 0. The only way for AB to equal -1 is if the loop gain (AB) is 1 (or 0dB) with a -180 degree phase shift, which will make it -1.

So the system is only unstable when the loop gain is 1 with a -180 degree phase shift. It does not matter if the phase crosses -180 deg at other points. Of course you don't want to be anywhere near 180 deg phase shift at a gain of 1 or the system can be easily pushed into that unstable zone.

AB is a very special value and has a specific name, Loop Gain. Stability (phase margin) is measured from a systems loop gain, not closed loop gain. The value of AB (Loop Gain) has many other implications that are not mentioned here.

There is much much more to this topic, but I think having this basic understanding of where that phase margin criteria came from is important and a good place to start.


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.