Electric Power ›› 2025, Vol. 58 ›› Issue (5): 176-188.DOI: 10.11930/j.issn.1004-9649.202411069

• New-Type Power Grid • Previous Articles     Next Articles

Secondary Frequency Control of Islanded Microgrid Based on Deep Reinforcement Learning

WANG Li1,2(), JIANG Yuxiang1(), ZENG Xiangjun1,2,3, ZHAO Bin1,2, LI Junhao4   

  1. 1. School of Electrical and Information Engineering, Changsha University of Science and Technology, Changsha 410114, China
    2. State Key Laboratory of Disaster Prevention & Reduction for Power Grid, Changsha University of Science & Technology, Changsha 410114, China
    3. Hunan Institute of Science and Technology, Yueyang 414006, China
    4. Meishan City Special Equipment Supervision and Inspection Institute, Meishan 620000, China
  • Received:2024-11-20 Online:2025-05-30 Published:2025-05-28
  • Supported by:
    This work is supported by National Natural Science Foundation of China (Research on Dynamic Frequency Autonomous Control in AC-DC Hybrid Standalone Microgrids, No.52107071), Hunan Provincial Natural Science Foundation of China (Study on Frequency Regulation Characteristics and Stability Control of Wind-Solar-Hydro-Storage AC-DC Hybrid Microgrids, No.2023JJ40043) and 2023 Graduate Research Innovation Project of Changsha University of Science and Technology (Smooth switching control of dual-mode grid-connected inverter in new energy power generation system, No.CSLGCX23065).

Abstract:

With the large-scale integration of distributed generation into microgrids, the volatility of renewable energy generation and system random disturbances pose significant threats to the frequency stability and operational control of islanded microgrids. To address this, a secondary frequency control method based on deep reinforcement learning is proposed. The droop control characteristics of islanded microgrids are analyzed, and a secondary frequency controller structure based on deep Q-Networks is presented. The frequency deviation is used as the state input variable, and the design of the state space, action space, reward function, neural network, and hyperparameters in the deep Q-Networks algorithm is carried out. The reward function balances the goals of frequency recovery and power allocation among distributed energy resources , ensuring consistency in action selection among the intelligent agents. An offline learning process is used to train the deep reinforcement learning-based secondary frequency controller. A simulation model of the islanded microgrid is developed in Matlab/Simulink, and multiple disturbance scenarios are tested to validate the controller's performance. The results show that, compared to traditional PID control and Q-Learning-based controllers, the proposed method achieves more stable secondary frequency control and adapts to coordinate the power allocation of distributed generation units according to their capacities, ensuring the stable operation of the system.

Key words: deep reinforcement learning, islanded microgrid, droop control, deep Q-Network, secondary frequency control, power allocation