HSE-322 · Lesson 6 of 12 · 28 min
Lithium-ion cells, modules and battery management
Lithium-ion batteries have replaced lead-acid in most new data centre UPS installations. They take a third or less of the floor space for the same runtime, weigh much less, last ten to fifteen years instead of four to six, tolerate warmer rooms and can be monitored cell by cell. They also bring a hazard that lead-acid batteries do not have in the same form: a damaged or abused cell can enter thermal runaway, releasing flammable and toxic gas and possibly fire, and the failure can spread to other cells. Understanding how lithium-ion cells are built, how they are assembled into modules and racks, and how the battery management system protects them is the foundation for Lesson 7 on thermal runaway and Lessons 8 and 9 on detection, ventilation and suppression.
DCE-340 Lesson 3 covers lithium-ion batteries from an engineering perspective, including chemistry selection, sizing and lifecycle cost. This lesson focuses on the features that matter for safety.
Inside a lithium-ion cell
A lithium-ion cell has four main parts. The anode, usually graphite on copper foil, stores lithium ions when the cell is charged. The cathode, a lithium metal oxide or phosphate on aluminium foil, holds them when the cell is discharged. A thin porous polymer separator, typically polyethylene or polypropylene a few tens of micrometres thick, keeps the electrodes apart while letting ions pass. The electrolyte, a lithium salt in organic solvents, carries the ions between them. When the cell charges, lithium ions move from the cathode to the anode; when it discharges, they move back and electrons flow through the external circuit to do work.
Several features of this design matter for safety. The electrodes are separated only by the thin separator, so any defect, contamination or damage that lets them touch creates an internal short circuit. The electrolyte is flammable. A thin layer called the solid electrolyte interphase (SEI) forms on the anode during the first charges and protects the electrolyte from further reaction; it is stable in normal use but begins to break down at elevated temperatures. And the cathode materials, especially nickel-rich oxides, can release oxygen when they decompose at high temperature, which feeds combustion inside the cell even without air.
Cell formats
Cells come in three main formats. Cylindrical cells, such as the familiar 18650 and 21700 sizes, have a rolled electrode stack in a steel can with a vent and often a current interrupt device in the cap. Prismatic cells have a stacked or flattened winding in a rectangular aluminium or steel case, with a vent in the lid; large prismatic LFP cells of 100 Ah or more are common in data centre and energy storage batteries. Pouch cells have a stack sealed in a flexible laminated foil pouch, which is light and space-efficient but offers little mechanical protection and swells visibly when gas forms. Each format vents and fails differently, which affects how a module is designed to contain a failure.
| Feature | LFP (lithium iron phosphate) | NMC (nickel manganese cobalt oxide) |
|---|---|---|
| Nominal cell voltage | About 3.2 V | About 3.6 to 3.7 V |
| Energy density | Lower | Higher |
| Cycle life | Long | Moderate to long |
| Thermal stability | Higher; cathode does not readily release oxygen | Lower; nickel-rich cathodes can release oxygen |
| Thermal runaway behaviour (typical) | Higher onset temperature, less heat; may vent large gas volumes with lower flame tendency | Lower onset temperature, more heat, more vigorous venting and fire |
| Off-gas | Flammable; hydrogen often a large fraction | Flammable and toxic; more heat to ignite it |
| Use in data centres | Common in UPS and BESS | Common in earlier UPS products and some rack systems |
The comparison should not be read as LFP is safe and NMC is dangerous. LFP cells are less likely to enter thermal runaway and release less heat when they do, but they can release large volumes of flammable gas, which can be an explosion hazard precisely because there may be no flame to burn it off as it is released. Both chemistries require the protections described in this course.
From cells to modules, racks and systems
A data centre lithium-ion battery is assembled in levels. Cells are connected in series and parallel into a module, typically housed in a metal enclosure with its own monitoring board, temperature sensors and sometimes a fuse. Modules are stacked in a rack or cabinet and connected in series to reach the string voltage of several hundred volts, with a rack-level controller, a DC breaker or contactors and a fuse. Several racks are paralleled into a system connected to the UPS DC bus, supervised by a system-level controller that communicates with the UPS and the building management system.
Each level has a role in safety. The cell's own design, including its vent and any internal current interrupt device, is the first barrier. The module enclosure and any thermal barriers between cells are intended to slow or stop propagation of a failure to neighbouring cells. The rack provides isolation by contactors and fuses, and the system controller coordinates protection with the UPS. UL 9540A testing, introduced in Lesson 2, examines how a failure in one cell affects the module, the unit and the installation.
The battery management system
The battery management system (BMS) is the electronic supervisor of a lithium-ion battery. It measures cell voltages, temperatures and currents; calculates state of charge and state of health; balances cells so they stay at similar voltages; communicates with the UPS charger to control charging; and, most importantly for safety, opens contactors or signals the UPS to stop charging or discharging when any measurement goes outside safe limits. Lead-acid batteries can operate without a BMS, although monitoring is good practice; lithium-ion batteries must not.
The BMS protects against the conditions that most often lead to thermal runaway: overcharge (too high a cell voltage), over-discharge (too low a cell voltage, which can cause copper dissolution and later internal shorts), overcurrent, over-temperature during charge or discharge, and charging at low temperature, which can cause lithium plating on the anode. It typically uses staged thresholds: an advisory alarm, a stronger alarm that reduces charging current, and a protective trip that opens contactors.
| Condition | Why it matters | Typical BMS response (illustrative) |
|---|---|---|
| Cell overvoltage | Overcharge degrades the cathode and electrolyte and can trigger runaway | Alarm, then stop charging, then open contactors |
| Cell undervoltage | Over-discharge can cause copper dissolution and later internal shorts | Alarm, then stop discharge; may lock out the module until inspected |
| Cell over-temperature | Accelerates degradation and can approach SEI breakdown | Alarm, reduce current, then open contactors |
| Low-temperature charging | Can cause lithium plating and dendrites | Block or limit charging until warm |
| Overcurrent | Heats connections and cells | Limit current; fuse or breaker as backup |
| Cell voltage imbalance | Sign of a weak or failing cell | Balance cells; alarm if imbalance persists |
| Communication loss | BMS cannot see the cells | Fail safe: stop charging or open contactors |
A BMS is a safety system, and its settings are safety settings. Changing protective thresholds, disabling alarms, bypassing contactors or using a battery whose BMS has lost communication can remove the protection that keeps cells out of thermal runaway. Only the manufacturer or its authorized service personnel should change BMS configuration, under the site's management of change process, and any loss of BMS function should be treated as a condition requiring the battery to be taken out of service or placed under heightened watch as the manufacturer directs.
Reading BMS data for early warning
The BMS also provides early warning. Many cell failures are preceded by subtle signs: a cell whose voltage drifts away from its neighbours, a cell that self-discharges faster than others, a module that runs a few degrees warmer than its neighbours, or rising internal resistance. Trending these values and investigating outliers can catch a failing cell months before it fails. The program below simulates a simple version of this analysis on invented module data, applying staged temperature and voltage thresholds and flagging outliers relative to the rest of the rack.
import random, statistics
# Illustrative BMS-style screening of invented cell data for one rack (seeded).
random.seed(322)
modules, cells_per = 10, 16
V_ALARM_HI, V_TRIP_HI = 3.60, 3.65 # volts per LFP cell (illustrative thresholds)
T_ALARM, T_TRIP = 45.0, 55.0 # degrees C (illustrative thresholds)
data = []
for m in range(1, modules + 1):
for c in range(1, cells_per + 1):
v = random.gauss(3.38, 0.005)
t = random.gauss(27.0, 0.6)
data.append([m, c, v, t])
data[73][2] += 0.035 # one cell drifting high in voltage
data[74][3] += 6.5 # the adjacent cell running warm
volts = [d[2] for d in data]
temps = [d[3] for d in data]
v_mean, v_sd = statistics.mean(volts), statistics.stdev(volts)
t_mean, t_sd = statistics.mean(temps), statistics.stdev(temps)
for m, c, v, t in data:
notes = []
if v >= V_TRIP_HI or t >= T_TRIP:
notes.append("TRIP")
elif v >= V_ALARM_HI or t >= T_ALARM:
notes.append("ALARM")
if abs(v - v_mean) > 4 * v_sd:
notes.append(f"voltage outlier {v:.3f} V")
if abs(t - t_mean) > 4 * t_sd:
notes.append(f"temperature outlier {t:.1f} C")
if notes:
print(f"module {m:2d} cell {c:2d}: " + "; ".join(notes))
print(f"rack mean {v_mean:.3f} V, {t_mean:.1f} C; no thresholds reached means no automatic trip")module 5 cell 10: voltage outlier 3.410 V module 5 cell 11: temperature outlier 33.3 C rack mean 3.381 V, 27.1 C; no thresholds reached means no automatic trip
The result illustrates an important limit. Neither cell has reached an absolute alarm or trip threshold, so the BMS's protective functions have not acted, yet both stand out clearly from the rest of the rack. Outlier analysis of this kind, whether performed by the BMS vendor's analytics, the site's monitoring platform or a technician reviewing trends, is how failing cells are found before they become incidents. The 2022 Pangyo investigation, discussed in Lesson 12, found that the battery monitoring system had not detected any abnormality before the fire, which shows that monitoring is necessary but not sufficient.
Inspecting lithium-ion batteries
Routine inspection of lithium-ion battery systems is simpler than for lead-acid because there is no electrolyte to check and no watering. It still matters. Typical inspection items include BMS status and active alarms, cell voltage and temperature spreads, room temperature and humidity, the condition of cabinets and doors, signs of swelling or deformation of modules, unusual smells, sounds such as hissing or popping, and the status of any off-gas, smoke or heat detection. Any sign of physical damage, swelling or a smell around a lithium-ion battery should be treated as a possible precursor to thermal runaway and reported immediately rather than investigated by opening the cabinet.
Second-life and mixed batteries
A few operators and suppliers have experimented with second-life batteries, such as retired electric vehicle packs, for backup or energy storage. These batteries have unknown histories, mixed states of health and sometimes BMS designs not intended for stationary use. Mixing modules of different ages or from different production lots in one string can also create imbalance. Any use of second-life or mixed batteries in a critical facility should be treated as a significant change, requiring the manufacturer's approval, a hazard analysis and, where the fire code applies, listing to UL 9540 and the corresponding UL 9540A data.
Worked problem
Interpreting a BMS warning
The building management system at Cedar Ridge forwards a BMS advisory from the Hall 2 lithium-ion battery room: rack 3, module 5 shows one cell 30 mV above its neighbours and a cell temperature 6 °C above the rack average. No alarm or trip threshold has been reached. The overnight technician asks whether it can wait for the battery contractor's quarterly visit next month.
Show solution
- Recognize that the pattern, a voltage outlier with a temperature rise in the same module, may indicate a developing internal fault even though no threshold is reached.
- Check trends: is the deviation new or growing? Is the room temperature normal? Are other modules affected?
- Notify the site supervisor and the battery manufacturer's support line the same night, providing the BMS data.
- Follow the manufacturer's direction, which may include taking rack 3 offline by opening its contactors remotely, increasing monitoring frequency and arranging an urgent inspection.
- Do not open the cabinet or disturb the module to look; inspection should be done by trained personnel under a plan.
Answer: It should not wait. A growing outlier in voltage and temperature is an early warning sign. Report it the same night, check trends and follow the manufacturer's direction, which may include taking the rack offline.
Common mistakes
MistakeAssuming an LFP battery cannot cause an explosion because it rarely catches fire.
InsteadRecognize that LFP cells can release large volumes of flammable gas that may accumulate and explode.
MistakeChanging BMS thresholds or disabling alarms to reduce nuisance alerts.
InsteadTreat BMS settings as safety settings; changes only by the manufacturer under management of change.
MistakeRunning a lithium-ion battery with the BMS offline or not communicating.
InsteadTreat loss of BMS function as a safety condition and follow the manufacturer’s instructions, which may require taking the battery out of service.
MistakeWaiting for a threshold alarm before investigating a cell that stands out from its neighbours.
InsteadTrend BMS data and investigate outliers early.
MistakeOpening a cabinet to look at a module that smells or appears swollen.
InsteadTreat it as a possible thermal runaway precursor; report it and follow the emergency or manufacturer procedure.
Summary and key terms
- A lithium-ion cell has a graphite anode, a metal oxide or phosphate cathode, a thin separator and a flammable electrolyte.
- Internal shorts, SEI breakdown and cathode oxygen release are central to how cells fail.
- LFP is more thermally stable than NMC but can release large volumes of flammable gas.
- Cells are assembled into modules, racks and systems, each level with its own protection.
- The BMS monitors voltages, temperatures and currents, balances cells and opens contactors when limits are exceeded; its settings are safety settings.
- Trending BMS data and investigating outliers can find failing cells before they reach thresholds.
- Physical damage, swelling, smells or sounds from a lithium-ion battery should be reported immediately, not investigated by opening the cabinet.
- Anode
- The negative electrode of a lithium-ion cell during discharge, usually graphite.
- Cathode
- The positive electrode of a lithium-ion cell during discharge, a lithium metal oxide or phosphate.
- Separator
- A thin porous polymer film that keeps the electrodes apart while allowing ions to pass.
- Solid electrolyte interphase (SEI)
- A protective layer on the anode that becomes unstable at elevated temperature.
- Battery management system (BMS)
- The electronic system that monitors and protects a lithium-ion battery.
- Contactor
- An electrically operated switch used by the BMS to connect or disconnect a battery rack.
- Cell balancing
- Equalizing the charge of cells in a string so none is overcharged or over-discharged.
- Lithium plating
- Deposition of metallic lithium on the anode, often caused by charging at low temperature, which can lead to internal shorts.
- State of health
- An estimate of a battery’s remaining capability compared with when it was new.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name the four main parts of a lithium-ion cell.
Show answer
Anode, cathode, separator and electrolyte.
Why is the separator critical to safety?
Show answer
It is the only barrier between the electrodes; a defect or damage can cause an internal short circuit.
Why can nickel-rich cathodes make thermal runaway more severe?
Show answer
They can release oxygen when they decompose, feeding combustion inside the cell.
Why can LFP batteries still present an explosion hazard?
Show answer
They can release large volumes of flammable gas that may accumulate without immediately burning.
List four conditions the BMS protects against.
Show answer
Any four of overcharge, over-discharge, overcurrent, over-temperature, low-temperature charging, imbalance and communication loss.
What is a typical staged BMS response?
Show answer
An advisory alarm, then a stronger alarm with reduced current, then a protective trip that opens contactors.
Who may change BMS protective settings?
Show answer
Only the manufacturer or its authorized service personnel, under management of change.
Why is outlier analysis of BMS data useful?
Show answer
It can identify failing cells before they reach absolute alarm or trip thresholds.
What should be done if a lithium-ion module is swollen or smells?
Show answer
Report it immediately and follow the emergency or manufacturer procedure without opening the cabinet.
What extra checks are needed before using second-life batteries?
Show answer
Manufacturer approval, a hazard analysis and, where required, listing to UL 9540 with UL 9540A data.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.