Professional Documents
Culture Documents
Dynamic Simulation of Switched Reluctance Motor Using Matlab and Fuzzy Logic
Dynamic Simulation of Switched Reluctance Motor Using Matlab and Fuzzy Logic
Dynamic Simulation of Switched Reluctance Motor Using Matlab and Fuzzy Logic
Fuzzy logic is a powerful problem-solving This simulation is based on equation (1), where T is
methodology with a myriad of applications in embedded the torque, Τ is the electromechanical torque, Τ is the
e l
control and information processing. Fuzzy logic load torque, and ω is the rotational velocity of the shaft,
provides a remarkably simple way to draw definite J moment of inertia. Figure 1 shows how to multiply the
conclusions from vague, ambiguous or imprecise developed torque table by moment of inertia (1/J), and
information. Fuzzy logic resembles human decision then through single and double integration, ω and θ
making with its ability to work from approximate data have been obtained.
and find precise solutions. Unlike classical logic that dω
T = Te - T = J (1)
requires a deep understanding of a system, exact 1
dt
equations, and precise numeric values, fuzzy logic
819
The output of integrator 4 is (ω) as shown in figure 4a
when the rotor moved from unaligned to aligned
positions for different mmfs. The output of integrator 3
is θ as shown in figure 4b when the rotor moved from
unaligned to aligned positions.
820
Table 1: Linguistic Data Base
E\DE NM NS ZE PS PM
NM NM NM NM NS ZE
NS NM NM NS ZE PS
ZE NM NS ZE PS PM
PS NS ZE PS PM PM
a) b) PM ZE PS PM PM PM
Figure 6: a) Speed (ω) versus Time, b) Angle θ versus Time (Base 4
Phase, 8/6 Poles SRM).
a) b)
Figure 7: a) Speed (ω) versus Time, b) Angle θ versus Time
(Optimized 4 Phase, 8/6 Poles SRM).
821
Table 2: The Rule Matrix Δω Δt
J = τ ⇒ Δω = τ
Δt J
Δt 0.0013
ceω = τ = * 1.5 = 20
J 0.01 ∗10 −2
Δt = 0.0013, J = 0.01 *10 −2 , τ = 1.5.
∆t is the interruption time, J is the moment of inertia, τ
is the developed torque in Nm and maximum absolute
value for the ∆I universe was obtained by trial and
ref
error. The initial limits for the universes after some
manual changes of the antecedents (eω, ceω) and
consequent (∆I ) are:
ref
Fuzzy logic controller generates current reference
eω = -850, 850 rad/sec;
changes (∆I ) based on speed error eω and its changes
ref ceω = -20, 20 rad/sec/sec;
ceω. eω has its minimal value when the motor speed has ∆I = -1.5, 1.5 A.
ref
its nominal value, 850 rad/sec, and is inverted to –850
Figure 11 shows the membership function for the
rad/sec, so according figure 8, the value of error:
antecedent, the second input is the change in the speed
eω = ω - ω (2)
ref actual error.
Then the speed error equals:
eω = (-850) - (850) = - 1700 rad/sec. Fis Variable Membership function plots
The maximum value, +1700, is obtained as shown in
figure 10
Membership function plots
Fis Variable
ew O/P
ew O/P
cew
cew
822
Fis Variable Figure 14 shows the surface viewer for FLC for
Membership function plots
switched reluctance motor. Two inputs (eω, ceω) are
represented by the x-axis, while the output is represented
by the y-axis.
ew O/P
cew
Output current
120
100
80
60
40
20
0
0 0.1 0.26 0.3 0.5 0.61 0.7 0.8 1
Time (sec)
I/P I/P O/P Figure 15: Dynamic response of speed versus time for 3 Phase,
6/4 Poles SRM
Figure 13: Rules Viewer for 3 Phase, 6/4 Poles SRM Fuzzy Logic
Controller.
823
[8]. P. Chancharoensook, and M.F. Rahman, “Dynamic modeling
of a four-phase 8/6 switched reluctance motor using current
and torque look-up tables” IECON 02, IEEE 2002 28th Annual
Conference Volume 1, 5-8 Nov. 2002 Page(s): 491 - 496
[9]. G. Ramasamy, R.V. Rajandran,and N.C.Sahoo, “Modeling of
Current Reference (A)
824