Comparison

PID vs On-Off Control: When Is Each Appropriate?

On-off control switches fully around a setpoint. PID adjusts smoothly. Compare process response, variation, actuator cycling and tuning.

Controls & Instrumentation · Last reviewed

Short answer: on-off control is enough when the process is slow, a band of variation is acceptable and the actuator can switch often, such as a room thermostat. PID is the better choice when the process must hold close to a setpoint, the actuator is modulating, or frequent switching would wear the equipment.

On-off (with hysteresis)PID
OutputFully on or fully offContinuous, from 0 to 100%
Variation around the setpointA band, set by the hysteresis and the process speed. The process always cyclesCan hold very close to the setpoint when tuned
ActuatorA relay, contactor or on-off valve. Cycling wears itA modulating valve, a drive or a proportional output, or a time-proportioned relay
TuningOne setting: the differential (hysteresis)Three settings (gain, integral time, derivative time) that need tuning
Process typesSlow processes with large thermal mass, tolerant of swingsFaster or tighter processes, such as flow, pressure and precise temperature
DisturbancesResponds after the band is crossedCorrects continuously, with integral action removing steady offset
Implementation effortMinimalMore: instrument range, tuning, anti-windup, testing
Typical usesThermostats, pump start-stop on tank level, compressor pressure switchesProcess temperature, flow loops, pressure control, speed control

A cycling example

A heater controlled on-off with a 2 °C hysteresis on a slow tank might switch on and off every few minutes. If the process is slow and the tank tolerates ±1 °C, this is fine and wears a relay lightly. If the heater is a contactor driving a large element and switches every 30 seconds, the contactor wears out sooner than the process justifies. A PID loop with a time-proportioned output, or a modulating drive, switches less abruptly and holds the temperature tighter.

How to choose

  1. State how close to the setpoint the process must stay, and how much variation is acceptable.
  2. Look at the actuator: can it switch often, or does it need smooth modulation?
  3. Estimate the speed of the process and the dead time. Very slow processes tolerate on-off.
  4. Consider who will tune and maintain it. A poorly tuned PID loop can be worse than on-off.
  5. Start with the simplest scheme that meets the requirement.

Common mistakes

  • Using PID with an actuator that can only switch on or off, without a time-proportioned output.
  • Setting the on-off hysteresis too small, which makes the output chatter.
  • Using full PID where on-off would have been adequate, and spending time on tuning.
  • Skipping anti-windup and output limits on a PID loop with a saturating actuator.

Related tools and labs

Calculators, labs and simulators are part of the All-Access Pass.

More comparisons

Questions

Is PI enough?

For many loops, yes. The derivative term is often not needed, and it amplifies measurement noise.

What does hysteresis do?

It sets a gap between the switch-on and switch-off points. A wider gap reduces switching and widens the variation.

Educational material. Examples use simplified, hypothetical inputs and are not a design, a construction document or professional engineering advice. Confirm requirements with the codes and standards adopted where the work is built and with a licensed engineer.

← All comparisons