Schmitt Trigger Calculator Formula
Understand the math behind the schmitt trigger calculator. Each variable explained with a worked example.
Formulas Used
Upper Threshold (V_TH)
v_upper = v_sat_pos * r1_kohm / (r1_kohm + r2_kohm)Lower Threshold (V_TL)
v_lower = v_sat_neg * r1_kohm / (r1_kohm + r2_kohm)Hysteresis Width
hysteresis = (v_sat_pos - v_sat_neg) * r1_kohm / (r1_kohm + r2_kohm)Variables
| Variable | Description | Default |
|---|---|---|
v_sat_pos | Positive Saturation(V) | 12 |
v_sat_neg | Negative Saturation(V) | -12 |
r1_kohm | R1 (input to inv.)(kΩ) | 10 |
r2_kohm | R2 (feedback to non-inv.)(kΩ) | 100 |
How It Works
Inverting Schmitt Trigger
Formulas
V_TH = V_sat+ x R1 / (R1 + R2)
V_TL = V_sat- x R1 / (R1 + R2)
Hysteresis = (V_sat+ - V_sat-) x R1 / (R1 + R2)
The ratio R1/(R1+R2) sets the threshold as a fraction of the saturation voltages.
Worked Example
Op-amp saturates at +/-12 V, R1 = 10k, R2 = 100k.
- 01V_TH = 12 x 10/110 = 1.091 V
- 02V_TL = -12 x 10/110 = -1.091 V
- 03Hysteresis = 24 x 10/110 = 2.182 V
Frequently Asked Questions
What is a Schmitt trigger used for?
Converting noisy or slowly changing signals into clean digital edges. Common in signal conditioning and oscillators.
How do I make the thresholds asymmetric?
Add a voltage divider bias to the non-inverting input or use diodes to create different feedback paths.
Inverting vs non-inverting Schmitt trigger?
Inverting: input to inv. pin, feedback to non-inv. Non-inverting: input to non-inv., feedback also to non-inv. Formulas differ.
Ready to run the numbers?
Open Schmitt Trigger Calculator