Control Systems
Feedback Loop
Closed-loop control using output to adjust input
A feedback loop measures system output and feeds it back to influence the input. Negative feedback: subtracts measurement to reduce error, stabilizes systems (thermostats, cruise control). Positive feedback: amplifies output, drives instability or saturation (oscillators, microphone howl). Foundational concept across engineering, biology, economics. Block diagram: reference, summing junction, controller, plant, sensor. Stability depends on loop gain and phase margin.
- Negative feedbackStabilizes — output reduces error
- Positive feedbackAmplifies — drives toward extremes
- Block diagramReference, error, controller, plant, sensor
- Loop gainG(s)H(s) — open-loop transfer
- ExamplesThermostat, cruise control, op-amp
- StabilityBode plot, phase/gain margin
Interactive visualization
Press play, or step through manually. The visualization is yours to drive — try it before reading on.
Watch the 60-second explainer
A condensed visual walkthrough — narrated, captioned, under a minute.
Why feedback loops matter
- Stability. Negative feedback rejects disturbances.
- Precision. Reduces sensitivity to component variation.
- Automation. Self-regulating without human intervention.
- Robustness. Compensates for model errors and aging.
- Design. Block diagrams unify electrical, mechanical, thermal.
- Universality. Same theory across domains and disciplines.
- Performance. Faster response, tighter tracking, less drift.
Common misconceptions
- More gain is better. Excess gain causes oscillation.
- Feedback always stabilizes. Only negative — and only with adequate phase margin.
- Sensor is ideal. Sensor noise and lag enter the loop directly.
- Open-loop is fine. Disturbances and drift accumulate without feedback.
- Linear analysis suffices. Saturation and rate limits change behavior.
- Setpoint equals output. Steady-state error depends on system type and gain.
Frequently asked questions
What's a feedback loop?
A control structure where the system measures its output and uses that measurement to adjust its input. Closed-loop. Compares actual output to desired reference, computes error, applies correction. Two flavors. Negative feedback subtracts measurement (stabilizes). Positive feedback adds measurement (amplifies, often unstable).
How does negative feedback work?
Sensor measures output. Summing junction computes error = reference minus measurement. Controller acts on error to drive plant. As output approaches reference, error shrinks toward zero, system settles. Self-correcting. Examples. Thermostat heats until room reaches setpoint. Cruise control adjusts throttle to hold speed. Op-amp circuits use it for precision.
When is positive feedback useful?
Several engineering uses. Schmitt triggers (hysteresis for clean digital transitions). Oscillators (sustained waveform generation). Latches and flip-flops (bistable memory). Comparators with hysteresis. Generally paired with limits to prevent runaway. Without limits positive feedback drives saturation (audio howl, runaway reactions).
What is loop gain?
Product of all transfer functions around the loop, typically written G(s)H(s). G is the forward path (controller times plant), H is the feedback path (sensor). Loop gain magnitude and phase determine stability and steady-state error. High loop gain reduces error but can cause oscillation if phase shift exceeds 180 degrees at unity magnitude.
How is stability assessed?
Bode plots and Nyquist criterion. Compute open-loop gain and phase versus frequency. Gain margin: how much loop gain can grow before instability. Phase margin: how much extra phase shift before instability. Typical targets are 6 dB gain margin and 45 to 60 degrees phase margin. Root locus shows pole movement as gain varies.
What causes oscillation in feedback systems?
Insufficient phase margin. When loop gain reaches unity magnitude with 180 degrees phase shift, negative feedback turns positive and the loop oscillates. Causes include excess delay, multiple low-frequency poles, integrators stacking with first-order lags. Fixes include lead compensation, reducing gain, or adding damping.
Where do feedback loops appear besides electronics?
Everywhere. Biology homeostasis (body temperature, blood glucose). Economics market price discovery. Mechanical governors (Watt's flyball governor on steam engines). Software autoscalers responding to load. HVAC thermostats. Robot joint controllers. Aircraft autopilots. Power plant boiler controls. The block diagram abstraction transcends domain.