>
section 1 of 126 min read

1. What Is a Control System?

A control system makes some output quantity (the controlled variable) behave the way you want, despite the world's best efforts to push it around. Three core elements:

  • The plant: the physical thing you are controlling. The car, the rocket, the chemical reactor, the room you are heating, the motor, the optical cavity, the hard drive head.
  • The controller: the algorithm (analog circuit, microcontroller code, digital filter, FPGA logic) that decides what action to take.
  • The feedback: sensors that measure the actual output, fed back to the controller so it can compare what it has against what it wants.

Stitch them together and you have the canonical block diagram of all of control theory.

plaintext
       ┌────────────────────────────────────┐
       │                                    │
ref ──→[+]──→[Controller]──→[Plant]──→ output
   error ↑                              │
         └─────[Sensor]─────────────────┘
                 (feedback)

The error signal is what drives the controller. Think of error as the controller's nutrition; if error goes to zero, the controller stops applying corrections. So the design goal is, paradoxically, to engineer a system that constantly drives error toward zero, while staying stable, while being fast enough to track changes, while being immune to sensor noise. None of those goals comes free.

Cruise-control story, expanded. You set 65 mph (the reference). The car has a speedometer (the sensor). It continuously measures the actual speed (the output or controlled variable) and feeds it to the cruise-control computer (the controller). The computer compares actual to target. The difference is the error. The controller adjusts the throttle (the control input into the plant, where the plant is the powertrain plus the chassis plus the road).

Going up a hill, the car slows. The controller sees a positive error (target minus actual is positive) and pushes more throttle. Going down, it backs off. The system rejects the disturbance (the hill). To you in the seat, the car holds 65 mph effortlessly, but underneath, the controller is locked in a fight. Disturbance shows up, error grows, controller responds, error shrinks back. Many cycles per second. The fight is invisible because the controller wins it consistently.

Every example in this chapter, no matter how exotic, has the same skeleton. Reference, error, controller, plant, sensor, feedback. Once you can identify those five things in any system, you are halfway to analyzing it.

1.1 Open-loop vs closed-loop, in real cars and real chips

Open-loop control means there is no feedback. The controller acts based on the input alone, ignoring whatever happens at the output.

plaintext
Reference ──→ [Controller] ──→ [Plant] ──→ Output (and we just hope it's right)

Examples:

  • A microwave oven on a timer. You set "30 seconds high." The oven cooks for thirty seconds regardless of whether the food is frozen, hot, or stays solid stone. The oven has no feedback about food temperature.
  • A washing machine on a timed cycle. The machine runs the agitator for X minutes, drains, refills, agitates more, drains. It has no idea whether your shirt actually got clean.
  • An LED dimmer that just sets PWM duty cycle. The LED's actual brightness depends on temperature, current, supply voltage. The dimmer ignores all of that.
  • A traffic signal on a fixed schedule. Greens for 30 s, yellows for 4 s, reds for 30 s. Doesn't know if cars are actually waiting.

Open-loop is cheap and simple. No sensor, no comparison, no risk of feedback going unstable. Used wherever the plant is well-characterized and disturbances are small. It is also dangerous when accuracy matters, because there is no mechanism to detect or correct error.

Closed-loop control closes the loop. The controller measures the output, compares against reference, and adjusts.

plaintext
Reference ──→[+]──→[Controller]──→[Plant]──→ Output
            ↑                                  │
            └────────[Sensor]──────────────────┘

Examples:

  • Cruise control, autopilot, drone flight controller, industrial robot joints.
  • Voltage regulators on every chip's power rail.
  • Server load balancer reacting to actual queue depth.
  • Phase-locked loops generating a clock from a reference.
  • A surgeon controlling a scalpel; eyes are the sensor, brain is the controller, hand is the plant.

When to choose which. Open-loop is enough when the plant is well-understood, disturbances are negligible, and accuracy is uncritical. The instant any of those conditions fails, you need closed-loop. Modern engineering increasingly closes loops on everything because the marginal cost of a sensor and a microcontroller has collapsed. Your washing machine probably has closed-loop water-level and temperature control today, even though its predecessors did not.

Modern car analogy. A 1970s car had open-loop fuel injection: a mechanical jet, calibrated at the factory, squirted a fixed volume of gas per intake stroke. If the air filter clogged, fuel mixture went rich. If the altitude changed, fuel mixture went rich. If the engine warmed up, fuel mixture went rich. A modern car has closed-loop fuel injection: a sensor in the exhaust pipe (the oxygen sensor) measures whether combustion was rich or lean, and the engine computer adjusts the injector pulse width on the next stroke. It is a control system that runs at thousands of corrections per second. The result is a car that behaves identically at sea level and at 10,000 feet, with a clogged filter or a clean one, cold or hot. Closed-loop bought a generation of huge improvements in fuel economy and emissions.

1.2 A bestiary of control systems

The tools and intuitions are universal across domains. Here is a partial census of where you will find control systems running, often invisibly.

  • Mechanical: robot arm joints (motor + encoder + position loop), CNC machine axes, hard-drive head positioning, satellite reaction wheels, telescope mounts.
  • Electrical: every voltage regulator in every chip, every motor driver, every PLL clock generator, every laser-current driver.
  • Hydraulic: flight control surfaces in many aircraft (until fly-by-wire mostly took over), large excavators, brake systems.
  • Pneumatic: factory automation in dusty or explosive environments where electronics are unsafe.
  • Thermal: 3D printer hotends, oven baking, semiconductor wafer fabrication temperatures, cryostats for quantum computers.
  • Chemical: distillation column temperatures, reactor pH, fermenter dissolved oxygen.
  • Optical: laser-frequency lock loops, fiber-optic alignment systems, adaptive optics in big telescopes.
  • Biomedical: insulin pumps that meter dosage based on glucose readings, implantable cardioverter-defibrillators that pace heartbeats.
  • Biological native systems: the glucose-insulin loop in your pancreas, body temperature regulation by sweating and shivering, blood pressure baroreflex.
  • Economic: central bank interest-rate decisions to control inflation. The plant is the entire economy. The sensors are economic indicators. The feedback is slow (months) and noisy.

The same Laplace-transform machinery applies to every one of these. Control theory is one of the most domain-general engineering sciences. Once you have the mental tools, you can look at any "wrap a sensor around a thing and adjust" situation and reason about it systematically.