Why do we need two thresholds instead of one (hysteresis)?
Let’s understand this with a simple example. Suppose you need to design a circuit to control the charging of a 12V battery. You have a DC charging source and these requirements:
- The battery must stay connected to the charger until its voltage rises to 14V.
- When it reaches 14V, the charging must be disconnected to avoid damage.
- As soon as the charging is disconnected, the battery voltage immediately drops to 13.5V.
This creates a problem if you use a standard comparator with only one threshold.
If you set the reference voltage at the non-inverting input (IN+) to 14V, the comparator stays ON and keeps charging until the battery reaches 14V. At 14V, it switches OFF and stops the charging. The battery voltage then instantly drops to 13.5V. Now the input voltage is again below the 14V reference, so the comparator switches back ON. It charges again, reaches 14V instantly because the battery is already fully charged, switches OFF, drops to 13.5V, switches ON again — and it keeps switching ON and OFF continuously.
This rapid, repeated switching can damage both the battery and the circuit. To solve this, we need two thresholds at the reference input (IN+).
First threshold (on the way up): 14V. When the rising battery voltage reaches 14V, the comparator switches OFF.
Second threshold (on the way down): A lower voltage, for example 12V. The comparator will not switch back ON until the falling battery voltage drops below this lower threshold (e.g., below 12V), not just below 13.5V.
This gap between the two thresholds stops the fast ON-OFF cycling and makes the charging stable. That was the answer to “why” we need hysteresis.
Leave a Reply