Why module-level energy balance limits usable capacity
Grid-scale energy battery storage has moved from a supporting asset to a structural component of power systems with high renewable penetration. In China, the 2024 technical standard for connecting electrochemical storage plants to the grid (GB/T 36547—2024) requires newly built wind and photovoltaic plants to install storage sized at no less than 10–20 % of rated generation capacity, which fixes the scale of the problem: storage is now measured in hundreds of megawatts and must operate under dispatch commands that change continuously.
Among converter topologies, the cascaded H-bridge (CHB) is attractive for medium- and high-voltage energy battery storage because it reaches distribution and sub-transmission voltage levels without a line-frequency transformer, produces a multilevel output with low harmonic content, and scales modularly. Its weakness is structural: each submodule has its own DC bus and its own battery, so unequal switching and conduction losses, slightly different modulation, and cell-to-cell variations in self-discharge make the modules drift apart in state of charge (SoC). Once SoC diverges, the weakest module limits the whole phase leg, usable capacity falls, and continued operation risks over-modulation, protection trips and accelerated ageing.
Balancing methods for CHB storage fall into two families. Inter-phase balancing redistributes power among the three phases, either by injecting a zero-sequence voltage into the phase voltage references or by superimposing a negative-sequence current on the three-phase current references. Zero-sequence injection has limited authority and is slow when the imbalance is large; negative-sequence injection acts faster but alters the power delivered by the converter and degrades power quality at the point of connection. Hybrid schemes switch between the two modes, at the cost of an accurate SoC estimate to decide when to switch. Intra-phase balancing is usually implemented through the modulation stage—deriving per-module triangular carriers from SoC, or rescaling each module’s modulation voltage amplitude—which either performs poorly for chemistries with a flat SoC–open-circuit-voltage slope or excites pronounced capacitor voltage excursions during transients. Adjusting both amplitude and phase redistributes active power more effectively but injects reactive power, increasing both losses and voltage stress.
Common to nearly all of these schemes is a fixed balancing coefficient. A fixed coefficient cannot serve both endpoints of the task: large coefficients widen the reachable power margin and shorten convergence, but erode the small-signal stability of the converter; small coefficients are stable but converge slowly, and the balancing loop stalls as the SoC spread shrinks. A second, largely untreated issue is the DC-side voltage surge. Storage converters follow dispatch commands that reverse power frequently, and each reversal drives the module capacitors through a transient that the balancing loop itself amplifies, since balancing deliberately makes module powers unequal.

Two-stage topology and the origin of the control problem
The circuit considered here is a single-phase equivalent of a three-phase, two-stage CHB energy battery storage system. Each phase consists of *n* full-bridge submodules connected in series and interfaced to the grid through a filter inductor *L*S. Inside a submodule, the battery is connected to the H-bridge DC terminals through a bidirectional DC/DC converter, and the H-bridge DC link is supported by capacitor *C*i.
The DC/DC stage is not optional. A single-phase H-bridge exchanges double-line-frequency pulsating power with the grid, and if that ripple reached the battery it would accelerate ageing and corrupt SoC estimation. The DC/DC converter decouples the battery from the ripple, at the price of one more controlled stage whose dynamics interact with the H-bridge.
Control is organised in two layers:
– **CHB converter control.** A grid-tied dual loop: an inner current loop using a quasi-proportional-resonant controller for zero steady-state error at the fundamental, and an outer loop regulating the mean submodule capacitor voltage and the reactive power with conventional PI controllers. Capacitor voltage sharing among modules is handled by a classical closed loop that multiplies the module current error by the sign of the module current.
– **Storage unit control.** A power outer loop and inductor-current inner loop on the DC/DC converter. The power reference of module *i* is not simply *P*ref/*N*; it is supplied by the SoC-balancing loop, which is where the two problems addressed here originate.
Encoding SoC deviation as a power correction
The SoC of module *i* evolves with its own battery power:
$$S_{SoC,i}(t)=S_{SoC,i}(t_0)+\frac{1}{C_n}\int_{t_0}^{t}P_{Bat,i}(\tau)\,\mathrm{d}\tau$$
where *C*n is rated capacity. With uniform power sharing, every module draws *P*ref/*N* and the SoC differences frozen at *t*0 persist indefinitely. The balancing law therefore introduces a power balancing coefficient *k*i:
$$k_i=\frac{1}{N}+\Delta k_i,\qquad \sum_{i=1}^{N}\Delta k_i=0,\qquad P_{ref,i}=k_iP_{ref}$$
The zero-sum condition on the corrections guarantees that balancing does not disturb the total power dispatched to the grid—only its distribution among modules. Two operating regimes are possible. With 0 < *k*i < 1 all modules remain in the same charge or discharge state: during discharge, modules with higher SoC receive larger *k*i and deliver more power, and the roles reverse during charging. With −1 < *k*i < 1 and *k*i ≠ 0, some modules charge while others discharge, which balances faster but leaves the battery fleet in mixed states and complicates the power interaction between modules; poor parameter choices in this regime degrade both stability and output power quality. The first regime is adopted here to keep every module on the same side of the charge/discharge boundary.
The coefficient is derived from the measured SoC distribution. Module SoCs are sorted, their mean *S*SoC,ave is computed, and the deviation Δ*S*SoC,i = *S*SoC,i − *S*SoC,ave sets
$$k_i=K_{SoC}\,\Delta S_{SoC,i}\,\mathrm{sign}\!\left(P_{ref}\right)+\frac{1}{N}$$
so that the sign of the dispatch command automatically selects which modules work harder.
Adaptive gain: keeping speed at both large and small SoC spread
A constant gain *K*SoC makes the correction shrink in proportion to the deviation, so the last part of the balancing process—precisely the part that determines when the system can return to full capacity—is the slowest. The gain is therefore scheduled on the maximum spread Δ*S*SoC,max = *S*SoC,max − *S*SoC,min:
$$K_{SoC}=\begin{cases}K_{min}, & \Delta S_{SoC,max} > \Delta S_{SoC}\\[6pt] \min\left\{\dfrac{a_1}{a_2\,\Delta S_{SoC,max}^{\,a_3}}+2K_{min},\;K_{max}\right\}, & \Delta S_{SoC,max}\le \Delta S_{SoC}\end{cases}$$
Above the threshold Δ*S*SoC the system is in coarse balancing and runs at a fixed, moderate gain. Below it, the gain follows a power law that rises as the spread narrows, bounded by *K*max so that the loop does not become infinitely stiff as the deviation tends to zero. The coefficients *a*1, *a*2, *a*3 are chosen so that the point where the function’s slope equals −1 falls near Δ*S*SoC,max = 0.1, which keeps the gain rising steeply through the final approach instead of flattening out.
The scheduling range is bounded by a power margin. Module output is kept within 0.8–1.2 times its nominal share, so that no module is overloaded and the phase-leg power distribution stays close to uniform:
$$0.8\,\frac{1}{N}\le k_i\le 1.2\,\frac{1}{N}$$
Substituting the balancing law in the coarse region gives the design inequality
$$\left|K_{min}\left(S_{SoC,i}-S_{SoC,ave}\right)\right|\le\frac{0.2}{N},\qquad 0.5\,K_{min}\,\Delta S_{SoC}<\frac{0.2}{N}$$
where the second form uses the worst case in which the extreme modules sit roughly half the total spread away from the mean. For *N* = 10 submodules and a threshold Δ*S*SoC = 0.5 (50 percentage points), the inequality allows *K*min < 0.08, and *K*min = 0.05 is selected with margin. The same 20 % power constraint, evaluated at the smallest spread of interest (Δ*S*SoC,max < 0.1), fixes the upper saturation *K*max, so the loop never asks a module for more than its permitted share even when the batteries are nearly equal.
Implementation requires only the sign of the dispatch command, the sorted SoC vector, the mean, and the maximum deviation, from which the gain and then the per-module power references are computed. No additional communication between submodules is needed beyond the SoC values already collected for monitoring.
Where the DC-side surge comes from
In an energy battery storage system, the DC/DC converter controls total active power while the DC/AC converter regulates reactive power and grid current. When the dispatch command reverses, the power flow path inverts, but the two stages do not respond at the same speed: the DC/DC converter actively absorbs or delivers power according to its power loop, while the DC/AC stage rebalances passively through its current loop and lags behind. During the interval in which the two responses disagree, the capacitor supplies the deficit, so its voltage sags on a charge-to-discharge transition and rises on the opposite transition. With SoC balancing active, module powers are intentionally unequal, the imbalance between module powers increases, and the excursions grow. Repeated reversals then produce irregular voltage spikes that stress capacitor insulation, shorten capacitor life, and can trip the converter.
The mechanism is a property of the power-loop tuning, not of the hardware. Replacing the H-bridge side of a submodule with an equivalent resistance *R* that consumes active power, the DC/DC small-signal response from duty-ratio disturbance to capacitor voltage is
$$G_E(s)=\frac{U_{in}}{(1-D)^2}\cdot\frac{1-\dfrac{L}{R(1-D)^2}s}{1+\dfrac{L}{R(1-D)^2}s+\dfrac{LC}{(1-D)^2}s^2}$$
and closing the current loop and power loop around it yields, after neglecting the right-half-plane zero and assuming the current loop is much faster than the power loop,
$$G_{U_c-P_{ref}}(s)\approx\frac{G_E(s)G_p(s)}{1+\dfrac{2U_c}{R}G_E(s)G_p(s)}$$
with *G*p(*s*) the power-loop PI controller, *U*c the rated capacitor voltage, and the factor 2*U*c/*R* the local sensitivity of output power to capacitor voltage. The closed-loop characteristic equation is third order:
$$s^3+\left(p+2\zeta\omega_n\right)s^2+\left(\omega_n^2+2\zeta\omega_n p\right)s+\omega_n^2p=0$$
with coefficient matching
$$p+2\zeta\omega_n=\frac{1}{RC},\qquad \omega_n^2+2\zeta\omega_n p=\frac{(1-D)^2}{LC}+\frac{2U_{in}U_cK_{P,p}}{RLC},\qquad \omega_n^2p=\frac{2U_{in}U_cK_{I,p}}{RLC}$$
so the damping ratio and natural frequency are explicit functions of the proportional gain *K*P,p and integral gain *K*I,p. Both gains buy tracking speed at the expense of damping: raising them tightens command following (necessary when the dispatch signal changes frequently) and simultaneously lowers the damping ratio, so the same power step produces a larger voltage overshoot. The surge is therefore inherent to any fixed aggressive tuning of the power loop, and the natural remedy is to schedule the tuning on the capacitor voltage error itself.
Feedforward suppression: scheduling the power loop on voltage error
The compound controller keeps the SoC-balancing loop in place and adds a capacitor voltage feedforward path. The mean capacitor voltage is compared with its reference; when the deviation exceeds a threshold Δ*U*, the power-loop gains are reduced, the closed-loop damping rises, and the effect of the reference-power step on capacitor voltage is attenuated. Once the deviation falls below Δ*U*, the gains are raised again so the module returns quickly to its commanded power. Because the capacitor voltage carries an unavoidable second-harmonic ripple, the measured *U*c,ave is first passed through a notch filter tuned to twice the fundamental frequency; otherwise the ripple would continuously modulate the gains.
Gain scheduling uses a bounded exponential function of the voltage error *x*:
$$K_{P/I}(x)=\frac{t_{P/I}}{1+c_{P/I}\,e^{d_{P/I}x}}+l_{P/I}$$
The parameters *t*P/I and *l*P/I set the upper and lower limits and must be chosen such that the closed-loop characteristic equation retains all poles in the left half-plane for every admissible *x*. The function has its steepest slope, of magnitude *t*P/I*d*P/I/4, at *x*0 = −ln(*c*P/I)/*d*P/I; placing *x*0 slightly above Δ*U* makes the controller switch decisively between the damped and the fast regime rather than drifting between them.
Simulation results
A 1 MW, 10-submodule single-phase equivalent model with lithium battery units was built in MATLAB/Simulink using the parameters in Table 1. Initial SoC values were set between 69.6 % and 70.4 % across the ten modules, and battery capacity was deliberately reduced so that a full balancing process would fit inside a simulation run.
| Parameter | Value |
|---|---|
| Grid-side phase voltage (RMS) | 5.77 kV |
| Rated power | 1 MW |
| Number of submodules | 10 |
| Filter inductance | 5 mH |
| Submodule capacitance | 5 mF |
| Rated capacitor voltage | 1 kV |
| Battery rated capacity | 15 Ah |
| Battery rated voltage | 0.6 kV |
| Boost inductance | 5 mH |
The dispatch profile was +1 MW (discharge) for 0–3 s, −1 MW (charge) afterwards, and back to discharge, with reactive power stepped from 0 to 0.2 Mvar at 1.5 s, to −0.2 Mvar, and back to zero. The converter tracked both active and reactive commands accurately through all four quadrants, confirming that the grid-tied control layer imposes no restriction on the balancing function. Without balancing, all modules shared power equally and their SoC trajectories remained parallel.
With balancing enabled at 0.5 s, module powers diverged as intended, the SoC trajectories converged, and the twelve-module spread collapsed to zero in about 8 s while every module stayed in the same charge or discharge state. A conventional fixed-coefficient scheme with the same nominal settings converged more slowly; raising its coefficient to match the adaptive scheme’s speed drove the same system into instability at the same SoC spread, which is the direct experimental illustration of the range-versus-speed tradeoff that motivates gain scheduling.
For the voltage surge, three configurations were compared at the two power reversals. Under the conventional fixed-coefficient strategy the capacitor voltage showed pronounced overshoot. With the adaptive balancing loop but no feedforward suppression, the overshoot reached about 19 % and 17 % of the steady-state value at the two reversals. With the feedforward path active and Δ*U* set to 5 % of steady-state voltage, the overshoot fell to about 9.7 % and 9.5 %—roughly half the unsuppressed value, and up to about 75 % below the conventional strategy.
Hardware-in-the-loop validation
A four-submodule CHB energy battery storage system was implemented on a hardware-in-the-loop platform: an RTDS real-time digital simulator reproduced the main circuit, and a DSP plus FPGA controller (TMS320C28346 main processor, FPGA for I/O expansion) ran the control code, with power commands issued from a host interface. Circuit parameters are listed in Table 2.
| Parameter | Value |
|---|---|
| Grid-side phase voltage (RMS) | 6 kV |
| Number of submodules | 4 |
| Rated capacitor voltage | 2.5 kV |
| Battery rated voltage | 1.2 kV |
| Battery rated capacity | 1500 Ah |
Active and reactive power commands were changed at five instants to exercise all four quadrants while balancing remained enabled. With the initial SoC offsets imposed on the four modules, about half an hour of operation reduced the spread to a negligible value—the expected consequence of the much larger cell capacity in the experimental setup, which stretches the same balancing law over a far longer horizon.
For the surge test, reversing active power at two instants produced capacitor voltage overshoot of 10.4 % and 8.8 % of steady-state voltage without feedforward suppression. With suppression enabled, the same reversals produced 4.8 % and 4.0 %, a reduction of more than half and consistent with the simulated 50 % improvement.
What the design implies in practice
Three properties distinguish this control structure from the alternatives. First, the balancing action is expressed entirely as a bounded redistribution of module power around the nominal share, with a zero-sum constraint, so the grid-side power delivered by the converter is unaffected and no zero-sequence voltage or negative-sequence current has to be injected; power quality at the point of connection is untouched, and no reactive power is spent on balancing. Second, gain scheduling on the SoC spread removes the fixed-coefficient compromise: the power margin is respected at large spread, while convergence remains fast in the final approach where a fixed gain would stall. Third, the transient surge is treated as a tuning problem in the power loop rather than as a hardware limitation, and the feedforward path that fixes it is orthogonal to the balancing law, so the two can be commissioned independently.
The scope of the evidence should be read together with the parameter sets: a 1 MW, 10-module simulation with 15 Ah cells and a 6 kV, 4-module hardware-in-the-loop system with 1500 Ah cells. Balancing time scales inversely with the power margin and directly with cell capacity, so the 8 s and half-hour figures are not transferable as absolute numbers; what transfers is the shape of the tradeoff. The scheme assumes SoC values are available with reasonable accuracy but does not require the high-fidelity estimator that mode-switching hybrid strategies demand, since the gain depends on relative deviations rather than on absolute SoC. The same formulation applies to inter-phase balancing, where the balancing variable becomes phase energy rather than module energy, which makes it a candidate for a unified controller covering both levels of a CHB energy battery storage system. The main open question is the interaction between the scheduled power-loop gains and the grid-tied outer voltage loop when many modules act simultaneously—a coupling this study bounds by means of the 20 % power margin but does not resolve analytically.
