Professional Documents
Culture Documents
Fuzzy Logic
1
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
2
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
1
Artificial Intelligent Control
• Assesment :
• HW : 20%
• UTS : 30%
• UAS : 30%
• Final Project (Group) : 20%
2 weeks before UAS
3
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Introduction
• Illustration
4
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
2
Introduction
• Illustration
5
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Fuzzy Set
• The set of young people :
• Young : 17, 19, 20 years
• But 30, 40 years ? or 10, 13 years ?
• 80 years is old and 2 years is baby
• The set of water temperature’s
• Hot : 60oC, 70oC
• But : 90oC, 100oC, 110oC ? or 10oC, 0oC ?
Ali ate X eggs for breakfast, where X ∈ U = {1,2,….,8} if we may associate
a probability distribution p by observing Ali eating breakfast for 100 days
U={ 0 1 2 3 4 5 6 7 8}
p={0.1 0.7 0.2 0 0 0 0 0 0}
6
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
3
Fuzzy Set
• The set of young people :
• Young : 17, 19, 20 years
• But 30, 40 years ? or 10, 13 years ?
• 80 years is old and 2 years is baby
7
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Membership function
• Assume the universe U is represented by a
number of samples : U ={ 0 20 40 60 80 100}
8
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
4
Linguistic Variable
9
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
10
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
5
Operation On Fuzzy Sets
11
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
12
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
6
Operation On Fuzzy Sets
13
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Fuzzy Logic
14
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
7
Fuzzy Logic
• Symbol
15
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Fuzzy Logic
• Symbol
16
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
8
Fuzzy Logic
• Symbol
17
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Fuzzy Logic
• Symbol
18
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
9
Fuzzy Logic
• Symbol
19
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Fuzzy Logic
• Mamdani implication
• a ⇒ b ≡ a o.min b
20
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
10
Fuzzy Logic
• Mamdani implication
21
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
Inference
• If-Then
• Y=f(x)
• The famous of rule :
22
Laboratory of Control Engineering-Department of Electrical Engineering-ITS
11