Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Small query in comparators

Status
Not open for further replies.

jeffrey samuel

Advanced Member level 4
Joined
Jul 23, 2012
Messages
1,094
Helped
107
Reputation
214
Reaction score
107
Trophy points
1,363
Location
chennai,india
Activity points
6,376
I have a project currently requiring to compare a voltage to 24V reference and it must trigger a relay output when the input voltage is lower than 24V reference. Both voltages are DC supply. I planned to use LM393 and provide it with the same 24V reference as supply. Can it be done? Does the parameter of input common mode voltage range affect my application? I'm guessing it does, meaning I need to use a voltage divider to drop both input and reference voltage to below 24V? Any help is appreciated.
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,877
Helped
14,125
Reputation
28,507
Reaction score
12,809
Trophy points
1,393
Location
Bochum, Germany
Activity points
277,860
I'm guessing it does, meaning I need to use a voltage divider to drop both input and reference voltage to below 24V?
Yes in case of a comparator that doesn't include positive rail in common mode range. LM393 doesn't, as you know.
 

Syncopator

Full Member level 6
Joined
Dec 15, 2010
Messages
368
Helped
70
Reputation
140
Reaction score
66
Trophy points
1,308
Location
N.E. Lincolnshire U.K.
Activity points
3,395
Why don't you simply apply both your reference voltage and your monitored voltage to equal value voltage dividers?

e.g. apply your 24V supply to a 10k plus 10k divider, and the monitored voltage to another 10k plus 10k divider?

You can select the actual values and ratio to suit any other criteria.
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,814
Helped
2,738
Reputation
5,473
Reaction score
2,648
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
103,109
A zener diode is typically used at an op amp input for this purpose. The op amp can be powered by an unchanging source or by the variable source.

For a relay you might use a SPDT. Hook up to the contacts which are normally-on. When the level reaches 24V, you activate the relay, and the contacts break.
 

jeffrey samuel

Advanced Member level 4
Joined
Jul 23, 2012
Messages
1,094
Helped
107
Reputation
214
Reaction score
107
Trophy points
1,363
Location
chennai,india
Activity points
6,376
When I tried using a voltage divider sequence the output is always 0 V

Is there a problem in my circuit or am I supposed to get that when the reference and the actual voltages are same
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,877
Helped
14,125
Reputation
28,507
Reaction score
12,809
Trophy points
1,393
Location
Bochum, Germany
Activity points
277,860
Not sure what your actual circuit is, but LM393 has an open collector output, the output voltage will be always 0 unless you connect a pullup. With exact equal input voltages, the comparator output will reflect the offset voltage. There should be at least a small voltage difference. To control a relay, you'll usually want to add hysteresis to the comparator circuit to avoid relay chatter.
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top