Concept

Gain margin — where it appears

How far below unity a loop's gain has fallen at the frequency where its phase reaches half a turn, which is how much gain may still be added. It answers a different question from the phase margin, and a conditionally stable loop is one where the two disagree about which direction is dangerous.

Named by 4 essays across 2 fields — each of them below, with the objects they name alongside it.

Loop gain of a three-pole amplifier closed for a gain of 100. Unity loop gain at 5.73 kHz, where 34.9° of phase remains before −180°. The phase reaches −180° at 89.6 kHz, where the loop gain is 46.1 dB below unity.

What is left at crossover

A feedback loop is stable or not according to one number read at one frequency — how much phase remains before −180° at the point where the loop gain passes unity. The loop gain here is obtained the way it is obtained on a bench: cut the loop, drive one side of the cut, and measure what comes back to the other.

feedback · Loop gain
A pair at Q = 0.7071: the sketch is -3.01 dB out at the corner. computed by solving, not by drawing. The solved magnitude against the two straight lines that stand in for it. At a conjugate pair the error at the corner is 20 log Q = -3.010 dB, which is unbounded in both directions, and the worst error anywhere is 3.010 dB at 1.00× the corner. No damping brings it inside 0.770 dB: that is the minimax, at Q = 0.9152, where the corner error and an interior maximum are equal.

The straight lines, and where they are not the curve

Two straight lines through a corner is the most-used approximation in this subject and almost the only one with no number attached. It has one, and it is exact: at a single real pole the sketch is 3.0103 decibels high at the corner and nowhere worse, and its error is the same a factor above the corner as the same factor below — a symmetry the construction does not suggest. A pole pair has no such bound at all, and the best any two-slope sketch can do on one is 0.770 decibels, at a quality factor of 0.9152.

frequency · Asymptotic approximation
Loop gain of a two-pole amplifier closed for a gain of 100. Unity loop gain at 5.73 kHz, where 35.0° of phase remains before −180°. The phase never reaches −180° at any frequency, so there is no gain margin to quote: 2 poles contribute at most 180° and the last of it arrives only at infinity.

The loop that never crosses

Every loop this field draws carries two margins, and one of them is not always a number. Take the third pole out of the standard loop and its crossover moves by 2.45 parts per million and its phase margin by 0.164 degrees — the third pole's own arctangent there, to five decimal places — while its gain margin goes from 46.06 decibels to no number at all. The phase reaches −180° only where the magnitude has already reached −62 decibels, and the two instruments that are supposed to notice report 3.19 × 10⁻⁶ either way.

feedback · Loop gain
The straight lines report 6.02 dB of gain margin on a loop that has none. computed by solving, not by drawing. The gain and phase of a loop made of an integrator and a pair at Q = 2, the corner at 1.00 kHz, the integrator set so that the straight-line asymptotes cross unity at 500 Hz. The loop's phase passes −180° at 1.00 kHz. There the lines put the loop gain at −6.02 dB and the solve at 0.00 dB, so the gain margin they report is 6.02 dB against 0.00 dB. The difference is 6.0206 dB, which is 20 log Q exactly with Q = 2, at any integrator gain. Closed, the loop is on the edge: the largest real part among its poles is -5.87e-17 of the corner's angular frequency.

The gain margin the straight lines get exactly wrong

A phase margin read off the straight lines is wrong by an amount that depends on where the loop crosses unity. A gain margin read off them is not: for an integrator and a pole pair the phase passes −180° at the pair's own frequency whatever the gain, and the lines are out there by exactly 20 log Q — 6.0206 dB for two real poles, 13.98 dB at a quality factor of five, at every integrator gain drawn. The stability condition for the loop turns out to be the same inequality: it is stable exactly when the gain margin the lines report exceeds that error.

frequency · Asymptotic approximation

Named alongside it

The objects these essays reach for when they reach for this one.

Loop gainModel rangePhase marginAsymptotic approximationBode plotDamping ratioThe quality factorStabilityCorner frequencyCrossover frequencyEncirclement countNumerical error

All concepts