SNOSDF2 august 2023 TLV1851-Q1 , TLV1861-Q1
PRODMIX
A non-inverting comparator with hysteresis requires a two-resistor network and a voltage reference (VREF) at the inverting input, as shown in Figure 8-5,
The equivalent resistor networks when the output is high and low are shown in Figure 8-6.
When VIN is less than VREF,, the output is low. For the output to switch from low to high, VIN must rise above the VIN1 threshold. Use Equation 4 to calculate VIN1.
When VIN is greater than VREF, the output is high. For the comparator to switch back to a low state, VIN must drop below VIN2. Use Equation 5 to calculate VIN2.
The hysteresis of this circuit is the difference between VIN1 and VIN2, as shown in Equation 6.
For more information, please see Application Notes SNOA997 "Inverting comparator with hysteresis circuit" and SBOA313 "Non-Inverting Comparator With Hysteresis Circuit".