Where the models stop

The stage that overshoots a little

A stage with a little overshoot settles sooner than a one-pole stage of the same bandwidth, 3.53 time constants against 4.61 within one per cent, and a chain of them should do better still, since a stage at the right damping adds almost no spread. It does not. The saving is 17 per cent at two stages, 11 at four and 2 at eight, and at sixteen the chain is 5 per cent slower than the one-pole chain, because a stage's extra delay adds as the number of stages and the spread it removes adds only as the root. The best damping stays near 0.83 at every length, just short of letting the overshoot out of the band. In frequency the same stages are five times flatter at their best, at a different damping, and so the two edges of a chain ask for two different stages.

Assumes: Every model has an edge · The cliff before the fastest settling

The delay a chain adds read a chain of one-pole stages in time and found that it leaves its settling time faster than it leaves its flat band. The chain’s step is the sum of NN exponential lags, so its delay adds as NN and its spread as N\sqrt N, and four stages take 10.0 time constants to settle within one per cent against one stage’s 4.61. Its closing question was about the kind of stage. A second-order stage with a little overshoot settles a single step sooner than its rise suggests, and in a chain its overshoot is filtered by the next stage. Whether a chain of slightly underdamped stages settles faster than the same chain of single poles of equal bandwidth is the measurement that would decide how a chain’s stages should be compensated.

There is a strong theoretical reason to expect yes. A one-pole stage has a spread as large as its delay, and a second-order stage can have far less spread than that, down to none at all. The arithmetic says so and a long chain is what the spread governs, so a long chain of these stages should be a large improvement. The improvement is real, and measuring it is worth doing because it runs out. At about ten stages the supposed improvement has become a cost.

Eight stages of damping 0.8 against eight one-pole stages of the same bandwidth: settled within 1% at 18.75τ against 16.00τ, with 2.02% of overshootcomputed by solving, not by drawing: the step of eight identical second-order stages of damping ζ = 0.8, each with its half-power bandwidth at ω = 1, marched (solid), against eight one-pole stages with the same bandwidth from the closed Erlang step (dashed). Within 1% at 18.75τ against 16.00τ, the overshoot being 2.02% and each stage's delay 1.393 against one. At ζ = 1 the march agrees with the Erlang step of order sixteen.00.2500.5000.75011.250510152025time, in the time constants of a one-pole stage of the same bandwidthover the settled outputζ = 0.8, eight stages18.75τ, overshoot 2.02%one pole, eight stages16.00τdelay of the chain11.15τ, against 8τspread of the chain1.84τ, against 2.83τsolved, then checked — marched, and by Erlang at ζ = 1more delay, less spread, and a price
Fig. 1 The step of eight identical second-order stages of damping 0.8, each with its half-power bandwidth at ω=1\omega = 1, marched (solid), against eight one-pole stages with the same bandwidth from the closed Erlang step (dashed). Within 1% at 18.75τ against 16.00τ, with 2.02% of overshoot. The slider runs from a damping of 0.6, 29.4τ and 35.2% of overshoot, to 1, 17.2τ and none.

What “the same bandwidth” holds fixed

A comparison between stages needs something to hold fixed, and the choice is not innocent. The stage here costs a certain half-power bandwidth, ω=1\omega = 1, and the time axis is in units of the time constant of a one-pole stage with that bandwidth. Every stage has its natural frequency set so that this is true. A stage of damping ζ\zeta has

H(s)=11+2ζs/ωn+s2/ωn2,H(s) = \frac{1}{1 + 2\zeta s/\omega_n + s^2/\omega_n^2},

and its ωn\omega_n is chosen for a half-power point at one. That is the sensible fixed quantity because it is what an amplifier and its gain supply: the edge of a chain used the same bookkeeping for how to spend a gain–bandwidth product. A stage with a fixed bandwidth can have whatever damping its compensation gives it. So a comparison at equal stage bandwidth asks, with the same resources, how the stage should be built.

The chain is marched by fourth-order Runge–Kutta, with two states a stage, and at ζ=1\zeta = 1 the march has a closed form to answer to: two equal poles a stage make an Erlang distribution of order 2N2N in ωn\omega_n. They agree within 0.03 of a time constant at every length used. The one-pole chain beside it is the closed Erlang form of the essay this one is continuing, so nothing about it is approximated either.

The fastest stage, at every length

For one stage the comparison has been made before. The cliff before the fastest settling showed a second-order step’s settling against damping: it drops suddenly where an overshoot peak falls inside the band. With a 1 per cent band and equal bandwidths, one stage settles in 3.53τ at a damping of 0.833, against the one-pole stage’s 4.61, a saving of 23 per cent.

A little overshoot is what the fastest chain has at every length: the best damping is 0.842 at 2, 0.833 at 4, 0.833 at 8, 0.817 at 16 stages, but it settles in 0.83 of the one-pole chain's time at two and 1.05 at sixteen. computed by solving, not by drawing: the time for the step of N identical second-order stages to stay within 1%, over the same chain of one-pole stages with equal stage bandwidth, against the damping of each stage, for 2, 4, 8 and 16 stages. 2 stages: one pole 6.64τ; fastest 5.48τ at ζ = 0.842, 0.841% overshoot; ζ = 1 gives 6.46τ, ζ = 0.7 gives 8.92τ; 4 stages: one pole 10.05τ; fastest 8.95τ at ζ = 0.833, 0.988% overshoot; ζ = 1 gives 10.29τ, ζ = 0.7 gives 12.79τ; 8 stages: one pole 16.00τ; fastest 15.61τ at ζ = 0.833, 0.793% overshoot; ζ = 1 gives 17.21τ, ζ = 0.7 gives 23.33τ; 16 stages: one pole 26.74τ; fastest 28.01τ at ζ = 0.817, 0.957% overshoot; ζ = 1 gives 29.99τ, ζ = 0.7 gives 37.55τ. Below the best damping the chain's overshoot leaves the band and the settling jumps: the cliff of one stage, multiplied.
Fig. 2 The time for the step of NN identical second-order stages to stay within 1%, over the same chain of one-pole stages with equal stage bandwidth, against the damping of each stage, for 2, 4, 8 and 16 stages. The fastest dampings are 0.842, 0.833, 0.833 and 0.817, at ratios 0.83, 0.89, 0.98 and 1.05. Each curve drops at a cliff near 0.83 and then rises slowly toward ζ=1\zeta = 1.

The chain has that cliff too, and it stays in nearly the same place. The best damping is 0.842 for two stages, 0.833 for four and eight, and 0.817 for sixteen, and in every case the chain’s overshoot is just under the band: 0.841, 0.988, 0.793 and 0.957 per cent. So the best stage has the same character at every length, an overshoot the chain can only just stay inside. Below the cliff the overshoot leaves the band, and the settling time jumps upward by a whole swing of ringing. In a chain that jump is larger than in one stage.

It is the height of the curve that is the surprise. At two stages the best settling is 0.83 of the one-pole chain’s, at four it is 0.89, at eight 0.98, and at sixteen 1.05. The second-order stage is better up to about ten stages, and after that it is worse, even at its best damping. The chain that seemed to have the most to gain has the least.

Two numbers a stage adds

The reason lies in the two quantities that made the one-pole chain’s analysis so simple. Independent stages add their first two moments: the delay of a chain is the sum of its stages’ delays, and its variance is the sum of its stages’ variances. For a one-pole stage both are 1 in the appropriate units. For this stage they are

d=2ζωn,v=4ζ2−2ωn2.d = \frac{2\zeta}{\omega_n}, \qquad v = \frac{4\zeta^2 - 2}{\omega_n^2}.

What a damping does to the two numbers a chain adds: at 1/√2 each stage adds 1.414τ of delay and exactly no spread, and below it a negative one, so the central-limit picture ends there. computed by solving, not by drawing: the delay and the squared spread of a chain of eight stages, N·2ζ/ωn and N(4ζ² − 2)/ωn², against the damping (lines), and the same two read from the first two moments of the marched step (dots). Eight one-pole stages have a delay of 8τ and a squared spread of 8τ². ζ = 0.500: delay 10.17, squared spread -13.08, overshoot 82.1%; ζ = 0.575: delay 10.86, squared spread -7.56, overshoot 44.2%; ζ = 0.650: delay 11.23, squared spread -2.89, overshoot 21.3%; ζ = 0.725: delay 11.31, squared spread 0.78, overshoot 8.28%; ζ = 0.800: delay 11.15, squared spread 3.40, overshoot 2.02%; ζ = 0.875: delay 10.85, squared spread 5.11, overshoot 0.141%; ζ = 0.950: delay 10.52, squared spread 6.17, overshoot 0.0000287%. A one-pole chain's settling is a delay plus a multiple of a spread, and the spread grows as √N. A squared spread that is zero, or negative, is no spread at all: the distribution the chain's impulse would have is not a distribution, because the response goes negative, and the overshoot is that fact on the step.
Fig. 3 The delay and the squared spread of a chain of eight stages, N⋅2ζ/ωnN \cdot 2\zeta/\omega_n and N(4ζ2−2)/ωn2N(4\zeta^2 - 2)/\omega_n^2, against the damping (lines), and the same two read from the first two moments of the marched step (dots). Eight one-pole stages have a delay of 8τ8\tau and a squared spread of 8τ28\tau^2. At ζ=1/2\zeta = 1/\sqrt2 the squared spread is zero and below that it is negative.

The squared spread has a striking property: it is zero at ζ=1/2\zeta = 1/\sqrt 2 and negative below it. A Butterworth stage adds delay and no second moment at all. Its first two moments match a pure delay. That is what makes it look like the ideal stage for a chain, since a chain of pure delays would have a perfectly sharp step. A negative “variance” is not a variance, of course, because the stage’s impulse response is negative for part of its length and is not a probability distribution; and that negative stretch is exactly the overshoot on the step. So the central-limit reasoning that served the one-pole chain so well, with its Gaussian shape, has no meaning at or below that damping. A long Butterworth chain does not become a Gaussian. It settles into a shape set by its third moment, with an overshoot that does not go away. At eight stages it is 10.7 per cent.

The first number is the bad news, and it is easy to overlook because attention is on the second. The delay of a stage at ζ=0.83\zeta = 0.83 is about 1.4 times a one-pole stage’s. A second-order stage’s bandwidth comes from a flat response and a steep roll-off, and that costs a good deal of delay against the first-order stage, whose response starts falling at once but keeps a small phase. That is an old result in another form: the phase of a minimum-phase stage follows from its magnitude, as the phase that comes from the magnitude and its neighbours measure, and holding bandwidth fixed while flattening the band has to raise the delay.

Now the arithmetic of a long chain is plain. Settling is a delay plus a multiple of a spread:

ts≈Nd+zNv.t_s \approx N d + z\sqrt{Nv}.

For the one-pole chain, d=v=1d = v = 1. For the second-order stage at its best damping, d≈1.4d \approx 1.4 and vv is about half. At small NN the second term matters and the second-order stage wins. At large NN the first term dominates and the 40 per cent of extra delay can never be recovered. The crossover is at about ten stages at this band, and it has nothing to do with overshoot at all. A designer’s argument for second-order stages is good and it stops at a definite length.

How far two moments go

That sum is a sketch rather than a law, and it is worth checking how far it can be trusted before leaning on it. For the one-pole chain it needs a multiple zz of the spread, and the chain’s own numbers supply it: sixteen one-pole stages have a delay of 16τ and a spread of 4τ, and they settle in 26.74τ, so zz is 2.69. For sixteen second-order stages at a damping of 0.817, the delay is about 22.2τ and the spread about 2.8τ, and they settle in 28.01τ, so zz is about 2.1. For eight at 0.833 the delay is about 11.1τ and the spread about 2τ, and they settle in 15.61τ, a zz of about 2.25.

So the multiple is not one number. It is smaller for the second-order stage, because the stage’s response is less skewed: a one-pole chain’s step has a long exponential tail that a Gaussian’s multiple underestimates, while a second-order chain has been arranged to end sharply, with its overshoot sitting right at the edge of the band. Part of what the best damping is doing is that: it saves on the multiple as well as on the spread, by truncating the tail. That is a third-moment effect and two moments cannot show it. It is also why the sum cannot put an exact number on the crossover, and why the figure below has to be measured rather than predicted.

What the sum gets right is the shape of the argument. Over a chain from eight to sixteen stages the one-pole time rises by 10.74τ, and the second-order time by 12.40τ. Those increments are dominated by the delay’s 8τ and the 11τ it costs the second-order stage, and the spread’s contribution is a small correction on top of them. By that length a chain’s settling is a question about how much delay each stage has. A one-pole stage has the least delay of any stage with a given bandwidth, and that is the whole of why it eventually wins.

What the best stage is worth

Putting the three lines together gives what a designer would ask for.

The best stage against the length of the chain: 1: 0.77, 2: 0.83, 4: 0.89, 8: 0.98, 16: 1.05, so what a second-order stage saves alone is gone by about ten stages, where its extra delay has caught up. computed by solving, not by drawing: the fastest settling within 1% of N identical second-order stages over the one-pole chain's, against N (solid), and the same at ζ = 1 (dashed) and ζ = 0.7 (dotted). 1 stages: one pole 4.61τ, best 3.53τ at ζ = 0.833 with 0.878% overshoot; ratios 0.767, 0.927 at ζ = 1, 1.442 at 0.7; 2 stages: one pole 6.64τ, best 5.48τ at ζ = 0.842 with 0.841% overshoot; ratios 0.826, 0.973 at ζ = 1, 1.344 at 0.7; 4 stages: one pole 10.05τ, best 8.95τ at ζ = 0.833 with 0.988% overshoot; ratios 0.891, 1.024 at ζ = 1, 1.273 at 0.7; 8 stages: one pole 16.00τ, best 15.61τ at ζ = 0.833 with 0.793% overshoot; ratios 0.976, 1.076 at ζ = 1, 1.458 at 0.7; 16 stages: one pole 26.74τ, best 28.01τ at ζ = 0.817 with 0.957% overshoot; ratios 1.047, 1.121 at ζ = 1, 1.404 at 0.7. Each stage at its best damping costs about 1.4 times the delay of a one-pole stage of the same bandwidth, and adds well under half the squared spread. A delay adds as N and a spread as √N, so a long chain is paid for in delay, and the extra delay grows faster than the smaller spread saves. A chain of Butterworth stages overshoots out of the band at every length, and ζ = 1 is never the best either.
Fig. 4 The fastest settling within 1% of NN identical second-order stages over the one-pole chain’s, against NN (solid), and the same at ζ=1\zeta = 1 (dashed) and ζ=0.7\zeta = 0.7 (dotted). Best: 0.77, 0.83, 0.89, 0.98 and 1.05 at 1, 2, 4, 8 and 16 stages. At ζ=1\zeta = 1: 0.93, 0.97, 1.02, 1.08, 1.12. At ζ=0.7\zeta = 0.7: 1.44, 1.34, 1.27, 1.46, 1.40.

The best stage’s ratio to the one-pole chain runs 0.77, 0.83, 0.89, 0.98, 1.05 for 1, 2, 4, 8 and 16 stages. Critically damped stages, the conservative choice, are 0.93, 0.97, 1.02, 1.08 and 1.12, so a designer who removes the overshoot altogether loses the advantage by about three stages. Butterworth stages, the flat-band choice, are the worst throughout, 1.27 to 1.46 of the one-pole chain, because their overshoot is well outside a 1 per cent band and they spend their settling time ringing.

So a chain’s stages have a practical rule at this tolerance: below about eight stages, compensate each stage to about 0.83 of critical damping, which gives a modest saving that shrinks with length. Above about ten, the stage’s compensation has stopped mattering very much, and one-pole stages of the same bandwidth are at least as fast. They also have the virtue of being robust, since the cliff is close above the best damping and a component tolerance can put a stage off it, as the best damping is not the one to build argued.

The frequency edge asks for something else

The same stages have another number to report, and it does not agree. The edge of a chain measured how soon a chain leaves its flat band as a function of its stages, and a Butterworth stage holds a flat band for far longer than a one-pole stage does.

Two edges that do not ask for the same stage: the flattest eight-stage chain is at ζ = 0.7 (1% flat to 0.269), the fastest settling at ζ = 0.85 (15.85τ); the one-pole chain has neither, at 0.050 and 16.00τ. computed by solving, not by drawing: for eight identical stages, the settling time within 1% against the frequency at which the chain first departs by 1% from flat, each point a damping. ζ = 0.6: edge 0.058, settling 29.36τ, overshoot 35.2%; ζ = 0.65: edge 0.084, settling 24.51τ, overshoot 21.3%; ζ = 0.7: edge 0.269, settling 23.33τ, overshoot 11.8%; ζ = 0.75: edge 0.105, settling 19.50τ, overshoot 5.56%; ζ = 0.8: edge 0.077, settling 18.75τ, overshoot 2.02%; ζ = 0.85: edge 0.066, settling 15.85τ, overshoot 0.438%; ζ = 0.9: edge 0.060, settling 16.54τ, overshoot 0.0286%; ζ = 0.95: edge 0.057, settling 16.99τ, overshoot 0.0000287%; ζ = 1: edge 0.055, settling 17.21τ, overshoot 0%. The one-pole chain with the same stage bandwidth: edge 0.050, 16.00τ. A chain's frequency edge is a question about how flat each stage is, which rewards a damping that keeps the stage's magnitude up. Its settling is a question about how much delay and how much spread. The two are not one requirement, and between the two best points is a real trade rather than an error of design.
Fig. 5 For eight identical stages, the settling time within 1% against the frequency at which the chain first departs by 1% from flat, each point a damping, with the one-pole chain as a separate dot. The flattest damping is 0.7, at 0.269 of the stage bandwidth and 23.3τ; the fastest is 0.85, at 0.066 and 15.9τ; the one-pole chain has 0.050 and 16.0τ.

For eight stages, the flattest is at a damping of 0.7, 1 per cent flat out to 0.269 of a stage’s bandwidth, more than five times the one-pole chain’s 0.050. It also settles in 23.3τ, 46 per cent longer. The fastest settling in this sweep is at 0.85, flat only to 0.066, which is barely better than the one-pole chain, in 15.9τ. And the two are separated by a real trade: at a damping of 0.75 the chain is flat to 0.105 and settles in 19.5τ. There is no stage that does both, and they are asked for in different places.

That disagreement is a useful thing to find, because the two edges have usually been treated as different views of one quantity. The opening essay in this group put edges on one axis and took each edge as a property of the circuit. Here one circuit, at one damping, has its frequency edge improve when its time edge worsens. A designer who chooses compensation by reading a chain’s flatness has made a choice about time without knowing it. And a chain that is required to pass a band has to be built differently from one that is required to settle, and may simply have to be two chains.

The frequency edge has one more thing to say. A 1 per cent flat edge at damping 0.7 is a narrow target: 0.65 reaches 0.084, and 0.75 reaches 0.105, so the flatness is a sharp peak at a particular damping, much sharper than the settling’s cliff, and with a tolerance on the damping most of the headline number disappears.

Why the overshoot does not filter away

The original intuition was that a following stage filters the overshoot of the one before it. Eight stages in a row at 0.8 should each smooth what the previous stage’s overshoot did, and the chain’s overshoot should be less than a stage’s. In fact a single stage at 0.8 overshoots 1.5 per cent and the chain 2.02. Overshoot is not an isolated high-frequency feature of the stage, and each following stage has the same response that produced it. The chain’s magnitude response has a roll-off that sharpens with length, and an increasingly sharp roll-off produces more ringing, not less, at a fixed damping. At ζ = 0.7 a single stage overshoots 4.6 per cent and eight of them 11.8. So the chain concentrates the overshoot.

The cascaded section and the literature of active filters use exactly this fact deliberately: cascades of different sections are arranged so that no section’s peaking adds to another’s. A chain of identical stages has no such arrangement, and with a different Q in each stage there would be better answers than any of these. That would be a filter, however, rather than a chain, and it would have to be designed as one.

What the march assumes

The stages are ideal second-order sections that do not load each other, and their dampings and frequencies are identical. They are linear, so a large step would meet the slew limit of each stage in a way that has nothing to do with this, as the step that is too big measures. Everything is at a 1 per cent band, and the best damping would move with the band as it does for one stage, although the structure would not. A finer band is a stronger test of the delay, and it would move the crossover to fewer stages, since the second term in the arithmetic above carries zz and the spread is what this stage is short of. That effect has not been computed here.

The comparison is also at equal stage bandwidth. If the stage’s resource were something else, a stated gain-bandwidth product with a closed-loop gain chosen for the second pole, the comparison would change, since a higher gain in each stage with the same product would lower its bandwidth directly. The gain that stops making a stage faster gives the relation for that case.

The numbers to keep

At equal bandwidth and within 1 per cent, a second-order stage at its best damping beats a one-pole stage by 23 per cent alone, 17 in a chain of two, 11 in four and 2 in eight, and it loses by 5 per cent in a chain of sixteen. The best damping stays near 0.83 at every length. A stage’s squared spread, (4ζ2−2)/ωn2(4\zeta^2 - 2)/\omega_n^2, vanishes at 1/21/\sqrt 2, but its delay is about 1.4 times a one-pole stage’s and a chain’s delay adds as NN. So the spread that the stage removes is worth less at every further stage, and its delay is worth the same. The flattest eight-stage chain, ζ=0.7\zeta = 0.7, is 1 per cent flat to five times the one-pole chain’s frequency and takes 46 per cent longer to settle.

Still open: unequal stages, a finer band, and errors that cancel

Unequal stages. A chain whose stages have different bandwidths or different dampings can be designed so that their overshoots do not accumulate, and that is where a filter’s section ordering comes from. Which stage to make fastest, for a fixed total of bandwidth, is a budget question with a closed answer in the normal limit for a one-pole chain, and with no such limit for second-order ones.

A finer band. At a tighter settling band the spread’s multiple rises as the logarithm of the tolerance and the delay’s contribution does not. So the crossover should move, and it should move in the direction of fewer stages being better served by second-order sections at coarse bands. A measurement across bands would decide whether the rule of about ten stages is a rule or an accident of 1 per cent.

Errors that cancel. Alternating stages whose amplitude errors have opposite signs can be flatter than any one of them. In time the delays do not cancel. Whether a flatter chain also settles faster, in an arrangement where the stages differ, is the comparison that would say which of the two edges a designer can trade against the other. The figure above suggests they are nearly independent for identical stages, and alternating stages could change that.

Part 8 on model edges

One argument about Model edges, and one of 8 essays on it so far, each part numbered by how much of the idea it assumes. What sits either side of it:

The objects named here

The third axis, after the field and the idea: the things themselves, and every essay that touches each one.

Convergence orderDamping ratioDesign tradeoffGain–bandwidth productModel rangeOvershootSettling time