Advances in Fuzzy Systems

Volume 2012 (2012), Article ID 504368, 12 pages

http://dx.doi.org/10.1155/2012/504368

## Application of a Data-Driven Fuzzy Control Design to a Wind Turbine Benchmark Model

Department of Engineering, University of Ferrara, 44122 Ferrara, Italy

Received 1 August 2012; Accepted 2 November 2012

Academic Editor: Sendren Sheng-Dong Xu

Copyright © 2012 Silvio Simani. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

In general, the modelling of wind turbines is a challenging task, since they are complex dynamic systems, whose aerodynamics are nonlinear and unsteady. Accurate models should contain many degrees of freedom, and their control algorithm design must account for these complexities. However, these algorithms must capture the most important turbine dynamics without being too complex and unwieldy, mainly when they have to be implemented in real-time applications. The first contribution of this work consists of providing an application example of the design and testing through simulations, of a data-driven fuzzy wind turbine control. In particular, the strategy is based on fuzzy modelling and identification approaches to model-based control design. Fuzzy modelling and identification can represent an alternative for developing experimental models of complex systems, directly derived directly from measured input-output data without detailed system assumptions. Regarding the controller design, this paper suggests again a fuzzy control approach for the adjustment of both the wind turbine blade pitch angle and the generator torque. The effectiveness of the proposed strategies is assessed on the data sequences acquired from the considered wind turbine benchmark. Several experiments provide the evidence of the advantages of the proposed regulator with respect to different control methods.

#### 1. Introduction

Wind turbines are complex nonlinear dynamic systems forced by gravity and stochastic wind disturbance, which are affected by gravitational, centrifugal, and gyroscopic loads. Their aerodynamics are nonlinear and unsteady, whilst their rotors are subject to complicated turbulent wind inflow fields driving fatigue loading. Therefore, wind turbine modelling and control represent complex and challenging tasks [1, 2].

Accurate models have to contain many degrees of freedom in order to capture the most important dynamic effects. It is clear that the design of control algorithms for wind turbines has to take into account these complexities. On the other hand, control algorithms must capture the most important turbine dynamics, without being too complex and unwieldy [1, 3].

Today’s wind turbines employ different control actuation and strategies to achieve the required goals and performances. Some turbines perform the control action through passive methods, such as in fixed-pitch, stall control machines. In these machines, the blades are designed so that the power is limited above rated wind speed through the blade stall. Thus, no pitch mechanism is needed [1]. On the other hand, below rated wind speed, the generator speed is fixed [4]. Rotors with adjustable pitch are often used in constant-speed machines to provide turbine power control better than the one achievable with blade stall [5]. Therefore, blade pitching can be regulated to provide constant power above rated wind speed. The pitch mechanisms have to be quite fast, in order to provide good power regulation in the presence of gusts and turbulence. In order to maximise the power output below the wind speed, the rotational speed of the turbine must vary with wind speed.

The control strategies for such machines are typically designed using simple classical control design techniques such as (Proportional Integral Derivative) PID control for blade pitch regulation, as shown for example, in [6]. Advanced controls can be used to improve the energy capture, for example through the generator torque control, as shown for example, in [7]. In the same situation, Johnson et al. [8] proposed an adaptive control approach. Advanced multivariable control design methods, such as those based on state-space models, can be used to meet control objectives and use all the available actuators and sensors in a reduced number of control loops. In [9], a multivariable approach was used to design both an independent pitch controller to mitigate the effects of asymmetric wind disturbances. Even though two separate control loops were used for example, in [9], the multivariable control design approach can require fewer control loops compared to classical control design methods, as shown for example, in [10]. Therefore, the trade-off between wind turbine control algorithms’ accuracy and their limited computational complexity represents the challenging point that motivates this study.

The first contribution of this work consists of providing an application example of the design, and testing through simulations, of a data-driven fuzzy wind turbine control. In particular, the strategy is based on fuzzy modelling and identification approaches to model-based control design. As stated above, since a mathematical model is a description of system behaviour, accurate modelling for a complex nonlinear system can be very difficult to achieve in practice. Thus, fuzzy modelling and identification can represent an alternative for developing experimental models of complex systems, such as wind turbine systems considered in this work. In contrast to pure nonlinear identification methods, fuzzy systems are capable of deriving nonlinear models directly from measured input-output data without detailed system assumptions [11]. Thus, it is suggested to describe the plant under investigation by a collection of local affine systems of the type of Takagi-Sugeno (TS) fuzzy prototypes [12], whose parameters are obtained by identification procedures. The proposed identification approach is motivated by previous works by the same author [13, 14].

Regarding the controller design, this paper suggests a fuzzy control approach for the adjustment of both the wind turbine blade pitch angle and the generator torque, with application to a wind turbine benchmark. This design is performed according to the following steps. Firstly, a PI regulator is devised using the classic Ziegler-Nichols method [15]. Then, the corresponding fuzzy (Proportional Integral) PI controller is built, by means of a suitable choice of the gains. The membership functions (MFs) and rules are derived directly from the identified TS fuzzy models. The effectiveness of the proposed fuzzy modelling and control strategy are assessed on the data sequences acquired from the considered benchmark. Several simulation experiments provide the evidence of the advantages of the proposed fuzzy PI regulator with respect to the switching control strategy developed in [16].

The capabilities of the proposed control strategy are compared with respect to the control strategy developed in [16], and with reference to different control methods based for example, on sliding mode or neural controllers [17, 18].

The next feature of the work is related with the impact evaluation of the modelling uncertainties, disturbance, and measurement errors on the designed control scheme. In particular, the paper proposes the use of extensive Monte-Carlo simulations for the analysis and the assessment of the design, the robustness, the stability, and its final performance evaluation. In fact, as in this case the wind turbine cannot be described by any analytical dynamic model, the Monte-Carlo tool represents the only method for evaluating the performances of the developed control scheme when applied to the monitored process.

The last key point of the paper concerns the assessment of the developed control algorithms through a hardware in the loop (HIL) facility, which has been developed to qualify the proposed approaches in the presence of experimental limitations closer to real situations.

Finally, the paper has the following structure. Section 2 provides an overview of the wind turbine system considered in this work. Section 3 recalls the fuzzy modelling and identification strategy exploited for the design of the fuzzy controller. This proposed fuzzy controller design, followed by a simple tuning strategy, are presented in Section 3.2. The achieved results and comparisons with different control strategies are summarised in Section 4, where the stability, the robustness analysis, and the capabilities of the developed control method with respect to measurement and modelling errors are investigated in simulation. Realistic simulations and comparisons with different control schemes relying on sliding mode and neural controller are also reported. Section 5 ends the paper by highlighting the main achievements of the work, providing some suggestions for possible further research topics.

#### 2. Wind Turbine Benchmark Description

The three-blade horizontal axis turbine considered in this paper works according to the principle that the wind is acting on the blades, and thereby moving the rotor shaft. In order to up-scale the rotational speed to the needed one at the generator, a gear box is introduced. A more accurate description of the benchmark model can be found in [16, 19]. The diagram of the wind turbine model is sketched in Figure 1.

The rotational speed, and consequently the generated power, is regulated by means of two controlled inputs: the converter torque and the pitch angle of the turbine blades. From the wind turbine system, a number of measurements can be acquired. is the rotor speed, is the generator speed, and is the torque of the generator controlled by the converter, which is provided with the torque reference, . The estimated aerodynamic torque is defined as . This estimate clearly depends on the wind speed, which unfortunately is very difficult to measure correctly. A very uncertain measurement can be available as described in [16].

##### 2.1. Model Description

This section recalls briefly the wind turbine model description in the continuous-time domain. It is subsequently approximated via identified discrete-time prototypes, as shown in Section 3.

The aerodynamic model is defined as in where is the density of the air, is the area covered by the turbine blades in its rotation, is the pitch angle of the blades, is the wind speed, whilst is the tip-speed ratio of the blade, defined as with the rotor radius. represents the power coefficient, here described by means of a two-dimensional map (look up table) [16]. Equation (1) is used to estimate based on an assumed estimated , and measured and . Due to the uncertainty of the wind speed, the estimate of is considered affected by an unknown measurement error, which motivates the approaches described in Section 3.

A simple one-body model is used to represent the drive train, as described in [19]. The generator torque and the reference are in this context transformed to the low speed side of the drive train (rotor side), whilst is the generator power coefficient. With these assumptions, the complete continuous-time description of the system under diagnosis has the form of where and are the control inputs and the monitored output measurements, respectively. represents the continuous-time nonlinear function that will be approximated via discrete-time prototypes from sampled data and , with , presented in Section 3.

Regarding the input and output signals, is the generator speed measurement, is the generator power measurement, is the pitch measurement, and is generator torque measurement. Finally, the model parameters and the map are chosen in order to represent a realistic turbine, which is used as benchmark system in this study [16].

##### 2.2. Wind Turbine Benchmark Control System

The controller for a wind turbine operates in principle in two main zones. Zone 1 is the power optimisation, whilst zone 2 corresponds to constant power production. The optimal power in zone 1 is obtained if the blade pitch angle is equal degrees, and if the tip speed ratio is constant at its optimal value . The tip speed ratio, , as already described by (2), can be written as in (4), where is the radius of the blades, is the wind speed, and is the angular rotor speed: The optimal value of , which is denoted with , is determined as the maximal value point in the power coefficient mapping of the wind turbine. This optimal value is achieved by setting the reference torque to the converter, . The reference torque in this power optimisation zone can be written as with: with being the air density, the area swept by the turbine blades, the maximal value of (i.e., the power coefficient map), related to the , that is, the optimal tip-speed ratio.

When the power reference is achieved, the controller can be switched to control zone 2. In this zone the control objective consists of following the power reference, , which is obtained by controlling , such that the is decreased. In a traditional industrial control scheme, usually a PI controller is used to keep at the prescribed value by changing . The second control input is , whose value is computed by using (5).

The wind turbine benchmark controller considered in this study was implemented with a sample frequency at Hz, that is, s. The controller starts in zone 1. Therefore, the control mode should switch from zone 1 to zone 2 if the following conditions hold [16]:
where indicates the acquired discrete-time measurements from the corresponding continuous-time signals, whilst is the nominal turbine speed. On the other hand, the control switches from zone 2 to zone 1 if
where is a number that introduces hysteresis to ensure a minimum time between transitions. On the other hand, for the control zone 2:
with . The parameters for this PI *speed controller* are and , with sampling time s., as described in [19].

Finally, regarding the control of the input , a second PI regulator is implemented, as the one of (9):
The parameters for this second PI *power controller* are and , according to [19].

#### 3. Fuzzy Identification and Control Design

This section describes the comprehensive approach exploited for obtaining the fuzzy description of the wind turbine system and the control strategy used for the regulation of its input variables. In particular, the fuzzy modelling and identification scheme, which is recalled in Section 3.1, enhances the design procedure of the proposed fuzzy controller, as shown in Section 3.2.

##### 3.1. Fuzzy Identification and Data Clustering

In order to generate fuzzy models automatically from measurements, a comprehensive methodology is used. This employs fuzzy clustering techniques to partition the available data into subsets characterised by a linear behaviour. The relationships between the presented identification method and linear regression are exploited, allowing for the combination of fuzzy logic techniques with system identification tools. In addition, the implementation in the Matlab toolbox of the Fuzzy Modelling and Identification (FMID) techniques presented in the following is available [20]. Fuzzy identification usually refers to methods and algorithms for constructing fuzzy models from data.

A large part of fuzzy modelling and identification algorithms (see, e.g., [11] and references therein) share a common two-step procedure, in which at first, the operating regions are determined using heuristics or data clustering techniques. Then, in the second stage, the identification of the parameters of each submodel is achieved using the identification algorithm in particular proposed by the author [13, 14], which can be seen as a generalisation of classical least-squares. From this perspective, fuzzy identification can be regarded as a search for a decomposition of a nonlinear system, which gives a desired balance between the complexity and the accuracy of the model, effectively exploring the fact that the complexity of systems is usually not uniform. A suitable class of fuzzy clustering algorithms can be thus used for this decomposition purpose, and in particular, the well-known Gustafson-Kessel (GK) fuzzy clustering [11] is exploited in this work, since already implemented and available in [20].

The fuzzy rule-based model suitable for the approximation of a large class of nonlinear systems was introduced by Takagi and Sugeno (TS) in [12]. In the TS fuzzy model, the rule consequents are crisp functions of the model inputs:
where , is the input (antecedent) variable and is the output (consequent) variable. denotes the th rule, and is the number of rules in the rule base. is the antecedent fuzzy set of the th rule, defined by a (multivariate) membership function. The consequent functions are typically chosen as instances of a suitable parameterised function, whose structure remains equal in all the rules and only the parameters vary. A simple and practically useful parameterisation of the function is the affine form:
where is the parameter vector (regressand), and is the scalar offset. represents the regressor vector, which can contain delayed samples of and . This model is referred to as *affine TS model*, and it can be written as [12]
The *antecedent* fuzzy sets are extracted from the fuzzy partition matrix [11, 20]. The *consequent parameters * and are estimated from the data using the method developed by the author [13, 14] and recalled below. This identification scheme exploited for the estimation of the TS model parameters has been integrated into the FMID toolbox for Matlab by the author. This approach developed by the author is usually preferred when the TS model should serve as predictor, as it computes the consequent parameters by the so-called *Frisch scheme* [13, 14]. Therefore, after the clustering of the data has been obtained via the GK algorithm, the data subsets are processed according the Frisch scheme identification procedure [13, 14], in order to estimate the TS parameters for each affine submodels.

##### 3.2. Fuzzy Controller Design

The proposed fuzzy logic controller is fed by the error signal , that is, the tracking error defined as the difference between the considered set-point and the plant controlled output at the sample : The fuzzy PI controller uses a second input signal, defined as the sum of the system errors, which is computed using

It is known from the Digital Control Theory that the most frequently used digital PI control algorithm can be described as follows: where , is the sampling time, is the integral time constant of the conventional controller, is the proportional gain, and is the output control action.

The structure of the control system with the proposed fuzzy controllers are based on Sugeno’s fuzzy technique. The Sugeno’s fuzzy rules into the fuzzy PI controller are in the generalised form of “IF-THEN” composition with a premise and an antecedent part to describe the control policy. The rule base comprises a collection of rules, where the index represents the rule number: where and are the input variables, with . In this expression, a similarity between the expression of the conventional digital PI controller of (16) and the Sugeno’s output function of (17) can be found. In this case, the fuzzy PI controller is considered as a collection of several local PI controllers, which are represented by the Sugeno’s functions into the different fuzzy rules.

For a discrete universe with quantisation levels in the fuzzy output, the control action is expressed as a weighted average of the Sugeno’s output functions , and their membership degrees of the quantisation levels, with . Also in this case, before the output can be inferred, the degree of fulfilment of the antecedent denoted by must be computed. Thus, the degree of fulfilment is simply equal to the membership degree of the given input , that is, . By recalling the identified TS model, the inference is reduced to a simple expression, similar to the fuzzy-mean defuzzification formula [11]: or by substituting the expression of the fuzzy PI terms: where the time dependence at the instant has been highlighted.

It is worth noting that the PI controller parameters and (with ) are settled according to the Ziegler-Nichols rules applied to the identified local linear TS submodels. Then, in order to obtain a quick reaction to set-point variations, gain scheduling of the fuzzy regulator parameters is performed depending on the error, as shown by (19).

In more detail, if for example the TS consequents are represented by second order discrete-time local linear dynamic models () described in (12) by their identified parameters , and regressor , (), the so-called critical gain and critical period of oscillations required by the Ziegler-Nichols method can be computed for example, as follows [15]: which holds if . Alternative formulas can also be used [15]. Equation (21) is thus used for calculating the parameters and of the (local) th PI controller of (17): where is the sampling time. As shown for example, in [15], TS consequents of orders greater than can be considered.

Once the fuzzy PI controller parameters have been computed, the second step consists of building the fuzzy controller of (19). The input MFs can coincide with the ones of the identified TS model, as described for example, in [11]. The number of the input MFs determines the number of rules and output MFs. In this work, the optimal number of rules is equal to the minimal number of clusters used to identify the nonlinear system, as described at the end of Section 3.1. Finally, the adopted fuzzy operators are the product as AND operator, the bounded sum as OR operator, MIN as implication method, and the Centre of Gravity (COG) as defuzzification method.

Section 4 will show the achieved results regarding the fuzzy PI controller parameter tuning using the data sequences from the wind turbine benchmark.

#### 4. Simulation Results

This section describes the simulation results achieved with the method relying on both the fuzzy modelling techniques oriented to the design of the fuzzy controller.

Regarding the proposed control method, the GK clustering algorithm discussed in Section 3.1 with clusters and a number of shifts were applied to the estimation and validation sampled data sets , with and . On the other hand, a number of clusters and were considered for achieving a suitable clustering of the sampled data sets . After clustering, the TS model parameters for each output were estimated. Therefore, the th output of the wind turbine ( and ) continuous-time model of (3) is approximated by a TS fuzzy prototype (13). The relative mean square errors of the output estimations are for the first output and for the second one.

The fitting capabilities of the estimated fuzzy models can be expressed also in terms of the so-called Variance Accounted For (VAF) index [11]. In particular, the VAF value for first output was bigger than , whilst bigger than for the second one. Hence, the fuzzy multiple models seem to approximate the process under investigation quite accurately. As an example, Figure 2 represents simulated output values and of the TS fuzzy model from the training of the wind turbine benchmark model by using FMID.

Using these identified TS fuzzy prototypes, the model-based approach for determining the fuzzy controller was exploited and applied to the considered wind turbine benchmark. According to Section 3.2, the parameters of the fuzzy PI controllers were computed.

In the following, the suggested fuzzy PI controllers and the original switching strategy described in Section 2 were implemented in the Matlab and Simulink environments.

The experimental setup employs (Multiple-Input Single-Output) MISO fuzzy PI regulators used for the control of the blade pitch angles and the generator control torque, respectively. As an example, by using the previous (21), the following tuned parameter sets have been computed for the pitch angle control: In order to compare the advantages of the proposed fuzzy PI strategy, the obtained results were also compared with the ones achieved by using the original switching wind turbine benchmark regulator recalled in Section 2.

The controller capabilities were assessed in simulation by considering different data sequences. In Tables 1 and 2, the per cent Normalised Sum of Squared tracking Error (NSSE) values defined as are computed for the designed controllers.

It is worth noting that in *partial load operation* (zone 1), the performance is represented by the comparison between the power produced by the generator, , with respect to the theoretical maximum power output, , given the instant wind speed. On the other hand, in *full load operation* (zone 2), the performance depends on the generator speed, , with respect to the nominal one, .

According to these simulation results, the properties of the suggested fuzzy controllers appear better than the original switching regulator described in Section 2.2.

##### 4.1. Robustness and Attraction Domain Evaluation

In this section, further experimental results were reported. They regard the performance evaluation of the developed control scheme with respect to modelling errors and measurement uncertainty. In particular, the simulation of different data sequences was performed by exploiting the wind turbine benchmark simulator and a Matlab Monte-Carlo analysis [21]. In fact, the Monte-Carlo tool is useful at this stage as the control strategy performances depend on the error magnitude due to the model approximation and uncertainty, as well as on input-output measurement errors [22].

In particular, the nonlinear wind turbine simulator originally developed in the Simulink environment [19] was modified by the author in order to vary the statistical properties of the signals used for modelling possible process parameter uncertainty and measurement errors. Therefore, in this case, the Monte-Carlo analysis represents a viable method for analysing some properties of the developed fuzzy control scheme, when applied to the considered process. Under this assumption, Table 3 reports the nominal values of the considered wind turbine model parameters with respect to their simulated uncertainty.

The Monte-Carlo analysis was performed by describing these variables as Gaussian stochastic processes, with zero-mean and standard deviations corresponding to minimal and maximal error values in Table 3.

Moreover, it is assumed that the input-output signals and and the power coefficient map entries were affected by errors, expressed as per cent standard deviations of the corresponding nominal values , , and also reported in Table 3. These values can be motivated by the work from the same author [23], which suggests to provide a polynomial approximation of the map via an identification procedure from the input-output and affected by measurement errors.

Therefore, for performance evaluation, reliability and robustness analysis of the fuzzy control scheme, the best, average, and worst values of the NSSE% index were computed, and experimentally evaluated with Monte-Carlo runs [22]. The value of NSSE% is computed for several possible combinations of the parameter values reported in Table 3. Table 4 summarises the results obtained by considering the fuzzy control scheme in Section 3.

In particular, Table 4 summarises the values of the considered performance indices according to the best, worst, and average cases, with reference to the possible combinations of the parameters described in Table 3. Table 4 shows that the proposed fuzzy control scheme allows to maintain good control performances even in the presence of considerable error and uncertainty effects.

The robustness of the controller designs could be evaluated also on the basis of the Domain Of Attraction (DOA) analysis [24]. In fact, the stability of equilibrium points plays a fundamental role in dynamical systems. For nonlinear dynamical systems an investigation of the stability and robustness properties requires the characterisation of the DOA of an equilibrium point, that is, the set of initial conditions from which the trajectory of the controlled system converges to such a point. In this case, it is clear that estimating or controlling the DOA are very difficult problems because of the complex relationship of this set with the model of the wind turbine. Moreover, as shown in Section 2, the wind turbine system cannot be described as an analytic model. Therefore, the DOA analysis can be performed only in simulation using again the Monte-Carlo tool, which is used for providing random variations of wind turbine initial conditions, in a similar way of Table 3.

Figures 3 and 4 show an example of the results from a Monte-Carlo run, where the wind turbine monitored outputs, that is, the generator power and the generator angular rate (red) are compared with their reference values (blue), thus assessing the equilibrium point stability, for a perturbed arbitrary initial condition.

In particular, Figure 3 shown that for an arbitrary initial condition randomly changed by the Monte-Carlo tool, the proposed fuzzy TS is able to maintain the stability of the wind turbine. However, the monitor process becomes unstable when controller by the benchmark PI regulator, as highlighted in Figure 4. The simulation results highlight that the benchmark regulator scheme stabilises the wind turbine up to level of variation in its nominal initial conditions, whilst the proposed fuzzy TS control strategy tolerates ranges within of the nominal initial values.

Finally, the results demonstrate that Monte-Carlo simulation is an effective tool for experimentally testing the design robustness, stability, and reliability of the proposed control method with respect to modelling uncertainty and disturbance.

##### 4.2. Comparative Studies

This section provides some comparative results with respect to alternative control approaches, in particular relying on the sliding mode and neural network controllers.

In general, the sliding mode control can be designed on the basis of a linear or a nonlinear model [17]. In both cases, the design procedure is based on the selection of an appropriate switching manifold, and then on the determination of a control law, including a discontinuous term, that ensures the sliding motion in this manifold. However, sliding mode control design for the nonlinear case is generally applied to systems in the so-called *regular form*, which consists of two blocks: one depending on the control, with the same dimension of the control vector, and the other independent. Such regular form may be obtained by means of a nonlinear coordinate transformation. On the other hand, if a linear model is used, the transformation into the regular form and the design of the sliding mode dynamics are simpler, since known results from linear control techniques (i.e., pole placement, eigenstructure assignment, and optimal quadratic) are applicable. This design procedure can be therefore tolerant with respect to uncertainty and modelling errors, since these disturbances are decoupled from the sliding motion.

The second control scheme exploited for comparison purposes was developed by using the strategy relying on the Neural Network (NN) tool [18]. The NN controller was on a -inputs -outputs time-delayed three-layer Multi-Layer Perceptron (MLP) NN with neurons in the input layer, neurons in the hidden layer and neurons in the output layer. The NN has been trained in order to provide the optimal reference tracking on the basis of the training patterns and target sequences [18].

In order to provide a brief but clear insight into the above-mentioned control technique, the comparison was performed in the same previous working conditions and based on the NSSE% index suggested at the beginning of Section 4.

It is worth noting that the schemes implemented via the sliding mode or neural controllers do not exploit any adaptation mechanism. In fact, the sliding mode control strategy is able to decouple the uncertainty via the sliding motion, whilst neural networks were designed to *passively tolerate* disturbance and modelling errors.

Tables 5 and 6 summarise the results obtained by comparing the sliding mode and NN techniques analysed in this subsection. It can be seen how the different schemes are able to tolerate uncertainty and errors, thus achieving graceful control performance degradation.

The comparison between Tables 5 and 6 shows that the scheme using the sliding mode controller allows to achieve better performances in terms of tracking error. However, the control input energy required by the sliding mode controller is bigger than the other cases. Moreover, the sliding mode controller can increase the computational time considerably with respect to the other solution.

Few further comments can be drawn here. When the modelling of the dynamic system can be perfectly obtained, in general model-based control strategies are preferred. On the other hand, when modelling errors and uncertainty are present, alternative control schemes relying on fuzzy control method can show interesting robustness properties in the presence of unmodeled disturbance, modelling mismatch, and measurement errors. With reference to the neural controller, in the case of a controlled system with modelling errors, the offline learning can lead to quite good results. Other explicit disturbance decoupling techniques can take advantage of their robustness capabilities, but with quite complicated and not straightforward design procedures. The NN-based scheme relies on the learning accumulated from offline simulations, but the training stage can be computationally heavy. Regarding the proposed method using the fuzzy tools, it seems rather simple and straightforward, even if optimisation stages can be required.

##### 4.3. Stability Tests

The stability properties of the overall control strategy were checked again by means of a Monte-Carlo campaign based on the wind turbine benchmark simulator when controlled by means of the proposed regulators. In fact, as pointed out in Section 2, the wind turbine system contains the power coefficients map that cannot be described by any analytical model obtained via first principles. Thus, the Monte-Carlo analysis represents the only method for estimating the stability of the developed fuzzy control scheme when applied to the monitored process.

Initial conditions were changed randomly and disturbance affecting the system was simulated during the transient related to the stability analysis.

All simulations were performed by considering noise signals modelled as band limited white processes, according to the standard deviations reported in Table 3.

As an example of a single Monte-Carlo run, Figure 5 highlighted that the main wind turbine model variables, such as the generator torque , the tip-speed-ratio , and the generator power remain bounded around the reference values, proving the overall system stability in simulation, even in the presence of disturbance and uncertainty. These results refer to the case of partial load operation with the fuzzy controller, when the wind speed is below m/s.

Figure 5 highlights also that in the first part of the simulation the output power becomes larger than the theoretical one , as the kinetic energy from the rotor shaft is converted into electrical energy produced by the generator. On the other hand, can be above the generated power, since the inertia of the rotor is accelerated before can be matched.

As further example of the Monte-Carlo run, the results achieved with the fuzzy controller above rated wind speed are reported in Figure 6.

Figure 6 depicts also the generator speed and the control input . Also in this situation, the main wind turbine variables remain bounded around the reference values, thus assessing the overall system stability in simulation, even in the presence of modelling errors and noise signals.

It is worth noting that the fuzzy control design followed by the analysis procedures shown in Sections 4.1, 4.2, and 4.3 were developed using the Matlab and Simulink software tools, in order to automate the overall simulation process. These feasibility and reliability studies are of paramount importance for real application of control strategies once implemented to future wind turbine installations.

To this aim, Section 4.4 illustrates how the designed control algorithms are assessed through the hardware in the loop (HIL) test-bed to evaluate their capabilities in a more realistic experimental situation.

##### 4.4. Hardware in the Loop Tests

In order to evaluate the potential of utilising the proposed control algorithms in real applications and investigate their capability to on-board implementation, this section presents the results of the hardware in the loop (HIL) tests. These experimental results serve to validate definitely the desired requirements attributed to the designed algorithms considering almost real conditions that the wind turbine may experiment with during its working situations. For this purpose, HIL test-bed is developed according to Figure 7, which provides the capabilities to validate the developed control algorithms in an almost real-time condition.

This laboratory facility includes the following three elements:(i)*Computer simulator*: this simulator, which has been created in the Labview software from the Matlab and Simulink environments, provides the modelling of the wind turbine dynamics considering the factors such as uncertainty, disturbance, measurement errors, and wind turbine component models, as described in Section 2. This software tool allows to monitor the parameters related to the control algorithms and analyse their performance.(ii)*On-board electronics*: the control algorithms have been implemented in this element. The electronic device utilised in this module is the AWC 500 system, which in addition satisfies standard wind turbine technical specifications. This element also provides the flexibility to implement and evaluate the different control algorithms. As it can be seen from Figure 7, the on-board electronics receives the wind turbine power and generator angular rate as its inputs, and after the algorithm processing, generates the generator torque and pitch command output signals transmitted to the computer simulator. The generator torque and the pitch commands are generated by the proposed control algorithms and are applied to the wind turbine model simulator to guarantee its stability and the required specifications.(iii)*Interface circuits*: they consist of the appropriately selected input-output cards, which receive the output signals from the computer simulator and transmit the output signals generated by the control algorithms.The results achieved from one test are summarised in Table 7 for the proposed fuzzy controller.

Table 7 illustrates that there are some deviations between the achieved results, but consistent with the ones of Table 4 from the Monte-Carlo analysis. In fact, the performances in the simulation case are somehow better than the HIL experimental case, which is reasonable due to the issues detailed below.(1)Accuracy of the float calculations in the on-board electronics processor is more restrictive than the CPU of the computer simulator.(2)The major deviation between the results originates from the analog to digital and digital to analog conversions.

Since the data must be transferred between the on-board electronics and the computer simulator, a 16 bit conversion is inevitable, so this conversion error may lead to the deterioration of the experimental results. Note that, since the real situations do not need to transfer data between the on-board electronics and the computer, this error is not a problem and is consistent with the results already achieved via the Monte-Carlo tool. Moreover, although there are some deviations between the simulation and the experimental results, but due to the reasons stated above, these deviations are not critical, and the results obtained are accurate enough for real wind turbine applications.

#### 5. Conclusion

The paper is focused on the control design problem for wind turbines, since they are complex nonlinear dynamic systems. Moreover, their aerodynamics are nonlinear, unsteady, and complex, and their modelling is thus challenging. Therefore, the design of control algorithms for wind turbines must account for these complexities. This paper showed how a fuzzy control design method can be suggested to improve classic control limitations, such as PI standard regulators. Therefore, the application example of a viable, simple, and straightforward control design was provided, through extensive simulations of a wind turbine prototype. Tests on the considered benchmark process and Monte-Carlo analysis represented the tools for assessing experimentally the properties of the proposed fuzzy control scheme, in the presence of modelling and measurement errors. The developed control method was also compared with other different approaches. To highlight the potential of the proposed control algorithms in real applications, hardware in the loop test facility was planned to study the digital implementation of the designed strategies. The test results showed again that the developed schemes maintained their desired performances, which validated their feasibility also in real-time implementations. Future works aim to perform sustainable and dependability analyses that are of paramount importance for real wind turbine applications.

#### References

- K. E. Johnson, L. Y. Pao, M. J. Balas, and L. J. Fingersh, “Control of variable-speed wind turbines: standard and adaptive techniques for maximizing energy capture,”
*IEEE Control Systems Magazine*, vol. 26, no. 3, pp. 70–81, 2006. View at Publisher · View at Google Scholar · View at Scopus - P. F. Odgaard, C. Damgaard, and R. Nielsen, “On-line estimation of wind turbine power coefficients using unknown input observers,” in
*Proceedings of the 17th World Congress, International Federation of Automatic Control (IFAC '08)*, Seoul, Korea, July 2008. View at Publisher · View at Google Scholar · View at Scopus - Z. Hameeda, Y. Honga, Y. Choa, S. Ahnb, and C. Song, “Condition monitoring and fault detection of wind turbines and related algorithms: a review,”
*Renewable and Sustainable Energy Reviews*, vol. 13, no. 1, pp. 1–39, 2009. View at Publisher · View at Google Scholar - X. F. Zhang, D. P. Xu, and Y. B. Liu, “Adaptive optimal fuzzy control for variable speed fixed pitch wind turbines,” in
*Proceedings of the 5fth World Congress on Intelligent Control and Automation, Conference Proceedings (WCICA '04)*, pp. 2481–2485, June 2004. View at Scopus - R. Sakamoto, T. Senjyu, T. Kinjo, N. Urasaki, and T. Funabashi, “Output power leveling of wind turbine generator by pitch angle control using adaptive control method,” in
*Proceedings of the International Conference on Power System Technology (POWERCON '04)*, pp. 834–839, November 2004. View at Scopus - E. A. Bossanyi, “Developments in closed loop controller design for wind turbines,” in
*Proceedings of the 19th ASME Wind Energy Conference (ASME '00)*, pp. 64–74, ASME, Reno, Nev, USA, 2000. - L. J. Fingersh and K. E. Johnson, “Baseline results and future plans for the NREL controls advanced research turbine,” in
*Proceedings of the 23rd ASME Wind Energy Conference*, pp. 87–93, ASME, Reno, Nev, USA, January 2004. View at Scopus - K. E. Johnson, L. J. Fingersh, M. J. Balas, and L. Y. Pao, “Methods for increasing region 2 power capture on a variable-speed wind turbine,”
*Journal of Solar Energy Engineering*, vol. 126, no. 4, pp. 1092–1100, 2004. View at Publisher · View at Google Scholar · View at Scopus - M. Geyler and P. Caselitz, “Individual blade pitch control design for load reduction on wind turbines,” in
*Proceedings of the European Wind Energy Conference and Exhibition*, pp. 7–10, Milan, Italy, May 2007. - A. D. Wright, L. J. Fingersh, and M. J. Balas, “Testing state-space controls for the controls advanced research turbine,”
*Journal of Solar Energy Engineering*, vol. 128, no. 4, pp. 506–515, 2006. View at Publisher · View at Google Scholar · View at Scopus - R. Babuška,
*Fuzzy Modeling for Control*, Kluwer Academic Publishers, 1998. - T. Takagi and M. Sugeno, “Fuzzy identification of systems and its applications to modeling and control,”
*IEEE Transactions on Systems, Man and Cybernetics*, vol. 15, no. 1, pp. 116–132, 1985. View at Google Scholar · View at Scopus - S. Simani, C. Fantuzzi, R. Rovatti, and S. Beghelli, “Noise rejection in parameters identification for piecewise linear fuzzy models,” in
*Proceedings of the IEEE International Conference on Fuzzy Systems Part 2 (of 2)*, pp. 378–383, May 1998. View at Scopus - S. Simani, C. Fantuzzi, R. Rovatti, and S. Beghelli, “Parameter identification for piecewise-affine fuzzy models in noisy environment,”
*International Journal of Approximate Reasoning*, vol. 22, no. 1, pp. 149–167, 1999. View at Publisher · View at Google Scholar · View at Scopus - V. Bobál, J. Böhm, J. Fessl, and J. Machácek,
*Digital Self-Tuning Controllers: Algorithms, Implementation and Applications. Advanced Textbooks in Control and Signal Processing*, Springer, 1st edition, 2005. - P. F. Odgaard, J. Stoustrup, and M. Kinnaert, “Fault tolerant control of wind turbines—a benchmark model,” in
*Proceedings of the 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes*, vol. 1, pp. 155–160, Barcelona, Spain, July 2009. View at Publisher · View at Google Scholar - C. Edwards and S. Spurgeon,
*Sliding Mode Control: Theory and Applications*, Taylor & Francis, London, UK, 1st edition, 1998. - J. Korbicz, J. M. Koscielny, Z. Kowalczuk, and W. Cholewa, Eds.,
*Fault Diagnosis: Models, Artificial Intelligence, Applications*, Springer, 1st edition, 2004. - P. F. Odgaard and J. Stoustrup, “Unknown input observer based scheme for detecting faults in a wind turbine converter,” in
*Proceedings of the 7th IFAC Symposium on Fault Detection, Supervision and Safety of Technical Processes*, vol. 1, Elsevier, Barcelona, Spain, June 2009. View at Publisher · View at Google Scholar - R. Babuška,
*Fuzzy Modelling and Identification Toolbox*, Control Engineering Laboratory, Faculty of Information Technology and Systems, Delft University of Technology, Delft, The Netherlands, 2000. - A. Doucet, N. de Freitas, and N. Gordon, Eds.,
*Sequential Monte Carlo Methods in Practice. Statistics for Engineering and Information Science*, Springer, New York, NY, USA, 2001. - D. Lieber, A. Nemirovskii, and R. Y. Rubinstein, “A fast Monte Carlo method for evaluating reliability indexes,”
*IEEE Transactions on Reliability*, vol. 48, no. 3, pp. 256–261, 1999. View at Google Scholar · View at Scopus - S. Simani and P. Castaldi, “Estimation of the power coefficient map for a wind turbine system,” in
*Proceedings of the 9th European Workshop on Advanced Control and Diagnosis (ACD '11)*, Budapest University of Technology and Economics, Ed., no. paper 13, pp. 1–7, MTA SZTAKI Computer and Automation Research Institute, Hungarian Academy of Sciences, and BME Budapest University of Technology and Economics, BME Budapest University of Technology and Economics, Budapest, Hungary, November 2011. - H. K. Khalil,
*Nonlinear Systems*, Prentice Hall, 3rd edition, 2001.