1. Introduction and Background
The growing urgency of climate change and the global commitment to carbon neutrality have driven the rapid expansion of renewable energy sources, particularly wind and solar power. However, the inherent intermittency and unpredictability of these renewable sources pose significant challenges to the stable and secure operation of power grids. To mitigate issues such as wind and solar curtailment and to smooth the fluctuating power output of renewable generation, the integration of large-scale energy storage systems has become indispensable. Among various storage technologies, battery energy storage systems (BESS) offer advantages in terms of energy density, response speed, and siting flexibility. The power conversion system (PCS), acting as the interface between the storage medium and the grid, is thus critical to the performance and efficiency of the energy storage system.
In the context of medium- and high-voltage applications, conventional two-level or three-level converter topologies face limitations such as high voltage stress on switching devices, significant harmonic distortion, and difficulties in scaling to higher capacities. Multilevel converter topologies, particularly the Modular Multilevel Converter (MMC), have emerged as a promising solution due to their modularity, scalability, excellent harmonic performance, and fault-tolerant capabilities. Integrating battery energy storage directly into the submodules of an MMC creates the MMC-based Battery Energy Storage System (MMC-BESS), which offers two distinct advantages. First, it obviates the need for bulky and costly step-up transformers by directly connecting to the grid at medium voltage levels. Second, the distributed nature of the energy storage units allows for finer granularity in state-of-charge (SOC) and state-of-health (SOH) management, enabling the maximization of the overall energy storage system utilization. This research focuses on exploring advanced operational control strategies for a double-stage MMC-BESS, addressing critical aspects such as grid-connected control, SOC equalization, SOH balancing, and circulating current suppression, all of which are vital for the reliable and economical deployment of the energy storage system.

2. MMC-BESS Topology and System Modeling
2.1 Topology and Operating Principles
The MMC-BESS topology considered in this work is a three-phase system where each phase leg consists of an upper and a lower arm, as illustrated and explained in the source text. Each arm contains N series-connected submodules (SMs) and an arm inductor. The energy storage units, specifically lithium-ion batteries, are connected to the DC side of each submodule through a bidirectional DC/DC converter. This double-stage configuration, where the battery is coupled to the submodule capacitor via a DC/DC converter, provides several advantages. The DC/DC converter decouples the battery voltage from the submodule capacitor voltage, which enhances design flexibility and allows for independent control of the battery charging/discharging current. Critically, it isolates the battery from the fluctuating AC-side power, thereby protecting the battery from harmonic currents and prolonging its lifespan. This design also ensures the system can continue to operate even if a particular battery module fails, as the capacitor can maintain the submodule voltage.
The operational modes of a submodule are determined by the conduction states of the IGBT switches and the direction of the arm current. When the MMC-side switches VT1 and VT2 are complementarily controlled, the submodule can be either inserted (VT1 on) to output the capacitor voltage or bypassed (VT2 on). The battery-side DC/DC converter can be operated in Buck, Boost, or idle modes to charge, discharge, or isolate the battery. The combination of these switch states and current directions results in six distinct operating modes, enabling the submodule to actively manage power flow in both directions while regulating the capacitor voltage.
2.2 Mathematical Model
To derive a control-oriented model, the analysis assumes a balanced three-phase system with symmetric arm parameters. Applying Kirchhoff’s Voltage Law (KVL) to the upper and lower arms of phase k, the following equations are obtained from the source text:
$$ \begin{aligned} \frac{di_{kp}}{dt} + \frac{U_{dc}}{2} + u_{kp} + L_{arm}\frac{di_{kp}}{dt} + L_s\frac{di_{k}}{dt} &= u_{sk} \\ -\frac{U_{dc}}{2} + u_{kn} + L_{arm}\frac{di_{kn}}{dt} + L_s\frac{di_{k}}{dt} &= u_{sk} \end{aligned} \tag{2.1} $$
where usk is the AC source voltage, igk is the AC side current, Udc is the DC bus voltage, ukp and ukn are the upper and lower arm voltages, ikp and ikn are the upper and lower arm currents, Larm is the arm inductance, and Ls is the grid-side inductance.
By adding and subtracting the equations for the upper and lower arms, and defining the circulating current icirk and the AC side current ik as:
$$ \begin{aligned} i_{kp} &= i_{cirk} – \frac{i_k}{2} \\ i_{kn} &= i_{cirk} + \frac{i_k}{2} \end{aligned} \tag{2.2} $$
the model can be decomposed into an AC-side equivalent circuit and a DC-side equivalent circuit. This reveals that the circulating current flows within the phase leg, driven by the voltage difference between the DC bus and the sum of the arm voltages, and is not directly visible on the AC or DC terminals of the energy storage system. The AC-side equation governs the grid current, while the DC-side equation determines the dynamics of the circulating current, which is crucial for power balance and SOC control.
2.3 Three-Port Energy Transfer Analysis
The MMC-BESS can be viewed as a three-port energy system, involving the AC side, the DC side, and the energy storage side. The power balance equation, accounting for system losses with efficiency μ, is given by:
$$ P_B = \mu (P_s + P_d) \tag{2.3} $$
where PB is the power absorbed or released by the energy storage battery, Ps is the AC-side power, and Pd is the DC-side power. This equation highlights the system’s ability to decouple the AC and DC power flows, allowing the energy storage system to buffer the power difference. This is particularly useful for smoothing the output of renewable energy sources such as solar or wind, where the DC side might be connected to a solar farm with fluctuating output. The energy storage system effectively performs peak shaving and power leveling, ensuring a stable power output to the AC grid. This energy transfer mode, where the AC and DC ports supply or absorb power with the battery compensating for the difference, is the fundamental operational principle of the energy storage system.
2.4 Modulation Strategy
The choice of modulation strategy directly impacts the harmonic content of the output voltage, the switching losses, and the controllability of the system. A comparison of three common multilevel modulation techniques was made: Nearest Level Modulation (NLM), Carrier Phase-Shifted Sinusoidal Pulse Width Modulation (CPS-SPWM), and Carrier Disposition PWM.
| Strategy | Advantages | Disadvantages |
|---|---|---|
| NLM | Low switching frequency, low losses, good for high number of SMs | High harmonic distortion at low level counts, uneven switching stress |
| CPS-SPWM | Excellent harmonic performance, even power distribution, suitable for SOC balancing | Higher switching frequency compared to NLM, more complex control |
| Carrier Disposition | Simpler implementation | Uneven switching losses among devices, inferior harmonic performance |
Given the need for reliable control of individual submodules for SOC and SOH balancing, and the moderate number of SMs in a typical MMC-BESS, the CPS-SPWM strategy was selected. This choice offers a good compromise between output power quality and the level of control granularity required for the sophisticated management of the energy storage system.
3. Grid-Connected Operation Control
3.1 Power Outer Loop Control based on PI
For grid-connected operation, a dual closed-loop control structure is employed. The outer loop is responsible for power or voltage control, generating the reference currents for the inner loop. In this study, a Power-based outer loop using PI controllers is implemented. The instantaneous active power Pg and reactive power Qg exchanged between the energy storage system and the grid can be expressed in the d-q reference frame, aligned with the grid voltage vector:
$$ \begin{aligned} P_g &= \frac{3}{2} e_d i_d \\ Q_g &= -\frac{3}{2} e_d i_q \end{aligned} \tag{3.1} $$
where ed is the d-axis component of the grid voltage, id is the d-axis current (controlling active power), and iq is the q-axis current (controlling reactive power). The reference values for the d-q currents are directly generated by the PI controllers based on the error between the commanded power (Pg_ref, Qg_ref) and the measured power. This decoupling allows for independent control of active and reactive power injection into the grid, which is a core function of the grid-connected energy storage system.
3.2 Current Inner Loop Control based on LADRC
The inner current loop is critical for the dynamic performance and steady-state accuracy of the MMC. Traditionally, a PI controller with feed-forward decoupling is used. However, this approach is sensitive to model parameter variations and requires accurate knowledge of the system’s equivalent impedance. To enhance robustness and dynamic response, a Linear Active Disturbance Rejection Control (LADRC) is proposed for the current inner loop. Under the d-q frame, the current dynamics can be written as:
$$ \begin{aligned} L_j\frac{di_d}{dt} + Ri_d &= u_d – e_d + \omega L_j i_q \\ L_j\frac{di_q}{dt} + Ri_q &= u_q – e_q – \omega L_j i_d \end{aligned} \tag{3.2} $$
The LADRC treats the cross-coupling terms and parameter uncertainties as “total disturbances” and uses a Linear Extended State Observer (LESO) to estimate and actively compensate for them. This eliminates the need for explicit feed-forward decoupling and results in a system that behaves like a simple integrator, making the controller highly robust to parameter mismatches. The LADRC structure consists of a Linear Tracking Differentiator (LTD), a LESO, and a Linear State Error Feedback (LSEF) control law. The LESO observes the system state and the total disturbance, which is then used to cancel it out. The controller gains are tuned based on the system bandwidth, simplifying the design process. This approach provides superior dynamic performance, particularly in rejecting disturbances and tracking reference changes, compared to the classical PI controller.
### 3.3 Bidirectional DC/DC Converter Control
The bidirectional DC/DC converter is the interface between the battery and the submodule capacitor. The primary goal of its control is to regulate the submodule capacitor voltage and to manage the battery charging/discharging current. A dual-loop control strategy was adopted, featuring a PI-based voltage outer loop and a model predictive control (MPC) based current inner loop. The voltage outer loop maintains the capacitor voltage at its reference value. Its output is the reference current for the inner loop. The MPC inner loop predicts the future value of the battery current for each of the possible switching states (charging or discharging) of the DC/DC converter. The objective function is defined as:
$$ J = \left| i_b(k+1) – i^* \right| \tag{3.3} $$
where ib(k+1) is the predicted battery current at the next sampling instant and i* is the reference current. The switching state that minimizes this objective function is selected for the next control cycle. This approach is intuitive, does not require complex PI tuning for the current loop, and provides excellent dynamic performance, as it directly handles the non-linear nature of the converter. This ensures tight regulation of the capacitor voltage, which is essential for the stability and power quality of the overall energy storage system.
4. SOC Estimation, Equalization, and Circulating Current Suppression
4.1 SOC Estimation using an Improved LWOA-BP Neural Network
Accurate state of charge (SOC) estimation is fundamental for the safe and efficient management of the energy storage system. Conventional methods like Ampere-hour counting suffer from accumulated errors, while open-circuit voltage methods are inaccurate in the mid-SOC region for many chemistries. Data-driven methods, particularly neural networks, offer a model-free alternative. A Back Propagation (BP) neural network was developed to estimate the SOC of the lithium-ion batteries. To overcome its tendency to fall into local minima and its sensitivity to initial weights, an improved Whale Optimization Algorithm (WOA) incorporating a Lévy flight strategy (LWOA) was adopted to optimize the initial weights and biases of the BP network.
The Lévy flight, characterized by a heavy-tailed probability distribution, introduces occasional long jumps into the search trajectory. This significantly enhances the global search capability of the WOA, helping it to escape local optima. The LWOA-BP model takes the battery’s voltage and current as inputs and outputs the SOC estimate. The architecture uses a standard BP network with a single hidden layer, as detailed in the source text. Testing on the CALCE dataset demonstrated that the LWOA-BP model produces a highly accurate SOC estimate. The performance was evaluated using metrics like Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE). The results show that the LWOA-BP model achieves a significantly higher accuracy compared to standard BP networks, with errors consistently reduced. The RMSE, MAE, and MAPE values are considerably lower, highlighting the effectiveness of the LWOA optimization. This provides a robust foundation for the SOC equalization strategies, ensuring that the controller acts on accurate battery state information.
| Prediction Model | RMSE | MAE | MAPE (%) |
|---|---|---|---|
| BP | 0.0144 | 0.0108 | 1.1203 |
| LWOA-BP | 0.0051 | 0.0036 | 0.0262 |
4.2 Three-Level SOC Equalization Control Strategy
In an MMC-BESS, the energy storage modules are distributed across various SMs. Differences in initial SOC, cell aging, and temperature can lead to SOC imbalances, which reduce the usable capacity of the energy storage system and can cause overcharge or over-discharge of individual batteries. A three-level SOC equalization strategy is developed to address this issue on three distinct scales: inter-phase, inter-arm, and intra-arm. The control principles are derived from the power analysis of the arm currents, which contain DC, fundamental, and harmonic components. The DC component of the circulating current is crucial for inter-phase power redistribution, while the fundamental frequency component is instrumental for balancing power between upper and lower arms.
Inter-phase Equalization: This control aims to equalize the average SOC of the three phase legs. The power transferred between phases is controlled by regulating the DC component of the circulating current. The average SOC of each phase leg is compared to the global average SOC of the system. The error is passed through a PI controller, and the output is used to adjust the modulation signal of each phase. This modification alters the power drawn from or delivered to each phase, thereby directing energy from phases with higher SOC to phases with lower SOC. The control diagram includes a virtual voltage feed-forward loop to accelerate the balancing process without compromising system stability.
Inter-arm Equalization: This strategy targets the difference in average SOC between the upper and lower arm of the same phase. The power transfer between the two arms is controlled by the fundamental frequency component of the circulating current. The half-wave average SOC of the arm is compared to the phase average SOC. The error, processed by a Proportional-Resonant (PR) controller to track the fundamental frequency, is then added to the modulation signals of the upper and lower arms in opposite signs. This injects a fundamental frequency circulating current, which facilitates energy transfer from the arm with the higher SOC to the arm with the lower SOC.
Intra-arm Equalization: This final layer of control equalizes the SOC of individual submodules within an arm. The SOC of each submodule (SOCkji) is compared to the average SOC of its respective arm (SOCavg_ki). The error is processed by a proportional controller to generate a voltage correction signal. The sign of this correction is determined by the arm current direction to ensure it always draws energy from high-SOC modules and supplies energy to low-SOC modules. The new adaptive proportional coefficient Kp(t) is constrained by:
$$ K_p(t) \leq \frac{\Delta P_{kji\_max}}{\left| SOC_{kji}(t)-SOC_{avg\_ki}(t) \right|} \tag{4.1} $$
This constraint limits the balancing power to a safe level when the SOC difference is large, protecting the power devices from over-current stress. As the SOC difference diminishes, the controller dynamically increases Kp, thereby accelerating the final convergence. The effectiveness of this adaptive strategy was validated through simulation, which showed a significant reduction in balancing time without violating current safety limits, thereby accelerating the equalization process within the energy storage system.
| Parameter | Value |
|---|---|
| AC bus voltage | 5000 V |
| Modulation ratio | 0.8 |
| Arm inductance | 0.001 H |
| AC side inductance | 0.002 H |
| Number of SMs per arm | 10 |
| Carrier frequency | 2000 Hz |
| Submodule capacitance | 0.004 F |
| Battery rated voltage | 890 V |
| Battery rated capacity | 20 Ah |
4.3 Circulating Current Analysis and Suppression
The circulating current is an inherent phenomenon in the MMC. While the DC component is necessary for power transfer, the AC components, primarily the second-order and other even-order harmonics, are detrimental as they increase the RMS value of the arm current, leading to higher conduction and switching losses, and stress on the components. In an MMC-BESS, the distributed battery energy storage can further exacerbate these harmonic currents. Therefore, an effective suppression strategy is crucial for the efficiency and reliability of the energy storage system. The circulating current dynamics in the d-q frame rotating at twice the fundamental frequency are expressed as:
$$ \begin{aligned} u_{cird} &= L \frac{di_{cird}}{dt} + Ri_{cird} – 2\omega L i_{cirq} \\ u_{cirq} &= L \frac{di_{cirq}}{dt} + Ri_{cirq} + 2\omega L i_{cird} \end{aligned} \tag{4.2} $$
To suppress these harmonics, a two-pronged approach was adopted. A quasi-Proportional Resonant (quasi-PR) controller was designed to target the specific dominant components, namely the second and fourth harmonics. The transfer function of the quasi-PR controller is:
$$ G_{PR}(s) = K_p + \frac{2 K_r \omega_c s}{s^2 + 2\omega_c s + \omega_0^2} \tag{4.3} $$
where Kp is the proportional gain, Kr is the resonant gain, ωc is the cutoff frequency, and ω0 is the resonant frequency. Unlike the ideal PR controller which exhibits an infinite gain at a single frequency and is highly sensitive to frequency variations, the quasi-PR controller provides a finite, controlled gain over a specified bandwidth. This makes it more robust to grid frequency deviations and practical for digital implementation. To supplement this, a virtual impedance loop was incorporated. The virtual impedance simulates an additional arm impedance, enhancing the suppression of higher-order harmonics that are not explicitly targeted by the quasi-PR controllers. This helps dampen high-frequency oscillation and further reduces harmonic content. The virtual impedance transfer function is given by:
$$ G_{VI}(s) = \frac{L_v R_v s}{L_v s + R_v} \tag{4.4} $$
The combination of the quasi-PR and virtual impedance controller was simulated and compared. The simulation results show that this hybrid strategy is superior to using a PR controller alone. The Total Harmonic Distortion (THD) of the arm current dropped dramatically from 22.85% without suppression to 5.24% with the PR controller and further down to just 1.57% with the combined quasi-PR and virtual impedance approach. This significant reduction in harmonic content minimizes system losses and enhances the overall efficiency of the energy storage system.
5. SOH Estimation and Balance Control
5.1 Online SOH Estimation using IWOA-KELM
State of Health (SOH) is a measure of the battery’s remaining capacity relative to its rated capacity. It is a key indicator of battery degradation and is essential for predicting the energy storage system’s lifespan and for planning maintenance schedules. Accurate online SOH estimation is challenging. This research proposes a data-driven method using a Kernel Extreme Learning Machine (KELM) optimized by an Improved Whale Optimization Algorithm (IWOA). The IWOA incorporates three main enhancements over the standard WOA: (1) A reverse learning strategy to initialize the population, leading to a higher quality starting point for the search; (2) A non-linear convergence factor to better balance the trade-off between global exploration and local exploitation; (3) Adaptive position weighting to improve convergence accuracy and speed.
Health factors, which are features extracted from the battery’s measurable external characteristics such as voltage, current, and time, are used as inputs to the model. Specifically, the equal-voltage-charging time interval and equal-current-discharging time interval were utilized. The output is the battery’s SOH. Fine-tuning the KELM’s key hyperparameters (kernel parameter σ and regularization coefficient C) is critical. The IWOA was employed to automatically search for the optimal combination of these parameters. The prediction model was validated using the NASA battery dataset (batteries B05, B06, and B07). The experimental results, presented in the source, demonstrate that the IWOA-KELM method significantly outperforms the standard KELM and WOA-KELM models. The RMSE and MAPE values for the IWOA-KELM are consistently lower, indicating superior estimation accuracy and generalization capability. The estimation error was kept below 2.5%, which meets the practical requirements for battery management systems.
| Battery | Algorithm | RMSE (%) | MAPE (%) |
|---|---|---|---|
| B05 | KELM | 2.0593 | 0.028 |
| WOA-KELM | 1.3498 | 0.024 | |
| IWOA-KELM | 0.6734 | 0.007 | |
| B06 | KELM | 3.6723 | 0.052 |
| WOA-KELM | 2.9384 | 0.057 | |
| IWOA-KELM | 1.5266 | 0.025 | |
| B07 | KELM | 1.8016 | 0.022 |
| WOA-KELM | 1.5544 | 0.028 | |
| IWOA-KELM | 0.6956 | 0.010 |
5.2 SOH Balancing Control Strategy and its Relationship with the Energy Storage System
The lifespan of a battery energy storage system is often limited by the battery cells that degrade the fastest. If all cells must be replaced when the worst cell reaches its end-of-life (EOL), a significant amount of remaining capacity is wasted in the healthier cells. The core objective of SOH balancing is to make all the battery cells in the energy storage system reach their EOL at the same time, thus maximizing the system’s useful life and reducing lifecycle costs. Instead of using passive methods with resistors which waste energy, this work adopts an active control approach based on the operational principle of the MMC-BESS.
The SOH of a battery is closely related to its depth of discharge (DOD). The relationship between the number of cycles to end-of-life (Call) and DOD is given by:
$$ C_{all} = a \cdot DOD^{-b} \tag{5.1} $$
where ‘a’ and ‘b’ are battery-specific constants. The degradation model shows that a battery’s SOH declines faster with a larger DOD. The SOH of a battery can be mathematically modeled as:
$$ SOH(t) = SOH(0) – \frac{C_u}{a \cdot DOD^{-b}} \tag{5.2} $$
where Cu is the cumulative number of cycles. Consequently, the DOD has a direct and inverse effect on the battery’s lifespan. By actively controlling the DOD of each battery, we can control its rate of degradation. The core idea is to assign a larger DOD (and therefore more power output) to batteries with a higher initial SOH and a smaller DOD to batteries with a lower SOH. This encourages a greater degree of wear on the healthier batteries, while allowing the weaker batteries to degrade more slowly, causing their SOH trajectories to converge over time.
Ignoring system losses, the power output of a battery is directly proportional to its DOD. Therefore, to achieve SOH balancing, the power for a given submodule, cell x in arm i, is redistributed according to its SOH. The commanded power for each submodule can be defined as:
$$ P_{xi}^* = \frac{P_{ref}}{6} \cdot \frac{DOD_{xi}}{\sum_{i=1}^{N/2} DOD_{xi}} = \frac{P_{ref}}{6} \cdot \frac{SOH_{xi}(t)^{-1/b}}{\sum_{i=1}^{N/2} SOH_{xi}(t)^{-1/b}} \tag{5.3} $$
where Pref is the total reference power for that arm. A PI controller acts on the error between the commanded power of the SOH balancing scheme and the actual power output of the submodule. This generates a modification to the submodule’s modulation signal. This effectively adjusts the submodule’s output voltage and thus its power contribution, enabling unequal power sharing between cells. Over successive charge and discharge cycles, the healthier batteries with a larger DOD will age faster, and the weaker batteries with a smaller DOD will age slower, leading to a progressive convergence of their SOH values. Simulation results in the source confirm the effectiveness of the proposed strategy in an MMC-BESS. By setting different initial capacities for the batteries within an arm, the strategy successfully adjusted their respective power outputs, as indicated by their differing SOC change rates, to drive their SOH towards a common value. This demonstrates that the SOH balancing strategy is a practical and effective method to maximize the operational life and economic viability of the MMC-based energy storage system.
6. Conclusions and Future Outlook
This thesis conducted a comprehensive investigation into the operational control strategies of a double-stage MMC-BESS. The research addressed the key technical challenges related to system modeling, grid integration, battery state estimation, and power balancing. Several important conclusions can be drawn from this work.
First, a detailed analysis of the MMC-BESS topology and its three-port energy transfer mechanism established the theoretical foundation for the research. The use of a carrier phase-shift modulation strategy was identified as the appropriate choice for enabling granular submodule-level control, which is essential for battery management. Second, on the grid-connected control side, the study validated the superior performance of a dual-loop control strategy. The PI-based power outer loop effectively manages grid power exchange, while the LADRC-based current inner loop demonstrates enhanced dynamic performance and robustness against parameter uncertainties and disturbances compared to the traditional PI controller. The MPC-based inner loop for the DC/DC converter simplifies control and improves its dynamic response, ensuring stable submodule capacitor voltages. Third, the research highlighted the critical role of accurate state estimation. Both the proposed LWOA-BP for SOC estimation and IWOA-KELM for SOH estimation showed high accuracy, providing reliable data for the higher-level management algorithms. The improved three-level SOC equalization strategy, incorporating an adaptive gain, successfully balanced the SOCs while safeguarding the power devices and accelerating the balancing process. The hybrid circulating current suppression strategy combining quasi-PR controllers and virtual impedance proved highly effective in reducing harmonic distortion and system losses.
Finally, a novel SOH balancing control strategy was proposed and validated. By leveraging the mathematical relationship between SOH, DOD, and battery capacity, the strategy dynamically adjusts the power output of each submodule. This approach encourages the synchronized aging of all battery cells, extending the overall lifespan of the MMC-BESS and significantly reducing the costs associated with maintenance and replacement. The simulations conducted throughout this study confirm that the proposed control strategies are effective and can substantially enhance the performance, reliability, and economic efficiency of the energy storage system.
Future research directions could explore fault-tolerant control strategies for MMC-BESS under various fault conditions, such as submodule or power device failures. Additionally, the current research focuses on lithium-ion batteries; however, future work could extend the control strategies to hybrid energy storage systems, combining batteries with supercapacitors to leverage the benefits of both technologies. The control algorithms would need to be further refined to coordinate the energy management between these different types of storage elements and to harness the full potential of the energy storage system.
