1. Introduction
Grid-connected and grid-forming inverters play essential roles in the utilization of renewable energy. Photovoltaic panels, fuel cells, and battery energy storage systems produce direct current. In order to distribute the energy from such sources through a utility grid, a grid-connected inverter is required. Grid-forming inverters, on the other hand, are required for utilizing the energy in inverter-based microgrids. In all these systems, the operation of the inverters is strongly dependent on the applied DC source. The source and its dynamics may greatly vary thus affecting the inverter input dynamics, and consequently, the produced power quality in the AC side.
Recent studies have presented several methods to analyze the stability of grid-connected power-electronics systems. In [
1], a grid-connected converter is modeled by a modular state-space model, and a transformation matrix from the synchronous reference frame to the stationary reference frame is presented. Many studies have applied impedance-based stability criterion; the converter output impedance is measured or modeled and then compared to the grid impedance at the point of common coupling. In [
2], the stability of an output-voltage-controlled inverter and an active rectifier is addressed by applying the generalized Nyquist stability criterion (GNC) on the return-ratio matrix of the impedances. The GNC has been used on stability analysis of grid-connected inverters and the focus has been on different topics, such as effect of the DC-link control dynamics [
3], the active damping [
4], and a virtual synchronous machine implementation in the converter control system [
5].
Recently, more attention has been paid to analyzing the dynamics at the DC-interface. In [
6], the input impedance of a three-phase VSI was studied in different control modes, such as droop control and DC voltage control. The effect of the DC link and front-end converter on the dynamic modes of grid-connected PV energy system was modeled in [
7]. The stability of the interconnected three-phase-balanced-voltage PWM rectifier and LLC resonant converter was investigated in [
8] by modeling the converter terminal DC impedances at the point of common coupling. In [
9], the interactions between a boost converter and a VSI in grid-connected and islanded mode was studied, and it was found out that a good damping is achieved on the DC side when the DC voltage is controlled by the VSI. Past studies have also presented DC-impedance models of dq-domain-controlled three-phase grid-feeding PV inverters [
4] and grid-forming inverters [
10]. However, there are still many issues to be addressed regarding the DC dynamics of three-phase microgrid inverters, such as the harmonic spectrum filtration for current-sensor measurements [
11]. One of the issues is related to the inverter input-voltage feedforward.
In the input-voltage feedforward, the measured and normalized input voltage divides the converter duty ratio in order to prevent disturbances from the input voltage affecting the output. However, at the same time, the DC input admittance of the inverter is affected. Due to the changes in the converter dynamics, modeling of the feedforward is essential.
In the case of DC-DC converters, the topic has been addressed thoroughly. In [
12,
13], the input-voltage-feedforward-controlled buck converter was compared systemically with the voltage-mode control and the peak-current-mode control. The feedforward was shown to significantly reduce the input-to-output dynamics gain compared to the voltage-mode-control. It was shown that with the feedforward control the input admittance corresponds to the ideal input admittance that is, in the case of a buck converter, close to the negative ratio of the steady state input current and input voltage. In [
14], a dynamic ramp was used to implement the input-voltage feedforward control. However, the analyzed DC-DC converters [
12,
13,
14] were controlled with analog electronics. Therefore, the delay that is in digital control systems was not considered.
The utilization of input-voltage feedforward with three-phase converters has been presented in some papers. In [
15,
16], the input-voltage feedforward was drawn in the control diagram; however, it was not further analyzed. It was stated in [
17,
18,
19] that the input-voltage feedforward decouples the AC dynamics from the DC dynamics, and therefore, the DC dynamics were not included in the modeling. In [
20], the division by the input voltage was included in a state space model. However, the delay associated with the control system was not discussed.
This paper presents a dynamic analysis of the input-voltage feedforward in grid-forming inverters. In the analysis, the feedforward is linearized to a fixed operating point. The input admittance is modeled by the ideal input admittance model that is a special parameter known from the analysis of DC/DC converters. Applying the analysis, the effect of the feedforward can be included in the transfer matrices, thus making it possible to predict the impedance-based stability more accurately and to model the effect of the DC voltage deviations on the AC side. Furthermore, low-pass filtering the feedforward signal control is investigated to examine if there is a simple way to improve the input-to-output dynamics.
The remainder of this paper is structured as follows.
Section 2 examines the dynamic model of the grid-forming inverter with the traditional current and voltage feedbacks.
Section 3 derives the model of the feedforward and analyses the input-to-output dynamics. The input-voltage-feedforward-affected input admittance is introduced in
Section 4.
Section 5 examines a low-pass filter implementation in the feedforward. In
Section 6, experimental measurements are used to verify the proposed models.
Section 7 shows how the proposed ideal-input-admittance model can be linked to existing models. Conclusions are drawn in
Section 8.
2. System Dynamic Model
In this section, the dynamic model for the grid-forming inverter is investigated. The open-loop model and the traditional cascaded current and voltage control loops are considered.
Figure 1 shows a simplified block diagram of a grid-forming inverter. The traditional cascaded inductor current and output voltage feedback are implemented on the AC side. In the unterminated model, the load is an ideal current sink and the power is fed from a DC voltage source. The deviations in the DC voltage are compensated by dividing the inverter control signal with the normalized DC voltage. The DC voltage is normalized because in the nominal condition without the feedforward the current controllers output,
, equals the duty ratio
. Bold notation denotes a vector that consists of direct and quadrature components. If the vector notation is not used, subscripts “d” and “q” are used to denote the direct and quadrature components, respectively. This normalization would not be required if the dynamics were modeled with a PWM reference voltage instead of the duty ratio.
The open-loop transfer-function presentation from the system inputs to the system outputs can be given as [
10]:
where
,
, and
denote the input admittance, the input-to-inductor current transfer matrix, and the input-to-output transfer matrix, respectively.
,
, and
stand for the output-to-input transfer matrix, the output-to-inductor current transfer matrix, and the output impedance matrix, respectively. The control-related transfer matrices
,
and
denote the control-to-input current, the control-to-inductor current, and the control-to-output voltage transfer matrices, respectively. The open-loop transfer-function matrices are used in
Figure 2a with the addition of the current controller
and the voltage controller
transfer matrices to form the closed-loop system. The system parameters and operating point values are given in
Table 1 where the synchronous-reference-frame-steady-state values are defined as peak values. The abbreviation ESR stands for the equivalent series resistance. The input-voltage feedforward is modeled by
.
The division by the input-voltage feeforward is highlighted in orange in
Figure 2a.
Figure 2b shows the input and the output dynamics of the system with additional elements
R and
that will be used to analyze the effect of a low-pass filter in
Section 5. In
Section 2 and
Section 3,
is made open, and therefore,
equals
. The dynamic presentation for the input-voltage feedforward is derived by two methods in the next section.
5. Bandwidth Considerations
As it can be seen from the frequency responses in
Figure 3a,b, and
Figure 4, the feedforward does not minimize the gain of the input-to-output dynamics at all frequencies due to the delay. Instead, the gain is increased at frequencies higher than
.
A high frequency stability problem between a HVDC Converter and AC grid due to the AC output-voltage feedforward was reported in [
26]. The problem was solved by implementing a low-pass filter in the feedforward. Consequently, implementing a low-pass filter in the input-voltage feedforward to reduce the high frequency gain is analyzed. The negative effect of the feedback is studied by inspecting the ratio of the input-to-output dynamics with and without the feedforward.
The extra-element method given in [
25,
27] is a technique to facilitate modeling of systems consisting of linear transfer functions, and the theorem has been used, for example, in tuning an active filter in a wind-power-plant system [
28]. In the present paper, the extra element theorem can be used to give a formulation for the system in
Figure 2b where adding the extra element
implements a low-pass-filtered input-voltage feedforward:
where
is the transfer function from the input voltage to the output voltage when the the extra element,
, is made a short.
is the analyzed transfer function with the influence of
. The single-injection driving point impedance,
, is the impedance seen from the extra element when the input voltage is replaced by a short. The null-double injection impedance,
, is the impedance seen from the extra element when the input voltage nulls the effect of the measurement from the extra element on the output voltage.
The low-pass filter is modeled by impedances
R and
.
R is a resistor.
is the reactance of a capacitor
where
is the angular frequency and
C the extra-element capacitor capacitance. When
is short-circuited,
equals
and there is no low-pass filter as
Figure 2b shows. By changing the capacitor values, the cut-off frequency of the RC-low-pass filter can be changed. The impedances are only used as a tool to model the cut-off frequency of a digital low-pass filter, and therefore,
R is set to 1
.
The ratio describing how the extra element affects the system dynamics can be given as follows:
can be solved as a function of desired
K by manipulating (
35) to the second-order equation form that is easy to solve:
The equation has two solutions,
and
. The required cut-off frequency,
, for the low-pass filter is given by
Figure 6a shows the solutions to (
36) as bode plots. Only real-solutions, where the phase is 0°, can be implemented. In
Figure 6a,
is zero below 3360 Hz which implies that design criterion is met only when the feedforward is not used. Between 1111 Hz and 3360 Hz, the phase of solution
is −180° which means that the low-pass filter should have a right-half-plane pole that obviously cannot be implemented. This result implies that a first-order low-pass filter cannot be used to mitigate the detrimental effect from the delay in the frequency range between 1111 Hz and 3360 Hz. However, solution
can be implemented on frequencies below 1111 Hz.
A low-pass filter is implemented so that the magnitude with and without the feedforward is the same at 250 Hz. The required cut-off frequency is calculated at 250 Hz from
shown in
Figure 6a. The required cut-off frequency is 123.5 Hz.
Figure 6b shows
and the low-pass-filtered input-voltage-feedforward affected input-to-output dynamics d component,
. As it can be seen, the transfer functions have the same gain at 250 Hz. However, this may not be advantageous because the effect of the feedforward is highly reduced at the low frequencies.
More benefits could be achieved from the input admittance point of view. In order to analyze the effect of the low-pass filter on the input admittance, the elements
and
are redefined:
As an example we can assume that the input admittance should be only 3 dB higher with the feedforward than without the feedforward at 200 Hz. The solution can be seen in
Figure 7a, which shows that
is realizable at 200 Hz and it corresponds to a low-pass filter with a cut-off frequency of 37.4 Hz. The upper gain figure in
Figure 7b shows the comparison of the models of the input admittance
, the input admittance with the feedforward
, and the input admittance with the low-pass-filtered feedforward
in the open loop. The gain difference at 200 Hz is exactly 3 dB. However, the lower figure in
Figure 7b shows that the difference is 2 dB, which is due to the current and the voltage controllers.
The benefit from the low-pass filter in the closed-loop input admittance is clearly visible. However, as it is shown in
Figure 6b, the feedforward effect on the input-to-output dynamics is highly reduced by a low-pass filter. In the next section, it will be shown that the DC link capacitor can increase the input admittance significantly, and the feedforward effect on the input admittance could become negligible.
6. Experimental Verification
Figure 8 shows the setup of the system under study. The grid-forming inverter whose input-related dynamics are inspected is loaded by an active rectifier. The current
is controlled to make the load converter behave as a current sink. On the DC side, the voltage over a resistive load,
, is controlled. However, during the frequency-response measurements at low frequencies, the DC-voltage controller was not used. The switching frequency used in the load converter is 20 kHz. The control system of the load converter was implemented by dSpace and the grid-forming inverter was controlled by a Imperix Boombox. The parameters of the grid-forming inverter are given in
Table 2. The voltage controller has the same PI-controller as in the analysis given in
Section 2,
Section 3,
Section 4 and
Section 5. However, an additional low-pass filter is implemented at 500 Hz; therefore, the voltage controller is given by
In the experiments, the load converter is not an ideal current sink. Hence, there is an impedance-based interaction, and the load effect from the active rectifier must be considered [
10,
24]:
where
is the AC input-admittance of the active rectifier, and the active rectifier is modeled by similar principles that have been used to model grid-connected PV inverters [
4]. The superscript “L” is used to denote load-affected dynamics (the superscript is omitted in
Figure 9 for simplicity).
Figure 9a,b show the measured frequency responses related to the closed-loop input-to-output dynamics and input admittance, respectively. The load-affected model clearly models well the input-to-output dynamics and the input admittance. The effect of the input-voltage feedforward is clearly visible in the closed-loop input-to-output dynamics d component,
. The low-pass filter has only a minor effect on the high-frequency magnitude in
. Therefore, the low-pass filter is not a good solution to reduce the detrimental effect in high frequencies. If the DC-capacitance, that is commonly used in the DC link, is included with the input admittance, the gain increases significantly at low frequencies so that the input-voltage feedforward makes no significant difference with the used DC capacitor size.
7. Analysis of the Proposed Model
This section compares the proposed ideal input admittance to existing ideal input admittance elements. It is shown that the existing model can be extracted from the proposed model.
Recently, a transfer-matrix representation for an ideal input admittance has been given [
24] as:
The model in [
24] is used as a tool to analyze the source-affected control-to-output dynamics of a three-phase grid-forming inverter in the DQ domain. In the present paper, the proposed ideal input admittance (
19) is a scalar function that can be measured from a real system when the input-voltage feedforward is used. The presentation in (
19) can be used to form the elements in
in [
24]. The key to solving the elements is to choose corresponding elements from the transfer matrices in (
19) before any mathematical operations including the inverse of
:
where
m and
n are the elements of the matrices and vectors.
The expression in (
44) links the proposed model to the existing application [
24] of the extra element theorem in the dynamic analysis of three-phase converters. The findings of this study indicate that for a three-phase inverter
can be defined in addition to (
43) [
24].
8. Conclusions
The input-voltage feedforward control is widely used in power-electronic converters to prevent deviations in the DC input voltage appearing in the converter output. However, the feedforward implementation in three-phase converters has not been modeled in detail. This paper has proposed a dynamic of a three-phase grid-forming inverter utilizing the input-voltage feedforward.
The model accurately represents the feedforward-affected input admittance and the input-voltage-to-output-voltage dynamics. The gain in the input-voltage-to-output-voltage dynamics is significantly reduced by the feedforward. However, our study shows in detail that the feedforward does not provide an ideal decoupling from the input-voltage deviations due to the delay. The delay causes a detrimental effect at high frequencies, and the study shows that a minor improvement can be achieved by low-pass filtering the feedforward control signal.
The input admittance is affected detrimentally by the feedforward. This paper has demonstrated that the unterminated input admittance can be approximated well by the ideal input admittance which corresponds to an inverter with an infinite fast output-voltage controller. However, if the DC capacitor is considered as a part of the admittance, the input admittance shape could be dictated by the capacitor admittance.
The proposed model can be applied to the impedance-based stability analysis at the DC interface of three-phase inverters and to analyze the effect of the deviations in the DC voltage to the AC voltage.