Sodium-ion batteries are increasingly considered for grid-scale battery energy storage because sodium is abundant, cost trajectories are favorable, and the chemistry offers a useful safety profile. In a multi-module string, however, equal module performance cannot be assumed. Differences in voltage, capacity, and internal resistance cause uneven power delivery during charge and discharge, reducing usable energy and accelerating stress on the weakest module. The control problem is therefore not only to equalize voltage but to allocate balancing current while respecting efficiency, thermal limits, and converter capability.

Imbalance mechanisms in sodium-ion storage modules
Module-to-module power imbalance appears as persistent differences in terminal voltage, available capacity, and internal resistance during cycling. Manufacturing tolerances in electrode thickness, material formulation, and electrolyte distribution create small initial differences in capacity and impedance. These differences are amplified by operating conditions. Temperature gradients across a container or rack alter reaction rates and impedance growth, so modules in warmer positions can age faster. Unequal charge and discharge rates add another mechanism: under high-rate discharge, polarization causes some modules to lose voltage faster than others, which can trigger protective limits before the full string is exhausted.
The consequences are cumulative. A weak module limits the usable capacity of the whole string, increases the frequency of conservative derating, and raises thermal stress in adjacent modules during balancing. Voltage spread is the most visible symptom, but the underlying variable is unequal charge and energy availability. A balancing strategy that only suppresses voltage differences without considering state of charge, current stress, and temperature can improve one indicator while worsening another.
Passive, active, and BMS-based balancing
Passive balancing dissipates energy from higher-voltage modules through parallel resistors. It is simple and inexpensive, but the excess energy is converted to heat and cannot be recovered. In high-power energy storage, the heat load and the limited discharge current reduce its usefulness for large modules. A typical implementation uses a controlled resistor across each module, with a trigger threshold and a current limit to protect the resistor and switch.
Active balancing transfers energy between modules through DC–DC converters, inductors, or capacitors. Because energy is redistributed rather than burned, active balancing can achieve higher energy utilization. The penalty is circuit complexity: bidirectional converters, current sensing, isolation, and real-time control increase hardware cost and software burden. The converter must also handle fault conditions, current limits, and thermal constraints without introducing new failure modes.
Battery management system (BMS) based balancing combines sensing, state estimation, and control logic. The BMS collects voltage, current, and temperature data, identifies imbalance, and activates either passive or active balancing. This approach can be more precise than fixed-threshold resistor control, but its performance depends on sampling accuracy, algorithm quality, and the reliability of the BMS itself. A centralized BMS also concentrates communication and computation, which can slow response in large strings.
Electrical model and hierarchical control architecture
The module model used for control design is a second-order RC equivalent circuit. Each module is represented by an open-circuit voltage (OCV), an ohmic internal resistance, a polarization resistance, and a polarization capacitance. The OCV–SOC relationship is represented by a fifth-order polynomial, and the state equations are derived from Kirchhoff’s laws. The terminal voltage, polarization voltage, and balancing current are included in the state vector so that the internal electrochemical behavior and the external balancing circuit are coupled in one model.
| Parameter | Value |
|---|---|
| Ohmic internal resistance, \(R_0\) | 2–5 mΩ |
| Polarization resistance, \(R_p\) | 1–3 mΩ |
| Polarization capacitance, \(C_p\) | 1,000–3,000 F |
| Balancing-loop equivalent resistance | ≈15 mΩ, including wiring loss |
| Balancing efficiency factor | 0.85–0.92 |
| Converter topology | Bidirectional flyback, 1:1 turns ratio |
| Switching frequency | 50 kHz |
| Power MOSFET on-resistance | Less than 10 mΩ |
The balancing circuit uses a bidirectional flyback converter with a 1:1 turns ratio and a 50 kHz switching frequency. Power MOSFETs with on-resistance below 10 mΩ limit conduction loss, while the balancing-loop equivalent resistance is about 15 mΩ including wiring loss. The efficiency factor of the balancing path is treated as 0.85–0.92, depending on current and operating point.
The control architecture is organized in three layers. The acquisition layer samples module voltage, current, and temperature at 100 Hz. The architecture specifies 16-bit ADCs; the experimental controller used a 12-bit ADC with 1.2 mV resolution, which sets a different quantization floor but remains well below the 50 mV balancing threshold. The decision layer activates balancing when the maximum module voltage difference exceeds 50 mV and calculates a priority weight for each module. The execution layer drives the bidirectional DC–DC converters through PWM duty-cycle commands.
The priority weight combines voltage deviation and state-of-charge deviation:
$$ w_i = \alpha |U_i – \bar{U}| + \beta |SOC_i – \overline{SOC}| $$
where \(\alpha = 0.7\) and \(\beta = 0.3\). \(\bar{U}\) is the average module voltage, and \(\overline{SOC}\) is the average state of charge. The weight determines which modules receive balancing current first and how strongly the converter responds.
In the execution layer, a PI loop adjusts the duty cycle around an initial value:
$$ D = D_0 + K_p \Delta U + K_i \int \Delta U \, dt $$
with \(D_0 = 0.45\), \(K_p = 0.02\ \mathrm{mV^{-1}}\), and \(K_i = 0.001\ \mathrm{mV^{-1}s^{-1}}\). The PI action smooths the balancing current and reduces overshoot. If module temperature exceeds 45°C or current exceeds 5 A, the duty cycle is reduced below 0.3 to protect the converter and cells.
The balancing objective is formulated as a constrained minimization:
$$ J = \min \left[ \frac{1}{N}\sum_{i=1}^{N}(U_i-\bar{U})^2 + \lambda \frac{1}{N}\sum_{i=1}^{N} I_i^2 \right] $$
where \(N\) is the number of modules, \(I_i\) is the balancing current of module \(i\), and \(\lambda = 0.1\) limits current amplitude to avoid overloading the power devices. The first term penalizes voltage dispersion; the second term penalizes excessive balancing current. Each control cycle is 10 ms, so acquisition, decision, and execution form a complete closed loop within one sampling interval.
Improved PSO for current allocation
An improved particle swarm optimization (PSO) algorithm solves the current-allocation problem. Each particle represents a set of balancing currents for the modules. The initialization uses 30 particles, a velocity limit of 2 A/s, and a position range of ±5 A. The inertia weight decreases linearly from 0.9 to 0.4, and the learning factors are \(c_1 = c_2 = 2.0\).
Every 10 ms, the controller samples module voltage, current, and temperature and computes the maximum voltage difference. Balancing is triggered when the difference exceeds 50 mV; otherwise the system remains in monitoring mode. The fitness value is calculated from \(J\), with a penalty of 0.2 added when a module temperature exceeds 40°C. The penalty discourages solutions that concentrate current in hot modules.
Particle updates follow the individual best position and the global best position. During each update, the controller checks the current change rate. If a candidate exceeds 0.5 A/ms, the velocity component for that dimension is set to zero. The algorithm terminates after five consecutive iterations with a global-best change below 0.01 or after 50 iterations. The resulting current allocation is converted to PWM duty-cycle values through a lookup table with 0.1% precision.
Safety limits override the optimization result. If any module voltage falls below 2.5 V or rises above 4.2 V, balancing is interrupted and an alarm is issued. Temperature above 45°C or current above 5 A also forces a reduction in duty cycle. These limits define the safe operating boundary within which the optimizer is allowed to act.
Simulation and experimental comparison
A MATLAB/Simulink platform with eight sodium-ion battery modules was used to evaluate the hierarchical strategy against three conventional approaches. Each module used the second-order RC model. The initial SOC values were 85%, 82%, 79%, 83%, 81%, 84%, 78%, and 80%, representing realistic module-to-module variation. The balancing converter used a transformer with leakage inductance below 20 μH and a PC40 magnetic core; converter loss at 50 kHz was 0.8 W. The controller platform used an STM32F407 microprocessor with a 12-bit ADC and 1.2 mV voltage resolution.
The cycling condition was constant-current charge and discharge: 2C charge at 60 A, 1.5C discharge at 45 A, 25°C ambient temperature, and 3600 s per cycle. The comparison included four cases. Passive balancing used a 10 Ω parallel resistor rated at 5 W, a 20 mV trigger threshold, and a 200 mA discharge-current limit. Active balancing used a Buck–Boost converter at 25 kHz, 10 W maximum transfer power, and 100 μH inductance. BMS-based balancing used a segmented threshold: passive balancing below 30 mV voltage difference and active balancing above 30 mV, with a 100 ms response time. The hierarchical PSO strategy used the control framework described above.
Each case was repeated six times at 100 Hz sampling over 3600 s, producing 120 valid data samples. The comparison used one-way analysis of variance (ANOVA) followed by Tukey multiple-comparison tests at \(\alpha = 0.05\). The preset targets were a balancing time of no more than 1800 s, voltage standard deviation no more than 15 mV, energy utilization at least 92%, maximum balancing current no more than 4.5 A, and temperature rise no more than 8°C.
| Metric | Passive | Active | BMS-based | Hierarchical PSO | ANOVA |
|---|---|---|---|---|---|
| Balancing time (s) | 2834 | 2156 | 1987 | 1623 | \(F=47.23,\ p<0.001\) |
| Voltage standard deviation (mV) | 23.6 | 18.7 | 16.4 | 12.8 | \(F=52.14,\ p<0.001\) |
| Energy utilization (%) | 87.4 | 90.2 | 91.6 | 93.7 | \(F=38.96,\ p<0.001\) |
| Maximum balancing current (A) | 0.19 | 2.8 | 2.3 | 4.2 | \(F=156.78,\ p<0.001\) |
| Temperature rise (°C) | 12.4 | 9.6 | 8.7 | 6.3 | \(F=29.45,\ p<0.001\) |
The hierarchical PSO strategy reached a balancing time of 1623 s, shorter than the passive, active, and BMS-based cases by 42.7%, 24.7%, and 18.3%, respectively. The voltage standard deviation fell to 12.8 mV, below the 15 mV target, and Tukey tests indicated a significant difference from each of the other three methods at \(p < 0.01\). Energy utilization reached 93.7%, exceeding the 92% target and improving on the conventional cases by 2.1 to 6.3 percentage points. The maximum balancing current was 4.2 A, within the 4.5 A target, while the temperature rise was 6.3°C, below the 8°C limit. The ANOVA results were highly significant for all five metrics (\(p < 0.001\)), confirming that the differences among the four strategies were not attributable to random variation alone.
The higher current capability of the hierarchical strategy did not produce the highest temperature rise. That outcome is consistent with distributed energy transfer and duty-cycle modulation: current is allocated across modules rather than concentrated in a single resistive branch, and the PI loop limits abrupt current changes. The passive case had the lowest current but the highest temperature rise because excess energy was dissipated as heat. The active and BMS-based cases occupied an intermediate position, with lower utilization and slower convergence than the hierarchical strategy.
Interpretation and scope
The advantage of the hierarchical architecture lies in separating monitoring, decision, and execution. Fast local sampling and PWM control handle converter-level dynamics, while the upper layer allocates current according to voltage and SOC weights. The improved PSO provides a global search over current distribution, and the bidirectional converter provides an efficient energy path. Safety logic operates independently of the optimizer, so voltage, current, and temperature limits can interrupt or reduce balancing without waiting for a new optimization cycle.
The reported metrics quantify short-term balancing performance under a fixed ambient temperature of 25°C and a 2C/1.5C cycling profile. They do not by themselves establish cycle-life extension under long-term aging, wide temperature gradients, or large-scale strings with many more modules. The eight-module configuration is a useful testbed, but the control parameters would need retuning for different module capacities, OCV–SOC curves, and converter ratings. The control layer is largely chemistry-agnostic, but its performance depends on accurate sodium-ion cell characterization, especially the OCV–SOC relationship and impedance variation with temperature and age.
Conclusion and development path
A hierarchical control strategy for inter-module power imbalance in sodium-ion battery energy storage combines a second-order RC module model, a three-layer acquisition–decision–execution framework, an improved PSO current allocator, and a bidirectional flyback converter. In the eight-module comparison, the strategy reduced balancing time, lowered voltage dispersion, raised energy utilization, and limited temperature rise relative to passive, active, and BMS-based balancing. The results support the technical logic of decoupling real-time converter control from global current allocation while enforcing explicit safety boundaries.
Further development can proceed along three lines. First, the control law can be extended to multiple time scales so that balancing responds to slow aging and fast load transients without constant re-optimization. Second, coordination with the energy management or dispatch layer can align module-level balancing with overall system efficiency and grid service requirements. Third, integrated, low-cost balancing hardware would improve the economic case for deployment in large sodium-ion battery energy storage installations.
