Balancing states
info
- All mentioned variables are located in folder
/driver/balancing/
.
Balancing configuration
Balancing is allowed in states IDLE and greater.
Parameter | Description |
---|---|
cellBalVoltage | If voltage of cell is above this value, balancing of that cell is allowed. |
balStartDelta | If the difference between the highest and lowest cell voltage is above this value, balancing is started. |
balEndDelta | If the difference between the highest and lowest cell voltage is below this value, balancing is stopped. |
maxSimBal | Maximum number of cells balanced at one moment. If there is overtemperature of balancer, the BMS will automatically reduce number os balanced cells. |
Balancing states
State | Description |
---|---|
balCmd | 1: Balancing is allowed. 2: Balancing is forced (ignoring) cellBalVoltage parameter and BMS state |
balState | 1: At least one cell is balancing 2: Balancer overtemperature 4: Cell overvoltage 8: Cell undervoltage 16: Cell check error 32: Balancer failure 64: Critical undervoltage |
badCells | Signalize bitwise cell with error. - If cell is expected and voltage is below 100mV - If the cell is not expected and voltage is above 100mV |
*All the states are bitwise
Balancer readings
Variable | Description |
---|---|
cellVoltages | [mV] Array of cell voltages. |
cellMin | [mV] Minimum cell voltage. |
cellMinIndex | Index of the cell with the lowest voltage. |
cellMax | [mV] Maximum cell voltage. |
cellMaxIndex | Index of the cell with the highest voltage. |
cellDiff | [mV] Difference between the highest and lowest cell voltage. |
cellVoltageSum | [V] Sum of all cell voltages. |