-
Notifications
You must be signed in to change notification settings - Fork 98
Description
Hi, great job!
I try to implement it on a Volkswagen Beetle with 5 Tesla Bricks, looks good!
While checking the balancing, I found that there is something strange inside your code:
You start balancing at 3.9V, and stop when the cellVoltage is below this Voltage minus a balancing hysteresis.
There are 2 problems I see, because "balancing(i)" seems to mean: burn the energy at the resistors at cell(i)!
- So the Resistors from each cell burn energy every time the Voltage is higher than 3.9 V unless it is below 3.86V, even if the voltage should be at 4.1V.
- During balancing the Voltagemeasurement does not work properly, because of the structure of the electronic.
I would suggest starting balancing, if the difference to the neighbour cell is to high, maybe via the difference between avgCellVoltage and cellVoltage(i), or just by comparing, and a minimum voltage is guaranteed (as already done).
Then the balancing should last 2-5 min, should stop, then after a short time start the measurement and the balancing again.
What do you think?