LM393 and Related Comparators
The LM393 contains two independent voltage comparators. A comparator looks superficially like an op-amp, but its normal job is not linear amplification. It answers the question: which input voltage is higher?
| Part | Channels | Why it is familiar |
|---|---|---|
| LM393 | 2 | Classic dual comparator. |
| LM339 | 4 | Closely related quad comparator. |
| LM311 | 1 | Classic single comparator with a flexible output stage. |
Open-collector output
A very important LM393 detail is its open-collector output. The output transistor can pull the output LOW, but an external pull-up resistor normally provides the HIGH state.
COMPARE→ON / OFF decision
Threshold circuits
One input can be connected to a fixed reference voltage and the other to a sensor. When the sensor voltage crosses the reference, the output changes state. That makes comparators useful for thermostats, battery monitors, light detectors, zero-crossing detectors, alarms, and level sensing.
Hysteresis
If a noisy signal sits close to the switching threshold, the output can chatter rapidly between states. A small amount of positive feedback can create two slightly different thresholds—one for switching ON and another for switching OFF. This is called hysteresis.
Manufacturer reference: TI LM393.