Design of Nonlinear Robust Rotor Current Controller for DFIG Based on Terminal Sliding Mode Control and Extended State Observer

As to strong nonlinearity of doubly fed induction generators (DFIG) and uncertainty of its model, a novel rotor current controller with nonlinearity and robustness is proposed to enhance fault ride-though (FRT) capacities of grid-connected DFIG. Firstly, the model error, external disturbances, and the uncertain factors were estimated by constructing extended state observer (ESO) so as to achieve linearization model, which is compensated dynamically from nonlinear model. And then rotor current controller of DFIG is designed by using terminal sliding mode variable structure control theory (TSMC). The controller has superior dynamic performance and strong robustness. The simulation results show that the proposed control approach is effective.


Introduction
With the development of wind generator technology, doubly fed induction generator (DFIG) has been the dominant technology used in wind power generation systems [1,2].This promising technology offers many technical and economic advantages; however, DFIG easily suffers from the effect of power system disturbances [3].Thus, in many countries, modern grid codes stipulated specifically the voltage sag and overcurrent in the rotor side converter (RSC) profile.This is commonly referred as the fault ride-through (FRT) requirement [4].So it is extremely important to maintain current in the rotor side converter in the DFIG during the period of disturbances.The overcurrent in the rotor side converter and grid-connected operation ability of the DFIG are directly affected by the nonlinear control scheme of RSC.Therefore, it has an important practical significance for researching advanced RSC control method of this stochastic system.
At present, low voltage ride-though (LVRT) of DFIG, which is one of main content of FRT, is studied widely and many improvement approaches are provided by scholars.
However, there are seldom researchers to work on overcurrent of DFIG for improving FRT, which caused by power system disturbances.When a fault occurs in power system, overcurrent in the RSC of wind turbines will threaten the generator's security, which even lead to a serious wind turbine generators tripping accident.So it is extremely important to maintain current in the rotor side converter in the DFIG during period of disturbances.There are some means to enhance the control ability of rotor current and FRT capacity of DFIG.The schemes reported in the literatures can be divided into two categories: (1) using hardware circuit, namely, placing crowbars protection at the RSC and additional bypass resistance in the DFIG structure [5,6], and (2) modifying the conventional control schemes [7][8][9][10][11][12].The first method can improve the FRT capability of DFIG, while increasing the cost and complexity.So it is more worthy of studying by using control strategy without hardware circuit, compared with the current crowbars protection method using bypass resistance.Traditional rotor current controller for DFIG is designed on the determination model and linear control theory, such as PI control, which has a simple structure and is easy to apply.However, DFIG generation system is a typical time-varying dynamic system with parametric uncertainties and strongly nonlinear.The operating conditions of the system have changed all the time, so that these factors make conventional PI controller cannot meet the system requirements.
The linear system control method is based on accurate model, and it does not have the robustness with the parameters.The compensate for the shortcomings of the linear controller, the nonlinear theory is applied to control for DFIG systems.In [7], it has achieved good effect on energy storage system using mainly the sliding mode and fuzzy control; however, the determination of fuzzy control rules is complex.DFIG rotor side control through gain scheduling designed by genetic algorithm (GA) is introduced in [8], and in this work it proposes one which is based on the states feedback in order to provide the rotor current control enclosure.But GA is an optimization algorithm, which is time consuming and easy to be affected by unknown factors of the system.In [9], highorder sliding mode has been applied into control of DFIG and it has good effect.However, it is difficult to apply because it is affected by time-varying parameters, multivariable, and coupling of the actual system.Traditional SMC control has been used for DFIG and achieves good effect [10].But it is hard to achieve the best control effect due to complex design.
The linear sliding mode surfaceis generally chosen by traditional sliding mode control.The state of the system is force to be slide according to the predetermined trajectory, and gradually converge to zero, but tracking error of state does not converge to zero in the limited time.Therefore, terminal sliding mode control is put forward by some scholars.On the basis of the sliding mode control's stability, it tries the best to improve the convergence speed of system [13].Compared with traditional SMC, terminal sliding mode variable structure control (TSMC) has more advantages.As means of discontinuity control, TSMC with robustness, and high control precision, simple structure has been widely used in practice [13].The sliding mode control method for linear system will be more effective.However, the wind turbine is complex and stochastic multivariable nonlinear system.As shown in above, traditional method cannot satisfy it, because traditional method is greatly affected by the disturbance and uncertainty factors.In order to compensate for the shortcomings of the linear system control method and traditional nonlinear control method, the extended state observer (ESO) is applied to design rotor current controller of DFIG [14,15].The ESO in autodisturbances-rejection controller can solve the problem of the disturbance and uncertainty in wind power system [14,15].Dealing with disturbance and parameter uncertainty problem, the inside and outside interference of system can be observed by ESO effectively, then compensate it through the control law, in order to obtain the linearization model by nonlinear factors being compensated dynamically.
The nonlinear controller with strong robust in the power system application is also more and more researcher's attention [16,17].In order to enhance performance of rotor current controller, the novel nonlinear ESO-terminal SMC approach is introduced to design control law of rotor current controller of DFIG in this paper.The ESO is used to estimate the model error and the uncertain external disturbance and eliminate them by feedback.The controller of the rotor current of DFIG, feedback based on ESO, can easily be designed on the terminal SMC method.The proposed algorithm improves the deficiency of the traditional method.The simulation result shows that this method is simple and effective, and the rotor current of DFIG controller has stronger robustness and superior static and dynamic performance than the rotor current controller, which was designed on PI control technique.
The rest part of the paper is organized as follows.Section 2 gives brief description of ESO and terminal SMC.With dynamic behavior of grid-connected DFIG in the synchronous - reference frame given and conventional PI controller briefly described, ESO-terminal SMC scheme is proposed, designed, and analyzed in Section 3. Section 4 presents the simulation results to demonstrate the performance of the proposed control scheme.Finally, the conclusions are made in Section 5.
According to the definitions in (2),  +1 () is the summation of the unknown function (,  (1) ,  (2) , . . .,  (−1) , ) and the external disturbance () in (1).Thus, the output  +1 () in system equation ( 4) can have the real-time estimation for  +1 () as long as a set of functions  1 ( 01 ), . . .,  +1 ( 01 ) can be found to meet the conditions.Since  +1 () is an extended state defined in addition to the necessary states,  1 (), . . .,   (), to describe the dynamics in (1), the nonlinear system equation ( 4) is hence called the ESO.It is obvious that the ESO is one order higher than that of the system to be observed.
The control variable is selected as follows:

Terminal Sliding Model Variable Structure Control.
Taking into account the tracking error of ESO and the limiting feature of controller,  0 () is the primary input of pseudolinear systems after the feedback linearization, which can be designed by using global fast robust terminal sliding mode control.
The so-called terminal sliding mode control is the new terminal sliding surface, which contains nonlinear function, making the tracking error be able to converge to zero in finite time [13].
The traditional form of fast terminal sliding mode is as follows: where  ∈  is the state variable,  > 0, and  and  ( > ) are positive odd number.Due to the nonlinear part  / which is introduced, the convergence speed is improved, but the convergence time of terminal sliding mode control is not the fastest.Therefore, a new global fast terminal sliding modal is proposed in [13].
The terminal SMC form is as follows: where ,  > 0.
The sliding mode control law can be designed from ( 9):

Mathematical Modeling of the DFIG.
The model of DFIGbased wind turbines is studied in [18,19].The equivalent circuit of a DFIG represented in the synchronous - reference frame is shown in Figure 1.
The stator and rotor voltage in the synchronous - reference frame can be given as where  is the voltage vector,  is the current vector, and  is the flux linkage vector, which are shown in Figure 1.
is the voltage,  is the current,  is the flux linkage, and  is the resistance.The indices indicate the direct and quadrature components of the reference frame and indicate stator and rotor quantities, respectively.  is synchronous angular frequency.  is rotor angular frequency.The stator and rotor flux linkage can be given as [19]  , =    , +    , , where In order to reduce the destructiveness of DFIG overcurrent in the rotor winding or large overvoltage in the -link capacitor, it is necessary to consider the dynamic process of stator excitation current in the control strategy of DFIG.Using (12), the rotor flux linkage can be expressed as where   and   are the stator and rotor current intermediate variables, respectively.Substituting ( 13) into (11), the voltage is obtained as where  = 1 −  2  /    is leakage factor.Based on (14), the instantaneous current can be expressed as Substituting ( 16) into (15), the instantaneous rotor current can be expressed with respective --axis as When power system failure occurred, the controller is designed based on (17).Compared with traditional controller, the   (  −     +     )/     and   (  −     −     )/     are nonlinear disturbances, which need to be compensated: where the Δ  , Δ  are disturbance terms of the current controller.This part is chosen as a perturbation, partly because more parameters and nonlinearity are in this part, and it affects the system greatly.We should try to eliminate it in actual.Using ( 18) and ( 19), the terminal SMC controller can be designed.

Proposed Terminal SMC Controller Based on ESO.
Figure 2 shows the schematic diagram of the proposed rotor current controller.The principle of new current controllers for a grid-connected DFIG system is presented in Figure 2.
In a terminal SMC design, the SMC law and switching function are mainly considered [19].Since the and -axis rotor current is designed similarly when a terminal SMC is designed, the only difference between control objects is their parameters.The terminal SMC design of the -axis rotor current is taken for an explanation.Figure 2 shows the control structure of the new terminal SMC applied in the RSC.The same control structure can be used in the grid side converter (GSC) too.
Based on (18), the variations   ,   can be defined as state and input variations, respectively.According to the principle of the conventional PI control for a grid-connected DFIG, two forward channels are designed in the inner current control loops of and -axis rotor current.As a result, the controller of and -axis rotor current is designed, respectively.
Step 1 (designing of ESO).With the -axis rotor current, for example, a coordinate transformation is selected as follows: where  *  is the given value of reference current and   is the given value of actual current.
By differentiating on both sides of (21), ( 22) can be obtained as follows: where The nonlinear factors   ,   ,   , and   are contained in  1 () and those unknown parameters are difficult to be obtained.
Using ESO to do feedforward compensation for the disturbance term of the controller (Δ  , Δ  ) in this paper, the equation contains control input, which contains the nonlinear factors in this paper.
The second-order ESO for system can be expressed as follows: where   () is observable. function is the continuous power law function with linear segment near the origin.It avoids the high frequency chattering phenomenon.
The uncertain factors can be dynamically compensated by  2 . 1 ,  2 , and  are adjustable parameters.
The nonlinear function is defined as follows: where , , and  are control parameters and sgn is symbol function. > 0, 0 <  < 1 are important property of the function.
As stated earlier, the ESO is an observer which can estimate the uncertainties along with the states of the system, and make the disturbance rejected or compensated: where  27); then two first-order systems without disturbances are given.
Step 2 (construction of sliding surface).The control goal of the inner current control loops of and -axis rotor current is to make sure that the actual current should track their references as closely as possible.Consequently, in order to maintain the enhanced transient response and minimize the steady-state error, the switching surfaces can be selected as follows: where () is switching function of the sliding surface, which represents  axis vector, and  1 is positive control gains,  > 0.
By differentiating (28) and combining with ( 20), ( 21) is as follows: According to ( 9), ( 22), and (29), it can be obtained as According to the global fast terminal sliding mode as ( 9), the virtual control variable can be obtained: Terminal SMC is tracking trajectory, and the terminal SMC strategy with variable control structure can solve the steady-state and dynamically state error problem introduced by the external disturbances.The disturbance can be disposed, and it is more suitable for processing rotor current control of DFIG compared to other method.
Step 3 (selection of terminal SMC law).In order to weaken the chattering when state variables rapidly approaching the sliding surface,  / is adopted.We can adjust the parameters of  1 , ,  and to ensure that terminal SMC signal quality and rapid convergence.
The nonlinear factors (Δ  , Δ  ) in ( 22) should be tracked and compensated by  2 of ESO.Based on ( 22) and (26), it can be expressed as follows: Based on ( 22) and (32), it can be expressed as follows: So far, control law can be defined as follows: where  =   ,  2 is extended variable,  1 = 1/  .The schematic diagram of proposed terminal sliding mode controller based on ESO (T-SMCE) is shown in Figure 3, which is the content extended of Figure 2.
Design steps are shown in Figure 4.

Test System Description.
In order to verify the validity of the proposed method, simulations of the proposed control scheme for a DFIG-based wind power generation system were carried out.It compares FRT capabilities of the proposed rotor current controller with the conventional PI controller.A 2 MW DFIG in a wind farm is connected to the transmission system through a 20 km distribution cable.The DFIG is rated at 2 MW with its parameters given in Table 1.The nominal converter -link voltage was set at 1.2 kV.The parameters of terminal SMC, PI, and ESO are given in Tables 2, 3, and 4, respectively.The specific method of determining parameters can be found in [14].
The rotor current will rise rapidly and more exceed the rate value, if there is a fault at some points inside the transmission system.Thus DFIG must be maintained to a sustained grid-connected until the fault is cleared.The control method is mainly studied in this paper, which is to reduce rotor overcurrent of DFIG under power grid disturbances.Therefore, the outer power control loops of rotor side and grid side converters are constant.The mechanical parts of wind turbine are simulated based on the optimal power-speed curve [20], in order to get an accurate comparison between different current controllers.

Comparative Studies
Case 1 (the comparison of different control strategies under three-phase short-circuit fault).Assume that a three-phase short-circuit fault occurs in high voltage side bus of DFIG step-up transformer at 1 s and the failure lasts for 0.12 s.At the condition that the proposed rotor current controller has or not, we compare the voltage of grid-connected, the rotor current and electromagnetic torque of DFIG's response to three-phase short-circuit fault respectively in Figures 5-8.The conventional and proposed methods are shown with point line and solid line, respectively.
The overcurrent in the rotor side converter is greatly weakened under the three-phase short-circuit fault.As shown in Figures 5 and 6, its recovery is more smooth.It has a short adjusting time and it can be fast recovery to steady.So it shows that the rotor current can be effectively controlled by ESO-terminal SMC, compared with conventional PI control scheme.It can reduce overcurrent in the rotor side converter under fault.The oscillation of current needs to be quelled with a long time, using conventional PI controller.But when ESO-terminal SMC is adopted, the current responses rapidly and smoothly.The drastic change of electromagnetic torque and voltage of grid-connected under power grid fault is reduced by proposed controller.There is not a large transient pulse value.The impact of the mechanical stress of the wind generator rotor system is effectively decreased.The working life of mechanical system is extended.
The possibility that a serious wind turbine generators tripping accident caused by fault is reduced.Enhanced transient performances are similar to the conventional PI.Under power system fault, the proposed approach reduced threat for generator security operation caused by the overcurrent in the rotor side converter for wind turbine.It can enhance the control ability of the rotor current and improve the stability and the grid-connected operation ability of the wind turbines.The superiority of the designed controller is verified in this paper.
Case 2 (the comparison of different control strategies under load shedding).When system is in the steady-state operation, a load shedding fault occurs, causing a step response, wherein the active power load in power grid suddenly sags 60% at 1 s.The voltage of grid-connected, the rotor current, and electromagnetic torque of DFIG dynamic response to load shedding without and with the proposed rotor current controller are compared in Figures 9, 10, 11, and 12.The conventional and proposed method is shown with point line and solid line, respectively.As shown in Figures 9-12, under the load shedding, the amplitude of overcurrent in the rotor side converter is greatly weakened.Compared with PI, the transition process is faster and more smooth.The proposed control has a short adjusting time.As a result, rotor current can be effectively controlled by improved ESO-terminal SMC scheme.Under power grid fault, the drastic change of electromagnetic torque and voltage of grid-connected are reduced by proposed controller, respectively.The large transient pulse value is not appearing.The impact of the mechanical stress of the wind turbine rotor system is effectively reduced and also extends the working life of mechanical system.The possibility of the serious wind turbine generators tripping accident is decreasing.It enhances the FRT of DFIG.The superiority of the designed controller is verified in this paper.The PI control The proposed approach i qr (pu) The PI control The proposed approach  The PI control The proposed approach The PI control The proposed approach The PI control The proposed approach can be effectively controlled by improved ESO-terminal SMC scheme.The computation time of PI and proposed method for Case 1 is 2.1 s and 2.7 s, respectively.For Case 2, they are 1.7 s and 2.4 s, respectively.So computational burden of the proposed method is increased.However, under Cases 1 and 2, protection did not trigger by two kinds of control methods, and they can ensure the normal operation of DFIG.The feasibility and effectiveness of the designed controller are verified in this paper.The computation time of proposed method can satisfy the operating requirements and ensure the control effect.

The Comparison Analysis of Computation
In addition, total time taken from the control start to the standard values is defined as  total .The  total of two kinds of control method is shown in Tables 5 and 6 and Figure 13.It shows that the  total is basically the same for two methods under Cases 1 and 2.
Compared with the original PI control, the proposed method increased the computational burden.However, the influence on the system caused by nonlinear factors is reduced.The increasing logic judge for DFIG caused by overshoot is reduced.Thus the computational burden of the proposed method is decreasing.So the  total are basically the same for two methods, as shown in Tables 5 and 6 and Figure 13.As shown in the above, the proposed method can satisfy the engineering requirement.

The Comparison of Controller Characteristics under
Different Load Shedding Proportion.In the simulation, a load shedding fault is happened, causing a step response with the active power load in power grid suddenly drops 10%, 30%, 60%, and 90% at 1 s, respectively.The dynamic responses of DFIG in rotor current under different load shedding proportion with the proposed ESO-terminal SMC are compared in Figure 14.
As shown in Figure 14, with the load shedding proportion increasing, the adjusting time is growing longer and current amplitude is larger.But they are recovery to stability at last.Corresponding to the different load shedding proportion, the overcurrent in the rotor side converter reaches 1.26%, 0.742%, 0.371%, and 0.124%, respectively.Although the load shedding proportion is different, the transient pulse values are almost the same.So it has a good adaptability and robustness for this controller under different load shedding proportion.As a result, when power system failure occurs, the rotor current can be effective controlled by ESO-terminal SMC.It can be improved by the proposed controller under different load shedding proportion.The superiority of the designed controller is verified in this paper.

The Influence of the System Performance Caused by
Parameter Variation.In order to validate the influence of the experiment results caused by , , and  1 , the rotor current of DFIG under different , , and  1 is analyzed in Figures 15-17, respectively.The  is 50, 150, and 500, respectively.As shown in Figure 15, the larger the , the faster the adjusting speed for current in general.As shown in Figure 15, when  is enough small, the feature of the system also be 0.8 0.9 The PI control The proposed approach affected, namely, the chattering in the system increasing.When  = 500, the system adjusting speed is slow, and the chattering of control law is also serious.As shown in Figures 15-17, this controller has strong robustness, and the changes of state variables caused by parameter perturbations can be controlled in reasonable level range.In addition, when  is 5, 150, and 200, respectively, the situation is shown in Figure 16.As shown in Figure 16, the larger the , the faster the adjusting speed for current.
It is proved that the ranges of  are 40∼5000 in this paper, by a lot of simulation experiments.Within the limitation of parameters, it has a good performance when the larger parameters are adopted.With parameter variation increasing, the transient pulse value is small.However, the parameters must be restricted.If the parameters exceed limitation, it could lead to instability for power system.So the proper parameters should be selected.In this paper,  = 50 As shown in Figure 17, the larger the  1 , the faster the adjusting speed for current in general.When  1 = 5, the system adjusting speed is slow, and the chattering of control law is also serious.

Conclusions
The nonlinear rotor current controller is introduced in this paper, which is designed by combining the advantages of ESO and terminal SMC theory.It enhances FRT capabilities of DFIG-based wind power generation system.ESO compensates internal and external disturbances of system dynamically and it has reduced the complexity of the controller and with strong practicability and robustness.Terminal sliding mode makes a design of controllers to simplify and improve the convergence speed.ESO-terminal SMC has the advantages of rapid response and insensitive for disturbances.A nonlinear rotor current control law with good robustness and better dynamic quality is obtained.The proposed ESOterminal SMC has very fast transient response that will effectively eliminate the overcurrent in the rotor side converter and limit electromagnetic torque in the DFIG fluctuations, with strong adaptability.Simulation results show that the proposed rotor current control scheme enables the DFIG to successfully comply with FRT regulations.The proposed control method is easy to be realized in engineering.

Figure 2 :
Figure 2: Schematic diagram of proposed rotor current controller for a grid-connected DFIG system.

1 Figure 3 :
Figure 3: Schematic diagram of proposed terminal SMC based on ESO.

6 Figure 5 :
Figure 5: The rotor current curve of a DFIG in the direct axis.

Figure 6 :
Figure 6: The rotor current curve of a DFIG in the quadrature axis.

Figure 8 :
Figure 8: The voltage curve of grid-connected.

Figure 9 :
Figure 9: The rotor current curve of DFIG in the direct axis.

Figure 10 :
Figure 10: The rotor current curve of DFIG in the quadrature axis.

Figure 13 : 4 Figure 14 :
Figure 13: The rotor current curve of a DFIG in the direct axis under three-phase short circuit fault.

Figure 15 :Figure 16 :
Figure 15: The rotor current curve of a DFIG in the direct axis under different .

Figure 17 :
Figure 17: The rotor current curve of a DFIG in the direct axis under different  1 .

Table 1 :
Parameters of the simulated DFIG system.

Table 2 :
Control parameters of terminal SMC regulator.

Table 3 :
Control parameters of PI regulator.

Table 4 :
Control parameters of ESO regulator.

Table 5 :
The comparison analysis of  total of Case 1 under different controller.

Table 6 :
The comparison analysis of  total of Case 2 under different controller.