Power Quality Improvement Strategy Based on Grid-Forming Control and Consensus Algorithm
Abstract
1. Introduction
2. System Architecture and Grid-Forming Control Strategy
2.1. Overview of AC Microgrid Structure
2.2. Grid-Forming Inverter Control Architecture
2.3. Droop Control Strategy
2.4. Voltage–Current Double-Closed-Loop Control
3. Secondary Control Strategy for Distributed Grid-Forming Inverters Based on a Consensus Algorithm
3.1. Graph Theory
3.2. Secondary Control Strategy
3.3. Stability Proof of the Secondary Controller
4. Simulation Analysis
4.1. Effectiveness Validation of Voltage and Frequency
4.2. Effectiveness Validation of the Plug-and-Play Function
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Valinejad, J.; Marzband, M.; Korkali, M.; Xu, Y.; Al-Sumaiti, A.S. Coalition Formation of Microgrids with Distributed Energy Resources and Energy Storage in Energy Market. J. Mod. Power Syst. Clean. Energy 2020, 8, 906–918. [Google Scholar] [CrossRef]
- Deng, F.; Yao, W.; Zhang, X.; Tang, Y.; Mattavelli, P. Review of Impedance-Reshaping-Based Power Sharing Strategies in Islanded AC Microgrids. IEEE Trans. Smart Grid 2023, 14, 1692–1707. [Google Scholar] [CrossRef]
- Panda, S.K.; Subudhi, B. A Review on Robust and Adaptive Control Schemes for Microgrid. J. Mod. Power Syst. Clean. Energy 2023, 11, 1027–1040. [Google Scholar] [CrossRef]
- Bevrani, H. An Updated Microgrid Hierarchical Control Scheme. In Proceedings of the 2023 10th International Conference on Power and Energy Systems Engineering, Nagoya, Japan, 8–10 September 2023. [Google Scholar] [CrossRef]
- Wan, Y.; Wen, G.; Yu, X.; Kurths, J. Distributed Event-Based Resilient Secondary Control for AC Microgrids: A Trust-Reputation Approach. IEEE Trans. Smart Grid 2024, 15, 2116–2128. [Google Scholar] [CrossRef]
- Cárdenas, P.A.; Martínez, M.; Molina, M.G.; Mercado, P.E. Development of Control Techniques for AC Microgrids: A Critical Assessment. Sustainability 2023, 15, 15195. [Google Scholar] [CrossRef]
- Li, Y.; Gu, Y.; Green, T.C. Revisiting Grid-forming and Grid-Following Inverters: A Duality Theory. IEEE Trans. Power Syst. 2022, 37, 4541–4554. [Google Scholar] [CrossRef]
- Poolla, B.K.; Groß, D.; Dörfler, F. Placement and Implementation of Grid-forming and Grid-Following Virtual Inertia and Fast Frequency Response. IEEE Trans. Power Syst. 2019, 34, 3035–3046. [Google Scholar] [CrossRef]
- Wu, C.; Wang, J.H.; Wang, Y.; Zhan, C. Deduction of a Unified Control Framework for Grid-forming Converters Considering Power Constraint and Current Protection. Proc. CSEE 2025, 45, 9376–9391. [Google Scholar] [CrossRef]
- Qin, X.H.; Fan, C.H.; Qi, L.; Ding, B.; Liu, H.; Yang, S.; Meng, Z.J. Analysis of the Essence of Grid-forming Droop Control and the Impact of Virtual Impedance on Its Source End Characteristic. Proc. CSEE 2025, 45, 5930–5941. [Google Scholar] [CrossRef]
- Du, Y.; Lu, X.; Chen, B.; Lin, F. Resiliency Augmented Hybrid AC and DC Distribution Systems with Inverter-Dominated Dynamic Microgrids. IEEE Trans. Smart Grid 2022, 13, 4088–4101. [Google Scholar] [CrossRef]
- Rashwan, A.; Mikhaylov, A.; Senjyu, T.; Eslami, M.; Hemeida, A.M.; Osheba, D.S.M. Modified Droop Control for Microgrid Power-Sharing Stability Improvement. Sustainability 2023, 15, 11220. [Google Scholar] [CrossRef]
- Zhu, Y.; Wang, F.; Lin, Z.; Fleming, J.; Shi, T.; Guo, H.; Xu, H. Impedance Shaping Method for System-Level Stabilization of Droop-Controlled DC Microgrids. IEEE Trans. Energy Convers. 2025, 40, 409–421. [Google Scholar] [CrossRef]
- Wang, Y.; Shi, J.; Ma, N.; Liu, G.; Xin, L.; Liu, Z.; Liu, D.; Xu, Z.; Chen, C. An Improved Secondary Control Strategy for Dynamic Boundary Microgrids toward Resilient Distribution Systems. Energies 2024, 17, 1731. [Google Scholar] [CrossRef]
- Jabr, R.A. Economic operation of droop-controlled AC microgrids. IEEE Trans. Power Syst. 2022, 37, 3119–3128. [Google Scholar] [CrossRef]
- Petrík, T.; Gravalos, I.; Uhlíř, I.; Libra, M.; Poulek, V. Parametric Damping of Microgrid Frequency Fluctuations at Synchronous Machines with Using Lyapunov Theory for Exciter Regulation. Int. J. Energy Res. 2023, 2023, 5569059. [Google Scholar] [CrossRef]
- Yang, T.; Sun, S.; Liu, G.P. Distributed Discrete-Time Secondary Cooperative Control for AC Microgrids with Communication Delays. IEEE Trans. Ind. Electron. 2023, 70, 5949–5959. [Google Scholar] [CrossRef]
- Chantola, A.; Sharma, V.; Singh, D. Centralized Secondary Control Strategy on Droop Controlled Inverter-Based Microgrid. In Proceedings of the 2023 Second IEEE International Conference on Measurement, Instrumentation, Control and Automation (ICMICA), Kurukshetra, India, 3–5 May 2024. [Google Scholar] [CrossRef]
- Heins, T.; Joševski, M.; Gurumurthy, S.K.; Monti, A. Centralized Model Predictive Control for Transient Frequency Control in Islanded Inverter-Based Microgrids. IEEE Trans. Power Syst. 2023, 38, 2641–2652. [Google Scholar] [CrossRef]
- Aluko, A.; Buraimoh, E.; Oni, O.E.; Davidson, I.E. Advanced Distributed Cooperative Secondary Control of Islanded DC Microgrids. Energies 2022, 15, 3988. [Google Scholar] [CrossRef]
- Nguyen, T.L.; Nguyen, H.T.; Wang, Y.; Mohammed, O.A.; Anagnostou, E. Distributed Secondary Control in Microgrids Using Synchronous Condenser for Voltage and Frequency Support. Energies 2022, 15, 2968. [Google Scholar] [CrossRef]
- Zhu, C.Z.; Yuan, M.T.; Bo, Y.L.; Xia, Y.H.; Liu, K.J.; Wei, W. Distributed Secondary Frequency Regulation Strategy for Virtual Power Plant Based on Improved Exact Diffusion Algorithm. Autom. Electr. Power Syst. 2025, 49, 149–160. [Google Scholar]
- Sarathkumar, D.; Maheswari, P.; Manivel, M.; Jayakumar, T.; Sivakumar, R.; Parrthipan, B.K. Decentralized and Distributed Control Strategies for Microgrids: A Review of Key Techniques and Applications. In Proceedings of the 2025 IEEE International Students’ Conference on Electrical, Electronics and Computer Science (SCEECS), Bhopal, India, 18–19 January 2025. [Google Scholar] [CrossRef]
- Yu, L.; Shi, D.; Xu, G.; Guo, X.; Jiang, Z.; Jing, C. Consensus Control of Distributed Energy Resources in a Multi-Bus Microgrid for Reactive Power Sharing and Voltage Control. Energies 2018, 11, 2710. [Google Scholar] [CrossRef]
- Shafiee, Q.; Guerrero, J.M.; Vasquez, J.C. Distributed Secondary Control for Islanded Microgrids—A Novel Approach. IEEE Trans. Power Electron. 2014, 29, 1018–1031. [Google Scholar] [CrossRef]
- Lasabi, O.; Swanson, A.; Jarvis, L.; Aluko, A. Dynamic Distributed Collaborative Control for Equitable Current Distribution and Voltage Recovery in DC Microgrids. Energies 2023, 16, 6657. [Google Scholar] [CrossRef]
- Bidram, A.; Davoudi, A.; Lewis, F.L.; Qu, Z. Secondary control of microgrids based on distributed cooperative control of multi-agent systems. IET Gener. Transm. Distrib. 2013, 7, 822–831. [Google Scholar] [CrossRef]
- Cai, X.; Nan, X.; Gao, B.; Yuan, J. Distributed Event-Triggered Secondary Control of Microgrids with Quantization Communication. IEEE Trans. Power Syst. 2023, 38, 4572–4581. [Google Scholar] [CrossRef]
- Rosso, R.; Wang, X.; Liserre, M.; Lu, X.; Engelken, S. Grid-Forming Converters: Control Approaches, Grid-Synchronization, and Future Trends—A Review. IEEE Open J. Ind. Appl. 2021, 2, 93–109. [Google Scholar] [CrossRef]
- Liu, J.; Miura, Y.; Ise, T. Comparison of Dynamic Characteristics Between Virtual Synchronous Generator and Droop Control in Inverter-Based Distributed Generators. IEEE Trans. Power Electron. 2016, 31, 3600–3611. [Google Scholar] [CrossRef]
- Guerrero, J.M.; Vasquez, J.C.; Matas, J.; de Vicuna, L.G.; Castilla, M. Hierarchical Control of Droop-Controlled AC and DC Microgrids—A General Approach Toward Standardization. IEEE Trans. Ind. Electron. 2011, 58, 158–172. [Google Scholar] [CrossRef]
- Cao, X.; Dong, K.; Wei, X. An Improved Control Method Based on Source Current Sampled for Shunt Active Power Filters. Energies 2020, 13, 1405. [Google Scholar] [CrossRef]
- Cao, Y.; Gao, Y.; Zhang, G.; Wang, J.; Fu, C.; Niu, S. Secondary Frequency and Voltage Regulation of dVOC-Based Microgrids Based on Distributed Model Predictive Control. Energies 2026, 19, 1834. [Google Scholar] [CrossRef]
- Olfati-Saber, R.; Fax, J.A.; Murray, R.M. Consensus and Cooperation in Networked Multi-Agent Systems. Proc. IEEE 2007, 95, 215–233. [Google Scholar] [CrossRef]
- Olfati-Saber, R.; Murray, R.M. Consensus Problems in Networks of Agents with Switching Topology and Time-Delays. IEEE Trans. Autom. Control 2004, 49, 1520–1533. [Google Scholar] [CrossRef]














| Parameter | Value |
|---|---|
| DC-link Voltage | 700 V |
| Switching Frequency | 10 kHz |
| Rated Voltage | 310 V |
| Rated Frequency | 50 Hz |
| Line Resistance Rg | 5 × 10−3 Ω |
| Line Reactance Lg | 1.5 × 10−4 H |
| Filter Inductance Lf | 3 × 10−3 H |
| Filter Capacitance Cf | 2 × 10−5 F |
| Rated Energy Storage Capacity | 12 kW |
| Switching Load | 8 kW |
| Local Load | 2.8 kW |
| Common Load | 5.8 kW |
| Active Power Droop Coefficient Kp | 3.14 × 10−4 Hz/kW |
| Reactive Power Droop Coefficient Kq | 6.22 × 10−4 V/kVar |
| Feedforward Gain / | 10/100 |
| Outer Voltage Loop PI Controller parameters | 50/100 s−1 |
| Inner Current Loop PI Controller parameters | 0.5/10 s−1 |
| Secondary Frequency PI Controller / | 0.1/0.1 s−1 |
| Secondary Voltage PI Controller / | 0.5/5 s−1 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Zhang, S.; Zhang, M.; Yao, H.; Fan, R. Power Quality Improvement Strategy Based on Grid-Forming Control and Consensus Algorithm. Energies 2026, 19, 2890. https://doi.org/10.3390/en19122890
Zhang S, Zhang M, Yao H, Fan R. Power Quality Improvement Strategy Based on Grid-Forming Control and Consensus Algorithm. Energies. 2026; 19(12):2890. https://doi.org/10.3390/en19122890
Chicago/Turabian StyleZhang, Shifeng, Min Zhang, Hongmin Yao, and Rui Fan. 2026. "Power Quality Improvement Strategy Based on Grid-Forming Control and Consensus Algorithm" Energies 19, no. 12: 2890. https://doi.org/10.3390/en19122890
APA StyleZhang, S., Zhang, M., Yao, H., & Fan, R. (2026). Power Quality Improvement Strategy Based on Grid-Forming Control and Consensus Algorithm. Energies, 19(12), 2890. https://doi.org/10.3390/en19122890

