Professional Documents
Culture Documents
Phase-Locked Loop For Grid-Connected Three-Phase
Phase-Locked Loop For Grid-Connected Three-Phase
Abstract: Analysis and design of a phase-locked loop (PLL) is presented for the power factor control
of grid-connected three-phase power conversion systems. The dynamic characteristics of the closed
loop PLL system with a second order are investigated in both continuous and discrete-time domains,
and the optimisation method is discussed. In particular, the performance of the PLL in the three-
phase system is analysed under the distorted utility conditions such as the phase unbalancing,
harmonics, and offset caused by nonlinear loads and measurement errors. The PLL technique for the
three-phase system is implemented in software of a digital signal processor to verify the analytic
results, and the experiments are carried out for various utility conditions. This technique is finally
applied to the grid-connected photovoltaic power generation system with the current-controlled PWM
inverter as a subpart for generating the current reference of the inverter. The experimental results
demonstrate its phase tracking capability in the three-phase grid-connected operation.
0IEE, 2000
IEE Proceeukgs online no. 2oooO328 2 System descriptions
DOf 10.1049/ipepa:20000328
Paper fmt received 22nd July 1999 and in revisad form 20th January 2000 Fig. 1 shows the current reference generator of the three-
The author is with the Department of Control and Instrumentation Enginer- phase inverter using the PLL, whch tracks the phase of the
ing, Research Institute of Industrial Technology, Gyeongsang National Univer- utility voltage. In t h s system, the utility voltage can be rep-
sity,900 Gazwa-Dong, chinjy Kyungnam 660-701, Korea resented as:
IEE Proc-Electr. Power Appl., Vol. 147, No. 3, May 2000 213
second-order loop can be given as:
cos (e + F)
where vdcs = [vu vb, vJT. If the utility voltage is balanced, where Kp and z denote the gains of the PI 1
eqn. 1 can be expressed in a stationary reference frame as: closed loop transfer function is rewritten i
form of the second-order loop as:
vap T s ' vabcs (2)
where vap = [v, va]' and T, denotes the transform matrix
given by:
where
=e (6)
where E, = -V, and 6 = 8 - 8. The angular frequency can
be represented as:
4. I Phase unbalancing
The utility voltage considering the unbalanced phase can be
given as follows:
U,, = v, cos 0 (18)
Fig.4 Root loci of discrete-time PLL system with secon&r&r
+ y)cos (0 +);-
dynamic performance should satisfy the fast tracking and
good fdtering characteristics. However, both requirements U,, = Vm(l 2 (20)
cannot be satisfied simultaneously because the two condi-
tions are inconsistent. Therefore, a trade-off is required in where /3 and y are constants. The d-axis voltage after the 4
the design. transform using eqns. 2-5 can be derived as:
One of the most widely used techniques is the Wiener
method, which is known as the best optimisation method
[2]. By using this method, the transfer function for the
second-order loop is given as:
+P+r
6
(sinocosi + c o s o s i n o
^> 1
From eqn. 12, the damping ratio can be derived as 5 = Under the assumption of very small 6 and 8 + 6 = 26,
0.707. The closed loop bandwidth of the PLL can be deter- eqn. 21 can be simply represented as:
mined by using the stochastic information of the signal and U& E EmS - EmEpu COS(~O + (22)
/m
noise, and can be given in the Wiener method as: where:
EPu=
where Acc, is the deviation of the frequency, P, is the power
of the input signal, WOis the spectral density of the input
noise, and A is the Lagrangian multiplier that determines
the relative proportions of the noise and transient error. Since the d-axis voltage vde is controlled to zero by the PI
type loop fdter, the resultant error caused by the phase
Table 1: Steady-stateerrors for three types of input unbalancing is given as:
Steady-state
Steady-state error for
Type of input
second-order PLL ~ ~ ~
It is noted that the ~phase unbalancing
~ produces~the error ~ ~
with 213 frequency component, where w is the frequency of
Step change of e 0 0
the utility voltage as w = dO/dt.
Step change of w Aw/KAO)€,,, 0
Step Change of 6 A6IKf(0)€,,,+ AU/wn2 Ab/@? 4.2 Voltage harmonics
The source of the voltage harmonics is the nonlinearities of
The steady-state performance of the PLL system is the measurement devices and load. The utility voltage with
related to the shape of the input and the order of the loop harmonics in the balanced condition can be represented as
fdter. In the second-order PLL, the errors for the three follows:
types of input are summarised in Table I, where A h U,, = Vi COS 0 + Vs COS 50 + V7 COS 70 + . . . (24)
denotes the deviations of the derivative of the frequency. It
is shown in this table that the second-order PLL with the
PI type loop fdter has the steady-state error for the step
change of the derivative of the frequency in whch the
frequency varies in time. This error can be reduced by
choosing the higher natural frequency that gives the wider +v7cos7
(0 - - 28+... (25)
IEE Proc-Electr. Power Appl.. Vol. 147, No. 3, May 2000 215
5 Experiments
w,, = v, cos
(e +):-
2
+ v5cos5 (o + Y)
-
5. I Test of PLL performance
+v7cos7 8 + -
( 3+ . . .
where V,, Vs, V7,... denote the magnitude of the harmonic
The proposed PLL technique is implemented using a soft-
ware of DSP TMS320C31 with a clock frequency. of
40MHz [9, lo]. Fig. 5 shows the experimental set-up for
testing the performance of the PLL. The utility voltages are
components. The d-axis voltage is derived as: generated by using the three-phase arbitrary voltage gener-
'U& = -VI sin 6 + V, sin(8+ 50) + ~7 sin(8 - 78) + . . . ator. The generated three-phase voltages are measured by
the isolation transformer, and the measured signals are
(27) converted to digital values using the analogue-to-digital
This can be rewritten for the small 6 as: (AD)converters, with a resolution of 12 bits. The arbitrary
sin68+(V11 - V I S ) sin E O + . . .
Ude E - V 1 S + ( V 5 - V 7 )
voltage generator can produce various conditions of utility
voltage such as phase unbalancing, harmonics, and offset.
(28)
Therefore, the error caused by the utility harmonics can be
represented as: *T- -
arbitrary
DSP _.
7TMS320C31*--L- waveform
generator
where:
measurement
It is noted in eqn. 29 that the utility harmonics causes the
error with the frequency components of 601, 1204 ..., which display
are the multiples of six times the utility frequency.
Fig.5 E x p e r ~ t dset-upfor three-phasePLL system
4.3 Voltage offset
The voltage offset is often produced in the measurement
and data conversion processes. The utility voltage with the
offset can be expressed as:
= Vm COS 8 +Vao (30)
v,, = pa,+
1
vbo
1
+ Vc0) v,, = -&vc0 - Vb,)
This can also be rewritten for the small 6 as:
h
I I I I I I I I I I I
5 mddiv
Therefore, the error caused by the voltage offset can be Fig.6 Responses ofthree-phe PLL system
v,, = V,, cos 0, V,,, = 311V
shown as: w, = 314 rads, 5 = 0.707
“de (0.2
(100 V/div)
0
(2 radldiv)
2 msldiv
Fig.9 Errors ofthree-phase PLL system under phase unbalrmcing
v,, = V,, cos 0, V, = 311V
T 5 msldiv w, = 314 rads, 5 =0.707
(0.2
T 2 ms/div
Fig. 10 Errors ofthree-phase PLL system under phase wd~uhcing
v, = V, cos 0, V,, = 311V
w, = 628 rad/s, 5 = 0.707
h
0
(2 rad/div)
I I I I I I I I
I$
5 msldiv
Fig.8 Responres of three-phase PLL system
v, = V,, cos R, V, = 311V
= 6280 rads, 5 = 0.707
U,J,
Figs. 9-11 show the errors of the PLL under the phase
unbalancing of the utility voltage. The magnitudes of the
phase Figs. 10 and 11 voltages are given as 90% and 110%
of the phase Fig. 9. As derived in eqn. 22, it is shown that
the error that caused the phase unbalancing has a 2w fre-
quency component. It can be also noted in this figure that 1‘ 2 msldiv
the magmtude of the error is reduced as the bandwidth Fig. 11 Errors of t h r e e y h e PLL system under phase unbahcing
V, = v, COS e, v, = 3iiv
decreases. The error in 50Hz bandwidth is about 50% of w, = 6280 rads, 5 = 0.707
IEE Proc.-Electr. Power Appl.. Vol. 147, No. 3, May 2000 217
tively. These figures show the time responses and frequency
spectrums. It is shown in Figs. 12-14 that the error has the
frequency component of 6w as shown in eqn. 29. The low
pass filtering effect can also be shown and the error caused
by the harmonics decreases as the bandwidth decreases.
Fig. 15 shows the frequency spectrums of the utility voltage
and cos 8 . It is noted that the 5th and 7th harmonics are
reduced as the bandwidth decreases. This means that the
phase error caused by the 5th and 7th harmonics is
reduced, and that the reproduced signal cos 8 is closer to
the pure sinusoidal wave cos 8 as the bandwidth decreases.
20 dbm/div
va
2 msldiv
Fig. 12 Errors of three-phase PLL system lolder voltage hannonicr
V, = v,,,COS e, v,,,= 311v
w, = 314 radis, 5 = 0.707
20 dbmldiv
cos ii
wn=314 rad
20 dbmldiv
cos ii
w,=628 rad
T 2 msldiv
20 dbmldiv
Fig. 13 Errors of three-phase PLL.system under voltage harmonics
COS e, v, = 311v
V, = v,,,
w, = 628 rads, 5 = 0.707
cos D
wn=6280 rad
I I I I I I I I I
m
100 Hz/div
Fig. 15 Frequency s ectrums of utility voltage and cos 8 under utility har-
moniesf i r variom d i i l h s
6 Conclusions
F--k
device and loop fdter. The phase detecting can be readily
implemented by using the 4 transform in the three-phase
system. The design parameters of the loop filter are the
array
<
damping ratio and the natural frequency U,, which deter-
mine the dynamic characteristics.The damping ratio can be
I,
I, control
chosen by the Wiener method that has been generally
accepted as the best optimisation. The bandwidth of the
loop fdter is a trade-off between the filtering performance
and response time. W e the higher bandwidth offers the
~
IEE Proc-Electr. Power Appl., Vol. 147, No. 3, May 2000 219