Next Article in Journal
Impact of Government Subsidies, Competition, and Blockchain on Green Supply Chain Decisions
Next Article in Special Issue
Predictive Control of a Wind Turbine Based on Neural Network-Based Wind Speed Estimation
Previous Article in Journal
Current Impediments for New England DOTs to Transition to Sustainable Roadside Practices for Strengthening Pollinator Habitats and Health
Previous Article in Special Issue
Robust Nonlinear Adaptive Control for Power Quality Enhancement of PMSG Wind Turbine: Experimental Control Validation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Real-Time Power Control of Doubly Fed Induction Generator Using Dspace Hardware

1
Faculty of Sciences Dhar El Mahraz, Sidi Mohammed Ben Abdellah University, Fez 30000, Morocco
2
Ecole Supérieur de Technologie, Mohamed Premier University, Oujda 60000, Morocco
*
Authors to whom correspondence should be addressed.
Sustainability 2023, 15(4), 3638; https://doi.org/10.3390/su15043638
Submission received: 16 January 2023 / Revised: 8 February 2023 / Accepted: 13 February 2023 / Published: 16 February 2023
(This article belongs to the Special Issue Novel Research on Wind Turbine Control and Integration)

Abstract

:
Numerous studies have been undertaken to evaluate wind energy systems’ active and reactive power control, the energy produced, and their its link to distribution networks. This research makes a novel contribution to the discipline in this setting. The novelty of this work aims to design a new wind emulator and design a power control approach for a doubly fed induction generator (DFIG)-based wind system. A description of the system was provided first. Secondly, the control strategy was described in detail. Then, it was applied to both converters (machine and grid sides). Three stages were used to evaluate the control solution: (1) a MATLAB/Simulink simulation to validate the reference’s persistence (for both real and step wind speeds) and the system’s robustness, (2) implementation in real-time on a dSPACE-DS1104 board linked to an experimental laboratory bench, and (3) overlapped comparison experimental and simulated data to conduct a thorough quantitative and qualitative analysis using the root-mean-square error measures. The simulation and experimental findings demonstrate that the suggested model is valid and presents an excellent correlation between experimental and simulated results regarding wind speed variation.

1. Introduction

1.1. Background

Since 2013, the global offshore industry has grown by 24 per cent per year, bringing total installations to 29.1 GW, accounting for 5% of total worldwide wind capacity by the end of 2019 [1,2]. Offshore wind energy is now the trend in wind energy development since the offshore wind speed is higher than onshore, with a more stable wind direction and low turbulence [3,4].
In 2017, Morocco had a 1015 MW installed wind energy capacity [5]. Its geographical position is strategic: linking the Atlantic Ocean with the Mediterranean Sea qualifies for significant offshore wind potential [3]. Therefore, Morocco provides several suitable zones for the offshore wind energy conversion system (WECS). There is a band of waters at the Atlantic Ocean with wind speeds reaching over nine m/s with a total potential of 135 GW. In addition, there is another band of waters at the northern coast with 43 GW of wind potential [6]. These resources will allow better exploitation of its wind potential and become one of the leading exporters of electricity to Europe, especially Spain and Portugal.
WECS is a turbine that ensures the wind’s kinetic energy transformation into mechanical energy. The latter is amplified with the gearbox before its conversion into electrical energy with a generator (As shown in Figure 1).
Wind energy conversion systems rely heavily on control systems. A well-designed WECS control system results in inefficient power generation, high power quality, and reduced aerodynamic and mechanical loads, contributing to the installation’s longevity [7]. The wind turbine and the generator must be controlled appropriately for these reasons.
The turbine control objectives determine the operating time of each control system and each control system and must be clearly established to avoid confusion in the analysis of control methods.
The turbine is controlled by pitch control and MPPT control. The pitch angle is a major parameter of the wind turbine, as it determines the angle of attack of the wind. Thus, the rotation of the blades around their own axis modifies the relative wind flow and, consequently, the aerodynamic loads exerted on the rotor. The “pitch control” command allows the modification of the pitch angle of the turbine blades in order to control their aerodynamic efficiency [8].
Indeed, the first maintains the turbine’s distortion at speeds over its nominal value [9], whereas the MPPT extracts the maximum energy [10]. The wind operation zone can be separated into four zones (Figure 2). When the wind speed is inadequate to propel the wind turbine into production, the first Zone occurs. In Zone 2, the electromagnetic torque is adjusted to maximize power generation while keeping a steady blade pitch angle (MPPT algorithm). When the wind velocity increases (Zone 3), the pitch angle should be modified to maintain the nominal power output. The fourth Zone is activated when the wind speed surpasses the nominal power capacity of the turbine. At this point, the emergency mechanisms shut down the turbine to protect the WECS from damage [11].
The authors in [12] present the MPPT algorithm’s principle. It is crucial to compute the appropriate electromagnetic torque in real-time, which is utilized to adapt the rotor speed in response to wind speed by tracking the optimal turbine speed that results in a power coefficient Cp = 0.5 [13].
Figure 2. WT characteristics [14].
Figure 2. WT characteristics [14].
Sustainability 15 03638 g002
Ugalde-Loo et al. provide an overview of the various generators employed in the WECS system in machine control [15]. The generator used in this work is a doubly fed induction generator (DFIG), which improves system efficiency by ensuring a proper rotational speed, decreasing noise and mechanical stress, improving power quality, and adjusting for torque and power pulsations [16,17].
Wind power is based on a random resource that can negatively impact the grid’s stability [18]. Therefore, it is essential to regularly control the energy transfer to the grid for minimal losses. Since an AC-DC-AC converter controls the system, the rotor side control guarantees an excellent tracking of powers. At the same time, the grid side control ensures voltage and frequency regulation and DC bus stability. This approach needs to consider all the machine’s parameters instead of a simplified DFIG model [7].
Validating and enhancing the control of wind turbines requires a test bench environment. Wind turbines are known to exhibit nonlinear behavior. A wind turbine emulator is an essential tool for modeling a real wind turbine’s static, dynamic, and nonlinear properties without relying on available natural wind resources or commercial wind turbines. The authors in [19,20] used the Dspace card to realize a hardware under-loop simulation. As a perspective in their study, authors in [21] plan to conduct experimental tests after realizing the hardware in the loop.

1.2. Motivation and Contribution

This article conducts an experimental investigation of a vector control technique based on a proportional-integral controller. First, the control approach is integrated into an experimental test bench through a DSpace DS1104 board to maintain the voltage and frequency of the DFIG stator outputs within their acceptable operating parameters. The authors offer the notion of a new wind emulator and a test bench for evaluating control tactics, which they demonstrate using a real-time offshore wind profile. Finally, a simulation is created in the Matlab/Simulink environment using the real-time interface (RTI) to compare the performance and resilience of the proposed control model to experimental results.
The novelty of this work lies in the methodology relative to the comparison between simulation and practical results. In fact, the last studies [22,23,24,25] used only a qualitative analysis to validate their results. Their concern was about having the same shape for simulation as for experimental results. The qualitative analysis is considered unstructured. It is known for being subjective, individualized, and personalized. Because of this, qualitative data are inferior if they are the only data in the study. On the other hand, quantitative analysis is structured and accountable. This type of data is formatted so it can be organized, arranged, and searchable. Because quantitative data are more concrete, we have considered using RMSE (root mean square error) to analyze better the margin of errors between simulation and experimental results.
This essay is organized as follows. Section 2 describes the system’s components, including wind turbine, DFIG, and back-to-back converters. Then, in Section 3, the DFIG control approach is demonstrated, created, and designed. Section 4 describes in detail the testbench for a new wind emulator. The experimental data are given, debated, and utilized to validate the performance of the simulation results. Finally, Section 6 summarizes the article by offering some concluding thoughts and suggestions for further research.

2. Description of the System

2.1. Wind Turbine

Electricity is generated using an alternator driven by a turbine. Y. Charabi et al. [26] describe transforming the wind’s kinetic energy into electrical energy using various wind turbines. The wind’s kinetic energy generates wind energy. The mathematical modelling of the turbine allows for the aerodynamic power (Paer) is given in (1) [27].
P aer = C p λ , β . ρ . S . V 3 2  
According to Betz’s law, no wind turbine can extract 100% of its energy; thus, the power coefficient Cp is a function of λ, representing the turbine’s tip speed ratio and β, the blades’ orientation angle. Therefore, the following generic Equation is utilized in (2) [28,29] to represent the power coefficient.
C p λ , β = 0.5 0.0167 . β 2 . sin π . λ   + 0.1 18 0.3 β   2 0.00184 . λ 3 . β 2
The dynamic equation of the wind turbine is given in (3):
J d ω mec dt = T mec =   T g T em f . ω mec
The gearbox gain G used to adjust the turbine’s speed to the DFIG is given in (4)
G = T t T g = ω mec ω t

2.2. Doubly Fed Induction Generator

The doubly fed induction machine (DFIM) is a wound rotor induction machine that resembles a squirrel cage machine in structure. It comprises two sets of three-phase windings: one for the stator and another for the rotor [30,31,32].
The DFIG mathematical model expresses the stator and rotor phase voltages and flows as functions of the currents that traverse them [33].
Where ω s is defined as synchronous speed, ω mec is the mechanical speed with
ω r = ω s ω mec
V s d , q , V r d , q are the stator and rotor voltages, respectively, in the dq Park frame.
Φ s d , q , φ r d , q are the stator and rotor fluxes, respectively, in the dq Park frame.
I s d , q , I r d , q are the stator and rotor currents, respectively, in the dq Park frame.
(6) V s d , q = R s . I s d , q + d φ s d , q dt φ s q , d . ω s (7) V r d , q = R r . I r d , q + d φ r d , q dt φ r q , d . ω r
(8) φ s d , q = L s . I s d , q + L M . I r d , q (9) φ r d , q = L r . I r d , q + L M . I s d , q
Equation (10) describes the electromagnetic torque:
T em = p φ sd .   I sq φ sq .   I sd
The machine is composed of two parts: stator and rotor resistances (Rs and Rr, respectively), the stator, the rotor, and the mutual inductances (Ls, Lr and LM, respectively).
The stator and rotor powers are expressed as follows:
(11) P s = V sd . I sd + V sq . I sq   (12) Q s = V sq . I sd V sd . I sq  
(13) P r = V rd . I rd + V rq . I rq   (14) Q r = V rq . I rd V rd . I rq  
The corresponding circuit of the DFIG in the reference frame is seen in Figure 3. (d-q).

2.3. Back-to-Back Converter

Without the electronic converter, the rotor cannot be connected to the grid. As a result, it manages the quantity of electricity delivered to the grid and adapts the frequency to the grid’s requirements. Its converter generates around 30% of the DFIG’s total power. The DFIG’s rotor is frequently connected to the grid in a back-to-back configuration, enabling four-quadrant operation. In this design, a DC bus connects two voltage source converters. The diagram illustrates the structure utilizing a two-level PWM converter. The control signals are supplied by a sinusoidal PWM (SPWM) (voltage references compared to a triangular carrier at switching frequencies) [12].
The control is applied to the AC-DC-AC converter, as seen in Figure 4. The back-to-back comprises an inverter, a rectifier, and a direct current link. Each leg of the IGBT transistor can be interpreted as a dual-way switch: the two IGBT cannot have the same state (ON/OFF) simultaneously to avoid any potential electrical short circuit.
The following relation express the current in the capacitor:
I c = I i n v I r e c

3. DFIG Control

Vector control is used to manage the generator’s active and reactive powers independently and to ensure their decoupling due to the stator’s flux orientation. When two phases d-q are provided, the stator flux is oriented parallel to the d-axis, such that the d-axis is parallel to the stator flux vector’s direction (Figure 5). The flow expression is transformed into:
φ sd = φ s ,   φ sq = 0
By injecting Equation (16) into Equation (6) and ignoring the resistance Rs, the stator voltages become as follows:
V sd = 0 ,   V sq = V s
θ s : Dephasing between the stator and the rotating reference dq.
θ r : Dephasing between the rotor and the rotating reference dq.
θ: Dephasing between the stator and the rotor.
The phase-locked loop (PLL) was utilized to determine the angles ( θ s , θ r ) required for the transformation of the stator variables and rotor variables. This PLL enables precise estimation of the grid’s frequency and amplitude [34].
As illustrated in Figure 6, the controller’s architecture is based on a three-phase model of the wind energy system’s electromechanical conversion chain [35]. Three commands are required: To begin, MPPT control is used to maximize wind energy extraction, followed by RSC control of the DFIG stator active and reactive powers. Finally, GSC control is accomplished through voltage regulation of the DC bus and the interchange of active and reactive power with the grid [36].

3.1. Rotor Side Control

The rotor side converter’s control principle is presented in Figure 7.
By injecting (16) into (8), the stator currents are expressed in (18) as follows:
I sd = φ s L M . I rd L s I sq = M . I rq L s    
By replacing (18) with (9), the rotor fluxes are shown in (19) as follows:
φ rd = σ . L r . I rd + L M L s . φ s   φ rq = σ . L r . I rq  
with σ = 1 L M 2 L s . L r
By injecting the rotor fluxes obtained above in (19) into (7), rotor voltages in d-q frame are expressed in (20) as follows:
(20) V rd = R r . I rd + σ . L r . dI rd dt σ . L r . I rq . ω r (21)   V rq = R r . I rq + σ . L r . dI rq dt + σ . L r . I rd . ω r + L M L s . φ s . ω r
The active and reactive powers of the stator as indicated in (22) and (23) are obtained by injecting (17) and (18), respectively, into (11) and (12):
(22) P s = V sq . . L M L s . I rq (23) Q s = V sq . . φ s L s V sq . I rd . L M L s    
It is worth noting that the powers are mutually exclusive. While the active power is proportional to the quadrature rotor current, the reactive power is not. Controlling the stator’s active and reactive power may now be accomplished by regulating the rotor’s (dq) axis currents.
However, to express reference currents in d-q frame, one must set Ps and Qs in (22) and (23) to reference. The resulting Irq_ref and Ird_ref are expressed in (24) and (25), as follows:
(24) I rq _ ref = L s L M . V sq . P s _ ref (25) I rd _ ref = φ s L s L s L M . V sq . Q s _ ref    
Ird and Irq are set in their references to express rotor voltages in their references. From (20) and (21), Vrd_ref and Vrq_ref are defined in (26) and (27), as follows:
(26) V rd _ ref = ( R r + S . σ . L r ) . I rd _ ref + k 1 (27) V rq _ ref = ( R r + S . σ . L r ) . I rq _ ref + k 2 + k 3  
with: k 1 = ω r . σ . L r . I rq , k 2 = ω r . σ . L r . I rd , k 3 = ω r . L M L s . φ s .
As can be seen, the rotor current in the d-q frame is negative. It can have its regulator with a transfer function expressed in (28) (orange and blue rectangle shown in Figure 7):
H s = 1 R r + S . σ . L r
Figure 6 describes the RSC control block diagram. The decoupling and compensating terms in this block diagram are used to manage the active and reactive stator powers by managing the currents in the d-q frame.

3.2. Grid Side Control

Once again, Figure 6 illustrates the control principle for the grid side converter, which performs two distinct functions [37]: To begin, control the current flowing through the RL filter; second, control the voltage on the DC bus. The q-axis is considered to be aligned with the grid voltage’s angular position. The grid voltages become:
V gd = 0   and   V gq = V s  
The voltage at the converter output in the d-q frame is expressed in (30) and (31) as follows:
(30) V fd = V gd + R f . I fd + L f . dI fd dt I fq . L f . ω s (31) V fq = V gq + R f . I fq + L f . dI fq dt + I fd . L f . ω s  
By taking into consideration the assumption of (29), the converter voltage can be expressed as follows:
(32) V fd = ( R f + s . L f ) . I fd + k 4 (33)   V fq = ( R f + s . L f ) . I fq + k 5
with: k 4 = I fq . L f . ω s   and   k 5 = V sq + I fd . L f . ω s .
It can be seen that the converter current for each axis of the d-q frame can have its own regulator with a transfer function expressed in (34) (red and green rectangle shown on Figure 7):
H s = 1 R f + S . L f  
The active and reactive grid powers are expressed in (35) and (36)
(35) P g = V gd . I gd + V gq . I gq   (36) Q g = V gq . I gd V gd . I gq  
The active and reactive grid powers given in (37) and (38) are obtained by injecting (29) into (35) and (36):
(37) P g = V s   . I gq (38)   Q g = V s . . I gd
It can be seen I gd and I gq are proportional to the powers P g and Q g , respectively.
Active and reactive power references Pg_ref and Qg_ref can be applied, as well as the following reference currents given in (39) and (40), for each axis of d-q frame:
(39) I gq _ ref = P g _ ref V s (40)   I gd _ ref = Q g _ ref V s
The current I gd _ ref is obtained directly from Q g _ ref ; on the other hand, the current I gq _ ref is achieved by adjusting the DC link voltage.
The powers linking the Dc bus to the rectifier and the inverter are given in (41)–(44) [31,38].
P inv = V DC . I inv
P rec = V DC . I rec
P c = V DC . I c
P rec = P inv
P g and P rec are set equal by neglecting losses in the converter, RL filter and the capacitor
P rec = P g = V DC . I rec = V sq . I fq
The regulation of the power P g makes the capacitor power P c controllable. Consequently, the DC bus voltage can be controlled. To determine P g _ ref , the powers P inv and P c need to be known. Equation (46) shows that the capacitor’s reference power is proportional to the reference current:
P c _ ref = V DC . I c _ ref
Figure 6 illustrates how we can manage the DC bus voltage via an external loop (purple rectangle), utilizing a PI controller to generate the reference P c _ ref . Additionally, the graphic depicts the GSC control block diagram. This block diagram includes decoupling and compensating terms that allow for independent control of the currents in the d-q frame flowing through the RL filter and the active and reactive powers exchanged between the grid and the GSC.

4. Experimental Test Bench

The Dspace card used is the Ds1104 R&D; it is a standard card that can be plugged into a PCI slot of the PC. The Ds1104 is designed for many sectors (engineering, automation…) that demand advanced multivariable control and real-time simulations. It is the product of a combination of an MPC8240 main processor, PowerPC 603e core, 250 MHz internal clock and 8 MB Flash and 32 MB SDRAM memory, with a slave DSP based on a Texas Instruments microcontroller type TMS320F240 [24]. It is a board that converts Simulink blocks to machine code for execution on a DSP-based system.
The prototyping then goes through three steps:
  • Construction of the control system using Simulink blocks.
  • Simulation of the system to see the results in different scenarios.
  • Real-time execution of the model through the DS1104 board.
As shown in Figure 7, the Dspace 1104 R&D controller Board includes ADCs, DACs, digital inputs and outputs and incremental encoders. The DS1104 board is also equipped with a slave DSP (the TMS320F240 DSP) to generate the PWM signals to control the DFIG rotor. Finally, an isolation and adaptation board is also needed.
The hardware component includes a DSpace 1104R&D controller board, a Danfoss VSD, an IGBT inverter, a 1.5 Kw doubly fed induction generator, and a 1.5 Kw Squirrel-Cage-Induction-Machine. The inverter is used to operate the DFIG rotor using the control algorithm. In comparison, the control portion of the system is built using Matlab/Simulink and the Real-Time Interface (RTI) via the Control Desk interface.
The real-time control law implementation steps are as follows:
  • Realize and test the program in the Matlab Simulink environment.
  • Execute the program and generate the C code.
  • Create the environment and the real-time experiment’s graphical interface (Layout).
  • Create the link between Simulink and Layout.
The wind emulator was developed by applying the necessary wind profile via a Danfoss (variable speed drive) and a Dspace1104 to a Danfoss (variable speed drive). The SCIG is then told, in concert with the DFIG, to obtain a mechanical speed that matches to the wind profile employed. Figure 8 illustrates the test bench in detail.
System variables are monitored by using Control Desk software. The graphical interface designed in Control Desk allows to:
Execute the program provided to the DSP with the Layout as GUI.
Test the connections between the Layout and the Simulink variables.
Control, visualize and modify in real-time the different variables of the program developed in Simulink.
To validate and test the created control, an experimental test bench was constructed in the LGEM laboratory, as illustrated in Figure 9.

5. Results and Discussion

Simulation tests were conducted on the wind power system using the MATLAB/SIMULINK tool, which assessed how the control affects system performance and evaluates the control’s efficiency, robustness, and output quality. Experimentation on a test bench proved the effectiveness of the vector control method.

5.1. Simulation Results

To begin, a simulation of the control method’s impact on the system was performed using a step as the wind profile (Figure 10) to demonstrate the robustness and the control’s response to abrupt changes. Then, the real offshore northern region of Morocco wind’s profile [39,40] (Figure 11) was applied to evaluate the control’s efficiency and robustness. Finally, the step size was set to T = 1 × 10−4 s (Table A1).
Figure 12a and Figure 13a depict the active and reactive powers for a step wind profile and a real wind profile. Reactive power was set to zero for a unit power factor. Both active and reactive abilities were consistent with their references. Because the equipment was in generator mode, active power was inversely proportional to the wind shape (Figure 10 and Figure 11). When a random portion of the resulting active and reactive powers is magnified, it becomes clear that the chase is always guaranteed without overshoot, regardless of whether the wind changes are gradual or rapid. Figure 12b and Figure 13b illustrate the quadrature rotor current. It is the inverse of the active power curve (Figure 12a and Figure 13a), because Ps changes linearly with Irq via the negative sign defined in Equation (24); the direct rotor current is illustrated in Figure 12c and Figure 13c. Because Qref is zero, it has a constant value of approximately 5 A, and the remaining constant ratio φ s /Lm Equation also equals 5 A.
Since the current is the power image, Figure 12d and Figure 13d display stator currents with an inverse form identical to the wind profile. While the current profile varies, it retains a sinusoidal shape with a period of 0.02 s (independently of the wind shape) corresponding to the grid frequency of 50 Hz. Therefore, the normalized THD value must be less than 5% to have high-quality electricity. In this study, the THD was less than three per cent (Figure 12g and Figure 13g) for both step and real wind profiles, indicating an outstanding power quality. In terms of rotor currents, Figure 12e and Figure 13e demonstrate that the profile fluctuates sinusoidally and proportionally to the electromagnetic torque.
To evaluate the suggested control scheme’s performance, which is primarily concerned with tracking active and reactive power references via the management of quadrature and direct rotor currents, (47) uses the root-mean-square error (RMSE) as a performance metric:
RMSE = k = 1 k y k y r e f k ² / k
To test the steady-state tracking performance of the command, the errors of each key parameter were calculated using (47) for both the step and the real wind profile. For the step wind profile, Ps, Qs, Iqr and Idr are tracking their references with an error of 7.7%, 10.5%, 9.7%, and 8.1%, respectively. As for the real wind profile, the corresponding tracking errors are 4.2%, 9.9%, 7.5%, and 4.7%, respectively. The steady-state tracking errors of all parameters are inferior to the real wind profile ones. This is because the pursuit of the reference is better for smooth wind changes than for sudden changes (Figure 14).

5.2. Experimental Validation

To demonstrate the vector control approach’s efficiency on the test bench, identical condition tests were used. System robustness is shown in the first test, while tracking efficiency and control in the face of a changeable wind profile are demonstrated in the second test. The experimental results for the two tests exported from the DS1104 R&D Controller Board via the RTI Control Desk are depicted in Figure 15 and Figure 16.
The experimental demonstration of the control approach’s effect on the system uses a step as the step wind profile (Figure 10) to demonstrate the control’s response to discontinuities. Then, the control’s efficiency and resilience were evaluated using Morocco’s wind profile’s real offshore northern region (Figure 11).
Because the machine is in generator mode, active power is inversely proportional to the wind shape (Figure 15a and Figure 16a). As can be shown, the pursuit is always assured without overshooting for both variable and steady-state wind fluctuations. The quadrature rotor current is seen in Figure 15c and Figure 16c. Ps has the inverse shape of the active power curve since it varies linearly with Irq via the negative coefficient specified in (24). (Figure 15a and Figure 16a). Figure 15d and Figure 16d illustrate the direct rotor current. Since Qref is zero, it has a constant value of approximately 5 A and the remaining constant ratio φ s /Lm in Equation equals 5 A.
Stator currents are sinusoidal with a constant period of 0.02 s and a frequency of 50 Hz, as seen in Figure 15e, Figure 16e and Figure 17. Additionally, sinusoidal rotor currents are depicted in Figure 15f, Figure 16f and Figure 18. The voltage and current of a single phase are shown in Figure 19. They are in opposition, sinusoidal, and have a frequency of 50 Hz, which is expressed in time units of 0.02 s, ensuring a unit power factor. The MLI control signals applied to the converter are depicted in Figure 20.
The experimental and simulated data must be overlapped and compared simultaneously to conduct a thorough quantitative and qualitative analysis. The resulting experimental data were imported from the Control Desk and then charted. Figure 21 and Figure 22 exhibit the comparison between simulated and experimental results.
Figure 21a,b and Figure 22a,b exhibit active and reactive power tracking and the simulations that follow them. The error between experimental and simulation findings was calculated using each critical parameter’s root mean square error for the step and the real wind profile. Ps, Qs, Iqr, and Idr are tracking their references with an inaccuracy of 8.3%, 6,1%, 8%, and 8.3%, respectively, for the step wind profile. The appropriate tracking errors for the reel wind profile are 6%, 2.9%, 2.6%, and 5.5%, respectively (Figure 23).
However, these errors are tolerable in experimental manipulation and have a negligible effect on the suggested control scheme’s performance, as illustrated in Figure 23. The low error rates demonstrate the success of the experimental test unequivocally.
Table 1 represents a comparison between the RMSEs calculated from the results found through simulation and experiment for the two profiles studied. However, the difference between experimental and simulation errors are tolerable and have a negligible effect on the suggested control scheme’s performance.

6. Conclusions

The originality of this study was to develop a new wind emulator and a power control strategy for a wind system based on a doubly fed induction generator. Initially, the control technique was detailed in full. Then, both converters were fitted with it (machine and grid sides). Three stages were used to evaluate the control solution: (1) a MATLAB/Simulink simulation to validate the reference’s persistence (for both real and step wind speeds) and robustness, (2) real-time implementation on a dSPACE-DS1104 board connected to an experimental laboratory bench, and (3) overlapped comparison experimental and simulated data to conduct a thorough quantitative and qualitative analysis using root-mean-square error measures. The simulation and experimental results reveal that the proposed model is viable and exhibits an excellent correlation between experimental and simulated results. The future focus will be on grid-side power converter control via developing a new grid emulation design.

Author Contributions

Conceptualization, M.B.; methodology, M.B.; software, M.B.; validation, M.B., B.B. and H.A.A.; formal analysis, M.B.; investigation, M.B.; resources, M.B.; data curation, M.B.; writing—original draft preparation, M.B.; writing—review and editing, M.B., M.K.; visualization, M.B.; supervision, M.B., B.B., M.K.; project administration, B.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Acknowledgments

This work would not have been possible without the technical support of LGEM laboratory at Mohamed First University where the experimental works were carried out.

Conflicts of Interest

The authors declare no conflict of interest.

Nomenclatures

DFIGDoubly Fed Induction Generator
WECSWind Energy Conversion System
MPPTMaximim Power Point Tracking
SCIGSquirrel Cage Induction Generator
DCDirect Current
ACAlternative Current
FOCField Oriented Control
RSCRotor Side Control
GSCGrid Side Control
DSPDigital Signal Process
RTIReal-Time Interface
THDTotal Harmonic Distortion
GUIGraphical User Interface
PvWind Power
λTip Speed Ratio
βPitch Angle
CpPower Coefficient
LGEMElectrical Engineering and Maintenance Maboratory
SSurface Swept By The Blade
VWind Speed
ωtTurbine Speed
Rs, Rr, RfStator, Rotor, Filter Resistance
Ls, Lr, Lf, LMStator Rotor, Filter Mutuel Inductance
Vsd, Vsq (d-q) Axes Stator Voltages
Vrd, Vrq(d-q) Axes Rotor Voltages
Vgd, Vgq(d-q) Axes Grid Voltages
Isd, Isq (d-q) Axes Stator Currents
Ird, Irq(d-q) Axes Rotor Currents
Igd, Igq(d-q) Axes Grid Currents
Ps, Pr, PgStator, Rotor, Grid Active Power
Qs, Qr, QgStator, Rotor, Grid Reactive Power
φsd, φsq(d-q) Axes Stator Fluxes
VdcDc Link Voltage
Pinv, Prec, PfInverter, Rectifier, Filter Powers
Iinv, IrecInverter, Rectifier Currents

Appendix A

Table A1. Wind turbine parameters.
Table A1. Wind turbine parameters.
DFIG ParametersWT Parameters
Pn1.5 kWR2
p2ρ1.22 kg/m3
Rs4.85 Ωλopt9.1
Rr3.805 ΩCp0.5
Ls274 mHG3
Lr258 mH

References

  1. Wind, G.; Council, E. Gwec|Global Wind Report 2019. 2019. Available online: https://gwec.net/global-wind-report-2019/ (accessed on 29 December 2022).
  2. Offshore, E.; To, W.; Markets, E. Expanding Offshore Wind to Emerging Markets. 2019. Available online: https://esmap.org/going_global_offshore_wind (accessed on 29 December 2022).
  3. Li, J.; Wang, G.; Li, Z. A review on development of offshore wind energy conversion system. Int. J. Energy Res. 2020, 44, 9283–9297. [Google Scholar] [CrossRef]
  4. Emeksiz, C.; Demirci, B. The determination of offshore wind energy potential of Turkey by using novelty hybrid site selection method. Sustain. Energy Technol. Assess. 2019, 36, 100562. [Google Scholar] [CrossRef]
  5. Iea, B. Morocco 2019. 2019. Available online: https://www.iea.org/reports/energy-policies-beyond-iea-countries-morocco-2019 (accessed on 29 December 2022).
  6. Report, W. Global Offshore Wind Report 2020. 2020. pp. 1–102. Available online: https://gwec.net/global-offshore-wind-report-2020/ (accessed on 29 December 2022).
  7. Karad, S.; Thakur, R. Recent Trends of Control Strategies for Doubly Fed Induction Generator Based Wind Turbine Systems: A Comparative Review. Arch. Comput. Methods Eng. 2021, 28, 15–29. [Google Scholar] [CrossRef]
  8. Ali, M.M.; Youssef, A.R.; Ali, A.S.; Abdel-Jaber, G.T. Comparative study of different pitch angle control strategies for DFIG based on wind energy conversion system. Int. J. Renew. Energy Res. 2019, 9, 157–163. [Google Scholar]
  9. Aroussi, H.A.; Ziani, E.M.; Bouderbala, M.; Bossoufi, B. Enhancement of the direct power control applied to DFIG-WECS. Int. J. Electr. Comput. Eng. 2020, 10, 35–46. [Google Scholar] [CrossRef]
  10. Taoussi, M.; Bossoufi, B.; Bouderbala, M.; Motahhir, S.; Alkhammash, E.H.; Masud, M.; Zinelabidine, N.; Karim, M. Implementation and validation of hybrid control for a DFIG wind turbine using an FPGA controller board. Electronics 2021, 10, 3154. [Google Scholar] [CrossRef]
  11. Civelek, Z. Optimization of fuzzy logic (Takagi-Sugeno) blade pitch angle controller in wind turbines by genetic algorithm. Eng. Sci. Technol. Int. J. 2019, 23, 1–9. [Google Scholar] [CrossRef]
  12. Bouderbala, M.; Bossoufi, B.; Lagrioui, A.; Taoussi, M.; Aroussi, H.A.; Ihedrane, Y. Direct and indirect vector control of a doubly fed induction generator based in a wind energy conversion system. Int. J. Electr. Comput. Eng. 2019, 9, 1531–1540. [Google Scholar] [CrossRef]
  13. Kasem Alaboudy, A.H.; Daoud, A.A.; Desouky, S.S.; Salem, A.A. Converter controls and flicker study of PMSG-based grid connected wind turbines. Ain Shams Eng. J. 2013, 4, 75–91. [Google Scholar] [CrossRef] [Green Version]
  14. Mousa, H.H.H.; Youssef, A.R.; Mohamed, E.E.M. State of the art perturb and observe MPPT algorithms based wind energy conversion systems: A technology review. Int. J. Electr. Power Energy Syst. 2021, 126, 106598. [Google Scholar] [CrossRef]
  15. Ugalde-Loo, C.E.; Ekanayake, J.B.; Jenkins, N. State-space modeling of wind turbine generators for power system studies. IEEE Trans. Ind. Appl. 2013, 49, 223–232. [Google Scholar] [CrossRef]
  16. Nayar, C.V.; Islam, S.M.; Dehbonei, H.; Tan, K.; Sharma, H. Power Electronics for Renewable Energy Sources; Elsevier Inc.: Amsterdam, The Netherlands, 2011; ISBN 9780124095342. [Google Scholar]
  17. Sathiyanarayanan, J.S.; Senthil Kumar, A. Doubly fed induction generator wind turbines with fuzzy controller: A survey. Sci. World J. 2014, 2014, 252645. [Google Scholar] [CrossRef] [Green Version]
  18. Bossoufi, B.; Karim, M.; Taoussi, M.; Aroussi, H.A.; Bouderbala, M.; Motahhir, S.; Camara, M.B. DSPACE-based implementation for observer backstepping power control of DFIG wind turbine. IET Electr. Power Appl. 2020, 14, 2395–2403. [Google Scholar] [CrossRef]
  19. El Ouanjli, N.; Derouich, A.; El Ghzizal, A.; Bouchnaif, J.; El Mourabit, Y.; Taoussi, M.; Bossoufi, B. Real-time implementation in dSPACE of DTC-backstepping for a doubly fed induction motor. Eur. Phys. J. Plus 2019, 134, 566. [Google Scholar] [CrossRef]
  20. Youness, E.M.; Aziz, D.; Abdelaziz, E.G.; Jamal, B.; Najib, E.O.; Othmane, Z.; Khalid, M.; BOSSOUFI, B. Implementation and validation of backstepping control for PMSG wind turbine using dSPACE controller board. Energy Rep. 2019, 5, 807–821. [Google Scholar] [CrossRef]
  21. Mensou, S.; Essadki, A.; Minka, I.; Nasser, T.; Idrissi, B.B. Control and Hardware Simulation of a Doubly Fed Induction Aero-Generator Using dSPACE Card. In Proceedings of the 2019 International Conference of Computer Science and Renewable Energies (ICCSRE), Agadir, Morocco, 22–24 July 2019; pp. 1–7. [Google Scholar]
  22. Mensou, S.; Essadki, A.; Minka, I.; Nasser, T.; Idrissi, B.B.; Tarla, L. Ben Performance of a vector control for dfig driven by wind turbine: Real time simulation using DS1104 controller board. Int. J. Power Electron. Drive Syst. 2019, 10, 1003–1013. [Google Scholar]
  23. Bouderbala, M.; Bossoufi, B.; Deblecker, O.; Aroussi, H.A.; Taoussi, M.; Lagrioui, A.; Motahhir, S.; Masud, M.; Alraddady, F.A. Experimental Validation of Predictive Current Control for DFIG: FPGA Implementation. Electronics 2021, 10, 2670. [Google Scholar] [CrossRef]
  24. Bossoufi, B.; Karim, M.; Taoussi, M.; Aroussi, H.A.; Bouderbala, M.; Deblecker, O.; Motahhir, S.; Nayyar, A.; Alzain, M.A. Rooted tree optimization for the backstepping power control of a doubly fed induction generator wind turbine: Dspace implementation. IEEE Access 2021, 9, 26512–26522. [Google Scholar] [CrossRef]
  25. Soued, S.; Chabani, M.S.; Becherif, M.; Benchouia, M.T.; Ramadan, H.S.; Betka, A.; Golea, A.; Zouzou, S.E. Experimental behaviour analysis for optimally controlled standalone DFIG system. IET Electr. Power Appl. 2019, 13, 1462–1473. [Google Scholar] [CrossRef]
  26. Charabi, Y.; Abdul-Wahab, S. Wind turbine performance analysis for energy cost minimization. Renew. Wind. Water Sol. 2020, 7, 5. [Google Scholar] [CrossRef]
  27. Aranizadeh, A.; Zaboli, A.; Asgari Gashteroodkhani, O.; Vahidi, B. Wind turbine and ultra-capacitor harvested energy increasing in microgrid using wind speed forecasting. Eng. Sci. Technol. Int. J. 2019, 22, 1161–1167. [Google Scholar] [CrossRef]
  28. Hala, A.A.; Ziani, E.M.; Manale, B.; Badre, B. DPC & DNPC Applied To Wind Energy Converter System. In Proceedings of the 2020 5th International Conference on Renewable Energies for Developing Countries (REDEC), Marrakech, Morocco, 29–30 June 2020. [Google Scholar]
  29. Wei, J.; Li, C.; Wu, Q.; Zhou, B.; Xu, D.; Huang, S. International Journal of Electrical Power and Energy Systems MPC-based DC-link voltage control for enhanced high-voltage ride-through of offshore DFIG wind turbine. Int. J. Electr. Power Energy Syst. 2021, 126, 106591. [Google Scholar] [CrossRef]
  30. Zhou, D.; Song, Y.; Blaabjerg, F. Control of Wind Turbine System; Elsevier Inc.: Amsterdam, The Netherlands, 2018; ISBN 9780128052457. [Google Scholar]
  31. Manale, B.; Badre, B.; Hala, A.A.; Mohammed, T.; Ahmed, L.; Petru, L. DEADBEAT control applied towind power system. In Proceedings of the 2020 5th International Conference on Renewable Energies for Developing Countries (REDEC), Marrakech, Morocco, 29–30 June 2020. [Google Scholar]
  32. Bouderbala, M.; Bossoufi, B.; Alami Aroussi, H.; Taoussi, M.; Lagriou, A. DFIG-WECS Non Linear Power Controls Application. In Digital Technologies and Applications: Proceedings of ICDTA 21, Fez, Morocco; Springer International Publishing: Cham, Switzerland, 2021; pp. 1455–1465. [Google Scholar]
  33. Cortajarena, J.A.; Barambones, O.; Alkorta, P.; Cortajarena, J. Grid frequency and amplitude control using dfig wind turbines in a smart grid. Mathematics 2021, 9, 143. [Google Scholar] [CrossRef]
  34. Mbukani, M.W.K.; Gule, N. Evaluation of an STSMO-based estimator for power control of rotor-tied DFIG systems. IET Electr. Power Appl. 2019, 13, 1871–1882. [Google Scholar] [CrossRef]
  35. Nahilia, H.; Boudour, M.; Cardenas, A.; Agbossou, K.; Doumbia, M.L. Doubly fed induction wind generators model and field orientation vector control design and implementation on FPGA. Int. J. Dyn. Control 2019, 7, 1005–1014. [Google Scholar] [CrossRef]
  36. Rahimi, M. Coordinated control of rotor and grid sides converters in DFIG based wind turbines for providing optimal reactive power support and voltage regulation. Sustain. Energy Technol. Assess. 2017, 20, 47–57. [Google Scholar] [CrossRef]
  37. Blaabjerg, F.; Xu, D.; Chen, W.; Zhu, N. Control of DFIG Power Converters. Adv. Control Doubly Fed Induction Gener. Wind Power Syst. 2018, 24, 99–138. [Google Scholar]
  38. Mensou, S.; Essadki, A.; Nasser, T.; Idrissi, B.B.; Ben Tarla, L. Dspace DS1104 implementation of a robust nonlinear controller applied for DFIG driven by wind turbine. Renew. Energy 2020, 147, 1759–1771. [Google Scholar] [CrossRef]
  39. Areas, A. DS1104 R & D Controller Board. Memory 2011, 296–301. [Google Scholar]
  40. Available online: www.renewables.ninja (accessed on 29 December 2022).
Figure 1. Wind energy conversion system.
Figure 1. Wind energy conversion system.
Sustainability 15 03638 g001
Figure 3. DFIG modelling.
Figure 3. DFIG modelling.
Sustainability 15 03638 g003
Figure 4. Back-to-back converter.
Figure 4. Back-to-back converter.
Sustainability 15 03638 g004
Figure 5. FOC orientation.
Figure 5. FOC orientation.
Sustainability 15 03638 g005
Figure 6. System control.
Figure 6. System control.
Sustainability 15 03638 g006
Figure 7. Dspace1104 Block Diagram [32].
Figure 7. Dspace1104 Block Diagram [32].
Sustainability 15 03638 g007
Figure 8. Test bench synopsis.
Figure 8. Test bench synopsis.
Sustainability 15 03638 g008
Figure 9. The experimental test bench.
Figure 9. The experimental test bench.
Sustainability 15 03638 g009
Figure 10. Wind step profile.
Figure 10. Wind step profile.
Sustainability 15 03638 g010
Figure 11. Real wind profile.
Figure 11. Real wind profile.
Sustainability 15 03638 g011
Figure 12. Simulation results with step reference. (a) Active and reactive powers; (b) quadrature rotor current; (c) direct rotor current; (d) stator currents; (e) rotor currents; (f) Voltage and current phase a; (g) the current.
Figure 12. Simulation results with step reference. (a) Active and reactive powers; (b) quadrature rotor current; (c) direct rotor current; (d) stator currents; (e) rotor currents; (f) Voltage and current phase a; (g) the current.
Sustainability 15 03638 g012aSustainability 15 03638 g012b
Figure 13. Simulation results with real wind profile reference. (a) Active and reactive powers; (b) quadrature rotor current; (c) direct rotor current; (d) stator currents; (e) rotor currents; (f) voltage and current phase a; (g) the current.
Figure 13. Simulation results with real wind profile reference. (a) Active and reactive powers; (b) quadrature rotor current; (c) direct rotor current; (d) stator currents; (e) rotor currents; (f) voltage and current phase a; (g) the current.
Sustainability 15 03638 g013aSustainability 15 03638 g013b
Figure 14. RMSE (Simulation).
Figure 14. RMSE (Simulation).
Sustainability 15 03638 g014
Figure 15. Experimental results for a step profile on ControlDesk layout. (a) +Active+power+; (b) +Reactive+power+; (c) +Quadrature+rotor+current+; (d) +Direct+rotor+current+; (e) +stator+currents+; (f) +rotor+currents+.
Figure 15. Experimental results for a step profile on ControlDesk layout. (a) +Active+power+; (b) +Reactive+power+; (c) +Quadrature+rotor+current+; (d) +Direct+rotor+current+; (e) +stator+currents+; (f) +rotor+currents+.
Sustainability 15 03638 g015aSustainability 15 03638 g015b
Figure 16. Experimental results for a step profile on ControlDesk layout. (a) +Active+power+; (b) +Reactive+power+; (c) +Quadrature+rotor+current+; (d) +Direct+rotor+current+; (e) +stator+currents+; (f) +rotor+currents+.
Figure 16. Experimental results for a step profile on ControlDesk layout. (a) +Active+power+; (b) +Reactive+power+; (c) +Quadrature+rotor+current+; (d) +Direct+rotor+current+; (e) +stator+currents+; (f) +rotor+currents+.
Sustainability 15 03638 g016
Figure 17. Zoom of Is.
Figure 17. Zoom of Is.
Sustainability 15 03638 g017
Figure 18. Zoom of Ir.
Figure 18. Zoom of Ir.
Sustainability 15 03638 g018
Figure 19. Voltage and current of a phase.
Figure 19. Voltage and current of a phase.
Sustainability 15 03638 g019
Figure 20. MLI signals.
Figure 20. MLI signals.
Sustainability 15 03638 g020
Figure 21. +Simulated+and+experimental+results+for+step+profile. (a) +active+power+; (b) +reactive+power+; (c) quadrature rotor current; (d) direct rotor current; (e) stator currents; (f) rotor currents.
Figure 21. +Simulated+and+experimental+results+for+step+profile. (a) +active+power+; (b) +reactive+power+; (c) quadrature rotor current; (d) direct rotor current; (e) stator currents; (f) rotor currents.
Sustainability 15 03638 g021aSustainability 15 03638 g021b
Figure 22. Simulated+and+experimental+results+for+wind+profile. (a) +active+power+; (b) +reactive+power+; (c) quadrature rotor current; (d) direct rotor current; (e) +Stator+currents+; (f) rotor currents.
Figure 22. Simulated+and+experimental+results+for+wind+profile. (a) +active+power+; (b) +reactive+power+; (c) quadrature rotor current; (d) direct rotor current; (e) +Stator+currents+; (f) rotor currents.
Sustainability 15 03638 g022
Figure 23. Experimental RMSE.
Figure 23. Experimental RMSE.
Sustainability 15 03638 g023
Table 1. RMSE comparison.
Table 1. RMSE comparison.
Step ProfileReal Wind Profile
SimulationExperimentalSimulationExperimental
Ps7.7%8.3%4.2%6%
Qs10.5%6.1%9.9%2.9%
Ird9.7%8%7.5%2.6%
Irq8.1%8.3%4.7%5.5%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Bouderbala, M.; Aroussi, H.A.; Bossoufi, B.; Karim, M. Real-Time Power Control of Doubly Fed Induction Generator Using Dspace Hardware. Sustainability 2023, 15, 3638. https://doi.org/10.3390/su15043638

AMA Style

Bouderbala M, Aroussi HA, Bossoufi B, Karim M. Real-Time Power Control of Doubly Fed Induction Generator Using Dspace Hardware. Sustainability. 2023; 15(4):3638. https://doi.org/10.3390/su15043638

Chicago/Turabian Style

Bouderbala, Manale, Hala Alami Aroussi, Badre Bossoufi, and Mohammed Karim. 2023. "Real-Time Power Control of Doubly Fed Induction Generator Using Dspace Hardware" Sustainability 15, no. 4: 3638. https://doi.org/10.3390/su15043638

APA Style

Bouderbala, M., Aroussi, H. A., Bossoufi, B., & Karim, M. (2023). Real-Time Power Control of Doubly Fed Induction Generator Using Dspace Hardware. Sustainability, 15(4), 3638. https://doi.org/10.3390/su15043638

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop