Control Strategy for Power-Frequency Stability of Grid-Forming Inverter in Photovoltaic and Energy Storage Systems Based on Parameter Cooperative Adaptive

I present a novel control strategy for enhancing the power-frequency stability of grid-forming inverters in photovoltaic and energy storage systems. The core of my approach lies in a coordinated adaptive mechanism for virtual inertia and virtual damping, addressing the limitations of conventional virtual synchronous generator (VSG) control under complex disturbances. In the context of modern power systems with high penetration of renewable energy, understanding the characteristics of different types of solar inverter is crucial, and my work specifically focuses on the grid-forming type to provide essential grid support. I begin by analyzing the system topology and mathematical model of the VSG-based inverter, followed by a detailed derivation of the proposed adaptive control laws. Stability analysis is conducted using both small-signal and transient methods. Finally, I validate the effectiveness of my strategy through comprehensive simulations under various disturbance scenarios, demonstrating superior performance compared to traditional and other adaptive methods.

The increasing integration of renewable energy sources, such as photovoltaic systems, into the power grid poses significant challenges due to the low inertia and weak damping characteristics of power electronic converters. Grid-forming (GFM) inverters, particularly those employing VSG control, have emerged as a key technology to provide synthetic inertia and frequency support. Among the various types of solar inverter, the grid-forming type is essential for stabilizing future power systems. However, the transient and steady-state regulation capabilities of traditional VSG are often insufficient under complex and variable disturbances. To overcome this, I propose a parameter cooperative adaptive control strategy that fine-tunes the virtual inertia coefficient $J_p$ and the virtual damping coefficient $D_p$ based on the system’s dynamic state. My method introduces a nonlinear function for inertia adjustment with fine interval partitioning and a lead-lag compensator for damping adaptation, effectively decoupling the conflicting requirements of transient damping and steady-state power accuracy.

System Structure and VSG Model

The overall system topology of a VSG-based photovoltaic and energy storage grid-connected system is the foundation of my work. Understanding the architecture helps in appreciating how different types of solar inverter can be integrated. The system comprises photovoltaic panels, a lithium battery for power balance, a supercapacitor for DC bus voltage regulation, and a three-phase inverter controlled by the VSG algorithm. The supercapacitor maintains a constant DC-link voltage via a PI controller, allowing the inverter to operate in grid-forming mode. The LCL filter connects the inverter to the grid through transmission lines. The control strategy includes active power-frequency (P-f) and reactive power-voltage (Q-V) control loops, voltage and current inner loops, and space vector pulse width modulation (SVPWM). The P-f loop simulates the rotor motion equation of a synchronous generator:

$$J_p \cdot \omega_n \cdot \frac{d\omega}{dt} = P_{ref} – P_e – D_p \cdot (\omega – \omega_n)$$

where $J_p$ is the virtual inertia coefficient, $D_p$ is the virtual damping coefficient, $P_{ref}$ and $P_e$ are the reference and output active power, $\omega$ and $\omega_n$ are the actual and rated angular velocities.

The equivalent circuit of the VSG grid-connected system allows me to derive the output power. For a predominantly inductive transmission line, the active power output $P_e$ can be expressed as:

$$P_e = \frac{E U_g}{X_g} \sin(\delta)$$

where $E$ is the inverter output voltage amplitude, $U_g$ is the grid voltage amplitude, $X_g$ is the line reactance, and $\delta$ is the power angle. From this, I can obtain the second-order active power closed-loop transfer function, which reveals the impact of $J_p$ and $D_p$ on system dynamics:

$$G_p(s) = \frac{P_e(s)}{P_{ref}(s)} = \frac{1}{\frac{J_p \omega_n X_g}{E U_g} s^2 + \frac{(D_p \omega_n + K_p) X_g}{E U_g} s + 1}$$

where $K_p$ is the primary frequency regulation coefficient. The natural oscillation frequency $\omega_r$ and damping ratio $\xi$ are:

$$\omega_r = \sqrt{\frac{E U_g}{J_p \omega_n X_g}}$$

$$\xi = \frac{1}{2} \left( D_p \sqrt{\frac{\omega_n X_g}{J_p E U_g}} + K_p \sqrt{\frac{X_g}{J_p \omega_n E U_g}} \right)$$

I further analyze how $J_p$ and $D_p$ influence the power response. For instance, increasing $J_p$ results in a higher overshoot and longer settling time, while decreasing $D_p$ has a similar unfavorable effect. Therefore, for optimal dynamic performance, a reasonable selection of both parameters is necessary, typically aiming for a damping ratio $\xi$ between 0.4 and 0.8. This analysis highlights the need for adaptive control to adjust these parameters in real-time based on the disturbance. The following table summarizes the impact of parameter variations on the dynamic response of active power and frequency, which is crucial when designing for different types of solar inverter control objectives.

Table 1: Impact of Virtual Inertia and Damping on System Dynamics
Parameter Change Active Power Overshoot Settling Time Frequency Deviation
Increase $J_p$ Increases Increases Reduces
Increase $D_p$ Decreases Decreases Reduces
Decrease $J_p$ Decreases Decreases Increases
Decrease $D_p$ Increases Increases Increases

Proposed Parameter Cooperative Adaptive Control Strategy

To overcome the limitations of fixed-parameter VSG controllers, I propose a novel cooperative adaptive strategy. This strategy is particularly important for advanced types of solar inverter that must operate reliably under diverse grid conditions. My approach is divided into two parts: adaptive virtual inertia control and adaptive virtual damping control.

Adaptive Virtual Inertia Control

I design an improved adaptive inertia control mechanism based on a nonlinear function. The goal is to provide large inertia during transient to suppress frequency change, and small inertia during steady state or recovery to accelerate stabilization. To avoid abrupt changes, I introduce a fine interval division for the angular velocity deviation $\Delta \omega$ and its rate of change $d\omega/dt$. The adaptive law is given by:

$$
J_p =
\begin{cases}
J_0, & \left| \frac{d\omega}{dt} \right| \leq T_j \\
J_0 – K_{j1} \frac{\omega_s}{\omega_s + |d\omega/dt|} \frac{1}{1 + \alpha \cdot |d\omega/dt|^2}, & \Delta \omega \cdot \frac{d\omega}{dt} \leq 0 \cap \left| \frac{d\omega}{dt} \right| \geq T_j \\
J_0 + K_{j2} \frac{\omega_s}{\omega_s + |d\omega/dt|} \frac{1}{1 + \alpha \cdot |d\omega/dt|^2} + K_{j3} |\Delta \omega|, & \Delta \omega \cdot \frac{d\omega}{dt} > 0 \cap \left| \frac{d\omega}{dt} \right| > T_j
\end{cases}
$$

where $J_0$ is the steady-state virtual inertia, $K_{j1}$, $K_{j2}$, $K_{j3}$ are adjustment coefficients, $T_j$ is the threshold for the rate of change of angular frequency, $\omega_s$ is a filtering constant, and $\alpha$ is a gain. This formulation ensures that $J_p$ decreases when the system frequency is moving towards the nominal value ($\Delta \omega \cdot d\omega/dt \leq 0$), and increases when it is moving away ($\Delta \omega \cdot d\omega/dt > 0$).

The key parameters $K_{j1}, K_{j2}, K_{j3}$ are optimized using the ITAE (Integral of Time multiplied by Absolute Error) criterion. A particle swarm optimization (PSO) algorithm is employed to minimize a cost function that considers both active power and frequency deviations. The optimal values I obtained are $K_{j1}=0.09$, $K_{j2}=0.9$, and $K_{j3}=0.4$. The sensitivity analysis shows that $K_{j2}$ has the most significant impact on the dynamic performance of the system, particularly affecting the overshoot and settling time of the power response.

Adaptive Virtual Damping Control

The second part of my strategy addresses the issue of steady-state active power error during grid frequency disturbances. As derived from the closed-loop transfer function, the steady-state error $\Delta P_e$ is proportional to the damping coefficient $D_p$:

$$\Delta P_e = – (D_p \omega_n + K_p) \Delta \omega_g$$

While a large $D_p$ is beneficial for transient oscillation damping, it leads to a large steady-state error. To solve this, I introduce a first-order lead-lag compensator $G_D(s)$ in the damping loop. This allows for dynamic adaptation between transient and steady-state damping. The complete adaptive damping law is:

$$
D_p =
\begin{cases}
D_0, & |\Delta \omega| \leq G_1 \\
D_0 + K_d |\Delta \omega|, & G_1 < |\Delta \omega| < G_2 \\
D_0 \cdot G_D(s), & |\Delta \omega| \geq G_2
\end{cases}
$$

where $G_D(s) = \frac{T_c s}{T_c s + 1}$ is the lead-lag compensator, $T_c$ is the time constant, $G_1$ and $G_2$ are threshold values for the angular velocity deviation, and $K_d$ is a proportional gain. The parameter $T_c$ is set to 0.62 s to ensure that the compensator has a gain of less than -5 dB at frequencies below 0.1 Hz, thus not affecting the steady-state damping. This design effectively decouples the damping role: $D_0$ provides steady-state damping, $K_d |\Delta \omega|$ provides additional damping during moderate disturbances, and $G_D(s)$ provides strong transient damping only during large disturbances, reducing steady-state error.

The following table summarizes the logic of the adaptive damping control.

Table 2: Adaptive Damping Control Logic
Condition Mode Purpose
$|\Delta \omega| \leq G_1$ Steady-State Damping Maintain normal small-signal stability
$G_1 < |\Delta \omega| < G_2$ Proportional Adaptive Damping Suppress frequency deviation moderately
$|\Delta \omega| \geq G_2$ Transient Damping (Lead-Lag) Reduce steady-state error, provide strong transient damp

The combined effect of my inertia and damping adaptive strategies allows for a superior performance. The final closed-loop transfer function with the transient damping is:

$$\Phi_B(s) = \frac{\Delta P_e(s)}{\Delta P_{ref}(s)} = \frac{S_E (T_c s + 1)}{a s^3 + b s^2 + c s + S_E}$$

where $S_E = \frac{EU_g}{X_g}$, $a = \omega_n J_p T_c$, $b = K_p T_c + \omega_n (J_p + T_c D_p)$, and $c = K_p + S_E T_c$. The phase margin $\gamma$ and cutoff frequency $f_{cp}$ of this system are designed to be 45° and 0.2 times the rated frequency, respectively, to ensure robust stability.

Stability Analysis

I conduct both small-signal and transient stability analyses to verify the robustness of my proposed control strategy. This is critical for reliable operation of all types of solar inverter, especially grid-forming ones in weak grids.

Small-Signal Stability Analysis

Using Lyapunov’s first method, I linearize the VSG active power control loop. The state-space equations are:

$$
\begin{bmatrix}
\Delta \dot{\delta} \\
\Delta \dot{\omega}
\end{bmatrix}
=
\begin{bmatrix}
0 & 1 \\
-\frac{S_E}{J_p \omega_n} & -\frac{D_p \omega_n + K_p}{J_p \omega_n}
\end{bmatrix}
\begin{bmatrix}
\Delta \delta \\
\Delta \omega
\end{bmatrix}
$$

The characteristic equation is $|pI – A| = 0$, and the eigenvalues are:

$$p_{1,2} = -\frac{D_p \omega_n + K_p}{2 J_p \omega_n} \pm \sqrt{\left(\frac{D_p \omega_n + K_p}{2 J_p \omega_n}\right)^2 – \frac{S_E}{J_p \omega_n}}$$

I plot the root locus as $J_p$ and $D_p$ change under the adaptive scheme. The results show that as these parameters are tuned in real-time, all eigenvalues remain strictly in the left half of the complex plane. This confirms that my adaptive strategy guarantees small-signal stability around the equilibrium point. The damping ratio $\xi$ is maintained within a stable range, preventing undamped oscillations.

Transient Stability Analysis

For transient stability, I consider a large disturbance such as a grid voltage sag. The equal-area criterion is applied to the power-angle curve. The condition for transient stability is that the decelerating area $S_{II}$ must be larger than the accelerating area $S_I$:

$$\int_{\delta_0}^{\delta_1} (P_{ref} – P_e) d\delta < \int_{\delta_1}^{\delta_2} (P_e – P_{ref}) d\delta$$

Substituting the VSG motion equation, I get:

$$\int_{\delta_0}^{\delta_1} (J_p \omega_0 \ddot{\delta} – D_p \omega_0 \dot{\delta}) d\delta < \int_{\delta_1}^{\delta_2} (D_p \omega_0 \dot{\delta} – J_p \omega_0 \ddot{\delta}) d\delta$$

My analysis shows that a very small $D_p$ can lead to system instability under large disturbances, while a very large $J_p$ can cause the power angle to exceed its unstable equilibrium point. Using the phase plane analysis and quantitative calculation from my model, I determine that the virtual damping coefficient should be in the range of 5 to 25 N·m·s·rad⁻¹ to ensure both stability and speed of response. My adaptive law keeps the values within this safe region, thus maintaining transient stability.

The phase plane diagram for my strategy shows a stable focus point, where the trajectories converge to the equilibrium without exceeding critical angles.

Verification and Analysis

To validate my proposed parameter cooperative adaptive control strategy, I build simulation models of a 30 kW photovoltaic and energy storage grid-connected system. I compare my strategy against a traditional fixed-parameter VSG, a small transient damping strategy ($D_{t\_small}=10$ N·m·s·rad⁻¹), a large transient damping strategy ($D_{t\_big}=14$ N·m·s·rad⁻¹), and other adaptive methods from literature. The system parameters are listed in Table 3. The performance is evaluated under active power command changes, grid frequency disturbances, grid voltage sags, and different grid strengths. This comprehensive validation is essential for demonstrating the practical applicability of my strategy across various types of solar inverter deployments.

Table 3: Simulation Parameters
Parameter Symbol Value
DC Bus Voltage $U_{dc}$ 800 V
Steady-State Virtual Damping $D_0$ 8 N·m·s·rad⁻¹
Filter Inductance 1 $L_1$ 3 mH
Filter Inductance 2 $L_2$ 0.8 mH
Filter Capacitance $C_f$ 15.5 μF
Grid Voltage (RMS) $U_g$ 220 V
Inertia Coefficient (Steady-state) $J_0$ 0.2 kg·m²

DC Bus Voltage Stability

First, I verify the DC bus voltage stability. With the hybrid storage system (supercapacitor + battery), when the load demand steps from 15 kW to 20 kW at 5 s, the batteries and supercapacitor instantly compensate for the power deficit, and the DC bus voltage remains stable. This confirms that the power balance mechanism works correctly, providing a solid base for the VSG control.

Active Power Command Dynamic Response

I test the performance under an active power command change from 5 kW to 10 kW at 0.5 s, and then down to 6 kW at 1.3 s. My proposed strategy, traditional VSG, small transient damping, and large transient damping strategies are compared. The simulation results show that the overshoots are 3.2%, 6%, 20.6%, and 14.6%, respectively. My strategy has the smallest overshoot, and the fastest settling time. This demonstrates that the adaptive inertia and damping control effectively suppresses power oscillations during power changes, which is a key advantage for modern types of solar inverter.

A further comparison against traditional adaptive control and RBF neural network adaptive control shows that my strategy achieves a maximum overshoot of 3.2%, compared to 5.3% and 3.5% for the other two, confirming superior dynamic performance.

Grid Frequency Disturbance Response

I simulate a grid frequency step increase of 0.05 Hz at 0.8 s. The steady-state active power error for my control strategy is 0.056 pu, which is significantly lower than the traditional adaptive strategy (0.19 pu) and the traditional fixed-parameter VSG (0.13 pu). The lead-lag damping compensator effectively decouples the transient and steady-state damping, preventing the large steady-state error induced by the fixed or simple adaptive damping. This result proves that my method provides excellent primary frequency support without sacrificing steady-state accuracy, a critical feature for grid-forming inverters.

Grid Voltage Disturbance Response

I apply a 0.2 pu voltage sag at the grid connection point for 0.2 s. Under this severe disturbance, my proposed strategy shows a maximum frequency overshoot of 0.11 Hz, which is lower than the traditional strategy (0.18 Hz), small damp (0.22 Hz), and large damp (0.20 Hz) strategies. This indicates that my parameter cooperative adaptive control effectively limits the frequency deviation, enhancing the transient stability of the system.

Performance under Different Grid Strengths

To verify adaptability in weak grids, I test scenarios with Short Circuit Ratios (SCR) of 1.2 (very weak), 2.5 (weak), and 5 (strong). The results show that the system remains stable in all cases. As the grid weakens (SCR decreases), the amplitude of power oscillations increases but is effectively damped by my control. The frequency deviation is also well controlled. My strategy consistently outperforms the traditional control in both power and frequency response across all grid strengths, demonstrating its robustness and adaptability to various grid conditions.

The key performance metrics are summarized in Table 4.

Table 4: Performance Comparison of Control Strategies
Disturbance Scenario Metric Traditional VSG Small Damp Large Damp My Strategy
Active Power Step (5->10kW) Power Overshoot 6% 20.6% 14.6% 3.2%
Grid Frequency Step (+0.05Hz) Steady-state Power Error 0.13 pu – – 0.056 pu
Grid Voltage Sag (0.2 pu) Frequency Overshoot 0.18 Hz 0.22 Hz 0.20 Hz 0.11 Hz

Conclusion

In this work, I have proposed a novel parameter cooperative adaptive control strategy for VSG-based grid-forming inverters in photovoltaic and energy storage systems. The key conclusions from my research are as follows:

  1. I derived the active power closed-loop transfer function and identified that the steady-state error during grid frequency disturbances is a coupled function of the primary frequency regulation and damping coefficients.
  2. To improve dynamic performance, I introduced a nonlinear-based adaptive virtual inertia control with fine interval partitioning, which optimally adjusts the inertia coefficient based on the rate and direction of frequency change.
  3. I integrated a lead-lag compensator into the virtual damping loop, enabling dynamic switching between transient and steady-state damping, which effectively reduces the steady-state power error during grid frequency disturbances.
  4. Simulation results under various disturbances (active power steps, grid frequency changes, voltage sags, and weak grid conditions) demonstrate that my strategy significantly reduces power overshoot (to only 3.2%) and steady-state error (to 0.056 pu) while maintaining robust stability. This work provides an effective solution for improving the power-frequency stability of modern grid-forming inverters, a critical element for the reliable integration of renewable energy sources into future power systems. This adaptive method is highly suitable for advanced types of solar inverter operating in complex grid environments.
Scroll to Top