Feedback, Delay & Oscillation

error × k · kτ = π/2 · stick balancing

error × k · kτ = π/2 · stick balancing

Negative feedback holds a system steady.
Add a delay and it starts to swing.

A thermostat, a car’s cruise control and a hand balancing a broom all do the same thing: they measure how far off they are, the error, and push against it. Push harder and the error closes faster, as long as the push is up to date. In a shower, though, the water you feel left the valve a second or two ago. Turn the mix eagerly and you keep turning after the water is already hot enough: it overshoots, then you overcorrect the other way. Past a critical gain times delay, kτ = π/2, the swing grows instead of dying away, with a period of four delays. The same delay limits you: measure your own reaction time here, then see why you can balance a broom but not a pencil.

Live: the shower with a 1.0 s pipe. The gain steps up from gentle (kτ = 0.3, the water settles), to eager (kτ = 1.0, it overshoots and rings down), to past the onset (kτ = 1.7, each swing is bigger than the last).

Feedback pushes against the errorA loop measures, compares with a set point and acts on the difference. Negative feedback opposes the error; proportional control closes it with time constant 1/k and, with no delay, never overshoots.
A delay makes it swingActing on old information overshoots. Only the product kτ matters: no overshoot below 1/e, a decaying swing up to π/2, a growing one beyond, with a period of 4τ at the onset.
Your reaction time is a delayA ruler drop gives t = √(2d/g). A stick on your hand needs a reaction faster than its fall: the shortest stick is ℓ = ¾gτ².
Roots and marginsThe roots of s + k e^(−sτ) = 0 are Lambert W values; at the onset a pair crosses the imaginary axis. Phase, gain and delay margins say how far a loop is from that edge.
Stay in touch