Skip to Content
EnergiesEnergies
  • Article
  • Open Access

6 August 2026

28 Pages

Neural Network-Based Optimized Control for Enhancing Voltage Support of Grid-Forming MMCs Under Voltage Sags

,
,
,
,
and
1
State Grid Zhejiang Electric Power Research Institute, Hangzhou 310014, China
2
State Grid Electric Power Research Institute, Nanjing 211000, China
3
School of Electrical Engineering, Zhejiang University, Hangzhou 310027, China
*
Author to whom correspondence should be addressed.

Abstract

With the integration of renewable energy and power-electronic devices, grid-forming modular multilevel converters (GFM-MMCs) play a critical role in active grid support. An AC grid voltage sag can trigger a large support current, which may cause large voltage fluctuations in submodule capacitors and arm overmodulation, thereby threatening system safety. This paper proposes a multidimensional collaborative method to improve the support capability of grid-forming MMCs under severe grid voltage sags. The multidimensional physical constraints of internal energy fluctuation during fault transients are clarified. The corresponding safe operating boundaries are then established, after which a coordinated optimization strategy is developed. This approach integrates second-harmonic circulating current and zero-sequence voltage injections. Offline optimization utilizes a particle swarm optimization (PSO) algorithm across the full operating range. Expanding the safe P–Q operating region requires no extra hardware costs. A neural network enables a millisecond-level direct mapping control architecture. This architecture addresses the long online computation time of traditional heuristic algorithms by embedding offline optimization data into the network weights. The trained network performs rapid forward computation to generate optimized commands, which is verified by a hardware-in-the-loop (HIL) experiment. The experimental results verify the effectiveness of the proposed method, with clear performance improvements being observed. The strategy suppresses capacitor-voltage peak and prevents overmodulation. This directly improves the MMC support capability during severe faults.

1. Introduction

As the global energy mix continues to evolve, renewable resources such as wind and solar power are being connected to power grids on an increasingly large scale. Modern power systems are increasingly exhibiting a clear “dual-high” feature, namely high renewable energy penetration and a high share of power-electronic equipment [1]. Traditional synchronous generators are gradually being replaced by interface devices based on power-electronic converters, which reduces the equivalent inertia of the power system and markedly weakens its frequency- and voltage-regulation capability.
Modular multilevel converters, with their high modularity, excellent output waveform quality, and low losses, have been widely used in flexible DC transmission, large-scale renewable energy grid integration, and urban distribution network support. In such dual-high power systems, conventional grid-following (GFL) control depends heavily on phase-locked loops (PLLs) and therefore tends to encounter stability problems under weak-grid conditions. Accordingly, grid-forming (GFM) control, which can actively establish voltage and frequency, has attracted considerable research attention [2]. By emulating the external characteristics of synchronous generators, grid-forming MMCs can provide virtual inertia and damping support, making them an important technology for maintaining the secure and stable operation of future power systems.
Grid-forming MMCs show good steady-state performance, but AC grid faults such as voltage sags still create serious safety challenges [3]. In practical operation, voltage sags often occur together with frequency fluctuations. Under these conditions, the converter must remain connected to the grid and provide both active and reactive power support at the same time [4].
Grid-forming control behaves as a low-impedance voltage source in terms of operating mechanism. The internal electromotive force remains continuous during the fault transient. A sudden grid voltage drop causes a large instantaneous power mismatch because of the stiff coupling between the converter and the grid. The MMC then needs to inject a large reactive current for voltage support in a very short time. This process also disturbs the dynamic power balance between the AC and DC sides. The submodule capacitors therefore experience severe charging and discharging stress. Their physical safety limits may be exceeded. Frequency fluctuations make the situation even worse. To provide inertia support, the converter must output active current. During grid faults, active and reactive support currents rise simultaneously. This directly causes strong fluctuations in internal electrical variables, such as submodule capacitor voltage and arm current.
Current MMC fault protection and support methods mainly rely on hardware margin or control strategies. Hardware solutions expand operating boundaries by using larger submodule capacitors or upgraded device ratings [5], but this directly increases costs and physical footprints, limiting their practical use. Current-limiting control restricts fault currents or switches the converter to current-control mode [6]. This protects the equipment, yet sacrifices grid support. The MMC becomes a mere controlled current source. Weak grids demand continuous voltage and frequency support during faults [7]. Pure current-limiting strategies simply cannot meet these modern grid codes.
Existing optimized control methods also have obvious drawbacks. Second-harmonic circulating current injection reduces capacitor-voltage ripples [8]. But most studies overlook the internal coupling it causes. This directly brings new problems [9]. However, the added circulating current raises the arm modulation signal peak, which may lead to overmodulation, thereby degrading output power quality and compromising system stability. Grid voltage sags push the MMC internal variables toward physical limits. Advanced control strategies thus need coordinated optimization without relying on extra hardware. Proper internal coordination ensures safe operation and improves power support.
Existing methods for grid-forming MMC fault support often rely on single-dimensional optimization, but high computational costs restrict their online use. The proposed method integrates second-order harmonic circulating current injection and zero-sequence voltage regulation. An embedded neural network model supports this framework. Table 1 compares our method with existing studies inn six key aspects. Traditional current limiting prioritizes hardware protection via virtual impedance or current bounds. This forces the converter to act as a current source, degrading grid-support capabilities. Single-variable injection methods suppress voltage ripples using circulating currents, but the risk of overmodulation limits the overall support. Online optimization and Model Predictive Control (MPC) can manage diverse operating states and minimize tracking errors. However, heavy computational burdens prevent their use during millisecond-level fault transients.
Table 1. Comparison of the proposed framework with recent literature on MMC fault support.
The proposed multi-objective framework coordinates circulating current and zero-sequence voltage to maximize the P–Q support capacity, which helps reduce ripples and prevent overmodulation. Moving complex calculations offline allows for fast online execution via a neural network, expanding the safe operating boundary. FPGA and RCP hardware-in-the-loop (HIL) tests verify these improvements. Notably, this enhanced support requires no extra hardware.
Section 1 introduces the background and main technical problems. Section 2 analyzes the operating characteristics and physical constraints of grid-forming MMCs under faults. Section 3 details the coordinated control and its global optimization. Section 4 present the neural network-based mapping for online use. Section 5 provides simulation and HIL experimental results. Finally, Section 6 concludes the paper.

2. Analysis of the Operating Characteristics and Physical Constraint Modeling of Grid-Forming Modular Multilevel Converters

2.1. Operating Model and Control Principle of Grid-Forming Modular Multilevel Converters

In modern power systems, grid-forming control is employed to compensate for the reduction in system rotational inertia caused by the extensive use of power-electronic devices. Unlike conventional grid-following control, grid-forming control achieves phase synchronization without a grid-side phase-locked loop (PLL). Instead, it actively regulates the converter output voltage amplitude and frequency through dedicated control algorithms [10]. Its basic control equations usually emulate the rotor motion dynamics and the reactive-power-versus-voltage droop characteristics of a synchronous generator. Under this control mode, the MMC behaves as a controllable low-impedance internal voltage source. It provides inertia and damping support similar to that of a synchronous generator. Figure 1 shows the typical topology of the MMC.
Figure 1. Typical topology of a three-phase modular multilevel converter, illustrating the upper and lower arms of each phase consisting of N series-connected submodules and an arm inductor. The arrows indicate the reference directions of the currents.
However, this voltage characteristic produces a large instantaneous difference between the internal MMC potential and the grid voltage during AC-side faults such as voltage sags. Control-loop inertia prevents this voltage difference from being eliminated immediately. As a result, the converter output current may rise far above its steady-state value.
During an AC grid voltage sag, a grid-forming MMC typically needs to inject significant active power Pn for frequency support. Simultaneously, it must inject reactive power Qn to boost the voltage, driven by either grid dispatch requirements or its inherent droop characteristics. Based on instantaneous power theory in the synchronous rotating dq reference frame, the active and reactive power outputs of the converter can be written as follows:
P n = 3 2 u d i d + u q i q Q n = 3 2 u q i d − u d i q
where the d-axis is aligned with the grid-voltage vector, uq = 0, and ud is equal to the residual grid-voltage amplitude Us,m. From this, the calculation formulas for the active current command i d n and reactive current command i q n under the current operating condition can be derived as follows:
i d n = 2 P n 3 U s , m
i q n = − 2 Q n 3 U s , m
Equations (2) and (3) show that the output current command is inversely proportional to the residual grid-voltage amplitude Us,m. Under severe voltage-sag conditions, even if the original power output is maintained, the current command increases rapidly. This high-current condition is the main reason why critical electrical quantities inside the MMC reach their physical limits.

2.2. Analytical Derivation and Dynamic Characteristics of Key Electrical Quantities

To accurately evaluate the safety margin of the MMC during grid-support operation, it is necessary to quantitatively analyze two core electrical quantities: the submodule capacitor voltage and the arm modulation signal.

2.2.1. Submodule Capacitor Voltage Fluctuation Model

The energy of the MMC is temporarily stored in a large number of submodule capacitors. During converter operation, the arm current periodically flows through the inserted submodule capacitors, causing voltage fluctuations through repeated charging and discharging. Taking the upper arm of phase A as an example, the arm current iap(t) consists of a DC-side current component, an AC-side fundamental-frequency current component, and an internal circulating-current component:
i a p ( t ) = I d c 3 + i a ( t ) 2 + i c i r , a ( t )
According to basic circuit laws, the instantaneous dynamic equation of the submodule capacitor voltage is determined by the product of the arm modulation function Sap(t) and the bridge arm current iap(t), where Cs is the capacitance of a single submodule [11].
C s d U c a p ( t ) d t = S a p ( t ) i a p ( t )
Integrating it over time, we obtain the instantaneous value Ucap(t) of the submodule capacitor voltage. The model can be described as follows:
U c a p ( t ) = U c , 0 + 1 C s ∫ S a p ( t ) i a p ( t ) d t
where Uc,0 denotes the DC reference value of the capacitor voltage. The arm current iap(t) includes a DC component, an AC fundamental-frequency component, and an internal circulating current component. When the converter outputs a large current to support the grid, the amplitude of the fundamental-frequency current increases significantly. According to the integral relationship, this will cause severe fundamental- and second-harmonic fluctuations in the capacitor voltage. If these fluctuations are too large, they will not only increase the voltage stress on the power devices, but also cause energy imbalance in the submodule, and may even trigger overvoltage or undervoltage protection shutdown.

2.2.2. Spectral Composition of the Bridge Arm Modulation Function

The arm modulation function Sap(t) determines the number of inserted submodules and, in essence, controls the time-domain duty-cycle distribution of the signal. The proposed modulation function model aims to balance ripple suppression and overmodulation compensation. The model incorporates a superposition of DC, fundamental-, second-, and third-harmonic (zero-sequence) signals [12]:
S a p ( t ) = A 0 − ∑ k = 1 3 A k cos ( k ω t + α k )
In this equation, A0 denotes the DC component. The symbols Ak and αk denote the amplitude and initial phase angle of the harmonic components. Maintaining the output voltage during faults requires a high fundamental-frequency component A1. A second-harmonic circulating current signal suppresses the capacitor-voltage ripple. Its injection process introduces the A2 component. The modulation function peak might consequently surpass the linear modulation region limit. Careful design of the A3 component is necessary. This specific design flattens the modulation waveform. The proposed method achieves coordinated optimization of several performance indices in a restricted modulation range.

2.3. Physical Safety Operation Boundary

The MMC must ride through faults and operate stably during fault support. This study derives three dimensions of physical constraints for this exact purpose. These constraints form the evaluation criteria for the support-capacity enhancement strategy.
First is the stability constraint of capacitor-voltage fluctuation. Capacitor voltage ripple reflects the dynamic oscillation degree of submodule energy. Excessive ripple will generate significant equivalent series resistance heating, seriously affecting the lifespan of the capacitor. This paper limits it to within 10% of the rated voltage UN:
X 1 : m a x [ u c a p , a p ( t ) ] − m i n [ u c a p , a p ( t ) ] 2 ≤ 0.1 U N
Secondly, there are insulation safety constraints on power devices. Because the IGBTs and antiparallel diodes in each submodule have strict voltage-withstand limits, the instantaneous peak capacitor voltage must be restricted to a safe range, usually within 1.1 times the rated voltage, so as to avoid irreversible breakdown of semiconductor devices.
X 2 : m a x [ u c a p , a p ( t ) ] ≤ 1.1 U N
The linear modulation constraint of the control system requires that the modulation function signal be strictly limited to the [0, 1] interval to ensure the linearity of the MMC output voltage and avoid introducing a large number of low-order harmonics. Overmodulation distorts the converter output waveform and reduces the voltage- and frequency-support accuracy of grid-forming control.
X 3 : 0 ≤ S a p ( t ) ≤ 1
To automate the decision-making process within the algorithm, this paper introduces a logical binary function F(X): F(X) = 1 when the constraints are met, and 0 otherwise. The comprehensive safety operation state criterion T of the system is defined as the logical product of all sub-constraints:
D = F ( X 1 ) ⋅ F ( X 2 ) ⋅ F ( X 3 )
This section develops an analytical model of the internal energy variation of the grid-forming MMC during voltage sags. The analysis shows a fundamental trade-off in the control design. Higher current injection improves grid support. It also increases capacitor-voltage fluctuation. Additional circulating current can suppress this fluctuation. It also increases the risk of overmodulation. Based on these relationships, three physical safety limits are identified. They are capacitor-voltage ripple, device-insulation peak value, and linear modulation range. These limits provide the basis for the multidimensional collaborative optimization presented later.

3. Grid-Forming MMC Dual Complementary Collaborative Optimization Control and Global Optimization

With the physical constraints of the grid-forming MMC under grid voltage sags clarified, this section presents a coordinated control strategy based on the complementary interaction between second-harmonic circulating current and zero-sequence voltage. To obtain the optimal solution within the multidimensional nonlinear control space, this paper establishes a global optimization model using the particle swarm optimization (PSO) algorithm [13]. This approach maximizes the converter’s combined active and reactive power support capacity without incurring additional hardware costs.

3.1. Principle of Dual Complementary Collaborative Control Strategy

When the grid-forming MMC delivers a high support current to the grid, the voltage fluctuation of the submodule capacitors becomes markedly more severe. Traditional single suppression strategies often suffer from one problem at the expense of another; therefore, this paper introduces a “dual complementary” mechanism.

3.1.1. Second-Harmonic Circulating Current Injection and Energy Fluctuation Suppression

As derived above, the low-frequency fluctuations in the instantaneous power of the submodule are the direct cause of capacitor-voltage ripple. By artificially injecting a second-harmonic circulating current component ic,2ω(t) into the MMC, it can interact with the fundamental-frequency modulation wave to generate a component that cancels out the original low-frequency power fluctuations. Let the injected second-harmonic circulating current of phase A be:
i c , 2 ω ( t ) = I c , 2 ω cos ( 2 ω t + θ c 2 )
where Ic,2ω is the injected current amplitude and θc2 is the initial phase. By superposing this circulating-current component onto the arm current reference, the instantaneous arm-power distribution can be reshaped, which effectively suppresses both the peak value and the ripple magnitude of the submodule capacitor voltage. However, introducing the circulating current unavoidably increases the arm-current peak, which further enlarges the extreme value of the arm modulation function Sap(t) and thus increases the risk of overmodulation.

3.1.2. Zero-Sequence Signal Injection and Peak Suppression of Modulated Wave

To reduce the risk of overmodulation caused by second-harmonic circulating-current injection, a zero-sequence voltage component is introduced into the modulation strategy. This component is usually dominated by the third harmonic. It is a common-mode term in the three-phase system. It does not affect the AC-side line-to-line voltage or the MMC output current. However, it can still reshape the modulation waveforms of the phase arms. The injected zero-sequence voltage Sz(t) is expressed as follows:
S z ( t ) = A 3 cos ( 3 ω t + α 3 )
Here, A3 is the amplitude of the zero-sequence component, and α3 is its phase.
The third harmonic is a common-mode component in a three-phase system. It does not affect the phase-to-phase voltage or the AC-side support performance. However, it can reshape the modulation waveform of each phase arm. It reduces the peak and fills the valley. In this way, the distortion caused by circulating-current injection is compensated. The converter can also remain within the linear modulation region under deep-support conditions.
In summary, second-harmonic circulating-current injection is used to suppress capacitor-voltage ripple. The zero-sequence component is used to compensate for the modulation distortion caused by the circulating current. Together, they provide complementary regulation under the physical constraints of the system. This complementary mechanism extends the safe operating boundary of the MMC by exploiting its internal degrees of freedom without changing the external hardware parameters.

3.2. A Multidimensional Global Optimization Model for Control Parameters Based on PSO

During fault ride-through of a grid-forming MMC, the submodule capacitor voltage and the arm modulation waveform exhibit strong and highly nonlinear coupling. As derived in Section 2, second-harmonic circulating-current injection and zero-sequence voltage injection introduce four independent control variables. The decision variable vector Y to be optimized is defined as:
Y = [ I c , 2 ω , θ c 2 , A 3 , α 3 ]
This vector contains the key control variables for second-harmonic circulating-current injection and zero-sequence injection. The relationships between these four variables and the peak capacitor voltage, voltage ripple, and modulation index are strongly nonlinear. Because the model includes transcendental equations, absolute-value terms, and trigonometric integrals, it is difficult to solve directly. Under the physical constraints considered here, conventional analytical methods and local linearization approaches may not converge and may not yield feasible solutions. PSO is therefore used for the offline global optimization in this multidimensional continuous problem [13].
For the support-enhancement problem studied in this paper, the goal is to find the optimal variable set Y. For a given grid voltage-sag depth Us,m and support-power demand (Pn,Qn), the optimization maximizes the margin between the MMC internal electrical quantities and their physical limits while minimizing the required control effort, namely the injected circulating current and zero-sequence voltage.
The objective function is designed to minimize the normalized injection cost of the auxiliary control signals. The upper bounds of the search variables are set to 500 A for the second-harmonic circulating-current amplitude (Ic,2ω) and 0.3 for the zero-sequence signal amplitude (A3). The three physical constraints defined in Section 2, namely the capacitor-voltage peak limit, the ripple limit, and the linear-modulation limit, are also included in the optimization model. If the optimization considers only the injection cost, the algorithm can easily converge to infeasible solutions that violate these physical constraints. To address this issue, a comprehensive objective function with a penalty term is constructed as follows:
min C ( I c , 2 ω , A 3 , Y ) = λ 1 I c , 2 ω 500 2 + λ 2 A 3 0.3 2 + Φ ( Y )
where ΔUcap(Y) denotes the capacitor-voltage ripple calculated for a given parameter set Y, and λ1 and λ2 are weighting coefficients. Φ(Y) is a penalty function. It excludes infeasible solutions that violate the three physical constraints (X1, X2, X3) in Section 2. The penalty function is defined as
Φ ( Y ) = 0 , if   D = 1 M , if   D = 0
In the objective function, M is a sufficiently large positive penalty coefficient. With this design, if a candidate control-variable set causes the MMC to exceed its physical limits, the objective value becomes very large. The optimization algorithm then avoids these infeasible solutions. The search process stays within the feasible region. As a result, the final solution Yopt satisfies the constraints and requires low injection effort.
After constructing the objective function with the penalty term, the next step is to solve this highly nonlinear and strongly coupled optimization problem. Conventional analytical methods and local linearization techniques often fail to guarantee convergence for such a complex system. Therefore, PSO is used to solve the problem in a multidimensional continuous space.
In PSO, each particle has a velocity vector W and a position vector Y. In the k-th iteration, the particle velocity is updated as follows:
W i ( k + 1 ) = w W i ( k ) + c 1 r 1 P b e s t , i − Y i ( k ) + c 2 r 2 G b e s t − Y i ( k )
The corresponding position update formula is:
Y i ( k + 1 ) = Y i ( k ) + W i ( k + 1 )
where k denotes the current iteration index, and w is the inertia weight that reflects the tendency of a particle to preserve its previous motion. A larger w generally enhances global exploration and helps avoid local optima, while a smaller w is beneficial for local precise optimization; c1 and c2 denote the cognitive and social learning factors, respectively, which regulate the movement of a particle toward its personal best position Pbest,i and the global best position Gbest; r1 and r2 are uniformly distributed within [0,1], thereby maintaining search diversity.
For the proposed collaborative control scheme, the PSO-based solution procedure is summarized as follows: First, initialize the population. Within a reasonable physical range of injected parameters (e.g., the circulating current amplitude is limited to a certain proportion of the rated current, and the phase angle is within [0,2π]), randomly generate the initial particle swarm position Y and velocity W.
Perform state evaluation by substituting the position parameters of each particle into the MMC analytical model to calculate the current capacitor voltage and modulation wave morphology, and calculate the fitness value according to Equation (15). Next, the personal best Pbest,i of each particle and the global best Gbest are updated by comparing the current fitness values with the previously recorded optima.
Thereafter, the particle velocities and positions are iteratively updated according to (17) and (18), guiding the swarm toward a region with improved safety margin.
Perform convergence checks by stopping the algorithm when the set maximum number of iterations is reached, or when the change in the global optimal solution Gbest over multiple consecutive iterations is less than a set threshold. The output Gbest at this point is the optimal injection parameter Yopt under the current conditions.
Sensitivity tests on the optimization parameters indicate that variations in the particle swarm optimization coefficients primarily affect the offline convergence speed rather than the final optimal boundaries. Furthermore, the penalty factor M, set to 106, acts as a robust hard barrier; any sufficiently large value strictly eliminates infeasible solutions without altering the optimal parameter mapping.
In the objective function, the weighting coefficients, namely λ1 and λ2, are both set to 0.5. This is because both the circulating current injection and the zero-sequence voltage injection equally consume the modulation margin of the converter; thus, they are penalized equally during the optimization process. The detailed parameters of the particle swarm optimization algorithm employed in this study are summarized in Table 2.
Table 2. Parameters of the particle swarm optimization algorithm.
Regarding computational performance, solving for the optimal parameters of a single operating point takes approximately 0.93 s on average, and constructing the complete safe operation boundary requires extensive offline computation time. Since the control during grid faults demands a millisecond-level response, this computational delay is unacceptable in practical applications. Therefore, a neural network is introduced to shift the heavy computational burden to the offline training stage, thereby achieving instantaneous mapping and control during the online operation stage.

3.3. Support Capacity Multidimensional Boundary Construction and Sample Set Generation Based on Global Optimization

Based on the PSO global optimization model developed above, the optimal control command can be obtained for a single fault condition. However, both the sag depth and the demanded power support vary dynamically in practical operation. In order to comprehensively characterize the extreme support capability of the grid-forming MMC under various extreme conditions and to provide complete training data for the neural network in Section 4, an optimization process utilizing multiple nested loops constructs the multidimensional support-capacity boundary. This procedure also generates the offline sample set.
Figure 2 illustrates the triple-nested loop architecture. This structure governs the traversal optimization across the full operating space. The execution steps unfold sequentially:
Figure 2. Flowchart of the calculation method for grid-forming MMC support-capacity enhancement considering grid voltage sag.
Grid voltage parameters include the rated voltage starting point Us,0, the minimum allowable limit Us,min, and the sag step size ΔUs. Active and reactive power settings follow a parallel structure. Initial commands start at P0 and Q0. The corresponding upper support limits are Pmax and Qmax, and the power increments are ΔP and ΔQ.
The outer loop manages the voltage-sag traversal. Execution initiates at Us,0 and decreases the grid voltage incrementally:
U s , m + 1 = U s , m − Δ U
At each specific voltage node Us,m, the system enters the inner power loop.
Within the inner loop, for a given voltage level Us,m, the active and reactive power commands Pn and Qn are increased step by step according to ΔP and ΔQ. For each generated (Us,m,P,Q) operating point, the system first calculates the corresponding AC/DC current command according to Equations (2) and (3).
State evaluation and optimization triggering are performed. After the current references are obtained for the considered operating point, the system first checks whether the MMC violates the capacitor-voltage or modulation constraints in the absence of any auxiliary injected signal. If the system naturally satisfies all physical constraints, the current state is recorded as “no optimization required”. If a limit exceedance occurs, the PSO algorithm is immediately invoked for global optimization, attempting to find the optimal injection parameter Yopt that can restore the system to within the safe limits.
Boundary determination and data storage are performed. If the PSO algorithm successfully converges and finds a valid solution, it indicates that the current power point is still within the physical support capacity of the MMC. The system will record this set of operating data and the corresponding optimal parameters, and continue to increase the power step size. If the PSO algorithm still outputs no solution after the maximum number of iterations (i.e., the fitness of all particles contains a large penalty term M), it indicates that the physical support potential of the MMC has been completely exhausted at the current voltage-sag depth. At this point, (Pn,Qn) defines the support-capacity limit boundary. The system then stops increasing power at the current voltage, exits the inner loop, and calculates the next voltage-sag step ΔUs.
The nested loops continue until the grid voltage drops to Us,min and all power boundaries are identified. This offline process generates a multidimensional sample set with thousands of valid data points. This dataset describes the following nonlinear mapping relationship:
f : U s , m , i d * , i q * T → I c , 2 ω , θ c 2 , A 3 , α 3 T
This sample set describes the maximum P − Q support-capacity envelope of the grid-forming MMC under different voltage-sag depths. It also shows that the dual complementary collaborative strategy expands the system safe operating region. It also provides high-quality training labels for the neural network model in the next section. These labels support nonlinear fitting and direct mapping control.
At each voltage node, the active and reactive power commands are subsequently increased stepwise. For each (Us,P,Q) operating point, the PSO algorithm is called to obtain the corresponding optimal injection parameter Yopt.
In this section, a dual-complementary collaborative strategy combining second-harmonic circulating-current ripple suppression with zero-sequence-voltage-based overmodulation mitigation is proposed. On this basis, a full-condition offline optimization model is established using PSO, which significantly extends the converter’s ultimate P−Q operating region without additional hardware and generates a large-scale, high-quality mapping dataset between operating conditions and optimal control commands.

4. Online Direct Mapping Control of Grid-Forming MMC Based on Neural Networks

In this study, the PSO is employed to determine the optimal control-parameter set of the grid-forming MMC under different fault conditions. However, as a heuristic global search algorithm, PSO has extremely high computational complexity, with a single optimization cycle typically taking seconds or even minutes. When voltage sags occur in the AC power grid, grid-forming control requires the converter to respond rapidly within milliseconds to provide support. To resolve the inherent contradiction between the long offline optimization time and the rapid fault support requirements, this section proposes using an artificial neural network (ANN) to construct a high-dimensional nonlinear mapping model, enabling instantaneous online mapping of optimal parameters [14].

4.1. Theoretical Construction and Variable Mapping of Neural Network Optimization Models

In order for neural networks to accurately grasp the control laws under different working conditions and replace complex online iterative calculations, it is first necessary to clarify the theoretical architecture of the model, the source of sample data, and the mapping relationship between key variables.

4.1.1. Construction of Offline High-Dimensional Mapping Datasets

The fitting accuracy of a neural network depends strongly on the quality and coverage of the training samples. Based on the nested-loop optimization process in Section 3, the system traverses the entire operating space. It alternately updates active power P, reactive power Q, and grid voltage Us. During this process, the system evaluates the state at each operating point. The global convergence criterion is given as follows:
P n ≤ P max Q n ≤ Q max U s , m ≥ U s , min
Here, Pmax and Qmax are the maximum support-capacity boundaries, and Us,min is the minimum allowable voltage-sag depth.
Through the above iterative optimization, the system records all valid data within the MMC physical limits. These data are then organized into a multidimensional mapping table. The table contains operating conditions, current commands, and optimized control parameters. The table shows the safe operating boundaries of the converter under extreme conditions. It also provides labeled samples for subsequent neural-network training.

4.1.2. Definition of Input and Output Vectors of the Optimization Model

A multilayer feedforward neural network is constructed for efficient mapping of the optimal control parameters. This network describes the coupling among the multidimensional variables. The input layer includes the key electrical quantities under the current operating condition for online sensing. The mapping function is defined as follows:
Z o u t = f ANN ( Y in ) = f A N N ( U s , m , i d n , i q n )
where Us,m is the measured grid-voltage amplitude. i d n is the active current reference. i q n is the reactive current reference. These three variables characterize the fault severity and the MMC support demand.
The output vector Zout contains four key control variables for the collaborative optimization strategy:
Z out = I c , 2 ω , θ c 2 , A 3 , α 3 T
Here, Ic,2ω is the amplitude of the injected second-harmonic circulating current. θc2 is its initial phase. A3 is the amplitude of the zero-sequence signal. α3 is its phase angle. The neural network maps the input operating condition to these four control parameters through nonlinear activation and layer-by-layer propagation in the hidden layers. It approximates the optimization logic of the PSO algorithm in this way.

4.1.3. Selection of Machine Learning Algorithm and Complexity Analysis

Grid-forming MMC requires fast control under fault conditions. The selected machine learning algorithm must be deployed in low-level hardware controllers. These controllers include field-programmable gate arrays and digital signal processors. The hardware imposes strict limits on online computational complexity, memory footprint, and execution determinism. These limits ensure a fast response from microseconds to milliseconds.
Many advanced machine learning methods exist. These methods include deep neural networks (DNNs), radial basis function (RBF) networks, Gaussian process regression (GPR), random forests (RFs), and extreme learning machines (ELMs). However, this paper must balance prediction accuracy and execution feasibility. Therefore, this paper selects the traditional multi-layer feedforward artificial neural network (ANN). Table 3 summarizes the comparison of these algorithms.
Table 3. Comparison of machine learning algorithms for low-level MMC control.
The ratings in Table 3 are based on specific hardware constraints. The proposed ANN only requires basic multiply–accumulate operations. Its time complexity is low. The execution time is highly deterministic. It is easy to pipeline using standard digital signal processing slices. DNN methods provide very high prediction accuracy. However, they require massive matrix multiplications due to deep hidden layers. Their high latency and massive memory footprint exceed the limits of typical low-level controllers. RBF networks require online calculation of Euclidean distances and exponential functions. Hardware implementation of exponential functions consumes excessive logic resources. GPR has a very high online complexity. The complexity of kernel matrix inversion is cubic with respect to the sample size. It is completely infeasible for microsecond-level converter control. RF methods require traversing multiple decision trees. Their massive conditional branching logic disrupts the pipeline efficiency of hardware. ELM has a low online complexity. The proposed model shares the low online complexity of a traditional ANN, and by utilizing particle swarm optimization data during the training process, the resulting network successfully meets the accuracy demands.
Deterministic matrix multiplications and basic activation functions form the core of traditional ANNs. Such a straightforward structure suits hardware parallel computing architecture. The network achieves sufficient fitting accuracy for the offline particle swarm optimization dataset. The design guarantees the extremely fast online execution required by grid-forming MMC support.
To further clarify the controller implementation complexity and hardware resource utilization, the specific memory and computational requirements of the proposed neural network are quantified. The network consists of an input layer with three nodes corresponding to the operating conditions, a single hidden layer with ten neurons, and an output layer with four nodes for the control variables. This architecture results in a total of 84 trainable parameters including all weights and biases. When utilizing standard 32-bit floating point precision, the entire model requires only 336 bytes of memory storage. Consequently, the forward inference process involves just 84 multiply–accumulate operations and ten activation function evaluations. This lightweight structure ensures that the controller implementation complexity remains extremely low. It consumes a negligible fraction of digital signal processing slices and blocks random access memory resources when deployed on field programmable gate arrays or similar low-level hardware, leaving abundant logic resources for the main circuit control loops.

4.2. Offline Model Optimization and Online Instantaneous Injection Mechanisms

The offline training phase incorporates physical constraints directly into the network parameters. Deploying the finalized model inside the controller achieves a millisecond-level response time.

4.2.1. Offline Training and Fitting Process

A custom feedforward artificial neural network executes the nonlinear mapping. Table 4 details the proposed model, including network architecture, dataset preprocessing, training algorithms, and hyperparameter configurations.
Table 4. Parameters and training details of the neural network.
The network demonstrates high training efficiency, converging at the 106th epoch with a mean squared error of approximately 0.0627. By evaluating the quantitative prediction errors between the optimal solutions from the traditional particle swarm optimization algorithm and the neural network outputs, the proposed model shows a high precision approximation. The coefficients of determination for the predicted variables representing the second-harmonic circulating current amplitude and the zero-sequence signal amplitude reach 0.9767 and 0.9467 respectively which demonstrates negligible prediction deviations. The iterative optimization process of the traditional particle swarm optimization algorithm is highly cumbersome. In contrast, a single forward inference of this neural network takes only 0.0019 milliseconds. This speed significantly reduces the computational burden. These results fully prove the network successfully and efficiently learns the variation patterns of the auxiliary injection signals.
The selection of the neural network hyperparameters was guided by a sensitivity analysis balancing prediction accuracy and online computational burden. Evaluating architectures with 5, 10, and 20 hidden neurons revealed that 5 neurons lead to underfitting, while 20 neurons double the inference time with marginal accuracy gains. Thus, the 10-neuron structure is adopted as the optimal configuration, achieving high accuracy alongside an ultra-low execution latency of approximately 10 µs.
The output parameters are plotted as three-dimensional surfaces with respect to the operating conditions to show the fitting results of the neural network. Cross-sectional views at specific voltages are also provided.
Figure 3, Figure 4, Figure 5, Figure 6, Figure 7, Figure 8, Figure 9 and Figure 10 respectively show the three-dimensional spatial surfaces of the second-harmonic circulating current amplitude Ic,2ω, the second-harmonic circulating current phase θc2, the zero-sequence signal amplitude A3, and the zero-sequence signal phase α3 obtained by fitting the model, and their cross-sectional views of the 0.8 p.u. grid voltage.
Figure 3. Three-dimensional spatial surface plot of the second-harmonic circulation amplitude obtained by neural network fitting.
Figure 4. Cross-sectional view of the second-harmonic circulating current amplitude at a grid voltage of 0.8 p.u.
Figure 5. Three-dimensional spatial surface plot of the second-harmonic circulation phase obtained by neural network fitting.
Figure 6. Profile of the second-harmonic circulating phase at a grid voltage of 0.8 p.u.
Figure 7. Three-dimensional spatial surface plot of zero-sequence signal amplitude obtained by neural network fitting.
Figure 8. Profile of zero-sequence signal amplitude at 0.8 p.u. mains voltage.
Figure 9. Three-dimensional spatial surface plot of the phase of the zero-sequence signal obtained by neural network fitting.
Figure 10. Profile of the zero-sequence signal phase at a grid voltage of 0.8 p.u.
From these fitting results, the operational boundary rules of the system can be clearly observed: the blank areas inside the surfaces in each figure represent the operating conditions where the system naturally satisfies all physical constraints under normal conditions. The MMC can operate safely and stably in these regions without additional optimization signals. The blank regions outside the surfaces indicate infeasible operating conditions. No optimized parameter set can satisfy all three physical constraints of the MMC at the same time under these extreme conditions. The colored surfaces show the optimal parameter values for safe operation near the physical limits. The trained neural network embeds these physical boundary constraints in its weight matrix.

4.2.2. Online Rapid Mapping and Instantaneous Injection of Optimized Instructions

The trained neural network model is deployed in the low-level controller of the grid-forming MMC. This allows a millisecond-level response to fault conditions.
The controller no longer performs online iterative search once a grid voltage sag is detected during converter operation. The execution process is as follows. The controller first samples the instantaneous voltage Us,m and obtains the AC/DC current commands from the control loop. The three variables are then fed into the deployed neural network for forward computation. The process only involves multiplications, additions, and activation functions. It does not require iterative convergence. The computational delay is typically in the microsecond-to-millisecond range. The four output parameters [Ic,2ω,θc2,A3,α3]T are then injected into the low-level modulation and control system. This suppresses submodule capacitor-voltage fluctuations and reduces modulation signal peaks.
The neural network mapping module trained in this section is embedded into the low-level control loop of the MMC in the simulation. Figure 11 illustrates the overall control block diagram. Pref and Qref denote the active and reactive power references, alongside the measured residual grid-voltage amplitude Us,m. The actual d-q axis currents are id and iq track their respective references idref and iqref.
Figure 11. Block diagram of the control strategy based on the neural network optimization model. In the diagram, the solid arrows indicate the direction of signal flow, and the dashed boxes represent distinct functional control modules, with different colors used for visual distinction.
The auxiliary injection signals comprise the second-harmonic circulating current amplitude Ic,2ω and initial phase θc2, alongside the zero-sequence voltage amplitude A3 and a phase α3. Final upper- and lower-arm modulation signals correspond to variables Sap and San. This control architecture forms a complete closed loop. It starts with low-level signal sensing, and ends with high-level command generation. Embedding the trained neural network into the control loop bypasses the time-consuming online iterations of heuristic algorithms. Instantaneous mapping guarantees immediate application of optimal injection parameters. The active controller suppresses capacitor-voltage fluctuations and averts overmodulation during severe voltage sags.
The closed-loop control architecture contains four modules, working from low-level sensing to high-level command generation. The outer loop calculates the instantaneous active and reactive power using measured AC grid voltage and current. Here, droop control and virtual impedance generate the internal reference voltage to provide grid support. The dual closed loop tracks this reference, outputting basic AC/DC current commands. The neural-network unit then maps the grid voltage and current commands into optimal injection parameters, which govern the second-harmonic circulating current and zero-sequence signals. Finally, the modulation unit integrates the basic wave and the optimized injection signals to generate trigger pulses for safe MMC operation.
The hybrid offline–online scheme regulates the converter’s internal electrical quantities to protect the equipment under extreme conditions. This allows the grid-forming MMC to maintain active and reactive power support during grid faults.
A short-circuit fault dropping the AC voltage to 0.8 p.u. is used to evaluate the performance. Continuous grid support forces the output current beyond steady-state limits, which risks pushing internal variables past their physical boundaries. Figure 12 shows the improved support capability of the MMC.
Figure 12. The effect of MMC support-capacity improvement under 0.8 p.u. grid voltage-sag conditions.
Figure 12 shows the converter’s P–Q operating envelope, where the collaborative method broadens the conventional boundary. The MMC uses this expanded region to maintain active and reactive power support during faults.
This section presents a direct mapping model for the control parameters of a grid-forming MMC based on a neural network. The offline global optimization in Section 3 provides the training data. The network takes grid voltage and current commands as inputs to output four collaborative optimization parameters. Then, we evaluate the fitted 3D surfaces and their physical limits. The offline fitting, forward computation and instantaneous injection form a closed-loop system. Traditional heuristic methods often suffer from severe computational delays during fault transients. This method effectively balances optimization accuracy and c, facilitating the multidimensional collaborative improvement of the support capacity of grid-forming MMC.
It is necessary to evaluate the strategy under different hardware setups and operating conditions. The trained network weights are highly coupled with the physical parameters of the converter, such as rated capacity, submodule count, and DC-link voltage. These hardware specifications determine the safety boundaries, including capacitor-voltage ripple limits and overmodulation thresholds. This means a trained network simply cannot be applied directly to other converter configurations. However, the proposed framework is scalable across different voltage levels and capacities. The strategy can be adapted simply by updating the hardware parameters, regenerating the data, and retraining the network. The core algorithm remains unchanged. Currently, the network is trained for symmetrical voltage sags based on feasible active and reactive power envelopes. By adding negative-sequence voltage and frequency variables to the input, the model can also handle asymmetrical faults and frequency deviations. The same framework will then output the new optimal parameters. Therefore, this architecture shows great generalization ability.
Furthermore, it is worth noting that the proposed strategy exhibits inherent robustness against parameter uncertainty and measurement noise in practical applications. Regarding parameter uncertainty, the neural network primarily outputs auxiliary injection references rather than fundamental driving signals. The fundamental stability and tracking performance are guaranteed by the robust closed-loop PI controllers in the inner current loop. While minor variations in hardware parameters, such as capacitance or inductance degradation over time, may cause the operating point to slightly deviate from the theoretical optimum, they do not compromise the overall system stability. Concerning measurement noise, the inputs to the neural network, specifically Us,m, i d n , and i q n , are typically processed through low-pass filters during the sensing stage. Because the trained feedforward neural network represents a smooth and continuous nonlinear mapping, small bounded noises in the input variables only lead to proportionally small fluctuations in the output injection commands. These minor high-frequency fluctuations are effectively smoothed out by the inertia of the control loops and the physical system, ensuring reliable operation under realistic noisy conditions.

5. Case Study

A control hardware-in-the-loop platform is built to evaluate the proposed method. This offloads heavy electromagnetic computations to a dedicated hardware unit, which directly decouple the simulation from controller execution and keeps a minimal time step. The hardware setup simply uses a Xilinx VC707 FPGA board (Xilinx, San Jose, CA, USA) and a MT1070 Rapid Control Prototyping platform (ModelingTech, Shanghai, China). To capture high-fidelity electromagnetic transients, the FPGA runs the MMC main circuit model on a mere 1 μs time step. Driven by an ARM Cortex-A9 processor (Arm Ltd., Cambridge, UK), the prototyping platform executes control functions at 10 kHz. Communication latency between the two boards is strictly limited to 5 μs. Computing the forward inference for the trained ANN model costs the processor 10 μs of computation time.
The HIL platform forms a closed-loop environment, where state variables sampled from the FPGA are directly sent to the RCP as analog feedback. This allows the RCP to generate driving commands based on the control law, which flow right back to the FPGA to run the main circuit model. As Figure 13 shows, this hardware–software coordination effectively runs the entire control loop and guarantees highly reliable results.
Figure 13. Schematic diagram of the HIL setup [15]. The arrows indicate the direction of data and signal flows, and different colors are used merely to visually distinguish them.
During the hardware-in-the-loop experiments, the neural network maintains the low quantitative prediction errors detailed in Section 4.2.1. This high precision mapping ensures that the instantaneous hardware control commands closely match the offline optimal targets without the heavy computational burden.
The hardware setup simply uses a Xilinx VC707 FPGA board (Xilinx, San Jose, CA, USA) and an MT1070 Rapid Control Prototyping platform (ModelingTech, Shanghai, China). To capture high-fidelity electromagnetic transients, the FPGA runs the MMC main circuit model on a mere 1 μs time step. Driven by an ARM Cortex-A9 processor (Arm Ltd., Cambridge, UK), the prototyping platform executes control functions at 10 kHz.
The simulation model uses typical parameters from large-scale flexible DC transmission projects. Table 5 lists the main circuit and control parameters.
Table 5. Main circuit parameters of the MMC.
The system initially operates at rated conditions. It delivers 1200 MVA of apparent power to the grid before the disturbance. A symmetrical three-phase short-circuit fault is applied to the AC grid at t = 1.0 s. This fault tests the dynamic transient response and creates a step-down voltage-sag. The HIL tests include a voltage-sag depth of 0.8 p.u. Figure 14 presents the time-domain waveforms of key electrical quantities. These results illustrate the system’s behavior before and after a voltage sag fault at t = 1 s under the neural network online direct mapping collaborative optimization strategy.
Figure 14. Dynamic response waveforms of key electrical quantities of the system under a 0.8 p.u. grid voltage-sag condition: (a) the AC-side grid voltage Us; (b) active power P and reactive power Q; (c) the submodule capacitor-voltage Ucap; (d) the upper-arm modulation function Sap in phase A.
Figure 14a shows that the AC-side grid voltage decreases by 20% at t = 1.0 s. Faced with this sudden grid fault, the grid-forming MMC responds rapidly. As shown in the power waveform in Figure 14b, at the moment of the fault, the system’s active power P recovers quickly and stabilizes at the rated value of 1200 MW after a very short transient fluctuation. At the same time, in order to supply fast voltage support during the disturbance, the reactive power Q rises sharply from its steady-state value of 0 Mvar to about 300 Mvar within several milliseconds, fully demonstrating the excellent characteristics of the grid-forming control in actively supporting weak grids. However, the sharp rise in reactive power is accompanied by a substantial increase in arm current, which places considerable pressure on the safe operation of the converter. Figure 14c shows the dynamic change in the submodule capacitor-voltage Ucap. Thanks to the optimal second-harmonic circulating current rapidly mapped and instantaneously injected by the neural network, even with the surge in support current after a fault, the low-frequency ripple of the capacitor voltage was effectively suppressed. Its peak value remained around 2500 V. This value stayed below the insulation-breakdown limit. Figure 14d shows the waveform of the upper-arm modulation function Sap in phase A. The injected circulating current suppresses the capacitor voltage ripple. The neural network also outputs the optimal zero-sequence signal. This signal smooths the modulation wave. The modulation waveform remains within the linear modulation range and avoids overmodulation.
The dynamic responses of the submodule capacitor voltage and the arm modulation signal are examined under the voltage-sag condition. The results before and after optimization are compared.
Figure 15 shows pronounced charging and discharging oscillations in the submodule capacitor voltage without the optimization strategy under large current stress. The ripple amplitude exceeds the safe limit. The peak voltage also approaches the insulation-breakdown threshold. This places the system at high risk of over-limit shutdown.
Figure 15. Comparison of submodule capacitor-voltage waveforms before and after optimization under grid voltage-sag conditions.
The controller injects a second-harmonic circulating current after the neural-network-based optimization strategy is introduced. This current interacts with the fundamental-frequency component. It suppresses the low-frequency power fluctuation. The peak capacitor voltage decreases as a result. The voltage ripple also returns to the safe range. The optimization reduces the overvoltage risk. It also increases the safety margin of the system.
Circulating-current injection alone can suppress the capacitor-voltage ripple. It also raises the peak arm voltage and may lead to overmodulation. Figure 16 shows the proposed strategy. It injects the circulating current and outputs the optimal zero-sequence signal through the neural network at the same time. The processed signal flattens the modulation wave. The flattening action decreases the peak value of the arm modulation waveform. The AC output power quality experiences no degradation. The optimized modulation waveform exhibits a smoother profile. The maximum amplitude stays strictly inside the linear modulation range.
Figure 16. Comparison of bridge arm modulation signal waveforms before and after optimization under grid voltage-sag conditions.
To explicitly demonstrate the advantages of the proposed method, a quantitative comparison was conducted against the conventional baseline control without the optimization strategy under identical 0.8 p.u. voltage-sag conditions. As shown in the comparative waveforms in Figure 15 and Figure 16 and summarized in Table 6, the conventional approach suffers from severe energy fluctuations. This pushes the peak capacitor voltage to 2518 V and the peak modulation signal to 0.88. By contrast, the proposed neural network-based collaborative strategy quantitatively reduces the peak capacitor voltage by 37 V down to 2481 V and decreases the peak modulation index to 0.86. These specific numerical improvements confirm that the proposed method significantly enhances the safety margin and support capability of the MMC compared to existing unoptimized approaches.
Table 6. Quantitative performance comparison between the conventional control and the proposed method during a 0.8 p.u. voltage sag.
An extra test scenario incorporates a 0.75 p.u. voltage sag. The test validates the robustness of the strategy under different fault severities and power support levels. The system initially delivers 800 MW of active power and 300 Mvar of reactive power. The dynamic response waveforms of the system during the sag event appear in Figure 17.
Figure 17. Dynamic response waveforms of key electrical quantities of the system under a 0.75 p.u. grid voltage-sag condition: (a) the AC-side grid voltage Us; (b) active power P and reactive power Q; (c) the submodule capacitor-voltage Ucap; (d) the upper-arm modulation function Sap in phase A.
The grid voltage drops by 25% at t = 1.0 s in Figure 17a. The active power (P) returns to the 800 MW reference after a transient phase. The reactive power (Q) climbs to about 700 Mvar to provide voltage support, according to Figure 17b. This case features an alternative power dispatch level and a larger voltage drop than the 0.8 p.u. sag scenario. The test evaluates the system performance under these new conditions.
The voltage sag is more severe in this scenario. The proposed neural network-based collaborative optimization strategy still maintains excellent performance. Figure 17c shows that the submodule capacitor voltage Ucap experiences a brief transient peak but quickly stabilizes, with its low-frequency ripple effectively suppressed. The voltage remains safely below the insulation-breakdown threshold. Furthermore, Figure 17d demonstrates that the upper-arm modulation function Sap is kept strictly within the linear modulation range of [0, 1], successfully avoiding overmodulation.
By comparing the results of the 0.8 p.u. and 0.75 p.u. scenarios, it is verified that the proposed method is not limited to a single operating point. The neural network can adaptively map and instantaneously inject the optimal circulating current and zero-sequence voltage signals to guarantee the safe operation of the MMC under varying fault depths and active/reactive power support requirements.
For clarity and to provide a comprehensive overview, all key parameters and methodological details of the HIL experimental setup are summarized in Table 7.
Table 7. Detailed parameters and configuration of the experimental setup.

6. Conclusions

This paper explores the safety limits of grid-forming modular multilevel converters (MMCs) during deep AC grid voltage sags, mainly to protect the equipment from overcurrent and capacitor overvoltage. A dual-layer collaborative control architecture is developed combining offline global optimization with online direct mapping. Supported by theoretical analysis and hardware tests, the key findings are summarized below:
  • The multidimensional physical constraints of grid-forming MMCs during fault transient are defined. An analytical model for internal energy fluctuations under unbalanced disturbances is developed to link capacitor peak voltage, voltage ripple, and arm modulations, establishing three physical boundary criteria for safe operation.
  • A dual-complementary collaborative optimization strategy is proposed to expand the system support boundaries via second-harmonic circulating current and zero-sequence voltage injections. Particle swarm optimization identifies the optimal parameters across different operating conditions, which broadens the safe P–Q operating domain and enhances the MMC support capability without extra hardware cost.
  • A millisecond-level direct mapping control architecture driven by a lightweight multilayer feedforward neural network is implemented to balance prediction accuracy and hardware feasibility. Training the network offline with optimization data shifts the computational burden, allowing rapid online forward inference for collaborative commands and showing good generalization across diverse hardware configurations.
  • Hardware-in-the-loop (HIL) verification confirms the effectiveness of the proposed strategy. Under severe grid voltage sags (0.8 p.u. and 0.75 p.u.), the neural network outputs optimal commands to suppress capacitor-voltage peaks and restrict ripples. This directly prevents overmodulation across varying fault severities and power dispatch levels.

Author Contributions

Conceptualization, F.Z.; software, M.H.; methodology, Q.C.; validation, Y.L. and G.W.; investigation, F.X.; data curation, M.H.; writing—review and editing, G.W.; visualization, Q.C.; supervision, Y.L.; project administration, F.Z.; writing—original draft, Y.L.; formal analysis, F.X.; resources, Q.C.; funding acquisition M.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the State Grid Corporation of China Headquarters Science and Technology Project (5500-202419133A-1-1-ZN).

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

Yi Lu, Feng Xu, Qian Chen, Fan Zhang, and Mingyue Han were employed by the State Grid Corporation of China. Guoteng Wang was affiliated with Zhejiang University. This study was funded by the State Grid Corporation of China Headquarters Science and Technology Project (5500-202419133A-1-1-ZN). The funder was involved in the following aspects of the study: conceptualization, Fan Zhang; software, Mingyue Han; methodology, Qian Chen; validation, Yi Lu and Guoteng Wang; investigation, Feng Xu; data curation, Mingyue Han; writing—review and editing, Guoteng Wang; visualization, Qian Chen; supervision, Yi Lu; project administration, Fan Zhang; writing—original draft, Yi Lu; formal analysis, Feng Xu; resources, Qian Chen; funding acquisition, Mingyue Han. The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest beyond the affiliations and funding disclosed above.

References

  1. Zhan, C.; Wu, H.; Wang, X.; Tian, J.; Wang, X.; Lu, Y. An overview of stability studies of grid-forming voltage source converters. Proc. Chin. Soc. Electr. Eng. 2023, 43, 2339–2358. [Google Scholar]
  2. Liu, H.; Yu, S.; Sun, D.; Wu, L.; Li, Y.; Wang, X. An overview of control technologies and principles for grid-forming converters. Proc. Chin. Soc. Electr. Eng. 2024, 44, 16. [Google Scholar]
  3. Freytes, J.; Li, J.; de Preville, G.; Thouvenin, M. Grid-Forming Control with Current Limitation for MMC Under Unbalanced Fault Ride-Through. IEEE Trans. Power Deliv. 2021, 36, 3292–3294. [Google Scholar] [CrossRef] [Scilit]
  4. Fan, B.; Liu, T.; Zhao, F.; Wu, H.; Wang, X. A Review of Current-Limiting Control of Grid-Forming Inverters Under Symmetrical Disturbances. IEEE Open J. Power Electron. 2022, 3, 955–969. [Google Scholar] [CrossRef] [Scilit]
  5. Yue, C.; Hao, Q.; Wang, S. Operating Area of Modular Multilevel Converter Station Considering the Constraint of Internal Dynamics. In Proceedings of the 2019 4th IEEE Workshop on the Electronic Grid (eGRID), Xiamen, China; IEEE: New York, NY, USA, 2019. [Google Scholar]
  6. Taul, M.G.; Wang, X.; Davari, P.; Blaabjerg, F. Current Limiting Control with Enhanced Dynamics of Grid-Forming Converters During Fault Conditions. IEEE J. Emerg. Sel. Top. Power Electron. 2020, 8, 1062–1073. [Google Scholar] [CrossRef] [Scilit]
  7. Wu, H.; Wang, X. Small-Signal Modeling and Controller Parameters Tuning of Grid-Forming VSCs With Adaptive Virtual Impedance-Based Current Limitation. IEEE Trans. Power Electron. 2022, 37, 7185–7199. [Google Scholar] [CrossRef] [Scilit]
  8. Jiang, Q.; Tao, Y.; Li, B.; Liu, T.; Chen, Z.; Blaabjerg, F. Joint Limiting Control Strategy Based on Virtual Impedance Shaping for Suppressing DC Fault Current and Arm Current in MMC-HVDC Systems. J. Mod. Power Syst. Clean Energy 2023, 11, 2003–2014. [Google Scholar] [CrossRef] [Scilit]
  9. Lu, X.; Lin, W.; Wen, J.; Yao, W.; An, T.; Li, Y. Dynamic phasor modelling and operating characteristic analysis of half-bridge MMC. In Proceedings of the 2016 IEEE 8th International Power Electronics and Motion Control Conference (IPEMC-ECCE Asia), Hefei, China; IEEE: New York, NY, USA, 2016; pp. 2615–2621. [Google Scholar]
  10. Liu, Z.; Li, K.-J.; Wang, J.; Liu, W.; Javid, Z.; Wang, Z.-D. General Model of Modular Multilevel Converter for Analyzing the Steady-State Performance Optimization. IEEE Trans. Ind. Electron. 2021, 68, 925–937. [Google Scholar] [CrossRef] [Scilit]
  11. Zhao, C.; Jiang, Q. Impedance-Based AC/DC Terminal Modeling and Analysis of the MMC-BTB System. IEEE Trans. Power Deliv. 2023, 39, 542–554. [Google Scholar] [CrossRef] [Scilit]
  12. Zhou, L.; Liu, S.; Chen, Y.; Yi, W.; Wang, S.; Zhou, X. Harmonic Current and Inrush Fault Current Coordinated Suppression Method for VSG Under Non-ideal Grid Condition. IEEE Trans. Power Electron. 2021, 36, 1030–1042. [Google Scholar] [CrossRef] [Scilit]
  13. del Valle, Y.; Venayagamoorthy, G.K.; Mohagheghi, S.; Hernandez, J.-C.; Harley, R.G.; Optimization, P.S. Variants and Applications in Power Systems. IEEE Trans. Evol. Comput. 2008, 12, 171–195. [Google Scholar] [CrossRef] [Scilit]
  14. Bose, B.K. Neural Network Applications in Power Electronics and Motor Drives—An Introduction and Perspective. IEEE Trans. Ind. Electron. 2007, 54, 14–33. [Google Scholar] [CrossRef] [Scilit]
  15. Chen, Q.; Lu, Y.; Xu, F.; Zhang, F.; Han, M.; Wang, G. A Dynamic Asymmetric Overcurrent-Limiting Strategy for Grid-Forming Modular Multilevel Converters Considering Multiple Physical Constraints. Symmetry 2026, 18, 53. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.