Series

Model edges — the series

8 essays on one idea, from the one that introduces it to the one that assumes the rest.
  1. Where four of these models stop being true. In order: the ideal operational amplifier at 1.42 kHz, a 10 V output at full amplitude at 7.96 kHz, Kirchhoff's laws on 10.0 cm at 3.97 MHz, the ideal 100 nF capacitor at 4.69 MHz. The fifth boundary is an amplitude rather than a frequency and cannot share this axis: a small-signal model is 1% wrong above 7.3 mV, at every frequency there is.

    Every model has an edge

    Four assumptions the circuits in this field run on, with the frequency at which each stops being true, on one axis. The ordering is not the one most readers would guess — an ordinary amplifier circuit runs out of model at 1.42 kHz, three thousand times sooner than a ten-centimetre circuit board does.

    part 1 · limits
  2. 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.

    The edge that is a region

    Every boundary drawn so far in this subject is a number on one axis, and the figure that gathers four of them admits in its own caption that the fifth is an amplitude and cannot go there. Drawn on both axes at once, the ideal amplifier's one per cent boundary is a region with three sides and a corner — and the corner sits at 38.5 kilohertz where the two numbers a data sheet quotes cross at 48.8, because the two mechanisms are lags on the same waveform and add as magnitudes rather than in quadrature.

    part 2 · limits
  3. Linearising an exponential at 125 °C, and what it costs. The linear model understates the gain by 1% at 9.69 mV and by 10% at 30.2 mV. The thermal voltage at this temperature is 34.3 mV, so "small compared with Vₜ" is not the criterion — 28% of Vₜ is already 1% wrong.

    The edges that move with the room

    Every boundary in this collection is quoted at one temperature and most of them are functions of it. The small-signal edge is proportional to the thermal voltage, so it runs from 5.67 millivolts at −40 degrees to 9.69 at +125 — a factor of 1.71, the ratio of the absolute temperatures exactly. A realised Q is 1.54 per cent high at one end of that range and 2.58 at the other. The numbers are right; the condition attached to them was left off, and it is the same condition every time.

    part 3 · limits
  4. Where four of these models stop being true. In order: the ideal operational amplifier at 1.42 kHz, a 10 V output at full amplitude at 7.96 kHz, Kirchhoff's laws on 10.0 cm at 3.97 MHz, the ideal 100 nF capacitor at 4.69 MHz. The fifth boundary is an amplitude rather than a frequency and cannot share this axis: a small-signal model is 1% wrong above 7.3 mV, at every frequency there is.

    The edges that are lengths

    Almost every boundary in this collection is a frequency or an amplitude, and both of those are things a circuit designer chooses. A handful are lengths — the 0.60 millimetres a gap's field reaches into a window, the 200 microns between a track and its plane, the 10 centimetres at which Kirchhoff's laws are a degree out — and they behave differently in one way that matters: nobody chooses them at the schematic, they are set by whoever builds the thing, and they appear in no netlist at all.

    part 4 · limits
  5. Five boundaries, one tolerance, and three exponents. computed by solving, not by drawing. Each of five model boundaries re-solved at forty-one tolerances from 0.1% to 30%, divided by its own value at 0.1% so that an amplitude in millivolts and four frequencies can share one axis — an exponent has no units. Fitted over the two decades to 10%: Kirchhoff's laws 1.000, the ideal amplifier 0.513, the small-signal model 0.497, the ideal capacitor 0.500, and the full-power bandwidth 0.000. A boundary set by a first-order departure moves in proportion to the tolerance, one set by a second-order departure moves as its square root, and a refusal does not move at all — so relaxing the tolerance from 0.1% to 10% buys a factor of 100 on the board and 10.0 on the capacitor.

    A boundary is a model and a tolerance

    Every edge in this collection is computed from a fraction of error nobody states, and the four on its opening axis use three different ones. Swept over two decades, each boundary moves as a power of that fraction — Kirchhoff's laws exactly as the first power, the amplifier and the capacitor and the small-signal model as its square root to within three per cent, and a full-power bandwidth not at all. The exponent identifies the mechanism, and it re-orders the axis twice: the board fails before the capacitor below 0.424 per cent, and the output before the amplifier above 21.7.

    part 5 · limits
  6. Where a chain of 4 stages stops obeying its model, against where one stage does. computed by solving, not by drawing. amplifier, 1%: one stage 14.2 kHz, 4 stages 7.06 kHz, a ratio of 0.498; Kirchhoff, 1°: one stage 3.97 MHz, 4 stages 993 kHz, a ratio of 0.250; small-signal, 1%: one stage 7.30 mV, 4 stages 7.26 µV, a ratio of 0.000995. The amplifier's edge moves as N to the −½ because its error grows as the square of frequency; the board's as N to the −1 because a phase grows in proportion; and the small-signal edge collapses, because the last stage sees the gain of all the others.

    The edge of a chain

    A system built from stages that are each inside their own edge is not inside its own: the stages share one error budget. Four ×10 stages from a 1 MHz amplifier are 1% from ideal at 7.06 kHz, not at the single stage's 14.2 kHz — the edge moves as N to the −0.502. A signal path through four ten-centimetre boards is a degree long at 993 kHz, a quarter of one board's edge, as N to the −1. The chain's exponent is minus the edge's own exponent in its tolerance, measured on the line y = −x. And the small-signal edge of a chain with gain belongs to its last stage: four junction stages of ten are 1% off at 7.26 µV, a thousandth of one stage's 7.30 mV.

    part 6 · limits
  7. A chain of identical one-pole stages: the time its step takes to settle within 1%, against the number of stages. computed by solving, not by drawing: the chain's step response is the Erlang distribution's, and its 1% settling bisected on it, held against a fourth-order march of the chain at one, four and sixteen stages. One stage settles in 4.61τ, the familiar ln 100; four in 10.0τ, sixteen in 26.7τ, a thousand and twenty-four in 1099.9τ. The frequency edge's rule, √N stretched by the bandwidth that holds 1% (faint), says sixteen stages need 4.02 times one stage's time; they need 5.81. For a long chain the settling time approaches the delay, N time constants (dashed): 1.074 of it at 1024 stages. For one stage (τ = 1.59 µs at 100 kHz) the 1% time is 7.33 µs.

    The delay a chain adds

    A chain of one-pole stages leaves its flat band as the square root of the number of stages, and it leaves its settling time faster: four stages take 10.0 time constants to settle within 1 per cent against one stage's 4.61, sixteen take 26.7 — 5.81 times one stage, where the frequency rule allows 4.02. The difference is a delay. The chain's step is the sum of N exponential lags, so it is an edge of mean N time constants and spread √N; the magnitude response sees only the spread. At a thousand stages the 1 per cent time is 1.074 of the delay. A chain budgeted to stay flat to 1 per cent settles to 1 per cent 45 per cent late.

    part 7 · limits
  8. 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 overshoot. computed 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.

    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.

    part 8 · limits

All series