Professional Documents
Culture Documents
CHAPTER 7
Some of the states are inaccessible during the operational stages and
also many of the states are not available for measurements; hence, it
previous chapters.
the right rule base depending on the situation can be achieved by the
and its effect on the various parameters of the dynamic system are
only takes care of the sudden perturbations in speed, but also brings
7.1 INTRODUCTION
had taken a long time to reach the set value. In the research work
time of the responses (speed) and make the response very fast by
used for NN training for the proper selection of the rule base. Here, we
have formulated this complex control strategy for the speed control of
knowledge. ANN can be used to learn the membership values for fuzzy
variation [58].
of the TS-FLC model. The general ANFIS control structure for the
MF can be used. This layer supplies the input values to the next layer,
where i=1 to n. In other words, layer 1 is the input layer with n nodes.
Layer 2: This layer (membership layer) checks the weights of each MF.
It receives the input values xi from the 1st layer and acts as MFs to
degree to which the input value xi belongs to the fuzzy set, which acts
as the inputs to the next layer. Note that layer 2 has nK nodes, each
outputting the MF value of the ith antecedent of the jth rule given by
rules, i.e., they compute the activation level of each rule, the number
of layers being equal to the number of fuzzy rules. Each node of these
layers calculates the weights that are normalized. Layer 3 has K fuzzy
Layer 4: This layer provides the output values y, resulting from the
y (3)
for j=1,…..,K. (7.1)
(4) j
y j K
y
k 1
(3)
k
Layer 5: This layer is called the output layer, which sums up all the
results into a crisp (binary). The output of each node in the layer can
jth node in layer 5. The outputs of layer 5 are summed up and the final
all the nodes are differentiable; thus the BP algorithm can be used to
dependent on the MFs used. The TSK fuzzy rules are employed in the
Ri : IF x is Ai, THEN
A x f ( x)i i i
y=f i(x)= yi i 1
k
(7.2)
A x
i 1
i i
where, Ai xi nj1 Ai j x(i, j ) nj1 Aij x(i, j ). Accordingly, the error
1
y Et ( y t yt )2 (7.3)
2
After the rule base is specified, the ANFIS adjusts only the MFs of
couple of second.
To start the design of the controller using the ANFIS scheme, first,
which is used here in the Simulink model. The basic structure of the
shown in Fig. 7.1. Inputs to the ANFIS controller, i.e., the error and
the change in error, are modeled using Eqs. (7.4) and (7.5) as follows:
where ωref is the reference speed, ωr is the actual rotor speed, e(k) is
proper set of rule base. For developing the control signal, training is a
very important step in the selection of the proper rule base. Once the
proper rules are selected and fired, the control signal required to
The inputs are fuzzified using the fuzzy sets and are given as input
to the ANFIS controller. The rule base for the selection of proper rules
Table 7.1: Rule base for controlling the speed of IM using ANFIS
e
nb nm ns ze ps pm pb
∆e
nb nb nb nb nb nm ns ze
nm nb nb nm nm ns ze ps
ns nb nm ns ns ze ps pm
ze nb nm ns ze ps pm pb
ps nm ns ze ps ps pm pb
pm ns ze ps pm pm pb pb
pb ze ps pm pb pb pb pb
127
5.2), which was used for Mamdani-based FLC and TS-based FLC for
49 rules have been used here for control purposes and are not shown
Table 7.1. The inference involves a set of rules for determining the
variables, the controller has a set of 49 rules for the ANFIS controller.
Out of these 49 rules, the proper rules are selected by training the
R R
i a1i x1 i aqi xq
y i 1
R
i 1
(7.6)
i 1
i
This controlled output of the IM, i.e., y (here, it is the speed of the
start the simulations, the 49 fuzzy rule set has to be invoked first from
the command window in the Matlab. Initially, the fuzzy file where the
rules are written with the incorporation of the T-S control strategy is
opened in the Matlab command window, after which the fuzzy editor
imported using the command window from the source and then
opened in the fuzzy editor dialog box using the file open command.
Once the file is opened, the TS-fuzzy rules file gets activated.
simulations are run for a specific period of time (say 3 second). The
The written TS-fuzzy rules also can be viewed from the rule view
command. The rule viewer for the 2 inputs and 1 output can be
100 60
7 with a set speed of 100 rad / second, i.e., =955 rpm and
2
parameters such as speed, flux, torque, currents, slip, etc. get stored
Fig. 7.4: ANFIS editor: Loading the data from the work space
The ‘anfis’ editor opened in the command window is shown in Fig 7.3.
131
These variables, which are in the form of data in the workspace, are
with a suitable number of epochs being used for training the rules.
‘anfis’ editor and training the neural network for proper selection of
the rule base. The trained data are further exported to the workspace
Fig. 7.5: ANFIS model with 2 inputs and 1 output showing the
ANN architecture
shown in Fig. 7.5. The training of the ANN by using the fuzzy rule
132
base for the selection of the proper and optimal rule is taken care of
fuzzy rules. The hidden layers contains 49-49 neurons to deal with
the problem (for selection of the proper rule base, because the rule
base is written randomly in fuzzy, the neural network selects the right
The 2 input neurons, viz., the error and change in error, are given
as input to the 1st hidden layer of the ANN as shown in Fig. 7.5. This
the 2nd and 3rd hidden layers, the set of 49 fuzzy rules is properly
identified by training and the sets of optimal rules are selected. These
sets of optimum rules are available at the 4th hidden layer. Out of the
49 rules, the optimal rules are fired here and the de-fuzzified output is
torque, terminal voltage, speed, rotor angle, stator currents, slip, id, iq,
rotor currents ( and d-q ) v/s time, slip vs. speed for a set speed
of 100 rad/second (955 rpm) and with a 2 N-m load torque are
The simulation results in Fig. 7.6 show that the stator current does
lesser time to settle and reach the desired value compared to the
(ANFIS) control, for the set speed of 100 rad/second and for the 49
rules, the speed reaches its desired set value at 0.3 second. This
dynamism.
The motor speed increases like a linear curve up to the set speed of
Furthermore, it can also be observed that using the ANFIS control, the
From the variation of flux with time as shown in Fig. 7.7, it can be
observed that when the motor speed increases (during the transient
the air gap. Hence, the flux also starts increasing during the transient
period (0 to 0.3 second) exponentially. Once, the motor attains the set
rated speed, the flux required to develop the torque almost remains
constant after >0.3 second. Once the flux in the air gap remains
constant, the variation of the load torque and speed will not disturb
the flux curve. Hence, the IM will operate at a constant flux. The
It can be clearly observed from this figure, that at lower speeds, the
slip is more, and hence the flux required to develop the suitable
torque is also more. Moreover, the torque required to reach the set
speed is also more. Hence, the magnitude of the stator currents will
induction motor. When the speed reaches the set value from zero, the
IM system.
(955 rpm) are shown in Fig. 7.9. From this figure, we can conclude
that when the motor operates at lower speeds, the slip is more. Hence,
the machine requires more torque to attain the set speed. Once the
machine reaches the set speed of 955 rpm, the average torque of the
machine becomes nearly zero after 0.3 second, which is justified from
the torque simulation result shown in Fig. 7.9. The terminal voltage of
(b) Plot of voltage vs. time (normal and zoomed) between t=0.984s
to 1.033s
Fig. 7.11 shows the variation of slip vs. time characteristics for a
infer that the IM attains the set reference speed of 955 rpm in 0.3
N N 1800 955
slip being s = =0.46 can be verified from the result
N s 1800
shown. Note that the slip decreases from 1.0 to 0.46 linearly in a time
speed is varied from 0 to the rated speed, the slip decreases, i.e., the
IM. When the speed is zero, the slip is 100% whereas the IM operates
close to the rated speed (180 rad/second), the slip is very low. The
versus time are shown in Figs. 7.13 and 7.14. From these figures, it
can be inferred that the machine reaches the set reference speed of
The variation of rotor currents ir-abc with time is shown in Fig. 7.15.
It can be inferred that at lower speeds, the slip is more, and hence the
the torque required to reach the set speed is also more. Hence, the
magnitude of the rotor currents will also be more during the transient
Whe
with time is shown in Fig. 7.16. Here, only two phases d and q axes of
also, once the motor achieves the set speed at 0.3 second, it requires a
CONTROL
used for variable speed. When the system is in operation (when the
simulations are going on), due to sudden changes in set speed (say,
100 60 140 60
955 rpm to140 rad/second 1337 rpm or anything
2 2
else and then suddenly decrease the speed back to normal), with the
from 100 to 140 rad/second and then back to normal are shown in
Fig. 7.17: Speed curve for variation in speed from 100–140 r/s
and back
141
Note that when the speed is varied from 100 to 140 rad/second at
say t =0.75 second, the motor takes very less time (only 0.26 second)
to reach the new set speed point (140 rad/second) to become stable.
Again when the IM runs at 140 rad/second, the speed suddenly varies
from 140 to 100 rad/second at say t =1.6 second, and the motor again
takes very less time (only 0.45 second) to reach the new set speed
sudden change in speed, the controller takes very less time to reach
to the set speed of 955 rpm in 0.3 second. The torque vs. time for
rad/second is shown in Fig. 7.18. It can be seen that when the speed
After the motor reaches the set speed of 100 rad/second, the
average torque required to run the motor at the set speed of 100
reaches the rated speed in just 0.3 second. Now, if the speed is
1.01 second.
After the motor reaches the new set speed of 140 rad/second, the
average torque required to run the motor at the new set speed of 140
rad/second will be zero between the period from t =1.01 second to 1.6
=2.1 second to 3.0 second. After the motor reaches the original set
motor at the original set speed of 100 rad/second will be zero from t
=2.1 second onwards. From Fig. 7.18, we can conclude that when the
motor operates at lower speeds, the slip is more. Hence, the machine
Once the machine reaches the set speed of 955 rpm, the average
torque of the machine becomes nearly zero, which is justified from the
for the variation in speed from 100 to 140 rad/second and back to
143
variation during the change in speed from one value to another during
the time interval from t =0.75 to 1 second and from t =1.6 to 2.1
second.
normal. This figure clearly shows that at lower speeds, the slip is
more, and the flux required to develop the suitable torque is also
more.
The torque required to reach the set speed is also more. Hence, the
system.
144
during the change in speed is that, during speed variation, the flux
varies slightly only during the time interval at which the speed
From the variation of flux with time, it can be observed that when the
Hence, the flux also starts increasing during the transient period (0
to 0.3 second) exponentially. Once the motor attains the set rated
constant at 0.9 wbs after ≥0.3 second. Once the saturation of the flux
takes place in the air gap, the variation of the load torque and speed
will not disturb the flux curve. Hence, the IM will operate at a
constant flux.
The plots of the direct axis current id and quadrature axis current
iq versus time are shown in Figs. 7.21 and 7.22, respectively. From
145
these figures, it can be inferred that the machine reaches the set
that at lower speeds, the slip is more, and hence the flux required to
speed
Moreover, the torque required to reach the set speed is also more.
Hence, the magnitude of the rotor currents will also be more during
the transient periods (starting periods) of the IM. When the speed
speed
the d-q plane is shown in Fig. 7.24. Here, only two phases (d and q
this case, also, once the motor achieves the set speed at 0.3 second, it
speed
fluctuations.
Fig. 7.26: Plot of variation of speed with time for clockwise and
anticlockwise rotation of IM
7.7 SUMMARY
in this chapter. The SVPWM is used to control the firing angle of the
inverter. This, in turn, controls the speed of the IM. The Simulink
ANFIS controller, it was observed that the motor reaches the set speed
very quickly in a shorter period of time, i.e., only 0.3 second to reach
of the system parameters, say speed of the IM. This shows the
(because of parametric variation) from the normal value and its effects