Beruflich Dokumente
Kultur Dokumente
4, APRIL 2012
Abstract—An adaptive phase-locked loop (PLL) structure is pro- [10]. The adaptive notch filter (ANF) and second-order gener-
posed which offers fast and smooth tracking of phase-angle jumps. alized integrator frequency-locked loop (SOGI-FLL) constitute
Correlatively, it offers soft startup stage and avoids undesired fre- another breed of methods that have lately been developed for
quency swings caused by phase jumps. The adaptive mechanism
adjusts the gain of frequency estimation loop in order to mitigate applications similar to PLL [11]–[15]. These methods are based
large transients of frequency during sudden phase angle varia- on estimating the frequency and using it to adjust the center
tions. This reduces the coupling of phase and frequency variables frequency of a linear band-pass filter.
and allows tremendously faster and smoother estimation of both A particular advantage of the filter-based methods such as
variables. The proposed adaptive mechanism can be applied to ANF and SOGI-FLL is in avoiding sine and cosine calculations
different PLL and adaptive notch-filter systems three of which
including the enhanced PLL (EPLL), the synchronous reference if only a synchronizing signal is required.1 They, however, need
frame PLL (SRF-PLL), and the second order generalized integra- to compute square-root and inverse tangent operation in cases
tor frequency-locked loop (SOGI-FLL) are studied in this paper. where the amplitude and phase angle are required. One major
Index Terms—EPLL, frequency estimation, phase estimation, advantage of the EPLL (or generally all PLL systems which use
phase jumps, phase-locked loop, PLL startup, PLL transient re- a VCO or sine–cosine calculation) over ANF and SOGI-FLL
sponse, SOGI-FLL, SRF-PLL, synchronization. type algorithms is, that it provides a stable synchronizing signal
(with unity magnitude) at the VCO output. The amplitude of this
signal is independent from the input signal variations and it can
I. INTRODUCTION supply a free-running stable oscillation by simply disconnecting
HASE-LOCKED loop (PLL) techniques and adaptive fil- the frequency loop when the input signal is unavailable or is in
P tering methods have enjoyed continuously increasing inter-
est in various areas of power system. The synchronous reference
an abnormal situation [17].
In most power system applications, especially those involving
frame (SRF) PLL has widely been used for three-phase applica- synchronization, the phase angle information is of critical sig-
tions including grid synchronization and autonomous operation nificance. This variable may experience smooth and also abrupt
of power electronic inverters [1], [2]. An improved version of the changes due to system conditions, such as faults. The frequency
SRF-PLL to prevent the double-frequency errors caused by the has a stable nature in the sense that it is more of a global vari-
negative sequence is presented in [3]. A more advanced structure able and its abrupt changes are not expected in a power system
is introduced in [4] that takes full account of unbalanced situ- with mass rotating machines. In PLL techniques, however, the
ations and, in addition to synchronization signal(s), estimates phase and frequency are both estimated within a single loop.
multiple number of signal parameters. Structural improvements This causes spurious frequency transients during phase angle
of different PLL systems in order to cope with harmonic distor- changes. Such transients reflect back on the phase variable and
tions are also reported in the literature [5]–[7]. The PLL used for cause delay in the process of phase estimation and synchro-
grid synchronization of distributed generation systems is also nization. The same phenomenon can also happen at the startup
modified to achieve islanding detection [8], [9]. operation of the PLL if the initial phase angle of the signal (of-
On the single-phase level, the enhanced PLL (EPLL) has ten unknown) happens to be distant from the initial value of
found wide acceptance due to its simple structure, robust perfor- the PLL phase integrator. This is a well-known problem and is
mance, and its ability to estimate signal parameters directly [7], mentioned in various references such as [1], [13], [18], [19].
In this paper, we present an adaptive strategy to address the
aforementioned problem. This method is based on adaptively
adjusting the gain of the frequency estimation loop in order
to minimize the false frequency transients during phase angle
Manuscript received March 23, 2011; revised July 18, 2011; accepted Au-
gust 31, 2011. Date of current version February 20, 2012. Recommended for jumps and also in the startup stage. Tremendous improvement
publication by Associate Editor J. A. Pomilio. in decreasing the undesired frequency transients, the undesired
M. K. Ghartemani is with the Department of Electrical and Computer Engi- phase oscillations, and increasing the speed of the phase angle
neering, Mississippi State University, USA, (e-mail: karimi@ece.msstate.edu).
S. A. Khajehoddin, P. K. Jain, and A. Bakshai are with the Department of estimation is obtained. The proposed adaptive structure has a
Electrical and Computer Engineering, Queen’s University, Kingston, Ontario, general form and is applicable to most PLL and adaptive filtering
Canada (e-mail: s.ali.khajehoddin@queensu.ca; praveen.jain@queensu.ca; methods similar in nature. We, however, primarily describe the
alireza.bakhshai@queensu.ca).
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. 1 When large variations of frequency exist, an ANF or SOGI-FLL will require
Digital Object Identifier 10.1109/TPEL.2011.2169089 calculation of trigonometric functions when they are implemented digitally [16].
method in the context of EPLL and then apply it to the SRF-PLL Fig. 2. EPLL startup performance for initial signal values of: Amp. = 1,
Freq. = 60 Hz, and Phase = 10 deg. Initial conditions of the EPLL are set to
and SOGI-FLL as well. Experimental results obtained from a nominal values, i.e., Amp. = 1, Freq. = 60 Hz, and Phase = 0.
digital fixed-point implementation of the EPLL system on an
FPGA platform are also presented.
The paper is organized as follows. An overview of the EPLL respectively. To avoid this problem, the phase/frequency loop
system is given in Section II. The problem of phase/frequency equations may be modified as follows:
coupling and the undesired effects that it may cause are de-
Δ̇ω = μ2 Ae cosφ
scribed in Section III. The proposed adaptive method is pre- (3)
sented in Section IV, where its application to the EPLL system φ̇ = ωo + Δω + μ3 Ae cosφ.
is also studied. The proposed method is applied to SRF-PLL and In this paper, we use the following setting of parameters:
SOGI-FLL in Sections V and VI. Simulation results of each al-
gorithm are included in its corresponding section. Experimental μ2
μ1 = μ3 = μ = Kωo , μ2 = (4)
results of the EPLL system are presented in Section VII. Con- 8
clusions are stated in Section VIII. that is achieved by selecting a damping ratio of unity for
the phase/frequency transfer function. Then the whole system
II. OVERVIEW OF EPLL is controlled by a single gain K. Smaller K corresponds to
slower/smoother responses while larger K generates faster re-
In the EPLL block diagram, shown in Fig. 1, u is the input
sponses but with possibly larger oscillations. The recommended
√
signal, y is its estimated fundamental component, and the triplet
range is 0.5 ≤ K ≤ 1.5, and we have selected K = 2 for the
(A, ω, φ) is amplitude, frequency, and phase angle respectively,
simulations in this paper.
of that component. The constant ωo is the signal nominal fre-
quency.
Mathematically, the EPLL is described by three differential III. COUPLING OF PHASE AND FREQUENCY VARIABLES
equations The phase and frequency variables are combined and are es-
⎧ timated together in the PLL systems including the EPLL. The
⎪ Ȧ = μ1 e sinφ
⎨ phase angle can locally experience abrupt changes in a power
Δ̇ω = μ2 e cosφ (1) system due to system faults, for instance. The frequency, how-
⎪
⎩ ever, is more of a global quantity and cannot change quickly
φ̇ = ωo + Δω + μ3 e cosφ
due to the masses of rotating machines. A PLL, however, by
where e = u − y is called the error signal and the μi are coupling the phase and frequency variables, translates abrupt
the EPLL gains and they are positive numbers. An approxi- and sudden phase changes into fast and large transients of fre-
mate linear analysis of (1) reveals that the amplitude and the quency. Such a misleading behavior may also happen at the
phase/frequency estimation loops are governed by the transfer startup operation of a PLL where the initial phase angle of the
functions input signal is unknown to the PLL.
μ1 μ3 Ao μ2 Ao To see this phenomenon, Figs. 2 and 3 show the startup EPLL
2 2 s+ 2
GA (s) = μ1 , Gω φ (s) = (2) performance when the initial phase angle of the input signal is
s+ 2 s2 + μ 32A o s + μ 22A o
10 deg and 130 deg, respectively. In the first case, the estimated
where Ao is the input signal amplitude. The dependence of frequency exhibits a peak of about 61.5 Hz and in the second
the transient response of the phase/frequency loop on the input case it goes up to about 80 Hz. The responses reach the steady
signal amplitude is not a major problem in most applications. state within about two cycles of the signal in the first case while
However, it may cause sluggish or oscillatory responses in cases it takes as long as approximately four cycles to reach the steady
where the input signal amplitude becomes too small or too large, state in the second case.
1832 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 27, NO. 4, APRIL 2012
Fig. 3. EPLL startup performance for initial signal values of: Amp. = 1, Fig. 5. ”Averaged” settling-time of the EPLL responses versus the EPLL
Freq. = 60 Hz, and Phase = 130 deg. Initial conditions of the EPLL are set to parameter μ. Average is taken over all possible phase jumps in the period of
nominal values, i.e., Amp. = 1, Freq. = 60 Hz, and Phase = 0. −180 to 180 degrees.
the amplitude settling times are very much similar to that of the
phase angle.
In order to study the impact of K (or μ) on these numbers,
Fig. 5 shows the “averaged” settling time of these variables over
a 360 deg period of phase angle jump and for 200 ≤ μ ≤ 600.
Increasing μ speeds up the responses. For a value of μ = Kωo =
533, the averaged settling time of the phase angle is about 40 ms
and that of the frequency is about 70 ms. This is chiefly due to
the large oscillations of frequency when the phase angle jump
is big.
Fig. 6. Startup performance of the proposed adaptive EPLL for initial signal
values of: Amp. = 1, Freq. = 60 Hz, and Phase = 130 deg. Initial conditions of Fig. 8. “Averaged” settling-time of the proposed adaptive EPLL responses
the EPLL are set to nominal values, i.e., Amp. = 1, Freq. = 60 Hz, and Phase versus the gain μ. Average is taken over all possible phase jumps in the period
= 0. (Compare to Fig. 3.) of -180 to 1800 degrees. (Compare to Fig. 5.)
Fig. 7. (Top) Settling-time of proposed adaptive EPLL responses versus the Fig. 9. (Top) Settling-time of conventional EPLL responses versus the per-
initial phase (or phase jump). (Bottom) Maximum and minimum peak values of centage amplitude jump. (Bottom) Maximum and minimum peak values of the
the estimated frequency (during the transient interval) versus the phase jump. estimated frequency (during the transient interval) versus the amplitude jump.
(Compare to Fig. 4.)
Fig. 10. (Top) Settling-time of proposed adaptive EPLL responses versus the
percentage amplitude jump. (Bottom) Maximum and minimum peak values Fig. 12. Variance of the error signal versus the variance of input noise for the
of the estimated frequency (during the transient interval) versus the amplitude conventional EPLL and the proposed adaptive EPLL with λ = 100.
jump. (Compare to Fig. 9.)
Fig. 14. Performance of the conventional SRF-PLL (blue) and adaptive SRF-
PLL (green) against a phase jump of 60 degrees. (Top) Phase angle error. Fig. 15. Settling times of the conventional SRF-PLL (blue) and adaptive
(Bottom) Estimated frequency. SRF-PLL (green) versus the input phase jump. (Top) Phase angle settling time.
(Bottom) Frequency settling time.
1 vd2 + vq2
v = . (6)
1 + λ( Aq )2 vd2 + vq2 + λvq2
of time and Ts = 1/Fs is the sampling period. Assume also Fig. 21. Experimental results of the conventional EPLL showing its startup
that A[n − 1], Δω[n − 1] and φ[n − 1] are the EPLL variables operation at an initial phase angle of 2.3 rad.
computed at the previous time instant. The current values for
these variables can be computed using the incoming value of
input sample u[n] as follows:
y[n] = A[n − 1] sin(φ[n − 1]) (9)
e[n] = u[n] − y[n]. (10)
A[n] = A[n − 1] + μ1 Ts e[n] sin(φ[n − 1]) (11)
Δω[n] = Δω[n − 1] + μ2 Ts e[n] cos(φ[n − 1]) (12)
φ[n] = φ[n − 1] + ωo Ts + Δω[n]Ts
+ μ3 Ts e[n] cos(φ[n − 1]). (13)
If the amplitude-independent equations of (2) are used, the dis-
crete time versions are
e[n] Fig. 22. Experimental results of the proposed EPLL showing its startup oper-
Δω[n] = Δω[n − 1] + μ2 Ts cos(φ[n − 1]) (14) ation at an initial phase angle of 2.3 rad.
A[n]
φ[n] = φ[n − 1] + ωo Ts + Δω[n]Ts
loop (PLL) and adaptive filter structures against abrupt phase
e[n]
+ μ3 Ts cos(φ[n − 1]). (15) angle jumps. This also covers the start-up transient of those
A[n]
systems where the initial phase angle of the input signal is un-
The block diagram representation of digital EPLL equations known. The proposed adaptive mechanism improves the speed
is shown in Fig. 20 where the operator z −1 shows one sample of the system responses and increases the smoothness of the es-
delay. The adaptive rule (5) is also implemented for the proposed timated variables during transients. In particularly, excessively
EPLL. large oscillations of the estimated frequency during frequency
Both the conventional EPLL and the proposed EPLL start at jumps are significantly mitigated. The proposed adaptive mech-
a time corresponding to an identical phase angle of the input anism has a general structure and is applicable to a wide range
signal. This phase angle is about 2.3 rad. The initial values of all of different single-phase and three-phase PLL and adaptive fil-
integrators in the conventional and proposed EPLLs are set to ter structures. Three of those structures are studied in this paper
zero. Responses of the conventional EPLL and those of the pro- including the EPLL, the SRF-PLL, and the SOGI-FLL. The pro-
posed EPLL are shown in Figs. 21 and 22, respectively. Traces of posed adaptive mechanism involves a division operation within
input signal u, the error signal e, the estimated amplitude A, and the frequency loop. This adds to the numerical complexity of
the estimated frequency Δω are shown. It is observed that the the structure but the improvement achieved is well worth the
conventional EPLL exhibits long transient time with large devi- additional computations.
ations in the estimated frequency. The proposed EPLL succeeds
in providing a much faster response with no visible deviation in REFERENCES
the frequency.
[1] S. Chung, “A phase tracking system for three phase utility interface in-
verters,” IEEE Trans. Power Electron., vol. 15, no. 3, p. 431, May 2000.
VIII. CONCLUSION [2] D. Jovcic, “Phase locked loop system for FACTS,” IEEE Trans. Power
Syst., vol. 18, no. 3, pp. 1116–1124, Aug. 2003.
A novel adaptive mechanism is introduced in this paper in or- [3] P. Rodriguez, J. Pou, J. Bergas, J. Candela, R. Burgos, and D. Boroye-
der to improve the transient responses of various phase-locked vich, “Decoupled double synchronous reference frame PLL for power
1838 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 27, NO. 4, APRIL 2012
converters control,” IEEE Trans. Power Electron., vol. 22, no. 2, pp. 584– Sayed Ali Khajehoddin (S’04–M’10) received
592, Mar. 2007. the B.Sc. and M.Sc. degrees in electrical engineer-
[4] M. Karimi-Ghartemani and H. Karimi, “Processing of Symmetrical Com- ing from Isfahan University of Technology, Iran, in
ponents in Time-Domain,” IEEE Trans. Power Syst., vol. 22, no. 2, Sept. 1997 and June 2000, respectively, and the Ph.D.
pp. 572–579, May 2007. degree in power electronics from Queens University,
[5] Y. F. Wang and Y. W. Li, “Analysis and digital implementation of cascaded Kingston, ON, Canada, in April 2010.
delayed-signal-cancellation PLL,” IEEE Trans. Power Electron., vol. 26, After completing his Masters, he established a
no. 4, pp. 1067–1080, Apr. 2011. company where he developed and produced digital
[6] F. Freijedo, A. Yepes, O. López, A. Vidal, and J. Doval-Gandoy, “Three- meters and high-tech power system analyzers for five
phase PLLs with fast postfault retracking and steady-state rejection of years. For his doctoral research at Queens Univer-
voltage unbalance and harmonics by means of lead compensation,” IEEE sity, he worked on the design and implementation
Trans. Power Electron., vol. 26, no. 1, pp. 85–97, Jan. 2011. of compact and durable microinverters for photovoltaic (PV) grid connected
[7] M. Karimi-Ghartemani, “A distortion-free phase-locked loop system for systems. Since 2010, he has been at SPARQ systems Inc. working toward
facts and power electronic controllers,” Electr. Power Syst. Res., vol. 77, mass-production and commercialization of microinverters. He has filed four
no. 8, pp. 1095–1100, Jun. 2007. patents and was awarded several scholarships, including the MITACS Industrial
[8] D. Velasco, C. Trujillo, G. Garcera, and E. Figueres, “An active antiis- Postdoctoral Fellowship and the Ontario Graduate Scholarship. His research in-
landing method based on phase-PLL perturbation,” IEEE Trans. Power terests include power electronics, control systems, power quality, and renewable
Electron., vol. 26, no. 4, pp. 1056–1066, Apr. 2011. energy systems—mainly PV systems.
[9] M. Ciobotaru, V. Agelidis, R. Teodorescu, and F. Blaabjerg, “Accurate
and less-disturbing active antiislanding method based on PLL for grid-
connected converters,” IEEE Trans. Power Electron., vol. 25, no. 6,
pp. 1576–1584, Jun. 2010.
[10] M. Karimi-Ghartemani and M. Iravani, “A nonlinear adaptive filter for
online signal analysis in power systems: Applications,” IEEE Power Eng.
Rev., vol. 22, no. 1, pp. 72–72, Apr. 2002.
[11] M. Mojiri, M. Karimi-Ghartemani, and A. Bakhshai, “Estimation of power Praveen K. Jain (S’86–M’88–SM’91–F’02) re-
system frequency using an adaptive notch filter,” IEEE Trans. Instrum. ceived the B.E. degree (with honors) from the Univer-
Meas., vol. 56, no. 6, pp. 2470–2477, Dec. 2007. sity of Allahabad, India, and the M.A.Sc. and Ph.D.
[12] D. Yazdani, M. Mojiri, A. Bakhshai, and G. Joos, “A fast and accurate degrees from the University of Toronto, Canada. in
synchronization technique for extraction of symmetrical components,” 1980, 1984. and 1987 respectively, all in electrical
IEEE Trans. Power Electron., vol. 24, no. 3, pp. 674–684, Mar. 2009. engineering.
[13] P. Rodriguez, A. Luna, I. Candela, M. R., R. Teodorescu, and B. F., Currently he is a Professor and Canada Research
“Multiresonant frequency-locked loop for grid synchronization of power Chair at the Department of Electrical and Computer
converters under distorted grid conditions,” IEEE Trans. Ind. Electron., Engineering, Queen’s University, Kingston, Canada,
vol. 58, no. 1, pp. 127–138, Jan. 2011. and the Director of the Queen’s Centre for Energy
[14] A. Ortiz, M. Aredes, L. Rolim, E. Bueno, and P. Rodriguez, “A new current and Power Electronics Research (ePOWER). He has
control for the statcom based on secondary order generalized integrators,” received external research funding to conduct research in the field of power
in Proc. IEEE Power Electron. Spec. Conf. (PESC) 2008, Jun. 2008, pp. electronics. He has supervised more than 75 graduate students, postdoctoral
1378–1383. fellows, and research engineers. He has published more than 350 technical pa-
[15] M. Ciobotaru, R. Teodorescu, and F. Blaabjerg, “A new single-phase pll pers (including more than 90 IEEE Transactions papers) and has more than 50
structure based on second order generalized integrator,” in Proc.37th IEEE patents (granted and pending). He is also a Founder of CHiL Semiconductor
Power Electron. Spec. Conf. (PESC) 2006, Jun. 2006, pp. 1–6. in Tewksbury, MA, USA (recently acquired by IR), and SPARQ System in
[16] F. Freijedo, A. Yepes, J. Malvar, O. Lo´pez, P. Fernandez-Comesana, A. Vi- Kingston, Ontario, Canada. Prior to joining Queen’s, he worked as a Professor
dal, and J. Doval-Gandoy, “Frequency tracking of digital resonant filters at Concordia University (1994-2000), Technical Advisor at Nortel (1990-1994),
for control of power converters connected to public distribution systems,” Senior Space Power Electronics Engineer at Canadian Astronautics Ltd. (1987-
IET Power Electron., vol. 4, no. 4, pp. 454–462, Apr. 2011. 1990), Design Engineer at ABB (1981), and as Production Engineer at Crompton
[17] R. Santos Filho, P. Seixas, P. Cortizo, and A. Souza, “Comparison of three Greaves (1980). In addition, he has been a Consultant with Astec, Ballard Power,
single-phase PLL algorithms for UPS applications,” IEEE Trans. Ind. Freescale, General Electric, Intel, and Nortel.
Electron., vol. 55, no. 8, pp. 2923–2932, Aug. 2008. Dr. Jain is an Associate Editor of the IEEE Transactions on Power Electron-
[18] L. Rolim, D. da Costa, and M. Aredes, “Analysis and software imple- ics and an Editor of the International Journal of Power Electronics. He is also a
mentation of a robust synchronizing PLL circuit based on the pq theory,” Distinguished Lecturer of the IEEE Industry Applications Society. He is a Fel-
IEEE Trans. Ind. Electron., vol. 53, no. 6, pp. 1919–1926, Dec. 2006. low of the Engineering Institute of Canada (EIC) and the Canadian Academy of
[19] M. Karimi-Ghartemani and M. Iravani, “Wide-range, fast, and robust Engineering (CAE). He is also the recipient of the 2011 IEEE Newell Award—
estimation of power system frequency,” Electr. Power Syst. Res., vol. 65, the highest field award in Power Electronics.
no. 2, pp. 109–117, Feb. 2003.
Masoud Karimi Ghartemani (M’01–SM’09) re- Alireza Bakhshai (M’03–SM’09) received the B.Sc.
ceived the B.Sc. and M.Sc. degrees in electrical engi- and M.Sc. degrees from the Isfahan University of
neering in 1993 and 1995, respectively, from Isfahan Technology, Isfahan, Iran, in 1984 and 1986, respec-
University of Technology, Iran, and the Ph.D. degree tively, and the Ph.D. degree from Concordia Univer-
in electrical engineering from University of Toronto, sity, Montreal, QC, Canada, in 1997.
Canada, in 2004. From 1986 to 1993 and from 1998 to 2004, he was
He was a faculty member at Sharif University of on the faculty of the Department of Electrical and
Technology, Iran, from 2005 to 2008, and a postdoc- Computer Engineering, Isfahan University of Tech-
toral and visiting researcher at Queens University, nology. He was a Postdoctoral Fellow from 1997 to
Canada, from 2008 to 2011. He is currently an As- 1998 at Concordia University. Currently, he is with
sociate Professor with the Department of Electrical the Department of Electrical and Computer Engineer-
and Computer Engineering at Mississippi State University, USA. His research ing, Queens University, Kingston, ON, Canada. His research interests include
interests include power system stability and control, grid-integration of renew- high-power electronics, distributed generation, wind energy, smart grid, control
able energy systems, and power quality. systems, and flexible ac transmission systems.