Fuzzy Logic
Fuzzy Logic
Fuzzy Logic
• Classical Sets
• Operation on Classical Sets
• Properties of Classical (Crisp) Sets
• Mapping of Classical Sets to Functions
• Fuzzy Sets
• Notation Convention for Fuzzy Sets
• Fuzzy Set Operations
Classical Sets and Fuzzy Sets
X (Universe of discourse)
the universe of discourse is the universe of all available information on a given problem
a universe of discourse, X, as a collection of objects all having the same characteristics
The individual elements in the universe X will be denoted as x. The features of the
elements in X can be discrete, countable integers or continuous valued quantities on the
real line.
The total number of elements in a universe X is called its cardinal number, denoted nx
Classical Sets
The collection of all possible sets in the universe is called the whole set (power set).
Classical Sets
Union A ∪ B = {x | x ∈ A or x ∈ B}
Intersection A ∩ B = {x | x ∈ A and x ∈ B}
The intersection of the two sets, denoted A ∩ B, represents all those elements in
the universe X that simultaneously reside in (or belong to) both sets A and B.
The complement of a set A,is defined as the collection of all elements in the
universe that do not reside in the set A.
Complement of set A
Operation on Classical Sets
Difference operation A | B
Properties of Classical (Crisp) Sets
Commutativity A∪B=B∪A
A∩B=B∩A
Associativity A ∪ (B ∪ C) = (A ∪ B) ∪ C
A ∩ (B ∩ C) = (A ∩ B) ∩ C
Distributivity A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)
A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C) (2.7)
Idempotency A∪A=A
A∩A=A
Identity A∪∅=A
A∩X=A
A∩∅=∅
A∪X=X
Transitivity If A ⊆ B and B ⊆ C, then A ⊆ C
Properties of Classical (Crisp) Sets
De Morgan’s principles
De Morgan’s principles
Logically, collapse of the arch will occur if either of the members fails
Properties of Classical (Crisp) Sets
De Morgan’s principles
In its most general form it can be used to map elements or subsets on one
universe of discourse to elements or sets in another universe.
Example : a universe with three elements, X = {a, b, c}, we desire to map the
elements of the power set of X, i.e., P(X), to a universe, Y, consisting of only two
elements (the characteristic function), Y = {0, 1}
Example : a universe with three elements, X = {a, b, c}, we desire to map the
elements of the power set of X, i.e., P(X), to a universe, Y, consisting of only two
elements (the characteristic function), Y = {0, 1}
Example
Fuzzy Sets
The boundaries of the fuzzy sets are vague and ambiguous. Hence, membership of
an element from the universe in this set is measured by a function that attempts to
describe vagueness and ambiguity
Fuzzy Sets
This function maps elements of a fuzzy set A∼ to a real numbered value on the
interval 0 to 1.
If an element in the universe, say x, is a member of fuzzy set A∼, then this mapping
is given by
Notation Convention for Fuzzy Sets
When the universe of discourse, X, is discrete and finite, is as follows for a fuzzy
setA∼ :
Example
Fuzzy Set Operations
Three fuzzy sets A , B, and C on the universe X
Example
Fuzzy Set Operations
All other operations on classical sets also hold for fuzzy sets, except for the
excluded middle axioms
3. the analyzers that are not suitable for pressure range and instrument
dead time, respectively ?
Define the universe of potential clock speeds as MHz; and define MSI, FPGA, and MCM
as fuzzy sets of clock frequencies that should be implemented in each of these
technologies. The following table defines the membership values for each of the three
fuzzy sets.
Representing the three sets as MSI = M∼ , FPGA = F∼ , and MCM= C∼ , find the following:
Examples of Fuzzy Set Operations
Example:
Samples of a new microprocessor IC chip are to be sent to several customers for beta
testing. The chips are sorted to meet certain maximum electrical characteristics, say
frequency and temperature rating, so that the ‘‘best’’ chips are distributed to preferred
customer 1. Suppose that each sample chip is screened and all chips are found to have a
maximum operating frequency in the range 7–15 MHz at 20◦C. Also, the maximum
operating temperature range (20◦C ± T ) at 8 MHz is determined. Suppose there are
eight sample chips with the following electrical characteristics: