"Fuzzy Logic Using Matalb": Miss. Smita A.Khadake
"Fuzzy Logic Using Matalb": Miss. Smita A.Khadake
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:
3.Rule Editor
4.Rule Viewer
5.Surface Viewer
1. THE FIS EDITOR
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)