Elsia All Lessons

Analog Electronics

Schmitt Trigger and Hysteresis

A plain comparator switches over and over on noise near the threshold (chattering). The solution is hysteresis: positive feedback from the output to the non-inverting input creates two different thresholds.

The thresholds are VT± = ±Vsat · R1/(R1+R2). When the signal crosses the upper threshold the output flips and the threshold slides down; to flip back, the signal must fall below the lower threshold. As long as the noise band stays inside this window, the output remains clean.

The Schmitt trigger is one of the most-used blocks in analog design: cleaning up switch bounce, thresholding sensors, and serving as the core of oscillators.

Formulas

VT± = ±Vsat · R1/(R1+R2)
Hysteresis window = 2·Vsat·R1/(R1+R2)

⚡ Open this lesson in the simulator — free

Test Yourself

For Vsat=±5 V, R1=10k, R2=40k, what are the thresholds?
Answer: ±1 V — VT = 5·10/(10+40) = 1 V → thresholds ±1 V.
Which problem does hysteresis solve?
Answer: Multiple switching caused by noise near the threshold — Two separate thresholds trap the noise band inside the window.