Related Experiment Video
Updated: Jan 12, 2026

Experimental Investigation of the Hierarchical Control in DC Microgrids Using a Real-time Simulator
Published on: February 14, 2025
Enhancing PI control in microgrids using machine-learning techniques
Eman Abo-Elkhair1, Ahmed E B Abu-Elanien2, Gamal M Mahmoud3
1Department of Electrical Engineering, Faculty of Engineering, Alexandria University, Alexandria, Egypt.
Abstract:
The integration of renewable energy sources (RES) into power systems requires sophisticated control strategies to ensure stable operation. This study presents a comprehensive framework that combines Machine Learning (ML) techniques-specifically Artificial Neural Networks (ANNs) and Reinforcement Learning (RL)-with traditional Proportional-Integral (PI) controllers to enhance microgrid control performance. Traditional PI controllers, while essential for microgrid operation with RES technologies such as solar and wind systems, face challenges in parameter tuning. Suboptimal selection of proportional gain [Formula: see text] and integral gain [Formula: see text] values can result in system instability or degraded performance. Our proposed ML-enhanced framework dynamically adjusts [Formula: see text] based on real-time operational data and historical performance metrics, addressing these limitations. We evaluate three control strategies-traditional PI, ANN-based PI, and RL-based PI controllers-through extensive simulations of a microgrid with distributed energy resources (DERs). The RL-based controller demonstrates superior performance by reducing voltage Total Harmonic Distortion (THD) to 0.43%, compared to 16.99% for traditional PI control. The ANN-based controller achieves a THD of 0.58%, representing a 96.6% improvement over conventional methods. Both ML-enhanced approaches exceed IEEE 1547 requirements while improving settling time by 75% and frequency stability by 93%. These results validate the effectiveness of ML and deep learning techniques in enhancing microgrid stability and reliability, providing practical solutions for advanced RES management in modern power systems.
Related Concept Videos
PI Controller: Design
Time and frequency -Domain Interpretation of PI Control
Acting as a low-pass filter, the PI controller slows the system's response and extends settling times. This requires...
PID Controller
Multimachine Stability
In analyzing the system, the nodal equations represent the relationship between bus voltages, machine voltages, and machine currents. The nodal equation is given by:
Load-frequency control
Time-Domain Interpretation of PD Control
Consider the example of control of motor torque. Initially, a positive...

