Keywords

5.1 Introduction

Today, energy demands has increased enormously. Fossil fuel sources are declining and the preoccupations concern the levels of pollution in the environment are the main drivers for electricity generation from renewable energy sources.

Renewable energies, such as solar energy and wind energy, are clean, inexhaustible energies, because of all these factors there has been a great deal of interest in wind power generation in recent years (Kazemi and Kojabadi 2010).

The induction machine in variable speed drives poses some difficulties which make its control more complex compared to a DC machine. Indeed, this type of machine is characterized by a multivariable, nonlinear mathematical model, with a strong coupling between the two control variables, which are the magnetic Field and the electromagnetic torque (de Wit 2000). In other words, it is not possible to control independently the input variables (voltage or current). Moreover, some state variables are not accessible to measurements, and its parameters are subject to variations over time. For this reason, several methods of controlling the DFIG have emerged, among them, the field oriented control technique.

The principle of this technique was developed by BLASCHKE in the early 1970s; it consists in orienting the field along one of the axes of the referential d, q in order to make this machine’s behavior similar to that of a Separately Excited DC Machine. This control is based on PI controllers.

In this chapter, we begin with the modeling of the turbine. Next, a tracking technique operating point at maximum power point tracking (MPPT) will be presented (Bekakra and Attous 2011; Ghoudelbourk et al. 2016). Then, we will present a model of the DFIG in the referential (d, q). After that, we will tackle the principle of field oriented control. Finally with the use of MATLAB/SIMULINK, we will present and analyze the simulation results to validate our theoretical study.

5.2 Modeling of the Wind Conversion Chain

The turbine studied in this chapter comprises three blades of length R. They are fixed on a drive shaft rotating at a turbine speed Ω t connected to a gain multiplier G which drives an electric generator as shown in Fig. 5.1 (Ihedrane et al. 2017a).

Fig. 5.1
figure 1

Wind conversion chain

5.2.1 Model of the Turbine

5.2.1.1 Turbine Power

The kinetic power of the wind is defined by the following equation (Ihedrane et al. 2017a,b)

$$\displaystyle \begin{aligned} P_v=\dfrac{\rho \times S \times V^3}{2} \end{aligned} $$
(5.1)

where:

ρ: Density of the air

S: Surface swept by the turbine

v: Wind Speed

The turbine can convert only a percentage of the wind power presented by the coefficient C p, hence the expression of the aerodynamic power can be described as follows:

$$\displaystyle \begin{aligned} P_{aero}=C_p(\lambda,\beta)\times\dfrac{\rho \times S\times V^3}{2} \end{aligned} $$
(5.2)

5.2.1.2 Power Coefficient

The power coefficient C p(λ, β) represents the aerodynamic efficiency of the wind turbine. The latter depends on the specific speed λ and the angle of the orientation of the blades β. It is approximated by the following function (Bossoufi et al. 2014; Ihedrane et al. 2017a):

$$\displaystyle \begin{aligned} C_p(\lambda,\beta)=C_1\times\left(\dfrac{C_2}{A}-C_3\times\beta-C_4\right)\times \exp\left(-\dfrac{C_5}{A}\right)+C_6\times\lambda \end{aligned} $$
(5.3)

where: \(\dfrac {1}{A}=\dfrac {1}{(\lambda +0.08\times \beta )}-\dfrac {0.035}{\beta ^3+1}\)

5.2.1.3 Specific Speed

Specific speed λ is defined as the ratio of the linear turbine speed and the wind speed (Ihedrane et al. 2017a; Youcef 2014), it is given by (5.4):

$$\displaystyle \begin{aligned} \lambda=R\times \dfrac{\varOmega_t}{V} \end{aligned} $$
(5.4)

Figure 5.2 shows the variation of power coefficient C P in function of speed ratio λ for different values of β (Bossoufi et al. 2014; Ihedrane et al. 2017a). From this figure we can note that the power coefficient C p reaches its maximum 0.5506 for a speed ratio λ opt =  8 and β = 0.

Fig. 5.2
figure 2

Power coefficient C P in function of speed ratio λfor different values of β

5.2.1.4 Mechanical Torque

From the expression of the power produced by the turbine and knowing the speed turbine, the mechanical torque can be expressed by 5.5 (Ihedrane et al. 2017a):

$$\displaystyle \begin{aligned} C_{aero}=\dfrac{P_{aero}}{\varOmega_t}=C_p(\lambda,\beta)\times\dfrac{\rho \times S \times V^3}{2 \times \varOmega_t} \end{aligned} $$
(5.5)

5.2.2 Model of the Multiplier

The multiplier transforms the turbine speed into the generator speed and the aerodynamic torque into the generator torque according to the following system (Ihedrane et al. 2017a; Youcef 2014):

$$\displaystyle \begin{aligned} \begin{cases} \varOmega_t=\dfrac{\varOmega_{mec}}{G}\\ C_g=\dfrac{C_{aero}}{G} \end{cases} \end{aligned} $$
(5.6)

where:

Ω mec: rotation speed of the generator.

C g: The generator torque.

5.2.3 Dynamic Equation of the Transmission Shaft

From the mechanical torque exerted on the rotor shaft of the wind turbine and the electromagnetic torque C em, the fundamental equation of the dynamics makes it possible to determine the evolution of the mechanical speed (Guda 2005):

$$\displaystyle \begin{aligned} C_{mec}=J\dfrac{d\varOmega_t}{dt} =C_g-C_{em}-C_f \end{aligned} $$
(5.7)

with:

J: the total inertia, it is constituted by the turbine inertia J t, and the generator inertia J g (Aimani 2004):

$$\displaystyle \begin{aligned} J=\dfrac{J_t}{G}+J_g \end{aligned} $$
(5.8)

The block diagram corresponding to the model of the turbine is given in Fig. 5.3.

Fig. 5.3
figure 3

Block diagram of the wind converter model

5.2.4 Control Strategy for Wind Turbine

5.2.4.1 Maximum Power Point Search Method

The characteristic of the optimal power of a wind turbine is strongly non-linear and “bell-shaped” (Johansen et al. 2001).

The wind system must find the maximum power, for each wind speed, which is equivalent to finding the optimum rotational speed.

Figure 5.4 illustrates the characteristic curves of the wind turbine in the plane (power,rotational turbine speed). Each curve corresponds to a wind speed V v. The vertices of these characteristics present the optimal points sought which define a curve called the optimal power curve given by:

$$\displaystyle \begin{aligned} P_{opt}=C_p{opt}(\lambda_{opt})\times \dfrac{\rho\times \pi\times R^2 \times V^3}{2} \end{aligned} $$
(5.9)

The wind system requires a perfect tracking of the optimum power curve in order to have an ideal operation, to do that, a specific command called Maximum Power Point Tracking (MPPT) must be used. The strategy of this control consists in controlling the electromagnetic torque in order to adjust the mechanical speed in a way to maximize the electrical power generated.

Fig. 5.4
figure 4

Characteristics of the wind turbine in the plane (power,rotational turbine speed)

There are two approaches:

  • The first approach considers that the characteristic C p = f(λ) is not known (Johansen et al. 2001).

  • The second one considers that the characteristic C p = f(λ) is known. Simply follow the optimum power curve for the wind turbine to be in optimum conditions.

This approach Simplifies the algorithm of the maximum power and allows to use more basic and less expensive converters.

5.2.4.2 Operation of a Variable Speed Wind Turbine

Figure 5.5 illustrates the different operating phases of a variable speed wind turbine (Mourad 2016).

  • Wind speeds are very low and insufficient to drive the wind turbine and produce power.

    Fig. 5.5
    figure 5

    Characteristics (Power, wind speed)

  • the wedge angle is kept constant, and the control of the electromagnetic torque will be implemented in order to capture the maximum power for each wind speed (MPPT principle). In this zone, the generator power curve keeps a rapid progression (Mourad 2016).

  • Zone 3: The generator speed is kept constant at its maximum as opposed to a suitable torque. The increase in the wind speed leads to a decrease in the coefficient C p and a slower increase in the recovered power. When the maximum of the power generator is reached, the angle of the blades (pitch) is modified (Passage from β 1 to β 2) in order to degrade the coefficient C p.

  • Zone 4: In this zone, when the wind speed becomes too high V M, an emergency device is used to stop the wind turbine (No electricity production) and to prevent damage.

5.2.4.3 Maximum Power Extraction Technique

In order to extract the maximum power from the wind turbine, we need an algorithm acting on the set point variables, to have a good efficiency of the device.

In the literature we have found two types of control structures for the maximization of power extracted:

  • The MPPT control without mechanical speed control.

  • The MPPT control with mechanical speed control

In this chapter we are interested in the MPPT control without mechanical speed control.

In practice, an exact measurement of wind speed is difficult to achieve. Due to the following reasons (Aimani 2004; Mourad 2016).

  • The anemometer is located behind the rotor of the turbine, which gives an erroneous reading of the wind speed.

  • Since the diameter of the surface swept by the blades is large (typically 70 m for a 1.5 m wind turbine), a significant variation in wind appears depending on the height of the anemometer. So, the use of a single anemometer leads to use only one local measurement of the wind speed which is therefore not sufficiently representative of its average value appearing on all the blades.

An incorrect measurement of the speed therefore necessarily leads to a degradation of the power captured according to the power extraction technique. This is why most wind turbines are controlled without speed control. This control structure is based on the assumption that the wind speed varies very steadily (Gaillard 2010):

$$\displaystyle \begin{aligned} J\dfrac{d\varOmega_{mec}}{dt}=C_g-C{em}-f \times \varOmega_{mec}=0 \end{aligned} $$
(5.10)

According to this equation, and by neglecting the mechanical torque Cmec and the effect of the couple of viscous friction f × Ω mec, we obtain the following equation:

$$\displaystyle \begin{aligned} C_{em}=C_g \end{aligned} $$
(5.11)

The reference electromagnetic torque is determined from an estimation of the aerodynamic torque:

$$\displaystyle \begin{aligned} C_{emref}=\frac{C_{aeroref}}{G} \end{aligned} $$
(5.12)

We know that:

$$\displaystyle \begin{aligned} \begin{cases} C_{aero}=C_p(\lambda,\beta)\dfrac{\rho \times \pi \times R^2 \times V^3}{2 \times \varOmega_t}\\ \varOmega_{t}=\dfrac{\varOmega_{mec}}{G}\\ V_{est}=R \dfrac{\varOmega_{test}}{2\times \lambda_{test}} \end{cases} \end{aligned} $$
(5.13)

After calculation and a series of combinations, we get the following equation:

$$\displaystyle \begin{aligned} C_{emref}=\dfrac{C_p(\lambda,\beta)}{\lambda_{opt}^3}\times \dfrac{\rho \times \pi \times R^3}{2}\times \dfrac{\varOmega_{mec}^3}{G^3} \end{aligned} $$
(5.14)

The block diagram of the MPPT strategy without mechanical speed measurement is shown in Fig. 5.6.

Fig. 5.6
figure 6

Block diagram of the MPPT strategy without speed control

5.3 Modeling of the Doubly Fed Induction Generator DFIG

5.3.1 Structure of the Electrical Machine

The wind turbine conversion system studied in this chapter is shown in Fig. 5.7. It is divided into two main parts which will be modeled separately: the Doubly Fed Induction Generator whose stator is directly connected to the grid, in contrast to the rotor which is connected to the grid via powers converters “Back to Back”, these converters being able to operate as a rectifier or an inverter according to the direction of the energy transit.

Fig. 5.7
figure 7

General structure of a wind turbine conversion chain

This structure has been retained in this work, in order to establish a control strategies with the objective of controlling the power exchange between the generator and the electrical grid.

The stator magnitudes have the same frequency as that of the grid, that is why it is useless to use power converters to transfer the stator power. On the other hand, the rotor magnitudes don’t have the same frequency as the alternating magnitudes of the grid, which depend on the speed of the rotor and consequently the wind speed, which justifies the use of a voltage converter feeding the rotor.

In the context of the production of electrical energy from wind power, this device can operate at fixed or variable speed, operate in hypo-synchronous or hyper-synchronous mode.

The powers converter side generator allows the control of the active and reactive power produced by the DFIG, and the powers converter side grid allows the control of the DC bus voltage and the power factor at the connection of the wind turbine with the power grid (Datta 2002).

The use of a doubly Fed Induction Generator presents an excellent compromise between the range of speed variation and the dimensioning of the converters compared to the nominal power of the machine.

5.3.2 Operation of the Doubly Fed Induction Machine in Generator Mode

The Doubly Fed Induction Machine, unlike other electrical machines, is reversible and can operate in generator mode and motor mode.

Figure 5.8 shows the form of the mechanical torque/speed characteristic of the induction machine (Mourad 2016).

Fig. 5.8
figure 8

Torque/speed characteristic of the induction machine

From Fig. 5.8 it can be seen that the induction machine operates in motor mode for g > 0 and in generator mode in the opposite case.

For operation with Doubly fed Induction Machine, the stator is powered by a first balanced three-phase voltage source of frequency f, the rotor is connected to a second alternating frequency source f r.

The currents flowing in the stator windings create rotating field at the speed \(\varOmega _s =\dfrac {\varOmega _s}{P}\), similarly, the rotor currents produce a rotor field rotating at a speed \(\varOmega _r =\dfrac {\varOmega _r}{P}\).

When the rotating field of the ror rotates in the same direction of rotation of the stator field, the slip ‘g’ is positive and the rotor rotates slower than the stator field Ω < Ω s, so, the machine operates in Hypo-Synchronous mode.

In the opposite case, the rotating field created by the windings of the rotor rotates in the opposite direction than that of the stator, the slip ‘g’ becomes negative and the rotor rotates faster than the rotating field created by the stator Ω > Ω s, so, the machine operates in hyper-synchronous mode.

For the conventional induction machine, a positive sign of slip ‘g’ corresponds to a motor operation of the machine, whereas a negative sign translates to a generator operation, which may lead to confusion in the understanding of the DFIM operating principle, in which the sign of the slip reflects hypo or hyper-synchronous operation and not the operating mode of the machine (motor or generator) (Bennani 2011).

The possibility of operating in hyper-synchronism or in hypo-synchronism, both in motor mode and in generator mode, is obtained by controlling the amplitude and phase of the rotor voltages, these making it possible to control the magnetic field at inside the machine.

5.3.3 Modeling of the Doubly Fed Induction Generator

5.3.3.1 Simplifying Assumptions

The basic structure of the three-phase induction machine is given by Fig. 5.9.

Fig. 5.9
figure 9

Structure of the three-phase induction machine

Despite its simplicity of construction, the mathematical model of the Doubly Fed Induction Gnerator DFIG is complex. In the three-phase referential fixed and linked to the stator, the model of the induction machine present the disadvantage of arriving at differential equations with variable coefficients as a function of the position of the rotor, and therefore of time.

To remediate to this problem, several approaches have been used, among them the approach based on the theory of the two axes RH Park (Park 2012) which consists in transforming the three-phase system into an equivalent two-phase system, moving from the fixed frame of reference (A, B, C) to a second mobile reference frame (d, q): ‘d’ presents the direct axis and ‘q’ the quadrature axis, perpendicular and mutually coupled, the angle between the two referential is called ‘the Park angle’.

5.3.3.2 Application of Park Transformation to DFIG

Figure 5.10 presents the DFIM model in the PARK referential.

Fig. 5.10
figure 10

Graphical representation of DFIG in the park referential

From Fig. 5.10 we obtain:

$$\displaystyle \begin{aligned} \theta_s=\theta_r+\theta \end{aligned} $$
(5.15)

So its derivative can be writing as follows:

$$\displaystyle \begin{aligned} \dfrac{d\theta_s}{dt}=\dfrac{d\theta_r}{dt}+\dfrac{d\theta}{dt} \end{aligned} $$
(5.16)

The modeling of the DFIG is identical to that of the induction machine cage. The only difference lies in the fact that the rotor voltages are not null because these windings are not ‘short-circuited’.

The general equations obtained after the application of the Park transformation are given by the following equations.

  • Stator Voltages:

    $$\displaystyle \begin{aligned} \begin{cases} V_{sd}=R_s \times I_{sd}+\dfrac{d\varPhi_{sd}}{dt}-\omega_s \times\varPhi_{sq} \vspace{0.5mm}\\ V_{sq}=R_s \times I_{sq}+\dfrac{d\varPhi_{sq}}{dt}+\omega_s \times \varPhi_{sd} \end{cases} \end{aligned} $$
    (5.17)
  • Rotor Voltages:

    $$\displaystyle \begin{aligned} \begin{cases} V_{rd}=R_r \times I_{rd}+\dfrac{d\varPhi_{rd}}{dt}-\omega_r \ \varPhi_{rq} \vspace{0.5mm}\\ V_{rq}=R_r \times I_{rq}+\dfrac{d\varPhi_{rq}}{dt}+\omega_r\times \varPhi_{rd} \end{cases} \end{aligned} $$
    (5.18)
  • Stator Field:

    $$\displaystyle \begin{aligned} \begin{cases} \varPhi_{sd}=L_s \times I_{sd}+M \times I_{rd} \\ \varPhi_{sq}=L_s \times I_{sq}+M \times I_{rq} \end{cases} \end{aligned} $$
    (5.19)
  • Rotor Field:

    $$\displaystyle \begin{aligned} \begin{cases} \varPhi_{rd}=L_r \times I_{rd}+M \times I_{sd} \\ \varPhi_{rq}=L_r \times I_{rq}+M \times I_{sq} \end{cases} \end{aligned} $$
    (5.20)
  • Electromagnetic Torque:

    $$\displaystyle \begin{aligned} C_{em}=p \times (\varPhi_{sd} \times I_{sq}-\varPhi_{sq} \times I_{sd}) \end{aligned} $$
    (5.21)
  • The active and reactive powers of the stator:

    $$\displaystyle \begin{aligned} \begin{cases} P_s=V_{sd} \times I_{sd}+V_{sq} \times I_{sq}\\ Q_s=V_{sq} \times I_{sd}-V_{sd} \times I_{sq} \end{cases} \end{aligned} $$
    (5.22)
  • The active and reactive powers of the rotor:

    $$\displaystyle \begin{aligned} \begin{cases} P_r=V_{rd} \times I_{rd}+V_{rq} \times I_{rq}\\ Q_r=V_{rq} \times I_{rd}-V_{rd} \times I_{rq} \end{cases} \end{aligned} $$
    (5.23)

5.4 Modeling of Power Converters

The converter powered by a source of perfect voltage imposes an AC voltage at its output, which is formed by a succession of two levels rectangular square waves, this being due to the opening and closing of the switches. The operating frequency is set by the control of the switches.

The three-phase system obtained at the output of the converter is a balanced voltage system containing odd harmonics that are different from rank three and their multiples (Mourad 2016).

The structural diagram of a three-phase voltage converter is given by Fig. 5.11.

Fig. 5.11
figure 11

Diagram of a three-phase voltage converter

The compound voltages are given by the following relations:

$$\displaystyle \begin{aligned} \begin{cases} U_{AB}=v_{AO}-v_{BO}\\ U_{BC}=v_{BO}-v_{CO} \\ U_{CA}=v_{CO}-v_{AO} \end{cases} \end{aligned} $$
(5.24)

At the level of the charge, the simple voltages are giving as follows:

$$\displaystyle \begin{aligned} \begin{cases} U_{AB}=v_{A}-v_{B}\\ U_{BC}=v_{B}-v_{C} \\ U_{CA}=v_{C}-v_{A} \end{cases} \end{aligned} $$
(5.25)

We have:

$$\displaystyle \begin{aligned} \left\{ \begin{array}{ccc} U_{AB}-U_{CA}&=&2v_{A}-(v_{B}+v_{C})\\ U_{BC}- U_{AB}&=&2v_{B}-(v_{C}+v_{A}) \\ U_{CA}-U_{BC}&=&2v_{C}-(v_{A}+v_{B}) \end{array} \right. \end{aligned} $$
(5.26)

The voltages (v A, v B, v C) form a balanced three-phase system, so we can write:

$$\displaystyle \begin{aligned} \begin{cases} U_{AB}-U_{CA}=3v_{A}\\ U_{BC}- U_{AB}=3v_{B} \\ U_{CA}-U_{BC}=3v_{C} \end{cases} \end{aligned} $$
(5.27)

The expression of the simple voltages is presented by the following system (5.28)

$$\displaystyle \begin{aligned} \begin{cases} v_{A}=\dfrac{1}{3}(U_{AB}-U_{CA})\vspace{1mm}\\ v_{B}=\dfrac{1}{3}(U_{BC}- U_{AB}) \vspace{1mm}\\ v_{C}=\dfrac{1}{3}( U_{CA}-U_{BC}) \end{cases} \end{aligned} $$
(5.28)

Hence, the matrix form of simple voltages is giving as follows:

(5.29)

Each arm of the converter consists of two switches which are supposed perfect and operate in a complementary manner, it is therefore possible to associate a binary control (S i) value with each arm with (i = A; B; C) and such that:

(5.30)

By replacing the voltages with their values, we obtain:

(5.31)

The simple voltages delivered by the converter will be obtained directly from the states of the control quantities S A, S B and S C which represent the control signals of the switches.

The states of these quantities will also be determined by the envisaged control strategy.

5.5 Field Oriented Control Strategy Applied to DFIG

5.5.1 Principle of Control by Field Orientation Control Strategy

The principle of control by field oriented control consists in orienting field along one of the axes in order to make the behavior of the induction machine similar to that of machine DC separately excited (Aimani 2004; Ihedrane et al. 2017a).

We have chosen to orient the stator field along the axis ‘d’ as shown in Fig. 5.12

Fig. 5.12
figure 12

Stator Field-orientation along the d axis

According to this orientation we obtain:

$$\displaystyle \begin{aligned} \begin{cases} \varPhi_{sd}=\varPhi_s\\ \varPhi_{sq}=0 \end{cases} \end{aligned} $$
(5.32)

In the referential (ABC), the voltage at the terminals of a phase ‘i’ of the stator is expressed as follows:

$$\displaystyle \begin{aligned} v_{si}=R_s \times I_{si}+\dfrac{d\varPhi_{si}}{dt} \end{aligned} $$
(5.33)

with: i = 1, 2, 3

Assuming the resistance of the stator winding \(`R_s^{\prime }\) is negligible for the medium and high power machines generally employed in the wind energy conversion (Ihedrane et al. 2017a; Mourad 2016), we obtain:

$$\displaystyle \begin{aligned} v_{si}=\dfrac{d\varPhi_{si}}{dt} \end{aligned} $$
(5.34)

We supposed that the voltages of the electrical grid are stable; the stator flux will also be constant. So, we can write:

$$\displaystyle \begin{aligned} \begin{cases} v_{sd}=0 \\ v_{sq}=v_{s}=\omega_s \times \varPhi_s \end{cases} \end{aligned} $$
(5.35)

We have chosen to orient the stator flux along the axis ‘d’, we obtain:

$$\displaystyle \begin{aligned} \begin{cases} I_{sd} =\dfrac{1}{L_s} \times (\varPhi_s-M \times I_{rd})\\ \\ I_{sq}=-\dfrac{M}{L_s} \times I_{rq} \end{cases} \end{aligned} $$
(5.36)

So, the previous relations become as follows:

  • Relation between the electromagnetic torque and the rotor currents:

    The expression of the torque is written as follows:

    $$\displaystyle \begin{aligned} C_{em}=p \times I_{sq}.\varPhi_s=-p \times \dfrac{M}{L_s} \times \varPhi_s \times I_{rq} \end{aligned} $$
    (5.37)
  • Relation between stator powers and rotor currents:

    We replaced I sq and I sd by their expressions in the expression of the stator power (P s and Q s) and knowing that v sd = 0,the expression of the active and reactive stator powers become as follows:

    $$\displaystyle \begin{aligned} \begin{cases} P_{s}=V_{sq} \times I_{sq}=-V_s \times \dfrac{M}{L_s} \times I_{rq}\\ \\ Q_s=V_s \times I_{sd}=\dfrac{V_s^2}{\omega_s \times L_s}-V_s \times \dfrac{M}{L_s} \times I_{rd} \end{cases} \end{aligned} $$
    (5.38)
  • Relation between rotor voltage and rotor current:

    By replacing I sq and I sd with their expressions in Φ rd and Φ rq we get:

    $$\displaystyle \begin{aligned} \begin{cases} \varPhi_{rd}=(L_r-\dfrac{M^2}{L_s}) \times I_{rd}+\dfrac{M \times v_s}{L_s \times \omega_s}\\ \\ \varPhi_{rq}=(L_r-\dfrac{M^2}{L_s}) \times I_{rq} \end{cases} \end{aligned} $$
    (5.39)

By injecting these equations into the expressions of the rotor voltages, we obtain the following expression:

$$\displaystyle \begin{aligned} \begin{cases} V_{rd}=\left[R_r+S \left(L_r-\dfrac{M^2}{L_s}\right) \right] I_{rd}-\omega_s ~ g ~ \left(L_r-\dfrac{M^2}{L_s}\right) ~ I_{rq}\\ \\ V_{rq}=\left[R_r+S \left(L_r-\dfrac{M^2}{L_s}\right) \right] I_{rq}-\omega_s ~ g ~ \left(L_r-\dfrac{M^2}{L_s}\right) I_{rd}+\dfrac{g ~ M ~ V_s}{L_s} \end{cases} \end{aligned} $$
(5.40)

with:

g: the slip of the induction machine.

ω r = g × ω s: the rotor pulsation

ω s: The stator pulsation

These equations make it possible to establish a block diagram of the electrical system that can be regulated (Fig. 5.13):

Fig. 5.13
figure 13

Simplified model of the DFIG

According to this block diagram, we can note that the rotor voltages and the stator powers are linked by transfer functions with the first order. This allows to set up a vector control with the influence of the couplings, each axis can be controlled independently with its own controller.

For these controllers, the reference values will be the active power for the rotor axis ‘q’ and the reactive power for the rotor axis ‘d’ (Allam et al. 2014; Poitiers 2003).

The reactive power reference will be kept zero in order to ensure a unit power factor on the stator side so as to optimize the quality of the energy sent to the grid. The active power reference should allow keeping the wind power factor optimal.

To carry out the power control of this machine, there are two structures:

  • Structure of the direct control.

  • Structure of the indirect control.

5.5.1.1 Structure of Direct Control

The block diagram of the direct control of the Doubly Fed Induction Generator is shown in Fig. 5.14.

Fig. 5.14
figure 14

Direct control of the doubly fed induction generator

This method consists in neglecting the coupling terms and setting up a regulator on each axis in order to control independently the active and reactive powers (Sejir 2006; Tarfaya et al. 2015).

5.5.1.2 Structure of Indirect Control

The indirect control of the Doubly Fed Induction Generator is given by Fig. 5.15.

Fig. 5.15
figure 15

Indirect control of the doubly fed induction generator

The second method consists in considering the coupling terms and compensates them by performing a system with two loops in order to control the powers and the rotor currents. This technique wich called indirect method, allows to controlling the rotor currents in order to ensure protection of the generator DFIG by limiting the currents and giving more flexibility to the machine (Allam et al. 2014; Ihedrane et al. 2017a).

5.6 Simulation and Interpretations

In order to examine the robustness of the Field Oriented Control Technique with the turbine control by the MPPT strategy, we applied a random wind profile given by Fig. 5.16.

Fig. 5.16
figure 16

Wind profile

The rotational speed of the DFIG (Fig. 5.17) has less oscillation and high reliability with respect to wind speed profile (Fig. 5.16).

Fig. 5.17
figure 17

Rotational speed of the DFIG ω mec

5.6.1 Simulation Result of the Direct Field Oriented Control DFOC

Figure 5.18 shows the simulation results of Direct Field Oriented Control DFOC:

  • The active power (a) follows its reference values (which is the mechanical power obtained according to the MPPT control strategy) for all the variations of the wind, which shows the robustness of the field oriented control of the DFIG during the variation of the wind speed.

    Fig. 5.18
    figure 18

    Simulation results of direct field oriented control

  • The stator reactive power (b) is maintained at zero in order to ensure a unit power factor on the stator side.

  • The output currents I sabc (c) in the wind system is almost sinusoidal with a fixed frequency equivalent to that of the grid (50H z), which implies a good injection into the grid.

  • The power coefficient C p(d) reach its maximum values C p = 0.5505, which implies that the system provide an optimal power from the wind.

5.6.2 Simulation Result of the Indirect Field Oriented Control IFOC

Figure 5.19 presents the different performances of the Indirect Field Oriented Control, which shows the robustness of the wind system and the good tracking.

  • The stator active and reactive power (a, b) show a perfect decoupling and a good tracking of their references values with a reduction of the undulations, compared to the direct control. Consequently, the harmonics are minimized.

    Fig. 5.19
    figure 19

    Simulation results of indirect field oriented control IFOC

  • The stator currents (c) are also sinusoidal in shape, with an improvement in quality compared to those obtained by the direct control, which implies a clean power without harmonics echanged between the DFIG and the grid.

  • From (d) we can note that the power coefficient kept around its optimum C pmax = 0.5505.

So, the results obtained from the IFOC show the reliability and robustness of the proposed control and provide better control for injecting power into the grid.

5.7 Conclusion

This work has been devoted to the modeling and control of the wind turbine conversion system based on the doubly-fed induction generator DFIG in order to regulate the active and reactive stator power, with the MPPT strategy to extract the maximum of the power generated by DFIG.

Thus, we presented two methods of control of the DFIG which were implemented under MATLAB/SIMULINK in order to visualize the results of simulation.

Direct methods in which the active and reactive powers are measured and compared with their references. The indirect method has the role to improve the tracking of the instructions and therefore, ameliorate the performance of the wind system.

We have seen that the direct control has good results with low implementation complexity, On the other hand, the indirect method allows to obtain an efficient and robust system. It is true that it is more complex but it makes possible to achieve an optimal operation of the electrical generation system by minimizing the worries linked to the parametric variations of the DFIG.

As perspective, this work can be continued and completed by the implementation of this command in an FPGA.