Grid-Forming Solar Inverters with Virtual Harmonic Resistance

In my research, I focus on the evolving role of solar inverters in modern power systems. As the share of renewable generation increases, solar inverters are no longer simple DC–AC converters that only inject active power. They are becoming multifunctional grid assets that can improve power quality, identify grid parameters, and provide inertia and damping support. I develop a unified control framework for grid-forming solar inverters based on virtual harmonic resistance technology. The framework combines harmonic mitigation, harmonic impedance measurement, and virtual synchronous generator control. I verify the proposed methods through simulations, hardware-in-the-loop tests, and practical experiments.

The rapid growth of photovoltaic installations has changed the operational characteristics of power grids. A large number of solar inverters and power electronic loads are connected to distribution networks. This creates two major challenges. First, harmonic pollution becomes more severe, which affects equipment safety and grid stability. Second, the reduction of conventional synchronous generators leads to low inertia and weak frequency support. I address these challenges by using the existing hardware of solar inverters and by extending their control functions without adding expensive external devices.

System Topology and Mathematical Model

I adopt a three-level neutral-point-clamped inverter with an LCL filter as the main circuit of the solar inverter. Compared with a two-level inverter, the three-level topology reduces the voltage stress on each switching device and produces lower current harmonics at the same switching frequency. The LCL filter provides better attenuation of high-frequency switching harmonics. The DC side includes a boost converter for maximum power point tracking, and the AC side is connected to the grid through the LCL filter and the grid impedance.

The main circuit parameters used in my study are summarized in Table 1. These parameters are used consistently in the simulation and experimental platforms unless otherwise stated.

Parameter Symbol Value
Inverter-side filter inductance \(L_1\) 0.86 mH
Filter capacitance \(C\) 8 μF
Grid-side filter inductance \(L_2\) 55 μH
Grid impedance inductance \(L_s\) 0.23 mH
Grid impedance resistance \(R_s\) 0.01 Ω
Nominal phase voltage RMS \(V_{\text{ph}}\) 220 V
Switching frequency \(f_{\text{sw}}\) 19.2 kHz

I derive the mathematical model of the solar inverter in the three-phase stationary a-b-c frame. Using Kirchhoff’s voltage and current laws, the state equations of the LCL filter are written as

$$
\begin{cases}
L_1 \frac{di_{1m}}{dt} = u_{1m} – v_{Cm} – R i_{1m} + R i_{2m} \\
L_2 \frac{di_{2m}}{dt} = v_{Cm} – v_{sm} – R i_{1m} + R i_{2m} \\
C \frac{dv_{Cm}}{dt} = i_{1m} – i_{2m}
\end{cases}
$$

where \(m \in \{a,b,c\}\). The switch function model of the three-level inverter is nonlinear. I use the state-space averaging method to replace the switch function with the duty cycle. The linearized model in the a-b-c frame is

$$
\begin{bmatrix}
\dot{i}_{1m} \\
\dot{i}_{2m} \\
\dot{v}_{Cm}
\end{bmatrix}
=
\begin{bmatrix}
-\frac{R}{L_1} & \frac{R}{L_1} & -\frac{1}{L_1} \\
\frac{R}{L_2} & -\frac{R}{L_2} & \frac{1}{L_2} \\
\frac{1}{C} & -\frac{1}{C} & 0
\end{bmatrix}
\begin{bmatrix}
i_{1m} \\
i_{2m} \\
v_{Cm}
\end{bmatrix}
+
\begin{bmatrix}
\frac{K_{\text{PWM}}}{L_1} \\
0 \\
0
\end{bmatrix}
u_{im}
+
\begin{bmatrix}
0 \\
-\frac{1}{L_2} \\
0
\end{bmatrix}
v_{sm}
$$

To simplify the controller design, I transform the model into the stationary \(\alpha\)-\(\beta\) frame and the synchronous rotating \(d\)-\(q\) frame. The Clarke transformation and Park transformation are used. In the \(\alpha\)-\(\beta\) frame, the two axes are independent, but the variables remain AC quantities. In the \(d\)-\(q\) frame, the variables become DC quantities, which allows zero steady-state error with PI controllers. However, cross-coupling terms appear in the \(d\)-\(q\) model.

The \(d\)-\(q\) model of the solar inverter is expressed as

$$
\begin{cases}
L_1 \frac{di_{1d}}{dt} = u_{id} – v_{Cd} – R i_{1d} + R i_{2d} + \omega_s L_1 i_{1q} \\
L_1 \frac{di_{1q}}{dt} = u_{iq} – v_{Cq} – R i_{1q} + R i_{2q} – \omega_s L_1 i_{1d} \\
L_2 \frac{di_{2d}}{dt} = v_{Cd} – v_{sd} – R i_{1d} + R i_{2d} + \omega_s L_2 i_{2q} \\
L_2 \frac{di_{2q}}{dt} = v_{Cq} – v_{sq} – R i_{1q} + R i_{2q} – \omega_s L_2 i_{2d} \\
C \frac{dv_{Cd}}{dt} = i_{1d} – i_{2d} + \omega_s C v_{Cq} \\
C \frac{dv_{Cq}}{dt} = i_{1q} – i_{2q} – \omega_s C v_{Cd}
\end{cases}
$$

This model provides the basis for the current control loop and the voltage control loop. I use it in both the harmonic resistance control and the virtual synchronous generator control.

Linear Active Disturbance Rejection Control

To improve the disturbance rejection capability of the solar inverter, I apply linear active disturbance rejection control (LADRC). LADRC does not require an accurate mathematical model. It treats all internal and external disturbances as a total disturbance and estimates this disturbance with an extended state observer (ESO). The estimated disturbance is then compensated in the control law.

For an \(n\)-th order plant, I write the model as

$$
y^{(n)} = f(t, y, \dot{y}, \dots, y^{(n-1)}) + b_0 u
$$

where \(f\) is the total disturbance and \(b_0\) is the approximate control gain. I define the state vector as \(x_1 = y\), \(x_2 = \dot{y}\), …, \(x_n = y^{(n-1)}\), and \(x_{n+1} = f\). The extended state space model is

$$
\begin{cases}
\dot{x} = A x + B u + E \dot{f} \\
y = C x
\end{cases}
$$

I design a linear ESO as

$$
\begin{cases}
\dot{z} = A z + B u + L (y – \hat{y}) \\
\hat{y} = C z
\end{cases}
$$

where \(z\) is the estimated state vector and \(L\) is the observer gain vector. When the observer bandwidth is \(\omega_o\), the gains are chosen by pole placement. For a second-order ESO, the gains are \(\beta_1 = 2\omega_o\) and \(\beta_2 = \omega_o^2\). For a first-order plant, a second-order ESO is sufficient.

The disturbance compensation law is

$$
u = \frac{u_0 – z_{n+1}}{b_0}
$$

and the linear error feedback control law is

$$
u_0 = k_p (r – z_1) – k_{d1} z_2 – \dots – k_{d(n-1)} z_n
$$

where \(r\) is the reference. After compensation, the plant becomes an integrator series system. I use LADRC in the voltage control loop of the virtual synchronous generator to reduce steady-state errors and improve dynamic performance.

Virtual Harmonic Resistance for Harmonic Mitigation

Traditional active power filters measure the harmonic current at the point of common coupling (PCC) and inject a compensating current. This method can only mitigate harmonics generated by local nonlinear loads. It cannot effectively mitigate harmonics generated by other loads on the same feeder. Moreover, the harmonic current injection method requires additional current sensors and increases cost.

I propose a virtual harmonic resistance control strategy for solar inverters. At each harmonic frequency, the solar inverter behaves as a virtual resistor. It absorbs harmonic power from the grid and converts it into fundamental power, which is fed back to the grid through the DC link. This strategy not only mitigates harmonic voltage at the PCC but also provides a new way to measure harmonic impedance.

For the \(h\)-th harmonic, I analyze the equivalent circuit of the distribution network. The system harmonic impedance is \(Z_{sh} = R_{sh} + j X_{sh}\). The virtual harmonic impedance is \(Z_h = R_h + j X_h\). The PCC harmonic voltage before connection is

$$
U_{\text{pcch}1} = I_{sh} X_{sh}
$$

After connecting the virtual harmonic impedance, the PCC harmonic voltage becomes

$$
U_{\text{pcch}2} = I_{sh} \frac{R_h + j X_h}{R_{sh} + R_h + j (X_{sh} + X_h)}
$$

I define the harmonic suppression coefficient as

$$
\alpha = \frac{U_{\text{pcch}2}}{U_{\text{pcch}1}}
= \frac{\sqrt{R_h^2 + X_h^2}}{\sqrt{(R_{sh} + R_h)^2 + (X_{sh} + X_h)^2}}
$$

When the virtual harmonic impedance has the same nature as the system harmonic impedance, \(\alpha \lt 1\). However, if the virtual harmonic impedance has the opposite nature, \(\alpha\) may be greater than 1, which means the harmonic voltage can be amplified. Therefore, a pure virtual harmonic resistance is safer. For a virtual harmonic resistance \(R_h\), the suppression coefficient is

$$
\alpha = \frac{R_h}{\sqrt{(R_{sh} + R_h)^2 + X_{sh}^2}} \lt 1
$$

This shows that a virtual harmonic resistance always reduces the PCC harmonic voltage regardless of the system impedance nature. The smaller the virtual harmonic resistance, the stronger the suppression effect. I implement the virtual harmonic resistance by detecting the harmonic voltage at the PCC and generating a harmonic current reference proportional to the harmonic voltage. The proportionality constant is the virtual harmonic conductance \(G_h = 1/R_h\).

I use the fast Fourier transform (FFT) for harmonic detection. The three-phase voltages are transformed into the \(\alpha\)-\(\beta\) frame. Then FFT is applied to obtain the real and imaginary parts of each harmonic component. The positive and negative sequence components are separated. The \(d\)-\(q\) components of each harmonic are calculated. The harmonic current reference in the \(d\)-\(q\) frame is

$$
\begin{bmatrix}
i_{hd}^* \\
i_{hq}^*
\end{bmatrix}
=
G_h
\begin{bmatrix}
u_{hd} \\
u_{hq}
\end{bmatrix}
$$

where \(u_{hd}\) and \(u_{hq}\) are the \(d\)-\(q\) components of the \(h\)-th harmonic voltage. The current error is regulated by PI controllers. The output is transformed back to the \(a\)-\(b\)-\(c\) frame and added to the fundamental control signal. The overall control diagram includes the fundamental current control and the harmonic resistance control.

I verify the harmonic mitigation performance through simulation. The grid contains background harmonic voltages at the 5th, 7th, 11th, and 13th orders. The virtual harmonic conductance is set to 1 S. The simulation results are shown in Table 2.

Harmonic order Background voltage (V) PCC voltage before mitigation (V) PCC voltage after mitigation (V) Suppression ratio (%)
5 10.0 10.0 9.40 6.0
7 7.0 7.0 6.65 5.0
11 5.0 5.0 4.82 3.6
13 5.0 5.0 4.86 2.8

The virtual harmonic resistance absorbs harmonic power. The absorbed harmonic active power is converted into fundamental active power and delivered to the grid. This creates an economic incentive for users who generate harmonics to reduce their harmonic emission, because they will pay for the harmonic power. In addition, the virtual harmonic resistance increases the harmonic damping of the system and reduces the risk of harmonic resonance.

Harmonic Impedance Measurement Based on Virtual Harmonic Resistance

Accurate knowledge of the grid harmonic impedance is essential for harmonic source location, harmonic responsibility assessment, filter design, and stability analysis. Traditional harmonic impedance measurement methods include passive methods and active methods. Passive methods use existing measurement data and do not inject disturbances. They have low cost but limited accuracy. Active methods inject a disturbance current or voltage into the grid and measure the response. They have higher accuracy but may deteriorate power quality.

I propose a new active method based on the virtual harmonic resistance of the solar inverter. The method does not inject additional harmonic currents. Instead, it changes the virtual harmonic resistance value and measures the resulting PCC harmonic voltage. The harmonic impedance is then estimated by using the least squares method.

For the \(h\)-th harmonic, the PCC harmonic voltage can be expressed as

$$
U_{\text{pcch}} = \frac{U_{sh}}{R_{sh} + R_h + j X_{sh}} R_h
$$

where \(U_{sh}\) is the equivalent harmonic voltage source. I change the virtual harmonic resistance to \(r_{h1}, r_{h2}, r_{h3}, r_{h4}\) and measure the corresponding PCC harmonic voltage amplitudes \(U_{\text{pcch}1}, U_{\text{pcch}2}, U_{\text{pcch}3}, U_{\text{pcch}4}\). From these measurements, I derive a linear relationship

$$
y = k x + b
$$

where \(k = R_{sh}\) and \(b = |Z_{sh}|^2\). The variables \(x\) and \(y\) are defined as

$$
x_i = \frac{r_{hi} A_i + r_{hi}}{A_i – 1}, \quad
y_i = \frac{r_{hi}^2 A_i + r_{hi}^2}{A_i – 1}
$$

with

$$
A_i = \frac{U_{\text{pcch}j}^2 r_{hi}^2}{U_{\text{pcch}i}^2 r_{hj}^2}
$$

I use the least squares method to fit \(k\) and \(b\). The estimated harmonic impedance magnitude is

$$
|\hat{Z}_{sh}| = \sqrt{\hat{b}}, \quad \hat{R}_{sh} = \hat{k}
$$

The measurement procedure is summarized in Table 3.

Step Operation
1 Start the solar inverter and maintain normal power generation.
2 Detect the PCC harmonic voltage using FFT.
3 Set a virtual harmonic conductance value and wait for steady state.
4 Record the PCC harmonic voltage amplitude and the virtual conductance.
5 Repeat steps 3–4 for several conductance values.
6 Calculate the intermediate variables \(x_i\) and \(y_i\).
7 Apply least squares fitting to obtain \(k\) and \(b\).
8 Compute the harmonic impedance magnitude and resistance.

I simulate the measurement method with the parameters in Table 1. The background harmonic voltages are the same as in the mitigation study. I use twelve virtual harmonic conductance values, as listed in Table 4.

Group \(G_h\) (S) Group \(G_h\) (S)
1 0.050 7 0.200
2 0.080 8 0.225
3 0.100 9 0.250
4 0.125 10 0.275
5 0.150 11 0.300
6 0.170 12 0.325

The fitted linear equations for each harmonic order are given in Table 5.

Harmonic order Fitted linear equation
5 \(y = 0.05108 x + 2.482\)
7 \(y = 0.08454 x + 5.097\)
11 \(y = 0.3621 x + 13.16\)
13 \(y = 0.4154 x + 20.95\)

The measurement results are compared with the true values in Table 6. The relative errors are very small, especially for the 5th and 7th harmonics. For higher harmonics, the error increases slightly because the control bandwidth and sampling accuracy have a greater influence.

Harmonic order True impedance (Ω) Measured impedance (Ω) Error (%)
5 0.36128 0.3613 0.006
7 0.5058 0.5057 0.020
11 0.7948 0.8022 0.931
13 0.9393 0.9633 2.555

Compared with the traditional harmonic current injection method, my method does not increase the PCC harmonic voltage. In fact, it reduces the PCC harmonic voltage because the virtual harmonic resistance absorbs harmonic power. This makes the measurement process grid-friendly and safe.

Grid-Forming Control with Virtual Synchronous Generator

Grid-following solar inverters rely on a phase-locked loop to synchronize with the grid. They inject current into the grid and do not provide voltage or frequency support. As the penetration of renewable generation increases, the grid becomes weaker and has less inertia. Grid-forming solar inverters are needed to provide voltage support, inertia, and damping. I implement a virtual synchronous generator (VSG) control strategy in the solar inverter.

The VSG control mimics the rotor motion equation of a synchronous generator. The active power–frequency control loop is

$$
J \frac{d\omega}{dt} = T_m – T_e – D_p (\omega – \omega_0)
$$

$$
\frac{d\delta}{dt} = \omega – \omega_0
$$

where \(J\) is the virtual inertia, \(D_p\) is the damping coefficient, \(T_m\) is the mechanical torque, \(T_e\) is the electromagnetic torque, \(\omega\) is the angular frequency, and \(\omega_0\) is the nominal angular frequency. The mechanical torque is obtained from the primary frequency regulation characteristic:

$$
P_m = P_{\text{ref}} + k_p (\omega_0 – \omega)
$$

where \(P_{\text{ref}}\) is the active power reference and \(k_p\) is the frequency droop coefficient. The reactive power–voltage control loop is

$$
U = U_0 + k_q (Q_{\text{ref}} – Q)
$$

where \(U_0\) is the nominal voltage, \(Q_{\text{ref}}\) is the reactive power reference, \(Q\) is the output reactive power, and \(k_q\) is the reactive voltage coefficient. The VSG generates the voltage magnitude and phase angle for the inner voltage and current control loops. The overall control structure includes the power calculation, the VSG power loops, the voltage control loop, the current control loop, and the PWM modulator.

I analyze the small-signal model of the VSG when connected to the grid. The active power loop and reactive power loop are approximately decoupled. The closed-loop transfer function of the active power with respect to the active power reference is

$$
G_{P\_\text{VSG}}(s) = \frac{\Delta P_{\text{out}}}{\Delta P_{\text{ref}}}
= \frac{1}{J s^2 + (D_p + k_p) s + \frac{3 U_{\text{os}} U_g}{X}}
$$

where \(U_{\text{os}}\) is the equivalent stator voltage, \(U_g\) is the grid voltage, and \(X\) is the total reactance. The natural frequency and damping ratio are

$$
\omega_n = \sqrt{\frac{3 U_{\text{os}} U_g}{J X}}, \quad
\zeta = \frac{D_p + k_p}{2 \sqrt{\frac{3 U_{\text{os}} U_g J}{X}}}
$$

The settling time and overshoot depend on \(J\), \(D_p\), and \(k_p\). A larger \(J\) increases the settling time and the overshoot. A larger \(D_p\) or \(k_p\) decreases the settling time and the steady-state frequency deviation. I summarize the parameter effects in Table 7.

Parameter Increase effect on transient Increase effect on steady state
\(J\) (inertia) Longer settling time, larger overshoot No effect on final frequency
\(D_p\) (damping) Shorter settling time, smaller overshoot Smaller frequency deviation
\(k_p\) (droop) Shorter settling time, smaller overshoot Smaller frequency deviation
\(k_q\) (reactive voltage) Faster voltage response Smaller voltage deviation

To improve the voltage control performance, I apply LADRC to the voltage loop. The capacitor voltage dynamics in the \(d\)-axis are

$$
C \frac{du_{Cd}}{dt} = i_{L1d} – i_{L2d}
$$

I treat the term \(i_{L2d}\) and other uncertainties as a total disturbance. The first-order LADRC controller estimates the disturbance and compensates it. The control law is

$$
i_{L1d}^* = \frac{u_0 – z_2}{b_0}
$$

where \(u_0 = k_p (u_{Cd}^* – z_1)\). The ESO gain is selected by the observer bandwidth \(\omega_o\). I set \(k_p = 4000\) rad/s, \(\omega_o = 6000\) rad/s, and \(b_0 = 20000\) in the simulation. The LADRC voltage loop reduces the frequency fluctuation during grid voltage sags and improves the dynamic response.

Simulation Verification

I build a simulation model of the grid-forming solar inverter in PSCAD. The model includes the PV source, the boost converter, the three-level inverter, the LCL filter, the grid impedance, and the control system. I verify the harmonic mitigation, the harmonic impedance measurement, and the VSG control.

For harmonic mitigation, I set the background harmonic voltages to 10 V, 7 V, 5 V, and 5 V for the 5th, 7th, 11th, and 13th harmonics. The virtual harmonic conductance is 1 S. The PCC harmonic voltages before and after mitigation are shown in Table 2. The harmonic voltage total harmonic distortion is reduced from 4.8% to 4.2%. The absorbed harmonic active powers are 250 W, 120 W, 60 W, and 45 W for the four harmonic orders. The total absorbed harmonic power is 475 W, which is converted into fundamental power and delivered to the grid.

For harmonic impedance measurement, I use the twelve conductance values in Table 4. The measured impedances are close to the true values. The errors are 0.006%, 0.02%, 0.931%, and 2.555% for the 5th, 7th, 11th, and 13th harmonics. The least squares method reduces the influence of random measurement errors. The measurement process does not inject additional harmonics and does not increase the PCC harmonic voltage.

For VSG control, I test both islanded and grid-connected modes. In islanded mode, the initial active load is 9 kW and the reactive load is 0 kvar. At 0.4 s, the active load increases by 3 kW. The frequency response is shown in Table 8. The VSG provides inertia and damping. The frequency nadir is 49.91 Hz, and the settling time is about 0.04 s. Compared with droop control, the VSG reduces the frequency deviation and slows down the frequency change.

Case Initial frequency (Hz) Final frequency (Hz) Settling time (s)
VSG, load increase 50.00 49.91 0.040
Droop, load increase 50.00 49.76 0.015
VSG, load decrease 50.00 50.09 0.040
Droop, load decrease 50.00 50.24 0.015

In grid-connected mode, I set the active power reference to 6 kW and the reactive power reference to 0 kvar. At 0.5 s, the active power reference increases by 3 kW. The VSG output active power, frequency, voltage, and current are recorded. The frequency returns to 50 Hz in steady state, while the active power follows the reference. The dynamic response is a typical second-order response. When the grid frequency drops by 0.1 Hz, the VSG increases its active power by 1.6 kW due to the primary frequency regulation. When the grid voltage drops by 0.1 pu, the VSG increases its reactive power output to support the voltage.

I compare the voltage loop with PI control and LADRC. The frequency response during a grid voltage sag is shown in Table 9. The LADRC reduces the frequency fluctuation and shortens the settling time.

Control method Frequency nadir (Hz) Frequency peak (Hz) Settling time (s)
PI voltage loop 49.86 50.06 0.12
LADRC voltage loop 49.90 50.03 0.08

Hardware-in-the-Loop and Experimental Results

I design a hardware-in-the-loop (HIL) platform based on a Typhoon HIL404 simulator and a TMS320F28335 digital signal processor. The HIL simulator runs the main circuit model, and the DSP runs the control algorithm. The DSP generates PWM signals and sends them to the HIL simulator. The HIL simulator sends the voltage and current signals back to the DSP through analog outputs. The platform allows real-time testing of the control strategies without the risk of damaging real power equipment.

The DSP resource usage is summarized in Table 10. The ADC module samples the voltage and current signals. The ePWM module generates the switching signals for the inverter. The eCAP module controls the boost converter. The SCI module communicates with a display screen. The I2C module communicates with an external EEPROM for parameter storage.

Resource Purpose
Flash/RAM Code storage and data memory
ADC Analog-to-digital conversion of sampled signals
ePWM Switching signals for the inverter bridge
eCAP Switching signal for the boost converter
SCI Communication with the display
I2C Communication with the EEPROM

The main program flow includes system initialization, self-check, insulation resistance detection, boost soft start, MPPT, and periodic calculations. The interrupt program flow includes ADC result conversion, current loop control, phase-locked loop, overvoltage and overcurrent protection, boost control, VSG control, and signal statistics.

For harmonic impedance measurement, the HIL results are shown in Table 11. The grid impedance inductance is 1 mH. The measurement errors are 0.31%, 2.67%, 4.40%, and 4.86% for the 5th, 7th, 11th, and 13th harmonics. The errors are slightly larger than in the pure simulation because the HIL platform has sampling and computation delays.

Harmonic order Reference impedance (Ω) Measured impedance (Ω) Error (%)
5 1.5708 1.5756 0.31
7 2.1991 2.2577 2.67
11 3.4558 3.6077 4.40
13 4.2341 4.4402 4.86

I also perform an experimental test on a practical solar inverter. The experimental platform includes a PV DC input, a boost converter, a DC link capacitor, an inverter bridge, an LCL filter, and a grid connection. A 1 mH reactor is connected between the inverter and the grid. The output power is 5 kW. The measured harmonic impedances are shown in Table 12. The errors are 0.64%, 3.15%, 5.68%, and 8.49% for the 5th, 7th, 11th, and 13th harmonics. The higher errors at higher harmonic orders are caused by sampling noise, electromagnetic interference, and the limited control bandwidth of the virtual harmonic resistance.

Harmonic order Reference impedance (Ω) Measured impedance (Ω) Error (%)
5 1.57 1.58 0.64
7 2.20 2.29 3.15
11 3.52 3.72 5.68
13 4.24 4.60 8.49

For the VSG control, the HIL results in islanded mode show that the frequency response matches the theoretical analysis. When the load increases by 3 kW, the frequency drops to 49.91 Hz and then recovers. The voltage remains stable. In grid-connected mode, when the active power reference increases by 3 kW, the output current increases and the frequency returns to 50 Hz. When the grid frequency drops by 0.1 Hz, the VSG increases its active power by 1.6 kW, which verifies the primary frequency regulation. When the grid voltage drops, the VSG increases its reactive power output.

Discussion and Future Work

The proposed virtual harmonic resistance technology provides a multifunctional framework for solar inverters. It enables harmonic mitigation, harmonic impedance measurement, and grid-forming support. The virtual harmonic resistance always reduces the PCC harmonic voltage, unlike a general virtual harmonic impedance that may amplify the harmonic voltage when the impedance nature is unknown. The harmonic impedance measurement method uses the existing solar inverter hardware and does not inject additional harmonic currents. The least squares fitting improves the measurement accuracy. The VSG control provides inertia, damping, and voltage support. The LADRC voltage loop improves the dynamic response and reduces the steady-state error.

However, there are still some limitations. The harmonic impedance measurement accuracy decreases at higher harmonic orders because the control bandwidth and sampling accuracy limit the performance of the virtual harmonic resistance. Advanced control methods such as hysteresis control or LADRC could be used in the harmonic current loop to improve the tracking performance. The current method only estimates the harmonic impedance magnitude, not the phase. Future work could focus on estimating the harmonic impedance phase by using additional measurements or by changing the injection strategy. The VSG control provides primary frequency regulation, but secondary frequency regulation is not implemented. Future work could integrate secondary frequency regulation and state-of-charge management if an energy storage system is available.

Despite these limitations, the proposed methods have strong practical value. They use the existing hardware of solar inverters and do not require additional power devices. They improve the power quality, provide grid support, and enable grid parameter identification. As the number of solar inverters continues to grow, these multifunctional capabilities will become increasingly important for the stable and reliable operation of future power systems.

Conclusion

In this work, I studied a grid-forming solar inverter based on virtual harmonic resistance technology. I derived the mathematical model of a three-level LCL solar inverter in different coordinate frames. I introduced linear active disturbance rejection control and applied it to the voltage control loop. I proposed a virtual harmonic resistance control strategy for harmonic mitigation and showed that it always reduces the PCC harmonic voltage. I developed a harmonic impedance measurement method based on the virtual harmonic resistance and the least squares method. I designed a virtual synchronous generator control strategy for grid-forming operation and improved its voltage control with LADRC. I validated the proposed methods through simulations, hardware-in-the-loop tests, and practical experiments. The results show that the proposed solar inverter can effectively mitigate harmonics, measure harmonic impedance with high accuracy, and provide inertia, damping, and voltage support to the grid. The multifunctional solar inverter is a promising solution for future power systems with high renewable penetration.

Scroll to Top