What is Phase margin?

How far the phase lag is from 180° at the frequency where the feedback loop gain is 1 (0 dB). A small margin causes ringing, and zero or negative margin causes oscillation; 45-60° or more is a common target.

Field: Analog and electronic circuits

Japanese name: 位相余裕(フェーズマージン)

How phase margin is defined

Take the loop gain T = Aβ, the gain a signal sees going once around the feedback loop. At the crossover frequency where the magnitude of T falls to 1 (0 dB), phase margin is how far the phase lag still is from 180 degrees: with 120 degrees of lag, the margin is 60 degrees. Gain margin is the companion measure, how far the loop gain is below 0 dB at the frequency where the lag reaches 180 degrees. Both are read from a Bode plot of the loop gain, not of the closed-loop response.

What the number means in practice

Zero margin means the loop sustains oscillation, and negative margin means the oscillation grows. Small positive margins show up as peaking in the closed-loop frequency response and overshoot with ringing in the step response. Around 45 degrees, overshoot is clearly visible; around 60 degrees, the response is fast with only slight overshoot, which is why 45 to 60 degrees or more is the usual target. Very large margins are stable but often mean bandwidth has been given away.

Where the phase lag comes from

Each pole in the loop contributes up to 90 degrees of lag, so two poles near the crossover frequency push the total toward 180 degrees. Dominant-pole compensation places one pole at a very low frequency, a few to tens of hertz in general-purpose op-amps, often using the Miller effect so a small on-chip capacitor suffices. Gain then falls at −20 dB per decade and crosses 0 dB well before the next pole adds much lag. With a single second pole, placing it about 1.7 times above crossover gives roughly 60 degrees of margin. The cost is lower bandwidth and slew rate.

Why the voltage follower is the worst case

With feedback fraction β = 1, loop gain equals the full open-loop gain and crossover occurs at the highest frequency, closest to the op-amp's internal poles. Higher closed-loop gain means smaller β, a lower crossover and more margin, so decompensated op-amps are specified as stable only above a minimum gain. Capacitive loads, which form an extra pole with the output resistance, and delays in the loop also erode margin. The same analysis applies to voltage regulators and phase-locked loops.

Try it: questions about Phase margin

Which of the following correctly describes the gain margin and phase margin read from the Bode plot of the loop transfer function?

  1. AThe gain margin is the difference of the phase from −180° at the frequency where the gain is 0 dB, and the phase margin is the difference of the gain from 0 dB at the frequency where the phase is −180°
  2. BThe gain margin is the difference of the gain from 0 dB at the frequency where the phase is −180°, and the phase margin is the difference of the phase from −180° at the frequency where the gain is 0 dB
  3. CBoth the gain margin and the phase margin are read on the closed-loop Bode plot at the frequency where the gain is −3 dB
Show answer and explanation

Answer: B. The gain margin is the difference of the gain from 0 dB at the frequency where the phase is −180°, and the phase margin is the difference of the phase from −180° at the frequency where the gain is 0 dB

The gain margin is how many decibels the gain is below 0 dB at the phase crossover frequency, where the phase reaches −180°. The phase margin is how many degrees the phase still is from −180° at the gain crossover frequency, where the gain is 0 dB. Both measure how close the loop transfer function comes to the point −1 (gain 0 dB, phase −180°), and they are read from the loop transfer function, not the closed loop. For servo systems, a gain margin of about 10 to 20 dB and a phase margin of about 40 to 60° are common guidelines.

Raising the gain of the loop transfer function reduced the phase margin from 60° to 30°. Which of the following correctly describes the change in the closed-loop step response?

  1. AThe overshoot becomes smaller and the oscillation disappears, but in exchange the rise of the response becomes slower
  2. BThe phase margin is a frequency-response measure, so it does not affect the shape of the step response
  3. CThe response tends to become faster, but the overshoot becomes larger and the oscillation takes longer to die out
Show answer and explanation

Answer: C. The response tends to become faster, but the overshoot becomes larger and the oscillation takes longer to die out

Raising the gain raises the gain crossover frequency and makes the response faster, but a smaller phase margin lowers the damping ratio of the closed loop. As a rule of thumb, the damping ratio ζ is estimated at about one hundredth of the phase margin in degrees. For the standard system whose loop transfer function is ωn²/(s(s + 2ζωn)), the overshoot is about 9% at a phase margin of 60° and about 42% at 30°. As the phase margin approaches zero the response approaches a sustained oscillation, and, if the loop transfer function itself is stable, the system is unstable when it becomes negative.

FAQ

What is a good phase margin for an amplifier?

A common target is 45 to 60 degrees or more. About 60 degrees gives a fast step response with little overshoot, while much less than 45 degrees causes noticeable ringing.

What is the difference between phase margin and gain margin?

Phase margin is the distance from 180 degrees of lag at the frequency where loop gain is 0 dB. Gain margin is how far the loop gain is below 0 dB at the frequency where the lag reaches 180 degrees.

Why is an op-amp less stable at unity gain?

At unity gain the whole output is fed back, so the loop gain crosses 0 dB at the highest frequency, where the op-amp's higher poles add the most phase lag. Higher closed-loop gain lowers the crossover frequency and increases phase margin.

Questions that mention Phase margin (11)

Phase margin appears in 13 practice questions across 2 topics, including Control Engineering Basics, Analog and electronic circuits.

  1. Which correctly describes a voltage follower using an op-amp?
  2. What is the effect of applying negative feedback to an amplifier?
  3. Which metric is used to judge whether a negative-feedback amplifier operates stably without oscillating?
  4. Which correctly describes the idea of dominant-pole compensation used in op-amps?
  5. Which of the following is the correct reason for combining feedforward control with feedback control?
  6. Which of the following correctly describes the Nyquist stability criterion?
  7. Which of the following correctly describes the frequency characteristics of a time-delay element e^(−Ls) with delay time L, and its effect on a control system whose loop transfer function contains it?
  8. A plant that contains no integrator (a type 0 system) is under proportional (P) control. Which of the following correctly describes the general change when the proportional gain Kp is increased?
  9. Which of the following is the correct pair of the main purpose of adding integral (I) action in PI control and its side effect?
  10. In digital control with a sampling period Ts = 1 ms, the zero-order hold of the D/A conversion acts as a time delay of about Ts/2. With a gain crossover frequency of 100 Hz, which of the following is closest to the phase lag caused by this delay?
  11. The output-voltage feedback loop of a buck DC-DC converter with a switching frequency of 500 kHz is being designed. Which of the following is the usual guideline for choosing the gain crossover frequency?

Books on Analog and electronic circuits Ad

Learn hands-on: parts and kits

Building real circuits is a good way to check what you learned in the questions.

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

Semiconductor, Electronics and Computing Calculators

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary