Impedance Modeling and Analysis of Grid-Connected Voltage-Source Converters
Impedance Modeling and Analysis of Grid-Connected Voltage-Source Converters
Impedance Modeling and Analysis of Grid-Connected Voltage-Source Converters
3, MARCH 2014
Abstract—This paper presents small-signal impedance modeling trol and the PLL-based grid synchronization introduce nonlin-
of grid-connected three-phase converters for wind and solar system earities which cannot be removed by reduced-order modeling
stability analysis. In the proposed approach, a converter is modeled techniques [10]. One method to deal with the control nonlinear-
by a positive-sequence and a negative-sequence impedance directly
in the phase domain. It is further demonstrated that the two se- ities is to transform the converter model into the dq reference
quence subsystems are decoupled under most conditions and can frame [11]. This method, however, has several limitations and
be studied independently from each other. The proposed models disadvantages, as discussed in [12]. The harmonic linearization
are verified by experimental measurements and their applications method [13] overcomes these limitations by modeling three-
are demonstrated in a system testbed. phase VSC impedance directly in the phase domain.
Index Terms—Converter stability, grid-connected converters, This paper applies the harmonic linearization technique
harmonic resonance, impedance modeling. to develop impedance models of three-phase VSCs with
PLL-based grid synchronization. A key step in the develop-
ment of the impedance models is the linearization of the grid-
I. INTRODUCTION
synchronization scheme. Since there exist several synchroniza-
HREE-PHASE voltage-source converters (VSCs) are the tion schemes [14], the approach taken here is to consider a basic
T basic building blocks for many applications in power sys-
tems, including grid integration of renewable energy [1] and
PLL, and show how it can be incorporated into the impedance
models. Possible variations are reviewed to highlight their mod-
energy storage [2], high-voltage dc transmission [3], as well eling approach. The rest of this paper is organized as follows:
as flexible ac transmission systems [4]. They are commonly Section II develops impedance models assuming perfect knowl-
referred to as grid-connected VSC in this paper. As for other edge of the grid voltage angle. Section III shows how to model
power electronic circuits, external behavior of such VSC can the PLL, and the approach to incorporate it into the impedance
be characterized by the impedances measured at the dc and the models. Section IV includes verifications of the proposed
ac terminals. Depending on the direction of power flow, the ac impedance models from both impedance measurements and
terminal impedance can be considered the input impedance (in their application in analysis of harmonic resonance. Section V
rectification mode) or the output impedance (in inversion mode), concludes this paper.
and will be simply referred to as the impedance in this study.
One important use of the impedance of a grid-connected VSC II. IMPEDANCE MODELING WITHOUT PLL
is in the analysis of stability and resonance between the converter The three-phase VSC considered in this paper is depicted
and the grid, including that with the filter of the converter [5]. In in Fig. 1. Phase voltages are denoted as va , vb , and vc , while
particular, it was shown in [6] that a grid-connected VSC used phase currents as ia , ib , and ic . Considering the large dc bus
for grid integration of renewable energy can be modeled as a capacitors, and the lower than fundamental frequency control
current source in parallel with an impedance, and the inverter- bandwidth of the dc bus voltage, Vdc is assumed constant in this
grid system stability can be determined by applying the Nyquist study. For the same reason, the active and reactive parts of the
stability criterion [7] to the ratio between the grid impedance current references (Idr and Iqr ) are assumed constant. In the
and the VSC impedance. time domain, the phase voltage with a small-signal perturbation
Most grid-connected VSCs use current control in a rotat- can be written as
ing (dq) reference frame [8], which is synchronized to the
va (t) = V1 cos (2πf1 t) + Vp cos (2πfp t + φvp )
fundamental component of the grid voltages by means of a (1)
phase-locked loop (PLL) [9]. Both the dq-domain current con- + Vn cos (2πfn t + φvn )
ia ib ic PLL
–
iar
ca Hi(s) Idr
–
ibr dq
cb Hi(s)
– abc Iqr
icr
cc Hi(s)
da1 = Km m̄a + 1/2 (4) models the voltage sampling delay, with Tv representing the
sampling interval, ωv its ADC prefilter cutoff frequency, and ωtv
da2 = 1 − da1 (5) its transducer delay. Since Vp does not result in any negative-
where da1 and da2 are the duty ratios of Sa1 and Sa2 , respectively. sequence response in Ma , and Vn does not result in any positive-
Other phases follow the same convention. sequence response either, sequence components are decoupled
In order to solve (3) for impedance in the frequency domain, from each other. Introducing (7) in the frequency-domain ver-
the sequence components in the modulating signals should be sion of (3), impedance models can be found as follows:
found as functions of the voltage and current perturbations. Km Vdc Hi (s) Gi (s) + sL
Then, positive-sequence impedance is defined as the ratio of Zp (s) = Zn (s) = (10)
1 − Km Vdc Kf (s) Gv (s)
Vp to −Ip , and negative-sequence impedance is defined as the
ratio of Vn to −In . Coupling should also be examined. Both where Zp (s) and Zn (s) denote positive-sequence and negative-
phase- and dq-domain current control strategies will be consid- sequence impedances, respectively.
ered here, which use Park’s transformation defined as follows:
⎡ ⎤
cos θ cos (θ − 2π/3) cos (θ + 2π/3) B. Dq-Domain Current Control
2⎢ ⎥
T (θ) = ⎣ − sin θ − sin (θ − 2π/3) − sin (θ + 2π/3) ⎦. Fig. 3 depicts a dq-domain current controller. Recall that
3
1/2 1/2 1/2 currents id and iq are outputs of a dq-domain transformation,
(6) which in the frequency domain involves a convolution of the
An inductive output filter is assumed in Fig. 1. Additional frequency components in the phase currents, with the frequency
filter elements (such as in the case when an LCL is used) can be components in Park’s transformation. Taking θPLL (t) = θ1 (t),
handled by simply modifying (3). the frequency components in Park’s transformation are easy to
1256 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 29, NO. 3, MARCH 2014
Fig. 3. Block diagram of a dq-domain current controller. A. Small-Signal Modeling of the PLL
Fig. 4 depicts a basic PLL, where HPLL (s) is the loop com-
TABLE I pensator. The first step to develop a small-signal model for this
FREQUENCY COMPONENTS IN dq-DOMAIN CURRENT CONTROLLER OUTPUT
NEGLECTING PLL DYNAMICS PLL is to model the response of vq (t) to the voltage perturbation
described by (1). In order to deal with the nonlinearity in Park’s
transformation, we break the transformation into two parts as
follows:
⎡ ⎤
cos (Δθ (t)) sin (Δθ (t)) 0
⎢ ⎥
T (θPLL (t)) = ⎣ − sin (Δθ (t)) cos (Δθ (t)) 0 ⎦T (θ1 (t))
0 0 1
(15)
where Δθ(t) = θPLL (t) − θ1 (t). Let vdv (t) and vqv (t) be de-
fined, respectively, as the d and q outputs of applying T(θ1 (t))
to (1), which in the frequency domain are easily found to be
derive, and the result of the convolution is as follows: ⎧
⎧ ⎪
⎨ V1 , dc
⎪
⎨ I1 cos φi1 , dc Vdv [f ] = Gv (s ± j2πf1 ) Vp , f = ±(fp − f1 ) (16)
Id [f ] = Gi (s ± j2πf1 ) Ip , f = ± (fp − f1 ) (11) ⎪
⎩
⎪
⎩ Gv (s ∓ j2πf1 ) Vn , f = ± (fn + f1 )
Gi (s ∓ j2πf1 ) In , f = ± (fn + f1 )
⎧ ∓jGv (s ± j2πf1 ) Vp , f = ± (fp − f1 )
⎪ Vqv [f ] = (17)
⎨ I1 sin φi1 , dc ±jGv (s ∓ j2πf1 ) Vn , f = ± (fn + f1 ) .
Iq [f ] = ∓jGi (s ± j2πf1 ) Ip , f = ± (fp − f1 ) (12)
⎪
⎩ For simplicity, we linearize the rotation matrix in (15) around
±jGi (s ∓ j2πf1 ) In , f = ± (fn + f1 )
the operating point Δθ0 = 0, which is possible for balanced,
where I1 and φi 1 correspond to the amplitude and phase of the nondistorted voltage conditions [9]. Then, vq (t) is given by
fundamental current. Sampling at the fundamental frequency vq (t) ≈ −Δθ (t) vdv (t) + vqv (t) . (18)
is neglected since Gi (±j2πf1 ) ≈ 1. From the control block
diagram, Cd and Cq can be obtained as linear combinations By the harmonic linearization principle, we can remove terms
of (11) and (12) using Hi (s) and the decoupling gain Kd . A proportional to second and higher-orders of the perturbation.
convolution of the frequency components in Cd and Cq with Hence, from (16) and the fact that Δθ0 = 0, we should only
the frequency components in the inverse Park’s transformation consider terms in Δθ(t) proportional to the first order of the
gives Ca , Cb , and Cc . Table I shows the possible combinations perturbation. Let
to consider in the convolution. Note that Vp does not result in
Gp (s) Gv (s ± j2πf1 ) Vp , f = ± (fp − f1 )
any negative-sequence response at fp , and Vn does not result Δθ [f ] =
in any positive-sequence response at fn , which means there Gn (s) Gv (s ∓ j2πf1 ) Vn , f = ± (fn + f1 )
is no impedance coupling. The nonlinear coupling at ±(fp − (19)
2f1 ) and ±(fn + 2f1 ) is neglected for impedance modeling where Gp (s) and Gn (s) are two transfer functions that need to
in the phase domain. Combining the controller output with the be determined. Then, the result of (18) is as follows:
voltage feedforward yields the modulating signals to introduce Vq [f ] =
in the frequency-domain version of (3), which can be solved for
sequence impedances as follows: [−Gp (s) V1 ∓ j] Gv (s ± j2πf1 ) Vp , f = ± (fp − f1 )
[−Gn (s) V1 ± j] Gv (s ∓ j2πf1 ) Vn , f = ± (fn + f1 )
Km Vdc [Hi (s − j2πf1 ) − jKd ] Gi (s) + sL
Zp (s) = (13) (20)
1 − Km Vdc Kf (s) Gv (s)
where terms proportional to second or higher order of the per-
Km Vdc [Hi (s + j2πf1 ) + jKd ] Gi (s) + sL
Zn (s) = . (14) turbations have been removed. Note that Δθ = HPLL (s)Vq
1 − Km Vdc Kf (s) Gv (s) except for f = ±f1 ; then, from (20), we can solve for Gp (s)
CESPEDES AND SUN: IMPEDANCE MODELING AND ANALYSIS OF GRID-CONNECTED VOLTAGE-SOURCE CONVERTERS 1257
−1
I1 j φ i 1 Km Vdc
− Hi (s) e TPLL (s − j2πf1 ) Gv (s)
2 V1
(27)
Zn (s) = [Km Vdc Hi (s) Gi (s) + sL] · 1 − Km Vdc Kf (s) Gv (s)
−1
Fig. 5. Frequency response of cosine of PLL angle to perturbation in phase I 1 −j φ i 1 Km Vdc
a voltage. Solid lines: model prediction; Dashed-dotted lines: experimental − Hi (s) e TPLL (s + j2πf1 ) Gv (s) .
measurements. 2 V1
(28)
and Gn (s) as follows:
C. Dq-Domain Current Control and PLL
Gp (s) = [∓jHPLL (s)] / [1 + V1 HPLL (s)] (21)
Due to the PLL, the current feedback after convolution
Gn (s) = [±jHPLL (s)] / [1 + V1 HPLL (s)] . (22) with Park’s transformation includes frequency components pro-
The final step is to obtain the response of cos(θPLL (t)) from portional to the voltage perturbation. Neglecting second-order
cos(Δθ(t) + θ1 (t)). The Laplace transform of cos(θPLL (t)) for terms, the convolution of phase currents with Park’s transfor-
a positive-sequence perturbation is obtained as follows: mation gives
TABLE II
FREQUENCY COMPONENTS IN dq-DOMAIN CURRENT CONTROLLER OUTPUT
INCLUDING PLL DYNAMICS
TABLE III
CONVERTER CIRCUIT PARAMETERS
ia va TABLE IV
SAMPLING DELAYS WITH CURRENT CONTROL IN DSP
Utility Grid
ib vb
Vdc
ic vc
L Lg
VSC Rd
Cf
Fig. 10. Impedance response with dq-domain current control and feedforward
decoupling. Solid lines: positive-sequence; Dashed lines: negative sequence;
Dots represent frequency response analyzer measurements.
Fig. 9. Impedance response with phase-domain current control. Solid lines: B. Dq-Domain Current Control
positive-sequence; Dashed lines: negative sequence; Dots represent frequency
response analyzer measurements. Due to the complexity of a dq-domain current controller, the
current controller has been moved to the DSP and only the
PWM stage is left in the FPGA. Since the PWM stage in this
positive- and the negative-sequence domain
case samples ma , mb , and mc , additional time delays should be
−1 −1 −1 included. In order to include them, both sampling terms Gi (s)
Zg (s) = sLg + Rd + 1/ sCf (38)
and Gv (s) should be multiplied by
where Lg is the grid inductance, and Rd with Cf constitute a 1 − e−sT m 1
damped filter. The grid parameters used in the experiments are Gm (s) = e−sT m · (41)
sTm 1 + s/ωm
Lg = 3.75 mH, Rd = 1.87 Ω, and Cf = 22 μF.
where Tm is the sampling interval of the PWM and ωm is
its associated ADC prefilter cutoff frequency. In this case, the
A. Phase-Domain Current Control
parameters of the circuit stage are those listed in Table IV.
The additional time delays due to the sampling of the current For the dq-domain current controller, the compensator is se-
references from the DSP are neglected. In this case, the current lected as follows:
compensator transfer function is Ki
Hi (s) = Kp + (42)
Ki s s
Hi (s) = Kp + (39)
s2 + (2πf1 )2 where Kp = 0.04578 and Ki = 43.15. The decoupling gain is set
to Kd = 0.00411. The PLL design is the same as in Section IV-A.
where Kp = 0.118 and Ki = 776. The PLL compensator gain The controller outputs are Cd = 0 and Cq = 0.0411 for a
is feedforward gain given by Kf = (Km Vdc )−1 .
Measurements of sequence impedances are depicted in
HPLL (s) = (Kp + Ki /s) /s (40) Fig. 10. The feedforward decoupling has been used to increase
the magnitude of the inverter impedance, but it also reduces
where Kp = 0.262 and Ki = 16.5. The feedforward gain Kf is
damping, which may lead to resonance in weak grids.
set to zero.
Measurements of sequence impedances are depicted in Fig. 9.
C. Effects of Unbalance
At harmonic frequencies, the impedance responses resemble se-
ries CRL circuits due to the integral gain of the current controller, An unbalanced condition in the phase voltages causes a sec-
its proportional gain, and the converter inductance, respectively. ond harmonic oscillation of the dq-domain variables used in
1260 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 29, NO. 3, MARCH 2014
Fig. 13. Harmonic resonance of the converter-grid system described in Fig. 10:
Fig. 12. Magnitude plot of the inverter admittance swept by numerical simu-
(a) Phase current waveforms; (b) sequence components.
lation when grid voltage has 5% negative-sequence voltage at 60 Hz. Solid lines:
balanced model prediction; Dashed-dotted lines: numerical simulation results.
The unbalanced voltage has 5% negative-sequence. The results
the PLL for grid synchronization. The second harmonic com- from sweeping the inverter admittances are depicted in Fig. 12
ponent in Δθ(t) can lead to coupling of sequence impedances. (only magnitude plots are shown), where the following defini-
Consider, for example, a positive-sequence perturbation of the tions are used:
PLL, while a small negative-sequence voltage V2 is also im- −Ip (s) Ypp (s) Ypn (s) Vp (s)
pressed on the phase voltages at the fundamental frequency. = . (45)
−In (s) Ynp (s) Ynn (s) Vn (s)
The voltage vq (t) in this case responds at two different frequen-
cies ±(fp −f1 ) and ±(fp +f1 ). The former is the characteristic
The off-diagonal admittances are significantly smaller above
PLL response to the perturbation, while the latter is due to V2 .
100 Hz, which verifies the fact that coupling terms can be ne-
These responses can be found as follows:
glected for conventional PLL designs not exceeding a few tens
Vq [fp − f1 ] −j of hertz.
=
Vp [fp ] 1 + V1 HPLL (j2π (fp − f1 ))
D. Applications of the Models
≈ 1 ∀ (fp f1 ) (43)
One application of the proposed impedance models is in the
Vq [fp + f1 ]
analysis and mitigation of harmonic resonance problems. Be-
Vp [fp ] = − j [TPLL (j2πf1 ) − TPLL (j2π (fp − f1 ))]
cause of the decoupling between the two sequence subsystems,
V2 [f1 ] V2 [f1 ] the stability criterion presented in [6] for grid-connected con-
≈ ∀ (fp f1 ) . (44)
V1 V1
verters can be applied to each sequence impedance separately
to determine overall converter-grid system stability. Addition-
Note that (44), responsible for any coupling of sequence com- ally, the analytical impedance models also provide a basis for
ponents, is directly proportional to the per-unit voltage unbal- modification of the converter control to mitigate any harmonic
ance. Thus, at harmonic frequencies, a 10% voltage unbalance resonance and other instability problems.
should result in a coupling term at least 20 dB below the char- As an example, consider the converter-grid systems described
acteristic PLL response. It is possible to verify (43) and (44) in by Fig. 9 and Fig. 10. The time-domain waveform corresponding
simulations, as depicted in Fig. 11 for a 100-Hz design. to Fig. 10 is shown in Fig. 13. At 440 Hz, the inverter positive-
To illustrate the coupling in the sequence impedances dur- sequence impedance intersects with the grid impedance and the
ing unbalance, a switching-circuit simulation model in Saber is phase difference is almost 180◦ . This explains the harmonic
used to sweep the inverter admittance, while a small grid voltage resonance in Fig. 13(a). Fourier analysis of the phase currents
unbalance is imposed at 60 Hz. The converter power stage and reveals a large positive-sequence component around the seventh
current control use the same parameters from the experimental harmonic [see Fig. 13(b)], which correlates to the impedance in-
setup with dq-domain current control, but the feedforward and tersection frequency. Based on the developed impedance mod-
time delays are removed. The PLL bandwidth is set to 100 Hz. els, the harmonic resonance can be eliminated by modifying the
CESPEDES AND SUN: IMPEDANCE MODELING AND ANALYSIS OF GRID-CONNECTED VOLTAGE-SOURCE CONVERTERS 1261