Professional Documents
Culture Documents
PART II Chapter 1 2 Fuzzy Logic System
PART II Chapter 1 2 Fuzzy Logic System
PART II:
Fuzzy Logic
Instructor: Dr. Dang Xuan Ba
Email: badx@hcmute.edu.vn
In reality, we could drive a car though we do not need much knowledge of the car.
We do not know dynamics of a day-life water tank, but possibly we could control the
water high.
concept in 1965.
1990s Now
1980s and
future
1970s Mamdani Fuzzy model
Fuzzy system is a knowledge-based system (hệ thống tri thức) which consist
of a set of ”IF-THEN” fuzzy rules.
Example 1:
IF Level of Water in the Tank is high THEN open-angle of valve is small.
IF Level of Water in the Tank is low THEN open-angle of valve is big.
Example 2:
• IF the speed of the car is slow THEN Force pushing on accelerator is
strong.
• IF the speed of the car is fast THEN Force pushing on accelerator is
weak.
• And so on.
Each individual entity (cá thể) in a set A is called a member (thành viên) or
an element (phần tử) of the set.
The classical set A splits the universe set X (tập cơ sở) in two groups:
members and non-members, it means that no partial membership exists.
A = A A =
Identity (xác định):
A X = X A X = A
Transitivity (bắt cầu): A B and B C A C
Complement (Bù): A ( x) = 1 − A ( x)
Convolution (tích): A B ( x, y ) = A ( x) B ( y )
Fuzzy set A must satisfy the objectivity (tính khách quan) and reasonability (tính hợp
lý).
Trapezoidal MFs
Discrete MFs
A fuzzy set A(x) on universe X is called normal fuzzy set (chuẩn) if and only if A(x) is a convex set
and height of A(x) is equal to 1.
Complement (Bù):
A fuzzy set A is defined in the universal set X . A(x) represents the degree of how
much does an element x X , belong to A .
Complement (Bù):
Example 1:
Ac(x) Bc(x)
A(x) B(x)
1 1
0 0
Complement (Bù):
Example 2:
0 0.5 1 0.5 0
𝐴 𝑥 ={ + + + + ቋ
1 2 3 4 5
𝑐
1 0.5 0 0.5 1
𝐴 𝑥 ={ + + + + ቋ
1 2 3 4 5
Intersection (Giao):
Consider two fuzzy set 𝐴(𝑥ሻ and B(𝑥ሻ on the same universe X. Intersection of A(x) and B(x)
is defined the following MFs:
where
t (a, b) :[0,1] [0,1] → [0,1]
Satisfying the following conditions:
Tính Giới hạn
Tính đơn điệu
Tính giao hoán
Tính kết hợp
• Bounded Difference
(Lukasiewicz) 𝑡 𝜇𝐴 𝑥 , 𝜇𝐵 𝑥 = max(0, 𝜇𝐴 𝑥 + 𝜇𝐵 𝑥 − 1ሻ
• Others: A ( x) B ( x)
t ( A ( x), B ( x)) =
2 − A ( x ) − B ( x) + A ( x) B ( x)
B(x) B(x)
A(x) A(x)
1 1
0 0
Consider two fuzzy set 𝐴(𝑥ሻ and B(𝑥ሻ on the same universe X. Union of A(x) and
B(x) is defined the following MFs:
where
s (a, b) :[0,1] [0,1] → [0,1]
Satisfying the following conditions:
B(x) B(x)
A(x) A(x)
1 1
0 0
• Discrete time:
0.1 0.2 0.8 1 0.7 0.2 0
𝐴 𝑦 ={ + + + + + + ቋ
𝑦1 𝑦2 𝑦3 𝑦4 𝑦5 𝑦6 𝑦7
0 0.25 0.75 1 0.75 0.25 0
𝐵 𝑦 ={ + + + + + + ቋ
𝑦1 𝑦2 𝑦3 𝑦4 𝑦5 𝑦6 𝑦7
• Standard union:
0.1 0.25 0.8 1 0.75 0.25 0
𝐴 𝑦 ∪𝐵 𝑦 ={ + + + + + + ቋ
𝑦1 𝑦2 𝑦3 𝑦4 𝑦5 𝑦6 𝑦7
B(x)
A(x)
1
A B?
A B?
A B?
A B?
Part II: Fuzzy Logic Presenter: Dr. Dang Xuan Ba 41
Chapter 2: Fuzzy Set (Tập hợp mờ)
3. Linguistic Variable (Biến ngôn ngữ)/ Fuzzy variable (biến mờ)