1. Introduction
As the population is increasing, the demand for electricity is continuously increasing, while fossil fuels are insufficient to fulfill the demands. Moreover, fossil fuels have a negative impact on the environment due to the emission of harmful gases during use. Therefore, the alternative solution for the demand is renewable energy sources (RES) [
1].
RES are the major topic to be focused on, and with the awareness among the people, the demand in RES is tremendously increasing. Different RES exist in nature. From these various sources, the photovoltaic (PV) system is environmentally friendly and a significantly encouraging source. The PV energy experienced a very significant escalation in the last decades, due to cost production reductions which can facilitate fossil energy dispensing and allow for the transition toward the use of green energy sources [
2,
3].
However, with the increasing penetration level of PV in the grid, important fluctuations introduce serious power quality concerns [
4]. On the power grid side, fluctuations, variation of frequency, variation of voltage, harmonic, etc., are some of the issues that should be dealt with in these systems [
5]. Consequently, it becomes mandatory for PV systems to act in conformity with the technical and regulatory frameworks to ensure safe operation and reliable and efficient system set.
Power electronics and digital control technology play a vital role in the grid-connected PV systems, improving their operation and power quality at the point of common coupling (PCC). In [
6], different inverter topologies are used for PV systems connected to the grid. For example, the best classic topology is the voltage source converter (VSC), which can be used for small, medium, or large-scale grid connection. The same topology can be adopted for low-voltage or medium-voltage grid connection.
Grid-connected PV systems appear in the form of pulse width modulation (PWM) VSC, which can inject controlled active power (AP) and reactive power (RP) as needed. The output current of this converter needs to be filtered to prevent current harmonics near the switching frequency (SF) from being injected into the grid [
7].
The L-type filter is known by simplicity and robustness for integration, analysis, and operation. However, currently, researchers increasingly focus on the LCL filter, which draws attention to the small size, weight, and cost needs of PV system grid interfaces [
8]. Moreover, the LCL filter is the most adopted since it offers better attenuation of the switching harmonics compared to the simple L filter. This mainly lies in the fact that the LCL filter is of third order, which promotes the SF attenuation more effectively [
8]. However, the existing filter-based damping is not preferred due to the limited frequency characteristics. In fact, LCL filters have resonance problems that cause oscillations and lead to instability issues. An efficient active damping strategy is proposed by adopting a PID control structure with two degrees of freedom (DOF). Using this controller, oscillations are damped by about 98% [
9].
In [
10], various methods are reviewed, and the control strategy of the converter based on grid-connected PV systems is shown. Indeed, some hysteresis, sinusoidal pulse width modulation (SPWM), space-vector pulse width modulation (SVPWM) based on proportional integral (PI), proportional resonance (PR), and linear quadratic regulator strategies are discussed in detail. Among them, the hysteretic current control (HCC) is considered robust and can provide a fast dynamic response. However, SF changes may put a burden on the controller design. In [
11], a three-level hysteresis current control (HCC) method for grid-connected VSC was proposed. This method can connect PV panels to the grid and ameliorate the power quality of the PCC at the same time, in line with IEEE 1547.1 and IEEE 519 standards. The traditional HCC suffers from variation in SF, which leads to switching losses in the VSC, whereas the three-level HCC solves the problem of the switching frequency variation using the offset hysteresis band, thus it improves the control performance.
Voltage fluctuations, harmonics, unbalance, and distortion can be present in the grid. Using the VSC-based distribution static compensator (DSTATCOM) system can alleviate these types of power quality issues [
12].
In the literature, the power quality issues related to the non-linear load are discussed. In [
8], the use of LCL filters ensures the elimination of the distortions of the currents injected into the network, knowing that the technique of proportional-integral derivative control is integrated to guarantee the complete suppression of the resonance oscillations of the LCL filter. In [
13], a fuzzy logic controller associated with a three-phase PV inverter is adopted, which ensures the PCC voltage regulation, as well as the mitigation of the distortions of the service current and the injection of the excess power in the grid. In this case, the presence of an unbalanced load leads to the appearance of unbalanced grid currents and subsequently participates in the injection of zero and negative sequence currents into the grid. The control techniques that are discussed in the literature are based on the mitigation of the harmonics of the current supplied to the distribution grid, which leads to the minimization of the reactive power load on the grid, to the feeding of the excess power to the distribution grid, and to the increase in the usefulness of the VSC. The PLL based on the synchronous reference frame is adopted to make the connection between the PV converter and the distribution grid and to compensate for the harmonic current of the load current [
14]. However, the presence of an unbalanced load and noisy movement in the voltages of the electrical network lead to the appearance of a double frequency oscillation. Therefore, on the other hand, the integration of a low-pass filter is necessary, as it results in an unreliable dynamic behavior. To avoid this problem, a notch filter is integrated in [
15] to eliminate the phenomenon of double frequency oscillations. The drawback of using the notch filter is delicacy in the case of variation of the system parameters, which makes it sensitive and not adaptable in all applications. In [
16], the PLL based on the complex filter ensures the selective sequence filtering and the attenuation of the disturbances of the distribution grid. In [
17], higher harmonic attenuation and improved dynamic behavior are achieved using second- and third-order complex vectors. In the paper by Li, Weiwei, Xinbo Ruan, Chenlei Bao, Donghua Pan, and Xuehua Wang [
18], a second- and third-order complex-vector-filter are proposed with the CVFM to achieve better dynamic performance or higher harmonic attenuation. Additionally, a brief comparison of each prefilter is presented. Moreover, the CVFM can be applied to the other prefilter-based grid synchronization systems. In our paper, a CVF-based control is applied to accomplish the dual functions, including harmonic filtering capability and active power injection. The proposed control has been integrated on the three-phase grid-connected PV system. The proposed control system can be effectively controlled to operate as an APF with the functionalities of source current harmonic suppression, reactive power compensation, and source current balancing. The results demonstrated in this paper clearly indicate that the presented control offers excellent performance in the case of unbalanced load. This enables the utility grid to supply the sinusoidal current. The proposed control has offered a good performance compared with PI&PLL control. Finally, it is concluded that the current is perfectly sinusoidal and does not suffer from abnormalities thanks to the CVF filter, which smoothed the load current. The load current THD is reduced from 14.64% to around 1.56% in the utility grid current. The CVF ensures robustness and stability during the synchronization between the PV and the utility grid system. The PI&PLL control presents higher active and reactive power loss pulses during synchronization. However, the CVF ensures the elimination of the reactive power fluctuations during synchronization.
In this paper, the proposed CVF-based control is developed for a three-phase grid-connected PV system. Furthermore, the harmonic-free positive sequence (HFPS) load current is used to produce referential sinusoidal currents. The salient features of this study are presented as follows:
- -
This control stabilizes the grid’s currents under unbalanced load currents, as well as mitigates the undesirable harmonic load current while feeding the clean active power to the grid.
- -
The proposed control offers a high degree of immunity compared to the conventional PI&PLL controller. The AP with the proposed CVF is more robust, stable, and optimal. The key results, which are the DC offset and THD, have been significantly reduced to 1.56%.
- -
By adopting this controller, the voltage is improved. Moreover, the distribution grid losses are minimized, since the distance between the location of PV system and the load terminal at PCC is shorter. The harmonics in the network current are compensated according to the IEEE-519 standard, the voltage at the PCC is improved using feed-forward to minimize the switching ripple, and the current grid is balanced by avoiding oscillations under unbalanced load conditions.
The rest of paper is structured as follows:
Section 2 presents components of the grid-connected PV system.
Section 3 elaborates on the adopted control strategy.
Section 4 presents and discusses the simulation results. Finally, the conclusions are drawn in
Section 5.
3. Complex-Vector-Control Method
The developed control method is shown in
Figure 2a,b. Both converters have their own control. Herein, the PV array voltage (Vpv) and PV array current (Ipv) are sensed, then provided to the P&O MPPT controller. The P&O MPPT controller sets the PV array set point voltage based on the estimated value that matches the maximum PV power. The PV set point voltage and the voltage on the DC link determine the duty cycle of the boost inverter. The DC-DC converter switching pulse is realized by comparing the duty cycle of the boost inverter with the high-frequency sawtooth waveform.
The VSC control is required to detect the distribution network current (isuv, isvw), PCC voltage (vsuv, vsvw), load current (iLuv, iLvw), and the input voltage of VSC (Vdcs). This voltage is adaptively reshaped, which refers to the voltage of the PCC, to achieve the smallest VSC switching loss. The detected grid current is compared with the reference current generated in the current controller, and the switching pulse of the VSC is performed. The VSC command is required to provide four quantities, which are identified by the AP component of the load current (ILp), the PV dynamic current (Ipvd), the DC loop voltage loss current component (ILoss), as well as the template unit used for synchronization between the grid and the PV converter.
- A.
Unit templates Generation
The grid line voltages
and
are considered with the three-phase grid voltages
,
,
extraction as follows:
The estimation of the PCC voltage amplitude is determined from:
The three-utility grid voltage unit templates are expressed as:
- B.
Evaluation of the dynamic PV current
The generated PV voltage and current
are herein considered, then the power of PV array is as follows:
The dynamic PV current is provided by:
- C.
DC-Link Loss Current Evaluation
The detected VSC input voltage and the reference DC link voltage are provided to the DC voltage comparator to generate an error voltage (
), which is fed to the PI voltage controller. In this way, the continuous link loss current component (
) is obtained.
- D.
Active Power Component of Load Current Estimation
In the three-phase system, the fixed α-axis and β-axis load current components are determined from several load current phases as follows:
In-phase and quadrature harmonic-free positive sequence (HFPS) load currents and harmonic-free negative sequence (HFNS) load currents are extracted from the distorted load currents and using the CVF. Its implementation can be obtained as follows:
The form of the typical first-order low pass scalar filter is known by the unity gain for the continuing component, mitigating the harmonics as follows:
The substitution of
into (8) results in the first complex vector, which can be written as follows:
The derivation of the CVF is implemented as follows: The SFG of (9) is shown in
Figure 3b, which is transformed from
Figure 3a thanks to the negative feedback.
In
Figure 3b,
is formulated as:
The scalar integration of (9) is presented in
Figure 3c.
Figure 3d is the transformation of
Figure 3c. It is known for its simplicity of the first-order CVF implementation.
The value of ωc influences the dynamic response and the attenuation of the HFNS components. A higher value of ωc leads to faster dynamic response, but poor HFNS component attenuation. Therefore, to obtain a good dynamic response, and to eliminate the HFNS component, the α-axis and β-axis HFNS components are also extracted in a similar way as the HFPS components. The obtained HFNS and HFPS components are subtracted from the distorted α-axis and β-axis load currents. The ωc is chosen to be equal to 0.707 ωn to achieve a good dynamic response. Therefore, the extracted current components of HFPS and HFNS can lead to these final equations:
The HFPS current components
(s) and
(s) are adopted to derive the active and reactive components of the load current as follows:
- E.
Grid Frequency and Reference Angle Estimation
In the case of a large grid frequency drift, the estimated HFPS components are not orthogonal, thus the extracted AP components of the load current are not accurate. As a result, under the condition of frequency drift with minimum overshoot and settling time, it is very important to estimate the frequency of the utility grid. The accurately estimated governing equation with good dynamic response is:
- F.
Grid References current Estimation
The active power grid current is formulated as follows:
The three-phase grid reference currents are estimated, adopting the AP network current as follows:
The comparison between these grid reference currents and the sensed grid currents through a comparator and feeding to a current controller can lead to the VSC control switching sequences.
4. Simulation Results
The CVF control performances have been checked through the obtained simulation results using MATLAB/SIMULINK software, and proved under different cases. The efficiency of the proposed controller is illustrated by simulation results for estimating the amplitude, phase, and dynamic response of the load current before and after filtering. The proposed control approach provides a high degree of immunity against the frequency phase shift and voltage transients in the distribution network. The simulation parameters of the implemented network support PV system are provided in
Appendix A. The system model is developed for a utility grid system (UGS) via a maximum power of 80 kW and a frequency of 50 Hz. The UGS was powered by a PV system of 80 kW. The proposed CVF was evaluated in a functional grid-connected PV system.
Figure 4 and
Figure 5 present the proposed CVF performance to ensure the utility grid currents and voltages stability. The CVF ensures a proper and an optimal operation between the PV and UGS. As shown, it eliminates the fluctuations and undesirable harmonics during the simulation time.
The proposed improved CVF method is not only used to synchronize PV converters, but contrary to PLL-based methods, it can also estimate the fundamental frequency quadrature current, which only locks the PV inverter to the network. In addition, the performance of PLL-based algorithms will significantly change with the grid voltage and frequency deviation. The fundamental frequency quadrature current components are no longer orthogonal, thus leading to the inaccurate estimation of AP component of load current. The response of the proposed control algorithm under the change in the grid angle is shown in
Figure 6.
The load currents comparison of various phases before and after the modified CVF is presented in
Figure 7. It is observed that there is no phase shift between the input and output quantity of CVF, which illustrates that the proposed CVF provides robustness against harmonic problems.
It is noticeable that the current is perfectly sinusoidal and does not suffer from abnormalities thanks to the CVF filter, which smoothed the load current.
Figure 8 shows the performance of the CVF compared to the PI&PLL control. The AP with the proposed CVF is more robust, stable, and optimal compared to the PI&PLL control. From [0; 0.3] s, the CVF ensures the robustness and stability during the synchronization between the PV and UGS. The PI&PLL control presents higher active and reactive power loss pulses during synchronization. However, the CVF ensures the elimination of the RP fluctuations during synchronization (Q(VAR) = 0).
At the intervals [1.5; 3.3] s and [4.3; 5.3] s, when the irradiation decreased, the PV with CVF continues to supply the maximum power to the utility grid, contrary to the PI&PLL control. Then, the CVF proves more effective, which is reasonable for use in the case of intermittent renewable sources, such as PV to decrease the irradiation conditions change impact.
Within the interval of time [3.3; 4.1] s, when using the CVF, the PV supplies only the power demand. Therefore, the CVF ensures the optimal needed power to the UGS. Compared to the PI&PLL control, which presents the reactive power fluctuation, the CVF ensures the elimination of RP fluctuations (Q(VAR) = 0).
Figure 9a,b depicts the harmonic performance before and after the CVF application. Herein, the load current THD is reduced from 14.64% to around 1.56% in the utility grid current, knowing that in [
19], the total harmonic distortions value of the waveforms is 2.08%. The non-linear load value has been set according to the recommendation in the standard IEC 62040 [
20]. Accordingly, the non-linear load active power is set to around 60% of the rated power of the inverter. The values of the THD in each reference cannot be clearly compared unless they are implemented on the same system and under the same conditions.