Abstract

The new energy promoting community has recently witnessed a surge of developments in photovoltaic power generation technologies. To fulfill the grid code requirement of photovoltaic inverter under low-voltage ride-through (LVRT) condition, by utilizing the asymmetry feature of grid voltage, this paper aims to control both restraining negative sequence current and reactive power fluctuation on grid side to maintain balanced output of inverter. Two mathematical inverter models of grid-connected inverter containing LCL grid-side filter under both symmetrical and asymmetric grid are proposed. PR controller method is put forward based on inverter model under asymmetric grid. To ensure the stable operation of the inverter, grid voltage feedforward method is introduced to restrain current shock at the moment of voltage drop. Stable grid-connected operation and LVRT ability at grid drop have been achieved via a combination of rapid positive and negative sequence component extraction of accurate grid voltage synchronizing signals. Simulation and experimental results have verified the superior effectiveness of our proposed control strategy.

1. Introduction

In recent years, the development and utilization of new energies, such as solar energy, wind energy, and hydrogen energy, are booming in Europe, US, and China, where the distributed photovoltaic power generation technologies are highly concerned. In distributed grid-connected power generation system, most of electric energy generated by energy conversion device will be converted into alternating current (AC) with the same frequency and phase with grid voltage through grid-connected inverter and then transmitted to grid [13]. Power system is dynamic, and its dynamic stability can be affected by many factors, such as setting of generator output limit, grid fault, grid resonance, and nonlinear load. Grid-connected inverter plays an essential interface role between renewable energy conversion device and grid and becomes an extremely important component of distributed power generation system [4]. With the increasing utilization of distributed power generation system in public grid, more and more new energy power converters are connected to grid, and thus rational control of converters is a key factor of efficient and safe utilization of new energy. However, grid is not a constant, stable, and balanced system and is often affected by grid fault, resonance, overload and nonlinear load, and so forth, making design of converter control system more difficult [5]. In recent years, under grid fault especially grid voltage sag, strict requirements of LVRT ability and reactive power injection for grid-connected converter in grid code increase the complexity of control. Design of photovoltaic grid-connected inverter will ensure its reliable and stable operation under normal state of grid and continuous operating ability under grid fault, and another requirement is LVRT ability of distributed power generation system grid-connected converter; that is, [68] such grid-connected inverter will ensure that operating parameters of each phase will not be disconnected to grid because of ultra-limit triggered protection action under grid fault and provide maximum voltage and reactive power support for grid.

Under normal or balanced grid voltage, most of existing photovoltaic grid-connected inverters can operate normally, and rapid non-static-error control of inverter’s output current can be obtained by controller [9, 10]. However, when grid voltage is unbalanced or seriously distorted, grid has unbalanced voltage and current, that is [11]. There are lots of negative sequence components in grid voltage; when carrying out phase lock of grid voltage with phase-locked loop by conversion, axis would have second harmonic fluctuation which is difficult to restrain, while traditional PI controller could only get high-performance control effects when control objects are DC variables. Therefore, when grid voltage is unbalanced or seriously distorted, grid-connected inverter with traditional PI controller would have deteriorated operating performance [12, 13]. Besides, when grid voltage is unbalanced, second harmonic fluctuation generated on axis would also affect calculation of grid phase angle by phase-locked loop [5]. Although second component of axis can be of filtering processing through a specific second wave trap, the detection and computing delay deserve concern. When facing grid voltage flicker, low grid voltage, and unbalanced grid, the grid company requires medium- and high-voltage inverters to detect fluctuations of grid voltage rapidly and make necessary response as required in relevant national standards, in order to carry out rapid support for grid voltage and avoid a larger scale of grid fault [1416].

According to grid code, medium- and high-voltage inverters of large photovoltaic power stations will have certain ability to tolerate abnormal voltage, in order to avoid separation under abnormal grid voltage and lead to unstable grid voltage. According to technical suggestion, photovoltaic inverter can be separated from grid when grid voltage drops to below curve 1 as is shown in Figure 2. Abnormal grid voltage is reflected as voltage drop of grid connection points in photovoltaic grid-connected system, and such voltage drop can be divided into three-phase symmetrical drop and three-phase asymmetrical drop according to grid voltage drop categories. As is shown in Figure 1, there are “Q-GDW 617-2011” and “GB/T 19964-2012” standards issued in 2011 and 2012, respectively. The differences are that both standards define different grid voltage drop depth, response time of reactive power output under grid fault, active power recovery rate when grid recovers, and so forth [17, 18].

According to requirements, photovoltaic inverter maintains operation without disconnection and meets the following conditions during LVRT:(1)At the moment of grid voltage drop, maintain continuous grid-connected operation while protecting photovoltaic inverter to be safe and the time interval from the occurrence of grid drop to generation of reactive current will be less than 30 ms.(2)During the interval of LVRT, maintain stable grid-connected operation of inverter, provide reactive support for grid according to grid connection rules, output range of reactive power will follow grid code requirements, and reactive output range will follow requirements in Figure 2.(3)Upon recovery of grid voltage, active power output will recover to the value before grid fault situation with change rate of at least .

Figure 3 is German grid’s required index of LVRT of wind power generation system [19]. Area 1 in black bold line has power fluctuation ratio per second of , and wind power generation system will have at least 150 ms operating ability when grid voltage drops to 0; the running time of wind power generation system will increase gradually when grid voltage drops to above 0% of rated voltage; the area that will remain connected above Area 1 means that wind power generation system needs 150 ms operating ability when power fluctuation ratio meets , and grid voltage drops to 45% of rated voltage, and operating ability increases with the decrease of drop degree [20].

Denmark regulates that inverters will maintain continuous operation without disconnection for 10 s after nominal voltage recovers from 25% to 75% under three-phase fault and will generate active power-up to rated level within 10 seconds when grid voltage recovers back to again. During grid voltage drop, active power of grid connection points will meet the following conditions [21, 22]:where and are current power and voltage, and are power and voltage under grid fault, and is active power control factor. When voltage recovers to , the output behaviour of inverter will meet reactive power exchanging requirement with grid within 10 s. During grid voltage drop, ensure that inverter will generate reactive current which is equivalent to rated current under normal grid situation.

In addition, Danish grid code also requires that power station could respond to dual voltage dip fault and requires another new 100 ms short circuit with an interval of 300 ms upon two-phase short circuit 100 ms later, and power station has no shutdown. Under another new 100 ms voltage drop with an interval of 1 s upon single-phase short circuit 100 ms later, no shutdown is allowed, and voltage drop curve is shown in Figure 4.

EnergyNet.dk standards also regulate LVRT under some special situations, such as 100 ms three-phase short circuit, 100 ms two-phase short circuit, and new 100 ms short circuit with an interval of 300 ms~500 ms; besides, enough energy will be reserved to respond to at least 6 single-phase and three-phase or two-phase short circuit with an interval of 5 minutes, as is shown in Figure 5.

Besides, countries around the world formulate corresponding network access LVRT technology requirements, and LVRT requirements of UK, US, Spain, and Italy are shown in Figure 6.

According to active and reactive power decoupling control strategy under synchronous rotating coordinate system, control output of outer DC voltage is the given value of active current on axis , and stable DC voltage represents a balanced relationship between input DC power and output AC power. Under grid fault including single-phase grounding short circuit, two-phase short circuit, two-phase short circuit grounding, and three-phase short circuit grounding fault, positive sequence grid voltage will decrease, which will greatly reduce AC output power. At this time, if input DC power remains unchanged, DC voltage loop will increase given value of active current to maintain constant DC voltage. Therefore, output current will significantly increase and exceed maximum current limit of inverter, which will inevitably trigger overcurrent protection and disconnect inverter from grid. Another noteworthy issue is that, under asymmetrical drop of grid, phase lock method of traditional PI controller cannot eliminate second harmonic fluctuation on axis , and delay of phase lock would bring lag of controller-driven waveforms and would often lead to greater delay if grid is in serious unbalanced situation and would result in overcurrent accident if there is no phase compensation, and thus LVRT requirement cannot be reached.

To solve the above problems, the academic circle carries out relevant researches; literatures [23, 24] put forward an improved current control algorithm, that is, dual conversion and PI controller. It decomposes grid voltage and current under positive and reverse synchronous rotating coordinate systems, respectively, and then obtains positive sequence components under positive coordinate system and negative sequence components under reverse coordinate system, both components being DC variables, controls these components by two PI controllers, and thus realizes respective control of positive and negative sequence components of current under asymmetrical grid fault, in order to ensure asymmetrical fault ride-through (FRT) operating ability of inverter. However, this control method will conduct positive and negative sequence decomposition of inner loop feedback current, which will bring delay and error that cannot be ignored at current loops. Under small fault of asymmetrical stable grid state, such as 2% voltage asymmetry, delay has little influence on system operating performance. However, under large fault of transient asymmetry, such as 25% voltage asymmetry, there is a higher requirement for inverter’s control performance because of bad transient process, and thus delay and error brought by positive and negative sequence decomposition process are bound to reduce transient regulation performance of current controller and thus affect transient operating performance of grid-connected inverter. Literatures [25, 26] use active damping control method which adds capacitive current at LCL end to modulation signal, and an advantage of this control method lies in convenient design of controller. However, under different degrees of unbalanced grid, capacitive current feedforward coefficient has great influence on final inverter ride-through effects. Besides, this control method will add three capacitive current detection sensors in terms of hardware design, resulting in an increase of hardware costs. Papers [2729] introduce PR (Proportion plus Resonant) controller to grid current loop controller; because the controlled objects are AC variables, this method does not require coordinate conversion of current. This control algorithm can control positive and negative sequence components of output current simultaneously under stationary coordinate system directly, without necessity of decomposing positive and negative sequence components of current under positive and reverse synchronous speed rotating coordinate systems, and thus eliminate delay of current control loop and improve dynamic control performance of grid-connected inverter under large asymmetrical fault. However, with this control method, there is a series of digital control delay, such as “detection → filtering → control computation → sending driving waveforms” delay, and thus delay and parameter design of controller will be taken into consideration during design of controller. Besides, as there is no conversion process and control variables are AC ones, only AC variables to be converted need filtering. Control complexity is simplified during digital design of system.

2. Mathematical Model

2.1. Mathematical Model of Three-Phase Photovoltaic Inverter under Balanced Grid State

Single-stage photovoltaic grid-connected power generation system is generally consisting of solar cell module array, convergence device, inverter, low-voltage power distribution device, isolation boost equipment, and so forth [30, 31]. Figure 7 is the topological structure of three-phase non-midline single-stage photovoltaic grid-connected inverter, which mainly uses DC voltage capacitance, IGBT three-phase bridge, LCL filter, and so forth.

Low-frequency mathematical model of three-phase photovoltaic inverter is obtained by ignoring high-frequency harmonics related to switching frequency and analyzing fundamental components of inverter. Circuit structure of three-phase photovoltaic inverter as shown in Figure 7 is used to build a low-frequency mathematical model according to basic circuit theorems (KCL and KVL). Before building the model, hypotheses include the following:(a)All switching devices are equivalent to ideal ones; that is, ignore switching loss.(b)Grid-side power is ideal three-phase symmetrical voltage source.(c)Three inductances at the AC side are identical and linear regardless of saturation.(d)To facilitate description of two-way energy transfer, load is equivalent to load resistance and load electromotive force in series.

Combine equivalent resistance of power bridge loss with equivalent resistance of filter inductance at AC side, set , and build circuit voltage current equation of three-phase photovoltaic inverter by KVL and KCL theorems as follows:

Consider that three-phase symmetrical system has the following features:

Integrate formula (2) into (3):

Besides, apply KCL to capacitance at DC side:

Combine formulas (2)~(5), introduce state variable , and state variable expression of static mathematical model of three-phase photovoltaic inverter described by single-pole logical switch state value is as follows:where

Convert mathematical model under three-phase static coordinate system to two-phase rotating coordinate system, in order to convert system parameters from AC to DC ones and facilitate controller design and computation of control parameters. Set rotating coordinate system to rotate with angular frequency of grid voltage fundamental wave, analyze with the example of three-phase symmetrical current at AC side, and the relationship between rotating coordinate system and coordinate system is shown in Figure 8.

According to equivalent conversion vector relationship,

converted matrix can be obtained by the following simplification:

Mathematical model under coordinate system is shown in the following formula:where and denote components on axis of three-phase grid voltage, respectively, and denote components on axis of three-phase grid-connected current, respectively, and and denote components on axis of three-phase inverter output voltage, respectively.

2.2. Mathematical Model of Three-Phase Photovoltaic Inverter under Unbalanced Grid State

When grid voltage is unbalanced, grid-side voltage and current have positive and negative sequence components, and three-phase voltage cannot be simply converted into DC variables through conversion, making design of control system quite complex. This section conducts coordinate conversion for unbalanced three-phase voltage and obtains grid-side mathematical model of three-phase inverter under unbalanced grid according to coordinate conversion principle. When three-phase grid voltage is unbalanced, if we only consider fundamental components, expression of grid voltage is as follows:

In formula (11), denotes positive sequence component amplitude of grid voltage, is negative sequence component amplitude of grid voltage, and is zero sequence component amplitude of grid voltage. denotes angular frequency of fundamental wave, denotes initial phase angle of positive sequence component, denotes initial phase angle of negative sequence component, and denotes initial phase angle of zero sequence component. Conduct conversion of the above formula, and then

Formula (12) denotes that rotating vector of three-phase voltage can be seen as synthesized vector of positive sequence component and negative sequence component under unbalanced grid voltage, as is shown in the following formula:where

As is shown in Figure 9, positive sequence component rotates anticlockwise with angular frequency of fundamental wave, while negative sequence component rotates clockwise with angular frequency of fundamental wave. Then, rotating vector of three-phase voltage is no longer a space vector that rotates with a fixed angular frequency and amplitude of changes with time as well. To simplify computation, express formula (14) as a vector under coordinate system:

In formula (15), is the synthesized vector of rotating vector under coordinate system, is the synthesized vector of positive sequence component under coordinate system, and is the synthesized vector of negative sequence component under coordinate system.

Conduct conversion of three-phase grid voltage, multiply matrix in formula (13) by terms in formula (15) successively, and thenwhere is the synthesized vector of rotating vector under coordinate system, is the synthesized vector of positive sequence component under coordinate system, and is the synthesized vector of negative sequence component under coordinate system. Combine (11) with (16); then

It can be seen from formula (17) that the projection of positive sequence component on coordinate is DC variable, while the projection of negative sequence component on coordinate is doubled frequency AC variable.

Assume a rotating coordinate system , rotate clockwise with angular frequency of , and then the angle between axis and axis is

Based on (16) and (18),

From formula (19), the projection of positive sequence component on this coordinate is doubled frequency AC variable, while the projection of negative sequence component on this coordinate is DC variable. To differentiate, coordinate system that rotates anticlockwise with angular frequency of is called positive rotating coordinate system, while rotating coordinate system that rotates clockwise is called negative rotating coordinate system. According to the above analysis, when three-phase voltage is asymmetrical, the projection of positive sequence component on positive rotating coordinate system is DC variable, and the projection on negative rotating coordinate system is doubled frequency AC variable, while the projection of negative sequence component on positive rotating coordinate system is doubled frequency AC variable, and projection on negative rotating coordinate system is DC variable.

Conduct conversion of grid-side mathematical model under static coordinate system, ignore parasitic resistance on inductance, and thenwhere , , and are synthesized vectors of rotating vectors , , and under coordinate system.

If we conduct conversion of formula (20) directly, according to analysis in the last section, projection values of three-phase voltage and current under a single rotating coordinate system are sums of DC variables and doubled frequency AC variables, but the projection values of positive sequence and negative sequence components on positive and negative rotating coordinate systems, respectively, are DC variables. This paper takes dual rotating coordinate system control and corresponds it to positive and negative sequence components of three-phase voltage and current under positive and negative rotating coordinate systems, respectively, to control DC variables and simplify design of control system and controller. Divide three-phase variables into positive sequence and negative sequence parts, and thenwhere , , and are synthesized vectors of positive sequence components of positive sequence rotating vectors , , and under coordinate system and , , and are synthesized vectors of negative sequence components of rotating vectors , , and under coordinate system. Combine formula (15) with (21) and sort and obtain mathematical model of three-phase grid-connected inverter under positive and negative rotating coordinate systems under asymmetrical grid voltage as follows:

Formula (22) denotes grid-side mathematical models of positive and negative sequence components of three-phase voltage and current under positive and negative rotating coordinate systems, respectively, under the situation of unbalanced three-phase grid voltage. It can be seen that there are mutual coupling phenomena of components on axes and under two rotating coordinate systems, which makes current control more difficult. Thus, current loops under these two coordinate systems are of decoupling control, respectively, to realize independent regulation of axes and . , , and are components on axis of positive sequence components , , and under positive coordinate system, respectively; , , and are components on axis of positive sequence components , , and under positive coordinate system. , , and are components on axis of positive sequence components , , and under negative coordinate system, respectively; , , and are components on axis of positive sequence components , , and under negative coordinate system; under asymmetrical fault of grid voltage in static coordinate system, grid voltage and current have both positive sequence components that rotate positively at synchronous speed and negative sequence components that rotate reversely at . Consider

Under positive synchronous rotating coordinate system, there is

In formula (24), denotes voltage and current, superscripts + and − denote positive sequence and negative sequence components, respectively, and subscripts + and − denote positive and reverse synchronous rotating coordinate systems, respectively. Under positive synchronous rotating coordinate system, voltage and current have positive sequence DC variables and negative sequence AC variables with doubled frequency fluctuation. Besides, with asymmetrical fault of grid voltage, under positive and reverse synchronous rotating coordinate systems, mathematical model of three-phase grid-connected inverter can be expressed in forms of positive and negative sequence components under each coordinate system:

Under asymmetrical fault of grid voltage, active power output and reactive power output of grid-connected inverter are

Substitute formula (24) with formula (26), and then power model under asymmetrical fault of grid voltage can be obtained as follows:where

In the above formula, and denote average components of active and reactive transient power, respectively, and denote doubled frequency component of active transient power, and and denote doubled frequency component of reactive transient power.

If we take positive sequence axis grid voltage vector oriented control strategy, that is, , given command values of positive and negative sequence current components can be obtained, respectively, in order to eliminate doubled frequency fluctuation of active power:

In the above formula, and meet the following relations:

3. Existing Control Strategies

By deducing grid-side current model and active/reactive power model under unbalanced grid, during LVRT, inverter control algorithm will solve three major problems.

Question 1. How to eliminate doubled frequency fluctuation of active power during grid voltage dip?

Question 2. How to eliminate doubled frequency fluctuation of reactive power during grid voltage dip?

Question 3. How to eliminate negative sequence injection current during grid voltage dip?

The academic circle has put forward some control strategies and mainly studies on these three points. For comparison, single axis control method will be added to the following control algorithms under symmetrical grid as follows.

3.1. Control Strategy Based on Current Loop under Single Axis Rotating Coordinate System

The basic idea of using single controller method is to conduct conversion of IGBT inverter-side current feedback signal, obtain and , and send to PI controller. This control method does not conduct positive and negative sequence decomposition of current, and the control block diagram is shown in Figure 10.

This control method will lead to deterioration of control effects during grid unbalance or drop, as it considers feedback current as a whole and does not restrain doubled frequency fluctuation of negative sequence current and active/reactive power. Figure 11 is about waveform of active/reactive power under single-phase drop (drop) of grid. Grid voltage has single-phase drop at 0.1 s, and active power and reactive power have single-phase drop 0.1 s later and lead to doubled frequency fluctuation due to absence of responsive reactive power control method.

3.2. Control Strategy Based on Current Loop under Dual Rotating Coordinate System

Current loop control method under dual rotating coordinate system is used to control positive and negative sequence components of current under different rotating coordinate systems, respectively. Therefore, each rotating coordinate system realizes control of DC variables, and thus PI controller could achieve very good stable state and dynamic performance [14, 15]. Under unbalanced three-phase grid voltage, three-phase voltage and positive and negative sequence components of current are in grid-side mathematical models under positive and negative rotating coordinate systems, respectively. It can be seen that there are mutual coupling phenomena of components on axes and under two rotating coordinate systems, which makes current control more difficult. Thus, current loops under these two coordinate systems are of decoupling control, respectively, to realize independent regulation of axes and .

With the example of current regulation under positive rotating coordinate system, when grid voltage is unbalanced, positive sequence components of grid-side inverter output voltage under positive rotating coordinate system are shown in the following formula:

Make approximation, and

Formula (31) can be expressed as

To eliminate error under stable state, current loop takes PI regulation, and controller can be expressed as

In the above formula, and are positive sequence current reference components on axis and and are proportion and integral coefficient of PI controller, respectively. Cross decoupling control block diagram of positive sequence components of grid-side current on axis under positive synchronous rotating coordinate system can be obtained according to formula (33) and (34), as is shown in Figure 12.

Similarly, use PI controller to control negative sequence components of current and controller:

Assume that there are positive and negative rotating coordinate systems that are symmetrical about axis with rotating angular frequency of and initial angle of . Rotating vector corresponding to output voltage of grid-side inverter can be seen as the vector sum of positive and negative sequence components; that iswhere

Combine formula (34) with (35), and obtain double current loop control block diagram of inverter under positive and negative coordinate systems, as is shown in Figure 13.

According to Figure 14, positive sequence component that inverter outputs is current loop output corresponding to positive sequence current, while negative sequence component that inverter outputs is current loop output corresponding to negative sequence current. Through conversion, and are obtained, and output voltage vector of inverter is obtained through vector synthesis. Vector would be input of space vector pulse width modulation (SVPWM) to control turning on/off of switching devices like IGBT and so forth and finally achieve grid-connected current control objective.

3.3. Active Damping Compensation Feedback Control Strategy

In practical application, in order to conduct real-time detection of inverter-side current to facilitate safety protection, place current sensors at the output side of inverter. Meanwhile, to obtain grid synchronous signals, place voltage sensors at the grid side. As inverter-side output voltage is pulse width modulation (PWM) wave and is inconvenient to measure, in order to use the known measurement of grid voltage and obtain accurate command current, convert formula (31) and obtain the relationship between inverter-side voltage and grid voltage under fundamental waves as follows:

Substitute formula (38) with formula (28) and obtain [16, 17]:

Formula (39) is the relationship between known detection and inverter output power, to eliminate negative sequence current (). Considering full power operation, to simplify computation under designed operating parameters, simplify the above formula and given value of current reference is

Under stable operating state, set and substitute with formula (41), and obtain given value of inner loop current under unit power factor grid-connected operation. When conducting process of LVRT, carry out real-time modification of the value of to regulate reactive power output according to detected grid voltage drop depth. To ensure that grid-connected current does not exceed output protection value, active and reactive power output will meet:

In the formula, denotes the maximum amplitude limit of output current. Stable control and reactive power support after voltage drop are realized by dynamic change of current command value on axis , and select appropriate controller parameters to ensure system stability. As positive and negative sequence dual current loop control method would separate voltage and current into positive and negative sequence components under unbalanced situation while filter capacitive current is mainly high-frequency component, commonly used positive and negative sequence separation method cannot obtain positive and negative sequence components under high frequency. Thus, active damping control method is taken under balanced situation but cannot realize damping control under unbalanced situation and even affect system stability. Add active damping method of filter capacitive current feedforward to modulation signal, and current loop control block diagram is shown in Figure 14. Dashed block on the left side is the control block diagram of unbalanced control algorithm, and dashed block on the right side is the equivalent mathematical model of LCL. Feedforward method shown in Figure 14 avoids positive and negative sequence separation feedforward variable effectively, and regulation of coefficient does not affect transfer function of active damping algorithm in Figure 5 and can restrain resonance of LCL filter effectively.

4. Control Methods Proposed in This Paper

4.1. Phase Lock Control Strategy

Under unbalanced or distorted grid, axis has secondary fluctuation, and thus phase lock method under unbalanced grid is not applicable. When three-phase grid is unbalanced or distorted, the influence of negative sequence components and harmonic components will be considered. For asymmetrical grid three-phase voltage,

The first term on the right side of equation in formula (43) denotes positive sequence fundamental voltage in three-phase grid, the second term denotes negative sequence voltage () and harmonic voltage (), and the third term denotes zero sequence voltage.

For voltage expression of three-phase balanced system,where , , and denote A, B, and C three-phase voltage, is voltage amplitude, and is A-phase angle.

Replace formula (44) with formula (43), and compute new phase error:

When locking phase of positive sequence fundamental components of grid voltage, that is, , phase error can be written in the following form:

From formula (46), negative sequence voltage in three-phase grid would have doubled frequency oscillation signal on phase error ; times of harmonic voltage would generate or times of frequency oscillation signal, and thus cannot express accurately phase error between reference phase and actual positive sequence fundamental voltage phase and thus could not conduct accurate phase lock. To sum up, to accurately realize phase lock of grid-side positive sequence voltage, all oscillation signals in will be filtered. This paper uses sliding Goertzel filter to filter oscillation signals in phase error, and its implementation principle is as follows: compute value of the th harmonic through digital Fourier Transform. Sliding Goertzel filter used in this paper is to compute with assistance of a sliding window with length of based on Goertzel filter.

According to digital Fourier Transform, for continuous time function with period of , value of the th harmonic iswhere is sampling period, is the number of sampling points in a function period, and

Substitute formula (48) with formula (47), and

It is quite complex to compute each harmonic value through (49) directly, and each computation of harmonic value takes a function period. In filter algorithm based on sliding DFT used in this paper, filtering value of previous moment is known, and filtering value of later moment can be obtained through simple recursive operation. This filtering method is simple to compute and has important practical significance. For periodic function , formula (50) is corresponding to discrete Fourier expressions of this periodic function at times and and the th harmonic values of this periodic function at times and :

Thus, the relationship between both th harmonics of periodic function at times and is

According to formula (51), filter with a sliding Goertzel filter, and derive harmonic value of later moment according to harmonic value of previous moment, which is relatively easy and conducive to digitalization. This paper uses sliding Goertzel filter to filter all oscillation signals in phase error and only keep DC variables. Take , simplify formula (51), and obtain

Transfer function of sliding Goertzel filter in domain is shown in the following formula:

Principle block diagram of phase-locked loop applied to three-phase asymmetrical grid is shown in Figure 15.

This three-phase phase-locked loop uses sliding Goertzel filter to filter disturbance generated by negative sequence components and harmonic components in three-phase grid, and the system can lock phase of positive sequence fundamental voltage very well. Expression of A-phase angle and reference phase angle in domain is

Combine formula (53) and (54) with control principle diagram of phase-locked loop, and mathematical model of phase-locked loop in domain can be obtained as shown in Figure 16.

In Figure 16, denotes -domain transfer function corresponding to Goertzel filter, is -domain transfer function corresponding to controller, is a proportion function from controller output to sampling period , and is angular frequency of grid. Considering that and when phase error is very small and formula (46) is met, Figure 16 can be simplified into Figure 17, and we finally obtain a linear mathematical model in domain that is easy to achieve.

This phase-locked loop can eliminate the influence of unbalanced grid voltage and has good dynamic tracking features. Simulation results indicate that this phase-locked loop can lock positive sequence fundamental components in three-phase grid very well under unbalanced three-phase grid voltage, voltage distortion, and sudden frequency changes and has advantages such as good dynamic performance, short dynamic response time, and high precision of stable state.

4.2. Take PR Controller for Grid Current Loop

Under positive and reverse synchronous rotating coordinate systems, although dual and PI current controller can meet control demand of grid-connected inverter system under small fault of asymmetrical stable grid voltage, it has poor response to dynamic transient process under large fault of asymmetrical transient grid voltage. According to Figure 14, dual and PI controller need to conduct positive and negative sequence decomposition of feedback current in current control loop under positive and reverse synchronous rotating coordinate systems. Therefore, wave trap link is introduced to inner current loop, while delay brought by wave trap will affect dynamic performance of system and thus decrease FRT ability of grid-connected inverter. Therefore, new control algorithm will be used to eliminate delay of inner current loop brought by positive and negative sequence decomposition. Then, this paper puts forward an active damping control algorithm based on PR current controller combined with capacitive current feedback.

Mathematical model of grid-connected inverter in static coordinate system is

Here, introduce PR current controller, that is, proportional resonant controller [48], and setwhere denotes transfer function of PR current controller, and the expression is

In formula (57), and denote proportional coefficient and harmonic coefficient of PR controller, respectively and plays the same role with traditional PI controller and is used to regulate dynamic performance of system. is the transfer function of harmonic controller, harmonic angular frequency of which is . In the situation of grid voltage asymmetrical fault under static coordinate system, positive and negative sequence components of grid voltage and current rotate at synchronous angular speed of and , respectively. Thus, positive and negative sequence components of output current can be controlled synchronously by a harmonic current controller. Transfer function of PR controller shown in formula (57) is an -domain function and will be discrete to domain to conduct digital control of grid-connected inverter output current by PR controller. Use Tustin conversion method to make transfer function of PR controller discrete, and thenwhere can be expressed aswhere

In the above formula, is the sampling period of control system.

According to formula (58)~formula (60), discrete difference equation of PR controller can be obtained as follows:where is output value at the th sampling time, is output error at the th sampling time, is output value at the ()th sampling time, is output value at the ()th sampling time, and is output error at the ()th sampling time.

Block diagram of grid-connected inverter system control that uses PR current controller is shown in Figure 19. Use PR current controller, set according to control objective and power, decompose positive and negative sequence components of three-phase grid voltage, and calculate and obtain given command values of positive and negative sequence components of output current. In control block diagram, current control loop has not any delay or error brought by such decomposition. Therefore, dynamic regulation performance of control system under grid voltage asymmetrical fault is improved, and thus FRT ability of grid-connected inverter is improved.

4.3. Grid Voltage Feedforward

At the moment of voltage drop, current shock during switching between stable grid-connected operation and LVRT operating state will be controlled to ensure safe access of photovoltaic inverter to operating interval after drop. For transient process, literature [18] puts forward a feedforward control method with respect to single-phase grid-connected inverter with L-shaped filter; literature [19] uses full voltage feedforward based on LCL filter to restrain the influence of grid voltage harmonic on grid-connected current but could not restrain transient current shock when grid voltage drops. Therefore, this paper, based on the selected inverter grid-connected system, puts forward a simplified grid voltage feedforward control algorithm that retrains transient current shock in terms of transient state of voltage drop. In Figure 14, system input variables are and and output variable is . To analyze the influence of disturbance variable on system stability, simplify Figure 13 into control structure shown in Figure 20, where is grid voltage feedforward coefficient.

In Figure 20, closed-loop transfer function of the system is

In the above formula, denotes grid voltage, where

According to formula (63), control output variable and input variable and grid voltage are all related. Regard as disturbance term, and grid current will increase proportionally at the moment of voltage drop. Therefore, to eliminate the influence of disturbance variable on grid-connected current, introduce grid voltage feedforward, as is shown in dashed part of Figure 24. If disturbance term is completely eliminated, it can be obtained that

Disturbance variable can be completely restrained by using feedforward coefficient of formula (64); that is, distortion of will not affect input of . Differential term and 2nd-order differential term in formula (64) will restrain high-frequency components, and proportional term affects low-frequency components. For grid voltage drop especially transient one, the existence of differential variable will make feedforward signal go to infinity and result in unstable system. At the moment of grid voltage drop, to restrain grid-connected current transient shock, protect safe operation of grid-connected device, and meet requirement of LVRT, simplify formula (64), ignore differential term and 2nd-order differential term in feedforward coefficient, and then obtain

The introduction of feedforward variables would play a good retraining role in transient current shock caused by grid voltage drop. Simplify feedforward coefficient into a proportional link, and add a low-pass filter to collection channel, in order to eliminate the influence of high-frequency variables in feedforward signal on grid-connected output current waveform.

5. Simulation and Test Waveforms

In order to verify the proposed control strategy, this paper applies the simulations and experimental tests to compare response performances by using various methods. The study utilizes Matlab/Simulink for simulation analysis of control strategy and tests on experimental platform. Regarding setup of tests, the situational part is carried out under standard test condition (STC), while the experimental part is carried out under nominal operating cell temperature (NOCT). Table 2 shows the differences of these two conditions. The experimental platform includes the PV power model, inverter, grid simulator, and switch gears. The PV model consists of combination of PV arrays. The rated power of inverter in this paper is 500 kW. Table 1 shows the parameters of inverter. The function of grid simulator is to produce the various grid voltage drops. Regarding the realization solutions of the grid voltage drops, there are generally two methods: the first is reactor combination simulator and the second is converter simulator. In contrast, the advantage of the first one is that the test condition is more close to the real circumstance of grid voltage drops. However, the cost of the first one is much more expensive than the second method. There is no need to use the first solution if not to do certification of the inverter. This paper utilizes the second solution and takes the converter simulator as the source of voltage drops.

Table 2 shows electric parameters of single-block solar cell modules, and a photovoltaic array consists of 20 modules in series.

To verify control effects of this algorithm under balanced grid voltage drop and unbalanced grid voltage drop, set two compared groups, respectively, and standard during LVRT will follow Figure 1(b). In order to obverse the simulation waveform conveniently, this paper sets  s as grid voltage drop time point and sets  s as grid voltage recover time point. Figure 21 shows three-phase voltage and current when voltage drops to 5% Un under balanced voltage drop condition. Before the voltage drops, grid current keeps high sinusoidal to stabilize grid-connected operation. At the time point of , there is no current shock which benefits from the fast grid voltage feedforward as shown in Figure 20. During the interval of grid voltage drop, the reactive current takes the whole proportion of the total current output. It is easy to find that the reactive current entered the stable state in a time cycle. As required in grid code, the value of reactive current should be equal to the reactive current in 100% in normal grid voltage state. After the grid voltage drop, negative sequence current after regulation is rapidly restrained down. The inverter recovers balanced three-phase current output and certain active power output. The recovery time is less than 20 ms.

As required in [6], when grid voltage drops to 5%, photovoltaic inverter will output reactive current at 1.05 times of rated current. In order to observe active and reactive current fluctuation during the interval of voltage drop, the paper gives active and reactive current waveforms after conversion. Figure 22 shows the compared waveforms of active/reactive power, respectively, in the four different control strategies conditions. It is clear to find that active current and reactive current have not occurred during asymmetrical voltage drop. Furthermore, there is no double frequency fluctuation during the voltage fault-mode interval. Besides, in order to decrease the shock of transient current, this study adds the soft start solution in all compared control strategies. Regarding the response time of current, Figure 22(a) takes up nearly 55 ms (2.75 time cycles) at the beginning of voltage drop and 10 ms (0.5 time cycles) at the recovery process. However, this method brings the most serious current shock when voltage begins to recover at time point. Figures 22(b) and 22(d) show a good response performance at the two time points and . Both response times of current are less than 10 ms (0.5 time cycles). Figure 22(c) has a rapid response at the recovery time point but fails to regulate the value of reactive current of which demerit is similar to Figure 22(a).

As discussed above, if asymmetrical grid drop condition occurs (as shown in Figure 18, where only two phases B and C drop), positive and negative sequence decomposition of grid voltage conduct phase lock of grid voltage very well with rapid response. Figure 23 gives waves the active and reactive power under four various control strategies. It can be concluded that the first three strategies result in power fluctuation inevitably. Figure 22(d) shows clearly that both active current and reactive current during LVRT interval have not doubled frequency fluctuation. So, the active power and reactive power in Figure 23(d) are quite stable. As it is an algorithm simulation, the requirement that grid voltage response speed will be within 30 ms in literature [6] cannot be truly reflected in simulation model.

Figure 24 shows experimental waveforms under 500 kW full power. Figure 24(a) shows triphase current under symmetrical voltage drop circumstances. When the triphase voltage decreases to 5%, the triphase output current is regulated into a new value rapidly to response the grid changes. When the triphase voltage recovers to the normal degree, the output triphase current is regulated into the formal value. It can be judged that the inverter has ridden through the low-voltage state successfully. Figure 24(b) shows triphase current under asymmetrical voltage drop circumstances. The voltage of A phase drops to 30%, while the two other phases are stable. We can find that the total Thd of the triphase current is less than 15% and recover time is less than 30 ms, which proves the effectiveness of the proposed strategy.

6. Conclusion

This paper proposes and analyzes the novel mathematical models of photovoltaic inverter under balanced and unbalanced grid. We focus on photovoltaic inverter control strategy to address the complex issues under unbalanced condition. A systematic framework based on PR controller is proposed to enable the grid code control of photovoltaic inverter under LVRT condition. With the PR based control strategy, the system can eliminate negative sequence components of grid current under unbalanced grid voltage and improve doubled sequence fluctuation of output current and power. The general performance of the proposed control method is superior to the existing representative control approaches. In phase lock link of grid voltage, the sliding Goertzel filter is adopted to purify the disturbance generated by negative sequence and harmonic components in three-phase grid. The system has achieved very good performance in lock phase of positive sequence fundamental voltage. In order to eliminate shaking of grid voltage and asymmetrical influence, grid-side voltage feedback link is added to the front end of output modulation wave. It is found that the introduction of feedforward variable would play a very good restraining role in transient current shock caused by grid voltage drop. In the implemented test platform, a simplified feedforward coefficient is embedded into a proportional link, and a low-pass filter is inserted into the collection channel in order to eliminate effectively the influence of high-frequency variables in voltage feedforward signal on grid-connected output current waveform. The proposed mathematical models and principles are verified using intensive simulations and experiments. The results have indicated that grid-side current could fully track the positive sequence components of grid voltage under unbalanced grid voltage. Moreover, the system could sustain a stable and balanced output of inverter under both restraining negative sequence current and reactive power fluctuation on grid side.

Conflict of Interests

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

Acknowledgment

The authors would like to thank the University of Macau for its funding support under Grants MYRG079(Y1-L2)-FST13-YZX and MYRG2015-00077-FST.