Phase margin — where it appears
Named by 39 essays across 5 fields — each of them below, with the objects they name alongside it.
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.
Two measurements of one margin
A phase margin is computed from the loop gain in the frequency domain, without ever looking at a step. An overshoot is measured from the closed-loop step response in the time domain, without ever looking at a Bode plot. Inverting the standard relation on the second returns 34.9° against the first's 34.9°, and the residue is the third pole.
Stable, and unstable with less gain
A three-pole loop with two lead sections is stable for gains between 1.81 × 10⁶ and 3.36 × 10⁷ and unstable on both sides of that window. Turning its gain *down* is what breaks it. Neither margin can see this, because a phase margin describes the loop at one frequency and a gain margin at one other, and this loop's phase crosses −180° at three: 189 Hz, 3.46 kHz and 23.5 kHz.
How much of the amplifier gets through
The reason to build an amplifier from a bad amplifier and two resistors is that a change in the device barely reaches the answer — a tenth of a per cent of it at low frequency, measured by making the device better and solving again. Near crossover the same fraction rises above one, so feedback makes the gain more device-dependent than no feedback at all, and below fifty degrees of margin it changes sign on the way.
The gain the loop closes against
An inverting amplifier with two equal resistors has a gain of one and a loop that closes against two, so it has half the bandwidth of a follower built from the same part — 4.99 megahertz against ten. Nine picofarads at the summing junction, less than a scope probe, takes the phase margin from ninety degrees to forty-five, and a hundred picofarads puts twelve decibels of peaking on a response whose designed gain is nought decibels and whose measured gain at a kilohertz has not moved by three parts in a million.
Two requirements pulling one capacitor
The output capacitor's series resistance is a stability requirement and a transient requirement at once, and they pull it in opposite directions. Below 939 milliohms this loop has less than 45 degrees of margin; above about 850 the droop after a load step starts to grow, because at the first instant of a step the capacitor cannot move and the whole step falls across that resistance. The droop is smallest 10 per cent inside the unstable region, which means the best transient this design can have is one it must not be built with.
The load that gets inside the loop
Hanging a capacitor on an amplifier's output changes nothing a reader can find in any expression for its gain, and takes the phase margin of a unity-gain inverter from ninety degrees to thirty. The mechanism is fifty ohms of output resistance that no data sheet page puts next to the stability page: the load works against it, the pole that results is in the forward path, and forty-five degrees arrives at 905 picofarads — which is a metre of coaxial cable.
The resistor that buys the margin back
Two point two nanofarads takes a unity-gain inverter's phase margin from ninety degrees to thirty. Ten ohms between the amplifier and the load restores forty-five, twenty-three restores sixty, and it works for a reason that reads as a cheat: the feedback is taken from the wrong side of the resistor, so its pole is outside the loop. Take the feedback from the load instead — which is what anyone controlling the load would do — and the same resistor makes every value worse. What it costs is that the loop no longer regulates the load's node at all: ten ohms is one per cent of error into a kilohm, at direct current, uncorrected.
The path that buys the error back
An isolation resistor restores a capacitively loaded amplifier's phase margin and costs it the thing feedback was for: the loop stops regulating the node the load is on, and a kilohm of load pulls the output down by a per cent. The standard repair is a second feedback path, and its cost is not an error or a margin — it is a range. At twelve picofarads it settles to a hundredth of a per cent in 0.745 microseconds, faster than the circuit it repairs; at a hundred it takes 9.18, and the phase margin there is better.
What the second path costs at the floor
The arrangement that repaired a capacitively loaded amplifier was suspected of paying for itself in noise, because that is how compensations usually pay. It does not: it has no peak in its noise gain at all, and the total at the load falls from 54.9 microvolts to 28.9 as the capacitor is added. What it costs is settling, and the capacitor that is quietest is eighteen times the capacitor that settles fastest — a trade the phase margin says nothing about, because the margin is comfortable at both.
Where the trouble is at the input
Every other arrangement in this field has its difficulty at the output — a capacitive load, an isolation resistor, a load that draws current. A photodiode amplifier has it at the input, and the capacitance causing it is not a parasitic: it is the diode's junction, which is the price of its area, and area is what a photodiode is bought for. The feedback resistor's own noise is 127 nV/√Hz against the amplifier's 4, and the amplifier is still ninety-five per cent of the noise at a large diode.
The phase a decibel buys
The area under a minimum-phase network's phase, counted in degrees across decades of frequency, is fixed by how far its gain moves from one end of the spectrum to the other: ninety degree-decades for every twenty decibels, however the network is arranged. One 100:1 lead peaks at 78.579 degrees and two 10:1 leads stacked together at 109.806, and both enclose 180.000. The peak is a design decision and the area is a bill — and a network that gives its gain back gives its phase back with it.
The margin the straight lines report
A phase margin read off a sketch is read where the straight lines cross unity, and that is not where the loop does. For an integrator and one real pole the lines report 45.00 degrees on a loop that has 51.83 — short, and always short, because a real pole's response never rises above its asymptotes. A pair that peaks reverses the sign and removes the bound: at a quality factor of two the lines report 71.57 degrees on a loop that has no margin at all, and at five they report 82.41 on a loop that is unstable.
The capacitor across the upper resistor
The rejection essay said a regulator reproduces its reference times its divider's four, and that a capacitor across the lower divider resistor brings that down to one at high frequency. Measured, the loop peaks the reference's gain to 5.68 near its crossover before any capacitor is added; a nanofarad across the lower resistor raises the peak to 11.2; and the capacitor that brings it down belongs across the upper resistor, where a nanofarad keeps the gain from ever exceeding four. The same capacitor is a lead pair in the loop: 836.5 picofarads takes the phase margin from 46.5 to 90.9 degrees, and ten nanofarads, past that optimum, still holds 66 while cutting the output ripple from 60.6 millivolts to 35.4.
The cure that becomes a different circuit
The classical cure for an amplifier's input current is to make the two resistances its inputs look back into equal, and it reads as one instruction. Solved, it is two circuits meeting at 909 ohms — the feedback network's bottom resistor times (G−1)/G — and above that knee there is no resistor to add: the network is scaled to the source, which at a megohm means 11 megohms of feedback and at a gain of 1001 means 1001. Above the knee three different networks become one instrument to twelve figures, the noise penalty settles at 1.41420 against a √2 of 1.41421, and the benefit at 10.49 against two currents whose ratio is ten.
The factor the expression leaves out
The classical compensation for a photodiode amplifier is quoted both as the forty-five degree choice and as the maximally flat one, and it is neither: it leaves 1.18 dB of peaking and 52.4° of margin. Flat is at exactly √2 times it — fitted at 1.4186 against 1.4142, at every detector from 3 pF to 1 nF. And the third quantity the capacitor is supposed to trade, the noise, does not move at all inside the signal band: three compensations spanning a factor of fourteen give 8.37 against 8.36 µV in a 4.36 kHz measurement and 230 against 65 µV over the whole plane.
The floor a second capacitor removes
Two requirements pulling one capacitor found a regulator whose best transient is one it must not be built with: below 939 milliohms of output-capacitor series resistance the loop has under 45 degrees of margin, and the droop is smallest at 885. The capacitor across the upper divider resistor, added for the reference's sake, dissolves that conflict. At 836.5 picofarads the 45-degree floor leaves the sweep entirely — every series resistance down to a milliohm is stable — and the droop falls 40 per cent at the same time. The band of capacitances that do it runs from 100 picofarads to 5 nanofarads, and above it the conflict returns.
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.
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.
The tee that charges for its own compensation
A feedback tee makes a large transimpedance out of small resistors, and R₁(1 + R₂/R₃) + R₂ is the whole of what is usually said about it. The expression has no term for the noise gain, and the tap sets that to 1 + R₁/R₃ — nine, where a single feedback resistor of any value gives exactly one, because at direct current the source is a capacitor. One quantity then does everything: the signal and R₁'s own noise are multiplied together so the tee buys no signal-to-noise ratio at all, and the phase margin RISES from 1.8° to 15.9°.
The zero that lifts the lines
A phase margin read off the straight lines of an all-pole loop can only be short, and the proof takes three steps. A lead section breaks two of them: a zero's response lies above its lines, and between a zero and its pole the phase rises. The two breaks pull opposite ways, and measured across every placement of the crossing, in every sweep drawn, they leave an over-report of at most 6.58°, on a loop with 87.5°; on loops with sixty degrees or less it never exceeds 1.52°. The phase sketch is another matter: with the lines crossing at a lead zero above the plant's corner, it reports 17.91° on a loop with 1.17°.
The node that is an inductance
A summing junction with a one-pole amplifier round it rises to the two feedback resistors in parallel and stops there, and that ceiling is the whole of what a virtual earth can be. Give the amplifier a second pole and the node overshoots it — 1074 ohms against 909 with the second pole at 300 kilohertz, 1868 with it at thirty — and below the peak the impedance leads its current by more than twenty degrees, which is an inductance. So a stray capacitance on the node is no longer a load on a resistance; it is a resonance, and the peak grows with it rather than being damped by it.
The capacitance the bias takes away
A ceramic output capacitor has a few milliohms of series resistance, which a capacitor across the upper divider resistor made legal, and a capacitance that falls with the voltage across it — a ten-microfarad part at five volts is two microfarads to a small signal. Swept from the full ten down to that fifth, the regulator's margin does not collapse. It rises: with no divider capacitor from 18.0° to 38.5°, because the output pole climbs away from the amplifier's. The corner that binds is the capacitor at full value. One divider capacitor, 423 to 808 pF, holds 45° at every capacitance between. The 836.5 pF that removed the resistance floor sits just above that band, and the lost capacitance is paid for in droop: 103 mV at full value, 202 mV at a fifth.
The compensation that costs nothing
A photodiode amplifier can be compensated with a capacitor across its feedback resistor, or with a feedback tee, whose raised noise gain also raises the phase margin. At one transimpedance, 500 kΩ on 33 pF of detector, each design's margin is drawn against its output noise over its own bandwidth. The capacitor dominates at every margin the tee can reach: at 50° it carries 85 µV where the tee carries 347, in the same 400 kHz. The two keep the same band to within 1.3 per cent at equal margin, so the tee's noise buys no bandwidth. The conjecture that the answer would turn on which noise dominates does not survive either. With the amplifier's voltage noise cut tenfold, the tee is still 5.6 times worse.
The sensor an integrator does not see
A sensor's capacitance at an inverting stage's summing junction sits across a node that rises like an inductance, and makes a resonance: 10 nF lifts the node 2.50-fold at 39.8 kHz, the lift is the resonance's Q, and the loop's margin falls from 90° to 24.8°, and to 8.0° at 100 nF. The same capacitance at an integrator's node sits across a resistance — the shelf, 1/(2π·GBW·Cf) — and the shelf does not move, because the capacitance enters the open node and the loop gain together and cancels. With an ideal output the integrator's margin is 90.91° at every sensor from 1 pF to 100 nF. What it does see is its amplifier's output resistance: 50 Ω driving the feedback and sensor capacitors in series is a pole, worst when the two are equal, 58.3° at 10 nF, and it recovers on both sides.
The lead a divider can give
At an ampere one capacitor across the upper divider resistor holds this ceramic regulator above 45° at every capacitance the part keeps. At 5 mA nothing does. The crossover stays at 13 kHz while the output pole falls from 3.20 kHz to 31.8 Hz, so the loop arrives at unity with every lag it has and the only phase left is the lead the divider capacitor makes — and that lead has a ceiling, arcsin((G − 1)/(G + 1)), set by the divider's ratio alone. For a five-volt output from a 1.25 V reference it is 36.87°, and the best capacitor reaches 36.83°. Over the rectangle from 5 mA to an ampere and ten microfarads to two, the best single capacitor gives 32.4°. Putting 416 mΩ back in series with the ceramic restores 45° over all of it, and lowers the droop rather than raising it.
Half a clock against a pole
Inside a digitally controlled loop a converter's delay is phase at the crossover, and a straight-line output pays one more half clock than a hold: 180 degrees times the crossover over the clock. The analogue pole that rejects the nearest image as much as the straight line's second sinc does turns out to sit at the crossover itself — 0.990 of it when the loop crosses over at a tenth of its clock, sinc(r) of it in general — so it costs forty-five degrees however slow the loop is. By the phase estimate the half clock is the cheaper filter below 26% of the clock. Marched as a sampled loop the answer is 17.6%, and at a tenth of the clock a step overshoots 13.7% through the straight line against 32.8% through the hold and its pole, for the same image rejection measured on both waveforms.
Half to the amplifier, half to the resistors
A feedback amplifier is supposed to hand its accuracy to the resistors, and at low frequency it does — 99.9 per cent of a change in the divider reaches the gain and 0.1 per cent of a change in the device. The two fractions are measured here by nudging each and solving again, and they add to one at every frequency, to five parts in a hundred thousand. At the loop's crossover each is exactly one half, whatever the margin: the gain's magnitude answers the amplifier and the resistors equally. As complex numbers both are 1/(2 sin(φ/2)) there, above one for any margin under sixty degrees, and around the crossover lies a band where the gain is more sensitive to both than it would be with no feedback at all.
The area that feedback only moves
A feedback amplifier divides its device's variation by the loop gain, sixty decibels of it at low frequency, and pays for it with a sensitivity peak near crossover. The payment is exact. Integrated over linear frequency, the logarithm of the sensitivity has as much area above zero as below — 6.74 kilohertz-nepers each side at 34.9° of margin, net zero to eight parts in a billion — at every margin and every gain, because the loop falls by more than one pole. Margin decides only the shape of the repayment: a 14-decibel spike at 11.7°, a one-decibel hump spread past half a megahertz at 80.4°. Only a loop that falls as a single pole keeps any of it, (π/2) times its crossover, and no amplifier is one.
The phase a delay never stops adding
Put a pure delay in a feedback loop and Bode's sensitivity integral does not notice: with 10 µs in the three-pole amplifier's loop the logarithm of the sensitivity still has equal areas above and below zero, 7.14 kHz·Np each side. What changes is where they are. The delay keeps turning the loop's phase above crossover, so the sensitivity becomes a comb with a tooth every 100 kHz; the desensitisation shrinks from 6.74 to 6.48 kHz·Np, the main peak rises from 5.70 dB to 13.53 and overpays it by 7%, and the comb hands the excess back below zero. The margin reads the peak from below by about 1.4 dB at every delay. Past 16.9 µs the loop is unstable and the integral stops balancing — by exactly the growth rate of the pole pair that has crossed.
The band a sampled loop repays in
Close the three-pole amplifier's loop through a sampler and hold at 100 kHz and Bode's sensitivity integral still balances — but only over the band below 50 kHz, because that is all the band a sampled loop has. The whole debt, 6.60 kHz·Np, is repaid there; the continuous loop had repaid 88.6% of its own by the same frequency and spends decades above on the rest. Below a tenth of the sample rate the sampled loop is the continuous loop with half a sample of delay, 24.7° of margin against 24.6°. And the finite band turns the equality into a floor: hold the sensitivity 20 dB down over a third of the band and no loop can peak below 10 dB. This loop's floor is low and its margin sets its peak; the sample rate at which the peak is 3 dB above the continuous loop's is 18 times the crossover.
The gain added to buy a margin
An amplifier sold as stable only at gains of ten — 100 MHz of gain–bandwidth, its second pole at 20 MHz — has 35.0° of margin and 4.4 dB of peaking as a gain of −1, because that gain closes its loop against two. A 1.25 kΩ resistor from the summing junction to ground raises the noise gain to ten without touching the signal gain, which stays one to a part in ten thousand, and the margin becomes 65.6°: still 14.1 MHz of bandwidth, 2.19 times what a unity-stable part from the same die gives at its natural gain. The price is everything the amplifier contributes, multiplied by ten instead of two — 64.0 nV/√Hz at the output against 20.5 — and a capacitor in series with the resistor buys back the low-frequency half of it and none of the wideband total.
The input that costs every other input
A summing amplifier gives each of its inputs a gain of −1 and closes its loop against one more than the number of inputs, so every input added divides every channel's bandwidth and multiplies the amplifier's own noise — 6.43 MHz with one input, 1.17 MHz with eight, 603 kHz with sixteen, on a 10 MHz part. Above 5.4 inputs the amplifier's 5 nV/√Hz, multiplied by n + 1, outgrows the resistors' Johnson noise, which rises only as its square root. A muted channel whose source is grounded still costs: a sixteen-input mixer is 11.5 dB louder with two channels in use than one whose unused resistors are disconnected. A channel of gain 0.1 beside one of gain 10 is 13.7 dB noisier than alone. A tree of smaller summers doubles the bandwidth and does not make the sum any quieter.
One margin, and the gain under it
A phase margin of 45° is quoted as an overshoot of 23 per cent, and on a loop with plenty of gain below its crossover it is: three lags a hundredfold apart, closed at 45°, overshoot 23.6%. Bring the same three lags together and the loop reaches 45° at a loop gain of 2.83 instead of 141, and overshoots 41.0% — the same margin, 1.73 times the ringing. The closed-loop peak follows the overshoot where the margin does not: predicted from the peak the worst error over 27 loops is 3.1 points, from the margin 22.2. The gain margin moves with it, from 37.2 dB to 9.0.
The zero the lines put on the wrong side
A zero in the right half-plane has exactly the magnitude of its mirror on the left, so it has exactly the same straight lines, and nothing drawn from a magnitude can say which side it is on. The phase can: it falls where the mirror's rises. An integrator and such a zero, read off its lines, reports 90° − atan x of margin on a loop that has acos x, where x is where the lines cross as a fraction of the zero — so the lines say 45° of a loop with none. Behind one real pole the over-report reaches 37.6° on a loop of 2.1° when the zero sits below the pole, and vanishes when it sits above it: the reading is unsafe exactly when the zero comes first.
The load that rises slower than the loop
Every droop a regulator is sized against is a load step with an infinitely fast edge, and a ceramic regulator droops 103 millivolts on its full 10 µF and 203 on a fifth of it. Give the same 100 mA a rise time and the ordering does not survive: past 23 microseconds the full capacitor droops more than the fifth, and a slow ramp's droop is the loop's own 25.2 µH times the load's rate of change — a number with no capacitance in it, raised 18 per cent on the full capacitor by the impedance peak its slower loop leaves. For a 10 mV budget the load must take 298 µs to arrive on the full capacitor and 253 on the fifth.
The bandwidth the product still gets right
Gain times bandwidth is a constant for an amplifier with one pole, and real amplifiers have a second. Put it at r times the closed-loop bandwidth the product predicts and the half-power bandwidth becomes √r·g(√r/2) times GBW/G — 41.4 per cent wide at r = 2, within ten per cent only beyond r = 10 — so a follower round a 1 MHz part with its second pole at 2.5 MHz runs 40 per cent wider than the rule says. The noise bandwidth does not move at all. A second-order loop's noise bandwidth is set by one coefficient the second pole cannot touch, and it stays (π/2)·GBW/G at every r and every gain, to half a per cent on the netlist. A third pole is what breaks it.
Two wrong readings and one loop gain
A loop gain measured on a bench is measured at a wire, and a wire has an impedance on each side. Cut an amplifier's output with 100 Ω behind it and 160 nF ahead, inject a voltage in series, and the reading is the loop gain plus (1 + T)·Zs/Zl — 15.1° of margin where the loop has 8.9°, and a second unity crossing at 10.6 kHz that the loop does not have. Inject a current into the same wire and the error is (1 + T)·Zl/Zs: 19.8°, and 57 dB too much loop gain at low frequency. The two errors are reciprocal, so the readings combine exactly: 1/(1 + T) = 1/(1 + Tv) + 1/(1 + Ti) returns the loop gain at the controlled source's own input to a few parts in a billion, at every frequency and every load.
The margin a delay spends
A phase margin can be made of a lag or of a delay, and the number is the same either way. Forty-five degrees from a lag overshoots 23.3 per cent, and forty-five degrees from a delay overshoots 28.7; at sixty degrees the sign reverses, 8.77 against 5.57, and the two cross near 54 degrees. The overshoot is the smaller difference. A two-pole loop's gain margin has no limit at all, and five per cent of its extra lag as delay brings that to 25.5 dB; with all of it delay the gain margin is 90°/(90° − margin), which is 6.0 dB at 45°, and nothing else is in the expression. Across twenty-one such loops the margin alone misses the overshoot by 13.1 points. The closed-loop peak, which already reads the whole band, misses by 1.2.
Named alongside it
The objects these essays reach for when they reach for this one.
Loop gainDesign tradeoffModel rangeNoise gainCrossover frequencyLead compensationDamping ratioStabilityBode plotEquivalent series resistanceGain marginJohnson noise