In this tutorial, we will learn how to bias and construct a comparator circuit.
A comparator circuit, in a general sense, compares the two input voltage signals.
Pin 3 is labeled as input 1.
Pin 2 is labeled as input 2.
Pin 1 is labeled as output.
Pin 4 is Vcc.
Pin 11 is Ground.
If the voltage across input 1 is larger than input 2, then the comparator outputs the Vcc applied.
If the voltage across input 1 is lesser than input 2, then the comparator outputs the voltage applied in Pin 11, in this case, it outputs Ground.
If the voltage across input 1 is 4v, input 2 is 3v then the resulting output is… 5v
If the inputs are interchanged, then the resulting output is 0v or Ground.
The most common comparator IC used is the LM324. It consists of 4 Operational Amplifiers (The triangular shaped component), therefore four (4) comparator circuits.
In the connection diagram shown above, Pins 4 and 11 (Vcc and Ground) already provides for the whole ICs supply.
Refer to the datasheet for further knowledge regarding the IC’s maximum absolute ratings and other uses.