Zero Voltage Ride Through Control Strategy for Solar Inverter Based on VSG

In modern power systems, the penetration of distributed photovoltaic generation has increased dramatically. The grid-connected solar inverter, which serves as the interface between the photovoltaic array and the utility grid, is required not only to maintain stable operation under normal conditions but also to possess fault ride-through capabilities, especially low voltage ride through (LVRT) and zero voltage ride through (ZVRT). Conventional control methods for solar inverter systems often lack inertia and damping, which may degrade the stability of a weak grid. To address this issue, I propose a zero voltage ride through control strategy for a solar inverter based on virtual synchronous generator (VSG) technology. The proposed method combines the voltage-controlled VSG with a negative-sequence voltage feedforward based LVRT control, and achieves smooth mode switching through a three-phase phase-locked loop (PLL) switching module. In this paper, I first present the mathematical model and control algorithm of VSG for a three-phase photovoltaic inverter. Then, I derive the negative-sequence voltage feedforward control structure and explain the reactive current injection requirement during grid faults. The mode switching mechanism is described in detail, including the phase-locking technique that minimizes transient current spikes. Simulation results under different fault scenarios, including single-phase voltage drop to 25%, three-phase voltage drop to 50%, and three-phase voltage drop to 0%, demonstrate that the proposed control strategy can guarantee the stability of the solar inverter during both LVRT and ZVRT processes while providing effective reactive power support to the grid. The output frequency remains within acceptable ranges, and the output current peaks are properly controlled. The proposed strategy is particularly suitable for power systems with a high penetration of distributed generation.

1. Introduction

Renewable energy sources, especially solar energy, have become one of the most important clean energy resources. Distributed photovoltaic generation systems are increasingly integrated into the distribution network, which significantly changes the dynamic characteristics of the power system. The grid-connected solar inverter is a power electronic device with fast response and high reliability. However, unlike conventional synchronous generators, a solar inverter usually has no rotating mass and therefore cannot provide inertia or participate actively in grid frequency regulation. This deficiency becomes more pronounced when the penetration of distributed generation is high. To overcome this drawback, researchers have proposed the concept of virtual synchronous generator (VSG), which emulates the inertia and damping characteristics of a synchronous generator through appropriate control algorithms. By implementing VSG control in a solar inverter, the inverter can behave like a synchronous machine from the grid perspective, thereby improving the stability of the system.

On the other hand, grid codes require distributed generation systems to remain connected during grid faults and to support the grid with reactive power. Low voltage ride through (LVRT) and zero voltage ride through (ZVRT) capabilities are essential for large-scale photovoltaic power plants. A solar inverter must be able to withstand voltage sags at the point of common coupling (PCC) without tripping, and it should inject reactive current to help voltage recovery. Various LVRT control methods have been proposed in the literature, such as dual-hysteresis current control, negative-sequence voltage feedforward control, and positive/negative sequence dual current inner-loop control. For ZVRT, methods based on improved decoupled dual synchronous reference frame PLL and grid voltage feedforward compensation have been developed.

However, most existing LVRT methods are designed for conventional current-controlled solar inverter systems. When the solar inverter is operated under VSG control, the fault response becomes more complex because the VSG algorithm itself generates voltage and frequency references based on power balance equations. Directly switching to a conventional LVRT control method may cause severe transients due to inconsistent phase and amplitude between the two control modes. Therefore, a mode switching strategy that ensures smooth transition is necessary.

In this paper, I propose a comprehensive control strategy that integrates the voltage-controlled VSG and the negative-sequence voltage feedforward based LVRT control for a solar inverter. The key contribution is the design of a mode switching controller based on a three-phase PLL, which locks the phase angle of the VSG output during the transition. The strategy can be described as follows: under normal conditions, the solar inverter operates in VSG mode, providing inertia and damping to the grid. When a fault causes the positive-sequence voltage amplitude to drop below 0.9 per unit, the controller switches to LVRT mode, where the negative-sequence voltage feedforward control is activated. During LVRT mode, reactive current is injected according to the voltage drop depth. When the fault is cleared and the voltage recovers, the controller switches back to VSG mode, and the PLL ensures the phase continuity so that the switching transient is minimized.

I have tested the proposed control strategy through extensive simulation studies using Matlab/Simulink. Three fault cases are considered: single-phase voltage drop to 25%, three-phase voltage drop to 50%, and three-phase voltage drop to 0%. The simulation results indicate that the solar inverter can maintain stable operation and achieve the required reactive power support during all fault scenarios. The output current peaks are within acceptable limits, and the frequency deviations are small.

2. Overall Control Architecture

Figure 1 illustrates the overall control block diagram of the proposed strategy. The system consists of a photovoltaic array, a DC bus capacitor, a three-phase voltage source inverter, an LC filter, and the utility grid. The control block includes a voltage amplitude measurement module, a fault type identification module, and two signal switches S1 and S2. The reference voltage signal from the VSG control is denoted as U*, and the reference voltage signal from the negative-sequence voltage feedforward LVRT control is denoted as U_f*. The switches are controlled by the positive-sequence voltage amplitude E+:

  • When E+ ≥ 0.9 UN, S1 is closed and S2 is opened, so the solar inverter operates in VSG mode.
  • When E+ < 0.9 UN, S2 is closed and S1 is opened, so the solar inverter switches to LVRT mode.
  • When the fault clears and E+ recovers above 0.9 UN, the system switches back to VSG mode, but only after the phase angles of the two control modes are synchronized to avoid transient current spikes.

The phase alignment is achieved by using a three-phase PLL which tracks the positive-sequence voltage angle. In VSG mode, the PLL output θPLL is synchronized with the VSG phase angle θVSG. When the mode switches to LVRT, the LVRT controller uses θPLL as its reference angle, so that the output voltage phase is continuous. This smooth switching mechanism effectively suppresses the inrush current during fault entry and fault recovery.

3. VSG Control Principle for Solar Inverter

3.1 Mathematical Model of VSG

The topology of a three-phase voltage source inverter is very similar to that of a synchronous generator when viewed from the grid. The VSG algorithm makes the inverter emulate the electromechanical behavior of a synchronous machine. The mechanical equation is given by:

$$
J \frac{d\Omega}{dt} = T_m – T_e – T_d = \frac{1}{\omega}(P_T – P_e)
$$

where J is the moment of inertia, Ω is the mechanical angular speed, ω is the electrical angular speed, T_m is the mechanical torque, T_e is the electromagnetic torque, T_d is the damping torque, P_T is the mechanical power, and P_e is the electromagnetic power. The electrical equation is:

$$
\dot{E} = \dot{U} + \dot{I} R_a + j \dot{I} X_s
$$

where \dot{E} is the excitation electromotive force, \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. The phase angle θ is obtained by integrating the angular frequency:

$$
\omega = \frac{d\theta}{dt}
$$

By tuning J and the damping coefficient D, the solar inverter can mimic the inertia and damping characteristics of a synchronous generator, which is beneficial for grid stability.

3.2 Algorithm Implementation

The VSG control block diagram is shown in Figure 2. The active power-frequency control is given by:

$$
P_T = (f_N – f) k_f + P_N
$$

where f_N is the rated frequency, f is the measured frequency, k_f is the frequency droop coefficient, and P_N is the rated active power. The electromagnetic power P_e can be expressed as:

$$
P_e = \frac{1}{Z} \left[ E U \sin(\alpha – \delta) – U^2 \cos \alpha \right]
$$

with

$$
\alpha = \arctan\left( \frac{\omega L}{R} \right)
$$

Here, Z is the impedance magnitude, δ is the power angle, L and R are the inductor and resistor of the VSG armature. The mechanical power P_T is obtained from the frequency droop equation. Then the angular frequency ω is calculated by:

$$
\omega = \int \frac{1}{J \omega} (P_T – P_e) dt + \omega_N
$$

By integrating ω, the phase angle θ is derived. The voltage amplitude is determined by the reactive power-voltage droop control:

$$
E_0 = E_{ref} + (Q_{ref} – Q) D_q
$$

where E_ref is the reference voltage amplitude, Q_ref is the reference reactive power, Q is the measured reactive power, and D_q is the reactive droop coefficient. The three-phase excitation electromotive force vector is then synthesized as:

$$
\dot{E}_0 = E_0
\begin{bmatrix}
\sin\phi \\
\sin(\phi – \frac{2\pi}{3}) \\
\sin(\phi + \frac{2\pi}{3})
\end{bmatrix}
$$

Finally, the VSG output voltage reference is obtained by subtracting the armature impedance drop from the excitation EMF:

$$
\dot{U}^* = \dot{E}_0 – \dot{I}(R_a + j X_s)
$$

The voltage reference U* is then fed to the voltage and current double closed-loop controllers to generate the PWM signals for the solar inverter. This control strategy gives the solar inverter the external characteristics of a synchronous generator, including the capability to support frequency and voltage during grid disturbances.

4. LVRT Control Based on Negative-Sequence Voltage Feedforward

During asymmetric grid faults, the presence of negative-sequence voltage components causes the instantaneous active and reactive power to oscillate at twice the grid frequency. The negative-sequence voltage feedforward method is an effective way to mitigate this issue. The principle is to extract the negative-sequence components of the grid voltage and add them directly to the modulation reference signal. In this way, the inverter output voltage contains the same negative-sequence components as the grid, which cancels the negative-sequence current and prevents power oscillations.

The control structure of the LVRT method is shown in Figure 3. The current control loop uses PR controllers to regulate the positive-sequence currents in the stationary αβ frame. The voltage control loop separates the grid voltage into positive and negative sequence components using a second-order generalized integrator (SOGI) based sequence separation method. The positive-sequence PLL provides the phase angle θ for coordinate transformation. The negative-sequence voltages v_d^-, v_q^- are extracted and added to the current regulator outputs to form the voltage reference signals. The reference reactive current is determined by the voltage drop depth according to grid code requirements.

4.1 Negative-Sequence Separation

The SOGI-based sequence separation method is widely used for its good harmonic rejection and stable operation. The positive and negative sequence components in the αβ frame are given by:

$$
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}
$$

where q = e^{-jπ/2} is the quadrature operator, which is implemented by the SOGI. This method provides a fast and accurate extraction of the sequence components, which is essential for the LVRT controller.

4.2 Reactive Current Injection

During LVRT, the solar inverter must inject reactive current to support the grid voltage. According to grid standards, the required reactive current I_T is given by:

$$
I_T \geq 1.5 \left( 0.9 – U_N \right) I_N
$$

with the additional constraints:

$$
I_T \geq 1.05 I_N
$$

$$
I_T = 0 \quad \text{if} \quad U_N > 0.9
$$

where U_N is the per-unit grid voltage and I_N is the rated current. These conditions are used in the fault detection module to generate the reactive current reference. The PR controller then tracks this reference, and the output is added to the current loop to generate the modulation signal.

The LVRT controller is designed to work with both symmetrical and asymmetrical faults. In the case of zero voltage ride through, the voltage drops to zero, and the solar inverter must still maintain stable operation and inject reactive current at the rated level. The negative-sequence voltage feedforward is especially helpful during asymmetrical faults, while the reactive current injection ensures proper grid support.

5. Mode Switching Control

Mode switching between VSG control and LVRT control is a critical issue. If the switching is not smooth, the solar inverter may experience large current transients, which can damage the power devices and cause the protection to trip. The proposed strategy uses the three-phase PLL to synchronize the phase angles of the two control modes. The PLL structure is shown in Figure 4. It consists of a phase detector (abc/dq transformation), a loop filter (PI controller), and a voltage-controlled oscillator (integrator). The positive-sequence d-axis voltage U_d^+ is controlled to zero by the PI controller, and the output frequency is integrated to obtain the phase angle θ_LVRT. In VSG mode, the PLL follows the VSG output phase angle θ_VSG. When a fault occurs, the PLL output is used as the reference for the LVRT controller, so the voltage phase does not jump. Similarly, when the fault clears, the VSG mode resumes with a phase angle that is equal to the last LVRT phase angle. This phase continuity guarantees a seamless transition.

The mode switching logic is as follows:

  1. During normal operation, the VSG control generates the voltage reference. The PLL is locked to the grid angle, which is also the same as the VSG angle after the synchronization. The switch S1 is closed.
  2. When the positive-sequence voltage E+ falls below 0.9 U_N, the fault detection module outputs a switching signal. At this instant, the PLL still tracks the actual grid angle. The LVRT controller is enabled and its output voltage reference U_f* is synchronized with the grid angle. Then S2 is closed and S1 is opened. The current transients are suppressed because the voltage reference phase and magnitude are continuous.
  3. After the fault is cleared, the positive-sequence voltage recovers. The system waits until the phase angles of the two control modes are aligned. In practice, the PLL continues to track the grid angle, and the VSG control also adjusts its phase. Once the difference between θ_VSG and θ_LVRT is smaller than a tolerance, the switch S1 is closed and S2 is opened. The solar inverter returns to VSG operation and gradually restores the active power output.

To further improve the dynamic performance, the active and reactive power references of the VSG are changed to zero during the LVRT interval, so that the VSG internal state variables are consistent with the fault condition. This reduces the transient when the mode switches back.

6. Simulation Results and Analysis

I conducted extensive simulations on the Matlab/Simulink platform to verify the proposed control strategy. The main parameters of the solar inverter system are listed in Table 1.

Table 1 Main simulation parameters
Parameter Symbol Value
DC bus voltage V_dc 600 V
AC phase voltage (RMS) V_ph 220 V
Filter inductance L_s 19 mH
Filter capacitance C_s 10 μF
Line inductance L 0.2 mH
Line resistance R 0.01 Ω
Grid frequency f_N 50 Hz
Switching frequency f_sw 10 kHz

Three fault scenarios are considered: (1) single-phase voltage drop to 25% of the rated value; (2) three-phase voltage drop to 50% of the rated value; (3) three-phase voltage drop to 0% (zero voltage). The fault duration is 150 ms in all cases. The results are presented and analyzed below.

6.1 Case 1: Single-Phase Voltage Drop to 25%

At t = 0.1 s, the grid voltage of phase A drops to 25% of the rated value and lasts for 0.625 s. The output voltage and current waveforms of the solar inverter are shown in Figures 5 and 6. It can be observed that the solar inverter continues to operate without tripping. The output current peak is restricted to about 1.1 times the rated current, which satisfies the LVRT requirement. The active power output and reactive power output are shown in Figures 7 and 8. During the fault, the reactive power increases, providing voltage support to the grid. The frequency waveform in Figure 9 shows that the frequency deviation is very small, well within acceptable limits. This demonstrates that the solar inverter with the proposed control can ride through the single-phase fault successfully.

6.2 Case 2: Three-Phase Voltage Drop to 50%

In this case, a symmetrical three-phase voltage drop to 50% is applied at t = 0.1 s. The output voltage and current waveforms are shown in Figures 10 and 11. The current stays sinusoidal and no overcurrent is observed. The active power and reactive power responses are shown in Figures 12 and 13. The solar inverter injects more reactive power during the fault, supporting the grid voltage. The frequency waveform in Figure 14 shows that the frequency deviation is less than 0.05 Hz, which is compliant with the grid code. The solar inverter maintains stable operation during the 150 ms fault and returns to normal after fault clearing.

6.3 Case 3: Zero Voltage Ride Through

The most demanding scenario is a zero voltage fault. At t = 0.1 s, the grid voltage drops to zero for 150 ms. The output voltage and current waveforms are shown in Figures 15 and 16. Even with zero voltage at the PCC, the solar inverter remains connected and continues to deliver a controlled current that is approximately 1.75 times the rated current. This value is consistent with the requirement for ZVRT. The active power drops to zero as expected, while the reactive power increases significantly to provide reactive support. The frequency deviation is within 0.2 Hz, as shown in Figure 17. These results confirm the effectiveness of the proposed control strategy in achieving zero voltage ride through for the solar inverter.

7. Summary of Simulation Results

To provide a clear comparison, Table 2 summarizes the key performance indicators for the three fault cases.

Table 2 Performance comparison of the proposed control under different faults
Fault scenario Voltage drop level Current peak (p.u.) Frequency deviation (Hz) Reactive power support Stable operation
Single-phase 25% 1.1 ±0.05 Yes Yes
Three-phase 50% 1.0 ±0.05 Yes Yes
Three-phase 0% 1.75 ±0.2 Yes Yes

The table demonstrates that the proposed control strategy can effectively handle both symmetrical and asymmetrical faults, including extreme zero voltage conditions. The current peaks are within the designed limits, and the frequency deviations are acceptable. The solar inverter provides the required reactive power support in all cases.

8. Conclusion

In this paper, I have presented a zero voltage ride through control strategy for a solar inverter based on virtual synchronous generator technology. The proposed method combines the advantages of VSG control for normal operation and negative-sequence voltage feedforward based LVRT control for fault conditions. The smooth mode switching is achieved by using a three-phase PLL to lock the phase angle of the two control modes. The simulation results have demonstrated that the solar inverter can:

  • Maintain normal operation with inertial and damping characteristics provided by VSG control.
  • Ride through both low and zero voltage faults without disconnecting from the grid.
  • Inject effective reactive power to support grid voltage recovery.
  • Suppress transient current spikes during mode transitions.
  • Keep frequency deviations within acceptable ranges.

The proposed strategy is particularly suitable for power systems with high penetration of distributed photovoltaic generation, where the lack of inertia is a major concern. By emulating a synchronous generator and providing fault ride-through capability, the solar inverter becomes a more reliable grid-friendly generation source. Future work will focus on experimental validation and the extension of the proposed method to multi-inverter systems.

Scroll to Top