As the penetration of photovoltaic (PV) systems increases globally, the power quality and stability of grid-connected solar inverters have become critical concerns. In practical applications, three-phase power grids often exhibit voltage imbalances due to uneven loads, faults, or network asymmetries. These imbalances can severely degrade the performance of conventional control schemes for solar inverters, leading to increased current harmonics, power oscillations, and even instability. Traditional vector control methods in the synchronous rotating (dq) frame, while effective under balanced conditions, suffer from cross-coupling between the d and q axes and sensitivity to negative-sequence components when the grid is unbalanced. This paper addresses these challenges by proposing a novel composite control strategy for LCL-filter-based three-phase solar inverters. The core of our approach lies in a double-sequence feedforward decoupling technique that effectively eliminates coupling terms and compensates for grid voltage disturbances, combined with a repetitive controller to suppress dead-time effects and reduce low-order harmonics. We present comprehensive modeling, stability analysis, simulation, and experimental validation to demonstrate the superiority of this strategy in enhancing the robustness and power quality of solar inverter systems under non-ideal grid conditions.
The widespread adoption of solar energy conversion systems has made the solar inverter a pivotal interface between PV panels and the utility grid. A primary technical hurdle is ensuring high-quality current injection under various grid disturbances, particularly voltage imbalances. The LCL filter is commonly employed in solar inverters due to its superior high-frequency attenuation compared to simple L filters. However, it introduces a resonant peak that requires careful damping. Moreover, when the grid voltages are unbalanced, the standard dq transformation yields alternating current (AC) components in the dq frame, causing coupling and rendering proportional-integral (PI) controllers ineffective for tracking DC references. Numerous strategies have been explored, such as dual current control loops, resonant controllers, and model predictive control. While these methods offer certain advantages, they often increase complexity, computational burden, or parameter sensitivity. Our work focuses on a simpler yet highly effective solution: using inverter-side current feedback for active damping of the LCL resonance and implementing a decoupling scheme based on the separation of positive and negative sequence components. This allows for independent control of active and reactive power even during grid faults. Furthermore, to mitigate the periodic distortion caused by inverter dead-time, we integrate a repetitive controller in parallel with the PI regulator, forming a compound controller that significantly lowers total harmonic distortion (THD).
The mathematical model of a three-phase grid-connected solar inverter with an LCL filter forms the foundation for control design. The main circuit topology, as represented in the literature, consists of a DC-link voltage \(U_d\) from the PV array (often via a Boost converter for MPPT), a three-phase voltage-source inverter (VSI), an LCL filter (\(L_1\), \(C\), \(L_2\)), and the grid. The inverter can be modeled as a gain \(K_{PWM} = U_d / U_{tri}\) where \(U_{tri}\) is the amplitude of the carrier wave. Applying Kirchhoff’s laws and Park’s transformation to the synchronous reference frame rotating at the grid fundamental frequency \(\omega\), the voltage equations in the dq frame are derived. These equations inherently contain cross-coupling terms such as \(\omega L_1 i_{1q}\), \(\omega L_1 i_{1d}\), \(\omega L_2 i_{2q}\), \(\omega L_2 i_{2d}\), \(\omega C u_{cq}\), and \(\omega C u_{cd}\), where subscripts \(1\) and \(2\) denote inverter-side and grid-side quantities, respectively. Under unbalanced grid voltages, the grid voltage vector contains both positive-sequence (rotating counter-clockwise) and negative-sequence (rotating clockwise) components. A standard single dq transformation applied to an unbalanced three-phase system results in oscillatory components at \(2\omega\) in the dq frame. Therefore, to achieve accurate control, these sequences must be separated.

The proposed double-sequence feedforward decoupling method begins with the extraction of positive and negative sequence components. We employ dual synchronous reference frame (DSRF) transformation. Let the positive-sequence dq frame (dq+) rotate at \(\omega\) in the positive direction, and the negative-sequence dq frame (dq-) rotate at \(\omega\) in the negative direction. The transformation matrices from the stationary \(\alpha\beta\) frame to these frames are:
$$T_{dq+} = \begin{bmatrix} \cos(\omega t) & \sin(\omega t) \\ -\sin(\omega t) & \cos(\omega t) \end{bmatrix}, \quad T_{dq-} = \begin{bmatrix} \cos(\omega t) & -\sin(\omega t) \\ \sin(\omega t) & \cos(\omega t) \end{bmatrix}$$
For any vector \(V\) in the \(\alpha\beta\) frame, its components in dq+ and dq- are \(V_{dq+} = T_{dq+} V_{\alpha\beta}\) and \(V_{dq-} = T_{dq-} V_{\alpha\beta}\). Under unbalanced conditions, \(V_{dq+}\) and \(V_{dq-}\) both contain DC terms (from the respective sequence) and AC terms at \(2\omega\) (from the opposite sequence). To decouple them, we use a structure that estimates the DC components \(D^+\), \(Q^+\) (positive sequence) and \(D^-\), \(Q^-\) (negative sequence) through low-pass filters (LPF) and cross-feedback cancellation. The decoupling equations are:
$$D^+ = V_d^+ – D^- \cos(2\omega t) – Q^- \sin(2\omega t)$$
$$Q^+ = V_q^+ + D^- \sin(2\omega t) – Q^- \cos(2\omega t)$$
$$D^- = V_d^- – D^+ \cos(2\omega t) + Q^+ \sin(2\omega t)$$
$$Q^- = V_q^- – D^+ \sin(2\omega t) – Q^+ \cos(2\omega t)$$
After applying these, the positive-sequence components \(D^+\) and \(Q^+\) become pure DC quantities, free from negative-sequence interference. These are then used for feedforward decoupling of the coupling terms in the control loop. For the solar inverter control, we focus on the inverter-side current feedback scheme, which offers inherent resonance damping without additional sensors or complex tuning. The block diagram of the decoupled system in the d-axis (q-axis is analogous) is shown below, where all coupling terms and grid voltage are compensated via feedforward paths.
To design the feedforward gains, we employ signal flow graph analysis and Mason’s gain formula. Consider the d-axis control loop with inverter-side current feedback \(H\) and controller \(G_c(s)\). The coupling term \(\omega L_2 i_{2q}\) acts as a disturbance. The transfer function from this disturbance to the grid-side current \(i_{2d}\) is derived, and feedforward gains \(A\) and \(B\) are chosen to nullify its effect. Similar analysis is performed for other coupling terms (\(\omega C u_{cq}\), \(\omega L_1 i_{1q}\)) and the grid voltage \(u_{gd}\). The derived feedforward coefficients are universal for both axes and are given by:
$$A = H C s, \quad B = \frac{L_1 C s^2 + 1}{K_{PWM}}$$
$$E = H, \quad F = \frac{L_1 s}{K_{PWM}}$$
$$M = 0, \quad N = \frac{1}{K_{PWM}}$$
These coefficients ensure that the coupling terms and grid voltage disturbances are canceled, leaving a simplified plant for the PI controller. The negative-sequence components are controlled separately by setting their references to zero (\(i_{d-}^* = 0, i_{q-}^* = 0\)) to minimize current imbalance. The overall control structure for the solar inverter integrates this decoupling network with a phase-locked loop (PLL) based on the positive-sequence voltage, ensuring accurate synchronization even under unbalanced conditions.
Stability analysis of the proposed inverter-side current feedback system with decoupling is crucial. The closed-loop transfer function from reference current \(i_d^*\) to inverter-side current \(i_1\) is:
$$G_{i1}(s) = \frac{i_1(s)}{i_d^*(s)} = \frac{L_2 C K_{PWM} G_c(s) s^2 + G_c(s) K_{PWM}}{D(s)}$$
where
$$D(s) = L_1 L_2 C s^3 + G_c(s) K_{PWM} H L_2 C s^2 + (L_1 + L_2) s + G_c(s) K_{PWM} H$$
Assuming a proportional controller \(G_c(s) = k_p\) for simplicity, we apply the Routh-Hurwitz criterion to the characteristic equation \(D(s)=0\). The Routh array is constructed as follows:
| Power of s | Coefficients |
|---|---|
| s3 | \(L_1 L_2 C\) |
| s2 | \(k_p K_{PWM} H L_2 C\) |
| s1 | \(\frac{(L_1+L_2) – \frac{L_1 L_2 C \cdot 0}{k_p K_{PWM} H L_2 C}}{1} = L_1+L_2\) |
| s0 | \(k_p K_{PWM} H\) |
Since all parameters (\(L_1, L_2, C, k_p, K_{PWM}, H\)) are positive, all elements in the first column are positive, indicating that the system has no poles in the right-half plane and is stable. This analysis confirms the inherent stability of the inverter-side current feedback loop with appropriate parameter selection. For the grid-side current, after applying grid voltage feedforward with coefficients \(A\) and \(B\), the transfer function simplifies to \(i_{2d}(s) = \frac{G_c(s) K_{PWM}}{D(s)} i_d^*(s)\), making it independent of grid voltage disturbances.
While the PI controller and decoupling scheme handle steady-state tracking and disturbance rejection, the dead-time effect inherent in PWM inverters introduces periodic low-order harmonics, primarily odd multiples of the fundamental frequency. Dead-time is necessary to prevent shoot-through in the inverter legs but causes voltage distortion, especially around current zero-crossings. To address this, we incorporate a repetitive controller (RC) based on the internal model principle. The RC is placed in parallel with the PI controller, forming a compound controller \(G_{total}(s) = G_{PI}(s) + G_{RC}(s)\). The discrete-time transfer function of a standard RC is:
$$G_{RC}(z) = \frac{C(z) z^{-N}}{1 – Q(z) z^{-N}}$$
where \(N = f_s / f_1\) is the number of samples per fundamental period, \(Q(z)\) is a filter (often a constant slightly less than 1 or a low-pass filter) to enhance robustness, and \(C(z)\) is a compensator designed to achieve zero phase shift and unity gain at low frequencies. For our solar inverter application, we set \(Q = 0.95\), \(N = 200\) (for \(f_s = 10\) kHz, \(f_1 = 50\) Hz), and design \(C(z)\) as:
$$C(z) = K_r z^k S(z)$$
Here, \(K_r = 0.8\) is the RC gain, \(k = 2\) is a phase lead compensation to counteract system delay, and \(S(z)\) is a second-order low-pass filter to attenuate high-frequency noise. The filter \(S(z)\) is designed with a cutoff frequency of 800 Hz and damping ratio of 1 for effective resonance suppression:
$$S(z) = \frac{0.0902 z + 0.06461}{z^2 – 1.213 z + 0.3679}$$
Thus, the overall compound controller in the z-domain becomes:
$$G_c(z) = k_p + \frac{k_i T_s}{z-1} + \frac{0.8 \cdot z^{-198}}{1 – 0.95 z^{-200}} \cdot \frac{0.0902 z + 0.06461}{z^2 – 1.213 z + 0.3679}$$
where \(k_p\) and \(k_i\) are the PI gains, and \(T_s\) is the sampling period. This compound controller ensures fast dynamic response from the PI part and high-precision harmonic suppression from the RC part, significantly improving the grid current quality of the solar inverter.
To validate the proposed control strategy, we conducted extensive simulations and built a 4.5 kW three-phase solar inverter prototype. The system parameters are summarized in the table below:
| Parameter | Symbol | Value |
|---|---|---|
| DC-link Voltage | \(U_d\) | 700 V |
| Grid Voltage (phase) | \(U_g\) | 220 V RMS |
| Grid Frequency | \(f_1\) | 50 Hz |
| Switching Frequency | \(f_s\) | 10 kHz |
| Inverter-side Inductance | \(L_1\) | 3 mH |
| Grid-side Inductance | \(L_2\) | 1.1 mH |
| Filter Capacitance | \(C\) | 4.7 μF |
| PI Gains (\(k_p, k_i\)) | \(G_{PI}(s)\) | 1.5, 100 |
| Feedback Coefficient | \(H\) | 0.5 |
In the simulation, we imposed unbalanced grid voltages with amplitudes of 311 V (phase A), 311 V (phase B), and 291 V (phase C) to create a 6.4% voltage imbalance. First, we tested the conventional PI control without the double-sequence decoupling. The resulting three-phase grid currents exhibited significant amplitude imbalance and distortion, with a total harmonic distortion (THD) of 3.7% at 10 A output. Next, we enabled the double-sequence feedforward decoupling. The currents became balanced with equal amplitudes, and the THD reduced to 2.6%. Finally, with both decoupling and the repetitive controller activated, the THD further dropped to 0.62%, demonstrating excellent harmonic suppression. The FFT analysis of the grid current under composite control showed drastic reduction in low-order harmonics, particularly the 5th, 7th, and 11th harmonics which are typical dead-time harmonics.
The experimental prototype utilized a DSP TMS320F28335 for digital implementation. The unbalanced grid condition was emulated using a programmable AC source. Waveforms captured from the oscilloscope clearly show the improvement. Without decoupling, the phase currents were unequal and distorted. With the proposed strategy, the currents became sinusoidal and balanced. The dynamic performance was also tested by step changes in the current reference from 5 A (half-load) to 10 A (full-load) and vice versa. The settling time was approximately one grid cycle (20 ms), indicating good transient response. The compound controller effectively eliminated the dead-time induced flat-top distortion near current zero-crossings. The following table summarizes the key performance metrics from experiments:
| Control Scheme | Current Imbalance (%) | THD (%) @10A | Settling Time (ms) |
|---|---|---|---|
| PI only (no decoupling) | 15.2 | 3.7 | 25 |
| PI with decoupling | 2.1 | 2.6 | 22 |
| PI+RC with decoupling | 1.8 | 0.62 | 20 |
The mathematical effectiveness of the decoupling can be further illustrated by analyzing the power oscillations. Under unbalanced voltages, the instantaneous active and reactive power contain double-frequency ripples. With negative-sequence current suppressed to zero, the power oscillations are minimized. The power equations in the positive-sequence dq frame are:
$$P = \frac{3}{2} (u_d^+ i_d^+ + u_q^+ i_q^+), \quad Q = \frac{3}{2} (u_q^+ i_d^+ – u_d^+ i_q^+)$$
By controlling \(i_d^+\) and \(i_q^+\) to DC values, constant power flow is achieved. The negative-sequence currents, if uncontrolled, would interact with positive-sequence voltages to produce \(2\omega\) power ripple. Our strategy of setting \(i_d^-^* = 0\) and \(i_q^-^* = 0\) effectively eliminates this source of ripple, enhancing the power quality delivered by the solar inverter.
In conclusion, this paper has presented a comprehensive control solution for three-phase LCL-filter based solar inverters operating under unbalanced grid voltages. The proposed double-sequence feedforward decoupling method successfully separates positive and negative sequence components, cancels cross-coupling terms, and rejects grid voltage disturbances, enabling precise current control with inverter-side feedback. The addition of a repetitive controller in parallel with the PI regulator significantly suppresses dead-time harmonics, leading to a very low THD. Stability analysis confirms the robustness of the approach. Both simulation and experimental results on a 4.5 kW solar inverter prototype validate the effectiveness of the strategy in improving current balance, reducing harmonic distortion, and maintaining good dynamic response. This control scheme is particularly advantageous for modern solar energy systems that must comply with stringent grid codes under diverse operating conditions. Future work may extend this method to higher power levels, explore adaptive tuning of controller parameters, or integrate it with advanced grid-support functions such as fault ride-through. The continuous evolution of solar inverter technology demands such innovative control strategies to ensure reliable and high-quality integration of renewable energy into the power grid.
The implications of this research are significant for the solar industry, as it provides a practical and computationally efficient method to enhance the performance of solar inverters in real-world unbalanced grids. By improving power quality and stability, this strategy can reduce the need for additional filtering equipment, lower maintenance costs, and increase the overall reliability of PV installations. As global energy systems transition towards higher shares of renewables, advanced control algorithms like the one proposed here will be essential for maximizing the value and integration of solar power. The solar inverter, therefore, remains a critical focus for innovation, and our work contributes to its ongoing development towards smarter, more resilient, and grid-friendly operation.
Further analysis can be conducted on the sensitivity of the control system to parameter variations, such as changes in grid impedance or filter component tolerances. The use of online parameter identification techniques could be combined with the proposed controller to adapt to changing network conditions. Moreover, the application of this strategy in multi-inverter systems or microgrids presents an interesting avenue for research, where interactions between multiple solar inverters could be managed through coordinated control. The fundamental principles of sequence separation and harmonic compensation are also applicable to other types of grid-connected converters, such as those used in wind energy systems or battery energy storage, highlighting the broad relevance of this work. Ultimately, the goal is to develop solar inverters that not only convert DC to AC efficiently but also act as active grid assets that support voltage and frequency stability, thereby facilitating a sustainable energy future.
