Before the steady state

The cancellation that leaves a tail

A pole and a zero placed on top of each other disappear from the response. Miss by one per cent and the magnitude changes by 0.078 decibels, which no measurement would report as a fault, while the time to settle to a thousandth goes from 6.9 time constants to 245 — thirty-six times longer. The settling time has a closed form containing neither the fast circuit nor the doublet's separation as such, and its consequence is blunt: settling to a part in ten thousand needs a cancellation good to a part in ten thousand, however fast the amplifier in front of it is.

Assumes: One step, computed twice · Where the behaviour is written down

There is a construction that appears in three different places in this collection under three different names, and the third name is the one that says what it is.

A compensated attenuator, where a capacitor across each resistor makes the division the same at every frequency. A lag network cancelled by a lead so the loop sees neither. A feedback path trimmed until its own corner disappears. All three are a pole and a zero placed on top of each other, and when they land together the network behaves as though neither existed.

They never land exactly together. What a small miss costs is the essay, and the answer is not where anybody looks for it.

A 1.0% doublet: 0.078 dB in the magnitude, 36× the settling timecomputed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 1.00%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.0777 dB. Below, the error left in the step response, in units of the tail's own amplitude of 0.909%. Settling to 0.10% takes 245.2 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 245.2 — a time that contains nothing of the fast circuit at all.-20-100gain (decibels)0.078 dB from the cancelled one — nothing to see here-10102468time, in slow time constantserror remaining, in units of the tail's own amplitudethe 0.10% bandsettled at 2.21 slow τdoublet mismatch1.00%tail amplitude0.9090%slow τ over fast τ100worst magnitude error0.0777 dBsettle to 0.10%245.2 fast τclosed form245.2 fast τcancelled exactly6.9 fast τthe cost35.6×solved, then checked — swept, then marcheda 1.0% miss costs 36× the settling time
Fig. 1 Above, the magnitude of a fast circuit followed by a doublet that misses by one per cent, drawn against the same circuit with the cancellation exact. Below, the error left in the step response, in units of the tail’s own amplitude. The slider is how far the zero misses the pole.

What a doublet is, in one expression

Take a transfer function with a pole at pp and a zero at zz, both far below the circuit’s own bandwidth:

H(s)=H01+s/z1+s/p11+sτfH(s) = H_0 \cdot \frac{1 + s/z}{1 + s/p} \cdot \frac{1}{1 + s\tau_f}

with τf\tau_f the fast circuit. If z=pz = p the first factor is one at every frequency and the response is the fast circuit alone. If z=p(1+ϵ)z = p(1 + \epsilon) it is not, and the interesting question is how it is not.

In the frequency domain the answer is: barely. The first factor’s magnitude departs from unity by at most a fraction of order ϵ\epsilon, reached somewhere between the two frequencies and returning to unity on both sides. At ϵ=1%\epsilon = 1\% the figure measures the worst disagreement anywhere below the fast corner as 0.0777 dB, against the exactly cancelled network. That is well inside the accuracy of any real gain measurement, and it is also inside the tolerance the components themselves were bought to.

In the time domain the answer is: entirely. The step response acquires a term

Aet/τs,AϵR1R1+R2,τs=1/pA\,e^{-t/\tau_s}, \qquad A \approx \epsilon\cdot\frac{R_1}{R_1+R_2},\qquad \tau_s = 1/p

— an exponential of small amplitude and slow time constant. The figure measures A=0.909%A = 0.909\% for ϵ=1%\epsilon = 1\% at its own resistor ratio, and τs\tau_s is a hundred times the fast circuit’s own by construction.

That is the whole mechanism. A doublet does not distort a response; it adds a small, slow tail to everything the circuit does.

Why the settling time is where it shows

The reason a small slow term matters more than a small fast one is that settling is a question about the last part of a response, not the largest.

Settling to a band BB means the error has fallen below BB and stays there. With a single fast pole that takes τfln(1/B)\tau_f\ln(1/B): 4.6 time constants to one per cent, 6.9 to a thousandth, 9.2 to a ten-thousandth. Those are the numbers the figure measures with the cancellation exact, and they are what a designer has in mind.

With the tail present, the error is eventually the tail alone, and the tail decays with τs\tau_s. So

tsettle=τsln ⁣(AB)t_{\text{settle}} = \tau_s \ln\!\left(\frac{A}{B}\right)

and the figure asserts this against the marched response to four digits: 245.2 fast time constants measured against 245.2 predicted, at one per cent of miss and a thousandth of band.

Three things about that expression are worth reading off it.

The fast circuit does not appear. Making the amplifier ten times faster changes τf\tau_f and leaves τs\tau_s and AA alone, so the settling time is unchanged. This is the observation that makes doublets notorious: a stage that is not fast enough cannot be fixed by making it faster.

The dependence on the miss is logarithmic, so halving ϵ\epsilon buys τsln2\tau_s\ln 2 of settling time and no more. Trimming a doublet by a factor of two is worth about seven tenths of a slow time constant, which on this circuit is seventy fast ones — real, but not the order-of-magnitude win the trim looks like it should be.

And the whole thing goes away when A<BA < B. If the tail is already smaller than the band being settled to, the logarithm is negative and the doublet costs nothing at all. That is the boundary, and it is unusually blunt.

A 0.2% doublet: 0.016 dB in the magnitude, 10× the settling time. computed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 0.20%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.0156 dB. Below, the error left in the step response, in units of the tail's own amplitude of 0.182%. Settling to 0.10% takes 66.3 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 66.3 — a time that contains nothing of the fast circuit at all.
Fig. 2 A two-thousandth of a miss, where the tail is 0.182% and the band is 0.1%: the logarithm is small, the settling to a thousandth takes 0.60 slow time constants — 66 fast ones against 6.9 with the cancellation exact — and the doublet has nearly stopped mattering. Another factor of two and it would stop entirely.
A 10.0% doublet: 0.741 dB in the magnitude, 73× the settling time. computed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 10.00%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.7414 dB. Below, the error left in the step response, in units of the tail's own amplitude of 9.170%. Settling to 0.10% takes 504.8 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 502.1 — a time that contains nothing of the fast circuit at all.
Fig. 3 And a tenth, where the magnitude has finally moved enough to see — 0.741 dB — and the settling to a thousandth has reached 4.54 slow time constants, five hundred fast ones. The frequency-domain fault and the time-domain fault have arrived at the same time only because the miss is now large.

The boundary: the miss must be smaller than the band

Written as a design rule, A<BA < B says: the cancellation must be as good as the accuracy being asked for. Settling to 0.1% needs the pole and zero matched to about 0.1%. Settling to 0.01% needs them matched to 0.01%.

That is a much harsher statement than it first sounds, because the two are usually bought from different budgets. The 0.01% is a specification on the converter the stage is driving, and it is met with a good amplifier and a fast settling time. The 0.01% on the doublet is a specification on two components in a compensation network matching each other, which nobody wrote down, and which for a resistor-and-capacitor pair means a capacitor accurate to a part in ten thousand against a resistor.

Nothing about the amplifier helps. The measurement in the figure holds the fast circuit fixed and sweeps only the miss, and the settling time moves by a factor of thirty-six while the fast circuit’s own settling is unchanged at 6.9 of its time constants.

How long a second-order step takes to arrive inside ±2%. computed by solving, not by drawing from the residue expansion at 260 damping ratios. The fastest is ζ = 0.780 at 3.60/ω₀; critical damping takes 5.83/ω₀, which is 62% longer. Between ζ = 0.775 and 0.780 the time falls by 33% in one step of the sweep, because which excursion is the last one outside the band changes there — the overshoot at the fastest damping is 1.99%, which is the band itself, and one step to the left it is larger. The faint curves are the other bands, each with its own step in a different place.
Fig. 4 The field’s other settling result, and a useful contrast. There the settling time is decided by where the poles are and moves by a third across five thousandths of damping; here it is decided by a residue, and the poles do not move at all.

The residue is what changed, not the poles

That last sentence is the structural point and is worth making carefully, because it explains why the frequency response is so quiet.

A step response is a sum of exponentials, one per pole, and each carries a residue — how much of that pole appears in this particular response. Cancelling a pole with a zero does not remove the pole from the network. The pole is still there; the zero sets its residue to zero.

So a doublet with a miss is a network whose poles are exactly where they were and one of whose residues is small instead of zero. Nothing has moved on the pole plane. The settling time, which depends on the slowest pole with a non-negligible residue, has changed by a factor of thirty-six because a residue crossed a threshold set by the accuracy being demanded.

This is why every frequency-domain instinct fails here. Bandwidth, roll-off, phase margin, group delay — all of them are dominated by the poles, and the poles are unchanged. The only quantity that notices is one that asks about a small part of the response a long time after the event, and settling time is the only common measurement that does.

Two poles at ζ = 0.5, recovered from the matrix. The poles are at -795.8 ± j1378 hertz. Their distance from the origin is the natural frequency to six digits; the cosine of their angle from the negative real axis is the damping ratio. The step response beside them follows.
Fig. 5 Where a second-order circuit’s behaviour is written down, and the reason a doublet is invisible there. Two numbers in the complex plane contain everything a second-order circuit will do; a doublet is a statement about a third number that this plot does not carry.
A 0.5% doublet: 0.039 dB in the magnitude, 24× the settling time. computed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 0.50%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.0390 dB. Below, the error left in the step response, in units of the tail's own amplitude of 0.454%. Settling to 0.10% takes 168.1 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 168.2 — a time that contains nothing of the fast circuit at all.
Fig. 6 Half a per cent of miss. The magnitude response is disturbed by 0.039 dB — invisible on any plot — and the step still takes 168 fast time constants to settle. The poles have not moved between this figure and the one above it; what moved is a residue, and a residue is not visible in a magnitude plot at all.

The instance this collection already had

The compensated attenuator in the instruments field is a doublet, and reading it that way explains something that essay measured and did not name.

A ten-to-one probe is nine megohms over one, with a capacitor across each. Match the two time constants and the division is ten to one at every frequency. Mismatch them and the division is one ratio at low frequency and another at high — which is what that essay draws, and it is the frequency-domain face of the same object.

The time-domain face is the one every oscilloscope user has met: the flat top of a square wave that tilts, or overshoots and creeps back. That tilt is the tail. Its amplitude is the compensation error and its time constant is the probe’s own, about a hundred microseconds — so a “settled” reading taken a few microseconds after an edge can be a fraction of a per cent wrong for a millisecond.

A 2.0% doublet: 0.155 dB in the magnitude, 47× the settling time. computed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 2.00%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.1546 dB. Below, the error left in the step response, in units of the tail's own amplitude of 1.820%. Settling to 0.10% takes 322.6 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 322.4 — a time that contains nothing of the fast circuit at all.
Fig. 7 Two per cent: 0.155 dB in the magnitude and 323 fast time constants to settle. Four times the miss has bought four times the magnitude disturbance — it is linear in the mismatch — and roughly twice the settling time. The two symptoms of one defect do not scale together, which is why a part characterised in the frequency domain can fail in the time domain.
A 5.0% doublet: 0.380 dB in the magnitude, 62× the settling time. computed by solving, not by drawing. Above, the magnitude of a fast circuit followed by a pole and a zero that were meant to cancel and miss by 5.00%, against the same circuit with the cancellation exact: the worst disagreement anywhere up to the fast corner is 0.3804 dB. Below, the error left in the step response, in units of the tail's own amplitude of 4.563%. Settling to 0.10% takes 425.4 fast time constants against 6.9 with the cancellation exact, and the closed form τ·ln(A/B) gives 424.5 — a time that contains nothing of the fast circuit at all.
Fig. 8 Five per cent, the far end of the slider: 0.380 dB and 425 fast time constants. Across the five settings drawn the magnitude disturbance runs 0.016, 0.039, 0.078, 0.155 and 0.380 dB while the settling runs 66, 168, 245, 323 and 425 time constants. A specification that quotes flatness to a tenth of a decibel admits every one of them.

Where doublets come from when nobody put one there

The compensated divider is a doublet somebody built on purpose. Most of the ones that cause trouble are not built at all.

A feedback network with stray capacitance. A resistive divider around an amplifier acquires a few picofarads across its upper resistor from the board, and that is a zero; the amplifier’s own input capacitance across the lower one is a pole. Neither was designed, and their ratio is whatever the layout gave.

An amplifier’s internal compensation. A two-stage design frequently has a pole-zero pair from its compensation network that is nearly, not exactly, cancelled — which is why settling-time specifications on precision amplifiers are quoted separately from bandwidth and are so much worse than bandwidth suggests.

A coupling capacitor with a leaky dielectric. The dielectric absorption of a film or ceramic part is a set of slow time constants in parallel with the intended one — a doublet, or several, at milliseconds to seconds, with amplitudes of a few tenths of a per cent. Nothing in a data sheet’s capacitance value contains them.

In every case the signature is the same: a response that is right in the frequency domain and creeps in the time domain, with a time constant far longer than anything in the circuit’s own bandwidth.

How to find one

The measurement that finds a doublet is not a frequency sweep and not a step response at its usual scale. It is a step response with the vertical axis expanded by a hundred and the horizontal axis expanded by a hundred in the other direction — which is what the lower panel of the figure is.

Plotting the error rather than the response, in units of the tail rather than of the step, turns an invisible feature into the whole picture. The usual view of a step response is dominated by the fast edge and shows a flat top; the error view shows the fast edge as a spike at the left and then the entire tail, and a doublet is unmistakable in it.

The second signature is the ratio test. Settling to BB and to B/10B/10 should differ by τln10=2.30\tau\ln 10 = 2.30 time constants of whatever is limiting. If the two settling times differ by 230 fast time constants rather than 2.3, the thing limiting is not the fast pole, and its time constant is the difference divided by ln10\ln 10. That measurement identifies τs\tau_s without knowing anything about the circuit.

The theorem that gives the answer and not the time

There is a neat statement of what a doublet costs in terms of machinery this field already has.

The final-value theorem returns the settled value of a step response from the transfer function at s=0s = 0, with no marching at all, and it is exact. It is also completely silent about when. A doublet does not move the final value by a hair — the cancellation is exact at direct current whatever ϵ\epsilon is, because both the pole and the zero contribute unity there — so the theorem’s answer is unchanged by the fault this essay is about.

That is the same relationship the value-theorems essay found between a pole condition and an observation window, arriving from the other side. There the theorem was satisfied and sixty cycles was not long enough to see the answer; here the theorem is satisfied and a hundred fast time constants is not long enough. In both cases the theorem is right and the measurement is not finished, and what separates them is a number the theorem does not contain.

So the pair of questions a transient measurement has to keep apart is: what does it settle to, which is a statement about the network at one point on the complex plane, and when is it settled, which is a statement about every pole with a residue. A doublet is the cleanest case in which the first is perfect and the second is thirty-six times worse than it looks.

Where the tail is met, and what it is measured with

A doublet is invisible in the frequency domain and expensive in the time domain, so everything on this page depends on being able to compute a step exactly. One step, computed twice is where that exactness is established — a residue expansion against a marched network, agreeing to the integration error and no further. The cliff before the fastest settling is the other place where settling time refuses to be a smooth function of a design parameter, and A sum that is exact, and the estimate that is not is the shortcut that this page’s residue is exactly the kind of thing to defeat. A divider with two ratios is the doublet a reader meets first, deliberately introduced and adjustable, and The capacitor that remembers is one nobody asked for at all.

What is checked

Three assertions, and the middle one is the essay.

That the settling time is τsln(A/B)\tau_s\ln(A/B) — the marched response against the closed form, at every setting of the slider. The tolerance is one per cent rather than a part in ten thousand, and the slack is the closed form’s own range rather than the march’s: AA is the amplitude of the first-order tail, and at a tenth of a miss the second-order term is worth half a per cent of the settling time. At one per cent the two agree to four digits, which is the setting quoted above.

That the worst departure in the magnitude is smaller than the miss that caused it, measured against the exactly cancelled network across the passband. That is the asymmetry stated as a comparison rather than as a decibel figure, so that it holds at every setting rather than at the one it was written against.

And that a miss that is invisible in the magnitude multiplies the settling time several times over — the ratio against the exactly cancelled circuit, asserted to be at least three at every non-zero setting. It is the refusal that keeps the first two assertions from being read as a curiosity about a small term.

A magnitude that says nothing about a time

0.078 decibels of magnitude change against a settling time thirty-six times longer is the largest discrepancy in this collection between what a frequency response reports and what a step does, and it is worth saying why the two come apart so far here when they usually do not.

They usually do not because a settling time is dominated by the slowest pole, and a slow pole is a large feature of a magnitude response. A doublet is the one arrangement where a pole is nearly cancelled by a zero: the residue is tiny, which is why the magnitude barely moves, and the time constant is unchanged, which is why the tail lasts as long as it does. A response with a small residue at a long time constant is exactly the response a magnitude measurement cannot see.

Two measurements of one margin is the case where the two domains agree — a phase margin computed from a loop gain returning 34.9° against an overshoot inverted out of a step response returning 34.9° — and its agreement holds because the quantity being compared is dominated by the pole pair near crossover. This essay is the same pair of measurements applied to a circuit where the dominant feature of one domain is invisible in the other, and the conclusion is practical: settling to a part in ten thousand needs a cancellation good to a part in ten thousand, however fast the amplifier in front of it is, and no magnitude specification on that amplifier constrains it.

Where a doublet comes from

Nobody designs one deliberately, so it is worth naming the arrangements that produce a nearly cancelled pole and zero without anybody choosing to.

A compensation network is the commonest: any lead or lag section placed to cancel an existing pole is a doublet if the cancellation is imperfect, and the cancellation is imperfect by whatever the two components’ tolerances allow. The tolerance that is not on any part gives the arithmetic — a worst case that does not improve with the number of parts, a measured spread of 0.29 per cent for one per cent components — and a per cent of mismatch is, on the numbers measured here, thirty-six times the settling time.

A second feedback path is the other, and this field has one measured. The path that buys the error back crosses over between two paths at a frequency where each is exact in its own half of the spectrum, and finds its cost to be a settling time running from 0.745 microseconds to 9.18 across the load range — a tail whose time constant is the feedback network’s own, fitted rather than rooted, which is a doublet by another name.

Which is the useful warning. A pole cancelled on purpose is a doublet with a tolerance on it, and the tolerance that matters is not the one on the response.

Which is why the closed form on this page is worth having in the shape it has. It contains neither the fast circuit nor the doublet’s separation as such, so it converts a component tolerance directly into a settling time — and a design that has to settle to a part in ten thousand can read off the matching it needs before choosing an amplifier, rather than discovering afterwards that the amplifier was never the limit.

What links here

Essays that reach for this one mid-argument — the half of a link its own author cannot write down, the 8 sharing most with it of 13.

What this makes readable

Essays that name this one as a prerequisite.

The objects named here

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

Compensated dividerModel rangePolesResiduesSettling timeTime constant matchingTransient responseTransmission zero