Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 21st July 2008, 03:50 PM   #1
Default what comparator to use

Hi i have a little circuit that must monitor a very small voltage on a shunt resistor (about 1 mV) if the voltage goes over it i must swith the output comparator. (open collector if possible)
the problem is that my supply for the comparator is 12V and the shunt is around 1 to 20V (it is a high side shunt resistor on a variable voltage,) is there any comparator that can handle voltage at input pins higher than the vcc pin?
carmusic is offline  
Old 21st July 2008, 03:56 PM   #2
Default

Please post the schematic.

Where are you getting your 1mV refernce from?

It sounds like you need a differiential amplifier across the shunt and a comparator monitoring the output of the amplifier.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 21st July 2008, 04:29 PM   #3
Default

Here is the schematic the 1mw comes from the shunt resistor
Attached Thumbnails
what comparator to use-circuit.jpg  
carmusic is offline  
Old 21st July 2008, 05:53 PM   #4
Default

A high side current monitor such as INA139 will allow you to amplify the voltage and reference it to GND so that you can use something like an LM393, but the INA139 has up to ±1mV of input offset, so you would need to make your sense resistor about 10 times larger.
There are several manufacturers of high side current monitors, and various part numbers. You might find one that works better than INA139.
__________________
Ron


Last edited by Roff; 21st July 2008 at 05:54 PM.
Roff is offline  
Old 21st July 2008, 06:14 PM   #5
Default

You could an op-amp as a differiantial amplifier, just make sure use an instrumentation op-amp with a low offset error.

http://en.wikipedia.org/wiki/Operati...tial_amplifier

You could also go for a hall effect current sensor.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 21st July 2008, 09:47 PM   #6
Default

is there a problem with op amp to have inputs at higher voltage than vcc?
carmusic is offline  
Old 21st July 2008, 10:24 PM   #7
Default

In a differential amplifier both of the op-amp's inputs are held near 0V so it won't make any difference.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 21st July 2008, 10:30 PM   #8
Default

Quote:
Originally Posted by Hero999 View Post
In a differential amplifier both of the op-amp's inputs are held near 0V so it won't make any difference.
If he wants gain, and the common mode signal level is 20V... How is that gonna work?
__________________
Ron

Roff is offline  
Old 21st July 2008, 11:01 PM   #9
Default

Yes, you're right, he needs to power the op-amp from a higher voltage than 20V.

EDIT:
Another option is to make a differiential amp with a unity gain, that way the op-amp inputs will be only be biased at a maximum of 10V.

I like your new avatar by the way, I think I've used that image in one of my posts, did you borrow it from me or find it for yourself using Google image search?
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.

Last edited by Hero999; 21st July 2008 at 11:06 PM.
Hero999 is offline  
Old 21st July 2008, 11:29 PM   #10
Default

Quote:
Originally Posted by Hero999 View Post
Yes, you're right, he needs to power the op-amp from a higher voltage than 20V.

EDIT:
Another option is to make a differiential amp with a unity gain, that way the op-amp inputs will be only be biased at a maximum of 10V.
There are over-the-top op amps (Google) such as LT1490A which have common mode ranges that exceed vcc. I still think a high-side current monitor such as INA139, and a cheap comparator, is the way to go.

Quote:
I like your new avatar by the way, I think I've used that image in one of my posts, did you borrow it from me or find it for yourself using Google image search?
I might have gotten it from you, although I added the red circle with MS Paint. I found the original the other day in one of my picture folders. The file is dated 4/17/07. I'm not sure why I saved it.
__________________
Ron

Roff is offline  
Old 22nd July 2008, 12:19 AM   #11
Default

Carmusic, at what current level do you need your comparator to switch?
__________________
Ron

Roff is offline  
Old 22nd July 2008, 12:30 AM   #12
Default

about 20-30 ma but in the circuit i measure up to 20A so the shunt wont be over 0.01ohm
so want to detect signal over 1 mV, i tried similar chip as the ina139 and below 5 mV they dont work very well. I must keep the circuit as simple as possible.
what can occur with the comparator (shown in schematics) if input pin are higher than vcc? i will try it.
carmusic is offline  
Old 22nd July 2008, 02:27 AM   #13
Default

Quote:
Originally Posted by carmusic View Post
Hi i have a little circuit that must monitor a very small voltage on a shunt resistor (about 1 mV) if the voltage goes over it i must swith the output comparator. (open collector if possible)
the problem is that my supply for the comparator is 12V and the shunt is around 1 to 20V (it is a high side shunt resistor on a variable voltage,) is there any comparator that can handle voltage at input pins higher than the vcc pin?
LM393 won't work. The common mode range only goes up to Vcc-1.5V. It also has input offset voltage of ±5mV max.
__________________
Ron

Roff is offline  
Old 22nd July 2008, 03:03 AM   #14
Default

INA213 should work in front of your LM393. It has input offset of ±100uV max, and gain=50. With 1mV in, you should get 50mV out, referenced to GND so the LM393 can handle it. With 20 amps through .01Ω, you will get 10V out (20A*.01Ω*50), which will not harm your LM393.
__________________
Ron

Roff is offline  
Old 22nd July 2008, 01:09 PM   #15
Default

i think i will try lt1716, it seems to be perfect!
carmusic is offline  
Reply

Tags
comparator

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Please Help ADC & Comparator Edy_Tse88 Micro Controllers 2 8th December 2007 05:32 PM
What does a comparator do ? jbelectric777 General Electronics Chat 6 9th April 2007 08:17 PM
comparator sarasvathi Micro Controllers 1 10th November 2006 05:39 AM
i need help on comparator xiaoxiao General Electronics Chat 3 27th October 2006 04:53 PM
comparator louislu Electronic Projects Design/Ideas/Reviews 4 4th August 2004 07:32 PM



All times are GMT. The time now is 10:08 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker