Next Article in Journal
A Two-Axis Orthogonal Resonator for Variable Sensitivity Mode Localization Sensing
Next Article in Special Issue
Design and Feasibility Verification of Novel AC/DC Hybrid Microgrid Structures
Previous Article in Journal
Extraction of Moso Bamboo Parameters Based on the Combination of ALS and TLS Point Cloud Data
Previous Article in Special Issue
Forecasting a Short-Term Photovoltaic Power Model Based on Improved Snake Optimization, Convolutional Neural Network, and Bidirectional Long Short-Term Memory Network
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Photovoltaic Power Injection Control Based on a Virtual Synchronous Machine Strategy

1
Department of Electrical Engineering, Universidad de Concepción, Concepción 4070386, Chile
2
Department of Electrical and Electronic Engineering, Universidad del Bío-Bío, Concepción 4051381, Chile
*
Author to whom correspondence should be addressed.
Sensors 2024, 24(13), 4039; https://doi.org/10.3390/s24134039
Submission received: 26 April 2024 / Revised: 13 June 2024 / Accepted: 19 June 2024 / Published: 21 June 2024
(This article belongs to the Special Issue Advances in Sensor Technologies for Microgrid and Energy Storage)

Abstract

:
The increasing participation of photovoltaic sources in power grids presents the challenge of enhancing power quality, which is affected by the intrinsic characteristics of these sources, such as variability and lack of inertia. This power quality degradation mainly generates variations in both voltage magnitude and frequency, which are more pronounced in microgrids. In fact, the magnitude problem is particularly present in the distribution systems, where photovoltaic sources are spread along the grid. Due to the power converter’s lack of inertia, frequency problems can be seen throughout the network. Grid-forming control strategies in photovoltaic systems have been proposed to address these problems, although most proposed solutions involve either a direct voltage source or energy storage systems, thereby increasing costs. In this paper, a photovoltaic injection system is designed with a virtual synchronous machine control strategy to provide voltage and frequency support to the grid. The maximum power point tracking algorithm is adapted to provide the direct voltage reference and inject active power according to the droop frequency control. The control strategy is validated through simulations and key experimental setup tests. The results demonstrate that it is possible to inject photovoltaic power and provide voltage and frequency support.

1. Introduction

The decarbonization goals of power grids worldwide have led to increased participation of renewable energy sources, particularly solar photovoltaics (PV), which are cheap and scalable due to the modularity of PV modules. This energy source is present in microgrids, distribution grids, and large power systems [1]. Recently, grids with significant PV participation have experienced an increase in power quality issues; specifically, problems related to voltage magnitude at multiple buses in distribution grids and lack of inertia [2,3,4]. Regarding the first issue in [5], an analysis of the voltage magnitude profile of a grid was conducted, where it was observed that several buses presented overvoltage during peak irradiance hours. The explanation for this is that in distribution systems, the resistance of the power lines is not negligible compared to the reactance, preventing the decoupling between active and reactive power with respect to voltage magnitude, as well as the fact that in peak irradiance hours the demand is not at the peak. In [6], an analysis of the hosting capacity is made, considering different power quality issues related to PV power generation; the authors concluded that voltage magnitude problems are some of the main issues limiting PV penetration in power grids. Regarding the frequency fluctuation in power grids—this is due to the lack of inertia of power converters. Since these devices do not have a rotating mass, they lack a considerable energy reserve to compensate for imbalances between generation and demand [4].
According to [5,7,8,9,10], traditional voltage mitigation techniques, such as capacitor banks or transformers with tap changers, are not sufficient to compensate for voltage fluctuations in a high PV penetration environment because these solutions were not designed to operate in grids with bidirectional power flows or abrupt power changes. Some solutions that could improve power quality are battery energy storage systems, smart load control, PV curtailment, reactive power control strategies applied to PV inverters [5,7,11], and reactive power management of distributed generators, where photovoltaic sources have high reactive power availability, as demonstrated in [12,13], where the authors apply a distributed reactive power management algorithm in a multi-agent distribution system, achieving an improved voltage profile. Although a distributed power management system presents good results, the difficulty of implementation is that it depends on whether the distribution network has end users capable of providing compensation services and whether there is a system of economic transfers that promotes the ability of end users to cooperate [14].
An alternative that allows for the control of reactive power flows and the stabilization of voltage magnitude in grid buses is a flexible alternating current (ASC) transmission system (FACTS), which consists of power converters specialized in providing compensation functions. In [15], the authors conducted a study on the voltage compensation capabilities of different FACTS devices through reactive power injection. The results showed that the static synchronous compensator (STATCOM) is one of the best devices for compensating voltage and improving the power capacity of a transmission line. Recently, taking advantage of the similarity of the power converter topology, researchers proposed integrating STATCOM functions into PV inverters to provide voltage support in addition to PV power injection. These voltage support functions could be fully or partially implemented depending on the operating region of the power converter and the severity of the power quality problem [16,17,18].
The aforementioned technology can compensate for reactive power and provide voltage support, but not frequency support. For frequency compensation, inertia emulation using batteries has shown good results. In [19], the case of a small electrical network was studied, where inertia emulation using a battery system managed to reduce frequency drops and stabilize the frequency against disturbances in low inertia scenarios. On the other hand, the great disadvantage of this solution involves the costs associated with the energy storage system. Another solution to this problem involves grid-forming control strategies—some of which are based on a virtual synchronous machine, which consists of controlling an inverter to mimic the behavior of real synchronous machines. The advantage of this is that the inverter obtains the capabilities of a synchronous machine, such as frequency support through droop control, inertia, auto-tuning between inverters, voltage droop control, etc. [20]. A variant of this type of strategy is known as the synchronverter [21], which is based on the model of a two-pole wound rotor synchronous machine without considering magnetic saturation or damping windings. The synchronverter is capable of doubling the synchronous machine, although its implementation involves using a direct current (DC) constant voltage source.
Many studies have been carried out on stability, synchronization methods, dynamic behavior improvement, and decoupling of the synchronverter active and reactive power loops [22,23,24], but in all these papers, the DC source is considered a constant source with important energy reserves, which behaves differently from a solar panel array. In [25], the simulations of a grid and a synchronverter with a PV array as the DC source were studied, and the results showed that the PV power injection was enhanced using the synchronverter. However, the synchronverter did not show the ability to adjust its active power injection to frequency variations in the stationary state. On the other hand, in [26], the authors applied the virtual synchronous machine strategy with a phasor-based generator model in a two-stage PV generator to mitigate power oscillations. Among the results, the findings emphasize the strategy’s ability to suppress frequency oscillations faster with greater participation from this type of generator; moreover, the need to maintain solar energy reserves to provide support when there is an abrupt increase in demand is highlighted.
In this paper, we propose implementing a synchronverter-type control in a photovoltaic inverter to provide voltage and frequency support to the electrical system. Unlike the work mentioned above, it is intended to apply frequency support without considering a constant DC source or energy storage as batteries. Due to the inherent relationship between the power reserves of the electrical system with the frequency, it is necessary to adjust the power injection from the photovoltaic arrangement, i.e., to decrease the injected power when the frequency increases or to increase the power injection when the network frequency decreases. Regarding the latter, it is necessary to operate the PV array at a point other than the maximum power. The advantage of this method is that the regulation can be achieved without additional components such as batteries or other storage systems. The disadvantage lies in the economic losses incurred by not making the most of the available energy, the impact of which will be studied in future work.
Section 2 presents the equations of the proposed system, Section 3 is a small signal analysis of the synchronverter. Section 4 focuses on the maximum power point tracking (MPPT) used in this work and the modifications made to obtain new DC voltage reference values. Finally, the simulation and experimental results are presented in Section 5.

2. System Equations

There is a similarity between the stator circuit of a synchronous machine and the AC side circuit of the inverter, as shown in Figure 1. Therefore, the electrical power system equations are the same for both systems. The mechanical equations of the synchronous machine are implemented in the microcontroller of the inverter to digitally twin the behavior of the first one. Therefore, this kind of control strategy is called a virtual synchronous machine.

2.1. Power System Equations

The equations of the power circuit describe the dynamics of the AC and DC voltages. These equations are obtained from the Kirchhoff voltage and current law. Considering a rotatory frame, these equations are given by the following:
d i g d d t = R s L s i g d + ω i g q + 1 L s e g d u d L s
d i g q d t = R s L s i g q ω i g d + 1 L s e g q u q L s
d u d c d t = 1 C d c i p v 1 C d c m d i g d + m q i g q
where the d and q super indexes indicate direct and quadrature axes, respectively, i g denotes the grid current, e g denotes the phase output voltage, u denotes the infinite bus voltage, ω denotes the angular frequency used in the Park transformation, m denotes the modulator signal, R s denotes the resistor, L s denotes the inductance of the inductive filter, C d c denotes the capacitance, and i p v denotes the DC input current.

2.2. Synchronverter Equations

The dynamic equations of the rotor are as follows:
d ω g d t = 1 J g T m T e m + D p ω n ω g
where ω g denotes the rotor angular speed, J g denotes the inertia of the rotor, T m denotes the input torque, T e m denotes the electromechanical torque, D p denotes the torque droop coefficient, and ω n denotes the nominal rotor angular speed.
d δ d t = ω g ω
where δ denotes the power angle and ω denotes the angular frequency of the infinite bus bar. The input torque is calculated by the following:
T m = P g * ω n
where P g * denotes the active power reference. The voltage e g d q is given by the following:
e g d q = e g d e g q = 3 ω g λ f 2 cos   δ sin   δ
where λ f denotes the magnetic flux. Considering Equation (5), the electromechanical torque is defined by the following:
T e m = P g ω g = e g d i g d + e g q i g q ω g = 3 λ f i g d cos   δ + i g q sin   δ 2
where P g denotes the active power injected. The magnetic flux is given by the following:
d λ f d t = 1 K q Q g * Q g + D q K q 2 3 U n u d
where U n denotes the nominal line voltage, Q g * denotes the reference of reactive power, Q g denotes the reactive power injected, K q denotes the positive constant, and D q denotes the reactive power droop coefficient. The inverter is controlled by the modulating signals; therefore, it is necessary to define these signals in terms of the virtual synchronous machine variables. These modulators are defined in a similar way as in [24], although in this case, both components d and q are considered:
m d q = m d m q = 2 u d c e g d e g q = 2 ω g λ f u d c cos   δ sin   δ
The parameters of (2) and (7) are adjustable, so according to [24], these parameters are calculated using the following equations:
D p = S n Δ ω · ω n 2 , D q = S n Δ U · U n , J g = 2 S n H ω n 2
where S n denotes the apparent nominal power, Δ ω and Δ U are the deviations of frequency and voltage, respectively, which are necessary to increase the input power from zero to nominal power, and H denotes the inertia time constant.
To synchronize the digital controller’s internal variables with the voltage oscillation, a phase-locked loop (PLL) is used in this paper, as described in [27].

2.3. DC Voltage Control Loop

The power injection control of a photovoltaic array is achieved through a DC voltage control loop. The voltage is determined by the energy stored in the capacitor, defined by the following:
P p v = 1 2 C d c d u d c 2 d t + P g
where P p v denotes the power injected by the PV array. Considering that the output of the control loop is the square of the DC voltage and the input is the active power supplied to the grid, the transfer function of (10) is as follows:
G u d c ( s ) = U d c 2 ( s ) P g ( s ) = 2 C d c s
where G u d c ( s ) denotes the transfer function of the DC voltage capacitor.
Figure 2 shows the DC voltage control loop, where G p ( s ) denotes the inner loop transfer function. Considering that the dynamics of the inner loop are 10 times faster than those of the DC voltage loop, G p 1 , U d c 2 ( s ) is the DC voltage square and U d c 2 ( s ) * is the reference. Moreover, a proportional–integral (PI) controller is used as a compensator, with the transfer function given as follows:
K u ( s ) = k c s + k i s
where k c denotes the proportional gain and k i denotes the integral gain, the closed-loop of the DC voltage loop is given by the following:
H c l ( s ) = 2 k c C d c s + k i s 2 + 2 k c C d c + 2 k c k i C d c
In this work, a capacitance of 2.35 (mF) is considered, and the controller is tuned to achieve a settling time of 1 s and a damping constant of 0.707, as illustrated in [28]. The root locus and step response of the controller are shown in Figure 3. From Figure 3, it is evident that the system remains stable across the entire range of controller gains. Despite being designed with a 0.707 damping factor, the presence of a zero in the transfer function, with a real value closely aligned with that of the poles, leads to an overshot of around 20% for the highlighted closed-loop poles (depicted in pink). However, a 20% overshoot is deemed acceptable for the power converter, as in practical scenarios, the capacitor experiences minimal voltage fluctuations around the operating point. Consequently, the impact of the overshot on the power converter’s function is negligible.

3. Small-Signal Analysis of the Synchronverter

The synchronverter consists of a set of nonlinear equations. To simplify the analysis of the synchronverter, a reduced-order system is linearized. Two assumptions are made to reduce the order of the system. First, the resistance of the inductive filter can be considered negligible. Second, the dynamics of the AC output currents are neglected due to their fast response time, which is faster than the dynamics of the rotor [23]. Figure 4 shows the circuit of the new model.
The output functions are the active and reactive powers given by the following equation:
y = h ( x , u ) = P g Q g = 3 2 λ f ω g U sin   δ X s 3 2 λ f ω g U cos   δ U 2 X s
where X s denotes the reactance calculated at nominal frequency. Replacing Equations (14) with Equation (2) and (7), the new model is as follows:
x ˙ = f ( x , u ) = ω g ˙ δ ˙ λ f ˙ = P g * ω n J g 3 2 λ f U sin   δ J g X s + D p J g ω n ω g ω g ω Q g * K q + U 2 3 2 λ f ω g U cos   δ K q X s + D q K q U * U
where x = ω g δ λ f T denotes the state vector and u = P g * Q g * U ω T denotes the input vector. It is worth mentioning that the first two inputs are controllable, and the two remaining inputs are non-controllable because they are perturbations.
The linear model is given by the following equations:
Δ x ˙ = A Δ x + B Δ u Δ y = C Δ x + D Δ u
where the arrays of this set of equations are presented in Appendix A. The transfer matrix of this system is as follows:
G p ( s ) = C s I A 1 B + D
where G p ( s ) denotes the transfer function matrix and the output and input vectors in the Laplace domain are Δ Y ( s ) and Δ U ( s ) , respectively.
A simulation is performed to compare both the model in the previous section and the model given by (16). The results are shown in Figure 5. Initially, the system injected 50 W and 0 VAr into the grid. At t = 0.2 s, −50 W of active power reference occurs. According to the figure, both models show that the rotor speed decreases but eventually returns to the nominal value. In addition, the power angle approaches 0 and the flux also decreases as the injected active power decreases to 0 W as expected. At t = 0.5 s, the grid frequency decreases stepwise by 0.5 Hz, so the rotor speed decreases to the new synchronous speed. Due to the torque droop control of the synchronverter, the power angle increases in both models, indicating that active power is being injected into the grid. Finally, at t = 0.8 s, 30 VAr of the reactive power reference is applied, so the magnetic flux increases. Both models show the same dynamics, but there is a difference between the steady-state values of the power angle and the magnetic flux, which is attributed to the resistance not considered in the linear model. This difference in values between the models is approximately less than 5%.

3.1. Active Power Loop

According to (17), the active power loop transfer function is defined as follows:
Δ P g ( s ) = G p 11 ( s ) Δ P g * ( s ) + G p 12 ( s ) Δ Q g * ( s ) + G p 13 ( s ) Δ U ( s ) + G p 14 ( s ) Δ ω ( s )
where G p 1 j ( s ) denote the transfer functions of the first row of the transfer matrix in (17).
In Figure 6, a step response is plotted for each transfer function of Equation (18), considering different values of the torque droop coefficient. These coefficients vary according to Equation (9), where the nominal apparent power and frequency are fixed. The inertia time constant is also fixed at 0.1 s. Figure 6a shows the real power output in response to a step change in the real power reference. As expected, a 1 unit change in the input causes a 1 unit change in the output. The lower frequency droop causes the system to be slower and overdamped. Figure 6b,c show the active powers, considering changes in the reactive power and voltage magnitude references. Changing these inputs does not change the steady state value of active power, but lower droop coefficients make the transient peak larger. Figure 6d shows the active power considering changes in the grid frequency, which reduces the active power as a percentage of the droop coefficient.
Similar plots are shown in Figure 7, but in this case, the torque droop coefficient is constant at 5%, and the inertia time constant changes from 0.01 to 4 s. The plots show that greater inertia results in a system with reduced damping and slower response. The steady-state values obtained are similar to the previous case.

3.2. Reactive Power Loop

Similar to the active power loop, the reactive power loop transfer function is defined as follows:
Δ Q g ( s ) = G p 21 ( s ) Δ P g * ( s ) + G p 22 ( s ) Δ Q g * ( s ) + G p 23 ( s ) Δ U ( s ) + G p 24 ( s ) Δ ω ( s )
where G p 2 j ( s ) denote transfer functions of the second row of the transfer matrix in (17). Figure 8 shows the response considering changes in the torque droop coefficient, and Figure 9 shows the response considering changes in inertia in Equation (19).
Figure 8a,d show that a change in the active power and frequency reference only produces a transient disturbance in the reactive power. Figure 8b,c show that a change in the torque droop coefficient produces a negligible change in the reactive power dynamics when the reactive power reference or voltage magnitude changes.
Figure 9 again shows that larger inertia produces a slower and less damped system.

3.3. Root Locus Analysis

Figure 10a shows the eigenvalues of the system, considering variations of the torque droop coefficient from 2% to 8%. There are two poles near the imaginary axis; these are the dominant poles of the system, demonstrating that the system behaves like a second-order system. As the percentage of the droop coefficient increases, the imaginary component of the dominant poles also increases, so this pole shift explains the overshoot obtained when the droop coefficient is larger.
Figure 10b shows the eigenvalues considering inertia variation, and similar to Figure 10a, there are two dominant poles. As the inertia increases, the imaginary part also increases and the poles move to the imaginary axis. At some point, the imaginary part stops increasing and decreases, while the poles move closer to the origin. This shift explains the increase in settling time and the oscillatory component of the step response in the previous section.
Finally, Figure 10c shows that increasing the gain K q makes the system less damped and has less impact on the settling time of the system compared to the other two parameters.

4. Maximum Power Point Tracking Method

The DC source of the inverter in this paper is a PV array, which implies the need for a DC voltage compensator to control the injected power from the array. Also, this source requires a maximum power point tracking (MPPT) algorithm to obtain the voltage that allows extracting the maximum power, as this voltage is variable depending on the environmental conditions, such as irradiance and temperature.

4.1. Solar Cell Model

The solar cell model is shown in Figure 11. The current source i p h represents the photocurrent, which depends on the irradiance. The diode in antiparallel represents the P-N junction of the semiconductor and the resistors R s and R s h represent the internal losses of the cell [29].
By applying the current Kirchhoff law in this circuit, the expression of the output current i is as follows:
i = i p h i d i R s h = i p h i 0 e q v d n k T 1 v + i R s R s h
where i d denotes the diode current, i R s h denotes the current of the shunt resistor, i 0 denotes the inverse saturation current, v d denotes the diode voltage, k denotes the Boltzmann constant, T denotes the absolute temperature, n denotes the ideality diode factor, and q denotes the electron charge.
As shown in Figure 12a, the irradiance has a direct relationship with the power available from the cell. Figure 12b shows that the temperature has less influence on the amount of power available in the cell, but it significantly changes the voltage of the maximum power point marked by a circle.

4.2. MPPT with Measurements Cells

In this paper, an MPPT based on measurement cells is used [30]. These cells measure the open-circuit voltage and short-circuit current. The measurements are sent to the control loops shown in Figure 13, which allows us to obtain the maximum power point (MPP) voltage.
In order for the synchronverter to provide frequency support via the droop coefficient, it is critical to determine both the maximum available power and the required injected power according to the droop function. Since the PV array power depends on the DC bus voltage, a new voltage reference is required to inject this power. The first step is to define the expression for estimating the available power, which is given by the following:
p i s c v i 0 e q v d n k T 1 v
where this expression neglects the resistances of the cell model. To inject power lower than the maximum, it is necessary to find a new expression that allows obtaining this new operating voltage. The curves of Figure 12 show an approximately linear relationship between the power and cell voltage on the left side of the MPP; therefore, the new operating voltage could be estimated by the following:
v o p v m p p + P o p P m p p d p d v
where P o p denotes the new power injected into the grid, P m p p denotes the power of the MPP and could be calculated using the MPP voltage in (21), and d p / d v denotes the slope on the left side of the cell power curve. The power P o p is calculated using the following equation:
P o p = P m p p + ω n D p ω n ω
where the frequency ω is obtained from the PLL.

5. Results

The complete control strategy is shown in Figure 14. The system consists of an inverter connected to an infinite busbar via an inductive filter. The DC source is a PV array. The voltage and current are measured and transformed into a dq frame. The DC voltage reference is obtained from the MPPT. This reference could be used if it is needed to inject the maximum power, otherwise, a new voltage reference could be used. The DC voltage loop calculates the active power reference to send to the active power loop of the synchronverter. The reactive power loop of the synchronverter could be adjusted to compensate for voltage or reactive power. The proposed control strategy is validated by the simulation and experimental setup.

5.1. Simulation Results

To validate the proposed strategy, the system shown in Figure 14 was simulated in the software PSIM® 2022, Altair Engineering 1820 E. Big Beaver Rd., Troy, MI, USA, considering the parameters of Table 1. The rating power, voltage, and frequency of the system are 3 kVA, 380 V, and 50 Hz, respectively.
The simulation considers an initial condition of nominal power injection of 3 kW from a PV array of 50 modules, each rated at 60 W in a series connection. The initial reactive power injected into the infinite bus bar is 0. At t = 2 s, an irradiance step reduction occurs as shown in Figure 15a; thus, it can be seen from Figure 15b that the DC voltage is reduced from approximately 849 V to 836 V, given that the DC voltage reference is modified by the MPPT. This reduction in irradiance also implies a reduction in active power as shown in Figure 15c. At t = 3 s, there is a step increase in the frequency of 0.05 Hz. Figure 15b shows that the DC voltage increases to 850 V and then returns to the previous value. This is because the torque droop coefficient reduces the power injection, so the energy injected from the PV array is stored in the capacitor until the energy is returned to the grid because the DC voltage controller reduces the voltage to reach the reference. At t = 4 s, the busbar voltage magnitude decreases from 310.5 V to 306.3 V. This change results in an increase of 309.5 VAr of reactive power injection due to the effect of the reactive power droop coefficient, as shown in Figure 15d.
As shown in the previous simulation, changing the frequency of the grid in a steady state did not result in a change in active power injection, despite the use of droop control. This is due to the fact that the power injection from the array is DC voltage-dependent. Therefore, to change the power injection, the DC voltage reference needs to be adjusted. To do this, the estimation of the new voltage operation in the MPPT section is implemented. The simulation results are shown in Figure 16, where the frequency change causes a change in the voltage reference and, therefore, in the active power. This disturbance and the change in the voltage reference produce a noticeable peak transient in the active power.

5.2. Experimental Results

This control strategy was implemented using an insulated gate bipolar transistor (IGBT) power converter connected to a California Instruments CSW 5550 variable AC power source through an inductive filter. A resistive load was connected between the inverter and the AC source since the source was not regenerative. The DC source was a PV array consisting of 3 ESUN modules of 50 W, each connected in series. A Texas Instruments DSC TMS320F28335 microcontroller was used and the computation burden was 55 μs, which was close to computing a model-based predictive control, as shown in [31]. The commutation frequency was set to 10 kHz. The variables were measured using a Keysight MSOX3054T 4-channel oscilloscope. The setup is shown in Figure 17 and the parameters of the setup are shown in Table 2.
The experiment consisted of feeding PV power from the array through the test setup’s synchronizer while disturbances occurred. Initially, the synchronizer supplied 50 W of active power and 0 VAr of reactive power. To achieve this, the DC voltage was adjusted to 36.8 V; see Figure 18a. The DC voltage is in yellow, the grid voltage of phase a is in blue, and the current of phase a is in red. Under these conditions, the peak AC voltage is 12.6 V and the peak current is 2.9 A. In Figure 18b, an increment of 1 Hz is applied to the AC source. Similar to the simulations, this increment produces an increment in the DC voltage, but the DC voltage control returns the voltage to the reference of 36.8 V. It should be noted that the droop correction implemented in the simulation was not implemented in the experimental setup.
Figure 18c shows the variables when a 5% sag occurs. In this case, the reactive power injection is increased to 50 VAr because the reactive power droop coefficient was adjusted to 10%. This change is stabilized after about 100 ms because the inertia time constant was set to 0.1 s. The droop also causes a transient decrease in the DC voltage, but it is restored after 1 s due to the action of the DC voltage regulator.
Finally, Figure 18d shows the variables when a 5% swell occurs. Initially, the synchronverter was injecting 0 VAr because the reference was fixed to that value. The transient causes a change of −50 VAr in the injected reactive power. Because of this change, the peak current is reduced and the current now leads the voltage. With respect to the DC voltage, the voltage increases for 50 ms and then decreases to the reference value.

5.3. Comparison with Other Works

Table 3 compares the proposed control with other solutions that address the frequency and power compensation problems or voltage compensation. The functions included in the table are the ability to compensate voltage, specifically to maintain voltage magnitude within safe levels; active and reactive power injections in response to grid needs; frequency support, which involves adapting the behavior of the device to improve or maintain system stability in terms of frequency; and energy storage capacity.

6. Conclusions

This paper presents the implementation of a PV synchronverter control strategy, employing a virtual synchronous machine approach. Through simulations and experimental setups, this strategy facilitates voltage and frequency support functions, along with active power injection from a PV inverter. The incorporation of inertia is facilitated by the developed control algorithm, enabling the power converter to emulate the behavior of a synchronous machine, thereby providing support to the grid when necessary. This concept is becoming increasingly imperative as PV solar systems proliferate within power generation systems. Without intervention, the interconnected systems face a heightened risk of instability, amplifying the likelihood of widespread failures. The results demonstrate the feasibility of injecting PV power while controlling the inverter as a synchronverter. This synchronverter effectively compensates reactive power during voltage sag and swell events, ensuring the seamless injection of PV power without compromising synchronization with the grid. Reactive power plays a crucial role in voltage amplitude regulation and can contribute to enhancing the stability of distribution grids. However, at the initial stage of introducing the proposed control method, the authors focused on considering an infinite bus scenario, which reflects the reality for most distribution lines connected to robust interconnected systems. However, this concept is less applicable when dealing with a more detailed model of a distribution system or microgrids. Therefore, future work will consider a non-infinite bar where the changes in voltage magnitude produced by the compensation will be observed. Frequency support requires the ability to absorb/supply power changes from the grid, and it is necessary to maintain energy reserves that are traditionally found in the inertia of synchronous machines or batteries. Since the PV synchronverter does not have an energy storage system, the injection of solar energy must be reduced, for which it will be necessary to implement optimization algorithms to maintain a sufficient energy margin, provide frequency support, and not significantly damage the economic benefits of the PV generator. Also, the transient response of the active power loop must be improved since, as seen in the simulations, there are power peaks that can cause damage to the grid. Nevertheless, an MPPT algorithm is utilized to ensure proximity to the maximum power point (MPP), optimizing the injected energy. This algorithm leverages a measuring cell approach, offering the dual benefits of ease of implementation and low computational overhead. Importantly, the overall computational burden of the algorithm remains modest, enabling implementation on cost-effective digital boards, such as the ones referenced in the experimental results. Consequently, this manuscript not only contributes to system stability but also mitigates the need for costly energy storage systems, requiring only minimal additional code lines in the control script.

Author Contributions

Conceptualization, M.A. and J.R.; methodology, M.A. and J.R.; software, M.A. and J.V.; validation, M.A. and J.E.; formal analysis, J.E. and D.S.; investigation, J.R. and Y.G.; resources, J.R.; data curation, J.E. and D.S.; writing—original draft preparation, M.A.; writing—review and editing, J.E., J.V., and D.S.; visualization, Y.G.; supervision, J.R.; project administration, J.R.; funding acquisition, J.R. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Agency of Research and Development of Chile, ANID-Subdirección de Capital Humano/Magíster Nacional/2022—22220337. The authors also wish to acknowledge the financial support from ANID/FONDAP/1523A0006, Universidad del Bío-Bío, DICREA [2260136 IF/R], and the Group of Renewable Energies and Energy Efficiency from the Universidad del Bío-Bío [2160180 GI/EF].

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
PVphotovoltaic
DCdirect current
FACTSflexible AC transmission system
MPPTmaximum power point tracking

Appendix A

Arrays of the linearized system.
A = D p J g 3 2 λ f o U o cos   δ o X s J g 3 2 U o sin   δ o X s J g 1 0 0 3 2 λ f o U o cos   δ o X s K q 3 2 ω g o λ f o U o sin   δ o X s K q 3 2 ω g o U o cos   δ o X s K q B = 1 ω n J g 0 3 2 λ f o sin   δ o X s J g 0 0 0 0 1 0 1 K q 2 U o D q X s 3 2 ω g o λ f o cos   δ o X s K q 0 C = 3 2 U o X s λ f o sin   δ o ω g o λ f o cos   δ o ω g o sin   δ o ω g o cos   δ o ω g o λ f o sin   δ o ω g o cos   δ o D = 1 X s 0 0 3 2 ω g o λ f o sin   δ o 0 0 0 3 2 ω g o λ f o cos   δ o 2 U o 0

References

  1. Arantegui, R.L.; Jäger-Waldau, A. Photovoltaics and wind status in the European Union after the Paris Agreement. Renew. Sustain. Energy Rev. 2018, 81, 2460–2471. [Google Scholar] [CrossRef]
  2. O’Connell, B.; Davies, C.; Paver, A.; Taylor, E.; Veijalainen, T.; Ganguli, R.; Schaefer, C. Achieving world-leading penetration of renewables: The australian national electricity market. IEEE Power Energy Mag. 2021, 19, 18–28. [Google Scholar] [CrossRef]
  3. Badrzadeh, B.; Modi, N.; Lindley, J.; Jalali, A.; Lu, J. Power system operation with a high share of inverter-based resources: The australian experience. IEEE Power Energy Mag. 2021, 19, 46–55. [Google Scholar] [CrossRef]
  4. Gandhi, O.; Kumar, D.S.; Rodríguez-Gallegos, C.D.; Srinivasan, D. Review of power system impacts at high PV penetration Part I: Factors limiting PV penetration. Sol. Energy 2020, 210, 181–201. [Google Scholar] [CrossRef]
  5. Hu, J.; Li, Z.; Zhu, J.; Guerrero, J.M. Voltage stabilization: A critical step toward high photovoltaic penetration. IEEE Ind. Electron. Mag. 2019, 13, 17–30. [Google Scholar] [CrossRef]
  6. Ismael, S.M.; Aleem, S.H.A.; Abdelaziz, A.Y.; Zobaa, A.F. State-of-the-art of hosting capacity in modern power systems with distributed generation. Renew. Energy 2019, 130, 1002–1020. [Google Scholar] [CrossRef]
  7. Haque, M.M.; Wolfs, P. A review of high PV penetrations in LV distribution networks: Present status, impacts and mitigation measures. Renew. Sustain. Energy Rev. 2016, 62, 1195–1208. [Google Scholar] [CrossRef]
  8. Anzalchi, A.; Sundararajan, A.; Moghadasi, A.; Sarwat, A. High-penetration grid-tied photovoltaics: Analysis of power quality and feeder voltage profile. IEEE Ind. Appl. Mag. 2019, 25, 83–94. [Google Scholar] [CrossRef]
  9. Wang, L.; Yan, R.; Saha, T.K. Voltage regulation challenges with unbalanced PV integration in low voltage distribution systems and the corresponding solution. Appl. Energy 2019, 256, 113927. [Google Scholar] [CrossRef]
  10. Chaudhary, P.; Rizwan, M. Voltage regulation mitigation techniques in distribution system with high PV penetration: A review. Renew. Sustain. Energy Rev. 2018, 82, 3279–3287. [Google Scholar] [CrossRef]
  11. Kumar, D.S.; Gandhi, O.; Rodríguez-Gallegos, C.D.; Srinivasan, D. Review of power system impacts at high PV penetration Part II: Potential solutions and the way forward. Sol. Energy 2020, 210, 202–221. [Google Scholar]
  12. Kraiczy, M.; Wang, H.; Schmidt, S.; Wirtz, F.; Braun, M. Reactive power management at the transmission–distribution interface with the support of distributed generators—A grid planning approach. IET Gener. Transm. Distrib. 2018, 12, 5949–5955. [Google Scholar] [CrossRef]
  13. Tofighi-Milani, M.; Fattaheian-Dehkordi, S.; Fotuhi-Firuzabad, M.; Lehtonen, M. Distributed reactive power management in multi-agent energy systems considering voltage profile improvement. IET Gener. Transm. Distrib. 2023, 17, 4891–4906. [Google Scholar] [CrossRef]
  14. Guerrero, J.; Gebbran, D.; Mhanna, S.; Chapman, A.C.; Verbič, G. Towards a transactive energy system for integration of distributed energy resources: Home energy management, distributed optimal power flow, and peer-to-peer energy trading. Renew. Sustain. Energy Rev. 2020, 132, 110000. [Google Scholar] [CrossRef]
  15. Gasperic, S.; Mihalic, R. Estimation of the efficiency of FACTS devices for voltage-stability enhancement with PV area criteria. Renew. Sustain. Energy Rev. 2019, 105, 144–156. [Google Scholar] [CrossRef]
  16. Varma, R.K.; Siavashi, E.M. PV-STATCOM: A new smart inverter for voltage control in distribution systems. IEEE Trans. Sustain. Energy 2018, 9, 1681–1691. [Google Scholar] [CrossRef]
  17. Varma, R.K.; Siavashi, E.M.; Mohan, S.; Vanderheide, T. First in Canada, night and day field demonstration of a new photovoltaic solar-based flexible AC transmission system (FACTS) Device PV-STATCOM for stabilizing critical induction motor. IEEE Access 2019, 7, 149479–149492. [Google Scholar] [CrossRef]
  18. Varma, R.K.; Siavashi, E.; Mohan, S.; McMichael-Dennis, J. Grid support benefits of solar PV systems as STATCOM (PV-STATCOM) through converter control: Grid integration challenges of solar PV power systems. IEEE Electrif. Mag. 2021, 9, 50–61. [Google Scholar] [CrossRef]
  19. Criollo, A.; Minchala-Avila, L.I.; Benavides, D.; Arévalo, P.; Tostado-Véliz, M.; Sánchez-Lozano, D.; Jurado, F. Enhancing Virtual Inertia Control in Microgrids: A Novel Frequency Response Model Based on Storage Systems. Batteries 2024, 10, 18. [Google Scholar] [CrossRef]
  20. Muftau, B.; Fazeli, M. The role of virtual synchronous machines in future power systems: A review and future trends. Electr. Power Syst. Res. 2022, 206, 107775. [Google Scholar] [CrossRef]
  21. Zhong, Q.C.; Weiss, G. Synchronverters: Inverters that mimic synchronous generators. IEEE Trans. Ind. Electron. 2010, 58, 1259–1267. [Google Scholar] [CrossRef]
  22. Zhong, Q.C.; Nguyen, P.L.; Ma, Z.; Sheng, W. Self-synchronized synchronverters: Inverters without a dedicated synchronization unit. IEEE Trans. Power Electron. 2013, 29, 617–630. [Google Scholar] [CrossRef]
  23. Dong, S.; Chen, Y.C. Adjusting synchronverter dynamic response speed via damping correction loop. IEEE Trans. Energy Convers. 2016, 32, 608–619. [Google Scholar] [CrossRef]
  24. Busada, C.A.; Jorge, S.G.; Solsona, J.A. Feedback linearization of a grid-tied synchronverter. IEEE Trans. Ind. Electron. 2022, 70, 147–154. [Google Scholar] [CrossRef]
  25. Sonawane, A.J.; Umarikar, A.C. Three-phase single-stage photovoltaic system with synchronverter control: Power system simulation studies. IEEE Access 2022, 10, 23408–23424. [Google Scholar] [CrossRef]
  26. Takamatsu, T.; Oozeki, T.; Orihara, D.; Kikusato, H.; Hashimoto, J.; Otani, K.; Matsuura, T.; Miyazaki, S.; Hamada, H.; Miyazaki, T. Simulation Analysis of Issues with Grid Disturbance for a Photovoltaic Powered Virtual Synchronous Machine. Energies 2022, 15, 5921. [Google Scholar] [CrossRef]
  27. Perez, M.A.; Espinoza, J.R.; Torres, M.A.; Araya, E.A. A robust PLL algorithm to synchronize static power converters with polluted ac systems. In Proceedings of the IECON 2006—32nd Annual Conference on IEEE Industrial Electronics, Paris, France, 6–10 November 2006; IEEE: Piscataway, NJ, USA, 2006; pp. 2821–2826. [Google Scholar]
  28. Cavers, J.K.; Mehrotra, K.; Woodward, G.K. Advantages of Second-Order Cartesian Feedback Linearizers for Radio Amplifiers. IEEE Trans. Circuits Syst. I Regul. Pap. 2019, 66, 4134–4146. [Google Scholar] [CrossRef]
  29. Mehta, H.K.; Warke, H.; Kukadiya, K.; Panchal, A.K. Accurate expressions for single-diode-model solar cell parameterization. IEEE J. Photovolt. 2019, 9, 803–810. [Google Scholar] [CrossRef]
  30. Morales, R.; Garbarino, M.; Muñoz, J.; Baier, C.; Rohten, J.; Esparza, V.; Dewar, D. Grid connected PV system with new MPPT estimation method based on measuring cells. In Proceedings of the IECON 2019—45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 14–17 October 2019; IEEE: Piscataway, NJ, USA, 2019; Volume 1, pp. 2366–2371. [Google Scholar]
  31. Silva, J.J.; Rohten, J.A.; Villarroel, F.A.; Pulido, E.S.; Rivera, M.E. A Honeycomb-Like Predictive Controller With a Reduced Computational Burden for Three-Level NPC Converters. IEEE Trans. Power Electron. 2024, 39, 2051–2062. [Google Scholar] [CrossRef]
Figure 1. (a) Inverter and (b) synchronous machine connected to the infinite bus.
Figure 1. (a) Inverter and (b) synchronous machine connected to the infinite bus.
Sensors 24 04039 g001
Figure 2. DC voltage control loop.
Figure 2. DC voltage control loop.
Sensors 24 04039 g002
Figure 3. (a) Root locus and (b) step response of the DC controller.
Figure 3. (a) Root locus and (b) step response of the DC controller.
Sensors 24 04039 g003
Figure 4. Small-signal model.
Figure 4. Small-signal model.
Sensors 24 04039 g004
Figure 5. Simulation of the nonlinear fifth-order model and the reduced linear model, (a) rotor angular speed, (b) power angle, and (c) magnetic flux.
Figure 5. Simulation of the nonlinear fifth-order model and the reduced linear model, (a) rotor angular speed, (b) power angle, and (c) magnetic flux.
Sensors 24 04039 g005
Figure 6. Step response of active power transfer functions considering torque droop coefficient variation.
Figure 6. Step response of active power transfer functions considering torque droop coefficient variation.
Sensors 24 04039 g006
Figure 7. Step response of active power transfer functions considering inertia variation.
Figure 7. Step response of active power transfer functions considering inertia variation.
Sensors 24 04039 g007
Figure 8. Step response of reactive power transfer functions considering torque droop coefficient variation.
Figure 8. Step response of reactive power transfer functions considering torque droop coefficient variation.
Sensors 24 04039 g008
Figure 9. Step response of reactive power transfer functions considering inertia variation.
Figure 9. Step response of reactive power transfer functions considering inertia variation.
Sensors 24 04039 g009
Figure 10. Root locus of synchronverter considering parameters variations, (a) torque droop coefficient varies, (b) inertia varies, and (c) gain K q varies.
Figure 10. Root locus of synchronverter considering parameters variations, (a) torque droop coefficient varies, (b) inertia varies, and (c) gain K q varies.
Sensors 24 04039 g010
Figure 11. Single diode solar cell model.
Figure 11. Single diode solar cell model.
Sensors 24 04039 g011
Figure 12. Solar cell curves, (a) power of the solar cell considering irradiance variation and (b) power of the solar cell considering temperature variation.
Figure 12. Solar cell curves, (a) power of the solar cell considering irradiance variation and (b) power of the solar cell considering temperature variation.
Sensors 24 04039 g012
Figure 13. MPPT based on measurement cells.
Figure 13. MPPT based on measurement cells.
Sensors 24 04039 g013
Figure 14. Proposed strategy control and power system.
Figure 14. Proposed strategy control and power system.
Sensors 24 04039 g014
Figure 15. Simulation results, (a) irradiance step change, (b) active power and frequency, (c) reactive power and grid voltage magnitude, and (d) DC voltage.
Figure 15. Simulation results, (a) irradiance step change, (b) active power and frequency, (c) reactive power and grid voltage magnitude, and (d) DC voltage.
Sensors 24 04039 g015
Figure 16. Simulation of synchronverter including frequency droop correction, (a) active power and frequency change, and (b) DC voltage and voltage reference.
Figure 16. Simulation of synchronverter including frequency droop correction, (a) active power and frequency change, and (b) DC voltage and voltage reference.
Sensors 24 04039 g016
Figure 17. (a) PV modules and (b) experimental setup.
Figure 17. (a) PV modules and (b) experimental setup.
Sensors 24 04039 g017
Figure 18. Experimental results, (a) synchronverter injecting PV power, (b) frequency increment of 1 Hz, (c) sag of 5%, and (d) swell of 5%.
Figure 18. Experimental results, (a) synchronverter injecting PV power, (b) frequency increment of 1 Hz, (c) sag of 5%, and (d) swell of 5%.
Sensors 24 04039 g018
Table 1. Simulation parameters.
Table 1. Simulation parameters.
ParameterValueParameterValue
S nom 3000 VA V nom 380 VRMS
f nom 50 Hz Z nom 48.13 Ω
R s 1 Ω L s 10 mH
P p v 60 W C d c 2.35 mF
PV modules50H0.4 s
PV strings1 D p 3.039 Nms/rad
PV v o c 21.1 V D q 96.77 VAr/V
PV i s c 3.8 A K q 1000 VAr/V
PV v m p p 17.1 V k c 0.009
PV i m p p 3.5 A k i 4
f s w 20 kHz
Table 2. Experimental setup parameters.
Table 2. Experimental setup parameters.
Inverter ParametersValuePV ParametersValue
S nom 100 VA V nom 15 VRMS
Module number3 v o c 21.71 V
R s 0.25 Ω i s c 2.92 A
L s 3.7 mH v m p p 18.2 V
C d c 2.35 mF i m p p 2.78 A
Table 3. Comparison.
Table 3. Comparison.
This PaperPV-STATCOM [17]VSM 2-Stages [26]Batteries [19]
Voltage compensation-
Power reactive compensation-
Active power injection
Frequency support-
Energy storage capability---
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Albornoz, M.; Rohten, J.; Espinoza, J.; Varela, J.; Sbarbaro, D.; Gallego, Y. Photovoltaic Power Injection Control Based on a Virtual Synchronous Machine Strategy. Sensors 2024, 24, 4039. https://doi.org/10.3390/s24134039

AMA Style

Albornoz M, Rohten J, Espinoza J, Varela J, Sbarbaro D, Gallego Y. Photovoltaic Power Injection Control Based on a Virtual Synchronous Machine Strategy. Sensors. 2024; 24(13):4039. https://doi.org/10.3390/s24134039

Chicago/Turabian Style

Albornoz, Miguel, Jaime Rohten, José Espinoza, Jorge Varela, Daniel Sbarbaro, and Yandi Gallego. 2024. "Photovoltaic Power Injection Control Based on a Virtual Synchronous Machine Strategy" Sensors 24, no. 13: 4039. https://doi.org/10.3390/s24134039

APA Style

Albornoz, M., Rohten, J., Espinoza, J., Varela, J., Sbarbaro, D., & Gallego, Y. (2024). Photovoltaic Power Injection Control Based on a Virtual Synchronous Machine Strategy. Sensors, 24(13), 4039. https://doi.org/10.3390/s24134039

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop