#### Abstract

Due to the uncertainty of wind and because wind energy conversion systems (WECSs) have strong nonlinear characteristics, accurate model of the WECS is difficult to be built. To solve this problem, data-driven control technology is selected and data-driven controller for the WECS is designed based on the Markov model. The neural networks are designed to optimize the output of the system based on the data-driven control system model. In order to improve the efficiency of the neural network training, three different learning rules are compared. Analysis results and SCADA data of the wind farm are compared, and it is shown that the method effectively reduces fluctuations of the generator speed, the safety of the wind turbines can be enhanced, the accuracy of the WECS output is improved, and more wind energy is captured.

#### 1. Introduction

In recent years, the global wind industry has grown rapidly, wind energy has become one of the most important renewable energy sources, installed capacity growth rate of wind turbines has become more than 25% annually, and wind energy has been widely applied to water irrigation [1], urban power supply [2], and many other fields. However, there are still some difficult issues in wind energy control technology: how to get maximum power output of wind turbine is one of the main concerns. Domestic and foreign scholars have done a lot of research on capturing the largest wind energy; the most common control strategy is maximum power point tracking control (MPPT) [3]. The maximum wind energy is captured by controlling the output error of the wind generator speed, when the wind speed changes. PI control [4, 5], LQG control [6, 7], and Fuzzy sliding mode control [8] are commonly used as the control methods. However, the parameters of PI controller are almost adjusted through a large number of experiments. They will be affected by the change of load and wind speed, and therefore, PI regulator will lose the flexibility at this time. The LQG control method does not have high modeling accuracy, so the error of system output is too large. Fuzzy sliding mode control cannot reduce the chattering phenomenon; it will lead to low accuracy and poor robust performance.

Data-driven control theory has gradually become a hot research area for domestic and foreign scholars [9–14]. The data-driven control theory can be used to design a controller for a complex nonlinear system whose model is unknown. The control method has general applicability and is successfully applied to many fields, such as flight control [15, 16], pattern recognition [17], and robot control [18, 19].

However, the shortcomings of the data-driven controller are parameter perturbation and excessive computing. The data-driven approach is improved by many well-known scholars [20–23]. A new data-driven controller is designed in the literature [20]; the method uses only measured input and output data of the controlled plant and guarantees bounded input and bounded output stability. It can be known by comparing this data-driven approach with the general adaptive control approach. The method has practical application value and can be combined with other control methods, and thus the cost of the controller is greatly reduced.

Neural networks have independence—not relying on accurate mathematical model of the system—and a strong classification ability for spatial data model. In fact, neural networks have been successfully applicated to wind power control systems [24–30]. Literatures [24–26] introduce the neural network predictive control in the application of the WECS, using neural network predictive controller to compensate system output errors that are caused by uncertainty parameters in WECS; disturbance output is reduced when the wind turbine is at run time. Literatures [31, 32] introduce observers applied to wind turbines; robust performance and dynamic performance of the WECS can be improved by the observers. When wind speed is larger, power output may exceed the rated value; this will cause high wind turbine torque load. Power output quality of the WECS is optimized by controlling the blade pitch angle in literatures [27, 28], so the wind turbine shutdown and overload can be reduced. There exist analytical models of wind turbines as in [33–36] and models based on input output data as in [29, 30, 37], and in the paper, the second case is considered. Literatures [29, 30, 37] introduce data-driven controller designed for the WECS based on neural network, this method collects wind farms data by supervisory control and data acquisition (SCADA) system, such as wind energy utilization coefficient, wind generator speed, and wind speed. Using data-driven control to identify input and output of the controlled object, different control methods are used to regulate WECS output; the results proved that this method can be effectively applied to different wind turbines.

Data-driven controller for the WECS based on neural network compensation control is designed in this paper. Firstly, a 10 min data of wind turbine was selected by SCADA system; the data-driven control system Markov parameters can be obtained by input and output data of the WECS. Secondly, the controller gain can be obtained by closed solution of differential Riccati.

In order to improve the WECS control precision and capture more wind energy, a neural network compensator is designed to counteract dynamic disturbances caused by unkown parameters of the WECS, different neural network learning rules are selected in the training process, and another neural network is used to optimize the wind energy utilization coefficient and reduce the mechanical shocks on the WECS. Analysis results show that this way more wind energy can be captured and safety of the wind turbine can be enhanced.

#### 2. Problem Description

Wind speed and wind direction are uncontrollable variables while, wind generator speed and torque are controllable variables [29, 30, 37, 38]. The SCADA system of wind turbines is shown in Figure 1; the system can monitor multiple wind farm data, for example, wind turbines, grid data, and substation data. Data of output power, wind generator speed, wind generator torque, and wind speed is selected in this paper.

Wind farm data collected is given in Table 1; 10 min data is used in this paper, the data from 2010/07/02 00:10:00 A. to 2010/07/20 02:20:00 AM. is wind speed data of previous sampling time period, and is wind generator data of previous sampling time.

According to the literature [1], the relationship between wind energy utilization coefficient and tip speed ratio can be known. As in Figure 2, the tip speed ratio reaches optimum value, the maximum wind energy utilization coefficient is around 0.47, tip speed ratio optimum value is around 7, and blade pitch angle is around 0 degree; the figure has general applicability to the variable speed constant frequency wind turbine: Letting, , in (1), is wind wheel torque, is air density, is radius of the wind wheel, and is wind speed. The relationship between wind speed and wind turbine power output is shown in Figure 3, is torque coefficient, is tip speed ratio, , is rotor speed, and is wind energy utilization coefficient. The relationship between and can be expressed as .

There are multiple unknown parameters and uncertainties in the WECS, the system has strong nonlinear characteristics, and its model is difficult to be established. Using the equivalent model and ignoring a number of uncertainties are often the solutions; however, the modeling accuracy is greatly reduced and seriously affects the control effect. Data-driven control only needs system input and output data. So, data-driven control model for the wind power system can be expressed as where is wind generator power output. Because three groups of data are selected for the experiment, can be selected as a different value according to actual needs. is system state, including wind generator speed, wind generator torque, and wind speed. is the system control input. and are positive semidefinite symmetric weight matrices, , where are wind power control system Markov parameters:

#### 3. Data-Driven Control Methodology

Lemma 1 (see [39]). *The closed solution of differential Riccati equation is
**
where
**, is block diagonal matrix with dimensions and is block diagonal matrix with dimensions .*

Theorem 2. * For given Markov parameters of the WECS, after introduction of a closed solution of the differential Riccati equation, the data-driven controller can be expressed as ：*

*where is the data-driven controller gain is the data-driven controller state*

*where*

*where is block diagonal matrix with dimensions and is block diagonal matrix with dimensions . of the Markov parameters can be obtained by the input and output , and the column vectors and are formed by -Step input and output data from the beginning of the :*

*Then, matrices and in (11) can be formed by the input data and output data. The relationship between input and output data can be expressed as (12)*

*where*

*, , and matrix can be obtained by solving (9); when , the WECS Markov parameters can be extracted from .*

The test time is from 2010/07/21 00:30:10 AM to 2010/07/29 00:25:30 AM, corresponding control input data and output data set are ,, and The original power output and the optimized power output are shown by Figures 4(a)–4(c). It can be seen that data-driven controller can effectively identify wind turbine power output and control precision achieves the desired effect.

**(a) Wind speed versus wind generator speed**

**(b) Wind generator torque versus wind speed**

**(c) Wind generator torque versus wind generator speed**

#### 4. Neural Network Optimization

As shown in Figure 2, the tip speed ratio can be adjusted by controlling wind generator speed to improve wind energy utilization coefficient . Wind generator speed is optimized by neural network compensator to improve wind energy capture efficiency. Neural network performance evaluation [40–43] is expressed as (14)
where is the target output of the compensator and . is the actual output of the compensator, which is in (17). Neural networks have many learning rules; different learning rules lead to different training efficiency, OUTSTAR learning rules are used to train neural network compensator in this paper, which is intended to generate an *m*-dimensional desired output vector. Weight vector of OUTSTAR learning rule can be expressed as
Before adding the data-driven controller, open-loop input data which constitutes the and output data which constitutes the are collected, row vector of and must be linearly independent. Inputs of the neural network compensator are , , and ; is the error between data-driven controller current input and previous input . Output of the compensator is ; is the error between neural network current input and previous input
The method has general applicability, so randomly wind turbine 1, wind turbine 2, and wind turbine 3 are selected as the study objects, and learning rules of EBPA and LMS are used to train the neural network compensator also. Equation (18) give the wind turbine output power mean absolute error (MAE), the standard deviation of mean absolute error (SD of MAE), the relative mean absolute error (RMAE), and the standard deviation of relative mean absolute error (SD of RMAE), where is control output, is instance value, and *n* is sample number. It can be seen that the model built on the collected data is stabler with the OUTSTAR learning rules. Output error with different training rules is given in Table 2:

#### 5. Analysis and Results

The original value and optimal value of wind energy utilization coefficient are compared in Figure 5, it can be known wind energy captured is increasing by adjusting tip speed ratio value, as the tip speed ratio is close to the optimal value, the value of wind energy utilization coefficient is increasing. Wind turbine 1 is taken as study object, and a 5-17-1 neural network is selected to optimize wind energy captured by the wind wheel. Figure 6(a) gives the original and optimal generator speeds. It can be seen that the optimal generator speed is stabler than the original one. Figure 6(b) gives the original and optimal power output. It can be seen that the optimal power is more than the original one.

**(a) Tip speed ratio**

**(b) Wind energy utilization coefficient**

**(a) Power output**

**(b) Generator speed**

#### 6. Conclusion

In this paper, data-driven controller for the WECS is designed based on neural network, Markov parameters of the data-driven controller can be obtained by input and output data of the WECS. To overcome the inadequacy of data-driven control, neural network compensator is used to compensate for the deviation output of wind power data-driven control system; the results show that the system stable performance is improved.

10 min data of wind farm SCADA system is collected, including wind generator power output, wind generator speed, wind energy utilization coefficient, and tip speed ratio. The method first determines the WECS Markov parameters, the system output is controlled by adjusting the data-driven controller gain, and the neural network is trained by different neural network learning rules. The results show that the generator speed fluctuations can be reduced, the security of wind turbine operation is high, more wind energy is captured, and the method is relatively simple and easy to understand.