View previous topic :: View next topic |
Author |
Message |
JohnKennedy
Joined: 12 May 2004 Posts: 38
|
Measuring a single cell in a multi cell battery pack |
Posted: Wed Nov 02, 2005 5:58 am |
|
|
Hi
I need to be able to measure the individual voltage of each cell in a multi cell lithium battery pack. The standard availble IC's for doing this only go to a maximum of 4 cells and I need to measure 9.
Is there any way I can use a PIC for this?
The problem I can't seem to get my head around is that the PIC measures it's voltage on the A/D referenced to ground and I need to measure each cell voltage Individually not cumatively to perform cell balancing.
Anyone got any ideas
TIA
JFK |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Wed Nov 02, 2005 7:47 am |
|
|
Are the batteries wired in series? _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
JohnKennedy
Joined: 12 May 2004 Posts: 38
|
|
Posted: Wed Nov 02, 2005 7:58 am |
|
|
asmallri wrote: | Are the batteries wired in series? |
Yes 9 cells in series and I need to measure each individual cell.
JFK |
|
|
asmallri
Joined: 12 Aug 2004 Posts: 1635 Location: Perth, Australia
|
|
Posted: Wed Nov 02, 2005 8:09 am |
|
|
If you have plenty of PIC pins, wire each battery junction, via a suitable (preferably constant) resistor divider to an A/D input. Assume we are measuring battery x in the string. Battery voltage of X = voltage of junction x.y - voltage of junction w.x _________________ Regards, Andrew
http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!! |
|
|
Humberto
Joined: 08 Sep 2003 Posts: 1215 Location: Buenos Aires, La Reina del Plata
|
|
Posted: Wed Nov 02, 2005 8:28 am |
|
|
I would use:
1) Resistor divider coming from each cell junction. ( @ 1% tolerance)
The key is get 4.00 V max in the AD front end.
2) Analog multiplexer to collect all 9 resistor divider�s into one AD converter.
3) 12 Bit AD Converter. With 1mV resolution it�s a matter of single math to know the
voltage in each individual cell.
Humberto
Last edited by Humberto on Wed Nov 02, 2005 8:31 am; edited 1 time in total |
|
|
JohnKennedy
Joined: 12 May 2004 Posts: 38
|
|
Posted: Wed Nov 02, 2005 8:30 am |
|
|
Thanks Andrew new there had to be a relatively simple answer but I was damned if I could think of it.
thanks again
JFK |
|
|
guest Guest
|
|
Posted: Wed Nov 02, 2005 6:24 pm |
|
|
The best way would be to use multiple level shifting differential op-amps, with unity gain, feeding separate adc inputs.
Just using a resisive divider, and subtracting one cell's voltage from the next will decrease the resolution of your measurements. |
|
|
kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
|
|
Posted: Wed Nov 02, 2005 9:40 pm |
|
|
guest wrote: | The best way would be to use multiple level shifting differential op-amps, with unity gain, feeding separate adc inputs.
Just using a resisive divider, and subtracting one cell's voltage from the next will decrease the resolution of your measurements. |
The resolution can be increased even further, if the differential amps have a gain A > 1. The maximum cell voltage (around 4.2V, probably) will correspond to 5V output of the diff amp and 1023 a/d counts.
Alternatively, one can use an external reference voltage equal to the max cel voltage. |
|
|
|