Jump to content
Electronics-Lab.com Community

Recommended Posts

Comparator

A comparator is a circuit that compares two input voltages or currents and gives output High or Low as per input signal. The Output is a digital form according to the input signal compared with the reference. Basically a comparator is used in electronics to compare the two Analog input signals given on both input terminals and we get the Digital output as High level or Low level.

Comparator is used to sense the signal of a predefined rich level. If I set a level to sense then I can use a comparator to sense it when the input signal of this level cross more or below the level, suddenly the output is changed from Low to high and high to low. The comparators are used for so many electronics instrumentation for automation and drive different logic circuits.

Difference between operational amplifier (op-amp) and comparator

The symbol of the operational amplifier and comparator are looked the same. But Op-amp is designed to accept an analog input signal and also give the output Analog signal. But the Comparator accepts the analog input signals but gives the digital output. Comparators are faster than the operational amplifier. An op-amp will works as the comparator if using the transistor at the output.

If the input is applied at the + pin, this is called non-inverting input

 

If the input is applied at the – pin then this is called the inverting input

Comparator.jpg

Non-inverting mode

If I connect the input voltage at the non-inverting input and set a reference voltage level at inverting input which is to be sensing. In this circuit, the voltage will compare with the reference. If the applied voltage is lower than the reference voltage then the output is LOW, and if the applied input voltage is greater than the reference voltage then the output will HIGH. Here High level means output is directly connected automatically with VCC and Low means Output is directly connected with Ground.

For example,  if we set the reference voltage at 6v, then when the input voltage increases to 6v then the output suddenly swings to HIGH and gives the voltage the same as VCC, Otherwise output gives the LOW or 0v voltage.

Input voltage > Reference Voltage – Output HIGH

Input voltage < Reference Voltage – Output LOW

 

comparator working comparator circuit diagram

Inverting Comparator 

In inverting mode the input voltage is connected with the Inverting terminal and reference voltage is st at the non-inverting terminal. In this connection, the voltage at the Inverting terminal will be sensed and compared with the voltage at the non-inverting terminal which is the reference voltage. The inverting mode comparator works reverse to the non-inverting comparator. Means If the voltage at Inverting terminal is greater than the Reference voltage then the output will LOW, But If the Input voltage is Lower than the Reference voltage than the Output Will HIGH. This comparator gives output Inverted of input.

For example, Reference voltage adjusted at 6v, when the input voltage increases and goes to 6v then the output will suddenly swing to LOW or 0v. Otherwise, the output will HIGH and give the voltage the same as VCC.

comparator working

comparator circuit

The LM358 is the very popular comparator ic used for general purposes. This ic has 2 opamp comparator. LM324 is also a very popular and most using comparator ic. It has quad op-amp comparator.

LM 358

 

Also Read Kirchoff's Law

 

.

Link to comment
Share on other sites

  • 7 months later...

Can add that  comparator is used to compare a measurable quantity with a reference or standard such as two voltages or currents. It outputs a digital signal showing the results. Analog Devices offers an extensive portfolio of high speed and low power comparators and this allows us to provide our customers with more complete signal chain solutions. Our comparator offerings range from the fastest Si-based comparator on the market today to very low power CMOS comparators that consume only microamperes of power. Find the right comparators for your application with our selection tool and design tool.

time tracking software

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
  • Create New...