Next Article in Journal
Radiation Pattern Synthesis of the Coupled almost Periodic Antenna Arrays Using an Artificial Neural Network Model
Next Article in Special Issue
Step-Down DC–DC Converters: An Overview and Outlook
Previous Article in Journal
Sensitivity Characterization of Multi-Band THz Metamaterial Sensor for Possible Virus Detection
Previous Article in Special Issue
Stability Analysis of Chaotic Grey-Wolf Optimized Grid-Tied PV-Hybrid Storage System during Dynamic Conditions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Grid Synchronization Enhancement of Distributed Generators Using an Adaptive Phase-Locked Loop Tuning System

1
Department of Electrical Power and Machines Engineering, Faculty of Engineering, Tanta University, Tanta 31527, Egypt
2
Department of Electrical Engineering, College of Engineering, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
3
Department of Electrical Engineering, Aswan University, Aswan 81542, Egypt
4
Electromagnetic Energy Conversion Laboratory, Tanta University, Tanta 31527, Egypt
*
Author to whom correspondence should be addressed.
Electronics 2022, 11(5), 702; https://doi.org/10.3390/electronics11050702
Submission received: 30 December 2021 / Revised: 17 February 2022 / Accepted: 17 February 2022 / Published: 24 February 2022
(This article belongs to the Special Issue Environment and Electrical Engineering-Edition 2021)

Abstract

:
This paper proposes an effective algorithm; this algorithm is updating the phase-locked loop (PLL) gains according to the value of the short circuit ratio that will decrease the weak grid effect in the PLL controllers to reduce problems related to renewable energy sources and connect to the point of common coupling (PCC). Based on system parameters estimation, the proposed algorithm enhances the system stability for the distribution networks. The standard IEEE 33-bus test system is used to investigate the proposed algorithm’s effectiveness and superiority. An extensive mathematical effort is exerted to get the system’s small-signal stability (SSS) model. The tuning of the phase-locked loop and the current control loop are choosing to dynamically change according to the system variables to ensure the same system stability margin, whatever the change in the loading conditions. The MATLAB/Simulink model is used to validate the algorithm and simulate the test system.

1. Introduction

Over recent years, the whole world has been transferring to renewable energy sources to generate electricity in order to minimize carbon emissions [1,2]. Renewable energy sources have several challenges in terms of availability, dependability, and control [3,4]. The most control problem facing Distributed Energy Resources (DERs) is the synchronization to the grid. The used tool to realize this synchronization is the Phase-locked loop (PLL) control is used to estimate the grid phase angle, hence generating the same phase from the inverter is possible.
The change of impedance in the distribution system, considered the foremost challenge, is facing the PLL controller of the Distributed Generation (DG). This consecutive change has occurred due to loading condition change, which is the nature of many types of loads, such as domestic load [5].This continuous change in the grid impedance, especially in weak grids, creates the need for adaptive controllers and online monitoring algorithms.
In this study [6], a review of the micro-grid control functions and the time of each control function is provided. For example, the current control should be instantaneous, while the Volt/Var control timing should be in the ms range, and so on. In addition, ref. [7] provides a brief overview of the limitations and benefits of several approaches for estimating grid-impedance.
In this paper [8], the LCL-filter and Current Control Loop (CCL) designs are proposed to reduce the negative effect of the PLL on the system stability considering the weak grids; this study does not consider the voltage at the PCC in the design parameters; however, it is a factor affected by the grid impedance (SCR). The design of the LCL filter enhances the Total Harmonic Distortion (THD) of the injected voltage. The used control technique for CCL is the feed-forward control; this technique is studied for different SCR to prove the effectiveness. Ref. [9] provides a robust control method to stabilize the inverter with LCL-filter by active damping. The inverter used is the current-controlled inverter, a minor type of inverter used in the existing system. In [10], virtual impedance control is proposed to solve the stability problems in the weak grids, and [11] an active damping controller is introduced to enhance the performance of the PLL; however, the internal structure of the PLL is not changed because, in the active damping methods, the change in internal structure is needed.
In ref. [7], a model has been suggested to estimate the grid impedance and drawbacks. It also introduces a method to design a current controller gain based on the parameters for the LCL filter. This method does not consider the bandwidth of the PLL, which affects the whole system’s stability. In this study, two cascaded loops are used to control the inverter. The first is the fast inner current controller, and the outer is the DC voltage controller; however, the criteria to judge the stability is impedance-based, which considers the output impedance of the inverter and the grid.
Ref. [12] has introduced an assessment of the PLL in the weak grid by the small-signal stability study for the DG system. This study introduced the effect of increasing the PLL bandwidth on the weak grids via indicating that some of the eigenvalues tend to move towards instability, which endangers the whole stability of the systems. However, selecting the LCL-filter values is not indicated. A solution to decrease the negative impact of a weak grid on the PLL performance is not indicated using the small-signal stability study. In [13,14,15], an extensive analysis is performed to assess the effect of PLL dynamics on the weak grids. These studies conclude that, when ignoring the grid impedance, the output of the converter will be affected due to the PLL controller. This negative impact is proved by the small-signal stability studies, and ref. [16] introduces modelling and stability analysis for the voltage source converter connected to the weak grid; the used case study here is the wind turbines with multi VSCs connected in the weak grid.
Ref. [17] has introduced a control method to improve the weak grid stability by creating an equivalent model for the connected DG system. This control method is based on the system voltage. The study does not show the effect of this new control system on the small-signal stability. The suggested model in [15] introduced a small signal impedance of the grid-connected inverter, but neither the whole system nor the PLL is not taken into consideration for the small-signal stability study model; the effect of the dynamic of the PLL in weak grids is included in this analysis is not enough. The model presented in [18] is the unified impedance of the grid-connected voltage source. Two types of models are introduced. Firstly, the impedance-based model is used, while the second one is based on the harmonic balance; this paper introduces the two current control loops that are introduced in this paper with an L-filter; the effect of PLL dynamics is also included, but this paper does not introduce a framework to regulate these dynamics or enhance the overall system stability. The synchronization instability from the point of the common coupling point due to the weak grid and PLL design the inverter used here [19] is the impedance-based model. However, using the DC voltage feed-forward term in the current control loop, this paper [20] introduces a control algorithm consisting of two parts. The first part is the power loop to regulate the frequency and angle of the output power and those control loops with the objective of self-synchronization capability. Another method to overcome the weak grid problem is to design the control algorithm to simulate the actual synchronous generator to increase the system strength, such as [21,22,23].
Ref. [24] has proposed a consensus algorithm to determine the compensation effort of the group of connected units according to the power characteristic of each unit and the other connected units; this is a distributed controller. However, this scheme does not consider the grid weakness that may result in stability issues for all systems.
The grid impedance and loading conditions should not be ignored when designing the PLL. A lot of research introduces ways to enhance this issue. However, in many cases, the change of the loading conditions effect on the grid impedance is not taken into consideration, so, in this paper, a new framework to enhance the small-signal stability of the PLL controller in the weak grid by updating the controller’s gains, the updating process is based on system parameters estimation and impedance estimation.
The rest section of this paper is organized as follows: Section 1 contain the introduction; Section 2 introduces the system description, the grid weakness and the tuning procedure for the system controllers; Section 3 introduces the proposed algorithm to enhance the controller’s performance, small signal stability for the system and the system stability criteria; Section 4 introduces the case study used to evaluate the effectiveness of the proposed algorithm and the small-signal stability study results; and Section 5 contains the conclusions of this study.

2. System Description

The commonly used (Photo-Voltaic (PV) or Wind Turbine (WT)) topology consists of two converters: grid side converter and generator side converters such as the regular PV topology or typed four wind turbine [25]. The topologies mentioned above share the same controller loops (inner control loop and outer control loop) and the same pulse-width modulation (PWM) technology as shown in Figure 1, which shows the system under study.
Figure 1 shows the system under study. This system is simulated on the Matlab Simulink software. It contains the voltage source, which simulates the wind or the PV output. The output energy of these sources is fed into the grid side converter and then to the LC filter to reduce the THD of the generated wave. The grid side converter is typically controlled through two control loops; the inner control loop (the current control loop) and the outer control loop (voltage control loop) [26].
In this study, only the inner control loop is simulated to reduce the complexity of the system matrix. The tuning of the inner control loop is introduced in the next section. The Park–Clark transformation matrix converts the ABC-Vector Scheme voltage sequence to the DQ0-Vector Scheme voltage to be controlled through the inner control loop and then transforms the DQ0 output signal from the current control loop to the ABC signal used in PWM. This transformation matrix uses the output phase angle of the PLL control loop.
The PLL control loop is a crucial part of those topologies [27], as the PLL is a signal tracking tool to deliver the right grid angle in optimized time to avoid losing stability. The PLL gains deplaned to the grid impedance, so the controller performance is not the same because of the continuous change in grid impedance. From the previous discussion, we can deduce that the PLL tuning affects the inner control loop stability and the whole system stability so an adaptive PLL system based on the small-signal stability study is proposed.

2.1. Grid Weakness

One of the challenges facing Distributed Energy Resources (DER) Technologies is the availability of energy sources. In most cases, the DER is located in remote areas, which makes the Grid’s Short Circuit Ratio (SCR) small. Thus, the PLL stability is affected; hence, it is necessary to modify the controller damping factor to ensure stability by the small-signal stability study.
The grid weakness is estimated by the SCR ratio of less than 10 in the medium voltage systems. The grid is weak, as reported in [28]. SCR is calculated as in (1). When supplied by a constant voltage, this ratio is affected by the change in load centres (constant power loads). Due to the constant change, PLL stability is strongly affected:
S C R = V p c c 2 Z g P r a t e d
In many cases, we need to calculate the critical value of Z g at a specific SCR to modify the controller parameters to stabilize the system.

2.2. Tuning the Controller System

The following two sections introduce the CCL and the PLL tuning technique. The CCL objective is the speed response, while the PLL objective is the stability of the operation.

2.2.1. CCL Tuning Process

For the system used in this study (Figure 1), the Kerchief voltage equations as in Equations (2) and (3) are used. These equations are converted to the d q -reference frame using the Park and Clark transformation matrix; then, (4) is obtained:
V i n = L f d i d t + R f i + V p c c
L f d i d t = V i n V p c c + R f i
i d i q = R L f i d i q + 1 L f V in   d V pcc   d V in   q V pcc   q + ω i q i d
If it is assumed that u d a s s , u q a s s , as given in (5), Equation (4) can be rewritten in the s-domain (6). This equation is rewritten to get (7). The transfer function of the controlled system with the assumption (5) is given by (8):
u d a s s u q a s s = ω L f i q i d + V i n d V p c c d V i n q V p c c q
u d a s s u q a s s = L f i d i q + R f i d i q
u d a s s u q a s s s d o m a i n = ( L f S + R f ) i d i q s d o m a i n
G d G q = i d ( s ) u d a s s ( s ) i q ( s ) u q a s s ( s ) = 1 S L f + R f 1 S L f + R f
The controller type used to regulate the CCL is the PI controller; thus, the equation that represents this controller is given by (9), where the e d and e q are indicated in (10), and the transfer function of the controller is given by (11):
u d u q = k p d e d + k i d e d d t k p q e q + k i q e q d t
e d e q = i d r e f i d i q r e f i q
G c d ( s ) G c q ( s ) = u d ( s ) e d ( s ) u q ( s ) e q ( s ) = k p d + k i d s k p q + k i q s
The used tuning method to achieve the speed requirement of the CCL is “modulus optimum” [29]. Due to its simplicity and speed, this approach is widely used; however, the R f value is neglected. The cut-off frequency ω c = 1200 π rad/sec and the damping factor ζ = 1 with the value of L f , the controller gains K p , K i will be calculated as (12) and (13):
K p = 2 ζ ω c L f 2 ζ 2 + 1 + ( 1 + 2 ζ 2 ) 2 + 1
K i = ω c 2 ζ 2 + 1 + ( 1 + 2 ζ 2 ) 2 + 1 2 L f

2.2.2. Pll Tuning Process

In this section, the way to tune the PLL is introduced. As known from the Park and Clark transformation, the theory that relies on getting the phase angle can be proved using (14); then, if E α ( t ) is changed by E ( t ) cos ( θ g ) and E β ( t ) is also changed by E ( t ) sin ( θ g ) , Equation (15) can be obtained. On a basis of E q ( t ) , the θ g can be collected:
E d ( t ) = E α ( t ) cos ( θ g ) + E β ( t ) sin ( θ g ) E q ( t ) = E α ( t ) sin ( θ g ) + E β ( t ) cos ( θ g )
E d ( t ) = E ( t ) cos 2 ( θ g ) + E ( t ) sin 2 ( θ g ) = E ( t ) E q ( t ) = E ( t ) ( sin ( θ g ) ) cos ( θ g ) + sin ( θ g ) cos ( θ g ) = 0
As mentioned earlier, the final goal is to get the T f = θ ^ ( s ) / θ ( s ) . As shown in Figure 2, the transfer function will be as in (16), where the E m = E q E q = 3 V m / 2 , where the V m is the maximum voltage of the grid. The denominator of the T f is ( 2 S 2 + 3 K i V m + 3 S K p V m ) , comparing this with the standard denominator of the second order system, which is ( 2 S 2 + 4 ζ ω n S + 2 ω n 2 ) , the ζ ω n will be as shown in (17):
T f = e m K i ( l l p ) S + K p ( l l p ) e m K i ( l l p ) S + K p ( l l p ) + S
ω n = 3 K i ( p l l ) V m 2 K p ( p l l ) = 4 ω n ζ 3 V m
To tune the PI controller of the PLL, the ω n , ζ must be determined, since the main goal of the PLL tuning process is optimum regulation and stability. The method used for this objective is “Symmetrical Optimum” (SO) [29]. In the SO method, the plant transfer function is rewritten as G p = ( 1 / ( 1 + T s s ) ) ( 3 V m / ( 2 s ) ) , where T s is the sampling delay and the controller transfer function is K p ( p l l ) + ( K i ( p l l ) / S ) , and the open-loop transfer function is given by (18). Comparing (19) Bode diagram with the standard Bode diagram of the 3rd order system, the cut off frequency ( ω c ), the damping factor ( ζ ) are collected. New scale factor α = 1 / ( ω c T s ) is identified to initialize the relation between ω c and T s . The resultant equations given by (19) use α to manage the control process to be easier by changing one variable, which is the ζ ; then, the ω c is determined by the already identified sampling time T s = 1 / f s w :
G o l = G p G c = 3 ( K i ( p l l ) + s K p ( p l l ) ) V m 2 s 2 ( 1 + s T s ) = 3 ( K i ( p l l ) + s K p ( p l l ) ) V m 2 s 2 + 2 s 3 T s
ζ = α 1 2 T s = 1 α ω c K p ( p l l ) = 1 α 2 3 V m T s K i ( p l l ) = K p α 2 T s
In (19), the PLL algorithm is made to be dynamic according to the V m (the maximum voltage) at the PCC. The change in the SCR affects the V m . Hence, it dynamically changes according to the change of the SCR ratio or the grid weakness.
Figure 3 indicates the change in the PLL gains according to the change in grid inductance. From this figure, the grid is weak if the SCR value is less than ten. In this case, the PLL controller gains should be changed as (19). In Figure 3, the V p c c is calculated by subtracting the voltage droop at the transmission line from the nominal voltage, and the damping ratio (DRT) of the PLL is kept at the value of 0.5. In the proposed algorithm, the DRT is changed to maintain the small-signal stability at reasonable limits.

3. Solution Methodology

As shown in Figure 4, the small-signal stability model regulates the system’s performance. The grid estimation method based on the wavelet is used to update the value corresponding to the state matrix to complete this system as intended. The system parameters in the state matrix need to be updated through another estimation process. Those two estimation methods are now possible because of the increase in the number of Digital relays, the phasor measurementunits (PMUs), and micro phasor measurement units (µPMUs), which are used in the distribution systems [30,31].

3.1. Control Functions Time Frame

There are three control levels in microgrids and distribution systems, which are referred to as the hierarchical Microgrid Management System (MGMS). Those management functions are performed either in a centralized or distributed way. The primary control level contains all functions executed in the range from microsecond to 1 s, such as volt/var control algorithms or droops control and frequency control functions or f/p. The control level contains various protection functions. The range may also contain the grid connection and disconnection function. A secondary control level can be executed in a range from 1 s to several hours. Those functions are grid connections or disconnections and the optimization functions, which enhance the efficiency of the used resources, the black start, and restoration processes are in this time range. Load forecasts and various short-time economic studies are performed in this range. All procedures take hours or days to complete, such as market analysis and long-term forecasting studies, as well as a distribution management system, which are included in the tertiary control level. Figure 5 describes the timing for all those functions.
In the proposed methodology, the control level for the inverter is in the primary control level. In contrast, the methodology responsible for adjusting the controllers’ gains is in the secondary control level. The secondary control function is triggered by changing the estimated impedance by offsetting 10 % of the maximum Thevenin impedance in the controlled system.

3.2. The Small Signal Stability Model

The small-signal stability is performed on the investigated system to ensure stability under small changes. The system is modelled in mathematical equations as (11); then, the linearization process is performed to get the state matrix as given in (20):
( K p 1 L f + R f L f ) 0 K i 1 L f 0 E q L f 0 1 L f 0 0 0 0 ( K p 1 L f + R f L f ) 0 K i 1 L f E d L f 0 0 1 L f 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 E d K p p l l K i p l l 0 K p p l l 0 0 0 0 0 0 E d 0 0 1 0 0 1 C f 0 0 0 i q C f 0 0 ω n 1 C f 0 0 1 C f 0 0 i d C f 0 ω n 0 0 1 C f 0 0 0 0 0 0 1 L g 0 R g L g ω n 0 0 0 0 0 0 0 1 L g ω n R g L g
To evaluate the eigenvalues for the state matrix, three kinds of parameters must be known: firstly, the grid parameters R g , L g (grid resistance, inductance), R f , L f , C f (LCL- filter resistance, inductance, and capacitance), ω n (nominal frequency rad/sec), secondly, the controllers’ gains K p 1 , K i 1 (inner current controller proportion, integral gains), K p p l l , K i p l l (PLL controller proportion, integral gains), thirdly operating point E d , E q , i d , i q (the grid voltages and currents in the DQ0-reference frame).
The filter parameters are known in the design stage as [32], while the grid parameters are estimated, as mentioned earlier, according to the load profile. Finally, the operating points and controllers’ gains are updated from the existing system at every cycle when needed.
System stats are Δ I 1 d , Δ I 1 q , the small change in the voltage and the current in the converter reference frame, Δ E g d , Δ E g q , Δ I g d , Δ I g q , the voltage and current of the grid in the grid reference frame, and Δ γ 1 d , Δ γ 1 q are i 1 d i d , i 1 q i q , respectively, in a converter reference frame. Δ θ is the change between the grid and the converter reference frames, in order to linearize the system, it is assumed that Δ g = Δ E 1 q .

3.3. Getting SSSS Parameters

Many techniques have been used to estimate the grid-impedance [5]. This study uses a technique based on selected harmonic injection [33]. Through this technique, the harmonic of the selected order is injected through the inverter; then, the current and the voltage are measured. DFT is used to get the specific harmonics. There is no need to disconnect the DG; it can be used online.
The parameters of the study-targeted system are the controllers’ gains for the CCL, the PLL, and the LC-filter impedance; these parameters are known already through the design stage or from the controller itself. In addition, the other system parameters are the grid voltage and currents in the DQ0-reference frame, which can be obtained directly from the controllers.

3.4. System Stability Criteria

To judge if the system is within the stable region, the parameter to be monitored is the DRT. To decrease the inter-area oscillations, the minimum DRT for the overall system is 0.0965 , which is equivalent to 84.46 degrees, which is the maximum angle θ m a x .

4. Case Study

In this section, the case study is used to prove the effectiveness of the proposed algorithm; this section is divided into four subsections. The first subsection is the ZBUS algorithm, the second subsection effect shows the effect of changing the damping ratios, and testing the algorithms at bus #18 in the selected study system, the third subsection shows effect the proposed algorithm on IEEE 33 bus system, and the fourth subsection shows the comparison between using and not using the algorithm.

4.1. Zbus Algorithm

The medium voltage IEEE 33-bus system in which its data can be found [27,34,35,36,37] is used to test the proposed algorithm. Firstly, the grid impedance at every bus must be identified to test the algorithm. Thevenin impedance is calculated for the system considering the constant loads model. The ZBUS algorithm can calculate the Thevenin impedance at each bus [37]. Figure 6 indicates the flowchart used to calculate the ZBUS. The diagonal of the ZBUS matrix is the Thevenin impedance at each bus. Hence, the equivalent Thevenin impedance is calculated at any bus with respect to the load profile change. This study considers this method to get ZBUS as it is used already to calculate the faults at any bus; hence, no additional algorithms are needed. Hence, the time required to execute the whole system sample is decreased. Table 1 indicates the Thevenin impedance at all buses in the studied system.
From Table 1, it can be observed that five buses have less than 10 SCRs. Those buses are 17, 18, 31, 32, 33 in a 100 % loading condition. The SCR ratio is worse if the change in loads is considered according to the load profile as shown in Figure 9.

4.2. Testing the SSS Algorithm

The small-signal stability study is tested if the grid inductance increased from 10 mH to 100 mH. This change is performed at DRT = 0.2. The results are shown in Figure 7. This figure shows that two eigenvalues (Eig 3, Eig 4) are critical eigenvalues because of their moving trend. Those eigenvalues can lead to instability conditions. If the ζ (PLL controller damping factor) changed from 0.2 to 0.4, the system would return to a stable condition with the same grid inductance range, as shown in Figure 8. This figure proves the main idea of the proposed algorithm, which is controlling the system small signal stability that faces small changes according to the loading conditions of the systems. The parameters used in this case study for the DER are indicated in Table 2.

4.3. Effect of the Proposed Algorithm on the Test System Considering the Load Profile

To test the algorithm, the DG is added at bus #18 as it has the minimum SCR among all buses. According to the loading conditions indicated in Figure 9, the system impedance is changed. The system is examined as the grid impedance changes like the actual loading condition.
Thevenin impedance is multiplied by the values of the load profile shown in Figure 9. According to Table 1, the highest loading condition is bus #18, which is used to test the proposed methodology. The eigenvalues of IEEE 33-bus at bus #18 are indicated in Figure 10.
From Figure 10, three loading conditions need to change the DRT to maintain the stability at the controlled value according to the system stability criteria mentioned before. Hence, the damping factor of the PLL needs to change at 0.9, 0.95, 1 p.u. At these loading conditions, the algorithm is activated to regulate the PLL gains to maintain the earlier stability margin. The PLL damping factor is increased to maintain the eigenvalues in the 84.46-degree envelope. The required DRT for 0.9, 0.95, 1 p.u. (loading conditions) at the 18, 20, 19 h are changed from 0.06 to 0.1, 0.13, 0.14, respectively. Figure 11, Figure 12 and Figure 13 indicate the new eigenvalues of the system after modifying the DRT of the PLL.
As shown in Figure 11, Figure 12 and Figure 13, changing the PLL DRT maintains the small-signal stability margin. Figure 14 and Figure 15 indicate the results for the Simulink model. Figure 14 ensures the system’s stable operation controlled by the proposed algorithm. The simulation scenario is that the system starts at hour 17 with 0.78 p.u. Then, at the second 3, the loading changed to 0.9 (which is the loading condition at hour 18); then, at second 6, the loading is changed to 1 (which is the loading condition at hour 19). Finally, the loading is changed to 0.95 (at hour 20). Figure 13 shows the quadrature voltage of the grid ( V q grid), which indicates the transition moment and ensures the stable operation of the grid. The same result is obtained at other buses in the system. Another note is that the proposed methodology runs faster; consequently, it is more suitable for real-time. The simulation results prove that the proposed methodology has not affected the transient stability but enhanced the small-signal stability.

4.4. System Response When the Algorithm Is the Active and Not Active

A small scenario is created for this system to test the effect of this algorithm on the system. Two events occur: first, a temporary fault occurs at the 2 s when the system is loaded at 0.42 p.u., which corresponds to hour 1, then there is a transition at 6 s from 0.42 p.u. to 1 p.u., which corresponds to hour 19, and, finally, a minor disturbance occurs at 8 s.
Figure 16 shows the system response when the algorithm is active and when the algorithm is not active; the results prove the ability to decrease the disturbance effect when the algorithm is activated. As shown, the voltage has fewer transition spikes when the algorithm is active, as shown in the second subfigure of Figure 16. The fourth subgraph indicates the V q . In this subfigure, firstly, the system usually starts with V q = 0 until the fault occurs and is cleared. The average value of the V q is zero, but the system has a transition to another loading condition at the sixth second. If the algorithm is activated, the damping constant is modified to suit the new loading condition, causing the V g swings around the zero again but with greater amplitude, whereas, if the algorithm is not activated, there is no change, as indicated by the yellow response; when the fault occurs again at the 1 p.u., there are two responses: active algorithm and inactive algorithm. When the algorithm is not active, V q oscillated with two spikes instead of one when the algorithm is active. As a result, using the algorithm reduces the number of voltage spices in such a system.
As shown in the third subfigure, using the algorithm reduces oscillation, as indicated by the blue colour, compared to the aggressive behaviour of the system without the algorithm, as indicated by the yellow colour.

5. Conclusions

This paper proposes an algorithm based on a small signal stability study to enhance the control behaviour and maintain the stability in the specific margin at various grid weakness conditions. The proposed model has been extensively tested on the standards IEEE 33-bus test system, and the results confirm the enhancements of the control system behaviour. The given equation dynamically tunes the PLL and the CCL. The dynamic tuning enhances the overall response of the system. The proposed algorithm is simple to apply in real-time applications with the help of an online monitoring device such as (µPMU). In addition, it is suitable for weak and very weak grids, which decreases the availability of the RES.

Author Contributions

Conceptualization, A.M.E. and M.K.E.-N.; methodology, A.M.E., M.K.E.-N. and I.B.M.T.; software, A.M.E. and M.K.E.-N.; validation, A.M.E., M.K.E.-N. and S.K.; formal analysis, A.M.E.; investigation, S.K. and I.B.M.T.; resources, S.K. and I.B.M.T.; data curation, I.B.M.T.; writing—original draft preparation, A.M.E., M.K.E.-N. and I.B.M.T.; writing—review and editing, A.M.E., M.K.E.-N., I.B.M.T. and S.K.; visualization, A.M.E., M.K.E.-N. and S.K.; project administration, A.M.E. and M.K.E.-N.; funding acquisition, I.B.M.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Taif University Researchers Supporting Project number (TURSP-2020/61), Taif University, Taif, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

The authors acknowledge the financial support received from Taif University Researchers Supporting Project number (TURSP-2020/61), Taif University, Taif, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

PLLPhase-Locked Loop
PCCPoint of Common Coupling
SSSSmall-Signal Stability
DGDistributed Generation
DERDistributed Energy Resource
SCRShort Circuit Ratio
CCLCurrent Control Loop
THDTotal Harmonic Distortion
PWMPulse-Width Modulation
WTPhoto-Voltaic (PV) or Wind Turbine
SOSymmetrical Optimum
PIProportional Integral gains
DRTDamping Ratio
PMUPhasor Measurement Unit
µPMUmicro Phasor Measurement Unit
MGMShierarchical Microgrid Management System
DFTDiscrete Fourier Transform

References

  1. Panwar, N.; Kaushik, S.; Kothari, S. Role of renewable energy sources in environmental protection: A review. Renew. Sustain. Energy Rev. 2011, 15, 1513–1524. [Google Scholar] [CrossRef]
  2. Soliman, I.A.; Numair, M.; Akl, M.M.; Mansour, D.E.; Elkholy, A.M.; Hussien, M.G. Hosting Capacity Enhancement Through IoT-based Active Power Curtailment of PV Generation. In Proceedings of the 22nd International Middle East Power Systems Conference (MEPCON), Assiut, Egypt, 14–16 December 2021; pp. 259–264. [Google Scholar] [CrossRef]
  3. Hussien, M.G.; Elkholy, A.M.; Mansour, D.E.; Akl, M.M.; Numair, M.; Soliman, I.A. Performance Enhancement of Wave Energy Converters Integrated with DC Grids Using Energy Storage Systems. In Proceedings of the 22nd International Middle East Power Systems Conference (MEPCON), Assiut, Egypt, 14–16 December 2021; pp. 77–83. [Google Scholar] [CrossRef]
  4. Yekini Suberu, M.; Wazir Mustafa, M.; Bashir, N. Energy storage systems for renewable energy power sector integration and mitigation of intermittency. Renew. Sustain. Energy Rev. 2014, 35, 499–514. [Google Scholar] [CrossRef]
  5. Ghanem, A.; Rashed, M.; Sumner, M.; Elsayes, M.A.; Mansy, I.I. Grid impedance estimation for islanding detection and adaptive control of converters. IET Power Electron. 2017, 10, 1279–1288. [Google Scholar] [CrossRef]
  6. Cheng, Z.; Duan, J.; Chow, M.Y.Y. To Centralize or to Distribute: That Is the Question: A Comparison of Advanced Microgrid Management Systems. IEEE Ind. Electron. Mag. 2018, 12, 6–24. [Google Scholar] [CrossRef]
  7. Temiz, H.; Keysan, O.; Demirok, E. Adaptive controller based on grid impedance estimation for stable operation of grid-connected inverters under weak grid conditions. IET Power Electron. 2020, 13, 2692–2705. [Google Scholar] [CrossRef]
  8. Zhou, S.; Zou, X.; Zhu, D.; Tong, L.; Zhao, Y.; Kang, Y.; Yuan, X. An Improved Design of Current Controller for LCL-Type Grid-Connected Converter to Reduce Negative Effect of PLL in Weak Grid. IEEE J. Emerg. Sel. Top. Power Electron. 2018, 6, 648–663. [Google Scholar] [CrossRef]
  9. Akhavan, A.; Vasquez, J.C.; Guerrero, J.M. A Robust Method for Controlling Grid-Connected Inverters in Weak Grids. IEEE Trans. Circuits Syst. II Express Briefs 2021, 68, 1333–1337. [Google Scholar] [CrossRef]
  10. Chen, X.; Zhang, Y.; Wang, S.; Chen, J.; Gong, C. Impedance-Phased Dynamic Control Method for Grid-Connected Inverters in a Weak Grid. IEEE Trans. Power Electron. 2017, 32, 274–283. [Google Scholar] [CrossRef]
  11. Alawasa, K.M.; Mohamed, Y.A.R.I.; Xu, W. Active mitigation of subsynchronous interactions between PWM voltage-source converters and power networks. IEEE Trans. Power Electron. 2013, 29, 121–134. [Google Scholar] [CrossRef]
  12. Burgos-Mellado, C.; Costabeber, A.; Sumner, M.; Cárdenas-Dobson, R.; Sáez, D. Small-Signal Modelling and Stability Assessment of Phase-Locked Loops in Weak Grids. Energies 2019, 12, 1227. [Google Scholar] [CrossRef] [Green Version]
  13. Dong, D.; Wen, B.; Boroyevich, D.; Mattavelli, P.; Xue, Y. Analysis of phase-locked loop low-frequency stability in three-phase grid-connected power converters considering impedance interactions. IEEE Trans. Ind. Electron. 2015, 62, 310–321. [Google Scholar] [CrossRef]
  14. Davari, M.; Mohamed, Y.A.R.I. Robust Vector Control of a Very Weak-Grid-Connected Voltage-Source Converter Considering the Phase-Locked Loop Dynamics. IEEE Trans. Power Electron. 2017, 32, 977–994. [Google Scholar] [CrossRef]
  15. Wen, B.; Boroyevich, D.; Burgos, R.; Mattavelli, P.; Shen, Z. Analysis of D-Q Small-Signal Impedance of Grid-Tied Inverters. IEEE Trans. Power Electron. 2016, 31, 675–687. [Google Scholar] [CrossRef]
  16. Huang, Y.; Wang, D.; Shang, L.; Zhu, G.; Tang, H.; Li, Y. Modeling and Stability Analysis of DC-Link Voltage Control in Multi-VSCs with Integrated to Weak Grid. IEEE Trans. Energy Convers. 2017, 32, 1127–1138. [Google Scholar] [CrossRef]
  17. Wang, X.; Blaabjerg, F. Harmonic Stability in Power Electronic-Based Power Systems: Concept, Modeling, and Analysis. IEEE Trans. Smart Grid 2019, 10, 2858–2870. [Google Scholar] [CrossRef] [Green Version]
  18. Wang, X.; Harnefors, L.; Blaabjerg, F. Unified Impedance Model of Grid-Connected Voltage-Source Converters. IEEE Trans. Power Electron. 2018, 33, 1775–1787. [Google Scholar] [CrossRef] [Green Version]
  19. Wen, B.; Dong, D.; Boroyevich, D.; Burgos, R.; Mattavelli, P.; Shen, Z. Impedance-based analysis of grid-synchronization stability for three-phase paralleled converters. IEEE Trans. Power Electron. 2016, 31, 26–38. [Google Scholar] [CrossRef]
  20. Ashabani, M.; Mohamed, Y.A.R.I. Integrating VSCs to weak grids by nonlinear power damping controller with self-synchronization capability. IEEE Trans. Power Syst. 2014, 29, 805–814. [Google Scholar] [CrossRef]
  21. Zhang, L.; Harnefors, L.; Nee, H.P. Interconnection of two very weak AC systems by VSC-HVDC links using power-synchronization control. IEEE Trans. Power Syst. 2011, 26, 344–355. [Google Scholar] [CrossRef]
  22. Zhang, L.; Harnefors, L.; Nee, H.P. Modeling and control of VSC-HVDC links connected to island systems. IEEE Trans. Power Syst. 2011, 26, 783–793. [Google Scholar] [CrossRef]
  23. Zhang, L.; Nee, H.P.; Harnefors, L. Analysis of stability limitations of a VSC-HVDC link using power-synchronization control. IEEE Trans. Power Syst. 2011, 26, 1326–1337. [Google Scholar] [CrossRef]
  24. Morales-Paredes, H.K.; Burgos-Mellado, C.; Bonaldo, J.P.; Rodrigues, D.T.; Quintero, J.S.G. Cooperative control of power quality compensators in microgrids. IEEE Green Technol. Conf. 2021, 2021, 380–386. [Google Scholar] [CrossRef]
  25. International Standard IEC 61400-25-2:2015 IEC Webstore Rural Electrification, Wind Power. p. 221. Available online: https://webstore.iec.ch/publication/32564 (accessed on 30 June 2015).
  26. Roncero-Clemente, C.; Gonzalez-Romera, E.; Barrero-González, F.; Milanés-Montero, M.I.; Romero-Cadaval, E. Power-Flow-Based Secondary Control for Autonomous Droop-Controlled AC Nanogrids with Peer-to-Peer Energy Trading. IEEE Access 2021, 9, 22339–22350. [Google Scholar] [CrossRef]
  27. Elkholy, A.M.; Abd el Ghany, H.A.; Azmy, A.M. General Framework for Intentional Islanding to Enhance Distribution System Performance. Electr. Power Compon. Syst. 2020, 48, 1–37. [Google Scholar] [CrossRef]
  28. Cao, W.; Hu, Y. Renewable Energy: Utilisation and System Integration; BoD–Books on Demand: Norderstedt, Germany, 2016. [Google Scholar]
  29. Bajracharya, C.; Molinas, M.; Suul, J.A.; Undeland, T.M. Understanding of tuning techniques of converter controllers for VSC-HVDC. In Proceedings of the Nordic Workshop on Power and Industrial Electronics (NORPIE/2008), Espoo, Finland, 9–11 June 2008; Helsinki University of Technology: Espoo, Finland, 2008. [Google Scholar]
  30. Silva, R.S.; Laburu, F.M.; De Almeida, M.C. On the use of μPMU for state estimation in distribution systems. In Proceedings of the IEEE Power and Energy Society General Meeting, Chicago, IL, USA, 16–20 July 2017; pp. 1–5. [Google Scholar] [CrossRef]
  31. Korres, G.N.; Manousakis, N.M. A state estimator including conventional and synchronized phasor measurements. Comput. Electr. Eng. 2012, 38, 294–305. [Google Scholar] [CrossRef]
  32. Dursun, M.; Dosoglu, M.K. LCL Filter Design for Grid Connected Three-Phase Inverter. In Proceedings of the ISMSIT 2018—2nd International Symposium on Multidisciplinary Studies and Innovative Technologies, Ankara, Turkey, 19–21 October 2018; pp. 1–4. [Google Scholar] [CrossRef]
  33. Asiminoaei, L.; Teodorescu, R.; Blaabjerg, F.; Borup, U. Implementation and test of on-Line embedded grid impedance estimation for PV-inverters. In Proceedings of the 2004 IEEE 35th Annual Power Electronics Specialists Conference (IEEE Cat. No.04CH37551), Aachen, Germany, 20–25 June 2004; Volume 4, pp. 3095–3101. [Google Scholar] [CrossRef]
  34. Elkholy, A.M.; Abd El-Ghany, H.A.; Azmy, A.M. An Advanced Load Shedding Algorithm to Enhance Intentional-Islanding Dynamics. In Proceedings of the 2018 Twentieth International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, 18–20 December 2018; pp. 797–802. [Google Scholar] [CrossRef]
  35. Elkholy, A.M.; El-Ghany, H.A.A.; Azmy, A.M. A proposed load shedding mechanism for enhancing intentional-islanding dynamics of distribution systems. In Proceedings of the 2017 Nineteenth International Middle East Power Systems Conference (MEPCON), Cairo, Egypt, 19–21 December 2017; pp. 870–875. [Google Scholar] [CrossRef]
  36. Elkholy, A.M.; El-Ghany, H.A.A.; Azmy, A.M. Islanding Scenarios for High Reliable Operation of Distribution Networks; Tanta University: Tanta, Egypt, 2019; Chapters 1–100. [Google Scholar] [CrossRef]
  37. Saadat, H. Power System Analysis; McGraw-Hill: New York, NY, USA, 1999; Volume 2. [Google Scholar]
Figure 1. Current-controlled inverter with dq-PLL.
Figure 1. Current-controlled inverter with dq-PLL.
Electronics 11 00702 g001
Figure 2. PLL control system.
Figure 2. PLL control system.
Electronics 11 00702 g002
Figure 3. Effect of changing the grid-inductance with the SCR, Kp, Ki.
Figure 3. Effect of changing the grid-inductance with the SCR, Kp, Ki.
Electronics 11 00702 g003
Figure 4. The proposed methodology.
Figure 4. The proposed methodology.
Electronics 11 00702 g004
Figure 5. The proposed methodology.
Figure 5. The proposed methodology.
Electronics 11 00702 g005
Figure 6. ZBUS flow chart.
Figure 6. ZBUS flow chart.
Electronics 11 00702 g006
Figure 7. Eigenvalues changes with changing the grid inductance damping factor = 0.2.
Figure 7. Eigenvalues changes with changing the grid inductance damping factor = 0.2.
Electronics 11 00702 g007
Figure 8. Eigenvalues changes with changing the grid inductance damping factor = 0.4.
Figure 8. Eigenvalues changes with changing the grid inductance damping factor = 0.4.
Electronics 11 00702 g008
Figure 9. The load profile of the IEEE 33-bus system.
Figure 9. The load profile of the IEEE 33-bus system.
Electronics 11 00702 g009
Figure 10. Eigenvalues for the system at bus 18 with damping factor = 0.06.
Figure 10. Eigenvalues for the system at bus 18 with damping factor = 0.06.
Electronics 11 00702 g010
Figure 11. The eigenvalues of Bus 18 at 18 h after modifying the DRT.
Figure 11. The eigenvalues of Bus 18 at 18 h after modifying the DRT.
Electronics 11 00702 g011
Figure 12. The eigenvalues of the Bus 18 at 20 h after modifying the DRT.
Figure 12. The eigenvalues of the Bus 18 at 20 h after modifying the DRT.
Electronics 11 00702 g012
Figure 13. The eigenvalues of the Bus 18 at 19 h after modifying the DRT.
Figure 13. The eigenvalues of the Bus 18 at 19 h after modifying the DRT.
Electronics 11 00702 g013
Figure 14. Id, Iq, Vq fo the grid and rms voltage and current.
Figure 14. Id, Iq, Vq fo the grid and rms voltage and current.
Electronics 11 00702 g014
Figure 15. The Vq of the grid at the transition moment.
Figure 15. The Vq of the grid at the transition moment.
Electronics 11 00702 g015
Figure 16. System response at two faults when the algorithm is activated and not activated.
Figure 16. System response at two faults when the algorithm is activated and not activated.
Electronics 11 00702 g016
Table 1. Thevenin impedance for the IEEE 33-bus test system.
Table 1. Thevenin impedance for the IEEE 33-bus test system.
Bus R g ( Ω ) X l g ( Ω ) SCRBus R g ( Ω ) X l g ( Ω ) SCRBus R g ( Ω ) X l g ( Ω ) SCR
10.00820.19343432120.27140.1985108230.60140.51647
20.063250.21582467131.179460.9094825241.151830.9452625
30.322780.3267693141.513821.3450219251.702821.3725517
40.479560.4010162151.879281.6663515260.887770.6834932
50.609640.4697949162.340171.9991712271.058370.7717527
60.765310.6205139173.139053.054389281.68261.3326617
70.794250.6546937183.592353.407068292.146241.7477313
80.766160.6172439190.165530.3131164302.438481.9033912
90.524660.4404156201.101191.1520426313.02822.476429
100.014810.100471677211.355821.4478621323.217752.694559
110.038370.118710221.797332.0293116333.429173.022688
Table 2. DER system parameters.
Table 2. DER system parameters.
L f 7.52 mH F grid 50 Hz
C f 39.5 μ F V D C b u s 7.5 kv
-- V g r i d 11 Kv
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Elkholy, A.M.; Taha, I.B.M.; Kamel, S.; El-Nemr, M.K. Grid Synchronization Enhancement of Distributed Generators Using an Adaptive Phase-Locked Loop Tuning System. Electronics 2022, 11, 702. https://doi.org/10.3390/electronics11050702

AMA Style

Elkholy AM, Taha IBM, Kamel S, El-Nemr MK. Grid Synchronization Enhancement of Distributed Generators Using an Adaptive Phase-Locked Loop Tuning System. Electronics. 2022; 11(5):702. https://doi.org/10.3390/electronics11050702

Chicago/Turabian Style

Elkholy, Ahmed M., Ibrahim B. M. Taha, Salah Kamel, and Mohamed K. El-Nemr. 2022. "Grid Synchronization Enhancement of Distributed Generators Using an Adaptive Phase-Locked Loop Tuning System" Electronics 11, no. 5: 702. https://doi.org/10.3390/electronics11050702

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