Battery Management System (BMS): Functions and Working
A battery management system (BMS) is the electronic controller that keeps a lithium-ion pack safe and usable. It measures every cell voltage, the pack current and cell temperatures, estimates state of charge and state of health, balances the cells, sets charge and discharge limits, and opens the contactors when a value goes outside the safe window.
A battery management system sits between the cells and everything that uses them: the motor inverter, the charger and the vehicle controller. Lithium-ion cells give high energy density, but each cell has to stay inside a narrow voltage and temperature window. An EV pack strings around a hundred cells in series, and the BMS watches each one, because the pack voltage alone cannot reveal one weak or overcharged cell.
What a battery management system does
Andrea and Plett group the work of a BMS like this:
- Sensing: every series cell voltage, the pack current through a shunt or Hall sensor, cell and coolant temperatures from thermistors, and the pack voltage on both sides of the contactors.
- Protection: overvoltage, undervoltage, overcurrent, over and under temperature, and loss of insulation between the high voltage system and the chassis. The response is first a reduced current limit, and finally opening the contactors.
- State estimation: state of charge (SoC), state of health (SoH) and the power the pack can deliver or accept right now.
- Balancing: bringing cells in a series string back to the same SoC.
- Thermal management: asking the cooling or heating system for more or less flow.
- Communication and logging: sending limits and states to the vehicle controller and charger, usually over CAN, and storing faults and history.
Why lithium-ion cells need a BMS
A lithium-ion cell is only safe and long lived inside its window. The upper charge voltage is typically about 4.2 V for NMC cells and about 3.65 V for LFP cells, and the lower cut off is typically 2.5 to 3.0 V depending on chemistry; the cell datasheet gives the exact values. Overcharge can lead to lithium plating, gas generation and thermal runaway. Overdischarge can dissolve the copper current collector. Charging at low temperature also causes lithium plating, so the BMS cuts or blocks charge current when the cells are cold.
In a series string the same current flows through every cell, but the cells differ slightly in capacity, self discharge and temperature. Over many cycles their SoC drifts apart. The weakest cell reaches the upper limit first on charge and the lower limit first on discharge, so it sets the usable capacity of the whole pack. The comparison of lithium-ion and lead-acid batteries shows why lead-acid strings can get by with float charging and lithium-ion strings cannot.
BMS architectures
- Centralised: one board with sense wires running to every cell. It is cheap for small packs, but the wiring gets heavy.
- Distributed or modular: a cell monitoring chip, often called the analog front end (AFE), sits on each module. It measures cell voltages and temperatures and passes them over an isolated daisy chain link to a master controller. Most EV and stationary packs use this layout, including the racks in battery energy storage systems.
- Wireless: the module monitors talk to the master by radio, so the daisy chain harness and its connectors are gone.
Because the BMS can disconnect a high voltage battery, its safety functions are developed under ISO 26262 in road vehicles. Industrial lithium batteries are tested to IEC 62619, and UN ECE R100 covers the electric power train for vehicle approval.
State of charge estimation
State of charge is the remaining charge as a fraction of the present capacity. The basic method is coulomb counting:
with discharge current positive, Qn the present cell capacity in Ah and η the coulombic efficiency. It is simple, but any offset in the current sensor adds up over time, and so does an error in the starting SoC.
The second method uses the open circuit voltage (OCV), which maps to SoC through a curve measured for the cell. It only holds after the cell has rested and the voltage has relaxed. LFP is hard here because its OCV curve is almost flat across the middle of the SoC range.
Production BMS software combines the two. A model of the cell, usually an equivalent circuit of OCV, a series resistance and one or two RC pairs, predicts the terminal voltage, and a Kalman filter corrects the coulomb count by the difference between predicted and measured voltage. Plett’s second volume develops this method in full.
State of health and power limits
State of health tracks ageing. The two usual measures are capacity fade and resistance growth:
A rising series resistance R0 lowers the power the cell can deliver. The BMS limits discharge current so that the terminal voltage stays above the minimum:
and limits charge current the same way against Vmax. These limits are what the vehicle controller and the DC fast charger read, which is why charging slows down at high SoC, as described in EV charging levels and connectors.
Cell balancing: passive and active
Passive balancing switches a bleed resistor across any cell whose SoC is higher than the others and burns its extra charge as heat. The bleed current is
so it is limited to a fraction of an ampere to keep the board cool. Balancing is usually done near the top of charge.
Active balancing moves charge from high cells to low cells with capacitors, inductors or small transformers. It wastes less energy and works faster, but needs more parts and more control.
Contactors and precharge
Two main contactors, K+ and K−, connect the pack to the high voltage bus. The inverter input has a large DC link capacitor, so closing straight onto it would cause a damaging inrush current. The BMS first closes K− and a precharge contactor in series with a resistor. The capacitor then charges with time constant
When the bus voltage is close to the pack voltage, the BMS closes K+ and opens the precharge path. In a fault it opens the contactors, after first asking the inverter to reduce current where time allows.
Key formulas for battery management system
| Quantity | Formula | Symbols and units |
|---|---|---|
| SoC by coulomb counting | SoC(t) = SoC(0) − (1/Qn) ∫ η i dt | Qn = present capacity (Ah), i = discharge current (A), η = coulombic efficiency |
| State of health | SoH = Qnow ÷ Qnew × 100% | capacities in Ah |
| Discharge current limit | Imax,dis = (OCV − Vmin) ÷ R0 | V in volts, R0 = series resistance (Ω) |
| Passive bleed current | Ibleed = Vcell ÷ Rbleed | A; Vcell in V, Rbleed in Ω |
| Bleed power | P = Vcell² ÷ Rbleed | W |
| Precharge time constant | τ = Rpre × Clink | s; R in Ω, C in F |
Worked example: SoC update and balancing time
- Given
- EV pack of 96 cells in series, each 60 Ah, nominal 3.6 V. Starting SoC 80%. Discharge at a constant 30 A for 40 minutes. After the drive, one cell is 2% of capacity above the others. Bleed resistor 33 Ω, cell voltage 4.0 V during balancing.
- Find
- Pack energy, SoC after the drive, the bleed current and power, and the time to remove the 2% imbalance.
- Assumptions
- Coulombic efficiency 1, present capacity 60 Ah, cell voltage held at 4.0 V while bleeding, no other balancing.
- Solution
- Pack energy = 96 × 3.6 V × 60 Ah = 20 736 Wh ≈ 20.7 kWh
Charge removed = 30 A × (40 ÷ 60) h = 20 Ah
SoC = 80% − (20 ÷ 60) × 100% = 80% − 33.3% = 46.7%
Excess charge = 0.02 × 60 Ah = 1.2 Ah
Ibleed = 4.0 ÷ 33 = 0.121 A, P = 4.0² ÷ 33 = 0.48 W
Balancing time = 1.2 Ah ÷ 0.121 A = 9.9 h - Answer
- Pack energy about 20.7 kWh, SoC 46.7% after the drive, bleed current 0.121 A (0.48 W) and about 9.9 h to remove a 2% imbalance
- Limitations
- Real SoC estimation corrects the coulomb count with a voltage model. Cell voltage falls during bleeding, so the current falls slightly, and a real BMS balances only in certain SoC windows, which spreads the work over several charges.
At about ten hours for a 2% imbalance, passive balancing can only keep up with slow drift. It cannot make up for a cell with a much lower capacity.
BMS faults and what they look like
- Sense wire open or high resistance: the cell reads wrong, often flagged as a cell voltage fault. The BMS checks for open wires to catch this.
- Current sensor offset: SoC drifts during long drives and jumps after rest when the OCV correction is applied.
- Isolation fault: insulation resistance between the high voltage bus and the chassis falls, and the BMS blocks contactor closing.
- Thermistor failure: the BMS treats a missing temperature as unsafe and derates current.
The BMS controller itself is an embedded board, so choosing its microcontroller or microprocessor and its link to the AFE follows the same rules as any other safety critical controller.
Battery management system interview and viva questions
- What are the main functions of a battery management system? Sensing cell voltages, current and temperatures; protection against over and under voltage, overcurrent and temperature limits; SoC and SoH estimation; cell balancing; and contactor control and communication with the vehicle or charger.
- Why is coulomb counting alone not enough for SoC? Current sensor offset and an uncertain starting SoC add up over time, so the estimate drifts; it has to be corrected with the OCV and a cell model.
- Why is SoC estimation harder for LFP cells? The LFP open circuit voltage curve is almost flat in the middle of the SoC range, so voltage carries little information about SoC there.
- What is the difference between passive and active balancing? Passive balancing burns the extra charge of high cells in a bleed resistor; active balancing moves charge from high cells to low cells with capacitors, inductors or transformers.
- Why does a BMS use a precharge resistor? To charge the inverter DC link capacitor slowly before the main contactor closes, which avoids a large inrush current that would damage the contactors and capacitor.
Frequently asked questions
Can a lithium-ion pack work without a BMS?
Not safely. Lithium-ion cells have narrow voltage and temperature windows, and a series string drifts out of balance with use. Without a BMS nothing stops one cell being overcharged or overdischarged while the pack voltage still looks normal, which can damage the cell or start thermal runaway.
Why does an EV show a different range after the car has rested?
While driving, the BMS estimates SoC mainly by counting current, which slowly accumulates sensor error. After a rest the cell voltage relaxes towards its open circuit value, and the BMS can correct the SoC from the OCV and SoC curve. The displayed range then jumps to the corrected value.
Why is passive balancing used if it wastes energy?
It is simple, cheap and reliable: one resistor and one switch per cell, usually built into the cell monitoring chip. In a pack that is well matched the imbalance is small, so the energy burned is small too. Active balancing pays off mainly in large packs or ones with poorly matched or aged cells.
References
- G. L. Plett, Battery Management Systems, Volume I: Battery Modeling, Artech House, 2015
- G. L. Plett, Battery Management Systems, Volume II: Equivalent-Circuit Methods, Artech House, 2016
- D. Andrea, Battery Management Systems for Large Lithium-Ion Battery Packs, Artech House, 2010
- K. W. Beard (ed.), Linden's Handbook of Batteries, 5th ed., McGraw-Hill, 2019
- IEC 62619:2022 Secondary cells and batteries containing alkaline or other non-acid electrolytes, Safety requirements for secondary lithium cells and batteries, for use in industrial applications
- ISO 26262:2018 Road vehicles, Functional safety
- UN ECE Regulation No. 100, Uniform provisions concerning the approval of vehicles with regard to specific requirements for the electric power train
Get one engineering email a week
New articles, worked examples and study notes every week. Free, no spam, unsubscribe any time.