Abstract
A distributed controller for secondary control problems in microgrids with grid-forming (GFM) inverter-based resources (IBRs) is developed. The controller is based on distributed optimization and is synthesized and implemented distributively enabling each GFM IBR to utilize decentralized measurements and the neighborhood information in the communication network. We present a convergence analysis establishing voltage regulation and reactive power sharing properties. A controller-hardware-in-the-loop experiment is conducted to evaluate the performance of the proposed controller. The experimental results corroborate the efficacy of the proposed distributed controller for secondary control.
Introduction
As power systems transition toward renewable energy, microgrids—localized grids capable of autonomous operation—are becoming essential. These systems rely heavily on Inverter-Based Resources (IBRs) such as solar photovoltaics and battery storage. To ensure stability, these inverters often operate in "grid-forming" (GFM) mode, employing primary droop control to emulate the inertial response of traditional synchronous generators.
However, primary droop control introduces two significant challenges. First, it results in voltage sag, where system voltage deviates from nominal values as loads fluctuate. Second, it often leads to poor reactive power sharing. Due to unequal line impedances between inverters and the point of common coupling, some units may become overstressed while others remain underutilized. Traditional secondary control solutions are often centralized, introducing single points of failure and requiring high communication bandwidth. This research proposes a distributed, "plug-and-play" secondary controller to address these limitations without a central coordinator.
Distributed Optimization Framework
The proposed solution frames secondary control as a distributed optimization problem. Rather than relying on a central authority, each inverter solves a local optimization problem at every time step using the GradConsensus algorithm.
As shown in the architecture above, inverters communicate only with their immediate neighbors, sharing non-linear estimates rather than raw measurements. This approach enhances data privacy and reduces communication overhead. A key feature of this framework is its local synthesis. Because the controller is designed locally, new inverters can join the network dynamically—identifying neighbors and participating in control immediately—without requiring a system-wide reconfiguration. Furthermore, the controller includes adjustable parameters ($a_{Vi}, a_{Qi}, \beta_{Vi}, \beta_{Qi}$) that allow operators to prioritize either tight voltage regulation or equal reactive power sharing based on local needs.
Experimental Validation
The researchers evaluated the controller using a Controller Hardware-in-the-Loop (CHIL) setup. The power network, based on the CIGRE Task Force benchmark for North American low-voltage distribution feeders, was emulated in real-time on an OPAL-RT (OP5700) simulator. The control logic was executed on ten independent Texas Instruments TMS320F28379D microcontrollers, providing a realistic testbed for hardware deployment.
Results and Discussion
The CHIL experiments validated the controller's performance across three distinct operational scenarios:
- Reactive Power Sharing: When prioritized, all ten GFM inverters achieved near-perfect reactive power sharing (approximately 0.375 pu each), even during significant load steps from 750 kVAr to 1125 kVAr.
- Voltage Regulation: The controller successfully restored system voltages to the 1.0 pu reference. As expected, this resulted in unequal power sharing due to the inherent physical differences in line impedances.
- Mixed Objectives: In a hybrid scenario, the system demonstrated its versatility by allowing seven inverters to focus on power sharing while three prioritized voltage regulation for sensitive local loads.
As illustrated in the experimental waveforms, the system maintained frequency stability and reached consensus rapidly after disturbances, proving the robustness of the distributed optimization approach.
Conclusion and Future Work
This work demonstrates that global microgrid objectives can be achieved through purely local optimization and neighbor-to-neighbor communication. The "plug-and-play" nature of the controller makes it ideal for modern, dynamic distribution networks. Future research will focus on the impact of rapidly changing line impedances and the resilience of the communication network against extreme delays or noise. Additionally, further stress-testing of mid-operation additions or removals of GFM units will be conducted to refine the system's dynamic response.
Summary updated