A battery management system (BMS) is an electronic system that manages a rechargeable battery. A BMS that only contains battery protection is a so-called protection circuit module (PCM).
Required BMS functions for an e-bike
- Over- and under-voltage protection for each cell.
- Overcurrent protection.
- Battery cell balancing.
- Logging of individual cell voltages to detect bad cells.
- Estimating the battery state of charge by Coulomb counting.
Over-voltage and under-voltage battery protection
LiFePO4 batteries, as well as lithium-ion batteries, doesn't like to be overcharged or over-discharged. Therefore a fail-safe circuitry is mandatory. It shuts down the battery pack when the voltage of one of the battery cells becomes outside the safe range, for A123 LiFePO4 batteries this is about 2V to 4V. The fail-safe circuitry is part of the so called battery management system (BMS).
A BMS contains quite a lot of electronics to be able to measure all the individual cell voltages. Power MOSFETs are used as switches to shut down the battery. A BMS is often equipped with extra functions, such as a balancer.
Battery capacity improvement with battery cell balancing
Upon discharging, the entire battery pack is shut off when the weakest cell drops below the lower voltage limit. It is clear that the other cells are still not completely empty. Upon loading plays the same problem. To get the maximum capacity out of a battery pack, the cells must therefore be balanced. Cell balancers can be dissipative or nondissipative.
Here is a practical example from Charles Richter that shows the capacity improvement that a balancing BMS can bring about.
Ultracapacitors have to be balanced also. Although I will not treat this kind of storage, I want to mention that the information about the battery cell balancing is useful for ultracapacitors too.
Gross and maintenance balancing
At a new battery pack, it is important that the cells have to be balanced manually for the first time. The battery cells must be charged to the same voltage. If this is not done, the BMS can't balance anymore because the balance current is too low to balance cells with large differences in charge, see more about this HERE. The same plays a role, if broken cells have to be replaced.
A BMS is designed for maintenance balance, not for gross balancing. If a battery pack starts balanced, the BMS has just to compensate for the variation in self-discharge leakage in the cells. Therefore, the balancing current is generally just 10mA to 100mA.
Also called bleeding cell balancers or dissipative cell balancers. Resistors are used to bleed the energy from the good cells, in order to match the voltage to those of the bad cells. It is clear that this is wasting a lot of energy because the good cells are in the majority.
The balancing procedure can proceed as follow:
- Initially, the balancer is turned off after the battery charger is connected.
- When any battery cell reaches 3.65V, the BMS will turn on the balancing circuit in this channel, and the discharge resistor in this channel will slightly drain the cell.
- When any cell reaches 3.9V, the BMS will turn off the charge current by the power transistor in the charge line.
- At that time, all the cells whose voltages are higher than 3.65V will be still being drained by the discharge resistors in their channels. This way, all the high cells will be discharged to 3.65V.
- When the highest cell drops to around 3.7V, the BMS will connect the charger again.
- Note that, at this time, there are cells that are still below 3.65V.
- Return to 2.
Finally, all cells are fully charged to 3.65V.
Battery charger turn off
Some battery chargers turn off permanently after the charge current is turned off by the BMS. This is not allowed because the balancer is not able to repeat the balance steps. The battery is not balanced completely and some cells haven't reached 3.65V.
Also called nondissipative cell balancers or distribution cell balancers. An distribution cell balancer moves energy from the good cells to the bad cells. This can be done capacitive or inductive.
Capacitive cell balancers
A common method is using a charge shuttling balancing circuit, containing a flying capacitors, for every two neighbouring battery cells. Each cell contains a balancing circuit that can move energy with a capacitor to cells above or below in the cell string. Over time, all cell voltages will be equal.
The number flying capacitors is the number of battery cells -1.
It is clear that when the good and bad cells are on the opposite ends of the cell string, the charge would have to travel through every cell. Because of the cell-to-cell transfer loss, this kind of capacitive balancing has a maximum efficiency of just 50% in practise. The maximum number of battery cells in series that can be used without killing the efficiency is about 12.
A serious disadvantage of the capacity cell balancer is that it requires a certain cell voltage difference to function, but on the flat section of the LiFePO4 discharge graph the voltage differences between cells are very small.
Inductive cell balancers - transformer based
Energy transfer in power supplies is commonly done inductively, with coils and transformers. We see only capacitor based power supplies at lower power levels. Inductive cell balancers are faster and have a higher efficiency than capacitive cell balancers. At a transformer based cell balancing BMS, the primary winding is used for the battery pack and the secondary windings are used for the individual cells.
Transformer based cell balancers can be divided between bottom cell balancers and top cell balancers.
- Bottom cell balancing. A battery cell receives energy from the entire battery pack.
- Top cell balancing. The entire battery pack receives energy from a battery cell.
Here is a bottom cell balancer that uses a flyback transformer with a winding for every cell.
At a transformer-based cell balancer, the transformer can be used at a convenient way to measure individual cell voltages. If a battery cell is connected to its secondary winding, on the primary winding arise a voltage pulse proportional to the cell voltage.
Inductive cell balancers - inductor based
An inductor based cell balancing BMS is the patented PowerPump cell balancing technology from Texas Instruments. It uses a buck-boost converter to transfer the energy from one cell to the other. It is used at the TI chipset BQ78PL114 / BQ76PL102, which is unfortunately not recommended for new designs, but still in production. See PowerLAN Gateway Battery Management Controller with Power Pump Cell Balancing.
Unfortunately, there is no e-bike BMS on the market that uses the TI chipset. Currently Per Hassel Sørensen is developing an advanced BMS with this chipset.
Charge only or continues cell balancing
BMS can be divided further into two types:
- Charge only cell balancing.
Balancing is done at the end of the charge cyclus. The advantage is that at the end of the charging, the voltage differences between the battery cells are maximal. Bleeding cell balancers are mostly of this type.
- Continues cell balancing.
This method also fixes imbalances that develop during operation. However, it is hard to measure the individual cell voltages during operation, when the battery is under load. The battery cell voltages can vary among themselves more as a result of the internal resistances as by the charge differences.
Battery fuel gauge
Accurately determining the battery state-of-charge is quite a task, it requires sophisticated hardware and software. Special microcontrollers have been designed for it, for instance the Texas Instruments BQ34Z100.
Regenerative braking with BMS
Hub motors without freewheel can be used for regenerative braking. Instead of using the brake when driving downhill, the motor is used as generator and the energy is stored into the battery. Regenerative braking is no problem for the BMS; it is the same as if a battery charger is connected.
If the battery is full, the BMS switches the battery off:
- While the motor/generator is abruptly switched off, braking is stopped, this can cause a dangerous condition.
- The voltage of the motor/generator at high speed can exceed the BMS maximum voltage, this can damage the BMS.
Over-discharging lithium-ion batteries
If a battery is stored for a long time it can become over-discharged. Another reason is a failing BMS, this happens to me more than once! Lithium-ion batteries may become irreversible damaged by over-discharging. See Battery University for more about it.
To allow charging over-discharged batteries, a BMS should have the possibility to re-charge over-discharged batteries with a small current.
DC fuse for secondary battery protection
The BMS is equipped with a fast over current protection. But we can't rely on the electronic fuse of the BMS alone. For secondary protection and to fulfill safety tests, an additional fuse is required. For DC currents we can't use standard fuses; these are designed for AC currents and will not cut DC currents properly. The DC current may remain and the fuse may explode or cause a fire. We need a special high current DC fuse, such as the 30A 250VDC fuse 0324030.HXP from Littelfuse. The resistance is 1.82mΩ.
Fuse holder resistance loss
The resistance of fuse holders is often larger than the fuse itself. These values are measured at 8A:
- Fuse 5 x 20mm F16A, R = 4mΩ
- Chassis mount fuse holder. R ~ 1mΩ
- In-line fuse holder. R > 10mΩ
- Panel mount fuse holder. R > 20mΩ
- Davide Andrea, Elithion LLC. Everything about lithium-ion batteries, cell balancing and BMS
- Electropaedia: Cell balancing
- Society of Automotive Engineers, Inc. A Review of Cell Equalization Methods for Lithium Ion and Lithium Polymer Battery Systems
- Texas Instruments, Yevgen Barsukov. Battery cell balancing: what to balance and how
- "A cost optimized battery management system with active cell balancing for lithium ion battery stacks" Infineon Technologies, Carl Bonfiglio, Werner Roessler.
- "How to Efficiently and Safely Charge a Lithium Iron Phosphate (LiFePO4) Battery" Texas Instruments, Jinrong Qian.