Our research focuses on the small-signal stability of grid-forming inverters, particularly Virtual Synchronous Generators (VSG), which are increasingly deployed in high-penetration renewable energy systems. Unlike conventional grid-following inverters, grid-forming inverters can actively establish voltage and frequency references, providing inertial support to weak grids. However, due to inherent asymmetries in the dq-domain control loops, these systems exhibit frequency-coupling effects that complicate impedance-based stability analysis. In this work, we develop a sequence-domain impedance model that accounts for such coupling, derive a reduced single‑input single‑output (SISO) equivalent model, and introduce a virtual impedance loop to mitigate oscillations in strong grid conditions. We validate our theoretical findings through both frequency‑domain and time‑domain simulations.
Various types of solar inverters, such as string inverters, microinverters, and central inverters, are widely used in photovoltaic systems. Among these, the grid-forming architecture — including VSG and droop-controlled inverters — is gaining attention for its ability to emulate synchronous machine behavior. In contrast, grid-following types of solar inverters rely on a phase‑locked loop (PLL) to synchronise with the grid, which can become unstable under weak grid conditions. Our work specifically addresses the frequency‑coupling phenomenon that arises in dq‑controlled types of solar inverters, and proposes a systematic method to improve their interconnection stability.
1. Frequency‑Coupling Mechanism
When a small perturbation at frequency fp is injected into the grid, an ideal, perfectly balanced three‑phase inverter should respond only with the same frequency and sequence component. In practice, however, the d‑ and q‑axis controllers can have slight gain or phase mismatches. This asymmetry causes the dq‑frame outputs to become unbalanced, generating both a positive‑sequence response at fp and a coupling component at 2f0 – fp (negative sequence when fp < f0). Table 1 summarises the frequency coupling characteristics.
| Perturbation frequency | Sequence | Response frequency (dominant) | Response sequence | Coupling frequency | Coupling sequence |
|---|---|---|---|---|---|
| fp > f0 | Positive | fp | Positive | 2f0 – fp | Positive |
| fp < f0 | Positive | fp | Positive | 2f0 – fp | Negative |
| fn | Negative | fn | Negative | 2f0 + fn | Positive |
The generation of the coupling component can be explained by the dq‑domain rotation vector decomposition. When d‑ and q‑axis transfer functions are mismatched, the output in the dq frame consists of two rotating vectors with opposite directions. After the inverse Park transformation, these produce a positive‑sequence component at the original frequency and a negative‑sequence component at the coupled frequency. This mechanism is fundamental for correctly modelling types of solar inverters that employ dq current control, including many grid‑forming and grid‑feeding types of solar inverters.
2. Impedance Modeling of a Grid‑Forming VSG Inverter
We consider a three‑phase VSG inverter with an LCL filter, as shown in the typical topology. The control structure consists of an active‑power loop (including the swing equation), a reactive‑power loop (including a voltage droop), an inner voltage‑current dual loop, and an optional virtual impedance loop. To obtain the output impedance in the sequence domain, we apply harmonic linearisation.
2.1 Main Circuit Equation
In the frequency domain, the inverter terminal voltage v and the output current i are related by:
$$
\begin{bmatrix}
e_a(s) \\
e_b(s) \\
e_c(s)
\end{bmatrix} =
\begin{bmatrix}
v_a(s) \\
v_b(s) \\
v_c(s)
\end{bmatrix} + \left( sL_f + \frac{L_f C_f s^2}{1 + R_f C_f s} \right) \begin{bmatrix}
i_{La}(s) \\
i_{Lb}(s) \\
i_{Lc}(s)
\end{bmatrix}
$$
where \(e_{abc}\) is the inverter internal voltage, and \(i_{La}, i_{Lb}, i_{Lc}\) are the inductor currents.
2.2 Power Loop Small‑Signal Model
The active‑power loop dynamics are:
$$
\Delta \omega = \frac{1}{J s + D_p} \left( \Delta P_{\text{ref}} – \Delta P_e \right), \quad \Delta \theta = \frac{\Delta \omega}{s}
$$
For the reactive‑power loop, the internal voltage magnitude \(E_m\) is:
$$
\Delta E_m = \frac{1}{K s + D_q} \left( \Delta Q_{\text{ref}} – \Delta Q_e \right)
$$
Using instantaneous power theory, the small‑signal active and reactive powers are linearised in the frequency domain, yielding expressions for \(\Delta\theta\) and \(\Delta E_m\) in terms of voltage and current perturbations. Detailed derivations can be found in the expanded version of this work. We note that different types of solar inverters may utilise alternative power‑loop structures (e.g., droop control or synchronverters), but the fundamental coupling mechanism remains similar.
2.3 Virtual Impedance and Dual‑Loop Control
The virtual impedance adds a voltage drop in the dq frame:
$$
\begin{aligned}
V_d^{\text{ref}} &= E_m – R_v i_d + X_v i_q \\
V_q^{\text{ref}} &= 0 – R_v i_q – X_v i_d
\end{aligned}
$$
The voltage and current controllers use PI regulators with parameters \(k_{pv}, k_{iv}, k_{pi}, k_{ii}\). After applying the Park transformation with the perturbed angle \(\theta = \theta_0 + \Delta\theta\), the modulation signals \(m_d, m_q\) are derived. Finally, through the inverse Park transformation, the inverter internal voltage is expressed in the sequence domain, leading to the following 2×2 output impedance matrix in the frequency domain:
$$
\begin{bmatrix}
V_p(s) \\
V_n(s)
\end{bmatrix} =
\begin{bmatrix}
Z_{pp}(s) & Z_{pn}(s) \\
Z_{np}(s- j2\omega_0) & Z_{nn}(s- j2\omega_0)
\end{bmatrix}
\begin{bmatrix}
I_p(s) \\
I_n(s)
\end{bmatrix}
$$
The off‑diagonal terms \(Z_{pn}\) and \(Z_{np}\) represent the frequency‑coupling gains. Their explicit forms are too lengthy to reproduce here, but they involve combinations of the controller parameters, filter elements, and operating point. The matrix highlights that types of solar inverters with dq‑based control inherently exhibit coupling, and ignoring it can lead to inaccurate stability predictions.
2.4 Reduced SISO Equivalent Impedance
To simplify stability analysis, we reduce the 2×2 system to a single‑input single‑output (SISO) equivalent. When the grid impedance is purely inductive, the equivalent positive‑sequence impedance seen by the grid is:
$$
Z_{p,\text{eq}}(s) = Z_{pp}(s) – \frac{Z_{pn}(s)\,Z_{np}(s- j2\omega_0)}{Z_{nn}(s- j2\omega_0) + Z_{g,n}(s- j2\omega_0)}
$$
where \(Z_{g,n}(s) = sL_g\) is the grid negative‑sequence impedance. Similarly, the equivalent negative‑sequence impedance can be derived. This reduced model accurately captures the influence of frequency coupling on the impedance magnitude and phase, as we verified by comparing the analytical model with time‑domain frequency‑sweep simulations. Table 2 summarises the key parameters used in our simulation.
| Parameter | Value | Parameter | Value |
|---|---|---|---|
| \(P_{\text{ref}}\) | 7200 W | Inertia \(J\) | 0.062 |
| \(Q_{\text{ref}}\) | 350 Var | Damping \(D_p\) | 6.0 |
| \(f_0\) | 50 Hz | Reactive damping \(D_q\) | 300 |
| \(V_0\) | 311 V | Voltage coefficient \(K\) | 6.8 |
| \(L_f\) | 2.8 mH | Decoupling coefficient \(K_d\) | 0.95 |
| \(C_f\) | 10 μF | \(k_{pv}\) | 1.3 |
| \(R_f\) | 1.2 Ω | \(k_{iv}\) | 4.2 |
| \(V_{dc}\) | 780 V | \(k_{pi}\) | 6.3 |
| \(K_m\) | 1/780 | \(k_{ii}\) | 9.4 |
Figure 1 compares the Bode plots of the positive‑sequence output impedance with and without considering frequency coupling. The coupled model (solid lines) shows better agreement with the measured time‑domain sweep points, especially in the negative‑sequence impedance. This confirms that our modelling approach is accurate and essential for analysing types of solar inverters that operate with dq control.

3. System Stability Analysis
3.1 Impedance‑Based Stability Criterion
For a grid‑connected inverter, the stability can be evaluated by comparing the inverter output impedance \(Z_o(s)\) with the grid impedance \(Z_g(s)\). The Nyquist criterion applied to the impedance ratio \(L(s) = Z_g(s)/Z_o(s)\) requires that the phase margin at the gain crossover frequency be positive. In the presence of frequency coupling, we use the reduced SISO equivalent impedance for the positive sequence. The condition for stability at the crossover frequency \(f_x\) is:
$$
\phi_m = 180^\circ – \left( \angle Z_g(j2\pi f_x) – \angle Z_{p,\text{eq}}(j2\pi f_x) \right) > 0^\circ
$$
3.2 Influence of Grid Strength
We swept the short‑circuit ratio (SCR) from 1.2 (very weak grid) to 40 (very strong grid). Figure 2 shows the Bode plots of the positive‑sequence output impedance (with frequency coupling) under different SCR values. For weak grids (SCR = 1.2, 3, 5), the phase difference at the gain crossover remains well above 90°, guaranteeing a large stability margin. As the grid becomes stronger (SCR = 28, 40), the intersection point moves to lower frequencies (around 40 Hz), and the phase of the output impedance becomes capacitive (large negative phase). The resulting phase margin becomes negative, indicating potential oscillations. This is a key observation: unlike grid‑following types of solar inverters that tend to be unstable in weak grids, grid‑forming types of solar inverters can become unstable in very strong grids due to the impedance matching characteristics.
Table 3 lists the calculated phase margins for several SCR values.
| SCR | Gain crossover frequency (Hz) | Phase margin (positive seq.) | Stability |
|---|---|---|---|
| 1.2 | ~52 | ~98° | Stable |
| 3 | ~51 | ~99° | Stable |
| 5 | ~50 | ~95° | Stable |
| 10 | ~48 | ~75° | Stable |
| 15 | ~45 | ~50° | Stable |
| 28 | ~40 | ~ -73° | Unstable |
| 40 | ~38 | ~ -98° | Unstable |
3.3 Time‑Domain Validation
We switched the grid strength from SCR = 3 to various values at t = 1 s in a Simulink model. For SCR = 1.2 and 5, the A‑phase voltage remained sinusoidal. For SCR = 28 and 40, severe sustained oscillations appeared, confirming the frequency‑domain prediction. This demonstrates that, contrary to conventional expectations, types of solar inverters configured as grid‑forming may face stability challenges in strong grids.
4. Stability Improvement via Virtual Impedance
4.1 Design of Virtual Impedance
Adding a virtual inductance \(L_v\) in series with the inverter output modifies the equivalent output impedance to \(Z_{p,\text{eq}}^{\text{new}}(s) = Z_{p,\text{eq}}(s) + sL_v\). Since the grid impedance is also inductive (\(sL_g\)), the virtual inductance increases the total inductive impedance, pushing the phase of the inverter output impedance towards a more inductive (less capacitive) characteristic at the crossover frequency. This can restore a positive phase margin. By evaluating the system’s sensitivity to \(L_v\) in the frequency range of interest (30–40 Hz), we derived the critical virtual inductance:
$$
L_{v,\text{crit}} \approx – \frac{\operatorname{Im}\left\{ Z_{p,\text{eq}}(j\omega_c) \right\}}{\omega_c} – L_g
$$
where \(\omega_c\) is the expected crossover angular frequency. This formula provides a quick guideline for engineers designing virtual impedance loops for various types of solar inverters to ensure robust stability across a range of grid conditions.
4.2 Sensitivity Analysis
We analysed the sensitivity of the impedance ratio to \(L_v\). The real and imaginary parts of the sensitivity in the 30–40 Hz band become positive for the real part and negative for the imaginary part as \(L_v\) increases, indicating that the phase margin improves monotonically with \(L_v\). Table 4 summarises the critical thresholds for two strong‑grid cases.
| Grid inductance \(L_g\) (mH) | SCR | Calculated \(L_{v,\text{crit}}\) (mH) | Validated stable \(L_v\) (mH) |
|---|---|---|---|
| 3.35 | ~28 | 1.17 | ≥1.35 |
| 2.40 | ~40 | 1.76 | ≥1.80 |
4.3 Time‑Domain Verification with Virtual Impedance
We added a virtual inductance of \(L_v = 10\ \text{mH}\) (well above the critical threshold) and repeated the grid‑switching tests. The voltage waveforms remained stable for all SCR values, including 28 and 40. Then, we gradually increased \(L_v\) in steps at the unstable operating point (SCR = 28, \(L_g = 3.35\ \text{mH}\)). With \(L_v = 0.45\) and 0.9 mH, oscillations persisted. At \(L_v = 1.35\ \text{mH}\) (just above the threshold), the waveforms stabilised, confirming the theoretical prediction. Similar behaviour was observed for the case \(L_g = 2.4\ \text{mH}\).
These results underline the importance of properly tuning virtual impedance for grid‑forming types of solar inverters. Without it, strong‑grid operation may be endangered; with adequate virtual inductance, stable operation is restored.
5. Conclusion
Our work systematically investigated the frequency‑coupling effect in grid‑forming VSG inverters and its impact on grid‑connected stability. We developed a sequence‑domain impedance model that accounts for coupling, derived a reduced SISO equivalent model, and validated it with time‑domain simulations. We found that, unlike conventional grid‑following types of solar inverters, grid‑forming inverters can exhibit reduced stability margins in strong‑grid conditions. To mitigate this, we introduced a virtual impedance loop and derived a critical inductance threshold based on sensitivity analysis. Time‑domain experiments confirmed that adding a properly sized virtual inductance effectively suppresses oscillations. The methodology and conclusions are applicable to a wide range of types of solar inverters that employ dq‑based control, providing a practical guideline for ensuring robust interconnection performance in modern power systems with high renewable penetration.
