Grid-scale energy battery storage is valued for what it can promise the network operator: a known quantity of energy, deliverable within a known time, at a known cost per cycle. Both halves of that promise collapse when the battery management system misjudges how much charge each cell holds, or when the cells inside a pack drift apart in voltage and SOC. State-of-Charge (SOC) estimation and cell balancing are usually engineered as separate problems — one a filtering problem, the other a power-electronics problem — yet they interact continuously. Balancing currents perturb the very measurements the estimator depends on, while balancing decisions are themselves triggered by SOC differences that inherit the estimator’s error. Treating them as a single control loop is therefore less a refinement than a structural requirement for large lithium storage assets.

Why estimation error and cell imbalance are coupled
A storage pack is a series-parallel assembly, and its usable capacity is bounded by the first cell to reach a cut-off threshold. If one cell is chronically undercharged, the pack must stop discharging while other cells still hold energy; if one is chronically overcharged, the pack must stop charging early. The consequence is measurable in both directions: reduced dispatchable capacity and accelerated ageing of the cells that do the most work. Overcharge and overdischarge also raise the risk of active-material degradation and, in the limit, thermal runaway.
Estimation error propagates through the same path. A SOC reading that is wrong by a few percentage points shifts the energy bid submitted to an ancillary-service market, produces state-of-charge deviations at the delivery point, and can push a string into a protection trip. Accurate estimation is thus an economic parameter as much as a safety one, and balancing without accurate per-cell SOC is only voltage balancing in disguise — a poorer proxy, because a flat voltage plateau hides large differences in stored charge.
Where SOC estimation breaks down
Lithium cells are not linear systems. The open-circuit voltage (OCV) is a monotonic but distinctly non-linear function of SOC, with a plateau across much of the mid-range and steep slopes at the extremes. That curve also moves with temperature, cycle count and ageing. At low temperature the OCV–SOC slope flattens further, so a small voltage measurement error maps onto a large SOC error. Capacity fade compounds the problem: after roughly 1,000 cycles, active-material loss reduces rated capacity by 15% to 20%, and any model that retains the original capacity value will scale its coulomb-counting increments incorrectly. Because coulomb counting integrates current, even a small bias accumulates without bound until a voltage-based correction re-anchors the estimate.
Limits of established techniques
On the estimation side, the extended Kalman filter (EKF) is the workhorse because it handles mild non-linearity at modest computational cost, but linearising the OCV curve at each step leaves it vulnerable to filter divergence when parameters drift or the operating point changes abruptly. Unscented Kalman filtering improves non-linear approximation through a deterministic sigma-point set, at a computational load that is difficult to sustain on low-cost embedded controllers. Machine-learning estimators can fit complex non-linear relationships but depend on large labelled training sets, generalise poorly to unseen operating conditions, and are prone to overfitting to the duty cycles present in the training data.
On the balancing side, the topology determines whether the architecture is viable at scale:
- Flying-capacitor topologies suffer from long energy-transfer paths and reported losses in the 8%–12% range, and are best suited to low-voltage packs with few cells.
- Inductor-based topologies lose less energy per transfer but balance slowly; for packs with many cells, equalisation can take hours, which is incompatible with fast-response grid duties.
- Matrix topologies shorten transfer paths but carry complex control logic and high hardware cost.
Control strategy adds a second constraint. Fixed-parameter PI controllers cannot adapt to the changing dynamic behaviour of aged cells, while model predictive control improves accuracy at a computational cost that jeopardises real-time execution. Topologies designed for a specific cell count also lose economy when the pack is resized, since the balancing network must be redesigned rather than extended.
An adaptive extended Kalman filter built on a Thevenin model
The estimator uses a first-order Thevenin equivalent circuit: an OCV source in series with an ohmic resistance R0, a parallel polarisation branch of resistance R1 and capacitance C1, and a terminal voltage UL. Taking discharge current as positive, the discrete state and observation equations are
$$\mathrm{SOC}(k) = \mathrm{SOC}(k-1) – \frac{\eta\,\Delta t}{Q_N}\,I_L(k) + w_1(k)$$
$$U_p(k) = \mathrm{e}^{-\Delta t/(R_1 C_1)}\,U_p(k-1) + R_1\left(1-\mathrm{e}^{-\Delta t/(R_1 C_1)}\right) I_L(k) + w_2(k)$$
$$U_L(k) = \mathrm{OCV}\left(\mathrm{SOC}(k)\right) – U_p(k) – R_0 I_L(k) + v(k)$$
$$\mathrm{OCV}(\mathrm{SOC}) = \sum_{i=0}^{n} a_i\,\mathrm{SOC}^{i}$$
Here Up is the polarisation voltage, IL the load current, QN the rated capacity in ampere-hours, Δt the sampling period (100 ms in the target design), and η the coulombic efficiency, typically 0.95–0.99. The polynomial coefficients ai are obtained by fitting measured OCV–SOC data, and w1, w2 and v are zero-mean Gaussian noises with covariances Q and R respectively.
Two modifications address the divergence problem. First, the process and observation noise covariances are adapted online by residual covariance matching, so that a growing innovation sequence inflates the model uncertainty and simultaneously relaxes reliance on the measurement:
$$Q(k) = Q(k-1) + \alpha\left[e(k)e(k)^{\mathsf{T}} – P_y(k)\right]$$
$$R(k) = R(k-1) + \beta\left[e(k)e(k)^{\mathsf{T}} – P_y(k)\right]$$
where e(k) is the innovation — measured terminal voltage minus the voltage predicted from the prior state estimate — Py(k) is the predicted observation covariance, and α and β are small adaptation gains in the ranges 0.01–0.05 and 0.005–0.02. Because α and β are deliberately small, the covariances evolve over many samples rather than tracking individual transients, which keeps the filter stable under noisy current measurements.
Second, the SOC initial value is corrected against the OCV curve after a suitable rest period, so that the state vector starts near the true operating point instead of inheriting the previous session’s drift. This is the mechanism that prevents unbounded accumulation of coulomb-counting bias: the voltage measurement periodically re-anchors the integral rather than replacing it.
Hierarchical active balancing with bidirectional DC/DC converters
The balancing architecture is organised into three layers. The sensing layer samples cell voltage, current and temperature every 100 ms. The decision layer removes outliers with a five-point moving average filter and tests two conditions, triggering balancing when the inter-cell voltage spread exceeds 50 mV or the SOC spread exceeds 2%. The execution layer converts that decision into PWM drive signals for bidirectional DC/DC converters that move charge between an individual cell and a common DC bus held at the pack’s nominal voltage.
Each converter operates in buck mode when its cell voltage exceeds the pack average, delivering the surplus to the bus, and in boost mode when the cell falls below average, drawing energy back from the bus. The transferred power scales as
$$P = \frac{U_{bat}\,U_{bus}\,D(1-D)}{R_{eq}}$$
with Ubat the cell voltage, Ubus the common-bus voltage, D the PWM duty cycle, and Req the converter’s equivalent internal resistance, in the range 0.01–0.05 Ω. The quadratic D(1−D) term peaks at D = 0.5 and vanishes at both extremes, which explains why the controller modulates duty around the midpoint and why the deliverable balancing power is capped — in this design between 50 W and 500 W — to keep bus voltage ripple and converter control effort within acceptable bounds. Because every cell uses an identical converter module against a shared bus, increasing the cell count adds modules rather than redesigning the network.
Control is split into two levels: cell-level equalisation within a module of 16 cells, aimed at driving the voltage spread to zero, and module-level equalisation across modules, aimed at moving energy between groups of cells. Both use PI controllers, with parameters scheduled by operating condition rather than fixed.
| Control level | Parameter | Setting range | Adjustment condition | Control objective |
|---|---|---|---|---|
| Cell level | Proportional gain Kp | 0.5–2.0 | Voltage deviation 50–100 mV | Rapid reduction of voltage spread |
| Cell level | Integral gain Ki | 0.01–0.1 | Voltage deviation ≤ 50 mV | Elimination of steady-state offset |
| Module level | Proportional gain Kp | 1.0–3.0 | Module SOC deviation 2%–5% | Fast transfer of module energy |
| Module level | Integral gain Ki | 0.05–0.2 | Module SOC deviation ≤ 2% | Stable module energy state |
Coordinating estimation and balancing in one loop
In the integrated scheme, the adaptive EKF supplies per-cell and pack-level SOC continuously, and those estimates — together with the voltage spread — set the balancing trigger. Balancing starts when the SOC spread exceeds 2% or the voltage spread exceeds 50 mV, and stops when the spread falls below 1% SOC or 30 mV, at which point the system reverts to estimation-only mode. The difference between start and stop thresholds provides hysteresis, preventing chattering around a single setpoint.
Because balancing injects current pulses that bias coulomb counting, the SOC estimate is blended during balancing with the measured cell average:
$$\mathrm{SOC}_{corr}(k) = \omega_1\,\mathrm{SOC}_{EKF}(k) + \omega_2\,\mathrm{SOC}_{avg}(k), \qquad \omega_1 + \omega_2 = 1$$
During balancing the weights are set to ω1 = 0.6 and ω2 = 0.4, pulling the estimate toward the consensus of the pack; outside balancing they revert to ω1 = 0.9 and ω2 = 0.1, so that the filter’s own dynamics dominate. This is a pragmatic weighting rather than a statistically optimal fusion, but it bounds the divergence between individual estimates and pack average while the balancing currents flow.
The control core is a TMS320F28335 digital signal controller operating at 150 MHz with 32-bit floating-point arithmetic, which runs both the EKF recursion and the balancing loops. The associated hardware is summarised below.
| Module | Device | Key parameters | Function | Interface |
|---|---|---|---|---|
| Control core | TMS320F28335 | 150 MHz, 32-bit floating point | Runs SOC estimation and balancing algorithms | SPI, CAN, GPIO |
| Data acquisition | ADS1256 | 24-bit, 100 SPS | Samples cell voltage, current and temperature | SPI |
| Gate drive | IR2110 | 12–15 V drive, 2 A maximum output | Drives the bidirectional DC/DC converters | GPIO |
| Communication | TJA1050 transceiver | 250 kbps–1 Mbps | Links to the station-level controller | CAN |
| Power supply | LM2596 | 12–24 V input, 5 V/3.3 V output | Supplies the module rails | DC input |
Validation on a 16-cell 18650 platform
The scheme has been evaluated on a 16-cell 18650 platform with 2,200 mAh cells at 3.7 V nominal, cycled at 0.5C in a 25 °C ambient with a 100 ms sampling period. Against a conventional EKF baseline, the adaptive filter reduced maximum SOC error to 1.2% with a mean error of 0.7%; the reported 65.7% accuracy improvement corresponds to a baseline maximum error of roughly 3.5%, which is consistent with EKF behaviour when the OCV curve is linearised around a drifting operating point. Balancing started from a maximum cell voltage deviation of 82 mV and reached 28 mV after 35 minutes, with a residual SOC spread of 0.8% — both inside the release thresholds — while dissipating 4.3% of the transferred energy.
| Indicator | Result |
|---|---|
| Maximum SOC estimation error, adaptive EKF | 1.2% |
| Mean SOC estimation error, adaptive EKF | 0.7% |
| Accuracy improvement over conventional EKF | 65.7% |
| Maximum cell voltage deviation before balancing | 82 mV |
| Maximum cell voltage deviation after 35 min | 28 mV |
| Residual SOC deviation after balancing | 0.8% |
| Balancing energy loss | 4.3% |
The 4.3% loss figure is the most directly comparable number against the 8%–12% reported for flying-capacitor networks, and it follows from the architecture rather than from tuning: a shared bus with one converter per cell shortens the transfer path to a single conversion stage in each direction. The 35-minute equalisation time is likewise a consequence of the 50–500 W power envelope, which trades speed against bus stability.
Trade-offs and deployment considerations
Several boundaries limit how far these results generalise. The validation covers a single ambient temperature, a single C-rate and cells of one capacity, so behaviour at low temperature — where the flattened OCV–SOC slope is least forgiving — and in aged packs with 15%–20% capacity fade remains to be established. Ageing matters twice over: it shifts the OCV curve that anchors the estimate and changes the internal resistance that sets balancing power. Periodic OCV recalibration and online identification of R0, R1 and C1 are the natural countermeasures, and they add computational load to a controller that is already running two Kalman recursions and a set of PI loops.
The blending weights and the trigger thresholds are similarly operating-point dependent. A 2% SOC trigger is meaningful only when SOC estimates are accurate to well under 2%; if estimation error approaches the threshold, the balancer will respond to noise. This is the practical argument for co-design: the credibility of the balancing decision is bounded by the accuracy of the estimate that generates it, and the accuracy of that estimate is degraded by the currents the balancer commands. Closing the loop between the two — with hysteresis, residual-adaptive noise covariances and a measured-average correction during transfer — is what allows a lithium energy battery storage system to be dispatched on the basis of its reported state of charge rather than on a conservative margin above it.
