#### Abstract

Unbalanced grid faults will lead to several drawbacks in the output power quality of photovoltaic generation (PV) converters, such as power fluctuation, current amplitude swell, and a large quantity of harmonics. The aim of this paper is to propose a flexible AC current generation method by selecting coefficients to overcome these problems in an optimal way. Three coefficients are brought in to tune the output current reference within the required limits of the power quality (the current harmonic distortion, the AC current peak, the power fluctuation, and the DC voltage fluctuation). Through the optimization algorithm, the coefficients can be determined aiming to generate the minimum integrated amplitudes of the active and reactive power references with the constraints of the inverter current and DC voltage fluctuation. Dead-beat controller is utilized to track the optimal current reference in a short period. The method has been verified in PSCAD/EMTDC software.

#### 1. Introduction

Nowadays, photovoltaic generation (PV) has played a vital role in distributed generation systems for its easy installation and absence of fuel cost [1, 2]. Grid-connected PV generation can be divided into centralized generation and distributed generation. For the last few years, the government has supported the distributed grid-connected PV generation (whose installed capacity is less than 6MW) by the demonstration project and subsidy policy, and some international technical standards have been proclaimed for grid-connected PV station. In these technical standards, it is clearly stipulated that each PV generation has to be connected to the grid constantly and provide reactive power support under unbalanced grid fault [3–5].

However, the unbalanced grid voltage sag will make the DC voltage and output powers of PV inverters fluctuate heavily. At the same time, the output current will rise and contain a large amount of harmonics. The PV generation system has to quit operation once either of the DC voltage fluctuation, the output current peak, or distortion exceeds the limit values [6]. Hence, it is not only necessary to analyze the operation characteristics of PV systems, but also important to research on the control strategy of PV systems under unbalanced voltage sag.

According to the safe operation restrain of power converters, a dual synchronous coordinate current control method has been proposed to keep the active power in a constant value under unbalanced voltage [7]. Then the algorithm of the current reference has been improved to maintain the DC voltage constant if the filtering inductance is assumed to absorb the power fluctuation [8, 9]. Keeping the DC voltage and power unchanged under unbalanced voltage sag will make the output current rise. Based on the limited current peak that inverters can bear, [10] has put forward a solution that the exchange power between the inverter and the grid should be reduced to limit the output current amplitude. Consider the influence caused by the injected current of inverters to power grid; the control schemes are designed based on the characteristics of power fluctuation and harmonics [11, 12]. And a control strategy in which the amplitudes of active and reactive power fluctuation are continuously adjustable has been proposed in [13]. In allusion to the grid-connected PV generation system, two adjustable coefficients ( and ) have been added into the algorithm of current reference which are determined by the constraints of current harmonics and power fluctuation [6]. Another coefficient adjustment method of current reference was proposed to reduce the peak current in [14]. However, the present coefficient adjustment algorithms of current references only consider either one of the limit facts [15] (the current peak, harmonics distortion, and DC voltage). They have not presented the feasible regions of the adjustment coefficients for all the limits, and the way of choosing the optimal coefficients has not been mentioned. In a word, according to the present references, PV generation systems cannot satisfy all the former three operation indices at the same time.

Under some practical operation conditions, especially in the night or cloudy daytime, the output active power of the PV generation is usually lower than the rated capacity of the inverter, and the PV generation has a proper capability to adjust reactive power [16, 17]. It is usually assumed that, under unbalanced grid fault, the PV system operates under unity power factor, which means the output reactive power is usually zero. However, it is necessary to utilize PV converters to provide reactive power support to the grid under unbalanced voltage sag. Hence, PV converter control should be designed considering the constraints of the current peak, the harmonics, and the DC voltage limits, and then the low-voltage ride-through ability of PV generations under unbalanced voltage can be significantly improved.

The operation features of a PV generation system under unbalanced grid voltage have been demonstrated by the authors in [15]. This paper is an extension of our preliminary survey in [15] and focuses on the control design of three-phase minidistributed PV inverters. Taking the constraints including the active and reactive power fluctuation, the current peak, and the harmonics into account, this paper has proposed an improved control strategy in which three adjustment coefficients (, , and ) are brought in to tune the current reference. Then the paper has presented adjustable expressions of some typical operating parameters, including the total harmonics distortion (THD), the phase-to-ground current peak, and the power and DC voltage fluctuation. The impacts on control performance caused by the current adjustment coefficients and the feasible region of the coefficients have been discussed. Considering the constraints of the inverter current and the DC voltage fluctuation, the optimal model of the output current reference is established, aiming to generate the minimum integrated amplitudes of the active and reactive power. Then the process of choosing the coefficients of power control is proposed. Finally, the feasibility of the proposed control strategy is verified with PSCAD/EMTDC simulation software.

#### 2. Improved Power Control of PV Inverter under Unbalanced Grid Voltage

The structure of a three-phase PV generation system, which consists of PV array, power converters, and controllers, is shown in Figure 1. The voltage of the DC capacitor should be regulated properly, so that the PV array will be able to work at the maximum power point (MPP) under different light intensity and ambient temperature. As is shown in Figure 1, the active power reference is generated from the error between the capacitor voltage and the reference voltage generated by the maximum power point tracking (MPPT) module. The reactive power reference can be obtained by the reactive power generation strategy.

In addition, combining the above with grid voltage , three-phase current reference value can be generated, and, moreover, the PV inverter power control can be realized through the current tracking loop. There are many studies on photovoltaic MPPT and DC voltage control at present [18, 19]. The paper will mainly discuss the power control strategy under unbalanced grid faults. The distribution network is either generally neutral grounded or arc suppression coil grounding [11], so that there are no zero-sequence voltage and current in the three-phase three-wire system. The terminal voltage and current of PV inverter only contain positive- and negative-sequence components which are expressed as where means the three phase , while , and , are the amplitudes and phase angles of positive- and negative-sequence voltage. Likewise, , and , are the amplitudes and phase angles of positive- and negative-sequence current, respectively. () is the grid frequency.

The output current and voltage of the PV generation can be written in space forms as and , where , , , and . Then the calculation of three-phase instantaneous active power can be described as the dot product of the current vector and the voltage vector:

In order to simplify the calculation, the voltage vector can be calculated as which is an orthogonal vector of . Vector can be expressed as where is also combined with positive-and negative-sequences. The instantaneous reactive power of three-phase photovoltaic inverter can be expressed as

Under an unbalanced grid fault, a reverse cross of the positive- and negative-sequence components of the voltage and current will result in fluctuations of the active and reactive power in a three-phase system. The PV generation should also be fully used to output reactive power on the premise that the PV inverters will not quit operation under unbalanced voltage sag. Based on (1) and (4), the module values of and are equal and it is obvious that . In order to maintain the active and reactive power of PV inverter under unbalanced faults, the current reference can be obtained from (3) and (5):

If the current reference presented above is used in tracking control, the power of PV inverter will be able to track the given value without double-frequency fluctuation. However, the harmonic distortion of output current may be out of limit, which may force the PV inverter to quit operation. Therefore, based on expression (6), three coefficients (, , and ) are brought in and the output current reference of PV inverter under unbalanced faults can be written as

Then the harmonics and the amplitude of the output current can be reduced while the fluctuation of active and reactive power will increase slightly by means of choosing proper values of the coefficients , , and ( and ) in (7).

#### 3. Performance Analysis of Improved Power Control

##### 3.1. Current Harmonic Distortion of PV Generation

Suppose the ratio of negative-sequence voltage to positive-sequence voltage is , and based on (7), (1), and (4), we can get the instantaneous values of the three-phase current:

Take the current of phase A in (8) as an example; the root-mean-square (RMS) values of the fundamental current and the full-wave current are where , , , , and . The RMS values of the fundamental-frequency current and the full-frequency current are basically the same when . The deviation between the values of these two currents will increase as increases. The double-frequency component in (8) is the immediate cause of the current harmonics of inverters. From (9), the current THD of PV generation can be derived as

Figure 2 has shown the changing trend of the current harmonics distortion with the increasing of coefficients and (when pu, pu, , and ). When an unbalanced grid fault of happens, the current THD will exceed the international regulation which is 5% if . It is obvious that the coefficient has a very small range to choose from. The current harmonics injected into the grid under unbalanced voltage can be reduced by reducing . In order to keep the current harmonics within the specified limit, in this paper, it is assumed that so that the PV generation system can bear a big negative-sequence voltage.

**(a)**

**(b)**

##### 3.2. Phase Current Peak Value of PV Generation

The output phase current peak value () can be adjusted by tuning the coefficients and . Set pu, pu, , and ; we can obtain the three-dimensional mesh and contour lines of the peak current. As is shown in Figure 3, there are four local maximum values at the points where and . is close to the rated current peak when , but there will be a large power fluctuation.

**(a)**

**(b)**

The contour lines when the current peak values are equal to 1.1, 1.2, 1.3, 1.5, and 1.7 pu are shown in Figure 3(b). The feasible regions of coefficients and , which are encircled by the contour lines, will expand with the increasing phase current peak values that the PV system can sustain. The coefficient point () which corresponds to unbalanced grid fault of is inside its contour line region. The phase current peak value of the PV generation will be smaller than the value corresponding to the grid fault of . Once any phase current of the PV inverters exceeds the limit, the protection will trip to isolate the PV system from the grid.

##### 3.3. Active and Reactive Power Fluctuation of PV Generation

The output current of a PV system in formula (8) (in this case we set to be 0) will only contain the fundamental component. Substitute into (3) and (5); we can obtain the instantaneous active and reactive powers as where and are the double-frequency fluctuation components of the active and reactive powers.

Figure 4 has shown the changing trend of the power fluctuation with and . If we set , will increase and will decrease as increases. If the PV system injects reactive power into the grid under unbalanced fault, the reactive power reference will cause fluctuation in both and . In Figure 4, if pu (as is shown in the dashed lines), the amplitudes of both and will get to the minimal values when or 0.5.

**(a)**

**(b)**

##### 3.4. DC Voltage Fluctuation of PV Generation

Active power fluctuation will result in slight fluctuations in the DC voltage. Assume that the illumination and the temperature of the PV array remain unchanged and the PV array operates steadily at the maximum power point; the equivalent internal resistance of the PV array can be written as [20]_{,} as is shown in Figure 5, where and are the voltage and current of the maximum power point before grid fluctuation occurs.

In Figure 5, the DC current fluctuation caused by the active power fluctuation is approximately , and the double-frequency component of the DC current can be obtained from (11). The amplitude of the DC voltage fluctuation can be expressed as

The changing trend of the amplitude of DC voltage fluctuation with and is shown in Figure 6, where pu, pu, V, , F, and . Similarly, the given limit value of the DC voltage fluctuation will also determine the feasible regions of the coefficients and . Once any of the indices (the current harmonic distortion, the peak value of phase current, and the amplitude of DC voltage fluctuation) exceeds the limit, the PV generation system will be forced to quit operation, so that it is necessary to choose the coefficients and properly.

**(a)**

**(b)**

#### 4. Optimal Coefficients Selection and Improved Power Control Implementation

##### 4.1. Optimal Coefficients Selection

In order to reduce the power fluctuation and keep the voltage and current fluctuation below the required limits at the same time, this paper has linearly weighted the amplitudes of power fluctuation () and built the optimal selection model of the coefficients and , aiming at getting the minimum synthesis power fluctuation with the constraints of the peak phase current limit and the DC voltage fluctuation limit. The objective function can be expressed as where and are the weighting coefficients of the active and reactive power fluctuation and . The constraint conditions are where and are the maximum limit values of AC phase current peak and the DC voltage fluctuation. Set the rated capacity of the PV system as ; the reactive power reference should be selected within the region . If there is no intersection between the feasible regions of the coefficients and determined by (15) and (16), the reactive power reference should be corrected through iteration. This paper has built an optimal model of the coefficients and with the constrained cyclic coordinate descent method. The procedure of the coefficients selection of power control can be summarized.

*Step 1.* Record , , and before voltage sag and input , , and after the disturbance, and set , , , and .

*Step 2.* Judge whether all of the points in the plane () satisfy (15) and (16) with the same equal interval method: .

*Step 3.* If there is a point () not satisfying the condition, set , , and , and go to Step 2. Otherwise, set and go to Step 4.

*Step 4.* Choose as the starting point: ; set the search step , the precision , and . Then go to Step 5.

*Step 5.* Search using a fixed step towards the according to the direction , , and calculate by (14).

*Step 6.* If increases or does not satisfy (15) or (16) when , stop increasing and .

*Step 7.* Search towards with , and can be found, which is recorded as the optimal point of the th search, namely .

*Step 8.* If , set , and go to Step 5. Otherwise, output the optimal coefficients and .

##### 4.2. Improved Power Control Implementation

The improved control structure of PV system is shown in Figure 7. The positive- and negative-sequence voltage components ( and ) of the PV inverters under unbalanced voltage can be extracted by second-order generalized integrators (SOGI) [11]. From the expressions and , the positive and negative components of the orthogonal voltages and can be calculated. Set the power references , and the three-phase unbalance factor as inputs; the optimal coefficients and can be calculated based on the optimal model in (14) and (16). The three-phase current reference of the dead-beat current inner loop can be deduced from (7) where and are the current control coefficients and is the unit delay of a discrete system.

The inner current loop is based on the discrete state equation considering the delay of sampling and controlling, and it can control the inverters at the next sampling period. In Figure 7, the three-phase dead-beat current controllers are the same and adjusting signal is generated by the current error through the control function . The control coefficients and in the current inner loop can be determined by the sampling period and the parameters , , and of filtering circuit [21].

#### 5. Simulation Results

A PSCAD/EMTDC simulation model of 2 kW PV generation system in Figure 7 is implemented to illustrate the effectiveness of the proposed method. Comparing the reference DC voltage in MPPT with the actual DC voltage, the active power reference can be obtained through the PI controller and the low pass filter (which is used to eliminate the power fluctuation). The discrete unit delay is replaced by in complex frequency domain. The system parameters are listed in Table 1 and based on typical data supplied in [11, 14].

##### 5.1. Characteristics Analysis of Current Harmonic Distortion

Consider this case: the PV’s active and reactive power under normal operation conditions are 2 kW and 1.5 kVar. Negative-sequence voltage sag of appears at s. Set the power control coefficients . In Figure 8, the curves of power fluctuation and current THD of the PV system are under different coefficient . As is shown in the graph, as increases, the current THD increases while the active and reactive fluctuation decrease.

**(a)**

**(b)**

The current THDs are 19.72%, 10.05%, and 2.02% when , 0.5, and 0 in Figure 8(b). The calculation results of expression (10) are 20.41%, 9.75%, and 0 which are basically the same as the simulation results. In Figure 9, the instantaneous three-phase current curves are under three conditions. The current distortion after grid disturbance will have the biggest value when , and the current peak value of phases , will rise apparently. When , the output current distortion is small but the current peak value of phase will rise. Hence, it is necessary to choose proper control coefficients () to decrease the phase current peak value below the specified limit.

**(a)**

**(b)**

**(c)**

##### 5.2. Sensitivity Analysis of Adjustable Coefficients

Suppose the active and reactive powers to be 1.5 kW and 0 Var; the condition of grid unbalanced voltage is the same as the previous case and the PV control coefficient is after s. Figure 10 shows the changing processes of the PV output power and current as the coefficient increases from −1 to 1 with a slope of 4 pu/s. When the output reactive power of the PV system is 0, the active power fluctuation will increase and the reactive power fluctuation will decrease as the coefficient increases, which agrees with the calculation results in Figure 4.

**(a)**

**(b)**

Set the active and reactive powers to be, respectively, 1.5 kW and −1 kVar. Figure 11 shows the changing process of the PV output power and current when the coefficients and increase generally from −1 to 1. In this case, the changing coefficient will have little effect on the active power fluctuation, and the reactive power fluctuation will decrease as increases. From Figures 10 and 11, the output power fluctuation of PV system can be flexibly controlled by adjusting the control coefficients ().

**(a)**

**(b)**

##### 5.3. Improved Power Control with Optimal Coefficients

In the optimal coefficients power control model, we set and and set the active and reactive powers to be 1.5 kW and 2 kVar, respectively. The same as before, a negative-sequence voltage sag of occurs after s, and the optimal coefficients can be calculated by the proposed method as which is presented by the point F in Figure 12. Table 2 shows the calculation and simulation results of power fluctuation, DC voltage fluctuation, and current peak values which correspond to different coefficient points from group D to group K in Figure 2. It is obvious that using the optimal coefficient group F, there will be the lowest comprehensive power fluctuation (both active and reactive fluctuation) which is the objective function in (14) and THD in the output current, and the DC fluctuation will be within the limit.

According to the simulation and calculation results of all the indices for different coefficients in Table 2, the maximum relative errors of the current peak, the DC voltage fluctuation, and the power fluctuation (including active, reactive, and comprehensive fluctuation) are 3.38%, 7.89%, and 8.72%, respectively. The relative errors for all the indices are within ±10%, which proves the correctness of the analytic expressions derived in Section 2. The shadow areas, which are encircled by the contour lines of V and in Figure 12, are the feasible regions (1 and 2) of control coefficients. The coefficient groups D to K are also marked in Figure 12.

From Table 2 and Figure 12, it is known that for group D, only the phase current peak is beyond the limit; for groups I and G, the current peak is within the limit, while the DC voltage fluctuation exceeds the limit. However, both the current peak and the DC voltage fluctuation are out of limit in group H. In Figure 12, all the indices for E, F, J, and K are in the feasible region.

The curves of the output power, the DC voltage, and the three-phase current of PV system under the optimal control coefficients which is in the feasible region 1 are shown in Figure 13. According to the results with coefficient groups J and K in Table 2, the objective function (the comprehensive power fluctuation) in the feasible region 2 has a local minimum value which is still higher than the one with coefficient group F in the feasible region 1. The optimal coefficients used in Figure 13 can achieve the global minimum comprehensive power fluctuation under unbalanced voltage; meanwhile, all the constraints (the current THD, the current peak, and the DC voltage fluctuation) can be satisfied.

**(a)**

**(b)**

**(c)**

#### 6. Conclusion

This paper has dug into the flexible coefficients control strategy and proposed an optimal coefficients selection method focusing on the reactive power demand of the grid under unbalanced voltage. The output current can be determined automatically in an optimal way under different specified constraints of power quality. By testing the simulation model of PV generation system based on the dead-beat current controller, the result has proved that the proposed control strategy can restrict the output current THD within the 5% limit. Choosing the coefficients by using the coefficients optimization model can realize a flexible control towards active and reactive power regulation of a PV system, while the values of the phase current peak and the DC voltage fluctuation can meet the constraints at the same time.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the National Natural Science Foundation of China (51277184) and National High Technology Research and Development of China (863 Program) (2011AA05A107).