State of the Art of the Techniques for Grid Forming Inverters to Solve the Challenges of Renewable Rich Power Grids

: To mitigate the fast ‐ growing demand of electrical energy, the use of renewable energy resources, e.g., solar and wind, can offer an environmentally friendly and sustainable solution. Due to their intermittent nature, the grid connected operation of renewable energy resources provides a better performance compared to the standalone operation. However, the massive penetration of power electronic inverter/converter ‐ interfaced renewable resources in power systems introduces new issues, such as voltage and frequency instabilities, because of their inherent low inertia properties. As a consequence, these issues may lead to serious problems, such as system blackouts. Therefore, there is an immediate demand to solve these new issues and ensure the normal performance of the power system with the large penetration of renewable energy resources. To achieve this, grid connected inverters/converters are designed to address these problems and behave as synchronous generators, which is possible with grid forming ( GFM) inverters/converters concepts. This paper reviews the recent advancement of GFM converters for solving emerging issues related to the renewable rich power grids. It also provides a comprehensive review on frequency deviations and power system stability issues in low ‐ inertia systems and recent advancements in control methods for harmonic mitigation. It is expected that this paper will help the research community to enhance the technology further to solve the challenges in renewable rich power grids.


Introduction
Electrical energy is the most common and widely used form of energy as it has many advantages, e.g., easy to transform and transport.The generation of electrical energy from traditional sources, e.g., coal, oil, and gas, produces vast CO 2 gases, which heavily affect the environment and consequently destroy the sustainability of the world.On the other hand, the generation of electrical energy from renewable energy resources, e.g., solar and wind, can keep the environment sustainable without any emission of CO 2 .Many countries have already set their target to generate a significant percentage of electrical energy from renewable resources to keep the environment sustainable.Many governments and industries are working closely to achieve the net-zero carbon emissions goal.In many countries, traditional fossil-fuel-based power plants are being replaced by renewable-energy-based power plants, e.g., solar photovoltaic and wind plants.Due to their intermittent nature, the grid connected operation of renewable energy resources provides a better performance compared to the standalone operation.Power electronic inverters/converters are the key components in interfacing renewable energy resources to the power grids.

Rate of Change of Frequency in a Low-Inertia Power System
With the high penetration of converter-interfaced renewables and the replacement of synchronous generators by them, the inertia of the modern power system is reduced.Consequently, there is a possibility that the grid frequency and RoCoF are increased compared to its normal operation range, which can cause problems, such as load shedding and system blackout [17].Inertia represents the physical characteristic of the rotating machines to respond an immediate change in the active power output during any frequency change in the network.Therefore, increasing the inertia of the power system and limiting the RoCoF of the system are really important.To address the aforementioned problems, the work in [18] provides a synthetic inertia control with the ability of RoCoF mitigation and considers the inverter synchronization dynamics.The proposed controller is regulated to have a fast settling time without any oscillations.
In [19], a new frequency shaping control is proposed to control a GFM converter frequency of a low-inertia power system.In this study, the frequency dynamics of the system are modeled into a first-order one with acceptable steady-state frequency deviations and RoCoF after a sudden change in power.The first order frequency response of the system causes the system to reach its new steady-state without any frequency nadir.In [20], in order to emulate the inertia of synchronous generators and primary frequency control, a synchronous active power control strategy is proposed, which incorporates inertia emulation, damping and P-f droop control as an alternative to emulate the inertia characteristics of a synchronous machine.
Additionally, a virtual synchronous generator (VSG) with emulating the swing equation of a synchronous generator can provide inertia support for the system.This control scheme needs an energy storage system to limit the grid frequency deviations by providing active power continuously [21,22].In [23], a hybrid energy storage system, including a superfast capacitor and a battery, is added to regulate the frequency of the VSG-based grid connected system.The superfast capacitor is responsible for suppressing high frequency power fluctuations by emulating the inertia of the system, and the battery is added to provide power support and mitigation of low frequency power fluctuations.Figure 1 shows the block diagram of the proposed power management strategy.The relevant Swing equation is given by: where ∆P g_pu , and ∆P d_pu = D∆ f g_pu are the power variation by the load and renewable energy sources, and the frequency dependent load, respectively; ∆ f g_pu is the deviation of the system frequency; and R d and H are the droop coefficient and emulated system inertia, respectively.(∆P in pu + −2H d∆ f gpu dt ) is the power utilized for load balancing and renewable energy source power changes, where the speed governor and turbine makes the changes of ∆P in_pu slow by adjusting the time delay, and it should track the power reference provided by the frequency droop −∆P r pu , and −2H d∆ f g_pu dt is the power generated by inertia emulation, which are considered as a slow changing expression to the battery and a fast varying expression to the superfast capacitor, respectively.
In [24], in order to limit the RoCoF and steady-state frequency deviation of the system in the absence of inertia response, a new scheme based on the energy storage system analysis with VSG control is proposed.In the paper, the capacity and energy capacity of the energy storage system are studied to provide the required power support in different frequency adjustment stages.In [25], a new extended VSG control scheme is proposed to improve the frequency support of the hybrid low-inertia system.This scheme provides inertia along with fast frequency response for the system by controlling the active power of the converter interfaced energy storage system and adding a fast frequency response block to the control system.[23].
In [24], in order to limit the RoCoF and steady-state frequency deviation of the system in the absence of inertia response, a new scheme based on the energy storage system analysis with VSG control is proposed.In the paper, the capacity and energy capacity of the energy storage system are studied to provide the required power support in different frequency adjustment stages.In [25], a new extended VSG control scheme is proposed to improve the frequency support of the hybrid low-inertia system.This scheme provides inertia along with fast frequency response for the system by controlling the active power of the converter interfaced energy storage system and adding a fast frequency response block to the control system.

Black Start Capability
Due to growing penetration of the power electronic-converter-based generators and continuous displacement of the synchronous generators, the ability to restore the power system from an outage is reducing.This service is usually provided by the black-start units (e.g., diesel generators and small gas turbines) that can self-energize and are able to work as a voltage source to provide the required active and reactive power to energize the components that require high inrush currents (e.g., motors, transformers, and lines).The GFL converter requires an external grid and/or grid references to start up.Therefore, it cannot provide black start support.
With the advance of GFM, converters with renewable energy resources and interfacing battery energy storage can provide black start capability [26].This is performed through a soft energization of the connected network, where voltage is linearly ramped up to eliminate the inrush current and harmonics of the transformers and motors.This slow voltage ramp up reduces the chances of tripping the protection relays due to a high inrush current and prevents harmonic overvoltage.The black start capability of four different grid forming control methods, e.g., droop, power synchronization, virtual synchronous machines (VSM), and matching under voltage and active power reference disturbances are compared in [27].The study shows that VSM is superior to others in different disturbances.In [28], a modified VSM-based grid connected control using a ramping voltage reference for a black-start operation is proposed.A direct voltage control-based grid forming approach with the black-start capability of wind turbine control is proposed in [29].However, all the above studies are limited to the small section of local distribution network restorations and are not tested for the large system restart process.

Black Start Capability
Due to growing penetration of the power electronic-converter-based generators and continuous displacement of the synchronous generators, the ability to restore the power system from an outage is reducing.This service is usually provided by the black-start units (e.g., diesel generators and small gas turbines) that can self-energize and are able to work as a voltage source to provide the required active and reactive power to energize the components that require high inrush currents (e.g., motors, transformers, and lines).The GFL converter requires an external grid and/or grid references to start up.Therefore, it cannot provide black start support.
With the advance of GFM, converters with renewable energy resources and interfacing battery energy storage can provide black start capability [26].This is performed through a soft energization of the connected network, where voltage is linearly ramped up to eliminate the inrush current and harmonics of the transformers and motors.This slow voltage ramp up reduces the chances of tripping the protection relays due to a high inrush current and prevents harmonic overvoltage.The black start capability of four different grid forming control methods, e.g., droop, power synchronization, virtual synchronous machines (VSM), and matching under voltage and active power reference disturbances are compared in [27].The study shows that VSM is superior to others in different disturbances.In [28], a modified VSM-based grid connected control using a ramping voltage reference for a black-start operation is proposed.A direct voltage control-based grid forming approach with the black-start capability of wind turbine control is proposed in [29].However, all the above studies are limited to the small section of local distribution network restorations and are not tested for the large system restart process.

Power System Stability
Power system stability is another important problem related to power system performance, which can cause severe issues, such as blackouts with extraordinary losses [30].Therefore, it becomes an outstanding aspect of research [31].The classification of the traditional power systems based on the synchronous generator [32] needs to be redefined due to the high penetration of converter-or inverter-based generators into the grid.The rotor angle, frequency and voltage stabilities are significantly impacted by the increased penetration of the converter-based generators as the system inertia will be reduced due to the displacement of the synchronous generators by the converter-based generators.The reduction in the system inertia results in more faster and frequent frequency excursions, cause instability in the controls of converter-based generators.Likewise, the fast current injection from the converter-based generators move the voltage rapidly in the low-inertia grid, which can cause voltage stability issues.There are two new stability classifications that are considered in the power system stability, namely, resonance stability and converter-driven stability, and are shown in Figure 2 [33].
cause instability in the controls of converter-based generators.Likewise, the fast current injection from the converter-based generators move the voltage rapidly in the low-inertia grid, which can cause voltage stability issues.There are two new stability classifications that are considered in the power system stability, namely, resonance stability and converter-driven stability, and are shown in Figure 2 [33].

Rotor Angle Stability
With the high penetration of low-inertia converter-based resources and the sensitivity of these converters to weak and faulty grids that threaten the synchronization stability of the system, various grid-synchronization methods have been proposed [34,35].Some of them have analyzed the synchronization stability of the system under small disturbances (small-signal synchronization stability), while others have analyzed the transient stability of the system and proposed various stabilization methods.

Transient Stability
GFM converter control methods have attracted more attention due to their advantages over the GFL converter control methods in the case of weak and low-inertia power systems [34,36].Although GFM converters can directly control the voltage and frequency, they cannot limit the converter current and fault-ride-through current in grid transient conditions, such as short circuit faults [37].However, due to the low current rate of switches in these converters, it is important to use current limitations to limit overcurrent and protect switches during voltage drop events [38].In order to achieve the current limitation, various control methods are used, such as changing the operation to the GFL mode [39,40], changing the voltage controller by adding an inner-current control loop [41,42], using virtual impedance [43,44], among others.However, limiting the current with different approaches can affect the system stability and the GFM converters have to stay stable and synchronized with the grid after large disturbances, which is defined as the transient stability [45,46].
In the literature, various methods are used to limit the fault currents.Limiting the inverter current may lead to a poor post-fault transient, and improper adjustment of the converter controller can also lead to oscillatory transients and overshoots in post-fault responses [39,47].However, in some cases, only current limitation is used, while in other cases oscillations and post-fault recovery techniques are adopted.In some papers, the large disturbances that do not stimulate the system overcurrent limitation are considered.
Table 2 summarizes the different methods for transient stability improvement in GFM converters on the basis of three categories, i.e., current limitation, current limitation along with post-fault improvement, and without overcurrent stimulation.

Rotor Angle Stability
With the high penetration of low-inertia converter-based resources and the sensitivity of these converters to weak and faulty grids that threaten the synchronization stability of the system, various grid-synchronization methods have been proposed [34,35].Some of them have analyzed the synchronization stability of the system under small disturbances (small-signal synchronization stability), while others have analyzed the transient stability of the system and proposed various stabilization methods.

Transient Stability
GFM converter control methods have attracted more attention due to their advantages over the GFL converter control methods in the case of weak and low-inertia power systems [34,36].Although GFM converters can directly control the voltage and frequency, they cannot limit the converter current and fault-ride-through current in grid transient conditions, such as short circuit faults [37].However, due to the low current rate of switches in these converters, it is important to use current limitations to limit overcurrent and protect switches during voltage drop events [38].In order to achieve the current limitation, various control methods are used, such as changing the operation to the GFL mode [39,40], changing the voltage controller by adding an inner-current control loop [41,42], using virtual impedance [43,44], among others.However, limiting the current with different approaches can affect the system stability and the GFM converters have to stay stable and synchronized with the grid after large disturbances, which is defined as the transient stability [45,46].
In the literature, various methods are used to limit the fault currents.Limiting the inverter current may lead to a poor post-fault transient, and improper adjustment of the converter controller can also lead to oscillatory transients and overshoots in post-fault responses [39,47].However, in some cases, only current limitation is used, while in other cases oscillations and post-fault recovery techniques are adopted.In some papers, the large disturbances that do not stimulate the system overcurrent limitation are considered.
Table 2 summarizes the different methods for transient stability improvement in GFM converters on the basis of three categories, i.e., current limitation, current limitation along with post-fault improvement, and without overcurrent stimulation.

Current limitation
Limiting the converter output voltage [48] Using circular current limiter in unified virtual oscillator control [49] Considering the impact of current reference angle [50] Using virtual admittance [51] Current limitation along with post-fault improvement Using virtual impedance and adaptive parameters of the droop controller [52] Adjusting power references based on the voltage drop along with a virtual resistance [35] Using adaptive virtual resistance according to the intensity of the post fault oscillations [53] Without overcurrent stimulation Mode adaptive power angle control scheme [54] Improving the large signal angle stability by changing the internal voltage control [55] Use of frequency deviation through a high pass filter in combination with active power control loop [56] A. Current Limitation The use of the current limitation increases the critical clearing angle, but the system depends on the fault duration, and if the fault is cleared after the critical clearing angle, the part of the system that is affected loses its synchronization with the rest of the system and becomes unstable.In [48], to solve the above mentioned problems, a new control method for the GFM converter under symmetric and asymmetric faults is proposed, which limits the current to the desired value by limiting the converter output voltage, and to stabilize the system.In this method, the current is not a fixed value and it changes based on the voltage change.Therefore, when the voltage decreases, the converter reactive power should be maximized to compensate for it, so the reactive current should be considered equal to the maximum value.According to Figure 3, the converter output voltage amplitude is limited to the saturated voltage, E max , and due to the dependence of the voltage phase on the power converter reference, the power reference is limited.P and Q are the power at the point of common coupling (PCC) and U o is the nominal output voltage of the converter.
Using virtual admittance [51] rrent limitation along with post-fault improvement Using virtual impedance and adaptive parameters of the droop c [52] Adjusting power references based on the voltage drop along with resistance [35] Using adaptive virtual resistance according to the intensity of the oscillations [53] Without overcurrent stimulation Mode adaptive power angle control scheme [54] Improving the large signal angle stability by changing the interna control [55] Use of frequency deviation through a high pass filter in combina active power control loop [56] A. Current limitation The use of the current limitation increases the critical clearing angle, but depends on the fault duration, and if the fault is cleared after the critical clea the part of the system that is affected loses its synchronization with the rest of and becomes unstable.In [48], to solve the above mentioned problems, a ne method for the GFM converter under symmetric and asymmetric faults is which limits the current to the desired value by limiting the converter output vo to stabilize the system.In this method, the current is not a fixed value and it cha on the voltage change.Therefore, when the voltage decreases, the convert power should be maximized to compensate for it, so the reactive current considered equal to the maximum value.According to Figure 3, the conver voltage amplitude is limited to the saturated voltage, Emax, and due to the dep the voltage phase on the power converter reference, the power reference is lim Q are the power at the point of common coupling (PCC) and Uo is the nomi voltage of the converter.In [49], the transient stability of the GFM converter based on unified virtua control (uVOC) is analyzed for both current-constrained and current-unconstr situations under symmetrical AC faults.Since this method involves generati reference in the synchronization loop, it is possible to apply current limite In [49], the transient stability of the GFM converter based on unified virtual oscillator control (uVOC) is analyzed for both current-constrained and current-unconstrained fault situations under symmetrical AC faults.Since this method involves generating current reference in the synchronization loop, it is possible to apply current limiters without saturating the outer loop.When the output current of the converter extends beyond an overcurrent threshold, the controller operation changes to the current-constrained mode.In this condition, by using the circular limiter, the magnitude of the current reference is limited and keeps the angle unchanged.While in the current-unconstrained mode, fault current is limited through the GFM nature.
The transient stability of a GFM converter under a balanced voltage sag is analyzed in [50] using a current saturation algorithm and considering the role of the current reference angle.In the saturated mode, the calculation of the critical clearing angle (CCA) and the critical clearing time (CCT) are discussed and their role and duration of the overcurrent are then investigated to take the control back and keep the system stable.The other parameter used to enhance the transient stability of the GFM converter is the saturated current angle, while increasing this angle increases the system CCA and CCT, so the system has more time to clear the fault and back to its voltage control, but assigning the optimal angle value to ensure post-fault recovery to voltage control mode is really important.In the saturated operation mode, the active power is calculated as follows: Based on (2) and the positive angle, the CCA and CCT are increased, which means more time to clear the fault.Figure 4 shows the mechanism of operation of the converter under a voltage drop with and without considering the impact of ∅, where the green curve represents the saturated curve without considering ∅ and the red one represents the saturated curve considering ∅, where the δ ∅ maxsat and δ ∅ cc are the maximum angle that the converter can touch and the critical clearing angle with considering the impact of ϕ, respectively.reference angle.In the saturated mode, the calculation of and the critical clearing time (CCT) are discussed and overcurrent are then investigated to take the control back other parameter used to enhance the transient stability saturated current angle, while increasing this angle incre so the system has more time to clear the fault and back to i the optimal angle value to ensure post-fault recovery to important.In the saturated operation mode, the active po Based on (2) and the positive angle, the CCA and C more time to clear the fault.Figure 4 shows the mechanis under a voltage drop with and without considering the curve represents the saturated curve without considering the saturated curve considering ∅, where the  ∅ a that the converter can touch and the critical clearing angle , respectively.In [51], a solution is presented to prevent the con instability problems during both symmetrical and asymm solution, the control of the converter currents and repr behavior are performed through the inner loop, and the VSM.When each of the three phases extends below the calculates the magnitude and frequency of the reference pre-fault values.After fault detection, the virtual admitt the converter output reference currents (see Figure 5).single-phase currents obtained from the comparison of the In [51], a solution is presented to prevent the converter from overcurrents and instability problems during both symmetrical and asymmetrical faults.In the proposed solution, the control of the converter currents and reproduction of the voltage source behavior are performed through the inner loop, and the outer loop is implemented by a VSM.When each of the three phases extends below the threshold value, the outer loop calculates the magnitude and frequency of the reference voltage and locks them to their pre-fault values.After fault detection, the virtual admittance subsystem is used to limit the converter output reference currents (see Figure 5).i * represents the independent single-phase currents obtained from the comparison of the PCC (V pcc ) and the virtual back-EMF voltages of the outer loop.L v and R v are the inductive and resistive components of variable virtual admittance, which are set according to the nominal values (L v_n and R v_n ) in normal performance, respectively, and I m is the maximum current among the three phase currents.

B. Current Limitation along with Post-Fault Improvement
To limit the current reference in large disturbance conditions of the GFM control system, a virtual impedance is used in [52], which limits the current refer limiting the voltage reference.The dynamic behavior of the system with impedance (VI) and the post-fault synchronization behavior of the system w without considering the inertial effect and virtual impedance are analyzed.Addi in order to improve the post-fault dynamics and transient stability, droop considered variable with respect to the current magnitude and voltage magnit latter of which behaves better in terms of various faults.
In [35], by limiting the current references of the converter with a circular lim adjusting the power references when a fault occurs, the outer loops are protected f instability and wind-up problems.Additionally, a dynamic virtual damping app improve the recovery process is presented, which is temporary.
The effect of virtual resistive (VR) in oscillation damping in the process recovery of droop-based GFM converter is investigated in [53] and an adaptive V method is proposed according to the rate of power recovery to solve the problems value VR (FVR).Current saturation for overcurrent protection along with the e virtual resistance make the recovery process slow or even causes instability, espe the stiff grid connection.In the proposed model, the value of VR is self-adju sufficiently damp the post-fault oscillation, without any unnecessary resistanc recovery process.In such a way, if the oscillation is significant, the value of the VR than its value when the oscillation is not too intense.The adaptive virtual operation is shown in Figure 6, which is controlled by signals S0 and S1 and is a based on normal or faulty conditions.In this figure, after estimating the intensit post-fault oscillations by different filters, e.g., high pass filter (HPF) and low pa (LPF), the AVR can be regulated by the K.

B. Current Limitation along with Post-Fault Improvement
To limit the current reference in large disturbance conditions of the GFM droop control system, a virtual impedance is used in [52], which limits the current reference by limiting the voltage reference.The dynamic behavior of the system with virtual impedance (VI) and the post-fault synchronization behavior of the system with and without considering the inertial effect and virtual impedance are analyzed.Additionally, in order to improve the post-fault dynamics and transient stability, droop gain is considered variable with respect to the current magnitude and voltage magnitude, the latter of which behaves better in terms of various faults.
In [35], by limiting the current references of the converter with a circular limiter and adjusting the power references when a fault occurs, the outer loops are protected from the instability and wind-up problems.Additionally, a dynamic virtual damping approach to improve the recovery process is presented, which is temporary.
The effect of virtual resistive (VR) in oscillation damping in the process of fault recovery of droop-based GFM converter is investigated in [53] and an adaptive VR (AVR) method is proposed according to the rate of power recovery to solve the problems of fixed-value VR (FVR).Current saturation for overcurrent protection along with the excessive virtual resistance make the recovery process slow or even causes instability, especially in the stiff grid connection.In the proposed model, the value of VR is self-adjusted to sufficiently damp the post-fault oscillation, without any unnecessary resistance in the recovery process.In such a way, if the oscillation is significant, the value of the VR is more than its value when the oscillation is not too intense.The adaptive virtual resistor operation is shown in Figure 6, which is controlled by signals S 0 and S 1 and is assigned based on normal or faulty conditions.In this figure, after estimating the intensity of the post-fault oscillations by different filters, e.g., high pass filter (HPF) and low pass filter (LPF), the AVR can be regulated by the K.

C. Without Overcurrent Stimulation
In [54], a mode-adaptive power angle control scheme is proposed to improve th transient stability of VSG.In this scheme, in a large disturbance, after detecting th feedback mode of the power angle control loop, the loop gain changes from the positiv to the negative feedback mode (see Figure 7), where H and D are the inertia constant and damping coefficient, respectively.Pref is the active power reference and Po is the outpu active power of the VSG.Therefore, the problem related to the loss of synchronization ca be clear in the situation of the system having equilibrium points after disturbance.Whil a limited dynamic response of the power angle δ can be achieved with the mode adaptiv control in the severe grid faults without equilibrium points, the VSG can achieve stabilit even when the fault clearing time (FCT) is higher than the critical clearing time (CCT).I this study, a variable k is changed in order to switch between the negative feedback mod (k = 1) and the positive feedback mode (k = −1).In [56], in order to improve the transient stability of the system, a transient dampin method is used, which is implemented according to the frequency deviation with the VSG frequency through a HPF and combination with the active power control loop.Figure shows the proposed control block diagram in which J and D are the virtual inertia and droop gain, respectively.Additionally, the optimal controller parameter is determined t enhance the transient stability.

C. Without Overcurrent Stimulation
In [54], a mode-adaptive power angle control scheme is proposed to improve the transient stability of VSG.In this scheme, in a large disturbance, after detecting the feedback mode of the power angle control loop, the loop gain changes from the positive to the negative feedback mode (see Figure 7), where H and D are the inertia constant and damping coefficient, respectively.P ref is the active power reference and P o is the output active power of the VSG.Therefore, the problem related to the loss of synchronization can be clear in the situation of the system having equilibrium points after disturbance.While a limited dynamic response of the power angle δ can be achieved with the mode adaptive control in the severe grid faults without equilibrium points, the VSG can achieve stability even when the fault clearing time (FCT) is higher than the critical clearing time (CCT).In this study, a variable k is changed in order to switch between the negative feedback mode (k = 1) and the positive feedback mode (k = −1).

C. Without Overcurrent Stimulation
In [54], a mode-adaptive power angle control scheme is proposed to impr transient stability of VSG.In this scheme, in a large disturbance, after detec feedback mode of the power angle control loop, the loop gain changes from the to the negative feedback mode (see Figure 7), where H and D are the inertia cons damping coefficient, respectively.Pref is the active power reference and Po is the active power of the VSG.Therefore, the problem related to the loss of synchroniza be clear in the situation of the system having equilibrium points after disturbanc a limited dynamic response of the power angle δ can be achieved with the mode a control in the severe grid faults without equilibrium points, the VSG can achieve even when the fault clearing time (FCT) is higher than the critical clearing time (C this study, a variable k is changed in order to switch between the negative feedbac (k = 1) and the positive feedback mode (k = −1).In [56], in order to improve the transient stability of the system, a transient d method is used, which is implemented according to the frequency deviation with frequency through a HPF and combination with the active power control loop.shows the proposed control block diagram in which J and D are the virtual ine droop gain, respectively.Additionally, the optimal controller parameter is determ enhance the transient stability.In [56], in order to improve the transient stability of the system, a transient damping method is used, which is implemented according to the frequency deviation with the VSG frequency through a HPF and combination with the active power control loop.Figure 8 shows the proposed control block diagram in which J and D are the virtual inertia and droop gain, respectively.Additionally, the optimal controller parameter is determined to enhance the transient stability.
The transient angle stability of the VSG-based grid connected system is proposed in [55].In this paper, the stability of the torque-form and power-form emulation of VSG methods is discussed and the former shows better stability than the latter in low-inertia conditions.Then, the effect of the internal voltage on transient angle stability is analyzed and a control method is proposed, which improves the large-signal angle stability with decreasing the acceleration and increasing the deceleration zones by proper control of internal voltage (see Figure 9).In Figure 9, U ref and θ are the voltage and angle of the internal voltage generated by the VSG active and reactive power loops, respectively; the output active power and frequency (reactive power and voltage) are shown by P (Q) and ω (V), respectively; P o (Q o ) and ω o (V o ) are the setpoints of the active power and frequency (reactive power and voltage), respectively; and K is the control gain.
In [56], in order to improve the transient stability of the system, a transient damping method is used, which is implemented according to the frequency deviation with the VSG frequency through a HPF and combination with the active power control loop.Figure 8 shows the proposed control block diagram in which J and D are the virtual inertia and droop gain, respectively.Additionally, the optimal controller parameter is determined to enhance the transient stability.The transient angle stability of the VSG-based grid connected system is proposed in [55].In this paper, the stability of the torque-form and power-form emulation of VSG methods is discussed and the former shows better stability than the latter in low-inertia conditions.Then, the effect of the internal voltage on transient angle stability is analyzed and a control method is proposed, which improves the large-signal angle stability with decreasing the acceleration and increasing the deceleration zones by proper control of internal voltage (see Figure 9).In Figure 9, Uref and θ are the voltage and angle of the internal voltage generated by the VSG active and reactive power loops, respectively; the output active power and frequency (reactive power and voltage) are shown by P (Q) and ω (V), respectively; Po (Qo) and ωo (Vo) are the setpoints of the active power and frequency (reactive power and voltage), respectively; and K is the control gain.

Small-Signal Stability
The small-signal stability of the converter is its ability to return to its initial operation without oscillation under small disturbances.Due to the difficulty of regulating the point of the common coupling voltage in strong grids for GFM converters, this can cause oscillations and small-signal instability in the system [57].However, in weak grids, these converters have robust small-signal stability, therefore, due to their voltage regulation capability, the use of GFM converters can improve the grid strength and are widely used in weak grids integration to eliminate the small-signal instability [58,59].
Several studies have been published to analyze the small-signal stability in GFM converters.In [60], the robust stability of a grid connected synchronverter is analyzed by considering the influence of the variation of control parameters and grid conditions on system stability through structured singular values (SSV) or μ-analysis as a suitable tool for analyzing control robustness.According to this study, the robust stability of the synchronverter is improved in weak grid conditions.The authors of [61] reveal that the stability of the system in weak-grid conditions can be enhanced by use of a GFM controller.In this study, the stability of the VSM-based system is investigated under various parameters, including the grid impedance, the VSM parameters and the virtual impedance (VI) using the system eigenvalues and singular values.A new scheme for designing the VSM parameters along with VI is proposed to enhance the stability margins of the system at different grid impedances.
In [62], an intelligent power oscillation damper (iPOD) consisting of a band-pass filter and two proportional gains is added to the VSG control with the aim of damping the electromechanical power oscillation.In this research, after predicting the oscillatory frequency, which is set as the frequency of the band-pass filter, the gain of the active power control loop at this frequency increases and, with the damping of the oscillations, the stability of the system also increases.

Small-Signal Stability
The small-signal stability of the converter is its ability to return to its initial operation without oscillation under small disturbances.Due to the difficulty of regulating the point of the common coupling voltage in strong grids for GFM converters, this can cause oscillations and small-signal instability in the system [57].However, in weak grids, these converters have robust small-signal stability, therefore, due to their voltage regulation capability, the use of GFM converters can improve the grid strength and are widely used in weak grids integration to eliminate the small-signal instability [58,59].
Several studies have been published to analyze the small-signal stability in GFM converters.In [60], the robust stability of a grid connected synchronverter is analyzed by considering the influence of the variation of control parameters and grid conditions on system stability through structured singular values (SSV) or µ-analysis as a suitable tool for analyzing control robustness.According to this study, the robust stability of the synchronverter is improved in weak grid conditions.The authors of [61] reveal that the stability of the system in weak-grid conditions can be enhanced by use of a GFM controller.In this study, the stability of the VSM-based system is investigated under various parameters, including the grid impedance, the VSM parameters and the virtual impedance (VI) using the system eigenvalues and singular values.A new scheme for designing the VSM parameters along with VI is proposed to enhance the stability margins of the system at different grid impedances.
In [62], an intelligent power oscillation damper (iPOD) consisting of a band-pass filter and two proportional gains is added to the VSG control with the aim of damping the electromechanical power oscillation.In this research, after predicting the oscillatory frequency, which is set as the frequency of the band-pass filter, the gain of the active power control loop at this frequency increases and, with the damping of the oscillations, the stability of the system also increases.

Resonance Stability and Converter-Driven Stability
The resonance stability is incorporated with mainly subsynchronous resonance (SSR) associated either to electromechanical (torsional) or purely electrical resonance.The SSR can be formed into two ways: resonance between series compensating network elements and mechanical torsional frequencies of the conventional synchronous generator shat; and resonance series compensating network elements and the electrical characteristics of the generator.In the case of the electrical resonance, it is occurred due to the effective reactance (self-excitation effect) of the DFIG (Double Feed Induction Generator) windturbine generators, which creates electrical resonance with the series compensation network elements [63].
In regard to the converter-driven stability, it is associated with the power electronic converter controls.The slow-and fast-interaction timescale controls of the converter-based generators may create cross couplings with the electromechanical dynamics of machines and the electromagnetic transients of the network.As a result, a wide range of low-tohigh frequency oscillations (0.5 Hz to several kHz) can be observed.For example, the interactions of the fast inner-current loops of the converter-based generators with passive network components may cause several kilohertz high frequency oscillations [64].It is reported in [65] that the VSG in a low-inertia grid may initiate super-synchronous stability issues due to converter control interactions.Therefore, a properly tuned VSG controller will reduce these types of fast oscillations [66].However, it will require more investigation on how to optimize the VSG controller in different network conditions.
The impedance interaction between a VSG and series compensated grid can lead to a low-frequency oscillation problem, particularly in the weak grid connected system.Under these conditions, coupling the VSG impedance with the series compensated network can cause low frequency subsynchronous resonance ranges between 0.5 Hz and 50/60 Hz, since this resonance can lead to further power losses as well as system instability.In [67], to mitigate the low frequency subsynchronous resonance problem of this system, an impedance reshaping control scheme based on adding a current feedforward control to the modulation voltage is proposed (see Figure 10).In [68], for the grid-interactive dynamic analysis of the droop-control-based converter an αβ-frame complex-value-based output impedance model with the simplified single input-single output impedance-based stability study is proposed.This study, based on frequency analysis, indicates that the low frequency oscillations become more intense under stringent grid conditions, due to the interaction between the inner voltage, current controls and the outer power control loop.In [69], to damp the low frequency oscillations, a multirotor virtual machine controller is proposed.By using multiple virtual rotors, the converter has higher freedom to control the low frequency oscillations.In this method, the desired oscillation frequencies are set using the decoupling network block and then the desired attenuation at these frequencies are performed through the virtual rotors.

Resonance Stability and Converter-Driven Stability
The resonance stability is incorporated with mainly subsynchronous resonance (SSR) associated either to electromechanical (torsional) or purely electrical resonance.The SSR can be formed into two ways: resonance between series compensating network elements and mechanical torsional frequencies of the conventional synchronous generator shat; and resonance series compensating network elements and the electrical characteristics of the generator.In the case of the electrical resonance, it is occurred due to the effective reactance (self-excitation effect) of the DFIG (Double Feed Induction Generator) windturbine generators, which creates electrical resonance with the series compensation network elements [63].
In regard to the converter-driven stability, it is associated with the power electronic converter controls.The slow-and fast-interaction timescale controls of the converterbased generators may create cross couplings with the electromechanical dynamics of machines and the electromagnetic transients of the network.As a result, a wide range of low-to-high frequency oscillations (0.5 Hz to several kHz) can be observed.For example, the interactions of the fast inner-current loops of the converter-based generators with passive network components may cause several kilohertz high frequency oscillations [64].It is reported in [65] that the VSG in a low-inertia grid may initiate super-synchronous stability issues due to converter control interactions.Therefore, a properly tuned VSG controller will reduce these types of fast oscillations [66].However, it will require more investigation on how to optimize the VSG controller in different network conditions.
The impedance interaction between a VSG and series compensated grid can lead to a low-frequency oscillation problem, particularly in the weak grid connected system.Under these conditions, coupling the VSG impedance with the series compensated network can cause low frequency subsynchronous resonance ranges between 0.5 Hz and 50/60 Hz, since this resonance can lead to further power losses as well as system instability.In [67], to mitigate the low frequency subsynchronous resonance problem of this system, an impedance reshaping control scheme based on adding a current feedforward control to the modulation voltage is proposed (see Figure 10).In [68], for the grid-interactive dynamic analysis of the droop-control-based converter an αβ-frame complex-value-based output impedance model with the simplified single input-single output impedance-based stability study is proposed.This study, based on frequency analysis, indicates that the low frequency oscillations become more intense under stringent grid conditions, due to the interaction between the inner voltage, current controls and the outer power control loop.In [69], to damp the low frequency oscillations, a multirotor virtual machine controller is proposed.By using multiple virtual rotors, the converter has higher freedom to control the low frequency oscillations.In this method, the desired oscillation frequencies are set using the decoupling network block and then the desired attenuation at these frequencies are performed through the virtual rotors.The study in [70] analyzes the stability of a VSG-based grid connected system by considering the effect of VSG inner control loops.This study shows the significant effect of inner loops on VSG output impedance and its adverse effects on the system stability.The study in [70] analyzes the stability of a VSG-based grid connected system by considering the effect of VSG inner control loops.This study shows the significant effect of inner loops on VSG output impedance and its adverse effects on the system stability.Considering the inability of inner loops to damp the oscillation that enters into the system, a virtual resistor with an appropriate value is used to dampen this oscillation (see Figure 11).
Considering the inability of inner loops to damp the oscillation that enters into the system, a virtual resistor with an appropriate value is used to dampen this oscillation (see Figure 11).
Virtual Resistor Figure 11.Control scheme of VSG along with a virtual resistor (* indicates reference value) [70].
In [71], after analyzing the effect of line parameters and control parameters on dynamic power angle oscillations, a new virtual impedance damping scheme is proposed.The aim of this scheme is damping the oscillations in the low frequency range of the droop-controlled-based grid connected system by overcoming the weakness affecting the system steady-state operation that exists in the traditional scheme.

Frequency Stability
In modern power systems by extensively utilizing renewable energy resources, grid connected converters are responsible for frequency regulation and suitable control structures play an important role in achieving this.In some situations where the required energy is not supplied, implementing energy storage is a reliable solution.GFM converters have some new options in terms of frequency regulation, as they can regulate power without any delays.Similar frequency dynamic response to synchronous generators can be achieved through implementing VSG control.To overcome the VSG frequency oscillation, in [72], the influences of the controller parameters variation on the power and frequency are studied, and its operation is improved by adaptively changing the controller parameters.In [73], the voltage and frequency stability of the VSG-based grid connected system under weak grid conditions is analyzed.For frequency oscillation analysis, the motion equation is proposed and the study shows that there is a direct correlation between the grid stiffness and synchronization capability, whose stronger stiffness is better for VSG synchronization with the grid during the disturbance.

Voltage Stability
In [14], the voltage stability of a power system under small disturbances is compared using GFM and GFL controls.In this study, employing GFL control causes instability in the system, while their replacement with GFM control strategy by actively suppressing a disturbance shows stable performance.To measure voltage stability, in [73], which analyzes the voltage and frequency stability of a VSG-based grid connected system under weak grid conditions, impedance-based modeling for VSG in a synchronous inertial reference coordinate (SIRC) is proposed.

Control Method for Harmonic Mitigation
Because of the different fundamentally terminal characteristics that the two types of grid-connected inverters have, each of them creates specific implications in the power system and also have different challenges and levels of difficulty to achieve their specific stability and power quality targets [74].In the grid-following mode, to have enough high In [71], after analyzing the effect of line parameters and control parameters on dynamic power angle oscillations, a new virtual impedance damping scheme is proposed.The aim of this scheme is damping the oscillations in the low frequency range of the droop-controlledbased grid connected system by overcoming the weakness affecting the system steady-state operation that exists in the traditional scheme.

Frequency Stability
In modern power systems by extensively utilizing renewable energy resources, grid connected converters are responsible for frequency regulation and suitable control structures play an important role in achieving this.In some situations where the required energy is not supplied, implementing energy storage is a reliable solution.GFM converters have some new options in terms of frequency regulation, as they can regulate power without any delays.Similar frequency dynamic response to synchronous generators can be achieved through implementing VSG control.To overcome the VSG frequency oscillation, in [72], the influences of the controller parameters variation on the power and frequency are studied, and its operation is improved by adaptively changing the controller parameters.In [73], the voltage and frequency stability of the VSG-based grid connected system under weak grid conditions is analyzed.For frequency oscillation analysis, the motion equation is proposed and the study shows that there is a direct correlation between the grid stiffness and synchronization capability, whose stronger stiffness is better for VSG synchronization with the grid during the disturbance.

Voltage Stability
In [14], the voltage stability of a power system under small disturbances is compared using GFM and GFL controls.In this study, employing GFL control causes instability in the system, while their replacement with GFM control strategy by actively suppressing a disturbance shows stable performance.To measure voltage stability, in [73], which analyzes the voltage and frequency stability of a VSG-based grid connected system under weak grid conditions, impedance-based modeling for VSG in a synchronous inertial reference coordinate (SIRC) is proposed.

Control Method for Harmonic Mitigation
Because of the different fundamentally terminal characteristics that the two types of grid-connected inverters have, each of them creates specific implications in the power system and also have different challenges and levels of difficulty to achieve their specific stability and power quality targets [74].In the grid-following mode, to have enough high control bandwidth, the current compensator is designed and harmonic current rejection in corresponding frequencies is provided by high gain control at the harmonic frequencies [75].Explicit active damping is needed to make the current controller stabilize against harmonic resonance instabilities of interacting between the higher order filter (LC/LCL), the grid and the controller of implementing delay [76][77][78].
In GFM converters, without the need to explicitly regulate the output current, it is necessary to respond to the conditions of the grid using the voltage and frequency of the converter terminal and adjust the active and reactive output power around the set points.These converters typically use control methods, including primary control loops, such as droop control or VSM control.Without harmonic mitigation, in the grid-following mode, all harmonics are automatically pushed to the grid side and make the PCC polluted, whereas in the other mode the harmonic currents can be shared with the grid side based on their respective impedances.Therefore, without the harmonic mitigation control scheme, the grid-forming mode leads to less voltage harmonic distortion in the PCC [79].
With the increase in the use of nonlinear loads, the problems related to the grid power quality increased.These loads add distortion to the grid current and cause distortion in the grid voltage.Another problem that the grid faces is the reduction in the power factor, which is the result of the drawing power by large inductive loads and imbalance in the three phase distribution grid can cause a neutral current to follow through the neutral conductor [80,81].An integration of power electronic-based renewable energy with the grid increases harmonic distortions in the system.In order to solve the aforementioned problems, different control methods are used in the literature.According to the review results in this paper, a classification of the existing control methods to improve the power quality is shown in Figure 12.
control bandwidth, the current compensator is designed and harmonic current rejection in corresponding frequencies is provided by high gain control at the harmonic frequencies [75].Explicit active damping is needed to make the current controller stabilize against harmonic resonance instabilities of interacting between the higher order filter (LC/LCL), the grid and the controller of implementing delay [76][77][78].
In GFM converters, without the need to explicitly regulate the output current, it is necessary to respond to the conditions of the grid using the voltage and frequency of the converter terminal and adjust the active and reactive output power around the set points.These converters typically use control methods, including primary control loops, such as droop control or VSM control.Without harmonic mitigation, in the grid-following mode, all harmonics are automatically pushed to the grid side and make the PCC polluted, whereas in the other mode the harmonic currents can be shared with the grid side based on their respective impedances.Therefore, without the harmonic mitigation control scheme, the grid-forming mode leads to less voltage harmonic distortion in the PCC [79].
With the increase in the use of nonlinear loads, the problems related to the grid power quality increased.These loads add distortion to the grid current and cause distortion in the grid voltage.Another problem that the grid faces is the reduction in the power factor, which is the result of the drawing power by large inductive loads and imbalance in the three phase distribution grid can cause a neutral current to follow through the neutral conductor [80,81].An integration of power electronic-based renewable energy with the grid increases harmonic distortions in the system.In order to solve the aforementioned problems, different control methods are used in the literature.According to the review results in this paper, a classification of the existing control methods to improve the power quality is shown in Figure 12.

Virtual Impedance-Based Control Scheme
Virtual impedances can be used in converter control for applications, such as harmonic voltage compensation and increased stability, and also can be used with the aim of keeping the voltage within certain limits, having sufficient reactive power sharing, providing system damping and decoupling the active and reactive power [82].
Traditionally, by using virtual impedance methods, harmonic current sharing can be achieved [83][84][85][86][87], which can behave as a physical impedance without its real presence in a system and make the line impedance effective by considering a virtual harmonic resistance at the inverter output [88].The authors of [84,89,90] show the increase in the line impedance by using the positive harmonic resistance technique, which reduces the quality of voltage.However, by developing the negative virtual impedance concept in [85], the harmonic sharing is achieved without influencing the voltage quality.Virtual impedance can be a resistor, an inductor or a combination of both of them [82].Based on being at the fundamental or harmonic frequencies, virtual impedance can control the

Virtual Impedance-Based Control Scheme
Virtual impedances can be used in converter control for applications, such as harmonic voltage compensation and increased stability, and also can be used with the aim of keeping the voltage within certain limits, having sufficient reactive power sharing, providing system damping and decoupling the active and reactive power [82].
Traditionally, by using virtual impedance methods, harmonic current sharing can be achieved [83][84][85][86][87], which can behave as a physical impedance without its real presence in a system and make the line impedance effective by considering a virtual harmonic resistance at the inverter output [88].The authors of [84,89,90] show the increase in the line impedance by using the positive harmonic resistance technique, which reduces the quality of voltage.However, by developing the negative virtual impedance concept in [85], the harmonic sharing is achieved without influencing the voltage quality.Virtual impedance can be a resistor, an inductor or a combination of both of them [82].Based on being at the fundamental or harmonic frequencies, virtual impedance can control the power flow and grid disturbance ride through or active damping and harmonic mitigation, respectively [79].
In this section, various control schemes based on virtual impedance are discussed.

Current Control Method (CCM)
Harmonic compensation in grid-connected renewable energy sources can be realized by using the CCM [91][92][93].In this control method, the current line is controlled based on the modified current reference, which is modified according to the harmonic compensation requirement and the inverter available power rating [79].To achieve the purpose of PCC voltage harmonic mitigation, the converter side is controlled to operate as a small damping resistor at the selected harmonic frequencies.Therefore, more harmonic currents of nonlinear loads are absorbed by the converter side and the grid mainly provides sinusoidal fundamental current.As a result, the harmonic distortion of the PCC voltage is improved [91,94].

Voltage Control Method (VCM)
The VCM-based control method can be used in both grid-connected and islanded modes.By using a virtual harmonic impedance control, the VCM can obtain a reliable PCC harmonic mitigation.In order to track the voltage reference, a double loop voltage controller is generally incorporated, with the PR controller in the outer loop, to control the voltage of the filter capacitor.By adding a feed-forward term of a harmonic voltage reference, the voltage reference is modified [95].
The VCM and hybrid control method (HCM), which can be innovative control methods, are used as grid-forming converters for harmonic mitigation.

Hybrid Control Method (HCM)
Due to the limitations of conventional CCM and VCM, the HCM has been presented in the literature.
Using dead time between the switches of the leg of the inverter will cause output voltage harmonics in a low frequency range.As the impedance of the grid is low at a low frequency, the small output voltage harmonics can cause a serious distortion of the injected grid current.In [96], to improve the injected grid current quality, a virtual series impedance in order to increase the output impedance is used.Additionally, to not affect the dynamic performance, this virtual impedance is designed to be high just at harmonic frequencies of the injected grid current.As shown in Figure 13, an output voltage closed-loop is used to suppress the voltage harmonics.The output active and reactive power (Pout and Qout) are calculated via the output voltage V c and the injected grid current ig.With the sensor gain of H v , V c is fed back and compared with V ref , then the error is sent to the voltage regulator G v (s).In addition, to dampen the output filter resonance, the capacitor current i c is fed back with the sensor gain Hi.The system contains two computation delays and PWM delay.The former is the time period between the sampling instant and the PWM reference update instant for sampling and calculation and is modeled as e -sTs , and the latter is due to the effect of the zero-order hold (ZOH) and maintaining the PWM reference constant after its update.With reducing the inertia of the power system in grid-connected renewable en sources, which affects the frequency and voltage and even causes system instability virtual synchronous generator (VSG) control method to solve the inertia shortage With reducing the inertia of the power system in grid-connected renewable energy sources, which affects the frequency and voltage and even causes system instability, the virtual synchronous generator (VSG) control method to solve the inertia shortage and frequency fluctuation is proposed [97][98][99].This method, by imitating the primary power regulation and primary frequency regulating behavior of the synchronous generator, creates inertial support for the grid.Since most of the renewable energy sources are located in remote areas, they are weakly connected to the grid.Therefore, using the VSG method, an oscillation or interaction between VSG and the grid is created and the power quality of VSG is affected by the distorted grid voltage.Thus, to mitigate the current harmonics, the harmonic impedance of the converter can be reshaped [100,101].
As suppressing various types of harmonics (such as subsynchronous harmonics and non-integer high frequency harmonics) are difficult by one conventional solution in a VSG-based grid connected system, Ref. [101] proposes a magnitude-reshaping strategy to increase output impedance in all harmonic frequency bands.This strategy comprises a notch filter and harmonic regulator, in which the former extracts harmonic components of the grid current and the latter increases the equivalent harmonic impedance.According to Figure 14, the feedback variables, i gabc , reshape the output impedance of VSG.Using the notch filter G N (s), the harmonic component i oabc , i h is extracted.Then, the output impedance of the inverter in the harmonic frequency domain is improved with the harmonic regulator G PD (s) and the harmonic voltage reference m h is generated.The equivalent circuit of the magnitude-reshaping strategy for VSG-based grid-connected system under different loads is shown in Figure 15.The authors of [98,102] analyze the dynamic performance of VSG and ignore the coupling impedance degree as a result of the reshaping effect of VSG impedance, while in [101], to analyze the effect of impedance reshaping on VSG, a frequency coupling impedance model is considered, and the frequency response of the coupling impedance compared to the other mentioned methods in this paper shows that the proposed method has the least impact on the grid-connected stability assessment.
creates inertial support for the grid.Since most of the renewable located in remote areas, they are weakly connected to the grid.There method, an oscillation or interaction between VSG and the grid is cre quality of VSG is affected by the distorted grid voltage.Thus, to m harmonics, the harmonic impedance of the converter can be reshaped As suppressing various types of harmonics (such as subsynchron non-integer high frequency harmonics) are difficult by one convent VSG-based grid connected system, [101] proposes a magnitude-res increase output impedance in all harmonic frequency bands.This st notch filter and harmonic regulator, in which the former extracts har of the grid current and the latter increases the equivalent harmonic imp to Figure 14, the feedback variables, igabc, reshape the output impedanc notch filter GN(s), the harmonic component ioabc, ih is extracted.impedance of the inverter in the harmonic frequency domain is i harmonic regulator GPD(s) and the harmonic voltage reference mh equivalent circuit of the magnitude-reshaping strategy for VSG-ba system under different loads is shown in Figure 15.The authors of [ dynamic performance of VSG and ignore the coupling impedance deg reshaping effect of VSG impedance, while in [101], to analyze the e reshaping on VSG, a frequency coupling impedance model is co frequency response of the coupling impedance compared to the other m in this paper shows that the proposed method has the least impact on stability assessment.Equivalent circuit of magnitude-reshaping strategy for the connected system under different loads [101].
Due to the fundamental limitation of VSG harmonic inhibition in distorted grid and nonlinear loads, a unified harmonic control structu [103] with a tunable tradeoff between the two constrained harmonic s Due to the fundamental limitation of VSG harmonic inhibition in the presence of a distorted grid and nonlinear loads, a unified harmonic control structure is presented in [103] with a tunable tradeoff between the two constrained harmonic sources.In order to extract the harmonic components, a multiple harmonic sequence components observer (MHSCO) is presented instead of low pass filter (LPF), which facilitates the dynamics and accuracy of the multi-order harmonic estimation.In this paper, to improve the local voltage and grid current quality, the equivalent output impedance and grid admittance are regulated, respectively.Therefore, a complete suppression of the two distortion sources is conducted through a hybrid harmonic suppression strategy with a local voltage feedback control and adaptive grid current compensation, which reduces the harmonics and gains a high quality power supply for VSG.Based on Figure 16, the VSG harmonic voltage reference is expressed as: where G h r (s) is a PI controller; α and β are adjustable parameters; and u h VSG is tracked by a dual loop with G h u (s) and G h i (s) as a PI and P controller, respectively.u VSG (u o ) is the inverter voltage (output voltage) and i i (i o ) is its (output) current.u g is the grid voltage and i g is its current.
. Equivalent circuit of magnitude-reshaping strategy for the VSG-based gridconnected system under different loads [101].
Due to the fundamental limitation of VSG harmonic inhibition in the presence of a distorted grid and nonlinear loads, a unified harmonic control structure is presented in [103] with a tunable tradeoff between the two constrained harmonic sources.In order to extract the harmonic components, a multiple harmonic sequence components observer (MHSCO) is presented instead of low pass filter (LPF), which facilitates the dynamics and accuracy of the multi-order harmonic estimation.In this paper, to improve the local voltage and grid current quality, the equivalent output impedance and grid admittance are regulated, respectively.Therefore, a complete suppression of the two distortion sources is conducted through a hybrid harmonic suppression strategy with a local voltage feedback control and adaptive grid current compensation, which reduces the harmonics and gains a high quality power supply for VSG.Based on Figure 16, the VSG harmonic voltage reference is expressed as: where G h r(s) is a PI controller; α and β are adjustable parameters; and u h VSG is tracked by a dual loop with G h u(s) and G h i(s) as a PI and P controller, respectively.uVSG (uo) is the inverter voltage (output voltage) and ii (io) is its (output) current.ug is the grid voltage and ig is its current.
. Scheme of the unified harmonic mitigation with a tunable tradeoff [103].
In a stable state of the system, the above equation is obtained as follows: Based on Equation (4), a tradeoff can be achieved between the power quality of the local voltage and the grid current.For this purpose, three cases ((α = 0, β ≠ 0), (α ≠ 0, β = 0), and (α ≠ 0, β ≠ 0)) can be considered to make a tradeoff between voltage and current distortions.
By using MHSCO, as shown in Figure 17, the harmonic components uo h and ii h are extracted and the sum of the fundamental voltage reference and harmonic voltage reference, which are generated by the conventional VSG control and harmonic voltage control loop, are sent to the cascade voltage and current control.Then, the harmonic Figure 16.Scheme of the unified harmonic mitigation with a tunable tradeoff [103].
In a stable state of the system, the above equation is obtained as follows: Based on Equation (4), a tradeoff can be achieved between the power quality of the local voltage and the grid current.For this purpose, three cases ((α = 0, β = 0), (α = 0, β = 0), and (α = 0, β = 0)) can be considered to make a tradeoff between voltage and current distortions.
By using MHSCO, as shown in Figure 17, the harmonic components u o h and i i h are extracted and the sum of the fundamental voltage reference and harmonic voltage reference, which are generated by the conventional VSG control and harmonic voltage control loop, are sent to the cascade voltage and current control.Then, the harmonic voltage drop across the output impedance of the inverter can be compensated.In addition, to deal with the adverse effects of a distorted grid, an adaptive grid current-controlled compensator is designed.In the proposed method, the output impedance of the VSG, Z o , in the h-th harmonic is greatly reduced compared to the original value.As a result, a smaller drop occurs on the output impedance, and because of the reduced equivalent output impedance, most of the load harmonic current i l h is absorbed by the VSG side and the quality of the local voltage is improved.Additionally, by using the adaptive current-controlled voltage compensator, the amplitude of admittances in the desired harmonic frequencies are reduced, therefore the harmonic current caused by the distortion grid voltage u g h is effectively mitigated.output impedance.Additionally, the other one is located between the point of grid fault (PGF) and PCC in order to restrict the inrush fault current (see Figure 19), while most previous researches have focused on output current peak limitation techniques for the current-controlled or direct power-controlled inverters that adjust the active and reactive power control coefficients and keep the injected current at a safety value, which is difficult to use in open loop voltage-controlled VSG as it has no inner current loop.In VSG, the magnitude of inrush fault current is affected by the voltage-controlled harmonic suppression method in the grid symmetrical fault situation, because of the inverse effect of the output impedance on the grid harmonic current and inrush fault current.Figure 18a shows the structure of the system topology, where VSG is located at the PCC with nonlinear load and the grid short-circuit fault occurs between the grid side and PCC, and in Figure 18b, an equivalent circuit of VSG connected to the grid is shown.Based on this figure, it can be seen that there is a direct relationship between i gh /i loadh and Z out .Therefore, the smaller Z out is, the smaller i gh /i loadh is, and the effect of nonlinear load current on the power quality of grid current is reduced.In this situation, in order to reduce the grid harmonic current, the output impedance must be reduced, while this reduction increases the transient inrush fault current and its steady-state operation in the grid symmetrical fault condition.In [104], to solve this problem, two virtual impedances are added to the circuit.One impedance is added in parallel with the output impedance, which can contribute to the suppression of the grid harmonic current by reducing the output impedance.Additionally, the other one is located between the point of grid fault (PGF) and PCC in order to restrict the inrush fault current (see Figure 19), while most previous researches have focused on output current peak limitation techniques for the current-controlled or direct power-controlled inverters that adjust the active and reactive power control coefficients and keep the injected current at a safety value, which is difficult to use in open loop voltage-controlled VSG as it has no inner current loop.
Since the virtual impedance (VI) cannot solve the problems that exist in the Virtual Synchronous Generator (VSG) under a non-ideal grid, a configurable virtual impedance (CVI) is presented in [105].By using this method, the system is capable to decouple the control of active and reactive power and also mitigate the harmonics caused by the nonideal grid.In this method, the power decoupling is used through virtual fundamental positive sequence impedance, while the other virtual impedance sequence is used to suppress the current distortion.Additionally, a novel harmonic extraction algorithm (NHEA) based on state space model is presented in order to extract the positive-sequence, negative-sequence and zero-sequence components from the output current.According to the NHEA, 90-degree-phase lead for sequence components can be achieved through a simple vector rotation; then, by adjusting the virtual impedance for each of them, VSG can have both the power decoupling and output current quality control.Since the virtual impedance (VI) cannot solve the problems that exist in the Virtual Synchronous Generator (VSG) under a non-ideal grid, a configurable virtual impedance (CVI) is presented in [105].By using this method, the system is capable to decouple the control of active and reactive power and also mitigate the harmonics caused by the nonideal grid.In this method, the power decoupling is used through virtual fundamental positive sequence impedance, while the other virtual impedance sequence is used to suppress the current distortion.Additionally, a novel harmonic extraction algorithm (NHEA) based on state space model is presented in order to extract the positive-sequence, negative-sequence and zero-sequence components from the output current.According to the NHEA, 90-degree-phase lead for sequence components can be achieved through a simple vector rotation; then, by adjusting the virtual impedance for each of them, VSG can have both the power decoupling and output current quality control.

Filtering Method
Notch filter is a linear filter that works by multiplying a unit gain in all frequencies, except notch frequency, in which its gain is zero.However, if the frequency changes with the time, this filter cannot work properly.Therefore, an adaptive notch filter is proposed, which can change the notch frequency based on tracking the input signal [106,107].Some adaptive notch filter multifunction control methods for the grid-connected system and their comparison with the integer order notch filter design are presented in [108][109][110].The notch filter is usually used to reject unwanted frequencies from the signal and to choose other frequencies that one wants by regulating high gains at the same frequency [111].The drawbacks of integer order notch filter and other filters are related to their fixed integrator or differentiator term [112].To tackle these fixed structure limitations of an integer order filter, fractional order filters are presented in [113].Unlike Since the virtual impedance (VI) cannot solve the problems that exist in the Virtual Synchronous Generator (VSG) under a non-ideal grid, a configurable virtual impedance (CVI) is presented in [105].By using this method, the system is capable to decouple the control of active and reactive power and also mitigate the harmonics caused by the nonideal grid.In this method, the power decoupling is used through virtual fundamental positive sequence impedance, while the other virtual impedance sequence is used to suppress the current distortion.Additionally, a novel harmonic extraction algorithm (NHEA) based on state space model is presented in order to extract the positive-sequence, negative-sequence and zero-sequence components from the output current.According to the NHEA, 90-degree-phase lead for sequence components can be achieved through a simple vector rotation; then, by adjusting the virtual impedance for each of them, VSG can have both the power decoupling and output current quality control.

Filtering Method
Notch filter is a linear filter that works by multiplying a unit gain in all frequencies, except notch frequency, in which its gain is zero.However, if the frequency changes with the time, this filter cannot work properly.Therefore, an adaptive notch filter is proposed, which can change the notch frequency based on tracking the input signal [106,107].Some adaptive notch filter multifunction control methods for the grid-connected system and their comparison with the integer order notch filter design are presented in [108][109][110].The notch filter is usually used to reject unwanted frequencies from the signal and to choose other frequencies that one wants by regulating high gains at the same frequency [111].The drawbacks of integer order notch filter and other filters are related to their fixed integrator or differentiator term [112].To tackle these fixed structure limitations of an integer order filter, fractional order filters are presented in [113].Unlike

Filtering Method
Notch filter is a linear filter that works by multiplying a unit gain in all frequencies, except notch frequency, in which its gain is zero.However, if the frequency changes with the time, this filter cannot work properly.Therefore, an adaptive notch filter is proposed, which can change the notch frequency based on tracking the input signal [106,107].
Some adaptive notch filter multifunction control methods for the grid-connected system and their comparison with the integer order notch filter design are presented in [108][109][110].The notch filter is usually used to reject unwanted frequencies from the signal and to choose other frequencies that one wants by regulating high gains at the same frequency [111].The drawbacks of integer order notch filter and other filters are related to their fixed integrator or differentiator term [112].To tackle these fixed structure limitations of an integer order filter, fractional order filters are presented in [113].Unlike the integer order notch filters, the fractional order filters are capable of producing different gain terms between 0 db/decade and ±20/40 db and make the power of the integrator more flexible, which can be tuned to obtain a desirable and precise response during the operation as well as having the capability of gaining an asymmetrical gain response curve.
This method is used more in the field of signal processing [114,115].In the field of power electronics control, in [116], a developed Fractional Order Notch Filter (FNOF) is proposed to control a grid connected PV system, which can solve power quality problems, such as the existence of harmonic current on the grid side, reactive power demand from the load and unbalanced load currents.The transfer function of FNOF is expressed as: where ξ is damping factor, ω is the natural frequency, and α and β are fractional parameters, which are variable in the interval (0, 2).By considering α = β = 1, Equation ( 5) becomes a conventional second order notch filter.This control method is used to obtain fundamental current components of distorted load currents and generate gate pulses of voltage source converter of the system to provide the required load active power from the PV and mitigate the grid current harmonics distortion and compensating reactive power and load unbalancing.In [117], to improve the power quality of three phase grid connected PV system under different conditions (voltage distortion and voltage unbalance), a new multiple improved notch filter (MINF) control algorithm is proposed.This control algorithm improves the power quality of the system by reducing the harmonic components (capable of rejecting higher order harmonics) of load currents independent of the voltage signal, which plays an important role in the good performance in different grid voltage conditions (voltage distortion and voltage unbalance) and, by compensating the required reactive power of the nonlinear load, improving the power factor.In order to determine the maximum power point tracking (MPPT), the P&O algorithm is used in this paper.

Three-Phase Four Wire Converter Method
An adaptive learning based back propagation (AL-BP) control technique is used in [118] to improve the power quality of a three-phase four-wire grid interactive PV-battery system.In this scheme, by using the AL-BP algorithm, the fundamental real and imaginary power components of load currents in all phases are extracted, and a boost converter and a bidirectional DC-DC converter are used for MPPT and charging the battery, respectively.This study was conducted through nonlinear and unbalanced loads when a load on one phase is disconnected.The fourth leg of the converter supplies the harmonic currents of the load and compensates reactive power to keep the system voltage constant at PCC.Therefore, there is no need for a grid to supply harmonic current.So, the power quality is improved under unbalanced loading conditions.In this situation, there are different shapes of currents in each of the three phases of the converter to have balance currents and power in the grid side.

DSTATCOM
To improve some of the problems related to grid-connected VSC systems, such as reactive power compensation, harmonics mitigation and load unbalancing, a distribution static compensator (DSTATCOM) is used in some industries [119].The salient problem of this method is its high implementation cost.In order to find a solution based on learning and tracking capability, the distributed sparse (DS) control method is used in different fields.In [120], to solve the problem of optimal use of sparsity in the conventional LMS (Least Mean Fourth) method, a LMF (Least Mean Fourth) filter is introduced that is able to partially eliminate this problem, but its operation is affected by noise and input.This drawback is solved by introducing a distributed based adaptive filter in [121,122].To solve the drawbacks of the conventional LMF method and improve the steady-state behavior, an adaptive sparse method is presented in [121,122].In [123], a novel multipurpose DS (Distributed Sparse) control approach is proposed for the grid-connected PV system, which can operate in different solar radiations and mitigate the harmonics of the loads and create a balanced grid current.In the absence of access to solar radiation, the system operates as a DSTATCOM using the same voltage source converter, which is cost effective.

Conclusions
The application of GFM converters is a promising solution to the problems of the high penetration of converter-interfaced renewable resources integrated into low-inertia grids.This paper explores various challenges related to GFM converters, including frequency deviations, black start capability, angle stability, frequency stability, voltage stability and harmonic mitigation.Moreover, various control schemes presented in the current literature are reviewed.In terms of frequency deviation, the consequences of not limiting the RoCoF in low-inertia systems are discussed and several methods to limit frequency deviation and increase the inertia of the power system, including synthetic inertia and utilizing energy storage system, are summarized.The concept and phenomena of the power system stability in modern power systems and stabilization strategies with respect to different stability classes, including angle stability, frequency stability and voltage stability, are discussed and we pointed out that the GFM converters are preferable to GFL converters, especially in low-inertia systems.Under large grid disturbances with respect to the low current rate of switches in GFM converters, different control methods to limit the overcurrent are explored.Additionally, regarding the voltage regulation capability of these converters, several studies have analyzed their robust small signal stability in weak grid conditions.In order to suppress various types of harmonics, different control techniques, including virtual impedance-based method, filtering method, four-wire converter method and DSTATCOM, are discussed.

Future Scope
While the GFM converter is an exciting new technology for grid integration of renewable energy resources, there are a few challenges that are yet to be addressed for the effective operation of the renewable rich power grid.This technology is not a "silver bullet" that can solve all challenges in the power system.The thoughtful implementation of this technology alongside other technologies and techniques needs to be critically studied for managing the transition to renewables.The assessment of the cost-benefit analysis is also important to evaluate the implementation of the GFM converters with other technologies, such as synchronous condensers and GFL inverters.Although the GFM converter helps the nearby GFL converter to operate stably, it is itself susceptible to small signal instability due to the faster inner control loops.In-depth studies are required to investigate the use of the power system stabilizer (PSS) in the control facilities of the GFM converters, which has been historically used in synchronous generators to manage small signal stability.The construction of the exact definition of the new GFM converter technology is complex, as its characteristics are quite similar to the synchronous generators.To date, the grid codes for the GFM converters integration into the grid are not mature, for example, the system operators/regulators are still not fully clear whether this technology can be part of an asynchronous or synchronous generator type for assessing its performance.Therefore, the grid codes need to be thoroughly studied to facilitate the GFM converter technology implementation.Finally, a detailed study is required to formulate the exact required number of GFM converters to replace the existing GFL converters to ensure a secure system operation with minimum cost.

Figure 1 .
Figure 1.Block diagram of the proposed power management strategy in [23].

Figure 1 .
Figure 1.Block diagram of the proposed power management strategy in [23].

Figure 2 .
Figure 2. Different categories of power system stability.

Figure 2 .
Figure 2. Different categories of power system stability.

Figure 4 .
Figure 4. Mechanism of operation of the converter under voltage the impact of φ [50].

Figure 4 .
Figure 4. Mechanism of operation of the converter under voltage drop with and without considering the impact of ϕ [50].

Figure 7 .
Figure 7.Control diagram of the active power loop with the mode adaptive control scheme[54].

Figure 7 .
Figure 7.Control diagram of the active power loop with the mode adaptive control schem

Figure 7 .
Figure 7.Control diagram of the active power loop with the mode adaptive control scheme[54].

Figure 9 .
Figure 9.Control diagram of the enhanced large signal angle stability control method of VSG [55].

Figure 9 .
Figure 9.Control diagram of the enhanced large signal angle stability control method of VSG [55].

Figure 12 .
Figure 12.Classification of the existing control schemes for harmonic mitigation.

Figure 12 .
Figure 12.Classification of the existing control schemes for harmonic mitigation.

Figure 15 .
Figure15.Equivalent circuit of magnitude-reshaping strategy for the VSG-based grid-connected system under different loads[101].

Figure 18 .Figure 19 .
Figure 18.(a) Structure of the system topology; (b) Equivalent circuit of VSG connected to the grid [104].

Figure 19 .
Figure 19.Mitigation scheme of the harmonic current and the transient inrush fault current [104].

Table 2 .
Methods used for transient stability improvement in GFM converters.