Vous êtes sur la page 1sur 13

RESEARCH PAPER ON:

“FUZZY LOGIC USING MATALB”

Miss. Smita A.Khadake


INTRODUCTION TO FUZZY LOGIC:

 The idea of fuzzy logic was first advanced


by Dr. Lotfi Zadeh of the University of
California at Berkeley in the 1960s.

 Fuzzy logic is an approach to computing


based on "degrees of truth", rather than
the usual "true or false“ Boolean logic on
which the modern computer is based.
MATALB –MATRIX LABORATORY
Interactive environment that enables you to perform computationally intensive
tasks faster than with traditional programming languages such as C, C++.

MATLAB Components:

1. Workspace:
Displays all the defined variables.

2. Command Window:
To execute commands in the MATLAB
environment.

3. Command History:
Displays record of the commands
used.
EXAMPLE:
“WATER LEVEL CONTROL IN A TANK”
 There are two inputs to the fuzzy
controller:
1. The rate of change of the water
level.
2. The difference between the actual
and the required water levels.
 The controller uses these inputs to control
the inflow rate.
BUILDING FUZZY INFERENCE SYSTEM (FIS)
WITH MATLAB:

You can use five primary GUI tools :

1.Fuzzy Inference System (FIS) Editor

2.Membership Function Editor

3.Rule Editor

4.Rule Viewer

5.Surface Viewer
1. THE FIS EDITOR

Define the variables:

1. I/P - level, rate

2. O/P - valve

3. workspace-tank1.
2. The Membership Function
Editor A. Input Membership Function-level

1.High

2.Ok

3.low
B. Input Membership Function - rate

1.Negative

2.None

3.Positive
C. Output Membership Function-Valve

1. close_fast

2. close_slow

3. No_change

4.open_slow

5. open_fast
3. Rule Editor
The Rule Editor is for editing the list of rules that defines the
behavior of the system.
1. If (level is okay) then (valve is no
change)

2. If (level is low) then (valve is open


fast)

3. If (level is high) then (valve is close


fast)

4. If (level is okay)and(rate is positive)


then (valve is close slow)

5. If (level is okay)and(rate is negative)


then (valve is open slow)
4. The Rule Viewer and the
Surface Viewer

“They are strictly read-only tools”


CONCLUSION
 It is possible to create and edit fuzzy inference
systems with MATLAB.

 It is beneficial to use fuzzy logic using graphical


tools for developing systems.

 If we have access to Simulink software, you can


easily test your fuzzy system in a block diagram
simulation environment.
THANK YOU…!