The larger step that settles sooner
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 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
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
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 lags by a fixed voltage, . 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.
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
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
The rule a designer reaches for — the slewing time, , 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
- The current above which there is no impedance large-signal, settling time, slew rate
- The load that neither limit owns large-signal, settling time, slew rate
- The curvature a second zero adds settling time, step response
- The delay a chain adds settling time, step response
- The edge that is a region large-signal, slew rate
- The follower that lets go on the way down large-signal, slew rate