Thesis - Design and Tuning of A Modified Power-Based PLL For Single-Phase Grid-Connected Power Conditioning Systems PDF
Thesis - Design and Tuning of A Modified Power-Based PLL For Single-Phase Grid-Connected Power Conditioning Systems PDF
1
. . . . . . . . . . . . . 39
1.23 VSC operation during a transient. Eect of the re-tracking speed. . . . . . 40
2.1 Zero-cross detector example. . . . . . . . . . . . . . . . . . . . . . . . . . . 46
2.2 OA based zero-cross detector example. . . . . . . . . . . . . . . . . . . . . 47
2.3 Simple HVDC diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
2.4 Constant- vs Inverse-Cosine HVDCs. . . . . . . . . . . . . . . . . . . . . 49
2.5 Main drawbacks of zero-cross detectors. . . . . . . . . . . . . . . . . . . . . 51
2.6 Weak Grid. Short circuit ratio X
r
/X
s
3 6. . . . . . . . . . . . . . . . . 52
2.7 Scheme of the PLO controller for the HVDC rectier proposed in [1]. . . . 53
2.8 Equivalent block diagram of PLO circuit and control. . . . . . . . . . . . . 55
2.9 Equivalent block diagram of PLO circuit and controller for ring maximum
delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
2.10 PLO equivalent model at dierent values. . . . . . . . . . . . . . . . . . 57
2.11 Start-up simulation of PLO for dierent i
dc
(dotted), i
dc
is the blue line. . . 58
2.12 Steady-state system voltages for Figs. 2.12. . . . . . . . . . . . . . . . . . . 59
2.13 PLO tested under a very unbalanced system of voltages. . . . . . . . . . . 59
2.14 PLO tested in the presence of an unbalanced and polluted with harmonics
system of voltages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
2.15 PLO transient test: sudden change in z
L
. . . . . . . . . . . . . . . . . . . . 61
2.16 PLO tested under a sudden change in the input frequency at 10 s. . . . . . 61
xi
2.17 Control scheme of a dc motor in a single-phase grid. . . . . . . . . . . . . . 63
2.18 Basic conceptual models of PLLs. . . . . . . . . . . . . . . . . . . . . . . . 64
2.19 Block diagram of an analog CP-PLL. . . . . . . . . . . . . . . . . . . . . . 65
2.20 Key diagrams for the EXOR-Charge Pump Phase Detector . . . . . . . . . 66
2.21 Time domain simulation results from the CP-PLL model at f = 49 Hz. . . 67
2.22 SRF-PLL block diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
2.23 SRF-PLL with Fortescue operator based pre-lter. . . . . . . . . . . . . . . 71
2.24 Matlab Simulink model and all-pass lter features. . . . . . . . . . . . . . . 72
2.25 Positive-sequence estimation with all-pass lters (f
1
= 50 Hz). . . . . . . . 72
2.26 SRF-PLL with pre-lters in the frame. . . . . . . . . . . . . . . . . . . 73
2.27 Comparative of the dynamics of A(z) and D(z) (f
s
= 10 kHz, so n = 50 in D(z)). 74
2.28 H
d
(s) and H
q
(s) dynamic response. . . . . . . . . . . . . . . . . . . . . . . 76
2.29 Single-phase PLL with multiplier as PD. . . . . . . . . . . . . . . . . . . . 77
2.30 ALL-PLL compensation block. . . . . . . . . . . . . . . . . . . . . . . . . . 79
2.31 Key gures of the ALL-PLL. . . . . . . . . . . . . . . . . . . . . . . . . . . 80
2.32 Phase-plane portraits of a SRF-PLL implementation. The curves are ob-
tained through dierent initial conditions (color legends indicate the initial
1
). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
2.33 LP-TAD scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
2.34 Signicant simulation results for LP-TAD: fault and unbalance conditions. 84
2.35 v
1
in the single-phase SRF. . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
2.36 Single-phase SRF synchronization algorithm:
srf
=
1
to decouple v
1
. . . 86
2.37 Time and frequency responses of H(z)
1
implemented at f
s
= 10 kHz and
n = 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
2.38 Simulation results for SRF-MAF1 working open loop (
srf
=
1
=
1n
). . . 91
xii
2.39 DCT based implementation gures. . . . . . . . . . . . . . . . . . . . . . . 92
2.40 Three-phase SRF synchronization algorithm;
srf
=
1
to decouple v
+
abc
1
. . 93
2.41 Simulation results for SRF-MAF3 working in open loop (
srf
=
1
=
1n
). 95
2.42 Single-phase Kalman based synchronization algorithm. . . . . . . . . . . . 98
2.43 WLSE experimental results for dierent s. . . . . . . . . . . . . . . . . . 102
2.44 WLSE experimental results. Eect of adding extra sequences to H. . . . . 103
2.45 Frequency adaptive MAFs. . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
2.46 Adaptive lter scheme of SRF-MAF1 with frequency adaptation/estimation.110
2.47 Adaptive SRF-MAF1 Vs open loop SRF-MAF1 during the start-up and
steady-state. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
2.48 Frequency estimation with Adaptive SRF-MAF3. . . . . . . . . . . . . . . 113
3.1 Studied linear model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
3.2 Frequency response of dierent lters for canceling harmonics. . . . . . . . 119
3.3 Comparative between underdamped and overdamped cases. . . . . . . . . . 123
3.4 Frequency response of H(z) for the HB-PLL (L(s)
HBPLL
was discretized
using the zoh method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
3.5 Frequency response of H(z) for the UN-PLL (L(s)
UNPLL
was discretized
using the zoh method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
3.6 Frequency response of H(z) for the MA-PLL (PI lter was discretized using
the zoh method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
3.7 Experimental results for dierent SRF-PLLs: Ch1 (black) is the V
a
input in
p.u./V, Ch4 is the instantaneous phase-angle measurement (100 mV/rad),
Ch2 is the error signal v
q
in p.u./V (1 p.u. = /2 deg of phase error), Ch3
is
o
(10 mV/(rad/s)). . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
3.8 RC Oscillator features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
3.9 P
+
1
generation from the oscillator signals. . . . . . . . . . . . . . . . . . . . 131
xiii
3.10 Simulation results for single-phase PLL (
1
= 250.3 rad/s). . . . . . . . . 132
3.11 Experimental results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
4.1 Filtering blocks of the design examples. . . . . . . . . . . . . . . . . . . . . 139
4.2 Design example 1: time and frequency responses of H
1
(z) H
2
(z). . . . . . 140
4.3 Design example 2: Frequency and Step responses of H
1
(z) H
1
(z) H
2
(z). . 142
4.4 S1: Test to show predictive lters action. . . . . . . . . . . . . . . . . . . . 143
4.5 S1 response to a big frequency step at 0.2 s. Unbalanced (v
a1
max
= 0.1
v
+
a1
max
) input wave. Frequency step (up), phase error (center) and fre-
quency error (down). Zero steady state error and transient duration of
0.01 s are achieved. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
4.6 S1 tested under a distorted set of input waves rotating at 49.5 Hz. At 1 s,
a 1 p.u. to 0.2 p.u. sag with +45 deg phase jump has been programmed. . . 145
4.7 S1: steady state error for a balanced set of inputs oscillating at 48 Hz. . . . 146
4.8 S1: Steady state error for an unbalanced (v
a1
max
= 0.1 v
+
a1
max
) set of inputs
oscillating at 51 Hz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
4.9 S1: Transient response for a sag with 45 deg phase jump. . . . . . . . . . 148
4.10 S1: steady-state phase measurement at 48 Hz. Ch1 is
1
, Ch2 is v
a
, Ch3 is
v
b
, Ch4 is v
c
(phase in 2 rad, voltages in p.u.). The measurement does
not have ripple. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
4.11 Comparative between S1 and S2 in terms of noise rejection. Ch1 is v
+
a1
max
,
Ch2 is v
a
, Ch3 is v
b
, Ch4 is v
c
(voltages in p.u.,
1
= 2 49.75 rad/s). . . 150
4.12 S1 Vs S2 in terms of transient response. Ch1 is v
+
a1
max
, Ch2 is v
a
, Ch3 is
v
b
, Ch4 is v
c
(voltages in p.u.,
1
= 2 49 rad/s). . . . . . . . . . . . . . . 150
5.1 APF prototype and controller. . . . . . . . . . . . . . . . . . . . . . . . . . 157
5.2 Experimental set-up features. . . . . . . . . . . . . . . . . . . . . . . . . . 158
5.3 Phase locked loop. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
5.4 Open loop PLL Bode diagram. . . . . . . . . . . . . . . . . . . . . . . . . 160
xiv
5.5 Two integrators based implementations, as proposed in [2]. . . . . . . . . . 161
5.6 Comparative of the error induced by dierent implementations (f
s
= 10 kHz).163
5.7 Frequency adaptive resonant block implementation. . . . . . . . . . . . . . 163
5.8 Accuracy of the resonant controllers (f
s
= 10 kHz). . . . . . . . . . . . . . 164
5.9 Frequency response of C(z) P(z) around 150 Hz. When
1
> 0 the peak
moves to higher frequencies and vice versa. . . . . . . . . . . . . . . . . . 164
5.10 Current control block diagram. . . . . . . . . . . . . . . . . . . . . . . . . 165
5.11 PR block (C(z)). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
5.12 Bode diagram of C(z) P(z). . . . . . . . . . . . . . . . . . . . . . . . . . 167
5.13 Steady-state currents and v
PCC
for dierent input frequencies. Ch1 is i
L
,
Ch2 is i
F
, Ch3 is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . . . . . . . 168
5.14 Transient response when there is a load change. Ch1 is i
L
, Ch2 is i
F
, Ch3
is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
5.15 Transient response when there is a frequency step in f
1
from 48 Hz to 52 Hz.
Ch1 is i
L
, Ch2 is i
F
, Ch3 is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . 169
5.16 Transient response when there is a frequency step in f
1
: from 52 Hz to
48 Hz. Ch1 is i
L
, Ch2 is
1
(scale at 23 rad/div), Ch3 is i
S
and Ch4
is v
PCC
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
5.17 Transient response when there is a frequency step in f
1
from 48 Hz to
52 Hz. Eect of ripple of 1 Hz in
1
. Ch1 is i
L
, Ch2 is
1
(scale at
23 rad/div), Ch3 is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . . . . 170
5.18 Steady state gures when error in estimation of
1
is considered.
1
=
0 rad/s and
1
= 4 rad/s (f
1
= 48 Hz). Ch1 is i
L
, Ch2 is
1
(scale
at 23 rad/div), Ch3 is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . . 171
5.19 Transient response when there is a voltage sag (1 p.u. 0.8 p.u.) with
phase-angle jump of +45 deg in v
PCC
(v
S
). Ch1 is i
L
, Ch2 is
1
(scale at
23 rad/div), Ch3 is i
S
and Ch4 is v
PCC
. . . . . . . . . . . . . . . . . . . 171
A.1 PLO system Matlab script. Main le. . . . . . . . . . . . . . . . . . . . . . 176
A.2 PLO system Matlab script. Function le (page 1 of 2). . . . . . . . . . . . 177
xv
A.3 PLO system Matlab script. Function le (page 2 of 2). . . . . . . . . . . . 178
A.4 Matlab script to depict SRF-PLL trajectories in the Phase-plane. . . . . . 179
A.5 Matlab script of the Kalman Filter Single-phase synchronization example. . 180
A.6 Matlab script of the WLSE syncrhonization example. . . . . . . . . . . . . 181
A.7 Matlab script of the single-phase PLL with RC-Oscillator based DCO. . . . 182
xvi
List of Tables
1.1 States of diode full rectier depending of
1
. . . . . . . . . . . . . . . . . . 24
1.2 State of controlled rectier depending of
1
and . . . . . . . . . . . . . . . 24
1.3 VSC based Rectier Values. . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.1 HVDC values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
2.2 Controller Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
2.3 Controller Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2.4 Look-up table: control of n depending on
1
. . . . . . . . . . . . . . . . . 107
2.5 Adaptive algorithm values. . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
3.1 Signicant parameters of HB-PLL . . . . . . . . . . . . . . . . . . . . . . . 124
3.2 Signicant parameters of UN-PLL . . . . . . . . . . . . . . . . . . . . . . . 125
3.3 Signicant parameters of MA-PLL . . . . . . . . . . . . . . . . . . . . . . 126
4.1 Design Example 1 Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
4.2 Design Example 2 Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
4.3 Brief comparative among signicant systems with good unbalance rejection 148
5.1 Signicant values of the power circuit. . . . . . . . . . . . . . . . . . . . . 156
5.2 Values of PLL parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
xvii
xviii
5.3 Values of parameters of the PR controller. . . . . . . . . . . . . . . . . . . 166
List of Abbreviations and Acronyms
ac Alternate current.
ADC Analog-to-digital converter.
ADALINE Adaptive Linear Combiner.
APF Active Power Filter.
CP Charge-Pump (PLL).
dc Direct current.
DCO Digitally Controlled Oscillator.
DCT Discrete Cosine Transform.
DFT Discrete Fourier Transform.
DPGS Distributed Power Generation System.
DSP Digital Signal Processor.
DSRF Double SRF. Applied to a PLL (DSRF-PLL).
DST Discrete Sine Transform.
EXOR Exclusive OR.
EKF-TAD Enhanced Kalman Filter-TAD (Synchronization Algorithm).
FACTS Flexible ac Transmission Systems.
FIR Finite Impulse Response (lter).
FPGA eld-programmable gate array.
GI Generalized integrator.
GTO gate turn-o thyristor.
HVDC High-Voltage Direct Current.
xix
xx
IC Integrated Circuit.
IEEE Institute of Electrical and Electronics Engineers.
IIR Innite Impulse Response (lter).
IGBT insulated-gate bipolar transistor.
IGCT integrated gate-commutated thyristor.
LF Loop lter (PLL).
LPF Low pass lter.
LP-TAD Low pass-TAD (Synchronization Algorithm).
MAF Moving average Filter.
MSRF Multiple Synchronous Reference Frame.
NPSF Normalised Positive-sequence Synchronous Frame.
OA Operational Amplier.
PCC Point of common coupling.
PD Phase detector (PLL).
PI Proportional Integrator (lter).
PLL Phase locked loop.
PLO Phase locked oscillator (control system).
PM Phase margin.
PQ Power Quality.
PR Proportional+Resonant (current controller).
PWM Pulse Width Modulation.
RDFT Recursive DFT.
SRF Synchronous Reference Frame.
SSSC Static Synchronous Series Compensator.
SRF-MAF Synchronization algorithm based on SRF and MAFs.
STATCOM static compensator.
SVC static VAr compensator.
SVF-TAD Space Vector Filter-TAD (Synchronization Algorithm).
xxi
TAD Transformation angle detector.
THD Total Harmonic Distortion.
UPFC unied power-ow controller.
VCO Voltage Controlled Oscillator (IC).
VSC voltage-source controller.
VSI voltage-source inverter.
WLSE Weighted Least Squares Estimation (Synchronization Algorithms).
xxii
Nomenclature
Firing angle in thyristor based converters.
B Angle transformation from an rotating frame to a dq frame.
C Clarke transformation from an abc rotating frame to an equivalent frame.
Small perturbation in .
d Duty cycle of PWM converters..
Optimization parameter of predictive lters.
f Frequency in Hz..
f
1n
Nominal fundamental frequency (e.g. 50 Hz in Europe).
f
s
Sampling frequency of a discrete model.
Relative phase-angle between i(t) and v(t).
Oset phase-angle.
i Single-phase current.
i Vector of currents in a multiphase system or reference frame.
j Imaginary Unit.
m Modulating/control signal of PWM converters.
n Set the order of a lter.
xxiii
xxiv
N
1
Set the order of a MAF (chapter 4).
N
2
Set the order of a predictive lter (chapter 4).
P Active Power.
P Park transformation from an abc rotating frame to a dq static frame.
Q Reactive Power.
R Resistance.
S Apparent Power.
S Fortescue matrix.
t Time, in seconds.
T = 1/f. Time cycle.
t Very short instant, in seconds.
Instantaneous rotating phase-angle.
v Single-phase voltage.
v Vector of voltages in a multiphase system or reference frame.
= 2f. Angular frequency or pulsation.
z Impedance.
Subscript
1 Fundamental component.
abc Voltage/current vector in the abc frame.
a Phase a in the abc frame.
b Phase b in the abc frame.
xxv
c Phase c in the abc frame.
co Relative to controlled oscillator (voltage).
cp Relative to charge-pump (voltage).
Voltage/current vector in the frame.
Component in the frame.
Component in the frame.
d Relative to d component in a srf.
dc Voltages/currents in a DC bus.
e Relative to the error between real and estimated value.
i Input value.
j Relative to jittering of synchronization algorithms (phase).
ll Line to line (voltage).
LPF Low pass lter.
max Maximum. Peak value referred to voltages/currents.
min Minimum.
n Nominal value, e.g. f
1n
= 50 Hz nominal fundamental frequency.
o Output value.
q Relative to q component in a srf.
rms Root-mean square.
s Relative to sampling (f and T).
s Relative to settling time.
srf Relative to SRF.
xxvi
Superscript
+ Positive sequence.
Negative sequence.
0 Zero sequence.
T Transpose of a matrix.
(1) Inverse of a matrix.
Reference value.
Accents
x Average value of x.
x Estimated value of x.
2 v
rms
sin (t +
v
), (1.1)
where
v
is a constant oset phase-angle, and
i(t) =
2 v
rms
sin (t +
i
), (1.2)
where
i
is also a constant oset phase-angle. The relative angle between v(t) and i(t)
() is given by
=
v
i
. (1.3)
is set by the load reactance: > 0 (the current lags the voltage) for inductive loads,
and < 0 (the current leads the voltage) for capacitive loads. The value of in Fig. 1.1
is limited in the range [90 deg 90 deg]. The instantaneous active power p(t) is
1.2 Background on Electric Power Denitions 3
given by the product of the instantaneous voltage and current:
p(t) = v(t) i(t) = P[1 cos (2
1
t)] Qsin (2
1
t), (1.4)
where
P = v
rms
i
rms
cos () (1.5)
is named active power, for which the measurement unit is the Watt [ W].
Q = v
rms
i
rms
sin () (1.6)
is named reactive power, which is measured in volt-ampere reactive [ VAr] .
From (1.4) to (1.6), p(t) is not constant, since it has an oscillating component rotating
at 2. P represents an unidirectional power ow from the ac source to the load. Therefore,
it could be said that P gives a measurement of the averaged energy supplied in any time
interval from the ac source to the load.
The term associated to Q is an oscillating at 2 component and its average value
is equal to zero. Q is commonly associated as the oscillating power, since the total
energy transfered to the load over an entire cycle is zero. For this reason, Q is commonly
associated to a parasitic or non desired eect.
The apparent power S is dened as:
S = v
rms
i
rms
. (1.7)
The unit of S is the Volt-Ampere [ VA] .
The power factor (PF) is dened as cos (), which is obtained as:
cos () =
P
S
. (1.8)
The physical meaning of S is clear from (1.7) and (1.8). S represents the maximum
reachable active power P at unity power factor.
A PF of one, or unity power factor, is the goal of any electric utility company, since,
if the power factor is less than one, they have to supply more current to the user for a
given amount of power consumption. In so doing, they incur more line losses. They also
must have larger capacity equipment in place than would be otherwise necessary. As a
result, an industrial facility will be charged a penalty if its PF is much dierent from 1.
4 Chapter 1 Introduction
The scheme of Fig. 1.1 has been simulated in the time domain through PSPICE in
order to supply the waveforms shown in Fig. 1.2. The linear load is form of a resistor in
series with an inductance with a X
L
/R = 0.6/0.8 ratio, which results in 36 deg (X
L
is the inductance impedance at ). The values of the components have been arranged so
rms values of v(t) and i(t) are 1 p.u..
The above gures show both v(t) and i(t) and the time delay 2 ms associated to .
The gure below shows p(t) and its average value P. As expected, P = V I cos() = 0.8 p.u..
In some points of time, p(t) is negative, which corresponds with an instantaneous power
ow from the load to the source. However, the area highlighted with A, corresponding
with a positive power ow from the source to the load, is higher than the area highlighted
with B, corresponding with the ow from the load to the source. By inspection of (1.4)
it is clear that a higher weight of the inductance (X
L
) in the load results in a higher B
area, which means a higher Q. If there was no resistive component would be equal to
90 deg, and hence, area B and area A would be the same; Q would be maximum and
P = 0. The sign of Q depends on the kind of load: inductive load ( > 0) results in a
positive Q and a capacitive load ( < 0) results in a negative Q.
1.2.1.1 Electrical Variables with Phasor Notation
A powerful tool in the analysis of power systems is the use of the so-called phasor nota-
tion instead of analytical expressions in the time domain. The phasor notation approach
is detailed as follows.
Any sinusoidal time function (f(t)) rotating at an angular frequency can be repre-
sented as the real part of a complex number:
f(t) = A cos (t +) = {A e
i(t+)
} = {A e
jt
e
j
}. (1.9)
Assuming steady-state and known frequency, f(t) can be represented by the complex
number
F:
F = A e
j
= A. (1.10)
A voltage phasor v and a current phasor
i can be represented by complex numbers
both in polar and Cartesian notation:
V = v
max
v
= v
max
cos (
v
) +j v
max
sin (
v
)
I = i
max
i
= i
max
cos (
i
) +j i
max
sin (
i
).
(1.11)
1.2 Background on Electric Power Denitions 5
0.04
0.045 0.05 0.055
0.06
0.065 0.07 0.075
0.08
0.062
-1.5
-1
-0.5
0
0.5
1
1.41
0.045 0.05 0.055 0.065 0.07 0.075
0
0.5
1
1.5
0.06 0.08 0.04
0.8
Figure 1.2: Waveforms associated to power concepts in a linear single-phase circuit.
6 Chapter 1 Introduction
V
&
I
&
36 =
t
(a) Voltage and current phasor representation for
Fig. 1.2.
36 =
t
P
jQ
S
= v
max
i
max
cos () +jv
max
i
max
sin () = P +jQ. (1.12)
S can be depicted in the complex plane as function of P, Q and PF. Fig. 1.3b shows
this complex power representation for the Fig. 1.2 example. The sign of the reactive
power is positive because of the inductive behavior of the load. A negative Q would refer
to a capacitive reactive part of the load.
1.2.2 Power Denitions under Non-Sinusoidal Conditions
When the system voltages and currents contain components of non fundamental fre-
quency, it is said that there is distortion. The origin of this distortion can be in the origin
or in the consumer (non-linear loads).
The assessment of power denitions under distorted conditions is not a trivial task
at all. Two dierent theories have been provided: the power denitions based on the
frequency domain, proposed by Budeanu [4], and the power denitions in the time domain
by Fryze [5].
1.2 Background on Electric Power Denitions 7
There is so much discussion concerning which one of that strategies is more suitable
for the control of power converters. For example, Czarnecki proved that some of the
Budeanu denitions do not have physical meaning [6]. Moreover, there are quite a lot
diculties with frequency domain power denitions applied to three-phase and four-wire
systems [3].
1.2.2.1 Power Denitions in the Frequency Domain by Budeanu
A set of power denitions set by Budeanu [4] is still very useful for the analysis of
power systems in the frequency domain. These denitions are valid for generic currents
and voltages in steady-state. However, they are not suitable to analyze transients.
A periodic ac single-phase wave, as voltages and currents, can be decomposed in a
Fourier series. Then, the corresponding phasor for each harmonic can be calculated. The
Budeanu denitions are:
1.2.2.1.1 Apparent Power S:
S = v
rms
i
rms
, (1.13)
where v
rms
and i
rms
are voltage and current rms values These rms values can be calculated
as function of each h
th
(h = 1, 2, ...) order harmonic component:
v
rms
=
1
T
_
T
0
v
2
(t)dt =
_
1
T
h=1
v
2
rms
h
i
rms
=
1
T
_
T
0
i
2
(t)dt =
_
1
T
h=1
i
2
rms
h
(1.14)
where v
rms
h
and i
rms
h
are the rms values of each harmonic component, and T the funda-
mental component period.
1.2.2.1.2 Active Power P:
P =
h=1
P
h
=
h=1
v
rms
h
i
rms
h
cos (
h
), (1.15)
where the displacement angle of each pair of h
th
order harmonic voltage and current
components is represented as
h
.
8 Chapter 1 Introduction
1.2.2.1.3 Reactive Power Q:
Q =
h=1
Q
h
=
h=1
v
rms
h
i
rms
h
sin (
h
) (1.16)
This Q denition tried to quantify the amount of power that does not realize work
in steady-state. However, this per-component approach does not take into account other
interactions such as cross products between voltages and currents at dierent frequencies.
For this reason, Budeanu also dened the distortion power D to quantify the loss of power
quality due to harmonic distortion:
1.2.2.1.4 Distortion Power D
D =
_
S
2
P
2
Q
2
. (1.17)
The physical meaning of P is clear, since it represents the average value of the instan-
taneous power p(t), that is, the average ratio of energy transfered between two systems.
However, both Q and D are just mathematical expressions without a clear physical mean-
ing. Another drawback of Budeanus approach is its poor applicability in practical cases
of power quality assessment [3]. Other denitions by Budeanu are:
1.2.2.1.5 Power Factor
=
P
S
. (1.18)
1.2.2.1.6 Displacement Factor cos ()
cos () =
P
P
2
+Q
2
. (1.19)
1.2.2.1.7 Distortion Factor cos()
cos () =
P
2
+Q
2
S
. (1.20)
The following relation is valid
=
P
S
= cos () cos (). (1.21)
1.2 Background on Electric Power Denitions 9
1.2.2.2 Power Denition in the Time Domain by Fryze
The main denition for power components in the time domain have been presented
by Fryze:
1.2.2.2.1 Active Power P
w
P
w
=
1
T
_
T
0
p(t) =
1
T
_
T
0
v(t) i(t) = v
rms
i
w
= v
w
i
rms
. (1.22)
where v
rms
and i
rms
are voltage and current rms values, and v
w
and i
w
are the active
voltage and active current dened below.
1.2.2.2.2 Apparent Power P
s
P
s
= v
rms
i
rms
. (1.23)
1.2.2.2.3 Active Power Factor
=
P
w
P
s
. (1.24)
1.2.2.2.4 Reactive Power
P
q
=
_
P
2
s
P
2
w
= v
q
i
rms
= v
rms
i
q
. (1.25)
where v
q
and i
q
are the reactive voltage and current dened below.
1.2.2.2.5 Reactive Power Factor
q
q
=
1
2
. (1.26)
1.2.2.2.6 Active Voltage v
w
and Active Current i
w
v
w
= v
rms
i
w
= i
rms
.
(1.27)
10 Chapter 1 Introduction
1.2.2.2.7 Reactive Voltage v
q
and Reactive Current i
q
v
q
=
q
v
rms
i
q
=
q
i
rms
.
(1.28)
1.2.3 Power Denitions in Three-Phase Systems
The extension of the power denitions from a single-phase to a three-phase systems
is not a trivial task. Any three-phase system could have some properties not present in
single-phase systems:
The presence of a fourth wire: if a three-phase system is grounded in more than one
point there is an additional path for current circulation. In other systems, a fourth
wire connected to the neutral is presented.
Balance/Unbalance among phases: this feature refers to a set of three-phase voltages
(or currents). If their amplitudes are the same and the displacement angles between
the phase is 2/3 the system is balanced. If not, the system is unbalanced.
1.2.3.1 Power in Balanced Three-phase Systems
Considering a balanced system of voltages and currents:
_
_
v
a
v
b
v
c
_
_
=
_
2 v
rms
sin(t +
v
)
2 v
rms
sin(t +
v
2
3
)
2 v
rms
sin(t +
v
+
2
3
)
_
_
, (1.29)
and
_
_
i
a
i
b
i
c
_
_
=
_
2 i
rms
sin (t +
i
)
2 i
rms
sin (t +
i
2
3
)
2 i
rms
sin (t +
i
+
2
3
)
_
_
. (1.30)
For a three-phase system the instantaneous active power p
3
(t) describing the energy
ow per time unit transfered between two systems is given by:
p
3
(t) = v
a
(t)i
a
(t) +v
b
(t)i
b
(t) +v
c
(t)i
c
(t) = p
a
(t) +p
b
(t) +p
c
(t). (1.31)
1.2 Background on Electric Power Denitions 11
Substituting (1.29) and (1.30) in (1.29): (1.29) and (1.30) in (1.29):
p
3
(t) = 3 v
rms
i
rms
cos
v
i
= 3P. (1.32)
Equation (1.32) shows the dierent behavior with respect to single-phase systems:
p
3
(t) is constant and does not have a second harmonic oscillating term. This constant
component denes the active power (P
3
), which is three times the single-phase active
power.
The three-phase apparent power (S
3
) is:
S
3
(t) = 3S = 3 v
a
rms
i
a
rms
, (1.33)
so S
3
is also three times the single-phase apparent power.
The denition of three-phase reactive power (Q
3
) is:
Q
3
(t) = 3 v
a
rms
i
a
rms
sin(
v
1
i
) = 3Q. (1.34)
However, Q
3
does not have the same physical meaning that the reactive power has
in single-phase systems. In fact, a balanced three-phase system feeding a three-phase
balanced load does not cause power oscillations [3].
1.2.3.2 Analysis under Unbalanced Conditions
The traditional concepts of apparent power and reactive power are not suitable for
unbalanced three-phase systems. As example, in an unbalanced system the fact that
the line currents are proportional to system voltages does not assure maximum average
(active) power transfer between systems [3].
Based on rms values of voltages and currents, two dierent denitions of apparent
power have been proposed:
1.2.3.2.1 Per-phase Calculation:
S
3
=
k
S
k
=
k
V
k
I
k
, k = (a, b, c). (1.35)
12 Chapter 1 Introduction
1.2.3.2.2 Aggregate rms Value Calculation:
S
k
V
2
k
k
I
2
k
, k = (a, b, c). (1.36)
It has been proved that under unbalanced and distorted conditions S
S
3
. S
have been used by some authors as the maximum reachable active power at unity power
factor [7].
However, the physical meaning of these denitions is not universally accepted, and
some authors state that they are only mathematical expressions. For example, Akagi
et al only consider the instantaneous active power as universal concept in three-phase
systems [3].
1.2.3.3 Power Denitions and Alternatives in Power Electronic Converters
Control
Power denitions are employed in the control of power converters, specially in power
line conditioners [3, 810], since Akagi et al presented their instantaneous active power
theory [11]. However, dealing with power magnitudes in real-time has some drawbacks,
specially in three-phase and four-wires systems [3, 12].
As an alternative to instantaneous reactive power theory, Bhattacharya et al pro-
posed the synchronous reference frame (SRF) theory, in which specic voltage/currents
components/sequences to compensate are extracted by digital signal processing [1216].
Equivalent SRF approaches for single-phase systems were proposed in the literature [17
19]. Nowadays, with the suitability of powerful digital devices and the advance in the
state-of-art in digital signal processing, working directly with voltages/currents is a very
widespread option.
1.3 Background on Symmetrical Components
One fundamental theory in the analysis of multi-phase system is the symmetrical
components decomposition discovered by Fortescue [20]. The theory of symmetrical com-
ponents allows to handle with sequences instead of independently per-phase.
From direct application to a three-phase system of the brilliant analysis by Fortescue,
any unbalanced three-phase system of voltages/currents (
V
a
,
V
b
,
V
c
) can be represented by
other three phasors: a positive-sequence phasor
V
+
, a negative-sequence phasor
V
and a
1.3 Background on Symmetrical Components 13
v
a
-
max
=v
b
-
max
= v
c
-
max
v
a
+
max
=v
b
+
max
= v
c
+
max
ca
v
bmax
120
120
120
120
120
120
= +
+
ab
bc
ca
ab
bc
v
a
+
v
b
+
v
c
+
v
a
-
v
b
-
v
c
-
v
abc
0
(a) Phasor diagram of an unbalanced system.
=
+ +
Three-Phase Unbalanced system
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Positive-sequence
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Negative-sequence
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Zero-sequence
Time (s) Time (s) Time (s) Time (s)
0.45 0.46 0.47 0.48 0.49 0.5
-1
-0.5
0
0.5
1
Va
+
Vb
+
0.45 0.46 0.47 0.48 0.49 0.5
-0.1
-0.05
0
0.05
0.1
0.15
Va
-
Vb
-
Vc
-
0.45 0.46 0.47 0.48 0.49 0.5
-0.08
-0.06
-0.04
-0.02
0
0.02
0.04
0.06
0.08
Va
0
Vb
0
Vc
0
Vc
+
0.45 0.46 0.47 0.48 0.49 0.5
-1
-0.5
0
0.5
1
Va
Vb
Vc
(b) Time domain decomposition.
Figure 1.4: Example of decomposition of an unbalanced three-phase set of fundamental
voltages/currents.
zero-sequence phasor
V
0
[21]. The Fortescue transformation by means of the S matrix is:
_
_
_
_
_
V
0
V
+
_
_
_
_
_
=
1
3
_
_
_
_
_
1 1 1
1 a a
2
1 a
2
a
_
_
_
_
_
. .
S
_
_
_
_
_
V
a
V
b
V
c
_
_
_
_
_
, (1.37)
where a is a complex number also called Fortescue operator:
a = 1120 deg = e
j(2/3)
=
1
2
+j
3
2
. (1.38)
Fig. 1.4a shows an example of decomposition of an unbalanced three-system of volt-
ages (v
abc
= [v
a
, v
b
, v
c
]) in a balanced system rotating at () which is the positive-
sequence (
V
+
) plus a balanced system rotating at () which is the negative-sequence
(
V
) plus a zero-sequence (
V
0
). Fig. 1.4 shows the equivalent time domain vectors:
v
+
abc
= [v
+
a
, v
+
b
, v
+
c
], v
abc
= [v
a
, v
b
, v
c
] and v
0
abc
= [v
0
a
, v
0
b
, v
0
c
]. The superscripts +,
and 0 refer to positive, negative and zero sequences, respectively. The superscript 1
refer to the fundamental component: e.g.
1
is the fundamental frequency.
14 Chapter 1 Introduction
The real time implementation of S is approached in some works; the imaginary unit
j is implemented by means of digital lters with a 90 deg delay at
1
[22]. However, this
approach have some limitations, as shown in chapter 2.
Clarke and Park transformations [23, 24], also based on the symmetrical components
theory, oer a much higher versatility, specially for real-time implementations such as
power converter controllers, monitoring systems, etc.
The Clarke transform C converts a three-phase system v
abc
to an equivalent two-phase
system v
:
_
_
v
_
_
. .
v
=
2
3
_
_
1 0.5 0.5
0
3
2
3
2
_
_
. .
C
_
_
_
_
_
v
a
v
b
v
c
_
_
_
_
_
. .
v
abc
, (1.39)
where v
and v
[21]. The Clarke transformation is employed in several controllers such as the ones
implementing the Space Vector Modulation (SVM) technique [16, 25]. It is also widely
employed in grid synchronization.
Real-time implementation of Park transformations allow to decouple positive from
negative sequences, since they are moved to dierent frequencies, including dc. In fact,
the possibility of dealing with oscillating waves as dc values is the most interesting feature
of the Park transformations. The most widely employed Park transformation is the P
+
matrix to decouple the positive-sequence. Considering an input vector of voltages as
(1.29), but with only positive-sequence, v
+
abc
rotating at , a vector of two dc components
(v
+
dq
) is obtained as follows:
_
_
v
+
d
v
+
q
_
_
. .
v
+
dq
=
2
3
_
_
sin() sin(
2
3
) sin( +
2
3
)
cos() cos(
2
3
) cos( +
2
3
)
_
_
. .
P
+
_
_
_
_
_
v
+
a
v
+
b
v
+
c
_
_
_
_
_
. .
v
abc
, (1.40)
where =
_
abc
results in a vector whose components rotate at 2 [26]. On the other hand, any
other sequence (positive or negative), rotating at
d
q
+
q
v
+
d
v
dq
v
Figure 1.5: v
abc
in the SRF established by .
of frequency
1
and +
=
2
3
_
_
sin () sin ( +
2
3
) sin (
2
3
)
cos () cos ( +
2
3
) cos (
2
3
)
_
_
, (1.41)
where =
_
t + . Through P
v
0
abc
= 0
and P
v
0
abc
= 0. Therefore, zero-sequences are neglected when working with SRF based
approaches.
In this section, P
+
and P
[21]:
B
+
=
_
_
cos () sin ()
sin () cos ()
_
_
, (1.42)
B
=
_
_
cos() sin()
sin() cos()
_
_
. (1.43)
So
P
+
= B
+
C =
2
3
_
_
cos() cos(
2
3
) cos( +
2
3
)
sin() sin(
2
3
) sin( +
2
3
)
_
_
(1.44)
and
P
= B
C =
2
3
_
_
cos() cos( +
2
3
) cos(
2
3
)
sin() sin( +
2
3
) sin(
2
3
)
_
_
. (1.45)
Apparently, Park transformations (1.40) and (1.41) could seem dierent from (1.44)
and (1.45). However, they are totally equivalent, the dierence is in how to express the
v
abc
vector, either as cosine waves [24, 28] or as sine waves [29, 30]. Anyway, both
approaches lead to the same nal results and equivalent intermediate analysis.
1.4 Background on Power Quality
As stated in [31], the term power quality refers to a wide variety of electromagnetic
phenomena that characterize the voltage and current at a given time and location on
1.4 Background on Power Quality 17
the power system. This section summarizes the terminology to describe the most com-
mon events. location on the power system. This section summarizes the terminology to
describe the most common events.
1.4.1 Transients
It refers to very short duration undesirable events in the voltages, currents or power in
an electric circuit. Depending on the wave-shape of the transient, there are two categories
of transients:
1.4.1.1 Impulsive Transient
It is a sudden, non-power frequency change in the steady-state condition of volt-
age/current, that is unidirectional polarity. It is characterized by the rise and decay
times. The most common cause of impulsive transients is lighting. Due to the high fre-
quencies involved, impulsive transients are damped quickly by resistive circuit components
and are not conduced far from their source.
1.4.1.2 Oscillatory Transients
An oscillatory transient is a voltage/current whose instantaneous values change polar-
ity rapidly. It is described by its predominant frequency, duration and magnitude.
Power electronics devices produce oscillatory voltage transients as a result of commu-
tation and RLC snubbers. They are in the high kHz range and last only a few cycles of
that frequency.
Back to back capacitor energization gives rise to current oscillatory transients in the
tens of kHz.
Low frequency oscillatory transients (< 5 kHz) are present both in sub-transmission
and distribution systems mainly due to capacitor bank and transformers energization.
1.4.2 Short-duration Variations
They last more than transients: between 0.5 cycles of the fundamental frequency
(50 or 60 Hz) and 1 minute. They are mainly caused by fault conditions, energization
of large loads and intermittent loose connections in power wiring. These faults could
18 Chapter 1 Introduction
result in voltage rises (swells), voltage drops (sags) and even a complete loss of voltage
(interruptions).
1.4.2.1 Interruptions
It occurs when the supply voltage/current decreases to below 0.1 p.u.. The causes of
interruptions are power system faults, equipment failures and control malfunctions.
1.4.2.2 Sags (Dips)
As said, the term sag refers to a voltage drop. They are characterized by their mag-
nitude and duration. The terminology recommended by [31] to refer to voltage sags is a
sag to 20 %, which means that the line voltage is reduced to a 20%.
The main causes of sags are power system faults, switching of heavy loads or starting
of large motors. A very detailed work about kind of sags and causes is shown in [32].
1.4.2.3 Swells
It is an increase on the rms voltage or current at the nominal frequency. They are
also associated with system fault conditions but they are much less common than sags.
They are characterized by their magnitude and duration. Typical magnitudes are in the
range 1.1 p.u. and 1.8 p.u..
1.4.3 Long Duration Variations
Long duration variations are rms deviations lasting for more than 1 minute. They
can be either over-voltages and under-voltages, depending on the cause of the variations.
They are caused by load variations on the system and switching operations. They are
characterized by plots voltage versus time.
1.4.3.1 Over-Voltage
Over-voltages may be result of load switching (e.g. switching o a large load) or
variations in the reactive compensations of a power system (e.g. switching on a capacitor
bank). Poor system voltage regulation capabilities or controls result in over-voltages.
1.4 Background on Power Quality 19
1.4.3.2 Under-Voltage
Their causes are the opposite to over-voltage ones: e.g. a big load switching on or a
capacitor bank switching o. Overloaded circuits may lead to under-voltage, too.
1.4.3.3 Sustained Interruptions
A decrease to zero of the supply voltage for a period of time longer than 1 minute
is a sustained interruptions. They are often permanent in nature and require manual
intervention to restoration.
1.4.4 Voltage Imbalance
Voltage imbalance or unbalance is dened as the ratio of the negative or zero sequence
component to the positive-sequence component. They main causes of these zero and neg-
ative sequences are unbalanced loads causing which results in a ow of zero and negative
sequence currents.
Imbalance is estimated (expressed as %) using the expression:
voltage imbalance =
maximum deviation from average voltage
average voltage
100%. (1.46)
The main source of smooth voltage imbalance (less than 2%) is the single-phase loads
(unbalanced by denition) in three-phase circuits. Severe voltage imbalances (greater
than 5%) can result from single-phasing conditions.
1.4.5 Waveform Distortion
Waveform distortion is steady-state deviation from the ideal sinusoidal wave of funda-
mental frequency. It is well characterized by the spectral content. They are ve primary
types of waveform distortion:
1.4.5.1 Dc Oset
It is the presence of a dc voltage or current in an ac power system. Geomagnetic
disturbances and eects of half-wave rectication may lead to dc oset. Direct current in
20 Chapter 1 Introduction
ac systems has some damaging eects such as an increase in the transformer saturation,
additional stressing of insulation and others.
1.4.5.2 Harmonics
Harmonics are sinusoidal voltages or currents having frequencies that are integer mul-
tiples of the fundamental (50 or 60 Hz). Harmonics combine with the fundamental voltage
or current, and produce distortion.
The cause of harmonics is the non-linearity of devices and loads which produce current
harmonics. These current harmonic also produces voltage harmonics because of the volt-
age drops in the power system impedances. Harmonic distortion is a growing concern for
many customers and for the overall power system due to increasing application of power
electronics equipment.
Harmonic distortion levels can be characterized by the complete harmonic spectrum
(magnitudes and phases). It is also common to use to use the total harmonic distortion
(THD) [33]:
THD =
h=2
V
h
V
1
100%.
(1.47)
1.4.5.3 Inter-Harmonics
Inter-harmonics are voltage or current components with a frequency that is a non-
integral multiple of the fundamental frequency. They can appear as discrete frequencies
or as a wide-band spectrum. The main sources of inter-harmonics are static frequency
converters, cyclo-converters, induction motors and arcing devices. Their eects are still
not well studied, but it is known that they produce visual icker in display devices and
also aect to power line carrier signaling. Inter-harmonics are harmonic components at
non multiple
1.4.5.4 Notching
It is a periodic voltage disturbance caused by the normal operation of power elec-
tronics devices when there is commutation. Since notching occurs continuously it can
be characterized through the frequency spectrum; however, typical notching frequencies
1.4 Background on Power Quality 21
are high and therefore dicult to measure accurately with normal equipment. As shown
in the next chapter, notching can cause severe faults in power electronics converters for
which the control algorithm uses zero-cross detection circuits.
1.4.5.5 Noise
Noise is unwanted electrical signals with broadband spectral content lower than 200 kHz
superimposed over the power system voltages or currents. It is caused by power electronics
devices, control circuits, arcing equipment, non-linear loads and switching power supplies.
Noise phenomena is also very related with grounding. Basically, noise is any unwanted
distortion that cannot be classied as harmonics or transient.
1.4.6 Voltage Fluctuations
Voltage uctuations are systematic variations of the voltage envelope for which the
voltage range does not exceed the range 0.95 1.05 p.u..
Any load with continuous and signicant current variations, specially in the reactive
components, may cause voltage uctuations. Arc furnaces are the most common cause of
voltage variations on the transmission and distribution systems. Voltage uctuations are
dened by their rms magnitude expressed as a percent of the fundamental.
1.4.7 Power Frequency Variations
The power system frequency is directly related to the rotational speed of the generators
on the power system. At any instant, the frequency depends on the balance between
the load and the generation. When this dynamic balance changes, small changes in
frequency occur. The size of the frequency variations
2
and its duration depends on the
load characteristics and the response of the generation system to load changes.
Frequency deviations outside accepted limits for normal steady-state operation can
be caused by faults on the bulk power transmission system, a disconnection of a large
load or a disconnection of a large source of generation. Frequency variation aecting to
equipment also appear in systems powered by isolated generators.
2
The term power frequency deviations is also employed.
22 Chapter 1 Introduction
1.5 Power Electronic Converters and Applications
This section dealts with power electronic converters connected to an ac mains
3
. The
main devices, architectures, and applications are summarized in this section. A special
emphasis is put in the importance of synchronization and extraction algorithms in their
controllers.
1.5.1 Thyristor Converters
The thyristor is one of the most important types of power semiconductor devices. It
is suitable for circuits where high currents and voltages are involved. It is a four-layer
semiconductor device with three pn-juntions and three terminals: anode, cathode and
gate.
When the anode voltage is positive with respect to the cathode voltage the thyristor is
said to be in o-state condition. It can be turned on by applying a positive voltage between
gate and cathode. When the thyristor is turned on, it goes on conducting while the anode
to cathode current is above the so-called holding current; there is no inuence of the gate
signal during the on-state. When the anode to cathode voltage is negative, the thyristor
behaves like a reverse biased diode: there is not current through them (independently of
the gate signal).
Even though the thyristor characteristics show that it is a semi-controlled device, it
can be assumed as ideal switch for many applications such as the thyristor rectiers.
A rectier is a power circuit which convert ac input power to dc output power. A
thyristor rectier uses thyristor as switches. With respect to diode rectiers, a thyristor
rectier allows to control the output voltage, that is the power ow from the ac side to
the dc side, by controlling the ring instants of the thyristors gate.
1.5.1.1 Three-phase Full Rectier
Fig. 1.6 shows a 6-pulse thyristor full rectier with linear load (z
L
). The average
current through the transmission cable (
i
dc
) directly depends on the average voltage across
the dc side terminals ( v
dc
). The active power in the dc bus is P
dc
= v
dc
i
dc
.
A balanced set of input voltages can be expressed as function of the line-to-line voltage
3
Even though dc-dc conversion is a very important branch of power electronics, it is approached neither
in this section nor in this Ph.D. dissertation.
1.5 Power Electronic Converters and Applications 23
3 Phase
AC
Source
L
d
DC
Side
AC
Side
Mercury-Arc based 6-pulse
Power Electronics Rectifier
i
d
i
dc
v
dc
z
L
S1
S2
S3
S4
S5
S6
v
a
v
b
v
c
L
s
L
s
L
s
Figure 1.6: 6-pulse thyristor based rectier.
v
ll
max
as:
v
a
=
v
ll
max
3
sin(
1
t) =
v
ll
max
3
sin(
1
)
v
b
=
v
ll
max
3
sin(
1
2
3
)
v
c
=
v
ll
max
3
sin(
1
+
2
3
),
(1.48)
where
1
=
_
1
dt is the phase-angle oscillating at
1
(
1
= 0).
In normal operation, one upper and one lower thyristor of dierent branches are con-
ducing. Hence, The total number of combinations, or states, is 6. The notation used to
show in which state is the rectier is S
ij
, where i refers to the upper branch and j the
lower branch. For example, the state S
ab
refers to thyristor T1 and T4 conducing.
The switch between states is set by the ring of the thyristor. The normal operation
sequence is S
cb
S
ab
S
ac
S
bc
S
ba
S
ca
S
cb
S
ab
... and so on.
From (1.48), v
a
is the highest of the three in the range [30, 150] deg, v
b
in the range
[150, 270] deg and v
c
in the range [270, 390 (30)] deg. Moreover, v
a
is the lowest of the
three in the range [210, 330] deg, v
b
in the range [330, 450 (90)] deg and v
c
in the range
[90, 210] deg.
If diodes are used instead of thyristor, the switching time are not controlled: each
diode starts conducting when its anode to cathode voltage is positive. Table 1.1 shows
the state dependence with respect to the line phase-angle.
However, if thyristors are used, their conduction could be delayed by choosing the
desired ring angle, named ; the angle can be set in the range 0 deg < < 180 deg,
24 Chapter 1 Introduction
Table 1.1
States of diode full rectifier depending of
1
.
Range of
1
State
[0, 30] deg S
cb
[30, 90] deg S
ab
[90, 150] deg S
ac
[150, 210] deg S
bc
[210, 270] deg S
ba
[270, 330] deg S
ca
[330, 360] deg S
cb
Table 1.2
State of controlled rectifier depending of
1
and .
Range of
1
State
[0 +, 30 +] deg S
cb
[30 +, 90 +] deg S
ab
[90 +, 150 +] deg S
ac
[150 +, 210 +] deg S
bc
[210 +, 270 +] deg S
ba
[270 +, 330 +] deg S
ca
[330 +, 360 +] deg S
cb
that is when the thyristors anode to cathode voltage is positive. The switching times as
function of are the shown in table 1.2.
v
dc
can be expressed as function of and v
ll
max
:
v
dc
=
1
T
[
_
0
v
c
v
b
+
_
+pi/6
v
a
v
b
+....] =
3
v
ll
max
cos (). (1.49)
As expected, the maximum value of v
dc
corresponds with diode operation, that is
= 0 deg. The average current
i
dc
depends on v
dc
and the resistive component of z
f
(z
f
( = 0)):
i
dc
=
v
dc
z
f
( = 0)
. (1.50)
The operation of the rectier is not linear: v
dc
has ripple components over v
dc
. This
1.5 Power Electronic Converters and Applications 25
dc
v
dc
i
=0 deg.
=90 deg.
=180 deg.
Figure 1.7: Working points of the thyristor full wave rectier.
ripple is composed of even harmonic components and also aects to
i
dc
. Therefore, this
rectier is producing reactive power for any .
Fig. 1.8 shows the rectier working in dierent points. The ring instant are the
points where the switching state changes are highlighted as discontinuous lines. It is clear
the non-linear behavior of this converter and its inherent reactive power consumption for
any z
f
. The ripple is higher as lower is the module of v
dc
.
1.5.1.2 Applications of Thyristor Converters
Nowadays, with the suitability of better controllable switching devices, the use of
thyristors is in three-phase and high-power applications.
1.5.1.2.1 High Voltage dc Transmission Electrical plants generate power in the
form of ac voltages and currents. This power is transmitted to the load centers on three-
phase ac transmission lines. However, for a given quantity of power transmitted, specially
over long distances, dc transmission is more ecient [34].
Fig. 1.9 shows a simple scheme of a HVDC. In order to minimize the losses in the
transmission line due to parasitic reactances the origin ac voltages are transformed into
high dc voltages. A power converter working as rectier to convert the origin ac signal
to dc is employed. Another power converter is placed in the destination point to convert
the dc voltage to ac (inverter).
26 Chapter 1 Introduction
(a) Three-phase rectier working at = 0 deg (Diode mode).
1.955 1.965 1.97 1.975
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
=30 deg.
Sab Scb Sac Sbc Sba Sca Scb
(b) Three-phase rectier working at = 30 deg.
1.95 1.955 1.965 1.97 1.975
-1
-0.6
-0.4
-0.2
0.2
0.4
0.6
=120 deg.
Sab Sac Sbc Sba Scb
Sca
Sbc Sba
(c) Three-phase rectier working at = 120 deg.
Figure 1.8: Steady-state voltages of the thyristor three-phase full rectier.
1.5 Power Electronic Converters and Applications 27
Origin ac System Destination ac System
i
dc
Rectifier
Inverter
Figure 1.9: Simple HVDC diagram.
PLL
Comparator
Main
Control
PWM
Circuit
meas
1
ref
AC Voltage Sensor
AC
V
Order
Speed
Encoder
ac
Motor
ac
L
dc
dc
Rectifier Inverter
Figure 1.10: ac Motor controlled with Thyristor-based inverter and rectier.
1.5.1.2.2 Flexible ac Transmission Systems A Flexible Alternating Current Trans-
mission System (FACTS) is a power electronic based system and other static equipment
that provide control of one or more ac transmission system parameters to enhance con-
trollability and increase power transfer capability [35]. Thyristor based devices are a very
important part of the FACTS family.
Static VAR Compensators (SVC) provide fast-acting reactive power compensation on
high-voltage electricity transmission networks: Thyristor Controlled Reactors (TCR), and
Thyristor Switched Capacitors (TSC) are shunt-connected devices controlled with thyris-
tor which absorb/provide reactive power. SVCs are used both on bulk power transmission
circuits to regulate voltage and contribute to steady-state stability; they also are useful
when placed near high and rapidly varying loads, such as arc furnaces.
There are also series devices such as Thyristor Controlled Series Capacitors (TCSC),
Thyristor Controlled Series Reactances (TCSR), etc citeHingorani2000.
1.5.1.2.3 Ac Motor Drives Induction motors with squirrel cage rotors are very suit-
able for industry because of their low cost and robustness. When operated from the line
voltage as input, they work at constant speed and torque. However, by means of power
electronics converters, it is possible to control speed, torque and even position.
Fig. 1.10 shows a scheme used for the speed control of an ac induction motor using two
thyristor converter, one as rectier and another one as inverter. This scheme is employed
in very large power rating applications, where a very fast dynamic response is not needed.
28 Chapter 1 Introduction
The rectier converter controls the dc voltage, and the inverter controls the ac voltage
in the input of the ac motor. Varying this ac input voltage, the point of operation of the
motor (speed and torque) is controlled.
1.5.2 Pulse-Width-Modulated Converters
Pulse Width Modulation (PWM) is the more widespread technique to set both the on
and o ring signals of power converter switches.
The use of thyristors in PWM converters requires a forced commutation scheme. How-
ever, there are some other devices, which allow a better on-o switching control and are
suitable from lower to medium-high power rated applications: Insulated Gate Bipolar
Transistors (IGBTs), Metal Oxide Semiconductor Field Eect Transistors (MOSFETs),
Bipolar Junction Transistors (BJTs), etc. The main advantage of these devices with re-
spect to Thyristor is the fact that they are bidirectional in current. However, they only
block voltage in one way (unidirectional in voltage).
In general, PWM converters are suitable to work in four quadrant operation under the
power ow point of view. Owing to this exibility, PWM power converters are employed
in vast range of applications.
1.5.2.1 Overview of Modulation Techniques
A brief explanation of PWM operation is shown in this section. Lets suppose the
one-leg switch inverter of Fig 1.11. Ideal switches are considered instead of real power
electronic devices (S
+
and S
OFF v
a
=
v
dc
2
m < v
tri
S
+
OFF, S
ON v
a
=
v
dc
2
.
(1.53)
Fig. 1.12 shows the ring signal of S
+
obtained with these switching rules (S
is
the opposite to S
+
). m rotates at 50 Hz, a frequency much lower than v
tri
frequency,
f
s
= 10 kHz.
Using these switching rules, the v
a
, averaged each switching cycle, is:
v
a
= m
v
dc
2
. (1.54)
30 Chapter 1 Introduction
1 1.1 1.2 1.3 1.4 1.5
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
v
tri
m
+
Figure 1.12: Set of S
+
ring signal with sinusoidal PWM.
Fig. 1.13 shows the output of instantaneous and ltered v
a
.
Fig. 1.14 shows Fourier coecients of v
a
. It is shown how, even though the control
signal has only a 50 Hz component, v
a
has much more spectrum components. There are
relative high components around the switching frequency (and its harmonics), and, in
general, a continuous non-zero spectrum.
There are several modulation techniques for power electronic converters. E.g. SVM
algorithms, which result in dierent switching sequences and spectrum contents.
1.5.2.2 Voltage Source Converters
Voltage-source converters (VSC) with PWM modulation are, by far, the most popular
converters for ac power supplies up to a few megawatts [36]. Fig. 1.15 shows the topology
of a three-phase VSC; e
i
(i = a, b, c) is the per-phase output voltage of the VSC. The
average value of e
i
( e
i
), averaged each commutation cycle (f
s
), can be set through the
PWM or SVM techniques [16, 25].
Considering only the fundamental component of each e
i
, the power ow between the
ac mains and the dc side of the VSC, both active and reactive, can be controlled. This is
called four quadrant operation.
1.5 Power Electronic Converters and Applications 31
0.08 0.082 0.084 0.086 0.088 0.09 0.092 0.094 0.096 0.098 0.1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
0.082 0.084 0.086 0.088 0.09 0.092 0.094 0.096 0.098
v
dc
/2
m
v
tri
a
-v
dc
/2
Figure 1.13: v
a
output with sinusoidal PWM.
Figure 1.14: Fourier Components of v
a
.
32 Chapter 1 Introduction
3 Phase
AC
Source
L
d
DC
Side
AC
Side
Mercury-Arc based 6-pulse
Power Electronics Rectifier
i
d
i
d
S1
S2
S3
S4
S5
S6
v
a
v
b
v
c
v
d C
d
L
a
L
b
L
c
e
a
e
b
e
c
Figure 1.15: VSC connected to an ac source.
v
i
L
i
i
i
e
i
Figure 1.16: Per-phase representation of VSC connected to an ac source.
Fig. 1.16 is the per-phase representation of the VSC, where i means a, b or c phase, and
v
i
refers only to the supply fundamental component. The system is considered rotating
at
1
.
From Fig. 1.16 results clear that the current through L
i
(i
i
) depends on v
i
and e
i
. In
phasor notation this can be expressed as:
I
i
=
V
i
E
i
j
1
L
i
= i
max
1
, (1.55)
where
V
i
= v
max
0 and
E
i
= e
max
1
;
1
being the phase-angle oset between v
i
and e
i
4
.
From power denitions:
S = 3 v
rms
i
rms
P = 3 v
rms
i
rms
cos(
1
)
Q = 3 v
rms
i
rms
sin(
1
)
(1.56)
4
It should be noticed that the angle references can be set with respect to
V
i
.
1.5 Power Electronic Converters and Applications 33
Quadrant I
VSC absorbs active power from the grid.
VSC absorbs reactive power from the grid.
P =
Q =
Quadrant II
VSC supplies active power to the grid.
VSC absorbs reactive power from the grid.
Region III
VSC supplies active power to the grid.
VSC supplies reactive power to the grid.
Region III
VSC absorbs active power from the grid.
VSC supplies reactive power from the grid.
Figure 1.17: Complex power diagram of grid-connected VSC.
where rms values are easily obtained from the peak values as:
v
rms
=
v
max
2
i
rms
=
i
max
2
.
(1.57)
Therefore, by assessing e
max
and
1
accordingly, the energy transfer between the ac
side and dc side of the VSC can be controlled. Fig. 1.17 shows the complex plane to
represent the four quadrant operation of the VSC connected to the ac grid.
These complex power can also be represented using P and Q as axis (P Q diagram).
Fig. 1.18 shows the dierent operation points of the VSC connected to the ac mains. It
is clear that the VSC is a very exible device when connected to the grid: from the point
of view of the fundamental components, it is possible to absorb and supply active power,
but also positive and negative reactive power. It is typical to refer to the VSC as Voltage
Source Inverter (VSI) when it is working suppling active power to the ac grid, that is
dc-ac conversion.
VSCs can handle components rotating at higher frequencies than
1
, e.g. harmonics.
The maximum frequency that a VSC is able to control in steady-state is related to the
controller bandwidth. Generally, it is assumed that the VSC bandwidth is the tenth (or
eleventh) part of the PWM frequency. For example, an IGBT based VSC commutating
at 10 kHz can handle with harmonics around the 20 one (1 kHz) [37, 38]. VSCs can be
connected in series, between the ac mains and another electrical system.
34 Chapter 1 Introduction
i
E
&
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
E
&
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
E
&
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
E
&
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
E
&
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
i
V
&
si
L
V
&
si
L
I
&
1
Q
P
1
i
V
&
si
L
V
&
si
L
I
&
Q
P
1
i
E
&
i
E
&
i
E
&
Figure 1.18: P Q diagram. Operation points of grid-connected VSCs.
PLL
Comparator
Main
Control
PWM
Circuit
meas
1
ref
AC Voltage Sensor
AC
V
Order
Speed
Encoder
ac dc
Rectifier Inverter
ac
Motor
Figure 1.19: Control of induction motor by PWM-VSI with diode rectier
1.5.2.3 Applications of PWM Converters
PWM converters are employed in a vast range of applications.
1.5.2.3.1 Ac Motor Drives As said, VSC and other PWM converter topologies used
as inverter can control both frequency and magnitude of their outputs. On the other hand,
the speed of rotation of ac motors depends on the frequency of the stator voltage and the
torque on the magnitude. Therefore, it is possible to control both torque and speed of
an induction motor by means of, for example, a PWM converter as depicted in Fig. 1.19.
The ac line voltage is rectied by means of an uncontrolled diode rectier and the inverter
feeds the stator with a voltage which controls its torque and rotation speed.
1.5.2.3.2 Uninterruptible ac power supplies An uninterruptible power supply
(UPS) is a device which maintains a continuous supply of electric power to connected
1.5 Power Electronic Converters and Applications 35
equipment by supplying power from a separate source when utility power is not available.
A UPS can be used to provide uninterrupted power to equipment for 120 minutes until
a generator can be turned on or utility power is restored.
1.5.2.3.3 Power Line Conditioners A power line conditioner is a device intended
to improve the quality of the power that is delivered to electrical equipment. Power line
conditioners based on PWM converters are employed to prevent power line disturbances
from disrupting the operation of critical loads (medical equipment, industrial processes,
...).
Important power line conditioners are:
Reactive power compensator [3, 11].
Power Factor Correction: a PWM converter can be placed in parallel with the rest
of loads supplying a fundamental current so the power factor from the ac source
remains around 1 [39, 40].
Active Power Filters (APF) for harmonic compensation: the PWM converter can
be placed in series or in parallel with the protected loads, to compensate for voltage
or current harmonics [8, 4145].
Dynamic Voltage Restorer (DVR): the PWM converter is placed in series with a
sensible loads so it is prevented from voltage sags [4650].
UPSs can be considered power line conditioners since they provide protection against
all common power problems [5153].
1.5.2.3.4 Flexible ac Transmission Systems Due to the ever-increasing power
rating of PWM converters they were proposed as FACTs devices [35]. The most signicant
applications are
Static Synchronous Compensators (STATCOM). A STATCOM operates as a shunt-
connected static var compensator whose capacitive or inductive output current can
be controlled.
Static Synchronous Series Compensators (SSSC). A SSSC operates without any
external electric energy source as a series compensator whose output voltage is in
quadrature with, and controllable independently of, the line current for the purpose
of increasing or decreasing the overall reactive voltage drop across the line and
thereby controlling the transmitted electric power. The SSSC may include energy
storage to enhance the dynamic behavior of the power system.
36 Chapter 1 Introduction
Universal Power Flow Controllers (UPFC). An UPFC is a combination of a STAT-
COM and a SSSC which are coupled via a common dc-link, to allow bi-directional
ow of active power between the series output terminals of the SSSC and the shunt
output terminals of the STATCOM, and are controlled to provide concurrent real
and reactive series line compensation without any external energy source.
1.6 Control of Power Electronic Converters and Syn-
chronization
Even though analog control circuits are still being proposed and used, the clear trend
is the implementation of the control algorithms in digital devices. Current devices such as
Digital Signal Processors (DSP), Field Programmable Gate Arrays (FPGA) and Micro-
controllers allow the digital implementation of controllers for power electronics converters
[5456]. Digital implementation oers quite a lot of advantages with respect to analog
circuits, above all its exibility in the design, implementation and maintenance.
It said, the P-Q operation point of a grid-connected VSC depends on
1
. In general,
the controllers of power electronic converters implement synchronization algorithms to
assess exchanges of electrical energy. Measurements at the point of common coupling
(PCC) are made in order to estimate voltage/current absolute phase-angles (
v
1
and/or
i
1
). In this work, the estimated values have a hat: e.g. the estimated value of
v
1
is
expressed as
v
1
. Estimated values are employed to assess
1
and hence, the P-Q operation
point.
Fig. 1.20 shows a simplied scheme of dc-link voltage (v
dc
) feedback controller using a
PI lter and SRFs obtained through the Park transformation (P
+
1
). The phase-angle for
P
+
1
generation is obtained from a synchronization block (
v
1
). Assuming perfect tracking
(
v
1
=
v
1
) the grid current (i
abc
) is in-phase with the grid voltage (v
abc
), so there is only
active power ow from the PCC to the dc-link.
Dc-link voltage controllers are implemented in a wide range of applications, where
capacitors are employed as energy storage device; e.g.:
Power Line Conditioners [16, 4144].
Controlled Rectiers with a high power factor [16, 26, 5759].
Motor Drives [60].
FACTs devices [35].
Using the values of table 1.3, the dc controller has been simulated in order to show
the role of the synchronization algorithm.
1.6 Control of Power Electronic Converters and Synchronization 37
Synch.
Controller circuit
P
1
+
Variable
Delay
SRF
Current
Regulator
ac Voltage
Sensors
dc
Side
ac
Side
External
references
L
r
v
dc
i
abc
v
dc
v
dc
*
PI
i
q1
+*
=0
i
d1
+*
i
q1
+
i
d1
+
v
abc
Firing
Signals
-
+
Voltage
Sensor
Current
Sensors
VSC
C
dc
Z
L
v
abc
i
abc
Digital Controller
v
1
)
PCC
Figure 1.20: Simplied dc-link voltage control loop of VSC.
Table 1.3
VSC based Rectifier Values.
v
max
1 p.u.
v
dc
1.5 p.u.
C
dc
3 p.u. at 50 Hz
Z
L
(resistive) 1 p.u.
Voltage Regulator 50 Hz
Bandwidth
Current Regulator
Bandwidth
38 Chapter 1 Introduction
5.01 5.02 5.03 5.04 5.06 5.07 5.08 5.09 5.1
-1
-0.5
0.5
5.01 5.02 5.03 5.04 5.06 5.07 5.08 5.09 5.1
-1.5
-1
-0.5
0.5
Figure 1.21: VSC operation in steady-state. Eect of phase-error.
Fig. 1.21 shows steady-state voltages/currents of the power system for perfect tracking
(dotted) and when there is a constant steady-state phase error (
1e
=
v
1
v
1
) of
14 deg (solid). The eect of non-zero phase-error is a displacement power factor cos(
1
)
reduction, both for single-phase and three-phase systems. A cos(
1
) = 1 results in Q = 0,
so higher rated currents are needed to maintain the bus voltage at the reference value
(v
dc
). Therefore, average steady state phase error (
1e
)
5
should be canceled to get an
optimized real-time controller.
Fig. 1.22 shows steady-state voltages/currents when there is ripple of 2
th
harmonic
over the phase estimation. As shown, ripple in the measurement infers also ripple in i
abc
and v
dc
6
. Therefore, noise in phase estimation reduces the whole performance of the
5
Even though in PWM/SVM the average values are averaged each cycle of f
s
, in synchronization the
averaging is related to f
1
.
6
The frequency of v
dc
ripple is 4
1
, not 2
1
.
1.6 Control of Power Electronic Converters and Synchronization 39
5.01 5.02 5.03 5.04 5.06 5.07 5.08 5.09 5.1
1.499
1.4992
1.4994
1.4996
1.4998
1.5
1.5002
1.5004
1.5006
1.5008
1.501
1
1 1
Figure 1.22: VSC operation in steady-state. Eect of ripple in
1
.
dc-link controller.
A comparative between a relatively fast and a slow synchronization block is provided
in Fig. 1.23. As expected, the system with a faster estimation recovers rst the steady-
state, and the v
dc
maximum deviation from its nominal or reference value (v
dc
) is minor.
This second point may be critical in some systems, since power electronic converters
experiment malfunctions when the dc-link voltage is lower than a threshold value.
From this signicant examples, it results clear the important role of synchronization
in the control of grid-connected power electronic converters. The performance of the
synchronization block is critical in very fast responding applications as well as for high
power rated systems.
40 Chapter 1 Introduction
13.98 13.985 13.99 13.995 14.005 14.01 14.015 14.025 14.03
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
13.9 14.1 14.2 14.3 14.4 14.6 14.7 14.8
1.3
1.35
1.4
1.45
1.55
1.6
13.9 14.1 14.2 14.3 14.4 14.6 14.7 14.8
-20
-10
10
20
30
50
a
b
c
1
1
dc
dc
Figure 1.23: VSC operation during a transient. Eect of the re-tracking speed.
1.7 Structure of the Document 41
1.7 Structure of the Document
This work is organized as follows.
1.7.1 Chapter 2: State-of-the-Art in Grid Synchronization
This chapter provides an in-depth study of the state-of-art in grid synchronization.
The most signicant proposals in the eld are analyzed, making special emphasis in pros
and cons of each one. The study starts with the most simple strategies such as the zero-
cross detectors and their big limitation dealing with power quality phenomena. Next, the
proposal of using a VCO inside the controller of a power converter (PLO system) proposed
for the rst HVDC systems is deeply analyzed. The PLO based HVDC successfully
handle with the harmonic instability problem. Subsequently, the study of dierent PLLs
is provided, making special emphasis in the PLLs implemented in digital devices such
as the SRF-PLL. In the following section, some interesting alternatives to PLLs, such
as the use of FIR and stochastic lters in SRFs, are analyzed. Finally, the frequency
adaptability is studied for each synchronization technique. Besides this deep State-of-art
study, some sections of this chapter are novel contributions of this dissertation. More
specically, the schemes based on SRFs and Moving Average Filters (MAFs), as well as
frequency adaptation techniques.
1.7.2 Chapter 3: Dynamics Study of Low-Gain PLLs
Chapter 3 is devoted to digital PLLs design. In a general way, PLLs with a low
bandwidth (low-gain PLLs) are required when handling with distorted voltages. It is
analytically demonstrated that low-gain PLLs have more trade-os than high-gain PLLs
(e.g. PLLs for communications): it is not possible to optimize the settling time for a
phase-jump without getting slower the PLL response to frequency variations. Existing
tuning methods do not take into account low-gain features, which may result in non-
optimum designs. An intuitive tuning methodology based on inspection of frequency-
domain diagrams is contributed in this chapter. Contrary to the other existing tuning
methods, it takes into account low-gain dynamics. It is assured an optimized performance
in the presence of any kind of disturbances in the grid. In the second part of the chapter,
the DCO based on a RC oscillator is presented: the digital model of a sinusoidal oscillator
is implemented, instead of explicit trigonometric functions. This solution reduces the
needed digital resources without reducing the performance, which could be specially useful
for DSP-based control of power converters.
42 Chapter 1 Introduction
1.7.3 Chapter 4: Predictive based SRF-MAF Synchronization
Algorithms
Chapter 4 presents a novel open-loop synchronization system, designed from SRF-
MAF schemes. Accurate measurements of phase, frequency and amplitude are carried
out in real-time.
Previous works establish that the fundamental positive-sequence vector of a set of
utility voltage/current vectors can be decoupled using Park transformations and low pass
lters. However, the ltering process introduces delays that impair the system perfor-
mance. More specically, when there is grid frequency deviations, a non zero average
steady-state phase error appears in the measurements.
To overcome such limitations, a suitable combination of predictive and moving av-
erage FIR lters is proposed to achieve a robust synchronization system for all input
frequencies. MAFs are linear phase FIR lters which have a constant time delay at low
frequencies. A characteristic which is exploited to good eect to design a predictive lter
which compensates such time delays, enabling zero steady-state phase errors for shifted
input frequencies.
In summary, the main attributes of the new system are its good frequency adaptation,
good ltering/transient response trade-o and the fact that its dynamics is independent of
the input vector amplitude. Comprehensive experimental results validate the theoretical
approach and the high performance of the proposed synchronization algorithm.
1.7.4 Chapter 5: Frequency Adaptive PR Current Controller
for APFs
Chapter 5 shows experimental results of an Active Power Filter implementation. A
feedforward control scheme has been implemented, where the main parts are the SRF-
MAFs extraction algorithms working together a proportional-resonant (PR) based current
regulator which assures perfect tracking at the selected harmonics. The resonant blocks
are tuned using frequency domain techniques. In order to get frequency adaptation, that
is, perfect tracking for any input frequency, the dierence equation implementing each
resonant block depends explicitly on the frequency deviation. This frequency deviation
is estimated from a PLL. An in-depth study of the optimized implementation and prac-
tical considerations about the resonant controllers are contributed. Experimental results
obtained from a 1 kVA rated laboratory prototype prove the accuracy of the theoretical
approaches and the feasibility for industrial applications such as power line conditioners
and distributed power generation.
1.7 Structure of the Document 43
1.7.5 Chapter 6: Conclusions and Future Work
The main contributions of this work are reviewed in the last chapter. An outline of
programmed future works is also provided.
44 Chapter 1 Introduction
Chapter 2
State-of-the-Art in Grid
Synchronization
Abstract
The control of the power ow between a grid-connected power converter and the ac-mains
requires an online tracking of the fundamental component voltage (or current) phase-angle.
The very rst synchronization schemes were based on an open loop estimation of the phase-
angle from the observation of zero-crosses. However, the presence of power quality phenomena,
specially in weak-grids, led to malfunctions in zero-cross based controllers. The introduction
of voltage controlled oscillators (VCOs) resulted in more robust controllers such as the Phase
Locked Oscillator (PLO) system and the Charge-Pump Phase Locked Loops (CP-PLL).
With the suitability of discrete devices such as micro-controllers the number of synchroniza-
tion algorithms and ltering techniques has grown drastically, in parallel with the appearance of
high performance applications (high bandwidth) and new technical requirements in elds such as
renewable energy applications, traction systems and power line conditioners. Digital Phase locked
Loops (PLL) and algorithms implementing stochastic and/or FIR lters are clear examples of
the high performance oered by digital implementation.
However, the research in the synchronization eld cannot be considered complete at all. The
appearance of new applications and/or technical requirements of existing ones would need the
development of specic solutions. A review in synchronization strategies for power converters is
contributed in this chapter.
Even though the main part of this chapter is devoted to synchronization with fundamen-
tal component vectors, the issues of harmonics and negative-sequences extraction are also ap-
proached, since to synchronize with those components is required in several applications.
It should be noticed that, even though this chapter may seem to be presented in a temporal-line
manner, many of the approaches have coexisted since their proposal to nowadays.
45
46 Chapter 2 State-of-the-Art in Grid Synchronization
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
0
0
0
0
0
0
0
0
0
Output Input
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
V
V
V V+
V- V+
V-
V V
V
V
R5
1k
R5
1k
V8
FREQ = 50
VAMPL = 25
VOFF = 0
V8
FREQ = 50
VAMPL = 25
VOFF = 0
V9
TD = 0.0015
TF = 1u
PW = 0.0001
PER = 0.02
V1 = 0
TR = 1u
V2 = -30
V9
TD = 0.0015
TF = 1u
PW = 0.0001
PER = 0.02
V1 = 0
TR = 1u
V2 = -30
QbreakN
Q4
QbreakN
Q4
R3
1k
R3
1k
C1
1000u
C1
1000u
V4
FREQ = 50
VAMPL = 25
VOFF = 0
V4
FREQ = 50
VAMPL = 25
VOFF = 0
Dgen
D1
Dgen
D1
R8
1k
R8
1k
Dbreak
D10
Dbreak
D10
R6
1k
R6
1k
Dgen
D2
Dgen
D2
Dbreak
D7
Dbreak
D7
Dbreak
D12
Dbreak
D12
QgenN
Q1
QgenN
Q1
V10
TD = 0.0115
TF = 1u
PW = 0.0001
PER = 0.02
V1 = 0
TR = 1u
V2 = 30
V10
TD = 0.0115
TF = 1u
PW = 0.0001
PER = 0.02
V1 = 0
TR = 1u
V2 = 30
R9
1k
R9
1k
VAC2 VAC2
V2
FREQ = 50
VAMPL = 25
VOFF = 0
V2
FREQ = 50
VAMPL = 25
VOFF = 0
Dbreak
D9
Dbreak
D9
V6
FREQ = 250
VAMPL = 5
VOFF = 0
V6
FREQ = 250
VAMPL = 5
VOFF = 0
Dbreak
D11
Dbreak
D11
R2
1k
R2
1k
R1
100k
R1
100k
Dgen
D3
Dgen
D3
VAC1
FREQ = 50Hz
VAMPL = 21.2V
VAC1
FREQ = 50Hz
VAMPL = 21.2V
Dbreak
D8
Dbreak
D8
C3
1000u
C3
1000u
R4
100k
R4
100k
V7
FREQ = 50
VAMPL = 25
VOFF = 0
V7
FREQ = 50
VAMPL = 25
VOFF = 0
C2
1000u
C2
1000u
V5
FREQ = 250
VAMPL = 5
VOFF = 0
V5
FREQ = 250
VAMPL = 5
VOFF = 0
R7
100k
R7
100k
QbreakN
Q5
QbreakN
Q5
(a) Simple analog zero-cross detector circuit.
0 0.01 0.02 0.03 0.04 0.05 0.06
-25
-20
-15
-10
-5
0
5
10
15
20
25
Time (s)
V
o
l
t
a
g
e
(
V
)
V(input)
V(output)
(b) Key waves for a sinusoidal input wave.
Figure 2.1: Zero-cross detector example.
2.1 Methods based on Zero-Cross Detection
A zero-cross detector is a circuit which detects the transition of a signal waveform
from negative and positive, and vice versa, providing a narrow pulse that coincides with
the zero voltage condition.
When using with ac networks, zero-cross detectors obtain the information of the phase-
angle: 0 deg and 180 deg coincide with the pulses at the outputs.
In Fig. 2.1 an example of analog zero-cross detector connected to the utility grid is
shown. The input wave is supposed to be obtained from the secondary of a 220/15 V and
50 Hz transformer. The transistor Q1 is polarized in the active zone except during the
zero crosses. Under such a situation Q1 is in cut-o. As there is no current through Q1,
the voltage in the output is a bit lower than the peak value of the input voltage.
Fig. 2.1b shows the result of a time domain simulation, obtained with PSPICE, when
the input wave is ideal. As expected, the output has pulses during the zeros crosses.
2.1 Methods based on Zero-Cross Detection 47
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
0
0
0
Input
Output
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Friday, June 27, 2008
V
V
+
-
OUT
U1
OPAMP
U1
OPAMP
R1
1k
R1
1k
R2
1k
R2
1k
VAC1
FREQ = 50Hz
VAMPL = 21.2V
VAC1
FREQ = 50Hz
VAMPL = 21.2V
(a) Simple analog zero-cross detector circuit.
0 0.01 0.02 0.03 0.04 0.05 0.06
-25
-20
-15
-10
-5
0
5
10
15
20
25
Time (s)
V
o
l
t
a
g
e
(
V
)
V(input)
V(output)
(b) Key waves for a sinusoidal input wave.
Figure 2.2: OA based zero-cross detector example.
Moreover, as the input wave frequency is just 50 Hz, the phase between zero crosses can
be extrapolated by means a multi-vibrator delay circuit or a digital counter [61].
The zero-cross detector circuit works per-phase. In three-phase systems it is common
to use one zero-cross circuit per-phase. A simpler solution is to use the phase-angle
extrapolated from one phase to set the zero crosses of the other phases, assuming balanced
conditions. The circuit of Fig. 2.1a can be easily adapted to obtain separate signals for
the zero-crosses at 0 deg and 180 deg; another transistor is needed.
The operational amplier (OA) has been widely used for zero-cross detection. Fig. 2.2a
shows a simple circuit of zero-cross detection using an OA. Fig. 2.2b shows the result of
the time domain PSPICE simulation. When the input signal is sinusoidal, a square wave
in-phase with the input signal is obtained.
48 Chapter 2 State-of-the-Art in Grid Synchronization
Origin ac System Destination ac System
i
dc
Rectifier
Inverter
Figure 2.3: Simple HVDC diagram.
2.1.1 The First High-Voltage Direct Current Systems
The rst implementation of power converters handling high power ows can be placed
in time with the high-voltage direct current systems (HVDC). HVDCs were initially used
to transmit large amounts of power between two ac systems over long distances. The
rst commercial HVDC was developed between 1950 and 1954 in Sweden connecting the
Swedish island of Gotland with mainland. At that time, silicon devices were not suitable
for such a high power, so power converters were based on mercury-arc valves [62]. The
ring of these mercury-arc valves were equivalent to thyristor ring.
Fig. 2.3 shows a simple scheme of a HVDC. In order to minimize the losses in the
transmission line due to parasitic reactances, the origin ac voltages are transformed into
high dc voltages. A power converter is used working as rectier to convert the origin ac
signal to dc. Another power converter is placed in the destination point to convert the dc
voltage to ac (inverter).
The control of a HVDC system is quite complex and requires many controllers includ-
ing steady-state operation and protection against transients; this subsection is focused in
the steady-state operation.
The most widely method employed to control the average
1
power ow from the origin
ac side to the dc bus is the so-called constant current (CC). The average value of the
rectier current (
i
dc
) is controlled through the ring angle .
2.1.1.1 Constant- Method
These rst rectier controllers were based on the so-called constant- and inverse-
cosine methods. Fig. 2.4a shows a simplied scheme of the constant- method.
The control scheme is a circuit which implements a zero-cross detector and a variable
1
averaged each cycle of the fundamental f
1
.
2.1 Methods based on Zero-Cross Detection 49
Per-valve
Zero-cross
detection
circuits
Controller circuit
Controlled
variable
delay
circuits
Firing
circuits
Per-phase
AC Voltage
Sensors
DC
Side
AC
Side
Mercury-Arc based 6-pulse
Power Electronics Rectifier
L
d
i
dc
v
dc
(external ref)
i
dc
*
(a) Constant- rectier control scheme.
Per-valve
Zero-cross
detection
circuits
Controller circuit
Firing
circuits
Per-phase
AC Voltage
Sensors
DC
Side
AC
Side
Mercury-Arc based 6-pulse
Power Electronics Rectifier
(external ref)
L
d
i
dc
v
dc
Per-valve
phase-lag
network
and
comparator
i
dc
*
(b) Inverse-cosine rectier control scheme.
Figure 2.4: Constant- vs Inverse-Cosine HVDCs.
delay circuit per valve. The zero-cross detection circuits should detect separately 0 deg
and 180 deg zero crosses: 0 deg cross for upper valves and 180 deg for the lower ones. The
angle is controlled externally (angle reference) which controls the delay of the variable
delay circuits.
2.1.1.2 Inverse-Cosine Method
The basic principle is that the delay angle can be obtained from the crossing point of
an associated cosine-wave with a control reference voltage at a comparator. The cosine-
wave is obtained from a phase-lag network so the output of that network has a peak at
the delay angle () equal to zero [63]. The ring pulse is generated at the point at which
the cosine-wave is equal to the control voltage (v
r
), which is directly proportional to
i
dc
.
e
max
being the peak of the cosine-wave, the ring condition is set by the equation:
cos() = v
r
/e
max
. (2.1)
Fig. 2.4b shows a simplied scheme of the constant- method. The main advantage
of this method is the fact that v
dc
varies linearly with v
r
.
2.1.2 Drawbacks of Zero-cross Detectors
Even though this circuit obtains good results for a lot of applications, the growing up
concern about power quality problems have led to consider other high performance solu-
tions. The main problems of zero-cross detectors are well summarized in [64]: harmonics
and noise.
50 Chapter 2 State-of-the-Art in Grid Synchronization
Fig. 2.5a shows the results of the time domain SPICE simulation when the input
wave has a 20% of 5
th
harmonic over the fundamental. As said, this harmonic changes
the zero-cross detection points, so there is non zero average phase error in steady-state.
With regard to the control of power converters, this error could easily lead to instability
and malfunction [65].
Fig. 2.5b shows the results of the time domain SPICE simulation when the input wave
contains notches. There are misleading zero-cross detections due to the notching, which
result in very high phase error.
Another drawback appears when considering input wave transients. Zero-cross de-
tectors only estimate the phase-angle one or two times per cycle, so when a phase-angle
jump occurs is not detected until the next zero-cross. Moreover, zero-cross detectors do
not provide frequency estimation or adaptation, which could lead to malfunctions in the
presence of frequency deviations.
2.1.2.1 Improvements in Zero-cross Detectors
In order to improve the performance in the zero-cross detection, some simple but
practical actions have been proposed, e.g.:
In three-phase circuits a common practice has been to lter the b phase and
extrapolate the a phase from the ltered signal [66].
In order to deal with frequency variation in applications of motor control, some
enhanced zero-cross detector circuits have been contributed [67, 68].
With the suitability of digital devices implementing discrete operation, the possi-
bility of digital ltering resulted in a vast range of ltering alternatives. e.g. in [69]
the fundamental component is reconstructed from a notching wave, assuming that
the short-circuit parameters are known; in [70] an 11
th
order FIR lter is proposed
to cancel out harmonics.
However, digital implementation makes suitable the implementation of algorithms with
a much higher performance than these based on zero-cross detectors. The suitability of
implementing trigonometric functions, multipliers, IIR and FIR lters, etc, gives much
more versatility than analog integrated circuits (ICs), as shown below.
2.1.2.2 Harmonic Instability of Zero-cross based HVDCs
Nowadays, it is well known that zero-cross detectors implementation in systems con-
taining harmonics could lead to malfunctions. It was in a work published by J. D.
2.1 Methods based on Zero-Cross Detection 51
0 0.01 0.02 0.03 0.04 0.05 0.06
-30
-20
-10
0
10
20
30
Time (s)
V
o
l
t
a
g
e
(
V
)
V(input)
Fundamental
of V(input)
Detected
Zero cross
Real
Zero cross
(a) Key gures under harmonic contaminated input.
0 0.01 0.02 0.03 0.04 0.05 0.06
-25
-20
-15
-10
-5
0
5
10
15
20
25
Time (s)
V
o
l
t
a
g
e
(
V
)
V(input)
Misleading
zero-cross
detection
Good
zero-cross
detection
(b) Key waves for a input wave with notches.
Figure 2.5: Main drawbacks of zero-cross detectors.
52 Chapter 2 State-of-the-Art in Grid Synchronization
DC
Side
AC
Side
Thyristor or Mercury-arc valves
Controlled Power Electronics Converter
AC
Source
X
s
X
r
Figure 2.6: Weak Grid. Short circuit ratio X
r
/X
s
3 6.
Ainsworth in 1967 [65], when a problem called harmonic instability was reported
2
.
Harmonic instability occurs when the rectier was connected to a weak system, a
system for which the short-circuit ratio (X
r
/X
s
) is low: e.g. in the range 3 to 6 [71].
The harmonic instability is a problem that is characterized by magnication of non-
characteristic harmonics (= 5, 7, 11, 13) in steady-state. This is due to the fact that any
distortion in the ac side such as unbalance and harmonics aects to the ring instants.
This leads to a situation where the ring instants are not equidistant in steady-state
and to the generation of non-characteristic harmonics. The problem of generation of
non-characteristic harmonics could be even aggravated if some of that harmonics are in
parallel resonance with the circuit [34, 65].
In order to overcome the problem of harmonic instability, passive lters were proposed,
but it was an insucient alternative [34]. The real milestone in the control of the HVDC,
and indeed in the control of power electronic converters was the Ainsworth proposal of [1]:
the ring instants are independent from voltage zero-crosses through a voltage controlled
oscillator (VCO) inside the control loop. This proposal is deeply analyzed in section 2.2.
2.2 Phase-Locked Oscillator Control Systems
A surprising novel scheme for the control of power converters was contributed by J.
D. Ainsworth in [1]: the phase-locked oscillator (PLO) control system. The work of
Ainsworth is related with the need of a robust controller for HVDC systems connected to
weak ac grids, a problem he had posed in his previous paper [65].
The rst PLO was a control system for the HVDC rectier. Under ideal operation
conditions and during steady-state, this converter produces 5
th
, 7
th
, 11
th
, 13
th
, etc har-
monics in the ac side and 6
th
, 12
th
, etc in the dc side. Moreover, other harmonics may
2
Harmonic instability does not mean instability in a feedback control system.
2.2 Phase-Locked Oscillator Control Systems 53
DC
Side
AC
Side
Thyristor or Mercury-arc valves
Controlled Power Electronics Converter
X
s
X
r
Current
Sensor
VCO
L
d
z
L
a
-
+
-
+
C
2
C
1
R
1
i
dc
*
i
dc
Firing
Signals
1
v
co
v
dc
Figure 2.7: Scheme of the PLO controller for the HVDC rectier proposed in [1].
also appear if unbalance and timing errors in the control systems are considered. The
presence of voltage harmonics in the ac side is higher as higher is the impedance between
the power converter and the generation (weak system) [65, 71]. The problem of those
converters working in a weak grid is the dependence of the control from the measure-
ment of the ac voltages, which could result in harmonic instability. Ainsworth proposed
a closed-loop controller containing a voltage controlled oscillator (VCO) in order to reject
the harmonics eect.
Fig. 2.7 depicts a PLO simplied scheme. The inductance current (i
dc
) is controlled in
a closed loop; i
dc
being its reference value. An analog lter is placed after the comparator;
the output of this lter is the input voltage of the VCO (v
co
). The VCO generates
output pulses at a repetition frequency six times the system voltages/currents fundamental
frequency; the frequency of the VCO output signal implicitly represents the estimated
fundamental frequency (
1
). The output pulses, generated through a ring counter, are
employed to re the thyristors/valves. When there is a positive dierence in the output of
the comparator, the v
co
voltage tends to rise and, therefore,
1
increases, so is reduced.
For negative dierence, the behavior is the opposite one.
2.2.1 PLO Linearization
Even though Fig. 2.7 represents a quite simplied model of the PLO system, it has
a very non-linear behavior. This subsection describes a linearization of the PLO system.
The linearization of the PLO was made by Ekstrom and Liss in [72], and, even though
Ainsworth was skeptical with this procedure (see discussion of [72]), nowadays it is clear
that linearization is a powerful tool to describe non-linear systems.
The average value of the voltage in the dc link ( v
dc
) is function of the line to line peak
54 Chapter 2 State-of-the-Art in Grid Synchronization
voltage (v
ll
max
) and the ring angle :
v
dc
=
3
v
ll
max
cos() = v
dc
max
cos(), (2.2)
where v
dc
max
=
3
v
ll
max
.
Lets suppose a perturbation in the ring angle << 1, a small change in v
dc
(v
dc
)
is supposed. By introducing and v
dc
in (2.2)
v
dc
= v
dc
max
sin() sin(), (2.3)
which can be approximated to
v
dc
= v
dc
max
sin() . (2.4)
is function of the dierence between
1
and
1
, during a time t:
= (
1
1
) t =
1
t, (2.5)
and, in the Laplace domain,
=
1
s
. (2.6)
Therefore,
v
dc
= v
dc
max
sin()
1
s
, (2.7)
which goes on being a non linear equivalence.
The relation between v
dc
and i
dc
depends on the inductance L
d
and the load impedance
(z
L
):
i
dc
=
v
dc
L
d
s +z
L
. (2.8)
Linking (2.4) and (2.8),
i
dc
=
v
dc
max
sin()
1
s
L
d
s +z
L
. (2.9)
2.2 Phase-Locked Oscillator Control Systems 55
) (
1 1
2 1 1 2 1
1 2
C C s R C C
s R C
s + +
+
t t g vco
e
s
K
) (
L d
d
z s L
v
+
) sin(
max
+
-
VCO and Firing Circuit Rectifier circuit
PLANT CONTROLLER
1
dc
i
*
dc
i
Analog filter
Figure 2.8: Equivalent block diagram of PLO circuit and control.
1
has a linear relation with the input of the VCO:
1
= K
vco
v
co
, (2.10)
so
i
dc
=
v
dc
max
sin()
K
vco
v
co
s
L
d
s +z
L
. (2.11)
Ainsworth designed a controller for the plant set by (2.11). This equation is non linear;
the plant depends on the ring angle through sin(). Another source of non linearity is
due to the fact that the controller only acts at 60 deg intervals, that is, there is a time
dependent delay function, which should be considered in the design of a controller.
The controller proposed by Ainsworth was:
C(s) =
C
2
R
1
s + 1
C
2
C
1
R
1
s + (C
2
+C
1
)
K
c
s
(2.12)
K
c
being a constant. Fig. 2.8 shows the control block diagram of the PLO.
In order to study the dynamics of the system, this model should be evaluated in all
the range of possible values of . In [1] the minimum was 5 deg. It is clear that, the
lower , the lower the gain of the loop.
As pointed by Ainsworth the circuit in steady state is always in the range [0, 180] deg.
This implies in practice that
1
1
so
g(t)
1
6 f
1n
. (2.13)
Therefore, the ring delay can be modeled taken into account the worst case: the
delay is maximum (
1
6f
1n
) (Fig. 2.9).
56 Chapter 2 State-of-the-Art in Grid Synchronization
) (
1
2 1 1 2 1
1 2
C C s R C C
s R C
s
K
c
+ +
+
t
f vco n
e
s
K
1
6
1
L d
d
z s L
v
+
) sin(
max
+
-
VCO and Firing Circuit Rectifier circuit
PLANT CONTROLLER
1
dc
i
*
dc
i
Analog filter
Figure 2.9: Equivalent block diagram of PLO circuit and controller for ring maximum
delay.
Table 2.1
HVDC values.
v
dc
max
1 p.u.
z
L
(Resistive) 1 p.u.
L
d
1/(10 ) p.u.
The tuning of the PLO controller presents several diculties. In sum:
The plant changes with sin().
It has two poles at the origin. The phase versus frequency response is 180 deg at
dc.
The introduced delay tends to lag the phase, reducing the phase margin (PM).
There are another two poles: one at (C
1
+C
2
)/C
1
C
2
R
1
rad/s due to the con-
troller and another at z
L
/L
d
rad/s due to the plant.
There is only a zero due to the controller in 1/(C
2
R
1
) rad/s.
In order to avoid a negative phase margin for very low frequencies and, therefore, to
have an unstable system, the controller should have its zero very near to the origin. The
bandwidth of the system is limited by the second pole of the controller.
2.2.1.1 Design Example
A more in-depth study of a model would require the knowledge of the practical sys-
tem values employed by Ainsworth. In this section, an example of the PLO system is
contributed in order to show its performance
3
.
The most important data of this table is the relation between z
L
and the equivalent
inductance L
d
, because this relation sets a pole in the plant. The controller parameters
of the example are shown in table 2.2.
2.2 Phase-Locked Oscillator Control Systems 57
Table 2.2
Controller Values.
R
1
100 k
C
1
100 pF
C
2
100 F
range [5, 90] deg
K
c
10
5
K
vco
100 rad/V
10
-3
10
-2
10
-1
10
0
10
1
10
2
-300
-250
-200
-150
-100
-50
0
-180
Frequency (Hz)
P
h
a
s
e
(
d
e
g
)
10
-3
10
-2
10
-1
10
0
10
1
10
2
-200
-100
0
100
200
300
M
a
g
n
i
t
u
d
e
(
d
B
)
Delay
Delay
Plant
Plant
Controller
Controller
Total
Total
(a) Equivalent linearized model for = 5 deg.
PM = 66.5 deg, at 1.35 Hz.
10
-3
10
-2
10
-1
10
0
10
1
10
2
-200
-100
0
100
200
300
A
m
p
l
i
t
u
d
e
(
d
B
)
Controller
10
-3
10
-2
10
-1
10
0
10
1
10
2
-300
-250
-200
-150
-100
-50
0
-180
Frequency (Hz)
P
h
a
s
e
(
d
e
g
)
Total
Delay
Total
Delay
Plant
Plant
Controller
(b) Equivalent linearized model for = 90 deg.
PM = 19.92 deg, at 8.25 Hz.
Figure 2.10: PLO equivalent model at dierent values.
58 Chapter 2 State-of-the-Art in Grid Synchronization
0.5 1.5 2 2.5 3 3.5 4 4.5
0.89
0.91
0.92
0.93
0.94
(a) PLO Start-up. Step in i
dc
from 0.9 p.u. to
0.95 p.u..
1 1.5 2 2.5 3 3.5 4 4.5
0.45
0.55
0.6
0.65
0.75
(b) PLO Start-up. Step in i
dc
from 0.55 p.u. to
0.5 p.u..
Figure 2.11: Start-up simulation of PLO for dierent i
dc
(dotted), i
dc
is the blue line.
As shown in Figs. 2.10 it is possible to tune a controller stable for all the range. As
pointed by Ekstrom in [72], for higher values the system is dicult to stabilize. In fact,
the PM for = 90 deg is very small. But, on the other hand, as pointed by Ainsworth
in the discussion of [72], it is also true that for lower values the tuning becomes more
concerning since the bandwidth becomes very small and the system could easily go out
from normal operation.
From Figs. 2.10 an important feature of the PLO is observed. The magnitude gain
decreases very fast with the frequency, so it is expected a good current harmonic cancel-
lation.
The simplied scheme of Fig. 2.7 with the parameters and component values of
table 2.2 has been simulated through the PLO Matlab scripts of appendix (from A.1
to A.3).
Fig. 2.11 shows the start-up for a the PLO working in dierent points (). After the
initial transient the current reference is perfectly tracked. Fig. 2.11a shows the start-
up when is 18.2 deg. In such a situation, the output current in steady-state should
be 0.95 p.u.. Fig. 2.11b shows the start-up when is 60 deg, so the output current in
steady-state should be 0.5 p.u.. A comparative between both gures shows how for lower
the overshoot is lower, since the PM is higher. Higher results in a shorter rise time
but with a higher overshoot, since the PM is shorter. These results are expected from
Figs. 2.10.
Figs. 2.12 show the system voltages when steady-state is reached for both cases shown
in Fig. 2.11. As z
L
has been chosen to be 1 p.u. pure resistive, v
dc
should be equal to
i
dc
.
Figs. 2.13 show the results of a simulation when the voltages system is unbalanced
both in amplitudes and angles. Specically the phase to neutral voltages of the test have
3
Component values and tests made in this section may dier from rst PLO tests.
2.2 Phase-Locked Oscillator Control Systems 59
5.95 5.955 5.96 5.965 5.97 5.975 5.98 5.985 5.99 5.995 6
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0.95
Vdc
Vdc
Va
Vb
Vc
(a) Steady state voltages for Fig. 2.11a.
5.95
5.955 5.96 5.965 5.97 5.975 5.98 5.985 5.99 5.995
6
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0.5
Vdc Vdc
Va Vb Vc
(b) Steady state voltages for Fig. 2.11b.
Figure 2.12: Steady-state system voltages for Figs. 2.12.
1 1.5 2 2.5 3 3.5 4 4.5
0.66
0.68
0.72
0.74
0.76
0.78
(a) PLO Start-up for an unbalanced set of voltages.
Step in i
dc
(dotted) from 0.8 p.u. to 0.7 p.u., i
dc
is
the blue line.
5.95 5.955 5.96 5.965 5.97 5.975 5.98 5.985 5.99 5.995 6
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0.7
Vdc Vdc
Va
Vb
Vc
(b) Steady state voltages for Fig. 2.12b.
Figure 2.13: PLO tested under a very unbalanced system of voltages.
the expression
v
a
= 1 sin(
1n
t)
v
b
= 0.8 sin(
1n
t (2 pi/3 + 0.1))
v
c
= 0.9 sin(
1n
t + (2 pi/3 + 0.1)).
(2.14)
Perfect tracking under unbalanced conditions is observed; the PLO rejects voltage
unbalance eects.
Figs. 2.14 show the results of a simulation when the voltages system is unbalanced
both in amplitudes and angles and also very distorted by harmonics. Specically, the
phase to neutral voltages of the test have been:
60 Chapter 2 State-of-the-Art in Grid Synchronization
1 1.5 2 2.5 3 3.5 4 4.5
0.68
0.72
0.74
0.76
0.78
0.82
0.84
(a) PLO Start-up for an unbalanced set of voltages.
Step in i
dc
(dotted) from 0.8 p.u. to 0.7 p.u., i
dc
is
the blue line.
5.955 5.96 5.965 5.97 5.975 5.98 5.985 5.99 5.995
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
1.2
Vdc
Vdc
Va
Vb
Vc
(b) Steady state voltages for Fig. 2.14a.
Figure 2.14: PLO tested in the presence of an unbalanced and polluted with harmonics
system of voltages.
v
a
= 1 sin(
1n
t) + 0.1 sin(5
1n
t) + 0.1 sin(7
1n
t)
v
b
= 0.8 sin(
1n
t (2 pi/3 + 0.1)) + 0.1 sin(5
1n
t + 0.1) + 0.1 sin(7
1n
t 1)
v
c
= 0.9 sin(
1n
t + (2 pi/3 + 0.1)) + 0.1 sin(5
1n
t + 0.9) + 0.1 sin(7
1n
t 0.7).
(2.15)
Perfect tracking under unbalance and harmonics is observed. In this way, the problem
of harmonic instability in weak grids was overcome with the PLO.
Figs. 2.15 show the results of a simulation when the voltages system is very distorted
and there is a load transient: at 2.5 s a change from 1 p.u. to 1.1 p.u. has been programmed.
The PLO system retracks perfectly after the transient, so it could be said that the PLO
is robust in the presence of load transients.
Figs. 2.16 show the results of a simulation when the input frequency has a step change
and how the VCO frequency estimation (
f
1
) follows its reference f
1
. Therefore, another
important feature of the PLO is its good frequency adaptation.
In sum, the PLO does not only x the harmonic adaptation problem. The proposal
of using a VCO circuit inside the controller of a power converter also resulted in a very
eective tool to overcome other problems such as unbalance, frequency adaptation and
noise cancellation.
2.2 Phase-Locked Oscillator Control Systems 61
1 1.5 2 3.5 4 4.5
0.64
0.66
0.68
0.72
0.74
0.76
0.78
0.82
0.84
(a) Ainsworth model Start-up and transient at
2.5 s for a distorted set of voltages. The reference
current is 0.7 p.u., i
dc
is the blue line.
5.955 5.96 5.965 5.97 5.975 5.98 5.985 5.99 5.995
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
1
1.2
Va
Vb
Vc
Vdc
Vdc
(b) Steady state voltages for Fig. 2.15a.
Figure 2.15: PLO transient test: sudden change in z
L
.
2 4 6 8 12 14 16 18
0.75
0.85
(a) PLO current response. i
dc
(dotted) is 0.7 p.u.,
i
dc
is the blue line.
2 4 6 8 12 14 16 18
50.1
50.2
50.3
50.4
50.6
50.7
(b) Grid (f
1
) VS VCO (
f
1
) Frequencies for Fig.
2.16a.
Figure 2.16: PLO tested under a sudden change in the input frequency at 10 s.
62 Chapter 2 State-of-the-Art in Grid Synchronization
2.2.2 Other Phase-Locked Oscillator Schemes
The PLO system was also proposed with other schemes. Some of the most signicant
ones are detailed below.
2.2.2.1 PLO for Voltage Control
An alternative to the Ainsworth controller has been posed in [73]. In this scheme a
thyristor based controller is controlled in a closed loop with a VCO inside. The dierence
of this scheme with respect to the Ainsworth one is the fact that the controlled variable
was the dc link voltage, so in practice, the second pole of the plant disappeared. This
allowed to Skjellnes et al to develop a closed loop with a bandwidth of 100 Hz, so
the transient response is highly enhanced with respect to the Ainsworth PLO. The main
limitation of this scheme is due to the fact that most of the practical applications require
a current control loop.
2.2.2.2 PLO for Speed Control of dc Motors
The PLO scheme has been adapted to the speed control of dc motors [63, 74, 75]. A
speed encoder and a phase comparator circuit are implemented in order to obtain the error
signal which controls the VCO frequency and, hence, the ring of the thyristor converter.
Based on this scheme, a frequency adaptive system with an acceptable transient re-
sponse (around one cycle of
1n
) is achieved in [74].
2.3 Phase Locked Loops
As shown in the previous section, the Ainsworth proposal of using a VCO inside the
contro loop of a power converter provides harmonics/unbalance rejection and frequency
adaptation. However, the PLO system is very dicult to tune, and extra controllers
monitoring correct operation are needed [1].
An alternative use of the VCO is in phase locked loops (PLLs) tracking the funda-
mental phase-angle, as proposed in [76, 77]. PLLs had been used in other elds, specially
communications, since the 40s [78, 79]. The works of [76, 77] extended the applicability
of PLLs to the control of power electronic converters.
The main novelty of the PLL proposal is the fact that the VCO is not a part of the
main control algorithm; the VCO is employed inside a measurement circuit (estimation).
2.3 Phase Locked Loops 63
PLL Comparator
Main
Control
PWM
Circuit
1
ref
ac Voltage Sensor
a
v
dc Motor
1
Controller Circuit
d
v
*
d
v
ac
Figure 2.17: Control scheme of a dc motor in a single-phase grid.
Fig. 2.17 shows the scheme proposed in [76] for the control of a thyristor controlled
rectier in a single-phase motor drive application.
Even though the application is simpler than the HVDC rectier of [1], it is clear that
the use of the PLL as a measurement circuit liberates the main controller of two poles
at the origin, which tend to make the system unstable.
The schemes of [76, 77] are very simple because the main control reference (v
dc
) is set
open loop (Fig. 2.17). However, as shown below, the kind of PLLs employed in [76, 77]
has more limitations considering power quality phenomena than PLO systems. Even so,
it is clear that the proposal of using PLLs inside the controllers is, without any doubt, a
milestone in the eld of synchronization and power electronics control in general.
Fig. 2.18a shows a simplied PLL scheme. A PLL is a non-linear circuit which
synchronizes its output signal (v
o
) with a reference or input signal (v
i
) in frequency as
well as in phase.
The fundamental frequency and phase-angle of v
i
are
1
and
1
; they are related by
1
=
_
1
t +
1
where
1
is an oset dc constant. In the same way, the output signal
v
o
parameters are the estimated values of v
i
:
1
,
1
and
1
. In steady-state it is expected
that estimated and real values are the same.
The PLL scheme is composed by the three basic functional blocks: the phase detector
(PD), the loop lter (LF) and the voltage controlled oscillator (VCO). The role of each
block could be summarized as follows:
The PD is a circuit for which the average value of its output, averaged each cycle
64 Chapter 2 State-of-the-Art in Grid Synchronization
Phase
Detector
co
v
i
v
Loop
Filter
Voltage
Controlled
Oscillator
e
v
o
v
co vco n
v K + =
1 1
(a) Block diagram of a PLL.
+ +
VCO (DCO)
1 1 1
+ = t
1
n 1
Loop
Filter
e 1
+
+
PD
e
o o
t +
+
-
PD
1
1 1 1
+ = t
(b) Linear model of a PLL.
Figure 2.18: Basic conceptual models of PLLs.
of the fundamental component of the input, is zero only when the input signals are
in-phase, that is, they are synchronized in phase and frequency.
The LF supplies a ltered control signal (v
co
) to the VCO.
The VCO generates a signal of frequency
1
from its central frequency, which, in
grid applications, should be adapted to
1n
and v
c
. The estimated frequency is
1
=
1n
+ K
vco
v
c
, where K
vco
is the VCO constant. Later, in digital PLLs, the
term Digitally Controlled Oscillator (DCO) is employed instead of VCO (integrated
circuit).
PLLs should be linearized in order to study its dynamics and tuning the LF. This
process is done assuming that the PLL is near locked state, that is,
1
=
1
and
i
1
[78, 79]. Under such a situation, the equivalent system is the linear PLL (LPLL) of Fig.
2.18b.
The LPLL is a typical closed loop servo system. The instantaneous phase-angle error
at the fundamental component is
1e
=
1
1
. The LF path provides a frequency
correction around the nominal (central) frequency (
1
). When designing a PLL, its
most important features are:
1. Stability: the LPLL model should have high enough stability margins in order to
assure the stability of the PLL.
2. The type of the PLL: it is set by the number of origin poles of the equivalent
LPLL. A type 2 PLL (two origin poles) is necessary to assure
1e
= 0 when frequency
deviations are considered [78, 79].
3. The LPLL bandwidth sets
the transients response. The higher the bandwidth, the faster the PLL retracks
the phase-angle after a transient.
2.3 Phase Locked Loops 65
5
5
4
4
3
3
2
2
1
1
D D
C C
B B
A A
0
0
0
0
0
0
0
0
0
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Saturday, July 05, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Saturday, July 05, 2008
Title
Size Document Number Rev
Date: Sheet of
<Doc> <RevCode>
<Title>
A
1 1 Saturday, July 05, 2008
V
V
V
V
V
V
V
V
R1
1k
R1
1k
+
-
OUT
U8
OPAMP
U8
OPAMP
VAC4
FREQ = 50
VAMPL = 1V
VAC4
FREQ = 50
VAMPL = 1V
IN OUT
U5
VCO_sqr
U5
VCO_sqr
VAC2
FREQ = 49
VAMPL = 21.2V
VAC2
FREQ = 49
VAMPL = 21.2V
Raux3
1k
Raux3
1k
Raux4
100k
Raux4
100k
Raux
1k
Raux
1k
Raux2
100k
Raux2
100k
VAC3
FREQ = 50
VAMPL = 1V
VAC3
FREQ = 50
VAMPL = 1V
Raux1
1k
Raux1
1k
+
-
OUT
U9
OPAMP
U9
OPAMP
C1
10u
C1
10u
+
-
OUT
U7
OPAMP
U7
OPAMP
1
3
2
if( (V(%IN1)>0.9 & V(%IN2)<0.1) |
(V(%IN2)>0.9 & V(%IN1)<0.1),-5,5)
Phase Detector & Charge Pump
if( (V(%IN1)>0.9 & V(%IN2)<0.1) |
(V(%IN2)>0.9 & V(%IN1)<0.1),-5,5)
Phase Detector & Charge Pump
1
3
2
if( (V(%IN1)>0.9 & V(%IN2)<0.1) |
(V(%IN2)>0.9 & V(%IN1)<0.1),-5,5)
Phase Detector & Charge Pump
if( (V(%IN1)>0.9 & V(%IN2)<0.1) |
(V(%IN2)>0.9 & V(%IN1)<0.1),-5,5)
Phase Detector & Charge Pump
Vcp Vc
Figure 2.19: Block diagram of an analog CP-PLL.
the harmonic/noise ltering. The presence of noise and harmonics in the inputs
aects the PLL measurements. The term phase jittering is employed by
Best and Gardner to refer to the eect of noise in the phase estimation: phase
jittering (
1ej
) is the error in the value of
1e
during zero crosses due to noise
4
.
In a general way, the average value of
2
1ej
(
2
1ej
) is inversely proportional to
the PLL bandwidth [78, 79].
2.3.1 Charge-Pump PLLs
As said, the schemes implemented in [76, 77] are pioneer in power electronics, and
gave rise to much more development in the PLL technique during the end of 70s and
early 80s [80, 81].
PLLs proposed in [76, 77, 81] are Charge-Pump PLLs (CP-PLLs) [79, 82]. CP-PLLs
have a sequential-logic PD working together with a charge pump. The purpose of the
charge pump is to convert the logic states of the PD into analog signals suitable for
controlling the VCO. The main advantage of the charge pump is the chance of using
analog lters.
Fig. 2.19 shows the PSPICE model of a simple CP-PLL using an EXOR gate as PD.
The main characteristic of the CP-PLL using an EXOR gate is that, in tracking state,
the output leads the input signal 90 deg (cosine-wave).
The parts of this model are explained as follows:
A comparator with zero is placed in order to generate a digital signal for which the
logic value changes occur synchronized with the ac grid zero crosses.
The input and feedback signals from the VCO are the inputs of an EXOR gate.
The output of the EXOR gate controls a Charge Pump. The output of the EXOR-
Charge Pump system is an analog wave (v
cp
) for which the average value, averaged
each cycle of the fundamental, depends on the relative phase between the two digital
66 Chapter 2 State-of-the-Art in Grid Synchronization
0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
Time (s)
E
X
O
R
i
n
p
u
t
s
Input 2
Feedback
0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
Time (s)
C
h
a
r
g
e
-
P
u
m
p
O
u
t
p
u
t
(
V
)
Instantaneous
Averaged
Input 1
AC Comp
(a) Key diagrams for
1e
= /2 rad (
1e
= 0 rad).
Input 1 (AC Comp.) Input 2 (Feedback)
0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
Time (s)
E
X
O
R
i
n
p
u
t
s
0.01 0.015 0.02 0.025 0.03 0.035 0.04 0.045 0.05
Time (s)
C
h
a
r
g
e
P
u
m
p
O
u
t
p
u
t
(
V
)
Averaged
Instantaneous
Input 1
AC Comp
Input 2
Feedback
(b) Key diagrams for
1e
= /4 rad
(
1e
= pi/4 rad).
Figure 2.20: Key diagrams for the EXOR-Charge Pump Phase Detector
input signals. Through dening
1e
=
1e
pi/2:
v
cp
=
2v
cp
max
1e
= K
d
1e
. (2.16)
Fig. 2.20 shows the outputs of the EXOR-Charge-Pump PD.
Considering v
cp
v
co
, from eq. (2.16) a negative
1e
results in a negative v
co
, so the
VCO frequency (
f
1
) decreases. As the feedback signal has a lower frequency than
the input one,
1e
tends to decrease, and therefore, the system tends to retrack the
phase. For positive
1e
the behavior is opposite.
The role of the LF is to cancel the ripple in the output signal of the PD. As shown
in Fig. 2.20, the output of the PD has a fundamental component ( v
cp
) but also
harmonics, which aect to the VCO dynamics. For this reason, the LF should be a
low pass lter (LPF). In the model a rst order LPF with cut-o frequency equal
to 100 rad/s has been implemented.
Fig. 2.21 shows time domain simulation results for the CP-PLL of Fig. 2.19. The
values of table 2.3 were employed. The system tracks the input phase and frequency in
around 3 cycles of the fundamental (f
1n
= 50 Hz).
The PD detector of this simulation is of EXOR type. However, the so called phase-
frequency detectors (PFDs) providing a feedback signal in-phase with the input (no 90 deg
2.3 Phase Locked Loops 67
0 0.05 0.1 0.15
0
0.2
0.4
0.6
0.8
1
Time (s)
E
X
O
R
i
n
p
u
t
s
0 0.05 0.1 0.15
-25
-20
-15
-10
-5
0
5
10
15
20
25
Time (s)
A
C
i
n
p
u
t
(
V
)
Input 1 (AC)
Input 2 (VCO)
Input 1 (AC)
Input 2 (VCO)
VCO input
0 0.05 0.1 0.15
-5
0
5
-0.1V
Time (s)
V
o
l
t
a
g
e
(
V
)
VCO input, averaged value (Averaged each 20.4 ms)
VCO input Charge-Pump output
Figure 2.21: Time domain simulation results from the CP-PLL model at f = 49 Hz.
68 Chapter 2 State-of-the-Art in Grid Synchronization
Table 2.3
Controller Values.
K
d
3.18 rad/V
R 100
C 10 F
K
vco
10 V/Hz
shift) have been the most widely employed in power converters [75].
On the other hand, even though some current works implement CP-PLL [83], the use
of these kind of solutions are being abandoned by digital implementations. The limitations
of CP-PLL are:
Most of the classical VCOs such as the ICs 8038, 4044, 4046, and Siemens TCA
780-785, etc are becoming obsolete components [84]. Digital implementation is
denitively a current trend.
The PD is based on zero-cross detection and therefore, could introduce phase error.
In three-phase systems, as they work per phase, they cannot detect the fundamental
positive-sequence.
2.3.2 Digital SRF-PLL
Fig. 2.22 shows the Synchronous Reference Frame PLL (SRF-PLL or dq-PLL). The
main feature of the SRF-PLL is that it estimates the phase-angle of the fundamental
positive-sequence (v
+
abc
1
): therefore, the estimated phase-angle (
1
) corresponds with v
+
a1
phase-angle. If v
+
abc
waves are considered sine-waves, P
+
1
of (1.40) is implemented, but
most of the authors usually present the SRF-PLL with the Park transformation obtained
as in (1.44), which implies that v
+
abc
components are considered cosine-waves. Anyway,
both approaches are totally equivalent.
The SRF-PLL structure was proposed by Gole et al in some simulation models of
rectiers and Static var compensators [85, 86]. On the other hand, the SRF-PLL real
time implementation in a digital device was presented by Kaura and Blasko in [28], even
though a similar implementation had been previously proposed by Blasko et al in [87].
SRF-PLLs are very suitable to work together with other SRF controllers: the phase-
angle of v
+
a1
sets the origin of the positive-sequence SRF, so that a SRF-PLL assures an
accurate power ow control. This fact was crucial in the success of the SRF-PLL, since
SRF-based current controllers have been employed in all kind of high performance power
converters applications, such as:
2.3 Phase Locked Loops 69
1 1 1
+ = t
+ +
DCO
n 1
1
a
v
b
v
c
v
PD
LOOP
FILTER
1
+
1
P
) (
1 1
h f v
q
+
+
) (
1 1
h f v
d
+
+
Figure 2.22: SRF-PLL block diagram.
Motor drives [60, 8890].
Controlled rectiers [26, 58, 59, 91, 92].
Power Line Conditioners [8, 27, 4143, 93].
DPGSs and Grid Monitoring [94, 95].
UPS [51, 53, 96, 97].
The eld of application of the SRF-PLL is very wide and, hence, its optimization has
been approached in several works [22, 28, 46, 94, 98114]. The feasibility of powerful
digital devices and novel implementation techniques have led to more and more enhanced
implementations.
2.3.2.1 SRF-PLL Operation
Considering v
+
abc
a set of phase to neutral sine-waves, the Park transformation (2.17)
acts as phase detector and the quadrature component (v
+
q1
) as phase error signal (
1e
), so
that v
+
q1
1e
.
_
_
v
d1
+
v
q1
+
_
_
. .
v
+
dq
= P
+
1
_
_
_
_
_
v
a
v
b
v
c
_
_
_
_
_
. .
v
abc
, (2.17)
where
P
+
1
=
2
3
_
_
sin(
1
) sin(
2
3
) sin(
1
+
2
3
)
cos(
1
) cos(
2
3
) cos(
1
+
2
3
)
_
_
. (2.18)
70 Chapter 2 State-of-the-Art in Grid Synchronization
The estimated phase-angle
1
is employed to generate P
+
1
. The SRF-PLL is imple-
mented in a digital device; a digital controlled oscillator (DCO) substitutes the VCO
circuit. The DCO is an integrator and a feed-forward constant with the nominal fre-
quency so the central frequency of the PLL is
1n
. The LF path provides a correction
value (
1
) around
1n
.
For the SRF-PLL linearization, the system is considered around the tracking point,
that is,
1
=
1
and
1
1
, and also balanced inputs [28]. Under such a situation
_
_
v
d1+
v
q1+
_
_
. .
v
+
dq1
=
_
_
v
a1
max
cos(
1
1
) v
+
a1
max
v
a1
max
sin(
i
1
) v
+
a1
max
(
i
1
) = v
a1
max
1e
_
_
(2.19)
where v
+
a1
max
(= v
+
b1
max
= v
+
c1
max
) should be rearranged so that v
+
a1
max
= 1 p.u.. It is
expected that v
q1+
, which represents
1e
, to be zero in steady-state and, therefore, v
+
d1
=
v
+
a1
max
. If amplitude measurement is not employed, only the q component of the P
+
1
is
generated (less needed resources).
It should be noticed that, the zero-sequence of v
+
abc
is eliminated in the PD. In fact,
several three-phase and three-wire systems could not have a physical neutral connection.
This is not a problem, but an advantage: phase to phase voltages can be employed in
order to reduce the number of voltage sensors (from 3 to 2) and components of P
+
1
matrix.
Eq. (2.17) can be rewritten as
_
_
v
d1
+
v
q1
+
_
_
. .
v
+
dq
= P
+
1
_
_
_
_
_
v
a
v
c
v
b
v
c
v
c
v
c
= 0
_
_
_
_
_
. .
Line to line voltages
, (2.20)
being the discrete implementation optimized accordingly.
2.3.2.2 Pre-lters for the SRF-PLL
From PLL theory, the level of distortion in the input signal should be taken into
account to tune PLLs, which is approached in detail for the SRF-PLL in the next chapter.
However, it should be highlighted here that a signicant bandwidth reduction may lead
to a very slow transient response.
In order to improve the whole dynamics of the SRF-PLL some authors have proposed
the use of pre-lters, which act in a rotating reference frame (v
abc
or v
). In this
manner, the input of the SRF-PLL is cleaner and therefore it can be tuned with a higher
bandwidth. Some interesting proposals are summarized below:
2.3 Phase Locked Loops 71
1 1 1
+ = t
+ +
n 1
1
a
v
b
v
c
v
) (
1 1
h f v
q
+
+
PD
LOOP
FILTER
1
+
1
P
+
S
) (
1 1
h f v
d
+
+
) (
1 1
h f v
a
+
+
) (
1 1
h f v
b
+
+
) (
1 1
h f v
c
+
+
DCO
Figure 2.23: SRF-PLL with Fortescue operator based pre-lter.
2.3.2.2.1 All-pass Filters based Sequence Detector A sequence detector to pre-
lter the negative-sequence component and feed the SRF-PLL only with positive-sequence
was proposed by Lee et al in [22].
Considering only components at fundamental frequency, the positive-sequence can be
expressed by means of the Fortescue matrix (S
+
):
_
_
v
+
a1
v
+
b1
v
+
c1
_
_
=
1
3
_
_
1 a a
2
a
2
1 a
a a
2
1
_
_
. .
S
+
_
v
a1
v
b1
v
c1
_
_
, (2.21)
where a =
1
2
+j
3
2
or a = e
j
2
3
.
The imaginary term j corresponds with a delay of 90 deg in a real signal, so digital
implementation of (2.21) is possible by means of all-pass lters delaying 90 deg the com-
ponents rotating at
1
(phase at f
1
). Another important feature of all-pass lters is the
unitary gain for all frequencies.
Fig. 2.24 shows the Matlab/Simulink model of a sequence detector using an all-pass
lter (A(z)) of the form
5
:
A(z) =
0.967z + 1
z 0.967
, (2.22)
in the Z-domain, implemented at f
s
= 10 kHz. The frequency and transient response of
A(z) are also shown. A phase of exactly 90 deg at
1n
is achieved.
Fig. 2.25 shows simulation results obtained from the model of Fig. 2.24: the input
signal is unbalanced but the output has only the (estimated) positive-sequence.
This technique is also suitable when there are harmonics in the inputs. As shown
below, some harmonic sequences are canceled with this implementation. However, the
5
It seems that there is not any specic detail of the original A(z) employed in [22].
72 Chapter 2 State-of-the-Art in Grid Synchronization
Vcp
1/3*(-0.5*u(1)-0.5*sqrt(3)*u(2)-0.5*u(3)+0.5*sqrt(3)*u(4)+u(5))
Vc
Vbp
1/3*(-0.5*u(1)+0.5*sqrt(3)*u(2)+u(3)-0.5*u(5)-0.5*sqrt(3)*u(6))
Vb
Vap
1/3*(u(1)-0.5*u(3)-0.5*sqrt(3)*u(4)-0.5*u(5)+0.5*sqrt(3)*u(6))
Va
Scope 1
All -pass
-0.967 z+1
z-0.967
All pass
-0.967 z+1
z-0.967
All pass
-0.967 z+1
z-0.967
-5
0
5
M
a
g
n
i
t
u
d
e
(
d
B
)
40 42 44 46 48
50
52 54 56 58 60
-105
-100
-95
-90
-85
-80
-75
P
h
a
s
e
(
d
e
g
)
Frequency Response
Frequency (Hz)
0.018
0.02
0.022 0.024 0.026 0.028
0.03
0.032 0.034
-1.5
-1
-0.5
0
0.5
1
1.5
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Step Response
Figure 2.24: Matlab Simulink model and all-pass lter features.
0.01 0.02 0.03 0.04 0.05
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
0.01 0.02 0.03 0.04 0.05
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
Figure 2.25: Positive-sequence estimation with all-pass lters (f
1
= 50 Hz).
2.3 Phase Locked Loops 73
1 1 1
+ = t
+ +
n 1
1
a
v
b
v
c
v
PD
LOOP
FILTER
1
v
C
+
v
+
Q
+
v
+
B
DCO
) (
1 1
h f v
q
+
+
) (
1 1
h f v
d
+
+
Figure 2.26: SRF-PLL with pre-lters in the frame.
SRF-PLL should lter the non canceled sequences.
2.3.2.2.2 Delayed Signal Cancellation in the Frame Fig. 2.26 shows a
method for negative-sequence cancellation in the frame [115, 116] applied to the SRF-
PLL [102, 117]. It is quite remarkable the fact that working in the frame reduces the
number of lters from 3 to 2.
The input signal v
abc
is expressed in the frame by means of the Clarke Transform:
_
_
v
_
_
. .
v
=
2
3
_
_
1 0.5 0.5
0
3
2
3
2
_
_
. .
C
_
_
_
_
_
v
a
v
b
v
c
_
_
_
_
_
. .
v
abc
. (2.23)
The fundamental positive-sequence is obtained through the Q
+
matrix as
_
_
v
+
v
+
_
_
=
1
2
_
_
1 q
q 1
_
_
. .
Q
+
_
_
v
_
_
, (2.24)
where q = e
j
2
.
Finally the angle transformation (B
+
)
6
is employed to get v
+
dq
_
_
v
+
d1
v
+
q1
_
_
=
_
_
cos(
1
) sin(
1
)
sin(
1
) cos(
1
)
_
_
. .
B
+
_
_
v
+
v
+
_
_
. (2.25)
6
B
+
C = P
+
.
74 Chapter 2 State-of-the-Art in Grid Synchronization
-5
0
5
M
a
g
n
i
t
u
d
e
(
d
B
)
47 48
49 50 51
52 53
-96
-94
-92
-90
-88
-86
-84
P
h
a
s
e
(
d
e
g
)
Frequency Response
Frequency (Hz)
0.018
0.02
0.022
0.024
0.026 0.028
0.03
0.032 0.034
-1.5
-1
-0.5
0
0.5
1
1.5
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Step Response
D(z)
D(z)
A(z)
D(z)
A(z)
A(z)
Figure 2.27: Comparative of the dynamics of A(z) and D(z)
(f
s
= 10 kHz, so n = 50 in D(z)).
As shown in Fig. 2.26, the pre-ltering is at the real time generation of Q
+
. A 90 deg
delay at f
1n
is applied to get the implementation of (2.24). This delay is obtained as a
FIR lter of the form
D(z) =
1
z
n
(2.26)
n being the order of the lter, which is so that D(z) has 90 deg of delay at f
1n
. D(z)
has unitary gain for all the frequencies and linear phase, so it can also be considered an
all-pass lter.
Fig. 2.27 shows a comparison between D(z) and A(z). It is expected a faster transient
response of DSC method, but a worse frequency adaptation.
2.3.2.2.3 Generalized Integrators in PLLs Generalized Integrators (GIs) have
been employed in the control of power converters because they have a very high gain
at a desired harmonic frequencies; e.g. their implementation in Proportional+Resonant
(PR) current controllers [44, 88, 118122]. The use of damped GIs have been proposed
by Rodriguez et al as SRF-PLL pre-lters in the frame [123].
The generic form of a GI is:
G(s) =
Num(s)
s
2
+k
s +
2
. (2.27)
From (2.27), G(s) has a maximum at
(s
2
+
2).
0 0.005 0.01 0.015 0.025 0.03
-100
100
200
300
500
(b) H
d
(s) and H
q
(s) impulse (transient) response (k =
2).
Figure 2.28: H
d
(s) and H
q
(s) dynamic response.
2.3.3 Digital Single-phase PLL
The suitability of digital implementation allows to implement PDs with a higher per-
formance than the CP-PLLs ones, which are based on zero-cross detection. From PLL
theory [78, 79], the linear multiplier PD seems to be the most intuitive option [112, 125
128]. Fig. 2.29 shows a simple single-phase PLL scheme based on linear multiplier as PD.
For the linearization, the input signal of equation (2.31) is considered:
v = v
1
max
sin(
1
t +
1
. .
1
) +f(3
i
, 5
i
, 7
i
, ...) p.u.. (2.31)
2.3 Phase Locked Loops 77
.) . ( u p v
a
cos(u)
+ +
X
DCO
n 1
sin(u)
PD
)
cos(
1
LOOP FILTER
)
sin(
1
1
e 1
1
)
. .
Feedback wave
=
v
1
max
2
(sin(
1
1
) + sin(
1
+
1
)) +f(2
i
, 4
i
, 6
i
, ...).
(2.32)
Again, assuming that the PLL is locked in steady-state
1
=
1
and
1
1
[78, 79],
v cos(
1
)
v
1
max
2
sin(
1
1
)
. .
1
1
=
1e
+
+
v
1
max
2
sin(2
1
t + 2
1
)
. .
Generated second harmonic
+f(2
1
, 4
1
, 6
1
, ...)
. .
Other harmonics
.
(2.33)
Equation (2.33) shows that in steady-state the wave has a small dc signal with the
phase error information (
1e
), a high second harmonic and other even harmonic compo-
nents. Assuming that all the harmonic components are canceled in the LF, the linearized
model is also valid for single-phase PLLs.
Other alternatives for single-phase PLL implementation have been proposed, such as:
The adaptation of the SRF-PLL to single-phase systems [129133].
The implementation of a more complex PD such as the one of the Enhanced PLL
(EPLL) of [134], or the one based on the Coullon Oscillator [135]
7
.
However, all single-phase PLLs for grid applications need of a drastic bandwidth reduc-
tion due to the PD non-linearities, more specically the internal generation of harmonics
7
Even though the title could be misleading, [135] proposes a single-phase PLL
78 Chapter 2 State-of-the-Art in Grid Synchronization
at 2
1
. Therefore, grid-connected single-phase PLLs should not be considered fast, so
that they are low-gain PLLs. In fact, their typical settling times are not lower than 1
cycle of
1n
[112, 126, 127, 133136].
2.3.4 Single-phase PLLs Vs SRF-PLLs
As said, in a three-phase system the SRF-PLL estimates the phase-angle of v
+
a1
. On
the other hand, a single-phase PLL connected in the a-phase tracks the phase-angle of v
a1
.
Therefore, it seems that SRF-PLLs are more reliable when SRF controllers are employed.
That is, the use of single-phase PLLs in the presence of negative/zero sequences may
result in
1e
= 0 when tracking the positive-sequence, which may lead to a non ecient
energy transfer control. Some works have proposed the use of single-phase PLLs instead
of SRF-PLLs, since a SRF-PLL cannot detect individual phases [126, 135]. Even though
this assessment could be right, SRF controllers do not seem the most suitable to work
together with single-phase PLLs. This point should have been claried by those authors.
It could be said that single-phase PLLs are more suitable for single-phase circuits and
three-phase circuits with per-phase controllers.
Other authors suggest a per-phase estimation of v
a1
, v
b1
and v
c1
phase-angles and
amplitudes in order to calculate the phase-angle of v
+
a1
[134]. Even though this is feasible,
there is no apparent reason to use individual single-phase PLLs, since the phase-detector
of the SRF-PLL (P
+
1
) totally decouples the positive-sequence: the dc value of v
+
dq1
only
depends on v
+
abc
1
.
2.3.5 Amplitude Compensation in Digital PLLs
When considering amplitude variations such as voltage sags and swells, the drawback
of amplitude dependence in PLLs appears: from (2.19) and (2.33), it is clear that the
dynamics of digital PLLs depends on the amplitude of the tracked signal. In fact, the
amplitude is considered a proportional gain, which is normalized to 1 p.u. in order to
make easier the tuning process.
The amplitude dependence may lead to instability when the PLL phase margin is too
low. However, in practice, the most reported problem is due to the slow dynamics in the
presence of voltage sags [126, 127, 137].
This amplitude dependence can be avoided in part by compensating the PLL input
with an amplitude estimation. In single-phase PLLs, some works propose an extra loop
tracking the amplitude, which could be named amplitude locked loop (ALL) [126, 127,
136]. Similar approaches have been proposed for the SRF-PLL [111, 137].
Fig. 2.30 shows the combined ALL-PLL structure proposed in [127]. As a general
2.3 Phase Locked Loops 79
Software Phase Locked Loop
v
max 1
/ v v
1
max 1
v
Amplitude
Locked
loop.
Phase
Locked
Loop.
) sin(
1 1
+ t
v
(a) ALL-PLL global structure.
u
2
PI
1
+
-
+
+
X
1/u
X
max 1
/ v v
max 1
v
) sin(
1 1
+ t
v
(b) ALL block.
Figure 2.30: ALL-PLL compensation block.
rule, the ALL closed loop bandwidth should be lower than the PLL one, because of the
fact that the amplitude measurement also depends on the phase-angle.
Fig. 2.31 shows experimental results from the ALL-PLL structure. When there is a
voltage sag, the dynamics is faster and the amplitude can be estimated in real-time.
However, the range of improvement achieved with this technique could be considered
quite limited. In sum:
In the single-phase case, the dependence between loops limits the response. The
study of the combined dynamics is very dicult [127].
Also in the single-phase case, the bandwidth of the PLL should still consider the
PLL second harmonic [126, 127].
If a division block is implemented, division by zero or low values could result in
instability.
2.3.6 Limit Cycles of Digital PLLs
Digital PLLs are non-linear systems. Their trajectories can be depicted in the so-called
phase plane portraits [138, 139]. The frequency error
1
1
is represented in the Y axis
and the phase error
1
1
in the X axis. During normal operation, it is expected from a
80 Chapter 2 State-of-the-Art in Grid Synchronization
(a) ALL-PLL response to a 0.5 sag with
phase-angle jump of +45 deg. (v gray dashed, v
1
black solid).
0.1 0.15 0.2 0.25 0.3 0.35
0.4
0.5
0.6
0.7
0.8
0.9
1
1.1
SPLL amplitude during a 0.5 p.u. sag with a +45 deg. phase-angle jump.
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
(b) v
1
max
obtained with the ALL (v gray
dashed, v
1
black solid).
Figure 2.31: Key gures of the ALL-PLL.
PLL to converge to the limit cycle (0, 0). Other solutions of the dierence equation dened
by the PLL are expected to be unstable limit cycles. If not, a misleading estimation could
lead to malfunctions of the power electronic converter.
Dierent parameters of the PLL set its phase-plane portrait: the loop lter, the feed-
forward constant, the word length and other non-linear operations. It should be noticed
that the eect of these parameters cannot be assessed through the PLL linearized model.
Some digital implementations could lead to non desired stable limit cycles (misleading
steady-state estimations). In order to avoid this, the PLL region of operation can be
delimited explicitly.
A study of the phase-plane trajectories of a SRF-PLL is contributed in this section.
The inuence of some parameters is shown. Fig. 2.32 shows phase-plane portraits ob-
tained for a SRF-PLL implementation. The Matlab script employed to depict these por-
traits is in appendix A.4. The dierent curves are obtained considering dierent initial
conditions of
1
(color legends). Initially this implementation does not take into account
negative values of
1
, that is, the sign of
1
is obviated in the integration step to get
1
.
This action can be considered attractive under the resources point of view, especially in
a xed point implementation where the word length is very limited. Fig. 2.32a and 2.32b
show the phase-plane portrait with and without feedforward constant. Some important
results are obtained from these gures:
1. A stable limit cycle appears at (2
1
, ) when the sign of
1
is obviated. The
outcome of such a wrong estimation in a real time controller could be unpredictable.
2.3 Phase Locked Loops 81
-4 -3 -2 -1 1 2 3 4
-500
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
(a) Phase-plane portrait of a SRF-PLL obviating
1
sign. Feedforward constant implemented (
1n
=
2 50 rad/s).
-4 -3 -2 -1 1 2 3 4
-500
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
(b) Phase-plane portrait of a SRF-PLL obviating
1
sign. No feedforward constant (
1n
= 0).
-4 -3 -2 -1 1 2 3 4
-500
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
(c) Phase-plane portrait of a SRF-PLL with
1
sign
information (
1n
= 2 50 rad/s).
-4 -3 -2 -1 1 2 3 4
-500
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
(d) Phase-plane portrait of a SRF-PLL with
1
sign
information. The LF path is limited by the word
length (
1n
= 2 50 rad/s).
Figure 2.32: Phase-plane portraits of a SRF-PLL implementation. The curves are ob-
tained through dierent initial conditions (color legends indicate the initial
1
).
2. Thanks to the feedforward constant there are more trajectories converging to the
good limit cycle (0, 0), but the malfunction remains to be quite likely.
Fig. 2.32c shows the phase-plane portrait considering
1
sign. In such a case, (2
1
, )
is an unstable limit cycle and the SRF-PLL converges to the good estimation. Fig. 2.32d
shows the eect of the word length consideration. The trajectories in the phase-plane
portrait are limited in a smaller region.
Returning to the theoretical approach, a high presence of harmonics may result in a
PLL tracking a harmonic phase. Another real possibility is a non converging PLL. E.g.
a single-phase PLL based on a multiplier may lead to a solution where
1
= 0 (
1e
= 0)
and, therefore, the X axis is
1
.
It could be said that, in general, the region of operation of the PLL should be limited
in order to avoid non desired stable limit cycles and diverging trajectories. In practice,
the best manner to limit the region of operation is by placing the feedforward constant
and limiting the word length [112].
82 Chapter 2 State-of-the-Art in Grid Synchronization
2.4 Digital Alternatives to PLLs
The main drawback of PLLs is their transient response speed, specially in the presence
of distorted conditions [91, 134, 140]. On the other hand, digital implementation allows
to implement very high performance synchronization algorithms without a DCO inside a
closed-loop (a digital PLL).
Several algorithms have been proposed as an alternative to PLLs. The most signicant
approaches are analyzed in this section. It should be highlighted that some of these
proposals are novel contributions of this thesis.
2.4.1 Filtering in the Frame
Some algorithms based on the Clarke transformation are analyzed below.
2.4.1.1 Transformation Angle Detector (LP-TAD)
An open loop system, named low-pass transformation angle detector (LP-TAD), able
to synchronize with the positive-sequence of the fundamental vector of a three-phase
voltages/currents system was presented in [141]. This system was proposed as a digital
alternative to CP-PLLs for VSIs based on vector control, where the performance of zero-
cross detectors was very poor in the presence of input harmonics.
Fig. 2.33 shows the scheme of LP-TAD. A three-phase system of voltages system
(v
a
, v
b
, v
c
) is transformed to its equivalent Clarke variables v
and v
:
_
_
v
_
_
. .
v
=
2
3
_
_
1 0.5 0.5
0
3
2
3
2
_
_
. .
C
_
_
_
_
_
v
a
v
b
v
c
_
_
_
_
_
. .
v
abc
. (2.34)
Assuming that there is not negative-sequence at fundamental frequency, the phase-
angle of the positive-sequence is estimated from v
1
and v
1
, obtained by ltering har-
monics from v
, through:
1
= atan2( v
1
, v
1
) [, ], (2.35)
where atan2 is the four-quadrant inverse tangent [142].
2.4 Digital Alternatives to PLLs 83
1
+ +
DCO
n 1
a
v
b
v
c
v
v
LPF
LPF
v
2
1
2
1
v v +
X
x
x
(atan2)
norm
v
1
norm
v
1
v
1
v
C
Figure 2.33: LP-TAD scheme.
As said, LPFs are placed in order to lter higher harmonics; they should be tuned
taking into account the trade-o between ltering and transient response. Filters delay
should be compensated at the outputs, which is not a trivial issue considering frequency
variations [105].
Fig. 2.34 shows some signicant simulation results of the LP-TAD. For these simula-
tions an order 1 Butterworth lter with cut-o frequency 15 Hz has been employed.
As shown, the LP-TAD has a good behavior under balanced conditions. However, it
has a very poor performance in the presence of negative-sequence in the inputs. This lack
of sequence decoupling ability is due to fact that the Clarke variables include information
of both positive and negative sequences [21]. The transient response depends only on the
employed LPFs.
The LP-TAD proves that open loop schemes and inverse trigonometric functions
(atan2) could be an alternative to PLLs if a good decoupling and ltering strategy is
carried out.
Also in [141], the dynamic response of the LP-TAD is enhanced by using recur-
sive/stochastic lters, giving rise to the Space Vector Filter-TAD (SVF-TAD) and En-
hanced Kalman Filter-TAD (EKF-TAD). Stochastic ltering for synchronization is ana-
lyzed below.
2.4.1.2 Normalised Positive-sequence Synchronous Frame (NPSF)
In [143, 144] a scheme to decouple the positive-sequence and then synchronize in the
frame is shown. S
+
is implemented using GIs to get 90 deg delay at nominal frequency.
Once decoupled the positive-sequence, open loop estimation is accurate. However, like in
the GI based PLLs, the transient response is not its strongest point.
84 Chapter 2 State-of-the-Art in Grid Synchronization
0.47 0.48 0.49 0.51 0.52 0.53 0.54
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
(a) Input waves.
0.47 0.48 0.49 0.51 0.52 0.53 0.54
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
n
o
r
m
norm
norm
(b) Normalized e
and v
.
0.47 0.48 0.49 0.51 0.52 0.53 0.54
-3
-2
-1
1
2
(c) Phase-angle measurement.
Figure 2.34: Signicant simulation results for LP-TAD: fault and unbalance conditions.
2.4 Digital Alternatives to PLLs 85
2.4.2 Filtering in Synchronous Reference Frames
Digital devices allow to handle electrical variables in SRFs. The main advantage of
the SRF approach is the suitability of controlling oscillating waves as dc signals. This is a
big advantage under the designer point of view, since low order innite impulse response
(IIR) lters (Chebishew, Butterworth), moving average FIR lters (MAF), Proportional
Integrator (PI) controllers, lag/lead controllers, etc, perform much better with dc signals
[12, 44, 58, 145].
It is shown in this section how to implement SRF schemes in order to obtain high per-
formance synchronization algorithms. Firstly, algorithms to synchronize with the funda-
mental components are analyzed, both for single-phase and three-phase systems. Special
emphasis is put on the proposal of using MAFs together with SRF schemes, which is a
major contribution of this thesis [146148]. Later, the issues of harmonics and negative-
sequences extraction based on SRFs are approached [13, 19, 148151].
2.4.2.1 Single-phase SRF Synchronization Algorithms
It is considered that the input wave (v) is a single-phase wave with multiple harmonics
v = v
1
max
sin(
1
t +
1
)
. .
v
1
+v
3
max
sin(3
1
t +
3
) +v
5
max
sin(5
1
t +
5
)+
+v
7
max
sin(7
1
t +
7
) +...
(2.36)
v
1
is the fundamental component and rotates at
1
; from Fourier theory, it can be
expressed as the sum of two orthogonal waves also rotating at
1
. These two waves
rotating at a frequency
srf
=
1
, named d (direct) and q (quadrature), set a single-phase
SRF.
v
1
= v
d1
sin(
1
t +
srf
)
. .
d
+v
q1
cos(
1
t +
srf
)
. .
q
.
(2.37)
It is important to note that (2.37) is valid for any
srf
; Fig. 2.35 depicts v
1
in the
SRF.
Fig. 2.36 shows a generic SRF scheme suitable for reconstruction of v
1
. The goal of
the SRF algorithm is to measure v
1d
and v
1q
, which are dc values, in order to reconstruct
v
1
and estimate its phase-angle (
1
). The frequency of the implemented SRF (
srf
) sets
86 Chapter 2 State-of-the-Art in Grid Synchronization
1
d
q
1 q
v
1 d
v
1
v
Figure 2.35: v
1
in the single-phase SRF.
X
X
v
cos(u)
sin(u)
srf
2H(z)
LPF
d
q
1 q
v
)
Open Loop Synchronous
Reference Frame generation
2H(z)
LPF
X
X
,...) 4 , 2 , (
1 1
dc f ) (dc f
1
v
+ =
srf srf srf
t
1 d
v
) 1
srf
)
. .
v
d1
+v
1
cos(
srf
+
1
) +v
3
cos(
3
srf
)
. .
rotating at 2
1
+
v
3
cos(
3
srf
) +v
5
cos(
5
srf
)
. .
rotating at 4
1
+...],
(2.38)
v cos(
srf
) =
1
2
[v
1
sin(
1
srf
)
. .
v
q1
+v
1
sin(
srf
+
1
) +v
3
sin(
3
srf
)
. .
rotating at 2
1
+
v
3
sin(
3
srf
) +v
5
sin(
5
srf
)
. .
rotating at 4
1
+...].
(2.39)
From (2.38) and (2.39), it is expected that v
d1
and v
q1
, which are dc coecients, can
2.4 Digital Alternatives to PLLs 87
be obtained with no ripple by means of LPFs. After the ltering stage, v
1
is reconstructed
using (2.37). The estimated phase-angle of v
1
(
1
) is:
1
=
srf
+atan2( v
q1
, v
d1
)
. .
(relative angle)
, (2.40)
where is a relative phase-angle in the SRF, which is function of
srf
. v
1
max
is estimated
by
v
1
max
=
_
v
2
d1
+ v
2
q1
. (2.41)
From Fig. 2.36, it is clear that the dynamics of this system depends only on the LPFs.
2.4.2.2 MAF as LPF for SRF based Schemes
The most important feature of a LPF is its amplitude versus frequency response. In
this particular case, unitary gain for low frequency values and high attenuation at higher
frequencies, specially for harmonics, are wanted. A lter with this frequency response
is relatively easy to design and implement in current digital devices. However, another
important feature of the LPF is its step response. The step response sets the system
response to a transient. In ltering there is a trade-o between the cancellation pattern
and the step-response [152].
MAFs have been implemented in electric power applications because of their excellent
behavior canceling harmonics [153157]. In this work, it is shown how MAFs also oer a
very optimized performance for grid synchronization [146148].
The dierence equation which denes how the input signal (x) is related with the
output signal (y) of a FIR lter is:
y(k) = b
0
x
k
+b
1
x
k1
+.... +b
n1
x
kn1
=
n1
i=0
b
i
x
ki
, (2.42)
where k represents the current number of sample, b
i
are the lter coecients and n 1
is the lter order, so n must be an integer number. The window length, or time length,
(t
w
) of a FIR lter is set by the number of samples, and the sampling time (1/f
s
):
t
w
= n
1
f
s
. (2.43)
An important feature of some FIR lters is the linear-phase [158]. A FIR lter is
88 Chapter 2 State-of-the-Art in Grid Synchronization
linear-phase if and only if its coecients are symmetrical around the center coecient; in
such a condition the delay through the lter (t
d
) is function of n:
t
d
=
n
2
1
f
s
. (2.44)
As shown in chapter 4, this linear-phase feature is key in the optimization of SRF
based synchronization algorithms.
A particular case of linear-phase FIR lters are MAFs, which implement the average
function over the last n samples. The lter coecients of the MAFs are found via the
following equation:
b(i)
i=0,..,n1
=
1
n
. (2.45)
Eq. (2.42) can be expressed in the Z domain as
Y (z) = H
1
(z) X(z) =
1
n
_
X(z) +X(z)z
1
+.... +X(z)z
(n1)
_
=
_
1
n
n1
i=0
z
i
_
X(z),
(2.46)
H
1
(z) being the Z domain transfer function relating the input and output of the lter.
From (2.46) and through the basic properties of the Z transform, a more suitable for
implementation form of H
1
(z) is obtained:
H
1
(z) =
1
n
1 z
n
1 z
1
. (2.47)
The magnitude versus frequency response of H
1
(z) is mathematically described by the
Fourier transform of a rectangular pulse of amplitude 1/n and duration n samples in the
time domain:
Mag [H
1
(f)] = Mag
_
_
sin(
fn
f
s
)
n sin(
f
f
s
)
_
_
, (2.48)
where f is dened in the range [0, f
s
/2] [159].
In grid applications, a cancellation of the even harmonics of f
1
= f
1n
= 50 Hz is
expected (100, 200, ... Hz). From (2.48), the n value canceling all the even harmonics is
2.4 Digital Alternatives to PLLs 89
derived:
n =
f
s
2 f
1n
, (2.49)
n being an integer number, since it sets the order of a digital lter; hence, f
s
should be
an integer multiple of 2 f
1n
.
Fig. 2.37 shows the features of a MAF with f
s
= 10 kHz and n = 100 [146].Fig 2.37a
shows that the even harmonics of f
1n
are canceled and the gain is also very low around
these frequencies. The linear-phase feature can also be noticed. Figs. 2.37c and 2.37d
show the impulse and step responses set by (2.43), in this case 0.01 s.
Figs. 2.37e and 2.37f show a comparative among dierent kinds of discrete lters ex-
tracted from [148]
8
. As shown, the MAF has a very good cancellation pattern considering
grid applications (odd harmonics) and very good transient response.
Fig. 2.38 shows the very good performance of the SRF and MAF based algorithm,
which is named SRF-MAF1.
These simulations have been carried out considering
srf
=
1
=
1n
. In a practical
environment frequency deviations should be taken into account, as shown in section 2.5.
8
Butt(2,10 Hz) means: second order lter of type Butterworth, with cut-o frequency equal to 10 Hz.
90 Chapter 2 State-of-the-Art in Grid Synchronization
0
0.2
0.4
0.6
0.8
1
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0
50
100
150 200 250 300 350 400 450 500
550
-180
-135
-90
-45
0
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
(a) Frequency response (in Hz).
0.9992
0.9994
0.9996
0.9998
1
1.0002
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
2
-4
-3
-2
-1
0
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
(b) Fig. 2.37a zoomed around dc (in Hz).
0
0.002 0.004 0.006 0.008
0.01
0.012
0.014
0
0.001
0.002
0.003
0.004
0.005
0.006
0.007
0.008
0.009
0.01
Time (sec)
A
m
p
l
i
t
u
d
e
(c) Impulse response (t
w
= 0.01 s).
0
0.002 0.004 0.006 0.008
0.01
0.012
0.014
0
0.2
0.4
0.6
0.8
1
Time (sec)
A
m
p
l
i
t
u
d
e
(d) Step response (t
w
= 0.01 s).
Butt(2,30Hz)
Butt(1,10Hz)
Butt(2,10Hz)
0 50 100 150 200 250 300 350 400
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Frequency (Hz)
G
a
i
n
MAF
(e) Comparative with other lters (Frequency Re-
sponse.)
0.15 0.2 0.25 0.3 0.35 0.4
0
0.2
0.4
0.6
0.8
1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
STEP
Butt(2,30Hz)
MAF
Butt(2,10Hz)
Butt(1,30Hz)
(f) Comparative with other lters (Step/transient
response.)
Figure 2.37: Time and frequency responses of H(z)
1
implemented at f
s
= 10 kHz and
n = 100.
2.4 Digital Alternatives to PLLs 91
0.01 0.04 0.05
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
0
0.01
0.02 0.03
0.04 0.05
0.06
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
1
1max
d1
q1
0 0.02 0.03 0.06
0.01 0.04 0.05
-3
-2
-1
0
1
2
3
0 0.02 0.03
0.06
1
1
Figure 2.38: Simulation results for SRF-MAF1 working open loop (
srf
=
1
=
1n
).
92 Chapter 2 State-of-the-Art in Grid Synchronization
.
.
.
0
a
1
v
1
z
1
a
1 N
a
X
X
1
z 2
a
X
.
.
.
1
z
X
H
DCT
(z) (on-line)
Impulse
SRF-MAF1
v
FIR generation
(off-line)
Taps
(a) Technique to obtain FIR taps from the impulse
response.
-50
-40
-30
-20
-10
0
10
M
a
g
n
i
t
u
d
e
(
d
B
)
0
50
100 150 200 250 300 350 400 450 500
-180
-90
0
90
180
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
n=100
n=200
(b) SRF-MAF1 with n = 100 and n = 200 (=RDFT
of [158]);
srf
=
1n
.
Figure 2.39: DCT based implementation gures.
2.4.2.3 Equivalent Implementations
It should be commented that, even though the theoretical approach proposed by Mc-
Grath et al in [158], based on a Recursive Discrete Transfer Function (RDFT) and SRF-
MAF1 are dierent, their implemented schemes could be considered equivalent (Fig. 2.36
vs Fig. 2 of [158]). It can be checked analytically that, even though both schemes seem
to be non-linear, they could be also implemented as linear lters based on the Discrete
Cosine Transform (DCT). In this manner:
H
DCT
(z) =
2
n
n1
k=0
cos(
1
k T
s
)z
k
. (2.50)
H
DCT
(z) taps can be also obtained through the impulse response of SRF-MAF1 (or
RDFT-based) as depicted in Fig. 2.39a. Fig. 2.39b shows the frequency response of the
DCT lters obtained from SRF-MAF1 with n = 100 and n = 200, which is equivalent
to the RDFT based scheme of [158]. As expected, the double window length provides a
better ltering at the cost of doubling the transient time.
It is a common practice to neglect even harmonics in system voltages/currents, which
is accurate for the most of practical electric circuits [27, 97, 160165]. Therefore, it could
be said that SRF-MAF with n = 100 seems to be a more ecient alternative. Indeed,
it takes advantage of the potential DCT half-cycle window, which is the main advantage
of the DCT over the DFT [166]. Another advantage of the DCT (half cycle) over DFT
appears when frequency deviations are considered [166]: as can be observed in Fig. 2.39b,
when the input wave is not rotating at nominal frequency DFT (or DCT with n = 200)
phase error doubles the DCT one.
2.4 Digital Alternatives to PLLs 93
P
1
+
a
v
b
v
c
v
H(z)
LPF
H(z)
LPF
+
1
d
v
P
1
+ (-1)
+
1
q
v
+
1
a
v
Open Loop Synchronous
Reference Frame Generation
srf
b
v
+
1
c
v
1
1
= (
1n
t +
srf
)
. .
srf
+atan2( v
+
q1
, v
+
d1
)
. .
(relative angle)
, (2.52)
and
v
+
a1
max
=
_
v
+
2
d1
+ v
+
2
q1
. (2.53)
The phase-angle estimation can also me made by using the angle transform B
+(1)
to
get v
+
1
and v
+
1
= atan2( v
+
1
, v
+
1
) [, ]. (2.54)
Fig. 2.41 shows simulation results of SRF-MAF3 and n = 100. The good performance,
both in steady and transient states is proved when ideal conditions are considered.
2.4.2.5 SRF-MAFs for Harmonics and Negative-sequences Extraction
Previous approaches showed how to decouple the fundamental component of single-
phase signals and the fundamental positive-sequence of three-phase systems. In the same
way, higher harmonic components can be decoupled using the expression
srf
= h
1
,
where h is the order of the selected harmonic. Negative-sequences can be decoupled by
means of P
1
^
Figure 2.41: Simulation results for SRF-MAF3 working in open loop (
srf
=
1
=
1n
).
96 Chapter 2 State-of-the-Art in Grid Synchronization
2.4.3 Stochastic Filtering based Synchronization Schemes
Digital devices allow to implement online recursive lters such as Kalman and adaptive
lters [171, 172]. The problem of synchronization with a polluted wave can be posed as
the linear-quadratic-Gaussian control problem [171] or as the Wiener problem of state
estimation [172]. Quite signicant proposals in synchronization and harmonic extraction
based on stochastic ltering are present in technical literature [48, 140, 141, 173181].
The most interesting feature of stochastic ltering based algorithms is their potential
fast transient response, even in the presence of some distorted conditions. For this reason,
they were mainly proposed to work in applications where the transient response is crucial
such as Uninterruptible Power Suppliers (UPSs), Dynamic Voltage Restorers (DVR),
traction systems, relaying protecting and harmonic identication [48, 140, 173178, 182].
A global sight of synchronization algorithms based on stochastic ltering is detailed
as follows, both for single-phase and three-phase systems.
2.4.3.1 Kalman Filtering
The Kalman lter is an ecient recursive lter that estimates the state of a dynamic
system from a series of noisy measurements. Kalman lters in grid applications have
been employed as extraction algorithm in [183] (o-line) and [145, 173, 181, 182, 184]
(real time). Relating to the scheme of Fig. 2.33, the EKF-TAD of [141] obtains v
and
v
and v
.
It should be highlighted here that the EKF-TAD does not decouple negative-sequences,
while the Kalman based SRF schemes of [145] do it. In general, it cannot be asserted
that stochastic ltering schemes proposed novel architectures. It seems more suitable
to say that they provided a novel approach to digital ltering. In fact, MAFs
9
and
IIRs are also recursive lters. Therefore, it could be said that the manner in which
the synchronization or extraction problem is posed is much more important than the
stochastic lter coecients.
2.4.3.1.1 Single-phase Example A very simple single-phase example to show Kalman
ltering features is provided in this section. The discrete Kalman model with stationary
reference for identication of the fundamental component (v
1
, rotating at
1
) of a single-
phase wave (v) can be written as:
x(k + 1) = M x(k) +W(k) (State equation), (2.55)
9
Even though MAFs are FIR lters, usually they are implemented as IIR structures using (2.47).
2.4 Digital Alternatives to PLLs 97
M being
M=
_
_
cos(
1
f
s
) sin(
1
f
s
)
sin(
1
f
s
) cos(
1
f
s
)
_
_
, (2.56)
and
v
1
(k) = H x(k) +V(k) (Measurement equation), (2.57)
H being
H = [0 1]. (2.58)
W(k) and V (k) are the stochastic processes of the system noise and measurement
noise, respectively. System covariance matrices for W(k) and V (k) are assumed as
E[W(k) W(k)
T
] = q and E[W(k) W(k)
T
] = r. The error covariance matrix (p) is
updated in each step; its initial value is p(0) = E[
X(k)
X(k)
T
]. The second coecient of
x(k) is v
1
estimation.
The sequential recursive computation steps for v
1
estimation are:
1. Compute of Innovation Matrix (I):
I = v(k) H x(k). (2.59)
2. Compute of Covariance of Innovation (s):
s = H p(k) H
T
+r. (2.60)
3. Compute of Gain Matrix (K):
K = M p(k) H
T
s
(1)
. (2.61)
4. State estimation:
x(k + 1) = M x(k) +K I. (2.62)
5. Update of the error covariance matrix p:
p(k + 1) = M p(k) M
T
+q M p(k) H
T
s
(1)
H p(k) M
T
(2.63)
98 Chapter 2 State-of-the-Art in Grid Synchronization
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
1
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-3
-2
-1
1
2
1
(a) Test for an input with noise and 0.5 p.u. sag
with 45 deg phase jump.
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-1
-0.8
-0.6
-0.4
-0.2
0.2
0.4
0.6
0.8
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-3
-2
-1
1
2
1
1
(b) Test for an input with harmonics.
Figure 2.42: Single-phase Kalman based synchronization algorithm.
The ltering pattern and dynamic response of the Kalman process mainly depend on
the initial values of the covariances. Of course, there is a trade-o between ltering and
transient response. The phase-angle of v
1
for each k instant is obtained by
1
= atan2( x
1
, x
2
) [, ]. (2.64)
Figs. 2.42a and 2.42b show some signicant results for the Kalman ltering synchro-
nization method obtained through the Matlab Script detailed in appendix A.5. These
simulations have been carried out considering
1
=
1
=
1n
, which is revised in section
2.5.
These results show that the Kalman lter approach is suitable for grid synchroniza-
tion, since it can oer an acceptable ltering versus transient response, specially when
comparing with single-phase PLLs.
The dynamics this Kalman based synchronization algorithm can be set in a dierent
manner by means of the intial parameters which set the system gain K (see appendix
A.5). Furthermore, by introducing higher harmonic components in the M matrix, the
ltering response can be enhanced at the cost of increasing computational burdens [183].
2.4 Digital Alternatives to PLLs 99
2.4.3.2 Weighted Least-Squares Estimation (WLSE) algorithms
Song et al proposed the implementation of a recursive least squares (RLS) adaptive
lter, named Weighted Least-Squares Estimation (WLSE), adapted to the synchronization
problem [140, 176178]. The WLSE algorithms approach the problem of synchronization
in an elegant way, so the dynamics of the system mainly depends on the so-called forgetting
factor .
Firstly, the problem was posed for three-phase systems with negative-sequence [140,
176]: usually, after a voltage sag, there is a phase-jump and unbalance (negative-sequence)
in the grid voltage [32]; therefore, the energy transfer between the ac mains and a grid-
connected power converter would not be well controlled while phase-angle error is big, so
the retracking should be as fast as possible. On the other hand, unbalance generates a
second harmonic ripple in the positive SRF [26]. Song et al discarded the use of notch
lters because of their sluggish transient response; they proposed the WLSE algorithm
instead, which indeed oers a surprising almost instantaneous retracking even under un-
balanced conditions. Song et al proved the WLSE performance in a DVR. Of course, this
approach is suitable for any other approach where SRF controllers are employed.
It is also remarkable the single-phase version of the WLSE algorithm, which also
achieves almost instantaneous retracking [177, 178]. The single-phase WLSE algorithm
was proposed for a traction system in [178]: when a locomotive changes its voltage source,
the new phase-angle should be retracked as soon as possible in order to avoid malfunctions.
2.4.3.2.1 Three-phase WLSE Algorithm In [140, 176], the problem of phase-angle
estimation of a three-phase input signal (v
abc
) is posed relating the SRF with the frame
as follows.
Considering only the fundamental component of v
abc
, it can be expressed in the
frame
v
= C v
T
abc
, (2.65)
where
C =
2
3
_
_
1
1
2
1
2
0
3
2
3
2
_
_
. (2.66)
v
= [v
max
= v
max
. In order to decouple negative from positive-
sequence of the fundamental component the angle transformations are employed: the
100 Chapter 2 State-of-the-Art in Grid Synchronization
matrix H is composed of the link of B
+(1)
1
and B
+(1)
1
, which rotate at
1
and have a
random oset phase. That is:
H =
_
_
_
_
cos(
1
t(k)) sin(
1
t(k))
sin(
1
t(k)) cos(
1
t(k))
_
_
. .
B
+(1)
1
_
_
cos(
1
t(k)) sin(
1
t(k))
sin(
1
t(k)) cos(
1
t(k))
_
_
. .
B
(1)
1
_
_
, (2.67)
so
v
= H v
+T
dq1
, (2.68)
where
v
+
dq1
=
_
v
+
d1
v
+
q1
v
d1
v
q1
_
, (2.69)
v
+
d1
, v
+
q1
, v
d1
and v
q1
being the components of v
abc
1
in the positive and negative SRFs.
The sequential recursive computation steps for the WLSE estimation of v
+
dq1
, and
hence the phase-angle from v
abc
1
are detailed below. The dynamic response depends on
the forgetting factor and initial error covariance (p
0
):
1. Compute of v
H v
+
dq1
(k 1)). (2.73)
The phase-angle of the positive-sequence is obtained using v
+
d
, v
+
q
. Owing to the good
decoupling between positive and negative sequences there is not an undesired second
harmonic in estimated values.
2.4 Digital Alternatives to PLLs 101
Fig. 2.43 shows experimental results of the WLSE algorithm. The Matlab script of
appendix A.6 has been employed. It can be noticed that the transient response is very
good and it does not have ripple under unbalanced conditions. The transient response
could be even improved by the covariance reseting technique proposed in [140, 176].
Fig. 2.44 shows experimental results of adding extra sequences to H when dealing
with harmonics in the input: the simple implementation identies the 5
th
harmonic as
noise and the should be reduced in order to lter it. The second option is to add positive
and negative sequences of the 5
th
harmonic to H: positive and negative sequences of 5
th
harmonics are decoupled and the is kept. This second option could be more resource-
consuming, but in terms of performance seems to be an interesting one. Of course, in
very polluted practical systems more harmonic sequences in H could be implemented.
Until now, the eect of frequency deviations in stochastic lters has not been con-
sidered. However, stochastic lters are very sensitive to them [140, 181]. The frequency
adaptation of stochastic lters, specially the WLSE ones, is revised in the next section.
102 Chapter 2 State-of-the-Art in Grid Synchronization
0
0.01 0.02 0.03 0.04
0.05
0.06 0.07 0.08 0.09
0.1
-1
0
1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
a
V
b
V
c
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-1
1
0
0 0.05 0.1
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
Time (s)
0 0.05 0.1
Time (s)
-3
0
3
0
0.05 0.1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
)
0
1
V
d1+
V
q1+
V
d1-
V
q1-
^
^
^
^
1
^
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
0.01 0.03 0.04 0.06 0.07 0.08 0.09
-1
1.5
0.02
0 0.05 0.1
Time (s)
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-3
-2
-1
0
1
2
3
0 0.05 0.1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
)
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-0.2
0
1
V
d1+
V
q1+
V
d1-
V
q1-
^
^
^
^
1
^
Figure 2.43: WLSE experimental results for dierent s.
2.4 Digital Alternatives to PLLs 103
0 0.05 0.1
-1
0
1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
a
V
b
V
c
-1
1
0
0 0.05 0.1
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
Time (s)
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
d1-
V
q1-
^ ^
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-1.5
-1
-0.5
0
0.5
1
1.5
2
0 0.05 0.1
Time (s)
-2
V
d1+
V
q1+
^
^
1
+(-1)
1
-(-1)
5
+(-1)
5
-(-1)
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-2
-1
1
2
-3
0
3
0 0.05 0.1
Time (s)
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
)
1
^
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09 0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-2
-1
1
2
1
^
-3
0
3
0
0.05 0.1
Time (s)
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
)
0.01 0.02 0.03 0.04 0.06 0.07 0.08 0.09
-1
-0.5
0
0.5
1
1.5
V
d1+
V
q1+
^
^
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
1
+(-1)
1
-(-1)
0
0.05 0.1
1
+(-1)
1
-(-1)
1
+(-1)
1
-(-1)
5
+(-1)
5
-(-1)
Figure 2.44: WLSE experimental results. Eect of adding extra sequences to H.
104 Chapter 2 State-of-the-Art in Grid Synchronization
2.5 Frequency Adaptation of Synchronization Algo-
rithms
The study of the linearized model of PLLs provides an accurate assessment of dynam-
ics. However, studies of the dynamics provided for other schemes are not as deep and
accurate as the provided by PLL theory.
Section 2.3 revised the criteria followed to assess the performance of PLLs. Following
the same criteria, any synchronization algorithm should have:
1. high stability margins,
2. a fast transient response,
3. zero steady-state average phase error (
1e
= 0), and
4. low phase jittering (low
2
1ej
),
in order to be considered a high performance one.
As shown in section 2.4, many of the alternative synchronization algorithms have a
better performance on the whole than PLLs when working around nominal frequency
(
1
1n
). However, as also pointed in section 2.4, this assertion should be reconsidered
in practical operation. Faults on the bulk power transmission system, a disconnection
of a large load or of a large source of generation cause frequency deviations (from
1n
).
These frequency shifts are larger in equipment powered by isolated generators.
Therefore, when assessing the performance of a synchronization algorithm, it should
be taken into account how it performs in the presence of frequency deviations and, in
some cases, detects this change.
International standards dene ranges of normal operation for frequency deviations.
The European Standard UNE-EN 50160, which sets f
1n
= 50 Hz, establishes limits
in maximum allowable frequency deviations. For interconnected systems the mean
value of f
1
, estimated each 10s should not exceed 1% ([49.5, 50.5] Hz) during the
99.5% of a week, but exceptional deviations between +4% and 6% are permited.
For isolated systems, normal operation of 2% and exceptional deviations of 15%
are specied [185].
The IEC-61000 Standard sets the normal limit operation in 2% for interconnected
system and extends these limits for isolated systems [144].
2.5 Frequency Adaptation of Synchronization Algorithms 105
Regarding to distribution generation, and more specically to the new grid codes
for wind turbines, normal operation of wind turbines allows frequency deviations of
around 3 Hz [94].
When
1
=
1n
, it should be noticed that:
Digital PLLs using a lag/lead lter, as proposed in [46, 100, 105], would not have
1e
= 0 (type I PLLs) [78, 79].
Filters employed in the frame as SRF-PLL pre-lters could lead to
1e
= 0 in
steady-state when
1
=
1n
: some of these lters (e.g. D(z)) do not have the
expected frequency response at f
1
= f
1n
(e.g. phase response of D(z) in Fig. 2.27).
SRF based schemes, including the stochastic ltering ones, do not have
1e
= 0
when
srf
=
1
because of the ltering delay. This phase error is:
1e
= (
1
srf
) t
d
(f
1
), (2.74)
where t
d
(f) is function of the input frequency (phase response), except for linear
phase lters [147, 158]. In the case of stochastic ltering, t
d
is lower as faster is
the system (e.g. in the WLSE algorithms, the lower the faster the system, so the
lower t
d
).
FIR lters such as numeric delays (e.g. D(z)) and MAFs do not achieve complete
harmonic cancellation, which causes phase jittering. This assertion could be ex-
tended to stochastic lters.
Of course, the issue of frequency adaptation has been posed by most of the authors
proposing novel synchronization algorithms. In sum:
The use of PLLs to get frequency adaptation has been proposed to work with TAD
schemes [141] and SRF schemes [148, 186]. These hybrid schemes enhance their
whole performance using the frequency estimation from PLLs to adapt internal
signal and/or lter coecients.
E.g. in [148]
srf
is estimated by a single-phase PLL. Then, Fig. 2.36 is implemented
with
srf
= h
1
for selective harmonic extraction of dierent harmonic components.
The implementation of an extra frequency loop, instead of a PLL, to estimate
1
and update
srf
has also been proposed [140, 143, 144, 151, 176, 177].
The update of the sampling rate of the digital device was proposed in the RDFT
algorithm of [158] and also in the single-phase PLL of [128]. Zero steady-state phase
error and low jittering is achieved. However, technical problems could appear, since
the frequency response of discrete lters is changing continuously [158].
106 Chapter 2 State-of-the-Art in Grid Synchronization
An alternative phase-oset correction technique is provided in [158]. In the case of
a PLL, a closed loop system, this limitation seems to be very important and the
PLL should have a very low bandwidth, and hence, a slow transient time, as shown
in Fig. 14 of [128].
GI discrete-time implementation can be updated using
1
as proposed in [119] for
PR current controllers. This has been applied in synchronization algorithms to avoid
phase error and/or jittering [123, 143, 144]. The chapter 5 of this thesis contributes
a novel approach concerning frequency adaptation of PR current controllers, which
can be also applied to synchronization.
Svensson and Bongiorno have studied the frequency adaptation of DSC lters. The
choice of the device sampling rate is very dependant on the grid frequency [187]. In
[188] a very similar technique to the phase-oset correction of [158] is provided for
DSC implementation.
Similarly to the case of DSC lters implementation, the choice of the sampling
frequency when implementing the pre-lters of [111] is not a trivial task. In a general
way, it could be concluded that the most dicult issue in the implementation of
pre-lters is to assure that the input wave is delayed an integer number of samples
[188].
2.5.1 Frequency Adaptation in WLSE Schemes
Dealing again with the WLSE synchronization algorithm, Song et al proposed a PI
based controller to correct the estimated frequency. The input of that PI was the phase
oset error between two consecutive samples. It should be noticed that the frequency
adaptation of the WLSE results in a very slow dynamics ( 2 s) when compared with
phase-jump and amplitude-change transients ( 1 ms) [140, 176, 177]. This problem has
also been reported in [108].
The main reason of this slow response is the very big forgetting factor ( = 0.9999)
employed in the implementation. From Figs. 2.43, a large provides very good ltering
but slow dynamics. Song et al xed this problem proposing the so-called covariance
resetting technique, which resets the covariances to initial values when a grid fault is
detected. In this manner, it is achieved an excellent transient and steady-state (ltering)
responses. However, this approach has a drawback considering frequency deviations:
even though the WLSE in the form proposed by Song et al has a fast transient response
(when fault condition is correctly detected), in steady-state the WLSE is tuned with slow
dynamics. Frequency deviations do not reset the covariances so the system dynamics
remains very slow.
Therefore, it could be said that the covariance resetting technique does not seem a
good choice when considering considerable frequency deviations.
2.5 Frequency Adaptation of Synchronization Algorithms 107
Table 2.4
Look-up table: control of n depending on
1
Optimized for n
1
n + 1
1
n 1
1
= 248.5 rad/s 103 248.8 rad/s -
1
= 249 rad/s 102 249.3 rad/s 248.7 rad/s
1
= 249.5 rad/s 101 249.8 rad/s 249.2 rad/s
1
= 250 rad/s 100 250.3 rad/s 249.7 rad/s
1
= 250.5 rad/s 99 250.8 rad/s 250.2 rad/s
1
= 251 rad/s 98 251.3 rad/s 250.7 rad/s
1
= 251.5 rad/s 97 - 251.2 rad/s
2.5.2 Frequency Adaptive MAFs
This technique has been proposed in [148]. The frequency estimation from a PLL (
1
)
is employed to adjust online the order of the MAFs. Fig. 2.45 shows how the frequency
response for dierent n. Table 2.4 show the rule of change of the n value: upper and
lower thresholds are dierent from the center value in order to provide some hysteresis
behavior, avoiding continuous changes due to ripple in
1
.
108 Chapter 2 State-of-the-Art in Grid Synchronization
frequency
estimation
1
Out
Product
Multiport
Switch1
Multiport
Switch
-1
Z
Integer Delay4
-1
Z
Integer Delay3
-1
Z
Integer Delay2
-1
Z
Integer Delay1
-98
Z
Integer Delay
K Ts
z-1
Discrete-Time
Integrator
51
Constant6
50.5
Constant5
50
Constant4
49.5
Constant3
1
Constant2
49
Constant1
Add
50.8-50.7
50.2-50.3
49.8-49.7
49.3-49.2
4
2*2
2
w
1
In
(a) Simulink implementation of MAFs with frequency adaptation.
0 50 100 150 200 250 300
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
Frequency (Hz)
G
a
i
n
n=98
n=99
n=100
n=101
n=102
97 98 99 100 101 102 103
0
0.01
0.02
0.03
0.04
0.05
Frequency (Hz)
G
a
i
n
(zoom)
(b) Frequency response of MAFs as function of n (f
s
= 10 kHz).
Figure 2.45: Frequency adaptive MAFs.
2.5 Frequency Adaptation of Synchronization Algorithms 109
2.5.3 Adaptative Filtering for Frequency Adaptation/Estimation
Adaptive and stochastic lters have been also proposed for frequency estimation, e.g.
[189, 190]. This section analyzes the frequency adaptation technique proposed in [151] to
enhance the performance of SRF-MAFs.
Fig. 2.46 shows the frequency update algorithm proposed for SRF-MAF1. Fig. 2.46a
shows SRF-MAF1 with frequency adaptation. Frequency adaptive MAFs are employed.
The frequency of the SRF is updated online, so
srf
=
1
. This assures that v
q1
and v
d1
are dc components in steady-state, and therefore, there is not ltering delay, so
1e
= 0
is achieved. Fig. 2.46b represents the adatptive SRF-MAF1 (Fig. 2.46) depicted as an
adaptive lter.
Fig. 2.46c shows the owchart for frequency estimation. This adaptive lter has been
designed taking into account the singular features of grid-applications. The main parts
of the proposed frequency estimation are detailed below:
The error signal (e), or cost function, is e = atan2(v
d1
, v
q1
) variation with respect
to the previous sample (numerical derivative), as in [140, 177].
The abs(e) < condition is placed in order not to estimate the frequency during
transients. Hence, it is assured that the transient response is the same as in open
loop operation.
The update of
1
is proportional to a gain factor () and e
2
; the e
2
factor causes the
system to adapt rapidly when there is a high frequency shift and smoothly when
the shift is small.
The value of e is saturated in a range [e
min
, e
max
] avoiding very big changes between
consecutive
1
.
The value of
1
is saturated in the range [
1
min
,
1
max
], since practical frequency
deviations are within a reduced range.
The optimum mainly depends on the input signal features, specially uncorrelated
white noise. The optimum depends on the main algorithm, i.e. SRF-MAF1
optimum is not optimum for SRF-MAF3.
The approach made for single-phase systems is suitable for the three-phase approach
using the fundamental positive-sequence set of values ( v
+
d1
, v
+
q1
) to calculate e.
Table 2.5 shows the algorithm values used in the implementation. Dierent gains ()
have been used in order to show the noise dependence of this parameter.
Fig. 2.47 shows simulation results for the frequency adaptive SRF-MAF1 implementa-
tion using = 5 10
4
s/rad. The test shows the response of the system during the initial
110 Chapter 2 State-of-the-Art in Grid Synchronization
X
X cos(u)
sin(u) 2H(z)
MAF
2H(z)
MAF
,...) , , (
4 2
dc f
Frequency
Estimation
Algorithm
z
-1
1
) 1 ( ) (
1
= k k
srf
)
d
q
+ =
srf srf srf
t
1 q
v
)
1 d
v
)
(a) SRF-MAF1 with frequency adaptation/estimation.
SRF-MAF1
(Adaptive Fiter)
+
+
1
i i
t +
o o
t +
) ( 2 tan tan
1
t a
n
v
z
-1
+
-
Frequency
Estimation
e(k)
)) ( ), ( (
1 1
k v k v
d q
atan2
(b) Fig. 2.46a depicted as an adaptive lter.
Initialize: x(0)=0; k=0
Estimate: v
d1
(k) and v
q1
(k)
Calculate error: e=x(k)-x(k-1)
Limit e: e
min
e e
max
abs(e)<
New sample: k=k+1
yes
no
)) ( ), ( ( ) (
1 1
k v k v k x
d q
atan2 =
2
1 1
) ( ) 1 ( ) ( e e sig k k + =
max 1 1 min 1
) ( ) ( ) ( k k k <= <
Saturate
1
estimation
update
(c) Flowchart of the adaptive lter
based frequency estimation.
Figure 2.46: Adaptive lter scheme of SRF-MAF1 with frequency adaptation/estimation.
2.5 Frequency Adaptation of Synchronization Algorithms 111
Table 2.5
Adaptive algorithm values.
10
3
rad/s
e
min
0.7 10
3
rad/s
e
max
0.7 10
3
rad/s
1max
251.5 rad/s
1min
248.5 rad/s
1 10
5
s/rad
1 10
4
s/rad
5 10
4
s/rad
transient (start-up) of an input signal with
1
= 49 Hz. Fig. 2.47a shows the fundamental
component reconstruction. As expected, the transient response lasts half a cycle of f
1
.
Fig. 2.47b shows the phase error during and after the transient. The same result is shown
for the scheme without frequency adaptation in Fig. 2.47c. These results prove the im-
provement in steady-state, keeping the transient response features. Fig. 2.47d shows the
frequency adaptation; as said, during the initial transient
1
is not updated (abs(e) >
condition); the update is made only in steady-state.
Regarding to SRF-MAFs, due to selectivity of MAFs, they cancel well harmonics but
not specially well other components. The eect of uncorrelated white noise is studied
below.
The optimum value of , under dierent noisy conditions, is studied for the SRF-
MAF3. This tests show the speed of the algorithm to adapting itself to the input frequency
during the start-up transient. Fig. 2.48a shows a set distorted (unbalance and harmonics)
input waves. The input frequency is 50.8 Hz. Fig. 2.48b shows how the system with higher
( = 110
5
s/rad) is adapted faster and with good accuracy. Fig. 2.48c shows the same
results when white noise of BW 10 kHz and PSD of 4 10
8
p.u. is added to Fig. 2.48a
waves. In this case ten times lower ( = 1 10
4
s/rad) is more suitable, since it has a
much lower level of frequency jittering. It is clear the inuence of noise in the election of
the value, so the variables acquisition is key.
112 Chapter 2 State-of-the-Art in Grid Synchronization
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
Input Frequency= 51 Hz.
0
(a) Input wave and reconstructed (f
1
= 51 Hz).
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-100
-90
-80
-70
-60
-50
-40
-30
-20
-10
0
Time (s)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
0
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
ZOOM
ZERO AVERAGE STEADY-
STATE PHASE ERROR
(b) Phase-error with frequency adaptation.
0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-100
-90
-80
-70
-60
-50
-40
-30
-20
-10
0
Time (s)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
NON ZERO AVERAGE STEADY-
STATE PHASE ERROR
ZOOM
(c) Phase-error without frequency adaptation (
+2 deg average steady-state phase error).
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8
49.8
50
50.2
50.4
50.6
50.8
51
51.2
Time (s)
S
y
s
t
e
m
F
r
e
q
u
e
n
c
y
(
H
z
)
(d) Frequency estimation.
Figure 2.47: Adaptive SRF-MAF1 Vs open loop SRF-MAF1 during the start-up and
steady-state.
2.6 Conclusion
This chapter provides an in-depth review of the state-of-the art in grid synchronization.
It is clear that the simplest open loop systems based on zero-cross detection are not
suitable for distorted environments. The rst milestone in grid synchronization was the
PLO proposed by Ainsworth. The PLO system is almost immune to harmonics and
frequency deviations in weak grids. The drawback of the PLO is its complex dynamics (
dependence). Later, the use of CP-PLLs as measurement blocks was proposed in motor
drives applications, mainly to handle with big frequency deviations. The use of CP-PLLs
resulted in simpler controllers. However, this rst CP-PLLs have important limitations
due to their PD are based on zero-cross detection. With the suitability of discrete devices,
digital PLLs were proposed. They perform much better than analog CP-PLLs. It should
be specially highlighted the SRF-PLL proposal. In fact, SRF-PLL implementation is being
investigated nowadays; several optimization techniques have been proposed since its rst
appearances. Digital single-phase PLLs are also an interesting alternative to CP-PLL in
single-phase systems. On the other hand, by taking advantage of digital implementation
some interesting schemes have been proposed as alternative to PLLs, e.g. SRF-MAFs
and WLSE. However, PLLs provide a big advantage with respect to other systems: its
2.6 Conclusion 113
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-1.5
-1
-0.5
0
0.5
1
1.5
Time (s)
A
m
p
lit
u
d
e
(
p
.
u
.
)
(a) Unbalanced and harmonic contaminated set of
input waves (blue is v
a
, green is v
b
and red is v
c
).
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
49.5
50
50.5
51
51.5
Time (s)
F
r
e
q
u
e
n
c
y
(
H
z
)
(b) Frequency estimation (green
with = 1 10
4
s/rad, red with = 1 10
5
s/rad).
0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2
49.5
50
50.5
51
51.5
Time (s)
F
r
e
q
u
e
n
c
y
(
H
z
)
Input Frequency
Freq. Meas with K2
Freq. Meas with K1
(c) Frequency estimation for a noisy input (green
with = 1 10
4
s/rad, red with = 1 10
5
s/rad)
(d) dSpace implementation of Adaptive SRF-
MAF3. Frequency estimation using = 1
10
4
s/rad.
Figure 2.48: Frequency estimation with Adaptive SRF-MAF3.
very good frequency adaptation. Some frequency adaptation techniques for alternative
algorithms are reviewed.
114 Chapter 2 State-of-the-Art in Grid Synchronization
Chapter 3
Dynamics Study of Low-Gain PLLs
Abstract
This chapter presents a novel approach in the tuning of phase locked loops (PLLs) for power
electronic converters. PLLs are implemented inside a higher level controller to estimate the grid
voltage phase-angle and then control the energy transfer between the power converter and the ac
mains. The tuning of the PLL is not a trivial task, specially when considering power quality
phenomena.
In a general way, PLLs with a low bandwidth (low-gain PLLs) are required when handling
with distorted voltages. It is analytically demonstrated that low-gain PLLs have more trade-os
than high-gain PLLs (e.g. PLLs for communications): it is not possible to optimize the settling
time for a phase-jump without getting slower the PLL response to frequency variations. Existing
tuning methods do not take into account low-gain features, which may result in non-optimum
designs.
The proposing PLL tuning methodology is based on inspection of frequency-domain diagrams
and, contrary to the other existing tuning methods, takes into account low-gain dynamics. It is
assured an optimized performance in the presence of any kind of disturbances in the grid.
From practical point of view, the proposed tuning procedure is very intuitive for controller
designers. Some signicant design examples and experimental results, obtained from a discrete
implementation (dSpace platform), are provided in order to validate the theoretical approaches.
In the second part of the chapter, the DCO based on a RC oscillator is presented: the digi-
tal model of a sinusoidal oscillator is implemented, instead of explicit trigonometric functions.
This solution reduces the needed digital resources without reducing the performance, which could
be specially useful for DSP-based control of power converters. Experimental results are shown
proving the good performance of the proposal.
115
116 Chapter 3 Dynamics Study of Low-Gain PLLs
3.1 Introduction
As said in chapter 2, distortion in the ac mains should be taken into account when
tuning a PLL: there is a trade-o between ltering and transient response. With the
suitability of an ever increasing potential of discrete devices, several techniques to improve
this trade-o have been proposed, such as the placement of extra lter inside the loop
[106, 109, 112, 126] or before the phase detector (pre-lters) [111, 117, 123], and the
implementation of complex feedback structures [108, 126, 127]. However, it can be checked
that the implementation of ltering techniques always leads to a drastic reduction in the
whole bandwidth and therefore in the transient response speed. More specically, when
optimization techniques aect to the closed-loop dynamics (lters inside and/or feedback),
the PLL should be tuned with a low bandwidth accordingly, giving rise to a low-gain PLL.
This chapter analyzes in depth the dynamics of low-gain PLLs through the frequency
response of their equivalent linearized model. It is analytically proved that low-gain PLLs
do not respond equally to phase or frequency changes. More specically, it is not possible
to control the overshoot in the step response (phase-jump) without aecting very much
the dynamics when a frequency variation occurs. This fact is not taken into account in
previous works, which could easily result in a non-optimal tuning.
Taking into account low-gain features, a tuning method for grid-connected PLLs is
provided. This method is based on inspection of Bode and pole/zero diagrams, so it could
be said that it is very intuitive and useful for the controller designer. Some signicant
design examples of SRF-PLL tuning are provided and tested in real time. These tests
contemplate both steady-state distortion and grid transients (faults). The dSpace DS1103
platform, using the discrete solver, and a programmable ac source have been employed
for the tests. Experimental results prove all the theoretical approaches.
In the second part of the chapter, the DCO based on a RC oscillator is presented. The
digital model of a sinusoidal oscillator is implemented, instead of explicit trigonometric
functions. This reduces the needed digital resources without reducing the performance,
which could be specially useful for DSP-based control of power converters.
3.2 Frequency Domain Based Tuning
Fig. 3.1 shows the PLL linear model, which is suitable for studying the dynamics of
PLL for which the linearization approach is accurate, such as SRF-PLLs and multiplied
based single-phase PLLs. The linear model open loop transfer function in the Laplace
3.2 Frequency Domain Based Tuning 117
+
-
s
1
1
PD
e 1
DCO
1 1
+ t
1 1
+ t
) (s L
) (s H
Figure 3.1: Studied linear model.
domain is given by the equation:
H(s) = L(s)
. .
Loop Filter
1
s
..
DCO
. (3.1)
3.2.1 Stability Margins and Cut-o Frequency
The stability condition of the linear model through the open loop frequency response
is: |H(s)| < 1 when H(s) 180 deg. Two quantities are directly related with this
stability criterion: the phase margin (PM) and the gain margin (GM). The crossover
frequency (
c
) is referred to the frequency at which |H(s)| is 1 (0 dB). In this point the
PM is measured. PM is very useful to specify control system performance because it is
related with the damping ratio of the system () [191]:
=
PM
100
for PM < 70 deg . (3.2)
The information of PLL settling time (t
s
) can be obtained from the H(s) frequency
response, since
c
is approximately equal to the closed loop bandwidth (
3dB
) and natural
(
n
) frequencies: t
s
to within 2% of the nal value of a second order closed loop system
can be estimated with
t
s
=
4
c
(3.3)
[192]. Therefore, by inspection of the Bode diagram of H(s) the PLL transient response
can be estimated accurately. From (3.3) a high
c
results in a fast system. However, a
high
c
leads to a bad steady-state ltering: the choice of
c
is the main trade-o in the
tuning [28, 99]. t
s
can also be optimized increasing [117].
118 Chapter 3 Dynamics Study of Low-Gain PLLs
Stability margins and
c
can be estimated by dierent frequency domain methods
such as Nyquist, Nichols and Bode diagrams. The use of Bode diagrams is employed in
this work, since they provide information of both transient and steady-state performance.
3.2.2 Steady-state Distortion and Bandwidth
The needed information for phase-angle tracking is the dc component after the phase
detector. Any other harmonic content in the error signal causes jittering in the estimation
and should be canceled [78]. For the single-phase PLL it is clear that the second harmonic
is an annoying problem even though the input signal is totally clean. The problem of the
second harmonic appears in the SRF-PLL when there is fundamental negative-sequence
in the set of input voltages [99]. The presence of higher harmonics in the inputs could
also result in a loss of performance [28, 99].
The very rst action to cancel the presence of non dc components in the error signal was
the reduction of the PLL bandwidth (
c
), so the closed loop has low gain at non desired
frequencies [28, 99]. The suitability of ever-increasing performance digital devices allows
the implementation of more complex discrete lters and techniques. Some signicant
proposals are
the implementation of dierent kind of lters inside the loop lter to cancel for
specic harmonics and unbalance eect [106, 109, 112, 126].
the use of lters before the phase detector (pre-lters) to cancel for specic har-
monics and unbalance eect [111, 117, 123]. It should be noticed that the use of
pre-lters does not aect to PLL tuning, but reduces the whole bandwidth, since
they cause a lag when there is an input transient.
the implementation of complex feedback structures to cancel for second harmonic
(single-phase PLLs) and unbalance eect (SRF-PLL) [108, 126, 127].
Fig. 3.2 explains by itself the pros and cons of introducing extra lters inside the
loop (L(s)). Indeed, the magnitude versus frequency response allows to cancel for specic
components. However, each lter introduces phase inside the loop, which results in a
reduction of stability margins. Therefore, in order to have an acceptable PM, when extra
lters are placed inside the loop, the bandwidth (
c
) should be reduced. It could be said
that, in general, the better the lter cancellation pattern of a specic lter, the worse
its phase response. Moreover, it should be also noticed that the eect of adding extra
feedback signals results in a drastic bandwidth reduction [108].
3.2 Frequency Domain Based Tuning 119
0
0.2
0.4
0.6
0.8
1
M
a
g
n
i
t
u
d
e
(
a
b
s
)
50
100
150
200
250
300
350
400
-180
-90
0
90
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
Notch (Q=10)
Notch (Q=1)
Moving Average
Figure 3.2: Frequency response of dierent lters for canceling harmonics.
3.2.3 Grid Events and Transient Responses
Typical power system electromagnetic phenomena related with transients in the input
of the PLL are voltage variation (sag and swells), phase-angle shifts or phase jumps and
frequency deviations [31].
The bandwidth is set by the gain of the loop lter, but also, by the amplitude of the
input signal. This is indeed a limitation of PLLs: the dynamics depends on the input
amplitude. A practical problem appears when a voltage sag is in the inputs. Usually,
voltage sags have a phase-jump associated [32]. Under such a situation, a low-gain PLL
is even slower than usual, and therefore the re-tracking time could be unacceptable. To
overcome this situation the PD input can be normalized using an amplitude estimation,
but it adds complexity to the PLL as well as to the dynamics assessment [111, 117, 126,
127].
Another limitation of low-gain PLLs, which is analytically proved below, is the fact
that the settling times in the presence of phase-jumps or frequency deviations could be
very dierent. More specically, the step response of Fig. 3.1 model is not accurate for
frequency steps when H(s) overdamped. This introduces a new trade-o in the design of
the PLL, since, it is not possible to optimize t
s
for phase jumps without getting worse the
response to frequency deviations.
The error transfer function relating the phase error
e
to the input phase
1
is:
H
e
(s) =
1
H(s) + 1
. (3.4)
120 Chapter 3 Dynamics Study of Low-Gain PLLs
The Laplace transform of the phase error when a phase step or phase jump () is
applied at time t = 0 is [78]:
e
(s) = H
e
(s)
s
. (3.5)
Through the nal value theorem, a PLL has zero average steady state phase error
after a phase jump if:
e
() = lim
s
s
e
(s) = 0. (3.6)
In the same way, the Laplace transform of the phase error when a frequency step ()
is applied at time t = 0 is:
e
(s) = H
e
(s)
s
2
. (3.7)
and
e
() = lim
s
s
e
(s) = 0 (3.8)
assures zero steady-state phase error after a frequency step.
The condition imposed by (3.8) requires of two origin poles in H(s) giving rise to a
type 2 PLL [79]. Applied to the PLLs of Fig. 2.18 if there is no origin poles in L(s)
this PLL does not have zero average steady-state phase error when the input signal is
not rotating at the frequency set by the feedforward constant of the VCO (
vco
). Typical
digital PLLs implements PIs as loop lter resulting in type 2 PLL [99]. The use of a
lag-lead lter (lag compensator) instead of a PI lter, as proposed e.g. in [46], results in
type 1 PLL which does not assure tracking under frequency deviations.
Eqs. (3.6) and (3.8) do not provide information about how long the transients last.
In order to study the transient responses of the PLL, the inverse Laplace transform is
applied to eqs. (3.6) and (3.8). This analysis is performed assuming that L(s) is a PI
lter (type 2 PLL):
L(s) = K
p
+
K
i
s
, (3.9)
where K
p
and K
i
are the proportional and integral constants, respectively. This approach
is valid even though extra discrete lters are present inside the loop, since, from stability
conditions, their implementation require a low gain and therefore, the dominant roots
are the PI lter ones.
3.2 Frequency Domain Based Tuning 121
Eqs. (3.5) and (3.7), expressed also as function of and
n
, are:
e
(s) =
s
s
2
+K
p
s +K
i
=
s
s
2
+ 2
n
s +
2
n
, (3.10)
and
e
(s) =
s
2
+K
p
s +K
i
=
s
2
+ 2
n
s +
2
n
. (3.11)
The expression of
e
(t) and
e
(t) in the time domain (being t = 0 the moment of
the transient) depends on the roots of the denominator (p
1
and p
2
):
p
1,2
=
n
(
_
2
1). (3.12)
3.2.3.1 Underdamped Case: < 1
e
(t) =
1
2
e
n
t
sin(
n
_
1
2
t +) (3.13)
where = tan
1
(
1 / ), and
e
(t) =
1
2
e
n
t
sin(
n
_
1
2
t). (3.14)
3.2.3.2 Overdamped Case: > 1
e
(t) =
2
2
1
[(1
_
2
1) e
n
(1
2
1)t
. .
slow pole
(1 +
_
2
1) e
n
(1+
2
1)t
. .
fast pole
] =
2
1
[(1
_
2
1) e
p
2
t
. .
slow pole
(1 +
_
2
1) e
p
1
t
. .
fast pole
]
(3.15)
122 Chapter 3 Dynamics Study of Low-Gain PLLs
and
e
(t) =
2
n
2
1
[e
n
(1
2
1)t
. .
slow pole
n
(1+
2
1)t
. .
fast pole
] =
2
n
2
1
[ e
p
2
t
..
slow pole
e
p
1
t
..
fast pole
]
(3.16)
From eqs. (3.13) and (3.14), it is clear that for the underdamped case the transient
response can be improved both increasing K
i
(
n
) or K
p
(). However, for overdamped
situation the situation is not clear at all. Eqs. (3.15) and (3.16) have two terms, one
decaying with e
p
1
t
(fast pole) and another with e
p
2
t
(slow pole).
In the case of
e
(t) (phase-jump) the term associated with the slow pole has associated
a smaller coecient. If the system is tuned so |p1| >> |p2| the transient response only
depends on the fast pole, so this transient response can be improved increasing . A step
response with almost no overshoot can be achieved. It should be noticed that an increase
in is also equivalent to an increasing in the PM. The problem of this approach arises
when
e
(t) (frequency deviation) is considered (eq. (3.16)). The terms associated to the
slow pole has the same magnitude than the other one. If p
2
is very close to the origin,
the transient dened by
e
(t) lasts very much.
Fig. 3.3a shows a diagram of poles/zeros for underdamped and overdamped situations.
As larger is the distance of the dominant poles to the imaginary axis, the faster is the
transient response. Moreover, the higher the imaginary part of a pole, the higher the
overshoot. Therefore, for the case of
e
(s), it is clear that the transient response to a
phase-jump is better for the overdamped case because the dominant pole is p
1
, since p
2
is almost canceled by the origin pole (Fig. 3.3b). However, in the case of
e
(s) the
absence of zero in the overdamped tuning leads to a situation where p
2
is the dominant
root, and therefore, the underdamped case has a better frequency step transient (Fig.
3.3c). Therefore, it seems that a tuning around critical damping (K
2
p
4K
i
, so that
1) results in the better trade-o for transient responses, even though the overshoot
in
e
(t) is not canceled.
Finally, it should be noticed that a similar approach can be made in the Z-domain
obtaining the equivalent results. A very overdamped system in the Z-domain has its
dominant poles very close to the unity circle [117]. As PLLs are implemented in a discrete
device, an analysis/tuning in the Z-domain seems to be more suitable. However, the
analysis/tuning could be made in the Laplace domain if the sampling frequency (f
s
) is
high enough when compared with the dominant poles frequency; the poles/zeros place in
the Laplace domain is much more intuitive to predict the time constants of the system.
3.2 Frequency Domain Based Tuning 123
(a) Poles-zeros diagram for
e
(s)
and
e
(s)
.
(b)
e
(t) comparative. (c)
e
(t) comparative.
Figure 3.3: Comparative between underdamped and overdamped cases.
3.2.4 Limitations of Existing Tuning Approaches for Low-gain
PLLs
First of all, it should be noticed that the Evans root-locus diagram does not provide an
accurate tuning of low-gain PLLs: a type II PLL has a zero close to the origin (dominant
root). Its eect is negligible when the dominant poles are high, but not when they are
also close to the origin. In practice, Evans root locus does not provide a reliable overshoot
information from its for low-gain type II PLLs. It should be noticed that, in control
theory, the Evan root-locus is provided to analyze second order systems without zeros
[191].
In [28, 99, 117] analytical methods to predict the bandwidth and overshoot of PI
based type II PLLs are provided. It can be easily checked that low overshoot tuning
results in very overdamped systems which lead to big transient response in the presence of
frequency steps. Moreover, if extra lters (notch, MAF, DSC) are placed, those methods,
by themselves, are not accurate (PM and
c
change).
124 Chapter 3 Dynamics Study of Low-Gain PLLs
When comparing with previous tuning methods, two important new outcomes can be
extracted from this chapter:
PM and
c
information from the Bode diagram provides a very reliable information
to tune a PLL when extra harmonics/noise lters are placed inside the loop (low-
gain PLLs).
The PI lter coecients tuning should not give rise to very overdamped system,
which damages the transient response in the presence of frequency deviations, which
had been previously reported as an optimum tuning [117].
3.2.5 Design Examples
Some signicant examples are shown in order to provide a comparison among tuning
strategies. The sampling frequency (f
s
) is 10 kHz and the nominal frequency 50 Hz.
3.2.5.1 High Bandwidth SRF-PLL (HB-PLL)
A SRF-PLL with a very high Bandwidth is designed:
L(s)
HBPLL
= (K
p
+
K
i
s
)
. .
PI filter
(3.17)
Table 3.1
Significant parameters of HB-PLL
c
( rad/s) PM(deg) K
p
K
i
p
1
( rad/s) p
2
( rad/s)
4.56 10
3
49 4000 10
7
(2 +i2.45) 10
3
p
1
From Fig. 3.4 and table 3.1, it is expected a PLL with a very fast transient response
both for phase jumps and frequency deviations. Some overshoot is expected. There is
not harmonic/unbalance cancellation.
3.2 Frequency Domain Based Tuning 125
10
2
10
3
10
4
10
5
-210
-150
-120
-20
20
40
60
80
Figure 3.4: Frequency response of H(z) for the HB-PLL (L(s)
HBPLL
was discretized
using the zoh method).
3.2.5.2 Unbalance/Notch SRF-PLL (UN-PLL)
A SRF-PLL for canceling the second harmonic generated by the negative sequence
using a notch lter is designed:
L(s)
UNPLL
= (K
p
+
K
i
s
)
. .
PI filter
N(s) (3.18)
where N(s) is a notch lter at 100 Hz with Q = 1.25.
Table 3.2
Significant parameters of UN-PLL
c
( rad/s) PM(deg) K
p
K
i
p
1
( rad/s) p
2
( rad/s)
145 (23 Hz) 70 141.44 5000 71.9 69.6
From Fig. 3.5 and table 3.2 it is expected a PLL with an acceptable transient response
both for phase and frequency jumps with some overshoot, since the system is near critical
damping (p
1
p
2
). It has very good unbalance cancellation and an acceptable harmonic
ltering.
126 Chapter 3 Dynamics Study of Low-Gain PLLs
10
-1
10
0
10
1
10
2
10
3
10
4
-225
-180
-135
-90
-45
0
-150
-100
-50
0
50
100
Figure 3.5: Frequency response of H(z) for the UN-PLL (L(s)
UNPLL
was discretized
using the zoh method).
3.2.5.3 SRF-PLL with Moving Average Filter (MA-PLL)
A SRF-PLL is designed to have a very good harmonic/unbalance cancellation in
steady-state. L(s) is:
L(s)
MAPLL
= (K
p
+
K
i
s
)
. .
PI filter
MA(s) (3.19)
where MA(s) is the transfer function of a moving average lter tuned to cancel even
harmonics; it is better expressed in the Z-domain (f
s
= 10 kHz):
MA(z) =
1
100
1 z
100
1 z
1
(3.20)
Table 3.3
Significant parameters of MA-PLL
c
( rad/s) PM(deg) K
p
K
i
p
1
( rad/s) p
2
( rad/s)
69 (11 Hz) 69 70 70 68.98 1.02
From Fig. 3.6 and table 3.3 it is expected a SRF-PLL with an excellent harmonic/unbalance
cancellation, an acceptable phase-jump transient response (decaying with e
p
1
t
) with no
overshoot (high PM), but with a bad frequency variation transient (decaying with e
p
2
t
).
3.2 Frequency Domain Based Tuning 127
10
0
10
1
10
2
10
3
10
4
-315
-270
-225
-135
-90
-300
-200
-100
Figure 3.6: Frequency response of H(z) for the MA-PLL (PI lter was discretized using
the zoh method).
3.2.6 Experimental Results
The SRF-PLLs of section 3.2.5 have been implemented in a digital device (dSpace
DS1103) using the discrete solver at f
s
= 10 kHz. The execution times of all SRF-PLLs
were lower than 10 s. The three-phase input voltages have been generated with a three-
phase programmable ac source (three Chroma 61501 modules). In order to obtain the test
signals the three-phase ac source has been used as an arbitrary power amplier connected
to a three-phase arbitrary waveform generator based on a DSP card. The input signals
have been acquired through the dSpace I/O interface by means of LEM LV25-P voltage
transducers and adapted to p.u. units. Fig. 3.7 shows the key oscillograms, obtained by
three dierent tests.
Figs. 3.7a, 3.7b and 3.7c show experimental results when the SRF-PLLs were tested
using a clean signal (no harmonics/noise) having a phase-jump of +45 deg; the input
frequency was 49.5 Hz. Steady state and phase-jump transient responses are shown. From
these results it is clear that the HB-PLL is the best option when there is not distortion,
since it has a very fast re-tracking (see Ch2: v
q
phase-error) and good steady-state
phase-angle estimation (see Ch4). As expected from their bandwidth, the other two
systems are slower.
In the frequency step tests (Figs. 3.7d, 3.7e and 3.7f) sudden frequency changes in
the input waves (alternating between 49 Hz and 51 Hz) were programmed in order to
show the response of each system in the presence of frequency deviations. As expected,
the frequency step and phase jump transient times are almost equivalent for not very
overdamped systems (HB-PLL and UN-PLL). For MA-PLL (very overdamped PLL) the
optimization in the phase transient settling time (low overshoot) resulted in a very slow
response in the presence of frequency deviations (see Ch2: v
q
phase-error).
In the distorted signal test (Figs. 3.7g, 3.7h and 3.7i), the pre-programed input waves
128 Chapter 3 Dynamics Study of Low-Gain PLLs
(a) Clean signal Test
(HB-PLL).
(b) Clean signal Test
(UN-PLL).
(c) Clean signal Test
(MA-PLL).
(d) Frequency Step Test
(HB-PLL).
(e) Frequency Step Test
(UN-PLL).
(f) Frequency Step Test
(MA-PLL).
(g) Distorted signal Test
(HB-PLL).
(h) Distorted signal Test
(UN-PLL).
(i) Distorted signal Test
(MA-PLL).
Figure 3.7: Experimental results for dierent SRF-PLLs: Ch1 (black) is the V
a
input
in p.u./V, Ch4 is the instantaneous phase-angle measurement (100 mV/rad), Ch2 is the
error signal v
q
in p.u./V (1 p.u. = /2 deg of phase error), Ch3 is
o
(10 mV/(rad/s)).
3.3 RC Model of Digitally Controlled Oscillator 129
have unbalance ( 10% of negative sequence ) and high ammount of harmonics (10%
of 5
th
, 5% of 5
th
and 5% of 11
th
); the input frequency was 50.5 Hz and a phase-jump
of +45 deg was pre-programmed. The HB-PLL responds very fast to the phase-jump
transient. However, it does not lter either harmonics or unbalance eect because its
high bandwidth, so that the quality of its phase-angle estimation is very poor due to the
jittering (see Ch4 of Fig. 3.7g). Excellent steady-state results are obtained with MA-PLL
thanks to the moving average lter, which cancels all the even harmonics caused by the
presence of odd harmonics and unbalance in the inputs (see Ch3 of Fig. 3.7i:
o
).
However, its phase-jump transient response is slow, since it has a low bandwidth. UN-
PLL has a very good unbalance cancelation and acceptable harmonic ltering (see Ch3
of Fig. 3.7h:
o
), and an average phase-jump transient response.
From these results, it could be stated that a previous knowledge of the grid level
distortion is very recommended when tuning a PLL. It should be noticed that, very
overdamped (e.g. MA-PLL) and very high bandwidth (e.g. HB-PLL) PLLs present some
important drawbacks when dealing with power quality phenomena, which may lead to
a poor energy exchange control (between the grid and the power electronic converter).
Therefore, an average system (no overdamped with a medium bandwidth), such as UN-
PLL, could be a good choice for most of the applications.
3.3 RC Model of Digitally Controlled Oscillator
This section provides a novel technique of trigonometric functions and SRF matrices
implementation, which has been presented in [112]. With regard to the PLL structure,
these blocks are part of a DCO.
The implementation of trigonometric functions is not a trivial task, specially in low-
cost xed point DSP; technical reports provide some techniques such as the use of look-up
tables, linear interpolation methods and IIR lters [193195].
This work proposes an ecient IIR based algorithm based on the model of a RC
electronic oscillator; its block diagram is depicted in Fig. 3.8a. Two unitary orthogonal
waves are obtained. This implementation reminds to GI based on two integrators [119],
but without input.
Fig.3.8b shows the closed loop poles of the digital oscillator for
1
=
1n
; of course, in
real time operation, the oscillation frequency
1
is updated online. Following Barkhausen
criteria, this system oscillates at
1
: from control theory, this system tends to instability
since its poles are on the imaginary axis; however, as the integrators are saturated, the
signal amplitude can be controlled [196]. Also from oscillators theory, the output of one
of the integrators must be non-zero in order to start the oscillation. e.g. sin(
1
) = 0,
cos(
1
) = 1 can be chosen to quickly achieve the oscillation steady-state.
130 Chapter 3 Dynamics Study of Low-Gain PLLs
LOOP
FILTER
D
e
99 . 0
99 . 0
o
99 . 0
99 . 0
o
-
) cos(
o o
t +
Reset
) sin(
o o
t +
o o
t +
(a) Block diagram of the digital oscillator.
Pole-Zero Map
Real Axis
I
m
a
g
i
n
a
r
y
A
x
i
s
-1 -0.5 0 0.5 1
-400
-300
-200
-100
0
100
200
300
400
Pole : 0 - 314i
Pole : 0 + 314i
(b) Poles/Zeros map of the oscillator (in
rad/s, continuous model).
Figure 3.8: RC Oscillator features.
The estimated phase (
1
) is calculated through the numeric integration of
1
between
[, ]. When sin(
1
) crosses zero in the falling edge
1
is reset to . Another option is
to use the range [0, 2] and reset on the rising edge.
As seen, this diagram is very low resource-consuming. A small drawback of the oscil-
lator is that the generated waves sin(
n
) and cos(
1
) are not pure sinusoidal waveforms,
due to the non-linear behavior of the saturation in the integrators. However, the total
harmonic distortion (THD) of these waves is negligible (0.70% when implemented at a
sampling frequency (f
s
) of 10 kHz).The limits of the integrator should be chosen accord-
ingly in order to assure that the amplitude of the fundamental component is 1. E.g. the
integrators are saturated at 0.99, not at 1.
As said, two orthogonal waves are the outputs of the oscillator. With regard to single-
phase the in-phase and feedback signals are directly obtained. With regard to SRF-PLLs,
the assessment of Park transformations is immediate by:
sin (
2
3
) = 0.5 sin (
1
)
3
2
cos(
1
). (3.21)
Fig. 3.9 shows the P
+
1
matrix calculation from the oscillator signals (Fig. 3.8a) and
(3.21) identities.
3.3 RC Model of Digitally Controlled Oscillator 131
2/3 sin(2/3)
2/3 cos(2/3)
2/3 sin(2/3)
2/3 cos(2/3)
-2/3
-2/3
sin(
1
)
^
cos(
1
)
^
Figure 3.9: P
+
1
generation from the oscillator signals.
3.3.1 Experimental Results
3.3.1.1 Simulation Results
Fig. A.7 of the Appendix shows a Matlab script which simulates the single-phase PLL
start-up tracking. A notch lter is placed to cancel the second harmonic. This script
also proves the simplicity and signicance of the oscillator implementation: trigonometric
functions are not explicitly present. It is important to mention that the output of the
LF should be saturated (
max/min
= 128 rad/s). This is implicit in a DSP xed point
implementation.
3.3.1.2 Single-phase PLL Implementation
The single-phase PLL has been implemented in the Technosoft MSK2407 board con-
taining a TMS320LF2407 xed point DSP of Texas Instruments; the word length of this
DSP is 16 bits. In the script of Fig. A.7 of appendix it is shown the representation for
each variable in Q format. It is important to comment that there is a trade-o in the
choice of the ylf pipeline format. A smaller pipeline (e.g. Q9) gives rise to a system
slower since it saturates easily. However, a bigger pipeline (e.g. Q7) would give rise to a
noticeable lose of performance due to the truncation after the LF multipliers. Q8 resulted
to be the optimum choice.
Fig. 3.11a shows the steady state phase measurement of the single-phase PLL when
a clean sinusoidal of 51 Hz is at the input. Fig. 3.11b shows the phase tracking when
the real grid signal is at the input. Fig. 3.11c shows the excellent transient response of
the PLL: after a strong fault such as a voltage sag from 1 p.u. to 0.5 p.u. and +45 deg
phase-jump the PLL re-tracks in less than a cycle. These results conrm the expected
132 Chapter 3 Dynamics Study of Low-Gain PLLs
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-3
-2
-1
0
1
2
3
Time (s)
Input signal
Mysin
Phase-angle
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
,
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
/
s
)
(a) Single-phase PLL start-up simulation (ideal input signal).
0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1
-3
-2
-1
0
1
2
3
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
,
P
h
a
s
e
-
a
n
g
l
e
(
r
a
d
/
s
)
Input signal
Mysin
Phase-angle
(b) Single-phase PLL start-up simulation (highly harmonic con-
taminated input signal).
Figure 3.10: Simulation results for single-phase PLL (
1
= 250.3 rad/s).
performance of the system.
3.3.1.3 SRF-PLL
The SRF-PLL have been implemented in the oating point PowerPC inside the dSpace
DS1103 prototyping platform. This platform contains a oating point micro PowerPC
and an I/O interface.
Fig. 3.11d shows the steady-state phase measurement for a highly unbalanced (both in
amplitude and phase) voltage system at the inputs of SRF-PLL. As expected, the second
harmonic is canceled. Fig. 3.11e shows the good tracking of the SRF-PLL when there is
superimposed white noise of 10 kHz BW and a power spectral density (PSD) of 10
6
p.u.
to the previous test wave. Fig. 3.11f shows the excellent performance of the SRF-PLL
tracking an unbalanced voltage system with notches.
3.3 RC Model of Digitally Controlled Oscillator 133
(c) PLL response under a strong fault. (d) SRF-PLL steady state phase measurement
for a set of unbalanced voltages as input.
(f
in
= 50.5 Hz)
(e) SRF-PLL steady state phase measurement
of a highly noisy signal (f
IN
= 49.5 Hz).
(f) SRF-PLL steady state phase measurement
of a signal with deep notches (f
IN
= 50.8 Hz).
Figure 3.11: Experimental results.
134 Chapter 3 Dynamics Study of Low-Gain PLLs
3.4 Conclusions
This chapter presents an in-depth study of the dynamics of digital PLLs for grid-
connected power electronic converters.
Section 3.2 reviews some PLL theory important concepts and proposes a tuning ap-
proach based on inspection of Bode and pole/zero diagrams. From a practical point of
view it could be said that the proposed tuning method is very intuitive. Moreover, two
new signicant outcomes are contributed in this chapter:
1. PM and
c
information from the Bode diagram provides a very reliable information
to tune a PLL when extra harmonics/noise lters are placed inside the loop (low-gain
PLLs). This information is much more reliable that the obtained from analytical
methods having into account only the PI lter roots.
2. It is analytically proved that low-gain PLLs have a trade-o between the responses
to phase-jumps and frequency deviations. A very overdamped PLL has an opti-
mized phase-jump response since the overshoot is minimized, but it has a very slow
response in the presence of frequency deviations. Therefore, the PI lter coe-
cients should not give rise to a very overdamped system, which had been previously
reported as an optimum tuning.
Some signicant design examples of SRF-PLL tuning are provided in order to check in
real time the theoretical approaches. Experimental results prove the accuracy and validity
of the analysis.
The second part of the chapter shows the good performance of the RC-oscillator based
DCO. The low ratio grid over sampling frequency allows to implement an RC-oscillator
algorithm to work as DCO. In this way, a simple and accurate method of trigonometric
functions implementation is achieved. This method is specially suitable for low-cost xed
point DSPs. Experimental results prove that, in practice, the proposed DCO performs as
an ideal oscillator, both for single-phase and three-phase PLLs.
Chapter 4
Predictive based SRF-MAF
Synchronization Algorithms
Abstract
Chapter 4 presents a novel open-loop synchronization system, designed from SRF-MAF
schemes. Accurate measurements of phase, frequency and amplitude are carried out in real-
time.
Previous works establish that the fundamental positive-sequence vector of a set of utility volt-
age/current vectors can be decoupled using Parks transformation and low pass lters. However,
the ltering process introduces delays that impair the system performance. More specically,
when the input signal frequency is shifted above the nominal, a non zero average steady-state
phase error appears in the measurements (estimations).
To overcome such limitations, a suitable combination of predictive and moving average FIR
lters is proposed to achieve a robust synchronization system for all input frequencies inside
typical normal operation ranges. MAFs are linear phase FIR lters which have a constant time
delay at low frequencies. A characteristic which is exploited to good eect to design a predictive
FIR lter which compensates such time delays, enabling zero steady-state phase errors for shifted
input frequencies.
In summary, the main attributes of the new system are its good frequency adaptation, good
ltering/transient response trade-o, the fact that its dynamics is independent of the input vector
amplitude and no trade-o between frequency deviation and phase-jump transient responses.
Comprehensive experimental results validate the theoretical approach and the high perfor-
mance of the proposed synchronization algorithm.
135
136 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
As shown, synchronization is an issue of paramount importance in the control of
grid-connected power electronics equipment. Most control algorithms use some form of
systems voltage/current information, such as the phase, amplitude and frequency of the
fundamental component. It is expected that, the speedier and the more accurate these
measurements are, the better the generation of reference signals will be, and therefore the
more ecient the control actions.
Arguably, phase locked loops (PLLs) are the most widespread synchronization algo-
rithms employed in grid-connected converters, as shown in previous chapters.
PLLs have been employed successfully in systems where an accurate phase measure-
ment is required in high and medium voltage grid connected converters [64, 83, 197, 198],
and in systems with self adapting frequency variations characteristics [92, 145, 199201].
However, the dynamics of PLLs presents some drawbacks, as analyzed in chapter 3: low-
gain features and input amplitude dependent dynamics.
As reviewed in Chapter 2, some alternative algorithms perform better than PLLs
under certain conditions, particularly when the input frequency is close to the nominal.
However, as the input frequency shifts, their performance tend to worsen. Frequency
control algorithms have been added to open loop schemes in order to make them frequency
adaptive. However, this is at the expense of increasing the complexity of their dynamics
and implementation by a considerable margin. So, in practical implementations, the PLL
continues to be the most employed synchronization algorithm, mainly due to its simplicity,
frequency adaptation features and versatility.
SRF-MAF based synchronization algorithms, have amplitude independent dynamics
and good ltering/transient-response. SRF-MAFs take advantage of both frequency and
transient (step) responses of MAFs. However, similarly to other open loop systems, they
lack frequency of adaptation features if a closed loop frequency loop is not added, which
adds complexity to the scheme.
In order to achieve frequency adaptation, predictive lters for compensating the delay
through the MAFs are proposed in this chapter: MAFs have linear-phase which implies
that the time of delay is constant and known for low frequencies [152]. The oscillation
frequency of Park variables is set by the input frequency deviation from the nominal. The
time of delay through the MAFs is always much smaller than the oscillation period of the
Park variables. Therefore, the trajectory in the time domain of the Park variables can be
approximated to a straight line, where only the time interval between the measured value
and the actual value are considered [202208]. Using this approach, the transfer function
of a predictive lter which predicts the current value of Park variables is obtained.
In summary, the use of moving average and predictive lters enables a purely open loop
system with frequency adaptation, amplitude independent dynamics and good ltering
versus transient-response trade-o. The dynamics of this open loop system is mainly
stated by the frequency and transient responses at the ltering stage. Moreover, more
than one moving average lter can be used in order to improve the cancellation pattern,
4.1 Calculation of Predictive Filters 137
but this at the expense of making the transient response slower.
Two design examples are presented. Their high performance is shown in the experi-
mental results section. Simulation and real time implementation results are provided and
amply discussed.
4.1 Calculation of Predictive Filters
As shown in section 2.5, the most problematic drawback of SRF-MAF3 and SRF-
MAF1 (Fig. 2.40 and 2.36) is that
1
is unknown. Focusing in the design of SRF-MAF3,
when
1
=
1n
, v
+
d1
and v
+
q1
are low frequency components rotating at
d
=
1
1n
. In
such a situation v
+
d1
and v
+
q1
are obtained with a time delay (t
d
) set by the phase versus
frequency response of the low pass lter employed. If it is not compensated, this time
delay would cause a constant average steady-state phase error (
1e
) proportional to t
d
and
d
:
1e
=
1
1
=
d
t
d
. (4.1)
The only way to know t
d
in open loop, without knowing
d
is using a linear-phase FIR
lters. Linear-phase refers to the condition where the phase response of the lter is a linear
function of frequency, excluding phase wraps at 180 deg. This results in t
d
through the
lter being the same at all frequencies [152].As shown in section 2.4.2.2, MAF lters have
linear-phase. in the Z-domain a MAF is
1
:
H
1
(z) =
1
N
1
1 z
N
1
1 z
1
. (4.2)
The time delay through this lter is
t
d
=
N
1
2
1
f
s
. (4.3)
A predictive lter compensating for MAF lag can be calculated as follows. From (2.44)
t
d
is calculated o-line. While t
d
<<
2
d
, it is correct to say that in any t
d
interval both
v
+
d1
and v
+
q1
trajectories in the time domain t very well to a straight line. Therefore, it is
possible to predict future samples from current samples into this trajectory [202208].
y
2
(k +1) being the current sample of a straight line trajectory, it can be expressed as:
y
2
(k + 1) = y
2
(k) +m
1
f
s
(4.4)
1
In this chapter, it is used N
1
instead of n.
138 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
m being the slope. In the same way:
y
2
(k + 2) = y
2
(k + 1) +m
1
f
s
. (4.5)
From eqs. (4.4) and (4.5):
y
2
(k + 2) = 2 y
2
(k + 1) y
2
(k). (4.6)
N
2
being the number of samples of delay through a moving average FIR lter, it is set by
t
d
(eq. 4.3) and f
s
:
N
2
= t
d
f
s
=
N
1
2
. (4.7)
Knowing N
2
from the moving average FIR lter parameters, through eq. (4.6) the
future N
2
sample can be predicted from the current and past samples as follows:
y
2
(k +N
2
) = 2 y
2
(k +N
2
1) y
2
(k +N
2
2) =
= 3 y
2
(k +N
2
2) 2 y
2
(k +N
2
3) =
= (N
2
+ 1) y
2
(k) N
2
y
2
(k 1).
(4.8)
Eq. (4.8) can be expressed as the Z domain transfer function:
H
2
(z) = (N
2
+ 1) N
2
z
1
. (4.9)
The predictive lter dened by eq. (4.9) compensates the delay through the moving
average FIR lter: for low frequencies, the phase versus frequency response of H
2
(z) has
a linear positive phase which cancels the negative linear phase of H
1
(z).
By inspecting the phase versus frequency response of the whole ltering stage (H
1
(z)
H
2
(z)) , H
2
(z) can be optimized accordingly in order not to have almost any phase delay
without introducing amplitude error. H
2
(z) is redened as:
H
2
(z) =
(N
2
+ 1) (N
2
)z
1
1 +
, (4.10)
where is an optimization parameter ( << 1).
4.2 Design Examples 139
[P
1
+
]
V
abc
H
1
(z)
H
1
(z) H
2
(z)
H
2
(z)
Filtering Block
+
1
d
v
+
1
q
v
(a) Filtering stage of S1.
H
1
(z)
H
1
(z) H
2
(z)
H
2
(z)
Filtering Block
H
1
(z)
H
1
(z)
+
1
d
v
+
1
q
v
V
abc
[P
1
+
]
(b) Filtering stage of S2.
Figure 4.1: Filtering blocks of the design examples.
4.2 Design Examples
Following the theoretical approach of the previous section, two design examples are
contributed.
4.2.1 Design Example 1
Fig. 4.1a shows the ltering block which employs two pairs of linked moving average
and predictive lters. The values of the parameters are summarized in table 4.1.
Table 4.1
Design Example 1 Values.
f
s
N
1
N
2
10 kHz 100 50 0.0095
The whole system implementing this ltering block is named S1. Fig. (4.2a) shows
H
1
(z)H
2
(z) frequency response. The cancellation pattern is optimized for even harmonics
after P
+
1
caused by odd harmonics in the input signal v
abc
[146]. Fig. (4.2b) proves
the feasibility of the predictive lter approach: the phase delay is almost zero for low
frequencies. This error is even minimized by the optimization of the value (Fig. (4.2c)).
Figs. 4.2d and 4.2e show that the transient response is kept in half a fundamental cycle.
As said, in this approach only odd harmonics in v
abc
are considered since non-linear
electrical loads causing high even harmonic disturbances (in v
abc
) are not usual and their
use must be precluded in ac networks [163165]. To deal with the presence of even
harmonics in v
abc
, N
1
= 200 and N
2
= 100 could be considered.
140 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
0
0.5
1
1.5
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0
50
100
150 200 250 300 350 400 450 500
550
-135
-90
-45
0
45
90
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
(a) Frequency response (in Hz).
0.9995
1
1.0005
1.001
1.0015
1.002
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
2
-0.01
0
0.01
0.02
0.03
0.04
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
(b) Fig. 4.2a zoomed around low frequency with
= 0.
1.0095
1.01
1.0105
1.011
1.0115
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
2
-0.004
-0.003
-0.002
-0.001
0
0.001
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
(c) Fig. 4.2a zoomed around low frequency with
= 0.0095.
0
0.002 0.004 0.006 0.008
0.01
0.012
0.014
-0.5
-0.4
-0.3
-0.2
-0.1
0
0.1
0.2
0.3
0.4
0.5
Time (sec)
A
m
p
l
i
t
u
d
e
100 samples of 0.01
1 sample
1 sample
(d) Impulse response (t
w
= 0.01 s). .
0
0.002 0.004 0.006 0.008
0.01
0.012
0.014
0.4
0.6
0.8
1
1.2
1.4
1.6
1.8
Time (sec)
A
m
p
l
i
t
u
d
e
(e) Step response (t
w
= 0.01 s).
Figure 4.2: Design example 1: time and frequency responses of H
1
(z) H
2
(z).
4.3 Simulation Results 141
4.2.2 Design Example 2
Even though S1 is a very good practical solution dealing with unbalance and harmon-
ics, the presence of other factors such as interharmonics, noise, notching (also noise), dc
oset ([132]) could degrade the performance of the measurements. In fact, the limitations
of the proposed system are mainly set by its cancellation pattern. In order to improve the
cancellation pattern two moving average lters H
1
(z) and H
1
(z) can be linked, as pro-
posed in this section (Fig. 4.1b). The predictive lter should be recalculated according
to eq. (4.7), since the time of delay through the two lters is doubled. The whole system
implementing this ltering block is named S2, and its values are summarized in table 4.2:
Table 4.2
Design Example 2 Values.
f
s
N
1
N
1
(Eq. (4.2) for H
1
) N
2
10 kHz 100 100 100 0.009
Fig. 4.3 shows the frequency and step responses of design example 2. The cancellation
pattern is improved at cost of doubling the transient time. As in other systems such as
PLLs, there is a trade-o between ltering and transient response.
4.3 Simulation Results
The S1 system proposed in the previous section has been simulated in order to test
its performance. Simulation results have been obtained through Matlab/Simulink, using
the xed step discrete time solver at f
s
= 10 kHz.
The most important feature of time domain simulation with respect to real time
implementation is the possibility of obtaining curves of phase error, frequency error and
amplitude error in the time domain. These errors are dened as the dierence between
the actual and estimated values.
The amplitudes of the input waves are in p.u. units, so they can represent both
voltages or currents. The magnitude displayed to indicate the amount of unbalance in
v
abc
is the negative sequence vector magnitude (v
a1
max
).
Fig. 4.4 shows the phase error for an unbalanced (v
a1
max
= 0.1 v
+
a1
max
) input wave
rotating at 51 Hz (
1
= 251 rad/s). A 45 deg phase jump has been programmed to
show both steady-state and transient responses. The result is also displayed for the system
without predictive lters. As expected, the system without predictive lters has the non-
zero average steady-state phase error set by eq. (4.1). With predictive lter, steady-state
zero error is achieved. As also expected, the transient lasts 0.01 s.
142 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
0
0.5
1
1.5
2
M
a
g
n
i
t
u
d
e
(
a
b
s
)
50
100
150 200 250 300 350 400 450 500
550
-2160
-1800
-1440
-1080
-720
-360
0
360
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
0
(a) Frequency response (in Hz).
0
0.005 0.01 0.015
0.02 0.025
0
0.2
0.4
0.6
0.8
1
1.2
1.4
1.6
Time (sec)
A
m
p
l
i
t
u
d
e
(b) Step response (t
w
= 0.02 s).
0.998
1
1.002
1.004
1.006
1.008
1.01
M
a
g
n
i
t
u
d
e
(
a
b
s
)
0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8
2
-0.04
-0.03
-0.02
-0.01
0
0.01
P
h
a
s
e
(
d
e
g
)
0
(c) Fig. 4.3a zoomed around low frequency with
= 0.009.
Figure 4.3: Design example 2: Frequency and Step responses of H
1
(z) H
1
(z) H
2
(z).
4.3 Simulation Results 143
0.99 1 1.01 1.02 1.03 1.04 1.05
-1
0
1
Time (s)
A
m
p
l
i
t
u
d
e
(
p
.
u
.
)
V
a
V
b
V
c
(a) Phase jump transient in unbalanced (v
a1
max
= 0.1 v
+
a1
max
) set of input waves
rotating at
1
= 2 51 rad/s.
0.99 1 1.01 1.02 1.03 1.04 1.05
-30
-20
-10
0
10
20
Time (s)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
Average steady-state
phase error equal to 0
(b) Phase error: transient and steady-state
with predictive lters (H
2
(z)). Zero average
phase error is achieved.
0.99 1 1.01 1.02 1.03 1.04 1.05
-50
-40
-30
-20
-10
0
10
Time (s)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
Average steady-state phase
error equal to 1.8 deg.
(c) Phase error: transient and steady-state
without predictive lters (H
2
(z)). There is no
zero average phase error.
Figure 4.4: S1: Test to show predictive lters action.
144 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
Fig. 4.5 shows the phase error when the input wave of the previous test has a big
frequency step in 0.2 s: from 48 Hz to 52 Hz. Before and after the transient of duration
0.01 s, the average phase and frequency error are zero. As shown, frequency deviation
and phase jump responses are equivalent, on the contrary to overdamped PLLs.
0.17 0.18 0.19 0.2 0.21
0.22 0.23
47
48
49
50
51
52
53
Time (s)
I
n
p
u
t
f
r
e
q
u
e
n
c
y
(
H
z
)
0.17 0.18 0.19 0.2 0.21
0.22 0.23
-0.5
0
0.5
1
1.5
2
Time (s)
P
h
a
s
e
e
r
r
o
r
(
d
e
g
)
Average steady-
state phase error
equal to 0
Average steady-
state phase error
equal to 0
0.17 0.18 0.19 0.2 0.21 0.22 0.23
-2
0
2
4
Time (s)
F
r
e
q
u
e
n
c
y
e
r
r
o
r
(
H
z
)
Average steady-
state phase error
equal to 0
Average steady-
state phase error
equal to 0
Figure 4.5: S1 response to a big frequency step at 0.2 s. Unbalanced (v
a1
max
= 0.1 v
+
a1
max
) input wave. Frequency step (up), phase error (center) and frequency error (down). Zero
steady state error and transient duration of 0.01 s are achieved.
Fig. 4.6 shows the results for an unbalanced (v
a1
max
= 0.1 v
+
a1
max
) and harmonic
contaminated ( 10% 5
th
, 7% 7
th
, 4% 11
th
) input wave rotating at 49.5 Hz. In 1 s a
deep magnitude change (sag) from 1 p.u. to 0.2 p.u. with a +45 deg phase jump has been
programmed. Fig. 4.6b shows how steady-state phase error is achieved; the transient
lasts 0.01 s. Fig. 4.6c shows v
+
a1
max
, amplitude error, v
+
d1
and v
+
q1
; as expected v
+
d1
and
v
+
q1
rotate at 0.5 Hz. The average amplitude error is non zero only during the transient
(0.01 s). Fig. 4.6d shows the Clarke variables ( v
+
1
and v
+
1
) employed in the calculation
of
1
.
4.4 Experimental Results
The proposed algorithm has been implemented in the dSpace platform DS1103 at
(f
s
= 10 kHz) and tested in the laboratory. The execution time of S1 and S2 was 11.2 s
and 15.8 s respectively. The three phase voltage system has been generated with a three
phase programmable AC source (three Chroma 61501 modules). In order to obtain the
4.4 Experimental Results 145
0.95 0.96 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05
-1.5
-1
-0.5
0
0.5
1
1.5
V
a
V
b
V
c
(a) S1: set of distorted input waves in time domain.
Unbalance (v
a1
max
= 0.1 v
+
a1
max
) and harmonics
( 10%5
th
, 7%7
th
, 4%11
th
).
0.95 0.96 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05
-100
-80
-60
-40
-20
0
20
40
(b) Phase error: the transient lasts 0.01 s and zero
average steady-state error.
0.95 0.96 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
1.2
V
d
V
q
p
|V |
(c) v
+
a1
max
, v
+
d1
and v
+
q1
measurements. The tran-
sient lasts 0.01 s and zero average steady-state er-
ror.
0.95 0.96 0.97 0.98 0.99 1 1.01 1.02 1.03 1.04 1.05
-1
-0.8
-0.6
-0.4
-0.2
0
0.2
0.4
0.6
0.8
1
(d) v
+
1
and v
+
1
estimations. They are not dis-
torted.
Figure 4.6: S1 tested under a distorted set of input waves rotating at 49.5 Hz. At 1 s, a
1 p.u. to 0.2 p.u. sag with +45 deg phase jump has been programmed.
146 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
measurement. M1 is v
a
v
+
1
which tends to zero.
a
= v
0
a
, that is v
abc
and v
0
abc
cancel each other
for the a phase. Therefore, testing the systems under such conditions v
a
v
+
1
represents
the error; that is v
a
v
+
1
= 0 implies zero error in phase, frequency and amplitude. The
subtraction function of the oscilloscope has been used to obtain this error (channel M1).
Fig. 4.7 shows the error signal of S1 in steady-state when the set of inputs is balanced,
and oscillates at 48 Hz. As shown, the error is negligible. In the zoomed gure, it could
be noticed the small positive delay between the input (v
a
) and the output or processed
signal ( v
+
1
). This error is due to the sampling process (execution and conversion times).
Fig. 4.8 shows the error signal of S1 in steady-state for an unbalanced set of inputs
oscillating at 51 Hz. As explained before, v
a
= v
0
a
and v
a1
max
= 0.1 v
+
a1
max
in order
to test the error signal. These gures also prove the absence of steady state error of the
algorithm. Fig. 4.8b shows again the small delay in the visualization due to the sampling
process.
Fig. 4.9 shows the error signal of S1 before, during and after a transient. The pro-
grammed transient is a sag with post-fault component [32]. During the fault v
+
a1
max
=
0.8 p.u. and v
a
= v
0
a
with v
a1
max
= 0.05 p.u., and a 45 deg phase jump with respect to
4.4 Experimental Results 147
a1
max
= 0.1 v
+
a1
max
) set of inputs
oscillating at 51 Hz.
the balanced wave of v
+
a1
max
= 1 p.u..
Once proved the theoretical approach in terms of zero steady state error and transient
response, other interesting gures are shown. Because of the features of the input waves,
the error signal is not available for these tests.
Fig. 4.10 shows how the measurement of
1
through S1 for a set of unbalanced
(v
a1
max
= 0.09 v
+
a1
max
) and harmonic contaminated ( 9% 5
th
, 5% 7
th
, 3% 11
th
) in-
put waves rotating at 48 Hz is rippleless.
Figs. 4.11) and 4.12 compare S1 with S2 in terms of the trade-o between ltering
and transient response.
Fig. 4.11 shows the test made for a balanced input wave containing notches, which,
under the frequency domain point of view, is noise. Fig. 4.11a shows v
+
1
measured with
S1 contains notches, even though smoother than in input waves. Fig. 4.11b shows as v
+
1
measured with S2 is clean. These results are expected from Figs. 4.2a and 4.3a.
Fig. 4.12 shows how S2 improves the frequency rejection of S1 at cost of incrementing
the resources (execution time) and transient response. This test has been realized with
an unbalanced (v
a1
max
= 0.09 v
+
a1
max
) input wave which presents a very deep sag: from
1 p.u. to 0.1 p.u. with 45 deg phase jump. S1 is faster than S2 as expected from Figs.
4.2e and 4.3b. Figs. 4.12 emphasize the fact that the system gain is independent from
the input amplitude.
148 Chapter 4 Predictive based SRF-MAF Synchronization Algorithms
dc
220 V
v
S
rms
110 V
C 1 mF
Z
F
L
F
+R
F
L
F
5 mH
R
F
0.5
L
S
50 H
f
sw
= f
s
10 kHz
t
comp
12 s
5.2 Active Power Filter Prototype
Fig. 5.1 depicts the scheme of the lab prototype and its discrete controller. Table 5.1
shows the signicant values of the hardware.
The power supply is composed of two programmable single-phase ac sources Chroma
61501 working in parallel. This conguration supplies a maximum power of 1 kVA. The
APF is an IGBTs based voltage source converter (VSC) connected to the point of common
coupling (PCC) through the lter impedance (Z
F
). The whole load is composed of two
non-linear loads also connected to the PCC: an uncontrolled rectier and an ac regulator.
A manual switch has been placed before the ac regulator in order to cause load transients.
The discrete controller has been implemented in the dSpace DS1103 platform, which
implements Matlab/Simulink models in real-time. The discrete solver has been chosen
so all the controller blocks are digital lters in the Z-domain (neither ode solvers nor
continuous blocks). The sampling frequency (f
s
) and IGBTs switching rate (f
sw
) have
been set to 10 kHz; the sampling period T
s
is dened as 1/f
s
. System currents and voltages
have been sensed using LEM-LA55P and LEM-LV26V sensors, respectively. These sensed
signals are acquired through the I/O interface of the dSpace target. The average time of
operation t
comp
was around 12 s. Fig. 5.2 shows a picture of the built prototype as well
as a capture of a ControlDesk layout in real-time operation.
The goals of the digital control are: to compensate for the selected load harmonic
currents and to keep constant the dc-link voltage (v
dc
). The proposed controller works as
follows.
The instantaneous load current i
L
is detected.
5.2 Active Power Filter Prototype 157
v
S
PCC
i
S
i
F
VSC
Z
F v
F
C
v
DC
PWM
-
m
P+RESONANT
CURRENT
REGULATOR
PLL
X
+
+
v
DC
*
-
+
+
i
F
*
i
F
i
Lh
*
i
1
*
HARMONIC
EXTRACTION
i
L
i
L
AC REGULATOR
UNCONTROLLED
RECTIFIER
DIGITAL CONTROLLER (dSpace DS1103)
) sin(
1
L
S
MANUAL
SWITCH
v
DC
v
PCC
1
1
PI
v
PCC
Figure 5.1: APF prototype and controller.
The reference harmonic currents to compensate (i
Fh
) are extracted from i
L
by means
of digital signal processing. A selective extraction of 3
rd
, 5
th
and 7
th
components is
performed using SRF-MAFs [148] (i
Fh
=
i
L3
+
i
L5
+
i
L7
).
The reference current i
F1
, calculated to maintain v
dc
, is obtained through a PI
controller and the in-phase signal from the PLL [18]. The subscript 1 emphasizes
the fact that only the fundamental component is controlled to set the active power
ow from the PCC to the VSC dc-link.
The total reference of current for the APF (i
F
) is calculated as i
Fh
+i
F1
.
The PR current regulator assures that (i
F
i
F
) is zero in steady-state (for the
fundamental, 3
rd
, 5
th
and 7
th
harmonic components).
The PLL and PR schemes are detailed in subsequent sections.
158 Chapter 5 Frequency Adaptive PR Current Controller for APFs
(a) Detail of dSpace ControlDesk layout.
AC Sources
connected
in parallel
PC with
dSPace
DS1104
I/O Interf
VSC
Non-linear
Load circuits
Box with
sensors (PCC)
Non-linear
Load circuits
(b) Photo of the lab prototype.
Figure 5.2: Experimental set-up features.
5.3 Phase Locked Loop 159
.) . ( u p v
PCC
cos(u)
+ +
X
1
sin(u)
)
cos(
1
PI
)
sin(
1
1
e 1
MAF1
MAF2
1
3 2
3 2
53 2
47 2
Figure 5.3: Phase locked loop.
5.3 Phase Locked Loop
A single-phase PLL has been implemented to track online the phase-angle (
1
) and
frequency (
1
) of v
PCC
fundamental component. Fig. 5.3 shows the PLL block diagram.
It uses a multiplier as phase detector. The loop lter is composed of a proportional
integrator (PI) controller and a moving average lter (MAF1), for which the equivalent
transfer functions are
C(z)
PI
=
c
1
c
0
z
1
1 z
1
(5.1)
and
C(z)
MAF1
=
1
n
1 z
n
1 z
1
, (5.2)
respectively. The PI controller assures that
1
and
1
are tracked with zero average
steady-state error, even though
1
=
1n
[78, 112114]. A second MAF (MAF2) with
the same transfer function as C(z)
MAF1
can be placed before
1
estimation in order to
control the
1
ripple.
The PLL outputs are employed with the following goals:
1. A normalized in-phase signal (sin(
1
)) is multiplied by the output of the PI controller
to obtain i
F1
[18].
2. The frequency estimation is employed to generate the multiple SRF waves of the se-
lective extraction algorithm. The frequency value is saturated to avoid malfunctions
during v
PCC
transients [148].
3. Usually, digital PLLs are designed to have a feedforward frequency (
1n
), so the
closed-loop path provides a correction (
1
) around it (
1
=
1n
+
1
). This
160 Chapter 5 Frequency Adaptive PR Current Controller for APFs
Table 5.2
Values of PLL parameters.
Parameter Value
c
1
2
c
0
1.995
n (MAF1) 100
n (MAF2) 100
-225
-135
-200
-150
-100
-50
0
50
100
M
a
g
n
i
t
u
d
e
(
d
B
)
-270
-180
-90
P
h
a
s
e
(
d
e
g
)
-1
Frequency (Hz)
1 10 100 1000 10000
PM=31 deg
28
Figure 5.4: Open loop PLL Bode diagram.
work extends this approach to resonant controllers design: the dierence equation
of each one is function of h
1n
and h
1
(see section 5.4).
5.3.1 PLL Tuning
PLLs have a trade-o between transient response and ltering: the higher the band-
width the faster the transient response but the worse the harmonic cancellation. Specially
critical is the internal second harmonic generation in multiplier based single-phase PLLs.
If not canceled, this second harmonic causes ripple in
1
,
1
and
1
, which could aect
to the whole controller performance [112114].
Fig. 5.4 shows the open loop frequency response of the linear PLL. The values of the
coecients are shown in table 5.2. Stability and bandwidth optimization has been sought
during the tuning process [112114]. The phase margin (PM) could be considered a bit
low for a controller design, but, in the case of PLL tuning, a very big increase in v
S
rms
is
not expected, so stability is assured with this PM [112114].
5.4 PR Current Controller 161
X
1 -
1
s
z 1
T
z
1 -
s
z 1
T
Forward
Euler
Backward
Euler
i
F
*
-i
F
+
-
2
1
output
Figure 5.5: Two integrators based implementations, as proposed in [2].
From Fig. 5.4, when
1
=
1n
, thanks to MAF1 all the harmonics, including the
second one, are canceled. However, when
1
=
1n
perfect harmonic cancellation is not
achieved.
It is out of the scope in this chapter to show how to optimize more the PLL loop lter
in order to reduce jittering. Instead of it, harmonic ripple eect in PR current controllers
is studied. In this work, control over ripple has been achieved by placing/removing MAF2.
5.4 PR Current Controller
5.4.1 Resonant Controllers Implementation
Resonant lters are undamped GIs which can be implemented as two linked integra-
tors [119]. Frequency adaptation is provided by means of PLL estimation [2, 119, 218].
Regarding the discretization method, it has been suggested to discretize the direct integra-
tor using Forward Euler method while the feedback one is discretized using the Backward
Euler method, as shown in Fig. 5.5 [2]. The resulting transfer function in the Z-domain
is:
R
two
(z) = T
s
z
1
z
2
1 +z
1
(
2
1
T
2
s
2) +z
2
. (5.3)
It can be checked that to discretize the two integrators separately results in a displace-
ment of the resonant peaks from the expected values. However, the linear dependence of
the dierent equation on
2
1
eases the frequency adaptation.
To use the Z-transform of the cosine wave was proposed in [120]. This means, in
practice, to discretize a second order generalized integrator with the impulse invariant
162 Chapter 5 Frequency Adaptive PR Current Controller for APFs
method, giving rise to the following resonant controllers:
R
ii
(z) = T
s
1 z
1
cos(
1
T
s
)
1 2z
1
cos(
1
T
s
) +z
2
. (5.4)
This method results much more accurate, as shown in Fig. 5.6. Its drawback ap-
pears when frequency adaptation is desired, since trigonometric functions are involved. A
method to avoid explicit cosine wave calculations is provided in section 5.4.2.
The error induced by the two integrators based implementation may be acceptable for
some applications handling with very low order harmonics and fundamental. However,
the loss of performance is very signicant for higher harmonics. R
ii
(z) seems to be a
better choice, specially for APFs.
A PR controller (C(z)) of the form of (5.5) has been selected for implementation. T
s
is a constant term so it can be included in each K
h
.
C(z) = K
P
+
h=1,3,5,7
K
Rh
T
s
1 z
1
cos(h
1
T
s
)
1 2 z
1
cos(h
1
T
s
) +z
2
=
K
P
+
h=1,3,5,7
K
Rh
1 z
1
cos(h
1
T
s
)
1 2 z
1
cos(h
1
T
s
) +z
2
.
(5.5)
5.4.2 Frequency Adaptive Implementation of Resonant Blocks
From (5.5), it seems immediate to update the terms cos(h
1
T
s
) using
1
from
the PLL [225]. The main drawback of this approach is that it requires computation of
trigonometric functions online. The explicit implementation of the cosine function can be
avoided, using the proposed Taylor approximation detailed as follows.
In a similar manner that the digital PLL of Fig. 5.3 works around the equilibrium
point established by
1n
, the PR current regulator of (5.6) has been derived from (5.5):
assuming that h
1
T
s
0, the equilibrium point strategy of PLL is also applied to
resonant controllers.
C(z) = K
P
+
h=1,3,5,7
K
Rh
1 z
1
(cos(h
1n
T
s
) h
1
T
s
sin(h
1n
T
s
))
1 2 z
1
(cos(h
1n
T
s
) h
1
T
s
sin(h
1n
T
s
)) +z
2
.
(5.6)
Fig. 5.7 shows the implementation block for each resonant controller. Block diagram
5.4 PR Current Controller 163
100 200 300 400 500 600
Hz
H
z
Two integrators based implementation
Impulse Invariant based implementation
Figure 5.6: Comparative of the error induced by dierent implementations (f
s
= 10 kHz).
+
+
-
+
-
To adder
Z
-1
2
Z
-1
X
hT
s
1
(From PLL)
a
h
b
h
Precalculated constants:
a
h
= cos(hw
1n
T
s
)
b
h
= sin(hw
1n
Ts)
K
Rh
+
+
^
i
F
*
-i
F
Figure 5.7: Frequency adaptive resonant block implementation.
algebra has been applied to optimize the implementation set by (5.6), so the number of
multiplications by non-xed coecients (
1
) has been reduced to one.
Fig. 5.8 shows the accuracy of the approximation for each resonant block. The higher
the harmonic order, the worse the approximation, since a shift of 1 Hz at fundamental
results in a h 1 Hz shift at the harmonic h. At any rate, this error can be considered
low enough, even for signicant frequency deviations, as proved in section 5.5.
5.4.2.1 Eect of the Frequency Correction in Dynamics
As explained, when
1
= 0 the resonant peak is moved to the estimated frequency;
i.e. Fig. 5.9 shows the eect of the frequency correction around the 3
rd
harmonic resonant
peak. It could be said that when the peak is well centered the PR is working as an ideal
resonant controller (innite gain), but in other case the performance tends to approach
164 Chapter 5 Frequency Adaptive PR Current Controller for APFs
-1.5 -0.5 0.5 1.5
0.05
0.15
0.25
0.35
1
Hz
H
z
Fundamental
3
rd
harmonic
5
th
harmonic
7
th
harmonic
Figure 5.8: Accuracy of the resonant controllers (f
s
= 10 kHz).
20
30
40
50
60
70
80
90
100
M
a
g
n
i
t
u
d
e
(
d
B
)
149.8 149.9 149.98 150 150.1 150.2
-180
-135
-90
-45
0
45
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
150.02
Proportional
controller
Proportional
controller
Resonant
controller
1>0 1<0
Figure 5.9: Frequency response of C(z) P(z) around 150 Hz. When
1
> 0 the peak
moves to higher frequencies and vice versa.
the one of a proportional controller. The exact place to depict the resonant/predictive
borderline in that gure could be considered a subjective issue. The idea is to show how
a practical very high gain is sought with frequency adaptation.
1
, as obtained from a PLL, can be written as
1
=
1
+
1
, (5.7)
where
1
and
1
are the average value and an oscillating term associated with jittering,
respectively.
From Fig. 5.9, the best performance occurs when
1
is tracking perfectly, that is,
the resonant peak is well centered, and
1
= 0 (no jittering). The rst condition is
easily performed by any PLL, but the second one is more complicated, specially under
5.4 PR Current Controller 165
+
-
i
F
*
+
-
) (z G
1
z
m
) (z C
v
PCC
i
F
i
F
P(z) Plant Model
Figure 5.10: Current control block diagram.
distorted conditions [112114]. Analytical expressions of the maximum level of jittering
seem to be very complex to obtain. Alternatively, the quantication of the maximum
level of jittering has been assessed by experimental tests.
5.4.3 Design and Tuning of C(z)
Fig. 5.10 depicts the current control system including the PR controller C(z) and the
model of the plant P(z). P(z) has been modeled including the computational delay (z
1
)
and the PWM converter operation. The PWM reference (m) is kept constant over each
sampling interval, so the power converter can be assumed to be a zero order hold (ZOH)
circuit. Therefore, the lter inductance discrete-time model (G(z)) should be obtained
through the ZOH method, as follows [3, 226]:
G(s) =
1
sL
F
+R
F
ZOH
G(z) =
1
R
f
1 e
R
f
T
s
/L
f
z e
R
f
T
s
/L
f
. (5.8)
The eect of the ZOH circuit is noticeable at high frequencies, since an extra phase
lag is introduced in the current control loop, and it should be taken into account when
tuning C(z).
As said in the introduction, resonant controllers provide perfect tracking (and distur-
bance rejection) of currents for which frequency C(z) P(z) has innite gain.
Fig. 5.11 shows C(z) implementation. Four resonant blocks have been implemented
in the APF controller: one at fundamental component to provide perfect tracking of i
F1
(v
dc
control) and v
PCC
fundamental rejection, and the other three ones to provide perfect
tracking of i
F3
, i
F5
and i
F7
. The term 1/v
dc
is included so K
p
and K
h
tuning is made
independent from v
dc
(plant).
The controller C(z) has been tuned by inspection of C(z) P(z) transfer function
[120, 219];
1
=
1n
has been considered. Fig. 5.12 shows C(z) P(z) frequency response
and the parameters are specied in Table 5.3. From Fig. 5.12, the implemented PR
controller has the following features:
166 Chapter 5 Frequency Adaptive PR Current Controller for APFs
+
+
+
+
+
i
F
*
-i
F
1
(From PLL)
K
P
^
Res.1
st
Res.3
rd
Res.5
th
Res.7
th
m
Figure 5.11: PR block (C(z)).
Table 5.3
Values of parameters of the PR controller.
Parameter Value
K
P
25
K
R1
0.1
K
R3
0.1
K
R5
0.1
K
R7
0.1
High enough phase margin (PM = 46 deg) so that stability is assured.
Perfect tracking and disturbance rejection at resonant peaks are expected.
A fast transient response is expected: the open loop cut-o frequency and hence the
system bandwidth are around 800 Hz.
5.5 Experimental Results 167
-20
0
20
40
60
80
100
M
a
g
n
i
t
u
d
e
(
d
B
)
10 100
1000
-180
-135
-90
-45
0
45
90
135
180
P
h
a
s
e
(
d
e
g
)
Frequency (Hz)
800
PM=46 deg.
Figure 5.12: Bode diagram of C(z) P(z).
5.5 Experimental Results
Dierent tests have been carried out to show how the APF performs both in steady-
state and under transients.
Fig. 5.13 shows experimental results obtained from steady-state operation when an
input frequency sweep has been carried out. Oscilloscope gures show results at nomi-
nal (50 Hz) and very shifted (48 Hz) frequencies; system currents and v
PCC
are displayed.
It should be noticed that i
L
spectrum varies slightly with the frequency due to load reac-
tances. Fig. 5.13g depicts a table with all the results of the input frequency sweep. These
results prove that the 3
rd
, 5
th
and 7
th
harmonics of i
L
are not present in i
S
. Therefore,
perfect tracking of the APF harmonic reference is achieved. The fundamental component
of i
S
is slightly higher than i
L1
, since v
dc
should be maintained.
Fig. 5.14 shows experimental results when there is a load transient. Initially only the
uncontrolled rectier is connected to the PCC and then the ac regulator starts up. As
expected from the PR controller bandwidth (800 Hz) the system has a very fast transient
response. It should be noticed that the extraction algorithm settling time is 0.01 s and
also aects to dynamics [148].
Fig. 5.15 illustrates the APF response when there is a sudden step in f
1
. Fig. 5.16
depicts results from a similar test but showing
1
from the PLL in Ch2. In both cases,
the PR current regulator and, therefore, the whole system presents a very good frequency
adaptation. The frequency step has been detected inside the dSpace model and connected
168 Chapter 5 Frequency Adaptive PR Current Controller for APFs
(a) Steady-state currents and voltage at the
PCC when f
1
= 50 Hz.
(b) Fourier spectra of i
L
in
Fig. 5.13a (Ch1).
(c) Fourier spectra of i
S
in
Fig. 5.13a (Ch3).
(d) Steady-state currents and voltage at the
PCC when f
1
= 48 Hz.
(e) Fourier spectra of i
L
in
Fig. 5.13d (Ch1).
(f) Fourier spectra of i
S
in
Fig. 5.13d (Ch3).
48 Hz 49 Hz 50 Hz 51 Hz 52 Hz
h i
L
i
S
i
L
i
S
i
L
i
S
i
L
i
S
i
L
i
S
1 3.02 A 3.2 A 2.96 A 3.13 A 2.87 A 3 A 2.79 A 2.94 A 2.71 A 2.87 A
3 886 mA 30 mA 874 mA 10 mA 856 mA 4 mA 826 mA 14 mA 738 mA 25 mA
5 223 mA 8 mA 206 mA 5 mA 199 mA 4 mA 190 mA 6 mA 186 mA 9 mA
7 176 mA 13 mA 153 mA 9 mA 134.6 mA 3 mA 115 mA 6 mA 94 mA 11 mA
(g) Values of harmonic current of the load and the source for dierent frequencies.
Figure 5.13: Steady-state currents and v
PCC
for dierent input frequencies. Ch1 is i
L
,
Ch2 is i
F
, Ch3 is i
S
and Ch4 is v
PCC
.
5.5 Experimental Results 169
Figure 5.14: Transient response when there is a load change. Ch1 is i
L
, Ch2 is i
F
, Ch3 is
i
S
and Ch4 is v
PCC
.
Figure 5.15: Transient response when there is a frequency step in f
1
from 48 Hz to 52 Hz.
Ch1 is i
L
, Ch2 is i
F
, Ch3 is i
S
and Ch4 is v
PCC
.
to the oscilloscope external trigger. Again, it is noticeable the change in i
L
spectrum due
to the frequency dependence of load reactances.
Figs. 5.15 and 5.16 have been obtained by implementing the PLL with MAF2. As
expected,
1
is ripple-less (two MAFs). Fig. 5.17 results have been obtained repeating
the previous test, but eliminating MAF2 from the PLL. In this test, a second-harmonic
oscillating term
1
oscillates 1 Hz around
1
. This result is very interesting,
and even quite surprising, since the practical high performance of the PR controller is
kept. Even though, posterior tests made by the authors with a higher level of jittering
(3 Hz) resulted in instability, it is clear that this implementation is very robust under
the presence of harmonics/noise ripple in the frequency estimation.
Another test has been made considering
1
= 0, that is, a PR without frequency
adaptation. Fig. 5.18 shows results obtained when the input frequency is 48 Hz. The
same results have been obtained testing with a current controller C
(z) = K
P
. Therefore,
the PR controller without frequency adaptation behaves equal that a simple proportional
regulator.
170 Chapter 5 Frequency Adaptive PR Current Controller for APFs
Figure 5.16: Transient response when there is a frequency step in f
1
: from 52 Hz to 48 Hz.
Ch1 is i
L
, Ch2 is
1
(scale at 23 rad/div), Ch3 is i
S
and Ch4 is v
PCC
.
Figure 5.17: Transient response when there is a frequency step in f
1
from 48 Hz to 52 Hz.
Eect of ripple of 1 Hz in
1
. Ch1 is i
L
, Ch2 is
1
(scale at 23 rad/div), Ch3
is i
S
and Ch4 is v
PCC
.
Finally, the prototype has been tested when there is a voltage sag (from 1 p.u. to
0.8 p.u.) with phase-angle jump (+45 deg) in v
PCC
(programmed in v
S
). The test has
been made at 49 Hz (
1
= 2 rad/s). When the fault occurs the PLL frequency
increases, but
1
to the PR is limited to 23 rad/s. As shown in Fig. 5.19, this
protection is crucial and steady-state is achieved in 1 2 cycles. It should be noticed
that the fault also aects to the extraction algorithm [148].
5.5 Experimental Results 171
(a) Steady-state currents and voltage at the
PCC when f
1
= 48 Hz.
(b) Fourier spectra of i
L
(Ch1 of Fig. 5.18a).
(c) Fourier spectra of i
S
(Ch3 of Fig. 5.18a).
h 48 Hz 49 Hz 50 Hz 51 Hz 52 Hz
1 3.14 A 3.08 A 3.02 A 2.90 A 2.85 A
3 349 mA 282 mA 4 mA 297 mA 320 mA
5 71 mA 60 mA 4 mA 73 mA 81 mA
7 56 mA 38 mA 3 mA 29 mA 32 mA
(d) Values of i
S
for
1
= 0 (No frequency adaptation).
Figure 5.18: Steady state gures when error in estimation of
1
is considered.
1
= 0 rad/s and
1
= 4 rad/s (f
1
= 48 Hz). Ch1 is i
L
, Ch2 is
1
(scale at
23 rad/div), Ch3 is i
S
and Ch4 is v
PCC
.
Figure 5.19: Transient response when there is a voltage sag (1 p.u. 0.8 p.u.) with phase-
angle jump of +45 deg in v
PCC
(v
S
). Ch1 is i
L
, Ch2 is
1
(scale at 23 rad/div), Ch3
is i
S
and Ch4 is v
PCC
.
172 Chapter 5 Frequency Adaptive PR Current Controller for APFs
5.6 Conclusions
A novel approach in the implementation of PR current regulators is contributed in
this chapter. More specically, the issue of frequency adaptation using a PLL is deeply
analyzed. From this study, some practical conclusions of signicant importance can be
extracted. In sum:
1. Resonant controllers implementations based on the impulse invariant discretization
are more reliable for APFs than the ones based on two discrete integrators.
2. The impulse invariant resonant controllers can be made frequency adaptive by means
of a PLL estimation of the grid-frequency deviation. The proposed implementation
has good performance and no needed of explicit trigonometric functions.
3. The most critical parameter of the PLL is its accuracy detecting the average value of
the fundamental frequency. Jittering in
1
should be reduced as much as possible,
even though high robustness to this parameter is provided.
4. The tested resonant controllers achieve perfect tracking even for the worst case (7
th
harmonic and 2 Hz deviation), so it is also expected a good performance in APF
applications compensating for higher order harmonics.
5. The proposed PR controller has a very high bandwidth and, therefore, the system
has a very fast transient response. The whole controller is robust under all kind of
transients such as load changes, frequency variations, and even input voltage sags.
It should be remarked that some PLL outputs (estimations) have been saturated to
avoid malfunctions.
Chapter 6
Conclusion and Future Work
6.1 Conclusion
This dissertation addresses the issue of grid-synchronization for power electronics con-
verters. Its main contributions and conclusions are summarized below.
A thorough review of the State-of-the-Art is contributed. The problem of frequency
adaptation is presented as the most important practical issue in the implementation
of discrete algorithms.
Methods based on SRF-MAF both for grid-synchronization as well as for harmon-
ics/sequences extraction are provided. It is also proved that there is a close relation
between these implementations and other based on DFT and DCT.
An in-depth analysis of the dynamics of low-gain PLLs. It is proved that, opposite as
considered in some works, overdamped tuning should be avoided when considering
frequency deviations.
A novel methodology based on RC oscillator model to optimize the discrete imple-
mentation is contributed.
An open-loop frequency adaptive SRF-MAF algorithm providing an accurate and
fast grid phase-angle estimation is contributed.
A novel approach on the implementation of PR current controllers is contributed.
The provided APF implementation proves the high performance of the proposed
implementation as well as the robustness and frequency adaptability of the solution.
173
174 Chapter 6 Conclusion and Future Work
6.2 Publications
Research work included in the dissertation has given rise, at the moment, to three
journal papers [114, 147, 148] and eight conference papers [112, 113, 127, 146, 149
151, 209]. A summary of the contributions of each journal paper is detailed as follows:
1. The basics of SRF-MAF synchronization/extraction algorithms, presented in chap-
ter 2, are detailed in [148]. This paper focuses more in extraction for active power
lters than in synchronization itself.
2. The tuning methodology for PLLs proposed in chapter 3 is provided in [114].
3. The synchronization method based on SRF-MAFs and predictive lters, presented
in chapter 4, is provided in [147].
6.3 Future Research
There are several interesting topics suggested for further research. Some of them are
described in the following:
As shown in chapter 5, frequency adaptation of PR controllers is not a trivial task.
An immediate future task is to compare more deeply the provided technique based
on Taylor approximations with other alternatives presented in technical literature.
A more in-depth research of the applicability of the dierent synchronization algo-
rithms (proposed and studied) in distributed power generation applications in order
to fulll with existing normative (Grid codes).
Rotor position and speed estimation of synchronous machines operating at any
speed.
Implementation of the most signicant proposals (Predictive SRF-MAF, Adaptive
PR current controllers,...) in industrial devices such as FPGAs and DSPs.
It is also expected to carry out solutions for industry based on the contributions of
this thesis.
Appendix A
Matlab Scripts
175
176 Chapter A Matlab Scripts
1 %% Matlab Script for executing the Ainsworth model
2 %% Main File
3 %% Francisco D. Freijedo, Glasgow, August 2008
4
5 clear all
6 % Step of the simulation.
7 % Input Frequency
8 % Final time of the simulation
9 % Time of a transient
10 % Time vector
11 %R eq
12 % L eq
13
14 % Initial value of current
15 % initalize output current reference
16 % initial condition for VCO phase
17 %inital value of grid phase
18 % initalize frequency correction of VCO
19 % initalize error vector
20 % initalize output current vector
21 % initalize output current vector average value
22 % initizalize Vd output vector
23 % initialize output frequency correction vector
24 while
25 % time for each simulation loop
26 if taux>ttran
27 % transient changes
28
29 end
30 %function call
31 [il,Vd,Vln,phaseVCO,wcorr,e,phaseGrid]=calc_icl(tsim,Ts,w1,...
32
33 taux=taux+tsim % show current simulation time
34 % update output vector
35 % save output current value for next function call
36 % save output current average value
37
38
39 end
40 % Visualize values
41 % PLOT CURRENTS
42
43
44
45
46
47 %PLOT STEADY-STATE VOLTAGES
48 plot((0:length(Vln)-1)*Ts+tfinal-0.5,Vln,...
49 (0:length(Vd)-1)*Ts+tfinal-0.5,Vd,[Ts+tfinal-0.5 Ts+tfinal]...
50
51 xlabel('Time (s)','FontSize'
52 ylabel('Current (p.u.)','FontSize'
53
54
55
56
57
58
Figure A.1: PLO system Matlab script. Main le.
177
1 %% Matlab Script for executing the Ainsworth model
2 %% Function file
3 %% Francisco D. Freijedo, Glasgow, August 2008
4
5 function [il,Vd,Vln,phaseVCO,wcorr,e,phaseGrid]=calc_icl(tsim,Ts,w1,R,L,phia,phib,
phic,iin,phaseVCOi,wcorri,iref,ei,phaseGridi)
6 % 30 deg phase offset
7
8 % Initialize current values from previous function calls
9 % Grid phase
10 % VCO phase
11 % VCO correction around the nominal frequency (2*pi*50 rad/s)
12 % Set VCO frequency
13 % current error signal
14 % current value of the system current
15
16
17 % The Ainsworth problem is stated as a state state.
18
19 % .
20 % x=Ax+Bu
21 % y=x
22 % where x=y is the current through L and R and
23 % u is the set line to neutral voltages vector.
24
25 % A in the continuous space state
26 % Discretize of A
27
28 % Definition of the switching functions:
29 % Different swtiching functions are defined since the circuit
30 % depends on the VCO phase. That is, B is changing with VCO phase.
31
32 % Continuos swtiching function
33 % Discretized switching function
34
35
36 % ss en con
37
38
39
40
41
42
43
44
45 % Initial value of Bd
46
47 for
48
49 % Calculation of instantaneous phase to neutral voltages
50 Va=sin(offset+phaseGrid+phia)/sqrt(3)+0.1*sin(5*phaseGrid)+0.1*sin
51 Vb=1*sin(offset+phaseGrid+phib)/sqrt(3)+0.1*sin(5*phaseGrid+0.1)+0.1*sin
52 Vc=1*sin(offset+phaseGrid+phic)/sqrt(3)+0.1*sin(5*phaseGrid+0.9)+0.1*sin
53
54 % Error signal vector update
55
56
Figure A.2: PLO system Matlab script. Function le (page 1 of 2).
178 Chapter A Matlab Scripts
57 % The output of the filter is obtained through the discretized
58 % transfer function using the tustin method
59 tmp=1.3333*wcorr(2)-0.33329*wcorr(1)+33.334*e(3)+0.0033332*e(2)-33.331*e
60
61
62 % % VCO frequency update
63
64
65 % The phase must be in the range [0,2*pi]
66 while phaseGrid>=2*pi
67
68 end
69
70 while phaseVCO>=2*pi
71
72 end
73
74 while phaseVCO<0
75
76 end
77
78 % Set of Bcd as function of VCO phase (switching functions)
79 if phaseVCO<=pi/3
80
81
82 end
83 if phaseVCO>pi/3 && phaseVCO<=2*pi/3
84
85
86 end
87 if phaseVCO>2*pi/3 && phaseVCO<=pi
88
89
90 end
91 if phaseVCO>pi && phaseVCO<=4*pi/3
92
93
94 end
95 if phaseVCO>4*pi/3 && phaseVCO<=5*pi/3
96
97
98 end
99 if phaseVCO>5*pi/3
100
101
102 end
103
104 % Save output current vector
105
106 % Save Vd voltage
107 % Save line to neutral voltages
108 % Grid phase update
109 % VCO phase update
110 end
Figure A.3: PLO system Matlab script. Function le (page 2 of 2).
179
16/ 03/ 09 16: 29 C: \ Document s and Set t i ngs\ anoni mo\ Mi s document os\ MA. . . \ SRF_PP. m 1 of 2
1 %%Mat l ab Scr i pt t o get SRF- PLL t r aj ect or i es i n t he Phase- Pl ane
2 %Fr anci sco Fr ei j edo
3 Ts=1e- 4; Tf i nal =0. 1; t =0: Ts: Tf i nal ;
4 wn=2*pi *50; %Feedf or war d const ant at nomi nal f r equency ( or =0) .
5 ypd=0; yl f P=0; yl f I v=[ 0 0 0 0 0 0 0] ; t het a=0; t het adi f =0; di f w=[ ] ;
6 di f t het a=[ ] ;
7 f i gur e; hol d on;
8 col or s=[ ' k' ' y' ' b' ' m' ' g' ' r ' ' c' ] ' ;
9 phi uv=[ pi - 0. 1 pi / 2 pi / 4 0 - pi / 2 - pi +0. 6 - pi +0. 1] ;
10 l i mi t I =[ 1000 1000 1000 1000 1000 1000 1000] ; %Li mi t t he wor d l enght
11 yl f =yl f I v;
12 f or u=1: si ze( phi uv' )
13 %Cr eat e I NPUT WAVE f or SI MULATI ON
14 wu=2*pi *51; %I nput wave f r equency
15 phi u=phi uv( u) ;
16 t het ai n=r em( ( wu*t +phi u) +pi , 2*pi ) ' - pi ;
17 ua=si n( wu*t +phi u) ; %I nput wave def i ni t i on
18 ub=si n( wu*t +phi u- 2*pi / 3) ; %I nput wave def i ni t i on
19 uc=si n( wu*t +phi u+2*pi / 3) ; %I nput wave def i ni t i on
20 %SI MULATE THE PROCESS
21 yl f =yl f I v( u) ; cont =2; di f w=wu- ( wn+yl f ) ; di f t het a=[ phi uv( u) ] ;
22 f or n = 1: Tf i nal / Ts %Number ot i t er at i ons
23 ypd( n+1) =ua( n) *cos( t het a( n) ) +ub( n) *cos( t het a( n) - 2*pi / 3) +. . .
24 uc( n) *cos( t het a( n) +2*pi / 3) ; %Phase Det ect or ( Q15)
25 yl f ( n+1) =( 1*yl f ( n) +250*ypd( n+1) *1- 248*ypd( n) *1) ;
26 yl f ( n+1) =max( [ yl f ( n+1) - 1*l i mi t I ( u) ] ) ; %Li mi t LF
27 yl f ( n+1) =mi n( [ yl f ( n+1) 1*l i mi t I ( u) ] ) ; %( accor di ng t o a pi pel i ne)
28 wo=wn+yl f ( n+1) ;
29 t het a( n+1) =t het a( n) +abs( wo) *Ts; %Ef f ect of di scar d f r equency si gn
30 % t het a( n+1) =t het a( n) +wo*Ts; %Good oper at i on
31 i f t het a( n+1) >=pi %Reset phase- angl es
32 t het a( n+1) =t het a( n+1) - 2*pi ;
33 end
34 i f t het a( n+1) <=- pi
35 t het a( n+1) =t het a( n+1) +2*pi ;
36 end
37 t het adi f ( n+1) =t het ai n( n) - t het a( n) ;
38 i f t het adi f ( n+1) >pi
39 t het adi f ( n+1) =t het adi f ( n+1) - 2*pi ;
40 end
41 i f t het adi f ( n+1) <- pi
42 t het adi f ( n+1) =t het adi f ( n+1) +2*pi ;
43 end
44 i f abs( t het adi f ( n+1) - t het adi f ( n) ) < pi
45 di f w( cont ) =wu- wo;
46 di f t het a( cont ) =t het adi f ( n+1) ;
47 cont =cont +1;
48 el se
49 pl ot ( di f t het a, di f w, col or s( u) , ' Li neWi dt h' , 2) ; %pl ot phase pl ane
50 cont =1; di f w=[ ] ; di f t het a=[ ] ;
51 end
52 end
53 pl ot ( di f t het a, di f w, col or s( u) , ' Li neWi dt h' , 2) ; %pl ot phase pl ane
54 di f w=[ ] ;
55 di f t het a=[ ] ;
56 end
Figure A.4: Matlab script to depict SRF-PLL trajectories in the Phase-plane.
180 Chapter A Matlab Scripts
29/ 12/ 08 14: 13 C: \ Document s and Set t i ngs\ anoni mo\ Mi s docume. . . \ Kal manExampl e. m 1 of 1
1 cl ear al l ;
2 t =1e- 4: 1e- 4: 0. 1;
3
4 w1n=2*pi *50; %Kal man f i l t er f r equency = Nomi nal f r equency.
5 w1=2*pi *50; %Fundament al f r equency of t he i nput wave.
6
7 %Si nusoi dal i nput
8 %v=si n( w0i *t - pi / 4) ;
9
10 %Non si nusoi dal i nput ( har moni cs)
11 v=si n( w1*t - pi / 4) +0. 11*si n( 3*w1*t ) +0. 08*si n( 5*w1*t ) ;
12
13 %Vol t age Sag wi t h pi / 4 phase j ump
14 %v=- si n( w0i *t ( 1: 500) ) ;
15 %v=[ v - 0. 5*si n( w0i *t ( 501: 1000) - pi / 4) ] ;
16
17 %add whi t e noi se t o t he i nput
18 %noi se=[ ] ;
19 %f or i =1: 1: 1e3
20 % noi se=[ noi se; r andn*0. 05] ;
21 %end
22 %v=v+noi se' ;
23
24 xhat =[ 0; 0] ;
25 M=[ cos( w1n*1e- 4) si n( w1n*1e- 4) ; - si n( w1n*1e- 4) cos( w1n*1e- 4) ] ;
26 H=[ 1 0] ;
27 p=100;
28 P=[ p 0; 0 p] ; %Set P( 0) .
29 q=0. 001;
30 Q=[ q 0; 0 q] ; %St at es covar i ance Mat r i x. Hi gh q ==> hi gh K.
31 R=5; %Measur ement covar i ance. Hi gh R ==> l ow K.
32 x=[ ] ;
33 phase=[ ] ;
34 f or i =1: 1: 1e3
35 %I nnovat i on
36 I nn = v( i ) - H * xhat ;
37 %Covar i ance of I nnovat i on
38 s = H * P * H' + R;
39 %Gai n mat r i x.
40 K = M * P * H' * i nv( s) ;
41 %St at e est i mat e
42 xhat = M * xhat + K * I nn;
43 %Covar i ance of pr edi ct i on er r or
44 P = M * P * M' + Q - M * P * H' * i nv( s) * H * P * M' ;
45 %Save val ues
46 x=[ x xhat ] ;
47 phase=[ phase at an2( xhat ( 1) , xhat ( 2) ) ] ;
48 end
49 pl ot ( t , v, t , x) ;
50 f i gur e;
51 pl ot ( t , phase) ;
Figure A.5: Matlab script of the Kalman Filter Single-phase synchronization example.
181
29/ 12/ 08 14: 14 C: \ Document s and Set t i ngs\ anoni mo\ Mi s document . . . \ WLSEExampl e. m 1 of 1
1 %%Mat l ab Scr i pt f or t est i ng t he WLSE synchr oni zat i on al gor i t hm( 3- phase)
2 %%Fr anci sco D. Fr ei j edo, Vi go, December 2008.
3
4 cl ear al l ;
5 t =1e- 4: 1e- 4: 0. 1;
6 w1n=2*pi *50; %Nomi nal f r equency ==> Syst emf r equency
7 w1=2*pi *50; %I nput wave f r equency.
8 %A t r ansi ent i s pr ogr ammed i n t he i nput wave. The di st or t ed si gnal has
9 %unbal ance.
10 Va=1*cos( w1*t ( 1: 499) - pi / 6) ;
11 Vb=1*cos( w1*t ( 1: 499) - 2*pi / 3- pi / 6) ;
12 Vc=1*cos( w1*t ( 1: 499) +2*pi / 3- pi / 6) ;
13 Va=[ Va 1*( si n( w1*t ( 500: 1e3) ) ) ] ;
14 Vb=[ Vb 0. 6*si n( w1*t ( 500: 1e3) - 2*pi / 3+0. 4) ] ;
15 Vc=[ Vc 0. 9*si n( w1*t ( 500: 1e3) +2*pi / 3+0. 3) ] ;
16 %The er r or covar i ance i s i ni t i al i zed.
17 P=300*[ 1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 1] ;
18 l amb=0. 95; %For get t i ng f act or
19 l ambi nv=1/ l amb;
20 ang1vec=[ ] ;
21 x=[ 0 0 0 0] ' ; %x i s v_{dq}^{+- }
22 xvec=[ ] ;
23 angvec=[ ] ;
24 vab=[ ] ;
25 f or i =1: 1: 1e3
26 Vabc=[ Va( i ) Vb( i ) Vc( i ) ] ; %I nput wave
27 Tal f abet a=( 2/ 3) *[ 1 - 1/ 2 - 1/ 2; 0 - sqr t ( 3) / 2 sqr t ( 3) / 2] ;
28 Val be=Tal f abet a*Vabc' ; %i nput wave i n al f a bet a f r ame
29 vab=[ vab Val be] ; %Save al f a bet a f r ame val ues
30 H=[ cos( w1n*t ( i ) ) si n( w1n*t ( i ) ) cos( w1n*t ( i ) ) - si n( w1n*t ( i ) ) ; . . .
31 - si n( w1n*t ( i ) ) cos( w1n*t ( i ) ) si n( w1n*t ( i ) ) cos( w1n*t ( i ) ) ] ;
32 r =[ 1 0; 0 1] +H*P*H' ; %comput e of R mat r i x
33 r i nv=i nv( r ) ;
34 k=P*H' *r i nv; %Comput e of K gai n.
35 P=l ambi nv*P- l ambi nv*k*H*P; %Updat e of er r or covar i ance
36 xhat =x+k*[ Val be- H*x] ; %Out put vol t age updat e
37 xvec=[ xvec xhat ] ; %Save val ues of SRF coef f i ci ent s
38 %Comput e of phase angl e of f undament al posi t i ve sequence vect or
39 angvec=[ angvec at an2( xhat ( 1) *cos( w1n*t ( i ) ) +xhat ( 2) *+si n( w1n*t ( i ) ) . . .
40 , ( - xhat ( 1) *si n( w1n*t ( i ) ) +xhat ( 2) *cos( w1n*t ( i ) ) ) ) ] ;
41 x=xhat ; %f or next sampl e. . .
42 end
43 pl ot ( t , Va, t , Vb, t , Vc) ;
44 f i gur e;
45 pl ot ( t , vab) ;
46 f i gur e;
47 pl ot ( t , xvec) ;
48 f i gur e;
49 pl ot ( t , angvec) ;
50
Figure A.6: Matlab script of the WLSE syncrhonization example.
182 Chapter A Matlab Scripts
21/ 04/ 08 16: 46 C: \ Document s and Set t i ngs\ anoni mo\ Mi s d. . . \ pl l _si ngl e_i econ08. m 1 of 1
1 cl ear al l ;
2 Ts=1e- 4; %Sampl i ng t i me ( = 1/ f s) .
3 Tf i nal =0. 8; %Ti me f or t he si mul at i on.
4 t =0: Ts: Tf i nal ; %t i me vect or .
5 wn=2*pi *50; %Nomi nal f r equency.
6 Mysi n=[ 0; 0] ; %I ni t i al i ze Mysi n.
7 Mycos=[ 0; 0. 99] ; %I ni t i al i ze Mycos.
8 ypd=[ 0; 0] ; %I ni t i al i ze PD out put .
9 yl f =[ 0; 0] ; %I ni t i al i ze LF out put .
10 ynot ch=[ 0; 0] ; %I ni t i al i ze not ch f i l t er out put .
11 t het a=[ 0; 0] ; %I ni t i al i ze phase angl e
12 %Cr eat e I NPUT WAVE f or SI MULATI ON
13 wu=2*pi *50. 3; %I nput wave f r equency
14 u=si n( wu*t +pi ) ; %I nput wave def i ni t i on
15 %SI MULATE THE PROCESS
16 f or n = 2: Tf i nal / Ts %Number ot i t er at i ons
17 ypd( n+1) =u( n) *Mycos( n) ; %Phase Det ect or ( Q15)
18 %Not ch Fi l t er ( Q15)
19 %ynot ch( n+1) =ypd( n+1) ;
20 ynot ch( n+1) =1. 94*ynot ch( n) - 0. 944*ynot ch( n- 1) +. . .
21 0. 972*ypd( n+1) - 1. 94*ypd( n) +0. 972*ypd( n- 1) ;
22 %Loop Fi l t er Q( 8)
23 yl f ( n+1) =( 1*yl f ( n) +250*ynot ch( n+1) - 247. 8*ynot ch( n) ) ;
24 %Li mi t LF accor di ng t o i t s Q8 si ze pi pel i ne
25 yl f ( n+1) =max( [ yl f ( n+1) - 128] ) ;
26 yl f ( n+1) =mi n( [ yl f ( n+1) 128] ) ;
27 %Updat e Out put f r equency and compensat e 1/ 2 ( Q6)
28 wo=wn+2*yl f ( n+1) ;
29 %I nt egr at i on pr ocess ( di gi t al osci l l at i on)
30 Mysi n( n+1) =Mysi n( n) +wo*Ts*( Mycos( n) ) ; %( Q15)
31 Mycos( n+1) =Mycos( n) - wo*Ts*( Mysi n( n) ) ; %( Q15)
32 %Li mi t t he osci l l at or i nt egr at or s
33 Mysi n( n+1) =max( [ Mysi n( n+1) - 0. 99] ) ;
34 Mysi n( n+1) =mi n( [ Mysi n( n+1) 0. 99] ) ;
35 Mycos( n+1) =max( [ Mycos( n+1) - 0. 99] ) ;
36 Mycos( n+1) =mi n( [ Mycos( n+1) 0. 99] ) ;
37 %Updat e t he out put phase ( Q12)
38 t het a( n+1) =t het a( n) +wo*Ts;
39 %Out put phase r eset condi t i on
40 i f Mysi n( n) >=0 && Mysi n( n+1) <=0
41 t het a( n+1) =- pi ;
42 end
43 end
44 pl ot ( t , u, t , Mysi n, t , t het a) ; %Pl ot exper i ment al r esul t s
Figure A.7: Matlab script of the single-phase PLL with RC-Oscillator based DCO.
References
[1] J. D. Ainsworth, The phase-locked oscillator-a new control system for controlled
static convertors, IEEE Transactions on Power Apparatus and Systems, vol. 87,
no. 3, pp. 859865, Mar. 1968.
[2] R. Teodorescu, F. Blaabjerg, U. Borup, and M. Liserre, A new control struc-
ture for grid-connected LCL PV inverters with zero steady-state error and selective
harmonic compensation, in Applied Power Electronics Conference and Exposition,
2004. APEC 04. Nineteenth Annual IEEE, vol. 1, 2004, pp. 580586.
[3] H. Akagi, E. H. Watanabe, and M. Aredes, Instantaneous Power Theory and Ap-
plications to Power Conditioning, M. E. El-Hawari, Ed. Wiley-IEEE Press, 2007.
[4] C. Budeanu, Puissances reactives et ctives, in Instytut Romain de lEnergie.
Bucharest, Romania., vol. -, 1927, pp. .
[5] S. Fryze, Wirk-, blind- und scheinleistung in elektrischen stromkreisen mit nicht-
sinusfrmigem verlauf von strom und spannung, ETZ, Arch Electrotech, vol. 53,
pp. 596599, 625627, 1932.
[6] L. S. Czarnecki, What is wrong with the budeanu. concept of distorted power and
why it should b e. abandoned ? IEEE Trans. on Instr. Meas., vol. IM-36, pp.
834837, 1987.
[7] A. E. Emanuel, Apparent and reactive powers in three-phase systems: in search of
a physical meaning and a better resolution, ETEP, Eur. Trans. Elect. Power Eng,
vol. 3, pp. 714, 1993.
[8] J. Afonso, C. Couto, and J. Martins, Active lters with control based on the p-q.
theory, IEEE Industrial Electronics Society Newsletter, vol. 47, pp. 511, 2000.
[9] J. G. Pinto, R. Pregitzer, L. Monteiro, C. Couto, and J. Afonso, A combined series
active lter and passive lters for harmonics, unbalances and icker compensation,
in Proceedings of Power Engineering, Energy and Electrical Drives, 2007.
[10] M. I. M. Montero, E. R. Cadaval, and F. B. Gonzalez, Comparison of control
strategies for shunt active power lters in three-phase four-wire systems, IEEE
Transactions on Power Electronics, vol. 22, no. 1, pp. 229236, Jan. 2007.
183
184 REFERENCES
[11] H. Akagi, Y. Kanazawa, and A. Nabae, Instantaneous reactive power compensators
comprising switching devices without energy storage components, IEEE Transac-
tions on Industry Applications, vol. 20, no. 3, pp. 625630, May 1984.
[12] S. Bhattacharya, D. M. Divan, and B. B. Banerjee, Synchronous frame harmonic
isolator using active series lter, in Proceedings of EPE Conference, 1991., Seattle,
WA, USA, Jun. 1991, pp. 779786.
[13] , Control and reduction of terminal voltage total harmonic distortion(THD)
in a hybrid series active and parallel passive lter system, in Power Electronics
Specialists Conference, 1993. PESC 93 Record., 24th Annual IEEE, Seattle, WA,
USA, Jun. 1993, pp. 779786.
[14] S. Bhattacharya and D. Divan, Synchronous frame based controller implementation
for a hybrid series active lter system, in Industry Applications Conference, 1995.
Thirtieth IAS Annual Meeting, IAS 95., Conference Record of the 1995 IEEE,
vol. 3, Orlando, FL, Oct. 1995, pp. 25312540.
[15] , Active lter solutions for utility interface of industrial loads, in Power Elec-
tronics, Drives and Energy Systems for Industrial Growth, 1996., Proceedings of the
1996 International Conference on, vol. 2, New Delhi, India, Jan. 1996, pp. 1078
1084.
[16] J. Doval, Aportaciones a la mejora de la calidad de la red elctrica. utilizacin de
DSPs en convertidores electrnicos de potencia en fuente de tensin (in spanish).
Ph.D. dissertation, University of Vigo, 1999.
[17] J. L. Tepper, J. Dixon, G. Venegas, and L. Moran, A simple frequency-independent
method for calculating the reactive and harmonic current in a non-linear load,
IEEE Transactions on Industrial Electronics., vol. 43, pp. 647653, 1996.
[18] J. Doval-Gandoy, A. Nogueiras, C. M. Penalver, and A. Lago., Shunt active power
lter with harmonic current control strategy. in Proceedings of PESC., 1998.
[19] P. C. Tan, P. C. Loh, and D. G. Holmes, High-performance harmonic extraction
algorithm for a 25 kv traction power quality conditioner, in Electric Power Appli-
cations, IEE Proceedings -, vol. 151, no. 5, Sep. 2004, pp. 505512.
[20] C. Fortescue, Method of symmetrical coordinates applied to the solution of
polyphase netwotks. Trans. AIEE., vol. 37, pp. 10271140, 1918.
[21] G. C. Paap, Symmetrical components in the time domain and their application
topower network calculations, IEEE Transactions on Power Systems, vol. 15, no. 2,
pp. 522528, May 2000.
[22] S.-J. Lee, J.-K. Kang, and S.-K. Sul, A new phase detecting method for power con-
version systemsconsidering distorted conditions in power system, in Industry Ap-
plications Conference, 1999. Thirty-Fourth IAS Annual Meeting. Conference Record
of the 1999 IEEE, vol. 4, Phoenix, AZ, USA, 1999, pp. 21672172.
REFERENCES 185
[23] E. Clarke, Circuit Analysis of AC Power Systems, ., Ed. Wiley, 1950.
[24] R. Park, Two reaction theory of synchronous machines, AIEE Transactions,
vol. 48, pp. 716730, 1929.
[25] O. Lopez, Space vector pulse-width modulation for multilevel multiphase voltage-
source converters, Ph.D. dissertation, Department of Electronic Technology, Uni-
versity of Vigo, 2009.
[26] H.-S. Song and K. Nam, Dual current control scheme for PWM converter under
unbalancedinput voltage conditions, IEEE Transactions on Industrial Electronics,
vol. 46, no. 5, pp. 953959, Oct. 1999.
[27] I. Etxeberria-Otadui, A. Lopez De Heredia, H. Gaztanaga, S. Bacha, and M. Reyero,
A single synchronous frame hybrid (SSFH) multifrequency controller for power
active lters, IEEE Transactions on Industrial Electronics, vol. 53, no. 5, pp. 1640
1648, Oct. 2006.
[28] V. Kaura and V. Blasko, Operation of a phase locked loop system under distorted
utilityconditions, IEEE Transactions on Industry Applications, vol. 33, no. 1, pp.
5863, Jan./Feb. 1997.
[29] SimPowerSystem Toolbox for Matlab/Simulink. [Online]. Available: http:
//www.mathworks.es/
[30] P. Pillay and R. Krishnan, Control characteristics and speed controller design for a
highperformance permanent magnet synchronous motor drive, IEEE Transactions
on Power Electronics, vol. 5, no. 2, pp. 151159, Apr. 1990.
[31] IEEE Standard 1159-1995. IEEE Recommeded Practice for Monitoring Electric
Power Quality.
[32] M. H. J. Bollen., Understanding power quality problems. Voltage sags and interru-
pions., R. J. Herrick., Ed. IEEE Press Editorial Board., 2000.
[33] Ieee recommended practices and requirements for harmonic control in electrical
power systems. ieee std 519-1992.
[34] K. R. Padiyar, HVDC Power Transmission Systems, ., Ed. New Age International,
1990.
[35] N. G. Hingorani and L. Gyugyi, Understanding FACTS. Concepts and technology
of Flexible AC Transmission Systems, R. J. Herrick, Ed. IEEE, 2000.
[36] A. Garcia-Cerrada, P. Roncero-Sanchez, P. Garcia-Gonzalez, and V. Feliu-Batlle,
Detailed analysis of closed-loop control of output-voltage harmonics in voltage-
source inverters, in Electric Power Applications, IEE Proceedings -, vol. 151, no. 6,
Nov. 2004, pp. 734743.
186 REFERENCES
[37] S. Hiti, D. Boroyevich, and C. Cuadros, Small-signal modeling and control of three-
phase PWM converters, in Industry Applications Society Annual Meeting, 1994.,
Conference Record of the 1994 IEEE, Denver, CO, USA, Oct. 1994, pp. 11431150.
[38] J. Doval-Gandoy and C. M. Penalver, Dynamic and steady state analysis of a three
phase buck rectier, IEEE Transactions on Power Electronics, vol. 15, no. 6, pp.
953959, Nov. 2000.
[39] A. I. Maswood and F. Liu, A unity-power-factor converter using the synchronous-
reference-frame-based hysteresis current control, IEEE Transactions on Industry
Applications, vol. 43, no. 2, pp. 593599, March 2007.
[40] B. Wang, G. Venkataramanan, and A. Bendre, Unity power factor control for
three-phase three-level rectiers without current sensors, IEEE Transactions on
Industry Applications, vol. 43, no. 5, pp. 13411348, Sep./Oct. 2007.
[41] P. Verdelho and G. D. Marques, An active power lter and unbalanced current
compensator, IEEE Transactions on Industrial Electronics, vol. 44, no. 3, pp. 321
328, Jun. 1997.
[42] , Four-wire current-regulated PWM voltage converter, IEEE Transactions on
Industrial Electronics, vol. 45, no. 5, pp. 761770, Oct. 1998.
[43] V. Soares, P. Verdelho, and G. D. Marques, An instantaneous active and reactive
current component method foractive lters, IEEE Transactions on Power Elec-
tronics, vol. 15, no. 4, pp. 660669, Jul. 2000.
[44] D. N. Zmood, A systematic development of improved linear regulators for sinu-
soidal power converters, Ph.D. dissertation, Department of Electrical and Com-
puter Systems Engineering, Monash University, Victoria (Australia), 2002.
[45] A. Garcia-Cerrada, O. Pinzon-Ardila, V. Feliu-Batlle, P. Roncero-Sanchez, and
P. Garcia-Gonzalez, Application of a repetitive controller for a three-phase active
power lter, IEEE Transactions on Power Electronics, vol. 22, no. 1, pp. 237246,
Jan. 2007.
[46] C. Zhan, V. K. Ramachandaramurthy, A. Arulampalam, C. Fitzer, S. Kromlidis,
M. Bames, and N. Jenkins, Dynamic voltage restorer based on voltage-space-vector
PWM control, IEEE Transactions on Industry Applications, vol. 37, no. 6, pp.
18551863, Nov./Dec. 2001.
[47] M. J. Newman, D. G. Holmes, J. G. Nielsen, and F. Blaabjerg, A dynamic
voltage restorer (DVR) with selective harmonic compensation at medium voltage
level, IEEE Transactions on Industry Applications, vol. 41, no. 6, pp. 17441753,
Nov./Dec. 2005.
[48] M. I. Marei, E. F. El-Saadany, and M. M. A. Salama, A new approach to control
DVR based on symmetrical components estimation, IEEE Transactions on Power
Delivery, vol. 22, no. 4, pp. 20172024, Oct. 2007.
REFERENCES 187
[49] H. Gaztanaga, I. Etxeberria-Otadui, S. Bacha, and D. Roye, Fixed-speed wind farm
operation improvement by using DVR devices, in Industrial Electronics, 2007. ISIE
2007. IEEE International Symposium on, Vigo Jun. 2007, pp. 26792684.
[50] P. Roncero-Sanchez, E. Acha, J. E. Ortega-Calderon, V. Feliu, and A. Garcia-
Cerrada, A versatile control scheme for a dynamic voltage restorer for power-quality
improvement, IEEE Transactions on Power Delivery, vol. 24, no. 1, pp. 277284,
Jan. 2009.
[51] P. Mattavelli, Synchronous-frame harmonic control for high-performance AC power
supplies, IEEE Transactions on Industry Applications, vol. 37, no. 3, pp. 864872,
May/Jun. 2001.
[52] P. C. Loh, M. J. Newman, D. N. Zmood, and D. G. Holmes, A comparative analysis
of multiloop voltage regulation strategies for single and three-phase UPS systems,
IEEE Transactions on Power Electronics, vol. 18, no. 5, pp. 11761185, Sep. 2003.
[53] J. M. Guerrero, L. Hang, and J. Uceda, Control of distributed uninterruptible
power supply systems, IEEE Transactions on Industrial Electronics, vol. 55, no. 8,
pp. 28452859, Aug. 2008.
[54] S. K. Mitra, Digital Signal Processing. A Computer-Based Approach, S. W. Director,
Ed. Mc Graw Hill, 1998.
[55] Rodriguez-Andina, J. J., M. J. Moure, and M. D. Valdes, Features, design tools,
and application domains of FPGAs, IEEE Transactions on Industrial Electronics,
vol. 54, no. 4, pp. 18101823, Aug. 2007.
[56] E. Monmasson and M. N. Cirstea, Fpga design methodology for industrial control
systemsa review, IEEE Transactions on Industrial Electronics, vol. 54, no. 4, pp.
18241842, Aug. 2007.
[57] N. R. Zargari and G. Joos, Performance investigation of a current-controlled
voltage-regulatedPWM rectier in rotating and stationary frames, in Industrial
Electronics, Control, and Instrumentation, 1993. Proceedings of the IECON 93.,
International Conference on, Maui, HI, USA, Nov. 1993, pp. 11931198.
[58] , Performance investigation of a current-controlled voltage-regulated PWM
rectier in rotating and stationary frames, IEEE Transactions on Industrial Elec-
tronics, vol. 42, pp. 396401, Nov. 1995.
[59] P. Verdelho and G. D. Marques, DC voltage control and stability analysis of
PWM-voltage-typereversible rectiers, IEEE Transactions on Industrial Electron-
ics, vol. 45, no. 2, pp. 263273, Apr. 1998.
[60] G. D. Marques and P. Verdelho, A simple slip-power recovery system with a DC
voltage intermediatecircuit and reduced harmonics on the mains, IEEE Transac-
tions on Industrial Electronics, vol. 47, no. 1, pp. 123132, Feb. 2000.
188 REFERENCES
[61] J. Millman and H. Taub, Pulse, Digital and Switching Waveforms, M. G. Hill, Ed.
Mc Graw Hill International, 1965.
[62] Abb website. hvdc section. [Online]. Available: http://www.abb.com/hvdc
[63] P. C. Sen, Power electronics, ., Ed. Tata Mc Graw Hill, 1987.
[64] F. Blaabjerg, R. Teodorescu, M. Liserre, and A. V. Timbus, Overview of control
and grid synchronization for distributed power generation systems, IEEE Trans-
actions on Industrial Electronics, vol. 53, no. 5, pp. 13981409, Oct. 2006.
[65] J. D. Ainsworth, Harmonic instability between controlled static convertors and a.c.
networks, Proceedings of the IEE, vol. 114, pp. 949957, 1967.
[66] B. Singh, V. Verma, and J. Solanki, Neural network-based selective compensation
of current quality problems in distribution system, IEEE Transactions on Indus-
trial Electronics, vol. 54, no. 1, pp. 5360, Feb. 2007.
[67] R. Arockiasamy and S. Doraipandy, A novel trigger scheme for thyristor operating
under variable-frequency anode supply, IEEE Transactions on Industrial Electron-
ics and Control Instrumentation, vol. 22, no. 1, pp. 8385, Feb. 1975.
[68] S. Murugesan and C. K. Rao, Simple adaptive analog and digital trigger circuits
for thyristors working under wide range of supply frequencies, IEEE Transactions
on Industrial Electronics and Control Instrumentation, vol. 24, no. 1, pp. 4649,
Feb. 1977.
[69] R. Weidenbrug, F. P. Dawson, and R. Bonert, New synchronization method for
thyristor power converters to weakAC-systems, IEEE Transactions on Industrial
Electronics, vol. 40, no. 5, pp. 505511, Oct. 1993.
[70] O. Vainio and S. J. Ovaska, Noise reduction in zero crossing detection by predictive
digitalltering, IEEE Transactions on Industrial Electronics, vol. 42, no. 1, pp. 58
62, Feb. 1995.
[71] J. Galloway, Harmonic instability in phase controlled rectiers, in Petroleum and
Chemical Industry Conference, 1999. Industry Applications Society 46th Annual,
San Diego, CA, USA, 1999, pp. 171175.
[72] A. Ekstrom and G. Liss, A rened HVDC control system, IEEE Transactions on
Power Apparatus and Systems, vol. 89, no. 5, pp. 723732, May 1970.
[73] A. Skjellnes, B. Hanssen, and T. Arnulf, Phase-locked loop control of thyristor
convertors, Proceedings of the IEE, vol. 123, pp. 9991001, 1976.
[74] R. Simard and V. Rajagopalan, Economical equidistant pulse ring scheme for
thyristorized DC drives, IEEE Transactions on Industrial Electronics and Control
Instrumentation, vol. 22, no. 3, pp. 425429, Aug. 1975.
[75] G.-C. Hsieh and J. C. Hung, Phase-locked loop techniques. a survey, IEEE Trans-
actions on Industrial Electronics, vol. 43, no. 6, pp. 609615, Dec. 1996.
REFERENCES 189
[76] H. Le-Huy, A digitally controlled thyristor trigger circuit, Proceedings of the
IEEE, vol. 66, no. 1, pp. 8991, Jan. 1978.
[77] B. K. Bose and K. J. Jentzen, Digital speed control of a DC motor with phase-
locked loop regulation, IEEE Transactions on Industrial Electronics and Control
Instrumentation, vol. 25, no. 1, pp. 1013, Feb. 1978.
[78] R. E. Best, Phase Locked Loops. Design, Simulation and Applications. 4th Edition.
McGraw-Hill, 1999.
[79] F. M. Gardner, PhaseLock Techniques. John Wiley and Sons, 2004.
[80] S. C. Gupta, K. Venkatesan, and K. Eapen, A generalized ring angle controller
using phase-locked loop for thyristor control, IEEE Transactions on Industrial
Electronics and Control Instrumentation, vol. 28, no. 1, pp. 4649, Feb. 1981.
[81] F. J. Bourbeau, LSI based three-phase thyristor ring circuit, IEEE Transactions
on Industry Applications, vol. 19, no. 4, pp. 571578, Jul. 1983.
[82] F. M. Gardner, Charge-pump phase-lock loops, IEEE Transactions on Commu-
nications, vol. COM-28, pp. 18491953, 1980.
[83] C. N. m. Ho, H. S. H. Chung, and K. T. K. Au, Design and implementation of
a fast dynamic control scheme for capacitor-supported dynamic voltage restorers,
IEEE Transactions on Power Electronics, vol. 23, no. 1, pp. 237251, Jan. 2008.
[84] Electronic components on-line shop Digi-Key. [Online]. Available: www.digikey.
com/
[85] A. Gole, V. K. Sood, and L. Mootoosamy, Validation and analysis of a grid control
system using d-q-z transformation for static compensator systems, in Proc. Can.
Conf. Elect. Comput. Eng., 1989, pp. 745748.
[86] A. M. Gole and V. K. Sood, A static compensator model for use with electro-
magnetic transients simulation programs, IEEE Transactions on Power Delivery,
vol. 5, no. 3, pp. 13981407, Jul. 1990.
[87] V. Blasko, J. C. Moreira, and T. A. Lipo, A new eld oriented controller utilizing
spatial positionmeasurement of rotor end ring current, in Power Electronics Spe-
cialists Conference, 1989. PESC 89 Record., 20th Annual IEEE, Milwaukee, WI,
USA, Jun. 1989, pp. 295300.
[88] D. N. Zmood and D. G. Holmes, Stationary frame current regulation of PWM
inverters with zero steady-state error, IEEE Transactions on Power Electronics,
vol. 18, no. 3, pp. 814822, May 2003.
[89] T. Ahmed, K. Nishida, and M. Nakaoka, Advanced control of PWM converter with
variable-speed induction generator, IEEE Transactions on Industry Applications,
vol. 42, no. 4, pp. 934945, Jul./Aug. 2006.
190 REFERENCES
[90] T. Ahmed, K. Nishida, and M. Nakaoka., A novel stand-alone induction gener-
ator system for AC and DC power applications, IEEE Transactions on Industry
Applications, vol. 43, no. 6, pp. 14651474, Nov./Dec. 2007.
[91] I. Etxeberria-Otadui, U. Viscarret, M. Caballero, A. Rufer, and S. Bacha, New
optimized PWM VSC control structures and strategies under unbalanced voltage
transients, IEEE Transactions on Industrial Electronics, vol. 54, no. 5, pp. 2902
2914, Oct. 2007.
[92] P. Xiao, K. A. Corzine, and G. K. Venayagamoorthy, Multiple reference frame-
based control of three-phase PWM boost rectiers under unbalanced and distorted
input conditions, IEEE Transactions on Power Electronics, vol. 23, no. 4, pp.
20062017, Jul. 2008.
[93] P. Mattavelli, A closed-loop selective harmonic compensation for active lters,
IEEE Transactions on Industry Applications, vol. 37, no. 1, pp. 8189, Jan./Feb.
2001.
[94] A. Timbus, Grid monitoring and advanced control of distributed power generation
systems, Ph.D. dissertation, Aalborg University, Institute of Energy Technology,
2007.
[95] P. . Rodriguez, A. V. Timbus, R. . Teodorescu, M. . Liserre, and F. . Blaabjerg,
Flexible active power control of distributed power generation systems during grid
faults, IEEE Transactions on Industrial Electronics, vol. 54, no. 5, pp. 25832592,
Oct. 2007.
[96] G. Escobar, P. Mattavelli, A. Stankovic, A. Valdez, and J. Leyva-Ramos, An adap-
tive control for UPS to compensate unbalance and harmonic distortion using a com-
bined capacitor/load current sensing, IEEE Transactions on Industrial Electronics,
vol. 54, no. 2, pp. 839847, April 2007.
[97] G. Escobar, J. Leyva-Ramos, P. Mattavelli, and A. Valdez, Repetitive-based con-
troller for a UPS inverter to compensate unbalance and harmonic distortion, IEEE
Transactions on Industrial Electronics, vol. 54, no. 1, pp. 504510, Feb. 2007.
[98] S. K. Chung, Phase-locked loop for grid-connected three-phase power conversion
systems, in Electric Power Applications, IEE Proceedings -, vol. 147, no. 3, May
2000, pp. 213219.
[99] S.-K. Chung, A phase tracking system for three phase utility interface inverters,
IEEE Transactions on Power Electronics, vol. 15, no. 3, pp. 431438, May 2000.
[100] C. Zhan, C. Fitzer, V. Ramachandaramurthy, A. Arulampalam, M. Barnes, and
N. Jenkins, Software phase-locked loop applied to dynamic voltage restorer
(DVR), in Power Engineering Society Winter Meeting, 2001. IEEE, vol. 3, 28
Jan.-1 Feb. 2001, pp. 10331038vol.3.
REFERENCES 191
[101] P. Rodriguez, L. Sainz, and J. Bergas, Synchronous double reference frame PLL
applied to a unied power quality conditioner, in Harmonics and Quality of Power,
2002. 10th International Conference on, vol. 2, Oct. 2002, pp. 614619.
[102] H. Awad, J. Svensson, and M. J. Bollen, Phase-locked loop for static series com-
pensator, in Proceedings of EPE Conference, 2003.
[103] , Tuning software phase-locked loop for series-connected converters, IEEE
Transactions on Power Delivery, vol. 20, no. 1, pp. 300308, Jan. 2005.
[104] M. C. Benhabib and S. Saadate, A new robust experimentally validated phase
locked loop for power electronic control, EPE Journal, vol. 15, pp. 3648, 2005.
[105] A. Timbus, M. Liserre, R. Teodorescu, and F. Blaabjerg, Synchronization methods
for three phase distributed power generation systems. an overview and evaluation,
in Power Electronics Specialists Conference, 2005. PESC 05. IEEE 36th, Recife
2005, pp. 24742481.
[106] A. V. Timbus, R. Teodorescu, F. Blaabjerg, M. Liserre, and P. Rodriguez, PLL
algorithm for power generation systems robust to grid voltage faults, in Power
Electronics Specialists Conference, 2006. PESC 06. 37th IEEE, Jeju, Jun. 2006,
pp. 17.
[107] L. G. B. Barbosa Rolim, D. R. Rodrigues da CostaJr., and M. Aredes, Analysis
and software implementation of a robust synchronizing PLL circuit based on the pq
theory, IEEE Transactions on Industrial Electronics, vol. 53, no. 6, pp. 19191926,
Dec. 2006.
[108] P. Rodriguez, J. Pou, J. Bergas, J. I. Candela, R. P. Burgos, and D. Boroyevich,
Decoupled double synchronous reference frame PLL for power converters control,
IEEE Transactions on Power Electronics, vol. 22, no. 2, pp. 584592, Mar. 2007.
[109] T. Ostrem, W. Sulkowski, L. Norum, and W. Yadong, Phase-locked loop with
adaptive signal cancellation for three-phase network side voltage source inverter,
in Power Electronics and Applications, 2007 European Conference on, Aalborg
Sep. 2007, pp. 110.
[110] A. M. Salamah, S. J. Finney, and B. W. Williams, Three-phase phase-lock loop
for distorted utilities, IET Electric Power Applications, vol. 1, no. 6, pp. 937945,
Nov. 2007.
[111] F. Bradaschia, J. P. Arruda, H. Souza, G. M. S. Azevedo, F. A. S. Neves, and
M. C. Cavalcanti, A method for extracting the fundamental frequency positive-
sequence voltage vector based on simple mathematical transformations, in Power
Electronics Specialists Conference, 2008. PESC 2008. IEEE, Rhodes Jun. 2008,
pp. 11151121.
[112] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and C. Jacobo, Robust phase locked
loops optimized for dsp implementation in power quality applications, in 34th
192 REFERENCES
Annual Conference on IEEE Industrial Electronics, IECON 2008, Orlando, USA,
Nov. 2008.
[113] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and E. Acha, Tunning of phase locked
loops for power converters under distorted utility conditions, in Proceedings of
IEEE Applied Power Electronics Conference, Washinton DC, USA, Nov. 2009.
[114] , Tuning of phase locked loops for power converters under distorted utility
conditions, To be published in IEEE Transactions on Industry Applications, vol. .,
pp. 19, Nov. 2009.
[115] G. Saccomando and J. Svensson, Transient operation of grid-connected voltage
source converterunder unbalanced voltage conditions, in Industry Applications
Conference, 2001. Thirty-Sixth IAS Annual Meeting. Conference Record of the 2001
IEEE, vol. 4, Chicago, IL, USA, Sep./Oct. 2001, pp. 24192424.
[116] H. Awad and J. Svensson, Compensation of unbalanced voltage dips using vector-
controlled static series compensator with LC-lter, in Industry Applications Con-
ference, 2002. 37th IAS Annual Meeting. Conference Record of the, vol. 2, 2002, pp.
904910.
[117] H. Awad, J. Svensson, and M. J. Bollen, Tuning software phase-locked loop for
series-connected converters, IEEE Transactions on Power Delivery, vol. 20, no. 1,
pp. 300308, Jan. 2005.
[118] X. Yuan, J. Allmeling, W. Merk, and H. Stemmler, Stationary frame generalized
integrators for current control ofactive power lters with zero steady state error for
current harmonicsof concern under unbalanced and distorted operation conditions,
in Industry Applications Conference, 2000. Conference Record of the 2000 IEEE,
vol. 4, Rome, Italy, Oct. 2000, pp. 21432150.
[119] S. Fukuda and T. Yoda, A novel current-tracking method for active lters based
on asinusoidal internal model [for PWM invertors], IEEE Transactions on Industry
Applications, vol. 37, no. 3, pp. 888895, May/Jun. 2001.
[120] X. Yuan, W. Merk, H. Stemmler, and J. Allmeling, Stationary-frame generalized
integrators for current control of active power lters with zero steady-state error for
current harmonics of concern under unbalanced and distorted operating conditions,
IEEE Transactions on Industry Applications, vol. 38, no. 2, pp. 523532, Mar./Apr.
2002.
[121] S. Fukuda and R. Imamura, Application of a sinusoidal internal model to current
control of three phase utility-interface-converters, in Power Electronics Specialist
Conference, 2003. PESC 03. 2003 IEEE 34th Annual, vol. 3, Jun. 2003, pp. 1301
1306.
[122] , Application of a sinusoidal internal model to current control of three-phase
utility-interface converters, IEEE Transactions on Industrial Electronics, vol. 52,
no. 2, pp. 420426, Apr. 2005.
REFERENCES 193
[123] P. Rodriguez, R. Teodorescu, I. Candela, A. V. Timbus, M. Liserre, and F. Blaab-
jerg, New positive-sequence voltage detector for grid synchronization of power con-
verters under faulty grid conditions, in Power Electronics Specialists Conference,
2006. PESC 06. 37th IEEE, Jun. 2006, pp. 17.
[124] R. Cutri and L. Matraska Jr, A fast instantaneous method for sequence extraction,
in Ninth Brazilian Conference on Power Electronics, 2007.
[125] G. H. Jung, G. C. Cho, S. W. Hong, and G. H. Cho, DSP based control of high
power static VAr compensator using novelvector product phase locked loop, in
Power Electronics Specialists Conference, 1996. PESC 96 Record., 27th Annual
IEEE, vol. 1, Baveno, Italy, Jun. 1996, pp. 238243.
[126] D. Jovcic, Phase locked loop system for FACTS, IEEE Transactions on Power
Systems, vol. 18, no. 3, pp. 11161124, Aug. 2003.
[127] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, D. Pineiro, C. M. Penalver, and A. A.
Nogueiras, Real-time implementation of a SPLL for FACTS, in 32nd Annual
Conference on IEEE Industrial Electronics, IECON 2006, Paris, France, Nov. 2006,
pp. 23902395.
[128] M. A. Perez, J. R. Espinoza, L. A. Moran, M. A. Torres, and E. A. Araya, A robust
phase-locked loop algorithm to synchronize static-power converters with polluted
AC systems, IEEE Transactions on Industrial Electronics, vol. 55, no. 5, pp. 2185
2192, May 2008.
[129] L. N. Arruda, S. M. Silva, and B. J. C. Filho, PLL structures for utility con-
nected systems, in Industry Applications Conference, 2001. Thirty-Sixth IAS An-
nual Meeting. Conference Record of the 2001 IEEE, vol. 4, Chicago, IL, USA,
Sep./Oct. 2001, pp. 26552660.
[130] S. M. Silva, B. M. Lopes, B. J. C. Filho, R. P. Campana, and W. C. Bosven-
tura, Performance evaluation of PLL algorithms for single-phase grid-connected
systems, in Industry Applications Conference, 2004. 39th IAS Annual Meeting.
Conference Record of the 2004 IEEE, vol. 4, Oct. 2004, pp. 22592263.
[131] M. Ciobotaru, R. Teodorescu, and F. Blaabjerg, A new single-phase PLL struc-
ture based on second order generalized integrator, in Power Electronics Specialists
Conference, 2006. PESC 06. 37th IEEE, Jun. 2006, pp. 16.
[132] M. Ciobotaru, R. Teodorescu, and V. G. Agelidis, Oset rejection for PLL based
synchronization in grid-connected converters, in Applied Power Electronics Con-
ference and Exposition, 2008. APEC 2008. Twenty-Third Annual IEEE, Austin,
TX Feb. 2008, pp. 16111617.
[133] S. Shinnaka, A robust single-phase PLL system with stable and fast tracking,
IEEE Transactions on Industry Applications, vol. 44, no. 2, pp. 624633, Mar./
2008.
194 REFERENCES
[134] M. R. Iravani and M. Karimi-Ghartemani, Online estimation of steady state and
instantaneous symmetrical components, in Generation, Transmission and Distri-
bution, IEE Proceedings-, vol. 150, no. 5, Sep. 2003, pp. 616622.
[135] C. H. da Silva, R. R. Pereira, L. E. B. da Silva, G. Lambert-Torres, and V. F.
Silva, DSP implementation of three-phase PLL using modied synchronous ref-
erence frame, in Industrial Electronics Society, 2007. IECON 2007. 33rd Annual
Conference of the IEEE, Taipei Nov. 2007, pp. 16971701.
[136] M. Karimi-Ghartemani, H. Karimi, and M. R. Iravani, A magnitude/phase-locked
loop system based on estimation of frequency and in-phase/quadrature-phase am-
plitudes, IEEE Transactions on Industrial Electronics, vol. 51, no. 2, pp. 511517,
Apr. 2004.
[137] S. Muyulema, E. J. Bueno, F. J. Rodriguez, S. Cobreces, and D. Diaz, Response
of the grid converters synchronization using p.u. magnitude in the control loop, in
Industrial Electronics, 2007. ISIE 2007. IEEE International Symposium on, Jun.
2007, pp. 186191.
[138] A. viterbi, Principles of Coherent Communications. McGraw-Hill Inc.,US, 1967.
[139] J.-J. E. Slotine and W. Li, Applied Nonlinear control, ., Ed. Prentice Hall, 1991.
[140] H. S. Song and K. Nam, Instantaneous phase-angle estimation algorithm under
unbalancedvoltage-sag conditions, in Generation, Transmission and Distribution,
IEE Proceedings-, vol. 147, no. 6, Nov. 2000, pp. 409415.
[141] J. Svensson, Synchronisation methods for grid-connected voltage sourceconvert-
ers, in Generation, Transmission and Distribution, IEE Proceedings-, vol. 148,
no. 3, May 2001, pp. 229235.
[142] Matlab help. [Online]. Available: http://www.mathworks.com/access/helpdesk/
help/helpdesk.html
[143] R. F. de Camargo, A. T. Pereira, and H. Pinheiro, New synchronization method
for three-phase three-wire PWM converters under unbalance and harmonics in the
grid voltages, in Power Electronics Specialists Conference, 2005. PESC 05. IEEE
36th, Recife 2005, pp. 506512.
[144] R. F. de Camargo and H. Pinheiro, Synchronisation method for three-phase PWM
converters under unbalanced and distorted grid, in Electric Power Applications,
IEE Proceedings -, vol. 153, no. 5, Sep. 2006, pp. 763772.
[145] V. M. Moreno, M. Liserre, A. Pigazo, and A. DellAquila, A comparative analy-
sis of real-time algorithms for power signal decomposition in multiple synchronous
reference frames, IEEE Transactions on Power Electronics, vol. 22, no. 4, pp.
12801289, Jul. 2007.
[146] F. Freijedo, J. Doval-Gandoy, O. Lopez, and C. Martinez-Penalver, New algorithm
for grid synchronization based on fourier series, in EPE Conference., Aalborg,
Denmark., Sep. 2007.
REFERENCES 195
[147] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and E. Acha, A generic open-loop algo-
rithm for three-phase grid voltage/current synchronization with particular reference
to phase, frequency, and amplitude estimation, IEEE Transactions on Power Elec-
tronics, vol. 24, no. 1, pp. 94107, Jan. 2009.
[148] F. D. Freijedo, J. Doval, O. Lopez, and C. Martinez-Penalver, A signal processing
adaptive algorithm for selective current harmonic cancellation in active power l-
ters, IEEE Transactions on Industrial Electronics, vol. forthcoming papers, p. 9,
2009.
[149] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, C. Martinez-Penalver, A. Nogueiras,
and E. Acha, Novel harmonic identication algorithm based on fourier correlation
and moving average ltering, in IEEE Power Engineering Society General Meeting,
Anaheim, California, USA, Oct. 2007.
[150] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and J. Cabaleiro, Harmonic identica-
tion methods based on moving average lters for active power lters, in Industry
Applications Society Annual Meeting, 2008. IAS 08. IEEE, Edmonton, Alberta,
Canada Oct. 2008.
[151] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and C. Jacobo, Reference generation
techniques for active power line conditioners, in 34th Annual Conference on IEEE
Industrial Electronics, IECON 2008, Orlando, USA, Nov. 2008.
[152] S. K. Mitra, Digital Signal Processing. A Computer-Based Approach, S. W. Director,
Ed. Mc Graw Hill, 1998.
[153] R. W. Menzies and G. B. Mazur, Advances in the determination of control param-
eters for static compensators, IEEE Power Engineering Review, vol. 9, no. 10, pp.
4444, Oct. 1989.
[154] A. Nakata, A. Ueda, and A. Torii, A method of current detection for an active
power lter applyingmoving average to pq-theory, in Power Electronics Specialists
Conference, 1998. PESC 98 Record. 29th Annual IEEE, vol. 1, Fukuoka, Japan,
May 1998, pp. 242247.
[155] Power Systems Blockset, User Manual, Mathworks, 2000.
[156] M. Albu and G. Heydt, On the use of RMS values in power quality assessment,
IEEE Transactions on Power Delivery, vol. 18, no. 4, pp. 15861587, Oct. 2003.
[157] H. Awad, H. Nelsen, F. Blaabjerg, and M. J. Newman, Operation of static se-
ries compensator under distorted utility conditions, IEEE Transactions on Power
Systems, vol. 20, no. 1, pp. 448457, Feb. 2005.
[158] B. P. McGrath, D. G. Holmes, and J. J. H. Galloway, Power converter line syn-
chronization using a discrete fourier transform (DFT) based on a variable sample
rate, IEEE Transactions on Power Electronics, vol. 20, no. 4, pp. 877884, Jul.
2005.
196 REFERENCES
[159] S. W. Smith, The Scientist and Engineers Guide to Digital Signal Processing., .,
Ed. California Technical Publishing, 1998.
[160] E. Acha and M. Madrigal, Power Systems Harmonics, J. Willey, Ed. Jonh Willey
& Sons, Ltd, 2001.
[161] R. Grino, R. Cardoner, R. Costa-Castello, and E. Fossas, Digital repetitive control
of a three-phase four-wire shunt active lter, IEEE Transactions on Industrial
Electronics, vol. 54, no. 3, pp. 14951503, June 2007.
[162] L. Asiminoaei, F. Blaabjerg, and S. Hansen, Evaluation of harmonic detection
methods for active power lter applications. in Proceedings of APEC, 2005.
[163] R. Costa-Castello, R. Grino, and E. Fossas, Odd-harmonic digital repetitive control
of a single-phase current active lter, IEEE Transactions on Power Electronics,
vol. 19, no. 4, pp. 10601068, Jul. 2004.
[164] , Reply to "concerning odd-harmonic digital repetitive control of a single-
phase current active lter", IEEE Transactions on Power Electronics, vol. 21,
no. 4, pp. 11591160, Jul. 2006.
[165] K. Zhou, K.-S. Low, D. Wang, F.-L. Luo, B. Zhang, and Y. Wang, Zero-phase odd-
harmonic repetitive controller for a single-phase PWM inverter, IEEE Transactions
on Power Electronics, vol. 21, no. 1, pp. 193201, Jan. 2006.
[166] M. D. Kusljevic, A simple method for design of adaptive lters for sinusoidal
signals, IEEE Transactions on Instrumentation and Measurement, vol. 57, no. 10,
pp. 22422249, Oct. 2008.
[167] L.-P. Chau and W.-C. Siu, Direct formulation for the realization of discrete cosine
transformusing recursive structure, IEEE Transactions on Circuits and Systems
II: Analog and Digital Signal Processing, vol. 42, no. 1, pp. 5052, Jan. 1995.
[168] J.-F. Yang and C.-P. Fan, Recursive discrete cosine transforms with selectablexed-
coecient lters, IEEE Transactions on Circuits and Systems II: Analog and Dig-
ital Signal Processing, vol. 46, no. 2, pp. 211216, Feb. 1999.
[169] , Compact recursive structures for discrete cosine transform, IEEE Trans-
actions on Circuits and Systems II: Analog and Digital Signal Processing, vol. 47,
no. 4, pp. 314321, Apr. 2000.
[170] C.-H. Chen, B.-D. Liu, J.-F. Yang, and J.-L. Wang, Ecient recursive structures
for forward and inverse discrete cosine transform, IEEE Transactions on Signal
Processing, vol. 52, no. 9, pp. 26652669, Sep. 2004.
[171] R. E. Kalman, A new approach to linear ltering and prediction problems, Trans-
actions on ASME, Journal of Basic Engineering, vol. 82, pp. 3345, 1960.
[172] B. Widrow and M. E. Ho, Adaptive switching circuits, in IRE WESCON Con-
vention Records, 1960.
REFERENCES 197
[173] H. Ma and A. A. Girgis, Identication and tracking of harmonic sources in a power
systemusing a kalman lter, IEEE Transactions on Power Delivery, vol. 11, no. 3,
pp. 16591665, Jul. 1996.
[174] P. K. Dash, D. P. Swain, H. P. Khincha, and A. C. Liew, Digital protective relay-
ing using an adaptive neural network, in Energy Management and Power Delivery,
1995. Proceedings of EMPD 95., 1995 International Conference on, vol. 2, , Singa-
pore, Nov. 1995, pp. 684689.
[175] P. K. Dash, D. P. Swain, A. C. Liew, and S. Rahman, An adaptive linear com-
biner for on-line tracking of power systemharmonics, IEEE Transactions on Power
Systems, vol. 11, no. 4, pp. 17301735, Nov. 1996.
[176] H.-S. Song, H.-G. Park, and K. Nam, An instantaneous phase angle detection
algorithm under unbalancedline voltage condition, in Power Electronics Specialists
Conference, 1999. PESC 99. 30th Annual IEEE, vol. 1, Charleston, SC, USA, Aug.
1999, pp. 533537.
[177] H.-S. Song, K. Nam, and P. Mutschler, Very fast phase angle estimation algorithm
for a single-phase system having sudden phase angle jumps, in Industry Applica-
tions Conference, 2002. 37th IAS Annual Meeting. Conference Record of the, vol. 2,
2002, pp. 925931.
[178] H.-S. Song, R. Keil, P. Mutschler, J. van der Weem, and K. Nam, Advanced con-
trol scheme for a single-phase PWM rectier in traction applications, in Industry
Applications Conference, 2003. 38th IAS Annual Meeting. Conference Record of the,
vol. 3, Oct. 2003, pp. 15581565.
[179] M. I. Marei, E. F. El-Saadany, and M. M. A. Salama, A processing unit for symmet-
rical components and harmonics estimation based on a new adaptive linear combiner
structure, IEEE Transactions on Power Delivery, vol. 19, no. 3, pp. 12451252,
Jul. 2004.
[180] B. Han and B. Bae, Novel phase-locked loop using adaptive linear combiner, IEEE
Transactions on Power Delivery, vol. 21, no. 1, pp. 513514, Jan. 2006.
[181] R. Cardoso, R. F. de Camargo, H. Pinheiro, and H. A. Grundling, Kalman lter
based synchronisation methods, Generation, Transmission & Distribution, IET,
vol. 2, no. 4, pp. 542555, Jul. 2008.
[182] J. F. Petit, Control de ltros activos de potencia para la mitigacion de armonicos
y mejora del factor de potencia en sistemas desequilibrados. Ph.D. dissertation,
Departamento de Ingenieria Electrica, Universidad Carlos III de Madrid, 2007.
[183] A. A. Girgis, W. B. Chang, and E. B. Makram, A digital recursive measurement
scheme for online tracking of powersystem harmonics, IEEE Transactions on Power
Delivery, vol. 6, no. 3, pp. 11531160, Jul. 1991.
198 REFERENCES
[184] R. Alcaraz, E. J. Bueno, S. Cobreces, F. J. Rodriguez, F. Espinosa, and
S. Muyulema, Power system voltage harmonic identication using kalman lter,
in EPE-PEMC, 2006.
[185] UNE-EN50160 Standard.
[186] R. Alcaraz, E. J. Bueno, S. Cobreces, F. J. Rodriguez, C. Giron, and M. Liserre,
Comparison of voltage harmonic identication methods for single-phase systems,
in Proceedings of IECON, 2006.
[187] M. Bongiorno, J. Svensson, and A. Sannino, Eect of sampling frequency and
harmonics on delay-based phase-sequence estimation method, IEEE Transactions
on Power Delivery, vol. 23, no. 3, pp. 16641672, Jul. 2008.
[188] J. Svensson, M. Bongiorno, and A. Sannino, Practical implementation of delayed
signal cancellation method for phase-sequence separation, IEEE Transactions on
Power Delivery, vol. 22, no. 1, pp. 1826, Jan. 2007.
[189] A. K. Pradhan, A. Routray, and A. Basak, Power system frequency estimation
using least mean square technique, IEEE Transactions on Power Delivery, vol. 20,
no. 3, pp. 18121816, Jul. 2005.
[190] C.-H. Huang, C.-H. Lee, K.-J. Shih, and Y.-J. Wang, Frequency estimation of
distorted power system signals using a robust algorithm, IEEE Transactions on
Power Delivery, vol. 23, no. 1, pp. 4151, Jan. 2008.
[191] G. F. Franklin, J. D. Powell, and A. Emami-Naeini, Feedback Control of Dynamic
Systems. Pearson Education, 2002.
[192] R. C. Dorf and R. H. Bishop, Modern Control Systems, Ninth Edition, ., Ed. Pren-
tice Hall, 2000.
[193] ., Digital sine-wave generation using the tms320c2xx. spra179, Texas Instruments,
Tech. Rep., 1998.
[194] D. Garcia, Precision digital sine-wave generation with the tms32010. application
report spra007. Texas Instruments., Tech. Rep., 1997.
[195] Y.-T. Cheng, Tms320c62x algorithm: Sine wave generation. spra708. Texas In-
struments, Tech. Rep., 2000.
[196] G. Gonzalez, Foundations of Oscillator Circuit Design, A. H. Publishers, Ed.
Artech House Publishers, 2007.
[197] Y. W. Li, F. Blaabjerg, D. M. Vilathgamuwa, and P. C. Loh, Design and com-
parison of high performance stationary-frame controllers for DVR implementation,
IEEE Transactions on Power Electronics, vol. 22, no. 2, pp. 602612, Mar. 2007.
[198] H. Akagi, S. Inoue, and T. Yoshii, Control and performance of a transformerless
cascade PWM STATCOM with star conguration, IEEE Transactions on Industry
Applications, vol. 43, no. 4, pp. 10411049, Jul./Aug. 2007.
REFERENCES 199
[199] C. Lascu, L. Asiminoaei, I. Boldea, and F. Blaabjerg, High performance current
controller for selective harmonic compensation in active power lters, IEEE Trans-
actions on Power Electronics, vol. 22, no. 5, pp. 18261835, Sep. 2007.
[200] M. Liserre, R. Teodorescu, and F. Blaabjerg, Multiple harmonics control for three-
phase grid converter systems with the use of PI-RES current controller in a rotating
frame, IEEE Transactions on Power Electronics, vol. 21, no. 3, pp. 836841, May
2006.
[201] C. A. Busada, H. G. Chiacchiarini, and J. C. Balda, Synthesis of sinusoidal wave-
form references synchronized with periodic signals, IEEE Transactions on Power
Electronics, vol. 23, no. 2, pp. 581590, Mar. 2008.
[202] R. Wu, S. B. Dewan, and G. R. Slemon, A PWM AC-to-DC converter with xed
switching frequency, IEEE Transactions on Industry Applications, vol. 26, no. 5,
pp. 880885, Sep./Oct. 1990.
[203] T. G. Habetler, A space vector-based rectier regulator for AC/DC/AC convert-
ers, IEEE Transactions on Power Electronics, vol. 8, no. 1, pp. 3036, Jan. 1993.
[204] D. Holmes and D. Matin, Implementation of a direct digital predictive current
controller for single and three phase voltage source inverters. in Proceedings of
IAS., 1996.
[205] Y. A. R. I. Mohamed and E. F. El-Saadany, Robust high bandwidth discrete-time
predictive current control with predictive internal modela unied approach for
voltage-source PWM converters, IEEE Transactions on Power Electronics, vol. 23,
no. 1, pp. 126136, Jan. 2008.
[206] P. Cortes, J. Rodriguez, D. E. Quevedo, and C. Silva, Predictive current con-
trol strategy with imposed load current spectrum, IEEE Transactions on Power
Electronics, vol. 23, no. 2, pp. 612618, Mar. 2008.
[207] S.-J. Jeong and S.-H. Song, Improvement of predictive current control performance
using online parameter estimation in phase controlled rectier, IEEE Transactions
on Power Electronics, vol. 22, no. 5, pp. 18201825, Sep. 2007.
[208] G. Abad, M. . Rodriguez, and J. Poza, Two-level VSC based predictive direct
torque control of the doubly fed induction machine with reduced torque and ux
ripples at low constant switching frequency, IEEE Transactions on Power Elec-
tronics, vol. 23, no. 3, pp. 10501061, May 2008.
[209] P. Fernandez-Comesaa, F. D. Freijedo, J. Doval-Gandoy, and J. Malvar., Con-
trol algorithm for a SSSC, in Proceedings of Compatibilty and Power Eletronics
Conference, Badajoz, Spain, Nov. 2009.
[210] C. Lascu, L. Asiminoaei, I. Boldea, and F. Blaabjerg, Frequency response analysis
of current controllers for selective harmonic compensation in active power lters,
IEEE Transactions on Industrial Electronics, vol. 56, no. 2, pp. 337347, Feb. 2009.
200 REFERENCES
[211] M. S. Carmeli, F. Castelli-Dezza, and G. Superti-Furga, Generalized decoupling
method for current-controlled multiswitching systems, IEEE Transactions on In-
dustrial Electronics, vol. 56, no. 2, pp. 348359, Feb. 2009.
[212] A. Gensior, H. Sira-Ramirez, J. Rudolph, and H. Guldner, On some nonlinear
current controllers for three-phase boost rectiers, IEEE Transactions on Industrial
Electronics, vol. 56, no. 2, pp. 360370, Feb. 2009.
[213] M. H. Bierho and F. W. Fuchs, Active damping for three-phase PWM recti-
ers with high-order line-side lters, IEEE Transactions on Industrial Electronics,
vol. 56, no. 2, pp. 371379, Feb. 2009.
[214] J. Dannehl, C. Wessels, and F. W. Fuchs, Limitations of voltage-oriented PI current
control of grid-connected PWM rectiers with LCL lters, IEEE Transactions on
Industrial Electronics, vol. 56, no. 2, pp. 380388, Feb. 2009.
[215] P. Lezana, J. Rodriguez, M. A. Perez, and J. Espinoza, Input current harmon-
ics in a regenerative multicell inverter with single-phase PWM rectiers, IEEE
Transactions on Industrial Electronics, vol. 56, no. 2, pp. 408417, Feb. 2009.
[216] A. Luo, Z. Shuai, W. Zhu, and Z. J. Shen, Combined system for harmonic sup-
pression and reactive power compensation, IEEE Transactions on Industrial Elec-
tronics, vol. 56, no. 2, pp. 418428, Feb. 2009.
[217] J. Hu, Y. He, L. Xu, and B. W. Williams, Improved control of DFIG systems
during network unbalance using PIr current regulators, IEEE Transactions on
Industrial Electronics, vol. 56, no. 2, pp. 439451, Feb. 2009.
[218] T. R., Blaabjerg, and L. M., Proportional-resonant controllers: A new breed of
controllers suitable for grid-connected voltage-source converters, in Proceedings
of The 9th International Conference on Optimization of Electrical and Electronic
Equipments, OPTIM, vol. 1, 2004.
[219] R. A. Mastromauro, M. Liserre, and A. DellAquila, Study of the eects of inductor
nonlinear behavior on the performance of current controllers for single-phase PV
grid converters, IEEE Transactions on Industrial Electronics, vol. 55, no. 5, pp.
20432052, May 2008.
[220] P. Lezana, C. A. Silva, J. Rodriguez, and M. A. Perez, Zero-steady-state-error
input-current controller for regenerative multilevel converters based on single-phase
cells, IEEE Transactions on Industrial Electronics, vol. 54, no. 2, pp. 733740,
Apr. 2007.
[221] D. N. Zmood, D. G. Holmes, and G. H. Bode, Frequency-domain analysis of
three-phase linear current regulators, IEEE Transactions on Industry Applications,
vol. 37, no. 2, pp. 601610, Mar./Apr. 2001.
[222] M. P. Kazmierkowski and L. Malesani, Current control techniques for three-phase
voltage-source PWM converters: a survey, IEEE Transactions on Industrial Elec-
tronics, vol. 45, no. 5, pp. 691703, Oct. 1998.
REFERENCES 201
[223] P. Mattavelli and F. P. Marafao, Repetitive-based control for selective harmonic
compensation in active power lters, IEEE Transactions on Industrial Electronics,
vol. 51, no. 5, pp. 10181024, Oct. 2004.
[224] M. Bollen and I. Gu, Signal Processing of Power Quality Distrurbances, M. E. El-
Hawary, Ed. John Wiley and Sons, 2006.
[225] X. Guillaud, P. Degobert, and R. Teodorescu, Use of resonant controller for grid-
connected converters in case of large frequency uctuations, in European Confer-
ence on Power Electronics and Applications, 2007, Aalborg, Sep. 2007, pp. 18.
[226] M. Sedighy, S. Dewan, and F. Dawson, A robust digital current control method for
active power lters, IEEE Transactions on Industry Applications, vol. 36, no. 4,
pp. 11581164, July-Aug. 2000.