Search found 89 matches

by steiner
Tue Apr 20, 2010 3:35 am
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, I sent you an e-mail with the code attached as I wasn't sure how to post it here. The current sensor only needs 5v, ground, and an A/D input so it connects directly to the J2 "Current Sensor Input" on the master v1.0 board. You will see the lines of code I added to work with this pa...
by steiner
Sun Apr 18, 2010 8:14 pm
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

When I am charging at 8 amps into a 90 Ahr pack, I would think the SOC would increase at 8.8% per hour (8/90). I am getting a considerably higher rate than 8.8% per hour.

Edit:

Initially I did a quick calculation in my head. This time I recorded the data and the SOC calculation looks good.
by steiner
Sun Apr 18, 2010 4:43 pm
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, Yes, I am using the PicMultiSlave software v26. The only modification that I did was to rem out "Toggle SlaveAlive" since my slaves don't have anything connected to GPIO.5. When a cell initially reaches the cut in load value, the LED lights for only a moment as I am sure when the lo...
by steiner
Sat Apr 17, 2010 7:07 pm
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, I found the problem. On my slave software I reduced the number of A/D samples to 10 but forget to reduce the division (CellV = CellV / 100). I went ahead and changed the A/D samples back to 100. That seems to have everything working properly right now. I am currently charging and I will let y...
by steiner
Fri Apr 16, 2010 3:00 am
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

OK...I tried the new code for the slaves and the master. I am getting some strange results but it might be due to my setup. For starters I am still running version 1 of the master. However, I have the code stripped down to do nothing but run the "Check voltage" and "Check current"...
by steiner
Fri Apr 16, 2010 12:17 am
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, I noticed you increased the number of A/D conversions from 10 to 100 in the slave software. Is the "pause 100" in the master software still going to be enough time for all of the slaves to finish before moving on to command 1? How do you typically determine the amount of "pause...
by steiner
Wed Apr 14, 2010 4:03 am
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, These look good. I haven't had a chance yet to try them so I have just been looking at the logic. I have two questions though. 1. On the master software you have a "pause 100" between the command 2 and the command 1. I assume this is to allow sufficient time for all of the slaves to...
by steiner
Sun Apr 11, 2010 9:01 pm
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, That makes sense...your error checking the data. I may have found another issue. In the master software you are sending command 2 to turn off the load resistors. You then send command 1 to tell the slaves to transmit their cell voltage data. However, when I look at the slave software routine ...
by steiner
Sun Apr 11, 2010 1:26 am
Forum: BMS thread
Topic: Old BMS Software Thread
Replies: 600
Views: 1012334

Re: BMS Software

Peter, I am trying to better understand the new slave software. I might be missing something but it seems like when the slave receives "command 10", the routine checks for the cell voltage being above DHigh or below DLow. If the value doesn't meet this criteria, it then subtract DLow from ...
by steiner
Wed Apr 07, 2010 1:01 pm
Forum: BMS thread
Topic: Old BMS General Thread
Replies: 658
Views: 1255615

Re: BMS General

Peter, Thanks...I knew about the issue with the voltage drop when a by-pass turned on but I didn't know what the affect was (cascading of adjacent cells). I was thinking about simply adding a line of code in the slave that turned the by-pass off just before a cell reading was taken. I see you are ad...

Go to advanced search