Old BMS General Thread

Threads relating to the BMS system begun by Peter Perkins

Moderators: GregsGarage, retepsnikrep

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Thu Sep 11, 2008 6:45 pm

Good point I'll have a look, lots of tweaking to do over the comming weeks. I have the decimal point issue almost sorted now so the numbers displayed make a bit more sense.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Fri Sep 12, 2008 6:41 am

For those fiddling with the software on this project using the Picaxe system there is an Editor software update from the supplier today.

http://www.picaxeforum.co.uk/showthread.php?t=10455

I've downloaded and installed it, seems OK.
Last edited by retepsnikrep on Sat Sep 13, 2008 3:21 am, edited 1 time in total.
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Postby GregsGarage » Fri Sep 12, 2008 9:56 am

Been testing the slaves some more, in groups of 4 cells, charging with a lead acid charger and finishing with my dc power supply as the charger doesn't quite get there with the voltage. These cells were already charged but out of balance. The first set I charged one of the cells was very badly out and took about 12 hours to balance. I had been doing some crude balancing with a 5W bulb across the highest cell and left it connected to this cell overnight by accident :shock: , hence the out of balance condition.

Today I have just balanced another 4 cells in 1/2 hour using this method with just the on/off mode of charger control. :D In truth the charger never had to turn off and wait for the cells to bleed down. By the time the lowest cell had turned on the load resistor the highest cell hadn't reached the AbsMaxCellV value. I am pleased with this result and hopefully should see my charger today as well.

The charger is designed for lead acid but provides the CC-CV profile that these cells require at a slightly lower voltage. I will adjust the AbsMaxCellV to 3.65 volts and the MaxCellV to 3.55 volts. This should give me a 98% charge, but if it works it could mean that a standard lead acid charger designed for sealed lead acid cells could be used with these particular litium cells, which I think would be a very neat and useful trick.

Edit: The cells balanced to within 40mv.
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Fri Sep 12, 2008 3:09 pm

GregsGarage wrote: The cells balanced to within 40mv.


That's about the limit of accuracy I expected from the design, I'm happy if they are within 50mv across the pack. :)
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Postby GregsGarage » Fri Sep 12, 2008 4:57 pm

Just noticed a small problem with version 1_05 of the slave software. I am using this with the speed bumped up to 125khz, but the hysteresis added to V1_04 didn't get added to V1_05.

I would suggest that V1_06 (or the latest) have the hysteresis of V1_04 and run at 125kHz. This seems to be the slowest usable speed for analouge slaves. Noticed this working next to the pack while charging my last 4 cells as they were nearly finished.

Greg
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Software updates

Postby retepsnikrep » Fri Sep 12, 2008 5:42 pm

Greg, sorry about that :roll:

V1.07 (Untested) below now contains more constants so you can adjust the Charger Cut in and out point seperately from the Load cut in and out points, both have hysteresis now as well.
So you now have five voltages to fiddle with. :lol:

Charger cut off voltage (Was AbsMaxCellV)
Charger cut in voltage

Load cut off voltage
Load cut in voltage (Was MaxCellV)

MinCellV is as before (unchanged)

www.solarvan.co.uk/bms/SlaveAnalogueOnO ... _v1_07.txt

Also a new Master update which is working quite well, display is neater and we have decimal points 8) SOC calculation seems to be working.

www.solarvan.co.uk/bms/MASTER120908_V09.TXT

Pic of latest testing.

www.solarvan.co.uk/bms/MasterTest01.jpg

Master is updating rolling Soc and it appears to be working with simulated charge & discharge :shock:
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

GregsGarage
Posts: 870
Joined: Tue Apr 01, 2008 5:27 pm
Location: Galashiels, Scottish Borders
Contact:

Postby GregsGarage » Fri Sep 12, 2008 6:28 pm

Thanks for that Peter, will test and let you know.
Greg Fordyce

Daewoo Matiz
http://www.evalbum.com/4191

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Sat Sep 13, 2008 3:58 am

OK :) I tweaked the SlaveAnalogueOnOff software a bit more for Greg.

All the settings inc low cell V now have hysteresis.

Greg try this, you now have six V settings to fiddle with.
I have set it for your spec to start with 8)

CPU 125khz

Max Cell Opto On > 3.65V
Max Cell Opto Off < 3.60V

Load On > 3.55V
Load Off < 3.50V

Min Cell Opto On < 2.50V
Min Cell Opto Off > 2.60V

The cpu has a little bit more to do, so may need tweaking to 250khz.

http://www.solarvan.co.uk/bms/SlaveAnal ... _v1_08.txt
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

User avatar
retepsnikrep
Posts: 1387
Joined: Sat May 26, 2007 4:50 pm
Location: North Yorkshire England
Contact:

Postby retepsnikrep » Sun Sep 14, 2008 5:22 pm

Quick load test on 5 of my new 40ah Highpower Lifepo4 cells.
Ambient temp 19C

40A (1C) maintained decent voltage around 3.20V

100A (2.5C) still managed to hold up just over 3.00V

BMS much improved now and returning the right values except under 100A load when it miss read voltages once load got above 75A, strange :cry:

I'll scope/debug it tomorrow and see if it is the Slaves or the Master getting the wrong end of the Cell V stick :wink:

Slaves didn't lock up or anything Master just read high :roll:

www.solarvan.co.uk/bms/LoadTest40A.jpg

Software updates today.

Master nearly ready to take control of charging :shock:

www.solarvan.co.uk/bms/SlaveDig140908_v09.txt
www.solarvan.co.uk/bms/Master150908_v18.txt

Edit Cancel the project state funeral, tell the Queen to stop blubbing.

It's a Master display error, caused by the integer only maths and modulo division, this loses the leading zero when voltage goes from 3.10v to 3.09v, the display shows it as 3.9v :roll:

I'll have to force it to display leading zero (0) :shock:

Cells are now sat on bench being monitored by BMS as they are charged back up after load test yesterday. I'll try and add the charger relay today so it can cut off when done.

Edit BMS Current Sensor now adjusted & working 8)

www.solarvan.co.uk/bms/AllegroCurrentSensor.PDF

Edit Added charger relay to bench test setup and Batteries/Charger now under Master BMS control for first time :shock:

Quick youtube video tour and update for a change.

http://www.youtube.com/watch?v=gAaSTQ2cWrk
Regards Peter

Two MK1 Honda Insight's. One running 20ah A123 Lithium pack. One 8ah BetterBattery Nimh pack.
One HCH1 Civic Hybrid running 60ah A123 Lithium pack.

wjdennis
Posts: 17
Joined: Tue Aug 05, 2008 5:27 pm

Postby wjdennis » Tue Sep 16, 2008 5:14 pm

Peter, just a question about the Delay variable and its comments. In the master, Delay 2500 says that it's 1.25 seconds at 8Mhz. But in both Master and Slave, Delay = 10 says to delay 10 milliseconds. Does Delay 10 really delay only 5 milliseconds at 8Mhz?

Thanks.

Bill Dennis


Return to “BMS thread”

Who is online

Users browsing this forum: No registered users and 27 guests