The hysteresis comparator is a comparator with hysteretic loopback transmission characteristics. A positive feedback network is introduced based on the inverting input single threshold voltage comparator to form an inverting input hysteresis comparator with a double threshold.
This calculator will calculate the resistivity R1/R2 and the reference hysteresis curve, or the reference voltage and resistivity for a given threshold high and low threshold voltage reference.