20 mindraft

102 - Delay, Oscillation & Stability

Why correction can arrive too late.

Explains how delay, gain, and overshoot shape whether feedback settles, swings, or runs away.

Core question

Why do feedback systems sometimes swing back and forth instead of settling down?

Cybernetics 102

Delay and Gain Lab

Predict whether the trace will settle or swing, then adjust response strength and delayed measurement.

Regime: stable convergence
PredictManipulateObserveExplain
targetusable rangeTimeState relative to target

Read the trace as error from the target. A line that crosses the target once has overshot; repeated shrinking crossings are damped oscillation; repeated large crossings are persistent oscillation; a trace pressed against the chart edge is instability.

Core Question

Why do feedback systems sometimes swing back and forth instead of settling down?

Prerequisite Concepts

  • Feedback loops use information about results to shape future action.
  • A target or desired range gives the system something to regulate around.
  • The gap between current state and target state can drive corrective action.

Concise Mental Model

Delay turns correction into a timing problem. If a system acts on old information, or if its action takes time to show results, it may correct a problem that has already changed. Too much correction, arriving too late, creates overshoot and oscillation.

Explanation Sections

Delay Is Not Just Slowness

Delay is the gap between a change, the system sensing it, and the system's action taking effect. A delayed system may be working with stale information. The longer the delay, the easier it becomes to overcorrect.

The shower example is direct: the water feels cold, you turn the handle hotter, but the warmer water has not reached you yet. If you turn the handle again before the first adjustment arrives, the shower may become too hot.

Oscillation as Overcorrection

Oscillation happens when the system repeatedly crosses the target. It corrects in one direction, overshoots, corrects back, overshoots again, and continues to swing.

Not all oscillation is failure. A heartbeat, a thermostat cycling around a narrow band, and a metronome all involve repeated motion. The question is whether the oscillation supports the system's purpose or disrupts it.

Stability in Plain Language

A stable feedback system tends to return toward a usable range after disturbance. An unstable one amplifies disturbance or moves farther from the desired range. A marginal system neither clearly settles nor clearly explodes; it keeps moving around the target.

Gain matters because it determines how strongly the system responds to error. Too little gain may make correction weak. Too much gain may make the system lunge past the target.

Real-World Mappings

SystemDelayOscillation riskStability question
Showertime for water to reach skinrepeated hot/cold adjustmentsdoes the temperature settle?
Supply chainordering and shipping laginventory swingsdoes stock return to demand level?
Team managementslow performance reportingpolicy swingsdo interventions match current reality?
Icy-road steeringtraction and response lagfishtailingdo corrections restore direction?

Failure Modes / Counterexamples

  • Fast feedback can still be unstable if gain is too high.
  • Slow feedback can be stable if action is gentle and expectations are realistic.
  • Oscillation is not always bad; it can be designed or tolerated.
  • Stability is purpose-relative. A stable bureaucracy may be bad at adaptation.
  • Removing delay does not solve bad measurement, wrong targets, or inadequate action.

Check-for-Understanding Activity

Sketch a shower temperature trace over time. Mark where the learner turns the handle hotter, where the warmer water actually arrives, and where overshoot begins.

Then explain why waiting before making a second adjustment can improve stability.

Synthesis

Feedback does not guarantee good control. The timing and strength of correction determine whether a loop settles, oscillates, or runs away. Delay makes the system's memory of the world out of date, and high gain can turn that outdated memory into overreaction.

Bridge to the Next Chapter

To correct a system well, the controller must know enough about the system's state and must have actions that can actually influence that state. Chapter 103 introduces observability and controllability.

Declarative Visual Specifications

Canonical machine-readable specs live in content/topics/cybernetics/visuals.yaml.

Referenced visual ids:

  • delayed-feedback-trace-102
  • stability-regimes-102

Declarative Interactive Specifications

Canonical machine-readable specs live in content/topics/cybernetics/visuals.yaml.

MVP interactive:

  • delay-gain-stability-lab-102

Deferred interactive:

  • shower-waiting-strategy-102: pedagogically useful, but it duplicates the primary lab's timing lesson and should remain a static example until scenario interactions are needed.