Three-term control

What Is Three-term Control?

Three-term control is a feedback control strategy that calculates a corrective output signal by summing three independently weighted contributions: a term proportional to the current error, a term proportional to the accumulated past error (its integral over time), and a term proportional to the rate of change of the error (its derivative). The approach is more commonly identified by its abbreviation, PID, for proportional-integral-derivative, and is the most widely deployed automatic control algorithm in industrial practice. A three-term controller measures the difference between a desired setpoint and a measured process variable, then applies the weighted sum of the three terms to an actuator, a valve, a motor drive, or a heater, to reduce that difference. The formal mathematical basis was articulated in 1922 by Nicolas Minorsky in his analysis of automatic ship steering for the US Navy, though practical pneumatic and electronic implementations appeared widely in process industries from the 1940s onward.

The Proportional Term

The proportional term produces an output directly proportional to the instantaneous error: when the error is large, the output is large; when the error is small, the output is small. The proportional gain, typically denoted K_p, sets the scaling factor between error magnitude and controller output. A high proportional gain delivers fast response but tends to cause oscillation in systems with any significant phase delay. A low gain produces sluggish response. In most applications the proportional term alone cannot drive steady-state error to zero, because once the error is small the corrective force becomes too weak to overcome friction, load disturbance, or other steady offsets. This residual error, called offset or droop, is addressed by the integral term. As National Instruments describes in their PID theory reference, the proportional gain is the starting point for tuning all three-term controllers, and the other two gains are adjusted in relation to it.

The Integral Term

The integral term sums the error over time and applies a correction proportional to that accumulated sum. Its coefficient K_i ensures that even a small persistent error, one too small to activate the proportional term strongly, will eventually grow in the integrator and force the controller output until the error is eliminated. The result is zero steady-state error in the presence of constant disturbances, which is the integral term's primary contribution. A well-known hazard is integrator windup: if the controlled plant is saturated, the integrator continues accumulating error without the actuator being able to respond, causing a large overshoot when the saturation clears. Anti-windup schemes, which clamp or discharge the integrator during saturation, are standard in industrial implementations. Purdue University's ECE 680 notes on PID control provide a rigorous treatment of the stability conditions that govern integral gain selection.

The Derivative Term

The derivative term responds to the rate of change of the error rather than its magnitude. When the error is decreasing quickly, the derivative term produces a negative correction that opposes the overshoot that would otherwise follow. This damping effect allows the proportional and integral gains to be set higher than would be stable without derivative action, yielding faster overall response. The term is sensitive to high-frequency measurement noise, because noise that changes rapidly creates large instantaneous derivatives. Practical controllers apply a low-pass filter to the derivative path, limiting its bandwidth to prevent noise amplification. The three terms together allow independent adjustment of speed of response, elimination of steady-state error, and overshoot damping, which is why the structure has remained standard for nearly a century. The APMonitor tutorial on PID control illustrates how the three parameters interact during step-response tuning.

Applications

Three-term control has applications in a wide range of systems, including:

  • Temperature regulation in industrial furnaces, reactors, and HVAC systems
  • Flow and pressure control in chemical and petrochemical plants
  • Motor speed and position control in robotics and CNC machining
  • Altitude and attitude control in aircraft autopilots and unmanned aerial vehicles
  • Power grid frequency regulation in generator governor systems
Loading…