AnythingOnline
Free Schmitt Trigger Hysteresis & Resistor Tool Electronics & Embedded
100% Free • No Sign-Up

Free Schmitt Trigger Hysteresis & Resistor Tool

Calculate upper and lower switching thresholds ($V_{UTP}, V_{LTP}$), hysteresis band ($V_H$), and feedback resistors for inverting and non-inverting comparator circuits.

Configuration & Threshold Targets

V
High-going trip point
V
Low-going trip point
Comparator Supply & Output Rails
V
V

📊 Resistors & Hysteresis Margin

Hysteresis Width (V_H)
-- V
-- mV noise immunity
Center Reference (V_ctr)
-- V
Threshold midpoint
Feedback Resistor (R_f): -- kΩ
Input / Divider Resistor (R_in): -- kΩ
Bias Reference Voltage (V_ref): -- V
Positive Feedback Ratio (β): --
Calculating Schmitt trigger...

Recommended Tools & Equipment

Tested hardware and components for high reliability

100% Free Tool Zero Sign-Up

Theory of Schmitt Trigger Comparators with Hysteresis

A bare analog comparator without hysteresis exhibits erratic output chattering when the input signal hovers near the threshold voltage due to thermal noise and ground bounce. Adding positive feedback creates two distinct switching thresholds—an Upper Trigger Point ((V_{UTP})) and a Lower Trigger Point ((V_{LTP}))—forming a deadband known as the hysteresis window ((V_H)).

Inverting Schmitt Trigger Equations

For an inverting Schmitt trigger, the input signal connects to the inverting input ((V_-)), while positive feedback is fed back from output to the non-inverting terminal ((V_+)):

$$V_{UTP} = V_{ref} + (V_{OH} - V_{ref}) cdot rac{R_{in}}{R_{in} + R_f}$$

$$V_{LTP} = V_{ref} + (V_{OL} - V_{ref}) cdot rac{R_{in}}{R_{in} + R_f}$$

$$V_H = V_{UTP} - V_{LTP} = (V_{OH} - V_{OL}) cdot rac{R_{in}}{R_{in} + R_f}$$

Non-Inverting Schmitt Trigger Equations

For a non-inverting Schmitt trigger, the input connects through (R_{in}) to the non-inverting terminal, and feedback resistor (R_f) connects from the output:

$$V_H = (V_{OH} - V_{OL}) cdot rac{R_{in}}{R_f}$$

$$V_{UTP} = V_{ref} cdot left(1 + rac{R_{in}}{R_f} ight) - V_{OL} cdot rac{R_{in}}{R_f}$$

$$V_{LTP} = V_{ref} cdot left(1 + rac{R_{in}}{R_f} ight) - V_{OH} cdot rac{R_{in}}{R_f}$$

Frequently Asked Questions

Why does an open-drain/open-collector comparator require a pull-up resistor?

Open-collector comparators (e.g. LM393, LM339) can only sink current to ground. A pull-up resistor to the supply rail is required to pull the output to V_OH when the output stage is OFF, and this pull-up resistance must be factored into the feedback divider calculations.

How large should the hysteresis window VH be in noisy industrial systems?

In 5V or 24V industrial sensor inputs, aim for a hysteresis window of at least 200 mV to 500 mV (or 10% of total signal swing) to ensure absolute immunity against motor contactor EMI and switching regulator ripple.