Open access peer-reviewed chapter

Modeling and Simulation of the Variable Speed Wind Turbine Based on a Doubly Fed Induction Generator

By Imane Idrissi, Houcine Chafouk, Rachid El Bachtiri and Maha Khanfara

Submitted: December 6th 2018Reviewed: December 20th 2018Published: December 28th 2019

DOI: 10.5772/intechopen.83690

Downloaded: 458


This chapter presents the modeling and simulation results of variable speed wind turbine driven by doubly fed induction generator (DFIG). The feeding of the generator is ensured through its stator directly connected to the electrical grid and by its rotor connected to the grid through two power converters, which are controlled by the pulse width modulation (PWM) technique. This configuration is the most used in the wind power generation systems. For the variable speed operation of the studied system, the maximum power point tracking strategy is applied for the turbine, and the stator flux-oriented vector control is used for the generator. The MATLAB/Simulink software is used for the system modeling and simulation. For the wind velocity model, a random wind profile is simulated, and the turbine and the generator parameters are extracted from an existing wind turbine system in the literature. The obtained results are addressed in this chapter.


  • wind turbine
  • variable speed operation
  • DFIG
  • PWM
  • MATLAB/Simulink
  • MPPT

1. Introduction

With the global warming issues and the climate changes, there is a serious need for the use of the renewable energy resources in the electricity generation industry. Currently, the wind represents one of the most important renewable energy resources, used for generating electrical energy in the world. In terms of the total installed wind capacity, it becomes up to 539 GW across the globe in 2017 [1]. The rapid rate of the wind energy industry growth is caused by the cost-effectiveness of electricity production from wind farms, compared to electricity production cost from fossil fuel energy [2], the stability of electricity cost [3], the short commissioning time of wind farms [4], and the ingenuity of skillful engineers.

According to a wind market survey, the doubly fed induction generator (DFIG) is the most popular generator used in the speed variable wind turbines (SVWT) [5]. It is a wound rotor asynchronous machine which has the stator windings directly connected to the electrical grid, and its rotor is linked to the constant frequency grid by means of two bidirectional power converters.

This configuration, known as “Scherbius structure” and shown in Figure 1, has several advantages of controlling independently active and reactive power [6, 7]. Moreover, the power converters used are sized to transfer only a fraction, equal to at most 30% of the turbine rated power [8, 9], which results in small-size, low-cost, less acoustic noise and reduced loss rate in the power converters [10]. Moreover, The DFIG-based wind turbine allows the rotor speed to be varied with the wind speed, and the speed variation range is around ±30% around the synchronism speed [11]. As a result, the wind generation system could operate in hyposynchronous and hypersynchronous mode, which would extract the maximum aerodynamic power for each wind speed value.

Figure 1.

Architecture Scherbius of DFIG-based wind turbine.

In order to design fault diagnosis and control approaches based on models for wind turbines, the development of a mathematical model, which represents as much details as technically possible and gives an accurate idea of the dynamic behavior of the system, seems to be an important step. For several purposes, different wind turbine models have been developed. In literature, we find for wind systems the aerodynamic model, which aims to verify and optimize the blade design, depending on predefined specifications, while the mechanical model is used by engineers for establishing a safe and economical dimensioning of the whole wind turbine system. Moreover, the economic model is used in the case of manufacturing and installing wind turbines with the purpose to evaluate the cost-effectiveness. In addition, there are models which predict the weather conditions and the power output of wind farms. Furthermore, there are models, which have the objective of evaluating the impact of wind turbines on the environment such as the evaluation of noise produced by the wind turbine operation. Finally, the general-purpose models concerned with the electrical properties of wind turbines are widely used.

The speed variable wind turbine (SVWT) model, developed and simulated in this work, is concerned with providing time simulation signals that can be exploited for designing fault diagnosis approaches based on models; the software tool used for simulation is the MATLAB/Simulink environment. In [12], a wind turbine model of a fixed-speed, stall-regulated system has been developed with the aim of measuring and evaluating the power quality impact of wind turbines on the grid. In addition, a model for a wind turbine generation system based on a DFIG, including the mechanical dynamics, the wind turbine electrical system, the converter, and the electrical grid has been presented in [13]. Luis et al. [14] presented the most commonly used wind turbine model meeting objectives as production energy, safety of turbine, grid connection, and others. Moreover, in [15], the detailed mechanical structural modeling of the wind turbine connected to the grid and based on DFIG has been developed, and it has been validated using NREL’s simulation tool, FAST v7; for analysis of the dynamic behavior of the wind power plant with DFIG under the grid fault conditions, modeling of the whole system has been established in [16]. Furthermore, with the use of an electromagnetic transient simulation software, the wind turbine driven by DFIG model is elaborated in [17].

The organization of this chapter is as follows: the wind turbine structure is described in Section 2; the wind modeling turbine is presented in Section 3. In Section 4, the simulation results in MATLAB/Simulink environment are shown. Finally, the conclusion is presented in Section 5.


2. The wind turbine structure

The wind turbine is a complex system containing different components, which involved different domains: electrical, mechanical, and electronic areas and others. The complete model of the studied wind turbine system is represented by a set of blocks each representing a functional entity of the system. The general structure of a wind system is given by Figure 2.

Figure 2.

Wind turbine system structure.

As it is shown in the Figure 2, the wind velocity and the fixed-pitch angle represent the input of the wind turbine system. The aerodynamic conversion entity is formed of three blades which capture and convert the kinetic energy of the wind into mechanical energy, recovered on the slow rotating shaft. Then, the gearbox device increases the turbine low speed and makes it suitable with the generator rotational speed, which is about 1500 rpm. The generator receives mechanical energy and transforms it into electrical energy. The two power converters used are insulated gate bipolar transistor (IGBT) type and controlled by pulse width modulation (PWM) technique; they allow the independent control of the active and reactive powers and also the transfer of the slip power in two directions: from the generator to the network and from the network to the generator.

3. The wind turbine modeling

In this section, the mathematical model of each wind turbine block is presented.

3.1 Wind speed model

The wind resource is an important element in a wind energy system, and it represents a determining factor in the calculation of electricity production because, under optimal conditions, the power captured by the wind turbine is a cubic function of the wind speed. The wind is a moving air mass, and the wind kinetic energy is given by:


where m is the moving air mass [g] and v is the air moving speed [m/s].

The wind power during is expressed as:


The wind speed v is generally represented by a scalar function evolving over time, given by V = f(t). It can also be divided into two components: a slowly varying part denoted as V0 and a random varying part denoted as Vt; it represents the wind fluctuations. Therefore, the wind velocity can be written as:


To mathematically model the wind speed profile, the literature offers three techniques:

  • The first method is white noise filtering technique, in which the turbulence impact is corrected by the use of a low-pass filter having the following transfer function [18]:


where τ is the filter time constant. It depends on the rotor diameter and the wind turbulence intensity and the average wind speed. Figure 3 shows the method of reconstruction of the wind profile using this technique.

  • The second method of generating the wind speed profile is that which describes wind variations using the spectral density established by meteorologist I. Van der Hoven. In this model, the turbulence part is considered as a stationary random process, and therefore it does not depend on the variation of the mean wind speed [19, 20]. The variation of the wind speed v(t) is thus written in the form of the harmonic sum:

Figure 3.

Wind profile construction scheme by white noise filtering.


where A is the wind speed average value; akis the amplitude of k-order harmonic; ωkis the pulsation of k-order harmonic; and i is the last harmonic rank retained in the wind profile calculation.

  • The third method is the Weibull distribution in which a given site wind potential is obtained by measuring the average wind speed in regular time intervals. Then, the data obtained are then divided into numbers by wind speed classes using histogram [21]. The wind profile over a desired time period, respecting the Weibull distribution, is given by:


where Vv is the wind speed average value and ξv is the disturbance mean value expressed by:


where rand(t) is a function generating, in a uniform distribution, random numbers between 0 and 1 and (Cv, kv) is a parameter pair, determined by analysis of the wind class histogram. Cv is a scale factor generally greater than 5. The shape factor kv is greater than 3 if the histogram shape is like that of a normal distribution, characterized by an uniform distribution around a mean value.

In this work, we adopted the second method to generate the random profile of the wind speed applied in the studied wind system input.

3.2 Aerodynamic conversion model

The aerodynamic conversion system is the wind turbine part, which is facing the wind; it generally comprises three blades of length R. Three-bladed wind turbines are much more common than two-bladed wind turbines. The turbine captures the kinetic energy of the wind and transforms it into mechanical energy recovered on the slow rotating shaft.

The kinetic power of the wind is given by:


The aerodynamic power is expressed as follows:


The aerodynamic torque Taer is given by the following expression:


where Ωt is the turbine speed [rad/s], ρ is the air density, ρ = 1.225 kg/m3, S = π R2 is the rotor surface [m2], R is the blade length [m], and vwind is the wind speed upstream of the wind turbine rotor [m/s]. λ is the speed ratio. It is a unitless parameter, related to the design of each wind turbine, and it represents the ratio between the speed of the blade’s end and that of the wind at the rotor axis or also called hub. λ is expressed as follows:


This parameter depends on the blade number of the wind turbine. If the blade number is reduced, the rotor speed is high, and a maximum of power is extracted from the wind. In the case of multiblade wind turbines (Western Wind Turbines), the speed ratio is equal to 1; for wind turbines with a single blade, λ is about 11. The three-bladed wind turbines, as in our study, have a speed ratio of 6 to 7. The speed ratio of Savonius wind turbines is less than 1 [22].

Cp is the power coefficient or aerodynamic transfer efficiency that varies with the wind speed. This coefficient has no unit, and it depends mainly on the blade aerodynamics, the speed ratio λ, and the blade orientation angle β. Betz has determined a theoretical maximum limit of the power coefficient Cpmax = 16/27 ∽ 0.59. Taking into account losses, wind turbines never operate at this maximum limit, and the best-performing wind turbines have a Cp between 0.35 and 0.45. Cp is specific to each wind turbine, and its expression is given by the wind turbine manufacturer or using nonlinear formulas. To calculate the coefficient Cp, different numerical approximations have been proposed in the literature. The Cp expressions frequently encountered in the literature are presented in Table 1.

Power coefficient type, CpFormula
Exponential0.22·116λi0.4·β5·e12.5λiavec 1λi=1λ+0.08·β0.035β3+1[23]
0.5·116λi04·β5·e21λi+0.068·λ[8, 24, 25]
Avec: 1λi=1λ+0.08·β0.035β3+1
Avec: 1λi=1λ+0.08·β0.035β3+1
Avec: 1λi=1λ+0.08·β0.035β3+1
Avec: λi=11λ+0,002

Table 1.

Different numerical formulas of the power coefficient Cp.

Since we had as an objective the modeling and simulation of a three-bladed wind turbine with a nominal power of 3 kW; the parameters of both: the wind turbine and the generator have been used from [30]. For this reason, the analytical expression of the power coefficient Cp is given by:


This coefficient has a maximum value equal to 0,35 (Cpmax = 0,35 ) and an optimal value of relative speed equal to 7 (λ = 7).

The block diagram presenting the aerodynamic part is shown in Figure 4.

Figure 4.

Block diagram of the aerodynamic part.

3.3 Gearbox model

The mechanical part of the wind turbine consists of the turbine shaft rotating slowly at speed Ωt, the gearbox having the multiplication gain G and driving the generator at a speed Ωg, by means of a fast secondary shaft.

The gearbox is a device that allows to multiply the turbine speed of Ωt by a multiplication gain G to make it adapt to the rapid speed of the generator Ωg. This device is considered ideal, because the gearbox elasticity, friction, and energy losses are considered negligible. The two equations mathematically modeling the operation of this device are given as follows:


where Tg is torque on the generator shaft (N·m), Taer is the aerodynamic torque of the wind turbine (N · m), Ωg is the speed generator shaft (rad · s−1), Ωt is the turbine speed shaft (rad · s−1), and G is the multiplication gain; it is given by G = N1/N2.

Figure 5 shows the gearbox model for determining the multiplication gain G, and Figure 6 shows the gearbox block diagram.

Figure 5.

The gearbox model.

Figure 6.

Block diagram of the gearbox.

The total inertia J consists of the turbine inertia Jt and the generator inertia Jg; it can be written according to the following equation [28]:


The total viscous friction coefficient fv consists of the generator friction coefficient fg and the turbine friction coefficient ft. The coefficient fv can be expressed as follows:


Therefore, the mechanical part can be modeled according to the diagram shown in Figure 7.

Figure 7.

The several coefficients of the wind turbine mechanical part.

The generator speed Ωg depends on the total mechanical torque Tmec. This torque is the result of the electromagnetic torque of the generator Tem, the viscous friction torque Tv, and the torque applied on the generator shaft Tg.


Therefore, from these previously established equations, the differential equation of the mechanical system dynamics is expressed by:


The block diagram of the wind turbine mechanical part is presented in Figure 8.

Figure 8.

Block diagram of the wind turbine mechanical part.

The diagram block of the whole wind turbine system is given in Figure 9.

Figure 9.

Block diagram of the whole wind turbine system.

In order to continuously reach the maximum power point provided by a wind turbine, operating over a wide range of wind speed, the maximum power point tracking (MPPT) control technique is used. In this chapter, the MPPT control without controlling the mechanical speed is presented [32]. This control strategy is based on the assumption that the wind speed little varies in steady state compared to the electrical constants of the wind turbine system. Therefore, at the maximum power point, the relative speed ʎ is equal to its optimum value λopt, and the power coefficient Cp is equal to its maximum value Cp-max, while the reference electromagnetic torque Cemis given by:


For simplification, the parameter K is expressed as:




The reference electromagnetic torque is proportional to the square of the generator speed Ωg. The block diagram which presents the MPPT control strategy without the measurement of the generator speed is shown in Figure 10.

Figure 10.

Block diagram of the MPPT control without mechanical speed.

3.4 DFIG model

The doubly fed induction generator (DFIG) is a three-phase asynchronous machine, powered by two sources: by its stator and its rotor at the same time. Its main advantage is that it offers the possibility of controlling the power flows for the hypo- and hypersynchronous modes, either in the motor or generator operation. It also allows the variable speed operation of the system where it is integrated.

The DFIG model in the stationary reference frame, noted (α, β), is given in the state representation [33] as follows:


where i and i are the stator currents in the stationary reference frame (α, β); i and i are the rotor currents in the reference frame (α, β); v and v are the stator stresses in the stationary reference frame (α, β); v and v are the rotor voltages in the stationary reference frame (α, β).

The matrices A ∈ ℝn×n, B ∈ ℝn×m, and C ∈ ℝp×n are, respectively, the state matrix, the input or control matrix, and the output or observation matrix. They are, respectively, given by:


where Rs and Ls are, respectively, the single-phase resistance and the cyclic single-phase inductance of the stator winding; Rr and Lr are, respectively, the single-phase resistance and the cyclic single-phase inductance of the rotor winding; M is the mutual inductance between the stator phase and the rotor phase; σ=1M2Ls.Lris the leakage coefficient or the Blondel coefficient; ωsis the synchronism angular speed [rad/s]; and ωis the mechanical angular speed [rad/s].

In order to generate the reference rotor voltages which will be the input of the machine side converter, the stator flux-oriented vector control is applied to DFIG system [34].

3.5 Power converter models

The power electronic converters used consist of a rectifier made using semiconductors controlled at the opening and closing, and a three-phase voltage inverter consists of three reversible current switch arms, controlled at the opening and closing in the same time. Each arm consists of two switches, which contain each one insulated gate bipolar transistor (IGBT) and an antiparallel diode. The voltage capacitor DC allows the storage of the output rectifier energy. The passive filter type (L, R) is used to connect the inverter to the grid. Both converters used are controlled using pulse width modulation (PWM), and the power converter structure is given in Figure 11.

Figure 11.

Structure of the power converters (IGBT).

The input voltages of single phases of the rotor side converter (RSC) are described as follows:


where Si represents the switch states, supposedly ideal to facilitate the rectifier modeling, defined by:


The rotor voltage equations and the DC capacitor equation are given, respectively:


where Vrabc is the three-phase rotor voltage of DFIG [V]; irabc is the three-phase rotor current of DFIG [A]; C is the capacitor constant [F]; Vdc is the DC bus voltage [V]; idc is the DC output current [A].

The block diagrams of the rotor side converter (RSC) and the grid side converter (GSC) are given, respectively, in Figures 12 and 13.

Figure 12.

The block diagram of the RSC.

Figure 13.

The block diagram of the GSC.

4. Simulation results

The variable speed wind turbine model based on DFIG with a power of 3 Kw has been developed and simulated using MATLAB/Simulink software. The turbine and DFIG parameters are extracted from [30]. Some simulation results of the wind system modeled in this study are presented in the figures below. Figure 14 shows the random wind speed profile applied to the turbine. The wind speed varies between [6 m/s] and [11 m/s]. Figure 15 presents the aerodynamic power delivered by the wind turbine and it reached 3kw when the wind speed is up to 11 [m/s]. Figures 16 and 17 illustrate respectively the mechanical speed of the generator shaft and the speed of the turbine shaft. It can be noticed from the Figure 16 that during the simulation time (150 seconds), the generator operates in both hypo and hyper synchronous operating modes.

The Figures 18 and 19 show respectively the variation of the power coefficient Cp and the variation of the speed ratio λ, which coincide with the maximum power coefficient and with the optimal speed ratio.

Figure 14.

Wind speed profile [m/s].

Figure 15.

Aerodynamic power [W].

Figure 16.

Mechanical speed of DFIG [rpm].

Figure 17.

Turbine speed [rpm].

Figure 18.

Power coefficient Cp.

Figure 19.

Speed ratio ʎ.

The simulation results of the wind system electrical part, including the electrical characteristics of the DFIG, the power converters, and the capacitive bus, are presented in Figures 2027.

Figure 20.

Three-phase stator current [A].

Figure 21.

Zoom on the stator currents [A].

Figure 22.

Three-phase rotor current of DFIG [A].

Figure 23.

Zoom on the rotor currents [A].

Figure 24.

The stator currents in the (α, β) reference [A].

Figure 25.

The rotor currents in the (α, β) reference [A].

Figure 26.

Three-phase stator voltage [V].

Figure 27.

Voltage of the DC capacitor [V].

By applying the first-order passive filter (R, L) to the square-wave signals, given in Figure 28, the rotor voltages in sinusoidal form are obtained and shown in Figure 29.

Figure 28.

The output voltages of the rotor side converter [V].

Figure 29.

Three-phase rotor voltage [V].

5. Conclusion

This chapter presents the modeling and simulation results of the most commonly used speed variable wind turbine driven by a doubly fed induction generator. In order to generate efficient and quick electrical power, the control techniques are applied, such as the MPPT control for wind turbine and the stator flux-oriented vector control are used for the generator. The wind turbine system and its control methods are established in the MATLAB/Simulink environment. The obtained signals are used for the design of fault diagnostic methods in future works.

© 2019 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Imane Idrissi, Houcine Chafouk, Rachid El Bachtiri and Maha Khanfara (December 28th 2019). Modeling and Simulation of the Variable Speed Wind Turbine Based on a Doubly Fed Induction Generator, Modeling of Turbomachines for Control and Diagnostic Applications, Igor Loboda and Sergiy Yepifanov, IntechOpen, DOI: 10.5772/intechopen.83690. Available from:

chapter statistics

458total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Modeling of Turbomachines for Control and Diagnostic Applications

Edited by Igor Loboda

Next chapter

Introductory Chapter: Gas and Wind Turbines and Their Models

By Igor Loboda

Related Book

First chapter

Finite Element Analysis in Dental Medicine

By Josipa Borcic and Alen Braut

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us