Professional Documents
Culture Documents
Fuzzy Algorithm For Supervisory Control of Self-Excited Induction Generator
Fuzzy Algorithm For Supervisory Control of Self-Excited Induction Generator
1. Introduction
19
Hussein F. Soliman, et al. 20
Figure 1 shows the block diagram for the study system, which
consists of SEIG driven by WECS connected to isolated load. Two
control loops for terminal voltage and pitch angle using FLC to tune Ki
of the PI controller are shown in the same figure. The mathematical
model of SEIG driven by WECS is simulated using MATLAB /
SIMULINK package to solve the differential mathematical equations.
Meanwhile, two controllers have been developed for the system under
study. The first one is the reactive-power controller to adjust the
terminal voltage at the rated value. This is done by varying the switching
capacitor bank, for changing the duty cycle, to adjust the self excitation.
The second controller is the active-power controller to regulate the input
power to the generator and thus maintain the stator frequency constant.
This is achieved by changing the value of the pitch angle for the blade of
the wind turbine. First, the system under study is tested when equipped
with PI controller for both active and reactive-power controllers at
21 Fuzzy Algorithm for Supervisory Control of …
different fixed values KI. Then the technique is developed to drive the PI
controller by a variable KI to enhance the dynamic performance of the
SEIG. The KI is then tuned by using two different algorithms.
The simulation is carried out when the PI controller is driven by
variable KI using a linear function, with limitors, between KI and voltage
error for reactive control. Also, the simulation is include variable KI
based on the mechanical power error for active power controller.
Meanwhile, the variable KI has lower and upper limits. Then, the
simulation is conducted when the PI controller is driven by a variable KI
through a FLC technique. The simulation results depict the variation of
the different variables of the system under study, such as terminal
voltage, load current, frequency, duty cycles of switching capacitor
bank, variable KI in reactive controller KIV and variable KI in active
controller KIF.
WECS Input
Mech-Power
Bus-Bar
SEIG
Semi
conducto
r Load
Pitch control
switchin
P m- g
__
V- +
FLC eV VRef.
FLC + Ref. Pm For
For Reactive
Active Control
Control Z-1
Z-1
Duty Change
Change cycle in eV
in Pm-error
The stator and rotor voltage equations, equation number (1) to (6)
in Appendix-A, using Krause transformation [3,4], based on stationary
Hussein F. Soliman, et al. 22
3.4.1. Switching
anti-phase, i.e., the switching function fs2 which controls switch S2 is the
inverse function of fs1 which controls switch S1. In other words, switch
S2 is closed during the time when switch S1 is open and vice versa. This
mean that S1 and S2 of branch 1 and 2 are operated in such a manner that
one switch is closed while the other is open.
L1
S1 S2
fs1
V C1 C2
fs2
4. Controllers
Where, eV = the voltage error, eV min= the minimum value of the voltage
error, eV max= the maximum value of the voltage error, KIV min is the
minimum value of KIV, KIV max is the maximum value of KIV, C is a
constant and M is the slop value. Figure 4 shows these rules based, to
calculate the KIV of the KIV against the terminal voltage error eV. The
value of the eV min and eV max is obtained by trial and error to give the best
dynamic performance.
25 Fuzzy Algorithm for Supervisory Control of …
T e r m i n a l v o l t a g e f o r P I w i t h v a r i o u s i n t e g r a l g a i n s l o a d e d ( 8 0 o h m , 0 .1 2 h & 4 0 o h m , 0 . 1 2 h )
300 K IV m a x = 0 . 0 0 7
250
220
Terminal Voltage (Volt)
200
K IV = 0 . 0 0 6 5
250
150 va r i a b l e K IV
100 220
200
50
K IV m in = 0 . 0 0 5 1
1 2 3 4
0
0 5 10 15
T im e (s e c )
Fig. 3. Dynamic response of the terminal voltage with different values of integral gain for
reactive controller.
Upper
KIV- Limit
Lower
KIV - Li i
Voltage error (eV)
eVmin eVmax
Also, the proportional gains (KPV and KPF) are kept constant for the
reactive and active controllers respectively. Various characteristics are
tested to study the effect of changing the value of (KIV) to update the
reactive control. The simulation results cover the starting period and the
period when the system is subjected to a sudden increase in the load, at
instant 8 sec. Figure 3 shows the simulation results for the variable KIV.
Figures 5&6 show the effect of variable reactive integral gain KIV and
active KIF controllers versus time respectively.
Hussein F. Soliman, et al. 26
-3 Va r i a b l e In te g ra l g a i n fo r P I tu n i n g w i th F L C l o a d e d (8 0 o h m , 0 .1 2 h & 4 0 o h m , 0 .1 2 h )
x 10
5 .5
-3
5 .4 5 x 10
Integral gain for reactive controle
5 .4 5
5 .4 5 .4
5 .3 5
5 .3 5 5 .3
5 .2 5
5 .3 1 2 3
5 .2 5
5 .2
0 5 10 15
T im e ( s e c )
-6
x 1 0 V a r i a b l e In te g r a l g a i n fo r P I tu n i n g w i th F L C l o a d e d ( 8 0 o h m , 0 .1 2 h & 4 0 o h m , 0 .1 2 h )
5 -6
x 1 0
4 .9
4 .9
Integral gain for active controle
4 .8
4 .8
4 .7
4 .7
1 2 3 4 5
4 .6
4 .5
0 5 1 0 1 5
T im e ( s e c )
Knowledge base
Expert Look up-table
SEIG / WECS
logic controller. The output from fuzzy controller is the integral gain
value of KI used in the PI controller. The look-up Table is given in Table 1.
NB NB NB NB NS AV
NS NB NB NS AV PS
AV NB NS AV PS PB
PS NS AV PS PB PB
PB AV PS PB PB PB
NB NS AV PS PB
1
0 .8
membership degree
0 .6
0 .4
0 .2
NB NS AV PS PB
1
0 .8
membership degree
0 .6
0 .4
0 .2
-2 0 -1 5 -1 0 -5 0 5 10 15 20
d e lt a e V
Fig. 8 (b). Membership function of change in voltage error.
29 Fuzzy Algorithm for Supervisory Control of …
NB NS AV PS PB
1
0 .8
membership degree
0 .6
0 .4
0 .2
5 5 .1 5 .2 5 .3 5 .4 5 .5
K IV x 10
-3
-3
x 10
5 .4
5 .3
IV
K
5 .2
5 .1
20
10 200
0 100
0
-1 0 -1 0 0
-2 0 -2 0 0
d e lt a e V eV
NB NS AV PS PB NB NS AV PS PB
1 1
0.8 0.8
membership degree
membership degree
0.6 0.6
0.4 0.4
0.2 0.2
0 0
-1 -0.5 0 0.5 1 -0.1 -0.08 -0.06 -0.04 -0.02 0 0.02 0.04 0.06 0.08 0.1
eF deltaeF
Fig. 9 (a). Membership function of mech. Fig. 9 (b). Membership function of
change power error. on mech. power error.
Hussein F. Soliman, et al. 30
NB NS AV PS PB
1
0 .8
membership degree
0 .6
0 .4
0 .2
4 4 .1 4 .2 4 .3 4 .4 4 .5 4 .6 4 .7 4 .8 4 .9 5
K IF x 10
-6
-6
x 10
4 .8
4 .6
IF
K
4 .4
4 .2
0 .1
0 .0 5 1
0 0 .5
0
- 0 .0 5 - 0 .5
d e lt a e - 0 .1 -1
F e F
More details about the variable of the above equation are given in Ref. [10].
µ-NS (X1) µ-AV (X2) µ-NS (Y)
min
X1 X2 Y
µ-AV(X1) µ-PS (X2) µ-PS (Y)
min
X1 Y
X2 µ- (Y)
Rule1: if Verror (X1) is NS and Change in Verror (X2) is AV then output (integral gain (Y)) is NS
Rule2: if Verror (X1) is AV and Change in Verror (X2) is PS then output (integral gain (Y)) is PS
Fig. 10. Schematic diagram of the defuzzification method using the center of area.
6. Simulation Results
The FLC utilizes the terminal voltage error (eV) and its rate of
change (∆eV) as an input variables, to represent the reactive power
control. The output of FLC is used to tune up the KI of PI controller.
Also, another FLC is used to regulate the mechanical power via the
blade angle adaptation of the wind turbine. Figs. (8.a,b,c and d) depict
the fuzzy sets of eV, ∆eV , KIV and fuzzy surface, respectively. The
terminal voltage error (eV) varies between (-220 and 220) and its change
(∆eV) varies between (- 22 and 22), and the output of the FLC is the KIV
which changes between (5e-003 and 5.5e-003). Table 1 shows the
lookup table of fuzzy set rules for reactive control. The same technique
is applied for active power controller where the two inputs for FLC are
the mechanical power error (eF ) which varies between (-1 and 1) and its
change (∆eF)varies between (-0.1 and 0.1). The output of the FLC is the
KIF which changes between (4e-006 and 5e-006). The output of the PI-
FLC in the active controller adapts the pitch angel value to enhance the
stator frequency. Figure 9 (a,b, c & d) shows the fuzzy sets of eF, ∆eF,
the related output fuzzy set and fuzzy surface, respectively.
Also, Fig. 15 & 16 depict the simulation results for the load current
and controller’s duty cycle. The same conclusion is achieved as
explained for Fig. 11.
2 .5
1 .5
K IV m in = 0 .0 0 5 1
1
0 .5
0
0 5 10 15
T im e ( s e c )
Fig. 11. Dynamic response of load current for PI with and without FLC.
33 Fuzzy Algorithm for Supervisory Control of …
150
K IV min = 0 .0 0 5 1
100
50
0
0 5 10 15
T im e ( s e c )
Fig. 11. Dynamic response of terminal voltage for PI with and without FLC.
Sudden application
for Load
Fig. 12. Dynamic response of terminal voltage for PI with and without FLC.
Fig. 13. Dynamic response of terminal voltage for PI with and without FLC.
Hussein F. Soliman, et al. 34
S ta to r F r e q u e n c y fo r P I tu n i n g w i th a n d w i th o u t F L C l o a d e d ( 8 0 o h m , 0 .1 2 h & 4 0 o h m , 0 .1 2 h )
7 0
va ria b le K w ith F L C
IV
6 0
5 0 K = 0 .0 0 7
3 0
2 0
1 0
0
0 5 1 0 1 5
T im e ( s e c )
Fig. 14. Dynamic response of stator frequency for PI with and without FLC.
Load Current for PI tuning with and without FLC loaded (80 ohm, 0.12 h & 40 ohm, 0.12 h)
4
K IV m a x =0.007
Load Current (Amp)
3.5
variable K IV
with slop
3
variable K with FLC
IV
2.5
1.5
K =0.0051
IV min
1
0.5
0
0 5 10 15
Time(sec)
Fig. 15. Dynamic response of load current for PI with and without FLC.
D u ty C yc l e fo r P I tu n i n g w i th a n d w i th o u t F L C l o a d e d ( 8 0 o h m , 0 .1 2 h & 4 0 o h m , 0 .1 2 h )
0 .9
K IV m a x = 0 .0 0 7
0 .8
v a r ia b le K IV w it h s lo p
0 .7 va ria b le K w i th F L C
IV
0 .6
Duty Cycle
0 .5
K IV m in = 0 .0 0 5 1
0 .4
0 .3
0 .2
0 .1
0 5 10 15
T im e ( s e c )
Fig. 16. Dynamic response of duty cycle for PI with and without FLC.
35 Fuzzy Algorithm for Supervisory Control of …
V a r i a b l e W i n d S p e e d fo r S E IG D r i v e n b y W E C l o a d e d ( 8 0 o h m , 0 .1 2 h ) & C o n tr o l l e d b y P I- F L C
16
7 .3
14
7 .2 5
12
2 12 14 16
0
0 2 4 6 8 10 12 14 16 18
T im e ( s e c )
Fig. 17. Sudden variation for the wind speed versus time .
S t a t o r f r e q . o f S E IG l o a d e d ( 8 0 o h m , 0 . 1 2 h ) & c o n t d . b y P I- F L C
70
60
v a ia b le K I V w it h F L C
K IV m i n = 0 . 0 0 5 3
50 K IV m a x = 0 . 0 0 7
Stator frequency (Hz)
65
40 68
60
66
30 64 55
62
20 50
60
58 45
10
2 3 4 10 1 0 .5 11
0
0 2 4 6 8 10 12 14 16 18
T im e ( s e c )
7. Conclusion
References
[1] El_Sousy, F., Orabi, M. and Godah, H. “Indirect field orientation control of self-excited
induction generator for wind energy conversion system” ICIT, December (2004).
[2] Mashaly, A.M. S., Mansour, M. and Abd-Satar, A.A., “ A fuzzy logic controller for wind
energy utilization scheme”, Proceedings of the 3rd IEEE Conference of Control Application,
Glasgow, Scotland, UK, August 24-26 (1994).
[3] Li, Wang, and Jian-Yi-SU, “Dynamic Performance of An Isolated Self Excited Induction
Generator Under Various Loading Conditions”, IEEE Transactions on Energy Conversion, 15
(1) March: 93-100 (1999).
[4] Li, Wang and Lee, Ching- Huei, “Long- Shunt and Short- Shunt Connections on Dynamic
Performance of a SEIG Feeding an Induction Motor Load”, IEEE Transactions on Energy
Conversion, 14 (1): 1-7 (2000).
[5] Atallah, A. M. and Ahmed, A.,"Terminal Voltage Control of Slef Excited Induction
Generators" Sixth Middle-East Power Systems Conference (MEPCON'98), Mansoura,
Egypt, Dec. 15-17, pp: 110-118 (1998).
[6] Marduchus, C., “Switched Capacitor Circuits for reactive power generation “ , Ph.D. Thesis,
Brunuel University (1983).
[7] Hussein, F. S., Attia, A., Sabry, M., Badr M. M..A.L. and Ahmed, .A. E.M.S., « Dynamic
Performance Enhancement of Self Excited Induction Generator Driven By Wind Energy
Using ANN Controllers،” Sci. Bull. Fac. Eng. Ain Shams Univ., ISSN 1110-1385, Part II,
39(2) June 30: 631 -651 (2004).
[8] Sabry, M.M., « Enhancement of The Performance of Wind Driven Induction Generators
Using Artificial Intelligence Control”, Ph.D. Thesis, Fac. Eng. Ain Shams Univ., March.
10, (2005).
[9] Abdin, E. S. and Xu, Wilson, “Control Design and Dynamic Performance Analysis of a Wind
Turbine- Induction Generator Unit”, IEEE Transaction on Energy Conversion, 15 (1) March:
91-96 (2000).
[10] Passino, K.M. and Yurkovich, S., " Fuzzy Control ", Library of Congress Cataloging-in-
Publication Data. Includes bibliographical references and index. ISBN 0-201-18074-X.
Addison Wesley Longman, Inc. (1998).
37 Fuzzy Algorithm for Supervisory Control of …
Appendix (A)
Where: ids is the stator current (amp) at direct axis, iqs is the stator current at quadrant
axis and iqr : is the rotor current at quadrant axis.
Xl is the leakage reactance, s and r denoted for stator and rotor respectively. ωb is
the speed base. p is the differentiation parameter = d/dt.
dϕ ds
= ω b .(v ds + R s .i ds − ϕ qs )
(A-6)
dt
Appendix (B)
i m
=((i − i ) + (i − i ) )
qr qs
2
dr ds
2 0 .5 (B-3)
T e
= [ϕ .(i ) − ϕ .(i )]
ds qs qs ds
(B-4)
Hussein F. Soliman, et al. 38
x m
= [105.77 ].......... .......... .......... ...at 0.0 ≤ i m < 0.864 (B-5)
x m
= (340.2 ) (i m
)
+ 2.35 .......... ........ at 0 .864 ≤ i m < 1.051 (B-6)
x m
= (227.4 ) (i m
)
+ 1 .22 .......... ........ at1 .051 ≤ i m < 1 .476 (B-7)
x m
= (202.3 ) (i m
)
+ 9 .3 .......... ........ at1.476 ≤ i m < 1 .717 (B-8)
x m
= (179.8 ) (i m
)
+ 6 .3 .......... ........ at1.717 ≤ i m (B-9)
Appendix (C)
Where: ω s is the synchronous speed (rad/sec) & i cd: is the capacitor current in
direct axis and i cq: is the capacitor current in quadrant axis & C: is the value of the
capacitor bank.
(C-2)
i = ⎛⎜ c * p * vcq + ω s * c * vcd ⎞⎟
cq
⎝ ⎠
dv ⎞
⎜ C * ds ⎟ = (i ds − i Lds )
⎛ (C-3)
⎝ dt ⎠
Where: ILds is the load current in direct axis and ILqs: is the load current in quadrant
axis & RL: is the load resistance (ohm) & LL: is the load inductance (Henry).
dv
( )
⎛ ⎞ (C-4)
⎜⎜ C * qs ⎟⎟ = i qs − i Lqs
⎝ dt ⎠
( L L * pi Lds
) = (v ds − R L i Lds ) (C-5)
(L * pi ) = ⎛⎜⎝ vqs − R L i
L Lqs Lqs
⎞
⎟
⎠
(C-6)
⎛ dV ⎞ ⎛ ⎡ ⎛ di ⎞ ⎤⎞ (C-7)
⎜ C * ds ⎟ = ⎜⎜ i ds − ⎢V ds − ⎜ L L * Lds ⎟ R ⎥ ⎟⎟
⎝ dt ⎠ ⎝ L
⎣ ⎝ dt ⎠ ⎦⎠
⎛ dV qs ⎞ ⎛⎜ ⎡ ⎛ di ⎞ ⎤⎞ (C-8)
⎥ ⎟⎟
dt ⎟ ⎜ i qs
⎜⎜ C * ⎟ = + ⎢V qs − ⎜⎜ L L * Lqs ⎟
⎟ R L
⎝ ⎠ ⎝ ⎢⎣
dt ⎝ ⎠ ⎥⎦ ⎠
⎡ ⎤ (C-9)
c max
c eff
=⎢
((
⎢ 1 − λ + σ (λ )2
2
)
⎥
)
⎥
where Ceff : is the effective capacitor bank value
⎣ ⎦
(micro-farad), Cmax: is the maximum capacitor value & Cmin: is the minimum
capacitor value & σ = (C max / C min) & λ: is the duty cycle value .
39 Fuzzy Algorithm for Supervisory Control of …
Appendix (D)
⎛1⎞ (D-2)
= ⎜ ⎟ ⎛⎜ πρ ⎞⎟
2 3
P m
⎝ 8 ⎠⎝
C D V
p w ⎠
ωm = (2 πn) / 60 (D-3)
T m
= (P ω )
m m
(D-4)
⎡ ⎛ π (µ − 3 ) ⎞ ⎤ (D-5)
C = ⎢ ⎛⎜ 0 . 44 − 0 . 0167 β ⎞⎟. ⎟ − 0 . 00184 (µ − 3 )β ⎥
⎠ Sin
⎜⎜
p
⎣⎝ ⎝ (15 − 0 . 3 * β ) ⎟⎠ ⎦
⎛ R ⎞ ⎛
⎟⎟ = ⎜
D π n ⎞
⎟
(D-6)
µ = ω ⎜⎜
m
⎝ V w ⎠ ⎜
⎝ V 60W
⎟
⎠
= ⎜⎜ ω b
dω r ⎛ ⎞ (D-7)
⎟ (T −T e − B .ω )
dt ⎟ m a r
⎝ 2H ⎠
**
*
!
*
! %
! # **
"
#$
)+ ,- ***
& '
(
.
%-
/0 "
.
% #$ % !"
* +& * ,*"- !
.() '" %
&
. ! 1
$# "2
'" /
0
& & * 3 *
5 %
1 "2 4
"2
+) ,1 ,
6 )
1 7 1
68
9 ,1 !
. ! 1
8 ! "2 .: ; 3 (#3 )
*" /
0 *" "
& %& &
'" <0 *"
+9" !
: " !8
0 , * , .() '" %
.%