1 Introduction

Owing to the ongoing depletion of conventional fuels and petroleum resources, renewable energy is in high demand. Wind energy has become one of the best clean energy options among the available renewable energy sources and is seen as a better substitute for traditional energy [1]. In wind energy, many generators are most effective with wind turbines, such as doubly fed induction generators (DFIG) and permanent magnet synchronous generator (PMSG).

The permanent magnet (PM) machines still have difficulties in manufacturing process and suffer from the high cost of the PM and its demagnetization at high temperatures. Though, many wind turbines incorporate a DFIG. Despite its complexity, several advantages compared to other types of wind turbine generators can be obtained [2]. However, the main advantage of the DFIG-based wind turbine is the range of speed is limited between 20 and 30% more or less than synchronous speed. As a result, the power handled by the converter is only about 20–30% of the stator-rated power [3]. Over the past decade, high DFIG capacity has been one of the most widely used systems with wind turbines. In addition, it has a high performance in use and low cost than other generators at variable speeds [4].

The DFIG systems control system is connected by placing two converters, one of which is connected to the generator's rotary side, while the other is on the grid side with the stator of the generator. With this control, we can track the maximum power of wind power stations at different speeds by operating at an optimum value of speed [5]. Several control schemes are used to obtain the maximum power point tracking (MPPT) to increase the efficiency of wind power systems [6].

In modern wind turbines, MPPT control schemes should be implemented to benefit from the wind speed. Assortment of MPPT techniques is used in the wind turbines to adapt the generator speed with the optimal speed, for example, hill-climbing search, constant tip speed ratio (TSR), power signal feedback (PSF), optimum torque (OT), incremental conductance (INC), perturbation and observation (P&O) and artificial intelligence techniques [7,8,9]. In [10], TSR technology uses an anemometer to evaluate wind speed, which is highly costly and requires maintenance. Due to the many problems with TSR technologies, it has been suggested in several studies that wind speed estimation (WSE) MPPT obtains the largest and highest amount of energy available from wind energy. Moreover, WSE has achieved good results for a lot of researches, as in [11]. Many researchers presented the theoretical analysis of the MPPT methods, while the experimental setup is more valid but remains a big challenge, and a little research in which the practical part was carried out and it was satisfied that the results were achieved without work in comparison with the theoretical results and therefore the main contribution in this paper was on achieving the proposed method theoretically and practically and comparing the theoretical results with the practical results to confirm the validity of the proposed method.

This paper proposes an efficient and usable control system based on the WSE method to achieve the MPPT from DFIG under variable wind speed in different conditions. The main contribution of this paper is the practical and mathematical investigation of the proposed method. Besides, a thorough comparison is made between the application of the proposed control method and the PSF method to illustrate the effectiveness of the proposed system.

The paper is organized as follows: The next section includes the system modeling of the DFIG system, the principles of the WSE and PSF techniques have been well described in Sect. 3. Section 4 analyzes the results obtained from the simulation. While Sects. 5 and 6 demonstrate the experimental setup of the proposed system and the experimental results, respectively. The conclusion has been drawn in the last section.

2 System modeling

Figure 1 illustrates the schematic diagram of the proposed study system, which depends on the DFIG system connected to the electrical grid. The power generated is supplied to the grid through two paths, the first by the stator coupled direct to the grid and second path by the rotor of the DFIG grid-tied through two converters are the machine side converter (MSC) and the grid side converter (GSC). The main task of the MSC is to obtain the maximum wind energy under different changes in the wind speed from wind turbines. Also the GSC maintains the operation at unity power factor. The model of proposed system is implemented in MATLAB/SIMULINK software.

Fig. 1
figure 1

DFIG based wind turbine configuration

2.1 Wind turbine modeling

The following equation presents the mechanical torque [11]:

$$ T_{m} = \left( {1/2\pi .R^{2} .\rho .V_{W}^{3} C_{p} \left( {\lambda ,\beta } \right)} \right)/\omega_{r} $$
(1)

where Tm is mechanical torque (N m), R is length of blade (m), ρ is the density of air for turbine (kg/m3), VW is the wind speed (m/s), β is pitch angle of blades (deg), CP is the coefficient of power, λ is tip speed ratio (TSR) and ωr is the wind turbine rotational speed (rad/s). The Cp depends on the pitch angle of blades β and TSR λ. TSR of wind turbine can be specified as:

$$ \lambda = \frac{{w_{r} R}}{{v_{w} }} $$
(2)

From through the Eqs. (1) and (2), it is can be build the wind turbine block diagram as shown in Fig. 2.

Fig. 2
figure 2

Wind turbine block diagram

The power coefficient as follows [12]:

$$ C_{p} (\lambda ,\beta ) = C_{1} \left\{ {\frac{{C_{2} }}{{\lambda_{i} }} - C_{3} \beta - C_{4} } \right\}e^{{{\raise0.7ex\hbox{${C_{5} }$} \!\mathord{\left/ {\vphantom {{C_{5} } {\lambda_{i} }}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{${\lambda_{i} }$}}}} + C_{6} \lambda $$
(3)
$$ \frac{1}{\lambda i} = \frac{1}{\lambda + 0.08\beta } - \frac{0.035}{{\beta^{3} + 1}} $$
(4)

where the wind turbine coefficients specification C1 to C6:- C1 = 0.5176; C2 = 116; C3 = 0.4; C4 = 5; C5 = 21 and C6 = 0.0068;

Figure 3 shows the relationship between CP with λ at different values of β. As noted, the maximum value for Cpmax= 0.48, and λopt = 8.1 at β = 0°, so obtaining the maximum value of electrical power is at these values.

Fig. 3
figure 3

A typical Cp versus λ curve

2.2 DFIG modeling

The dq equivalent circuit of induction machine shown in Fig. 4. Figure 1 describes the block diagram of the system modeling under study, while Fig. 4 is a description and explanation of DFIG equivalent circuit. The following equation describes the voltage equations in the dq reference [13]:

$$ V_{{{\text{ds}}}} = R_{s } i_{{{\text{ds}}}} - \omega_{s } \lambda_{{\text{qs }}} + \frac{{{\text{d}}\lambda_{{{\text{ds}}}} }}{{{\text{d}}t}} $$
(5)
$$ V_{{{\text{qs}}}} = R_{s } i_{{{\text{qs}}}} - \omega_{s } \lambda_{{\text{ds }}} + \frac{{{\text{d}}\lambda_{{{\text{qs}}}} }}{{{\text{d}}t}} $$
(6)
$$ V_{{{\text{dr}}}} = R_{r } i_{{{\text{dr}}}} - (\omega_{s } - \omega_{r} )\lambda_{{{\text{qr}} }} + \frac{{{\text{d}}\lambda_{{{\text{dr}}}} }}{{{\text{d}}t}} $$
(7)
$$ V_{{{\text{qr}}}} = R_{r } i_{{{\text{qr}}}} + \left( {\omega_{s } - \omega_{r} } \right)\lambda_{{\text{dr }}} + \frac{{{\text{d}}\lambda_{{{\text{qr}}}} }}{{{\text{d}}t}} $$
(8)
Fig. 4
figure 4

DFIG equivalent circuit of dq transformation [13]

The flux at Stator and rotor for DFIG as follow:

$$ \emptyset_{{{\text{ds}}}} = L_{s} i_{{{\text{ds}}}} + Mi_{{{\text{dr}}}} $$
(9)
$$ \emptyset_{{{\text{qs}}}} = L_{s} i_{{{\text{qs}}}} + Mi_{{{\text{qr}}}} $$
(10)
$$ \emptyset_{{{\text{dr}}}} = L_{r} i_{{{\text{dr}}}} + Mi_{{{\text{ds}}}} $$
(11)
$$ \emptyset_{{{\text{qr}}}} = L_{r} i_{{{\text{qr}}}} + Mi_{{{\text{qs}}}} $$
(12)

The equations of electromagnetic torque, stator, rotor, active and reactive power as follows:

$$ T_{{{\text{em}}}} = \frac{3}{2}p(\emptyset_{{{\text{ds}}}} i_{{{\text{qr}}}} - \emptyset_{{{\text{qs}}}} i_{{{\text{dr}}}} ) $$
(13)
$$ P_{s} = \frac{3}{2}(v_{{{\text{ds}}}} i_{{{\text{ds}}}} + v_{{{\text{qs}}}} i_{{{\text{qs}}}} ) $$
(14)
$$ Q_{s} = \frac{3}{2}(v_{{{\text{qs}}}} i_{{{\text{ds}}}} - v_{{{\text{ds}}}} i_{{{\text{qs}}}} ) $$
(15)
$$ P_{r} = \frac{3}{2}(v_{{{\text{dr}}}} i_{{{\text{dr}}}} + v_{{{\text{qr}}}} i_{{{\text{qr}}}} ) $$
(16)
$$ Q_{r} = \frac{3}{2}(v_{{{\text{qr}}}} i_{{{\text{dr}}}} - v_{{{\text{dr}}}} i_{{{\text{qr}}}} ) $$
(17)

where Vds, Vqs, Vdr, Vqr represent the stator and rotor voltages in the dq axis, respectively. ids, iqs, idr, iqr represent the stator and rotor currents in the dq axis, respectively. λds, λqs λdr, λqr represent the stator and rotor fluxes in the dq axis, respectively. Φds, Φqs Φdr, Φqr represent the stator and rotor flux in the dq axis, Ls, Lr, M are stator, rotor and mutual inductances, respectively. Ps, Qs, Pr, Qr are the stator and rotor active and reactive power, respectively, ωs is the angular velocity of the synchronously rotating reference frame, ωr is rotor angular velocity and Rs, Rr are the stator and rotor resistances, respectively.

3 Converter control system

The following subsections present the control system of DFIG-based wind turbines.

3.1 Machine-side converter

In order to increase the output power of wind energy, the wind turbine shaft speed is controlled by the MSC control. This allows for maximum aerodynamic efficiency and reduces wind energy fluctuation stresses. The main purpose of the MSC is to obtain the maximum value of the electrical power produced from wind turbines generator at different wind speeds, and to achieve this must work at the maximum value of Cpmax = 0.48. Therefore, it is needed to maintain the speed of the generator rotor in order to achieve the optimum value of λopt = 8.1. If the wind speed changes, the turbine speed must be adjusted to follow up on these changes. Thus, the maximum value of the power created from the wind generator is obtained.

Figure 5 illustrates that the reference reactive current, Iq-ref reflects via PI controller. This value is based on the error signal generated from comparing the actual and desired values of the reactive power. The current reference components are compared with the corresponding actual components. The error signals are adjusted through the PI controller to represent the contribution of control to correct the signal of the rotor voltage. The corrected rotary voltage waveform is applied to the pulse width modulation (PWM) as a reference waveform to create switch signals corresponding to the MSC.

Fig. 5
figure 5

MSC. structure

3.2 MPPT schemes

3.2.1 PSF control method

The PSF control method Must have information about the wind turbines MPP curves to achieve its maximum power by its control mechanism. Moreover, the power curves need to be obtained via simulation on an individual wind turbine or datasheet of the wind turbine [14]. In this scheme, a reference power is obtained from the recorded MPP curve of the wind turbine where rotor speed is used as the input. Although PSF does not require an anemometer, the parameters of wind turbines are still essential. Figure 6 illustrates the measuring generator speed “ωm” is needed to obtain the power reference “Pref”. The Pref is compared with the error drives of control action to modify the generator speed and to achieve the MPPT.

Fig. 6
figure 6

PSF control method

3.2.2 Wind speed estimation MPPT method

The WSE MPPT method is used to estimate actual wind speed without using any mechanical wind‐speed sensors. Based on the measured rotor velocity, wind velocity is estimated. For WSE, the power coefficient is converted into the third-order polynomial as the following Eq. [15]:

$$ C_{p} = a_{0} + a_{1} \lambda + a_{2} \lambda^{2} + a_{3} \lambda^{3} $$
(18)

From (2) and (18) replaced in (1) the mechanical power can be represented as follows:

$$ P_{m} = \frac{1}{2}\rho A\left(a_{0} + a_{1} \frac{{\omega_{r} R}}{v} + a_{2} \frac{{\omega_{r}^{2} R}}{{v^{2} }} + a_{3} \frac{{\omega_{r}^{3} R}}{{v^{3} }}\right)v^{3} $$
(19)

Using (19) wind speed can be exemplified as follows:

$$ v^{3} + \frac{{a_{1} }}{{a_{0} }}R\omega_{r} v^{2} + \frac{{a_{2} }}{{a_{0} }}R^{2} \omega_{r}^{2} v + \frac{{a_{3} }}{{a_{0} }}R^{3} \omega_{r}^{3} - \frac{{P_{m} }}{0.5\rho A} = 0 $$
(20)

where a0 = 0.00715814, a1 = − 0.04454063, a2 = 0.02899277, a3 =  − 0.00202519.

The arithmetical solutions for Eq. (20) create the three roots for wind speed. The second root only is the accurate value.

The output power from wind turbine is evaluated as the following Eq. [13]:

$$ P_{m } = \omega_{m } \left( {j \frac{{{\text{d}}\omega_{m} }}{{{\text{d}}t}} + \beta \omega_{m} + \frac{2}{3}* \frac{P}{2}* \lambda_{m} *i_{q} } \right) $$
(21)
$$ j \frac{{{\text{d}}\omega_{m} }}{{{\text{d}}t}} = T_{m} - T_{e} - F\omega_{m} $$
(22)

where Te, electromagnetic torque, F friction factor (N m s), J is the inertia of the whole system contenting of the turbine and generator (Kg m2), and ωm is the mechanical rotational speed of DFIG.

WSE gives the exact value of wind speed, which is used in λopt formula to produce the reference value of rotor speed.

The optimal rotor speed is computed by WSE, and the optimal λopt as follows:

$$ \omega_{{{\text{ref}}}} = \frac{{\lambda_{{\text{opt }}} \cdot v}}{R} $$
(23)

3.3 Grid-side converter

The GSC control system is demonstrated in Fig. 1. Furthermore, the electrical grid can absorb the reactive power directly from the DFIG by the GSC. However, to provide a rotor power path to/from the grid at the unit power factor and regulate the DC link voltage at the reference value. This is the main objective of the GSC control. Therefore, the reactive power is set to zero during the acceptable terminal voltage levels, and the priority is given to active power. Consequently, the reactive power is set equal to zero.

The ac currents and voltages at the grid side as well as the value of the dc- link voltage must be obtained to achieve the main goal of GSC. The ac signals are converted to the equivalent in the dq reference frame, and consequently, the control system will be much easier and more manageable possible. The dc-link voltage can be stated as [16]:

$$ C\frac{{{\text{d}}V_{{{\text{dc}}}} }}{{{\text{d}}t}} = \frac{{P_{t} - P_{g} }}{{V_{{{\text{dc}}}} }} $$
(24)

where C is the dc-link capacitance, Pt is the wind turbine power, and Pg is the grid power.

The active power Pg and reactive power flow into the grid Qg are evaluated as follows:

$$ P_{g} = \frac{3}{2}(V_{g} I_{{{\text{dg}}}} ) $$
(25)
$$ Q_{g} = \frac{3}{2}(V_{g} I_{{{\text{qg}}}} ) $$
(26)

where Vg is the grid phase voltage magnitude, and Idg and Iqg are the d-axis and q-axis currents flowing between the grid and the GSC, respectively.

4 Simulation results and discussion

In this section, we conducted several simulations to inspect the performance of the executed control of DFIG-based wind turbines based on the WSE scheme compared with the PSF scheme. We ran one case study considering different wind speed variations. The system parameter is defined in Table 1.

Table1 DFIG simulation parameters

4.1 Ramp changes wind speed profile

Wind speed is simulated with ramp variations (5 s) with an average value of (9.2 m/s) as shown in Fig. 7.

Fig. 7
figure 7

Wind speed in (m/s)

From Fig. 8a, and b, the MSC has achieved maximum value for the production capacity despite variation values of wind speed by maintaining the optimum values of λ = 8.1 and Cp = 0.48. Figure 8c, and d demonstrates a good response to the generator's speed and the mechanical torque with different wind speeds.

Fig. 8
figure 8

System response for ramp changes in wind speed with MSC, a λ, b Cp, c generator speed in pu, and d Mechanical torque in pu

On the other hand, the GSC was able to get the unity power factor operation by keeping the dc-link voltage constant without any change, as shown in Fig. 9a. Figures 9b and c demonstrates the good response of the active power injects to grid change with wind speed profiles, and the reactive power is zero. Based on the simulation results, the system response is enhanced, better tracking capability and the oscillation rate is reduced when WSE is used compared to the PSF scheme. The purpose of the comparison is to make sure of the correctness of the proposed method. Despite that, the proposed method is better in terms of response speed and achieving the optimal value of the lambda and CP. Thus, obtaining the maximum value of the productive capacity is better in terms of oscillation, especially in the beginning, as is evident in all shapes.

Fig. 9
figure 9

System response for ramp changes in wind speed with GSC, a dc-link voltage in Volt, b Active power in pu,and c Reactive power in pu

5 Experimental setup

Figure 10 presents the experimental setup of the DFIG system. The wind speed is simulated by using the control unit of a servo machine. The wind turbine driver is modeled by a servo motor. The servo motor (prime mover) is connected to a DFIG to run as a generator beyond the synchronous speed. The reactive power is injected into the induction generator from the utility grid since the system operates in the synchronization mode. The control unit makes it possible to emulate and study all scenarios of practical relevance. The incremental encoder is used to convert the mechanical speed to electrical signals and send the feedback signals to the control unit for DFIG to control the output power according to these feedback signals.

Fig. 10
figure 10

Hardware used to co-simulate of a DFIG-based wind turbine. 1. Servo motor, 2. DFIG, 3. Encoder, 4. DFIG control unit, 5. Servo control unit, 6. Three-phase transformer, 7. Grid unit, 8. Wiring connection, and 9. PC control unit.

The wind's action is simulated by the WindSim software and servo machine test stand. The servo machine test stand is a complete system for examining electric machines and drives. It incorporates an ActiveServo software, brake, and digital control unit, as shown in Fig. 10. In the case of a real power plant, the wind and airfoil geometry together drive the generator. This makes it possible to reproduce the conditions prevailing at real wind power plants.

6 Experimental results and dynamic response of DFIG for different wind speed profiles

To inspect the performance of the DFIG and the executed control schemes, the step and ramp wind speed profiles are conducted by the experimental prototype and the simulation model by MATLAB program with the performance response is compared. The per-unit system was used to overcome the theoretical and practical value difference and to indicate the accuracy of the method used to achieve the MPPT of the proposed system. The experimental parameters of the system are defined in Table 2.

Table 2 Experimental date of DFIG unit

6.1 Case (1): step change

In this case, it is assumed that the step profile varies high and low as step functions with an average value of 8 m/s with a duration of 75 s, as seen in Fig. 11. The waveforms for simulation and the experimental wind speed are almost similar under step wind speed change as presented in Fig. 11.

Fig. 11
figure 11

Wind speed in m/s

Figure 12 describes the experimental results of generator rotational speed, which increases linearity with the time until 15 s due to the starting period. Then, it picks out the same wind speed shape except at sudden changes at 30 s, 45 s, and 60 s, where the moment of inertia appears. The experimental response is slower than the simulation results due to the experimental model's mechanical operation conditions.

Fig. 12
figure 12

Generator speed response (pu)

At any change in wind speed, whether increased or decreased, followed by a similar change in the mechanical torque for the experimental and simulation response, as shown in Fig. 13. It is assumed that input torques take negative values. Therefore, the torque is a negative value for generating power at the simulation results. The same trend appears with the input mechanical power, as seen in Fig. 13.

Fig. 13
figure 13

Mechanical torque (pu)

To realize the feasibility of the grid-side converter controller, Figs. 14 and 15 illustrate the power sent to the grid and grid absorbs zero reactive power, respectively. The controller gives good agreement between the simulation and experimental wave form. As shown, the power injected to the grid is dependent on the average wind speed variation and the reactive power fed to the grid is approximately zero. Thus, the generator is working at unity power factor.

Fig. 14
figure 14

Active power sending to the grid (pu)

Fig. 15
figure 15

Reactive power sending to the grid (pu)

In addition, the experimental results contained oscillations in all waveforms due to the mechanical coupling between the generator and prime mover and Different laboratory conditions. On the other hand, the simulation waveforms do not have such oscillations. As shown in these results, there is a good agreement between the experimental results and the simulation results for dynamic response at step change wind speed profile.

6.2 Case (2): ramp change

Following the same procedures described with the step wind speed variations, the response of the system to ramp wind speed variations is studied. It is assumed that the wind speed shape varies high and low with smooth ramp rates with an average wind speed of 8 m/s as shown in Fig. 16, with a duration time of 75 s.

Fig. 16
figure 16

Wind speed shape (m/s) (Ramp)

As illustrates in Fig. 17, the generator speed varies with wind speed shape. In addition, there is a good agreement between the mechanical torque with wind speed variation, which clearly shows that it similar change with wind speed waveform except at sudden change where the moment of inertia appeared, as seen in Fig. 18. Besides this, the negative value of mechanical torque, indicating the system input torque.

Fig. 17
figure 17

Generator rotational speed (pu)

Fig. 18
figure 18

Mechanical torque (pu)

Similar to the previous case, the appropriate performance is obtained regarding the generator active and reactive power with wind speed waveform, as shown in Figs. 19 and 20. The power sent to the grid follows the average wind speed variation, and the reactive power fed to the grid is approximately zero, indicating working at a unity power factor.

Fig. 19
figure 19

Active power sending to the grid (pu)

Fig. 20
figure 20

Reactive power sending to the grid (pu)

7 Conclusion

This paper illustrated the inclusively modeling of DFIG with the control system in MATLAB/SIMULINK software and the experimental setup of a DFIG-based wind turbine. The effective MPPT technique is based on the WSE scheme to drive the MSC under different wind speeds conditions. The MSC control scheme enables optimal speed tracking required to regulate the wind turbine speed to maximize the output power. The system response is enhanced, better tracking capability, and the oscillation rate is reduced when WSE is used compared to PSF scheme. Based on the results, all the previous curves indicate detected good agreement is obtained between the experimental and simulation results at different wind speed profiles.