The disc that does not see the step
Assumes: Two measurements of one margin · What is left at crossover
The margin a delay spends built loops with the same phase margin out of a lag and a delay in varying share, and found that the margin, one number read at one frequency, could not tell them apart while their steps and their gain margins could. Forty-five degrees of margin from a lag overshoots 23.3 per cent and has no gain margin to speak of; from a delay it overshoots 28.7 per cent and survives only a doubling of its gain. The closed-loop peak, which reads the whole band at once, predicted the overshoot of all twenty-one of those loops to a point and a fifth.
It ended on a third candidate, the one control theory prefers to both. The disc margin is the distance of the Nyquist locus from the critical point at its nearest, minimised over every frequency — a single number that bounds the gain margin and the phase margin at once, and that a delay, approaching the critical point from an angle a lag never does, ought to register. The question was whether it distinguishes this family of loops better than the peak does. The answer is that it distinguishes them along a different axis, and that the axis is not the step.
The nearest approach
The loops are the same family: , with K chosen to put the crossover at and the phase beyond the integrator — 45° for a 45° margin — split between the delay and the lag. A loop with no delay is the two-pole loop of two measurements of one margin; a loop with all delay is an integrator and a delay, the shape a sampled controller has below its sample rate.
The phase margin reads the locus at one point: where it crosses the unit circle, the angle that remains before −180°. Both loops of a given margin cross the circle at exactly the same point, and the chord from there to −1 is — 0.765 at 45°. A loop’s disc can be no wider than that chord, since the locus passes through its end, and it is usually narrower: the nearest approach comes after crossover, where the magnitude has fallen below one and the phase has gone on falling.
For the lag loop at 45° the nearest approach is 0.622, at a frequency 1.34 times the crossover. For the delay loop it is 0.448, at 1.65 times. The delay loop’s phase falls in proportion to frequency, so beyond crossover it swings towards the negative real axis faster than the lag loop’s, whose phase can never pass −180°. At 30° of margin the two discs are 0.463 and 0.292; at 60°, 0.745 and 0.613. In every case the delay brings the locus nearer.
What the disc is, in the circuit
The distance is the reciprocal of the sensitivity, , so the disc margin is one over the sensitivity’s peak. That has a direct physical reading. A disturbance added at the loop’s output — a load step on a regulator, a vibration on a positioning stage — is passed to the output multiplied by S. At most frequencies the loop attenuates it; near crossover it amplifies it, and the disc margin says by how much at the worst frequency.
At 45° the lag loop amplifies a disturbance by 1.61 at its worst frequency and the delay loop by 2.23. At 30° it is 2.16 and 3.42. The area that feedback only moves showed why this peak cannot be avoided: the logarithm of the sensitivity integrates to zero over frequency, so the attenuation feedback provides at low frequency must be paid back as amplification somewhere, and the phase a delay never stops adding found that a delay does not change the size of that payment, only where it is made. The disc margin is the height of the tallest part of it.
A regulator that sees its load through a delay
The reading is easiest to hold on to with a circuit in mind. A switching regulator’s control loop has a crossover of a few tens of kilohertz and, in a digital controller, a delay of a sample and a half from measurement to new duty cycle. A load that switches on and off at a rate near the loop’s crossover — a processor stepping between idle and busy, say — is a disturbance at the output, and the loop’s sensitivity is what it passes through.
With 45° of margin made of a lag, the worst load frequency is 1.34 times the crossover, and the output ripple at that frequency is 1.61 times what the bare output capacitor would show with no loop at all. With the same 45° made of delay, the worst frequency moves up to 1.65 times the crossover and the ripple to 2.23 times. Nothing in the margin changed, and the regulator’s worst-case ripple grew by 39 per cent, at a frequency the designer may not have tested, because a phase-margin measurement stops looking once it has found the crossover. A load-step test does not catch it either, since a step’s energy at any one frequency is small; a swept load does, and the disc is what the sweep would report.
Every share of delay brings the locus nearer
Holding the phase margin and moving the share of the extra phase from the lag to the delay, the disc does what the argument above says it should at every margin.
The curves fall steadily, with no exception and no crossing. That is the first thing the disc does that the overshoot did not. In the earlier essay the overshoot rose with the delay’s share at 30° and 45°, and fell with it at 60°, so that a 60° loop made of delay overshot 5.6 per cent against the lag loop’s 8.8 — the delay’s phase, smaller than the lag’s below crossover, left the step cleaner. The disc sees none of that. A delay is worse for robustness at every margin, by an amount that grows as the margin shrinks: 37% of the lag loop’s disc is lost to delay at 30°, 28% at 45°, 18% at 60°.
So on the 60° loops the two measures disagree in direction. The delay loop is the less robust and the better behaved. Which one matters depends on whether the loop’s job is to follow commands or to hold still against disturbances, and on how far its gain may wander — which is the question the disc was built to answer.
A predictor of the wrong function
The disc can be turned into an overshoot the way the margin and the peak were: find the two-pole loop with the same disc, and read off that loop’s overshoot. On the two-pole loops themselves this is exact, by construction. On the loops with delay it is a test.
It fails the test, and badly. The worst miss is 18.8 points of overshoot, against 13.1 for the phase margin read the same way and 1.2 for the closed-loop peak. The disc is the worst of the three at predicting a step, on precisely the loops it was hoped to read best.
The reason is in what each number is a property of. A command’s response is , the complementary sensitivity, and its overshoot is governed by how T peaks. The closed-loop peak is T’s peak, which is why it predicts so well. The disc is S’s peak. For a two-pole loop, S and T are tied together by the loop’s single parameter, so either peak fixes the other and either predicts the step. Once a delay is in the loop that tie is cut: S and T peak at different frequencies, by amounts that depend on the delay separately, and the disc, reading S, has lost its grip on T.
The 60° delay loop shows it in one comparison. Its disc, 0.613, is smaller than the 45° lag loop’s 0.622, so the disc ranks it as the less robust of the two, and the two-pole loop with a disc of 0.613 overshoots about 24 per cent. Its actual overshoot is 5.6 per cent, a quarter of the 45° lag loop’s 23.3. A delay moves the locus towards −1 after crossover, where the magnitude has fallen, and that hurts S without much affecting the closed-loop peak below crossover, where the step’s overshoot is decided for a generous margin.
What the disc does guarantee
The disc is not built to predict a step. It is built to guarantee margins, and that is where it is strongest. A locus that stays outside a disc of radius d about −1 survives any change of gain by a factor between and , and any added phase lag up to , because those are the gain and phase changes that move the disc’s edge onto the critical point.
The guarantee is never violated, as it cannot be, and it has a property neither classical margin has: it is finite on every loop. A two-pole loop’s gain margin is infinite, because its phase never reaches −180°, and the loop that never crosses found that this is the ordinary situation rather than a curiosity, which is why a gain margin is so often reported as “not a number”. The disc guarantees 8.4 dB on that loop at 45° — less than it has, but a number, and the right kind of number, since a real two-pole loop always has a little delay somewhere and a finite margin in consequence.
As the delay’s share rises the true gain margin falls from infinity towards 6 dB, and the guarantee falls with it, more slowly, until at all delay it is 5.2 dB against a true 6.0. So the bound is tightest exactly where the margin matters most. The guaranteed phase margin on the delay loops is 25.9° at 45° and 35.7° at 60°: the loop survives that much additional lag at any frequency, which is a statement about the whole locus rather than about its crossing, and the reason robust-control texts prefer it.
One loop, walked to its limit
The integrator-and-delay loop has a single parameter, the crossover in radians of the delay, KD, and the disc can be read along the whole of it.
The disc falls steadily from near one at small KD to zero at , the gain at which the loop oscillates. A widely quoted design rule asks for a sensitivity peak no greater than two, a disc of at least one half, as the point beyond which disturbances near crossover are amplified too much. On this loop that rule is met up to KD = 0.701, which is a phase margin of 49.8°: the sensitivity rule asks for slightly more margin than the 45° a phase-margin rule would accept, and slightly less than the 60° a cautious designer would choose.
Put in the units of a sampled loop, with the delay one and a half sample periods, the rule allows a crossover of 7.4 per cent of the sample rate. The earlier essay found that the same loop stops overshooting altogether below a crossover of 3.9 per cent, and that the common rule of a tenth of the sample rate leaves only 36° of margin and a 44 per cent overshoot. The three limits are three different questions about one loop: no overshoot at all, at 3.9 per cent; disturbances amplified no more than twice, at 7.4; a tenth of the sample rate, which answers neither. The band a sampled loop repays in found where a sampled loop’s sensitivity integral is paid back; the disc is the height of the payment.
Three numbers, three functions
It helps to set the three candidates side by side, because the comparison has a clean structure. The phase margin reads the loop gain at one frequency. The closed-loop peak reads T over the whole band. The disc margin reads S over the whole band. On a two-pole loop the three are one parameter in three disguises, and each predicts everything the others do. A delay breaks the loop out of that one-parameter family, and the three then answer different questions.
For the response to a command, T’s peak is the one to read: 1.2 points of overshoot error across the family. For the response to a disturbance, and for robustness against a gain or phase that wanders, S’s peak is the one to read, and it is the only one of the three that sees a delay’s damage monotonically and is finite on every loop. The phase margin answers neither question well — it predicts the step to 13 points and the gain margin not at all — and it survives as the bench number because it is the easiest of the three to measure. What is left at crossover measured it the way a bench does, by breaking the loop; the disc needs the same measurement swept over a band, and the peak needs the loop closed.
Where this leaves a designer
A loop specified by a phase margin alone is underspecified twice over when it contains a delay. It may overshoot by a third more than the margin suggests, and it may tolerate a gain change of only 6 dB while looking like a loop that tolerates any. A loop specified by its disc is protected against the second and not the first: the disc guarantees the margins, and says nothing reliable about the step. A loop specified by both its disc and its closed-loop peak is specified completely for this family — one number for robustness and one for the step — and that pair is what the family’s behaviour actually needs.
Stable and unstable with less gain found a loop whose margins hid a boundary on the low-gain side, where reducing the gain made it oscillate. The disc catches that too, because it bounds the factor by which the gain may fall as well as rise, on the low side. It is the one number that would have flagged both that loop and the delay loop here as less robust than their phase margins said.
The numbers worth carrying
At 45° of phase margin the lag loop’s disc is 0.622 and the delay loop’s 0.448, against a chord of 0.765 that both cross the unit circle at; at 30° 0.463 and 0.292, at 60° 0.745 and 0.613. The disc falls monotonically with the delay’s share at every margin, while the overshoot rises at 30° and 45° and falls at 60°. Read back as an overshoot the disc misses by up to 18.8 points, against 13.1 for the phase margin and 1.2 for the closed-loop peak, because it reads S and a step is T. It guarantees 8.4 dB of gain margin on a two-pole loop at 45° whose true margin has no limit, and 5.2 dB on the delay loop whose true margin is 6.0. On an integrator and a delay a sensitivity peak of two is reached at KD = 0.701, 49.8° of margin, 7.4 per cent of the sample rate for a loop delayed one and a half samples. One margin, and the gain under it began by holding the margin and changing what was under it; the disc is what holding the margin was never able to hold.
Still open: a zero at crossover, the disc that is not centred, and the measured disc
A zero at crossover. Compensation adds a zero to win back margin, and a zero’s phase has the opposite curvature to a delay’s — it gives most of its phase below its corner, where a delay gives least. Whether a zero restores the disc as well as the phase margin, or restores the margin at crossover while leaving the locus close to −1 further round, is the comparison that would separate what compensation does for a step from what it does for robustness.
A disc that is not centred on −1. The symmetric disc treats a gain increase and decrease alike. A loop whose gain can only rise — a thermal loop whose plant warms, a regulator whose load only grows — is better described by a disc offset towards the side of the danger, and the margins it guarantees are asymmetric. Which offset fits the delay loop’s real risk is a question of which way its gain moves.
The disc measured on a bench. The disc needs over a band, which is the broken-loop measurement swept and its minimum taken. Noise in that measurement is largest where the loop gain is near one, which is where the minimum lies, so how many points and how much averaging a measured disc needs before it is as trustworthy as a measured phase margin is a propagation-of-error calculation on this family.
Part 5 on margin overshoot
One argument about Margin overshoot, and one of 4 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:
What links here
Essays that reach for this one mid-argument — the half of a link its own author cannot write down.
The objects named here
The third axis, after the field and the idea: the things themselves, and every essay that touches each one.
Complementary sensitivityDesensitivityGain marginNyquist criterionOvershootPhase marginPropagation delay
- Half to the amplifier, half to the resistors complementary sensitivity, desensitivity, phase margin
- The gain margin the straight lines get exactly wrong gain margin, phase margin
- The load that gets inside the loop overshoot, phase margin
- The root a ring of equal stages takes gain margin, overshoot
- Two requirements pulling one capacitor overshoot, phase margin