Open Loop vs Closed Loop
Start here. Heat a room two ways, then change the weather halfway through and see which controller notices.
Skip to the animationAn open-loop controller computes its action from the target alone, so it cannot notice when the plant or the world changes; a closed-loop controller measures the output, subtracts it from the target, and acts on the error — which rejects disturbances it was never told about, at the price of a sensor and the possibility of instability.
Open loop, and what it is genuinely good at
An open-loop system's control action does not depend on the output. A toaster runs for the time you set; a washing machine fills for a fixed period; a traffic light cycles regardless of whether anyone is there.
It works when the relationship between input and output is known and stable. Its entire behaviour rests on a calibration: *this much input produces that much output*. Where that holds, open loop is cheap, simple and — a point worth making early — unconditionally stable.
Where it fails, and why the failure is structural
Change the plant or the environment and the calibration is wrong. A heater set to 3 kW for 22 °C will settle at 17 °C once a window is opened, and stay there.
The controller is not badly designed. It has no channel through which the error could reach it. Anything an open-loop controller does not measure, it cannot respond to — and it measures nothing.
- Disturbances — anything affecting the output that is not the control input.
- Parameter drift — components age, motors wear, insulation degrades.
- Modelling error — the calibration was an approximation to begin with.
- Component failure — a half-dead heating element looks exactly like a working one from the controller's side.
Closed loop: act on the error, not the target
A closed-loop controller measures the output, subtracts it from the reference, and drives the plant with the resulting error signal. e = r − y.
The shift is more profound than it looks. The controller no longer needs to know that 22 °C requires 3 kW; it only needs to know which way to push when the error is positive. That is a far weaker requirement, and unlike a calibration it does not go stale.
- 1Error is 5 °C, so the controller raises the power.
- 2The room warms, so the error falls, so the controller eases off.
- 3The process continues until the error is small and the power has settled wherever it needed to be.
- 4The controller never learned that a window was open. It converged on 4.5 kW as a *consequence*, not a calculation.
That last point is the whole value of feedback. One controller handles an open window, worse insulation, a colder day and a partly failed heater, without being modified for any of them.
What feedback costs
| Cost | Consequence |
|---|---|
| A sensor is required | Money, calibration, drift — and the loop is only as accurate as the sensor |
| It is reactive by construction | The error must exist before anything is done about it |
| Sensor noise enters the plant | The loop cannot distinguish noise from genuine error, so it amplifies it |
| Loop gain reduces overall gain | Closed-loop gain is G/(1+GH) — less than the plant's own |
| It can be unstable | The one failure mode an open loop cannot produce |
The reduction in gain is not simply a loss. The same factor 1/(1+GH) that shrinks the gain also shrinks the *sensitivity* to changes in the plant — which is the trade at the heart of feedback amplifier design: gain given away in exchange for predictability.
Instability, and why the rest of the syllabus exists
Every real loop has delay: sensors lag, actuators have inertia, controllers take time. If a correction arrives late enough to be *in phase* with the error rather than against it, the feedback has effectively become positive, and each correction is larger than the last.
- Low gain — slow correction, and a steady-state error that never fully disappears.
- Moderate gain — faster and more accurate, with some overshoot.
- High gain — overshoot, correction, overshoot: the loop rings.
- Too high — the oscillation grows and the loop destroys itself or saturates.
This is what Routh-Hurwitz, root locus, Nyquist, and gain and phase margins are all for. Every one of them is a way of answering "how much gain is safe given the delay in this loop" — a question that only exists once the loop is closed.
Choosing between them
| Open loop | Closed loop | |
|---|---|---|
| Needs a sensor | No | Yes |
| Rejects disturbances | No | Yes |
| Tolerates a wrong model | No | Largely |
| Affected by sensor noise | No | Yes |
| Can become unstable | No | Yes |
| Cost and complexity | Low | Higher |
| Typical example | Toaster, traffic light | Cruise control, autopilot, thermostat |
A toaster is open loop and correctly so: the plant is well characterised, disturbances are small, and a browning sensor is not worth its cost. An autopilot is closed loop and correctly so. The engineering question is whether disturbances matter enough to pay for a sensor and a stability analysis.
The numbers you will be asked for
- Error signal
e(t) = r(t) − b(t)
Reference minus fed-back measurement. The controller acts on this, never on r alone.
- Closed-loop transfer function
T(s) = G(s) / (1 + G(s)·H(s))
For negative feedback. The characteristic equation is 1 + GH = 0.
- Sensitivity
S = 1 / (1 + G·H)
The same factor that reduces the gain reduces the effect of plant variation.
- Instability condition
1 + G(jω)H(jω) = 0
Loop gain of 1 at a phase of −180° — a correction arriving exactly out of step.
Advantages and disadvantages
Advantages
- Rejects disturbances the designer never anticipated.
- Tolerates an inaccurate plant model and component drift.
- Reduces sensitivity to parameter variation by the same factor it reduces gain.
- One controller covers a whole family of operating conditions without modification.
Disadvantages
- Requires a sensor, whose accuracy caps the loop's accuracy.
- Reactive: an error must appear before it can be corrected.
- Feeds sensor noise directly into the plant.
- Can be made unstable, which is a failure mode open loop does not have.
Watch it work
Check yourself
question 1 / 5
One question at a time. Pick an answer to see why it is right or wrong, then move on — there is no score to keep and nothing is saved.