SNOSDC8D September 2022 – December 2024 TLV1811 , TLV1812 , TLV1814 , TLV1821 , TLV1822 , TLV1824
PRODMIX
A voltage divider of R4 and R5 establishes a reference voltage V1 at the non-inverting input. By making the series resistance of R1 and R2 equal to R5, the comparator output switches when VIN = 0V. Diode D1 clamps V3 near ground. The voltage divider of R2 and R3 then prevents V2 from going below ground. A small amount of hysteresis is setup to maintain rapid output voltage transitions.