CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Measuring a single cell in a multi cell battery pack

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
JohnKennedy



Joined: 12 May 2004
Posts: 38

View user's profile Send private message

Measuring a single cell in a multi cell battery pack
PostPosted: Wed Nov 02, 2005 5:58 am     Reply with quote

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: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Nov 02, 2005 7:47 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2005 7:58 am     Reply with quote

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: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Wed Nov 02, 2005 8:09 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2005 8:28 am     Reply with quote

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

View user's profile Send private message

PostPosted: Wed Nov 02, 2005 8:30 am     Reply with quote

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







PostPosted: Wed Nov 02, 2005 6:24 pm     Reply with quote

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

View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger

PostPosted: Wed Nov 02, 2005 9:40 pm     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group