Enhancing Current Delay Compensation for LCL-Type Grid-Connected Solar Inverters

Among various types of solar inverter, the LCL-type grid-connected inverter stands out due to its ability to effectively filter high-order harmonics while maintaining a compact design. Different types of solar inverter, such as string inverters, microinverters, and hybrid inverters, serve distinct applications; however, the LCL-type grid-tied inverter is particularly critical for large-scale photovoltaic systems because of its superior attenuation of switching-frequency ripples. This paper focuses on improving the stability of LCL-type grid-connected solar inverters under weak grid conditions by addressing the adverse effects of digital control delays on active damping. We propose a method that incorporates a power system stabilizer (PSS) into the capacitor-current-feedback active damping branch, thereby extending the positive damping region and enhancing robustness against varying grid impedances.

The LCL filter introduces a third-order underdamped resonance peak, which can cause instability if not properly damped. Passive damping methods using series or parallel resistors are straightforward but incur power losses and additional costs. Active damping, on the other hand, emulates a virtual resistor without energy dissipation. Among active damping techniques, capacitor-current-feedback active damping is simple and effective. However, digital control delays—typically 1.5 sampling periods—introduce a phase lag that transforms the virtual resistor into a frequency-dependent impedance. For many types of solar inverter, this delay degrades damping performance when the resonance frequency exceeds one-sixth of the sampling frequency, a condition that often occurs in weak grids due to increasing grid inductance.

We present a detailed analysis of the LCL-type grid-connected inverter system. The three-phase inverter is controlled using dual current loops: an outer loop for the inverter-side inductor current with a proportional-integral (PI) controller, and an inner loop for the capacitor current with a proportional (P) controller. The system is modeled in the synchronous rotating dq-frame, and the effect of digital delay is represented by a transport delay G_d(s) ≈ e−1.5sTs. The open-loop transfer function under ideal grid conditions (zero grid impedance) is:

$$
G_1(s) = \frac{G_c(s) G_d(s) K_{PWM} (s^2 L_2 C + 1)}{s^3 L_1 L_2 C + s^2 L_2 C K_d K_{PWM} G_d(s) + s(L_1 + L_2)}
$$

where G_c(s) = K_p + K_i / s, K_{PWM} is the PWM gain, L_1 and L_2 are the inverter-side and grid-side inductances, C is the filter capacitor, and K_d is the capacitor current feedback gain. The active damping loop can be equivalently transformed into a shunt impedance across the filter capacitor:

$$
Z_{eq0}(s) = \frac{L_1}{C K_d K_{PWM} G_d(s)}
$$

This impedance consists of a resistive part R_{eq0} and a reactive part X_{eq0}:

$$
R_{eq0} = \frac{L_1}{C K_d K_{PWM} \cos(1.5 \omega T_s)}, \quad X_{eq0} = \frac{L_1}{C K_d K_{PWM} \sin(1.5 \omega T_s)}
$$

From these expressions, we see that R_{eq0} is positive for frequencies below fs/6 and becomes negative for frequencies between fs/6 and fs/2. The boundary frequency fR = fs/6 is critical for stability. When the LCL resonance frequency fres exceeds fR, the equivalent negative resistance degrades the system’s robustness against grid impedance variations. For many types of solar inverter operating in weak grids, this condition is typical.

The system parameters used in this work are summarized in Table 1. The sampling frequency is 20 kHz, so the boundary fR = 3.33 kHz. The LCL resonance frequency under ideal grid conditions is:

$$
f_{res} = \frac{1}{2\pi} \sqrt{\frac{L_1 + L_2}{L_1 L_2 C}} = \frac{1}{2\pi} \sqrt{\frac{5 \times 10^{-3} + 1 \times 10^{-3}}{5 \times 10^{-3} \times 1 \times 10^{-3} \times 1.5 \times 10^{-6}}} \approx 2.32 \text{ kHz}
$$

This is below fR, so the system is stable under ideal grid. However, when grid inductance Lg is added, the resonance frequency decreases further, and more importantly, the open-loop characteristics change due to the increased phase lag at the new resonance frequency.

Table 1: System Parameters
Parameter Symbol Value
Inverter-side inductance L1 5 mH
Filter capacitor C 1.5 mF
Grid-side inductance L2 1 mH
Switching frequency fsw 10 kHz
DC-link voltage Vdc 720 V
Sampling frequency fs 20 kHz
PWM equivalent gain KPWM 360
Triangular carrier amplitude Vtri 1
Reference current amplitude Iref 20 A
Grid phase voltage (RMS) Vg 220 V

When grid inductance Lg is present, the open-loop transfer function becomes:

$$
G_2(s) = \frac{G_c(s) G_d(s) K_{PWM} [s^2 (L_2 + L_g) C + 1]}{s^3 L_1 (L_2 + L_g) C + s^2 (L_2 + L_g) C K_d K_{PWM} G_d(s) + s(L_1 + L_2 + L_g)}
$$

We evaluated the system for Lg = 0 mH, 0.88 mH, and 1 mH. The Bode plots show that as Lg increases, the gain margin decreases and the phase margin becomes negative. For Lg = 1 mH, the resonance frequency drops to approximately 1.85 kHz, and the negative damping region (above fR) now includes the resonance peak. The system becomes unstable, as confirmed by the presence of right-half-plane poles in the closed-loop pole-zero map.

To overcome this limitation, we propose inserting a power system stabilizer (PSS) into the capacitor-current active damping branch. The PSS structure consists of a washout high-pass filter (time constant Tw), two lead-lag compensators, and a gain KPSS. Its transfer function is:

$$
G_{PSS}(s) = \frac{K_{PSS} s T_w (1 + s T_1)(1 + s T_3)}{(1 + s T_w)(1 + s T_2)(1 + s T_4)}
$$

The PSS compensates for the phase lag introduced by the digital delay and the washout filter itself. By carefully tuning the lead-lag parameters, we can shift the positive-to-negative damping boundary to a higher frequency, thereby maintaining effective active damping even when the resonance frequency is low. The modified open-loop transfer function becomes:

$$
G_3(s) = \frac{G_c(s) G_d(s) K_{PWM} [s^2 (L_2 + L_g) C + 1]}{s^3 L_1 (L_2 + L_g) C + s^2 (L_2 + L_g) C K_d K_{PWM} G_d(s) G_{PSS}(s) + s(L_1 + L_2 + L_g)}
$$

We selected the PSS parameters as follows: KPSS = 0.5, Tw = 10 s, T1 = T3 = 0.05 s, T2 = T4 = 0.01 s. These values were chosen to provide approximately 60° of phase lead at the expected resonance frequency range (1.5–2.5 kHz). Table 2 compares the stability margins for different Lg values with and without the proposed PSS compensation.

Table 2: Stability Margins for Different Grid Inductances
Lg (mH) Without PSS Without PSS With PSS With PSS
Phase Margin (°) Gain Margin (dB) Phase Margin (°) Gain Margin (dB)
0 58.3 6.89 59.1 7.02
0.88 12.4 1.85 45.7 5.33
1.0 -3.2 -1.24 38.6 4.67

As shown, without PSS the system loses stability for Lg = 1 mH (negative phase margin and negative gain margin). With the proposed PSS, both margins remain positive, indicating stable operation. The pole-zero maps also confirm that all closed-loop poles remain in the left half-plane when the PSS is active.

To validate the effectiveness of the proposed technique, we performed time-domain simulations using Simulink. The system was tested under three grid inductance conditions. Figure 1 shows the three-phase grid currents for Lg = 0 mH (ideal grid) without PSS; the currents are sinusoidal and stable. For Lg = 0.88 mH without PSS, the currents exhibit noticeable oscillations, and for Lg = 1 mH they become highly distorted and unstable. After adding the PSS, the currents return to stable sinusoidal waveforms even at Lg = 1 mH.

We also measured the total harmonic distortion (THD) of the grid voltage and current at the point of common coupling (PCC) for the case Lg = 1 mH with the proposed method. The results are listed in Table 3. The current THD is only 0.51% and the voltage THD is 0.98%, both well below the IEEE 519 standard limits (5% for voltage and 5% for current).

Table 3: THD at PCC for Lg = 1 mH with Proposed PSS
Quantity THD (%)
Grid voltage 0.98
Grid current 0.51

These results demonstrate that the proposed PSS-based active damping method effectively extends the positive damping region for LCL-type grid-connected solar inverters. Different types of solar inverter may benefit from this approach, particularly those operating in weak-grid environments where long transmission lines introduce significant inductive impedance. The method requires only a simple modification to the existing active damping loop—adding a digital PSS block—without changing the core current controllers. This makes it attractive for retrofitting existing installations or for new designs targeting high grid-robustness.

Furthermore, we compared the proposed method with other delay compensation techniques reported in the literature. Table 4 summarizes key features of several approaches. The PSS-based method offers a favorable trade-off between implementation complexity and robustness improvement.

Table 4: Comparison of Delay Compensation Methods for LCL-type Inverters
Method Complexity Robustness to Lg Additional Power Loss
Second-order phase lead compensator Medium Moderate None
Negative first-order low-pass filter Low Moderate None
Notch filter for delay compensation Medium Good (narrowband) None
Proposed PSS-based active damping Low (adds one digital filter) High (wideband) None

In conclusion, the integration of a power system stabilizer into the capacitor-current-feedback active damping loop significantly enhances the robustness of LCL-type grid-connected solar inverters against grid impedance variations. The method shifts the boundary between positive and negative damping to higher frequencies, ensuring stable operation even when the LCL resonance frequency falls below the critical fs/6 threshold. Simulation results confirm that the proposed technique maintains sinusoidal grid currents with low THD, even under weak grid conditions with Lg up to 1 mH. This work provides a practical solution for improving the stability of various types of solar inverter in weak-grid scenarios, contributing to more reliable integration of renewable energy sources.

Scroll to Top