<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">JPEE</journal-id><journal-title-group><journal-title>Journal of Power and Energy Engineering</journal-title></journal-title-group><issn pub-type="epub">2327-588X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jpee.2018.61005</article-id><article-id pub-id-type="publisher-id">JPEE-82125</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  Power Maximization and Control of Variable-Speed Wind Turbine System Using Extremum Seeking
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Safanah</surname><given-names>M. Rafaat</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Rajaa</surname><given-names>Hussein</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Control and Systems Engineering Department, University of Technology, Baghdad, Iraq</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>safanamr@gmail.com(SMR)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>03</day><month>01</month><year>2018</year></pub-date><volume>06</volume><issue>01</issue><fpage>51</fpage><lpage>69</lpage><history><date date-type="received"><day>12,</day>	<month>December</month>	<year>2017</year></date><date date-type="rev-recd"><day>27,</day>	<month>January</month>	<year>2018</year>	</date><date date-type="accepted"><day>30,</day>	<month>January</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Maximizing the power capture is an important issue to the turbines that are installed in low wind speed area. In this paper, we focused on the modeling and control of variable speed wind turbine that is composed of two-mass drive train, a Squirrel Cage Induction Generator (SCIG), and voltage source converter control by Space Vector Pulse Width Modulation (SPVWM). To achieve Maximum Power Point Tracking (MPPT), the reference speed to the generator is searched via Extremum Seeking Control (ESC). ESC was designed for wind turbine region II operation based on dither-modulation scheme. ESC is a model-free method that has the ability to increase the captured power in real time under turbulent wind without any requirement for wind measurements. The controller is designed in two loops. In the outer loop, ESC is used to set a desired reference speed to PI controller to regulate the speed of the generator and extract the maximum electrical power. The inner control loop is based on Indirect Field Orientation Control (IFOC) to decouple the currents. Finally, Particle Swarm Optimization (PSO) is used to obtain the optimal PI parameters. Simulation and control of the system have been accomplished using MATLAB/Simulink 2014.
 
</p></abstract><kwd-group><kwd>Wind Turbine</kwd><kwd> Indirect Field Orientation Control (IFOC)</kwd><kwd> Maximum Power Point Tracking (MPPT)</kwd><kwd> Extremum Seeking Control (ESC)</kwd><kwd> Particle Swarm Op-timization (PSO)</kwd><kwd> PI Controller</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Wind energy is a fast-growing interdisciplinary field that encompasses multiple branches of engineering and science. Wind energy has gained tremendous attention over the past two decades as one of the most promising renewable energies for the future, environmentally friendly solutions, pollution-free and inexhaustible sources [<xref ref-type="bibr" rid="scirp.82125-ref1">1</xref>] .</p><p>According to speed control, WTs are classified into two types: fixed and variable speed WT. Fixed speed turbines are using SCIG directly connected to grid without using power electronic converters. The speed of the generator is constant regardless of the wind speed. Variable-speed turbines are currently the most used turbines that use different types of generators connected to grid through the power converters. Variable-speed turbines allow the rotational speed to be continuously adapted and controlled in such a manner that the turbine operates constantly at its highest level of aerodynamic efficiency then the maximum energy can be extracted relying upon the wind speed variations.</p><p>Maximizing power capture for variable speed Wind Turbine (WT) by means of control theory has been a popular topic for the researchers. According to WT operation regions that will be explained in the next section, the researchers applied different control methodologies by using generator speed control to harvest maximum energy in region II, using blade pitch control to reduce mechanical loads and maintenance cost in region III, or a combination of both. Model-based strategies have been studies for region II control [<xref ref-type="bibr" rid="scirp.82125-ref2">2</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref4">4</xref>] . The model-based control approaches can achieve good performance for some ranges of operating conditions but these methods have some limitations and difficulties as the mathematical model of the system is directly incorporated into the controller. Thus, the controller incorporates knowledge of how the system dynamics change with the operating conditions. The Wind Energy Conversion Systems (WECS) are very complex and it’s difficult to obtain the dynamics equations otherwise, model-based methods required experimental data and/or lookup tables under specific wind condition and accurate wind speed measurement.</p><p>To overcome some difficulties with model-based control methods and reduce the dependency on the mathematical model, other researchers proposed different model-free control methods for Region II operation. Johnson et al. [<xref ref-type="bibr" rid="scirp.82125-ref5">5</xref>] proposed Model Reference Adaptive Control (MRAC), he maximized output power by selecting a suitable control law that related the speed directly with torque then MRAC adapted the torque gain to increase power. Barakati et al. [<xref ref-type="bibr" rid="scirp.82125-ref6">6</xref>] proposed classical MPPT methods, like model-free Perturbation and Observation (P &amp; O) method. The logic of this method is to perturb control input with a certain step size and observe the change in power output.</p><p>In this paper, Extremum Seeking Control (ESC) scheme [<xref ref-type="bibr" rid="scirp.82125-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref8">8</xref>] for WT region II operation was proposed to maximize the output power capture without consideration of the load impacts. ESC is a nonmodel-based self-optimizing control strategy that aims to search for unknown input in real-time varying systems by finding the extreme point. The plant excited with some sinusoidal probing signals (dither signal). ESC is applicable in situations where there is nonlinearity in the control problem, and the nonlinearity has local minimum or a maximum. Creaby et al. [<xref ref-type="bibr" rid="scirp.82125-ref9">9</xref>] used ESC method to maximize the rotor mechanical power. They used sinusoidal signal as a dither perturbation signal and second order filters to seek the maximum point. Ghaffari and Krstic et al. [<xref ref-type="bibr" rid="scirp.82125-ref10">10</xref>] used the same method with first order filters. Xiao et al. [<xref ref-type="bibr" rid="scirp.82125-ref11">11</xref>] presented the experimental works to the same model that used by Creaby (CART3 facility). In this work, both schemes have been considered. Moreover, maximization of the electrical power has been worked on in order to produce more accurate results than maximization of the mechanical power.</p><p>The approach in this paper focuses on the control of variable speed WT composed of two-mass drive train, SCIG, and voltage source converter control by SPVWM. The controller is designed in two loops, in the outer loop ESC has been used to set a desired reference for PI control of the generator speed and extract the maximum electrical power within high wind speed variation. The inner control loop is based on IFOC for the currents decoupling. The following Sections are organized as a follow. In Section 2, the design of wind energy conversion system has presented with concentration on the dynamic equations of SCIG in dq reference frame and two-mass drive train. In Section 3, the controller design was discussed. In Sections 4 and 5, Simulation results and conclusions are presented respectively.</p></sec><sec id="s2"><title>2. Wind Energy Conversion System Model</title><sec id="s2_1"><title>2.1. Aerodynamics Model</title><p>WT is composed of different parts to achieve kinetic-to-electric energy conversion. The wind kinetic energy is converted to mechanical energy by the blades. The mechanical energy is transmitted through the drive train to the generator, which converts mechanical energy into electric energy. This conversion is supported by power converters that deliver the power from the generator to the grid, as shown in <xref ref-type="fig" rid="fig1">Figure 1</xref> [<xref ref-type="bibr" rid="scirp.82125-ref12">12</xref>] .</p><p>The physical definition for kinetic energy is</p><p>K E = 1 2 m V 2 (1)</p><p>But the power definition P is the kinetic energy per unit time:</p><p>P = 1 2 m ˙ V 2 = 1 2 d m d t V 2 (2)</p><p>where, V is the speed and m ˙ is the air mass that passes the disc of wind turbine rotor in a unit length of time, e.g., m ˙ = ρ A V ∞</p><p>Thus, the available power in the wind stream is</p><p>P a v a i l = 1 2 ρ A V ∞ 3 = 0.5 π ρ R t 2 V ∞ 3 (3)</p><p>where P a v a i l is the wind power, ρ is the air mass density, π R t 2 = A is the swept area of turbine rotor, and V ∞ is the wind speed. The mechanical power that can be extracted from the wind power is</p><p>P m e c h = P a v a i l C p ( λ , β ) (4)</p><p>where, C p ( λ , β ) is, the power coefficient, the ratio of the mechanical power to available power, β is the pitch angle of the blade, and λ is the Tip-Speed- Ratio (TSR) can be obtained by</p><p>λ = Ω w t r R t V ∞ (5)</p><p>where, Ω w t r is the low-speed shaft and R t is turbine rotor radius.</p><p>Wind turbine operation regions are typically divided into four primary regions, as seen in <xref ref-type="fig" rid="fig2">Figure 2</xref>. Region 1 spans operation from startup to the cut-in wind speed. In Region 2 the turbine is said to be in sub-rated region when wind speeds are between cut-in and rated speed. The primary goal is to capture as much power as possible. In Region 3 wind speeds are high enough to drive the generator at its rated power output; in this case, the goal is to regulate speed and power safely at rated levels. Region 4 occurs when the turbine shuts down to prevent damage due to high wind speeds [<xref ref-type="bibr" rid="scirp.82125-ref13">13</xref>] .</p><p>The quantity C p ( λ , β ) is a nonlinear function, difficult to measure and predict, has different values between each turbine and another depending on turbine parameters and design. The theoretical upper limit for C p is Betz Limit equals to 0.59. The C p is obtained based on the exponential function in [<xref ref-type="bibr" rid="scirp.82125-ref14">14</xref>] .</p><p>C p ( λ , β ) = 0.5176 ( 116 λ i − 0.4 β − 5 ) ∗ e ( − 21 λ i ) + 0.0068 λ (6)</p><p>where, 1 λ i = 1 λ + 0.08 β − 0.035 β 3 + 1 .</p><p>The power coefficient C p ( λ , β ) is a function of blade bitch angle and tip speed ratio. The maximum value of C p equals to 0.479 at β = 0 and λ = 8 , so for region II operation, the pitch angle is settled to zero and the C p is now a function of TSR only C p ( λ ) . Then, the obtained power coefficient is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(a) and <xref ref-type="fig" rid="fig3">Figure 3</xref>(b).</p></sec><sec id="s2_2"><title>2.2. Dynamic Equations for Two-Mass Model Drive Train</title><p>The model has two masses corresponding to WT rotor and generator, respectively. The dynamic equations of motion for the drive-train are written with respective to the generator mass as given below. <xref ref-type="table" rid="table1">Table 1</xref> illustrates all parameters definitions [<xref ref-type="bibr" rid="scirp.82125-ref15">15</xref>] .</p><p>T ′ w t r = J ′ w t r d Ω w t r d t + D ′ s h a f t ( Ω ′ w t r − Ω g e n ) + K ′ s h a f t ( θ ′ w t r − θ g e n ) (7)</p><p>− T g e n = J g e n d Ω g e n d t + D ′ s h a f t ( Ω g e n − Ω ′ w t r ) + K ′ s h a f t ( θ g e n − θ ′ w t r ) (8)</p><p>d θ ′ w t r d t = Ω ′ w t r (9)</p><p>d θ g e n d t = Ω g e n (10)</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Parameters and variables of the drive train are referred to generator mass</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Parameters</th><th align="center" valign="middle" >Description</th><th align="center" valign="middle" >Unit</th><th align="center" valign="middle" >Referred to the mass of the generator</th></tr></thead><tr><td align="center" valign="middle" >k g e a r</td><td align="center" valign="middle" >Gearbox ratio</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >J g e n</td><td align="center" valign="middle" >Generator inertia</td><td align="center" valign="middle" >kg・m<sup>2</sup></td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >J w t r</td><td align="center" valign="middle" >Wind turbine rotor inertia</td><td align="center" valign="middle" >kg・m<sup>2</sup></td><td align="center" valign="middle" >J ′ w t r = J w t r k g e a r</td></tr><tr><td align="center" valign="middle" >K s h a f t</td><td align="center" valign="middle" >Shaft stiffness</td><td align="center" valign="middle" >N・m/rad</td><td align="center" valign="middle" >K ′ s h a f t = K s h a f t k g e a r 2</td></tr><tr><td align="center" valign="middle" >D s h a f t</td><td align="center" valign="middle" >Shaft damping coefficient</td><td align="center" valign="middle" >N・m・s/rad</td><td align="center" valign="middle" >D ′ s h a f t = D s h a f t k g e a r 2</td></tr><tr><td align="center" valign="middle" >T g e n</td><td align="center" valign="middle" >Generator torque</td><td align="center" valign="middle" >N・m</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >T w t r</td><td align="center" valign="middle" >Wind turbine rotor torque</td><td align="center" valign="middle" >N・m</td><td align="center" valign="middle" >T ′ w t r = T w t r k g e a r</td></tr><tr><td align="center" valign="middle" >Ω g e n</td><td align="center" valign="middle" >Speed of the high speed shaft</td><td align="center" valign="middle" >rad/s</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Ω w t r</td><td align="center" valign="middle" >Speed of the low speed shaft</td><td align="center" valign="middle" >rad/s</td><td align="center" valign="middle" >Ω ′ w t r = k g e a r ⋅ Ω w t r</td></tr><tr><td align="center" valign="middle" >θ g e n</td><td align="center" valign="middle" >High speed shaft angular position</td><td align="center" valign="middle" >rad</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >θ w t r</td><td align="center" valign="middle" >Low speed shaft angular position</td><td align="center" valign="middle" >rad</td><td align="center" valign="middle" >θ ′ w t r = k g e a r ⋅ θ w t r</td></tr><tr><td align="center" valign="middle" >T s h a f t</td><td align="center" valign="middle" >Internal shaft torque</td><td align="center" valign="middle" >N.m</td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap></sec><sec id="s2_3"><title>2.3. Squirrel Cage Induction Generator (SCIG) Model</title><p>The dynamic equations of induction machine in reference frame can be written using either fluxes, currents or both as state-variables. The four loop equations described from the equivalent circuits where the variables i d s , i q s , i d r and i q r represent the state variables and V d s , V q s , V d r and V q r represent the input vector of the state-space model in the dq reference frame. So, the state and input vectors are respectively:</p><p>x = [ x 1 ( t ) x 2 ( t ) x 3 ( t ) x 4 ( t ) ] T = [ i d s i q s i d r i q r ] T (11)</p><p>u = [ V d s V q s V d r V q r ] T (12)</p><p>For SCIG, the d and q components of the rotor voltage set to zero, i.e. ( V R d = V R q = 0 ) since the rotor of squirrel cage machine has slot-embedded bars that are shorted by end rings. The nonlinear fourth-order state model of SCIG can be presented as in the equations below [<xref ref-type="bibr" rid="scirp.82125-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref16">16</xref>] .</p><p>X ˙ = A ( Ω g e n ) ⋅ X + B ⋅ u (13)</p><p>Y ≡ T g e n = 3 P p L m 2 ( x 2 x 3 − x 1 x 4 ) (14)</p><p>T g e n = 3 P p L m 2 ( i q s i d r − i d s i q r ) (15)</p><p>where,</p><p>A ( Ω g e n ) = [ − R s σ L s ω s + P p Ω g e n L m 2 σ L s L r L m R r σ L s L r P p Ω g e n L m σ L s − ( ω s + P p Ω g e n L m 2 σ L s L r ) − R s σ L s − P p Ω g e n L m σ L s L m R r σ L s R r L m R s σ L s L r − P p Ω h L m σ L r − R r σ L r ω s − P p Ω g e n σ P p Ω g e n L m σ L r R s L m σ L s L r − ω s + P p Ω g e n σ − R r σ L r ] (16)</p><p>B = [ 1 σ L s 0 − L m σ L s L r 0 0 1 σ L s 0 − L m σ L s R r ] T (17)</p><p>while, the Equation (15) can be rewritten with rotor flux variables instead of rotor current as in Equation (18) to be prepared for IFOC.</p><p>T g e n = 3 P p L m 2 L r ( i q s ψ d r − i d s ψ q r ) (18)</p></sec><sec id="s2_4"><title>2.4. Voltage Source Converters and Space Vector PWM</title><p>Electrical generators are usually controlled by power electronics converters. Power converters are controlled using a switching strategy. Space vector modulation (SVM) is one of the preferred real-time modulation techniques and it is widely used for digital control of voltage source converters. SVM allows reducing commutation losses and the harmonic distortion of output voltage waveform, giving higher amplitude modulation indexes. The SVM control is designed space vector combinations to get a reference voltage V r e f . The summation of the voltage multiplied by the time interval of chosen space vectors equal the product of the reference voltage V r e f and sampling period T z by knowing in which sector the reference voltage vector is located, we select the two adjacent basic voltage space vectors and one zero-vector. For example, when V r e f falls into Sector I, it can be synthesized by V 1 , V 2 and V 0 that gives the equation below. The detail explanation is found in [<xref ref-type="bibr" rid="scirp.82125-ref17">17</xref>] and its references, where our implementation is done based on them.</p><p>{ V 1 T 1 + V 2 T 2 + V 0 T 0 = V r e f T z T z = T 1 + T 2 + T 0 (19)</p></sec></sec><sec id="s3"><title>3. Wind Energy Conversion System Control</title><sec id="s3_1"><title>3.1. Field Orientation Control (FOC)</title><p>FOC can be classified in two design approaches 1) Direct FOC and 2) Indirect FOC, according to the implementation method that is used to estimate the rotor flux ψ r and the synchronous position θ s . The rotor flux orientation is one of the most popular schemes used in AC drives control and WECS control due to its simple and easy implementation. The necessity of using FOC is the decoupled control of the rotor flux and electromagnetic torque of the machine to achieve high dynamic performance. The synchronous frequency equals to the summation of machine rotor frequency ω r and slip frequency ω s l then by the integration of them, the position θ s can be obtained.</p><p>θ s = ∫ ​     ω s = ∫ ​ ( ω r + ω s l ) = θ r + θ s l (20)</p><p>For rotor flux orientation, the mathematical model of the SCIG in d-q frame is given in Equations (11)-(18). The decoupling control can be achieved by aligning the stator flux component of the current i d s on the d-axis, and the torque component of the current i q s should align the q-axis, that leads to ψ d r = 0 , ψ d r = ψ r [<xref ref-type="bibr" rid="scirp.82125-ref3">3</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref12">12</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref16">16</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref18">18</xref>] . Then,</p><p>T g e n = 3 P p L m 2 L r ( i q s ψ d r ) (21)</p><p>L r R r d ψ r d t + ψ r = L m i d s (22)</p></sec><sec id="s3_2"><title>3.2. Extremum Seeking Control (ESC)</title><p>A new method for driving the operating point to the energy maximum, based on Extremum Seeking (ES) was introduced to overcome challenges with the conventional MPPT algorithm and remove the dependence of the plant modeling. ESC is a class of self-optimizing control strategy which can search for unknown time varying input for optimizing a performance index of nonlinear plant. In this Work, the electrical power was used as the performance index and our objective is to maximize this function f ( u ) by a proper selection of dither signal frequency ω , Low Pass Filter (LPF) frequency ω l and High Pass Filter (HPF) frequency ω h , and integrator gain k to set the control u ^ in the real time. ESC is interpreted as single-input setting with dither signal (usually sinusoidal signal S ( t ) ) added to the estimated u ^ . The schematic diagram of whole variable speed WT including control system, mechanical and electrical components, and MPPT method using ESC is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref> [<xref ref-type="bibr" rid="scirp.82125-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref11">11</xref>] .</p><p>The input and the output to plant become:</p><p>u = u ^ + cos ( ω t ) (23)</p><p>y = f ( u ^ + cos ( ω t ) ) (24)</p><p>where, ω is the dither frequency equals to 20.6 rad/s. Then Taylor series expansion for Equation (24) becomes:</p><p>y = f ( u ^ + cos ( ω t ) ) = f ( u ^ ) + cos ( ω t ) ∂ f ∂ u + H . O . T (25)</p><p>HPF filters out the DC term while passes the AC term then by multiplying with the demodulation signal M ( t ) = cos ( ω t ) , that yields:</p><p>cos ( ω t ) &#215; ( cos ( ω t ) ∂ f ∂ u + H . O . T ) = ∂ f ∂ u + H . O . T (26)</p><p>LPF retains DC term to estimate the gradient of the objective function with respect to the control input u while filters out AC term from Equation (26). The loop is closed with an integrator to drive the gradient to zero in steady state. Several signals were examined as dither signals for ESC. The cosine signal was applied as a harmonic signal and wind speed signal was applied as non-har- monic signal. In addition, the HPF and LPF have been implemented in both as 1<sup>st</sup> and 2<sup>nd</sup> order transfer functions.</p><p>The 1<sup>st</sup> and 2<sup>nd</sup> order transfer function for HPF is given below with cutoff frequency ω h = 3 rad/s:</p><p>G 1st_HPF = s s + ω h ,     G 2nd_HPF = s 2 s 2 + 2 &#215; 0.58 &#215; ω h s + ω h 2 (27)</p><p>The 1<sup>st</sup> and 2<sup>nd</sup> order transfer function for LPF is given below with cutoff frequency ω l = 8 rad/s:</p><p>G 1st_LPF = ω l s + ω l ,     G 2nd_LPF = ω l 2 s 2 + 2 &#215; 0.6 &#215; ω l s + ω l 2 (28)</p><p>By feedbacking the electrical power to ES, the optimal speed value is obtain to achieve the maximum energy captured. Different types of dither signals have been examined to get the best reference speed to the system since the selection of the dither signal is an important issue in the application of ESC [<xref ref-type="bibr" rid="scirp.82125-ref19">19</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref20">20</xref>] . <xref ref-type="fig" rid="fig5">Figure 5</xref> shows the effect of choosing different type of dither signals to generate the reference speed. The response in blue color (using 1<sup>st</sup> order filters and cosine signal as dither signal for ES) suffers from ripples and rises above the optimal speed 157.5 rad/s in the periods (16 - 20 s), while the responses in green (using 2<sup>nd</sup> order filters and cosine signal as a dither signal for ES) and pink (using 2<sup>nd</sup> order filters and wind signal as a dither signal for ES) have high overshoots at 0.5 s. Moreover the green response is decreasing to 156.5 rad/s at 16 s. The response in red color (using 1<sup>st</sup> order filters and wind signal as a dither signal for ES) was found to be the best to choose as a reference speed.</p></sec><sec id="s3_3"><title>3.3. Optimized PI Control Using Particle Swarm Optimization</title><p>The PI controller is the more commonly used control strategy in electrical machines for speed control. There are many different algorithms to find suitable parameters of the controller. To achieve the closed loop speed control, we firstly select one of the generated speed references from the above sub-section to be the speed command for PI controller. The PI parameters are found using trial and error method to control the speed of generator then Particle Swarm Optimization (PSO) has been presented to determine the optimal PI parameters and ensure the maximum power captured. PSO is an off-line optimization algorithm based on population. PSO algorithm gives high quality solutions and stable</p><p>convergence characteristics within shorter calculation time. In PSO, particles fly around in a multidimensional search space then during its flight each particle adjusts its position according to its own experience (P-best), and according to the experience of a neighboring particle (G-best), made the best position encountered by itself and its neighbor [<xref ref-type="bibr" rid="scirp.82125-ref21">21</xref>] .</p><p>The velocity of each agent can be modified by the following equation:</p><p>V k + 1 = i n e r t i a ⋅ V k + c 1 ⋅ r a n d ⋅ ( P b e s t − x k ) + c 2 ⋅ r a n d ⋅ ( G b e s t − x k ) (29)</p><p>The current position can be modified by the following equation:</p><p>x k + 1 = x k + V k + 1 (30)</p><p>The performance index (ITSE) is chosen as cost function for PSO and given by.</p><p>ITSE = ∫ 0 ∞ t ⋅ e ( t ) 2 d t (31)</p><p>As mentioned before, the closed loop control for regulating the speed of the generator had accomplished using PI controller. The gain values for K<sub>p</sub> and K<sub>i</sub> were tuned manually then improved using PSO. The presented data in <xref ref-type="fig" rid="fig6">Figure 6</xref> and <xref ref-type="table" rid="table2">Table 2</xref> had been obtained at the following values: iteration = 20, swarm size = 30, inertia = 0.9, and c 1 = c 2 = 2 .</p></sec></sec><sec id="s4"><title>4. Simulation Results</title><p>The modeling of variable speed wind turbine for mechanical and electrical components has been built based on Equations (1)-(17), the currents of the</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> PI control parameters for generator speed control</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >The applied method</th><th align="center" valign="middle" >K p</th><th align="center" valign="middle" >K i</th></tr></thead><tr><td align="center" valign="middle" >PI gains tuned using trial and error</td><td align="center" valign="middle" >2100</td><td align="center" valign="middle" >1000</td></tr><tr><td align="center" valign="middle" >PI gains tuned using PSO algorithm</td><td align="center" valign="middle" >2199.0295</td><td align="center" valign="middle" >1093.6790</td></tr></tbody></table></table-wrap><p>squirrel cage induction generator is decoupled using IFOC based on Equations (18)-(22) and ESC was presented as explained before. MATLAB/Simulink block diagram is shown in <xref ref-type="fig" rid="fig7">Figure 7</xref>, also the data of 2 MW wind turbine are found in Appendix A.</p><p>The input signal to the whole model is the wind speed which has been modeled and developed based on the Kaimal spectra in [<xref ref-type="bibr" rid="scirp.82125-ref15">15</xref>] [<xref ref-type="bibr" rid="scirp.82125-ref22">22</xref>] . <xref ref-type="fig" rid="fig8">Figure 8</xref> shows the obtained signal.</p><p>The Simulation has been solved using fixed-step ode4 solver with sampling time ( τ s = 1 e − 5 ) . The initial values for the speed of generator (high-speed shaft) and the speed of turbine rotor (low-speed shaft) are 156.5, 1.874 rad/s respectively.</p><p>The other parameters values are initially set to zero. <xref ref-type="fig" rid="fig9">Figure 9</xref> and <xref ref-type="fig" rid="fig1">Figure 1</xref>0 show that the mechanical power had been maximized as result of the approaching of power coefficient from its maximum value ( C p = 0.479 ) . ESC in the outer loop is based on the generator speed regulation via the electrical power feedback. The ESC searches for the optimal generator’s speed to maximize power without accurate knowledge of power map. In the inner loop, PI controller regulates the generator speed in closed loop to attain the optimal speed that is suggested by ESC. As in <xref ref-type="fig" rid="fig6">Figure 6</xref>, the speed of the generator was approximately around the optimal speed 157.5 rad/s, meanwhile the speed of turbine rotor in <xref ref-type="fig" rid="fig1">Figure 1</xref>1 is around 2.1 rad/s since the gearbox ratio equals to 75. <xref ref-type="fig" rid="fig1">Figure 1</xref>2 shows that the electrical power attains its maximum power capture in some periods of time (2 MW in 6 - 8 s, 14 - 19 s), meanwhile the electromagnetic torque in <xref ref-type="fig" rid="fig1">Figure 1</xref>3 approaches to its rated value (14,700 Nm in same periods) according to the decreasing or increasing in wind speed measurements. Finally, <xref ref-type="fig" rid="fig1">Figure 1</xref>4 shows the three phase stator currents of SCIG.</p></sec><sec id="s5"><title>5. Conclusion</title><p>In this paper, the development of MPPT with ESC to harvest maximum energy captured in the sub-rated speed region has been presented. The simulation results show the strength of ESC to get the position of the operating point neglecting the model dynamics equations as compared with the conventional MPPT methods that highly depend on the dynamic equations and speed measurements. For its being a self-optimizing model-free method, ESC has provided good convergence rate despite the time-varying in wind speed. The output electrical power was used as a performance index to the ESC scheme which shows more interest in energy capture than using the mechanical power. We examined different kinds of dither signals for ESC to achieve slow perturbation to the system and the non-harmonic wind signal with first order transfer function was the better one. The rotor flux orientation control was implemented in inner control loop to achieve the required decoupling between currents and electromagnetic torque. The PI gains values in speed control loop is tuned firstly by trial and error then improved with PSO, where the obtained parameters gains attain the optimal energy captured.</p></sec><sec id="s6"><title>Cite this paper</title><p>Rafaat, S.M. and Hussein, R. (2018) Power Maximization and Control of Variable-Speed Wind Turbine System Using Extremum Seeking. Journal of Power and Energy Engineering, 6, 51-69. https://doi.org/10.4236/jpee.2018.61005</p></sec><sec id="s7"><title>Appendix A. Data for 2 MW Variable Speed Wind Turbine SCIG-Based</title></sec><sec id="s8"><title>List of Symbols</title></sec></body><back><ref-list><title>References</title><ref id="scirp.82125-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Pao, L.Y. and Johnson, K. (2011) Control of Wind Turbines: Approaches, Challenges, and Recent Developments. IEEE Control Systems Magazine, 31, 44-62. https://doi.org/10.1109/MCS.2010.939962</mixed-citation></ref><ref id="scirp.82125-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Abdullah, M.A., Yatim, A.H.M., Tan, C.W. and Saidur, R. (2012) A Review of Maximum Power Point Tracking Algorithms for Wind Energy Systems. Renewable and Sustainable Energy Reviews, 16, 3220-3227. https://doi.org/10.1016/j.rser.2012.02.016</mixed-citation></ref><ref id="scirp.82125-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Munteanu, I. and Bratcu, A.I. (2008) Optimal Control of Wind Energy Systems: Towards a Global Approach. Springer, Berlin.</mixed-citation></ref><ref id="scirp.82125-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Soliman, M., Malik, O.P. and Westwick, D.T. (2011) Multiple Model Predictive Control for Wind Turbines with Doubly Fed Induction Generators. IEEE Transaction on Sustainable Energy, 2, 215-225. https://doi.org/10.1109/TSTE.2011.2153217</mixed-citation></ref><ref id="scirp.82125-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Johnson, K.E., Fingersh, L.J., Balas, M.J. and Pao, L.Y. (2004) Methods for Increasing Region 2 Power Capture on a Variable-Speed Wind Turbine. Journal of Solar Energy Engineering. 126, 1092-1100. https://doi.org/10.1115/1.1792653</mixed-citation></ref><ref id="scirp.82125-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Barakati, S.M., Kazerani, M. and Aplevich, J.D. (2009) Maximum Power Tracking Control for a Wind Turbine System Including a Matrix Converter. IEEE Transactions on Energy Conversion, 24, 705-713. https://doi.org/10.1109/TEC.2008.2005316</mixed-citation></ref><ref id="scirp.82125-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Krstic, M. and Wang, H.H. (2000) Design and Stability Analysis of Extremum Seeking Feedback for General Nonlinear Systems. Automatica, 36, 595-601. https://doi.org/10.1016/S0005-1098(99)00183-1</mixed-citation></ref><ref id="scirp.82125-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Ariyur, K.B. and Krstic, M. (2003) Real-Time Optimization by Extremum-Seeking Control. John Wiley &amp; Sons, Hoboken. https://doi.org/10.1002/0471669784</mixed-citation></ref><ref id="scirp.82125-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Creaby, J., Li, Y. and Seem, J.E. (2009) Maximizing Wind Turbine Energy Capture Using Multi-Variable Extremum Seeking Control. Wind Engineering, 33, 361-387. https://doi.org/10.1260/030952409789685753</mixed-citation></ref><ref id="scirp.82125-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Ghaffari, A., Krstic, M. and Seshagiri, S. (2014) Power Optimization and Control in Wind Energy Conversion Systems Using Extremum Seeking. IEEE Transactions on Control Systems Technology, 22, 1684-1695. https://doi.org/10.1109/TCST.2014.2303112</mixed-citation></ref><ref id="scirp.82125-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Xiao, Y., Li, Y.Y. and Rotea, M. (2016) Experimental Evaluation of Extremum Seeking Based Region-2 Controller for CART3 Wind Turbine. 34th Wind Energy Symposium, AIAA, Reston. https://doi.org/10.2514/6.2016-1737</mixed-citation></ref><ref id="scirp.82125-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Wu, B., Lang, Y., Zargari, N. and Kouro, S. (2011) Power Conversion and Control of Wind Energy Systems. Wiley, Hoboken. https://doi.org/10.1002/9781118029008</mixed-citation></ref><ref id="scirp.82125-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Aho, J., Buckspan, A., Laks, J., Fleming, P., Jeong, Y., Dunne, F., Churchfield, M., Pao, L.Y. and Johnson, K. (2012) A Tutorial of Wind Turbine Control for Supporting Grid Frequency through Active Power Control. American Control Conference (ACC), 3120-3131.</mixed-citation></ref><ref id="scirp.82125-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Reyes, V., Rodríguez, J.J., Carranza, O. and Ortega, R. (2015) Review of Mathematical Models of Both the Power Coefficient and the Torque Coefficient in Wind Turbines. IEEE 24th International Symposium on Industrial Electronics (ISIE), June 3-5 2015, Buzios, 1458-1463. https://doi.org/10.1109/ISIE.2015.7281688</mixed-citation></ref><ref id="scirp.82125-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Iov, F., Hansen, A.D., Sorensen, P. and Blaabjerg, F. (2004) Wind Turbine Blockset in MATLAB/Simulink. Aalborg University, Denmark.</mixed-citation></ref><ref id="scirp.82125-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Bose, B.K. (2001) Modern Power Electronics and AC Drives. Prentice-Hall, Englewood Cliffs.</mixed-citation></ref><ref id="scirp.82125-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, J. and Wang, W. (2013) Simulation Study of Space Vector Pulse Width Modulation in Wind Power Generation System. 2013 International Conference on Materials for Renewable Energy and Environment (ICMREE), August 19-21 2014, Chengdu, 415-418. https://doi.org/10.1109/ICMREE.2013.6893696</mixed-citation></ref><ref id="scirp.82125-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Shaija, P.J. and Elizabeth Daniel, A. (2016) An Intelligent Speed Controller Design for Indirect Vector Controlled Induction Motor Drive System. 25, 801-807. https://doi.org/10.1016/j.protcy.2016.08.177</mixed-citation></ref><ref id="scirp.82125-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Tan, Y., Nesic, D. and Marlees, I. (2008) On the Choice of Dither in Extremum Seeking Systems: A Case Study. Automatica, 44, 1446-1450. https://doi.org/10.1016/j.automatica.2007.10.016</mixed-citation></ref><ref id="scirp.82125-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Raafat, S.R. and Ali, Sh.S. (2014) The Selection of Dither Signal in Extremum Seeking Control of 3 DOF Helicopter System. Zaytoonah University International Engineering Conference on Design and Innovation in Sustainability, May 13-15 2014, Amman, Jordan.</mixed-citation></ref><ref id="scirp.82125-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Bekakra, Y. and Attous, D.B. (2013) Optimal Tuning of PI Controller Using PSO Optimization for Indirect Power Control for DFIG Based Wind Turbine with MPPT. International Journal of System Assurance Engineering and Management, Springer, 219-229.</mixed-citation></ref><ref id="scirp.82125-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Gavriluta, C., Spataru, S., Mosincat, I., Citro, C., Candela, I. and Rodriguez, P. (2012) Complete Methodology on Generating Realistic Wind Speed Profiles Based on Measurements. International Conference on Renewable Energies and Power Quality, 1, 1757-1762. https://doi.org/10.24084/repqj10.828</mixed-citation></ref></ref-list></back></article>