Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 23rd June 2008, 11:13 AM   (permalink)
Default Charging Current sensing

Hello Forum,

i have a circuit which indicates when the charging current exceeds certain amperes, in my case 6 amps, i have used a 0.01 ohm current sense resistor in the negative of the battery and iam measuring the voltage developed across the sense resistor.

if the voltage across this resistor is 60 millivolts i know that 6 amps current is flowing thru the battery. an op-amp is used as a comparator to compare the voltage of sense resistor with a reference voltage of 60 mV.


but the circuit is not operating as i intended, even when the voltage across the sense resistor is beyond Vref (60mV) the output of the op-amp doesn't change state (ideally it should swing to 1 volt or so but stays at 3.81 V)

i don't know where the error is


Thank you

nura
Attached Images
File Type: jpg Current Sense.jpg (92.5 KB, 42 views)
nura100 is offline   Reply With Quote
Old 23rd June 2008, 12:00 PM   (permalink)
Default

For a start you need a large resistor in the top end of the pot, as it covers far too wide a range, and most probably never goes low enough to reach the switching point.

Does your opamp work as close as that to the negative rail?, I would suggest using a split supply would be a better idea.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd June 2008, 12:39 PM   (permalink)
Default

Quote:
but the circuit is not operating as i intended, even when the voltage across the sense resistor is beyond Vref (60mV) the output of the op-amp doesn't change state (ideally it should swing to 1 volt or so but stays at 3.81 V)
hi.
Using the 1:1 resistive divider R2/3, what do you think the voltage at the junction of R2/3 will be,,, not 60mV.!

As Nigel points out the variable control is too coarse and the end stop on the control probably will not go down to 30mV.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 23rd June 2008, 03:31 PM   (permalink)
Default

As Nigel also noted, the LM1458N op amp will not work with the input equal to the negative supply voltage (in this case, ground). You need at least -3V on the op amp negative supply, or use an op amp with rail-to-rail capability.

(I know I'm beating a dead horse, but read the data sheet. If you don't understand data sheets then read a tutorial about op amps.)
__________________
Carl
crutschow is online now   Reply With Quote
Old 23rd June 2008, 04:37 PM   (permalink)
Default

Quote:
Originally Posted by crutschow View Post
You need at least -3V on the op amp negative supply, or use an op amp with rail-to-rail capability.
I don't think even 'rail to rail' opamps actually go that close to the rails?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 23rd June 2008, 05:36 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin View Post
I don't think even 'rail to rail' opamps actually go that close to the rails?.
Yes. Many actually have an input common-mode range a few tenths of a volt above and below the supply rails (see Rail to Rail Input Operational Amplifiers at National.com for example.) The output also goes to the supply rails (but the available output current is reduced near the rail).
__________________
Carl
crutschow is online now   Reply With Quote
Old 23rd June 2008, 07:44 PM   (permalink)
Default

If the power supply for the op amp dose not have the same ground as the op amp it would be easy to use a resistor divider to move the 0V to 2,5V. In that case it should work.
__________________
Il give you shocking experience.
Someone Electro is offline   Reply With Quote
Old 23rd June 2008, 08:11 PM   (permalink)
Default

Quote:
Originally Posted by Someone Electro View Post
If the power supply for the op amp dose not have the same ground as the op amp it would be easy to use a resistor divider to move the 0V to 2,5V. In that case it should work.
It could be marginal without increasing the supply voltage. The LM1458 is rated at 6V minimum supply voltage.
__________________
Carl
crutschow is online now   Reply With Quote
Old 24th June 2008, 02:53 AM   (permalink)
Default

Thank you members for pointing out the errors, i am restricted to single supply only and cannot use dual supply. this circuit is actually to be interfaced to a micro which performs some other function based on the output logic state of the op-amp.

i am not good with op-amps, but i have tested it on the breadboard board by using two presets 0f 10k each on + and - pins of the op-amp with 5+ volts P.S fed to the LM1458.

here when the ref is set to 60mV on + pin and i adjust voltage on - pin to above or below 60mV the out put of the op-amp changes state accordingly,

but when i connect the circuit to battery charger circuit and try sensing the charging current across 0.01 Ohm resi the op-amp output doesn't swing .

can any member suggest a proper circuit which suits my requirement


Thank you

Regards

Arun
nura100 is offline   Reply With Quote
Old 24th June 2008, 05:45 AM   (permalink)
Default

one more thing i forgot to mention, i am actually using a LM358 Dual op-amp and not LM1458, sorry for the mix up.
Attached Images
File Type: jpg LM358.jpg (83.2 KB, 3 views)
nura100 is offline   Reply With Quote
Old 24th June 2008, 06:29 AM   (permalink)
Default

Quote:
Originally Posted by nura100 View Post
one more thing i forgot to mention, i am actually using a LM358 Dual op-amp and not LM1458, sorry for the mix up.
Quote:
Using the 1:1 resistive divider R2/3, what do you think the voltage at the junction of R2/3 will be,,, not 60mV.!
hi,
I will repeat my question.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline   Reply With Quote
Old 24th June 2008, 11:31 AM   (permalink)
Default

Hello eric

i know i have used two equal value resistors (potential divider) which results in half the voltage, i have removed the lower 10K resistor but the problem still continues.



Arun
nura100 is offline   Reply With Quote
Old 24th June 2008, 12:22 PM   (permalink)
Default

Quote:
Originally Posted by crutschow View Post
As Nigel also noted, the LM1458N op amp will not work with the input equal to the negative supply voltage (in this case, ground). You need at least -3V on the op amp negative supply, or use an op amp with rail-to-rail capability.

(I know I'm beating a dead horse, but read the data sheet. If you don't understand data sheets then read a tutorial about op amps.)
hi,
Look at these changes to your circuit.

The TC358 as a OPA is not suitable as a quality comparator.

A simple LM393 would have been a better choice.
Its a comparator.

Have you scoped the 'ripple voltage' across the Rsense resistor... have a look.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:25 AM.
ericgibbs is offline   Reply With Quote
Old 24th June 2008, 03:21 PM   (permalink)
Default

Thank you Eric, for the corrections, i am not lucky enough to own a Scope, since you have pointed about ripple voltage, should i have a 0.1uF polyester cap across the sense resistor and next to the 1000uF cap in the rectifier section.


one more thing, the +5V supply which powers the LM358 is derived from another trafo and only the GNDs of both the charger and 5volts supply are commoned.


regards


Arun
nura100 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
current sensing in AC rjvh Electronic Projects Design/Ideas/Reviews 12 18th June 2008 03:32 PM
What is Current Sensing?..What is it used for? Haru General Electronics Chat 14 3rd June 2008 05:31 PM
AC Current Sensing without using a current shunt jbarnaby2000 Electronic Projects Design/Ideas/Reviews 24 8th May 2008 04:49 PM
Looking for current sensing IC DWE&C Electronic Projects Design/Ideas/Reviews 3 8th June 2007 05:18 AM
:: Current Sensing :: HELP!! suby786 General Electronics Chat 10 10th March 2007 02:30 AM



All times are GMT. The time now is 05:01 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.