With the rapid development of renewable energy, solar power generation has become a dominant force in distributed energy systems. The increasing penetration of distributed photovoltaic (PV) installations into the grid presents both opportunities and challenges. Solar inverters, as key interfaces between PV arrays and the grid, must not only ensure efficient power conversion but also contribute to grid stability and reliability. One critical technical issue is fault ride-through capability, particularly low voltage ride-through (LVRT) and zero voltage ride-through (ZVRT), which are essential for maintaining grid integrity during faults. Traditional grid-connected inverters, based on power electronic devices, offer fast response and high reliability but lack inherent inertia and damping, making it difficult for them to participate in grid regulation. To address this, the virtual synchronous generator (VSG) technology has been proposed to emulate the behavior of synchronous generators, providing virtual inertia and damping to enhance system stability. However, integrating fault ride-through capabilities with VSG control remains a challenge. In this article, I present a novel control strategy that combines VSG control with negative-sequence voltage feedforward-based LVRT control to achieve seamless operation and fault ride-through for solar inverters. The strategy enables smooth switching between normal VSG mode and fault ride-through mode, ensuring stability during normal operation and robust performance during grid faults. I will discuss the mathematical foundations, control design, simulation results, and practical implications, with a focus on the solar inverter as a core component.
The proliferation of distributed solar energy systems has heightened the need for advanced control strategies that can handle grid disturbances. Solar inverters must comply with grid codes that mandate LVRT and ZVRT capabilities, meaning they must remain connected and support the grid during voltage sags or even complete voltage dips. The VSG approach mimics the rotational inertia and damping of synchronous generators, thereby improving frequency and voltage stability. However, under fault conditions, the VSG control alone may not suffice to limit overcurrents or provide adequate reactive power support. Therefore, I propose a hybrid control scheme that leverages the strengths of VSG for normal operation and a dedicated LVRT control for fault conditions. This article delves into the details of this strategy, emphasizing the role of the solar inverter in modern power systems. Through mathematical modeling, simulation, and analysis, I demonstrate the effectiveness of the proposed method in achieving both stability and fault ride-through.
Fundamentals of VSG Control for Solar Inverters
The virtual synchronous generator concept aims to endow solar inverters with characteristics similar to traditional synchronous generators. This involves emulating the electromechanical dynamics, such as inertia and damping, which are crucial for grid stability. The VSG control algorithm is derived from the equations of motion and electrical behavior of synchronous machines. For a solar inverter connected to the grid, the VSG control can be implemented in the inverter’s control loop to regulate active power, reactive power, frequency, and voltage.
The mathematical model of a VSG is based on the swing equation and the generator’s internal voltage equation. The mechanical part is represented by:
$$ J \frac{d\Omega}{dt} = T_m – T_e – T_d = \frac{1}{\omega} (P_T – P_e) $$
where \( J \) is the virtual moment of inertia, \( \Omega \) is the mechanical angular velocity, \( T_m \) is the mechanical torque, \( T_e \) is the electromagnetic torque, \( T_d \) is the damping torque, \( \omega \) is the electrical angular velocity, \( P_T \) is the mechanical power input, and \( P_e \) is the electromagnetic power output. The electrical angular velocity is related to the mechanical angular velocity by \( \omega = p \Omega \), where \( p \) is the number of pole pairs. For simplicity, I assume \( p = 1 \), so \( \omega = \Omega \). The electrical part of the VSG is described by the voltage equation:
$$ \dot{E} = \dot{U} + \dot{I} R_a + j \dot{I} X_s $$
where \( \dot{E} \) is the excitation electromotive force (EMF), \( \dot{U} \) is the terminal voltage, \( \dot{I} \) is the armature current, \( R_a \) is the armature resistance, and \( X_s \) is the synchronous reactance. In practice, for a solar inverter, these parameters are virtual and can be tuned to achieve desired dynamics.
The VSG control algorithm involves several steps. First, the active power and reactive power outputs are measured from the grid-connected point. The active power error is used to adjust the frequency through the swing equation, while the reactive power error is used to adjust the voltage magnitude through an excitation controller. The frequency deviation from the nominal value (e.g., 50 Hz or 60 Hz) is integrated to obtain the phase angle \( \theta \), which is used to generate the reference voltage signals. The control block diagram for VSG is shown below, illustrating the integration of these components.
The active power reference \( P_{ref} \) is typically set by the maximum power point tracking (MPPT) algorithm of the solar inverter, but during grid faults, it may be reduced to prevent overcurrent. The reactive power reference \( Q_{ref} \) can be set to zero for unity power factor operation or adjusted to provide voltage support. The VSG control equations are implemented as follows:
$$ \omega = \int \left( \frac{1}{J} \frac{1}{\omega} (P_T – P_e) \right) dt + \omega_N $$
where \( \omega_N \) is the nominal electrical angular velocity. The phase angle is obtained by integrating the angular velocity:
$$ \theta = \int \omega \, dt $$
The excitation EMF magnitude \( E_0 \) is controlled by a reactive power loop:
$$ E_0 = E_{0,ref} + K_q (Q_{ref} – Q) $$
where \( K_q \) is a gain, and \( Q \) is the measured reactive power. The three-phase reference voltages are then generated as:
$$ \begin{align*}
v_a^* &= E_0 \sin(\theta) \\
v_b^* &= E_0 \sin\left(\theta – \frac{2\pi}{3}\right) \\
v_c^* &= E_0 \sin\left(\theta – \frac{4\pi}{3}\right)
\end{align*} $$
These reference voltages are compared with the actual inverter output voltages, and a voltage-current dual-loop controller is used to generate pulse-width modulation (PWM) signals for the solar inverter. The inertia \( J \) and damping coefficient \( D \) (implied in \( T_d \)) are key parameters that influence the dynamic response. Proper tuning of these parameters is essential for stability. For instance, a larger \( J \) provides more inertia, slowing down frequency deviations, while a larger \( D \) enhances damping, reducing oscillations. In solar inverter applications, these parameters can be adaptive based on grid conditions.
The VSG control enables the solar inverter to participate in frequency regulation and voltage support, similar to conventional generators. However, during grid faults, such as voltage sags, the VSG control may lead to excessive currents or instability. Hence, a dedicated fault ride-through control is necessary.
LVRT Control with Negative-Sequence Voltage Feedforward
Low voltage ride-through (LVRT) is a critical requirement for solar inverters to remain connected during grid voltage dips. According to grid codes, solar inverters must supply reactive current to support voltage recovery and limit active current to avoid overcurrent. In asymmetric faults, negative-sequence voltage components appear, which can cause unbalanced currents and additional losses. The negative-sequence voltage feedforward method is an effective technique to mitigate these issues and achieve accurate reactive power control.
The LVRT control strategy based on negative-sequence voltage feedforward involves several components: sequence separation, current control, and voltage feedforward. The overall control structure is designed to operate in conjunction with the VSG control, switching between modes based on grid voltage conditions. When the grid voltage drops below a threshold (e.g., 0.9 per unit), the control switches from VSG mode to LVRT mode.
First, the grid voltage is measured and separated into positive-sequence and negative-sequence components. This is achieved using a second-order generalized integrator (SOGI) based sequence separation method (SSM). The SOGI-SSM provides accurate and fast extraction of sequence components even under distorted voltages. The equations for sequence separation in the stationary reference frame (\( \alpha\beta \)) are:
$$ \begin{align*}
V_{\alpha\beta}^+ &= \frac{1}{2} \begin{bmatrix} 1 & -q \\ q & 1 \end{bmatrix} V_{\alpha\beta} \\
V_{\alpha\beta}^- &= \frac{1}{2} \begin{bmatrix} 1 & q \\ -q & 1 \end{bmatrix} V_{\alpha\beta}
\end{align*} $$
where \( V_{\alpha\beta} = [V_\alpha, V_\beta]^T \) is the grid voltage vector in the \( \alpha\beta \) frame, \( V_{\alpha\beta}^+ \) and \( V_{\alpha\beta}^- \) are the positive-sequence and negative-sequence vectors, respectively, and \( q \) is the orthogonal operator, equivalent to a \( 90^\circ \) phase shift (\( q = e^{-j\pi/2} \)). The SOGI implementation ensures robustness against harmonics.
Once the sequences are separated, the positive-sequence voltage is used for phase-locked loop (PLL) synchronization, while the negative-sequence voltage is fed forward to the modulation reference. The current control loop regulates the inverter currents to follow references that ensure LVRT compliance. The current references are determined based on grid voltage sag depth. For example, during a voltage sag, the reactive current reference \( I_{q,ref} \) is increased according to:
$$ I_{q,ref} = k \cdot (0.9 – V_g) \cdot I_N $$
where \( k \) is a gain (typically 1.5 as per standards), \( V_g \) is the per-unit grid voltage magnitude, and \( I_N \) is the rated current. The active current reference \( I_{d,ref} \) may be reduced to limit overcurrent. The current controller uses a proportional-resonant (PR) controller to track both positive-sequence and negative-sequence currents. The PR controller in the stationary frame is expressed as:
$$ G_{PR}(s) = K_p + \frac{2K_r \omega_c s}{s^2 + 2\omega_c s + \omega_0^2} $$
where \( K_p \) is the proportional gain, \( K_r \) is the resonant gain, \( \omega_c \) is the cutoff frequency, and \( \omega_0 \) is the fundamental frequency. This controller provides high gain at the fundamental frequency, ensuring zero steady-state error for sinusoidal references.
The voltage feedforward part adds the negative-sequence voltage component to the modulation reference, compensating for its effect on the output current. The modulation reference voltage \( v_{ref} \) is calculated as:
$$ v_{ref} = v_{ctrl} + v_{ff} $$
where \( v_{ctrl} \) is the output of the current controller, and \( v_{ff} \) is the feedforward term derived from the negative-sequence voltage. This helps to cancel out the negative-sequence voltage at the inverter terminals, reducing current unbalance and improving LVRT performance.
The switching between VSG mode and LVRT mode is triggered by the positive-sequence voltage magnitude \( E^+ \). When \( E^+ \geq 0.9 \) per unit, the system operates in VSG mode; when \( E^+ < 0.9 \) per unit, it switches to LVRT mode. To ensure smooth transition, the phase angles of both modes are synchronized using a PLL. The PLL locks onto the grid voltage during LVRT mode and onto the VSG output during normal mode, minimizing current surges during switching.
Smooth Mode Switching Control
The seamless transition between VSG control and LVRT control is crucial to avoid disruptions and protect the solar inverter. A three-phase PLL-based switching module is employed to synchronize the phases of the two control modes. The PLL continuously tracks the grid voltage or the VSG output voltage, depending on the mode, and provides a consistent phase angle for reference generation.
The switching logic is as follows: in normal operation, the VSG control generates the reference voltage \( U^* \), and the PLL follows the VSG output phase angle \( \theta_{VSG} \). When a fault is detected (i.e., \( E^+ < 0.9 \) per unit), the control switches to LVRT mode, and the PLL switches to track the grid voltage phase angle \( \theta_{LVRT} \). The reference voltage in LVRT mode \( U_f^* \) is generated by the negative-sequence feedforward controller. To prevent abrupt changes, the phase angles \( \theta_{VSG} \) and \( \theta_{LVRT} \) are aligned at the switching instant by adjusting the PLL output. This alignment ensures that the voltage references from both modes are in phase, minimizing current transients.
The PLL implementation uses a synchronous reference frame PLL (SRF-PLL) with a proportional-integral (PI) controller. The error signal is the \( d \)-axis component of the positive-sequence voltage in the rotating frame, which is driven to zero to achieve phase lock. The PLL dynamics are described by:
$$ \theta = \int \left( \omega_n + K_p e + K_i \int e \, dt \right) dt $$
where \( \omega_n \) is the nominal frequency, \( e \) is the error, and \( K_p \), \( K_i \) are PI gains. During mode switching, the PLL is reset or adjusted to match the current phase, ensuring continuity.
This smooth switching mechanism allows the solar inverter to maintain stable operation during faults and quickly revert to normal operation after fault clearance. The integration of VSG and LVRT control enhances the overall robustness of the solar inverter in grid-connected applications.
Simulation Modeling and Analysis
To validate the proposed control strategy, I conducted simulations using MATLAB/Simulink. The simulation model includes a solar inverter connected to the grid through an LCL filter, as shown in the topology diagram. The solar inverter is controlled by the hybrid VSG-LVRT algorithm, and various fault scenarios are tested to assess performance.

The simulation parameters are summarized in the table below. These parameters are typical for a medium-power solar inverter system and are used to evaluate the control strategy under different fault conditions.
| Parameter | Value | Description |
|---|---|---|
| DC Link Voltage | 600 V | Input voltage from PV array |
| AC Phase Voltage | 220 V (RMS) | Grid voltage rating |
| Filter Inductance (Ls) | 19 mH | Inverter-side inductor |
| Filter Capacitance (Cs) | 10 μF | Filter capacitor |
| Line Inductance (L) | 0.2 mH | Grid impedance |
| Line Resistance (R) | 0.01 Ω | Grid resistance |
| Switching Frequency | 10 kHz | PWM frequency |
| VSG Inertia (J) | 0.2 kg·m² | Virtual inertia constant |
| VSG Damping (D) | 10 N·m·s/rad | Virtual damping coefficient |
Three fault scenarios are simulated to test LVRT and ZVRT capabilities: (1) single-phase fault with voltage drop to 25% of nominal, (2) three-phase fault with voltage drop to 50%, and (3) three-phase fault with voltage drop to 0% (zero voltage). For each scenario, the solar inverter’s response is analyzed in terms of voltage, current, active power, reactive power, and frequency.
Scenario 1: Single-Phase Fault (25% Voltage Drop)
In this case, a single-phase-to-ground fault is applied at the grid-connected point at t = 0.1 s, causing the phase voltage to drop to 25% of the nominal value. The solar inverter switches to LVRT mode and remains connected for the required duration (0.625 s as per standards). The output current is limited within 1.1 times the rated current, and reactive power is injected to support voltage recovery. The active power reduces to prevent overcurrent, and the frequency remains stable with minimal deviation. The waveforms demonstrate effective LVRT performance with smooth mode switching.
The mathematical analysis for current limitation during faults involves the following equation for the maximum allowed current \( I_{max} \):
$$ I_{max} = \sqrt{I_d^2 + I_q^2} \leq k_{limit} I_N $$
where \( I_d \) and \( I_q \) are the d-axis and q-axis currents, and \( k_{limit} \) is a factor (e.g., 1.1 for LVRT). The control ensures that this constraint is met by adjusting the current references.
Scenario 2: Three-Phase Fault (50% Voltage Drop)
For a symmetrical three-phase fault, the voltage drops to 50% at t = 0.1 s. The solar inverter transitions to LVRT mode, providing reactive current as per grid requirements. The current waveforms remain sinusoidal and balanced, with no overcurrent spikes. The reactive power increases significantly, while active power decreases. The frequency response shows fast recovery to the nominal value after fault clearance, highlighting the damping effect of the VSG control. The simulation results confirm that the solar inverter meets LVRT standards under symmetric faults.
Scenario 3: Three-Phase Fault (0% Voltage Drop – ZVRT)
This scenario tests the zero voltage ride-through capability, where the grid voltage drops to zero at t = 0.1 s for 150 ms. The solar inverter switches to LVRT mode and injects reactive current to support grid voltage. The output current peaks at approximately 1.75 times the rated current, which is within acceptable limits for ZVRT. Active power drops to zero during the fault, and reactive power surges to maximum. After fault clearance, the system smoothly switches back to VSG mode, with frequency stabilizing quickly. This demonstrates the solar inverter’s ability to handle extreme faults without disconnection.
The key performance metrics from the simulations are summarized in the table below, emphasizing the solar inverter’s compliance with fault ride-through requirements.
| Fault Scenario | Voltage Drop | Current Peak (per unit) | Reactive Support | Frequency Deviation (Hz) |
|---|---|---|---|---|
| Single-Phase | 25% | 1.1 | High | < 0.1 |
| Three-Phase | 50% | 1.0 | High | < 0.05 |
| Three-Phase (ZVRT) | 0% | 1.75 | Maximum | < 0.2 |
The simulation results validate the proposed control strategy’s effectiveness. The solar inverter maintains stability during normal operation via VSG control and achieves robust fault ride-through via negative-sequence voltage feedforward control. The smooth mode switching ensures transient-free transitions, protecting the inverter and supporting grid stability.
Conclusion
In this article, I have presented a comprehensive control strategy for solar inverters that integrates virtual synchronous generator technology with low voltage ride-through capabilities. The strategy enables solar inverters to emulate synchronous generator behavior during normal operation, providing virtual inertia and damping for grid stability, while seamlessly switching to a dedicated LVRT control during grid faults. The LVRT control based on negative-sequence voltage feedforward ensures accurate reactive power injection and current limitation, meeting grid code requirements for both LVRT and ZVRT. The smooth mode switching mechanism, facilitated by a three-phase PLL, minimizes transients and enhances reliability.
The simulation results under various fault conditions demonstrate the strategy’s effectiveness. The solar inverter remains connected during voltage sags, supplies reactive power for voltage support, and limits overcurrents, all while maintaining frequency stability. This hybrid approach addresses the limitations of traditional VSG control in fault scenarios and the lack of inertia in conventional inverter controls, making it suitable for high-penetration distributed solar energy systems.
Future work could explore adaptive tuning of VSG parameters based on real-time grid conditions, integration with energy storage for enhanced fault ride-through, and hardware-in-the-loop testing for practical validation. The proposed strategy contributes to the advancement of solar inverter technologies, enabling greater renewable energy integration without compromising grid stability. As solar inverters become increasingly prevalent, such intelligent control schemes will be essential for building resilient and sustainable power systems.
