1. Introduction
Voltage source converters (VSCs) have become integral components in modern power systems, playing a crucial role in facilitating efficient energy conversion and enabling flexible power flow control [
1]. As the demands for renewable energy integration, grid stabilization, and improved grid reliability continue to grow, the accurate modeling and analysis of VSCs have become paramount [
2,
3]. The primary power interface connecting distributed generations (DGs) to micro-grids is the AC-DC converter. The voltage source converter functions in two distinct modes, operating as an active rectifier for direct current (DC) bus control and, as depicted in
Figure 1, acting as an inverter during grid-feeding and grid-forming operations using distinct control loops [
4]. Understanding the basic circuit model of VSCs, along with methodologies for their control and modeling, is essential for engineers and researchers to effectively design, analyze, and optimize VSC-based power electronics applications [
5]. The aim of this paper is to present a comprehensive methodology overview, control strategies, and modeling techniques associated with the basic circuit model of VSCs. This paper delves into the fundamental principles underlying the operation of VSCs, focusing on the key components and their interactions within the circuit. An emphasis is placed on elucidating different methodologies, such as space vector pulse-width modulation (SVPWM), the direct quadrature zero synchronous reference frame, and their integration into VSC circuits.
A fundamental voltage source converter circuit model connected to the LC filter is crucial because it helps in reducing harmonic distortions and improving the overall power quality in the micro-grid. This ensures a stable and clean power supply, which is essential for sensitive loads and the integration of various renewable energy sources. It also plays a key role in converting DC power from renewable sources like solar panels or batteries to AC power, which is required for most loads and for synchronization with the main grid. The LC filter aids in smoothing out the output, making the conversion process more efficient. Understanding the VSC circuit model and its interaction with the LC filter is essential for designing systems that can seamlessly integrate with the main grid or operate in island mode. This ensures that the micro-grid can handle fluctuations in supply and demand without compromising stability. In essence, the significance of introducing the fundamental VSC circuit model connected to the LC filter lies in its ability to address key challenges in energy conversion, stability, integration, and the management of hybrid renewable micro-grid systems.
Furthermore, this paper explores various control strategies employed in VSCs to regulate the voltage, current, and power flow in both grid-connected and standalone applications. Various control techniques using pulse width modulation (PWM) and proportional integral (PI) control are discussed. Moreover, the modeling aspects of the design and control of VSCs are also introduced to develop accurate and dynamic models that capture the transient and steady-state behavior of these devices. To ensure the relevance and applicability of the presented models in real-world scenarios, practical considerations, such as parameter estimation, validation, and implementation challenges, need to be addressed. Case studies and simulations are recommended to be conducted to shown the efficiency and accuracy of the presented methodologies and control strategies in analyzing VSC-based power electronics applications, such as flexible alternating current transmission systems (FACTS), grid-connected renewable energy systems, and high-voltage direct current (HVDC) transmission systems.
The following sections describe the remaining paper parts: In
Section 2, two-level grid-connected VSC modeling with an LC filter is presented. The design of the current control loop in the S-domain is introduced in
Section 3.
Section 4 presents the design of a DC bus voltage control loop in the S-domain. In
Section 5, the design of an AC voltage control loop in the S-domain is provided.
Section 6 gives a brief discussion, and
Section 7 concludes the paper.
2. Two-Level Grid-Connected VSC Modeling with LC Filter
A typical circuit model of a two-level inverter with an LC filter connected to a three-phase load is presented in
Figure 2. The signal applied to terminals
,
,
,
,
, and
regulates the power of the six switches that form the output, denoted as S1 to S6. It is assumed that switches S1 through S6 are complementary [
7]. Typically, a voltage source converter with an LCL filter is regulated by a conventional linear controller augmented by a damping loop to ensure the stability of the system [
8]. Furthermore, both the three-phase AC system and the DC-side voltage source can directly receive power from the VSC. Consequently, there are two different modes of operation for the VSC, either the inverter (DC/AC) or rectifier (AC/DC) modes.
To connect the distributed generation systems to the grid, three-phase pulse-width modulation voltage source converters (PWM-VSCs) are commonly employed because of their superior controllability and higher efficiency compared to the other converters [
9]. To enable DC-side voltage control and power factor at the point of common coupling (PCC), a two-level PWM-VSC topology is used. However, the implementation of the PWM results in baseband and sideband harmonics appearing in the AC voltage harmonic spectrum, necessitating the use of filters to reduce the harmonics of the grid current [
10].
2.1. Space Vector Pulse-Width Modulation (SVPWM) Methodology
Using the triangle comparison strategy simplifies the execution of this procedure. Compared to triangle comparison PWM, it achieves a 15% increase in AC voltage and reduces voltage and current total harmonic distortion (THD). A standard space vector diagram of a two-level voltage source inverter (VSI) with switching states in the six sectors is presented in
Figure 3 [
11].
Table 1 illustrates that a typical three-phase, two-level voltage source inverter has eight switching states, with six active states producing voltage vectors of either +
or −
, and two null states generating voltage vectors with zero amplitude. In
Figure 3, the switch states 000 and 111 represent the null states, while the space vector plane is divided into six equal sectors by the active states. This methodology employs a revolving reference vector, as depicted in
Figure 3, sampled once during each sub-cycle,
[
12]. The main objective is to estimate the vector of the reference voltage
utilizing eight switching models.
Figure 3 illustrates that two of the potential output voltage vectors (
and
) are null or zero vectors, represented by equal values in all three phases (000 or 111). The remaining six vectors (
, …,
) are non-zero and are all spatially separated by 60°.
The null voltage vector time was arbitrary assumed to be divided equally between and for the SVPWM approach, meaning that = .
The following is used to calculate the sampling interval:
or
with
where
is the modulation time;
,
and
are the time intervals; and
is the sampling interval. When examining the first sector, the reference voltage vector
may be presented as function vectors:
Equation (5) can be divided into two parts and expressed as follows:
The sample interval equations are obtained by solving for
using Equation (7), and then substituting the results in Equation (6).
The modulation index,
, is represented as
, and
is the half-period for switching carriers. The following formulas represent the dwell periods for each sector:
Figure 4 shows the SVPWM output switching sequence in the first sector.
The switching periods for the upper and lower switches for each sector are summarized in
Table 2 [
13].
2.2. Direct Quadrature Zero Synchronous Reference Frame Methodology
The Direct Quadrature Zero (DQZ) synchronous reference frame methodology is a control technique widely used in power electronics, particularly in VSIs, to achieve the precise and efficient control of three-phase AC systems [
14]. This methodology is widely applied in grid-connected renewable energy systems (such as wind and solar inverters), adjustable speed drives for motors, active power filters for harmonic mitigation, and other applications requiring the precise control of the AC voltage and the current waveform [
15]. The DQZ synchronous reference frame methodology involves transforming the three-phase AC signals (typically voltages or currents) into a rotating reference frame aligned with the AC frequency of the system. This transformation simplifies the control of the VSIs by decoupling the components of interest (such as active power, reactive power, and harmonic components) from each other.
The three-phase AC signals are transformed from the time domain (
reference frame) to the rotating DQZ reference frame using Clarke and Park transformations [
16]. Park transformation rotates the
αβ components to a stationary DQZ reference frame (
d,
q, 0), where
d and
q components represent the direct and quadrature components of the signals, respectively, and 0 represents the zero sequence component [
17]. Clarke transformation converts three-phase quantities (
) into two-phase quantities (
α,
β), representing the symmetrical components of the AC signals. In the DQZ reference frame, control strategies such as proportional integral (PI) controllers or more advanced algorithms are applied to regulate the
d and
q components of the reference signals. These controllers adjust the switching patterns of the VSI’s semiconductor devices typically insulated gate bipolar transistors (IGBTs) to generate the desired AC output voltage waveform, ensuring the precise control of the voltage magnitude, frequency, and waveform quality [
18].
Figure 5 shows a space phasor with the
αβ0 reference frame.
The revised three-phase current values (
) are shown in
Figure 5 as projections onto the new reference axis (
). When a three-phase, three-wire system is balanced and the zero axis represents the common mode component, the total phase current is nullified. Thus, the variables
α and
β can fully characterize a system defined in the ABC reference frame.
The output variables ABC are described in Equation (13) below:
where
is the amount of time needed to reach steady state and ω is the constant synchronous frequency. Equation (14) expresses the
αβ0 transformation in complex form, while Equation (15) expresses it in matrix form.
The reference axis currents are , and , while the three-phase currents are , and .
Using Park transformation with a −90° shift, the frame rotates around the 0 axis at the same frequency as the sinusoids defining the phasors, while the system is in the
αβ0 frame. As it can be seen in
Figure 6, the component is transformed to Q axis, which is positioned 90° at a quadrature angle to the direct component, and the −
β component is transformed to the
d-axis, which is in line with the rotating vector.
Equations (16) and (17) express the DQ0 transformation in complex and matrix representations, respectively.
Consequently, the rotation generates DC values from the periodic signals. Since the spinning frame trails the a-axis by 90 degrees, at
t = 0, the Q- and A-axes coincide. When
is precisely aligned with the reference angle
,
,
, and
are the DQ0 components. The full transformations from DQ0 to ABC and their corresponding inverses are presented as follow:
3. Design of the Control Loop for the Current in the S-Domain
The current control loop design in the S-domain for a three-phase two-level VSI is a crucial aspect of ensuring the precise and stable operation of the inverter. This design methodology leverages the classical control theory in the S-domain to achieve the effective regulation of the output currents of the inverter. According to Wencong et al., this control loop modifies the output voltage of the inverter to allow the injection of the necessary current in the utility grid [
19]. The three-phase VSI is typically modeled using a set of differential equations that describe the relationship between the input DC voltage, the switching states of the inverter, and the output AC currents. These equations are transformed into the synchronous reference frame (
dq-frame) to decouple the three-phase AC currents into two orthogonal components (
d-axis and
q-axis), simplifying the control design. The system dynamics are represented by transfer functions in the S-domain, which relate the control inputs (reference voltages) to the outputs (actual currents). For a VSI, the transfer function typically includes the LC filter dynamics of the inverter and the influence of the load impedance.
Figure 7 illustrates the schematic representation of a three-phase, two-level VSC with an L filter.
and
represent the resistance and the inductance, respectively, between the converter switches and the PCC.
A reduced equivalent per-phase circuit can be produced by applying the voltage law of Kirchhoff to the circuit shown above, as illustrated in
Figure 8.
The grid voltage,
, is shown in
Figure 8 as a relatively fixed component that may be considered disruptive. As a result, the current,
, can be regulated by altering the output voltage of the inverter
. Consequently, the VSC functions as an energy source that feeds electricity into the grid. The voltage law of Kirchhoff, when applied to the three circuits per phase, yields the following:
The variables
,
, and
represent the three per-phase inverter output voltages;
and
denote the inductance and resistance between the converter switches and the point of common coupling (PCC);
,
, and
stand for the three per-phase grid voltages; and
,
and
represent the three per-phase inverter currents. By consolidating all three equations from (20) into a single equation, we obtain the following:
Equation (15) is used to translate Equation (21) into the reference frame
αβ0, which results in
Using the reference frame
dq0 in (16) and repeating the process for Equation (22), the result is
The
frame can be split into the two components,
d and
q, as was indicated in
Section 2.1.
with
and
, where
is the index of modulation, and
is the SVPWM gain converter.
The
and
dynamics are related because of the
term found in Equations (24) and (25). To decouple the
d and
q subsystems and account for the grid disruption inputs
and
, the index of modulation for each must be stated as follows:
For the
d subsystem, the anticipatory term is
, while for the
q subsystem, it is
. Equation (26) can be substituted into (24), yielding
Equation (27) can be substituted into (25) in the same way to obtain
with
as the output of PI compensator.
The control systems of the current control loops are the same in the
d and
q axes, as seen in (28) and (29). Therefore, the linked compensators can be the same. As a result, only the current control compensator gains in the
d-axis will be determined. When Equation (29) is transformed using the Laplace method, the following results are obtained:
The control plant can therefore be expressed as follows:
The following Equation (32) indicates that the compensator is a PI controller:
Figure 9 illustrates the transfer function of the closed loop in the
d-axis:
Equation (33) gives the following open loop gain:
By replacing the compensator and control plant Equations by their terms, Equation (33), will be:
Once the terms
are equalized by applying the pole cancelation approach, the open-loop gain Equation (34) is reduced from the second to the first order transfer function as follows:
Equation (36) represents the current control gain in the closed loop in the
d-axis:
Equation (35) can be substituted into (36) to obtain the following expression for the closed-look gain:
By replacing
and
, the closed-look gain will become
The resultant closed-loop control constant time is written as
. Therefore, the following formula provides the first-order settling time in the closed-loop system:
4. Design of the Control Loop for the DC Bus Voltage in the S-Domain
For maintaining balanced power flow, the DC bus voltage control technique is essential. Implementing this control is imperative as it enables the voltage source converter to function as a rectifier, converting AC power to DC power and facilitating control of the DC link capacitor voltage to supply an output load. Moreover, for intermittent DC power sources such as PV systems, this control technique assists in adjusting the current control loop reference to regulate the input of DC power effectively [
20]. The circuit from
Figure 7 is shown in
Figure 10, with a bleeding resistor
and extra feedback signals (
and
) added to simplify DC control modeling.
The resistance and inductance between the PCC and the inverter output are
and
. The fact that the active power transfer enables to charge and discharge the DC link capacitor, the circuit shown in the DQ synchronous reference frame configuration can only be modeled for the
d-axis component. As a result, an instantaneous reactive current is not needed, neither the
q-axis component for this procedure, as
Figure 11 shows.
The following equations illustrate the voltage dynamic equation of the DC link capacitor:
Equation (40) can be transformed using the Laplace transform to obtain
The formula for calculating the PI compensator output,
, is
, where
is the feedback term. This allows for the controller to avoid making up a measured value. Considering this, the control system is written as follows:
The relationship between these currents is represented as follows, assuming a converter without losses and the fact that the
can only be directly controlled by the current pulled from the grid:
The active power is given as
The DC bus power is obtained by replacing Equation (44) with (43), which yields the following:
The following Equation describes the relationship between the time constant
of the control loop for the DC bus voltage and the time constant
of the current control loop:
The relationship between these two control loops may be expressed by the following Equation (47) if the condition in Equation (46) is satisfied,
=
, and the two control loops are decoupled.
The inner gain coefficient is obtained from the relationship between
and
and is stated as follows:
Based on the following, it is presumed that the compensator is a PI controller expressed as
The selected method for DC voltage control adopts a cascade approach, including an outer loop for the voltage control of the DC bus and an inner loop for the current control. This tactic guarantees that the time reaction of current controller is faster than that for the controller of the DC voltage in accordance with Equation (46). The DC voltage loop considers the current loop as a constant gain, which permits a gradual shift in the current reference, and hence an error-free response from the current controller. Consequently, the dynamics of the two circuits depicted in
Figure 11 are effectively disconnected.
Figure 12 shows a DC link voltage loop block diagram of a VSC system in a simplified form.
Equation (50) provides the gain in the open loop based on
Figure 12.
Equations (42) and (49) can be substituted into (50) to obtain the following:
With respect to the current control in
d-axis, the closed loop gain is expressed in Equation (52):
Equation (51) substituted into (52) will result in
Seeing that the Equation (53) has a first-order numerator, a pre-filter will be established to eliminate this term, enabling the alignment of (53) with the standard second-order transfer function, which is:
The gain in closed loop of the current control in
d-axis can be obtained by multiplying Equations (53) and (54). The result is as follows:
The gain in closed loop of the current control in
d-axis can be obtained by multiplying Equations (53) and (54). The result is as follows:
Thus, the following is the second closed-loop system settling time:
5. Design of the Control Loop for the AC Voltage in the S-Domain
When a fault or power outage prevents the main grid from supplying power, a VSC system in grid-forming mode creates a grid reference and makes it easier to transfer active or reactive powers during micro-grid operation in isolated mode. This enables the micro-grid to continue operating [
21]. The three-phase VSI is modeled using differential equations that describe the relationship between the input DC voltage, the switching states of the inverter, and the output AC voltages. The dynamics of the VSI system, including the LC filter (which is typically used to smooth the inverter output), as presented in
Figure 13, are represented in the S-domain by transfer functions [
22].
The resistances between the converter and the filter capacitor are presented as
and
. A condensed per-phase equivalent circuit produced by using the voltage law of Kirchhoff is shown in
Figure 14.
The phase currents for each of the three per-phase circuits can be obtained by using the current law of Kirchhoff as follows:
Combining the three equations from (59) results in the following:
Using the ABC-
αβ0 transform on Equation (60), the following result is obtained:
Using Equation (16), the
αβ0-
dq0 transform can be converted to
Consequently, as described in
Section 2.1, the
frame reference may be divided into
d and
q components and cascaded via the current control loops in
d and
q axes, resulting in
The existence of the
terms in Equations (64) and (65) causes the
and
dynamics to be coupled. The feedforward terms
for the
d-axis component and
for the
q-axis component are introduced in order to decouple them and account for the load disturbance inputs
and
. Furthermore, the control units of the
d-axis and
q-axis components are the same, as shown in Equations (64) and (65); thus,
is the PI compensator output. Equation (66) is solved by applying the Laplace transform, which yields the following:
As a result, the following is the control plant:
Furthermore, it is presumed that the control loop time constant of the AC voltage,
, will be five times greater than that of the current control loop,
. If this assumption is met, the two control loops will be decoupled. The circumstance is as follows:
Therefore, the inputs of the current control loops are presented in Equations (70) and (71), and
for the control loop of AC voltage.
Equation (72) gives the PI controller gain.
Since the control plants of Equation (68) for the
d and
q components are the same, the corresponding compensators may also be the same. With reference to
Figure 15, the only information that needs to be collected next is the gains of the voltage control compensators in
d-axis. The following is the open loop gain:
and
can be substituted with their corresponding values to obtain the following result:
The gain of the current control in
d-axis in closed loop can be represented as follows:
When Equation (74) is substituted into (75), this results in
The VSC system AC voltage loop block diagram in a simplified form is shown in
Figure 15.
Given that the first-order numerator of Equation (76) must be cancelled, a pre-filter needs to be developed in order to allow for Equation (76) to correspond to the conventional transfer function of the second order. As stated below, a pre-filter is required.
The following is the result of multiplying Equations (76) and (77):
By resolving the results of the denominator coefficients of Equation (78), the gains of the proportional and integral controllers are solved for
As a result, the control loop time constant of the AC voltage is provided as
To decouple the two control loops, the system settling time for this second order in the closed loop is considered to be five times longer than the existing control loop settling time. In other words,