Before the steady state

The larger step that settles sooner

An amplifier of 1 MHz gain–bandwidth and 0.5 V/µs slew rate, given a second pole that leaves 35° of phase margin, settles a small step to 0.01% in 6.98 µs with 35% of overshoot. A 400 mV step settles in 6.87 µs and a 385 mV step in 7.37: across the sweep there are three places where a larger step settles sooner, by as much as half a microsecond. The reason is that slewing eats the overshoot — 6.3% at 1 V, 1.33% at 5 V, near a fixed 65 mV — and moves the ring's peaks, so a peak just outside the band can fall inside it. The settling time is a sawtooth, cut back by 0.50 and 0.47 µs where a peak is lost, less than the ring's 0.83 µs half period. And the rule a designer uses — slewing time plus small-step settling — is pessimistic at every margin: 11 to 21% at 35°, 6 to 18% at 60°.

Assumes: The step that is too big

How long a large step takes to settle found a clean law for an amplifier with one pole: a step larger than the slew rate times the time constant — eighty millivolts, for a part of a megahertz and half a volt per microsecond — slews until its error has fallen to that size and then settles exactly as a small step does, so the extra time is τ(x−1−ln⁡x)\tau(x - 1 - \ln x) and the settling time rises smoothly and monotonically with the step. It ended by naming the case the law could not reach. A real amplifier’s loop has a second pole, and its small-signal step rings; when the slewing ends, the ring starts from wherever the slewing left it, and the settling time might then depend on the step’s size in a way that is not monotone at all.

This essay marches that case. The amplifier is the same — one megahertz of gain–bandwidth, half a volt per microsecond — with a second pole placed to leave a stated phase margin: thirty-five degrees, the margin two measurements of one margin read from both domains, unless the figure says otherwise. The model is the simplest that contains both effects: an integrator whose rate is clamped at the slew rate, followed by the second pole, with unity feedback. It is marched at two-nanosecond steps for every step size, and the settling time is the last instant the error leaves a band of one part in ten thousand.

The settling time against the step

An amplifier of 1 MHz and 0.5 V/µs with 35° of phase margin: the time to settle to 0.01% against the step's sizecomputed by solving, not by drawing, marched at 161 step sizes from 10 mV to 5 V: the slew-limited integrator followed by a second pole placed for 35° of margin. A step too small to slew settles in 6.98 µs and overshoots 35.0%. Above 79.6 mV the curve is a staircase: 3 places where a larger step settles sooner than the one before it, the largest drop 0.50 µs. At 5 V it settles in 14.37 µs, where slewing time plus the small-step settling (dashed) says 16.82.11010m100m1size of the step (volts)time to settle to 0.01% (microseconds)SR·τ = 79.6 mVsolved, then checked — 161 steps, marched3 larger steps settle sooner
Fig. 1 Time to settle to 0.01% against the step’s size, for an amplifier of 1 MHz and 0.5 V/µs whose loop has a second pole leaving 35° of margin, marched at 161 sizes from 10 mV to 5 V. A small step settles in 6.98 µs with 35.0% overshoot. Above 79.6 mV the curve is a staircase with three reversals, the largest 0.50 µs. At 5 V, 14.37 µs; slewing time plus small-step settling (dashed) says 16.82. The slider is the margin.

Below eighty millivolts nothing slews, and every step settles in 6.98 microseconds with 35.0 per cent of overshoot — the loop’s own small-signal response, scaled. A margin of thirty-five degrees rings for a long time, and almost seven microseconds is what that ring costs against the one-pole amplifier’s 1.47.

Above eighty millivolts the curve does something the one-pole law could not. It rises, but not smoothly: it moves in a staircase, and at three places on the sweep a larger step settles sooner than the smaller one before it. The largest drop is half a microsecond. At the far end of the sweep a five-volt step settles in 14.37 microseconds, and the rule that adds the slewing time to the small-step settling time says 16.82.

Both features need explaining: the reversals, and why the rule is pessimistic. They have the same cause.

Slewing eats the overshoot

The overshoot of a step into a loop with a second pole, against the step's size, at 35°, 45° and 60° of margin. computed by solving, not by drawing. Below 79.6 mV the overshoot is the small-signal loop's: 35.0% at 35°, 23.3% at 45°, 8.8% at 60°. Once the step slews, the overshoot falls with its size: at 1 V 6.3%, 3.5%, 1.1%; at 5 V 1.33%, 0.75%, 0.23%. A slewing output arrives at a fixed rate, and the overshoot is what the second pole's lag carries past the target at that rate — near a fixed voltage, 63 mV at 1 V and 67 mV at 5 V for 35°, so a shrinking fraction of a larger step.
Fig. 2 Overshoot against step size at 35°, 45° and 60° of margin. Below 79.6 mV it is the small-signal loop’s: 35.0%, 23.3% and 8.8%. Once the step slews it falls with the size: at 1 V 6.3%, 3.5% and 1.1%; at 5 V 1.33%, 0.75% and 0.23%. At 35° the overshoot is 63 mV at 1 V and 67 mV at 5 V — near a fixed voltage, so a shrinking fraction of a larger step.

A step too small to slew overshoots by the loop’s own figure: 35.0 per cent at thirty-five degrees, 23.3 at forty-five, 8.8 at sixty, which the march reproduces from the second-order loop’s closed form to a part in five hundred. Once the step slews, the overshoot falls steeply with its size. At thirty-five degrees a one-volt step overshoots 6.3 per cent and a five-volt step 1.33.

The mechanism is visible in the voltages rather than the percentages. At thirty-five degrees the one-volt step overshoots by 63 millivolts and the five-volt step by 67: nearly the same voltage. A slewing output arrives at its target at a fixed rate, the slew rate, whatever the step’s size, and the overshoot is what the second pole’s lag carries past the target at that rate — a fixed amount of lag times a fixed speed. So the overshoot in volts is set by the slew rate and the loop, and as a fraction of the step it falls as the step grows. A slewed step reaches its target with the ring’s initial amplitude already fixed, small and the same for every large step.

That alone explains why the rule is pessimistic. Adding the slewing time to the small-step settling time assumes that after slewing the output must settle from a ring as large, in proportion, as a small step’s. It need not: it starts from a ring of about sixty-five millivolts, which against a band of a part in ten thousand of a five-volt step is far less to settle than thirty-five per cent of the step would be.

What a slewed step carries into its ring

The fixed voltage has a source that can be named. While the integrator slews at a constant rate, the second pole’s output follows it at the same rate but late, and a ramp through a single pole of angular frequency ω2\omega_2 lags by a fixed voltage, SR/ω2SR/\omega_2. At thirty-five degrees the second pole sits at 0.40 megahertz and that lag is 0.20 volts. When the error has fallen far enough for the clamp to release, the loop takes over a state in which the integrator is already 0.20 volts ahead of the output, and the ring that follows is the loop’s response to that state rather than to the step. The march finds an overshoot of about a third of the lag at thirty-five degrees, and the same third whether the step was one volt or five — because the state at release is the same for every step large enough to reach the full slew rate.

This is why the large steps behave alike. After slewing, every step above a volt or so carries the same few hundred millivolts of internal state into the same loop, and rings the same ring; what differs between them is only how long they slewed first, which shifts the ring later without changing it. A linear step, by contrast, carries its whole size into the ring, which is why its overshoot is a fixed percentage — the scaling one step, computed twice relied on when it checked a step response by two routes.

Why a larger step can settle sooner

A settling time is the last moment the error leaves the band. After slewing, the error is a decaying ring, and the settling time is set by whichever peak of that ring is the last one tall enough to stand outside the band.

Two steps of 385 mV and 400 mV into the 35° loop: the error on a logarithmic scale, and the band they must settle into. computed by solving, not by drawing. The error of each output against its step, as a fraction of the step. The smaller step (dashed) settles to 0.01% at 7.37 µs and the larger (solid) at 6.87 µs. Each tail is a decaying ring, and a settling time is the last moment one of its peaks rises above the band; a slightly larger step ends its slewing at a different point of the ring, its peaks shift, and one that was just outside the band falls just inside it — so a whole half-cycle comes off the settling time.
Fig. 3 Steps of 385 and 400 mV into the 35° loop: the error as a fraction of the step, on a logarithmic scale, against the band of 0.01%. The smaller step (dashed) settles at 7.37 µs, the larger (solid) at 6.87 µs. A slightly larger step ends its slewing at a different point of the ring, its peaks shift, and the last one that was just outside the band falls just inside it.

The step of 385 millivolts settles at 7.37 microseconds; the step of 400 millivolts, fifteen millivolts larger, at 6.87. On a logarithmic scale the two tails are rings decaying at the same rate, and the difference between them is a shift. A larger step slews for a little longer, so its ring starts a little later and from a slightly different state, and its peaks move. For the smaller step one peak near seven microseconds stands just above the band and the settling time is the moment that peak’s descent crosses it. For the larger step that same peak sits just below, and the settling time falls back to the end of the peak before — half a microsecond earlier.

That is the same mechanism the cliff before the fastest settling found in a linear second-order response, where the settling time jumps as the damping is varied because a peak of the ring crosses the band. There the knob was the damping and the system was linear. Here the damping is fixed and the knob is the step’s size, which in a linear system would scale the ring and the band together and change nothing. Slewing is what breaks the scaling, and with it the monotonicity.

The sawtooth, at a finer grain

The 35° loop between 0.2 and 3.2 V on a fine grid: the settling time is a sawtooth, cut back each time a peak of the ring falls inside the band. computed by solving, not by drawing, at 241 steps 12.5 mV apart. Between jumps the settling time rises with the step, at the slewing rate, as the whole tail slides later; at each jump the last peak of the ring to leave the band falls inside it, and the settling time drops back to the end of the peak before. 2 jumps larger than 0.15 µs: -0.50 µs at 400 mV, -0.47 µs at 1.24 V. They are shorter than the ring's half period, π over its damped frequency, 0.83 µs, because the peak before the lost one is larger and stays outside the band for part of its own half-cycle.
Fig. 4 The 35° loop between 0.2 and 3.2 V at steps 12.5 mV apart: the settling time to 0.01%. Between jumps it rises with the step as the tail slides later; at 400 mV and 1.24 V a peak of the ring falls inside the band and the settling time drops by 0.50 and 0.47 µs, less than the ring’s half period of 0.83 µs.

On a grid of 12.5 millivolts the shape is a sawtooth. Between jumps the settling time climbs with the step, because the whole tail slides later as the slewing lengthens. At 400 millivolts and at 1.24 volts a peak drops inside the band and the settling time falls by 0.50 and 0.47 microseconds. Those drops are shorter than the ring’s half period, 0.83 microseconds, for a reason the traces show: when the last peak is lost, the settling time falls back to the end of the peak before, and that peak is larger — by the ring’s decay over half a cycle — so it stays outside the band for part of its own half-cycle rather than ending at its crest.

Above about 1.3 volts the sweep shows no more drops. The band is a fixed fraction of the step and grows with it, while the ring left after slewing is a nearly fixed sixty-five millivolts; past some size the ring’s later peaks are all inside the band from the start, and the settling time becomes the slewing time plus a fixed tail.

Margin

The slider on the first figure moves the margin. At forty-five degrees a small step settles in 4.13 microseconds, there are two reversals and a five-volt step settles in 12.11. At sixty degrees a small step settles in 1.84, there is one reversal and five volts take 11.01. A loop with more margin rings less, so it has fewer peaks to lose and the sawtooth flattens; at sixty degrees the settling time is close to monotone. The reversals are a feature of the loops that ring.

That makes margin the real design variable for large-step settling, as it was for small. One margin, and the gain under it found that a margin is a statement about one crossover and says little about the response away from it, and the best damping is not the one to build found the fastest small-step settling at a damping that leaves a cliff beside it, where a small change of part values throws away a whole cycle of ring. The large-step sawtooth is the same cliff seen from the other side: the part values are fixed and the step moves, and the settling time falls off the cliff and climbs back as it does.

Margin also changes how much a large step loses to a small one. At thirty-five degrees five volts take about twice the small step’s time; at sixty, six times. A well-damped loop settles small steps quickly and large steps at nearly the slewing time, and the large-step figure is then mostly slewing; a poorly damped loop is slow at every size and its large steps hide part of the slowness by losing the overshoot.

The rule, and how far off it is

Slewing time plus the small-step settling time, against the marched settling time for steps from 0.5 to 5 V. computed by solving, not by drawing. The rule a designer reaches for — the time spent slewing, (V − SR·τ)/SR, plus the time a small step takes to settle — against the march. at 35° it over-predicts by between 11% and 21%; at 45° it over-predicts by between 13% and 24%; at 60° it over-predicts by between 6% and 18%. It is pessimistic at every margin, because a slewed step arrives with less overshoot than a small one and so has less ring left to settle.
Fig. 5 Slewing time plus the small-step settling time, against the march, for steps from 0.5 to 5 V: the rule over-predicts by between 11% and 21% at 35°, between 13% and 24% at 45°, and between 6% and 18% at 60°. It is pessimistic at every margin.

The rule a designer reaches for — the slewing time, (V−SR⋅τ)/SR(V - SR\cdot\tau)/SR, plus the time a small step takes to settle — is pessimistic at every margin and every step from half a volt to five: by 11 to 21 per cent at thirty-five degrees, 13 to 24 at forty-five and 6 to 18 at sixty. The error is in the second term. A small step’s settling time is the time to settle from its own overshoot; a slewed step arrives with a fraction of that overshoot and settles from less. The over-count is not largest where it might be guessed. At thirty-five degrees it is 11 and 12 per cent at half a volt and a volt, 19 at one and a half — just past the last tooth, where the ring has lost the peaks that kept small steps slow — and about 17 from two volts to five.

A pessimistic rule is a safe one, and a designer who sizes a sample period by it will not be caught out by the sawtooth, since the reversals only ever make the real figure shorter than the rule. What the rule hides is that the margin is worth less in large-step settling than in small-step settling. Raising the margin from thirty-five to sixty degrees cuts a small step’s settling time by a factor of 3.8; it cuts a five-volt step’s by only 1.3, because most of that time is slewing that no margin shortens.

What the one-pole law still says

The step that is too big located the boundary of linearity at the slew rate times the time constant, and that boundary is unchanged here: the march leaves the small-step behaviour at the same eighty millivolts, because the slew clamp engages when the integrator’s demanded rate exceeds the limit, and the second pole does not change that demand at the first instant. What changes is everything after it. The one-pole amplifier’s tail after slewing is a pure exponential with nothing to cross the band but its own decay, so its settling time is monotone in the step by construction. Add a pole that rings and the tail has peaks, and a quantity defined by the last of them is free to jump.

A converter’s driver, worked

A sampling converter driven by this amplifier at thirty-five degrees of margin, sampling a multiplexer that switches between channels a few hundred millivolts apart, sits on the steepest part of the sawtooth. A designer who measures the settling of a 385-millivolt step finds 7.37 microseconds and sets the sample period to it; a 400-millivolt step then settles half a microsecond sooner and nothing is lost. But a designer who measures a 400-millivolt step, finds 6.87 and sets the period there, is half a microsecond short for the 385-millivolt step next door. A settling specification measured at one step size is a sample from a sawtooth, and the safe reading is the envelope of the teeth, not any one of them.

The cheaper fix is margin. At sixty degrees the sawtooth all but disappears and a small step settles in under two microseconds. If the second pole comes from a capacitive load, as the load that gets inside the loop found, the resistor that buys the margin back restores it, and the reversals go with the ringing they come from. A capacitive load also takes part of the current slewing needs, which the step too large to have an impedance found ending the load’s impedance altogether above a current set by the input pair; with both effects present the release state, and so the teeth, move again.

How the steps were marched

The amplifier is an integrator of unity-gain frequency one megahertz whose rate is clamped at half a volt per microsecond, its output passing through a single pole before being fed back with unity gain. The second pole is placed so that the loop’s crossover leaves the stated margin: for thirty-five degrees it sits at 0.40 megahertz. The pair of states is marched by fourth-order Runge–Kutta at two-nanosecond steps for the slewing time plus thirty-two microseconds, and the settling time is the last instant the error exceeds one part in ten thousand of the step, interpolated between steps. A small step’s march reproduces the closed form for a second-order loop’s overshoot to a part in five hundred; the one-pole limit, with the second pole removed, is the earlier essay’s march.

The model leaves out the input stage’s own shape — a real amplifier’s slew limit is a soft saturation of its input pair, not a hard clamp — and any asymmetry between rising and falling slew, and it has no second pole inside the slewing node. A soft clamp rounds the end of slewing, which shifts the ring’s starting phase and so the positions of the teeth, but not their existence.

Still open: a soft clamp, a falling step, and the sequence of steps

A soft clamp. A bipolar input pair saturates as a hyperbolic tangent rather than a clamp, and the transition out of slewing then takes a few time constants rather than an instant. Whether the reversals survive that rounding, and whether their size depends on how soft the clamp is, decides whether the sawtooth is a property of real amplifiers or only of the ideal model.

A falling step. Many amplifiers slew faster in one direction than the other, and the ring after a falling step then starts from a different state than after a rising one of the same size. A converter driver sees both, and its worst case is the worse of two sawtooths that need not have their teeth in the same places.

A sequence of steps. A multiplexed converter sees a sequence whose sizes are random, and its error at each sample is the tail of the step before. With the sawtooth in place the distribution of that error over a random sequence has a structure the one-pole law cannot give it — a set of step sizes that settle anomalously well — and whether a scanning order can be chosen to land on them is a question about the teeth.

Part 5 on slew rate

One argument about Slew rate, and one of 3 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.

Large-signalNonlinearityPhase marginSettling timeSlew rateStep response