#### Abstract

Due to the increased penetration of wind energy into the electrical power systems in recent years, the turbine controls are actively occupied in the research. This paper presents a nonlinear backstepping strategy to control the generators and the grid sides of a Wind Farm System (WFS) based Direct Drive Synchronous Generator (DDSG). The control objectives such as Tracking the Maximum Power (TMP) from the WFS, pitch control, regulation of dc-link voltage, and reactive and active power generation at varying wind velocity are included. To validate the proposed control strategy, simulation results for 6-MW-DDSG based Wind Farm System are carried out by MATLAB-Simulink. Performance comparison and evaluation with Vector Oriented Control (VOC) are provided under a wide range of functioning conditions, three-phase voltage dips, and the probable occurrence of uncertainties. The proposed control strategy offers remarkable characteristics such as excellent dynamic and steady state performance under varying wind speed and robustness to parametric variations in the WFS and under severe faults of grid voltage.

#### 1. Introduction

In the past decades, various renewable energy sources have received increasing attention as alternatives of fossil fuels [1, 2]. Among various modern renewable resources, wind power is considered the backbone of renewable power generation. It is regarded as a clean energy resource and it is easily accessible and cost effective. So, wind power penetration greatly increases in the electric power systems and it is anticipated to keep steady growth in the upcoming years [3, 4]. On the other hand, in modern wind power systems, three of the most promising types of wind turbine generators are the Doubly Fed Induction Generator (DFIG), the Direct Drive Synchronous Generator (DDSG) with permanent magnet, and the Squirrel Cage Induction Generator (SCIG) [5–12]. But, the main advantage of DDSG is the absence of gearbox coupling the wind turbine to the DDSG and the dc external excitation current. So, during the past few years direct driven DDSGs become very attractive in wind energy application because of their high power density, flexible magnet topologies, reduced maintenance, high effectiveness, high operating efficiency, excellent operation performance, and increased reliability [13–19]. In the area of wind power generation technology, Variable Speed Wind Power Generation System (VS-WPGS) has many advantages over fixed speed ones such as better power quality, higher overall efficiency, lower mechanical stress, and increased energy capture. So, it can be controlled to enable the turbine to operate at its maximum coefficient of power and to ensure the Maximum Power Tracking (MPT) ability [20–22]. To control the VS-WPGS based DDSG, full scale power electronic converter systems are generally used as the interface between the VS-WPGS and the electrical network for satisfying the new standards and grid connection requirements [23, 24]. Thus, they allow controlling the wind turbine system, decoupling the DDSG from the power grid, and the VS-WPGS does not need to synchronize its rotational speed with the electrical network frequency [25]. Thus, VS-WPGS is able to attain high efficacy and performance when connected to the electrical network, not only under normal working conditions but also under irregular and faulty network conditions. Figure 1 illustrates the general control structure for VS-WPGS. This consists of a DDSG side and a grid side inverter interconnected through a dc-link system. So, at the DDSG sides, the speed is controlled to ensure the MPT. The grid side converter is employed to regulate the dc-link voltage for a proper transfer of power [13, 19, 26, 27]. Also, the inverter system ought to have the ability to regulate reactive and active power that the VS-WPGS exchange with the electrical network and attain unity power factor (UPF) of total system [28]. Various power electronic device configurations were presented in the literature for VS-WPGS based DDSG [29–31]. On the other hand, to increase the annual energy yield of VS-WPGS, MPT control is essential under the rated wind velocity. Then, by changing the rotor velocity of DDSG according to the varying wind velocity, maximum power is extracted from available wind [21, 22, 32, 33].

Also, variable speed wind turbines frequently employ pitch control system, either active stall or pitch to feather, to reduce the aerodynamic power captured [34, 35].

According to Fault Ride-Through (FRT) requirements, during faults of grid voltage, the WFS must remain connected to the electric network. As an example, Figure 2 presents a diagram of the FRT requirements in some countries. So, these requirements present a considerable challenge to the well-established WFS technologies and their control [36]. Besides, developing effective control approaches WFS will improve the system availability to extract as much power from the wind as possible whereas it is available. On the basic aspect, Vector Oriented Control (VOC) is widely used because of its simple control configuration, ease of design, and economical cost. In [37, 38], control strategy has been developed for integrated control of wind turbine based PMSG. The works [39, 40] have presented Low Voltage Ride-Through (LVRT) of WECS. But, this technique cannot offer satisfactory control performance if the controlled system is highly nonlinear and uncertain. Moreover, it generally works at particular operating range and it is obligatory to retune the controller if the operating range is modified, whereas the WFS is usually affected by varying the operating condition and outside disturbance.

To overcome the above problems, Direct Control Techniques (DCT) were proposed to substitute the VOC strategy for both rectifier systems and electrical network connection control. Direct power control (DPC) and Direct Torque Control (DTC) of a three-phase converter for fault tolerant DDSG drive were proposed in [29]. The works [19, 41] have proposed TMP algorithm using DTC for DDSG wind turbines. The most important advantages of DCT strategies include low sensitivity to the accuracy of WFS parameter estimation, rapid dynamic response, and easy implementation and they do not necessitate space vector modulation (SVM). But, they can suffer from high torque ripple and variable switching frequency of the power electronic converters and their performances deteriorate at low speed.

On the other hand, modern WFS necessitate efficient and supple technologies that adapt to modifications in load and generation. Also, in order to increase the availability and reliability of WFS, effective strategies are considered crucial means to achieve these goals and to improve the electrical network connected operation capability. Recently, backstepping control approach has received worldwide attention due to its systematic and recursive design methodology for nonlinear control [42]. The stabilization of a virtual control state is the fundamental idea of the backstepping algorithm. This nonlinear control method is principally interesting due to its capacity to design adaptive controllers for nonlinear systems and to analyze the problem of stability. The advantages of backstepping control are related to the employment of the Lyapunov functions to ensure the robustness and stability of the system, consequently enhancing the performance of system [43]. Also, because of the flexibility to avoid cancellations of suitable nonlinearities and attain the objectives of tracking and stabilization, the backstepping approach has been generally applied in control systems. In the work of [44] backstepping control is developed to deal with the Tracking the Maximum Power (TMP) from the WFS. The work of [45] presents a backstepping control strategy to design a permanent magnet liner synchronous motor servo drive system with uncertainty. Wai et al. [46] proposed the backstepping design for a grid-connected inverter. Ruan et al. [47] proposed an adaptive control strategy using backstepping technique for the Voltage Source Converter (VSC) based High Voltage dc (HVDC) system to develop its dynamic performance. The idea of backstepping approach is to choose recursively some suitable functions of state variables like pseudo-control inputs for lower dimension subsystems of the entire system. The most attractive point of this technique is to employ the virtual control variable to create the original high order system simple. It decomposes a difficult control problem into simpler ones and it chooses recursively suitable functions of state variables which are the virtual control variables. Each backstepping step results in a novel virtual control to deal with a decomposed subsystem problem. So, this virtual control becomes a reference to the next algorithm step for another subsystem. Also, it produces a related error variable that can be stabilized by carefully choosing proper control inputs which can be determined using Lyapunov stability analysis [43]. When the procedure is finished, a true control input for the original control objectives can be generated by summing up the Lyapunov functions associated with each individual design step [48].

This study presents a backstepping control design for the WFS using PMSG, connected to the electrical network. So, a backstepping scheme is developed in the sense of Lyapunov stability theorem to ensure the control objectives of Tracking the Maximum Power (TMP) from the WFS, pitch control, regulation of dc-link voltage, and reactive and active power generation at varying wind velocity. In the first place, mathematical model of WFS is described. In the meanwhile, design of the backstepping technique is provided. Then, simulation studies using MATLAB/Simulink are carried out in Section 3. Finally, some conclusions are summarized in Section 4.

#### 2. Description of the Proposed WFS

This section describes the proposed wind energy conversion system using DDSG and presents its modelling and control strategies.

##### 2.1. System Description

The schematic diagram of the grid-connected DDSG-WTS is shown in Figure 3. It is composed of three wind turbines directly linked to DDSGs connected to the grid throughout a converter, which consists of a grid side inverter (GSI) and a generator-side rectifier (MSR). The MSR control the DDSGs to extract the maximum power from the wind [49]. The GSI sustains a constant dc-link voltage and controls the active and reactive power that the WTS exchanges with the electrical power.

So, the converters allow adapting frequencies and voltages between the DDSG terminals and the grid.

##### 2.2. Wind Turbine Characteristics

According to aerodynamics, the maximum power extracted by the rotor blades is expressed as [50]:where is the air density, is the rotator radius, is the speed of wind, is the optimal tip speed ratio (TSR), is the maximum value of the performance coefficient of the turbine, and * is* the blade pitch angle. The tip speed ratio is determined by the rotor speed and the wind speed asSo, an efficient TMP is fundamental for WFS to develop the energy capture effectiveness from wind and the pitch angle is set as zero during the TMP operation. The optimal TSR strategy is realized by directly regulating the tip speed ratio, which is calculated by real time using wind velocity and generator speed, to follow a preobtained . Therefore, one way to modify the captured wind power is to adjust the DDSG speed, which is depicted in Figure 4 [51]. As seen, different turbine velocities are associated with different captured wind power. Consequently, the generator-side rectifiers in Figure 3 regulate the speeds of DDSGs to attain TMP in combination with the pitch control system. Figure 4 depicts the typical wind turbine power-rotor velocity characteristic curves for different wind velocities, where the optimal power curve illustrates the TMP at different conditions of wind speed. The maximum power extracted can be obtained as a function of the shaft velocity:where is the coefficient of rotational velocity for the maximum extracted power through at the wind generator. It should be noted that when the wind velocity is high, the generator velocity and power would exceed the maximum value if the MPPT control is still employed. The pitch control is provided to limit the captured power and the generator speed. So, the pitch angle is set to zero to obtain TMP if the speed is below the maximum speed. But, if the velocity exceeds its rated value, the pitch angle is controlled to limit the captured power to the maximum rated value and the WFS would lead to deviating the TMP searching strategy to prevent overspeeding. The pitch control diagram is shown in Figure 5.

##### 2.3. DDSG Dynamic Modelling

If the rotating reference frame is aligned with the magnetic axis of the rotor, the electric dynamics equations of a three-phase DDSG can be written in a synchronously rotating reference frame as [52]where , are stator terminal voltages in the frame (V); , are direct and quadrature currents components in the stator windings (A); , are inductances of the DDSG in the frame (H); is resistance of the stator windings (Ω); is flux linkage generated by the permanent magnets (Wb).

The electrical angular velocity of the rotor, , is defined aswhere is the number of pole pairs of the generator; is the mechanical angular velocity (rad/sec).

If the DDSG is assumed to have equal -axis, -axis in inductances (), the torque developed by the DDSG isThe generator velocity in the one-mass model of the wind turbine systems is given as follows:where is the moment of inertia (Kg·m^{2}), is the viscous friction coefficient (Nm/rad·sec^{−1}), and is the mechanical torque developed by the wind turbine (WT) (Nm).

##### 2.4. Backstepping Control Design for the MSR

To attain optimum power effectiveness regardless of wind speed variations, the MSR is used to control the DDSG speeds. Control of the MSR permits the generators to regulate the rotational velocities according to the wind variation. On the other hand, the TMP algorithm adopted in this work is the tip speed ratio control. The backstepping control is employed to perform the TMP control of the wind turbine systems. So, according to (2), the reference of the mechanical DDSG speed can be derived asFor each MSR, the major control objective is to track the velocity reference asThe dynamic of the velocity tracking error is expressed asFrom (6)-(7) and (10), we haveSo, a first Lyapunov function candidate is defined as [53]Differentiating (12) gives usEquation (13) can be reorganized aswhere is the positive closed-loop feedback constant. According to (14), the backstepping law can be designed as follows:If the speed error can be made to zero by selecting proper control input, (14) can be simplified to [54]Consequently, by Lyapunov stability analysis, the velocity controller is asymptotically stable. To stabilize the currents components and , define the following current errors:where , are the current references. Taking the derivative of and with respect to time and using (4), one can obtain where and are the positive closed-loop feedback constants. The second Lyapunov function candidate is defined as Differentiating (20) gives usFrom (14) and (18)–(19), (21) can be reorganized asThe commands and are carried out from (22) asUsing (16) and (23), (22) can be simplified toTherefore, by Lyapunov stability analysis, the backstepping regulator is asymptotically stable and the control of the DDSG speeds is attained. The control diagram for individual MSR is depicted in Figure 6.

##### 2.5. Nonlinear dc-link Voltage Regulation

The GSI controls the dc-link voltage and transfers the power from turbine-DDSG to the grid. Also, it contributes to the reactive and active power control of the overall DDSG system [55]. If the reference frame is rotating synchronously with the electrical grid voltage vector, the dynamic model voltage equations of the electrical network connection in grid voltage oriented reference frame are represented as follows:where , are the grid side inverter voltage (-) components (V); is the amplitude of the grid voltage (V); (Ω) and (H) are the resistance and inductance of the filter; is the angular frequency of grid; and and are the -axis current and -axis current (A) of the electrical grid, respectively. The active and reactive power can be calculated as follows [56]:Equations (26) illustrate that the active and reactive powers are regulated to achieve the required voltage by changing the respective current of the* d*-*q*-axis. The dc-link voltage equation can be formulated as in the following equation:where is the capacitance of the dc-link capacitor (F); is dc-link voltage (V); is the current between the dc-link and the grid; and is the current between the dc-link and the DDSG stators (A). So, the active power along the side of the GSI isFrom (27)-(28), the dc-link voltage dynamics can be calculated asConsequently, to transfer all of the active power generated in turbine-DDSG, the dc-link voltage must be maintained at a constant value using the current control of . Equation (29) can be reorganized aswhere is the generated power of the DDSGs. Equation (30) can be expressed asThe tracking error of the dc-bus voltage is defined as The dc-link voltage tracking error has the following dynamic:where is the current reference. Consider a third Lyapunov function candidate:From (33), differentiating (34) gives usSo, (35) can be reorganized aswhere is the positive closed-loop feedback constant. According to (36), the backstepping law can be designed as follows: From (37), (38) can be simplified toConsequently, by Lyapunov stability analysis, dc-link voltage controller is asymptotically stable. To stabilize the currents components and , define the following current errors:The reference is calculated from the desired power factor. Based on (37) and (39), (33) can be reorganized asBesides, from (25) and (39)-(40), one can obtain where and are the positive closed-loop feedback constants. Consider the fourth Lyapunov function candidate: Differentiating (43) gives usFrom (41) and (42), (44) can be reorganized asAccording to (45), the backstepping law can be designed as follows: Using (37) and (46), (45) can be simplified toTherefore, by Lyapunov stability analysis, the backstepping regulator is asymptotically stable and the control of the GSI is attained. The control diagram is depicted in Figure 7.

#### 3. Simulation Result Analysis

The performance of the proposed nonlinear control strategy is demonstrated in this section. The controller is tested on the WFS control strategy found in Section 2. The schematic of the overall control scheme of the WFS is illustrated in Figure 7. Numerical simulations are carried out using MATLAB/Simulink software to verify WFS performance. System data used are listed in Tables 1, 2, and 3. The performance coefficients of the turbines are evaluated as the following form:where reaches the maximum value when is .

Besides, the simulation will be performed in three steps with different objectives. The first scenario consists in operation under changing wind velocities, the second is robustness of proposed control strategy against electrical and mechanical parameter changes, and the third is an AC voltage sag.

##### 3.1. Case 1: Performance Evaluation under Normal Operation of Proposed Control

Figure 8 shows the wind velocities for the different wind turbine systems (a), the individual pitch angle for each wind turbine (b), the performance coefficients of the turbines (c), the speeds of DDSG (d), and the total power extracted by the wind farm (f). It has been noted that the speeds of DDSG are adapted relative to the variation of wind speed and the can be preserved at a maximum value which could yield to TMP by working the turbines at the speed references. The pitch angle controls are activated for velocities above the rated wind velocity to control the rated power of the DDSGs. If the wind turbines receive wind velocities which are lower than the rated speed, the pitch angles are set as 0° to generate the maximum extracted power. The wind turbine systems operated at theirs maximum performance coefficients and the pitch angle were kept at their optimal values. The controller performs the power maximization according to the wind velocity variation. But, pitch controls are activated to restrict the rotational velocities to below the maximum speed and to limit the powers of turbines when the wind velocities are above the rated speed. In this study, the DDSG rated speed is 2.57 rad/s. So, in high wind velocity regions, the DDSG velocities and extracted power would not exceed the maximum. The generated power of the WFS is shown in Figure 8(f). Figure 8(e) shows wind DDSG1 speed follows the optimal speed provided by the TMP operation as the wind velocity varies. The DDSG1 velocity is able to track its optimal values precisely. Figures 8(g)–8(h) show the currents of DDSG1, where the generator currents are able to track their optimal values precisely. Figure 9 illustrates the dc-link voltage response. The dc-link voltage controller tried to maintain the constant value so that the dc-link voltage had an approximately constant value of 2100 V. Figure 10 shows the simulation result of reactive power which is controlled to be zero. Figure 11 illustrates a detailed view of the grid currents and phase voltage during the wind variation where the proposed WFS produces sinusoidal currents at electrical network with unity power factor. The simulation results show that the proposed backstepping controllers have good performance and can guarantee acceptable global regulation and tracking performance to extract and convert power under varying wind speeds.

**(a) Wind speeds (m/s)**

**(b)**Pitch angles (in degree)

**(c)**Coefficient of power,**(d) Speed of DDSGs (rd/s)**

**(e) Speed of DDS1 (rd/s)**

**(f) Total power extracted (W)**

**(g)**Quadrature current component of DDSG1 (A)

**(h)**Direct current component of DDSG1 (A)##### 3.2. Case 2: WFS Response Subject to Parameter Uncertainties

In order to verify the robustness of the proposed control strategy against the variation of parameters, it is supposed that the stator inductance , the stator resistor , and the total moment of inertia of the system values are increased by 50% under the condition of nominal values. In Figures 12–15, robustness against WFS parameter variations is tested for the proposed strategy. In the simulation, , , and are increased to 150% of their nominal values, and the other simulation parameters are the same as those in first scenario. The simulation results of the backstepping control and the VOC strategy with and without the mentioned parameter variation are shown in Figures 12–15. The results with and without the parameter variations are marked by “A” and “B,” respectively. It can be seen that the backstepping strategy has a fast dynamic response, a reduced settling time, and a lower overshoot. The simulation results confirm that the proposed control approach is robust against uncertainties in the WFS compared with conventional VOC.

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

##### 3.3. Case 3: Simulation under Grid Fault Condition

This simulation example deals with the WFS behaviour during a Three-Phase Grid Fault (3PGF) produced at = 5.5 s and characterised by a voltage drop of 200 ms at Bus 3 (Figure 3). Figures 16 and 17 illustrate the voltage of the WFS at Bus 4 in normal and close zoom views, respectively, for backstepping and VOC strategies. It can be observed that, by applying the backstepping controller, the transient stability of the WFS has been enhanced and the oscillations of the three-phase voltage have been damped quickly when the fault is cleared. Besides, Figure 17 shows that the transient duration with the proposed control is faster than that with the VOC and the three-phase voltage oscillation amplitude at VOC is evidently larger than that at backstepping control. The results illustrated that the backstepping control strategy can not only reduce the peak value of three-phase voltage but also shorten the transient response time compared with the VOC strategy. Compared to the results depicted in Figure 18, it can be seen that the peak value of frequency deviations can be eliminated during grid voltage drop with the proposed control strategy. Compared with VOC strategy, the peak value of frequency deviations is reduced from 1.9 Hz to less than 0.25 Hz with backstepping strategy. Figure 19 illustrates the dc-link voltage response under proposed control and VOC strategy. The voltage drop will not be transmitted to the dc-link system voltage and the converter dc-link voltage is controlled invariable at the reference value 2100 V as in Figure 19.

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

**(a) Backstepping control**

**(b) VOC strategy**

#### 4. Conclusion

This paper has presented a nonlinear backstepping approach of WFS driven DDSG operating under normal and voltage drop situations. A proposed control has been investigated to deal with problems of simultaneous control of the DDSG speeds and the dc-link voltage to achieve Maximum Power Tracking and pitch control. Simulation research on a 6-MW-DDSG Wind Farm System validates the proposed control strategy. Performance comparison and evaluation with Vector Oriented Control (VOC) are provided under a wide range of functioning conditions, three-phase voltage dips, and the probable occurrence of uncertainties. The main conclusions are summarized as follows: The proposed backstepping strategy can guarantee acceptable global regulation and tracking performance. The proposed control strategy offers remarkable characteristics such as excellent dynamic and steady state performance under varying wind speed and robustness to parametric variations in the WFS and under severe faults of grid voltage.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest regarding the publication of this paper.