Processor-in-the-Loop Implementation Using STM32F4 of PI Controller-Based Direct Power Control for Wind Energy Conversion Systems
- 11 June 2025
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 748-755
Abstract
This paper presents a control method for regulating the active and reactive powers of a Doubly Fed Induction Generator (DFIG) in wind energy applications. The proposed strategy is based on a Direct Power Control (DPC) technique enhanced with Proportional Integral (PI) controllers. The DPC PI approach effectively addresses the well-known limitations of conventional DPC, such as variable switching frequency, significant current and power fluctuations, and reliance on hysteresis comparators and switching tables. By replacing these components with PI controllers and incorporating a Pulse Width Modulation (PWM) scheme, the system achieves a fixed switching frequency and improved power quality. The control system was initially designed and evaluated in MATLAB/Simulink under various wind conditions to verify its operational accuracy. Following simulation, the control algorithm was discretized and implemented on the STM32F4 microcontroller, which is an economical and efficient embedded platform suitable for real-time power applications. Processor in the Loop (PIL) testing confirmed the controller’s effectiveness under dynamic conditions. The DPC PI controller demonstrated precise tracking of active and reactive power references, characterized by fast response times, minimal overshoot, and stable steady-state behavior. The Total Harmonic Distortion (THD) of the stator current was measured at 0.20%, which is well below the 5% threshold set by the IEEE 519 standard, confirming enhanced power quality. These results validate the reliability and feasibility of deploying the DPC PI method on the STM32F4 microcontroller. Its real-time performance, compliance with international standards, and cost-effectiveness make it a strong candidate for integration into commercial wind farms in Morocco and in other regions.Keywords
This publication has 10 references indexed in Scilit:
- Hardware-in-the-loop verification and real-time simulation of innovative fuzzy super-twisting control technique of doubly-fed induction generatorsEngineering Applications of Artificial Intelligence, 2025
- A Comprehensive Approach to Wind Turbine Optimization Integrating MPPT and Speed Control2024
- Two different controllers-based DPC of the doubly-fed induction generator with real-time implementation on dSPACE 1104 controller boardMeasurement and Control, 2024
- A new PI(1 +PI) controller to mitigate power ripples of a variable-speed dual-rotor wind power system using direct power controlEnergy Reports, 2023
- Renewable Energy for Sustainable Development Goal of Clean and Affordable EnergyInternational Journal of Materials Manufacturing and Sustainable Technologies, 2023
- Intelligent Direct Power Control Based on the Neural Super-Twisting Sliding Mode Controller of a DFIG2023
- Robust Control of a Wind Conversion System Based on a Doubly Fed Induction Generator: A Comparison Between Adaptive Backstepping and Integral Sliding Mode Controllers2022
- Enhancement of the direct power control by using backstepping approach for a doubly fed induction generatorWind Engineering, 2022
- Evaluation of Adaptive Backstepping Control Applied to DFIG Wind System Used on the Real Wind Profile of the Dakhla-Morocco City2021
- Improved Hybrid Control Strategy of the Doubly-Fed Induction Generator Under a Real Wind Profile2021