Fuzzy_Logic_Lecture2_Intro
Fuzzy_Logic_Lecture2_Intro
1
Course Information
Text/Reference Books
- Timothy J. Ross “Fuzzy Logic with Engineering Application”
2
Course Information
Objective
– To provide a basic understanding of the artificial Neural network, Fuzzy Logic ,
Genetic algorithm, Particle Swarm Optimization, Simulated annealing, Ant Colony
optimization
• Pre-requisites
–Calculus
3
Why Fuzzy
• Based on intuition and judgment
4
Why Fuzzy
• Complex, ill-defined processes difficult for description and
analysis by exact mathematical techniques
• Approximate and inexact nature of the real word;
vague concepts easily dealt with by humans in daily life
• Tolerance of imprecision in return for tractability, robustness,
and short computation time
5
Fuzzy system applications
• Pattern recognition and classification
• Fuzzy clustering
• Image and speech processing
• Fuzzy systems for prediction
• Fuzzy control
• Monitoring
• Diagnosis
• Optimisation and decision making
• Group decision making
6
Some Interesting Applications
• Ride smoothness control
• Braking systems
• Air-conditioning systems
7
■ Uncertainty
– When A is a fuzzy set and x is a relevant object,
the proposition “x is a member of A” is not
necessarily either true or false. It may be true
only to some degree, the degree to which x is
actually a member of A.
– For example: the weather today
■ Sunny: If we define any cloud cover of 25% or
less is sunny.
■ This means that a cloud cover of 26% is not
sunny?
■ “Vagueness” should be introduced.
8
– The crisp set is defined in such a way as to partition the
individuals in some given universe of discourse into two groups:
members and nonmembers.
■ However, many classification concepts do not exhibit this
characteristic.
■ For example, the set of tall people, expensive cars, or sunny
days.
9
2. Fuzzy sets: basic types
■ A membership function:
– A characteristic function: the values assigned to the
elements of the universal set fall within a specified range
and indicate the membership grade of these elements in
the set.
– Larger values denote higher degrees of set membership.
■ A set defined by membership functions is a fuzzy set.
■ The most commonly used range of values of membership
functions is the unit interval [0,1].
■ The universal set X is always a crisp set.
■ Notation:
– The membership function of a fuzzy set A is denoted by :
11
● Boolean/Crisp set A is a mapping for the elements of S to the
set {0, 1}, i.e., A: S ϵ {0, 1}
●Characteristic function:
{
1 if x is an element of set A
● μA(x) =
0 if x is not an element of set A
defined by
indicator
function
Fuzzy set A in X is as
a set of ordered pairs
defined by
membership
function
13
One can define the crisp set “circles”
as:
14
Fuzzy Linguistic variables
John is tall
Dan is smart
Alex is happy
The class is hot
15
Crisp membership function
Crisp membership functions ( µ) are either one or zero.
• e.g. Numbers greater than 10.
A ={x | x>10}
μA( x )
10
16
Fuzzy membership function
17
Fuzzy membership function
18
Linguistic Hedges
●Modifying the meaning of a fuzzy set using
hedges such as very, more or less, slightly, etc.
tal
● Very F = F2 l
● More or less F = F1/2
● etc.
More or less
tall Very tall
19
Fuzzy membership function
20
Fuzzy membership function
21
Fuzzy membership function
22
Fuzzy membership function
23
Fuzzy membership function
24
Fuzzy membership function
25
Fuzzy membership function
26
Fuzzy membership function ?
• Subjective evaluation: The shape of the
functions is defined by specialists
• Ad-hoc: choose a simple function that is
suitable to solve the problem
• Distributions, probabilities: information
extracted from measurements
• Adaptation: testing
• Automatic: algorithms used to define
functions from data
27
Fuzzy Variable
28
Fuzzy Variable Example
• X = Temperature
• L = {low, medium, high}
• U = {x∈X | -70o <= x <= +70o}
• M=
0.0
29
Fuzzy Variable
• Completude: A variable is complete if
for any x ∈ X there is a fuzzy set such
as μ(x)>0
Complete
1.0
Incomplete
0.0
-70 -60 -50 -40 -30 -20 -10 0 10 20 30 40 50 60 70
30
Fuzzy membership function
31
Fuzzy membership function
32
Fuzzy Logic Operations
Complement operation
33
34
35
36
37
Negation:
1.0
Not Tall Tall
5’ 5’6” 6’ 6’6” 7’
38
Fuzzy Logic Operations
39
40