1. Introduction
In recent decades, by integrating renewable energy resources and energy storage devices into the electric power grid, microgrids, or other electrical energy systems, power electronics have played and continue to play an increasingly crucial role to convert electrical power and control energy flow in electric energy supply [
1]. In this regard, grid-tied inverters are key components. These inverters can be roughly divided into two categories: grid-following inverters (GFLIs) and grid-forming inverters (GFMIs) [
1,
2].
A GFLI can be considered as a controlled current source in the presence of a parallel high impedance that can control the injected current as well as supply power to the grid or regulate the output voltage.
Conversely, a GFMI can be considered a controlled voltage source in series with a low impedance. GFMIs control the output power by directly controlling their output voltage and are thus able to provide a reference voltage for GFLI and other equipment in the grid such as electrical loads [
3]. The main differences between GFMIs and GFLIs are their response to grid disturbances and synchronization processes.
Based on their voltage-sourced structure, GFMIs possess self-synchronization capability and are able to respond very fast to grid disturbances and are thus suitable for application in stand-alone or non-stiff power systems [
4]. The main functionalities that GFMIs are expected to possess in power systems are those usually associated with synchronous generators [
5]. The inverters must finely control the voltage and frequency to ensure that the grid remains stable under various operating conditions and withstands perturbations in order to render the conversion process efficient, minimize energy losses, and reduce operating costs [
6].
In stand-alone operation, where the inverter supplies the grid without being connected to the main grid, the quality of and reliance on control becomes even more important. Poor control quality can lead to voltage and frequency fluctuations that may lead to network instability and potential equipment damage [
7,
8,
9]. There are several well-known methods to control GFMIs: droop-based methods, virtual synchronous machine approaches, virtual oscillator control, direct power control, and matching control [
3,
10,
11].
Droop-based GFMI control methods mimic traditional synchronous generators by adjusting the inverter’s output voltage and frequency based on active and reactive power imbalances. This approach is straightforward, cost-effective, and reliable for various applications. However, it exhibits limited precision, lacks inherent inertia and damping, and may require additional controls for stability during major disturbances [
12].
The virtual synchronous machine (VSM) method is an advanced control strategy for GFMIs that aims to mimic the behavior of traditional synchronous generators connected to the electrical grid [
13,
14]. It emulates inertia, damping, and control characteristics to enhance grid stability and provide grid support functions. However, implementing VSM is complex, requires precise algorithms and models, potentially increases costs, and may necessitate energy efficiency trade-offs.
Virtual oscillator control (VOC) is an advanced control method used in grid-forming inverters, primarily in islanded or microgrid settings [
15,
16,
17,
18,
19,
20]. It emulates physical oscillators such as synchronous generators to regulate voltage and frequency, thereby enhancing grid stability. VOC employs decentralized control with each inverter acting as an independent oscillator. This decentralized approach simplifies coordination in multi-inverter microgrid systems, ensuring that each inverter’s output frequency aligns with a common reference frequency. It emulates the inertia and damping of physical generators, combating voltage and frequency deviations during disturbances. VOC facilitates seamless synchronization among multiple inverters, which is critical for microgrid stability and smooth transitions between grid-connected and islanded modes. Its decentralized nature simplifies system architecture and enhances grid resilience during autonomous operation in islanded microgrids. However, implementing VOC is complex, requiring advanced control algorithms, parameter tuning, and accurate modeling. It may not be ideal for grid-tied applications or situations requiring precise grid synchronization. Achieving the desired oscillator emulation may involve additional hardware components and sensors, thereby increasing costs. There can also be energy efficiency trade-offs compared to simpler control methods.
Direct power control (DPC) is a control strategy used in inverters and converters to directly regulate both active power (real power) and reactive power output without relying on separate voltage and current control loops [
21]. It calculates and controls power output based on reference values and feedback measurements, offering fast and precise power control. DPC responds rapidly to changes in power demand and grid conditions, making it suitable for applications requiring quick power adjustments, including renewable energy integration, grid support, and motor drives. It provides accurate power tracking and grid support functions, optimizes inverter operation, and improves energy efficiency. However, implementing DPC is complex, demanding advanced control algorithms and intricate mathematical calculations. Real-time computation can be computationally demanding, necessitating sophisticated processing hardware. DPC performance may also be sensitive to parameter variations and modeling inaccuracies, requiring precise tuning and accurate system models.
The main idea behind matching control is to exploit the analogies between synchronous machines and converters, namely, the DC bus voltage characteristic in a power branch, to mirror power imbalances. Matching control is reliable on DC measurements and thus bypasses communication delays attributed to other grid-forming control methods. Furthermore, a crucial aspect is considered that in other control methods is usually neglected: the stability of the DC bus voltage [
22,
23,
24,
25].
After selecting a control method, synthesis of the controller is a fundamental step in grid-forming inverter design, which influences system stability, efficiency, reliability, and adaptability. Well-designed controllers ensure the optimal performance of these inverters and their successful operation. One of the key steps in this regard is tuning of the controller [
26,
27]. In addition, experimental verification is crucial for fine-tuning and optimizing the design so as to ensure optimal performance and high efficiency. While simulation and modeling are valuable tools in power electronics design, experimental investigation and verification are essential to ensure performance of the design as expected in real-world applications.
In this paper, control synthesis, parameter tuning, and laboratory verification of a 7 kW grid-forming inverter are studied. The main contributions are:
- (1)
a detailed controller synthesis for a matching-controlled grid-forming inverter is studied and the challenges and requirements to embed the controller in a stand-alone laboratory environment are presented,
- (2)
implementation of said controller in a laboratory environment comprising DC sources, power electronics for the DC bus control and grid-forming stage, and AC loads in stand-alone operation, and
- (3)
experimental controller validation comprising blackstart capability, stationary performance, and transient stability accompanied by a systematic sensitivity analysis aiming to enhance the system’s performance.
In other words, the main contribution of the present paper is a practical implementation and sensitivity-based fine-tuning of a matching-controlled grid-forming inverter for microgrid applications.
4. Conclusions and Outlook
There are various methods to control grid-forming inverters. Regardless of the type and method of control, these controllers usually are designed in software environments and their parameters are calculated by simulation. However, caused by the unavoidable presence of non-ideal behavior in physical hardware systems mainly due to parasitic elements, the control system that worked fine in a simulation environment may reveal flaws in its performance after uploading the control software onto the inverter hardware. Hence, fine-tuning of the controller parameters increases the control system performance. Providing the means to do so via matching control in a systematic and highly reproducible manner by employing a sensitivity analysis is the core contribution of the present work.
Firstly, a detailed controller synthesis comprising the DC bus voltage control, matching grid-forming control, and necessary state machine was presented. Secondly, a detailed plant description including necessary measurements and a validation procedure is introduced, aiming to assess and improve the investigated system in stand-alone operation. Finally, the experiments based on a sensitivity analysis were conducted, which yielded the following results:
The study shows that the tuned system can successfully perform a blackstart in various initial loading conditions. Notably, the inverter exhibits consistent and reliable performance across these test scenarios. In the steady state operation, the inverter maintained a total harmonic distortion (THD) of less than 0.5% over most of its loading range. In transient performance tests, which assessed the overshoot and settling time and oscillatory behavior, the inverter demonstrated satisfactory stability, indicating its capability to respond effectively to step load changes. These results underscore the viability and effectiveness of the studied grid-forming inverter in the integration of renewable energy resources in stand-alone power systems and microgrids. The proposed method is deemed superior to the currently employed trial-and-error approach and is thus suggested to be used instead.
Future work will focus on the interaction of the presented laboratory setup with grid-following and supporting inverters. In addition, it will be of great interest to substitute the currently used DC sources with laboratory-scale fuel cells.