ZHCSJ63 December 2018 TLV1805
PRODUCTION DATA.
A small change to the comparator circuit can be made to add hysteresis. Hysteresis uses two different threshold voltages to avoid the multiple transitions introduced in the previous circuit. The input signal must exceed the upper threshold (VH) to transition low, or below the lower threshold (VL) to transition high.
Figure 66 illustrates hysteresis on a comparator. Resistor RH sets the hysteresis level.
When the output is at a logic high (5 V), RH is in parallel with RX. This configuration drives more current into Ry, and raises the threshold voltage (VH) to 2.7 V. The input signal must drive above VH = 2.7 V to cause the output to transition to logic low (0 V).
When the output is at logic low (0 V), Rh is in parallel with Ry. This configuration reduces the current into Ry, and reduces the threshold voltage to 2.3 V. The input signal must drive below VL = 2.3 V to cause the output to transition to logic high (5 V).
For more details on this design, refer to Precision Design TIPD144, Comparator with Hysteresis Reference Design.