Concept

Step response — where it appears

What a circuit does when its input changes once, abruptly, and stays there. It contains everything the frequency response contains and displays different parts of it: an overshoot and a settling time are read from it, and a margin is not.

Named by 6 essays across 2 fields — each of them below, with the objects they name alongside it.

One step response, computed twice: from the poles, and by walking the network forward. A damping ratio of 0.22, so the overshoot is 49.2%. The two curves are drawn on top of each other; the panel below is the difference between them, which is the trapezoidal rule's error at 500 steps and reaches 1.70e-3 V.

One step, computed twice

A step response from the poles is exact. The same step walked forward in time is not, and the difference between them is the trapezoidal rule's own error rather than anything about the circuit. It falls by a factor of four every time the step is halved, which is a claim about a method and can be watched.

transients · Step response
A 10:1 divider with 12.8 pF across its top resistor. computed by solving, not by drawing. The divider's resistors set a ratio of 0.10000 and its capacitors 0.10000; the step starts at the second and relaxes to the first over 115 µs. The balance R₁C₁/R₂C₂ is 1.0000, and the edge lands 0.00% away from where it settles. At 12.8 pF the two ratios are the same number and the response is flat.

A divider with two ratios

Put capacitance in a resistive divider and it divides by resistance at direct current and by capacitance at high frequency, and those are two different numbers unless one equation holds. The adjustable trimmer on every oscilloscope probe exists for that single equation, and the square wave on the instrument's front panel is a display of which of the two ratios is currently winning.

instruments · Compensation
How much faster an instrument must be for 10% of inflation. computed by solving, not by drawing. The quadrature rule answers 2.182× and gives the same answer for every instrument, because it contains no instrument. Measured on the solved network, a one-pole front end needs 2.79×, two poles need 3.97×, three need 4.87× and four need 5.62× — between 28% and 215% more than the rule asks for. The rule errs optimistic at every pole count, which is the wrong direction.

The instrument's own rise time

Rise times add in quadrature, so ten per cent of inflation needs an instrument 2.18 times faster than the edge. That constant contains no instrument. Measured on the solved network it is 2.79 for a one-pole front end, 3.97 for two, 4.87 for three and 5.62 for four — the rule is optimistic at every pole count, which is the wrong direction for a rule of thumb to err in.

instruments · Probe loading
Stepped at 20 of its time constant, a 1 µs pole rings between 1.818 and 0.331 V, and needs 23 steps to settle. Marched with the trapezoidal rule at a step of 20.0 µs. A 1 µs pole (1 kΩ, 1 nF) drives, through a unity buffer, a 1 ms pole (1 kΩ, 1 µF). The fast node's exact response reaches its final volt within a few microseconds; the march's first values are 1.8182, 0.3306, 1.5477, 0.5519, 1.3666 V. Its distance from its final volt is multiplied by (1 − h/2τ)/(1 + h/2τ) = −0.8182 every step, measured and checked against that form, so it changes sign every step and takes 23 steps to fall below 1% — 460 µs. The slow node it drives is 1.23e-5 V from exact at 1 ms, because a 1 ms pole averages an alternation at half the stepping rate to nothing.

The ringing that belongs to the rule

The trapezoidal rule is stable for every stable circuit and every step size, and it is not damping. March a one-microsecond pole with twenty-microsecond steps and its node reads 1.818, 0.331, 1.548, 0.552 volts — an oscillation at half the stepping rate, its distance from the final volt multiplied by exactly −0.8182 every step, taking twenty-three steps to fall below one per cent. The slow node that pole drives is right to 1.2 × 10⁻⁵ V at a millisecond. One backward-Euler step at the discontinuity cuts the first swing from 0.818 V to 0.048 and two to 0.0023, because backward Euler multiplies the same error by 1/(1 + h/τ) and the trapezoidal rule by (1 − h/2τ)/(1 + h/2τ), which approaches −1.

transients · Step response
At 20 steps a cycle, ten cycles of an undamped LC: the trapezoidal rule keeps the amplitude and falls 29.2° behind; backward Euler keeps 0.0082% of it. Marched, both rules, against 1 − cos ωt for a 1 kHz inductor–capacitor pair stepped with no resistance at all. At 20 steps a cycle the trapezoidal march's amplitude stays at 1.00000 a cycle and its frequency is slow: it loses 2.918° a cycle, measured from the march's own recurrence, against 2π − 2N·atan(π/N) = 2.918°, so after ten cycles it is 29.2° behind. Backward Euler keeps 0.3901 of its amplitude a cycle, against (1 + (2π/N)²)^(−N/2) = 0.3901, so 0.0082% is left after ten, and it loses 11.19° a cycle. No resistance is in the circuit; every loss is the rule's.

The phase the rule loses

An inductor and a capacitor with no resistance ring for ever, and two ways of marching them disagree about how. The trapezoidal rule keeps the amplitude exactly — its factor per step has a magnitude of one — and loses phase instead: 2π − 2N·atan(π/N) a cycle, 2.918° at twenty steps a cycle, so ten cycles later it is 29.2° behind the circuit. Backward Euler keeps 0.3901 of the amplitude a cycle at the same step, and after ten cycles 0.0082 per cent of the ringing is left, in a circuit that has no loss. The two errors fall at different rates: the trapezoidal rule's phase as the square of the steps a cycle, backward Euler's amplitude as the first power. A hundred cycles to within one per cent needs 182 steps a cycle of one and 196,404 of the other.

transients · Step response
A step through r sections starts as (t/τ)^r: it reaches 1% at 10.1 µs, 105 µs, 243 µs, 380 µs, 508 µs for r = 1 to 5. Solved, and expanded two ways. The step response of buffered RC sections of time constants τ, τ/2, … τ/r, with τ = 1 ms, on logarithmic axes. The relative degree of the recovered transfer function is r, so the first r − 1 derivatives of the step are zero at the start and the r-th is lim s^r·H(s) = r!/τ^r, read off the network solved far above its poles and off the expansion of H about infinity; the step therefore starts as (t/τ)^r, a straight line of slope r. The expansion about infinity and the residue expansion agree to a part in a million where both are well conditioned. The output reaches 1% at 10.1 µs (r = 1), 105 µs (r = 2), 243 µs (r = 3), 380 µs (r = 4), 508 µs (r = 5), and half its final value at 693 µs, 1.23 ms, 1.58 ms, 1.84 ms, 2.04 ms. For these time constants the whole step is (1 − e^(−t/τ))^r, checked against both expansions, so the time to a fraction ε is −τ·ln(1 − ε^(1/r)).

The start a step takes from infinity

The initial-value theorem reads where a step starts off H at infinite frequency. Apply it again to s·H, s²·H and on, and it reads how the step starts: the first r − 1 derivatives are zero for a network r degrees more poles than zeros, and the r-th is the ratio of the leading coefficients. So a step through r sections begins as a power of time — for sections of τ, τ/2, … τ/r, exactly (t/τ) to the r — and reaches one per cent at 10.1 µs through one section, 105 µs through two and 508 µs through five. Put a zero anywhere, even a thousand times above every pole, and the step starts linearly instead, with a slope of twice the zero's time constant over τ² that is the larger term for the first two of them.

transients · Value theorems

Named alongside it

The objects these essays reach for when they reach for this one.

Convergence orderModel rangeNumerical errorResiduesTrapezoidal ruleMarchingBandwidthCompensated dividerFinal value theoremInitial value theoremLoadingLossless network

All concepts