Académique Documents
Professionnel Documents
Culture Documents
Generalized Integrator
Mihai Ciobotaru, Remus Teodorescu and Frede Blaabjerg
Aalborg University
Institute of Energy Technology
Pontoppidanstraede 101, 9220 Aalborg
DENMARK
mpc~a,iet. aau. dk, ret -_iet. aau. dk, 1ial aau. dk
Abstract - Phase, amplitude and frequency of the utility voltage
are critical information for the operation of the grid-connected
inverter systems. In such applications, an accurate and fast
detection of the phase angle, amplitude and frequency of the
utility voltage is essential to assure the correct generation of the
reference signals and to cope with the new upcoming standards.
This paper presents a new phase-locked-loop (PLL) method for
single-phase systems. The novelty consists in generating the
orthogonal voltage system using a structure based on second
order generalized integrator (SOGI). The proposed structure
has the following advantages: - it has a simple implementation; the generated orthogonal system is filtered without delay by the
same structure due to its resonance at the fundamental
frequency, - the proposed structure is not affected by the
frequency changes. The solutions for the discrete
implementation of the new proposed structure are also
presented. Experimental results validate the effectiveness of the
proposed method.
1. INTRODUCTION
monitoring is used to ensure that the performances of a gridconnected system comply with the standard requirements for
operation under common utility distortions as line harmonics
/notches, voltage sags/swells/loss, frequency variations and
Phe Jum P .
The general structure of a single-phase PLL including the
grid voltage monitoring is shown in Fig.1. Usually, the main
difference among divers single-phase PLL methods is the
if
qv
Vd
T V=
..
Step Response
1 2
k0.3
_-- k-3 l
k=1
0~8
06
- S
_ v' Kr :~1
qv
IJ
I
x&
qv J .................. .......
0 0.02 0.04 0 06 OM08 0A 0A2
_
_
SecondOrder
ner~Ii~ed
I. t_rator
Time (sec)
~~~~~~~~~~~~~~~(b)
en
|
w
2cos(2
Gl=
2
s +
(1
v'
rsd
L
closed-loop transfer functions T (Hd dV
The
co
qv'
andd
-o
of the
(s)-
structure
presented
defmed
VI
kcos
(s) =2 kcs 2
v
s+kos +0)2
ko)2
qv (s)
S2+ kcos +
(2)
(32
/------~~
-40
-60
-80
-100
90
45-
0--
k=O.3
-
k=1
3:::
4'--
k=3
Fig. 3. Bode Plot (a) and Step Response (b) of the close-loop
tase ucin(d tdfeetvle fgi
The tuning of the proposed structure is frequency
dependent, thus problems can occur when grid frequency has
fluctuations. As a consequence, an adaptive tuning of the
structure in respect to its resonance frequency is required.
Therefore, the resonance frequency value of the SOGI is
adjusted by the provided frequency of the PLL structure.
The proposed method for creating the orthogonal system
has a main advantage compared to known methods (i.e.
Transport-Delay, Hilbert Transformation, and Inverse Park
Transformation) [1]-[5]. Only using a simple structure, as it
can be seen from Fig. 2, three main tasks are performed: generating the orthogonal voltage system; - filtering the
orthogonal voltage system without delay; - the structure is
frequency adaptive.
Using the proposed method the input signal v (grid
is
voltage)
resulting two clean orthogonal voltages
waveforms filtered
v and qv', due to the resonance frequency of the
SOGI at co (grid frequency). The level of filtering can be set
from gain k as follows: - if k decreases the bandpass of the
filter becomes narrower resulting a heavy filtering, but in the
same time the dynamic response of the system will become
slower as it can be observed from Fig. 3(b). As it can be seen
from Fig. 3(a), at resonance frequency there is no attenuation
compared to a quite large attenuation outside this frequency.
An example about how it works this method is presented
in Fig. 4. The effect of the filter is depicted with a distorted
grid voltage waveform (Vg) containing notches. The created
orthogonal system is represented of v' andqv'. For this
experimental result the gain k was equal to 0.8.
50C
-8C
400
------Vg--- qV'
- --
-85
Trapezoidal method
D -90
200
- 100
- -95a- -l lll
0)
-100
-3
021
0.005
0.01
0.03
0.035
~~~~~~~~~~~byv',
330
F tm
bRy:t[s
IsiS approximated
(4)
<
320 -
0.2
0.22
0.24
0.26
0.28
50.5 50
0.3
t [s]
0.32
0.34
0.36
0.4
r ref. . . .!.!
freq
*j
.5
0.2 0.22
0.38
-.
0.24
0.26
0.28
0.3
t [s]
0.32
0.34
0.36
0.38
0.4
3L
.Z 325
1-z
u(n)
use
Frequency
Trapezoidal methods
--
-50C
OC
(Hz)
fm
Fig. 5. Phase Bode plots for Forward Euler, Backward Euler and
400
-500
~~~~~~~~~~~~~~~~~~~~-1
-1
-0
y(n)
-------
--
(5)
Trapezoidal method;
A. Trapezoidal method
The equation of the integrator using this method is
presentedbelow
Ts
y(n) = y(n-l)+
[u(n)+u(n-l)]
1
For this method, - is approximated by:
s
Ts I + z-1
(6)
2 I-z-1
As it can be seen from Fig. 5 a phase of-90 degrees can be
obtained using Trapezoidal method for the whole spectrum
of frequencies. Anyway, the Trapezoidal method can not be
. ..JUSt replacing -1 from Fig. 2 with (6), because an
~~~~~~~~~~~~~applied
s
y(n) = y(n-l)+
algebraic loops.
z-1
Replacings byzy
ic + ,inin (2) will result:
2
Ho (z) -
TS 3z
k 2 z-1
z12
Tz+l
kT-
is approximated by:
-2
(12)
2
The implementation of the second order using (12)
integrator is presented in Fig. 8.
Out
(7)
(2z-1W2z~2 -1
C7T +1,J + kcy 1 + co
IZ1
1-z
[3u(n-1)-u(n-2)]
Ho (z) = 4 (z
+ (2k)T)(z2 - 1)
(z )
Fx = 2koTsT
In
and
+z-2
-x
_x+y+4
Ho (z)_I_x+y+4_
2(4-y) 1 (x-Y-4
tx+y+4)
t
Substituting b
{
a
((9)
x+ y+4
2(4 - y)
x + y +4
x-y-4's
n
and
2
x+y+4
following [12]:
x+y+4)
x
x+i+4
+b2z-2
Hd (Z)1 -a2z-2-2(10)
-alz-l
23u
(13)
1-f'1
~~~
~~~~12
Fig. 9 shows the implementation of the third order integrator.
+
ut
Hd (Z)=bo.
-1_1
1alz -a2z
( 1)
--2 /6 5
qv
bo
a,
a2
c>
12
500
-tampl
Fig.325.4- Estimated
...ampl3
E 325.2-
325.1
0.2
0.22
0.24
0.26
~~~ I
I
~~~~
0.32
0.34
0.36
0.38
0.28
0.3
t [s]
30
0.4
~-
200
(D
10
0
_____________________________~~~~~~~~~~
are u
-freq T
g
<S --ond order inertr Thir orde -Ieraoand Trapezoidal......
freq 3
50.01-
U-
-100
1
w
---
49.990.2
0.22
0.24
0.26
0.28
0.3
0.32
[s]
0.34
0.36
0.38
are
w
-V
0.4
Fig. 10. Estimated amplitude and frequency of the input signal when
Second order integrator, Third order integrator and Trapezoidal
method
e [s]Vg
Amp- -i.
400
-5OC
strucureeres-200
qVa
[s].20.401
Fi.13irimolae ea
of50 Nths k08
usedFi.1.Givotgsaof5%-Nchsk-08
.0
Time
00
00
01
hastrol
~~~~~~~~~slows
WV- ---v
-----
---V
-300-
9-1
--- --
>
-100
.0
.0
.0
.0
01
-V
-300
-400
0.02
grid voltage.
0.04
0.06
qva.1
.102
.1
.1
Vg
0.08
0.1
0.12
Time [s]
0.14
0.16
..........
0.18
0.2
the grid frequency. The grid voltage THD was set to 300 for
this experiment.
(T e-.0.)
PLL behaviour under a phase jump of 60 degrees and
~~~~~~~~The
...voltage sag of 2500 is presented in Fig. 16. It can be noticed
the PLL system repnsaccording toissettling tm
r
t i
time
(Tset=0.06 s).
~~~~~~~~~~~that
51.
4CC~~~~~~~~~~~~~~~~~~~~~5.
300
Ampl.
200
5.
U-,
250.
49.8....
-200
'\
qV
49.
....
---
--
..freq. ref.
est.
freq.
VI. REFERENCES
51.6
51.4
51.2
>w
2
U_
51
[2]
50.8
50.6
50.4
50.4
50.2
-------------------
:req-ref
49.8
49.6
Control
50
N.
est freq
Time [s]
1660-1663.
M.
"Improved
~ ~~~----[5] Ciobotaru, R. Teodorescu , F. Blaabjerg,
E200009i
PLL structures for single-phase gridj4z>
inverters", Proc. of
0
'05, 6 pages, paper ID 106.
~~~~~~~~~~~~~~PELINCEC
M.
R. Teodorescu, F. Blaabjerg, "Control of
Ciobotaru,
-200
~~~~~~~~~~~~[6]
C
400
2:
______single-stage single-phase
-400C
PV
inverter",
Proc.
of EPE '05,
V. CONCLUSIONS
Regulation
SteadyV.sCONCLUSIONSeCurrent
~~~~State Error", IEEE Trans. on Power Electronics, Vol.
of PWM Inverters with Zero