A Fast PLL Method for Power Electronic Systems Connected to Distorted Grids
Mu WEI1,2
Zhe CHEN'
IInstitute of Energy Technology, Aalborg University, Aalborg, Denmark 2Faculty of Electronics and Information Engineering, Southwest University, Chongqing, P.R. China
mwegiet.aau.dk, zchgiet.aau.dk
Abstract A phaselocked loop (PLL) for power electronic systems is presented in this paper. The PLL system can fast detect the voltage magnitudes, phase angles and frequency under distorted power system conditions. A series of simulation studies have been conducted. The results are presented and compared with some other PLL systems.
have been conducted. The performances of the proposed PLL have been investigated and compared with the SRFPLL and the software based PLL systems. II. SYNCHRONOUS REFERENCE FRAME (SRF)PLL The synchronous dq reference frame PLL is a simple and stable threephase PLL system which detects the phase angle in the synchronous dq reference frame, the reference frame is synchronized to the input voltage frequency [1]. A block diagram of SRFPLL is shown in Fig. 1.
I. INTRODUCTION
In ac power systems, the phase, amplitude and frequency of the grid voltage are very important information for gridconnected operation. Especially for power electronic converters which are more and more used as the interface for distributed generation (DG) units, the information of grid voltage is essential for operation and control of the power electronic converters and the interfaced DG units. With the increase of the DG units and the renewable energy generation units, such as wind and solar energy conversion system, the accurate grid voltage information becomes crucial for system security and quality power supply. Therefore the phaselocked loop (PLL) can be considered to be an important part of gridconnected power generation systems. The PLL technique has been used as a common way of obtaining the phase and frequency information in electrical systems. For power electronic applications, the PLL technique has been adopted for the speed control of electric motors. It has also been used for generating the reference signals synchronized with the utility voltages in power conversion systems. A simple method of obtaining the phase information is the zerocrossing method, which detects the zero crossing points of the utility ac voltages. However, the zero crossing points can only be detected at every halfcycle of the ac frequency, the phase tracking becomes impossible between the detecting points, consequently, the fast tracking performance cannot be achieved. In threephase systems, the dq transform of the threephase variables has the quadrature feature, as the "synchronous dq frame reference" SRF PLL [1], which can be used in various applications for the detection of the phase or angular position. But the waveforms of the grid voltage may be the distorted with harmonics and unbalanced voltages, which could seriously affect the accuracy of the obtained grid voltage information. This paper firstly briefs the principle of the SRFPLL, discusses the concept used for extracting fundamental positive sequence component [2] and the Software based PLL [3]. Then the proposed PLL is introduced. The simulation studies
V~
Vb~
M
s
S
*0
iff
f
The closed loop transfer function of this system can be represented as a generalized second order system in (1):
Hclose(S) =
s2 + 2 s+w 2
2Gw(n s + tq9n
(1)
the PI controller, and Em is the magnitude of the input signal. Depending on the preconditioning applied on the signals, the signal entering the system may be normalised or nonnormalised. If the normalised PLL system is adopted by using the output of M , then the Em for the parameters of PI controller may be taken as unity. Consequently, the PI controller parameters may not be affected by the variations of input utility voltage value. However, the measured waveform may be unbalanced with negative and zero sequence components, the harmonics and distortions could deteriorate the performance of the simple SRF PLL system. Thus the conventional methods are not sufficient to cope with various distortions of the measured
E =l/K Where, K = 2 /o) ,K=o2 Em, Ti= and Kp is the proportional gain and Ki is the integral gain of
voltage signals.
1702
III. FUNDAMENTAL POSITIVE SEQUENCE COMPONENT EXTRACTION FOR PLL SYSTEMS Due to the poor performance of SRFPLL under unbalanced or distorted conditions, various PLL systems have been proposed to overcome the problem [25]. A basic concept is to extract the fundamental positive sequence component by processing the signal, and then to obtain the angle and frequency of the fundamental positive sequence component for the operation and control of power conversion systems. The unbalanced three phase voltage may be expressed as (2) cos(cd+ +)
cos( T +
basic structure of the software based PLL is shown in Fig. 2. In this PLL system, the three phase input voltage signals are converted to oP system. The oP components can also be expressed as their positive and negative components as
Va
=
=
Vpa
Vpm
Vna cos(O + Op )
+ Vnm
cos(O + On)
(4)
cos()
Va
v
Vpi + Vn/
(5)
2~~~~~~~~~~2
Vpa
V,a
and v0 r denote the magnitudes of the positive, negative and zero sequence terms respectively. The positive sequence component is extracted as an input of the PLL system to eliminate the effects of unbalanced and harmonics. Reference [2] presented a dq synchronous PLL system which produces phase angle and frequency locked to positive sequence components. The three positive sequence components ( ve, ,avn, are related to three phase voltages z) Where vprn
V ) va (vbby
a a
~vnrn
By using (5) the positive sequence components in oP frame can be calculated as shown in (6), where the derivative terms are calculated with numerical methods which is the main task of the first stage in the reported software based PLL [2].
vp
v Pf
=
0.5 (va
dS
d
v,
(6)
O.5 (v,
d0
V~a)
V

avp
2
a
a
2
2J
Lv
)
 v  a _
2
1
a21i31
A/
(VbC vc (b
(3)
The second stage transforms the oP components of the positive sequence to the rotating synchronous frame. The quadrature axis component is then regulated by a PI controller. The second stage tracks the phase angles and angular velocities ofthe positive and negative sequence components. The third stage is essentially a leadlag compensator with good filtering properties. In this stage, the parameter o At is calculated, filtered and fed back to the first stage.
(Vap +vcp )

2 C
2V
.r (j(VaVb)
a
aq_a
oc+vcdv ,O
..
Vpg
Ic
v13_dv1
2fT
Where,a=
It can be seen that a phase shift of 90 degree is required for all three phase components to extract the positive phase sequence components. In reference [2], three allpass filters are respectively applied on three phase voltage signals to perform 90 degree phase shift. Then a secondorder lowpass filter is added to reduce the effects of highorder harmonics. The extracted positive sequence components are then fed into a SRF PLL which produces the phase angle locked to the positive sequence component. IV. SOFTWARE BASED PLL
In reference [3], a software based PLL is proposed. The
or a
e 3
AU~~
~~~~~1 AO
,
P
UA
LeadLag
Compnao
=k_
S A9
Such a system can provide fast response to follow the system frequency variations and voltage magnitude variations. However, the derivative calculation could be sensitive to certain types of waveform distortions, such as harmonics. In the following section, a PLL with the improving ability of working under distortion condition is proposed.
1703
Bode Diagram
V.
Basic structure of the proposed fast phase detecting method The basic structure of the proposed fast phase detecting method is shown in Fig. 3, where two band pass filters are used as the conditioning part for the input signal in oP frame. Also a phase locked loop for negative sequence component is established in the voltage detection system.
AS
V
Fa
Vb
bD _ .
pa
sv1 _dv13
.B o
.1P# VIa
nV
Frequency (rad/sec)
Negative phase angle calculation The information about the negative phase component may be used for control or power quality identification. Based on equations (5) and (6), the negative phase component can be calculated as C
d
Vn
.5(v,,
v,
(8)
Vn#
 0.5
(V0
Va )
AI
Fig. 3 Structure ofthe proposed PLL
oP frame can be found, then they can be converted into the dq frame in a similar way to the positive sequence component. The negative phase sequence angle and magnitude can be obtained with the PLL as shown in Fig. 3.
components in
transfer
PLL
function of
the
bandpass
as
VI.
SIMULATION STUDY
proposed
G ()
Y(s)
=
I + 2
co ( s + ()
)c
(7)
)c
)2
Where ; is the damping ratio, 0) is the characteristic frequency and G is the gain. In this study, the band pass filter is such designed,; is 0.5, ()O is 314.159 radians /s (50 Hz) and G is 1.0. The frequency characteristics of the filter are plotted in Fig. 4. It can be seen that the filter can effectively attenuate signals at frequencies other than the characteristic frequency where the signal has no phase shift.
Simulation studies have been performed to investigate the performance of the proposed PLL system. In this section, the simulation conditions and results are presented. A Description of the test conditions Two tests are reported in this paper. Assuming the normal positive sequence component voltage has a phase peak value of 1000 V, and the utility voltage has balanced harmonics which can be formulated as follows:
Va
The used harmonics components are as specified in EN50160 and scaled down to 8% THD. The harmonics last for the whole simulation period and their magnitudes have the same dip in the percentage of the positive sequence
1704
components in Test 1. The other used test conditions are given in Table 1. The test waveforms are illustrated in Fig. 5(a)(d). Fig. 5 (a) shows a part of the three phase test voltage signals in Test 1, Fig.5 (b)(d) show three parts of the test signals in Test 2 respectively, i.e. the first frequency rampingdown part, the frequency rampingup part, and the second frequency rampingdown part. The output frequency is observed after a 2nd order low pass filter with damping ratio of 0.707and characteristic frequency of 10lHz. B SRFPLL performance Fig. 6 shows the tracked angle and the angle error of the SRFPLL under Test 1. It can be seen that the angle error increases dramatically to approximate 50 degrees during the period when the negative sequence components emerge.
Table 1 Some test conditions Conditions The positive sequence component voltage dip from 100% to Test 1 15% for 0.3s, during the same period, 15%, negative __________ sequence component present with a 30 degrees phase shift The frequency ramps down from 50.0Hz to 47.5Hz within 0.25s, maintains at 47.5Hz for 0.3s, then it ramps up from Test 2 47.5Hz to 51.5Hz within 0.4s, maintains at 51.5Hz for 0.2s, ________ and then ramps down from 51.5Hz to 50.0Hz within 0.15s
Test
frequency ramps well. Particularly the steady state frequency error can be kept within 0.01o%.
1500
100 0
..
..
100 0
.............m
1500.
0.3
0.35
0.4
0.45
0.5
0.55
0.6
0.65
O.Y . .7
150 i
1000 {iIlill
Fig.7 shows the voltage magnitude output of the SRFPLL. The envelope of the magnitude curve reflects the signal magnitude; however it is combined with harmonics. Fig.8 shows the SRFPLL test results under the second test condition. The frequency output follows the reference frequency ramps very well; the frequency error is in a range of about 0.0050. The negative sequence component can not be detected with SRFPLL. C Software based PLL performance The results from the Software based PLL are presented in Figs.912. Fig.9 shows the tracked positive sequence angle and angle error under Test 1. In the steady state the angle error is in the range of0.5 to 2 degrees in steady state. Fig. 10 shows the tracked negative sequence angle and angle error under Test 1. It can be seen that the angle error is no more than 2 degrees. Fig. 11 shows the positive and negative sequence components magnitudes respectively. Compared with the reference magnitudes (in green), the voltage magnitude outputs of the software based PLL are always affected by harmonics. In particular the negative magnitude is influenced seriously by the harmonics. Fig. 12 shows that the frequency output can follow the reference frequency ramps in Test 2 and the frequency error is in a range of about 0.015o%. D The performance of the proposed PLL Figs. 1317 show the results of the proposed PLL. Under the Test 1 condition, the tracked positive sequence angle and the angle error are shown in Fig. 13. In steady state the angle error is in a range of 0.1 to 0.2 degrees. Fig. 14 presents the negative sequence angle which have been tracked very well, and the steady state angle error is no more than 0.5 degrees. In Test 2, the frequency output can follow the reference
,5
0. 25
0.3
035
0.4
0.45
0.5
0.55
0.6
0.65
0.7
0.775
1000
Soo
1000
15001
0.8
0.9
1.1
1.2
1.3
1.4
0.
.1
1500

1.4
1.45
1.5
1.55
1.6
1.65
1 .7
1705
Negative Angle,
SoftwareBased and
Ref(rad.)
0.3
0.35
0.4
0.45
0.5
0.55
0.6
0.65
0.7
5 0.2
0.3
0.4
0.5
0.6
0.7
0.8
< 20
Fig. 10 Negative angle and angle error ofSoftware based PLL under Test 1
I_1 nn z 1500
0.3
0.4
0.5
0.6
0.7
1
0.8
1000
.M
u0
0.3
0.4
0.5
0.6
0.7
o. .8
400
200 U
0
02...
0.2
0.3
04 03II
0.4
07 05 08
0.5
0.6
0.7
0.8
v 50
45
0.01 0.005 _
0.4
0.6
0.8
1.2
1.4
1.6
1.8
0.005 0.01
0.4
0.6
0.8
error
1.2
1.4
1.6
1.8
Fig. 12 Frequency and frequency error ofSoftware based PLL under Test 2
5
0.4
0.6
0.8
1.2
1.4
1.6
1.8
50.2 0
21.
0.3
0.4
0.5
0.6
0.7
0.8
5
0.2 0.3 0.4 0.5 0.6 0.7
0 .8
01~~~~~~~~~~~~~~~~~11
Fig.9 Positive angle and angle error of Software based PLL under Test 1
1.50 0.2
0.3
0.4
0.5
0.6
0.7
0.8
Fig. 13 Positive angle and angle error ofthe proposed PLL under Test
0.2
0.3
0.4
0.5
0.6
0.7
0.).8
1706
and
Ref(rad.)
0.3
0.35
0.4
0.45
0.5
0.55
0.6
L 0.65
0.7
Fig. 14 Negative angle and angle error ofthe proposed PLL under Test 1
Positive Magnitude, Improved and Ref
1000
77
VII. CONCLUSION A fast PLL has been proposed, where a bandpass filter is designed to make the system immune to distorted waveforms, such as harmonic distortions. Therefore the system performance can be significantly improved without sacrificing the responding speed. Simulations under various conditions have been conducted, including system voltage dips and frequency variations under distorted conditions. The comparisons with the synchronous reference frame (SRF)PLL and the software based PLL has been made. The proposed PLL has demonstrated significant improvements. The proposed PLL system can be used for the power electronic interfaces of renewable energy and energy storage technologies, including wind energy conversion systems and solar PV systems, etc.
REFERENCES
>
600
400
200
O_
0.2
0.3
0.4
0.5
0.6
0.7
0.8
250 200
150
[1]. S.K. Chung "Phaselocked loop for gridconnected threephase power conversion systems", IEE ProceedingsElectric Power Applications, Volume 147, Issue 3, May 2000 Page(s):213219. [2]. SangJoon Lee; JunKoo Kang; SeungKi Sul; A new phase detecting method for power conversion systems considering Conference, 1999. ThirtyFourth IAS Annual Meeting. Conference Record of the 1999 IEEE, Volume 4, 37 Oct. 1999 Page(s):2167 2172 vol.4. [3]. S.R. Naidu, A.W Mascarenhas,.; D. A. Fernandes, "A software phase locked loop for unbalanced and distorted utility conditions"; International Conference on Power System Technology, PowerCon 2004. Vol. 2, pp 999 1004. [4]. M. KarimiGhartemani, M.R. Iravani, "A method for synchronization of power electronic converters in polluted and variablefrequency environments", IEEE Transactions on Power Systems, Volume 19, Issue 3, Aug. 2004 Page(s): 1263  1270. [5]. P. Rodriguez, R. Teodorescu, I. Candela, A. Timbus, M. Liserre, F. Blaabjerg, "New Positivesequence Voltage Detector for Grid Synchronization of Power Converters under Faulty Grid Conditions", in Proc. IEEE Power Electronics Specialists 37th Conference on, pp. 19421948, June 1822, 2006.
distorted conditions in power system, Industry Applications
100 _
50 1,.
0.2
03
0*4
0*5
0*6
0.7
0'8
50
45
0.4
0.6
0.8
1.2
1.4
1.6
1.8
0.01 r
0.005
0
00
0.005
.01
Fig. 16 Frequency and frequency error ofthe proposed PLL under Test 2
04
0.6
0.8
1.2
1.4
1.6
1.8
1707