Goto page 1, 2 Next
Raveninghorde
Guest
Tue Feb 09, 2010 1:09 am
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
Joerg
Guest
Tue Feb 09, 2010 1:34 am
Raveninghorde wrote:
Quote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
You could consider current monitor chips that have a helper voltage and
where common mode includes ground. But it's not as cheap. If each charge
channel has its own switcher, can't you sense current there?
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Joerg
Guest
Tue Feb 09, 2010 3:10 am
Jamie wrote:
Quote:
Raveninghorde wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
Operate the sensing circuit from a separate supply that does not get
effected from the main supply drop.
In your circuit, I assume you're using the +/- inputs of the opamp to
form a dif shift via a shunt R ? The op-amp and Fet you're using can be
operating from a secondary supply that can also share the same common.
of course, if you throttle back the drive using the current sense, you
wouldn't get a total loss of voltage!.
If the battery terminals short out you do get a total loss of voltage.
But it's no big deal if there's a helper voltage that, for example,
provides a negative supply if the opamp CM range doesn't include VSS.
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Jamie
Guest
Tue Feb 09, 2010 3:27 am
Raveninghorde wrote:
Quote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
Operate the sensing circuit from a separate supply that does not get
effected from the main supply drop.
In your circuit, I assume you're using the +/- inputs of the opamp to
form a dif shift via a shunt R ? The op-amp and Fet you're using can be
operating from a secondary supply that can also share the same common.
of course, if you throttle back the drive using the current sense,
you wouldn't get a total loss of voltage!.
MooseFET
Guest
Tue Feb 09, 2010 4:31 am
On Feb 8, 3:09 pm, Raveninghorde <raveninghorde_at_invalid> wrote:
Quote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
How about:
---------------------------------------------------------
! !
! ---------/\/\--- !
! ! ! !
+-----------------/\/\---------+--!+\ ! s !
! ! >--+--/\/\--+--!! !
! ------/\/----------+--!-/ ! !!----
! ! ! ! --!! P-
MOSFET
-------+---/\/\---+----Battery(+) --/\/\-- !d
--------
+--/\/\--GND
!
V K*I
It is the normal op-amp based constant current source but the op-amp
doesn't have to take
the large common mode and you don't need the 0.1% resistors.
The down side is you needenough voltage for the op-amp.
TTman
Guest
Tue Feb 09, 2010 9:21 am
"Raveninghorde" <raveninghorde_at_invalid> wrote in message
news:dk51n5tofjinmclfch7t8dpeq0k58cae4k_at_4ax.com...
Quote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
Protect power on with 'battery good' detect first ?
Adam Seychell
Guest
Tue Feb 09, 2010 9:26 am
On 9/02/2010 10:09, Raveninghorde wrote:
Quote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
What are your desired current, voltage and measurement accuracy ?
Raveninghorde
Guest
Tue Feb 09, 2010 11:19 pm
On Mon, 8 Feb 2010 18:19:58 -0800 (PST), MooseFET <kensmith_at_rahul.net>
wrote:
Quote:
On Feb 8, 3:09 pm, Raveninghorde <raveninghorde_at_invalid> wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
How about:
---------------------------------------------------------
! !
! ---------/\/\--- !
! ! ! !
+-----------------/\/\---------+--!+\ ! s !
! ! >--+--/\/\--+--!! !
! ------/\/----------+--!-/ ! !!----
! ! ! ! --!! P-
MOSFET
-------+---/\/\---+----Battery(+) --/\/\-- !d
--------
+--/\/\--GND
!
V =
K*I
It is the normal op-amp based constant current source but the op-amp
doesn't have to take
the large common mode and you don't need the 0.1% resistors.
The down side is you needenough voltage for the op-amp.
Thanks.
That looks good and appears to get around the short circuit problem.
It adds 3 resistors to my component count. Under half a cent extra
component cost plus placement time.
Raveninghorde
Guest
Tue Feb 09, 2010 11:24 pm
On Tue, 09 Feb 2010 18:26:46 +1100, Adam Seychell
<bogus_user_at_bogus_server.com> wrote:
Quote:
On 9/02/2010 10:09, Raveninghorde wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
What are your desired current, voltage and measurement accuracy ?
I'm happy with 3% accuracy on current. Who cares if a battery charges
at 970mA rather than 1A.
I'm charging lithium ion so voltage is more important. On a 4 cell
pack I expect to be between 16.70V and 16.75V so that's +/- 0.15%
after adjustment.
Raveninghorde
Guest
Tue Feb 09, 2010 11:30 pm
On Mon, 08 Feb 2010 15:34:38 -0800, Joerg <invalid_at_invalid.invalid>
wrote:
Quote:
Raveninghorde wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
You could consider current monitor chips that have a helper voltage and
where common mode includes ground. But it's not as cheap. If each charge
channel has its own switcher, can't you sense current there?
In this application I am using National simple switchers so they don't
help with the current measurement. They do provide an internal current
limit which does provide short circuit protection.
I don't like the short circuit current being higher than the charging
current. In the other job I've got to tidy up for production I'm
using a sepic which does need a proper current limit.
I like to use common building blocks and MooseFET's circuit looks good
at the moment.
Raveninghorde
Guest
Tue Feb 09, 2010 11:38 pm
On Tue, 9 Feb 2010 07:21:11 -0000, "TTman" <someone.pc_at_ntlworld.com>
wrote:
Quote:
"Raveninghorde" <raveninghorde_at_invalid> wrote in message
news:dk51n5tofjinmclfch7t8dpeq0k58cae4k_at_4ax.com...
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
Protect power on with 'battery good' detect first ?
I have battery good detection in the micro. The charger has to be safe
even if the micro dies.
The customer checks short circuit by putting a switch across the
output and a then a fuse in line to the battery. They then start
charging and throw the switch.
Similarly for reverse battery protection they fit a reversing switch
into the wiring. Again they start charging and throw the switch.
Joerg
Guest
Wed Feb 10, 2010 12:27 am
Raveninghorde wrote:
Quote:
On Mon, 08 Feb 2010 15:34:38 -0800, Joerg <invalid_at_invalid.invalid
wrote:
Raveninghorde wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
You could consider current monitor chips that have a helper voltage and
where common mode includes ground. But it's not as cheap. If each charge
channel has its own switcher, can't you sense current there?
In this application I am using National simple switchers so they don't
help with the current measurement. They do provide an internal current
limit which does provide short circuit protection.
I don't like the short circuit current being higher than the charging
current. In the other job I've got to tidy up for production I'm
using a sepic which does need a proper current limit.
On a SEPIC that's easy. You can sense the current at the base of the
second coil and run that into an inverting opamp.
Quote:
I like to use common building blocks and MooseFET's circuit looks good
at the moment.
So you owe him a beer then :-)
--
Regards, Joerg
http://www.analogconsultants.com/
"gmail" domain blocked because of excessive spam.
Use another domain or send PM.
Guest
Thu Feb 11, 2010 1:12 am
On Feb 8, 9:19 pm, MooseFET <kensm...@rahul.net> wrote:
Quote:
On Feb 8, 3:09 pm, Raveninghorde <raveninghorde_at_invalid> wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
How about:
----------------------------------------------------
! !
! ---------/\/\--- !
! ! ! !
+-----------------/\/\----+--!+\ ! s !
! ! >--+--/\/\--+--!! !
! ------/\/-----+--!-/ ! !!----
! ! ! ! --!! P-MOSFET
-----+---/\/\---+---Battery(+) --/\/\-- !d
--------+--/\/\--GND
!
V = K*I
It is the normal op-amp based constant current source but the op-amp
doesn't have to take
the large common mode and you don't need the 0.1% resistors.
The down side is you needenough voltage for the op-amp.
Or, if the op amp's inputs can go slightly below the rail:
R1 |\
.-------/\/\-----+---|-\ LM324
| | | >--.
| .-------|---|+/ |
| | | |/ |
| Rs | | |
Quote:
--+--/\/\--+-------|---------|---> to Battery (+)
i --> | |
'--|| |
||->---'
.--|| Q1
| Rs * R2
+----> V(i) = i * -------
| R1
\
/ R2
\
|
==
Two precision resistors instead of six.
(I used an LM324 for John. He loves them.)
--
Cheers,
James Arthur
MooseFET
Guest
Thu Feb 11, 2010 4:31 am
On Feb 10, 2:12 pm, dagmargoodb...@yahoo.com wrote:
Quote:
On Feb 8, 9:19 pm, MooseFET <kensm...@rahul.net> wrote:
On Feb 8, 3:09 pm, Raveninghorde <raveninghorde_at_invalid> wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
How about:
----------------------------------------------------
! !
! ---------/\/\--- !
! ! ! !
+-----------------/\/\----+--!+\ ! s !
! ! >--+--/\/\--+--!! !
! ------/\/-----+--!-/ ! !!----
! ! ! ! --!! P-MOSFET
-----+---/\/\---+---Battery(+) --/\/\-- !d
--------+--/\/\--GND
!
V = K*I
It is the normal op-amp based constant current source but the op-amp
doesn't have to take
the large common mode and you don't need the 0.1% resistors.
The down side is you needenough voltage for the op-amp.
Or, if the op amp's inputs can go slightly below the rail:
R1 |\
.-------/\/\-----+---|-\ LM324
| | | >--.
| .-------|---|+/ |
| | | |/ |
| Rs | | |
>--+--/\/\--+-------|---------|---> to Battery (+)
i --> | |
'--|| |
||->---'
.--|| Q1
| Rs * R2
+----> V(i) = i * -------
| R1
\
/ R2
\
|
==
Two precision resistors instead of six.
(I used an LM324 for John. He loves them.)
If the load is shorted, the circuit doesn't work.
This was the problem that my circuit was aimed at solving.
Quote:
--
Cheers,
James Arthur
Guest
Thu Feb 11, 2010 9:24 am
On Feb 10, 9:29 pm, MooseFET <kensm...@rahul.net> wrote:
Quote:
On Feb 10, 2:12 pm, dagmargoodb...@yahoo.com wrote:
On Feb 8, 9:19 pm, MooseFET <kensm...@rahul.net> wrote:
On Feb 8, 3:09 pm, Raveninghorde <raveninghorde_at_invalid> wrote:
I'm reviewing an existing charger design which I'm expanding to 10
outputs.
At the moment I use high side current sensing with an opamp and fet
level shifting the signal so that it is ground referred.
The disadvantage is that this circuit can not measure the current
during a short and relies on the swticher's own current limit for
protection.
I've used a current mirror circuit before to get around this but it's
too many parts.
If I low side sense then this problem disappears. But then I loose the
simplicity of a common ground.
I can't make my mind up. Time for a whisky.
How about:
----------------------------------------------------
! !
! ---------/\/\--- !
! ! ! !
+-----------------/\/\----+--!+\ ! s !
! ! >--+--/\/\--+--!! !
! ------/\/-----+--!-/ ! !!----
! ! ! ! --!! P-MOSFET
-----+---/\/\---+---Battery(+) --/\/\-- !d
--------+--/\/\--GND
!
V = K*I
It is the normal op-amp based constant current source but the op-amp
doesn't have to take
the large common mode and you don't need the 0.1% resistors.
The down side is you needenough voltage for the op-amp.
Or, if the op amp's inputs can go slightly below the rail:
R1 |\
.-------/\/\-----+---|-\ LM324
| | | >--.
| .-------|---|+/ |
| | | |/ |
| Rs | | |
>--+--/\/\--+-------|---------|---> to Battery (+)
i --> | |
'--|| |
||->---'
.--|| Q1
| Rs * R2
+----> V(i) = i * -------
| R1
\
/ R2
\
|
==
Two precision resistors instead of six.
(I used an LM324 for John. He loves them.)
If the load is shorted, the circuit doesn't work.
This was the problem that my circuit was aimed at solving.
I guess I'm not visualizing Ravenhorde's setup. I'm assuming Vcc to
the op amp higher than the raw battery charging voltage, just as you
did...
Ah, I see. So use mine ahead of the regulator, if that's feasible.
If not, yours wins.
Nice work.
--
Cheers,
James Arthur
Goto page 1, 2 Next