05Threshold behavior
Two thresholds, steadier decisions
Hysteresis separates the thresholds for switching in one direction and switching back. It helps prevent repeated switching around a single boundary.
A threshold can be crossed repeatedly
A comparator's output depends on the relationship between its inputs. Noise can repeatedly carry a slowly changing signal across one threshold, causing repeated switching.
Hysteresis introduces different thresholds for rising and falling input. Between them, the output retains its previous state. The decision therefore depends on recent history as well as the current input.
An illustrative level indicator
Imagine an indicator switching on as a rising level reaches an upper threshold. It switches off only below a lower threshold. Small movements inside the band do not continually reverse the indication.
The band must suit the actual signal, noise and consequences of switching. A wider band is not automatically better.
Upper thresholdRising input: switch on
Between thresholdsRetain the previous state
Lower thresholdFalling input: switch off
Stability has a tradeoff
Hysteresis suppresses unwanted chatter but changes where reversals happen. That matters for precise responses. It does not remove input noise or replace attention to signal quality.
Read both thresholds and their conditions. A single quoted value can hide the return behavior. Distinguish hysteresis from a time delay: one depends on input history and thresholds, the other on elapsed time.
Further reading: Texas Instruments: TPS3851 threshold overview.