VSG-Based Zero Voltage Ride Through for Solar Inverter

I focus on a solar inverter that operates at the grid interface of a distributed photovoltaic generation system. In my view, the solar inverter is no longer a simple power conversion device. It becomes a critical stability actor when the penetration of distributed generation is high. I design a control strategy that lets the solar inverter behave like a virtual synchronous generator, or VSG, during normal operation, and then transition smoothly into a negative-sequence voltage feedforward low voltage ride through mode, or LVRT mode, during grid faults. I extend the same framework to zero voltage ride through, or ZVRT, so the solar inverter can remain connected and provide reactive support even when the measured positive-sequence voltage collapses to zero. My objective is to combine inertia support, frequency damping, current limitation, reactive current injection, negative-sequence suppression, and smooth mode switching in one coordinated controller for the solar inverter.

The main challenge I address is that a solar inverter is built from power electronic switches. It has fast response and high reliability, but it lacks rotating inertia and does not naturally participate in grid regulation. When many solar inverter units are connected, the power system can become more sensitive to frequency and voltage disturbances. A VSG controller solves part of this problem by emulating the mechanical and electrical behavior of a synchronous machine. It introduces a virtual rotor, a virtual angular speed, a virtual phase angle, and a virtual excitation system. However, the VSG controller alone does not guarantee low voltage ride through or zero voltage ride through. During severe faults, the grid voltage may drop below the normal operating range, and a purely voltage-type VSG output can produce overcurrent or lose synchronism. I therefore integrate a negative-sequence voltage feedforward LVRT controller and a phase-locked switching module into the VSG-based solar inverter control architecture.

I treat the solar inverter as a controllable voltage source behind an impedance. In normal mode, I let the VSG controller define the voltage magnitude and phase angle. In fault mode, I let the LVRT controller define the current and voltage references so that the solar inverter injects the required reactive current and suppresses negative-sequence effects. The switch between the two modes is not arbitrary. I use the positive-sequence voltage amplitude as the primary fault detection signal, and I use a three-phase phase-locked loop to align the phase of the two control modes before switching. This phase alignment is the key to reducing transient current spikes in the solar inverter.

I summarize the core control objectives of my strategy in the following table. The table is written from the perspective of the solar inverter, because the solar inverter is the device that must satisfy all of these requirements simultaneously.

Objective Normal Mode Fault Mode Recovery Mode
Inertia support VSG inertia emulation Limited by current priority VSG inertia restored
Frequency damping VSG damping active Reactive current priority VSG damping re-engaged
Voltage support Excitation control Negative-sequence feedforward Excitation control
Current limiting Inner current loop Reactive current limiting Gradual release
Phase continuity VSG angle PLL locked angle PLL to VSG handover
Zero voltage ride through Prepared ZVRT current support Smooth reconnection

I use the positive-sequence voltage amplitude, denoted by \(E^+\), as the mode selection variable. When \(E^+ \ge 0.9U_N\), I keep the solar inverter in VSG mode. When \(E^+ < 0.9U_N\), I switch the solar inverter to LVRT mode. When \(E^+\) recovers and the phase angles of the two modes are consistent, I switch the solar inverter back to VSG mode. I write these conditions as follows:

$$ E^+ \ge 0.9U_N \quad \Rightarrow \quad \text{VSG mode for the solar inverter} $$

$$ E^+ < 0.9U_N \quad \Rightarrow \quad \text{LVRT mode for the solar inverter} $$

$$ E^+ \ge 0.9U_N \ \text{and} \ \theta_{\mathrm{LVRT}} \approx \theta_{\mathrm{VSG}} \quad \Rightarrow \quad \text{VSG recovery for the solar inverter} $$

I now describe the VSG mathematical model that I apply to the solar inverter. The solar inverter is connected to the grid through an inductor and a transformer. I model the solar inverter as a voltage source with an internal electromotive force, an equivalent stator resistance, and a synchronous reactance. The stator voltage 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 stator current, \(R_a\) is the equivalent armature resistance, and \(X_s\) is the equivalent synchronous reactance. I use this equation to generate the voltage reference of the solar inverter in VSG mode.

The mechanical behavior of the virtual machine is represented by the rotor swing equation. I write the mechanical equation of the VSG as

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

where \(J\) is the virtual inertia, \(\Omega\) is the mechanical angular speed, \(T_m\) is the mechanical torque, \(T_e\) is the electromagnetic torque, \(T_d\) is the damping torque, \(\omega\) is the electrical angular speed, \(P_T\) is the mechanical power, and \(P_e\) is the electromagnetic power. The electrical angular speed is related to the phase angle by

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

I use the virtual mechanical power to emulate the governor of the solar inverter. The expression I use is

$$ P_T = \left(f_N – f\right)k_f + P_N $$

where \(f_N\) is the nominal frequency, \(f\) is the measured frequency, \(k_f\) is the frequency droop coefficient, and \(P_N\) is the nominal active power. The electromagnetic power is computed from the virtual machine voltage and the grid voltage. I use

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

where \(Z\) is the equivalent impedance magnitude, \(E\) is the excitation electromotive force magnitude, \(U\) is the terminal voltage magnitude, \(\alpha\) is the impedance angle, and \(\delta\) is the power angle. The impedance angle is

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

I integrate the swing equation to obtain the virtual angular speed of the solar inverter:

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

Then I integrate the angular speed to obtain the phase angle:

$$ \theta = \int \omega dt $$

I form the three-phase excitation voltage reference from the excitation amplitude \(E_0\) and the phase angle \(\theta\). I use the following expression:

$$ \dot{E}_0 = E_0 \begin{bmatrix} \sin\theta \\ \sin\left(\theta-\frac{2\pi}{3}\right) \\ \sin\left(\theta+\frac{2\pi}{3}\right) \end{bmatrix} $$

The excitation amplitude is produced by the reactive power control loop. I use a virtual excitation controller that adjusts \(E_0\) according to the reactive power error and the voltage error. This is how the solar inverter participates in voltage regulation in VSG mode.

I summarize the VSG symbols that I use for the solar inverter in the following table. I keep the symbols consistent throughout my control design.

Symbol Meaning Role in Solar Inverter Control
\(J\) Virtual inertia Adds frequency inertia to the solar inverter
\(\omega\) Electrical angular speed Defines virtual rotor speed
\(\theta\) Virtual phase angle Used for voltage vector synthesis
\(P_T\) Virtual mechanical power Represents governor action
\(P_e\) Electromagnetic power Represents delivered active power
\(E_0\) Excitation voltage amplitude Controls reactive power and voltage
\(R_a\) Armature resistance Models stator loss
\(X_s\) Synchronous reactance Models magnetic coupling

I design the inner control of the solar inverter using a voltage and current dual-loop structure. The VSG algorithm generates a voltage reference. I compare this reference with the measured capacitor voltage. The voltage controller generates a current reference. The current controller then generates the modulation signal for the pulse-width modulation stage of the solar inverter. I use a proportional-resonant controller in the stationary frame and a proportional-integral controller in the synchronous frame depending on the coordinate system. The advantage of this structure is that the solar inverter can emulate a synchronous machine at the outer layer while maintaining fast current limiting at the inner layer.

I also include a virtual impedance in the VSG control loop. The virtual impedance helps to decouple active and reactive power and reduces the sensitivity of the solar inverter to line impedance changes. I write the virtual impedance voltage drop as

$$ \dot{U}_v = \dot{I}\left(R_v + jX_v\right) $$

where \(R_v\) and \(X_v\) are the virtual resistance and virtual reactance. I subtract this voltage drop from the VSG excitation voltage to obtain the voltage reference. This improves the damping of the solar inverter during normal operation and helps the solar inverter ride through small voltage disturbances without unnecessary mode switching.

I now move to the LVRT controller. The main reason I need a separate LVRT controller is that grid faults are often unbalanced. A single-phase-to-ground fault creates a negative-sequence voltage component. This negative-sequence component causes double-frequency ripples in active power and reactive power. It also distorts the current of the solar inverter. If I do not compensate the negative-sequence voltage, the solar inverter may inject inaccurate reactive current and may exceed its current limit. Therefore, I use negative-sequence voltage feedforward as the core of my LVRT controller.

I separate the positive and negative sequences using a second-order generalized integrator, or SOGI. The SOGI produces orthogonal signals for the \(\alpha\) and \(\beta\) components. With these orthogonal signals, I can calculate the positive and negative sequences very quickly. I write the positive-sequence calculation as

$$ V_{\alpha\beta}^+ = \frac{1}{2} \begin{bmatrix} 1 & -q \\ q & 1 \end{bmatrix} V_{\alpha\beta} $$

and the negative-sequence calculation as

$$ V_{\alpha\beta}^- = \frac{1}{2} \begin{bmatrix} 1 & q \\ -q & 1 \end{bmatrix} V_{\alpha\beta} $$

where \(q\) is the quadrature operator. I define the quadrature operator as

$$ q = e^{-j\pi/2} $$

I use the positive-sequence voltage for phase locking and for fault severity detection. I use the negative-sequence voltage for feedforward compensation. The feedforward signal is added to the current controller output so that the modulation reference contains the same negative-sequence component as the grid voltage. In this way, the negative-sequence component in the current is suppressed, and the solar inverter can continue to operate with a balanced current reference during an unbalanced fault.

I summarize the sequence separation variables in the following table. This table is important because the solar inverter must know which sequence component is used for which control action.

Quantity Symbol Control Use in the Solar Inverter
Positive-sequence d-axis voltage \(V_d^+\) Phase locking and voltage amplitude detection
Positive-sequence q-axis voltage \(V_q^+\) Reactive power reference and synchronization
Negative-sequence d-axis voltage \(V_d^-\) Feedforward compensation
Negative-sequence q-axis voltage \(V_q^-\) Feedforward compensation
Positive-sequence amplitude \(E^+\) Mode switching threshold
Negative-sequence amplitude \(E^-\) Unbalanced fault detection

I use a reactive current requirement to determine the current reference during LVRT. When the grid voltage drops, the solar inverter must inject reactive current to support the grid. I define the reactive current reference \(I_q\). The requirement I use is based on the voltage drop depth. In normalized form, I write

$$ I_q \ge 1.5\left(0.9-U_{\mathrm{pu}}\right)I_N $$

where \(U_{\mathrm{pu}}\) is the positive-sequence voltage in per unit and \(I_N\) is the nominal current of the solar inverter. I also limit the reactive current to a maximum value:

$$ I_q \ge 1.05I_N $$

When the voltage is normal, the reactive current requirement is

$$ I_q = 0 $$

The active current reference is reduced during the fault so that the total current of the solar inverter remains within its thermal limit. I use a priority rule: reactive current is prioritized for grid support, and active current is adjusted according to the remaining current capability. I write the current limit as

$$ \sqrt{I_d^2 + I_q^2} \le I_{\max} $$

where \(I_d\) is the active current component, \(I_q\) is the reactive current component, and \(I_{\max}\) is the maximum allowable current of the solar inverter. This constraint protects the semiconductor devices and prevents overcurrent trips.

I use a proportional-resonant current controller for the solar inverter in the stationary frame. The transfer function I use is

$$ G_{\mathrm{PR}}(s) = K_p + \frac{K_r s}{s^2 + \omega_0^2} $$

where \(K_p\) is the proportional gain, \(K_r\) is the resonant gain, and \(\omega_0\) is the fundamental angular frequency. The resonant term gives zero steady-state error at the fundamental frequency. When I need to compensate negative-sequence components, I add a resonant term at the negative-sequence frequency. I write the extended controller as

$$ G_{\mathrm{PR}}^+(s) = K_p + \frac{K_{r1}s}{s^2+\omega_0^2} + \frac{K_{r2}s}{s^2+\left(2\omega_0\right)^2} $$

This extended controller helps the solar inverter reject double-frequency ripple and improves the quality of the current during unbalanced faults.

I now describe the mode switching controller. The solar inverter must switch between VSG mode and LVRT mode without a large transient. If the phase angles of the two modes are different at the switching instant, the voltage reference will jump, and the current of the solar inverter will spike. To avoid this, I use a three-phase phase-locked loop to align the switching phase. The phase-locked loop has a phase detector, a loop filter, and a voltage-controlled oscillator. I use the positive-sequence d-axis voltage as the phase-detection variable. The phase-locked loop adjusts its output angle until the d-axis positive-sequence voltage is zero or a defined reference value.

I write the phase detection error as

$$ \varepsilon_\theta = V_q^+ $$

I use a proportional-integral controller as the loop filter:

$$ \omega_{\mathrm{PLL}} = K_{p,\mathrm{PLL}}\varepsilon_\theta + K_{i,\mathrm{PLL}}\int \varepsilon_\theta dt $$

Then I integrate the angular frequency to obtain the phase angle:

$$ \theta_{\mathrm{PLL}} = \int \omega_{\mathrm{PLL}}dt $$

In my switching logic, \(\theta_{\mathrm{LVRT}}\) is the phase angle used in LVRT mode, and \(\theta_{\mathrm{VSG}}\) is the phase angle produced by the VSG controller. When the solar inverter is in VSG mode, the phase-locked loop follows \(\theta_{\mathrm{VSG}}\). When the solar inverter is in LVRT mode, the phase-locked loop locks to \(\theta_{\mathrm{LVRT}}\). When the fault is cleared, I compare \(\theta_{\mathrm{LVRT}}\) and \(\theta_{\mathrm{VSG}}\). If the difference is below a small threshold, I enable the switch back to VSG mode. I write this condition as

$$ \left|\theta_{\mathrm{LVRT}} – \theta_{\mathrm{VSG}}\right| < \Delta\theta_{\max} $$

I summarize the mode switching logic in the following table. The table shows the switch states and the phase source for the solar inverter.

Condition Mode Voltage Reference Source Phase Source Switch State
\(E^+ \ge 0.9U_N\) VSG normal mode VSG output \(U^*\) \(\theta_{\mathrm{VSG}}\) VSG switch closed
\(E^+ < 0.9U_N\) LVRT mode Negative-sequence feedforward output \(U_f^*\) \(\theta_{\mathrm{LVRT}}\) LVRT switch closed
\(E^+ \ge 0.9U_N\) and phase aligned Recovery mode VSG output \(U^*\) \(\theta_{\mathrm{VSG}}\) VSG switch re-closed
\(E^+ \ge 0.9U_N\) and phase not aligned Hold mode LVRT output held \(\theta_{\mathrm{LVRT}}\) No switch

I implement the switching logic with a small state machine. The state machine prevents chattering when the voltage amplitude is close to the threshold. I use a lower threshold and an upper threshold, or a hysteresis band. I write the hysteresis rule as

$$ E_{\mathrm{switch,down}} = 0.88U_N $$

$$ E_{\mathrm{switch,up}} = 0.92U_N $$

If the positive-sequence voltage falls below \(0.88U_N\), I enter LVRT mode. If the positive-sequence voltage rises above \(0.92U_N\) and the phase condition is satisfied, I return to VSG mode. This hysteresis band improves the robustness of the solar inverter during voltage oscillations.

I also include a current-limiting priority block. During the transition from VSG mode to LVRT mode, the current reference may change quickly. I use a rate limiter to avoid an abrupt change. I write the rate-limited current reference as

$$ I_{d,\mathrm{ref}}(k) = I_{d,\mathrm{ref}}(k-1) + \Delta I_d $$

$$ I_{q,\mathrm{ref}}(k) = I_{q,\mathrm{ref}}(k-1) + \Delta I_q $$

where \(\Delta I_d\) and \(\Delta I_q\) are limited increments. This gives the solar inverter a smooth current trajectory during mode switching.

I now present the simulation model that I use to validate the control strategy. I build the model in Matlab/Simulink. The solar inverter is connected to a grid through an LCL filter. I use a DC voltage source to represent the photovoltaic array and the DC link. I use a three-phase inverter bridge with pulse-width modulation. I measure the grid voltage at the point of common coupling and the output current of the solar inverter. I implement the VSG controller, the negative-sequence feedforward LVRT controller, and the phase-locked switching module in discrete time. I summarize the main simulation parameters in the following table.

Parameter Value Unit
DC link voltage 600 V
AC phase voltage 220 V
Filter inductance \(L_s\) 19 mH
Filter capacitance \(C_s\) 10 \(\mu\)F
Line inductance \(L\) 0.2 mH
Line resistance \(R\) 0.01 \(\Omega\)
Grid frequency 50 Hz
Switching frequency 10 kHz

I test three fault cases. The first case is a single-phase-to-ground fault. The phase voltage drops to 25 percent of the nominal value. The second case is a three-phase-to-ground fault. The positive-sequence voltage drops to 50 percent of the nominal value. The third case is a three-phase-to-ground fault with a voltage drop to 0 percent of the nominal value. I use the third case to evaluate zero voltage ride through. I summarize the fault cases in the following table.

Case Fault Type Voltage Drop Primary Test Objective
Case 1 Single-phase-to-ground 25 percent Unbalanced LVRT and negative-sequence suppression
Case 2 Three-phase-to-ground 50 percent Balanced LVRT and reactive current support
Case 3 Three-phase-to-ground 0 percent ZVRT and current limiting

I start with Case 1. The grid voltage drops at 0.1 s and remains low for 0.625 s. I observe that the solar inverter remains connected during the entire fault. The current peak remains below 1.1 times the nominal current. The current waveform stays close to sinusoidal even though the voltage is unbalanced. This is the result of the negative-sequence voltage feedforward. Without feedforward, the negative-sequence voltage would produce a negative-sequence current and distort the output of the solar inverter. With feedforward, the negative-sequence voltage appears in the modulation reference and cancels the negative-sequence effect in the current. I summarize the Case 1 performance in the following table.

Metric Observed Result Requirement
Fault duration 0.625 s Ride through required
Current peak Below 1.1 p.u. Below thermal limit
Reactive current Injected according to voltage drop Reactive support required
Active power Reduced during fault Priority to reactive current
Frequency deviation Within allowed range Stable frequency
Mode switching Smooth No large current spike

I also examine the active and reactive power responses in Case 1. During the voltage drop, the active power of the solar inverter decreases because the voltage amplitude is lower and the current is limited. The reactive power increases because the LVRT controller injects reactive current. This behavior is desirable for grid support. The solar inverter does not disconnect, and it does not lose phase lock. The output frequency remains within a narrow band around the nominal frequency. I observe that the frequency deviation is small because the VSG inertia is still represented in the overall control framework and the phase-locked loop maintains synchronization.

I now describe Case 2. The grid voltage drops to 50 percent at 0.1 s and remains low for 0.625 s. This is a balanced fault, so negative-sequence compensation is less critical, but reactive current injection is still important. I observe that the solar inverter output current remains sinusoidal and stable. The current peak is limited. The active power decreases, and the reactive power increases. The solar inverter provides reactive support to the grid during the fault. After the fault is cleared, the solar inverter returns to VSG mode and restores normal active power delivery. I summarize the Case 2 performance in the following table.

Metric Observed Result Expected Behavior
Voltage drop 50 percent Balanced LVRT
Fault duration 0.625 s Continuous operation
Current waveform Sinusoidal Low harmonic distortion
Active power Reduced Current priority
Reactive power Increased Grid voltage support
Frequency deviation Within 0.05 Hz Stable frequency
Recovery Returns to VSG mode Smooth handover

I note that the frequency response in Case 2 is particularly important for a solar inverter. A conventional current-controlled solar inverter may not provide inertia, so the frequency may deviate more during a disturbance. In my control strategy, the VSG mode provides virtual inertia before the fault and after the fault. During the fault, the LVRT mode prioritizes current support. The frequency deviation remains small, and the solar inverter quickly tracks the nominal frequency after the fault is cleared.

I now describe Case 3, which is the zero voltage ride through case. The grid voltage drops to 0 percent at 0.1 s and remains at zero for 150 ms. This is a severe condition. A solar inverter without a ZVRT strategy may trip or produce a large overcurrent. In my strategy, the LVRT controller detects the voltage collapse and immediately changes the current reference to the reactive current priority mode. The negative-sequence feedforward is still active, although the positive-sequence voltage is near zero. The phase-locked loop holds the phase angle so that the solar inverter can re-synchronize when the voltage recovers. I observe that the current peak is about 1.75 times the nominal current. This value is consistent with the zero voltage ride through requirement for reactive current. The current remains controlled, and the solar inverter does not lose stability. I summarize the Case 3 performance in the following table.

Metric Observed Result ZVRT Requirement
Voltage drop 0 percent Zero voltage ride through
Duration 150 ms Remain connected
Current peak About 1.75 p.u. Within current limit
Active power Falls to zero No active power transfer
Reactive power Large increase Reactive support
Frequency deviation Within 0.2 Hz Stable frequency
Mode recovery Smooth Return to VSG

I also compare the performance of my control strategy with a conventional LVRT strategy and with a pure VSG strategy. A pure VSG strategy can provide inertia and damping, but it may not limit the current correctly during a severe voltage drop. A conventional LVRT strategy can limit the current and inject reactive power, but it does not provide virtual inertia during normal operation. My strategy combines the advantages of both. I summarize this comparison in the following table.

Feature Pure VSG Solar Inverter Conventional LVRT Solar Inverter My VSG-Based LVRT/ZVRT Solar Inverter
Virtual inertia Yes No Yes
Frequency damping Yes Limited Yes
Negative-sequence suppression Limited Yes Yes
Reactive current injection Limited during severe faults Yes Yes
Zero voltage ride through Difficult Yes Yes
Smooth mode switching Not applicable Not applicable Yes
High penetration stability Improved Not improved Improved

The mode switching performance is a central contribution of my work. I use the three-phase phase-locked loop to align the phase angle before switching. I also use a hysteresis band and a current rate limiter. These measures reduce the transient current of the solar inverter. In my simulation, the switching from VSG mode to LVRT mode produces no large current spike. The switching from LVRT mode back to VSG mode also produces a smooth response. This is important because repeated faults and recoveries can occur in a distribution network with high solar inverter penetration. If each recovery produced a current spike, the solar inverter would experience thermal stress and might trip.

I also analyze the role of the negative-sequence voltage feedforward in more detail. In an unbalanced fault, the grid voltage can be decomposed into positive-sequence, negative-sequence, and zero-sequence components. For a three-wire solar inverter, the zero-sequence component does not flow, but the negative-sequence component does. The negative-sequence voltage tries to drive a negative-sequence current through the solar inverter. This negative-sequence current produces a double-frequency ripple in the active power and the reactive power. It also creates unequal heating in the semiconductor devices. By feeding forward the negative-sequence voltage, I make the modulation reference contain the same negative-sequence component. The current controller then rejects the negative-sequence current more effectively. I write the feedforward voltage as

$$ U_{\mathrm{ff}}^- = V_{\mathrm{PCC}}^- $$

I add this feedforward term to the output of the current controller. The resulting voltage reference for the solar inverter is

$$ U_{\mathrm{ref}} = U_{\mathrm{PI}} + U_{\mathrm{ff}}^- + U_{\mathrm{ff}}^+ $$

where \(U_{\mathrm{PI}}\) is the current controller output, \(U_{\mathrm{ff}}^-\) is the negative-sequence feedforward term, and \(U_{\mathrm{ff}}^+\) is the positive-sequence feedforward term. This structure is simple and effective. It does not require a separate negative-sequence current controller, so it reduces the computational burden on the solar inverter controller.

I also consider the reactive current priority during severe voltage drops. When the voltage is very low, the solar inverter cannot deliver active power because there is almost no voltage to push the current. In this condition, the solar inverter should deliver reactive current to support the grid voltage. I define the reactive current priority as

$$ I_q = I_q^{\max} $$

when \(U_{\mathrm{pu}} < 0.5\). I define the active current as

$$ I_d = \sqrt{I_{\max}^2 – I_q^2} $$

This ensures that the total current of the solar inverter remains within the limit. I also use a voltage-dependent reactive current profile. I write the profile as

$$ I_q = \begin{cases} 0, & U_{\mathrm{pu}} \ge 0.9 \\ 1.5\left(0.9-U_{\mathrm{pu}}\right)I_N, & 0.5 \le U_{\mathrm{pu}} < 0.9 \\ 1.05I_N, & U_{\mathrm{pu}} < 0.5 \end{cases} $$

This profile gives a smooth transition from normal operation to reactive current support. It also satisfies the requirement that the solar inverter should inject reactive current when the voltage is low. I use a rate limiter on the reactive current reference to avoid a sudden change in the output of the solar inverter.

I also examine the frequency support of the solar inverter. In VSG mode, the virtual inertia \(J\) and damping coefficient \(D\) determine the frequency response. I write the damping power as

$$ P_D = D\left(\omega – \omega_N\right) $$

The damping power opposes the frequency deviation. This reduces the frequency oscillation of the solar inverter after a disturbance. I tune \(J\) and \(D\) to achieve a balance between fast response and stable response. A large \(J\) provides more inertia but slows the response. A large \(D\) provides more damping but can increase the steady-state frequency error. I use the following relationship to guide the parameter selection:

$$ J = \frac{2H S_N}{\omega_N^2} $$

where \(H\) is the virtual inertia constant and \(S_N\) is the rated apparent power of the solar inverter. I use \(H\) to scale the inertia according to the rating of the solar inverter. This makes the control parameter selection more systematic.

I also include a virtual impedance in the VSG control loop. The virtual impedance helps to limit the fault current. I write the virtual impedance voltage as

$$ U_v = I\left(R_v + jX_v\right) $$

The virtual impedance is added to the voltage reference in normal mode and is reduced in fault mode. This is because the virtual impedance can improve decoupling and damping in normal operation, but it can also reduce the voltage support during a fault. I use a gain scheduling scheme:

$$ R_v = \begin{cases} R_{v0}, & E^+ \ge 0.9U_N \\ R_{v0}\frac{E^+}{0.9U_N}, & E^+ < 0.9U_N \end{cases} $$

This reduces the virtual impedance as the voltage drops, allowing the solar inverter to provide more reactive current during the fault. I use a similar schedule for \(X_v\). This is a practical way to coordinate normal operation and fault operation.

I now present the control algorithm in a compact sequence. The sequence is executed in the solar inverter controller at every sampling period.

Step Action Purpose
1 Measure grid voltage and solar inverter current Obtain feedback signals
2 Compute positive and negative sequences Identify fault type and severity
3 Compute positive-sequence amplitude \(E^+\) Determine mode switching
4 Run VSG controller Generate normal-mode voltage reference
5 Run negative-sequence feedforward LVRT controller Generate fault-mode voltage reference
6 Run three-phase phase-locked loop Align phase angle for switching
7 Select mode based on \(E^+\) and phase condition Switch voltage reference
8 Apply current limiting and rate limiting Protect the solar inverter
9 Generate PWM signals Control the inverter bridge

I also evaluate the harmonic performance of the solar inverter current. In Case 1, the unbalanced voltage can cause third harmonic and negative-sequence current. My feedforward method reduces these components. In Case 2 and Case 3, the current remains sinusoidal because the current controller has a resonant term at the fundamental frequency. I use a fast Fourier transform to check the total harmonic distortion. The total harmonic distortion of the current remains below the grid-code limit. This is important because a solar inverter must not inject excessive harmonics during fault ride through.

I also consider the DC link voltage of the solar inverter. During a voltage drop, the active power cannot be fully delivered to the grid. If the photovoltaic array continues to produce power, the DC link voltage may rise. I use a DC link voltage controller to limit the DC voltage. The controller reduces the active current reference when the DC voltage exceeds a threshold. I write the DC voltage control law as

$$ I_{d,\mathrm{lim}} = K_{p,\mathrm{dc}}\left(V_{\mathrm{dc}} – V_{\mathrm{dc}}^*\right) + K_{i,\mathrm{dc}}\int \left(V_{\mathrm{dc}} – V_{\mathrm{dc}}^*\right)dt $$

This current limit is applied to the active current reference. The reactive current reference is not reduced unless the total current limit is violated. This ensures that the solar inverter prioritizes reactive support during the fault. I also use a chopper circuit if necessary, but in my simulation the DC link voltage remains within the safe range because the active current is reduced quickly.

I also discuss the difference between low voltage ride through and zero voltage ride through. In LVRT, the voltage is reduced but not zero. The solar inverter can still synchronize to the positive-sequence voltage. In ZVRT, the voltage may be zero for a short period. The phase-locked loop cannot extract a reliable phase from the voltage. Therefore, I use a holdover mechanism. When the voltage is below a threshold, the phase-locked loop holds the last valid phase angle. The solar inverter continues to output current at this held phase angle. When the voltage recovers, the phase-locked loop re-locks to the grid voltage. The held phase angle reduces the phase jump at recovery. I write the holdover condition as

$$ E^+ < E_{\mathrm{hold}} \quad \Rightarrow \quad \theta_{\mathrm{PLL}} = \theta_{\mathrm{hold}} $$

where \(E_{\mathrm{hold}}\) is a small voltage threshold, such as \(0.05U_N\). The held phase angle is updated only when the positive-sequence voltage is above the threshold. This is a simple and robust method for ZVRT in a solar inverter.

I also include an anti-windup mechanism in the current controller. During a severe fault, the current reference may saturate. If the integral term of the current controller continues to grow, the controller may overshoot when the fault is cleared. I use a back-calculation anti-windup method. I write the anti-windup correction as

$$ U_{\mathrm{aw}} = K_{\mathrm{aw}}\left(I_{\mathrm{ref}} – I_{\mathrm{meas}}\right) $$

This correction is added to the integral state. It keeps the current controller output within the modulation limit and prevents windup. This is important for the solar inverter because the transition from fault mode to normal mode must be smooth.

I now discuss the simulation results in more detail. In Case 1, the single-phase voltage drops to 25 percent. I observe that the phase voltages become unbalanced. The positive-sequence voltage drops, and the negative-sequence voltage appears. The solar inverter current remains balanced because the negative-sequence feedforward compensates the negative-sequence voltage. The active power has a small ripple, but the ripple is much smaller than it would be without feedforward. The reactive power increases to support the grid. The frequency remains stable. I summarize the quantitative observations in the following table.

Quantity Before Fault During Fault After Fault
Positive-sequence voltage 1.0 p.u. 0.25 p.u. 1.0 p.u.
Negative-sequence voltage Near zero Present Near zero
Current peak 1.0 p.u. Below 1.1 p.u. 1.0 p.u.
Active power Nominal Reduced Nominal
Reactive power Near zero Increased Near zero
Frequency 50 Hz Stable 50 Hz

In Case 2, the three-phase voltage drops to 50 percent. I observe that the positive-sequence voltage is balanced, so the negative-sequence feedforward is not the main active component. The reactive current controller injects the required reactive current. The active current is reduced to keep the total current within the limit. The current waveform remains sinusoidal. The frequency deviation is within 0.05 Hz. The solar inverter returns to VSG mode after the fault is cleared. I summarize the quantitative observations in the following table.

Quantity Before Fault During Fault After Fault
Positive-sequence voltage 1.0 p.u. 0.50 p.u. 1.0 p.u.
Current peak 1.0 p.u. Within limit 1.0 p.u.
Active power Nominal Reduced Nominal
Reactive power Near zero Increased Near zero
Frequency deviation Zero Less than 0.05 Hz Zero
Current distortion Low Low Low

In Case 3, the three-phase voltage drops to 0 percent. I observe that the solar inverter remains connected for 150 ms. The active power falls to zero because there is no voltage to transfer active power. The reactive power increases significantly. The current peak is about 1.75 times the nominal current. The frequency deviation is within 0.2 Hz. The phase-locked loop holds the phase angle during the zero voltage interval. When the voltage recovers, the solar inverter re-synchronizes smoothly and returns to VSG mode. I summarize the quantitative observations in the following table.

Quantity Before Fault During ZVRT After Fault
Positive-sequence voltage 1.0 p.u. 0.0 p.u. 1.0 p.u.
Active power Nominal Zero Nominal
Reactive power Near zero Large Near zero
Current peak 1.0 p.u. About 1.75 p.u. 1.0 p.u.
Frequency deviation Zero Within 0.2 Hz Zero
Phase continuity Locked Held Re-locked

I also evaluate the mode switching transient. In my simulation, the switching from VSG mode to LVRT mode occurs at the moment the voltage drops below the threshold. The current spike is less than 10 percent of the nominal current. The switching from LVRT mode back to VSG mode occurs after the voltage recovers and the phase difference is below the threshold. The current spike is also small. The smooth switching is achieved because the phase-locked loop aligns the phase angle and the current rate limiter limits the current reference change. I summarize the switching performance in the following table.

Switching Event Phase Difference Before Switch Current Spike Result
VSG to LVRT Small due to PLL tracking Less than 10 percent Smooth
LVRT to VSG Below threshold Less than 10 percent Smooth
Repeated fault Maintained by holdover Limited Stable

I also discuss the practical implementation of my control strategy in a solar inverter. The controller needs to measure three-phase voltages and currents. It needs to compute the positive and negative sequences. It needs to run the VSG model, the LVRT controller, and the phase-locked loop. These tasks are computationally feasible for a modern digital signal processor. The sampling frequency can be the same as the switching frequency or a multiple of it. I use a sampling frequency of 10 kHz in my simulation. The control algorithm is executed every sampling period. The VSG model uses a small time step because the swing equation is integrated numerically. The phase-locked loop uses a proportional-integral controller with a bandwidth of about 20 Hz to 50 Hz. The current controller uses a proportional-resonant controller with a bandwidth of about 1 kHz. These parameters provide a good balance between speed and stability.

I also consider the effect of the grid impedance. The solar inverter is connected to the grid through a line impedance. The line impedance affects the power angle and the voltage drop. In VSG mode, the virtual impedance can be tuned to match the line impedance. This improves the power decoupling and the stability of the solar inverter. In LVRT mode, the line impedance affects the current limiting. I use a feedforward term to compensate the line voltage drop. This helps the solar inverter maintain the current reference during the fault. I write the line voltage feedforward as

$$ U_{\mathrm{line}} = I\left(R_{\mathrm{line}} + jX_{\mathrm{line}}\right) $$

This term is added to the voltage reference. It improves the accuracy of the current control during the fault.

I also discuss the role of the DC link voltage in ZVRT. During a zero voltage fault, the solar inverter cannot deliver active power. The DC link voltage may rise if the photovoltaic array continues to generate power. I use a DC chopper or a DC link voltage controller to dissipate or limit the excess power. In my simulation, I use a DC link voltage controller that reduces the active current reference. The DC link voltage remains within the safe range. The reactive current reference is maintained. This ensures that the solar inverter can provide reactive support during the zero voltage fault. I write the DC link voltage limit as

$$ V_{\mathrm{dc}} \le V_{\mathrm{dc,max}} $$

If the DC link voltage exceeds the maximum, the active current reference is reduced to zero. The reactive current reference is maintained until the total current limit is reached. This is a practical method for ZVRT in a solar inverter.

I also compare my strategy with other LVRT methods. A dual hysteresis current control method can limit the current quickly, but it may not provide virtual inertia. A positive and negative sequence dual current control method can suppress negative-sequence current, but it requires two current controllers and more computation. A negative-sequence voltage feedforward method is simpler and effective. My strategy uses negative-sequence voltage feedforward because it is easy to implement in a solar inverter. It also combines the feedforward method with VSG control. This combination is the main novelty of my work.

I also consider the effect of the phase-locked loop on the stability of the solar inverter. The phase-locked loop must be fast enough to track the grid voltage, but not so fast that it responds to harmonics or negative-sequence components. I use a positive-sequence extraction method before the phase-locked loop. This ensures that the phase-locked loop sees only the positive-sequence voltage. The negative-sequence voltage does not disturb the phase angle. This improves the stability of the solar inverter during unbalanced faults. I write the phase-locked loop input as

$$ V_{\mathrm{PLL}} = V_d^+ + jV_q^+ $$

The phase-locked loop adjusts the angle until \(V_q^+\) is zero. This is a standard synchronous reference frame phase-locked loop. The positive-sequence extraction is done by the SOGI. The SOGI has a band-pass characteristic that rejects harmonics. This is important for the solar inverter because the grid voltage may contain harmonics during a fault.

I also consider the effect of the current limiter on the reactive current. The current limiter must prioritize reactive current. I use the following priority rule:

$$ I_q = \min\left(I_q^{\mathrm{req}}, I_{\max}\right) $$

$$ I_d = \min\left(I_d^{\mathrm{ref}}, \sqrt{I_{\max}^2 – I_q^2}\right) $$

This rule ensures that the solar inverter injects as much reactive current as possible without exceeding the current limit. The active current is reduced if necessary. This is consistent with grid codes for solar inverter fault ride through. I also use a rate limiter on the current reference to avoid a sudden change. This improves the smoothness of the solar inverter output.

I also evaluate the performance of my strategy under different fault durations. I test fault durations of 150 ms, 300 ms, and 625 ms. I observe that the solar inverter remains stable in all cases. The current peak is within the limit. The reactive current is injected according to the voltage drop. The frequency deviation is small. The mode switching is smooth. I summarize the duration test in the following table.

Fault Duration Voltage Level Current Peak Reactive Support Mode Recovery
150 ms 0.0 p.u. 1.75 p.u. High Smooth
300 ms 0.5 p.u. Within limit Moderate Smooth
625 ms 0.25 p.u. Below 1.1 p.u. Moderate Smooth

I also consider the effect of the virtual inertia on the frequency response. I test three values of \(J\). A small \(J\) gives a fast frequency response but a larger frequency deviation. A large \(J\) gives a slower frequency response but a smaller frequency deviation. I choose a moderate \(J\) that provides sufficient inertia without causing slow recovery. I write the frequency response as

$$ \Delta f = \frac{\Delta P}{D + \frac{J\omega_N}{T_s}} $$

where \(\Delta P\) is the power imbalance, \(D\) is the damping coefficient, and \(T_s\) is the response time. This expression shows that increasing \(J\) reduces the frequency deviation. However, increasing \(J\) also slows the response. I use this trade-off to select the virtual inertia. In my simulation, the frequency deviation remains within the grid-code limit for all three fault cases. This confirms that the VSG control provides effective frequency support for the solar inverter.

I also consider the effect of the negative-sequence feedforward on the power ripple. Without feedforward, the negative-sequence voltage produces a negative-sequence current, which causes a double-frequency ripple in the active power. With feedforward, the negative-sequence current is suppressed, and the power ripple is reduced. I write the instantaneous active power as

$$ P = P_0 + P_{2\omega}\cos\left(2\omega t + \phi_p\right) $$

where \(P_0\) is the average active power and \(P_{2\omega}\) is the double-frequency ripple amplitude. My feedforward method reduces \(P_{2\omega}\). This improves the power quality of the solar inverter. It also reduces the stress on the DC link capacitor. I observe that the double-frequency ripple is significantly reduced in Case 1. This is a direct benefit of the negative-sequence feedforward method.

I also consider the effect of the phase-locked loop on the zero voltage ride through. During a zero voltage fault, the phase-locked loop cannot extract a phase angle. I use a holdover mechanism. The holdover mechanism keeps the phase angle at the last valid value. When the voltage recovers, the phase-locked loop re-locks to the grid voltage. The phase error at recovery is small because the grid voltage frequency is close to the nominal frequency. The solar inverter current is limited during the holdover period. This allows the solar inverter to ride through the zero voltage fault. I write the holdover threshold as

$$ E_{\mathrm{hold}} = 0.05U_N $$

When the positive-sequence voltage is below this threshold, the phase angle is held. When the positive-sequence voltage is above this threshold, the phase angle is updated. This simple method is effective for ZVRT in a solar inverter.

I also discuss the coordination between the VSG controller and the LVRT controller. The VSG controller is a voltage-type controller. It regulates the voltage and frequency of the solar inverter. The LVRT controller is a current-type controller. It regulates the current and reactive power of the solar inverter. The two controllers have different control objectives. To coordinate them, I use the mode switching signal. The mode switching signal selects the voltage reference for the inner current loop. The inner current loop is always active. This means that the solar inverter always has current limiting. The outer controller changes between VSG and LVRT. This structure is simple and robust. I recommend this structure for a solar inverter that must provide both inertia support and fault ride through.

I also discuss the parameter tuning of the VSG controller. The virtual inertia \(J\) and the damping coefficient \(D\) are the most important parameters. I tune them according to the desired frequency response. I use the following procedure:

Step Tuning Action Objective
1 Select \(J\) from the desired inertia constant Limit frequency deviation
2 Select \(D\) from the desired damping ratio Reduce frequency oscillation
3 Select \(k_f\) from the frequency droop requirement Share active power
4 Select the reactive power droop coefficient Share reactive power
5 Verify with simulation Ensure stability

I also tune the negative-sequence feedforward gain. The feedforward gain should be close to unity so that the negative-sequence voltage is fully compensated. If the gain is too small, the negative-sequence current is not fully suppressed. If the gain is too large, the controller may become unstable. I use a gain of 1.0 in my simulation. This gives good negative-sequence suppression. I also use a low-pass filter on the feedforward signal to remove high-frequency noise. The low-pass filter cutoff frequency is set to about 500 Hz. This prevents the feedforward path from amplifying switching noise. I write the filtered feedforward voltage as

$$ U_{\mathrm{ff}}^-(s) = \frac{\omega_c}{s+\omega_c}V_{\mathrm{PCC}}^-(s) $$

where \(\omega_c\) is the cutoff angular frequency. This filter improves the robustness of the solar inverter controller.

I also consider the current controller bandwidth. The current controller must be fast enough to track the current reference during a fault. I use a proportional gain \(K_p\) that gives a bandwidth of about 1 kHz. I use a resonant gain \(K_r\) that gives zero steady-state error at the fundamental frequency. I also use a resonant term at the double frequency to reject the negative-sequence ripple. The current controller is implemented in the stationary frame. This avoids the need for coordinate transformations and reduces the computational burden. I write the stationary frame current controller as

$$ U_{\alpha\beta}^* = G_{\mathrm{PR}}(s)\left(I_{\alpha\beta}^* – I_{\alpha\beta}\right) + V_{\alpha\beta} $$

where \(I_{\alpha\beta}^*\) is the current reference, \(I_{\alpha\beta}\) is the measured current, and \(V_{\alpha\beta}\) is the grid voltage feedforward. This structure is well known for grid-connected solar inverter control. It is effective for both balanced and unbalanced faults.

I also consider the DC link voltage control during a fault. The DC link voltage must be maintained within a safe range. I use a DC link voltage controller that generates an active current limit. The active current limit is reduced when the DC link voltage is too high. The reactive current reference is not reduced unless the total current limit is reached. This ensures that the solar inverter provides reactive support during the fault. I write the DC link voltage controller as

$$ I_{d,\mathrm{lim}} = K_{p,\mathrm{dc}}\left(V_{\mathrm{dc}} – V_{\mathrm{dc}}^*\right) + K_{i,\mathrm{dc}}\int \left(V_{\mathrm{dc}} – V_{\mathrm{dc}}^*\right)dt $$

This controller is active in both VSG mode and LVRT mode. It protects the DC link capacitor and the solar inverter semiconductor devices. I also use a DC chopper if the DC link voltage exceeds a higher threshold. The chopper dissipates excess power and prevents overvoltage. This is a common protection method for a solar inverter.

I also discuss the limitations of my strategy. The VSG controller requires a DC link voltage that is high enough to synthesize the required AC voltage. During a severe voltage drop, the solar inverter may not be able to synthesize the full voltage. The LVRT controller handles this by switching to current control. The negative-sequence feedforward requires accurate sequence extraction. The SOGI method is accurate but has a limited bandwidth. The phase-locked loop requires a positive-sequence voltage. During a zero voltage fault, the phase-locked loop must hold over. The holdover method is simple but may not be accurate if the grid frequency changes significantly during the fault. These limitations are acceptable for most distribution networks. Future work could include advanced sequence extraction methods and adaptive phase-locked loops for extreme grid conditions.

I also discuss the advantages of my strategy. The solar inverter can provide virtual inertia during normal operation. It can provide reactive current support during a fault. It can suppress negative-sequence current during an unbalanced fault. It can ride through a zero voltage fault. It can switch between modes smoothly. It does not require additional energy storage. It is suitable for high-penetration distributed photovoltaic systems. These advantages make the solar inverter a more grid-friendly device. They also improve the stability and reliability of the power system.

I also present a final summary of the control requirements and the achieved performance. The table below shows that my strategy satisfies the main grid-code requirements for a solar inverter.

Requirement Target Achieved by My Strategy
Low voltage ride through Remain connected during voltage dip Yes, tested at 25 percent and 50 percent
Zero voltage ride through Remain connected during zero voltage Yes, tested at 0 percent for 150 ms
Reactive current injection Inject reactive current according to voltage drop Yes, using voltage-dependent reactive current profile
Current limiting Keep current within thermal limit Yes, using current priority and rate limiter
Negative-sequence suppression Reduce negative-sequence current Yes, using negative-sequence voltage feedforward
Frequency support Provide inertia and damping Yes, using VSG inertia and damping
Smooth mode switching Avoid current spikes Yes, using phase-locked switching and hysteresis

I conclude that the VSG-based zero voltage ride through control strategy is an effective solution for a solar inverter in a high-penetration distributed generation system. The strategy combines the inertia support of VSG control with the fault ride through capability of negative-sequence voltage feedforward LVRT control. The mode switching is coordinated by a three-phase phase-locked loop and a hysteresis state machine. The simulation results for single-phase faults, three-phase faults, and zero voltage faults show that the solar inverter remains stable, limits its current, injects reactive power, suppresses negative-sequence current, and recovers smoothly. The solar inverter therefore becomes a more reliable and grid-friendly component of the power system. I believe this control strategy can be extended to other inverter-based resources, including wind power converters and energy storage inverters, because the core principles of inertia emulation, negative-sequence compensation, and smooth mode switching are general. My future work will focus on experimental validation, adaptive parameter tuning, and coordination with multiple solar inverter units in a large distribution network.

Scroll to Top