Abstract:To address the secondary control problem of islanded AC microgrids with virtual synchronous generators (VSGs) subject to unknown external disturbances and dynamic communication topology changes, and to resolve the transient interference between frequency restoration and active power sharing in traditional secondary control, a distributed sliding mode secondary control strategy based on predefined-time observers and auxiliary control laws is proposed. Firstly, a predefined-time active power sharing observer is constructed to accomplish the distributed estimation of consensus parameters during the transient phase, thereby realizing the decoupled control between the proportional active power deficit sharing and the zero-error restoration of system frequency. Secondly, a predefined-time disturbance observer is incorporated to achieve active feedforward compensation for time-varying unknown disturbances, which effectively mitigates the high-frequency chattering phenomenon inherent in sliding mode control. Simultaneously, conservative control parameters adaptable to network topology changes are designed to guarantee the strict convergence of frequency and active power sharing errors within a preset time upper bound. Furthermore, the global predefined-time stability of the closed-loop control system is rigorously proved based on the Lyapunov theory. Finally, multi-scenario Matlab/Simulink simulation results demonstrate that under complex operating conditions—such as sudden load changes, plug-and-play of nodes, and continuous time-varying disturbances—the proposed control strategy achieves fast and stable tracking of frequency and active power within the predefined time, exhibiting superior transient regulation performance and system robustness compared with existing methods.