Where the models stop

Where the mechanisms are one mechanism

An amplifier is said to run out of three separate things — bandwidth, slew rate and rails — and errors from separate mechanisms add in quadrature while errors from one mechanism add as magnitudes. Measured as waveforms rather than as numbers, two of the three sit 18.4349 degrees apart, which is exactly the angle between a sinusoid and its own cube, and the third sits at ninety: its cosine against both of the others stays under 0.0025 wherever it exists. So the arithmetic is neither of the two anybody reaches for, and a budget built the right way is within 2.9 per cent where quadrature is 17 per cent low and a straight sum 37 per cent high.

Assumes: How small is small signal · Every model has an edge · The step that is too big

How small is small signal measures one linear model failing for one reason. A tangent replaces a curve, the curve bends away from it, and the whole of the departure is the second and third terms of one series. There is nothing to combine, because there is only one thing.

Almost no real model fails that tidily. An amplifier is described as running out of three separate things — the gain–bandwidth product, the slew rate of its input pair, and the supply rails — each with its own line on a data sheet, its own units and its own boundary. Three impairments, three numbers, and a reader is left to combine them.

The arithmetic for combining them is not a matter of taste. Errors from genuinely independent mechanisms add in quadrature, which is what a noise budget correctly assumes; errors that are one mechanism seen from three sides add as magnitudes. Across thirty-five points of the plane at which this stage’s model is still within twenty-five per cent of the truth, those two answers differ from each other by as much as 38.3 per cent — and which of them to use has been decided once, at one point of one amplifier, and reported as a single number. A number has no direction, and the question is entirely about direction.

Linearising an exponential at 27 °C, and what it costs. The linear model understates the gain by 1% at 7.30 mV and by 10% at 22.8 mV. The thermal voltage at this temperature is 25.9 mV, so "small compared with Vₜ" is not the criterion — 28% of Vₜ is already 1% wrong.
Fig. 1 The rung below, for contrast. One mechanism, one curve: the amplitude at which a linearised exponential understates its own gain, 7.30 mV for one per cent and 22.8 for ten, against a thermal voltage of 25.9 mV. Nothing here has to be added to anything.

What is being combined, and what direction means

The stage under test is the one the edge that is a region draws its plane for: a non-inverting amplifier of closed-loop gain two, built from a 10 MHz part with ±12 V rails, marched forward in time with a trapezoidal rule. Three departures live in it and they are separable by construction. Running the same march with the input pair linearised removes slewing; running it with no clamp on the compensation node removes the rails; the difference between two consecutive marches is one mechanism and nothing else.

That gives three error waveforms on one time grid rather than three error magnitudes, and the three sum to the whole exactly, because each is defined as a difference. What is not fixed by construction is the angle between them.

Treat each error as a vector whose components are its samples. Two errors of magnitude aa and bb combine to a2+b2+2abcosθ\sqrt{a^2 + b^2 + 2ab\cos\theta}, and θ\theta is the angle between the vectors: a cosine of one is a straight sum, a cosine of zero is quadrature, and there is nothing else. So the whole question — which arithmetic — is a question about three cosines, and the rung below reported a single summary number in their place. One number cannot tell three slightly correlated mechanisms from two that are the same object with a third at right angles to both.

The ideal amplifier is good to 1% over a region, and its corner is 21% inside the specifications. computed by solving, not by drawing. The 1 per cent contour of the ideal-amplifier model for a non-inverting stage of gain 2 built from a 10 MHz part, drawn over frequency and output amplitude at once. Each point is bisected on a marched circuit: the error is the root-mean-square difference between the marched output and 2 times the input, which counts the gain that is low, the phase that is late and the peak that is flat. Three mechanisms bound the region — finite gain–bandwidth on the left, the input pair's slew rate on the diagonal, and the rails at 12.19 V along the top. The two dashed lines are the numbers a data sheet gives: a small-signal edge at 48.8 kHz with no amplitude in it, and a full-power bandwidth of slew rate over 2πV̂ with no gain–bandwidth in it. They cross at 10.60 V and 48.8 kHz; the measured contour passes 38.5 kHz at that amplitude, which is 0.790 of it.
Fig. 2 The plane every measurement below is taken on. The one per cent contour of the ideal-amplifier model over frequency and output amplitude, with the two dashed lines being the specifications a data sheet gives. Its corner is measured at 38.5 kHz where the two lines cross at 48.8, and the missing fifth is the thing this page is about.

The reproduction, which comes before the departure

A cosine between two marched waveforms is exactly the kind of quantity that returns something plausible from a mis-stated problem, so the first thing asked of it is a case whose answer is known before anything is run.

The input pair is a hyperbolic tangent. Its first departure from a straight line is cubic, so at an amplitude where that cubic term is a millionth of the linear one the slew error must be the pointwise cube of the bandwidth error. And the angle between a sinusoid and its own cube is fixed by trigonometry: sin3θ=(3sinθsin3θ)/4\sin^3\theta = (3\sin\theta - \sin 3\theta)/4, the third harmonic is orthogonal to the fundamental, so the cosine between them is 3/103/\sqrt{10} — 18.4349 degrees, with no gain, no gain–bandwidth product, no tail current and no compensation capacitor anywhere in it.

The second departure is the cube of the first, so the angle between them is arccos(3/√10). computed by solving, not by drawing. One cycle at 10.0 kHz and 100 mV of output, where the input pair's tail current is nowhere near being asked for. The bandwidth error is a pure fundamental to 1.4e-13 of itself. The slew error, 1.31e-6 of its size, is the pointwise cube of it to 0.28 per cent — which is what the first correction to a tanh must be. Since sin³θ = (3 sinθ − sin 3θ)/4 and the third harmonic is orthogonal to the fundamental, the angle between a sinusoid and its own cube is arccos(3/√10) = 18.4349°. The marched cosine is 0.948683 against 0.948683, and there is no gain, no gain–bandwidth and no tail current in either.
Fig. 3 One cycle at 10 kHz and 100 mV of output. The bandwidth error is a pure fundamental to 1.4 parts in 101310^{13} of itself, which is what a linear stage driven by a sine must give. The slew error, 205.1 microvolts against 268.78 picovolts — 1.31 millionths of its size — is the pointwise cube of it to 0.28 per cent. The marched cosine between them is 0.948683 against an exact 3/103/\sqrt{10} of 0.948683.

Six figures of agreement, and the number agreed with is a piece of trigonometry rather than a fitted constant. That is what entitles every angle below to be quoted, in the same way that a full window reproducing a closed form entitles a field solver to disagree with it elsewhere. The habit is the one one step computed twice applies to a transient and the digits the arithmetic did not have applies to a solve whose answer looks fine: find the case where the answer is not in doubt, and check there first.

It also settles something the rung below could only observe. Two lags on one signal were said to add as magnitudes because they are both lags. They add as magnitudes because one of them is the cube of the other, which is a much stronger statement and a much narrower one — it is true of a tanh and would not be true of an independent second pole.

The departure: the third mechanism is at ninety degrees

Drive the same stage harder at a frequency the pole can reach and the rails can too, and the three angles come apart.

Two of the three are one mechanism at 19.0°; the third arrives at ninetycomputed by solving, not by drawing. The cosine between each pair of error waveforms at 30.0 kHz, against how much output the ideal model is asked for. Bandwidth and slewing sit at 0.9454 — 19.0 degrees — and close only slowly, reaching 0.8813 at 16 V. Clipping does not exist below 12.00 V, where its error is 4.0e-9 per cent of the signal and its direction is the direction of rounding; above it the mechanism is real — 18.1 per cent at the top of the sweep — and its cosine against both of the others stays under 0.0025. The bandwidth error is 0.615 per cent at every amplitude here, unchanged to 5.3e-15, because a linear stage's fractional error has no amplitude in it.00.2500.5000.75016810121416peak output the ideal model is asked for (volts)cosine between two of the three error waveforms3/√10 — a sinusoid and its cubethe rails: 12.00 Vbandwidth · slew0.9454 to 0.8813bandwidth · clipunder 0.0025slew · clipunder 0.0015bandwidth error0.615%, flatclip at the top18.1%solved, then checked — pairwise, not a summaryclipping is orthogonal above 12.0 V
Fig. 4 The cosine between each pair of error waveforms at 30 kHz, against how much output the model is asked for. Bandwidth and slewing start at 0.9454 and close only slowly, reaching 0.8813 at 16 volts. Clipping does not exist below 12.00 V; above it, its cosine against both of the others stays under 0.0025. The slider is the frequency.

Two of the three are one mechanism. The third is orthogonal to both, to two and a half parts in a thousand, while its own error runs from a third of a per cent to eighteen per cent of the signal — which is to say it is not small and not correlated. The rails add in quadrature and the two frequency mechanisms do not, and no reading of a data sheet suggests that, because the data sheet’s three numbers look alike.

The bandwidth error along that sweep is 0.615 per cent at every amplitude, unchanged to five parts in 101510^{15}. That is not a near-constancy worth rounding: a linear stage’s fractional error has no amplitude in it at all, which is what the word linear means, and it is the reason every change along the sweep can be attributed to one of the other two without subtracting anything.

There is one more thing in that figure and it is a warning about the instrument the rung below used. At 30 kHz and 14 volts of demanded output the summary correlation reads 0.0168 — a number that says these three are independent — while the cosine between the two frequency mechanisms is 0.9168 and they are as inseparable as ever. The summary is dominated by whichever mechanism is largest, and the largest one there is the rails. A single figure of merit over three vectors is not wrong so much as unable to say anything, and the pairwise angles are what it was standing in for.

What the angle is a function of

The plane has two axes and the amplifier has at least two design parameters, so the angle between the two frequency mechanisms could in principle be a function of four things. It is a function of one.

Three amplifiers, one curve: the angle is a function of the slew demand and of nothing else. computed by solving, not by drawing. The cosine between the two frequency mechanisms' error waveforms, for closed-loop gains of 2 and 3 and gain–bandwidths of 10 and 30 MHz, at four amplitudes and five frequencies each — 48 points spanning 500 times in slew demand. They lie on one curve. Below a demand of six tenths, points from different amplifiers that share a demand agree on the cosine to 0.09 per cent; the curve leaves 0.9487 at the bottom and reaches 0.1055 at 11.6 times the slew rate. Neither gain nor gain–bandwidth appears except through the demand, which is why one measurement at one corner of one amplifier was worth generalising.
Fig. 5 Three amplifiers — closed-loop gains of two and three, gain–bandwidth products of 10 and 30 MHz — at four amplitudes and five frequencies each, 48 points spanning five hundred times in slew demand. They lie on one curve. Below a demand of six tenths, points from different amplifiers that share a demand agree on the cosine to 0.09 per cent.

The variable is the slew demand: 2πfV^/SR2\pi f\hat V/\mathrm{SR}, what the sine asks of the tail current divided by what the tail current can supply. Neither the closed-loop gain nor the gain–bandwidth product appears except through it. Below a demand of about a tenth the cosine is 3/103/\sqrt{10} and the second mechanism is simply the cube of the first; at a demand of one — the sine asking for exactly the available slew rate — it has fallen to about 0.84; by eleven times the slew rate it is 0.1055 and the two mechanisms have very nearly become independent, which is a fact about a waveform that has stopped being a sine rather than about an amplifier anybody would ship.

The demand is the quantity a full-power bandwidth is quoted at, which is worth saying because it puts the two in the right relation. A full-power bandwidth is the frequency at which the demand reaches one: the point at which a sine of that amplitude can no longer be produced at all. The angle is untouched most of the way there — a fall of 0.17 per cent at a quarter of the demand, 0.79 at a half, 2.47 at three quarters — and then moves suddenly, to 32.40 degrees at a demand of one, which is an eleven per cent fall in the cosine arriving inside the last quarter. So the collapse variable is already on the data sheet, under a different name and used for a different purpose, and the angle it governs turns at exactly the frequency the refusal does.

That collapse is why one measurement at one corner of one amplifier was worth generalising, and it is also the reason nobody could have known it was. A single point on a plane carries no information about which of its coordinates matters. This is the same move the edges that are lengths makes for a boundary set by a size and a boundary is a model and a tolerance makes for one set by how much error is allowed: find the dimensionless group and the family of curves becomes one curve.

The other axis, where the answers come out reversed

The rung below measured how sharply each side of the region is approached, and measured it in frequency — the axis two of the three mechanisms live on. Along amplitude the answers invert.

Along the amplitude axis one mechanism has no edge and the other two are cliffs. computed by solving, not by drawing. Each mechanism driven harder at 40.0 kHz rather than faster. Finite gain–bandwidth never reaches one per cent however hard it is driven: its error is 0.8203 per cent at 6 volts of output and the same to a part in a million at 22, because a linear stage's fractional error has no amplitude in it. The rails reach one per cent at 12.19 V of demanded output and ten at 14.15 — 1.161 times — and the input pair reaches them at 12.82 and 15.16, 1.183 times. The clipping edge is the same amplitude at 1.00 kHz, 10.0 kHz, 40.0 kHz to 2.8e-5, which is that side of the region being horizontal rather than nearly so.
Fig. 6 Each mechanism driven harder at 40 kHz rather than faster. The rails reach one per cent at 12.19 V of demanded output and ten at 14.15 — a factor of 1.161 — and the input pair at 12.82 and 15.16, a factor of 1.183. Finite gain–bandwidth has no bar at all: 0.8203 per cent at six volts of output and the same to a part in a million at twenty-two.

Finite gain–bandwidth has no amplitude edge. Not a distant one; none. Its fractional error is a property of the frequency and of nothing else, so at a frequency where it is under one per cent no amount of drive will take it there, and a designer who has decided a signal is too large has said nothing about it at all.

That asymmetry decides what a reduction in signal level can buy, and it is measurable in one line. The same stage at 30 kHz asked for 14 volts is 0.6152 per cent wrong from bandwidth, 0.1928 from slewing and 9.2961 from the rails, for 9.3317 in total. Halved to seven volts it is 0.6152 per cent wrong from bandwidth, 0.0310 from slewing and nothing at all from the rails, for 0.6445 — a factor of fourteen and a half for six decibels. Halve it again and the answer barely moves, because the remaining error is the pole’s and the pole does not care. The only remedies for that term are a faster part or a lower closed-loop gain, and the second of those turns out to change the shape of the region rather than its size.

The rails and the tail current are both cliffs, and they are the same cliff to two per cent. Under a fifth more drive — 16.1 per cent for one and 18.3 for the other — takes each from one per cent wrong to ten. That matters because the rung below found slewing to be a cliff in frequency — 1.19 times from one per cent to ten, against 10.05 for the pole — and left the third mechanism unmeasured on either axis. It is a cliff too, and by almost exactly the same factor, which says that both are the same kind of failure: a quantity that has run out, rather than a term that is growing.

And the clipping edge is at 12.1855 volts at one kilohertz, 12.1855 at ten and 12.1859 at forty — the same amplitude to under three parts in a hundred thousand across a factor of forty in frequency. That side of the validity region is horizontal, and this is the measurement that says so rather than the drawing that assumes it.

The corner moves with a design choice, and then leaves

The slew rate of this stage is 2VTωt2V_T\omega_t and contains no closed-loop gain. The small-signal edge is ωt/A\omega_t/A and is inversely proportional to it. So the amplitude at which the two become comparable must move when the gain moves, and the direction is decidable before anything is marched.

The corner is proportional to the gain, so past 2.27 it is off the amplifier. computed by solving, not by drawing. The output amplitude at which the small-signal edge and the full-power bandwidth cross, for eight closed-loop gains, at a 1.0 per cent tolerance on a 10 MHz part with ±12 V rails. The input amplitude is 5.207 to 5.385 V across the whole sweep — 3.4 per cent, over a factor of 6.7 in gain — because the gain cancels between a slew rate of 2·V_T·ω_t and a small-signal edge of ω_t·ε over the gain, leaving 2·V_T·√(1−ε²)/ε = 5.170 V with no circuit in it. The output corner therefore rises in proportion, meets the rails at a gain of 2.270, and above that the region has two sides rather than three: the closed form for the crossing is ε·V_sat/(2·V_T) = 2.321.
Fig. 7 The output amplitude at which the two frequency mechanisms are comparable, for eight closed-loop gains. The input amplitude is 5.207 to 5.385 volts across the whole sweep — 3.4 per cent over a factor of 6.7 in gain — because the gain cancels. The output corner therefore rises in proportion and meets the rails at a gain of 2.270.

Working the cancellation through gives an input amplitude with no circuit in it at all: 2VT1ε2/ε2V_T\sqrt{1-\varepsilon^2}/\varepsilon, which at one per cent is 5.170 volts. The march bisects 5.299 at a gain of two — the two routes agree to 2.5 per cent, and the residual is not slack in either. It is the marched small-signal edge sitting at 48.8 kHz where a single pole puts it at 50.0, which is a separate measurement and accounts for the whole of the difference.

The consequence is a prediction rather than an observation, and it is the sharper half of the page. The output corner is that amplitude times the gain, the rails are fixed, so past a stated gain the corner is above the rails and there is no corner: the region has a vertical side and a horizontal one, and slewing never enters the argument at all. The crossing is measured at a gain of 2.270 and the closed form εVsat/2VT\varepsilon V_{sat}/2V_T puts it at 2.321. At two per cent tolerance it is 4.59 and at three per cent 6.91.

So the shape of an amplifier’s validity is decided by the closed-loop gain, and a stage of gain ten does not have a smaller version of the region a stage of gain two has — it has a region of a different shape. That is the same discovery a band rather than an edge makes about an analogue switch, where the two bounds on load resistance belong to different parts of one component, and it is the reason a boundary quoted as a number cannot carry it.

One thing does not move. The corner sits at 0.7842, 0.7875, 0.7897 and 0.7908 of where the two specifications cross, for gains of 1.2, 1.5, 2 and 2.2 — a fifth inside, constant to eight parts in a thousand. The rung below found that fraction unchanged when the tolerance moved and could not say whether it was a property of the pair of mechanisms or of the numbers. It survives the gain moving too, which is a second axis and a stronger claim.

The arithmetic that is actually right

Three cosines give a budget rule directly, and it is neither of the two anybody reaches for. Add the bandwidth and slew errors at 3/103/\sqrt{10}, then add the clipping error to that in quadrature:

ε2=εbw2+εsl2+610εbwεsl+εcl2\varepsilon^2 = \varepsilon_{bw}^2 + \varepsilon_{sl}^2 + \tfrac{6}{\sqrt{10}}\varepsilon_{bw}\varepsilon_{sl} + \varepsilon_{cl}^2

Over thirty-five points spanning two closed-loop gains, half a volt to seven of drive and 10 to 50 kHz — every point at which the model is within twenty-five per cent of the truth — that rule is worst by 2.93 per cent. Pure quadrature is worst by 17.08 per cent low. A straight sum of all three is worst by 36.68 per cent high. The cheap rule is the right one and it costs one extra multiplication.

The optimistic answer is the dangerous one and it is the one a budget written by habit produces, because quadrature is what a noise budget does and a noise budget is the budget most engineers have written most often. The difference between the two situations is not the size of the contributions; it is whether the mechanisms share a phase angle, exactly as what the second path costs at the floor finds for two noise sources that genuinely do not.

What it does not say

It does not hold once slewing is large. The orthogonality of the rails against the other two is measured under 0.0025 at 30 kHz, where the slew mechanism reaches 0.37 per cent. At 45 kHz, where it reaches 26.5 per cent, the worst clip cosine is 0.1442; at 60 kHz, where it reaches 59.7, it is 0.6846. A flat-topped output and a triangular one are not independent shapes, and past that point the decomposition is describing a waveform nobody would call an amplified sine. That is the edge of this page’s own model, and it is a frequency: at a gain of two, about 30 kHz for a signal at the rails.

It is one waveform. Every angle here is measured on a sine, because a sine has an amplitude and a frequency and therefore a place on the plane. A step has neither, which is why the step that is too big and the step too large to have an impedance measure the same slew rate against a different question and get different numbers from it.

And the third mechanism is a soft clamp. The rails here are two exponentials with a fifty millivolt knee, which is what an output stage does and what a Newton loop can be marched through. A harder limit would sharpen the cliff and would not move the angle, since orthogonality is about shape rather than about magnitude — but that is an argument rather than a measurement, and it is not made here.

The number worth carrying

Two of an amplifier’s three departures are one mechanism at 18.4349 degrees, exactly the angle between a sinusoid and its own cube; the third is at ninety, to under three parts in a thousand. Errors that share a phase add as magnitudes and errors at right angles add in quadrature, so the right budget does both in one line and is within three per cent where the two familiar rules are seventeen per cent low and thirty-seven per cent high.

The habit that goes with it is shorter, and it generalises past amplifiers. Every model has an edge collects boundaries as numbers, which is what a boundary has to be to go on a page. A number has no direction, and the moment two of them are combined the direction is the whole of the answer — so a model with several failure mechanisms is not described by their sizes, and the measurement that decides how to add them has to be made on waveforms rather than on magnitudes. Where that measurement has never been made, the safe assumption is a straight sum and the common assumption is quadrature, and they are different by a factor that is large enough to design wrongly on.

Part 3 on Small-signal

One argument about Small-signal, 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.

Design tradeoffGain–bandwidth productModel rangeNonlinearityQuadratureSaturationSlew rateSmall-signal modelValidity region