Professional Documents
Culture Documents
Logic Control
Paper Code-PE-EC702C
(ECE/7th Sem.)
Dr. Tarun Kumar Das
Associate Professor
ECE Dept., FIEM
FUZZY LOGIC CONTROLLER
Fuzzy Logic Controller:
Fuzzy Logic Controller (FLC) was first developed by Mamdani and
Assilian around 1975.
The performance of an FLC depends on its Knowledge Base (KB).
KB consists of
(a) Data Base (DB) (data related to membership function distributions of
the variables of the process to be controlled)
(b) Rule Base (RB)
Four ways to design a proper KB:
• Optimization of the DB only
• Optimization of the RB only
• Optimization of the DB and RB in stages
• Optimization of the DB and RB simultaneously
Major Forms of Fuzzy Logic
Controller
(1) Linguistic fuzzy modeling
Proposed by Mamdani
Characterized by its high interpretability and low accuracy
(2) Precise Fuzzy Modeling
Proposed by Takagi and Sugeno
Characterized by its high accuracy, but limited
interpretability
Interpretability and Accuracy of a Fuzzy
Modeling
Interpretability is defined as its capability to express
the behavior of a system in an understandable form.
It is generally expressed in terms of compactness,
completeness, consistency and transparency.
The accuracy of a fuzzy model indicates how closely
it can represent the modeled system.
Mamdani Approach
The obstacle O2 is
found to be the most
critical one.
Primary aim is to
develop a fuzzy logic-
based motion planner
that will be able to
generate the collision-
free path for the robot.
Case Study-1 (contd.)
• There are two inputs, namely the distance between the robot
and the obstacle (D) and angle (GSO2 ) for the motion planner
and it will generate one output, that is deviation.
• Distance is represented using four linguistic terms, namely
Very Near (VN), Near (NR), Far (FR) and Very Far (VFR).
• Another input: angle and output: deviation are expressed with
the help of five linguistic terms, such as Ahead (A), Ahead
Left (AL), Left (LT), Ahead Right (ART) and Right (RT).
Case Study-1 (contd.)
Data Base of the fuzzy logic controller
Case Study-1 (contd.)
Rule Base of the fuzzy logic controller
Problem Statement
Determine the output - deviation for the set of inputs: distance
D = 1.04 m and angle GSO2 = 30 degrees, using Mamdani
Approach. Use different methods of defuzzification.
Solution:
• The inputs are: Distance = 1.04 m, Angle = 30 degrees
• The distance of 1.04 m may be called either NR (Near) or FR
(Far).
• Similarly, the input angle of 30 degrees can be declared either
A (Ahead) or ART (Ahead Right).
Solution (contd.)
Schematic view used to
determine the membership
value corresponding to the
distance of 1.04 m.
Union of the fuzzified outputs, corresponding to the above four fired rules
Observations:
The crisp output U of above four fired rules can be calculated as follows:
= 19.5809
Therefore, the robot should deviate by 19.5809 degrees towards right with respect to the
line joining the present position of the robot and the goal to avoid collision with the obstacle.
Centroid Method
Observations:
A= 9.7151×(−25.2860)+20.2788×0.0+2.3588×20.2870+24.8540×52.7153,
B = 9.7151 + 20.2788 + 2.3588 + 24.8540. Therefore, U turns out to be equal to 19.4450.
Thus, the robot should deviate by 19.4450 degrees towards right with respect to the line
joining the present position of the robot and the goal to avoid collision with the obstacle.
Mean of Maxima