Академический Документы
Профессиональный Документы
Культура Документы
part one
Artificial Intelligence for
Control and Identification
Dr. Wilbert G. Aguilar
Ph.D. in Automatic Control, Robotics and Computer Vision
1. General Framework
2. Fuzzy Logic
3. Fuzzy Control
1
1. General Framework
Daily Applications
These machines have fuzzy logic so you can wash a small load
as economically as a large one. The automatic load adjustment
system measures the volume and absorbency of the laundry and
works out exactly how much water to use, so not a drop is wasted.
2
1. General Framework
Daily Applications
3
1. General Framework
Daily Applications
4
1. General Framework
Daily Applications
Air conditioning
Fuzzy Control
5
1. General Framework
Daily Applications
6
1. General Framework
Daily Applications
7
1. General Framework
Evolution of development
8
1. General Framework
Evolution of development
9
1. General Framework
Why Fuzzy?
10
1. General Framework
Types of uncertainty
Stochastic uncertainty
Lexical uncertainty
1. General Framework
2. Fuzzy Logic
3. Fuzzy Control
12
2. Fuzzy Logic
38°C 38°C
37.2°C 37.2°C
39.7°C 39.7°C
40.3°C 40.3°C
“Strong Fever” “Strong Fever”
Fuzzy Control
41.2°C 41.2°C
41.5°C 41.5°C
38.5°C 38.5°C
36.7°C 36.7°C
13
2. Fuzzy Logic
Discrete definition:
µSF(35°C) = 0 µSF(38°C) = 0.1 µSF(41°C) = 0.9
µSF(36°C) = 0 µSF(39°C) = 0.35 µSF(42°C) = 1
µSF(37°C) = 0 µSF(40°C) = 0.65 µSF(43°C) = 1
Continuous definition:
Artificial thresholds are over!!!
µSF(x)
1
either-or
Fuzzy Control
more or less
0
35°C 36°C 37°C 38°C 39°C 40°C 41°C 42°C
14
2. Fuzzy Logic
15
2. Fuzzy Logic
0
35°C 36°C 37°C 38°C 39°C 40°C 41°C 42°C
16
2. Fuzzy Logic
3.Defuzzification
Linguistic 1.Fuzzification
level
Numerical
level
Fuzzy Control
17
2. Fuzzy Logic
Crane Head
Two measured
variables: angle
Container Trailer and distance
Ship
One command
Fuzzy Control
variable: power
18
2. Fuzzy Logic
3.Defuzzification
Linguistic 1.Fuzzification
level l o op
g the !!!
Numerical l osin ords
C w
level with
Fuzzy Control
19
2. Fuzzy Logic
• Command variable:
20
2. Fuzzy Logic
0.8
0.2
Fuzzy Control
0
-90° -45° 0° 4° 45° 90°
Angle
21
2. Fuzzy Logic
0.1
Fuzzy Control
0
-10 0 10 12m 20 30
Distance (m)
22
2. Fuzzy Logic
… NC C Z M F
PB
Fuzzy Control
PS PM PH Rules
Z Z PM Matrix
NS
NB
23
2. Fuzzy Logic
24
2. Fuzzy Logic
25
2. Fuzzy Logic
µ NH NM Z PM PH
1
0.8
0.2
0.1
Fuzzy Control
0
-30 -15 0 15 30
Power (kW)
13.1 kW
26
Outline
1. General Framework
2. Fuzzy Logic
3. Fuzzy Control
27
3. Fuzzy Control
Limitations:
Un-mathematical (stability?)
28
3. Fuzzy Control
The outputs of the fuzzy logic system are the command variables of
the plant:
Command
IF temp=low
AND P=high
Variables
THEN A=med
IF ...
Plant
Measured Variables
Fuzzy Control
29
3. Fuzzy Control
Fuzzy logic controller outputs set values for underlying PID controllers:
IF temp=low
Set Values PID
AND P=high
THEN A=med
PID Plant
IF ...
Measured Variables
Fuzzy Control
30
3. Fuzzy Control
IF temp=low
AND P=high P
THEN A=med
I Command Variable
D
IF ...
PID Plant
Fuzzification Inference Defuzzification
Measured Variable
Fuzzy Control
31
3. Fuzzy Control
IF temp=low
AND P=high
THEN A=med Command Variable
IF ...
Plant
PID
Fuzzification Inference Defuzzification
Measured Variable
Fuzzy Control
32