The short answer
Deadband and Hysteresis
A comparison against a single setpoint switches back and forth every scan while the measurement sits near it, because noise crosses the line in both directions. A deadband replaces the one line with two: the action turns on at one value and off at another, and the measurement has to travel the whole gap to change state. The gap is sized from the noise on the measurement, with margin, and from how often the equipment can tolerate switching.
Key points
- One setpoint plus noise equals chatter. Two setpoints with a gap equals a decision that sticks.
- Size the gap at two to three times the peak-to-peak noise on the measurement, and wider if the equipment cannot switch often.
- Level control deadband is the pumping band: it sets cycles per hour and it is a design number, not a tuning afterthought.
- Alarms need deadband too, or they clear and re-alarm continuously at the limit.
- An output deadband on a controller stops a valve or a drive from working for nothing.
The problem
A rung that starts a pump when level is greater than six feet and stops it when level is not greater than six feet works perfectly on paper. In the well the level reads 5.98, 6.01, 5.99, 6.02 as the surface moves and the signal carries a little noise, and the pump starts and stops several times a second until the starter fails. The comparison is not wrong; the measurement is not a single number, and the logic treated it as one.
Hysteresis
The fix is to make the on decision and the off decision different: start at 6.0 feet, stop at 4.5 feet. Once started, the level has to fall a foot and a half before the pump stops, and noise of a few hundredths cannot do that. The state depends on the history as well as the value, which is what hysteresis means, and every thermostat, pressure switch, and float switch has it built in mechanically. In a program it has to be written.
Start when PV >= Start setpoint; stop when PV <= Stop setpoint; otherwise hold the current state
- PV is the measurement
- Start and Stop setpoints differ by the deadband
- The hold is a latched bit or a seal-in rung, not a comparison
The logic is a seal-in: the output latches on at the start condition and stays on until the stop condition. Written as two comparisons and a latch, it reads the same way to everyone who opens the program, which matters more than cleverness.
How wide
The minimum deadband is set by the noise. Look at the measurement on a trend with the process steady and read the peak-to-peak movement; the deadband should be at least two or three times that, so that noise cannot cross both thresholds. Above the minimum, the deadband is set by the process and the equipment.
- Level control
- The band between start and stop is the storage used per cycle. Wider means fewer, longer runs; narrower means more cycles. Motor starters and pumps are rated for a number of starts per hour, and the wet well cycle calculator turns a band into a cycle time for a given inflow.
- Pressure switching
- A hydropneumatic tank and a constant speed pump switch on a pressure band, and the band with the tank volume sets the cycle rate. A band that is too narrow short-cycles the pump.
- Temperature
- Heaters and coolers with a deadband run in a band around setpoint. Thermal lag means the temperature keeps moving after the output switches, so the band the process actually sees is wider than the one in the program.
- Alarms
- An alarm at 8.0 feet that clears at 7.99 chatters in and out of alarm while the level sits near the limit, filling the log and training the operator to ignore it. Clear it at 7.5 feet, or after a time below the limit.
Deadband on a controller output
A PID loop with a small persistent error keeps nudging the valve or the drive, and the equipment wears for no benefit. An output deadband holds the output steady while the error is inside a small band around zero, and the loop only acts when the error is worth acting on. It is a separate thing from the setpoint deadband above, it is set in the loop configuration on most platforms, and it is sized from what movement the final element can actually make: a valve that cannot position closer than one percent gains nothing from being asked to move a tenth.
In SCADA
SCADA tags have a deadband of their own: the change a value has to make before it is logged or transmitted. It exists to keep noise out of the historian and off the network, and it is the reason a trend from the historian looks smoother than the value in the controller. It is a logging decision, not a control one, and it should be documented separately, because a historian deadband set too wide discards the detail that a troubleshooter later needs.
Frequently asked questions
- What is the difference between deadband and hysteresis?
- Hysteresis is the behavior: the state depends on the direction the measurement came from. Deadband is the number: the gap between the value that turns something on and the value that turns it off. In practice the words are used interchangeably.
- How do I pick the deadband for a lift station?
- From the cycle rate. The band between lead start and stop, with the well area and the inflow, sets starts per hour, and the pump and starter ratings set the maximum. The wet well cycle calculator on this site does the arithmetic. The band also has to keep the stop level above the pump intake and the start level below the high alarm.
- Why does my alarm keep going in and out?
- The alarm sets and clears at the same value, and the measurement is sitting on it. Give the alarm a deadband, so it clears only after the value has moved a useful distance back, or a delay, so it clears only after the value has stayed back for a time.
- Where do I put the deadband on a PID loop?
- On the output, in the loop configuration, sized to the smallest movement the valve or drive can usefully make. Not on the setpoint, and not on the measurement, which is the filter’s job.
Related topics
- Filtering Analog InputsHow to damp a noisy analog input in the controller without hiding a real process change: the first-order filter, the moving average, the median, where each belongs, and what never to filter.
- PID Control for Pumps and ValvesWhat each term actually does, how to tune a loop on a real pump station, and the handful of mistakes that cause most of the oscillation people blame on tuning.
- Wet Well Level ControlThe measurement that runs a lift station: choosing setpoints, protecting the pumps, validating the signal, and the failures that flood a station.
- Alarms in the ControllerGenerating alarm conditions in the controller rather than in the graphics: why the PLC should own the alarm state, a standard alarm block with setpoints, deadband, and delays, equipment alarms, and packing alarm bits for SCADA.
- 4-20 mA Current LoopsWhy the industry standardized on current instead of voltage, how a two-wire loop is powered, what the live zero buys you, and how to read a loop with a meter.
- Analog Scaling: Raw Counts to Engineering UnitsThe arithmetic that turns an analog card reading into feet, psi, or gallons per minute — plus the range mismatches that silently corrupt it.
Direct contact
Have a controls question?
Reach Eric Sullivan directly about anything on this site, a controls or automation topic, or one of his personal projects.