Go Back  

DIY Electric Car Forums > EV Conversions and Builds > Batteries and Charging

Register Blogs FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 01-14-2010, 06:14 PM
UBCECC UBCECC is offline
Junior Member
 
Join Date: Sep 2009
Posts: 26
UBCECC is on a distinguished road
Default reading voltage of a series of batteries

Hi, I am looking into using a micro controller to read all the cell voltages of a lithium pack 96v. What is a simple yet elegant way to read the voltage of all the cells?
Reply With Quote
Sponsored Links
  #2  
Old 01-15-2010, 02:11 PM
ahambone's Avatar
ahambone ahambone is offline
Member
 
Join Date: Jan 2009
Location: Houston, TX
Posts: 42
ahambone is on a distinguished road
Default Re: reading voltage of a series of batteries

Quote:
What is a simple yet elegant way to read the voltage of all the cells?
This isn't an easy question. I've been working on this problem myself. The commercial solution is a PakTrakr. It's fairly expensive. The DIY solution is to use a microcontroller, scale the voltage of the cell down to the 0 to 5V range that most micros can read on their analog sensors, record that, and the graph the data using some kind of output device.

I'm not sure how far along you are, but here are some topics to look up:

- Voltage Divider or Voltage Dividing Resistors or Resistor Ladder
- ADC or Analog to Digital Converter
- Optical Isolation or Galvanic Isolation

I've got a little 4 cell monitor working on a lab bench. It was more of a challenge to connect up than I was expecting. What kind of micro controller are you using? I've been tinkering with Arduinos (ATMega 168 chips). They have 6 ADC channels so I could, in theory, use 1 micro to read 6 cells.

Here's an example of the data I was able to read off my my lab bench. This is 4 LiFePO4 cells connected to make a 12V battery. I ran a hi-beam headlight off of it for ~45 minutes until one of the cells in the series string hit low-voltage for the chemistry and I stopped collecting data to re-charge the cells.

test2-cellVolts.png

Cheers,
--Adam

Last edited by ahambone; 01-15-2010 at 03:35 PM.
Reply With Quote
  #3  
Old 01-15-2010, 03:24 PM
TheConverted TheConverted is offline
Member
 
Join Date: Jun 2009
Location: Brisbane, Australia
Posts: 35
TheConverted is on a distinguished road
Default Re: reading voltage of a series of batteries

Could you not use a multiplexor/s to the microprocessor to time slice each of the cells?
Reply With Quote
  #4  
Old 01-15-2010, 03:33 PM
ahambone's Avatar
ahambone ahambone is offline
Member
 
Join Date: Jan 2009
Location: Houston, TX
Posts: 42
ahambone is on a distinguished road
Default Re: reading voltage of a series of batteries

You could use a MUX to time slice the cells but the problem becomes voltage potential across the MUX. Most analog MUX chips are rated at 40 volts of potential across them, at a maximum. This would probably be fine for lithium cells but for PbA I think the 4th cell would exceed the rating for the mux chip.

I suppose if you put the MUX chip inside the voltage divider resistors then this could work. I'd have to see that sketched out and think about it some more to decide if it would work. I think you'll have problems with the analog reference voltage in the micro being tied to the most negative side of the pack being monitored - especially if the micro pulls power from the pack.

You can't isolate the + and - from a cell if the micro isn't self powered or if the micro is pulling power from the pack. This is specifically why I've kept my little experiment to 4s segments. I plan on using and opto-isolated i2c bus to connect multiple 4s segments together for examining larger packs.

Cheers,
--Adam
Reply With Quote
  #5  
Old 01-15-2010, 03:59 PM
zwmaster's Avatar
zwmaster zwmaster is offline
Senior Member
 
Join Date: Nov 2009
Location: Europe
Posts: 101
zwmaster is on a distinguished road
Default Re: reading voltage of a series of batteries

Quote:
Originally Posted by UBCECC View Post
Hi, I am looking into using a micro controller to read all the cell voltages of a lithium pack 96v. What is a simple yet elegant way to read the voltage of all the cells?

Hi.

Maybe you check LTC6802-1 battery stack monitor IC from Linear.
I don't know if they give some free samples.
It could be a good start.
Hopefully I will also use this chip in my all-in-one controller.

Keep us posted.
Reply With Quote
  #6  
Old 01-15-2010, 04:11 PM
ahambone's Avatar
ahambone ahambone is offline
Member
 
Join Date: Jan 2009
Location: Houston, TX
Posts: 42
ahambone is on a distinguished road
Default Re: reading voltage of a series of batteries

That LTC6802 looks interesting...

Quote:
Each LTC6802-1 can measure up to 12 series connected battery cells with an input common mode voltage up to 60V.
That makes it good for lithium. Not a bad start. You'd still need voltage dividers for PbA users. I'm kinda suspicious of this:

Quote:
Many LTC6802-1 devices can be stacked to monitor the voltage of each cell in a long battery string. In addi- tion, the unique level-shifting serial interface allows the serial ports of these devices to be daisy-chained without optocouplers or isolators.
I'll have to read the data sheet to figure out how that works. At $14 each this is certainly an elegant solution. It even includes mostfet switches for high charge shunt balancing. Neat.

Cheers,
--Adam
Reply With Quote
  #7  
Old 01-16-2010, 01:17 AM
UBCECC UBCECC is offline
Junior Member
 
Join Date: Sep 2009
Posts: 26
UBCECC is on a distinguished road
Default Re: reading voltage of a series of batteries

wow I like what LTC6802 can offer! I will order them and give them a shot.
Reply With Quote
  #8  
Old 01-16-2010, 05:07 AM
Amberwolf's Avatar
Amberwolf Amberwolf is offline
Senior Member
 
Join Date: May 2009
Location: Phoenix, AZ
Posts: 540
Amberwolf is on a distinguished road
Default Re: reading voltage of a series of batteries

FOr the LTC6802, check this Endless Sphere thread...
http://www.endless-sphere.com/forums...hp?f=14&t=6602
especially last page.

Methods on there is also looking for anyone wanting in a group buy to get the 100-piece price break.

This older one has some info but not much
http://www.endless-sphere.com/forums...hp?f=14&t=9493
________
Washington medical marijuana

Last edited by Amberwolf; 08-24-2011 at 06:48 AM.
Reply With Quote
Reply

Share or Bookmark this

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

 

All times are GMT -6. The time now is 07:38 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Copyright 2009 Green Web Publishing LLC
Ad Management by RedTyger