Lec 8
Lec 8
College of Engineering
Department of Electrical and Computer Engineering
Cnt 521
Fuzzy Logic Control
Lecture 8
Crisp Input
Fuzzy Input
Fuzzy Output
Crisp Output
Defuzzification.
Rule: 1 Rule: 1
IF IF project_funding is adequate
OR OR project_staffing is small
THEN THEN risk is low
Rule: 2 Rule: 2
IF IF project_funding is marginal
AND AND project_staffing is large
THEN THEN risk is normal
Rule: 3 Rule: 3
IF IF project_funding is inadequate
THEN THEN risk is high
x x dx
A
COG a
b
x dx
a
A
0.4
0.2
a b
0.0 X
150 160 170 180 190 200 210
Step 4: Defuzzification
Degree of
Membership
1.0
0.8
0.6
0.4
0.2
0.0
0 10 20 30 40 50 60 70 80 90 100
67.4 Z
Sugeno-style defuzzification 0 z1 Z
Crisp Output
z1
Command
IF temp=low
AND P=high
Variables
Plant
THEN A=med
IF ...
Measured Variables
IF temp=low
Set Values PID
AND P=high
THEN A=med
PID Plant
IF ...
Measured Variables
IF temp=low
AND P=high P
THEN A=med
I Command Variable
D
IF ...
PID Plant
Fuzzification Inference Defuzzification
Measured Variable
IF temp=low
AND P=high
THEN A=med
IF ...
Ref +
Deviation + Action Output
Controller Plant
+
‐