A subscription to JoVE is required to view this content. Sign in or start your free trial.
This article presents a DC microgrid with hierarchical control implemented in a simulator, OPAL RT-Lab. It details the circuit modeling, primary and secondary control strategies, and experimental validation. The results demonstrate effective control performance, highlighting the importance of a robust experimental platform for microgrid research and development.
The rise of renewable energy sources has underscored the significance of microgrids, particularly DC variants, which are well-suited for integrating photovoltaic panels, battery storage systems, and other DC load solutions. This paper presents the development and experimentation of a DC microgrid with hierarchical control implemented in OPAL RT-Lab, a simulator. The microgrid includes distributed energy resources (DERs) interconnected via power converters, a DC bus, and DC loads. The primary control employs a droop control mechanism and double-loop Proportional-Integral (PI) control to regulate voltage and current, ensuring stable operation and proportional power sharing. The secondary control utilizes a consensus-based strategy to coordinate DERs to restore the bus voltage and ensure accurate power sharing, enhancing system reliability and efficiency. The experimental setup detailed in this paper includes circuit modeling, hardware implementation, and control strategies. The hardware platform's circuitry and controller parameters are specified, and the results can be observed through oscilloscope measurements. Two sets of experiments demonstrating the secondary control response with and without delay are conducted to validate the effectiveness of the control strategy. The outcomes confirm the successful implementation of hierarchical control in the microgrid. This study underscores the significance of a comprehensive experimental platform for advancing microgrid technology, providing valuable insights for future research and development.
With the rapid development of renewable energy sources, microgrids have gained significant attention globally1. They enable the integration of distributed energy resources (DERs), such as solar photovoltaics (PV), along with energy storage systems (ESSs), into the grid, thereby supporting the transition to sustainable and renewable energy. As a critical component in the integration of renewable energy, DC microgrids have garnered considerable attention due to their compatibility with the inherent DC nature of PV systems, batteries, and other DERs. The DC operation reduces the need for multiple energy conversions, which can improve overall system efficiency and reliability. Consequently, DC microgrids present a promising avenue for optimizing renewable energy integration2.
It is widely recognized that simulation and experimental studies are crucial for advancing microgrid technology. Simulations allow researchers or engineers to model and analyze various scenarios and control strategies in a virtual environment, which is cost-effective and risk-free. However, real-world experimentation is equally important as it validates these models and theories, revealing practical challenges and dynamic behaviors that simulations might not fully capture3. Despite the insights gained from simulations, practical experiments on microgrids are necessary to address issues that arise from physical implementations. These experiments help in understanding the operational characteristics, control dynamics, and interactions between different components in a real-world setting4. Given their smaller scale and modular nature, microgrids offer a more manageable and scalable solution for conducting these vital experimental studies compared to traditional large-scale power grids, which are too extensive and complex for practical experimentation. Therefore, conducting physical experiments on microgrids is essential for advancing our understanding and capabilities in this field.
In a typical DC microgrid, various DERs are connected to a DC bus through power converters. This setup facilitates the direct exchange of power without the need for multiple DC-DC or AC-DC conversions5. These power converters regulate the voltage and current, ensuring efficient power transfer and stability. The DC bus serves as the central node, distributing power to various loads connected to the system. The transmission lines provide the necessary pathways for power flow between the DERs, converters, and loads, maintaining a stable and reliable power supply within the microgrid. To effectively manage the operation of a DC microgrid, a hierarchical control structure is often employed6. This structure is generally divided into three levels: primary, secondary, and tertiary control, each with distinct functions and responsibilities.
Primary control focuses on the immediate regulation of voltage and current within the DC microgrid, ensuring stability and proper current/power sharing among DERs. The most common primary control is the droop control. Compared to other primary controls, it is communication-free and has a fast response. However, due to its droop characteristic, droop control may cause voltage deviation and is unable to maintain the voltage at the nominal value. At the same time, as the load and the number of DERs increase, the accuracy of current sharing decreases. Therefore, additional secondary control is needed for voltage restoration and current regulation. Secondary control restores system operating points after disturbances and coordinates primary controllers for voltage and current regulation. Tertiary control optimizes the economic and strategic operation of the microgrid, managing energy scheduling and interactions with the main power grid7.
Recent literature highlights significant advancements in the application of hierarchical control for DC microgrids, progressing from simulation studies to hardware-in-the-loop (HIL) setups, and ultimately to real-world physical experiments. Initial research studies often employed simulation tools to develop and test hierarchical control algorithms for DC microgrids. These studies focus on modeling the dynamic behavior of microgrids, optimizing control strategies, and evaluating system performance under various conditions. Simulation environments such as MATLAB/Simulink and PSCAD are commonly used due to their flexibility and comprehensive toolsets for power system analysis8. Moving beyond pure simulations, HIL experiments provide a more realistic testing environment by integrating real-time control hardware with simulated microgrid models. This approach allows researchers to validate control algorithms and assess their performance under near-real conditions. HIL setups bridge the gap between theoretical studies and practical implementations, offering valuable insights into the interaction between control systems and microgrid components9. The ultimate validation of hierarchical control strategies is achieved through physical experiments on actual microgrid setups. These experiments involve deploying control algorithms on real microgrid hardware, including DERs, power electronic converters, and control units. Physical experiments provide the most accurate assessment of system performance, revealing practical challenges and operational issues that may not be apparent in simulations or HIL setups.
To summarize the progression of hierarchical control research in DC microgrids, Table 1 presents an overview of key studies categorized by their experimental approach. From the aforementioned literature, it is evident that while some studies have successfully utilized physical microgrid platforms for experimentation, there is a notable lack of systematic documentation and comprehensive descriptions of these experimental platforms and their usage, particularly in the context of hierarchical control. This gap is significant because detailed information on experimental setups, methodologies, and results is crucial for replicating studies, advancing research, and facilitating the practical implementation of hierarchical control strategies in microgrid technologies. In light of this need, this paper aims to provide a detailed and systematic introduction to the development and utilization of a physical experimental platform for DC microgrids, focusing on hierarchical control, to contribute valuable insights and practical guidelines to the ongoing research in this field.
In summary, the main contributions of this paper are as follows. First, under the framework of hierarchical control strategy, the paper elaborates in detail the necessary control algorithms and implementations for microgrid control, while previous works have mostly treated experiments as validation without further elaboration. Second, in line with the deployment of control algorithms, this paper also provides the hardware setup and topology of the microgrid components, enhancing the reproducibility of microgrid control experiments. Third, by constructing a scalable experimental platform, this paper lays the foundation for future research on microgrids, allowing further exploration of control performance under real-world conditions such as communication delays and load variations, thereby supporting the development of more robust and efficient control strategies.
In this section, we outline the methods used for developing and experimenting with a DC microgrid that incorporates hierarchical control shown in Figure 1, implemented in OPAL RT-Lab (hereafter referred to as "simulator"). The protocol is divided into three main sections: Physical Setup and Circuit Modeling, Control Strategy Implementation, and Simulator Experimental Setup. It is noted that this protocol does not cover the tertiary control strategy, which involves higher-level optimization and interaction with the main power grid, is beyond the scope of our current experimental setup, and is left for future work.
1. Physical setup and circuit modeling
2. Control strategy implementation
3. Real-time simulator experimental setup
NOTE: The specific configuration of the simulator experiment comprises four steps, as illustrated in Figure 8.
Figure 4Β shows the droop control module in the control module constructed within the simulator. The detailed design is based on the following droop mechanism:Β
The droop control mechanism is a fundamental strategy for decentralized primary control in DC microgrids. It emulates the behavior of synchronous generators in AC systems to share loads proportionally among different DERs. The droop...
Figure 10 shows the current and voltage responses of the microgrid system under secondary control without communication delays. Before time t1, the system is regulated solely by droop-based primary control, where it is evident that the voltage cannot stabilize at the nominal value of 48 V, and the current distribution is relatively imprecise. Upon activating the secondary control at time t1, the voltage quickly recovers to around 48 V at t
The authors have no conflicts of interest to disclose.
This work was supported in part by the National Natural Science Foundation of China under Grant 62103308 and Grant 62073247, in part by the Fundamental Research Funds for the Central Universities under Grant 2042023kf0095, in part by the Natural Science Foundation of Hubei Province of China under Grant 2024AFB719 and JCZRQN202500524, in part by the Wuhan University Experiment Technology Project Funding under Grant WHU-2022-SYJS-10, and in part by the Postdoctoral Fellowship Program of CPSF under Grant Number GZC20241269.
Name | Company | Catalog Number | Comments |
Programmable DCΒ power supply | ITECH | IT-M7700 | DC Power Supply |
Real-time simulator | OPAL RT-Lab | OP5707XG-16Β | Real-time controller |
Oscilloscope | Tektronix | MSO58 5-BW-500Β | Oscilloscope |
Electrical components such as cables and resistors |
Request permission to reuse the text or figures of this JoVE article
Request PermissionThis article has been published
Video Coming Soon
Copyright Β© 2025 MyJoVE Corporation. All rights reserved