1. Introduction
With increasing concern about environmental issues and the rising cost of energy resources, a great attention is focused to the use of distributed generation systems such as photovoltaic, wind, biogas, etc. [
1]. Micro-grid is a small power system which employs a variety of distributed energy sources, to increase the reliability and power quality of power system. Micro-grids may operate in both of network-connected and islanding modes. In some micro-grids, particularly in network-connected applications; converting DC to AC power is performed using a single-phase or three-phase inverters [
2,
3,
4].
In power converters connected to networks, the synchronization unit is one of the most important sectors in control systems. In these network-connected applications, PLLs are the most widely used synchronization techniques [
5,
6,
7,
8,
9]. This may be due to the extra benefits of PLL such as simplicity of implementation and its reliability. Dynamic performance and stability of PLL may be influenced by various factors. In some previous papers [
10,
11,
12,
13,
14,
15,
16,
17], the effect of power quality indexes on the behavior of PLL has been discussed. In these papers, PLL performance affected by network voltage unbalance and harmonics has been investigated. In most of these papers, it has been attempted to design a better PLL to handle more network voltage distortions and harmonics [
11,
12,
13,
14,
15,
16]. However, none of these cases have considered the interaction between the PLL and the microgrid-side parameters, which could be a potential for the instability of the PLL.
References [
7,
10], have proposed control systems for converters in network-connected applications. In these papers have been shown that the performance of such systems can be imperiled by the non-linear performance of PLL. Related issues to instability of PLL have been investigated in [
8,
17]. Reported issues in these papers show that these unstable conditions happen under a weak network (network with large impedance). Reference [
18,
19], have studied the PLL instability under island conditions without further discussion. The effects of changes in network impedance on the dynamics of PLL are described in [
8]. This article analyses the impact of network impedance on small signal stability of a three-phase phase-locked loop. Reference [
20], offers a small-signal modeling approach to predict the low-frequency behavior of the network synchronization loop in systems with several parallel inverters.
The stability of PLL in network-connected applications is affected by different factors already discussed in various articles. In most of these studies, microgrid-side factors (generation units, energy storage system, loads, etc.) are considered as a constant current or voltage source [
8,
21,
22,
23]. This means that the effect of the Micro-grid components dynamic on the stability of grid-interface converter and its’ PLL is not studied so far. Similar to the effect of network-side factors on the grid-interface converter stability, dynamics of micro-grid components also play a role in the stability of the grid-interface converter and, in particular, the stability of its’ PLL. A detailed analytical modeling of micro-grid components, including production power fluctuations, energy storage system, the micro-grid load, etc. is done in this paper. Moreover, the stability of PLL is evaluated under different parameters of micro-grid and hybrid storage system. Two new stability analysis criteria for the PLL affected by micro-grid parameters is presented. Finally, through proposed criteria for stability analysis of PLL, the optimized rate of micro-grid and network parameters are obtained using statistical methods (Taguchi approach) and then, the stability analysis of PLL affected by hybrid storage system parameters is investigated. Simulation study is done in MATLAB software area. Simulation results confirm the theoretical analysis and proposed criteria.
2. Modeling and Control of Studied Micro-Grid
Figure 1, shows the schematic of a micro-grid along with the grid-interface converter. In this Figure, the inverter is connected to the DC bus. The DC bus is modeled with a capacitor with capacitance
.
In this study, a micro-grid composed of distributed generation sources, a hybrid storage system (batteries and super-capacitors) with a grid -interface bi-directional converter, DC and AC loads, grid-interface converter and energy management system are considered.
Figure 1a, is consist of a hybrid storage system and a current source. This current source represents the Differences between the load current and the current produced by distributed generation sources. Also,
Figure 1a, shows the scheme of three phase converter connected to the grid through a LCL filter. (DC bus feeds grid-interface converter in
Figure 1a)
In
Figure 1,
are the equivalent capacity of super-capacitor, the equivalent parallel resistance of super-capacitor, the equivalent series resistance of super-capacitor, the filter inductance of super-capacitor’s converter, the filter inductance of battery’s converter, The equivalent resistance of power losses related to the switches of super-capacitor’s converter and the equivalent resistance of power losses related to the switches of battery’s converter, the differences between the load current and the current produced by distributed generation sources, the local load impedance (ohmic load (
) parallel with inductive load (
)), the network (grid) impedance, the network (grid) voltage, the inverter-side inductance, the grid-side inductance, the filter capacitance and damping resistor, respectively.
2.1. Hybrid Storage System
A hybrid storage system, consisting of a battery, a super-capacitor and bidirectional power converters is used to maintain the DC bus voltage and to manage the energy of system. Input or output current of storage system can be controlled appropriately. The control system related to the hybrid storage system would be discussed in the next section. By assuming the insignificance of the switching losses and assuming ideal switches, the average model for hybrid storage system can be obtained from the following equations [
24]:
where
are the super-capacitor voltage, the battery voltage, the super-capacitor current, the battery current, the duty cycle of super-capacitor’s converter, the duty cycle of battery’s converter, respectively.
2.2. The Controller of Micro-Grid and Grid-Side Converter
Figure 2 shows the proposed control system that its aim is to maintain the DC bus voltage
by regulating the battery, the super-capacitor and the grid-interface converter currents. First, the instantaneous voltage
is compared with its reference value. Its error passes from PI controller and the share of the battery, the super-capacitor and the grid-interface converter compensation gets determined. To specify the contribution of each of these elements to the compensation, various indicators could be considered. In this article, sudden changes in power system are compensated by a super-capacitor because, the super-capacitor has a high response speed (super-capacitor employment may also increase battery life). This means that the high frequency error terms would be compensated by the super-capacitor, lower frequency terms by the battery and the rest would be compensated by means of the grid-interface converter.
The so-called frequency bandwidth is determined by a low-pass filter for the battery, a band-pass filter for grid-interface converter and the rest for the grid-interface converter. In this control system, , are the time constant of low-pass filter, the time constant of band-pass filter, the reference charging or discharging current of battery, the reference charging or discharging current of super-capacitor, the inverter d-component current in the inverter-side, the inverter d-component reference current in the inverter-side, the inverter q-component current in the inverter-side, the inverter q-component reference current in the inverter-side, the error current caused by the difference between the instantaneous and reference voltage of DC bus and the reference voltage of DC bus and the reference voltage of DC bus, respectively.
2.3. Small Signal Model of Studied Micro-Grid
According to (4), the small-signal model of system represents the amount of fluctuations of average variables around the operating point. In this Equation, the order of
is the amount of average variable at the operating point, the small signal term of average variable and the average variable, respectively.
Applying Equation (4) to all of the Equations corresponding to micro-grid’s components (Due to the large number of the micro-grid’s equations, the details have been ignored) and assume that the small signal term of the average variables and the changes of average variables (derivatives) at the operating point are insignificant, the network operating point would be achieved by solving the Equations. Due to nonlinearity of the average model, the obtained average model equations should be linearized around the operating point. The above linearization process will result in state Equations (5)–(9):
In the above Equations, , are the network state variable, the output vector and the input vector, respectively.
In this regard, the order of are the inverter d-component current in the grid-side, the inverter q-component current in the grid-side, the d-component duty cycle of grid-interface converter, the q-component duty cycle of grid-interface converter, the d-component instantaneous current of local load, the q-component instantaneous current of local load, the d-component instantaneous voltage of network, the q-component instantaneous voltage of network, the d-component instantaneous voltage of filter capacitor, the q-component instantaneous voltage of filter capacitor, the d-component voltage measured by PLL, the q-component voltage measured by PLL, the angle of inverter current in the grid-side inverter.
3. Proposed Criteria for the Stability Analysis of PLL
Almost all PLLs are comprised of three basic parts: phase detector (PD), loop filter (LF) and voltage controlled oscillator (VCO) [
5].
Figure 3, shows the overall structure of a conventional SRF-PLL. The phase angle of input signal is compared with the feedback of the output of oscillator and the error signal is produced proportional to the difference between the input and output phase angles. Phase detector output, consists of harmonic components, passed by the low-pass filter. Controlled output voltage of the loop filter (which is a function of frequency) enters into the oscillator and produces a phase output. The output signal (which is in the form of phase angle) goes back to the phase detector with a negative feedback. The output signal of oscillator is compared with the input; if their frequency were different, the output frequency of oscillator is changed to be equal with the input frequency. In this PLL, as seen in
Figure 4, a three-phase input voltage (
) is transformed into the rotating frame (
) using Clarke and Park transformation.
Using a feedback loop, the angular position of dq framework is controlled in a way that one of the d or q voltage components is zero. Assuming that the network voltage () is a vector that is rotating with a synchronous angle , hence the angle must match the angle to synchronize the inverter’s output current with network voltage.
According to the Park transformation matrix:
According to the Equation (11), to match angle on the angle , the must be equal to zero. It should be noted that this compliance, in addition to maintaining synchronization between the output voltage of micro-grid and the voltage of main network will also contribute to the stability of PLL. (Because enters into the integrator, its non-zero value may lead to instability of PLL.) Therefore, the condition is considered to be as a proposed criterion for the stability of the PLL.
According to the Equation (6), the output current of inverter
(
) has two components
and
that be obtained as follows:
The order of
are the elements of matrices
C and
D in state equations. According to the above relations and considering that output current of inverter is a vector, this current can be showed as follows:
In Equation (14),
and
are the amplitude and the angle of output current of inverter, respectively. This angle was determined by the PLL. In
Figure 5, it is assumed that the PLL position is after the inverter LCL filter. In this case, the voltage which the PLL measures (
) is affected by two factors: the network-side parameters and the micro-grid-side parameters. Also, it is assumed that
and
(
) are the impedance and the voltage of the network, respectively. Therefore, the input voltage to the PLL will be as follows:
In this regard, the order of
and
is the voltage caused by network-side factors connected to the Micro-grid (the main grid) and the voltage caused by microgrid-side factors, respectively. As shown in
Figure 5.
In above Equations,
,
,
and
are the local load impedance, the network impedance, the
phase created by the existence of the network and load impedances in network frequency and the
phase created by the existence of the network and load impedances in output angular frequency of PLL
, respectively.
Assuming that the network voltage
(
), is a vector that is spinning with a synchronous angle
, the angle
be coincident on the angle
to make the output current of inverter synchronized with the network voltage. (Details is in
Figure 6)
According to the Park transformation matrix:
According to the Equation (11), to match angle
on the angle
, the
must be equal to zero. It should be noted that this compliance, in addition to maintaining synchronization between the output voltage of micro-grid and the voltage of main network, will also contribute to the stability of PLL (Because
enters into the integrator, its non-zero value may lead to instability of PLL). Based on Equations (17), (19) and
Figure 7,
has two parts of
and
which are affected by the main network-side parameters and the microgrid- side parameters, respectively. In fact, it can be said that part
is a kind of annoying factor for the PLL that tries to help
get away from
. The remarkable thing about Equation (25) (annoying factor for the PLL stability) is that the amplitude and direction of inverter’s output current, the local load type and the size of main network impedance may influence the PLL stability.
Moreover, the part related to the main network-side parameters (), tries to neutralize the effectiveness of micro-grid-side factors by setting of . Considering that the maximum amount of is equal to , then if the amplitude of is more than the maximum amount of , no would be found to make zero; this can disturb the stability of the PLL. Therefore, with regard to aforementioned, another stability index may be achieved for PLL as following:
Therefore, in this section, two stability criteria ( and Equation (27)) for the PLL were obtained and in the next section, according to the mentioned stability criteria, the stability of PLL affected by network-side and grid-side factors would be examined.
4. Determining the Optimal Parameters of the Studied Micro-Grid by Taguchi Method
The Optimization Process is one of the most important activities in today’s competitive industry. The high cost of research and development projects has necessitated the exploitation of experiment design methods to determine the impressive factors on processes with the least number of tests. Methods of experiment design have widely been used in the past two decades to achieve this goal. Compared with other commonly-used methods such as full factorial design, fractional factorial, Latin Squares, etc., Taguchi experimental design method, in addition to having this role, has found much wider applicability because of being more comprehensive in some parts of the industry [
25]. Taguchi method may be considered as a statistical method to optimize and improve the quality of each process.
In some cases, the traditional experimental designs are very complicated and sometimes infeasible. When the number of parameters in a process is large, a great number of experiments (simulations) are required to optimize the parameters of the experimental design method. Taguchi method uses a specific orthogonal array to resolve this problem and investigate all parameters by using a few tests (simulations). Taguchi method is widely used in engineering analysis with the aim of obtaining information about the behavior of a process [
26,
27,
28,
29,
30]. The biggest advantages of this method include saving the number of experiments (simulations), saving the time, reducing the costs, etc.
4.1. Testing and Analysis
The purpose of the study is to evaluate the effects of the micro-grid and hybrid storage system parameters on the stability of PLL. The study simultaneously aimed at determining the optimal values of these parameters to improve the stability of PLL and thereby improve the stability of the network-side converter. For this purpose,
are considered as micro-grid electrical parameters and
as the main network parameter. In contrast,
is determined as proposed PLL stability criterion and it is considered as the most important characteristic of the output process. Each regulatory parameter (micro-grid and network-side parameters) has been evaluated in three levels.
Table 1 shows the regulatory parameters of the process along with their levels.
To achieve the aims of this study, a set of simulations data related to the process is required. According to the number of parameters and their levels, the total number of states (tests or simulations) is obtained from . In this equation, n is the number of experiments, L is the number of levels and K is the number of considered parameters. In this study, there are 12 parameters in each of the 3 levels. Therefore, the total number of simulations will be equal to 531,441 tests (simulations). It is clear that carrying out this large number of tests is very time consuming. Moreover, it is not cost-effective. Therefore, Taguchi experimental design approach is used to collect the required data. Taguchi provides a practical approach regarding the quality control of manufacturing industries.
The main objectives of Taguchi method include determining the effect of each parameter on the output process and determining the optimal levels of these parameters. Taguchi method achieves these goals by analyzing simulations data which have been collected in predetermined terms. In this study, experiments have been designed by Minitan17 software. Taguchi suggests an orthogonal array for 12 input factors and 3 levels.
Resultantly, 27 simulative tests were performed according to the levels shown in
Table 2 and the amount of
was measured through the simulation of the mentioned micro-grid (
Figure 1) in MATLAB software. The measured value of
is provided in column 14 in
Table 2.
4.2. The Signal to Noise Ratio Analysis
Signal to noise ratio, represents the sensitivity of the studied characteristic to Input factors in a controlled process [
27,
28,
29,
30,
31]. The optimum condition is detected by determining the effect of each input factor on output Characteristic. From the perspective of the characteristic of the output process, it can be divided into three categories: the less is the better (smaller is better), the closer to nominal amount is the better (nominal is better) and the bigger is the better (larger is better). Taguchi has offered different equations to calculate the signal to noise ratio in terms of the relevance of the desired Characteristic to any of the three mentioned groups [
25,
32]. In general, the highest ratio (S/N) is always desirable in each test. The output measured in this study is
which is placed in the category the smaller is better. Therefore, the following equation is used to calculate the signal to noise ratio.
In above equation,
n is the frequency of each test and
is
i-th measured output. Signal to noise ratio is calculated for each of the 27 experiments performed using the equation mentioned above and is shown in the last column in
Table 2. In this study, each of the tests was done only once and thus,
n is equal to one.
4.3. Analysis of Results for Determining of Optimal Parameters
Because in the Taguchi experiments, only some parts of the possible cases are tested, to ensure the accuracy of the final results, appropriate statistical methods should be used. Analysis of variance is a statistical method that calculates the degree of confidence and determines the contribution percentage of each variable on the output process. Then, the statistical analysis conducted on the results of the experiments (simulations) in micro-grid for the PLL stability are provided.
Table 3, shows the analysis of variance for q-axis component of the voltage measured by the PLL (
). This analysis has been carried out based on a confidence level of 95% (uncertainty 5%).
Columns 2–7 in the
Table 3 show the degrees of freedom (DF) for each parameter, the sum of squares (seq SS), the adjusted sum of squares (Adj SS), the average sum of squares (Adj MS), F statistic,
p statistic and the effect of each input parameter on the desired output (
p%), respectively.
p statistics is used to determine the significant influence of each parameter on the output. According to the analysis which was based on 95% confidence level, if
p value for each parameter is less than 0.05, it would be indicative of the significant influence of each parameter on the output. As is shown in the
Table 3,
p value is less than 0.05 for some parameters.
Table 3, shows the effect of each micro-grid and main grid parameter on the q-axis component of the voltage measured by the PLL (
) and thus the stability of PLL. It is clear that the inductive local load (with inductance
) has the greatest impact on the stability of PLL by more than 14 percent. Other parameters are in order of importance
. In the present study, the amount of signal to noise (S/N) was calculated for the results of all the tests using Equation (28). Then, the mean value of the signal to noise ratio was obtained for each level of each parameter tested.
Figure 8, shows the mean signal to noise ratio for each of the 12 adjustment parameters in the
. As mentioned earlier, high levels of signal to noise ratio are always desirable. Therefore, based on the mean signal to noise ratio of each adjustment parameter, it is possible to determine their optimal levels. According to
Figure 6, the best levels for the parameters of the micro-grid and network to achieve the best stability of the grid-side converter and the PLL stability is in
Table 4.
According to the Result of variance analysis of signal to noise ratio (
Table 3) and mean of signal to noise ratio (
Figure 8), it is clear that the inductive local load (with inductance
) has the greatest impact on the stability of PLL by more than 14 percent. Other parameters are in order of importance
. The eigenvalues of micro-grid’s state matrix (in Equation (5)) for the optimal values of micro-grid parameters are given in
Table 5.
The indicated Eigenvalues in
Table 5 show that the studied micro-grid and also the PLL of grid-interface converter are stable for the micro-grid’s optimal parameters.
Also, for confirmation of the obtained results from the analysis of the Eigenvalues and the proposed stability criteria of PLL, the studied micro-grids simulated for optimal values of micro-grid and network parameters.
According to the
Figure 9, the Voltage
is equal to zero for all the time and this shows that the PLL is stable for optimal parameters of micro-grid and network (according to proposed stability criteria of PLL
).
Now, the stability of PLL is examined for determined optimal values of micro-grid and network parameters by the second proposed Stability criterion in (27).
The Equation (30) implies that only the parameters that lead to the injection of the output current
less than 60.3144 amperes, ensure the PLL stability. According to the proposed criterion, it is clear that the PLL would be unstable for larger output current of inverter (
), larger network impedances (
) and larger reactive loads (
). The inverter output current
for optimal values of micro-grid and network parameters has simulated in
Figure 10, it is clear that mentioned current has satisfied the New Stability criterion and therefore, the PLL is stable for optimal values of micro-grid and network parameters. As shown, PLL is stable according to the stability criteria for the optimal parameters of micro-grid and main network. Now for more reviews, the Output frequency of PLL, DC bus voltage and super-capacitor current has simulated in
Figure 11,
Figure 12 and
Figure 13, respectively.
Figure 11, shows that the output frequency of the PLL is constant and equal to 60 Hz for all the times. This issue is evidence of the PLL stability.
Figure 12 shows that for optimal values of micro-grid parameters, the DC bus voltage is stable and equal to 600 volts. That means, in addition to the PLL stability, the micro-grid is also stable.
As previously mentioned, toward increasing the battery life and also because the super-capacitor has a high response speed, sudden changes in power are compensated by a super-capacitor. This means that the high frequency error terms would be compensated by the super-capacitor, lower frequency terms by the battery and the rest would be compensated by means of the grid-interface converter. As shown in
Figure 13, the sudden power changes in the micro-grid has compensated by the super-capacitor and indicate that the optimal super-capacitor capacity has been correctly selected. It should be noted that, as stated in the previous section, in this study it has been assumed that the battery compensates a pre-specified current of about 10 amperes.