Microgrids can operate stably in both islanded and grid-connected modes, and the transition between these modes enhances system reliability and flexibility, enabling microgrids to adapt to diverse operational requirements and environmental conditions. The switching process, however, may introduce transient voltage and frequency fluctuations, causing voltage and current shocks to the grid and potentially damaging devices and systems connected to the microgrid. To address this issue, this study introduces a novel approach based on the Extended State Observer (ESO) and the Super-Twisting Algorithm (STA). Power conversion systems use Virtual Synchronous Generator (VSG) control and Power-Quality (PQ) control when they are connected to the grid or when the microgrid is not connected to the grid. VSG and PQ share a current loop. Transitioning the reference current generated by the outer loop achieves the switching of control strategies. A real-time observer is designed to estimate and compensate for current fluctuations, disturbances, and variations in id, iq, and system parameters during the switching process to facilitate a smooth transition of control strategies. Furthermore, to enhance the dynamic response and robustness of the system, the Proportional–Integral (PI) controller in the ESO is replaced with a novel super-twisting sliding mode controller based on a boundary layer. The Lyapunov stability principle is applied to ensure asymptotic stability under disturbances. The proposed control strategy is validated through simulation using a seamless switching model of the power conversion system developed on the Matlab/Simulink (R2021b) platform. Simulation results demonstrate that the optimized control strategy enables smooth microgrid transitions, thereby improving the overall reliability of grid operations.
Read full abstract