Keywords

1 Introduction

Renewable energy resources like wind and solar electric power generation systems are getting significance due to retreating of primary fuels and eco-friendly nature and are available from few kilo-watt powers to megawatt rating and the back-to-back converters are rated from 25 to 35 % of generator stator rating [1]. Capability to extract more or maximum power point tracking theorem (MPPT) [2], The DFIG is getting importance compared to permanent magnet synchronous generator (PMSG) or asynchronous generator because of operation under variable speed conditions [35], effective performance during unbalanced and flickering loads [6].

Maximum power extraction from DFIG using pitch angle controller and optimal power coefficient at low and high speed is analyzed in [7]. Direct and indirect control of reactive power control with an aim to meet active and reactive power equal to the reference values as achieved in [8]. MPPT-based WECs design facilitates the wind turbine has to operate in variable speed as per the ideal cube law power curve [913]. The constant power mode of operation can be achieved by (i) including energy storage devices [1317] and (ii) employing pitch control [9, 18, 19].

In this paper, performance of DFIG was compared and analyzed under situations like, with variation in wind speed alone, with reactive power variation and with grid voltage variation for same variation in wind speed. In these cases, variation in tip speed ratio and coefficient of turbine power, effect on real and reactive power flows, voltages and current from stator, rotor, rotor speed and electromagnetic torque are examined. The paper was organized with overview of WECS with wind turbine modeling and pitch angle controller in Sect. 2, study of mathematical modeling of DFIG in Sect. 3, the Sect. 4 describe RSC architecture and design; Sect. 5 analyses the performance of DFIG for three cases like effect of variation on wind speed variation, reactive power demand along with variation in wind speed and grid voltage variation with wind speed. Conclusion was given in Sect. 6. System parameters are given in “Appendix”.

2 Wind Energy Conversion Systems (WECS)

The wind turbine is the prime mover which facilitates in converting kinetic energy of wind into mechanical energy which further converted into electrical energy.

2.1 Pitch Angle Controller

The wind turbine blade angles are controlled by using servo mechanism to maximize turbine output mechanical power during steady state and to protect the turbine during high wind speeds. This control mechanism is known as pitch angle controller. When wind speed is at cut-in speed, the blade pitch angle is set to produce optimal power, at rated wind speed; it is set to produce rated output power from generator. At higher wind speeds, this angle increases and makes the turbine to protect from over-speeding.

In this system reference generator speed is \( {\text{W}}_{\text{r}}^{\text{ref}} = 1.2\,\text{pu} \) or is obtained from MPPT algorithm and actual speed of the generator is Wr. The actual speed can be estimated using an encoder or using sensorless estimation strategy. The error between reference and actual values is controlled using PI controller. In the similar way, the difference in reference (P* = 1) and actual power outputs from turbine (PT) is controlled by PI controller. Both the outputs from PI controller are designed to get reference pitch angle controller (βref). The closed loop control of pitch angle is obtained as shown in Fig. 1.

Fig. 1
figure 1

Pitch angle controller design for wind turbine

The reference real power (Pe) or actual mechanical output from turbine and mechanical output torque (Tm) is shown in Fig. 2. Using Tip Speed Ratio (TSR) and Coefficient of Power (Cp) are used to generate reference power and the control scheme is useful to extract maximum mechanical power, thereby more mechanical tore Tm by using the MPPT algorithm. The aim of MPPT algorithm is to generate optimal mechanical power output from turbine and mechanical input torque to give to doubly fed induction generator. The mechanical power is given as reference to grid side converter (GSC) to make the rotor to rotate at optimal speed. The optimal input torque to DFIG is so as to operate for extracting maximum power from the generator.

Fig. 2
figure 2

Reference electrical power generation control circuit and mechanical torque output from turbine with MPPT algorithm

The inputs to MPPT algorithm are radius of curvature ‘R’ of turbine wings, rotor speed (Wr), wind sped (Vw), and pitch angle (beta). Initially with R, Wr, and Vw, tip speed ratio (g) is determined. Later using Eq. 2 and input parameter beta, coefficient of power (Cp) is calculated. Based on Eq. 5, optimal mechanical power (Pm_opt) is determined and dividing mechanical power by rotor speed, optimal torque (Tm_opt) is determined. The pitch angle (beta) is determined as shown in Fig. 2. The application of Pm_opt and Tm_opt is shown in Figs. 4 and 5. Optimal real power generation is achieved by extracting optimal mechanical power output from turbine when made to run at optimal loading and speed. For this MPPT algorithm proposed will be very helpful.

2.2 Mathematical Modeling of DFIG

The equivalent circuit of DFIG in rotating reference frame at an arbitrary reference speed of ω is shown in Fig. 3. The equations can be derived in dq reference frame were as follows:

Fig. 3
figure 3

Equivalent circuit of DFIG in rotating reference frame at speed ω

The rotor direct and quadrature axis are derives as

$$ {\text{V}}_{\text{rd}} = \;{\text{R}}_{\text{r}} {\text{I}}_{\text{rd}} \; - \;(\upomega_{\text{s}} -\upomega_{\text{r}} )\uppsi_{\text{rq}} \; + \;\frac{{{\text{d}}\uppsi_{\text{rd}} }}{\text{dt}} $$
(1)
$$ {\text{V}}_{\text{rq}} = \;{\text{R}}_{\text{r}} {\text{I}}_{\text{rq}} \; + \;(\upomega_{\text{s}} -\upomega_{\text{r}} )\uppsi_{\text{rd}} \; + \;\frac{{{\text{d}}\uppsi_{\text{rq}} }}{\text{dt}} $$
(2)

The difference between stator speed \( (\upomega_{\text{s}} ) \) and rotor speed \( (\upomega_{\text{r}} ) \) is known as slip speed \( ({\text{s}}\upomega_{\text{s}} ) \). For motoring action, this difference is less than zero and for generating, the slip speed is negative.

The stator real power in terms of two axis voltage and current is

$$ {\text{P}}_{\text{s}} = \frac{3}{2}\;({\text{V}}_{\text{sd }} {\text{I}}_{\text{sd}} + {\text{V}}_{\text{sq }} {\text{I}}_{\text{sq}} ) $$
(3)

The rotor real power in terms of two axis voltage and current is

$$ {\text{P}}_{\text{r}} = \frac{3}{2}\;({\text{V}}_{\text{rd }} {\text{I}}_{\text{rd}} + {\text{V}}_{\text{rq }} {\text{I}}_{\text{rq}} ) $$
(4)

The stator reactive power in terms of two axis voltage and current is

$$ {\text{Q}}_{\text{s}} = \frac{3}{2}\;({\text{V}}_{\text{sq }} {\text{I}}_{\text{sd}} - {\text{V}}_{\text{sd }} {\text{I}}_{\text{sq}} ) $$
(5)

The rotor reactive power in terms of two axis voltage and current is

$$ {\text{Q}}_{\text{r}} = \frac{3}{2}\;({\text{V}}_{\text{rq }} {\text{I}}_{\text{rd}} - {\text{V}}_{\text{rd }} {\text{I}}_{\text{rq}} ) $$
(6)

The output electromagnetic torque is given by the equation

$$ {\text{T}}_{\text{e}} = \frac{3}{2}{\text{pL}}_{\text{m}} ({\text{I}}_{\text{sq}} {\text{I}}_{\text{rd}} - {\text{I}}_{\text{sd}} {\text{I}}_{\text{rq}} ) $$
(7)

3 Rotor Side Controller (RSC) and Grid Side Controller (GSC) Architecture and Design

3.1 Operation of GSC and RSC Controllers

The rotor side converter (RSC) is used to control the speed of rotor and also helps in maintaining desired grid voltage as demanded. The control circuit for grid side controller (GSC) is shown in Fig. 4 and rotor side controller (RSC) is shown in Fig. 5 with internal circuits for deriving RSC PLL for 2–3 phases inverse Parks transformation is shown in Fig. 6. This Fig. 6 helps to inject current in rotor winding at slip frequency. The GSC and RSC have four control loops each, later has one speed control loop, other is reactive power and last two are direct and quadrature axis current control loops. The speed and reactive power control loops are called outer control loop and direct and quadrature axis control loops are called inner control loops.

Fig. 4
figure 4

Grid side controller for DFIG

Fig. 5
figure 5

Rotor side controller for DFIG

Fig. 6
figure 6

Design of overall DFIG system with RSC and GSC

The reference rotor speed is derived from the wind turbine optimal power output PmOpt as shown in Fig. 4 and grid power demand. In total, the reference power input to the lookup table as shown in Fig. 5 is Pm,gOpt. Based on the value of Pm,gOpt, the rotor is made to rotate at optimal speed so as to extract maximum power from DFIG set. The difference between reference speed of generator and actual speed of generator is said to be rotor speed error. Speed error is minimized and maintained nearly at zero value by using speed controller loop which is a PI controller with Kpn and Kin as proportional and integral gain parameters. The output from speed controller is multiplied with stator flux (Fs) and ratio of stator and rotor (Ls and Lr) inductances to get reference quadrature current (Iqr) for rotor. The error in reference and actual reactive power give reference direct axis current (Iqr). The difference between these reference and actual two axis currents is controlled by tuned PI controller to get respective direct and quadrature axis voltages. The output from each PI controller is manipulated with disturbance voltages to get reference voltage for pulse generation as shown in Fig. 5. It must be noted that the pulses are regulated at slip frequency for RSC rather than at fundamental frequency and slip frequency synchronizing for inverse Park’s transformation can also be seen in the figure.

The block diagram of GSC is shown in Fig. 4. For a given wind speed, reference or control power from turbine is estimated using lookup table. From Eq. (3), stator real power (Pstator) is calculated and the error in powers is difference between these two powers (dP) which is to be maintained near zero by PI controller. The output from PI controller is multiplied with real power constant (Kp) gives actual controllable power after disturbance. The difference in square of reference voltage across capacitor dc link (V *dc ) and square of actual dc link voltage (Vdc) is controlled using PI controller to get reference controllable real power. The error in the reference and actual controllable power is divided by using 2/3Vsd to get direct axis (d-axis) reference current near grid terminal (Igdref). Difference in Igdref and actual d-axis grid current is controlled by PI controller to get d-axis voltage. But to achieve better response during transient conditions, decoupling d-axis voltage is added as in case of separately excited DC motor. This decoupling term helps in controlling steady state error and fastens transient response of DFIG during low voltage ride through (LVRT) or during sudden changes in real or reactive powers from/to the system.

Similarly from stator RMS voltage (Vs) or reference reactive power, actual stator voltage or reactive power is subtracted by PI controller and multiplied with appropriate reactive power constant (Kq) to get actual reference reactive power compensating parameter. From Eq. (5), actual reactive power is calculated and the difference in this and actual compensating reactive power and when divided by 2/3Vsq, we get quadrature axis (q-axis) reference current (Iqref). When the difference in Iqref and stator actual q-axis current (Iq) is controlled by PI controller, reference q-axis voltage is obtained. As said earlier, to improve transient response and to control steady state error, decoupled q-axis voltage has to be added as shown in Fig. 4. Both d- and q- axis voltage parameters so obtained are converted to three axis abc parameters by using inverse Park’s transformation and reference voltage is given to scalar PWM controller to get pulses for grid side controller. The DFIG grid connected system general layout is shown in Fig. 6.

The rotating direct and quadrature reference voltages of rotor are converted into stationary abc frame parameters by using inverse parks transformation. Slip frequency is used to generate sinusoidal and cosine parameters for inverse parks transformation.

3.2 Rotor Speed Sensing by Using Sensorless Control Technique

The sensorless speed control for DFIG system with stator and rotor flux observers are shown in Fig. 7. The internal sub-systems to produce two axis qauadrature and direct axis flux is given in Fig. 8a, b. The three phase stator voltage and currents are converted into two phase dq voltages and current by using Park’s transformation. The dq axis stator voltage and current are transformed into dq axis stator flux based on Eqs. 1 and 2. The internal structure for dq axis flux derivations are shown in Fig. 8a, b.

Fig. 7
figure 7

Estimation of rotor speed with stator voltage and current and rotor flux as inputs

Fig. 8
figure 8

a Derivation of stator q-axis flux from q-axis stator voltage and current Eq. 2. b Derivation of stator d-axis flux from d-axis stator voltage and current from Eq. 1

The derived rotor and stator flux are compared and is controlled to estimate rotor speed by using PI controller. The blocks G1 and G2 are PI controller functional blocks. The speed is estimated and is termed as Wr and is integrated to get rotor angle. The angle is multiplied with trigonometric SIN and COS terms and is given to mux to get sin_cos parameters and the total setup can be used as phase locked loop (PLL). This sin_cos helps in estimating exact phase sequence and for locking the new system to reference grid. The estimated speed Wr is given as input for RSC controller as shown in Fig. 5. From the lookup table, reference rotor speed is estimated from optimal power block, which is obtained from MPPT algorithm.

4 Results and Discussion

The dynamic performance of the DFIG system as shown in Fig. 6 is investigated with three different cases and rating specifications for DFIG and wind turbine parameters are given in “Appendix”. The wind speed change in all cases in meters per seconds as 8, 15, 20, and 10 at 15, 25, and 35 s. The reactive power and voltage value change in individual two cases with change in time is from −0.6 pu at 12 s to 0 pu change at 20 s. It was further changed from 0 to +0.6 pu magnitude at 30 s. DFIG will become better generator source if immediately it can supply any desired reactive power effectively. The change in grid terminal voltage takes place when suddenly switching on or off large loads or due to small faults near point of common coupling (PCC). The effect of change in wind speed, change in wind speed with reactive power, and change in wind speed with grid terminal voltages on generator and turbine parameters are studied.

Case A: Change in TSR and Cp with wind speed, reactive power, and grid voltage

The changes in tip-speed ration and power coefficient Cp with change in wind speed alone is shown in Fig. 9(i), with both reactive power and wind speed variation in Fig. 9(ii) and variation with grid terminal voltage and wind speed both is shown in Fig. 9(iii). It can be observed that when wind speed is at 8 m/s, tip speed ratio (TSR) is high near 4.8° and slowly decreases to 2.6° at 15 s when speed increases to 15 m/s, further increased to 1.9° at 25 s when speed of wind is 20 m/s and decreased to 3.9° when wind speed decreased to 10 m/s at 35 s. In the similar way, Cp is also changing from 3.25 to 1.7 at 15 s, and further decreased to 1.25 at 25 s, and then increased to 2.55 at 35 s with wind speed variation from 8 to 15 and then to 20, and 10 m/s. The variation in TSR and Cp with change in reactive power is independent and has no effect as shown in Fig. 9(i), (ii). However, with change in grid terminal voltage, a very small change in TSR and Cp can be observed. It is shown in Fig. 9(iii). It is due to the fact that the TSR and Cp depends on parameters as described by Eqs. 15 and is independent on voltage and reactive power. The TSR and Cp are blade size and shape with change in ambient temperature and wind speed dependant natural parameters.

Fig. 9
figure 9

Tip speed ratio and coefficient of power Cp for i change in wind speed alone, ii reactive power change and wind speed variation, iii both grid voltage and wind speed changes

To meet the desired grid reactive power, both stator and rotor has to supply for faster dynamics with an aid to RSC and GSC control schemes and is achieving as shown in Fig.9(ii). With the change in wind speed and reactive power, real power from generator is matching its reference value for case 2, but small deviation can be observed from time 30 to 35 s is due to sudden change in reactive power demand from grid and the deviation in real power is from 0.8 to 0.7 pu which is small. However, reactive power is following its trajectory within 1 s. In case 3, both voltage and reactive power changing with time, the deviation in real power and is following the trajectory nearly accurate with maximum deviation of 5 % in real power. The reactive power change with grid voltage is high when voltage decreased from 1 to 0.8 pu volts. When wind speed is increasing, mechanical and electrical torques are increasing without any change in stator reactive power.

Variation in grid reactive power causes quadrature currents on both stator and rotor to change but torque, speed or real powers from stator or rotor remains unaltered. The change in three cases is tabulated below. The variation in reactive power and grid voltage variations during the respective time period is shown in Tables 2 and 3. In Table 1, due to change in wind speed input to turbine alone, generator and wind turbine parameters change are summarized.

Table 1 Change in reactive power during the time period along with change in wind speed

Case B: Change in electromagnetic torque and rotor speed with wind speed, reactive power, and grid voltage

The reference mechanical turbine torque and generator torque with magnitudes overlapping and variation of rotor speed for all three cases comparison is shown in Fig. 10. In this the reference and actual torque waveform with blue color is turbine reference torque and pink color lines are for generator torque. It can be observed in Fig. 10(i), (ii), and (iii), with increase in wind speed, torque is increasing and vice versa. Till time up to 15 s, wind speed is at low value of 8 m/s, so torque is at −0.2 pu and increased to −0.5 pu at 15 s with increase in wind speed to 15 m/s. The torque further increased to −0.9 pu when wind speed is 20 m/s and decreased to −0.28 pu when speed decreased to 10 m/s. There are small surges in torque waveform because of sudden change in wind speed.

Fig. 10
figure 10

Reference and actual generator torque and rotor for i change in wind speed, ii reactive power and wind speed variation, iii both grid voltage and wind speed changes

In the first case, reactive power was at 0 pu and grid terminal voltage is 1 pu. The changes in torque have effect with change in reactive power as in Fig. 10(ii) and further more surges been observed when grid voltage disturbance occurred as in Fig. 10(iii) is taking place. When reactive power is lagging at −0.6 pu, there is a small surge in torque at 20 s. Generator speed is also low at 1.27 pu at −0.6 pu reactive power, while at 0 pu reactive power, it is 1.32 pu speed. But rotor speed increased to 1.4 pu speed at low terminal grid voltage of 0.8 pu. When, reactive power changes to 0 pu from −0.6 pu, rotor speed increased to 1.3 pu from 1.27 pu and grid terminal voltage changes to 1 pu from 0.8 pu between 20 to 30 s. Speed further increased to 1.35 pu with leading reactive power of +0.6 pu and decreased when grid voltage increased from 1 to 1.2 pu. Therefore rotor speed increases if reactive power changes from lagging (−ve) to leading (+ve) and rotor speed decreases with increase in grid terminal voltage beyond 1 pu value in rms.

Case C: Comparison of reference and actual stator real and reactive power with change in wind speed, reactive power, and grid voltage

The reference mechanical power output is shown with pink line and generator power is with blue line for the first case is shown in Fig. 11(i). It can be observed that, nearly generator actual power is matching with reference power and the mismatch is because of looses in turbine, gear wheels and generator and this mismatch is inevitable. With increase in wind speed, reference power is increasing and vice versa. When wind speed is 8 ms, output electrical real power is 0.1 pu till 15 s and reaches 0.4 and 0.8 pu at 15 and 25 s with wind speed changing from 15 to 25 m/s and then decreases to 0.2 pu due to decrease in wind speed to 10 m/s, respectively. With the change in voltage at grid, stator terminal real power is maintained at constant value but with surges at instant of transient but reactive power is adjusting till stator voltage reaches the grid voltage for maintaining synchronism as shown in Fig. 11(iii). At the instant of 20 and 30 s, there is surge in real and reactive powers but were maintaining constant stator output real powers of 0.5 and 0.8 pu watts and 0 pu Var as in Fig. 11(ii).

Fig. 11
figure 11

Generator reference and actual real power waveform with time for i change in wind speed alone, generator real and reactive power flows for actual and reference for change in ii reactive power change and wind speed variation, iii both grid voltage and wind speed changes

To meet the desired grid reactive power, both stator and rotor has to supply for faster dynamics with an aid to RSC and GSC control schemes and is achieving as shown in Fig. 11(ii). With the change in wind speed and reactive power, real power from generator is matching its reference value for case 2, but small deviation can be observed from time 30 to 35 s is due to sudden change in reactive power demand from grid and the deviation in real power is from 0.8 to 0.7 pu which is small. However, reactive power is following its trajectory within 1 s. In the case 3, both voltage and reactive power changing with time, the deviation in real power and is following the trajectory nearly accurate with maximum deviation of 5 % in real power. The reactive power change with grid voltage is high when voltage decreased from 1 to 0.8 pu volts. When wind speed is increasing, mechanical and electrical torques are increasing without any change in stator reactive power.

Variation in grid reactive power causes quadrature currents on both stator and rotor to change but torque, speed or real powers from stator or rotor remains unaltered. The change in three cases is tabulated below. The variation in reactive power and grid voltage variations during the respective time period is shown in Tables 2 and 3. In Table 1, due to change in wind speed input to turbine alone, generator and wind turbine parameters change are summarized. There are surges produced in the electromagnetic torque (EMT) due to variations in reactive power and grid voltage. Large spikes in stator current and rotor current are produced due to sudden increase or decrease in grid voltage. Certain deviations in rotor speed can be observed due to change in reactive power or grid voltage. It is due to variation in current flow in the rotor circuit, thereby variation in rotor flux and hence rotor speed.

Table 2 Change in grid voltage during the time period along with change in wind speed
Table 3 Variation of turbine and generator parameters with change in wind speed input

5 Conclusions

From the proposed control scheme, the torque, speed, and reactive power control of DFIG is very specific. With change in wind speed, electromagnetic torque surges are low and the variation in wind speed is not getting the generator rotor speed variation is due to better transition in gear wheel mechanism. Reactive power demand from grid is accurate which can be met by proper control action of RSC and GSC. The proposed methodology is accurate and following all basic mathematical equations derived in this paper. Distinct from reactive power variation, change in voltage is not affecting any deviation in real power and is following the trajectory nearly accurate with maximum deviation of 5 % in real power. The reactive power change with grid voltage is high when voltage decreased from 1 to 0.8 pu volts. Hence the proposed control scheme can be applied with ever changing transients like large variation in wind speed, reactive power and grid voltage. The system is very stable without losing synchronism when grid voltage is increasing or decreasing to a ±0.2 pu change from nominal voltage value.