Abstract
This paper presents a new contribution of the nonlinear control technique of electrical energy in a wind energy system. The nonlinear sliding mode technique used to control the powers of the DFIG-Generator is connected to the power grid by two converters (grid side and machine side). The proposed model is validated using tracking and robustness tests with a real wind speed. The control was developed under Matlab/Simulink, and the FPGA in the Loop technique was used to design the DFIG model. By employing a co-simulation, the purpose is to test the controller for the FPGA simulated model or system in its entirety. The results obtained by the cο-simulation show the efficiency of the proposed model in terms of speed and robustness with a rate THD = 0.95, and the proposed model of the sliding mode controller shows a significant improvement in the quality of energy produced by the wind system.
1. Introduction
In the last three decades, renewable energy sources have garnered considerable interest. Due to technological developments, cost reductions, and rising demand, they have become a realistic option, particularly in developing nations. However, reconfiguring the power system network will necessitate a significant transition away from conventional to renewable energy-based energy production due to its limited nature, environmental effect, and sustainability, as well as the global annual increase in energy consumption [1].
The wind is the most environmentally friendly, dependable, cost-effective, and adaptable renewable energy source for power producers to integrate into electrical grids [2]. Due to its compact size and low cost, high efficiency, long-term operation, low acoustic noise, wide operating range, and flexibility in four-quadrant active and reactive power regulation, DFIG is widely employed in current variable-speed WECS for wind energy production [3].
The control system is designed to ensure that the DFIG’s terminal voltage and frequency remain constant regardless of wind speed changes or auxiliary load. However, creating a control system for grid-integrated WECS is a significant task due to the unpredictable nature of wind speed [4]. In addition, it evaluates the wind energy system’s overall efficiency and adds to the structural stability of the power converters [5]. As a result, considerable research has been conducted to improve the performance of control loops.
While classic controllers based on linear proportional integral (PI) perform admirably in a wide variety of control applications, they have severe limitations, including machine parameter variations [6,7]. Throughout the decades, numerous unique control strategies have been proposed to replace the standard control strategy in order to improve accuracy and precision performance. Backstepping control [8,9], intelligent control [10,11], model predictive control [12,13], and sliding mode control [14,15] are all examples of these controllers.
The conventional sliding mode method produces an undesired chattering effect that might be detrimental to the system. Thus, it is appropriate to investigate sliding mode algorithms that inherit all of the SMC’s features and attenuate chattering phenomena in a regulated manner [16,17,18].
The purpose of this article is to describe the application of an upgraded sliding mode adaptive nonlinear control to a WECS-DFIG that is controlled by power converters (grid and generator sides). Additionally, the primary purpose is to prevent chattering and improve the performance of wind systems operating under changeable wind reference conditions. Our contribution to this work is to guarantee and improve the operation of a wind energy system using a nonlinear model and a nonlinear control technique and increase the system’s performance using an optimized model of the sliding mode.
In this work, an implementation on the FPGA target of our control model has been developed. The main objective is to develop and validate the model controller validated in simulation (Matlab and Simulink). The FPGA in the Loop (HILS) simulation technique is a real-time simulation technique with the use of I/O from the board that allows us to test and verify the operation of the system under different loads and conditions.
After the Section 1, Section 2 is dedicated to modeling of the system (WECS), Section 3 discusses the basic principle and the design procedure of the proposed sliding mode technique control. In Section 4, the co-simulation results of the proposed control are presented, analyzed, and then compared with other controls results. The last section of this paper is devoted to a brief conclusion.
2. Presentation of the Wind Turbine Conversion Chain
The wind turbine conversion chain is composed of a wind turbine consisting of three blades, fixed on a drive shaft, which is connected to a gearbox, a DFIG generator, inverter mode (RSC), and the other mode (GSC) presented in Figure 1 [19].
Figure 1.
Wind system structure [20].
- Wind Turbine Model
The authors of [21] have carefully described the process of a wind turbine, and the following equations briefly describe its model:
The parameters “C1…C6” are constant depending on the geometry of the wind turbine.
- Gearbox Model
- The Mechanichal Shaft Models
The proposed mechanical model is characterized by the following equations [22,23,24,25]:
With:
- DFIG Mode after Park Transformation
Applying the Park transformation on the DFIG-Generator, we get the following equations:
- Converters Model
The following equations characterize the continuous bus:
- Filter (RL) Model
The filter model in the park reference is:
3. Sliding Mode Control
The objective of the SMC control technique is to drive the path of the system state to reach the sliding surface for a period of time.
The evolution of a system subjected to a control rule is no longer determined by the system or external perturbations but by the sliding surface’s attributes. As a result, the system will be robust to uncertainty (system specific) and disruptions (system wide), as the control entirely rejects them.
Sliding mode control’s purpose is to synthesize a surface S(x,t) such that all system trajectories exhibit the appropriate tracking, control, and stability behavior. Additionally, the purpose is to determine a control rule (switching) U(x,t) capable of attracting and maintaining all state trajectories on the sliding surface.
Three complimentary processes comprise the design of the sliding mode control algorithm.
- ❖
- The choice of the sliding surface
Because the sliding surface is a scalar function, the error of the controlled variable slides along it and tends to the phase plane’s origin. As a result, the surface S(x) denotes the system’s desired dynamic behavior [28,29,30].
The sliding surface proposed is:
This control’s purpose is to keep the surface S(x) trending toward zero. The latter is a linear differential equation with a unique solution of e(x) = 0 when the parameter δ is chosen appropriately.
With the following:
: Positive gain that interprets the bandwidth of the desired control;
e(x): the deviation on the variable to be controlled e(x) = xd − x;
r: relative degree, the smallest positive integer representing the number of times it is necessary to derive to make the control appear.
- ❖
- The establishment of the existence condition
The existence and convergence conditions specify the conditions under which the system’s dynamics converge to the sliding surface and remain stationary in the presence of disturbances. One way of determining the stability of the sliding mode control is based on LYAPUNOV’s second theorem.
- ❖
- The determination of the control law
The control rule must be determined once the sliding surface and convergence criterion are specified. Its goal is to confine the system’s state trajectories to reach and then remain on the sliding surface notwithstanding the existence of uncertainty. In other words, the control law must be attractive to the sliding surface on a local level [31,32,33,34].
3.1. Control of the Converter on the DFIG RSC Side
For r = 1, the active and reactive power slip area is given by:
The following equation expresses the derivative of this surface:
With:
The derivative of the sliding surface is given by:
By replacing Equation (16) in Equation (15), the expression for the equivalent command is as follows [14]:
The stabilizing control is [19]:
Hence, the expression for the total controls Vrd and Vrq is as follows:
3.2. Control of the Converter on the GSC Grid Sid
We consider the sliding mode surface proposed by SLOTINE. For r = 1, we obtain the following equation [33,34,35]:
The following equation gives the derivative of the sliding surface [36]:
With:
The following equation expresses the stabilizing control:
With:
4. Results and Simulation
The tracking and robustness tests were carried out on Matlab and Simulink in order to validate the proposed model. To evaluate the performance of sliding mode control applied to a grid-connected wind power system, FPGA in the Loop was carried out.
In order to verify the results obtained by the simulations, FPGA in the Loop was proposed (Figure 2), which is realized with a co-simulation by the FPGA Nexys 4 DDR target. The machine’s model realized in Matlab/Simulink was converted into a digital model in order to facilitate the generation of the VHDL code using the “System Generator” tool. The sampling period used is of the order Ts = 5 μs, and the frequency linked to the FPGA is 50 MHz (Table A1).
Figure 2.
SMC control for wind turbine.
4.1. Real Wind Profile
The wind profile used for these tests is wind data from the Dakhla Morocco site (Figure 3).
Figure 3.
Real variable wind speed system response.
We remark that the generator well follows the references of the powers without overshoot and with an almost null error.
Figure 4 present the THD for current and voltage.
Figure 4.
Analyzed THD (%).
The THD is clearly (6.29%) at the level of the rotor current, for only (0.16%) at the level of the stator current.
4.2. Step Wind Profile
Step references are applied to the active and reactive power of the system (Figure 5).

Figure 5.
Co-simulation experimental results with step references: (a) active power, (b) reactive power, (c) rotor current, (d) stator current, (e) THD rotor current, and (f) THD stator current.
The results in Figure 6 show the following:

Figure 6.
Co-simulation experimental results robustness, (a) Active Power with 2*Rn, (b) Active Power with Rn/2, (c) Active Power with Lsn/2. (d) Active Power with Lrn/2.
- Better monitoring of active and reactive power.
- Better power factor due to improved reactive power.
- Very good performance monitoring with the references with an error of 0.067%.
- Better responses of the currents Is and Ir despite the variation imposed by the torque.
- The form of the current is sinusoidal with a frequency of 50 Hz for the stator current and 3 Hz for the rotor current.
- The THD is 0.33% for the current Ir and is 0.94% for the current Is.
To demonstrate the advantages and the superiority of the proposed control it is interesting to compare it with other techniques in the literature. It is noted here that these techniques were not performed under the same conditions because it is really rare to find many works done under similar conditions. From Table 1, it can be seen that the proposed control based offers a low total harmonic distortion (THD = 1.25%) compared with the other techniques. Additionally, it presents acceptable results in terms of rapidity and precision compared to other methods, which are characterized by Error = 0.15% and Tr = 0.015 s.
Table 1.
Comparison with technical control.
5. Conclusions
This work proposes an enhanced sliding mode control strategy to a variable wind speed-based DFIG-Generator. The performance of the control was verified through a co-simulation between the Matlab/Simulink environment and HIL-based FPGA. The simulation results and the comparative study confirmed that the proposed control is more suitable for a wind power conversion system based on the DFIG variable speed.
Author Contributions
Conceptualization, H.E.A.; methodology, M.K. and H.E.A.; software, S.M.; validation, H.E.A. and B.B; formal analysis, H.E.A., M.T., M.E.M. and M.L.; investigation, H.E.A.; resources, H.E.A.; data curation, H.E.A.; writing—original draft preparation, H.E.A.; writing—review and editing, M.B., E.H.A., S.M. and M.K.; visualization, M.K.; supervision, E.H.A., S.M., B.B., and M.M.; project administration, B.B.; funding acquisition, E.H.A. All authors have read and agreed to the published version of the manuscript.
Funding
This work is supported by Taif University Researchers Supporting Project number (TURSP-2020/292) Taif University, Taif, Saudi Arabia.
Acknowledgments
The authors would like to acknowledge Taif University Researchers Supporting Project number (TURSP-2020/292) Taif University, Taif, Saudi Arabia.
Conflicts of Interest
The authors declare no conflict of interest.
Nomenclature
| Ωt | turbine speed |
| Rs, Rr | stator/rotor resistances |
| Rf, Lf | resistances and inductance of filter |
| Lr, Ls | stator/rotor inductances |
| Ps | active power at stator |
| Qs, Qf | reactive power to stator and filter |
| Paero | aerodynamic power |
| Cem | electromagnetic torque |
| r, s | rotor and stator flux |
| (vsd, vsq), (isd, isq) | d/q stator voltages and currents |
| (vrd, vrq), (ird, irq) | d/q rotor voltages and currents |
| (vgd, vgq), (igd, igq) | grid voltages and currents |
| (vfd, vfq), (ifd, ifq) | voltages and currents at the RL filter |
Appendix A
Table A1.
The DFIG and wind turbine parameters.
Table A1.
The DFIG and wind turbine parameters.
| DFIG Generator | Wind Turbine | ||||
|---|---|---|---|---|---|
| Parameters | Symbol | Values | Parameters | Symbol | Values |
| Power Generator | Ps | 1.5 KW | Radius of the turbine blade | R | 20 m |
| Stator Resistance | Rs | 4.85 Ω | Specific density of air | ρ | 1.22 kg/m3 |
| Rotor Resistance | Rr | 3.805 Ω | Tip-speed ratio | λopt | 8 |
| Stator Inductance | Ls | 274 mH | Optimal power coefficient | Cp | 0.45 |
| Rotor Inductance | Lr | 258 mH | |||
References
- Rkik, I.; El, M.; Ed-dahhak, A.; Guerbaoui, M.; Lachhab, A. An enhanced control strategy based imaginary swapping instant for induction motor drives. Int. J. Electr. Comput. Engeuring 2022, 12, 1102–1112. [Google Scholar] [CrossRef]
- Alami, H.; Aroussi, E.M.; Ziani, M.; Bouderbala, B.B. Improvement of Direct Torque Control Applied To Doubly Fed Induction Motor Under Variable Speed. IJPEDS Int. J. Power Electron. Drive Syst. 2020, 11, 1511–1520. [Google Scholar]
- Taveiros, F.E.V.; Barros, L.S.; Costa, F.B. Back-to-back converter state-feedback control of DFIG (doubly-fed induction generator)-based wind turbines. Energy 2015, 89, 896–906. [Google Scholar] [CrossRef]
- Hammoumi, D.; El Bekkali, C.; Karim, M.; Taoussi, M.; El Ouanjli, M.; Bossoufi, B. Direct controls for wind turbine with PMSG used on the real wind profile of Essaouira-Morocco city. Indones. J. Electr. Eng. Comput. Sci. 2019, 16, 1229–1239. [Google Scholar] [CrossRef]
- Essallah, S.; Bouallegue, A.; Khedher, A. Integration of automatic voltage regulator and power system stabilizer: Small-signal stability in DFIG-based wind farms. J. Mod. Power Syst. Clean Energy 2019, 7, 1115–1128. [Google Scholar] [CrossRef] [Green Version]
- Bouderbala, M.; Bossoufi, B.; Aroussi, H.A.; Lagrioui, A.; Taoussi, M.; Ihedrane, Y.; El Ghamrasni, M. Modeling and power controls of wind energy conversion systems based on doubly fed induction generator. In Proceedings of the 2018 6th International Renewable and Sustainable Energy Conference (IRSEC), Rabat, Morocco, 5–8 December 2018; pp. 1–6. [Google Scholar] [CrossRef]
- Barkia, A.; Bouchiba, N.; Sallem, S.; Chrifi-Alaoui, L.; Drid, S.; Kammoun, M.B.A. A comparative study of PI and Sliding mode controllers for autonomous wind energy conversion system based on DFIG. In Proceedings of the 2016 17th International Conference on Sciences and Techniques of Automatic Control and Computer Engineering, STA 2016-Proceedings, Sousse, Tunisia, 9 December 2017; pp. 612–617. [Google Scholar] [CrossRef]
- Drhorhi, I.; El Fadili, A.; Berrahal, C.; Lajouad, R.; El Magri, A.; Giri, F.; Azar, A.T.; Vaidyanathan, S. Adaptive Backstepping Controller for DFIG-Based Wind Energy Conversion System; Elsevier Inc.: Amsterdam, The Netherlands, 2021; ISBN 9780128175828. [Google Scholar]
- 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]
- Giannakis, A.; Karlis, A.; Karnavas, Y.L. A combined control strategy of a DFIG based on a sensorless power control through modified phase-locked loop and fuzzy logic controllers. Renew. Energy 2018, 121, 489–501. [Google Scholar] [CrossRef]
- 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]
- Yang, X.; Liu, G.; Li, A.; Le, V.D. A predictive power control strategy for DFIGs based on a wind energy converter system. Energies 2017, 10, 1098. [Google Scholar] [CrossRef]
- Yang, X.; Liu, G.; Le, V.D.; Le, C.Q. A novel model-predictive direct control for induction motor drives. IEEJ Trans. Electr. Electron. Eng. 2019, 14, 1691–1702. [Google Scholar] [CrossRef]
- Ayyarao, T.S.L.V. Modified vector controlled DFIG wind energy system based on barrier function adaptive sliding mode control. Prot. Control Mod. Power Syst. 2019, 4, 1193. [Google Scholar] [CrossRef] [Green Version]
- Aounallah, T.; Essounbouli, N.; Hamzaoui, A.; Bouchafaa, F. Algorithm on fuzzy adaptive backstepping control of fractional order for doubly-fed induction generators. IET Renew. Power Gener. 2018, 12, 962–967. [Google Scholar] [CrossRef]
- Kelkoul, B.; Boumediene, A. Stability analysis and study between classical sliding mode control (SMC) and super twisting algorithm (STA) for doubly fed induction generator (DFIG) under wind turbine. Energy 2021, 214, 118871. [Google Scholar] [CrossRef]
- Soomro, M.A.; Memon, Z.A.; Kumar, M.; Baloch, M.H. Wind energy integration: Dynamic modeling and control of DFIG based on super twisting fractional order terminal sliding mode controller. Energy Rep. 2021, 7, 6031–6043. [Google Scholar] [CrossRef]
- Chojaa, H. Maximum Power Extraction of Five-Phase Pmsg Based Wecs by Adopting an Improved Fractional Order Sliding Mode Strategy. Energy Rep. 2021, 11, 55–74. [Google Scholar] [CrossRef]
- Le, V.; Li, X.; Li, Y.; Dong, T.L.T.; Le, C. An innovative control strategy to improve the fault ride-through capability of DFIGs based on wind energy conversion systems. Energies 2016, 9, 69. [Google Scholar] [CrossRef]
- 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]
- Apata, O.; Oyedokun, D.T.O. An overview of control techniques for wind turbine systems. Sci. Afr. 2020, 10, e00566. [Google Scholar] [CrossRef]
- Bouderbala, M.; Bossoufi, B.; Deblecker, O.; Alami Aroussi, H.; 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]
- Djoudi, A.; Bacha, S.; Iman-Eini, H.; Rekioua, T. Sliding mode control of DFIG powers in the case of unknown flux and rotor currents with reduced switching frequency. Int. J. Electr. Power Energy Syst. 2018, 96, 347–356. [Google Scholar] [CrossRef]
- Liao, K.; He, Z.; Xu, Y.; Chen, G.; Dong, Z.Y.; Wong, K.P. A Sliding Mode Based Damping Control of DFIG for Interarea Power Oscillations. IEEE Trans. Sustain. Energy 2017, 8, 258–267. [Google Scholar] [CrossRef]
- Lhachimi, H.; Sayouti, Y.; El Kouari, Y. Optimal improvement of direct power control strategy based on sliding mode controllers. Comput. Electr. Eng. 2018, 71, 637–656. [Google Scholar] [CrossRef]
- Chakib, M.; Essadki, A.; Nasser, T. A comparative study of PI, RST and ADRC control strategies of a doubly fed induction generator based wind energy conversion system. Int. J. Renew. Energy Res. 2018, 8, 964–973. [Google Scholar]
- Bossoufi, B.; Karim, M.; Lagrioui, A.; Taoussi, M. FPGA-Based Implementation nonlinear backstepping control of a PMSM Drive. IJPEDS Int. J. Power Electron. Drive Syst. 2014, 4, 12–23. [Google Scholar] [CrossRef]
- Bossoufi, B.; Karim, M.; Lagrioui, A.; Taoussi, M. FPGA-Based Implementation Sliding Mode Control and nonlinear Adaptive Backstepping control of a Permanent Magnet Synchronous Machine Drive. Wseas Trans. Syst. Control 2014, 9, 86–100. [Google Scholar]
- Sghaier, N.; Ramzi, T.; Gdaim, S.; Bossoufi, B.; Mimouni, M.F. Backstepping control of induction motor using Xilinx System Generator: FPGA-based implementation. Int. J. Emerg. Sci. 2013, 3, 289–302. [Google Scholar]
- Bossoufi, B.; Karim, M.; Ionita, S.; Lagrioui, A. Nonlinear non Adaptive Backstepping with Sliding-Mode Torque Control Approach for PMSM Motor. J. Electr. Syst. JES 2012, 8, 236–248. [Google Scholar]
- Bossoufi, B.; Karim, M.; Ionita, S.; Lagrioui, A. The Optimal Direct Torque Control of a PMSM drive: FPGA-Based Implementation with Matlab & Simulink Simulation. J. Theor. Appl. Inf. Technol. JATIT 2011, 28, 63–72. [Google Scholar]
- Bossoufi, B.; Karim, M.; Ionita, S.; Lagrioui, A.; Iana, G. Matlab & Simulink Simulation with FPGA-Based Implementation Sliding Mode Control of a Permanent Magnet Synchronous Machine Drive. Wseas Trans. Syst. Control 2011, 6, 92–103. [Google Scholar]
- Bossoufi, B.; Karim, M.; Ionita, S.; Lagrioui, A. Indirect Sliding Mode Control of a Permanent Magnet Synchronous Machine: FPGA-Based Implementation with Matlab & Simulink Simulation. J. Theor. Appl. Inf. Technol. JATIT 2011, 29, 32–42. [Google Scholar]
- El Ouanjli, N.; Derouich, A.; El Ghzizal, A. Direct torque control of doubly fed induction motor using three-level NPC inverter. Prot Control Mod Power Syst 2019, 4, 17. [Google Scholar] [CrossRef] [Green Version]
- Saady, I.; Karim, M.; Bossoufi, B.; Motahhir, S.; Adouairi, M.S.; Majout, B.; Lamnadi, M.; Masud, M.; Al-Amri, J.F. Optimisation for a Photovoltaic Pumping System using Indirect Field Oriented Control of Induction Motor. Electronics 2021, 10, 3076. [Google Scholar] [CrossRef]
- Taoussi, M.; Bossoufi, B.; Bouderbala, M.; Motahhir, S.; Alkhammash, E.H.; Masud, M.; ZineLabidine, N.; Karim, M. Implementation and Validation of Hybrid Control for DFIG Wind Turbine Using FPGA Controller Board. Electronics 2021, 10, 3154. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).