ABSTRACT
The growth in number of fuzzy logic applications led to
the need of finding efficient ways to implement them. In
this paper, the implementation of a Mamdani Fuzzy
Inference System has been demonstrated with the
application of an automatic train braking system. Here
we are designing the fuzzy logic controller using fuzzy
logic tool box in mat lab software. The main function of
the fuzzy logic controller used here is to automatically
stop the train in each station without any manual
procedure of stopping the train. The Mamdani FIS is
designed with two inputs, one output and 16 rules. Two
inputs to the fuzzy logic controller are speed and
distance & output is the braking power. Each input
function is defined with four triangular & trapezoidal
membership functions and centroid defuzzification
method is used. The fuzzy controller takes the decision
with reference to the speed and distance of the train.
Keywords: Defuzzification, Fuzzification, Fuzzy logic
Controller, Mamdani Fuzzy Inference System
1. INTRODUCTION
The concept of fuzzy logic was introduced by Lotfi
Zadeh. A fuzzy logic model can be represented by a
black box diagram shown below in Figure 1.
2. BACKGROUND
The design starts with the selection of number of
stations where the train should stop. The distance
between the stations is calculated. The fuzzy logic
controller for braking system in train gets activated about
500m from the station. The controller gets its input as
speed and distance instantaneously. The numerical
values are converted into fuzzy sets by fuzzification
technique.
www.ijsret.org
96
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 3 Issue 1, April 2014
www.ijsret.org
97
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 3 Issue 1, April 2014
3. DESIGN PROCEDURE
For the train braking system, consider this example
For Speed = 70 kmph, distance=200m, the fuzzy set is,
Speed
{very fast, 1}
Distance
{far, 0.8}
After the fuzzification the corresponding rules are fired.
Here, for the above example, the following rule is fired.
If distance is (FAR) and speed is (VERY FAST) then
braking power is (HEAVY). Then the fuzzy sets are
converted into numerical values by the defuzzification
technique. This numerical value which is the output of
the fuzzy logic controller is used to Control the braking
system of the train.
3.1 FIS Editor
The mamdani fuzzy inference system in fuzzy logic tool
box gives a FIS editor. Figure 3 shows the fuzzy
inference system editor. This is the graphical user
interface of the fuzzy logic tool box. In general it is
much easier to build a system graphically. The FIS editor
acts as a top level module for the system. The number of
input and output variables, their names can be entered
here. The implication and defuzzification methods can
also be adjusted here.
www.ijsret.org
98
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 3 Issue 1, April 2014
fis=readfis('train');
out=evalfis([200 70],fis)
>> out= 43.5182
4. CONCLUSION
99
International Journal of Scientific Research Engineering & Technology (IJSRET), ISSN 2278 0882
Volume 3 Issue 1, April 2014
ACKNOWLEDGMENT
I would like to express my heartiest obedience and
obligations to my guide Dr. Laxman Sahoo Professor
head of Department School of Computer Engineering for
his valuable guidance, motivation and support at the
commencement of the research work. I am deeply
grateful to my family, friends & especially my husband
for their continuous support during my documents
preparation.
References
[1] J. Yen, R. Langari, Fuzzy Logic: Intelligence,
Control, and Information , Pearson Education,
1999.
[2] S.Uppalapati, D.Kaur, "Design and Implementation
of a Mamdani Fuzzy Inference System on a FPGA",
28th North American Fuzzy Information Processing
Society Annual Conference, 2009.
[3] M.Venkatachalam, Dr. S.Thangvel, "Fuzzy Logic
Based Performance Improvement of Induction
motor", IEEE transaction on fuzzy logic, 2010.
[4] L.Ciabattoni,
M.Grisostomi, G.Ippoliti, and
S.Longhi, "A Fuzzy Logic tool for Household
Electrical consumption modeling", IEEE transaction
on fuzzy logic, pp-8022-8027.
[5] John Yen, Reza Langari "Fuzzy Logic Intelligence
Control and Information" Published by Pearson
Education Pt Limited.
[6] D. Driankov, H. Hellendoorn, M. Reinfrank, An
Introduction to fuzzy control , Springer, 1996.
Author Profile
www.ijsret.org
100