Voltage Comparator & Schmitt Trigger

Back to Analog & instruments

Compare an input voltage against a reference. Hysteresis uses separate rising and falling thresholds to prevent rapid switching near the reference.

VinVref+−Vout
Rising threshold
Falling threshold
Output
5V0VRising inputFalling input

Gray: input sweep and thresholds. Blue: ideal digital output. The graph shows a full rising/falling sweep; the slider controls the live output independently.

Ideal non-inverting model, 0 V / 5 V output. In Schmitt mode, the previous output is retained between thresholds.

Educational models only. Classic full lab (V60)