Beruflich Dokumente
Kultur Dokumente
Contributions to Grid-Synchronization
Techniques for Power Electronic Converters
9 June 2009
University of Vigo
Vigo, Spain
Vita
Francisco Daniel Freijedo Fernndez was born in Ponteareas (Pontevedra), Spain, in
December 1978. He received the M.Sc. in Physics in 2002 from the University of Santiago
de Compostela.
Since 2003 to 2005 he worked as software developer. From February 2005 he is part
time assistant lecturer of the University of Vigo. From June 2008 to October 2008 he
had a research stay at the Power Engineering Group of the University of Glasgow. He
had a research stay at the University of Alcal in February 2009. His research interests
include digital control of Power Electronics Converters, specially for Power Quality and
renewable energy applications.
He has authored or coauthored about 20 technical papers in the field of power electronics, 8 of which are IEEE Transactions grade. He is member of the IEEE since 2007
and also of the IEEE Industrial Electronics and IEEE Power Electronics Societies.
(Abstract)
Real time grid-synchronization techniques are studied in this dissertation. The synchronization block is a crucial part of the controller in grid-connected power converters.
The phase-angle of the voltage/current vector fundamental component at the point of
common coupling (PCC) should be tracked online in order to control the energy transfer
between the power converter and the ac mains. Synchronization algorithms have been
evolving since the first analog zero-cross detectors to current high performance digital
implementations.
An in-depth review of the state-of-art in grid synchronization is contributed in the
Chapter 2 of this PhD dissertation. In some ways, it could be said that the grid synchronization state-of-art has been evolving to avoid malfunctions due to power quality
phenomena. The Ainsworth proposal of using a voltage controlled oscillator (VCO) inside the control loop of a High Voltage Direct Current (HVDC) successfully dealt with
the novel, at that time, harmonic instability problem. Subsequently, analog phase locked
loops (PLL) were proposed to be used as measurement blocks, which provide frequency
adaptation in motor drives. Since then, controllers using analog and digital PLLs have
been proposed in all kind of applications such as controlled rectifiers, Flexible ac Transmission Systems (FACTS) and power line conditioners. Nowadays, the fields of Distributed
Power Generation Systems (DPGS), power line conditioners and traction applications
have an important demand of optimized synchronization algorithms. Even though the
main part of chapter 2 is only dedicated to synchronization with fundamental component
(and positive-sequence), the issue of harmonic and negative sequences extraction is also
dealt with. The advanced synchronization/extraction methods based on synchronous reference frames (SRFs) and moving average filters (MAFs), which are major contributions
of this PhD dissertation, are introduced in this chapter.
Digital PLLs are the most employed synchronization algorithm, mainly due to their
simple implementation, good frequency adaptation and acceptable filtering versus transient response trade-off. 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-offs 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 frequencydomain 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.
SRF synchronization algorithms based on moving average filters (SRF-MAF), which
have been introduced in chapter 2, provide a quite fast transient response and very good
harmonic cancellation. However, its main drawback with respect of PLLs is its lack of
frequency adaptation working open loop. This problem is also observed in other schemes
based on stochastic filtering. A novel synchronization technique based on filtering in the
SRF provided in chapter 4. The main novelty with respect to previous works is the fact
that it is frequency adaptive working open loop. This is achieved by cascading two kinds
of finite impulse response (FIR) filters: a moving average FIR filter providing an excellent
harmonic cancellation and a predictive filter compensating for the negative phase (delay)
introduced by the first one. The resulting schemes are named Predictive SRF-MAFs.
It is proved that predictive SRF-MAFs have a very high performance under distorted
conditions, specially when compared with PLLs.
Chapter 5 provides a novel approach in the implementation of Proportional+Resonant
(PR) current controllers, specially suitable for active power filters (APFs) compensating
for high order harmonics. The difference equation to implement each resonant controller
has been obtained from the impulse invariant discretization method. An explicit estimation of the grid-frequency deviation, which is obtained from a PLL, is employed to update
online the PR current controller. An excellent frequency adaptation is achieved with this
technique. Technical details of the whole discrete-time controller are provided. A 1 kVA
rated lab prototype has been implemented and tested. Experimental tests show how the
system performs both in steady-state and under different transients. Perfect tracking in
steady-state for a wide range of grid-frequencies is achieved. Regarding transient response,
different tests were programmed such as load transients (change in the load), sudden and
large changes in the ac mains frequency (frequency steps) and strong source voltage faults
(voltage sags with phase-jump). Experimental results prove how the system is robust and
fast responding to all of these possible real operation faults. Even though this chapter is
focused in APF applications, the proposed PR controller is suitable for a vast range of
industrial applications such as power line conditioners (including APFs), DPGS, FACTS,
controlled rectifiers, motor drives, etc.
Chapter 6 is devoted to review all the contributions of this PhD thesis. A brief outline
of the future work is also provided.
Acknowledgments
First of all, I would like to thank my director, Dr. Jess Doval, for his patience,
guidance and support. He introduced me to the interesting field of power electronics, and
more specifically in the issue of grid-synchronization.
Secondly, I would like to express my appreciation to my colleagues of the Electronic
Technology Department of the University of Vigo. Specially, I would like to thank Dr.
Oscar Lpez for the technical feedback, his continuous support and his help with LATEX.
I would like to thank Professor Enrique Acha for giving me the opportunity to be
at the University of Glasgow, and for his invaluable help during the development of this
dissertation.
I would also like to thank University of Vigo for the grant I was given to stay in
Glasgow.
I wish to thank Dr Emilio Bueno for the good moments at IECON 2008, and for
having invited me to the University of Alcala.
I would like to thank the PhD Committee Members for their comments which help to
improve the overall quality of this dissertation.
I wish to thank all the colleagues and students for the good moments we shared.
Especially, I would like to mention Enrique Ortega, Pablo, Jano, Jacobo, Renato and
Alejandro.
I would like to thank Carmenza by her English classes and for the good moments we
shared with Miguel.
Finally, I would like to dedicate this dissertation to my family, specially to my parents
for having encouraged me to study and to Silvinha for her unconditional love.
mia familia,
Silvinha, Ma Victoria, Bernardo, Marivi, Carmia e Amelia
Contents
Contents
List of Figures
ix
List of Tables
xvii
xix
Nomenclature
xxiii
1 Introduction
1.1
1.2
1.2.1
1.2.1.1
1.2.2.1
1.2.2
Apparent Power S: . . . . . . . . . . . . . . . . .
1.2.2.1.2
Active Power P : . . . . . . . . . . . . . . . . . .
1.2.2.1.3
Reactive Power Q: . . . . . . . . . . . . . . . . .
ii
1.2.2.2
1.2.3
1.2.2.1.5
Power Factor . . . . . . . . . . . . . . . . . . .
1.2.2.1.6
1.2.2.1.7
1.2.2.2.1
Active Power Pw . . . . . . . . . . . . . . . . . .
1.2.2.2.2
Apparent Power Ps . . . . . . . . . . . . . . . . .
1.2.2.2.3
1.2.2.2.4
Reactive Power . . . . . . . . . . . . . . . . . . .
1.2.2.2.5
1.2.2.2.6
1.2.2.2.7
. . 10
1.2.3.1
1.2.3.2
Per-phase Calculation: . . . . . . . . . . . . . . 11
1.2.3.2.2
1.4
Distortion Power D . . . . . . . . . . . . . . . . .
1.2.3.3
1.3
1.2.2.1.4
Alternatives in Implementation . . . . . . . . . . . . . . . . . . . . 16
Transients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1.4.1.1
Impulsive Transient . . . . . . . . . . . . . . . . . . . . . 17
iii
1.4.1.2
1.4.2
1.4.3
1.5
Oscillatory Transients . . . . . . . . . . . . . . . . . . . . 17
Short-duration Variations . . . . . . . . . . . . . . . . . . . . . . . 17
1.4.2.1
Interruptions . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.4.2.2
Sags (Dips) . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.4.2.3
Swells . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Over-Voltage . . . . . . . . . . . . . . . . . . . . . . . . . 18
1.4.3.2
Under-Voltage . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.3.3
Sustained Interruptions . . . . . . . . . . . . . . . . . . . 19
1.4.4
Voltage Imbalance . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.5
Waveform Distortion . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.5.1
Dc Offset . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1.4.5.2
Harmonics . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.4.5.3
Inter-Harmonics . . . . . . . . . . . . . . . . . . . . . . . 20
1.4.5.4
Notching . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.4.5.5
Noise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.4.6
Voltage Fluctuations . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1.4.7
Thyristor Converters . . . . . . . . . . . . . . . . . . . . . . . . . . 22
1.5.1.1
1.5.1.2
iv
1.5.2
1.5.1.2.2
1.5.1.2.3
Ac Motor Drives . . . . . . . . . . . . . . . . . . 27
Pulse-Width-Modulated Converters . . . . . . . . . . . . . . . . . . 28
1.5.2.1
Sinusoidal PWM . . . . . . . . . . . . . . . . . . 29
1.5.2.2
1.5.2.3
Ac Motor Drives . . . . . . . . . . . . . . . . . . 34
1.5.2.3.2
1.5.2.3.3
1.5.2.3.4
1.6
1.7
1.7.2
1.7.3
1.7.4
1.7.5
45
. . . . . . . . . . . . . . . . . . . 46
Constant- Method . . . . . . . . . . . . . . . . . . . . . 48
2.1.1.2
Inverse-Cosine Method . . . . . . . . . . . . . . . . . . . . 49
v
2.1.2
2.2
2.1.2.2
PLO Linearization . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.2.1.1
2.2.2
2.3
2.4
Design Example . . . . . . . . . . . . . . . . . . . . . . . 56
2.2.2.2
Charge-Pump PLLs . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
2.3.2
Digital SRF-PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2.3.2.1
SRF-PLL Operation . . . . . . . . . . . . . . . . . . . . . 69
2.3.2.2
2.3.2.2.2
2.3.2.2.3
2.3.2.2.4
2.3.3
2.3.4
2.3.5
2.3.6
vi
2.4.1
2.4.2
2.4.3
2.4.1.2
2.4.2.2
2.4.2.3
Equivalent Implementations . . . . . . . . . . . . . . . . . 92
2.4.2.4
2.4.2.5
Kalman Filtering . . . . . . . . . . . . . . . . . . . . . . . 96
2.4.3.1.1
2.4.3.2
2.6
Single-phase Example . . . . . . . . . . . . . . . 96
2.5
83
2.5.2
2.5.3
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
115
3.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
3.2
vii
3.2.1
3.2.2
3.2.3
3.2.3.2
3.2.5
3.2.5.2
3.2.5.3
3.4
3.2.4
3.2.6
3.3
3.2.3.1
3.3.1.2
3.3.1.3
SRF-PLL . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
135
4.1
4.2
4.3
4.2.1
4.2.2
viii
4.4
4.5
Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
153
5.1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
5.2
5.3
5.4
5.4.2
5.4.3
5.5
5.6
Conclusions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
173
6.1
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
6.2
Publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
6.3
A Matlab Scripts
175
References
183
List of Figures
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
x
1.18 P Q diagram. Operation points of grid-connected VSCs. . . . . . . . . . 34
1.19 Control of induction motor by PWM-VSI with diode rectifier . . . . . . . . 34
1.20 Simplified dc-link voltage control loop of VSC. . . . . . . . . . . . . . . . . 37
1.21 VSC operation in steady-state. Effect of phase-error. . . . . . . . . . . . . 38
1.22 VSC operation in steady-state. Effect of ripple in 1 . . . . . . . . . . . . . 39
1.23 VSC operation during a transient. Effect of the re-tracking speed. . . . . . 40
2.1
2.2
2.3
2.4
2.5
2.6
2.7
Scheme of the PLO controller for the HVDC rectifier proposed in [1]. . . . 53
2.8
2.9
Equivalent block diagram of PLO circuit and controller for firing maximum
delay. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
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-filter. . . . . . . . . . . . . . . 71
2.24 Matlab Simulink model and all-pass filter features. . . . . . . . . . . . . . . 72
2.25 Positive-sequence estimation with all-pass filters (f1 = 50 Hz). . . . . . . . 72
2.26 SRF-PLL with pre-filters in the frame. . . . . . . . . . . . . . . . . . . 73
2.27 Comparative of the dynamics of A(z) and D(z) (fs = 10 kHz, so n = 50 in D(z)). 74
2.28 Hd (s) and Hq (s) dynamic response. . . . . . . . . . . . . . . . . . . . . . . 76
2.29 Single-phase PLL with multiplier as PD. . . . . . . . . . . . . . . . . . . . 77
2.30 ALL-PLL compensation block. . . . . . . . . . . . . . . . . . . . . . . . . . 79
2.31 Key figures of the ALL-PLL. . . . . . . . . . . . . . . . . . . . . . . . . . . 80
2.32 Phase-plane portraits of a SRF-PLL implementation. The curves are obtained through different initial conditions (color legends indicate the initial
1 ). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
2.33 LP-TAD scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
2.34 Significant simulation results for LP-TAD: fault and unbalance conditions.
84
xii
2.39 DCT based implementation figures. . . . . . . . . . . . . . . . . . . . . . . 92
+
. . 93
2.40 Three-phase SRF synchronization algorithm; srf = 1 to decouple vabc
1
95
3.2
3.3
3.4
3.5
3.6
Frequency response of H(z) for the MA-PLL (PI filter was discretized using
the zoh method). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
3.7
3.8
3.9
xiii
3.10 Simulation results for single-phase PLL (1 = 250.3 rad/s). . . . . . . . . 132
3.11 Experimental results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
4.1
4.2
4.3
Design example 2: Frequency and Step responses of H1 (z) H1 (z) H2 (z). . 142
4.4
4.5
4.6
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 (va1
= 0.1 va1
) set of inputs
max
max
oscillating at 51 Hz. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
4.9
S1: Transient response for a sag with 45 deg phase jump. . . . . . . . . . 148
5.1
5.2
5.3
5.4
. . . . . . . . . . . . . . . . . . . . . . . . 160
xiv
5.5
5.6
5.7
5.8
5.9
. . . . . . . . . . . . . . . . . . . . . . . . . 167
xv
A.3 PLO system Matlab script. Function file (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
1.2
1.3
2.1
HVDC values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
2.2
Controller Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
2.3
Controller Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
2.4
2.5
3.1
3.2
3.3
4.1
4.2
4.3
Brief comparative among significant systems with good unbalance rejection 148
5.1
5.2
xviii
5.3
Alternate current.
ADC
Analog-to-digital converter.
ADALINE
APF
CP
Charge-Pump (PLL).
dc
Direct current.
DCO
DCT
DFT
DPGS
DSP
DSRF
DST
EXOR
Exclusive OR.
EKF-TAD
FACTS
FIR
FPGA
GI
Generalized integrator.
GTO
HVDC
xx
IC
Integrated Circuit.
IEEE
IIR
IGBT
IGCT
LF
LPF
LP-TAD
MAF
MSRF
NPSF
OA
Operational Amplifier.
PCC
PD
PI
PLL
PLO
PM
Phase margin.
PQ
Power Quality.
PR
PWM
RDFT
Recursive DFT.
SRF
SSSC
SRF-MAF
STATCOM
static compensator.
SVC
SVF-TAD
xxi
TAD
THD
UPFC
VCO
VSC
voltage-source controller.
VSI
voltage-source inverter.
WLSE
xxii
Nomenclature
Small perturbation in .
Frequency in Hz..
f1n
fs
Offset phase-angle.
Single-phase current.
Imaginary Unit.
xxiv
N1
N2
Active Power.
Reactive Power.
Resistance.
Apparent Power.
Fortescue matrix.
Time, in seconds.
Single-phase voltage.
Impedance.
Subscript
Fundamental component.
abc
xxv
c
co
cp
dc
Voltages/currents in a DC bus.
Input value.
ll
LP F
max
min
Minimum.
Output value.
rms
Root-mean square.
srf
Relative to SRF.
xxvi
Superscript
Positive sequence.
Negative sequence.
Zero sequence.
Transpose of a matrix.
(1)
Inverse of a matrix.
Reference value.
Accents
Average value of x.
Estimated value of x.
Chapter 1
Introduction
1.1
1.2
Some concepts should be defined before the analysis of power systems. These concepts
and definitions of electric power for sinusoidal ac systems are well stated and accepted
nowadays when considering ideal conditions. However, under distorted conditions, several
1
Chapter 1 Introduction
Ideal AC
Source
Linear Load
v
= 2 f
Figure 1.1: Simple electrical system.
and different power definitions and theories are still in use [3].
1.2.1
The simple single-phase electrical systems depicted in Fig. 1.1 is considered. The ideal
ac source generates a sinusoidal voltage rotating at the the angular frequency, also named
frequency pulsation . The frequency of oscillation in [ Hz] is obtained as f = /(2).
The ac source is connected to a linear load. The instantaneous voltage and current can
be analytically represented by
v(t) =
2 vrms sin (t + v ),
(1.1)
i(t) =
2 vrms sin (t + i ),
(1.2)
where i is also a constant offset 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.4)
(1.5)
where
is named active power, for which the measurement unit is the Watt [ W].
(1.6)
S = vrms irms .
(1.7)
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 different from 1.
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 XL /R = 0.6/0.8 ratio, which results in 36 deg (XL
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 figures show both v(t) and i(t) and the time delay 2 ms associated to .
The figure 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
flow from the load to the source. However, the area highlighted with A, corresponding
with a positive power flow from the source to the load, is higher than the area highlighted
with B, corresponding with the flow from the load to the source. By inspection of (1.4)
it is clear that a higher weight of the inductance (XL ) 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
A powerful tool in the analysis of power systems is the use of the so-called phasor notation 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 represented as the real part of a complex number:
(1.9)
Assuming steady-state and known frequency, f (t) can be represented by the complex
number F :
F = A ej = A.
(1.10)
(1.11)
1.41
1
0.5
-0.5
-1
-1.5
0.04
0.045
0.05
0.055
0.04
0.045
0.05
0.055
0.07
0.075
0.065
0.07
0.075
0.08
1.5
0.8
0.5
0.06
0.08
Chapter 1 Introduction
V&
I&
= 36
jQ
= 36
Figure 1.3: Voltage/current and Power phasors for Fig. 1.2 example.
(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
When the system voltages and currents contain components of non fundamental frequency, 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 definitions under distorted conditions is not a trivial task
at all. Two different theories have been provided: the power definitions based on the
frequency domain, proposed by Budeanu [4], and the power definitions in the time domain
by Fryze [5].
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 definitions do not have physical meaning [6]. Moreover, there are quite a lot
difficulties with frequency domain power definitions applied to three-phase and four-wire
systems [3].
1.2.2.1
A set of power definitions set by Budeanu [4] is still very useful for the analysis of
power systems in the frequency domain. These definitions 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 definitions are:
1.2.2.1.1
Apparent Power S:
S = vrms irms ,
(1.13)
where vrms and irms are voltage and current rms values These rms values can be calculated
as function of each hth (h = 1, 2, ...) order harmonic component:
vrms =
irms =
u1 X
1ZT 2
v (t)dt = t
v2
T 0
T h=1 rmsh
v
u1 X
1ZT 2
i (t)dt = t
i2
T 0
T h=1 rmsh
(1.14)
where vrmsh and irmsh are the rms values of each harmonic component, and T the fundamental component period.
1.2.2.1.2
Active Power P :
P =
X
h=1
Ph =
(1.15)
h=1
where the displacement angle of each pair of hth order harmonic voltage and current
components is represented as h .
Chapter 1 Introduction
1.2.2.1.3
Reactive Power Q:
Q=
Qh =
h=1
(1.16)
h=1
This Q definition 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 different frequencies.
For this reason, Budeanu also defined 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 Q2 .
(1.17)
The physical meaning of P is clear, since it represents the average value of the instantaneous 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 meaning. Another drawback of Budeanus approach is its poor applicability in practical cases
of power quality assessment [3]. Other definitions by Budeanu are:
1.2.2.1.5
Power Factor
=
1.2.2.1.6
P
.
S
(1.19)
P 2 + Q2
.
S
(1.20)
cos () =
1.2.2.1.7
(1.18)
P2
cos () =
P
= cos () cos ().
S
(1.21)
The main definition for power components in the time domain have been presented
by Fryze:
1.2.2.2.1
Active Power Pw
1ZT
1ZT
p(t) =
v(t) i(t) = vrms iw = vw irms .
Pw =
T 0
T 0
(1.22)
where vrms and irms are voltage and current rms values, and vw and iw are the active
voltage and active current defined below.
1.2.2.2.2
Apparent Power Ps
Ps = vrms irms .
1.2.2.2.3
1.2.2.2.4
(1.23)
Pw
.
Ps
(1.24)
Reactive Power
Pq =
(1.25)
where vq and iq are the reactive voltage and current defined below.
1.2.2.2.5
1.2.2.2.6
1 2 .
(1.26)
(1.27)
10
Chapter 1 Introduction
1.2.2.2.7
1.2.3
(1.28)
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
ib
va
vb
vc
2 vrms sin(t + v )
2 vrms sin(t + v
2 vrms sin(t + v +
2
)
3
2
)
3
(1.29)
and
ia
ic
2 irms sin (t + i )
i
2 irms sin (t +
2 irms sin (t + i +
2
)
3
2
)
3
(1.30)
For a three-phase system the instantaneous active power p3 (t) describing the energy
flow per time unit transfered between two systems is given by:
p3 (t) = va (t)ia (t) + vb (t)ib (t) + vc (t)ic (t) = pa (t) + pb (t) + pc (t).
(1.31)
11
(1.32)
Equation (1.32) shows the different behavior with respect to single-phase systems:
p3 (t) is constant and does not have a second harmonic oscillating term. This constant
component defines the active power (P3 ), which is three times the single-phase active
power.
The three-phase apparent power (S3 ) is:
(1.33)
(1.34)
However, Q3 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
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 different definitions of apparent
power have been proposed:
1.2.3.2.1
Per-phase Calculation:
S3 =
X
k
Sk =
X
k
Vk Ik ,
k = (a, b, c).
(1.35)
12
Chapter 1 Introduction
1.2.3.2.2
sX
k
Vk2
sX
Ik2 ,
k = (a, b, c).
(1.36)
1.2.3.3
Power definitions 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 proposed the synchronous reference frame (SRF) theory, in which specific 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
13
vbmax
ab
bc
vc
vcmax
Positive Sequence
va
vabc 0
120 va +
120
vc -
Negative Sequence
Zero Sequence
+
max =vb max= vc max
+
vb -
120 va +
+ 120
120
= 120
vamax
ca
vb +
Va
Vb
Vc
0.46
0.47
0.48
0.49
0.5
Negative-sequence
0.15
0.5
0.08
0.1
0.05
-0.05
-0.5
-0.5
-1
0.45
Amplitude (p.u.)
Amplitude (p.u.)
0.5
Positive-sequence
Amplitude (p.u.)
Amplitude (p.u.)
-1
0.45
Time (s)
Va+
Vb+
Vc+
0.46
0.47
0.48
0.49
VaVbVc-
-0.1
0.5
0.45
0.46
0.47
0.48
0.49
0.06
0.04
0.02
0
-0.02
-0.04
Va0
Vb0
Vc0
-0.06
0.5
Time (s)
Time (s)
Zero-sequence
-0.08
0.45
0.46
0.47
0.48
0.49
0.5
Time (s)
V 0
1 1 1
1
+
V = 1 a a2
3
V
1 a2 a
|
{z
S
V a
,
V b
V c
(1.37)
j(2/3)
a = 1120 deg = e
1
3
=
+j
.
2
2
(1.38)
Fig. 1.4a shows an example of decomposition of an unbalanced three-system of voltages (vabc = [va , vb , vc ]) in a balanced system rotating at () which is the positivesequence (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:
+
0
vabc
= [va+ , vb+ , vc+ ], vabc
= [va , vb , vc ] and vabc
= [va0 , vb0 , vc0 ]. 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 filters 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, offer 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 vabc to an equivalent two-phase
system v :
{z
va
2 1 0.5 0.5
vb ,
3
3
3 0
2
2
vc
|
{z
}
C
{z
vabc
(1.39)
where v and v are two orthogonal waves rotating at the same frequency that vabc , which
have information of both positive and negative sequences; zero-sequences do not appear
in 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 different 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, vabc
rotating at , a vector of two dc components
+
(vdq
) is obtained as follows:
vd+
vq+
{z
v+
dq
va+
) sin( + 2
)
2 sin() sin( 2
3
3
vb+
{z
vabc
(1.40)
where =
t+, being an offset constant. When referring to (1.40) implementation,
it is usually said that vabc is transformed to the synchronous reference frame (SRF) stated
by . Fig. 1.5 shows the graphical representation of vabc in the SRF established by .
P+ vabc
results in a vector whose components rotate at 2 [26]. On the other hand, any
other sequence (positive or negative), rotating at 0 not equal to , results in components
15
vq+
v dq
vd+
P =
sin () sin ( +
2
3 cos () cos ( +
2
)
3
2
)
3
sin (
cos (
2
)
3
2
)
3
(1.41)
where =
t + . Through P the negative-sequence rotating at are transformed to dc components and other sequences are moved to different frequencies. When
representing sequences in the SRF of P , the sense of rotation is clock-wise.
0
Regarding to zero-sequences of any frequency, it should be noticed that P vabc
=0
0
and P vabc = 0. Therefore, zero-sequences are neglected when working with SRF based
approaches.
In this section, P+ and P have been defined for a generic frequency (). However,
it should be noticed that electric power applications usually deal with signals containing
sequences (positive and/or negative) of more than one frequency: a fundamental component rotating at fundamental frequency and its harmonics components. Starting from
this point, the subscript 1 is also added both to P+ and P to refer to the fundamental
component and subscripts h, where h = 2, 3, 4, 5, ... to harmonic components. E.g. P+
1
refers to the Park transformation for the fundamental positive-frequency.
1
Negative frequencies implies a change in the kind of sequence (e.g. from negative to positive).
16
Chapter 1 Introduction
1.3.1
Alternatives in Implementation
B+ =
B =
cos ()
sin ()
sin () cos ()
cos() sin()
sin()
cos()
(1.42)
(1.43)
So
P+ = B+ C =
cos()
2
)
3
2
)
3
cos(
2
3 sin() sin(
2
)
3
+ 2
)
3
cos( +
sin(
(1.44)
and
)
cos( 2
)
cos()
cos( + 2
2
3
3
.
P = B C =
3 sin() sin( + 2 ) sin( 2 )
3
3
(1.45)
Apparently, Park transformations (1.40) and (1.41) could seem different from (1.44)
and (1.45). However, they are totally equivalent, the difference is in how to express the
vabc vector, either as cosine waves [24, 28] or as sine waves [29, 30]. Anyway, both
approaches lead to the same final results and equivalent intermediate analysis.
1.4
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
17
the power system. This section summarizes the terminology to describe the most common 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 voltage/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 frequencies 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 polarity rapidly. It is described by its predominant frequency, duration and magnitude.
Power electronics devices produce oscillatory voltage transients as a result of commutation 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 magnitude 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 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 off 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.
19
Under-Voltage
Their causes are the opposite to over-voltage ones: e.g. a big load switching on or a
capacitor bank switching off. 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 defined as the ratio of the negative or zero sequence
component to the positive-sequence component. They main causes of these zero and negative sequences are unbalanced loads causing which results in a flow of zero and negative
sequence currents.
Imbalance is estimated (expressed as %) using the expression:
voltage imbalance =
(1.46)
The main source of smooth voltage imbalance (less than 2%) is the single-phase loads
(unbalanced by definition) 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 fundamental frequency. It is well characterized by the spectral content. They are five primary
types of waveform distortion:
1.4.5.1
Dc Offset
20
Chapter 1 Introduction
ac systems has some damaging effects 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 multiples 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 voltage 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]:
T HD =
qP
h=2 Vh
V1
1.4.5.3
(1.47)
100%.
Inter-Harmonics
Inter-harmonics are voltage or current components with a frequency that is a nonintegral 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 effects are still
not well studied, but it is known that they produce visual flicker in display devices and
also affect 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 electronics devices when there is commutation. Since notching occurs continuously it can
be characterized through the frequency spectrum; however, typical notching frequencies
21
are high and therefore difficult 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 classified as harmonics or transient.
1.4.6
Voltage Fluctuations
Voltage fluctuations 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 significant current variations, specially in the reactive
components, may cause voltage fluctuations. Arc furnaces are the most common cause of
voltage variations on the transmission and distribution systems. Voltage fluctuations are
defined by their rms magnitude expressed as a percent of the fundamental.
1.4.7
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 affecting to
equipment also appear in systems powered by isolated generators.
2
22
Chapter 1 Introduction
1.5
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 off-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 influence 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 rectifiers.
A rectifier is a power circuit which convert ac input power to dc output power. A
thyristor rectifier uses thyristor as switches. With respect to diode rectifiers, a thyristor
rectifier allows to control the output voltage, that is the power flow from the ac side to
the dc side, by controlling the firing instants of the thyristors gate.
1.5.1.1
Fig. 1.6 shows a 6-pulse thyristor full rectifier with linear load (zL ). The average
current through the transmission cable (idc ) directly depends on the average voltage across
the dc side terminals (
vdc ). The active power in the dc bus is Pdc = vdc idc .
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.
23
Mercury-Arc
base
Power Electronics
va
Ls
vb
Ls
vc
Ls
S1
S3
idc
S5
AC
Side
vdc
zL
S2
S4
S6
3 Phase
AC
Source
vllmax as:
vll
vll
va = max sin(1 t) = max sin(1 )
3
3
vllmax
2
)
vb = sin(1
3
3
vll
2
vc = max sin(1 +
),
3
3
(1.48)
24
Chapter 1 Introduction
Table 1.1
States of diode full rectifier depending of 1 .
Range of 1
State
Scb
Sab
Sac
Sbc
Sba
Sca
Scb
Table 1.2
State of controlled rectifier depending of 1 and .
Range of 1
State
[0 + , 30 + ] deg
Scb
[30 + , 90 + ] deg
Sab
Sac
Sbc
Sba
Sca
Scb
that is when the thyristors anode to cathode voltage is positive. The switching times as
function of are the shown in table 1.2.
vdc can be expressed as function of and vllmax :
Z +pi/6
1 Z
3
vdc = [
vc vb +
va vb + ....] = vllmax cos ().
T 0
(1.49)
As expected, the maximum value of vdc corresponds with diode operation, that is
= 0 deg. The average current idc depends on vdc and the resistive component of zf
(zf ( = 0)):
idc =
vdc
.
zf ( = 0)
(1.50)
The operation of the rectifier is not linear: vdc has ripple components over vdc . This
25
vdc
=0 deg.
=90 deg.
idc
=180 deg.
ripple is composed of even harmonic components and also affects to idc . Therefore, this
rectifier is producing reactive power for any .
Fig. 1.8 shows the rectifier working in different points. The firing 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 zf . The ripple is higher as lower is the module of vdc .
1.5.1.2
Nowadays, with the suitability of better controllable switching devices, the use of
thyristors is in three-phase and high-power applications.
26
Chapter 1 Introduction
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
Scb
Sab
-0.8
1.955
Sbc
Sac
1.965
Sba
1.97
Sca
Scb
1.975
0.4
0.2
-0.2
-0.4
-0.6
Sbc
Sba
Sca
Scb
Sac
Sab
Sbc
Sba
-1
1.95
1.955
1.965
1.97
1.975
27
Origin ac System
Destination ac System
Rectifier
Inverter
Ldc
ac
dc
ac
Motor
Rectifier
Inverter
AC Voltage Sensor
PLL
1meas
1.5.1.2.3 Ac Motor Drives Induction motors with squirrel cage rotors are very suitable 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 rectifier 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 rectifier 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 off firing signals of power converter switches.
The use of thyristors in PWM converters requires a forced commutation scheme. However, there are some other devices, which allow a better on-off switching control and are
suitable from lower to medium-high power rated applications: Insulated Gate Bipolar
Transistors (IGBTs), Metal Oxide Semiconductor Field Effect Transistors (MOSFETs),
Bipolar Junction Transistors (BJTs), etc. The main advantage of these devices with respect 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 flow point of view. Owing to this flexibility, PWM power converters are employed
in vast range of applications.
1.5.2.1
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 ). Each switch has a control signal, which set if the switch
is in conducting (on state, boolean 1) or not (off state, boolean 0). Only one switch per
phase can be in on state, else the dc link would be short-circuited. The instantaneous
value of the voltage in the point a (va ) depends on which switch is on: vdc /2 or vdc /2.
The rate of commutation for the switches sets the switching frequency (fs ). The maximum
value of fs is limited by the real devices (e.g. around 20 kHz for IGBTs). The average
value of va , averaged each commutation cycle, defined as va will depend on the time each
switch in on. The duty cycle (d) is defined as the ration of time per commutation cycle
the switch is on per total commutation cycle. So:
va = d
vdc
vdc
+ (1 d)
.
2
2
(1.51)
Therefore setting d for each commutation cycle accordingly, the output voltage in a
can be controlled in real time. Equation 1.51 can also be expressed by the PWM control
29
vdc
-
vdc
2
vdc
2
S+
+
-
S-
+
-
van
n
Figure 1.11: One leg of a switch mode inverter.
va = m
vdc
.
2
(1.52)
1.5.2.1.1 Sinusoidal PWM Sinusoidal PWM is one of the most employed technique
to generate the control signals of the power switches. An example applied to the branch
of Fig. 1.11 is provided as follows.
The firing signals of the switches are obtained by comparing a triangular wave (vtri )
of amplitude 1 and switching frequency (fs ) with a control signal m. The switching rules
are:
vdc
2
vdc
ON va =
.
2
(1.53)
Fig. 1.12 shows the firing signal of S+ obtained with these switching rules (S is
the opposite to S+ ). m rotates at 50 Hz, a frequency much lower than vtri frequency,
fs = 10 kHz.
Using these switching rules, the va , averaged each switching cycle, is:
va = m
vdc
.
2
(1.54)
30
Chapter 1 Introduction
0.8
vtri
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
1.1
1.2
1.3
1.4
1.5
1.5.2.2
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; ei (i = a, b, c) is the per-phase output voltage of the VSC. The
average value of ei (
ei ), averaged each commutation cycle (fs ), can be set through the
PWM or SVM techniques [16, 25].
Considering only the fundamental component of each ei , the power flow between the
ac mains and the dc side of the VSC, both active and reactive, can be controlled. This is
called four quadrant operation.
31
0.8
0.6
0.4
0.2
-0.2
vtri
-0.4
-0.6
-0.8
0.08
0.082
0.084
0.086
0.088
0.09
0.092
0.094
0.096
0.098
0.082
0.084
0.086
0.088
0.09
0.092
0.094
0.096
0.098
vdc/2
-vdc/2
0.1
32
S3
S1
va
La
vb
Lb
vc
Lc
id
S5
AC
Side
ea
eb
vd
ec
S2
S6
S4
Cd
3 Phase
AC
Source
vi
ii
Li
ei
Fig. 1.16 is the per-phase representation of the VSC, where i means a, b or c phase, and
vi refers only to the supply fundamental component. The system is considered rotating
at 1 .
From Fig. 1.16 results clear that the current through Li (ii ) depends on vi and ei . In
phasor notation this can be expressed as:
V i E i
Ii =
= imax 1 ,
j1 Li
(1.55)
where V i = vmax 0 and E i = emax 1 ; 1 being the phase-angle offset between vi and ei
4
.
From power definitions:
S = 3 vrms irms
P = 3 vrms irms cos(1 )
Q = 3 vrms irms sin(1 )
4
It should be noticed that the angle references can be set with respect to V i .
(1.56)
DC
Side
33
=Q
Quadrant I
Quadrant II
VSC absorbs active power from the grid.
VSC supplies active power to the grid.
VSC absorbs reactive power from the grid. VSC absorbs reactive power from the grid.
=P
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.
where rms values are easily obtained from the peak values as:
vmax
vrms =
2
imax
irms = .
2
(1.57)
Therefore, by assessing emax 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 different operation points of the VSC connected to the ac mains. It
is clear that the VSC is a very flexible 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
V&i
I&Lsi
E& i
V&Lsi
V&i
Lsi
I&Lsi
1
E& i
Q
E& i
1
V&i
I&Lsi
V&Lsi
Q
V&i
E& i
E& i
V&
V&i
V&i
V&Lsi
I&Lsi
V&i
I&Lsi
E& i
I&Lsi
V&Lsi
1
1
V&Lsi
V&
E& i
I&Lsi
V&Lsi
E& i
I&Lsi
V&Lsi
ac
dc
ac
Motor
Rectifier
Inverter
AC Voltage Sensor
VAC
Order
PLL
Main
Control
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 rectified by means of an uncontrolled diode rectifier and the inverter
feeds the stator with a voltage which controls its torque and rotation speed.
1meas
Comparator
ref
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.
Static Synchronous Compensators (STATCOM). A STATCOM operates as a shuntconnected 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 STATCOM and a SSSC which are coupled via a common dc-link, to allow bi-directional
flow 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
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 Microcontrollers allow the digital implementation of controllers for power electronics converters
[5456]. Digital implementation offers quite a lot of advantages with respect to analog
circuits, above all its flexibility 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 (1v and/or
1i ). In this work, the estimated values have a hat: e.g. the estimated value of 1v is
expressed as 1v . Estimated values are employed to assess 1 and hence, the P-Q operation
point.
Fig. 1.20 shows a simplified scheme of dc-link voltage (vdc ) feedback controller using a
PI filter and SRFs obtained through the Park transformation (P1+ ). The phase-angle for
P1+ generation is obtained from a synchronization block (1v ). Assuming perfect tracking
(1v = 1v ) the grid current (iabc ) is in-phase with the grid voltage (vabc ), so there is only
active power flow 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 Rectifiers 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.
37
PCC
vabc
Lr
iabc
ac
Side
Current
Sensors
dc
Side
vdc
Cdc
ZL
VSC
Firing
Signals
iabc
iq1+
ac Voltage
Sensors
vabc
P1+
iq1+*=0
SRF
Current
id1+ Regulator
id1+*
)v
Synch.
Voltage
Sensor
PI
vdc
vdc*
Digital Controller
Table 1.3
VSC based Rectifier Values.
vmax
1 p.u.
vdc
1.5 p.u.
Cdc
3 p.u. at 50 Hz
ZL (resistive)
1 p.u.
Voltage Regulator
50 Hz
Bandwidth
Current Regulator
Bandwidth
Varia
Dela
Contr
Exter
refere
38
Chapter 1 Introduction
0.5
-0.5
-1
5.01
5.02
5.03
5.04
5.06
5.07
5.08
5.09
5.1
5.01
5.02
5.03
5.04
5.06
5.07
5.08
5.09
5.1
0.5
-0.5
-1
-1.5
(vdc
). 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 2th harmonic
over the phase estimation. As shown, ripple in the measurement infers also ripple in iabc
and vdc 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 fs , in synchronization the
averaging is related to f1 .
6
The frequency of vdc ripple is 41 , not 21 .
39
1.5
1.4998
1.4996
1.4994
1
1.4992
1.499
5.01
5.02
5.03
5.04
5.06
5.07
5.08
5.09
5.1
40
Chapter 1 Introduction
0.8
a
b
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
13.98
13.985
13.99
13.995
14.005
14.01
14.015
14.025
14.03
50
1
1
30
20
10
-10
-20
13.9
14.1
14.2
14.3
14.4
14.6
14.7
14.8
1.6
1.55
1.45
1.4
1.35
dc
1.3
13.9
dc
14.1
14.2
14.3
14.4
14.6
14.7
14.8
Figure 1.23: VSC operation during a transient. Effect of the re-tracking speed.
1.7
41
1.7.1
1.7.2
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-offs 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 nonoptimum designs. An intuitive tuning methodology based on inspection of frequencydomain 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
1.7.3
Chapter 1 Introduction
Chapter 4 presents a novel open-loop synchronization system, designed from SRFMAF 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
filters. However, the filtering process introduces delays that impair the system performance. More specifically, 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 average FIR filters is proposed to achieve a robust synchronization system for all input
frequencies. MAFs are linear phase FIR filters which have a constant time delay at low
frequencies. A characteristic which is exploited to good effect to design a predictive filter
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 filtering/transient response trade-off 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
1.7.5
43
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 flow 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 first synchronization schemes were based on an open loop estimation of the phaseangle 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 synchronization algorithms and filtering techniques has grown drastically, in parallel with the appearance of
high performance applications (high bandwidth) and new technical requirements in fields such as
renewable energy applications, traction systems and power line conditioners. Digital Phase locked
Loops (PLL) and algorithms implementing stochastic and/or FIR filters are clear examples of
the high performance offered by digital implementation.
However, the research in the synchronization field cannot be considered complete at all. The
appearance of new applications and/or technical requirements of existing ones would need the
development of specific 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 fundamental component vectors, the issues of harmonics and negative-sequences extraction are also approached, 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
VAC2
D1
D3
Dgen
Dgen
R3
Q1
1k
D2
VOFF = 0
VAMPL = 25
FREQ = 50
V1 = 0
V2 = -30
TD = 0.0015
TR = 1u
TF = 1u
PW = 0.0001
PER = 0.02
V1 = 0
V2 = 30
TD = 0.0115
TR = 1u
TF = 1u
PW
= 0.0001
VOFF
=0
PER
= 0.02
VAMPL
= 25
FREQ = 50
QgenN
R1
100k
Dgen
VAMPL = 21.2V
FREQ = 50Hz
1k
C1
1000u
R2
Output
20
15
10
Voltage (V)
VOFF = 0
VAMPL0= 25
FREQ = 50
-5
VOFF-10
=0
VAMPL = 5
-15
FREQ = 250
-20
D9
Dbreak
Dbreak
R6
C2
1000u
V+
V9
0
V10
V8
D11
Dbrea
1k
V
V-
V5
R5
Q4
V(input)
1k
QbreakN
V4
VOFF = 0 -25
VAMPL = 25 0
FREQ = 50
V6
VOFF = 0
VAMPL = 5
FREQ = 250
V2
D7
V7
0.01
0.02
0.03
Time (s)
0.04
R4
100k
0.05
0.06
2.1
V-
4
3
A zero-cross 5detector 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 phaseangle: 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-off. 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.
Size
A
Date:
47
U1
+
VAC1
Output
R1
1k
OUT
-
OPAMP
R2
1k
VAMPL = 21.2V
FREQ = 50Hz
Voltage (V)
10
5
V(output)
0
-5
-10
-15
-20
-25
0
V(input)
0.01
0.02
0.03
Time (s)
0.04
0.05
0.06
Title
Size
A
Date:
Moreover, as the input4 wave frequency is just 50 Hz, the phase3 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 amplifier (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.
<Title
Docu
<Doc
48
Origin ac System
Rectifier
Destination ac System
Inverter
2.1.1
The first implementation of power converters handling high power flows 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
first 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
firing of these mercury-arc valves were equivalent to thyristor firing.
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 rectifier 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 including 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 flow from the origin
ac side to the dc bus is the so-called constant current (CC). The average value of the
rectifier current (idc ) is controlled through the firing angle .
2.1.1.1
Constant- Method
These first rectifier controllers were based on the so-called constant- and inversecosine methods. Fig. 2.4a shows a simplified scheme of the constant- method.
The control scheme is a circuit which implements a zero-cross detector and a variable
1
49
DC v
dc
Side
AC
Side
Ld
idc
idc*
(external ref)
idc
Per-phase
AC Voltage
Sensors
Per-phase
AC Voltage
Sensors
Per-valve
Zero-cross
detection
circuits
DC v
dc
Side
AC
Side
Controlled
variable
delay
circuits
Firing
circuits
idc*
(external ref)
Controller circuit
Per-valve
phase-lag
network
and
comparator
Per-valve
Zero-cross
detection
circuits
Firing
circuits
Controller circuit
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 cosinewave 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 firing pulse is generated at the point at which
the cosine-wave is equal to the control voltage (vr ), which is directly proportional to idc .
emax being the peak of the cosine-wave, the firing condition is set by the equation:
cos() = vr /emax .
(2.1)
Fig. 2.4b shows a simplified scheme of the constant- method. The main advantage
of this method is the fact that vdc varies linearly with vr .
2.1.2
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 solutions. The main problems of zero-cross detectors are well summarized in [64]: harmonics
and noise.
50
Fig. 2.5a shows the results of the time domain SPICE simulation when the input
wave has a 20% of 5th 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 detectors 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
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 filter the b phase and
extrapolate the a phase from the filtered 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 possibility of digital filtering resulted in a vast range of filtering 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 11th order FIR filter is proposed
to cancel out harmonics.
2.1.2.2
Nowadays, it is well known that zero-cross detectors implementation in systems containing harmonics could lead to malfunctions. It was in a work published by J. D.
51
30
20
Detected
Zero cross
Real
Zero cross
Voltage (V)
10
0
-10
Fundamental
of V(input)
-20
V(input)
-30
0
0.01
0.02
0.03
Time (s)
0.04
0.05
0.06
Good
zero-cross
detection
20
15
Voltage (V)
10
Misleading
zero-cross
detection
5
0
-5
-10
-15
-20
-25
0
V(input)
0.01
0.02
0.03
Time (s)
0.04
0.05
0.06
52
Xs
Xr
AC
Side
AC
Source
DC
Side
Ainsworth in 1967 [65], when a problem called harmonic instability was reported 2 .
Harmonic instability occurs when the rectifier was connected to a weak system, a
system for which the short-circuit ratio (Xr /Xs ) is low: e.g. in the range 3 to 6 [71].
The harmonic instability is a problem that is characterized by magnification of noncharacteristic harmonics (6= 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 affects to the firing instants.
This leads to a situation where the firing 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 filters were proposed,
but it was an insufficient 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 firing 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
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 first PLO was a control system for the HVDC rectifier. Under ideal operation
conditions and during steady-state, this converter produces 5th , 7th , 11th , 13th , etc harmonics in the ac side and 6th , 12th , etc in the dc side. Moreover, other harmonics may
2
53
Xr
Ld
DC
Side
AC
Side
Current
Sensor
C2
a
VCO
vdc zL
C1
Firing
Signals
idc
vco
R1
idc*
Figure 2.7: Scheme of the PLO controller for the HVDC rectifier 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 measurement 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 effect.
Fig. 2.7 depicts a PLO simplified scheme. The inductance current (idc ) is controlled in
a closed loop; idc being its reference value. An analog filter is placed after the comparator;
the output of this filter is the input voltage of the VCO (vco ). 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 fire the thyristors/valves. When there is a positive difference in the output of
the comparator, the vco voltage tends to rise and, therefore,
1 increases, so is reduced.
For negative difference, the behavior is the opposite one.
2.2.1
PLO Linearization
Even though Fig. 2.7 represents a quite simplified 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 (
vdc ) is function of the line to line peak
54
vdc =
where vdcmax =
(2.2)
vllmax .
Lets suppose a perturbation in the firing angle << 1, a small change in vdc (vdc )
is supposed. By introducing and vdc in (2.2)
(2.3)
(2.4)
= (
1 1 ) t = 1 t,
(2.5)
1
.
s
(2.6)
Therefore,
1
,
s
(2.7)
idc =
vdc
.
Ld s + zL
(2.8)
idc =
vdcmax sin()
Ld s + zL
1
s
(2.9)
55
CONTROLLER
*
idc
+-
idc
1
C2 R1 s + 1
s C1 C2 R1 s + (C1 + C2 )
Analog filter
K vco g ( t ) t
e
s
vd max sin( )
Ld s + z L
Rectifier circuit
1 = Kvco vco ,
(2.10)
(2.11)
so
idc =
Ainsworth designed a controller for the plant set by (2.11). This equation is non linear;
the plant depends on the firing 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) =
Kc
C2 R1 s + 1
C2 C1 R1 s + (C2 + C1 ) s
(2.12)
Kc 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 f1n
(2.13)
Therefore, the firing delay can be modeled taken into account the worst case: the
delay is maximum ( 6f11n ) (Fig. 2.9).
56
CONTROLLER
*
idc
+-
idc
Kc
C2 R1 s + 1
s C1 C2 R1 s + (C1 + C2 )
K vco
e
s
Analog filter
1
t
6 f1n
vd max sin( )
Ld s + z L
Rectifier circuit
Figure 2.9: Equivalent block diagram of PLO circuit and controller for firing maximum
delay.
Table 2.1
HVDC values.
vdcmax
1 p.u.
zL (Resistive)
1 p.u.
Ld
1/(10 ) p.u.
2.2.1.1
Design Example
A more in-depth study of a model would require the knowledge of the practical system 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 zL and the equivalent
inductance Ld , because this relation sets a pole in the plant. The controller parameters
of the example are shown in table 2.2.
57
Table 2.2
Controller Values.
R1
100 k
C1
100 pF
C2
100 F
range
Kc
105
Kvco
100 rad/V
300
300
Total
Total
200
100
Amplitude (dB)
Magnitude (dB)
200
Controller
0
Delay
-100
Controller
100
Plant
0
Delay
-100
Plant
-200 -3
10
-2
-1
10
10
10
-200 -3
10
10
10
10
Delay
Controller
10
10
Controller
-50
Plant
-100
Plant
Total
-150
Phase (deg)
Phase (deg)
-1
10
Delay
-50
-180
-200
-250
-300 -3
10
-2
10
-100
-150
Total
-180
-200
-250
-2
10
-1
10
10
Frequency (Hz)
10
10
-300 -3
10
-2
10
-1
10
10
Frequency (Hz)
10
10
(a) Equivalent linearized model for = 5 deg. (b) Equivalent linearized model for = 90 deg.
P M = 66.5 deg, at 1.35 Hz.
P M = 19.92 deg, at 8.25 Hz.
58
0.75
0.65
0.94
0.6
0.93
0.55
0.92
0.91
0.45
0.89
0.5
1.5
2.5
3.5
4.5
1.5
2.5
3.5
4.5
Step in idc from 0.9 p.u. to (b) PLO Start-up. Step in idc from 0.55 p.u. to
0.5 p.u..
Figure 2.11: Start-up simulation of PLO for different idc (dotted), idc 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 difficult 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 cancellation.
The simplified 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 different points (). After the
initial transient the current reference is perfectly tracked. Fig. 2.11a shows the startup 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 figures 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 zL has been chosen to be 1 p.u. pure resistive, vdc should be equal to idc .
Figs. 2.13 show the results of a simulation when the voltages system is unbalanced
both in amplitudes and angles. Specifically the phase to neutral voltages of the test have
3
Component values and tests made in this section may differ from first PLO tests.
59
1
0.95
0.8
0.8
Vdc
Vdc
Vdc
Vdc
0.6
0.6
0.5
0.4
0.4
0.2
0.2
0
-0.2
Vc
Vb
Va
-0.2
-0.6
Va
Vb
Vc
-0.4
-0.4
5.95
5.955
5.96
5.965
5.97
5.975
5.98
5.985
5.99
5.995
-0.6
5.95
5.955
5.96
5.965
5.97
5.975
5.98
5.985
5.99
5.995
Vdc
Vdc
0.8
0.78
0.7
0.6
0.76
0.4
0.74
0.2
0.72
0
Va
-0.2
0.68
0.66
Vb
Vc
-0.4
1.5
2.5
3.5
4.5
-0.6
5.95
5.955
5.96
5.965
5.97
5.975
5.98
5.985
5.99
5.995
va = 1 sin(1n t)
vb = 0.8 sin(1n t (2 pi/3 + 0.1))
vc = 0.9 sin(1n t + (2 pi/3 + 0.1)).
(2.14)
Perfect tracking under unbalanced conditions is observed; the PLO rejects voltage
unbalance effects.
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. Specifically, the
phase to neutral voltages of the test have been:
60
1.2
0.84
Vdc
0.82
Vdc
0.8
0.6
0.78
0.4
0.76
0.2
0.74
0.72
Vb
Va
-0.2
Vc
-0.4
0.68
-0.6
1.5
2.5
3.5
4.5
-0.8
5.955
5.96
5.965
5.97
5.975
5.98
5.985
5.99
5.995
Figure 2.14: PLO tested in the presence of an unbalanced and polluted with harmonics
system of voltages.
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 (f1 ) follows its reference f1 . Therefore, another
important feature of the PLO is its good frequency adaptation.
In sum, the PLO does not only fix the harmonic adaptation problem. The proposal
of using a VCO circuit inside the controller of a power converter also resulted in a very
effective tool to overcome other problems such as unbalance, frequency adaptation and
noise cancellation.
61
0.84
1.2
Vdc
0.82
Vdc
0.78
0.6
0.76
0.4
0.74
0.2
0.72
0.68
Vb
Va
-0.2
Vc
-0.4
0.66
-0.6
0.64
1.5
3.5
4.5
-0.8
5.955
5.96
5.965
5.97
5.975
5.98
5.985
5.99
5.995
0.85
50.7
50.6
50.4
0.75
50.3
50.2
50.1
12
14
16
18
12
14
16
18
(a) PLO current response. idc (dotted) is 0.7 p.u., (b) Grid (f1 ) VS VCO (f1 ) Frequencies for Fig.
idc is the blue line.
2.16a.
Figure 2.16: PLO tested under a sudden change in the input frequency at 10 s.
62
2.2.2
The PLO system was also proposed with other schemes. Some of the most significant
ones are detailed below.
2.2.2.1
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 difference
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
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 firing of the thyristor converter.
Based on this scheme, a frequency adaptive system with an acceptable transient response (around one cycle of 1n ) is achieved in [74].
2.3
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 difficult 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 fundamental phase-angle, as proposed in [76, 77]. PLLs had been used in other fields, 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).
63
vd
ac
dc Motor
ac Voltage Sensor
va
PLL
vd*
Main
Control
Comparator
ref
PWM
Circuit
Controller Circuit
Fig. 2.17 shows the scheme proposed in [76] for the control of a thyristor controlled
rectifier in a single-phase motor drive application.
Even though the application is simpler than the HVDC rectifier 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.
) is set
The schemes of [76, 77] are very simple because the main control reference (vdc
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 field of synchronization and power electronics control in general.
Fig. 2.18a shows a simplified PLL scheme. A PLL is a non-linear circuit which
synchronizes its output signal (vo ) with a reference or input signal (vi ) in frequency as
well as in phase.
The
fundamental frequency and phase-angle of vi are 1 and 1 ; they are related by
R
1 = 1 t + 1 where 1 is an offset dc constant. In the same way, the output signal
vo parameters are the estimated values of vi :
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 filter (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
vi
Phase
Detector
vo
ve
Loop
Filter
Voltage
Controlled
Oscillator
1 = 1n + K vco vco
1 = 1t + 1
vco
PD
+-
1e
Loop
Filter
1 = 1t + 1
VCO (DCO)
1n
+ +
1 = 1n + Kvco vc , where Kvco 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.
PD
++
o t + o
65
U7
Raux2
100k
OPAMP
0
VAMPL = 21.2V
FREQ = 49
OUT
U5
+
Raux
1k
VAC2
2
V
Vcp
Vc
R1
IN
1k
C1
10u
OUT
VCO_sqr
0
V
Raux1
1k
OUT
-
OPAMP
3
the harmonic/noise filtering. The2 presence of
noise and harmonics in the inputs
0
Phase Detector
& Charge
Pump
affects the PLL measurements. The
term
phase
jittering is employed by
Best and GardnerU9
to
refer
to
the
effect
of
noise
in
the
phaseRaux4
estimation: phase
100k
+
jittering
(Raux3
in the value of 1e during zero crosses
due to noise 4 .
VAC4
1ej ) is the error
OUT
0
1k
2
2
In a general way,- the
average value of 1ej
(1ej
) is inversely proportional to
OPAMP
0
the
PLL bandwidth [78, 79].
VAMPL = 1V
FREQ = 50
VAMPL = 1V
FREQ = 50
2.3.1
Charge-Pump PLLs
Title
<Title>
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
Saturday,
July 05,of
2008 70s and
Date:
Sheet
early 80s [80, 81].
Size
A
Document Number
<Doc>
2
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 filters.
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 EXORCharge Pump system is an analog wave (vcp ) for which the average value, averaged
each cycle of the fundamental, depends on the relative phase between the two digital
of
1
66
0.015
0.02
0.025
0.01
Input 2
Feedback
EXOR inputs
Input 2
Feedback
0.03
Time (s)
0.035
0.04
0.045
0.01
0.05
0.015
Averaged
0.02
0.025
0.03
Time (s)
0.035
0.04
0.045
0.05
0.04
0.045
0.05
Averaged
EXOR inputs
Input 2
1 (Feedback)
(AC Comp.)
Input 1
AC Comp
Input 1
AC Comp
Instantaneous
Instantaneous
0.01
0.015
0.02
0.025
0.03
Time (s)
0.035
0.04
0.045
0.05
0.01
0.015
0.02
0.025
0
(a) Key diagrams for 1e = /2 rad (1e
= 0 rad). (b) Key diagrams
0
(1e
= pi/4 rad).
0.03
Time (s)
for
0.035
1e
/4 rad
Figure 2.20: Key diagrams for the EXOR-Charge Pump Phase Detector
0
= 1e pi/2:
input signals. Through defining 1e
vcp =
2vcpmax 0
0
1e = Kd 1e
.
(2.16)
VCO frequency (f1 ) decreases. As the feedback signal has a lower frequency than
0
the input one, 1e
tends to decrease, and therefore, the system tends to retrack the
0
the behavior is opposite.
phase. For positive 1e
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 (
vcp ) but also
harmonics, which affect to the VCO dynamics. For this reason, the LF should be a
low pass filter (LPF). In the model a first order LPF with cut-off 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 (f1n = 50 Hz).
The PD detector of this simulation is of EXOR type. However, the so called phasefrequency detectors (PFDs) providing a feedback signal in-phase with the input (no 90 deg
67
25
20
15
AC input (V)
10
5
0
-5
-10
-15
-20
-25
0.05
0.1
Time (s)
0.15
Input 2 (VCO)
Input 2 (VCO)
1
EXOR inputs
0.8
0.6
0.4
0.2
0
0
Input 1 (AC)
0.05
Time (s)
0.1
Input 1 (AC)
0.15
Voltage (V)
VCO input
-0.1V
-5
0
VCO input
0.05
0.1
Time (s)
Charge-Pump output
0.15
Figure 2.21: Time domain simulation results from the CP-PLL model at f = 49 Hz.
68
Kd
3.18 rad/V
100
10 F
Kvco
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
definitively 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 (vabc
): therefore, the estimated phase-angle (1 ) corresponds with va1
1
+
+
phase-angle. If vabc waves are considered sine-waves, P1 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 vabc
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
rectifiers 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 va1
sets the origin of the positive-sequence SRF, so that a SRF-PLL assures an
accurate power flow 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:
69
va
vb
vd+1 + f (h1 )
P1+
vc
vq+1 + f (h1 )
LOOP
FILTER
1 = 1t + 1
1n
+ +
DCO
The field 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 vabc
a set of phase to neutral sine-waves, the Park transformation (2.17)
+
acts as phase detector and the quadrature component (vq1
) as phase error signal (1e ), so
+
that vq1 1e .
vd1+
vq1+
{z
v+
dq
va
= P+
v ,
1
b
vc
}
|
{z
vabc
(2.17)
where
) sin(1 + 2
)
2 sin(1 ) sin(1 2
3
3
.
P+
=
1
3 cos(1 ) cos(1 2 ) cos(1 + 2 )
3
3
(2.18)
70
vd1+
vq1+
{z
v+
dq1
+
va1max cos(1 1 ) va1
max
=
+
(2.19)
+
+
+
+
where va1
(= vb1
= vc1
) should be rearranged so that va1
= 1 p.u.. It is
max
max
max
max
+
expected that vq1+ , which represents 1e , to be zero in steady-state and, therefore, vd1
=
+
va1max . 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 vabc
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
vd1+
vq1+
{z
v+
dq
va vc
vb vc
vc vc = 0
{z
= P+
1
(2.20)
2.3.2.2
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 significant 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-filters, which act in a rotating reference frame (vabc 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:
71
va
vb
vc
vd+1 + f (h1 )
va+1 + f (h1 )
S+
vb+1 + f (h1 )
P1+
v + f (h1 )
+
c1
vq+1 + f (h1 )
LOOP
FILTER
1 = 1t + 1
DCO
1n
+ +
+
va1
+
=
vb1
+
vc1
1
2
+j
3
2
1
2
a
1
3
a a2
|
where a =
{z
S+
a2
va1
v ,
a
b1
1
vc1
(2.21)
or a = ej 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 filters delaying 90 deg the components rotating at 1 (phase at f1 ). Another important feature of all-pass filters is the
unitary gain for all frequencies.
Fig. 2.24 shows the Matlab/Simulink model of a sequence detector using an all-pass
filter (A(z)) of the form 5 :
A(z) =
0.967z + 1
,
z 0.967
(2.22)
It seems that there is not any specific detail of the original A(z) employed in [22].
72
-0.967 z+1
1/3*(u(1)-0.5*u(3)-0.5*sqrt(3)*u(4)-0.5*u(5)+0.5*sqrt(3)*u(6))
z-0.967
Va
Vap
All -pass
Vb
-0.967 z+1
1/3*(-0.5*u(1)+0.5*sqrt(3)*u(2)+u(3)-0.5*u(5)-0.5*sqrt(3)*u(6))
z-0.967
Vbp
Scope 1
All pass
1/3*(-0.5*u(1)-0.5*sqrt(3)*u(2)-0.5*u(3)+0.5*sqrt(3)*u(4)+u(5))
-0.967 z+1
Vcp
z-0.967
Vc
All pass
Frequency Response
1
0
-5
-75
Phase (deg)
Step Response
1.5
Amplitude (p.u.)
Magnitude (dB)
-80
-85
0.5
0
-0.5
-90
-1
-95
-100
-105
40
42
44
46
48
52
50
Frequency (Hz)
54
56
58
60
-1.5
0.018
0.02
0.022
0.024
0.026
0.028
Time (s)
0.03
0.032
0.034
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.05
0.01
0.02
0.03
0.04
0.05
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
73
PD
Q+
v+
vd+1 + f (h1 )
B+
v+
vq+1 + f (h1 )
LOOP
FILTER
1 = 1t + 1
1n
+ +
DCO
{z
va
2 1 0.5 0.5
vb .
3
3
3 0
2
2
vc
|
{z
}
C
{z
vabc
(2.23)
v+
v+
where q = ej
{z
Q+
(2.24)
+
vd1
+
vq1
B+ C = P+ .
+
is employed to get vdq
cos(1 ) sin(1 )
v+
=
.
sin(1 ) cos(1 )
v+
|
1 1 q v
=
,
2 q 1
v
{z
B+
(2.25)
74
Frequency Response
Step Response
1.5
D(z)
D(z)
A(z)
Amplitude (p.u.)
-5
-84
-86
D(z)
-88
-90
1
A(z)
0.5
0
-0.5
A(z)
-1
-92
-94
-96 47
48
49
50
51
52
53
-1.5
0.018
Frequency (Hz)
Figure
2.27:
Comparative
(fs = 10 kHz, so n = 50 in D(z)).
of
the
0.02
0.022
dynamics
0.024
0.026
0.028
Time (s)
of
A(z)
0.03
0.032
and
0.034
D(z)
As shown in Fig. 2.26, the pre-filtering is at the real time generation of Q+ . A 90 deg
delay at f1n is applied to get the implementation of (2.24). This delay is obtained as a
FIR filter of the form
D(z) =
1
zn
(2.26)
n being the order of the filter, which is so that D(z) has 90 deg of delay at f1n . D(z)
has unitary gain for all the frequencies and linear phase, so it can also be considered an
all-pass filter.
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.
G(s) =
N um(s)
.
s2 + k 0 s + 0 2
0
(2.27)
From (2.27), G(s) has a maximum at (s2 + = 0). When k 6= 0 the GI is said
to be damped. The numerator of G(s) (N um(s)) is set so that the frequency response,
0
specially at , is the expected. Two GI filters were proposed in [123]: a direct GI (Hd (s))
75
Hd (s) =
k1n s
,
2
+ k1n s + 1n
(2.28)
2
k1n
,
2
s2 + k1n s + 1n
(2.29)
s2
Hq (s) =
with a 90 deg phase at f 1n = 50 Hz.
Q+ =
Hd (s) Hq (s)
Hq (s)
Hd (s)
(2.30)
Fig. 2.28a shows the frequency response of both filters. At f1 = 50 Hz both filters
have unitary gain; in terms of phase, Hd (s) = 0 deg and Hq (s) = 90 deg at 50 Hz; Hq (s)
has a better harmonic filtering response since it decays 40 dB/dec. The settling times (ts )
of both filters last around one fundamental cycle, what lags the transient considerably.
76
Magnitude (dB)
10
0
-10
-20
-30
-40
Phase (deg)
-50
90
0
-90
-180
0
10
10
50
Frequency (Hz)
10
10
2).
500
300
200
100
-100
0
0.005
0.01
0.015
0.025
0.03
2).
2.3.3
The suitability of digital implementation allows to implement PDs with a higher performance 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:
{z
1
(2.31)
77
va ( p.u.)
PD
1e
LOOP FILTER
1n
+ +
DCO
cos(1 )
sin(1 )
cos(u)
sin(u)
cos(1 )
| {z }
v1max
(sin(1 1 ) + sin(1 + 1 )) + f (2i , 4i , 6i , ...).
2
(2.32)
F eedback wave
v cos(1 )
v1max
sin(1 1 ) +
| 2
{z
}
1
1 =1e
v1
+ max sin(21 t + 21 ) + f (21 , 41 , 61 , ...) .
|
{z
}
| 2
{z
}
Generated second harmonic
(2.33)
Other harmonics
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 components. 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 reduction due to the PD non-linearities, more specifically the internal generation of harmonics
7
Even though the title could be misleading, [135] proposes a single-phase PLL
78
2.3.4
+
. On
As said, in a three-phase system the SRF-PLL estimates the phase-angle of va1
the other hand, a single-phase PLL connected in the a-phase tracks the phase-angle of va1 .
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 6= 0 when tracking the positive-sequence, which may lead to a non efficient
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 clarified 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 va1 , vb1 and vc1 phase-angles and
+
amplitudes in order to calculate the phase-angle of va1
[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 vdq1 only
+
depends on vabc1 .
2.3.5
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
v 1 max
sin(1t + 1 )
Amplitude
Locked
loop.
Phase
Locked
Loop.
v / v 1 max
sin(1t + 1 )
u2
PI
+-
1
X
+
1/u
X
v 1 max
v / v 1 max
In the single-phase case, the dependence between loops limits the response. The
study of the combined dynamics is very difficult [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
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
Amplitude (p.u.)
0.9
0.8
0.7
0.6
0.5
0.4
0.1
0.15
0.2
0.25
0.3
0.35
Time (s)
81
1000
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
-500
-4
-3
-2
-1
-0.1
/2
/4
0
/2
-+0.6
-+0.1
-500
-4
-3
-2
-1
(a) Phase-plane portrait of a SRF-PLL obviating (b) Phase-plane portrait of a SRF-PLL obviating
1000
-0.1
/2
/4
0
/2
-+0.6
-+0.1
-500
-4
-3
-2
-1
-0.1
/2
/4
0
/2
-+0.6
-+0.1
-500
-4
-3
-2
-1
Figure 2.32: Phase-plane portraits of a SRF-PLL implementation. The curves are obtained through different 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, (21 , )
is an unstable limit cycle and the SRF-PLL converges to the good estimation. Fig. 2.32d
shows the effect 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
2.4
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 significant
approaches are analyzed in this section. It should be highlighted that some of these
proposals are novel contributions of this thesis.
2.4.1
2.4.1.1
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 zerocross 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
(va , vb , vc ) is transformed to its equivalent Clarke variables v and v :
{z
va
2 1 0.5 0.5
vb .
3
3
3 0
2
2
vc
|
{z
}
C
{z
~vabc
(2.34)
Assuming that there is not negative-sequence at fundamental frequency, the phaseangle of the positive-sequence is estimated from v1 and v1 , obtained by filtering harmonics from ~v , through:
1 = atan2(
v1 , v1 ) [, ],
where atan2 is the four-quadrant inverse tangent [142].
(2.35)
83
va
vb
vc
LPF
v 1
2
v 1 + v 1
LPF
norm
x v 1
v
x
v 1
norm
1
(atan2)
variations [105].
Fig. 2.34 shows some significant simulation results of the LP-TAD. For these simulations an order 1 Butterworth filter with cut-off 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 filtering strategy is
carried out.
Also in [141], the dynamic response of the LP-TAD is enhanced by using recursive/stochastic filters, giving rise to the Space Vector Filter-TAD (SVF-TAD) and Enhanced Kalman Filter-TAD (EKF-TAD). Stochastic filtering for synchronization is analyzed below.
2.4.1.2
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
1
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.47
0.48
0.49
0.51
0.52
0.53
0.54
0.53
0.54
0.8
norm
0.6
0.4
norm
0.2
-0.2
norm
-0.4
-0.6
-0.8
-1
0.47
0.48
0.49
0.51
0.52
-1
-2
-3
0.47
0.48
0.49
0.51
0.52
0.53
0.54
Figure 2.34: Significant simulation results for LP-TAD: fault and unbalance conditions.
85
2.4.2
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 infinite impulse response
(IIR) filters (Chebishew, Butterworth), moving average FIR filters (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 performance synchronization algorithms. Firstly, algorithms to synchronize with the fundamental 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 negativesequences extraction based on SRFs are approached [13, 19, 148151].
2.4.2.1
It is considered that the input wave (v) is a single-phase wave with multiple harmonics
{z
v1
(2.36)
{z
d
{z
q
(2.37)
It is important to note that (2.37) is valid for any srf ; Fig. 2.35 depicts v1 in the
SRF.
Fig. 2.36 shows a generic SRF scheme suitable for reconstruction of v1 . The goal of
the SRF algorithm is to measure v1d and v1q , which are dc values, in order to reconstruct
v1 and estimate its phase-angle (1 ). The frequency of the implemented SRF (srf ) sets
86
v q1
v1
vd1
1
srf
sin(u)
cos(u)
q
2H(z)LPF
)
vd 1
2H(z)LPF )
vq1
v1
1
v sin(srf ) = [v1 cos(1 srf ) + v1 cos(srf + 1 ) + v3 cos(3 srf ) +
{z
} |
{z
}
2|
vd1
rotating at 21
(2.38)
{z
rotating at 41
1
v cos(srf ) = [v1 sin(1 srf ) + v1 sin(srf + 1 ) + v3 sin(3 srf ) +
{z
} |
{z
}
2|
vq1
rotating at 21
(2.39)
{z
rotating at 41
From (2.38) and (2.39), it is expected that vd1 and vq1 , which are dc coefficients, can
87
be obtained with no ripple by means of LPFs. After the filtering stage, v1 is reconstructed
using (2.37). The estimated phase-angle of v1 (1 ) is:
1 = srf + atan2(
vq1 , vd1 ),
|
{z
(2.40)
(relative angle)
where is a relative phase-angle in the SRF, which is function of srf . v1max is estimated
by
v1max =
2
2
vd1
+ vq1
.
(2.41)
From Fig. 2.36, it is clear that the dynamics of this system depends only on the LPFs.
2.4.2.2
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 filter 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 filtering there is a trade-off 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 offer a
very optimized performance for grid synchronization [146148].
The difference equation which defines how the input signal (x) is related with the
output signal (y) of a FIR filter is:
n1
X
bi xki ,
(2.42)
i=0
where k represents the current number of sample, bi are the filter coefficients and n 1
is the filter order, so n must be an integer number. The window length, or time length,
(tw ) of a FIR filter is set by the number of samples, and the sampling time (1/fs ):
tw = n
1
.
fs
(2.43)
An important feature of some FIR filters is the linear-phase [158]. A FIR filter is
88
linear-phase if and only if its coefficients are symmetrical around the center coefficient; in
such a condition the delay through the filter (td ) is function of n:
td =
n 1
.
2 fs
(2.44)
b(i)i=0,..,n1 =
1
.
n
(2.45)
1
X(z) + X(z)z 1 + .... + X(z)z (n1) =
n
X
1 n1
z i X(z),
n i=0
!
(2.46)
H1 (z) being the Z domain transfer function relating the input and output of the filter.
From (2.46) and through the basic properties of the Z transform, a more suitable for
implementation form of H1 (z) is obtained:
H1 (z) =
1 1 z n
.
n 1 z 1
(2.47)
M ag [H1 (f )] = M ag
sin( ffsn )
n sin( f
)
fs
(2.48)
89
n=
fs
,
2 f1n
(2.49)
n being an integer number, since it sets the order of a digital filter; hence, fs should be
an integer multiple of 2 f1n .
Fig. 2.37 shows the features of a MAF with fs = 10 kHz and n = 100 [146].Fig 2.37a
shows that the even harmonics of f1n 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 different kinds of discrete filters extracted 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.
Butt(2,10 Hz) means: second order filter of type Butterworth, with cut-off frequency equal to 10 Hz.
1.0002
Magnitude (abs)
1
0.8
0.6
1
0.9998
0.9996
0.4
0.9994
0.2
0
0
0.9992
-45
-90
-135
-180
0
Phase (deg)
Phase (deg)
Magnitude (abs)
90
50
100
150
200
250
300
350
400
450
500
Frequency (Hz)
-1
-2
-3
-4
0
550
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
Frequency (Hz)
0.01
0.009
Amplitude
Amplitude
0.008
0.007
0.006
0.005
0.8
0.6
0.004
0.4
0.003
0.002
0.2
0.001
0
0
0.002
0.004
0.006
0.008
Time (sec)
0.01
0.012
00
0.014
0.002
0.004
0.01
0.012
0.014
Butt(2,30Hz)
Amplitude (p.u.)
0.9
0.8
Gain
0.008
Time (sec)
0.7
0.006
0.8
Butt(2,30Hz)
0.6
0.5
Butt(2,10Hz)
MAF
0.6
Butt(1,10Hz)
0.4
MAF
0.3
1 STEP
Butt(1,30Hz)
0.4
0.2
0.2
0.1
Butt(2,10Hz)
0
0
50
100
150
200
250
300
350
400
0
0.15
0.2
0.25
0.3
0.35
0.4
Time (s)
Frequency (Hz)
(e) Comparative with other filters (Frequency Re- (f) Comparative with other filters (Step/transient
sponse.)
response.)
Figure 2.37: Time and frequency responses of H(z)1 implemented at fs = 10 kHz and
n = 100.
91
1
0.8
0.6
0.4
1
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0
1
0.01
0.02
0.03
0.04
0.05
0.06
1max
0.8
d1
0.6
0.4
0.2
0
q1
-0.2
-0.4
-0.6
-0.8
-1
0.01
0.02
0.03
0.04
0.05
0.06
0.04
0.05
0.06
3
2
0
-1
-2
-3
0.01
0.02
0.03
Figure 2.38: Simulation results for SRF-MAF1 working open loop (srf = 1 = 1n ).
92
SRF-MAF1
Taps
a N 1
z 1
.
.
.
a2
a1
a0
Magnitude (dB)
Impulse
10
.
.
.
X
z 1
X
v
HDCT(z) (on-line)
n=100
n=200
-20
-30
-50
180
z 1
X
0
-10
-40
v1
Phase (deg)
FIR generation
(off-line)
90
0
-90
-180
0
50
100
150
200
250
300
Frequency (Hz)
350
400
450
500
(a) Technique to obtain FIR taps from the impulse (b) SRF-MAF1 with n = 100 and n = 200 (=RDFT
response.
of [158]); srf = 1n .
Equivalent Implementations
It should be commented that, even though the theoretical approach proposed by McGrath et al in [158], based on a Recursive Discrete Transfer Function (RDFT) and SRFMAF1 are different, 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 filters based on the Discrete
Cosine Transform (DCT). In this manner:
X
2 n1
cos(1 k Ts )z k .
HDCT (z) =
n k=0
(2.50)
HDCT (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 filters 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 filtering 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 efficient 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.
93
f (dc, 2 , 4 ,...)
va
H(z)LPF
vb
P1+
vc
srf
H(z)LPF
vd+1
vq+1 P + (-1)
1
va+1
vb+1
vc+1
+
.
Figure 2.40: Three-phase SRF synchronization algorithm; srf = 1 to decouple vabc
1
On the other hand, several works in other signal processing fields (image, speech,
communications,...) proved that the IIR equivalent implementation to a DCT are GIs,
as the ones of section 2.3.2.2 [167170]. The main advantage of such IIR over FIR filters
appears mainly when considering very large scale integration (VLSI) implementations;
the transient response does not seem an important issue in those works. However, for
electric power applications, the performance of FIR based implementations results in a
much better filtering versus transient response trade-off, as shown in this dissertation.
2.4.2.4
) sin(1 t + srf + 2
)
2 sin(1 t + srf ) sin(1 t + srf 2
3
3
P+
=
1
2
2
3 cos(1 t + srf ) cos(1 t + srf ) cos(1 t + srf + )
3
3
(2.51)
is implemented.
Fig. 2.40 shows a suitable scheme for three-phase systems. LPFs are employed to
+
+
cancel ripple from the dc coefficients vd1
and vq1
. The inverse of P+ is used to estimate
+
vabc . When using MAFs, the name SRF-MAF3 refers to the algorithm depicted in Fig.
2.40.
94
+
+
1 = (1n t + srf ) + atan2(
vq1
, vd1
),
{z
srf
{z
(2.52)
(relative angle)
and
+
va1
=
max
+
+
.
vd1
+ vq1
(2.53)
The phase-angle estimation can also me made by using the angle transform B+(1) to
+
and v+ so the offset angle is not needed for 1 assessment [147].
get v1
+
+
, v1
) [, ].
1 = atan2(
v1
(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
Previous approaches showed how to decouple the fundamental component of singlephase signals and the fundamental positive-sequence of three-phase systems. In the same
way, higher harmonic components can be decoupled using the expression srf = h1 ,
where h is the order of the selected harmonic. Negative-sequences can be decoupled by
means of P and its inverse. [1215, 19, 148151].
These approaches are specially suitable for power line conditioners. SRF-MAFs have
been successfully implemented as extraction algorithms in [148151].
SRF-MAFs for selective harmonic extraction have been implemented in the APF controller analyzed in chapter 5. Even though the main part of this chapter is devoted to the
PR current controller block, experimental results prove the excellent performance offered
by the SRF-MAF based extraction, both in steady-state and in the presence of input
transients.
95
1.5
Amplitude (p.u.)
Vc
Va
Vb
0.5
-0.5
-1
-1.5
0.01
0.02
0.05
0.04
Time (s)
0.03
^ +
V
a1
^
V
0.8
0.07
0.08
0.06
0.07
0.08
+
b1
0.6
Amplitude (p.u.)
0.06
^ +
V
c1
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
0.01
0.02
0.05
0.04
Time (s)
0.03
Phase-angle (rad)
1
1
0
-1
-2
-3
0.01
0.02
0.03
0.05
0.04
Time (s)
0.06
0.07
0.08
Figure 2.41: Simulation results for SRF-MAF3 working in open loop (srf = 1 = 1n ).
96
2.4.3
Digital devices allow to implement online recursive filters such as Kalman and adaptive
filters [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 significant proposals in synchronization and harmonic extraction
based on stochastic filtering are present in technical literature [48, 140, 141, 173181].
The most interesting feature of stochastic filtering 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 identification [48, 140, 173178, 182].
A global sight of synchronization algorithms based on stochastic filtering is detailed
as follows, both for single-phase and three-phase systems.
2.4.3.1
Kalman Filtering
The Kalman filter is an efficient recursive filter that estimates the state of a dynamic
system from a series of noisy measurements. Kalman filters in grid applications have
been employed as extraction algorithm in [183] (off-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 in a recursive manner, rejecting noise and harmonics in 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 filtering schemes proposed novel architectures. It seems more suitable
to say that they provided a novel approach to digital filtering. In fact, MAFs 9 and
IIRs are also recursive filters. Therefore, it could be said that the manner in which
the synchronization or extraction problem is posed is much more important than the
stochastic filter coefficients.
(2.55)
Even though MAFs are FIR filters, usually they are implemented as IIR structures using (2.47).
97
M=
cos( fs1 )
sin( fs1 )
(2.56)
and
(2.57)
H = [0 1].
(2.58)
H being
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
T ]. The second coefficient of
(2.59)
(2.60)
K = M p(k) HT s(1) .
(2.61)
x(k + 1) = M x(k) + K I.
(2.62)
4. State estimation:
(2.63)
98
1
0.8
0.8
1
0.6
0.6
0.4
0.4
0.2
0.2
-0.2
-0.2
-0.4
-0.4
-0.6
-0.6
-0.8
-0.8
-1
-1
0.01
0.02
0.03
0.04
0.06
0.07
0.08
0.01
0.09
0.02
0.03
0.04
0.06
0.07
0.08
0.09
0.06
0.07
0.08
0.09
1
-1
-1
-2
-2
-3
-3
0.01
0.02
0.03
0.04
0.06
0.07
0.08
0.09
(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
1 = atan2(
x1 , x2 ) [, ].
(2.64)
Figs. 2.42a and 2.42b show some significant results for the Kalman filtering synchronization 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 filter approach is suitable for grid synchronization, since it can offer an acceptable filtering versus transient response, specially when
comparing with single-phase PLLs.
The dynamics this Kalman based synchronization algorithm can be set in a different
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
filtering response can be enhanced at the cost of increasing computational burdens [183].
99
T
v = C vabc
,
(2.65)
where
2 1 12 12
.
C=
3
3
3 0
2
2
(2.66)
100
H=
1 t(k))
cos(
sin(
1 t(k))
{z
|
sin(
1 t(k))
+(1)
and B1
, which rotate at
1 and have a
cos(
1 t(k)) sin(
1 t(k))
sin(
1 t(k)) cos(
1 t(k))
,
cos(
1 t(k))
+(1)
{z
(1)
B1
(2.67)
B1
so
+T
v = H vdq1
,
(2.68)
where
+
vdq1
=
+
+
vd1
vq1
vd1
vq1
(2.69)
+
+
vd1
, vq1
, vd1
and vq1
being the components of vabc1 in the positive and negative SRFs.
+
The sequential recursive computation steps for the WLSE estimation of vdq1
, and
hence the phase-angle from vabc1 are detailed below. The dynamic response depends on
the forgetting factor and initial error covariance (p0 ):
(2.70)
K = p(k) H r(1) .
(2.71)
4. Compute of K gain:
5. Update the error covariance matrix p:
p(k) = 1 p(k 1) (1 K H).
(2.72)
+
6. Update the estimation of vdq1
:
+
+
+
dq1
dq1
dq1
v
(k) = v
(k 1) + K (v H v
(k 1)).
(2.73)
The phase-angle of the positive-sequence is obtained using vd+ , vq+ . Owing to the good
decoupling between positive and negative sequences there is not an undesired second
harmonic in estimated values.
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 identifies the 5th harmonic as
noise and the should be reduced in order to filter it. The second option is to add positive
and negative sequences of the 5th harmonic to H: positive and negative sequences of 5th
harmonics are decoupled and the is kept. This second option could be more resourceconsuming, 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 effect of frequency deviations in stochastic filters has not been considered. However, stochastic filters are very sensitive to them [140, 181]. The frequency
adaptation of stochastic filters, specially the WLSE ones, is revised in the next section.
102
Vb
Va
Amplitude (p.u.)
Amplitude (p.u.)
Vc
-1
0
0.01
0.02
0.03
0.05
Time (s)
0.04
0.06
0.07
0.08
0.09
0.1
-1
0.01
Amplitude (p.u.)
^
Vq1-
^
Vd10.01
0.02
0.03
0.04
Amplitude (p.u.)
^
Vq1+
0.06
0.05
Time (s)
0.07
0.08
0.09
0.1
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
^
Vq1+
0
^
Vq1-
^
Vd1-
-1
0.01
0.02
0.03
0.04
0.06
0.07
0.08
0.09
0.05 0.06
Time (s)
0.07
0.08
0.09
0.05
Time (s)
0.1
Phase-angle (rad)
Phase-angle (rad)
0.04
^
Vd1+
-0.2
0.03
1.5
^
Vd1+
0.02
^
1
0
-1
^
1
-2
-3
0
0.01
0.02
0.03
0.04
0.05 0.06
Time (s)
0.07
0.08
0.09
0.1
-3
0
0.01
0.02
0.03
0.04
0.1
103
Va
Amplitude (p.u.)
Amplitude (p.u.)
Vb
V
0
Vc
-1
0
0.01
0.02
0.05
Time (s)
0.03
0.04
1.5
0.07
0.08
0.01
+(-1)
0.02
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
0.05 0.06
Time (s)
0.03
+(-1)
0.04
0.07
0.08
0.09
^
Vq1+
0
-0.5
-1.5
0.1
-2
1
0.01
+(-1)
0.02
-(-1)
^
1
0
-1
-2
0.04
-1
^
Vq1-
^
Vd1-
-(-1)
-3
0.03
0.5
Phase-angle (rad)
-1
0
0.02
^
Vd1+
Amplitude (p.u.)
0.01
1.5
^
Vq1+
-0.5
0.5
Phase-angle (rad)
-1
0.1
0.09
^
Vd1+
1
Amplitude (p.u.)
0.06
-(-1)
1
0.03
+(-1)
+(-1)
0.04
0.05 0.06
Time (s)
-(-1)
+(-1)
5
-(-1)
0.07
0.08
0.09
0.08
0.09
0.1
-(-1)
^
1
0
-1
-2
0.01
0.02
0.03
0.04
0.05 0.06
Time (s)
0.07
0.08
0.09
0.1
-3
0.01
0.02
0.03
0.05 0.06
Time (s)
0.04
0.07
0.1
104
2.5
The study of the linearized model of PLLs provides an accurate assessment of dynamics. 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:
The European Standard UNE-EN 50160, which sets f1n = 50 Hz, establishes limits
in maximum allowable frequency deviations. For interconnected systems the mean
value of f1 , 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 specified [185].
The IEC-61000 Standard sets the normal limit operation in 2% for interconnected
system and extends these limits for isolated systems [144].
105
Regarding to distribution generation, and more specifically to the new grid codes
for wind turbines, normal operation of wind turbines allows frequency deviations of
around 3 Hz [94].
Digital PLLs using a lag/lead filter, 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-filters could lead to 1e 6= 0 in
steady-state when 1 6= 1n : some of these filters (e.g. D(z)) do not have the
expected frequency response at f1 6= f1n (e.g. phase response of D(z) in Fig. 2.27).
SRF based schemes, including the stochastic filtering ones, do not have 1e = 0
when srf 6= 1 because of the filtering delay. This phase error is:
1e = (1 srf ) td (f1 ),
(2.74)
where td (f ) is function of the input frequency (phase response), except for linear
phase filters [147, 158]. In the case of stochastic filtering, td is lower as faster is
the system (e.g. in the WLSE algorithms, the lower the faster the system, so the
lower td ).
FIR filters such as numeric delays (e.g. D(z)) and MAFs do not achieve complete
harmonic cancellation, which causes phase jittering. This assertion could be extended to stochastic filters.
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 filter coefficients.
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 different 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 filters is changing continuously [158].
106
2.5.1
107
2.5.2
Optimized for
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
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 different n. Table 2.4 show the rule of change of the n value: upper and
lower thresholds are different from the center value in order to provide some hysteresis
behavior, avoiding continuous changes due to ripple in
1.
108
1
Constant2
1
In
50.8-50.7
50.2-50.3
2
w
K Ts
Product
z-1
Discrete-Time
Integrator
1
Out
-98
Z
2*2
frequency
estimation
Integer Delay
49.8-49.7
49.3-49.2
Add
Multiport
Switch
-1
Z
49
Integer Delay1
Constant1
49.5
-1
Z
Constant3
Integer Delay2
50
Constant4
Multiport
Switch1
-1
Z
50.5
Integer Delay3
Constant5
51
-1
Z
Constant6
Integer Delay4
1
n=98
n=99
n=100
n=101
n=102
0.9
0.05
0.8
(zoom)
0.04
0.7
Gain
Gain
0.6
0.03
0.5
0.02
0.01
0.4
0
97
98
0.3
99
100
101
Frequency (Hz)
102
103
0.2
0.1
0
0
50
100
150
Frequency (Hz)
200
250
300
2.5.3
109
Adaptive and stochastic filters 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 vq1 and vd1
are dc components in steady-state, and therefore, there is not filtering delay, so 1e = 0
is achieved. Fig. 2.46b represents the adatptive SRF-MAF1 (Fig. 2.46) depicted as an
adaptive filter.
Fig. 2.46c shows the flowchart for frequency estimation. This adaptive filter 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(vd1 , vq1 ) 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 e2 ; the e2 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 [emin , emax ] avoiding very big changes between
consecutive
1.
The value of
1 is saturated in the range [
1min ,
1max ], 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 (
vd1
,
vq1 ) to calculate e.
Table 2.5 shows the algorithm values used in the implementation. Different 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 implementation using = 5 104 s/rad. The test shows the response of the system during the initial
110
sin(u)
d
z-1
srf (k ) = 1 (k 1)
cos(u)
q
2H(z)MAF
f (dc, 2 , 4 ,...)
2H(z)MAF
)
vd 1
)
vq1
Frequency
Estimation
Algorithm
x(k ) = atan2(vq1 (k ), vd 1 (k ))
Calculate error: e=x(k)-x(k-1)
no
abs(e)<
yes
SRF-MAF1
(Adaptive Fiter)
atan2(vq1 (k ), vd 1 (k ))
+
z-1
e(k)
update
1 (k ) = 1 (k 1) + sig (e) e 2
Frequency
Estimation
Saturate 1 estimation
111
Table 2.5
Adaptive algorithm values.
103 rad/s
emin
emax
1max
251.5 rad/s
1min
248.5 rad/s
1 105 s/rad
1 104 s/rad
00
5 104 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 f1 .
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 improvement 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 effect of uncorrelated white noise is studied
below.
The optimum value of , under different noisy conditions, is studied for the SRFMAF3. 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
( = 1 105 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 108 p.u. is added to Fig. 2.48a
waves. In this case ten times lower ( = 1 104 s/rad) is more suitable, since it has a
much lower level of frequency jittering. It is clear the influence of noise in the election of
the value, so the variables acquisition is key.
112
0.8
-10
0
-0.2
-0.4
0.2
-30
-40
-50
-60
-70
-0.6
-80
-0.8
-90
-1
0
ZOOM
-20
0.4
Phase error (deg)
Amplitude (p.u.)
0.6
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
-100
0
0.1
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
0
-10
51
-30
ZOOM
-20
-40
-50
-60
-70
50.8
50.6
50.4
50.2
-80
50
-90
-100
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
49.8
0.1
0.2
0.3
0.4
Time (s)
0.5
0.6
0.7
0.8
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 first 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 first 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 first
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
113
2.6 Conclusion
1.5
51.5
Frequency (Hz)
Amplitude (p.u.)
51
0.5
-0.5
50.5
50
-1
-1.5
0
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
49.5
0
0.2
0.4
0.6
0.8
1
Time (s)
1.2
1.4
1.6
1.8
Frequency (Hz)
51
50.5
50
49.5
0
Input Frequency
Freq. Meas with K2
Freq. Meas with K1
0.2
0.4
0.6
0.8
1
Time (s)
1.2
1.4
1.6
1.8
(c) Frequency estimation for a noisy input (green (d) dSpace implementation of Adaptive SRFwith = 1 104 s/rad, red with = 1 105 s/rad) MAF3. Frequency estimation using = 1
104 s/rad.
114
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-offs
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 significant 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 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. Experimental results are shown
proving the good performance of the proposal.
115
116
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-off between filtering and transient response. With the
suitability of an ever increasing potential of discrete devices, several techniques to improve
this trade-off have been proposed, such as the placement of extra filter inside the loop
[106, 109, 112, 126] or before the phase detector (pre-filters) [111, 117, 123], and the
implementation of complex feedback structures [108, 126, 127]. However, it can be checked
that the implementation of filtering techniques always leads to a drastic reduction in the
whole bandwidth and therefore in the transient response speed. More specifically, when
optimization techniques affect to the closed-loop dynamics (filters 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 specifically, it is not possible
to control the overshoot in the step response (phase-jump) without affecting 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 significant
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
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
117
PD
1t + 1
+-
1e
L(s )
DCO
1t + 1
H (s )
1
s
H(s) =
L(s)
| {z }
Loop F ilter
3.2.1
1
.
s
|{z}
(3.1)
DCO
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
f or P M < 70 deg .
(3.2)
The information of PLL settling time (ts ) can be obtained from the H(s) frequency
response, since c is approximately equal to the closed loop bandwidth (3dB ) and natural
(n ) frequencies: ts to within 2% of the final value of a second order closed loop system
can be estimated with
ts =
4
4
n
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 filtering: the choice of c is the main trade-off in the
tuning [28, 99]. ts can also be optimized increasing [117].
118
3.2.2
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 first 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 filters and techniques. Some significant
proposals are
the implementation of different kind of filters inside the loop filter to cancel for
specific harmonics and unbalance effect [106, 109, 112, 126].
the use of filters before the phase detector (pre-filters) to cancel for specific harmonics and unbalance effect [111, 117, 123]. It should be noticed that the use of
pre-filters does not affect 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 effect (SRF-PLL) [108, 126, 127].
Fig. 3.2 explains by itself the pros and cons of introducing extra filters inside the
loop (L(s)). Indeed, the magnitude versus frequency response allows to cancel for specific
components. However, each filter introduces phase inside the loop, which results in a
reduction of stability margins. Therefore, in order to have an acceptable PM, when extra
filters are placed inside the loop, the bandwidth (c ) should be reduced. It could be said
that, in general, the better the filter cancellation pattern of a specific filter, the worse
its phase response. Moreover, it should be also noticed that the effect of adding extra
feedback signals results in a drastic bandwidth reduction [108].
119
Magnitude (abs)
1
0.8
Notch (Q=10)
Notch (Q=1)
Moving Average
0.6
0.4
0.2
Phase (deg)
90
0
-90
-180
50
150
250
200
100
Frequency (Hz)
300
350
400
3.2.3
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 filter, 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 different. More specifically, the step response of Fig. 3.1 model is not accurate for
frequency steps when H(s) overdamped. This introduces a new trade-off in the design of
the PLL, since, it is not possible to optimize ts 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:
He (s) =
1
.
H(s) + 1
(3.4)
120
The Laplace transform of the phase error when a phase step or phase jump () is
applied at time t = 0 is [78]:
e (s) = He (s)
.
s
(3.5)
Through the final value theorem, a PLL has zero average steady state phase error
after a phase jump if:
lim s
e () = 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) = He (s)
.
s2
(3.7)
and
e () = s
lim s
e (s) = 0
(3.8)
121
e (s) =
s2
s
s
= 2
,
+ Kp s + Ki
s + 2n s + n2
(3.10)
s2
= 2
.
+ K p s + Ki
s + 2n s + n2
(3.11)
and
e (s) =
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 (p1 and p2 ):
p1,2 = n (
3.2.3.1
2 1).
(3.12)
n t
2
e (t) =
sin(
n 1 t + )
1 2
(3.13)
e (t) =
3.2.3.2
n t
sin(
1 2 t).
n
n 1 2
(3.14)
e (t)
n (1 2 1)t
2
=
[(1 1) e
2 2 1 |
{z
}
slow pole
(1 +
2
2 1) en (1+ 1)t ] =
{z
f ast pole
q
q
2
[(1 2 1) ep2 t (1 + 2 1) ep1 t ]
2 1 |
{z
} |
{z
}
slow pole
f ast pole
(3.15)
122
and
e (t) =
n (1+
e|
{z
2 1)t
2
[e| n (1
{z
}
2n 1
slow pole
ep1 t ]
ep2 t |{z}
}] = 2 2 1 [ |{z}
n
f ast pole
slow pole
(3.16)
2 1)t
f ast pole
From eqs. (3.13) and (3.14), it is clear that for the underdamped case the transient
response can be improved both increasing Ki (n ) or Kp (). However, for overdamped
situation the situation is not clear at all. Eqs. (3.15) and (3.16) have two terms, one
decaying with ep1 t (fast pole) and another with ep2 t (slow pole).
In the case of e (t) (phase-jump) the term associated with the slow pole has associated
a smaller coefficient. 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 p2 is very close to the origin,
the transient defined 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
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 p2 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 (Kp2 4Ki , so that
1) results in the better trade-off 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 (fs ) 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.
123
(a) Poles-zeros diagram for e (s) and e (s) . Blue poles refer to < 1
and green poles to > 1. The origin zero (red) is only present in e (s) .
3.2.4
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 effect 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 filters (notch, MAF, DSC) are placed, those methods,
by themselves, are not accurate (P M and c change).
124
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 filters are placed inside the loop (lowgain PLLs).
The PI filter coefficients 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 significant examples are shown in order to provide a comparison among tuning
strategies. The sampling frequency (fs ) is 10 kHz and the nominal frequency 50 Hz.
3.2.5.1
Ki
)
{z s }
L(s)HBP LL = (Kp +
|
(3.17)
P I f ilter
Table 3.1
Significant parameters of HB-PLL
c ( rad/s)
3
4.56 10
P M (deg)
49
Kp
4000
Ki
7
10
p1 ( rad/s)
(2 + i2.45) 10
p2 ( rad/s)
3
p1
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.
125
-20
-120
-150
-210
2
10
10
10
10
Figure 3.4: Frequency response of H(z) for the HB-PLL (L(s)HBP LL was discretized
using the zoh method).
3.2.5.2
A SRF-PLL for canceling the second harmonic generated by the negative sequence
using a notch filter is designed:
Ki
) N (s)
s
{z
}
(3.18)
L(s)U N P LL = (Kp +
|
P I f ilter
Table 3.2
Significant parameters of UN-PLL
c ( rad/s)
P M (deg)
Kp
Ki
p1 ( rad/s)
p2 ( rad/s)
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 (p1 p2 ). It has very good unbalance cancellation and an acceptable harmonic
filtering.
126
0
-50
-100
-150
0
-45
-90
-135
-180
-225
-1
10
10
10
10
10
10
Figure 3.5: Frequency response of H(z) for the UN-PLL (L(s)U N P LL was discretized
using the zoh method).
3.2.5.3
Ki
) M A(s)
{z s }
(3.19)
L(s)M AP LL = (Kp +
|
P I f ilter
where M A(s) is the transfer function of a moving average filter tuned to cancel even
harmonics; it is better expressed in the Z-domain (fs = 10 kHz):
M A(z) =
1 1 z 100
100 1 z 1
(3.20)
Table 3.3
Significant parameters of MA-PLL
c ( rad/s)
P M (deg)
Kp
Ki
p1 ( rad/s)
p2 ( 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 ep1 t ) with no
overshoot (high PM), but with a bad frequency variation transient (decaying with ep2 t ).
127
-100
-200
-300
-90
-135
-225
-270
-315
0
10
10
10
10
10
Figure 3.6: Frequency response of H(z) for the MA-PLL (PI filter 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 fs = 10 kHz. The execution times of all SRF-PLLs
were lower than 10 s. The three-phase input voltages have been generated with a threephase 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 amplifier 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 different 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: vq 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: vq phase-error).
In the distorted signal test (Figs. 3.7g, 3.7h and 3.7i), the pre-programed input waves
128
(a)
Clean
(HB-PLL).
signal
Test (b)
Clean
(UN-PLL).
signal
Test (c)
Clean
(MA-PLL).
signal
Test
(d) Frequency
(HB-PLL).
Step
Step
Step
Test
(g) Distorted
(HB-PLL).
signal
signal
signal
Test
Figure 3.7: Experimental results for different SRF-PLLs: Ch1 (black) is the Va input
in p.u./V, Ch4 is the instantaneous phase-angle measurement (100 mV/rad), Ch2 is the
error signal vq in p.u./V (1 p.u. = /2 deg of phase error), Ch3 is o (10 mV/(rad/s)).
129
have unbalance ( 10% of negative sequence ) and high ammount of harmonics (10%
of 5th , 5% of 5th and 5% of 11th ); 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 filter either harmonics or unbalance effect 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 filter, 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. UNPLL has a very good unbalance cancelation and acceptable harmonic filtering (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 UNPLL, could be a good choice for most of the applications.
3.3
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 lowcost fixed point DSP; technical reports provide some techniques such as the use of look-up
tables, linear interpolation methods and IIR filters [193195].
This work proposes an efficient 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
cos(ot + o )
0.99
300
0.99
0.99
0.99
sin(ot + o )
o
Reset
o t + o
200
Imaginary Axis
Pole-Zero Map
400
Pole : 0 + 314i
100
0
-100
-200
-300
-400
-1
LOOP
FILTER
Pole : 0 - 314i
-0.5
0
Real Axis
0.5
[, ]. 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 oscillator 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 (fs ) of 10 kHz).The limits of the integrator should be chosen accordingly 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 singlephase the in-phase and feedback signals are directly obtained. With regard to SRF-PLLs,
the assessment of Park transformations is immediate by:
3
2
) = 0.5 sin (1 )
cos(1 ).
sin (1
3
2
(3.21)
Fig. 3.9 shows the P1+ matrix calculation from the oscillator signals (Fig. 3.8a) and
(3.21) identities.
131
2/3 sin(2/3)
cos(^1)
-2/3
2/3 cos(2/3)
2/3 sin(2/3)
sin(^1)
-2/3
2/3 cos(2/3)
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 filter is placed to cancel the second harmonic. This script
also proves the simplicity and significance 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 fixed point
implementation.
3.3.1.2
The single-phase PLL has been implemented in the Technosoft MSK2407 board containing a TMS320LF2407 fixed 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-off 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 confirm the expected
132
3
2
1
0
-1
-2
Input signal
Mysin
Phase-angle
-3
0
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
3
2
1
0
-1
-2
Input signal
Mysin
Phase-angle
-3
0
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
(b) Single-phase PLL start-up simulation (highly harmonic contaminated input signal).
3.3.1.3
SRF-PLL
The SRF-PLL have been implemented in the floating point PowerPC inside the dSpace
DS1103 prototyping platform. This platform contains a floating 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 106 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.
133
Zoom
Trigger
134
3.4
Conclusions
This chapter presents an in-depth study of the dynamics of digital PLLs for gridconnected power electronic converters.
Section 3.2 reviews some PLL theory important concepts and proposes a tuning approach 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 significant 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 filters 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 filter roots.
2. It is analytically proved that low-gain PLLs have a trade-off between the responses
to phase-jumps and frequency deviations. A very overdamped PLL has an optimized phase-jump response since the overshoot is minimized, but it has a very slow
response in the presence of frequency deviations. Therefore, the PI filter coefficients should not give rise to a very overdamped system, which had been previously
reported as an optimum tuning.
Some significant 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 fixed
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 realtime.
Previous works establish that the fundamental positive-sequence vector of a set of utility voltage/current vectors can be decoupled using Parks transformation and low pass filters. However,
the filtering process introduces delays that impair the system performance. More specifically,
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
filters is proposed to achieve a robust synchronization system for all input frequencies inside
typical normal operation ranges. MAFs are linear phase FIR filters which have a constant time
delay at low frequencies. A characteristic which is exploited to good effect to design a predictive
FIR filter 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
filtering/transient response trade-off, the fact that its dynamics is independent of the input vector
amplitude and no trade-off between frequency deviation and phase-jump transient responses.
Comprehensive experimental results validate the theoretical approach and the high performance of the proposed synchronization algorithm.
135
136
137
Two design examples are presented. Their high performance is shown in the experimental results section. Simulation and real time implementation results are provided and
amply discussed.
4.1
As shown in section 2.5, the most problematic drawback of SRF-MAF3 and SRFMAF1 (Fig. 2.40 and 2.36) is that 1 is unknown. Focusing in the design of SRF-MAF3,
+
+
when 1 6= 1n , vd1
and vq1
are low frequency components rotating at d = 1
1n . In
+
+
such a situation vd1 and vq1 are obtained with a time delay (td ) set by the phase versus
frequency response of the low pass filter employed. If it is not compensated, this time
delay would cause a constant average steady-state phase error (1e ) proportional to td and
d :
1e = 1 1 = d td .
(4.1)
The only way to know td in open loop, without knowing d is using a linear-phase FIR
filters. Linear-phase refers to the condition where the phase response of the filter is a linear
function of frequency, excluding phase wraps at 180 deg. This results in td through the
filter being the same at all frequencies [152].As shown in section 2.4.2.2, MAF filters have
linear-phase. in the Z-domain a MAF is 1 :
1 1 z N1
.
H1 (z) =
N1 1 z 1
(4.2)
N1 1
.
2 fs
(4.3)
A predictive filter compensating for MAF lag can be calculated as follows. From (2.44)
td is calculated off-line. While td << 2d , it is correct to say that in any td interval both
+
+
vd1
and vq1
trajectories in the time domain fit very well to a straight line. Therefore, it is
possible to predict future samples from current samples into this trajectory [202208].
y2 (k + 1) being the current sample of a straight line trajectory, it can be expressed as:
y2 (k + 1) = y2 (k) + m
1
1
fs
(4.4)
138
y2 (k + 2) = y2 (k + 1) + m
1
.
fs
(4.5)
y2 (k + 2) = 2 y2 (k + 1) y2 (k).
(4.6)
N2 being the number of samples of delay through a moving average FIR filter, it is set by
td (eq. 4.3) and fs :
N2 = td fs =
N1
.
2
(4.7)
Knowing N2 from the moving average FIR filter parameters, through eq. (4.6) the
future N2 sample can be predicted from the current and past samples as follows:
y2 (k + N2 ) = 2 y2 (k + N2 1) y2 (k + N2 2) =
= 3 y2 (k + N2 2) 2 y2 (k + N2 3) =
= (N2 + 1) y2 (k) N2 y2 (k 1).
(4.8)
H2 (z) = (N2 + 1) N2 z 1 .
(4.9)
The predictive filter defined by eq. (4.9) compensates the delay through the moving
average FIR filter: for low frequencies, the phase versus frequency response of H2 (z) has
a linear positive phase which cancels the negative linear phase of H1 (z).
By inspecting the phase versus frequency response of the whole filtering stage (H1 (z)
H2 (z)) , H2 (z) can be optimized accordingly in order not to have almost any phase delay
without introducing amplitude error. H2 (z) is redefined as:
H2 (z) =
(4.10)
139
Vabc
H1(z)
vd+1
H2(z)
[P1+ ]
Vabc
H1(z)
H1(z)
H1(z)
H2(z)
[P1+ ]
vq+1
H1(z)
H1(z)
H2(z)
H2(z)
vd+1
vq+1
Filtering Block
Filtering Block
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 filtering block which employs two pairs of linked moving average
and predictive filters. The values of the parameters are summarized in table 4.1.
Table 4.1
Design Example 1 Values.
fs
N1
N2
10 kHz
100
50
0.0095
The whole system implementing this filtering block is named S1. Fig. (4.2a) shows
H1 (z)H2 (z) frequency response. The cancellation pattern is optimized for even harmonics
after P+
1 caused by odd harmonics in the input signal vabc [146]. Fig. (4.2b) proves
the feasibility of the predictive filter 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 vabc are considered since non-linear
electrical loads causing high even harmonic disturbances (in vabc ) are not usual and their
use must be precluded in ac networks [163165]. To deal with the presence of even
harmonics in vabc , N1 = 200 and N2 = 100 could be considered.
140
Magnitude (abs)
0.5
90
Phase (deg)
1.002
45
0
-45
-90
-135
50
100
150
200
250
300
350
400
450
500
Frequency (Hz)
550
0.03
0.02
0.01
0
-0.01
0
0.5
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
Frequency (Hz)
1 sample
0.4
1.011
0.3
1.0105
Amplitude
Magnitude (abs)
1.001
1.0005
1.0115
1.01
1.0095
0.001
0
Phase (deg)
1.0015
0.9995
0.04
Phase (deg)
Magnitude (abs)
1.5
0.2
0.1
0
-0.1
-0.2
-0.001
-0.3
-0.002
-0.4
-0.003
-0.004
0.2
0.4
0.6
0.8
1.2
1.4
1.6
Frequency (Hz)
1.8
-0.5
0
2
1 sample
0.002
0.004
0.006
0.008
Time (sec)
0.01
0.012
1.8
1.6
Amplitude
1.4
1.2
1
0.8
0.6
0.40
0.002
0.004
0.006
0.008
Time (sec)
0.01
0.012
0.014
Figure 4.2: Design example 1: time and frequency responses of H1 (z) H2 (z).
0.014
141
4.2.2
Design Example 2
Even though S1 is a very good practical solution dealing with unbalance and harmonics, the presence of other factors such as interharmonics, noise, notching (also noise), dc
offset ([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
0
cancellation pattern two moving average filters H1 (z) and H1 (z) can be linked, as proposed in this section (Fig. 4.1b). The predictive filter should be recalculated according
to eq. (4.7), since the time of delay through the two filters is doubled. The whole system
implementing this filtering block is named S2, and its values are summarized in table 4.2:
Table 4.2
Design Example 2 Values.
0
fs
N1
N2
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-off between filtering 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 fixed step discrete time solver at fs = 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 defined as the difference 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
+
Fig. 4.4 shows the phase error for an unbalanced (va1
= 0.1 va1
) input wave
max
max
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 filters. As expected, the system without predictive filters has the nonzero average steady-state phase error set by eq. (4.1). With predictive filter, steady-state
zero error is achieved. As also expected, the transient lasts 0.01 s.
142
1.6
1.5
1.4
1.2
Amplitude
Magnitude (abs)
0.5
Phase (deg)
360
1
0.8
0.6
-360
-720
0.4
-1080
-1440
0.2
-1800
-2160
0
50
100
150
200
250
300
350
400
450
500
Frequency (Hz)
00
550
0.005
0.01
0.015
Time (sec)
0.02
0.025
1.01
1.008
1.006
1.004
1.002
1
0.998
0.01
0
-0.01
-0.02
-0.03
-0.04
0
0.2
0.4
0.6
0.8
1.2
1.4
1.6
1.8
Figure 4.3: Design example 2: Frequency and Step responses of H1 (z) H1 (z) H2 (z).
143
Va
Amplitude (p.u.)
Vc
0
Vb
-1
0.99
1.01
1.02
Time (s)
1.03
1.04
1.05
+
) set of input waves
= 0.1 va1
(a) Phase jump transient in unbalanced (va1
max
max
rotating at 1 = 2 51 rad/s.
20
10
0
Phase error (deg)
10
0
Average steady-state
phase error equal to 0
-10
-20
-30
0.99
-10
-20
-30
-40
1.01
1.02
1.03
Time (s)
1.04
1.05
-50
0.99
1.01
1.02
1.03
Time (s)
1.04
1.05
144
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.
53
52
51
50
49
48
47
0.17
0.18
0.19
0.2
Time (s)
2
1.5
1
0.21
0.22
0.23
0.5
0
-0.5
0.17
0.18
0.19
0.2
Time (s)
0.21
0.22
0.23
0
-2
0.17
0.18
0.19
0.2
Time (s)
0.21
0.22
0.23
+
Figure 4.5: S1 response to a big frequency step at 0.2 s. Unbalanced (va1
= 0.1 va1
max
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 (va1
= 0.1 va1
) and harmonic
max
max
th
th
th
contaminated ( 10% 5 , 7% 7 , 4% 11 ) 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 va1
, amplitude error, vd1
and vq1
; as expected vd1
and
max
+
vq1
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 (
v1
and v1
) employed in the calculation
of 1 .
4.4
Experimental Results
The proposed algorithm has been implemented in the dSpace platform DS1103 at
(fs = 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
145
40
1.5
Va
Vb
Vc
20
0.5
-20
0
-40
-0.5
-60
-1
-1.5
0.95
-80
0.96
0.97
0.98
0.99
1.01
1.02
1.03
1.04
1.05
-100
0.95
0.96
0.97
0.98
0.99
1.01
1.02
1.03
1.04
1.05
(a) S1: set of distorted input waves in time domain. (b) Phase error: the transient lasts 0.01 s and zero
+
) and harmonics average steady-state error.
= 0.1 va1
Unbalance (va1
max
max
th
th
th
( 10%5 , 7%7 , 4%11 ).
1.2
|Vp|
0.8
0.8
0.6
Vq
0.6
0.4
0.4
0.2
0.2
-0.2
-0.4
-0.2
Vd
-0.4
-0.6
-0.8
-0.6
-0.8
0.95
-1
0.96
0.97
0.98
0.99
1.01
1.02
1.03
1.04
1.05
0.95
0.96
0.97
0.98
0.99
1.01
1.02
1.03
1.04
1.05
+
+
+
+
+
(c) va1
, vd1
and vq1
measurements. The tran- (d) v1
and v1
estimations. They are not dismax
sient lasts 0.01 s and zero average steady-state er- torted.
ror.
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
Vb
Vc
Va, V
Va
V
VaV
VaV
(a) Balanced set of voltages oscillating at 48 Hz and (b) Zoom of Fig. 4.7a around the zero cross. The
+
which tends to zero. average error is slightly positive due to the sampling
V measurement. M1 is va
v1
process.
Figure 4.7: S1: steady state error for a balanced set of inputs oscillating at 48 Hz.
test signals containing sags, unbalance, harmonics and notching signals the three phase AC
source has been used as an arbitrary power amplifier 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. As in previous
section, p.u. units have been employed.
As the system is an open loop system, no feedback error signals can be presented.
+
However, considering only the fundamental component, va = v1
for balanced conditions
0
0
and for unbalalanced systems when va = va , that is vabc and vabc
cancel each other
+
for the a phase. Therefore, testing the systems under such conditions va v1
represents
+
the error; that is va v1
= 0 implies zero error in phase, frequency and amplitude. The
subtraction function of the oscilloscope has been used to obtain this error (channel M 1).
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 figure, it could
be noticed the small positive delay between the input (va ) and the output or processed
+
signal (
v1
). 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, va = va0 and va1
= 0.1 va1
in order
max
max
to test the error signal. These figures 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 va1
=
max
0
0.8 p.u. and va = va with va1max = 0.05 p.u., and a 45 deg phase jump with respect to
147
Vb
Vc
Va, V
Va
V
VaV
VaV
(a) Steady state measurements for a balanced set of (b) Zoom of Fig. 4.8a around the zero cross. The
+
voltages oscillating at 51 Hz. M1 depicts va v1
average error is slightly positive due to the sampling
as error signal tends to zero in steady-state.
process.
+
) set of inputs
= 0.1 va1
Figure 4.8: S1: Steady state error for an unbalanced (va1
max
max
oscillating at 51 Hz.
+
the balanced wave of va1
= 1 p.u..
max
Once proved the theoretical approach in terms of zero steady state error and transient
response, other interesting figures 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
+
(va1
= 0.09 va1
) and harmonic contaminated ( 9% 5th , 5% 7th , 3% 11th ) inmax
max
put waves rotating at 48 Hz is rippleless.
Figs. 4.11) and 4.12 compare S1 with S2 in terms of the trade-off between filtering
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 v1
measured with
+
S1 contains notches, even though smoother than in input waves. Fig. 4.11b shows as v1
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 (va1
= 0.09 va1
) input wave which presents a very deep sag: from
max
max
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
Vb
Vc
Va
Va
VaV
VaV
Figure 4.9: S1: Transient response for a sag with 45 deg phase jump.
4.4.1
Brief Comparative
Table 4.3 shows a brief comparative with other significant proposals which successfully
deal with unbalance [108, 140, 144] 2 .
Table 4.3
Brief comparative among significant systems with good unbalance rejection
System
Settling time
Execution
(Ts )
Time
S1
0.01 s
11.2 s
S2
0.02 s
DSRF-PLL
Device
Frequency
Amplitude
Loop
Dependence
dSpace 1103
NO
NO
15.8 s
dSpace 1103
NO
NO
0.036 s
(< 50 s)
dSpace 1103
YES
NPSF
> 0.02 s
6.5 s
TMS320F2812 (DSP)
YES
YES
WLSE
< 0.005 s
10 s
TMS320C31 (DSP)
YES
NO
The settling time (ts ) is defined as the time required for the system to settle within a
certain percentage of the steady-state value [192].
As proved, for S1 and S2 ts is accurately set by the step response of the FIR filtering
stage (eq. (2.43)): 0.01 s and 0.02 s respectively. In relation to device implementation,
it is clear that the moving average filters are a part resource consuming as shown in the
2
The comparative is made with respect to data provided in those works. DSRF-PLL is the Double
SRF-PLL provided in [108]
149
Figure 4.10: S1: steady-state phase measurement at 48 Hz. Ch1 is 1 , Ch2 is va , Ch3 is
vb , Ch4 is vc (phase in 2 rad, voltages in p.u.). The measurement does not have ripple.
increment of execution time from S1 to S2. However, this and other implementations
[128, 157, 158] prove that current digital devices are powerful enough to implement them
in real time. With regard to amplitude dependence, due to the linearity of all the employed
digital filters the system is amplitude independent.
The settling time ts (to within 2% of the final value) of the DSRF-PLL has been
estimated using the data (c = 225 rad/s, = 0.707 ) of the equivalent linearized
systems studied in [108] through the formula [192]:
ts =
4
.
c
(4.11)
The accuracy of this estimation can be checked in Figs. 11 and 12 of [108]. The
execution time of the DSRF-PLL is not shown in [108], but, it is smaller than the implementation sampling time (50 s).
The non-linearity introduced by the phase detector in PLLs, and therefore also in the
DSRF-PLL has the drawback of amplitude dependence, even though this can be reduced
through a normalization stage [126, 127, 137].
ts of NPSF presents a high vary depending on the kind of transient, as shown in Figs
12 of [144], which is a non linear feature. This time is always higher than 0.02 s.
The WLSE algorithm , tested when the input frequency is tracked (Figs. 6 and 7 of
[140]) presents a very quick response and good harmonic/noise rejection. However, its
frequency adaptation algorithm is very slow when compared with the NPSF one. In fact,
the frequency adaptation seems to be the main lack of the WLSE algorithm [108].
150
Va
Va
+
also contains
v1
Va
Va
+
is clean.
(b) Measurement with S2. v1
+
Figure 4.11: Comparative between S1 and S2 in terms of noise rejection. Ch1 is va1
,
max
Ch2 is va , Ch3 is vb , Ch4 is vc (voltages in p.u., 1 = 2 49.75 rad/s).
Va
Va
Va
Va
(a) Transient response of S1. The steady-state is (b) Transient response of S2. The steady-state is
reached in 0.01 s.
reached in 0.02 s. The settling time is doubled.
+
Figure 4.12: S1 Vs S2 in terms of transient response. Ch1 is va1
, Ch2 is va , Ch3 is vb ,
max
Ch4 is vc (voltages in p.u., 1 = 2 49 rad/s).
4.5 Conclusions
151
In general, it could be said that adaptive filtering based algorithms such as Kalman
based and WLSE have a trade-off between transient response and frequency adaptation,
as proved in [145]. The WLSE approach of [140] is in the extreme of very fast transient
response but with a very slow frequency adaptation.
From table 4.3, it is clear that S1 and S2 present very good dynamics and are suitable
for real time implementation with a high performance.
4.5
Conclusions
This chapter shows how the SRF-MAF systems can be made frequency adaptive by
means of predictive filters. The methodology developed to obtain FIR predictive filters is
contributed. Some interesting features of the proposal should be highlighted.
These features, bode well for the applicability of the algorithm in the control of grid
connected power converters, grid monitoring in distributed power generation systems, and
other applications where a fast and accurate on-line measurement of phase, frequency and
amplitude are mandatory.
Even though they were not developed or commented in the chapter, some interesting
points of this proposal should be also mentioned:
152
The theoretical approach to achieve the predictive filters is based on predictive FIR
filters. However, IIR all-pass filters with a more advantageous amplitude response
(unitary gain) and positive linear-phase could be developed. In return, this solution
has a longer transient response.
Chapter 5
Frequency Adaptive PR Current
Controller for APFs
Abstract
This chapter provides a novel approach in the implementation of Proportional+Resonant
current controllers, specially suitable for active power filters compensating for high order harmonics. The difference equation to implement each resonant controller has been obtained from
the impulse invariant discretization method; an explicit estimation of the grid-frequency deviation, which is obtained from a PLL, is employed to update online the current controller. The
method to update the difference equation, which is a proposal of this thesis, is based on a Taylor approximation which avoids explicit trigonometric functions. Technical details of the whole
discrete-time controller are provided in the chapter.
A 1 kVA rated lab prototype has been implemented and tested. Experimental tests show
how the system performs both in steady-state and under different transients. Perfect tracking
in steady-state for a wide range of grid-frequencies is achieved. Regarding transient response,
different tests were programmed such as load transients (change in the load), sudden and large
changes in the ac mains frequency (frequency steps) and strong source voltage faults (voltage
sags with phase-jump). Experimental results prove how the system is robust and fast responding
to all of these possible real operation faults.
153
154
5.1
Introduction
The issue of current control for power electronic converters connected to the grid is a
field of paramount interest at present [210217]. More specifically, schemes including resonant controllers to achieve perfect tracking/rejection in steady-state of periodic currents
have been proposed for all kind of power converter applications, such as active power filters (APFs) [119, 120, 210], distributed power generation systems (DPGSs) [2, 217219],
rectifiers [213, 220] and motor drives [36, 88, 221].
Among other resonant-based controllers, Proportional+Resonant (PR) current regulators are very interesting thanks to their potential high bandwidth [88, 120]. PR current
regulators can achieve perfect tracking for high order harmonics and also a fast transient
response. Another characteristic of PR current controllers is that they are suitable for
single-phase and three-phase applications: three-phase schemes, implemented in the
frame, provide perfect tracking both for positive and negative sequences [88, 120].
When comparing with other structures, PR current regulators have some interesting
features, specially when active filtering operation is considered; in sum:
Hysteresis current controllers are simple and achieve perfect tracking but, in general,
they have poor switching characteristics (variable switching frequency, maximum ontime). Linear regulators, as PR schemes, overcome these limitations by separating
the modulation and regulation functions [222].
Basic schemes based on linear regulators such as simple proportional and dead-beat
schemes do not achieve zero average steady-state error. In a general way, it can
be said that these kinds of controllers perform worse as higher is the harmonic
component to compensate [3]. PR current regulators seem to be a much better
alternative for APFs.
It has been demonstrated that PR current controllers can perform as the ones based
on Synchronous Reference Frame (SRF) [88]. Under the discrete implementation
point of view, PR controllers are an interesting alternative since Parks transformations are not needed [88, 120].
Lately, repetitive regulators based on the discrete cosine transform (DCT) have been
proposed as an alternative to PR controllers [219, 223]. There are more similarities
than differences when both schemes are compared [219]. However, the PR structure
has been chosen in this work due to the fact that its frequency adaptation is more
approachable, since less digital filter coefficients (taps) are involved.
Focusing the problem in PR current regulators for APFs, their open loop transfer
function should have resonant peaks at selected frequencies, as well as at the fundamental
one [119, 120]. The resonance at fundamental frequency provides perfect tracking at
5.1 Introduction
155
fundamental currents (i.e. for dc bus control) as well as total rejection to the fundamental
component of the grid voltage (disturbance) [119].
A practical problem of resonant filters, and hence in PR controllers, arises with gridfrequency deviations owing to their high selectivity; if not compensated, frequency variations cause that resonant peaks do not coincide with input wave frequencies and, therefore,
perfect tracking/rejection is not assured [88]. This problem may be specially critical in
isolated systems where ranges of operation within a range of 2 Hz, or higher, are
taken into account [224]. Indeed, the higher the frequency deviation, the lower the gain;
so, in practice, for so high non-compensated frequency deviations, a PR controller works
as a simple proportional one [88].
With regard to frequency adaptation of resonant controllers, it should be reminded
that there is no benefit to be gained in using damped resonant implementations [88].
Different works have proposed the use of phase locked loops (PLLs) to adapt repetitive and
resonant controllers (resonant peaks) to the grid frequency [2, 119, 218, 223]. A variable
sample rate repetitive controller, where the sampling frequency is driven by the PLL,
has been proposed in [223]. This solution could be approached for PR implementation.
However, the drawback of this option is that, depending on the discrete device, a variable
sample rate implementation could not be a trivial task. Another interesting proposal is
to decompose each resonant controller in two integrators and use the resonant frequency
as an input. The difference equation is updated online using the frequency estimation of
a PLL [2, 119, 218]. The problem of this approach is the fact that the two integrators
based implementation causes a significant displacement of the resonant poles, as proved
below. On the other hand, the maximum level of ripple from the PLL estimation was not
assessed in previous works.
In this chapter the discrete-time implementation of single-phase APF based on a novel
frequency adaptive PR current controller is approached. The APF performs a selective
harmonic cancellation of 3rd , 5th and 7th harmonics. The difference equation of each
resonant controller is obtained from the impulse invariant discretization method, which
provides an accurate placement of the resonant peaks. These difference equations are
updated online accordingly by means of the PLL estimation of the grid-frequency deviation. Experimental results show how the proposed APF achieves perfect tracking for a
big range of input frequencies as well as its robustness under different kinds of distorted
conditions. The maximum allowable level of ripple from the PLL frequency estimation
has been assessed experimentally.
156
5.2
Parameter
Value
vdc
220 V
vSrms
110 V
1 mF
ZF
LF + RF
LF
5 mH
RF
0.5
LS
50 H
fsw = fs
10 kHz
tcomp
12 s
Fig. 5.1 depicts the scheme of the lab prototype and its discrete controller. Table 5.1
shows the significant values of the hardware.
The power supply is composed of two programmable single-phase ac sources Chroma
61501 working in parallel. This configuration 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 filter impedance (ZF ). The whole load is composed of two
non-linear loads also connected to the PCC: an uncontrolled rectifier 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 filters in the Z-domain (neither ode solvers nor
continuous blocks). The sampling frequency (fs ) and IGBTs switching rate (fsw ) have
been set to 10 kHz; the sampling period Ts is defined as 1/fs . 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 tcomp 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 (vdc ). The proposed controller works as
follows.
157
vS
iS
LS
AC REGULATOR
iL
PCC
vPCC
VSC
vDC
vF ZF
UNCONTROLLED
RECTIFIER
iF
PWM
iL
vPCC
P+RESONANT
CURRENT
REGULATOR
vDC
PI
*
vDC
HARMONIC
EXTRACTION
sin( 1 )
PLL
X
iF
-
+
+
iF*
i1*
+
iLh*
158
VSC
I/O Interf
Non-linear
Load circuits
Box with
sensors (PCC)
PC with
dSPace
DS1104
Non-linear
Load circuits
AC Sources
connected
in parallel
159
MAF2
2 3
vPCC ( p.u.)
1e
PI
cos(1 )
sin( )
1
MAF1
cos(u)
+ +
1n
2 53
2 47
sin(u)
5.3
A single-phase PLL has been implemented to track online the phase-angle (1 ) and
frequency (1 ) of vP CC fundamental component. Fig. 5.3 shows the PLL block diagram.
It uses a multiplier as phase detector. The loop filter is composed of a proportional
integrator (PI) controller and a moving average filter (MAF1), for which the equivalent
transfer functions are
C(z)P I =
c1 c0 z 1
1 z 1
(5.1)
and
1 1 z n
,
(5.2)
n 1 z 1
respectively. The PI controller assures that 1 and 1 are tracked with zero average
steady-state error, even though 1 6= 1n [78, 112114]. A second MAF (MAF2) with
the same transfer function as C(z)M AF 1 can be placed before
1 estimation in order to
control the
1 ripple.
C(z)M AF 1 =
160
Parameter
Value
c1
c0
1.995
n (MAF1)
100
n (MAF2)
100
100
Magnitude (dB)
50
0
-50
-100
-150
-200
Phase (deg)
-90
-135
PM=31 deg
-180
-225
-270
-1
10
28
100
Frequency (Hz)
1000
10000
5.3.1
PLL Tuning
PLLs have a trade-off between transient response and filtering: the higher the bandwidth 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 affect
to the whole controller performance [112114].
Fig. 5.4 shows the open loop frequency response of the linear PLL. The values of the
coefficients 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 vSrms is
not expected, so stability is assured with this PM [112114].
161
iF*-iF
Ts z 1
1 z -1
Ts
1 z -1
output
12
Backward
Euler
From Fig. 5.4, when 1 = 1n , thanks to MAF1 all the harmonics, including the
second one, are canceled. However, when 1 6= 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 filter
in order to reduce jittering. Instead of it, harmonic ripple effect in PR current controllers
is studied. In this work, control over ripple has been achieved by placing/removing MAF2.
5.4
5.4.1
PR Current Controller
Resonant Controllers Implementation
Resonant filters are undamped GIs which can be implemented as two linked integrators [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 integrator 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:
z 1 z 2
.
Rtwo (z) = Ts
1 + z 1 (12 Ts2 2) + z 2
(5.3)
It can be checked that to discretize the two integrators separately results in a displacement of the resonant peaks from the expected values. However, the linear dependence of
the different equation on 12 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
Rii (z) = Ts
1 z 1 cos(1 Ts )
.
1 2z 1 cos(1 Ts ) + z 2
(5.4)
This method results much more accurate, as shown in Fig. 5.6. Its drawback appears 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 significant for higher harmonics. Rii (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. Ts
is a constant term so it can be included in each Kh .
C(z) = KP +
KRh Ts
h=1,3,5,7
1 z 1 cos(h 1 Ts )
=
1 2 z 1 cos(h 1 Ts ) + z 2
1 z 1 cos(h 1 Ts )
KP +
KRh
.
1 2 z 1 cos(h 1 Ts ) + z 2
h=1,3,5,7
(5.5)
5.4.2
1 z 1 (cos(h 1n Ts ) h
1 Ts sin(h 1n Ts ))
.
C(z) = KP +
KRh
1
1 2 z (cos(h 1n Ts ) h
1 Ts sin(h 1n Ts )) + z 2
h=1,3,5,7
(5.6)
X
Fig. 5.7 shows the implementation block for each resonant controller. Block diagram
163
Hz
100
200
300
400
500
600
Hz
Figure 5.6: Comparative of the error induced by different implementations (fs = 10 kHz).
iF*-iF
KRh
+
+
-
ah
Z-1
Z-1
bh
++
+
-
To adder
2
Precalculated constants:
ah = cos(hw1nTs)
bh = sin(hw1nTs)
1
(From PLL)
hTs
5.4.2.1
As explained, when
1 6= 0 the resonant peak is moved to the estimated frequency;
i.e. Fig. 5.9 shows the effect of the frequency correction around the 3rd harmonic resonant
peak. It could be said that when the peak is well centered the PR is working as an ideal
resonant controller (infinite gain), but in other case the performance tends to approach
164
Hz
0.35
Fundamental
3rd harmonic
5th harmonic
7th harmonic
0.25
0.15
0.05
-1.5
-0.5
0.5
1.5
Hz
90
1<0
80
1>0
70
60
50
40
30
Proportional
controller
Resonant
controller
Proportional
controller
Phase (deg)
20
45
0
-45
-90
-135
-180
149.8
149.9
150.1
150.2
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 figure could be considered a subjective issue. The idea is to show how
a practical very high gain is sought with frequency adaptation.
1 +
1 ,
1 =
(5.7)
1 and
1 are the average value and an oscillating term associated with jittering,
where
respectively.
1 is tracking perfectly, that is,
From Fig. 5.9, the best performance occurs when
1 = 0 (no jittering). The first condition is
the resonant peak is well centered, and
easily performed by any PLL, but the second one is more complicated, specially under
165
+-
C ( z)
G (z )
iF
iF
5.4.3
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 filter inductance discrete-time model (G(z)) should be obtained
through the ZOH method, as follows [3, 226]:
G(s) =
1 1 eRf Ts /Lf
1
ZOH
G(z) =
.
sLF + RF
Rf z eRf Ts /Lf
(5.8)
The effect 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 disturbance rejection) of currents for which frequency C(z) P (z) has infinite 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 iF 1
(vdc control) and vP CC fundamental rejection, and the other three ones to provide perfect
166
^1
KP
Res.1st
Res.3rd
Res.5th
Res.7th
(From PLL)
Parameter
Value
KP
25
KR1
0.1
KR3
0.1
KR5
0.1
KR7
0.1
167
Magnitude (dB)
100
80
60
40
20
0
-20
180
Phase (deg)
135
90
45
0
-45
-90
-135
-180
10
PM=46 deg.
100
800 1000
Frequency (Hz)
5.5
Experimental Results
Different tests have been carried out to show how the APF performs both in steadystate and under transients.
Fig. 5.13 shows experimental results obtained from steady-state operation when an
input frequency sweep has been carried out. Oscilloscope figures show results at nominal (50 Hz) and very shifted (48 Hz) frequencies; system currents and vP CC are displayed.
It should be noticed that iL spectrum varies slightly with the frequency due to load reactances. Fig. 5.13g depicts a table with all the results of the input frequency sweep. These
results prove that the 3rd , 5th and 7th harmonics of iL are not present in iS . Therefore,
perfect tracking of the APF harmonic reference is achieved. The fundamental component
of iS is slightly higher than iL1 , since vdc should be maintained.
Fig. 5.14 shows experimental results when there is a load transient. Initially only the
uncontrolled rectifier 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 affects to dynamics [148].
Fig. 5.15 illustrates the APF response when there is a sudden step in f1 . 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
(a) Steady-state currents and voltage at the (b) Fourier spectra of iL in (c) Fourier spectra of iS in
PCC when f1 = 50 Hz.
Fig. 5.13a (Ch1).
Fig. 5.13a (Ch3).
(d) Steady-state currents and voltage at the (e) Fourier spectra of iL in (f) Fourier spectra of iS in
PCC when f1 = 48 Hz.
Fig. 5.13d (Ch1).
Fig. 5.13d (Ch3).
48 Hz
49 Hz
50 Hz
51 Hz
52 Hz
iL
iS
iL
iS
iL
iS
iL
iS
iL
iS
3.02 A
3.2 A
2.96 A
3.13 A
2.87 A
3A
2.79 A
2.94 A
2.71 A
2.87 A
886 mA
30 mA
874 mA
10 mA
856 mA
4 mA
826 mA
14 mA
738 mA
25 mA
223 mA
8 mA
206 mA
5 mA
199 mA
4 mA
190 mA
6 mA
186 mA
9 mA
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 different frequencies.
Figure 5.13: Steady-state currents and vP CC for different input frequencies. Ch1 is iL ,
Ch2 is iF , Ch3 is iS and Ch4 is vP CC .
169
Figure 5.14: Transient response when there is a load change. Ch1 is iL , Ch2 is iF , Ch3 is
iS and Ch4 is vP CC .
Figure 5.15: Transient response when there is a frequency step in f1 from 48 Hz to 52 Hz.
Ch1 is iL , Ch2 is iF , Ch3 is iS and Ch4 is vP CC .
to the oscilloscope external trigger. Again, it is noticeable the change in iL 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
1 oscillates 1 Hz around
1 . This result is very interesting,
oscillating term
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.
1 = 0, that is, a PR without frequency
Another test has been made considering
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 0 (z) = KP . Therefore,
the PR controller without frequency adaptation behaves equal that a simple proportional
regulator.
170
Figure 5.16: Transient response when there is a frequency step in f1 : from 52 Hz to 48 Hz.
Ch1 is iL , Ch2 is
1 (scale at 23 rad/div), Ch3 is iS and Ch4 is vP CC .
Figure 5.17: Transient response when there is a frequency step in f1 from 48 Hz to 52 Hz.
Effect of ripple of 1 Hz in
1 . Ch1 is iL , Ch2 is 1 (scale at 23 rad/div), Ch3
is iS and Ch4 is vP CC .
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 vP CC (programmed in vS ). 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 affects to the extraction algorithm [148].
171
(a) Steady-state currents and voltage at the (b) Fourier spectra of iL (c) Fourier spectra of iS
PCC when f1 = 48 Hz.
(Ch1 of Fig. 5.18a).
(Ch3 of Fig. 5.18a).
48 Hz
49 Hz
50 Hz
51 Hz
52 Hz
3.14 A
3.08 A
3.02 A
2.90 A
2.85 A
349 mA
282 mA
4 mA
297 mA
320 mA
71 mA
60 mA
4 mA
73 mA
81 mA
56 mA
38 mA
3 mA
29 mA
32 mA
Figure 5.19: Transient response when there is a voltage sag (1 p.u. 0.8 p.u.) with phaseangle jump of +45 deg in vP CC (vS ). Ch1 is iL , Ch2 is 1 (scale at 23 rad/div), Ch3
is iS and Ch4 is vP CC .
172
5.6
Conclusions
Chapter 6
Conclusion and Future Work
6.1
Conclusion
This dissertation addresses the issue of grid-synchronization for power electronics converters. Its main contributions and conclusions are summarized below.
174
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 chapter 2, are detailed in [148]. This paper focuses more in extraction for active power
filters 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 filters, 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:
Appendix A
Matlab Scripts
175
176
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
end
% Visualize values
% PLOT CURRENTS
177
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
55
56
Figure A.2: PLO system Matlab script. Function file (page 1 of 2).
178
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110 end
phaseVCO>=2*pi
end
while
phaseVCO<0
end
% Set of Bcd as function of VCO phase (switching functions)
if phaseVCO<=pi/3
end
if phaseVCO>pi/3 && phaseVCO<=2*pi/3
end
if phaseVCO>2*pi/3 && phaseVCO<=pi
end
if phaseVCO>pi && phaseVCO<=4*pi/3
end
if phaseVCO>4*pi/3 && phaseVCO<=5*pi/3
end
if phaseVCO>5*pi/3
end
% Save output current vector
% Save Vd voltage
% Save line to neutral voltages
% Grid phase update
% VCO phase update
Figure A.3: PLO system Matlab script. Function file (page 2 of 2).
179
16/03/09 16:29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
1 of 2
180
29/12/08 14:13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
1 of 1
clear all;
t=1e-4:1e-4:0.1;
w1n=2*pi*50; % Kalman filter frequency = Nominal frequency.
w1=2*pi*50; % Fundamental frequency of the input wave.
% Sinusoidal input
% v=sin(w0i*t-pi/4);
% Non sinusoidal input (harmonics)
v=sin(w1*t-pi/4)+0.11*sin(3*w1*t)+0.08*sin(5*w1*t);
% Voltage Sag with pi/4 phase jump
% v=-sin(w0i*t(1:500));
% v=[v -0.5*sin(w0i*t(501:1000)-pi/4)];
%add white noise to the input
% noise=[];
% for i=1:1:1e3
%
noise=[noise;randn*0.05];
% end
% v=v+noise';
xhat=[0;0];
M=[cos(w1n*1e-4) sin(w1n*1e-4);-sin(w1n*1e-4) cos(w1n*1e-4)];
H=[1 0];
p=100;
P=[p 0; 0 p]; % Set P(0).
q=0.001;
Q=[q 0; 0 q]; % States covariance Matrix. High q ==> high K.
R=5; % Measurement covariance. High R ==> low K.
x=[];
phase=[];
for i=1:1:1e3
% Innovation
Inn = v(i) - H * xhat;
% Covariance of Innovation
s = H * P * H' + R;
% Gain matrix.
K = M * P * H' * inv(s);
% State estimate
xhat = M * xhat + K * Inn;
% Covariance of prediction error
P = M * P * M' + Q - M * P * H' * inv(s) * H * P * M';
%Save values
x=[x xhat];
phase=[phase atan2(xhat(1),xhat(2))];
end
plot(t,v,t,x);
figure;
plot(t,phase);
Figure A.5: Matlab script of the Kalman Filter Single-phase synchronization example.
181
29/12/08 14:14
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1 of 1
182
21/04/08 16:46
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
clear all;
Ts=1e-4; % Sampling time (= 1/fs).
Tfinal=0.8; % Time for the simulation.
t=0:Ts:Tfinal; % time vector.
wn=2*pi*50; % Nominal frequency.
Mysin=[0;0]; % Initialize Mysin.
Mycos=[0;0.99]; % Initialize Mycos.
ypd=[0;0]; % Initialize PD output.
ylf=[0;0]; % Initialize LF output.
ynotch=[0;0]; % Initialize notch filter output.
theta=[0;0]; % Initialize phase angle
% Create INPUT WAVE for SIMULATION
wu=2*pi*50.3; % Input wave frequency
u=sin(wu*t+pi); % Input wave definition
% SIMULATE THE PROCESS
for n = 2:Tfinal/Ts % Number ot iterations
ypd(n+1)=u(n)*Mycos(n); % Phase Detector (Q15)
% Notch Filter (Q15)
%ynotch(n+1)=ypd(n+1);
ynotch(n+1)=1.94*ynotch(n)-0.944*ynotch(n-1)+...
0.972*ypd(n+1)-1.94*ypd(n)+0.972*ypd(n-1);
% Loop Filter Q(8)
ylf(n+1)=(1*ylf(n)+250*ynotch(n+1)-247.8*ynotch(n));
% Limit LF according to its Q8 size pipeline
ylf(n+1)=max([ylf(n+1) -128]);
ylf(n+1)=min([ylf(n+1) 128]);
% Update Output frequency and compensate 1/2 (Q6)
wo=wn+2*ylf(n+1);
% Integration process (digital oscillation)
Mysin(n+1)=Mysin(n)+wo*Ts*(Mycos(n));
%(Q15)
Mycos(n+1)=Mycos(n)-wo*Ts*(Mysin(n));
%(Q15)
% Limit the oscillator integrators
Mysin(n+1)=max([Mysin(n+1) -0.99]);
Mysin(n+1)=min([Mysin(n+1) 0.99]);
Mycos(n+1)=max([Mycos(n+1) -0.99]);
Mycos(n+1)=min([Mycos(n+1) 0.99]);
% Update the output phase (Q12)
theta(n+1)=theta(n)+wo*Ts;
% Output phase reset condition
if Mysin(n)>=0 && Mysin(n+1)<=0
theta(n+1)=-pi;
end
end
plot(t,u,t,Mysin,t,theta); % Plot experimental results
Figure A.7: Matlab script of the single-phase PLL with RC-Oscillator based DCO.
1 of 1
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 structure 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 Applications to Power Conditioning, M. E. El-Hawari, Ed. Wiley-IEEE Press, 2007.
[4] C. Budeanu, Puissances reactives et fictives, in Instytut Romain de lEnergie.
Bucharest, Romania., vol. -, 1927, pp. .
[5] S. Fryze, Wirk-, blind- und scheinleistung in elektrischen stromkreisen mit nichtsinusfrmigem 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 filters 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 filter and passive filters for harmonics, unbalances and flicker 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 filters in three-phase four-wire systems, IEEE
Transactions on Power Electronics, vol. 22, no. 1, pp. 229236, Jan. 2007.
183
184
REFERENCES
REFERENCES
185
http:
[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 interrupions., 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 voltagesource 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 threephase 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 rectifier, 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 synchronousreference-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 rectifiers 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 filter 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 filters, IEEE Transactions on Power Electronics, vol. 15, no. 4, pp. 660669, Jul. 2000.
[44] D. N. Zmood, A systematic development of improved linear regulators for sinusoidal power converters, Ph.D. dissertation, Department of Electrical and Computer 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 filter, 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
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 Transactions 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 Industrial 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 Electronics 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
digitalfiltering, IEEE Transactions on Industrial Electronics, vol. 42, no. 1, pp. 58
62, Feb. 1995.
[71] J. Galloway, Harmonic instability in phase controlled rectifiers, 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 refined 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 firing 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 Transactions on Industrial Electronics, vol. 43, no. 6, pp. 609615, Dec. 1996.
REFERENCES
189
190
REFERENCES
[90] T. Ahmed, K. Nishida, and M. Nakaoka., A novel stand-alone induction generator 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 framebased control of three-phase PWM boost rectifiers 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 filters,
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 adaptive control for UPS to compensate unbalance and harmonic distortion using a combined 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 controller 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 unified 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 compensator, 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 positivesequence 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.
REFERENCES
193
[123] P. Rodriguez, R. Teodorescu, I. Candela, A. V. Timbus, M. Liserre, and F. Blaabjerg, New positive-sequence voltage detector for grid synchronization of power converters 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 connected systems, 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. 26552660.
[130] S. M. Silva, B. M. Lopes, B. J. C. Filho, R. P. Campana, and W. C. Bosventura, 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 structure 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, Offset rejection for PLL based
synchronization in grid-connected converters, in Applied Power Electronics Conference 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
REFERENCES
195
[147] F. D. Freijedo, J. Doval-Gandoy, O. Lopez, and E. Acha, A generic open-loop algorithm for three-phase grid voltage/current synchronization with particular reference
to phase, frequency, and amplitude estimation, IEEE Transactions on Power Electronics, 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 filters, 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 identification algorithm based on fourier correlation
and moving average filtering, 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 identification methods based on moving average filters for active power filters, 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 parameters 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 filter 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 series 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 synchronization 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 filter, 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 filter 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 filter, IEEE Transactions on Power Electronics,
vol. 19, no. 4, pp. 10601068, Jul. 2004.
[164] , Reply to "concerning odd-harmonic digital repetitive control of a singlephase current active filter", 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 oddharmonic 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 filters 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 selectablefixedcoefficient filters, IEEE Transactions on Circuits and Systems II: Analog and Digital Signal Processing, vol. 46, no. 2, pp. 211216, Feb. 1999.
[169] , Compact recursive structures for discrete cosine transform, IEEE Transactions 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, Efficient 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 filtering and prediction problems, Transactions on ASME, Journal of Basic Engineering, vol. 82, pp. 3345, 1960.
[172] B. Widrow and M. E. Hoff, Adaptive switching circuits, in IRE WESCON Convention Records, 1960.
REFERENCES
197
198
REFERENCES
REFERENCES
199
200
REFERENCES
REFERENCES
201