Professional Documents
Culture Documents
0
l
, , , , .
. .
. .
. , .
l
l
, ,
.
.
.
(Legal Code) .
Disclaimer
By
Trung-Kien Vu
Advisor
Se-Jin Seong
February 2011
Advisor
Se-Jin Seong
By
Trung-Kien Vu
By Trung-Kien Vu
Power Quality Improvement of Single-Phase
Grid-Connected Photovoltaic Inverter
February 2011
Committee Chair
Committee
Committee
Committee
Committee
Graduate School
Chungnam National University
To My Family
ABSTRACT*
Power Quality Improvement of Single-Phase Grid-Connected
Photovoltaic Inverter
Trung-Kien Vu
Department of Information and Communications Engineering
Graduate School, Chungnam National University
Daejeon, Korea
converters
analysis
and
control
design).
The
- ii -
- iii -
- iv -
Table of Contents
Abstract
Table of Contents
List of Figures
List of Tables
Nomenclatures
i
v
viii
xiv
xv
Chapter 1
Introduction
1.1 Introduction
1.2 Objectives and Outline
1.3 Single-phase grid-connected PV inverter topologies
1.4 Control methods for single-phase VSI
1.4.1 Single voltage loop control
1.4.2 Multi-loop control
1.4.3 Predictive control
1.4.4 Deadbeat control
1.4.5 Sliding mode control
1.4.3 Conclusion
Current Controller for Single-Phase
Grid-Connected PV Inverter
2.1 Introduction
2.2 PI controller analysis
2.2.1 PI controller gains
2.2.2 Digital implementation of PI controller
1
1
3
4
6
6
7
7
9
10
10
Chapter 2
-v-
11
11
14
14
20
22
22
22
24
25
30
32
32
39
42
45
51
Chapter 3
Chapter 4
- vi -
52
52
59
62
67
71
72
73
74
75
75
78
98
99
100
101
4.1 Introduction
4.2 Dead-time effect analysis
4.3 Conventional DTCV
4.4 Distorted voltage and current caused by dead-time
4.5 Adaptive harmonics extraction filter
4. 5.1Single-frequency harmonic extraction filter
4.5.2 Combination of SHEF and regular plant control
part
4.5.3 Multi single-frequency harmonic extraction
filters
4.6 Dead-Time Compensator For Single-phase GridConnected PV Inverter Based on MSHEF
4.7 Inverse plant transfer function analysis
4.8 Simulation results
4.8.1 No dead-time
4.8.2 3ms dead-time without compensation
4.8.3 3ms dead-time with 3rd harmonic compensation
4.9 Experimental results
4.10 Conclusions
Chapter 5
Summary
101
103
104
109
112
112
116
117
118
121
126
127
127
127
140
142
143
References
145
156
158
164
173
Acknowledgements
177
Vita
181
- vii -
List of Figures
1.1
1.2
1.3
2.1
16
2.2
16
2.3
16
2.4
21
2.5
21
2.6
27
2.7
28
- viii -
2.8
29
2.9
29
2.10
31
2.11
36
2.12
37
2.13
38
2.14
40
2.15
The simulation model of 3kW single-phase gridconnected PV VSI system using Matlab/Simulink
40
2.16
43
2.17
44
2.18
44
2.19
46
2.20
DPLL implementation
46
2.21
47
- ix -
using PR controller
2.22
48
2.23
49
3.1
54
3.2
57
3.3
57
3.4
58
3.5
58
3.6
65
3.7
65
3.8
66
3.9
66
3.10
76
3.11
82
3.12
3.13
3.14
-x-
82
83
83
3.15
3.16
3.17
3.18
3.19
3.20
84
84
85
85
86
87
3.21
88
3.22
89
3.23
89
3.24
3.25
3.26
3.27
3.28
3.29
3.30
- xi -
90
90
91
91
92
93
94
3.31
94
3.32
95
4.4
114
4.5
114
4.6
3.33
4.1
4.2
4.3
4.7
96
106
107
108
4.9
4.10
124
4.11
124
4.12
124
4.8
4.13
4.14
4.15
- xii -
129
130
131
4.24
138
4.25
138
4.26
4.16
4.17
4.18
4.19
4.20
4.21
4.22
4.23
- xiii -
132
133
134
134
135
135
136
137
List of Tables
Table 2.1
42
Table 3.1
77
Table 3.2
77
Table 4.1
- xiv -
Nomenclatures
ac
Alternating current
APF
All-pass filter
dc
Direct current
DG
Distributed generation
DLL
DPLL
DSP
DTCT
DTCV
EMTP
ESR
IGBT
LMS
MOSFET
MSHEF
MSHEFDC
PI
Proportional-Integral
- xv -
filter
PLL
Phase-locked loop
PR
Proportional-Resonant
PV PCS
PWM
SHEF
THD
VSI
- xvi -
Chapter
Introduction
1.1 Introduction
Distributed power generation has been recently introduced as a new
concept for the generation of power and the enhancement of
conventionally produced electricity. Global warming issue calls for
renewable energy resources in electricity production. Petrol and fuel
crisis, as well as environmental issues, are of todays highest concerns
all over the world. In recent years, many places in the world have been
experiencing continued shortage of electric power or energy crisis due
to their fast increasing demand [1][2]. There are two ways of research
and development for solving this problem:
a) Improve the efficiency of present power conversion and
utilization system. Since various high-power semiconductor
devices (IGBT, MOSFET) were developed and become
commercially available. The increased power ratings as well as
-1-
-2-
-3-
(a)
(b)
Fig. 1.1 Topologies of single-phase PV system
(a) two-state
(b) single-state
-5-
-7-
-8-
- 10 -
Chapter
2.1 Introduction
Over the years, the energy consumption is increased due to more and
more appliances that are using electricity. Among the new energy
sources, wind and solar energy are receiving higher interest due to their
potentials. The wind turbine (WT) and photovoltaic (PV) systems are
widely used in countries with high wind potential (e.g. Germany,
Denmark, Spain, Korea, Japan, China and other countries). Except a
few wind turbine topologies, almost all WT and PV systems are
interfacing the utility grid through a pulse-width modulated (PWM)
driven Voltage Source Inverter (VSI) [23] whose functionality is to
synchronize and transfer the variable produced power over to the grid.
Another feature of the adopted dc/ac inverter is that it is usually PWM
- 11 -
at a high switching frequency and is either current- or voltagecontrolled using a selected linear or nonlinear control algorithm.
Although current and voltage control schemes are possible and
implementable, the current control principle is generally preferred for
its excellent dynamic characteristics and its inherent over-current
limitation capabilities. The deciding criterion when selecting the
appropriate control scheme, which deals with the grid interconnection,
usually involves an optimal tradeoff between cost, complexity and
waveform quality needed for meeting the power quality standards for
distributed generation in low-voltage grids, like IEEE-1547 (in USA)
and IEC61727 (in Europe) at a commercially favorable cost. Since the
similarities in hardware, initially the control strategies applied to drives
applications were also applied in distributed power generation system
(DPGS). However, because of the more restrictive standard demands
for power quality, various control strategies and controller types have
also been investigated [24][27]. One of the most common control
structures applied to DPGS is based on Voltage Oriented Control (VOC)
employing a controller for the dc-link voltage and a controller to
regulate the injected current into the utility grid [27].
However, the most controllers with precise reference tracking are
either overburdened by complex computational requirements or have
high parametric sensitivity (sometimes both).
On the other hand, simple linear proportionalintegral (PI)
controllers are prone to known drawbacks, including the presence of
steady-state error in stationary frame and the need to decouple phase
dependency in three-phase systems although they are relatively easy to
implement [27]. Many approaches have been proposed in the literature
- 12 -
- 13 -
K
1
GPI (ideal) = K p + i = K p 1 +
T s
s
i
(2.1)
p
are the proportional gain, integral gain and
K
i
G p = Ks
1 + a s + a s 2 + ... + a s m - sT
m e
1
2
d
2
n
1 + b s + b s + ... + b s
1
2
n
(2.2)
- sT
d in (2) can
be expanded as:
( ) ( ) ( )
sT 2
sT 3 sT 4
- sT
d
d
e
= 1 - sT +
- d + d + ...
d
2!
3!
4!
- 15 -
(2.3)
Gc(S)
Gp(S)
Controller
Plant
Gain(dB)
60
K p=10
40
Kp increases
20
0
-4
10
-3
10
-2
10
-1
10
10
10
10
10
10
Phase(deg)
-20
-40
-60
Kp increases
-80
-100
-4
10
-3
10
-2
10
-1
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
80
K i=5
Ki increases
60
K i=10
40
20
0
-4
10
-3
10
-2
10
-1
10
10
10
10
10
10
Phase(deg)
-20
-40
Ki increases
-60
-80
-100
-4
10
-3
10
-2
10
-1
10
10
10
Frequency (Hz)
10
10
10
Gr (s ) =
G (s )G (s )
Y (s )
c
p
=
R(s ) 1 + G (s )G (s )
c
p
(2.4)
G (s )
Y (s )
p
(
)
=
Gd s =
D (s ) 1 + G (s )G (s )
c
p
(2.5)
(2.6)
d 2 k G (s )
r
lim
=0
2
w 0 dw k
s = jw
(2.7)
for k=1,2,3
The closed-loop transfer function between the output and reference
input of the system, shown in Fig. 2.1, can be obtained by substituting
- 17 -
(2.8)
where
N1 = a + T - T
1 i d
(2.8.a)
T2
N2 = a + a T - a + T T + d
2
1i
1 i d
2!
(2.8.b)
T2 T3
N3 = a + a T - a + a T T + a + T d - d
3
2 i
2 1i d
1 i 2!
3!
(2.8.c)
T
T
i =N +
i
D1 = a + T - T +
1 i d K K
1 K K
p s
p s
(2.8.d)
T2
T
T
i = N +b
i
D2 = a + a T - a + T T + d + b
2 1i
1 i d
1
2
1
2!
K K
K K
p s
p s
(2.8.e)
...
T2 T3
b T
b T
D3 = a + a T - a + a T T + a + T d - d + 2 i = N + 2 i
3
2 i
2 1i d
1 i 2!
3 K K
3! K K
p s
p s
(2.8.f)
...
The condition (2.7) is fulfilled by using the set of equations with the
used notations in (2.8) [41]:
2k
2k
i=0
i=0
- 18 -
(2.9)
2b - b 2 b - a + T - b
1 2 1 1 1 d
K =
p 2K
b -a +T a -b
s
1 1 d
T =
i
2K K b - a + T
p s 1 1 d
1 + 2K K
p s
(2.10)
(2.11)
where
T2
a = a -T b -b + a T - a + d
1 d 1 2
1 d
2 2!
(2.12)
T 2
T2
T3
d
d
d
b = - a Td + a +
b1 - a1 - Td b2 + b3 + a1 2! + a2Td - a3 + 3!
1
2
2
!
(2.13)
The effect of each parameter to PI controller operation is analyzed.
Assuming one of parameters to be constant, the effect of changes in the
other parameter can be easily observed.
Fig. 2.2 shows the effect of Kp to the operation of PI controller. It
can be concluded that the harmonic impedance depends on Kp value, it
increases as Kp is added. A high value of Kp can lead to a low harmonic
output caused by the disturbance. Similarly, Fig. 2.3 shows the effect of
Ki to the operation of PI controller. The change of Ki has effect on both
- 19 -
(2.14)
where u(t) and e(t) are the output and the error signal input of the PI
controller in time domain, Kp and Ki are the PI controller gains,
respectively.
During a sampling time Ts, equation (2.14) can be rewritten as
follows:
u (k ) = K e(k ) + K T e(k )
p
i s
k
(2.15)
(2.16)
- 20 -
Gain(dB)
60
50
40
30
20
-2
10
-1
10
10
10
10
10
10
10
Phase(deg)
-20
-40
-60
-80
-100
-2
10
-1
10
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
60
50
40
30
20
-2
10
-1
10
10
10
10
10
10
10
Phase(deg)
100
50
0
-50
-100
-2
10
-1
10
10
10
10
Frequency (Hz)
10
10
10
- 21 -
u (k ) = u (k - 1) + K
(2.17)
(2.18)
- 22 -
[ (
1
G PR (s ) = G ac (s ) = G s + jw + G s - jw
PI
I
0
0
2 I
)]
(2.19)
K
K
Ks
1
i +K +
i =K +
i
GPR (s ) = G ac (s ) = K +
p
PI
p s - jw
2
2 p s + jw
s + w2
0
0
(2.20)
- 23 -
GPR ( nonideal ) (s ) = K p + Ki
wc s + wc2
s 2 + 2w s + w 2 + w 2
c
c
0
- 24 -
(2.21)
G PR (nonideal ) (s ) = K p + K i
w s
c
2
s + 2w s + w 2
c
0
(2.22)
- 25 -
the variation of integral gain Ki has effect on the gain of the controller.
The gain increases as Ki is added. With proportional gain Kp, the Ki
variation has effects on both bandwidth and gain of PR controller, as
shown in Fig. 2.6(b). PR controller can achieve a very high gain in a
narrow frequency band centered around the resonant frequency. The
width of this frequency band depends on the integral gain Ki. A low Ki
value leads to a very narrow band and vice versa.
Secondly, assuming the proportional gain Kp and integral gain Ki are
constant, the cutoff frequency c have effect on the bandwidth and
small effect on the gain of the PR controller. As shown in Fig. 2.7(a)
and (b), the PR controller bandwidth increases as c added, but there is
only a small change in the controller gain. So that we can say the same
PR controller gain can be achieved at the resonant frequency when c
changes. Using a smaller c will make the controller more sensitive to
the variation of frequency, hence this leads to a slower transient
response and more difficult in implementation in DSP. In practical, the
value of c can be chosen at 5-15(rad/s) for a good response [36].
Finally, as shown in Fig. 2.8, when Kp is added, the PR controller
gain increases. But a high Kp value will decrease the bandwidth of the
PR controller. It means that the harmonic impedance increases as Kp
added, and then the higher Kp value can lead to a relatively low
harmonic component. The value of Kp can be chosen to make sure that
the system can achieve high performance in the sinusoidal reference
tracking as well as the disturbance rejection.
In conclusion, the PR controller gains can be designed following a
step-by-step procedure:
- First, choose the value of c to meet the system bandwidth.
- 26 -
Gain(dB)
-50
Ki increases
-100
-1
10
10
10
10
10
10
10
100
Ki = 1
Phase(deg)
50
K i = 10
K i = 100
K i = 200
-50
-100
-1
10
10
10
10
Frequency (Hz)
10
10
10
(a)
Bode diagram of PR controller when Ki changes
50
Ki = 1
Gain(dB)
40
K i = 10
30
20
K i = 100
Ki increases
K i = 200
10
0
-1
10
10
10
10
10
10
10
Phase(deg)
100
50
Ki increases
0
-50
-100
-1
10
10
10
10
Frequency (Hz)
10
10
10
(b)
Fig. 2.6 Frequency response of non-ideal PR controller when Ki changes
(a) Kp = 0, wc = 1rad/s, w0 = 377rad/s
(b) Kp = 1, wc = 1rad/s, w0 = 377rad/s
- 27 -
Gain(dB)
-50
-100
-150
-1
10
wc increases
0
10
10
10
10
10
10
100
Wc = 1
Phase(deg)
50
0
W c = 10
wc increases
W c = 100
W c = 200
-50
-100
-1
10
10
10
10
Frequency (Hz)
10
10
10
(a)
Bode diagram of PR controller when W c changes
4
Wc = 1
Gain(dB)
3
2
W c = 10
W c = 100
wc increases
W c = 200
1
0
-1
10
10
10
10
10
10
10
Phase(deg)
20
wc increases
10
0
-10
-20
-1
10
10
10
10
Frequency (Hz)
10
10
10
(b)
Fig. 2.7 Frequency response of non-ideal PR controller when wc changes
(a) Kp = 0, Ki = 1, w0 = 377rad/s
(b) Kp = 1, Ki = 1, w0 = 377rad/s
- 28 -
Gain(dB)
40
30
20
Kp increases
10
0
-1
10
10
10
10
10
10
10
Phase(deg)
20
10
Kp = 1
Kp = 10
Kp = 100
-10
Kp = 200
-20
-1
10
10
10
10
Frequency (Hz)
10
10
10
applying
the
bilinear
transformation
s=
2 1 - z -1
T 1+ z-1
s
and
(2.23)
4 + 4T w + w 2T 2 K + 4 K T w
s c
i s c
0 s p
n =
0
2
2
4 + 4T w + w T
s c
0 s
(2.23a)
- 8 + 2w 2T 2 K
0 s p
n =
1
4 + 4T w + w 2T 2
s c
0 s
(2.23b)
4 - 4T w + w 2T 2 K - 4 K T w
s c
0 s p
i s c
n =
2
2
2
4 + 4T w + w T
s c
0 s
(2.23c)
- 8 + 2w 2T 2
0 s
d =
1
4 + 4T w + w 2T 2
s c
0 s
(2.23d)
4 - 4T w + w 2T 2
s c
0 s
d =
2
4 + 4T w + w 2T 2
s c
0 s
(2.23e)
- 30 -
- 31 -
(2.24)
where u(k) is the error input and y(k) is the output of the PR
controller.
- 32 -
via LC-filter, the resonant frequency varies over time as the inductance
value of the grid.
The LCL-filter can provide a better decoupling between the filter
and the grid impedance. A lower ripple current distortion across the
grid-side inductor since the current ripple is reduced by the capacitor.
Although LCL-filter can provide a good attenuation ratio even with
small L and C values, the LCL-filter design, which will be presented in
Chapter 3 in detail, needs to consider various constraints, such as the
resonance phenomenon, the current ripple through filter inductor, the
total impedance of the filter, the current harmonics attenuation at
switching frequency and the reactive power absorbed by capacitor, etc.
The relationship between input and output of current control system
in Fig. 2.9(b) can be obtained as:
(s ) = H i (s )I *g (s ) - H v (s )V g (s )
(2.25)
I (s )
G (s )G (s )G (s )
g
c
i
f
=
H (s ) =
i
*
I (s ) 1 + Gc (s )Gi (s )G f (s )
g
(2.26)
(s ) =
v
G (s )
(s )
f
=
V (s ) 1 + G (s )G (s )G (s )
g
c
i
f
I
(2.27)
Rd C f s + 1
consideration; G f (s) =
is the
Li Lg C f s 3 + Li + L g Rd C f s 2 + Li + Lg s
- 33 -
L +L
i
g
).
LL C
i g f
(s ) =
i ( PI )
A s2 + A s + A
2
1
0
5
4
3
B s + B s + B s + B s2 + B s + B
5
4
3
2
1
0
(2.28)
A =K R C
p d f
2
(2.28a)
A =K +K R C
p
i d f
1
(2.28b)
A =K
0
i
(2.28c)
B = 1.5T L L C
5
s i g f
(2.28d)
B = 1.5T L + L R + L L C
4
s i
g d
i g f
(2.28e)
- 34 -
)(
B = 1.5Ts + Rd C f Li + L g
3
(2.28f)
B = Li + Lg + K p Rd C f
2
(2.28g)
B =K +K R C
p
i d f
1
(2.28h)
B =K
0
i
(2.28i)
C s3 + C s 2 + C s + C
3
2
1
0
H
(s ) =
i( PR )
6
5
4
3
D s + D s + D s + D s + D s2 + D s + D
6
5
4
3
2
1
0
(2.29)
C =K R C
p d f
3
(2.29a)
C = K + 2 K + K R C w
2
p
p
i d f c
(2.29b)
C = K w 2 R C + 2 K + K w
p 0 d f
p
i c
1
(2.29c)
C = K w2
0
p 0
(2.29d)
D = 1.5T L L C
6
s i g f
(2.29e)
[ (
)]
D = 1.5T L + L R C + 1 + 2 1.5T w Li L g C
s i
g d f
5
s c
f
[ (
(2.29f)
)]
D = 1.5T L + L + R C L + L 1 + 2 1.5T w +
s i
g
d f i
g
s c
4
+ Li L g C 2w + 1.5T w 2
f c
s 0
[ (
(2.29g)
)]
D = L + L 1 + 2 1.5T w + L + L 2w + 1.5T w 2 R C +
3 i
g
s c
g c
s 0 d f
i
+ Li L g C w 02 + K p Rd C f
f
(2.29h)
D = L + L 2w + 1.5T w 2 + L + L R C w 2 + K +
2 i
g c
s 0 i
g d f 0
p
+ 2 K + K Rd C f w
p
i
c
(2.29i)
- 35 -
Gain(dB)
0
-50
-100
-150
1
10
10
10
10
10
10
Phase(deg)
0
Using PI controller
Using PR controller
-100
-200
-300
1
10
10
10
10
Frequency (Hz)
10
10
- 36 -
0.5p/T
0.4p/T
0.10.3p/T
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.7p/T
0.6
0.8p/T
0.4
Imaginary Axis
0.9p/T
0.2
0
-0.2
0.2p/T
0.1p/T
p/T
p/T
0.9p/T
0.1p/T
-0.4
0.8p/T
-0.6
0.2p/T
0.7p/T
-0.8
0.3p/T
0.6p/T
-1
-1
-0.8
-0.6
-0.4
0.5p/T
-0.2
0.4p/T
0.2
0.4
0.6
0.8
Real Axis
(a)
Root locus of system using PR controller
1
0.6p/T
0.8
0.5p/T
0.4p/T
0.10.3p/T
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.7p/T
0.6
0.8p/T
Imaginary Axis
0.4
0.2
0
-0.2
0.9p/T
0.2p/T
0.1p/T
p/T
p/T
0.9p/T
0.1p/T
-0.4
-0.6
0.8p/T
0.2p/T
0.7p/T
-0.8
0.3p/T
0.6p/T
-1
-1
-0.8
-0.6
-0.4
0.5p/T
-0.2
0.4p/T
0.2
0.4
0.6
0.8
Real Axis
(b)
Fig. 2.12 Root locus of closed-loop current control system
(a) Using PI controller
(b) Using PR controller
- 37 -
-2 dB
2
4 dB
Imaginary Axis
-4 dB
6 dB
10 dB
-6 dB
-10 dB
-1
-2
-3
-3
-2
-1
Real Axis
(a)
Nyquist diagram of system using PR controller
3
0 dB
2 dB
-2 dB
2
4 dB
Imaginary Ax is
-4 dB
6 dB
10 dB
-6 dB
-10 dB
-1
-2
-3
-3
-2
-1
Real Axis
(b)
Fig. 2.13 Nyquist diagram of open-loop current control system
(a) Using PI controller
(b) Using PR controller
- 38 -
D = L + L w 2 + 2 K + K w + K w 2 Rd C f
1 i
g 0
p
i c
p 0
D = K w2
0
p 0
(2.29j)
(2.29k)
- 39 -
[Igrid ]
Igrid
From Igrid
I beta
[theta ]
vd cmd
ibeta
[theta ]
Theta
[Vpeak ]
v peak
vq cmd
From Vgrid
Vgrid
v peak
[Vpeak]
Theta
[theta ]
[m]
PWM Generator
Vcmd
Signal(s) Pulses
A
Current control
[Vgrid ]
theta
ialpha
Command Voltage
Generator
[Vdc]
g
+
-
DC
Voltage
Source
Grid voltage
Grid voltage
Igrid
Grid current
Grid current
+
A
[Vgrid ]
Vgrid
[Igrid ]
A1
[PWM]
-
IGBT Inverter
Filter
B1
PWM
PWM voltage
Theta
Scope
Fig. 2.15 The simulation model of 3kW single-phase grid-connected PV VSI system using Matlab/Simulink
- 40 -
PLL
By
(s ) = w - s
(2.30)
w+s
applying
the
bilinear
transformation
s=
2 1 - z -1
T 1+ z-1
s
and
substituting into (2.30), the discrete PLL transfer function can be given
by (2.31):
(z ) =
PLL
(
(
)
)
wT - 2 + wT + 2 z - 1
s
s
wT + 2 + wT - 2 z - 1
s
s
(2.31)
Hence, the virtual voltage which is generated from the measured grid
voltage can be implemented by the following discrete difference
equation:
y(k ) = au(k ) + u(k - 1) - ay(k - 1)
a=
(2.32)
wT - 2
s
wT + 2
s
(2.33)
where u(k) is the error input and y(k) is the output of the filter,
respectively.
In Fig. 2.14, the grid voltage becomes a-component of stationary
reference frame while b-component is a virtual voltage through the
aforementioned all-pass filter. And then, the stationary reference frame
ab-components are converted to the synchronous reference frame dqcomponents, where d-component denotes the difference between utility
- 41 -
Value
3 (kW)
400 (V)
220 (V)
13.64 (A)
Grid frequency f0
60 (Hz)
10 (kHz)
Modulation index ma
0.8
Inverter-side inductance Li
0.481 (mH)
Grid-side inductance Lg
0.348(mH)
Capacitance Cf
8.2 (mF)
Damping resistance Rd
4.95 (W)
3.9 (kHz)
- 42 -
400
200
(a) 0
-200
-400
(b)
(c)
400
200
0
-200
-400
400
200
0
-200
-400
0.005
0.01
0.015
0.02
0.025
0.03
0.035
The stationary frame voltages (V -V )
0.04
0.045
0.05
0.005
0.01
0.015
0.02
0.025
0.03
0.035
The synchronous frame voltages (Vd-V q)
0.04
0.045
0.05
0.005
0.01
0.015
0.02
0.025
0.03
0.035
The stationary frame currents (I -I )
0.04
0.045
0.05
a b
10
(d)
0
-10
0.005
0.01
0.015
0.02
0.025
0.03
0.035
The synchronous frame currents (Id-Iq)
0.04
0.045
0.05
0.005
0.01
0.015
0.035
0.04
0.045
0.05
0.035
0.04
0.045
0.05
10
(e)
0
-10
0.025
0.03
10
(f)
0.02
5
0
0.005
0.01
0.015
0.02
0.025
0.03
- 43 -
(a)
0
-200
-400
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
0.045
0.05
0.04
0.045
0.05
(b)
0
-5
-10
0.005
0.01
0.015
0.02
0.025
0.03
0.035
(c)
0
-5
-10
0.005
0.01
0.015
0.02
0.025
0.03
0.035
0.04
0.045
0.05
0.035
0.04
0.045
0.05
(d)
4
2
0
0.005
0.01
0.015
0.02
0.025
0.03
Mag
Mag
200
400
600
Frequency (Hz)
800
1000
200
400
600
Frequency (Hz)
800
(a)
(b)
Fig. 2.18 Frequency spectrum and THD value of grid current
(a) using PI controller
(b) using PR controller
- 44 -
1000
Grid voltage
Real component
Virtual component
- 46 -
Grid voltage
Grid current
dc-link voltage
(a)
Grid voltage
Grid current
dc-link voltage
(b)
Fig. 2.21 Transient-state operation
(a) using PI controller
(b) using PR controller
- 47 -
Grid voltage
Grid current
(a)
Grid voltage
Grid current
(b)
Fig. 2.22 Steady-state operation
(a) using PI controller
(b) using PR controller
- 48 -
(a)
(b)
Fig. 2.23 Frequency spectrum and THD value of grid current
(a) using PI controller
(b) using PR controller
- 49 -
The experimental results of the PV PCS are shown in Fig. 2.20 - Fig.
2.23.
Fig. 2.20 shows the implementation of the DPLL, where channel 1
shows the grid voltage (250V/div), channel 2 shows the real voltage
component in stationary reference frame, channel 3 shows the virtual
voltage component generated by APF and the grid phase angle is
measured at channel 4. It is noted that all results are in phase.
Fig. 2.21 shows the transient-state performance by using PI and PR
controller. As shown in Fig. 2.21 (a), the grid current has fluctuation
during transient-state by using PI controller. The PR controller has a
better performance, even in transient-state as shown in Fig. 2.21 (b)
Fig. 2.22 (a) shows the grid voltage in channel 1 (250V/div), grid
current in channel 2 (10A/div) and the grid phase angle in channel 4
(10V/div) by using the PI controller. The experimental results of using
PR controller are shown in Fig. 2.22 (b) with the same channel and
scale, respectively. It can be seen that the grid current waveform in Fig.
2.22 (b) is nearly perfect sinusoid. It is noted that the experimental
results show a good agreement with the simulation results and both
waveforms are in phase. The frequency analysis and THD values of
grid current using the PI and PR controller are shown in Fig. 2.23 (a)
and (b), respectively. It is noted that in this experiment, the PV inverter
does not work with the maximum rated power yet, so the THD can be
reduced if working in maximum rated power.
Compared with all the experimental results mentioned above, it is
can be shown that by using PR controller, the current control scheme
can achieve the steady-state performance better than the use of
conventional PI controller in current-controlled based single-phase
- 50 -
2.7 Conclusions
In this chapter, a comparison between the conventional PI and PR
controller has been presented. Firstly, these control schemes have been
simulated by Matlab/Simulink and then, have been implemented in a
single-phase grid-connected current-controlled based PV PCS with 32bit fixed-point TMS320F2812 DSP.
The theoretical analysis has been performed that the PR controller
has some advantages compared with the conventional PI controller and
it can enable the implemented control inverter system to achieve the
high performance. The experimental results of 3KW PV PCS prototype
system verified the performance of these current control schemes.
Furthermore, these control schemes are suitable for single-phase
current-controlled VSI of distributed generation units, as well as threephase systems, and not only photovoltaic but also the other power
generation system, such as small wind turbine, fuel-cells, etc...
- 51 -
Chapter
3.1 Introduction
The VSI, with the use of PWM in conjunction with current
controller, can generate a sinusoidal current with a low THD below 5%.
However, the high switching frequencies of between 2-150 kHz can
cause high-order harmonics that can produce loss and disturb sensitive
loads on the utility grid. To eliminate the current harmonics around the
switching frequency and comply with the standards (e.g. IEEE 1547),
the grid-connected inverter for renewable energy source requires an
output low-pass filter for interfacing with the grid. Ideally, the filter
with low cut-off frequency and high attenuation at the high switching
- 52 -
- 53 -
Ri
Li
(a)
L Filter
Ri
Li
Cf
(b)
Rd
LC Filter
Ri
Lg
Li
Cf
(c)
Rd
LCL Filter
Fig. 3.1 Low-pass filter topologies
(a) L-filter
(b) LC-filter
(c) LCL-filter
- 54 -
Rg
f res =
1
2p Li C f
(3.1)
- 56 -
Gain(dB)
50
-50
-100
0
10
10
10
10
10
10
10
-89
Phase(deg)
L
-89.5
-90
-90.5
-91
0
10
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
50
0
-50
-100
0
10
10
10
10
10
10
10
Phase(deg)
200
LC no damp
LC damp
100
0
-100
-200
0
10
10
10
10
Frequency (Hz)
10
10
10
- 57 -
Gain(dB)
0
-50
-100
-150
0
10
10
10
10
10
10
10
Phase(deg)
100
LCL no damp
LCL damp
0
-100
-200
-300
0
10
10
10
10
Frequency (Hz)
10
10
10
- 58 -
1
2p
Li + Lg
Li Lg C f
(3.2)
- 59 -
Rd C f s + 1
ig(s)
GLCL(s) =
=
vi(s) d s3 + d s 2 + d s + d
3
2
1
0
(3.3)
where
d 3 = Li L g C f
(3.3.a)
d 2 = Li R g + L g Ri + Li + L g C f
(3.3.b)
d1 = Li + L g + Ri Rd + R2 Rd + Ri R g C f
(3.3.c)
d 3 = Ri + R g
(3.3.d)
Rd C f s + 1
ig(s)
GLCL(s) =
=
vi(s) L L C s3 + L + L R C s 2 + L + L s
g d f
g
i g f
i
i
(3.4)
the filter has a lower attenuation ratio than expected. Moreover, a weak
design can increase the distortion caused by the oscillation. In the real
application, the harmonic components of inverter output current may
cause the saturation of filter resonance. Hence, the filter design must
consider about the inverter output current ripple and the damping
component should be used to avoid the resonance. However, the
damping is limited by the filter inductance value, losses and filter
performance reduction.
To design the LCL-filter, some limits on the parameters values have
been studied in [49] and are revised as follows:
a) The total inductance should be less than 0.1 (p.u) to limit the ac
drop voltage during operation. Otherwise, a higher dc-link voltage
will be required and this results in higher switching losses.
b) The capacitance is limited by the reactive power factor (less
than 5%).
- 61 -
h
I (1)
I (1)
cos (j ) .
I
- 62 -
V L = Vin - V g = 0
(3.5)
(3.6)
where Ipp and Irpm are the peak-to-peak value and maximum value of
filter inductor current ripple, respectively; Vdc is the dc-link voltage;
Vav is the average value of inverter output voltage; L is the filter
inductance value; d1 is the duty cycle and Ts is the switching time.
During the interval of 0<wt<p:
V av (wt ) = d1 (wt )V dc
(3.7)
- 63 -
(3.8)
V Ts
I rpm = dc 1 - d (wt ) d1(wt )
1
4L
V Ts
= dc 1 - m a sin (wt ) m a sin (wt )
4L
(3.9)
From (3.9), we can calculate the total filter inductance with the
known modulation index ma and the chosen maximum current ripple
value as shown in (3.10):
V Ts
L = dc
1 - m sin (wt ) m sin (wt )
a
a
4 I rpm
(3.10)
To simplify the analysis, the average inverter output voltage, the grid
voltage and duty cycle are assumed to be constant during the switching
time Ts. Hence, (3.10) can be rewritten as follows:
V Ts
L = dc
1 - ma m a
4 I rpm
(3.11)
(3.12)
- 64 -
(a)
(b)
Fig. 3.6 Single-phase grid-connected full-bridge PV inverter using LCL-filter
(a) Equivalent circuit
(b) Equivalent block diagram of current control
- 65 -
- 66 -
frequency.
Thus,
only
switching
harmonic
voltage
(3.13)
Li = aLg
(3.14)
Li =
a
a
L ZL =
Z
i a +1 L
a +1
(3.15)
Lg =
1
1
L ZL =
Z
g a +1 L
a +1
(3.16)
ZC
= - rZ L
(3.17)
- 67 -
(3.18)
ii =
Vsw
Z L + Z Lg || Z C
i
f
(3.19)
||
Z
C ii
Lg
f
ig =
ZL
(3.20)
- 68 -
ii =
Vsw
a
r
Z L +
Z
a +1
r -1 L g
Vsw
a
r 1
Z L +
Z
a +1
r - 1 a + 1 L
ig =
r
i
Z
r -1 Lg i
ZL
(3.21)
r
r (a + 1)(r - 1)
i
i i =
r -1
r - 1 a (r - 1) + r L
(a + 1)r i
a (r - 1) + r L
(3.22)
s=
ig
iL
(a +1)r
a(r -1) + r
(3.23)
s =
ig
iL
(a + 1)r
a (1 - r ) - r
(3.24)
- 69 -
100 res sw
2
(3.25)
a=
(s + 1)r
s (1 - r ) - r
(3.26)
= - jw sw L g r L C =
g f
1
2
rw sw
1
1
LC f =
2
a +1
rw sw
LC f =
a +1
2
rw sw
(3.27)
2 =
w res
Li + L g
Li L g C f
(3.28)
- 70 -
(a + 1)2
L
=
w2 =
res a 1 2
aLC
f
L C f
a + 1 a + 1
(3.29)
2 =
w res
2
sw sw
(3.30)
1+s
(3.31)
(3.32)
- 71 -
Qre = aPrated =
2
V rated
ZC
2
= V rated
w0C f
(3.33)
Cf =
aPrated
Qre
=
2
2
w0Vrated
w0Vrated
(3.34)
- 72 -
Cf =
a +1
2 L
rwsw
(3.35)
r
r = (a + 1)x
a +1
(3.36)
(3.37)
(1 + s )a 2 + 2 + 2s - s a + (1 + s )a = 0
(3.38)
1
Rd = Z C =
w res C f
f
(3.39)
- 74 -
- 76 -
Table 3.1
VSI system parameters
Specifications
Value
3 (kW)
400 (V)
220 (V)
13.64 (A)
Grid frequency f0
60 (Hz)
10 (kHz)
Switching period Ts
100 (ms)
Modulation index ma
0.8
Table 3.2
Designed LCL-filter parameters
Specifications
Value
0.5%
10%
Total inductance L
0.830 (mH)
Inverter-side inductance Li
0.481 (mH)
Inverter-side inductance Lg
0.348(mH)
Capacitance Cf
8.2 (mF)
Damping resistance Rd
4.95 (W)
3.9 (kHz)
- 77 -
by using (3.34).
c) With x is 0.04 from (3.36) and (3.37), we choose the switching
current ripple attenuation ratio s is 0.18 based on (3.32). Then
substituting x and s into (3.38), we can get the inductance ratio a
is 1.38.
d) The inverter-side inductance Li and grid-side inductance Lg can
be obtained as 0.481(mH) and 0.348(mH) by using (3.15) and
(3.16), respectively.
e) Finally, using (3.39), we can get the damping resistance Rd is
4.95(W).
3.3.2 Comparative analysis of filter topologies
To compare L-, LC- and LCL-filter, the same inductance,
capacitance and resistance are chosen and used in the same singlephase grid-connected VSI system. Hence:
- L-filter has the filter inductance L is 0.830 (mH).
- LC-filter has the filter inductance L is 0.830 (mH), the filter
capacitance is C = 8.2 (mF) and the damping resistance Rd is
4.95(W). The resonant frequency is 1.93 (kHz).
- LCL-filter parameters are in Table 3.2
The purpose of our task is to comparative analyze the performance
of filter topologies, so the PI controller (the transfer function is
expressed in (2.1) is adopted because of a simple analysis and
implementation.
Assuming the switching frequency is high enough to neglect the
inverter dynamics, the PWM inverter can be represented by a constant
gain for simplicity of analysis (due to relatively high switching
- 78 -
G i (s) = e
-Td s -1.5Ts s
=e
1
1 + 1.5Ts s
(3.40)
G f (s ) =
1
Ls
(3.41)
G f (s ) =
1
Ls
(3.42)
G f (s ) =
Rd C f s + 1
1
Ls LC s 2 + R C s + 1
d f
f
(3.43)
(3.44)
- 80 -
Gop(s) =
K p s + Ki
(3.45)
LTd s 3 + Ls 2
Closed loop:
Gcl (s) =
K p s + Ki
LTd s 3 + Ls 2 + K p s + K i
(3.46)
Gop (s) =
5
4
3
2
d5s + d 4 s + d3s + d 2 s
(3.47)
where
d5 = Td Li Lg C f
(3.47a)
- 81 -
Bode plot (L-, un-damped LC-, damped LC-, un-damped LCL- and damped LCL filter)
50
Gain(dB)
-50
-100
0
10
10
10
10
10
10
10
100
L
un-damped LC
damped LC
un-damped LCL
damped LCL
Phase(deg)
50
0
-50
-100
0
10
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
0
-50
-100
-150
1
10
Phase(deg)
100
0
10
10
10
10
10
L
LC no damp
LC damp
LCL no damp
LCL damp
-100
-200
1
10
10
10
10
Frequency (Hz)
10
10
- 82 -
Gain(dB)
50
0
-50
-100
1
10
L
undamped-LC
damped-LC
undamped-LCL
damped-LCL
2
10
10
10
10
10
Phase(deg)
200
100
0
-100
-200
1
10
10
10
10
Frequency (Hz)
10
10
Gain(dB)
0
-20
-40
-60
-80
1
10
L
undamped-LC
damped-LC
undamped-LCL
damped-LCL
2
10
10
10
10
10
50
Phase(deg)
0
-50
-100
-150
-200
1
10
10
10
10
Frequency (Hz)
10
10
- 83 -
2.5
x 10
2
1.5
Imaginary Axis
1
0.5
0
-0.5
-1
-1.5
-2
-2.5
-4000
-3500
-3000
-2500
-2000
-1500
-1000
-500
500
Real Axis
Fig. 3.15 Root locus of closed-loop system using L-filter in case of grid-side
sensing
1.5
x 10
Imaginary Axis
0.5
-0.5
-1
-1.5
-2
-1.5
-1
-0.5
Real Axis
0.5
1.5
x 10
Fig. 3.16 Root locus of closed-loop system using un-damped LC-filter in case
of grid-side sensing
- 84 -
1.5
x 10
Imaginary Axis
0.5
-0.5
-1
-1.5
-3.5
-3
-2.5
-2
-1.5
-1
-0.5
Real Axis
0.5
x 10
Fig. 3.17 Root locus of closed-loop system using damped LC-filter in case of
grid-side sensing
x 10
0.8
0.6
Imaginary Axis
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
-1
-10000
-8000
-6000
-4000
-2000
2000
4000
6000
8000
Real Axis
- 85 -
1.5
x 10
Imaginary Axis
0.5
-0.5
-1
-1.5
-20000
-15000
-10000
-5000
5000
Real Axis
Fig. 3.19 Root locus of closed-loop system using damped LCL-filter in case
of grid-side sensing
- 86 -
[Igrid ]
Igrid
From Igrid
I beta
[theta ]
vd cmd
ibeta
[theta ]
Theta
[Vpeak ]
v peak
vq cmd
v peak
From Vgrid
Vgrid
Theta
[m]
PWM Generator
Vcmd
Signal(s) Pulses
A
Current control
[Vgrid ]
theta
ialpha
[Vpeak]
[theta ]
Command Voltage
Generator
[Vdc]
g
+
-
Igrid
A
IGBT Inverter
Filter
A1
B1
Grid voltage
Grid voltage
[Igrid ]
DC
Voltage
Source
[Vgrid ]
Vgrid
Grid current
Grid current
[PWM]
PWM
PWM voltage
Theta
Scope
Fig. 3.20 The simulation model of 3kW single-phase grid-connected PV VSI system using Matlab/Simulink
- 87 -
- 88 -
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
(a)
Mag
5
4
3
2
1
0
500
1000
1500
Frequency (Hz)
2000
2500
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
Mag
(b)
4
3
2
1
0
500
1000
1500
Frequency (Hz)
2000
2500
- 89 -
0
-5
0
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
(c)
Mag
5
4
3
2
1
0
500
1000
1500
Frequency (Hz)
2000
2500
-5
0
0.01
0.02
0.03
0.04
0.05
Time (s)
0.06
0.07
0.08
0.09
0.1
(d)
Mag
5
4
3
2
1
0
500
1000
1500
Frequency (Hz)
2000
2500
- 90 -
Grid voltage
Inverter voltage
Inverter current
Grid current
(using L-filter)
Inverter current
Fig. 3.27 Inverter current and grid current using L-filter waveforms
- 91 -
Inverter current
Grid current
(using un-damped LC-filter)
(a)
Inverter current
Grid current
(using damped LC-filter)
(b)
Fig. 3.28 Inverter current and grid current using LC-filter waveforms
(a) without damping
(b) with damping
- 92 -
Inverter current
Grid current
(using un-damped LCL-filter)
(a)
Inverter current
Grid current
(using damped LCL-filter)
(b)
Fig. 3.29 Inverter current and grid current using LCL-filter waveforms
(a) without damping
(b) with damping
- 93 -
THD = 10.4%
THD = 9.7%
- 94 -
THD = 5.7%
(a)
THD = 5%
(b)
Fig. 3.32 Frequency spectrum of grid current using LC-filter
(a) without damping
(b) with damping
- 95 -
THD = 5.2%
(a)
THD = 4.6%
(b)
Fig. 3.33 Frequency spectrum of grid current using LCL-filter
(a) without damping resistor
(b) with damping resistor
- 96 -
d 4 = Li + L g Td Rd C f + Li Lg C f
(3.47b)
d3 = Li + Lg Td + Rd C f
(3.47c)
d 2 = Li + Lg
(3.47d)
Closed loop:
K p L g C f s 3 + K p Rd C f + K i L g C f s 2 + K p + Rd C f K i s + 1
Gcl (s) =
5
4
3
2
d 5 s + d 4 s + d 3 s + d 2 s + d1s + 1
(3.48)
where
d5 = Td Li Lg C f
(3.48a)
d 4 = Li + L g Td Rd C f + Li Lg C f
(3.48b)
d 3 = Li + L g Td + Rd C f + K p L g C f
(3.48c)
d 2 = Li + Lg + K p Rd C f + K i Lg C f
(3.48d)
d1 = K p + K i Rd C f
(3.48e)
- 98 -
- 99 -
3.6 Conclusions
- 100 -
Chapter
4.1 Introduction
In recent years, the techniques developed for voltage-fed dc/ac
PWM inverter has gained wide attention, where the switching devices
such as IGBT, MOSFET and others have very high switching
frequency above tens of kilohertz are normally used. Since the
switching device has a finite switching time, a blank-time (or normally
called dead-time) must be inserted into the PWM gating signals in order
to avoid the conduction overlap of two switching devices in the same
leg. This dead-time causes the phase error, output voltage distortions
and fundamental voltage drop [62],[63],[65], which degrade the control
performance and hence, may cause the power loss during generation
process.
In order to overcome these problems caused by dead-time effect,
- 101 -
- 102 -
- 103 -
characteristics.
The effect of dead-time on inverter output voltage is shown in Fig.
4.1 (b). Because of dead-time Td, the real inverter output voltage
becomes VAN,DT. If the finite turn-on (ton) and turn-off (toff) times of
switching device S1 are taken into account, the real voltage becomes
VAN,DT,ton/off. Furthermore, real inverter output voltage becomes
VAN,DT,ton/off,Vs/d, if considering the on-voltage VS dropped on switching
device and dropped voltage VD on the diode D2.
The relationship between ideal and real inverter output voltage in
case of negative current direction is shown in Fig. 4.2, where Fig. 4.2
(a) shows the grid current Ig flow in negative direction (Ig < 0) and Fig.
4.2 (b) shows the inverter output voltage. As shown in Fig. 4.2 (a), the
grid current Ig flows through diode D1 during the on-switching-period
of S1 and dead-time period. Vice versa, Ig flows through switching
device S2 during the off-switching-period of S1. It means that the
inverter output voltage VAN during on-switching-period of S1 is equal to
that of dead-time period. Fig. 4.2 (b) has the same analysis with that of
Fig. 4.1 (b), where the real inverter output voltage becomes VAN,DT
because of dead-time Td. If the finite turn-on (ton) and turn-off (toff)
times of switching device S2 are taken into account, the real voltage
becomes VAN,DT,ton/off. Furthermore, real inverter output voltage
becomes VAN,DT,ton/off,Vs/d, if considering the on-voltage VS dropped on
switching device and dropped voltage VD on the diode D1.
- 104 -
(4.1)
TC = Td + ton - toff +
V AN ,on,aver
Vdc
TS
(4.2)
where Td is the dead-time, ton is the turn-on time, toff is the turn-off
time and VAN,on,aver is the average on-switching-period voltage.
The average on-switching-period voltage VAN,on,aver is:
1
T
V AN ,on,aver = S
1
TS
t V + t V for I > 0
g
on S off D
t V + t V for I < 0
g
off S on D
(4.3)
- 105 -
Fig. 4.1 Inverter output voltage in case of positive current flow (Ig > 0)
(a) Positive grid current flow
(b) Inverter output voltage waveforms
- 106 -
Fig. 4.2 Inverter output voltage in case of negative current flow (Ig < 0)
(a) Negative grid current flow
(b) Inverter output voltage waveforms
- 107 -
Fig. 4.3 Relationship between the grid currents sign and distorted voltage in
PWM inverter
- 108 -
1
Vinv(h) = dc
sin hw0t
p h=1,3,5,7... h
(4.4)
Vd =
4DV
1
sin hw0t
p h=1,3,5,7... h
4DV
p
( )
1
1
(4.5)
- 109 -
an all-pass filter.
( )
d =
Vds
1
1
4DV
p
3
5
d =
Vqs
4DV
p
( )
1
1
(4.6)
(4.7)
(4.8)
Hence,
0 63
0
p 15
d =
V qe
(4.9)
4DV
2
2
cos 8w 0 t + ...
- 1 + cos 4w 0 t +
15
63
p
(4.10)
Id =
4D V
1
sin h w 0t - q
pZ p (h) h=1,3,5,7... h
[(
)]
(4.11)
- 110 -
Id =
4D V
p
1
1
sin w 0t +
sin 3w0 t +
sin 5w0 t + ...
3Z p (3)
5Z p (5)
Z p (1)
( )
(4.12)
The relative distorted currents in stationary and synchronous
reference frames can be obtained as (4.13~ (4.16):
d =
I ds
4D V
p
1
1
sin w 0 t +
sin 3w 0 t +
sin 5w 0 t + ...
Z (1)
3Z p (3)
5Z p (5)
( )
(4.13)
d =
I qs
4 DV
p
1
1
1
cos w 0 t +
cos 3w0 t cos 5w 0 t + ...
3Z p (3)
5Z p (5)
Z p (1)
( )
(4.14)
d =
I de
4DV 8
16
63
p 15
Iqe =
4DV
p
2
2
(4.15)
(4.16)
- 111 -
these
- 112 -
orthogonal components
are
(4.17)
(4.18)
- 113 -
x c = cos( t)
wc
y
LMS
algorithm
ws
x s = sin( t)
G-1
p
Inverse
Plant
SHEF
i*
Regular
control
PI
Vc
Controller
VSHEF
Gp
Vd
Plant
- 114 -
- 115 -
- 116 -
when output of the SHEF VSHEF is equal to the harmonic component Vd.
adaptation
process,
where
- 117 -
the
kth-order
harmonic
- 118 -
- 119 -
[ (
1
s s
s s
-1
-1
Ve _ ff = G p e 1 = G p (d - y1 ) = G p d - x1 w1 + x1 w1
)]
(4.19)
VMSHEFDC= VSHEF_ 3 + Ve _ ff
(4.20)
G p ( s) =
1
R + sL
(4.21)
- 121 -
G p (s ) =
1
sL
G p ( jw ) =
(4.22)
1
jwL
(4.23)
It is noted that the location of the break point for the pole is located
at 0, which is all the way to the left of the graph. If inserting 0 in
for gives us an undefined value (which approaches negative infinity,
as the limit). Because there is a single pole at zero, the graph to the
right of zero (which is everywhere) has a slope of -20dB/decade and
passes through 0dB at:
w =1 L
(4.24)
Adopting L has a value of 4mH, then the slop of the line will pass
through 0dB at w = 250(rad/s) or f = 39.78Hz, as shown in Fig. 4.10.
Hence, the inverse plant transfer function can be rewritten in sdomain and in frequency-domain can be rewritten as (4.25) and (4.26),
respectively:
G -p 1 ( s ) = sL
(4.25)
1
Gp ( jw ) = jw L
(4.26)
- 122 -
G HPF ( s) =
s
s+ p
(4.27)
where p is a pole
To match the inverse plant transfer function with as shown in (4.27),
an additional pole will be added into the inverse plant transfer function.
So, the inverse plant transfer function can be rewritten as an equivalent
high-pass filter in s-domain and in frequency-domain as (4.28) and
(4.29), respectively:
- 123 -
Gain(dB)
-50
-100
0
10
10
10
10
10
10
10
Phase(deg)
-89
-89.5
-90
-90.5
-91
0
10
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
100
50
-50
0
10
10
10
10
10
10
10
Phase(deg)
91
90.5
90
89.5
89
0
10
10
10
10
Frequency (Hz)
10
10
10
Gain(dB)
20
0
-20
-40
0
10
10
10
10
10
10
10
100
Phase(deg)
80
60
40
20
0
0
10
10
10
10
Frequency (Hz)
10
10
10
Fig. 4.12 Bode diagram of high-pass filter based equivalent inverse plant
- 124 -
1
Gp ( s) = K
s
s+ p
1
Gp ( jw ) = K
(4.28)
jw
jw + p
(4.29)
jw
= jw L
jw + p
(4.30)
With w =1/L:
1L
1
1 L+ p
Assuming that
(4.31)
1
<< p , thus the denominator 1 L + p p . The gain K
L
K pL
By
s=
applying
s
s + 2639
the
(4.33)
bilinear
transformation
and
substituting
2 1- z -1
, where Ts = 100ms is the sampling time, into (4.33), the
Ts 1 + z -1
1
=
G p (z) =
2 - pTs -1
2 + pTs - 2 - pT z -1
z
1s
2 + pTs
(4.34)
where A =
(4.35)
2 - pTs
2K
= 9.33 and B =
= 0.77
2 + pTs
2 + pTs
- 126 -
Specifications
Value
3 (kW)
400 (V)
220 (V)
Grid frequency f0
60 (Hz)
10 (kHz)
Filter inductance L
4 (mH)
Filter capacitance C
4.7 (mF)
0.03
Dead time Td
3 (ms)
- 128 -
- 129 -
(a)
Zoomed in
1st
1st
3rd
3rd
(b)
Fig. 4.14 Grid current in case of no dead-time
(a) Grid current waveform
(b) Grid currents frequency spectrum
- 130 -
(a)
Zoomed in
1st
1st
3rd
3rd
5th
5th
7th
7th
(b)
Fig. 4.15 Grid current in case of 3ms dead-time with no compensation
(a) Grid current waveform
(b) Grid currents frequency spectrum
- 131 -
Error e1
Fig. 4.16 Grid current, ideal fundamental component and error between them
in case of 3ms dead-time with no compensation
- 132 -
(a)
1st
Zoomed in
1st
3rd
3rd
5th
5th
7th
7th
(b)
Fig. 4.17 Grid current in case of 3ms dead-time with 3rd-harmonic
compensation
(a) Grid current waveform
(b) Grid currents frequency spectrum
- 133 -
Error e1
Fig. 4.18 Grid current, first harmonic component and error between them in
case of 3ms dead-time with 3rd-harmonic compensation
W1sine
Zoomed in
W1sine
W1cosine
W1cosine
st
1 component
rd
3 component
1st component
W3cosine
W3sine
W3sine
Fig. 4.19 First and third harmonic components with their corresponding
weight functions
- 134 -
Grid voltage
1st
3rd
Grid current
(3ms dead-time with no compensation)
5th
7th
Fig. 4.20 Grid voltage and grid current in case of 3ms dead-time with no
compensation
Grid voltage
1st
Grid current
(3ms dead-time with DTCV compensation)
3rd
5th
7th
Fig. 4.21 Grid voltage, grid current and its frequency spectrum in case of 3ms
dead-time with conventional DTCV compensation
- 135 -
Grid voltage
1st
Grid current
(3ms dead-time with MSHEFDC compensation)
3rd
5th
7th
Fig. 4.22 Grid voltage, grid current and its frequency spectrum in case of 3ms
dead-time with proposed MSHEFDC of 3rd harmonic compensation
- 136 -
Grid voltage
Grid current
(3ms dead-time with no compensation)
Error e
(a)
Grid voltage
Grid current
(3ms dead-time with 3rd harmonic compensation)
Error e
(b)
Fig. 4.23 Grid voltage, grid current, the first harmonic component and the
error between grid current and first component in case of 3ms dead-time
(a) no compensation
(b) 3rd harmonic compensation with proposed MSHEFDC
- 137 -
- 138 -
(a)
(b)
Fig. 4.26 Systems THD
(a) In case of 3ms dead-time without compensation
(b) In case of 3ms dead-time with 3rd harmonic compensation
- 139 -
approximately 50%.
4.2
Conclusions
- 142 -
Chapter
Summary
- 143 -
- 144 -
References
[1]
[2]
[3]
[4]
[5]
[6]
J. M. Chang, W. N. Chang and S. J. Chiang, Single-Phase GridConnected PV System Using Three-Arm Rectifier-Inverter,
IEEE Transaction on Aerospace and Electronic System, Vol. 42,
No.1, pp. 211-219, 2006.
- 145 -
[7]
[8]
[9]
- 146 -
- 147 -
- 148 -
[29] Liserre, M., Blaabjerg, F. and Hansen, S., Design and control of
an
LCL-filter
based
three-phase
active
rectifier,
IEEE
of
three-phase
linear
current
regulator,
IEEE
- 149 -
[36] Tan, P.C., Loh, P.C. and Holmes, D.G., High performance
harmonic extraction algorithm for a 25 kV traction power
conditioner, IEE Proceedings - Electric Power Applications, Vol.
151, Iss. 5, pp. 505512, 2004.
[37] Newman, M.J., Zmood, D.N. and Holmes, D.G., Stationary
frame harmonic reference generation for active power filter
systems, IEEE Transactions on Industry Applications, Vol. 38,
Iss. 6, pp. 15911599, 2002.
[38] Deur, J., Peric, N., Stajic, D., "Design of reduced-order
feedforward controller", UKACC International Conference on
Control '98, Vol. 1, pp 207-212, 1998.
[39] Astrom, K. J. and T. Hagglund, "PID controllers: Theory, Design
and Tuning", Instrument Society of America, 2nd edition, 1995.
[40] Jeffrey W. Umland and Mohammed Safiuddin, "Magnitude and
Symmetric Optimum Criterion for the Design of Linear Control
Systems: What Is It and How Does It Compare with the Others?,
IEEE Transactions on Industry Applications, Vol. 26, Iss. 3, pp.
489-497, 1990.
[41] Damir Vrancic, Stanko Strmcnik, Jus Kocijan, "Improvement
disturbance rejection of PI controllers by means of the magnitude
optimum method", ISA Transactions, Vol. 43, Iss. 1, pp. 73-84,
2004.
[42] Radu Iustin Bojoi, Giovanni Griva, Valeriu Bostan, Maurizio
Guerriero, Francesco Farina and Francesco Profumo, Current
control strategy for power conditioners using sinusoidal signal
integrators in synchronous reference frame, IEEE Transaction on
Power Electronics, Vol. 20, No. 6, pp. 1402-1412, Nov 2005.
- 150 -
- 151 -
- 152 -
[58] E. Twining and D. G. Holmes, Grid current regulation of a threephase voltage source inverter with an LCL input filter, in Proc.
IEEE PESC02, Vol. 3, pp. 11891194, 2002.
[59] Liserre, M., Blaabjerg, F. and Teodorescu, R., Grid impedance
estimation via excitation of LCL-filter resonance, IEEE
Transaction on Industry Applications, Vol. 43, Iss. 5, pp. 14011407, 2007.
[60] M. Liserre, F. Blaabjerg, and A. DellAquila, Step-by-step
design procedure for a grid-connected three-phase PWM voltage
source converter, Int. J. Electron., Vol. 91, No. 8, pp. 445460,
Aug. 2004.
[61] R. Teodorescu, F. Blaabjerg, M. Liserre, and A. DellAquila, A
stable three-phase LCL-filter based active rectifier without
damping, in Conf. Rec. IEEE IAS Annual Meeting, 2003, Vol. 3,
pp. 15521557.
[62] K. Koga, R. Ueda, and T. Sonoda, Stability problem in induction
motor drive system, IEEE IAS Annual Meeting, pp. 129136,
1988.
[63] F. Blaabjerg and J. K. Pedersen, Ideal PWM-VSI inverter using
only one current sensor in the dc-link, IEEE 5th Power
Electronics and Variable-Speed Drives Conference, pp. 458464,
October 1994.
[64] Seung-Gi Jeong
and
Min-Ho
Park,
The
analysis
and
- 153 -
method
using
disturbance observer,
IEEE
Hwang
and
Jang-mok
Kim,
Dead
time
- 154 -
- 155 -
Appendix
Simulation Tools
Matlab/Simulink
- 156 -
A. 2 PSIM
PSIM is EMTP-type simulation tool and design software for power
electronics, power systems, motor drives, and switching for dynamic
systems. It has a fast simulation time and an easy-to-use graphic
interface. PSIM tool has an advantage of reducing common switching
numeric oscillations. User can use the device libraries or use the DLL
block for linking to external C program.
- 157 -
Appendix
PR Controller Implementation
(PSIM)
#include <math.h>
#include <sincos.h> // Sine and Cosine table
//////////////////////// basic init ///////////////////////////
static double
static double
static double
DFs
static double
samp_T, samp_T0 = 0 ;
static double
samp_T_bet, samp_T0_bet = 0 ;
static int
init=0;
///////////////////////// in //////////////////////////////////
- 158 -
static int
static int
iVds=0,iVds1=0,iVqs=0,iVqs1=0, iVde=0,iVqe=0;
static int
iIds=0,iIds1=0,iIqs=0,iIqs1=0,iIde=0,iIqe=0;
iKp_pll=0,iKit_pll=0;
static int
iVerr_pll=0,iVerr_pll1=0;
iCos,iSin,iCos1,iSin1,iSint;
iI_ref=0;
static int
ipi_Ide=0,ipi_Iqe=0;
static int
ipi_Vde=0,ipi_Vqe=0;
static int
iKp_Idqe=0,iKit_Idqe=0;
iVde_cmd,iVqe_cmd,iVde_cmd1,iVqe_cmd1;
static int
iVds_cmd,iVqs_cmd,iVds_cmd1,iVqs_cmd1;
static int
in0,in1,in2,id1,id2;
static int
w0=0,wcut=0;
static int
iKr_Idqe=0;
iIde_cmd=0,iIqe_cmd=0;
static int
iIds_cmd=0,iIqs_cmd=0;
static int
iIde_ref=0,iIqe_ref=0,iIds_ref=0,iIqs_ref=0,iWL=0;
- 159 -
static double
Vcmd,Vcmd1;
static double
antiu, antid;
static double
fault;
static double
pwms,pwms1;
{
iIgrid
iVgrid
= (int)(in[3] * 64);//Q6
samp_T
= t -samp_T0 ;
= 1;
= -31555;
//28.6
//1.26998
- 160 -
//PR controller
iIde_ref = 0; iIqs_ref = 0; iIds_ref = 0; iIqs_ref = 0;
iKp_Idqe = (int)(10*1024);
// Q10
iKr_Idqe = (int)(0.001*1024);
// Q10
w0 = (int)(377*1024); //Q20
wcut = (int)(15*1024);// Q10
in0 = (long)(35*1024); //Q10
in1 = (long)(-25*1024); //Q10
in2 = (long)(10.2283*1024); //Q10
id1 = (long)(-1.9956*1024); //Q10
id2 = (long)(0.9970*1024);
//Q10
}
if ((samp_T >= 100.0e-6)) // 10kHz sampling
{
samp_T0
= t;
//Q15
iCos1 = iCos;
//Q15
iVds = iVgrid;
//Q15
//Q6
//Q6
//Q6
- 161 -
//PLL
iVerr_pll = iVde;
lpi_pll
+=
//Q6
(long)iKp_pll
(iVerr_pll-iVerr_pll1)
//Q6
(iIde_ref
(long)iSin
iIqe_ref
(long)iCos)>>15;//Q10
iIds = iIgrid; //Q10
iIqs = -((lbeta * iIqs1)>>15) + ((lbeta * iIds)>>15) +
(iIds1);//Q10
iIds1 = iIds;
//Q10
iIqs1 = iIqs;
//Q10
//Q10
- 162 -
//Q10
(((long)(id1)*iIds_pr_err1)>>10)
//Q20
//Q10
(((long)(id1)*iIqs_pr_err1)>>10)
(((long)(id2)*iIqs_pr_err2)>>10); //Q20
iIqs_err1 = iIqs_err;//Q10
iIqs_err2 = iIqs_err1;//Q10
iIqs_pr_err1 = iIqs_pr_err;//Q20
iIqs_pr_err2 = iIqs_pr_err1;//Q20
ipr_Iqs = (iIqs_pr_err>>14);//Q6
pwms = (long)(ipr_Ids>>6);
//////////// Unipolar PWM compensation /////////////////////
pwm_p = pwms;
pwm_m = -pwms;
}
out[0] = pwm_p;
out[1] = pwm_m;
}
- 163 -
Appendix
Dead-Time Compensation
Implementation (PSIM)
#include <math.h>
#include <sincos.h> // Sine and Cosine table
//////////////////////// basic init ///////////////////////////
static double
static double
static double
DFs
static double
samp_T, samp_T0 = 0 ;
static double
samp_T_bet, samp_T0_bet = 0 ;
static int
init=0;
///////////////////////// in //////////////////////////////////
- 164 -
static int
static int
iVds=0,iVds1=0,iVqs=0,iVqs1=0, iVde=0,iVqe=0;
static int
iIds=0,iIds1=0,iIqs=0,iIqs1=0,iIde=0,iIqe=0;
iKp_pll=0,iKit_pll=0;
static int
iVerr_pll=0,iVerr_pll1=0;
iCos,iSin,iCos1,iSin1,iSint;
iI_ref=0;
static int
ipi_Ide=0,ipi_Iqe=0;
static int
ipi_Vde=0,ipi_Vqe=0;
static int
iKp_Idqe=0,iKit_Idqe=0;
iVde_cmd,iVqe_cmd,iVde_cmd1,iVqe_cmd1;
static int
iVds_cmd,iVqs_cmd,iVds_cmd1,iVqs_cmd1;
static int
in0,in1,in2,id1,id2;
static int
w0=0,wcut=0;
static int
iKr_Idqe=0;
iIde_cmd=0,iIqe_cmd=0;
static int
iIds_cmd=0,iIqs_cmd=0;
static int
iIde_ref=0,iIqe_ref=0,iIds_ref=0,iIqs_ref=0,iWL=0;
- 165 -
static double
Vcmd,Vcmd1;
static double
antiu, antid;
static double
fault;
static double
pwms,pwms1;
iVgrid
= (int)(in[3] * 64);//Q6
= 1;
lbeta = -31555;
//Q15
//28.6
//1.26998
//3rd harmonic
//5th harmonic
- 166 -
wTheta =0;
wTheta1 = 0;
iKp_Idqe = (int)(10 * 1024); //10
iKit_Idqe = (int)(0.2 * 1024);//0.4
lWL = (long)(1.7 * 32768);//Q15 (2mH ->1.508)
//////////// dead-time compensation /////////
iepsilon = 0;
iepsilon1 = 0;
iW_fund_sin = 0;
iW_fund_cos = 0;
iW_fund_sin1 = 0;
iW_fund_cos1 = 0;
iW_3rd_sin = 0;
iW_3rd_cos = 0;
iW_3rd_sin1 = 0;
iW_3rd_cos1 = 0;
Vcmps_ds = 0;
Vcmps_qs = 0;
I_fund_cmps = 0;
I_3rd_cmps = 0;
}
if ((samp_T >= 100.0e-6))
// 10kHz sampling
{
samp_T0
=t;
//Q15
iCos = COS4TBL[(int)Theta];
//Q15
iSin3rd = SIN4TBL[(int)Theta3rd];
//Q15
iCos3rd = COS4TBL[(int)Theta3rd];
//Q15
iSin1 = iSin;
iCos1 = iCos;
//Q15
iSin3rd1 = iSin3rd;
iCos3rd1 = iCos3rd;
//Q15
- 167 -
//
iVds = iVgrid;
//Q6
//Q6
iVqs1 = iVqs;
//Q6
//Q6
//Q6
//Q6
//Q6
iVerr_pll = iVde;
lpi_pll
+=
//Q6
(long)iKp_pll
(long)iKit_pll * iVerr_pll;
(iVerr_pll-iVerr_pll1)
//Q16
//
//1st component
wTheta += ((long)wr_est)/64. * Ts_sec; //Q0
if( wTheta >= TWOPI ) //Q0
{ wTheta -= TWOPI; //Q0 }
wTheta1 = wTheta;
//3rd harmonic
wTheta3rd += (3.* (long)wr_est)/64. * Ts_sec; //Q0
if( wTheta3rd >= TWOPI )
{ wTheta3rd -= TWOPI;
wTheta3rd1 = wTheta3rd;
// Soft start current control
- 168 -
//Q10
//Q10
//Q10
+=
(long)iKp_Idqe
(iIde_err-iIde_err1)
- 169 -
iKit_Idqe *
iW_fund_sin =
//Q1
//Q12
((iW_fund_sin>>6)
(iW_fund_cos>>6) * (long)iCos)>>15;
(long)iSin
//Q6
//3RD
iW_3rd_sin
iW_3rd_sin1
((int)(3e-2
64)
64)
iW_3rd_cos1
+ ((int)(3e-2
- 170 -
iVcmps_out = (long)(lVcmps_temp>>6);//Q6
lVcmps_in1=lVcmps_in;//Q6
lVcmps_temp1=lVcmps_temp;//Q12
//
(long)(19.4142
64)*
(lepsilon_in
(long)iSin)>>15;
iVqs_cmd =
(long)iCos)>>15;
//Q6
iVds_cmd1
iVds_cmd
(long)(lVcmps_out)
(long)(lepsilon_out);
pwms1 = (long)(iVds_cmd1>>6); //Q0
//////////// Unipolar PWM compensation /////////////////////
pwm_p = pwms1;
pwm_m = -pwms1;
}
out[0] = pwm_p;
out[1] = pwm_m;
out[2] = I_fund_cmps/64.;
- 171 -
out[3] = iW_fund_sin/4096.;
out[4] = iW_fund_cos/4096.;
out[5] = I_3rd_cmps/4096.;//iepsilon/64.;
out[6] = iW_3rd_sin/4096.;//iW_fund_sin/4096.;
out[7] = iW_3rd_cos/4096.;//iW_fund_cos/4096.;
out[8] = Icmps/64.;//iW_fund_sin/4096.;
out[9] = lepsilon_out/64.;//iW_fund_cos/4096.;
out[10] = lVcmps_out/64.;
out[11] = iepsilon/64.;
out[12] = iepsilon_3rd/64.;
}
- 172 -
(: )
,
.
,
.
,
* A dissertation submitted to the committee of Graduate School,
Chungnam National University in a partial fulfillment of the
requirements for the degree of Doctor of Philosophy conferred in
February 2011.
- 173 -
,
.
PR (Proportional-Resonant) , LCL
.
,
d-q
. d-q
90
,
90 .
DSP . d-q PR
(Proportional-Resonant)
PI
(Proportional-Integral) ,
, ,
THD .
, ,
3 LCL (Inductor-Capacitor-Inductor) ,
. LCL 1 L (Inductor)
,
. LCL ,
.
.
MOSFET IGBT
10kHz .
/
.
,
.
,
- 174 -
.
,
, , , 3KW
.
- 175 -
- 176 -
Acknowledgements
This dissertation arose in part out of years of research that has been
done since I came to Intelligent Power Conversion Laboratory,
Chungnam National University. By that time, I have worked with a
great number of people whose contribution in assorted ways to the
research and the making of the dissertation deserved special mention. It
is a pleasure to convey my gratitude to them all in my humble
acknowledgment.
In the first place, I would like to record my gratitude to Prof. Se-Jin
Seong and Prof. Hanju Cha for their supervisions, advices and guidance
from the very early stage of this research as well as giving me
extraordinary experiences throughout the work. Above all and the most
needed, they provided me unflinching encouragements and supports in
various ways. I am indebted to them more than they know.
I would like to thank my previous academic advisors, Prof. Phan
Xuan-Minh and Prof. Nguyen Doan-Phuoc in Hanoi University of
Science and Technology, for their guidance, encouragements and
recommendations for my further training at Chungnam National
University.
I gratefully thank Prof. In-Ho Hwang, Prof. Tae-Kyung Sung and Dr.
Sang-Jin Kim for their constructive comments and great suggestions on
this dissertation. I am thankful that in the midst of all their activity, they
- 177 -
- 178 -
- 179 -
Trung-Kien Vu
January 15th, 2011
Daejon, Korea
- 180 -
VITA
Trung-Kien Vu
He was born on October 27, 1979, in Hanoi, Vietnam. He obtained
his B.S. in Department of Electrical Engineering from Hanoi University
of Science and Technology, Hanoi, Vietnam in 2001. After working in
company for two years, he returned to academic environment and
received his M.S. degrees in Department of Electronics Engineering
from Chungnam National University, Daejeon, Korea in 2005. He had
finished course-works for his Ph.D. study in Department of Information
and Communications Engineering at Chungnam National University in
2007. He is supposed to obtain his doctorate degree on February 25,
2011. His interest areas are power conversion system, control,
renewable energy systems and applications of microprocessor to power
systems. He has been a student member of Institute of Electrical and
Electronics Engineers (IEEE), a member of the Korean Institute of
Electrical and Electronics Engineers (KIEE) and the Korean Institute of
Power Electronics (KIPE).
- 181 -