Addressing DC Component in PLL and Notch Filter Algorithms
Addressing DC Component in PLL and Notch Filter Algorithms
1, JANUARY 2012
Abstract—This paper presents a method for addressing the dc the system bandwidth and degrades the dynamic response [4].
component in the input signal of the phase-locked loop (PLL) and Complete removal of dc component in the phase-locked loop
notch filter algorithms applied to filtering and synchronization (PLL) systems has not been addressed in the literature so far.
applications. The dc component may be intrinsically present in the
input signal or may be generated due to temporary system faults or The dc component can be an intrinsic component of a signal
due to the structure and limitations of the measurement/conversion (e.g., the dc-link voltage in a single-phase rectifier that has
processes. Such a component creates low-frequency oscillations in a dc and a second-order harmonic), and can be generated by
the loop that cannot be removed using filters because such filters measurement devices (e.g., due to the saturation phenomenon
will significantly degrade the dynamic response of the system. The in a current transformer [5]), conversion processes (e.g., the A/D
proposed method is based on adding a new loop inside the PLL
structure. It is structurally simple and, unlike an existing method conversion for fixed-point DSP applications [6]), or when a fault
discussed in this paper, does not compromise the high-frequency occurs [7]. Therefore, it is necessary to remove any error that
filtering level of the concerned algorithm. The method is formulated such a component may cause.
for three-phase and single-phase systems, its design aspects are The enhanced phase-locked loop (EPLL)—in conjunction
discussed, and simulations/experimental results are presented. with its three-phase extensions—has been introduced and ex-
Index Terms—Adaptive notch filter (ANF), dc component, dc tensively studied for filtering [8], frequency estimation [9], har-
offset, enhanced phase-locked loop (EPLL), notch filter (NF), or- monic estimation [10], and synchronization [2], [11]. The EPLL
thogonal signal generator (OSG), phase-locked loop (PLL), second- resolves the problem of double-frequency oscillation in conven-
order generalized integrator frequency-locked loop (SOGI-FLL),
synchronous reference-frame phase-locked loop (SRF-PLL). tional PLLs. However, the presence of a dc component in the
input signal of the EPLL causes an error in the loop at the
fundamental frequency that is hard to filter.
The second-order generalized integrator (SOGI) has been
I. INTRODUCTION used as a building block for orthogonal signal generator (OSG)
[12], [13]. The orthogonal signal can be used either in a dq
HE three-phase synchronous reference-frame phase-
T locked loop (SRF-PLL), also called dqo-PLL, is widely
used for synchronization applications in power systems. The
setup [13] or in a direct integration form called the frequency-
locked loop (FLL) [12] to estimate the frequency. The lat-
ter approach coincides with the concept of adaptive notch
SRF-PLL suffers from double-frequency error when the input filter (ANF) [14]–[16]. These tools find applications in con-
signal is unbalanced. Such an error can be mitigated using an trol, filtering, frequency estimation [15], harmonics estima-
in-loop or preloop low-pass filter (LPF) [1] and can also be tion [17], and also grid synchronization [18], [19]; their ex-
completely removed by incorporating dual structures for neg- tensions to three-phase applications are also available [20]. In
ative and zero components [2], [3]. When the input signal has these methods, the quadrature signal (or estimated frequency
some dc component, the loop suffers from an error at the fun- depending on the case) is erroneous when the input signal has
damental frequency. Mitigation of such a low-frequency error some dc.
using in-loop LPF is undesirable because it extremely reduces A method to overcome this drawback of both PLL- and notch
filter (NF)-type algorithms is proposed and studied in this pa-
per. The method is structurally simple and is based on adding
one (or three in a three-phase case) integrator to the system.
Manuscript received August 15, 2010; revised January 25, 2011; accepted
May 15, 2011. Date of current version December 16, 2011. Recommended for This completely rejects the error that is caused by the dc com-
publication by Associate Editor D. Xu. ponent. Moreover, an estimation of the dc component is made
M. Karimi-Ghartemani, P. K. Jain, and A. Bakhshai are with the Department available.
of Electrical and Computer Engineering, Queens University, Kingston, ON
K7M 1L2, Canada (e-mail: [email protected]; [email protected]; This paper is organized as follows. Section II introduces the
[email protected]). problem in the SRF-PLL and formulates the proposed solution.
S. A. Khajehoddin is with SPARQ Systems Inc., Kingston, ON K7L 3N6, Section III presents a brief review of the EPLL and discusses the
Canada (e-mail: [email protected]).
M. Mojiri is with the Department of Electrical and Computer Engineer- proposed modification. Section IV provides a brief review of the
ing, Isfahan University of Technology, Isfahan 84156-83111, Iran (e-mail: NF, presents the proposed modification, and compares it with
[email protected]). an existing method. Section V discusses the design aspects of
Color versions of one or more of the figures in this paper are available online
at http://ieeexplore.ieee.org. the proposed method. Simulation and experimental results are
Digital Object Identifier 10.1109/TPEL.2011.2158238 presented in Section VI, and Section VII concludes this paper.
Fig. 17. Frequency response at point x2 for the proposed method, the alter-
native method of [6], and the conventional method.
Fig. 18. Root locus of Δ(s) versus the new parameter k o for k = 1. Fig. 20. Performance of ANF and EPLL systems (conventional and modified)
to a 1 Hz frequency jump at 0.1 s and 0.02 p.u. dc jump at t = 0.2 s.
VII. CONCLUSION nization of power converters under faulty grid conditions,” in Proc. IEEE
Power Electron. Spec. Conf., Jun. 2006, pp. 1–7.
A strategy to modify PLL and NF algorithms against the [19] P. Rodriguez, A. Luna, I. Candela, R. Teodorescu, and F. Blaabjerg, “Grid
presence of dc component in the input signal is proposed and synchronization of power converters using multiple second order gener-
alized integrators,” in Proc. 34th Annu. Conf. IEEE Ind. Electron., Nov.
discussed. The strategy has a general theme and can be applied 2008, pp. 755–760.
to three-phase dqo-PLL, single-phase EPLL, single-phase OSG- [20] D. Yazdani, M. Mojiri, A. Bakhshai, and G. Joos, “A fast and accu-
based PLL, and ANF. It is shown that the proposed technique, rate synchronization technique for extraction of symmetrical compo-
nents,” IEEE Trans. Power Electron., vol. 24, no. 3, pp. 674–684, Mar.
while keeping a simple structure, does not compromise high- 2009.
frequency filtering characteristics of the system. Moreover, the [21] M. Karimi-Ghartemani, “A novel three-phase magnitude-phase-locked
proposed method offers a tool for measuring the dc component loop system,” IEEE Trans. Circuits Syst. I, Reg. Papers, vol. 53, no. 8,
pp. 1792–1802, Aug. 2006.
that is robust to the frequency variations and to noise. [22] R. Best, Phase-Locked Loops: Design, Simulation, and Applications.
New York: McGraw-Hill, 2007.
[23] F. Gardner, Phaselock Techniques. New York/Oxford, U.K.: Wiley-
Blackwell, 2005.
[24] M. Karimi-Ghartemani and M. Iravani, “A new phase-locked loop (PLL)
REFERENCES system,” in Proc. 44th IEEE Midwest Symp. Circuits Syst., 2001, vol. 1,
pp. 421–424.
[1] E. Robles, S. Ceballos, J. Pou, J. Martin, J. Zaragoza, and P. Ibanez, [25] M. Karimi-Ghartemani and M. Iravani, “A nonlinear adaptive filter for
“Variable-frequency grid sequence detector based on a quasi-ideal low- online signal analysis in power systems: Applications,” IEEE Trans.
pass filter stage and a phase-locked loop,” IEEE Trans. Power Electron., Power Del., vol. 17, no. 2, pp. 617–622, Apr. 2002.
vol. 25, no. 10, pp. 2552–2563, Oct. 2010. [26] M. Ciobotaru, V. Agelidis, R. Teodorescu, and F. Blaabjerg, “Accurate
[2] M. Karimi-Ghartemani and H. Karimi, “Processing of symmetrical com- and less-disturbing active antiislanding method based on PLL for grid-
ponents in time-domain,” IEEE Trans. Power Syst., vol. 22, no. 2, pp. 572– connected converters,” IEEE Trans. Power Electron., vol. 25, no. 6,
579, May 2007. pp. 1576–1584, Jun. 2010.
[3] P. Rodriguez, J. Pou, J. Bergas, J. Candela, R. Burgos, and D. Boroyevich,
“Decoupled double synchronous reference frame PLL for power convert-
ers control,” IEEE Trans. Power Electron., vol. 22, no. 2, pp. 584–592,
Mar. 2007.
[4] S. Chung, “A phase tracking system for three phase utility interface in-
verters,” IEEE Trans. Power Electron., vol. 15, no. 3, pp. 431–438, May
2000.
[5] S. Nam, J. Park, S. Kang, and M. Kezunovic, “Phasor estimation in the
presence of dc offset and ct saturation,” IEEE Trans. Power Del., vol. 24,
no. 4, pp. 1842–1849, Oct. 2009. Masoud Karimi-Ghartemani (M’01–SM’09) re-
[6] M. Ciobotaru, R. Teodorescu, and V. Agelidis, “Offset rejection for PLL ceived the B.Sc. and M.Sc. degrees in electrical en-
based synchronization in grid-connected converters,” in Proc. 23rd Annu. gineering from the Isfahan University of Technology,
IEEE Appl. Power Electron. Conf. Expo., Feb. 2008, pp. 1611–1617. Isfahan, Iran, in 1993 and 1995, respectively and the
[7] N. Stringer, “The effect of DC offset on current-operated relays,” IEEE Ph.D. degree in electrical engineering from the Uni-
Trans. Ind. Appl., vol. 34, no. 1, pp. 30–34, Jan./Feb. 1998. versity of Toronto, ON, Canada, in 2004.
[8] M. Karimi-Ghartemani, H. Karimi, and A. Bakhshai, “A filtering tech- From 2005 to 2008, he was a Faculty Member at
nique for three-phase power systems,” IEEE Trans. Instrum. Meas., the Sharif University of Technology. He is currently
vol. 58, no. 2, pp. 389–396, Feb. 2009. a Researcher with the Queen’s Centre for Energy and
[9] M. Karimi-Ghartemani and M. Iravani, “Wide-range, fast and robust es- Power Electronics Research, Queens University, ON,
timation of power system frequency,” Electr. Power Syst. Res., vol. 65, Canada. His research interests include power system
no. 2, pp. 109–117, 2003. stability and control, grid integration of renewable energy systems, and power
[10] M. Karimi-Ghartemani and M. Iravani, “Measurement of harmonics/inter- quality.
harmonics of time-varying frequencies,” IEEE Trans. Power Del., vol. 20,
no. 1, pp. 23–31, Jan. 2005.
[11] M. Karimi-Ghartemani and M. Iravani, “A method for synchronization of
power electronic converters in polluted and variable-frequency environ-
ments,” IEEE Trans. Power Syst., vol. 19, no. 3, pp. 1263–1270, Aug.
2004.
[12] P. Rodriguez, A. Luna, M. Ciobotaru, R. Teodorescu, and F. Blaabjerg,
“Advanced grid synchronization system for power converters under un- S. Ali Khajehoddin (S’04–M’10) received the B.Sc.
balanced and distorted operating conditions,” in Proc. 32nd Annu. Conf. and M.Sc. degrees in electrical engineering from the
IEEE Ind. Electron., Nov. 2006, pp. 5173–5178. Isfahan University of Technology, Isfahan, Iran, in
[13] M. Ciobotaru, R. Teodorescu, and F. Blaabjerg, “A new single-phase PLL September 1997 and June 2000, respectively, and the
structure based on second order generalized integrator,” in Proc. 37th Ph.D. degree from Queens University, Kingston, ON,
IEEE Power Electron. Spec. Conf., Jun. 2006, pp. 1–6. Canada, in April 2010.
[14] L. Hsu, R. Ortega, and G. Damm, “A globally convergent frequency After completing his Masters, he established a
estimator,” IEEE Trans. Autom. Control, vol. 44, no. 4, pp. 698–713, Apr. company where he was involved in the development
1999. and production of digital meters and high-tech power
[15] M. Mojiri, M. Karimi-Ghartemani, and A. Bakhshai, “Estimation of power system analyzers for five years. He was a Postdoc-
system frequency using an adaptive notch filter,” IEEE Trans. Instrum. toral Researcher at Queens University, where he was
Meas., vol. 56, no. 6, pp. 2470–2477, Dec. 2007. involved in the design and implementation of compact and durable microin-
[16] M. Mojiri, M. Karimi-Ghartemani, and A. Bakhshai, “Time-domain signal verters for photovoltaic (PV) grid-connected systems. Since 2010, he has been
analysis using adaptive notch filter,” IEEE Trans. Signal Process., vol. 55, with SPARQ Systems Inc., Kingston, ON, Canada, working toward mass pro-
no. 1, pp. 85–93, Jan. 2007. duction and commercialization of micro inverters. He has filed four patents and
[17] M. Mojiri, M. Karimi-Ghartemani, and A. Bakhshai, “Processing of har- was awarded several scholarships, including the Mathematics of Information
monics and inter-harmonics using adaptive notch filter,” IEEE Trans. Technology and Complex Systems Industrial Postdoctoral Fellowship and the
Power Del., vol. 25, no. 2, pp. 534–542, Apr. 2010. Ontario Graduate Scholarship. His research interests include power electron-
[18] P. Rodriguez, R. Teodorescu, I. Candela, A. Timbus, M. Liserre, and ics, control systems, power quality, and renewable energy systems mainly PV
F. Blaabjerg, “New positive-sequence voltage detector for grid synchro- systems.
86 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 27, NO. 1, JANUARY 2012
Praveen K. Jain (S’86–M’88–SM’91–F’02) re- Alireza Bakhshai (M’03–SM’09) received the B.Sc.
ceived the B.E.(Hons.) degree from the University of and M.Sc. degrees from the Isfahan University of
Allahabad, India, in 1980, and the M.A.Sc. and Ph.D. Technology, Isfahan, Iran, in 1984 and 1986, respec-
degrees from the University of Toronto, ON, Canada tively, and the Ph.D. degree from Concordia Univer-
in 1984 and 1987, respectively, all in electrical sity, Montreal, QC, Canada, in 1997.
engineering. From 1986 to 1993 and from 1998 to 2004, he
He is currently a Professor and a Canada Research was a Faculty Member in the Department of Electri-
Chair at the Department of Electrical and Com- cal and Computer Engineering, Isfahan University of
puter Engineering, Queen’s University, Kingston, Technology. From 1997 to 1998, he was a Postdoc-
ON, Canada, and the Director of the Queen’s Centre toral Fellow at Concordia University. He is currently
for Energy and Power Electronics Research. He has with the Department of Electrical and Computer En-
supervised more than 75 Graduate Students, Postdoctoral Fellows and Research gineering, Queens University, Kingston, ON, Canada. His research interests
Engineers. He has published more than 350 technical papers (including more include high-power electronics, distributed generation, wind energy, smart grid,
than 90 IEEE Transactions papers) and has more than 50 patents (granted and control systems, and flexible ac transmission systems.
pending). He is also a Founder of CHiL Semiconductor Corporation, Tewks-
bury, MA (recently acquired by International Rectifier Corporation) and SPARQ
System, Kingston, ON, Canada. From 1994 to 2000, he was a Professor at Con-
cordia University. From 1990 to 1994, he was a Technical Advisor at Nortel Mohsen Mojiri received the B.Sc., M.Sc., and Ph.D
From 1987 to 1990, he was a Senior Space Power Electronics Engineer at Cana- degrees in electrical engineering from Isfahan Uni-
dian Astronautics Ltd. and a Design Engineer at ABB, in 1981. In 1980, he was versity of Technology, Isfahan, Iran, in 1996, 1998,
a Production Engineer at Crompton Greaves. In addition, he has consulted with and 2005, respectively.
Astec, Ballard Power, Freescale, General Electric, Intel, and Nortel. He was a faculty member at Kashan University
Dr. Jain is an Associate Editor of the IEEE TRANSACTIONS ON POWER ELEC- from 2006 to 2009. He is currently with the Depart-
TRONICS and an Editor of International Journal of Power Electronics. He is ment of Electrical and Computer Engineering, Isfa-
also a Distinguished Lecturer of IEEE Industry Applications Society. He is a han University of Technology. His research interests
Fellow of the Engineering Institute of Canada and the Canadian Academy of include adaptive and nonlinear estimation, filtering
Engineering. He is the recipient of the 2011 IEEE Newell Award—the highest and control, signal processing techniques and algo-
field award in Power Electronics. rithms as applied to power systems control.