SlideShare a Scribd company logo
1 of 38
FUZZY LOGIC
Menoufia University
Faculty of Electronic Engineering
11/2019
2 of 38
Agenda
Introduction to Fuzzy01
Fuzzification Methods02
Defuzzification Methods03
References04
3 of 38
What Fuzzy Systems?
Confused
vague
blurred
4 of 38
Human
knowledge-based
Rule-based
Fuzzy
IF AND
THEN
distance
speed
acceleration
small
speed is declining
maintain
IF distance perfect AND
speed is declining
THEN increase acceleration
speed [m/s]
5 of 38
Types of fuzzy systems
Fuzzy systems with
fuzzifier and defuzzifier
pure fuzzy system
its inputs and outputs are
fuzzy sets (natural languages)
in engineering systems the
inputs and outputs are real-
valued variables.
problem
Takagi-Sugeno-Kang
(TSK) fuzzy systems
problem
1-mathematical formula may not
provide a natural framework of
human knowledge.
2- there is not much freedom left to
apply different principles in fuzzy
6 of 38
a self-parking car in 1983
Nissan has a patent saves
fuel
F U Z Z Y
App.
The fuzzy washing machines
were the first major consumer
products in Japan around
1990
the most advanced subway
system on earth in 1987
7 of 38
Fuzzy Logic
Controller
Sensor
Fuzzification
Fuzzy
Inference
System
to be
controlled
Defuzzification
Membership
function of
input fuzzy set
Rule Base
Membership
function of
output fuzzy set
Feedback
8 of 38
Classification of fuzzy sets
Convex
fuzzy set
Non-Convex
fuzzy set
Normal
fuzzy set
Sub-normal
fuzzy set
9 of 38
Types of membership function
𝝁 𝒙 =
𝟎 , 𝒙 ≤ 𝒂
𝒙 − 𝒂
𝒃 − 𝒂
, 𝒂 ≤ 𝒙 ≤ 𝒃
𝒄 − 𝒙
𝒄 − 𝒃
, 𝒃 ≤ 𝒙 ≤ 𝒄
𝟎 , 𝒙 ≥ 𝒄
Triangular
𝝁 𝒙 =
𝟎 , 𝒙 ≤ 𝒂
𝒙 − 𝒂
𝒃 − 𝒂
, 𝒂 ≤ 𝒙 ≤ 𝒃
𝟏 , 𝒃 ≤ 𝒙 ≤ 𝒄
𝒄 − 𝒙
𝒄 − 𝒃
, 𝒄 ≤ 𝒙 ≤ 𝒅
𝟎 , 𝒙 ≥ 𝒅
Trapezoidal
𝝁 𝒙 = 𝒆𝒙𝒑
− 𝒙 − 𝒄 𝟐
𝟐𝝈 𝟐
Gaussian
10 of 38
Autonomous driving car
distance
speed
acceleration
13 m
-2.5 m/s
?
Knowledge
Rule base
Distance to next car [ m ]
v.small small perfect big v.big
Speed
Change
[ 𝒎 𝟐
]
declining -ve small zero +ve small +ve big +ve big
constant -ve big -ve small zero +ve small +ve big
growing -ve big -ve big -ve small zero +ve small
speed [m/s]
11 of 38
speed [m/s]
Knowledge
Rule base
Distance to next car [ m ]
v.small small perfect big v.big
Speed
Change
[ 𝒎 𝟐
]
declining -ve small zero +ve small +ve big +ve big
constant -ve big -ve small zero +ve small +ve big
growing -ve big -ve big -ve small zero +ve small
0.4 0.25
0.4
0.6
0.6
0.75
0.75
0.25
0.25
0.4
0.25
0.6
Rule 1: IF distance is small AND speed is declining
THEN acceleration zero
Rule 2: IF distance is small AND speed is constant
THEN acceleration negative small
Rule 3: IF distance is perfect AND speed is declining
THEN acceleration positive small
Rule 4: IF distance is perfect AND speed is constant
THEN acceleration zero
max
Take
min
12 of 38
Defuzzification using Weighted average
13 of 38
Fuzzification Methods
Genetic Algorithm
Angular fuzzy sets
Rank ordering
Inductive
Reasoning
Intuition Neural Networks
Inference
14 of 38
Intuition
own intelligence and understanding.
contextual and semantic knowledge.
linguistic truth values.
(see Zadeh, 1972).
1
15 of 38
Inference 2
We wish to deduce a conclusion, given a body of facts and knowledge.
the one we illustrate here relates to our formal knowledge of geometry and geometric shapes
U = {(A,B,C) | A ≥ B ≥ C ≥ 0 ; A + B + C = 180◦}
Isosceles triangle (I) 𝝁 𝑰 𝑨, 𝑩, 𝑪 = 𝟏 −
𝟏
𝟔𝟎°
𝒎𝒊𝒏(𝑨 − 𝑩, 𝑩 − 𝑪)
Right triangle (R) 𝝁 𝑹 𝑨, 𝑩, 𝑪 = 𝟏 −
𝟏
𝟗𝟎°
|𝑨 − 𝟗𝟎°|
Other triangles (O) 𝝁 𝒐 𝑨, 𝑩, 𝑪 = 𝟏 − 𝒎𝒂𝒙
𝟏
𝟔𝟎°
𝒎𝒊𝒏 𝑨 − 𝑩, 𝑩 − 𝑪 ,
𝟏
𝟗𝟎°
|𝑨 − 𝟗𝟎°| t
Types of triangles:
16 of 38
e.g 4-1 Define the triangle for the figure shown in Figure with
the three given angles.
17 of 38
Rank ordering 3
Preference is determined by pairwise comparisons
these determine the ordering of the membership.
Suppose 1000 people respond to a questionnaire about
their pairwise preferences among five colors, X = {red,
orange, yellow, green, blue}. Define a fuzzy set as A
on the universe of colors “best color.”
18 of 38
Angular fuzzy sets 4
The linguistic terms
1- Fully anticlockwise (FA) 𝛉 =
𝝅
𝟐
2- Partially anticlockwise (PA) 𝛉 =
𝝅
𝟒
3- No rotation (NR) 𝛉 = 𝟎
4- Partially clockwise (PC) 𝛉 = −
𝝅
𝟒
5- Fully clockwise (FC) 𝛉 = −
𝝅
𝟐
The angular fuzzy set
universe angles
repeating every 2Π cycles.
linguistic values vary with θ on the unit circle
membership values μ(θ).
19 of 38
𝝁 𝒕 𝐙 = 𝐙 𝐭𝐚𝐧 𝜽
𝐰𝐡𝐞𝐫𝐞 𝒁 = 𝐜𝐨𝐬 𝜽
Angular fuzzy membership function
𝝁 𝒕 𝐙
𝒁
The values for membership functions
20 of 38
Neural networks 5
A neural network is a technique
that seeks to build an intelligent
program using models that simulate
the working network of the
neurons in the human brain
21 of 38
Genetic Algorithm 6
Genetic algorithm (GA) uses the concept of Darwin’s theory
of evolution “survival of the fittest.” postulated that the new
classes of living things came into existence through
the process of reproduction, selection, crossover, and
mutation among existing organisms.
selection cross-over mutationFitness
Function
Initial
Population
22 of 38
Inductive Reasoning 7
23 of 38
EntropyInduction
24 of 38
Inductive Reasoning 7
The induction is performed by the entropy
minimization principle, which clusters most
optimally the parameters corresponding to
the output classes [De Luca and Termini,
1972].
Particular General
useful for complex static systems
not useful for dynamic systems
1- subdivide our data set into membership functions
2- determine a threshold line with an entropy
minimization
3- start the segmentation process by moving an
imaginary threshold value x between x1 and x2
4-calculate entropy for each value of x.
25 of 38
Defuzzification Methods
Centre of
largest area
Mean–max
membership
Weighted average
Maxima
Max-membership Centre
of sums
Centroid
method
26 of 38
Lambda Cut (𝜆 𝑐𝑢𝑡)
Properties of Lambda Cut Sets:
1- 𝑨 ∪ 𝑩 𝝀 = 𝑨 𝝀 ∪ 𝑩 𝝀
2- 𝑨 ∩ 𝑩 𝝀 = 𝑨 𝝀 ∩ 𝑩 𝝀
3- ഥ𝑨 𝝀 ≠ 𝑨 𝝀 𝒆𝒙𝒄𝒆𝒑𝒕 𝒇𝒐𝒓 𝒂 𝒗𝒂𝒍𝒖𝒆 𝒐𝒇 𝝀 = 𝟎. 𝟓
4- 𝑭𝒐𝒓 𝝀 ≤ 𝝁(𝒙), 𝒘𝒉𝒆𝒓𝒆 𝝁(𝒙) 𝒃𝒆𝒕𝒘𝒆𝒆𝒏 𝟎 𝒂𝒏𝒅 𝟏
𝑰𝒇 𝑨 =
𝟎. 𝟗
𝒙 𝟏
+
𝟎. 𝟏
𝒙 𝟐
+
𝟎. 𝟑
𝒙 𝟑
+
𝟎. 𝟐
𝒙 𝟒
+
𝟎. 𝟖
𝒙 𝟓
, 𝒇𝒊𝒏𝒅 𝑨 𝟎.𝟑
𝑨 𝟎.𝟑 =
𝟏
𝒙 𝟏
+
𝟎
𝒙 𝟐
+
𝟏
𝒙 𝟑
+
𝟎
𝒙 𝟒
+
𝟏
𝒙 𝟓
27 of 38
Max-membership 1
𝒁∗
This method is given by the expression
𝝁(𝒁∗
) ≥ 𝝁(𝒁)
This method is also referred as height method
28 of 38
A railroad company intends to lay a new rail line in a
particular part of a county. The whole area through which the new line is
passing must be purchased for right-of-way considerations. It is surveyed
in three stretches, and the data are collected for analysis. The surveyed
data for the road are given by the sets,𝐵1 , 𝐵2 , 𝐵3 , Where the sets are
defined on the universe of right-of-way widths, in meters. For the railroad
to purchase the land, it must have an assessment of the amount of land to
be bought. The three surveys on right-of-way width are ambiguous,
however, because some of the land along the proposed railway route is
already public domain and will not need to be purchased. Additionally, the
original surveys are so old (circa 1860) that some ambiguity exists on
boundaries and public right-of-way for old utility lines and old roads. The
three fuzzy sets, 𝐵1 , 𝐵2 , 𝐵3 , shown in the following figures, respectively,
represent the uncertainty in each survey as to the membership of right-of-
way width, in meters, in privately owned land. We now want to aggregate
these three survey results to find the single most nearly representative
right-of-way width (z) to allow the railroad to make its initial estimate of the
right-of-way purchasing cost. We want to find 𝑍∗.
Ex. 10
P.112
29 of 38
Centroid method 2
also called center of area, center of gravity).
it is the most prevalent and physically
appealing of all the defuzzification methods
𝒁∗ =
‫׬‬ 𝝁 𝒁 𝒁 𝒅𝒛
‫׬‬ 𝝁 𝒁 𝒅𝒛
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
𝒁∗
= 𝟒. 𝟗 𝒎
30 of 38
Weighted average 3
This method only for symmetrical output
membership function.
each membership function in the obtained output
by its largest membership Value.
𝒁∗ =
σ 𝝁(𝒁) 𝒁
σ 𝝁(𝒁)
𝒁∗ =
𝟎. 𝟑 × 𝟐. 𝟓 + 𝟎. 𝟓 × 𝟓 + (𝟏 × 𝟔. 𝟓)
𝟎. 𝟑 + 𝟎. 𝟓 + 𝟏
𝒁∗ = 𝟓. 𝟒𝟏 𝒎
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
𝒁∗
= 𝟓. 𝟒𝟏 𝒎
31 of 38
Mean–max membership 4
This method is related to max-membership Which
needs a single point, while Mean–max
membership can be a range.
𝒁∗ =
𝟔 + 𝟕
𝟐
= 𝟔. 𝟓 𝒎
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
𝒁∗
= 𝟔. 𝟓 𝒎
𝒁∗ =
𝒂 + 𝒃
𝟐
32 of 38
Centre of sums 5
This is one of the most commonly used
defuzzification technique. In this method, the
overlapping area is counted twice
𝑨 𝟏 = 𝟎. 𝟑 × 𝟎. 𝟓 × 𝟑 + 𝟓 = 𝟏. 𝟐
𝑨 𝟐 = 𝟎. 𝟓 × 𝟎. 𝟓 × 𝟐 + 𝟒 = 𝟏. 𝟓
𝑨 𝟑 = 𝟏 × 𝟎. 𝟓 × 𝟑 + 𝟏 = 𝟐
𝒁∗ =
𝟏. 𝟐 × 𝟐. 𝟓 + 𝟏. 𝟓 × 𝟓 + (𝟐 × 𝟔. 𝟓)
𝟏. 𝟐 + 𝟏. 𝟓 + 𝟐
= 𝟓𝒎
𝒁∗ =
σ𝒊=𝟎
𝒏
𝑨𝒊 𝒁𝒊
σ𝒊=𝟎
𝒏
𝑨𝒊
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
𝒁∗
= 5 m
𝐴1
𝐴2
𝐴3
33 of 38
Center of largest area 6
𝒁∗ =
‫׬‬ 𝝁 𝑪 𝒎
𝒁 𝒁 𝒅𝒛
‫׬‬ 𝝁 𝑪 𝒎
𝒁 𝒅𝒛
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
𝒁∗
= 4.9 m
𝐴1
𝐴2
If the output fuzzy set has at least two convex subregions,
Then 𝑍∗ is calculated using the centroid method.
𝐶 𝑚: is the convex subregion that has the largest area
34 of 38
Maxima 7
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1
0 1 2 3 4 5 6 7 8
𝞵
Z
Z∗ = 6
First of Maxima Method (FOM)1
2
Z∗ = 7
Last of Maxima Method (LOM)
3
Z∗
=
6 + 7
2
= 6.5
Mean of Maxima Method (MOM)
35 of 38
Defuzzification Methods
Centre of
largest area
Mean–max
membership
Weighted average
Maxima
Max-membership Centre
of sums
Centroid
method
𝒁∗
= 𝟒. 𝟗 𝒎
𝒁∗ = 𝟓. 𝟒𝟏 𝒎
𝒁∗ = 𝟔. 𝟓 𝒎
𝒁∗
= 𝟓 𝒎
𝒁∗ = 𝟒. 𝟗 𝒎
𝑭𝑶𝑴 𝒁∗ = 𝟔 𝒎
𝑳𝑶𝑴 𝒁∗ = 𝟕 𝒎
𝑴𝑶𝑴 𝒁∗ = 𝟔. 𝟓 𝒎
36 of 38
References
[1] L.-X. Wang, A Course in Fuzzy Systems and Control. Prentice Hall PTR, 1997.
[2] S. N. Sivanandam, S. Sumathi, and S. N. Deepa, Introduction to Fuzzy Logic
using MATLAB. Springer, 2006.
[3] T. J. Ross, Fuzzy Logic with Engineering Applications, 2nd ed. Wiley, 2004.
[4] Essam Nabil, “Autonomous driving car,” March,2019, pp. 1–13.[presentation].
37 of 38
Slide 1 : [1] man thinking [2] working man
Slide 6 : [2] subway
Slide 7 : [1] sensor [2] system to be controlled
Slide 10 : [1] car
Slide 21 : [1] block diagram of genetic algorithm [2] Steps in Genetic Algorithms
Slide 23 : [1] deductive & inductive reasoning [2] entropy [3] ice and water
Sources of images
38 of 38
Thank You
Nourhan Selem Salm
Ad

More Related Content

What's hot (20)

Fuzzy Set Theory
Fuzzy Set TheoryFuzzy Set Theory
Fuzzy Set Theory
AMIT KUMAR
 
Fuzzy Set
Fuzzy SetFuzzy Set
Fuzzy Set
Ehsan Hamzei
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Babu Appat
 
Classical relations and fuzzy relations
Classical relations and fuzzy relationsClassical relations and fuzzy relations
Classical relations and fuzzy relations
Baran Kaynak
 
Defuzzification
DefuzzificationDefuzzification
Defuzzification
Dr. C.V. Suresh Babu
 
Fuzzy logic
Fuzzy logicFuzzy logic
Fuzzy logic
Sanjay Santhakumar
 
Fuzzy relations
Fuzzy relationsFuzzy relations
Fuzzy relations
naugariya
 
Introduction to soft computing
 Introduction to soft computing Introduction to soft computing
Introduction to soft computing
Siksha 'O' Anusandhan (Deemed to be University )
 
L7 fuzzy relations
L7 fuzzy relationsL7 fuzzy relations
L7 fuzzy relations
Mohammad Umar Rehman
 
Fuzzy Logic ppt
Fuzzy Logic pptFuzzy Logic ppt
Fuzzy Logic ppt
Ritu Bafna
 
Application of fuzzy logic
Application of fuzzy logicApplication of fuzzy logic
Application of fuzzy logic
Viraj Patel
 
Soft computing
Soft computingSoft computing
Soft computing
ganeshpaul6
 
If then rule in fuzzy logic and fuzzy implications
If then rule  in fuzzy logic and fuzzy implicationsIf then rule  in fuzzy logic and fuzzy implications
If then rule in fuzzy logic and fuzzy implications
Siksha 'O' Anusandhan (Deemed to be University )
 
Chapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy LogicChapter 5 - Fuzzy Logic
Chapter 5 - Fuzzy Logic
Ashique Rasool
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
EdutechLearners
 
Fuzzy set and its application
Fuzzy set and its applicationFuzzy set and its application
Fuzzy set and its application
KalaivananRaja
 
Artificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rulesArtificial Neural Networks Lect3: Neural Network Learning rules
Artificial Neural Networks Lect3: Neural Network Learning rules
Mohammed Bennamoun
 
Flowchart of GA
Flowchart of GAFlowchart of GA
Flowchart of GA
Ishucs
 
Fuzzy expert system
Fuzzy expert systemFuzzy expert system
Fuzzy expert system
Hsuvas Borkakoty
 
Neuro-fuzzy systems
Neuro-fuzzy systemsNeuro-fuzzy systems
Neuro-fuzzy systems
Sagar Ahire
 

Similar to fuzzy fuzzification and defuzzification (20)

An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
IJCI JOURNAL
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
Zac Darcy
 
Ou3425912596
Ou3425912596Ou3425912596
Ou3425912596
IJERA Editor
 
Giới thiệu lý thuyết và ứng dụng của ogic mờ
Giới thiệu lý thuyết và ứng dụng của ogic mờGiới thiệu lý thuyết và ứng dụng của ogic mờ
Giới thiệu lý thuyết và ứng dụng của ogic mờ
LiemNguyenDuy
 
An Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution AlgorithmAn Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution Algorithm
IOSR Journals
 
Deconvolution
DeconvolutionDeconvolution
Deconvolution
gregthom992
 
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Analysis of large scale spiking networks dynamics with spatio-temporal constr...Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Hassan Nasser
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
Dh3211231128
Dh3211231128Dh3211231128
Dh3211231128
IJMER
 
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
AI Robotics KR
 
A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...
TELKOMNIKA JOURNAL
 
V01 i010401
V01 i010401V01 i010401
V01 i010401
IJARBEST JOURNAL
 
H010223640
H010223640H010223640
H010223640
IOSR Journals
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat Algorithm
Xin-She Yang
 
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
eSAT Publishing House
 
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
Katie Naple
 
An improved ant colony algorithm based on
An improved ant colony algorithm based onAn improved ant colony algorithm based on
An improved ant colony algorithm based on
IJCI JOURNAL
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...An Improved Iterative Method for Solving General System of Equations via Gene...
An Improved Iterative Method for Solving General System of Equations via Gene...
Zac Darcy
 
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
AN IMPROVED ITERATIVE METHOD FOR SOLVING GENERAL SYSTEM OF EQUATIONS VIA GENE...
Zac Darcy
 
Giới thiệu lý thuyết và ứng dụng của ogic mờ
Giới thiệu lý thuyết và ứng dụng của ogic mờGiới thiệu lý thuyết và ứng dụng của ogic mờ
Giới thiệu lý thuyết và ứng dụng của ogic mờ
LiemNguyenDuy
 
An Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution AlgorithmAn Adaptive Masker for the Differential Evolution Algorithm
An Adaptive Masker for the Differential Evolution Algorithm
IOSR Journals
 
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Analysis of large scale spiking networks dynamics with spatio-temporal constr...Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Analysis of large scale spiking networks dynamics with spatio-temporal constr...
Hassan Nasser
 
The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)The International Journal of Engineering and Science (The IJES)
The International Journal of Engineering and Science (The IJES)
theijes
 
Dh3211231128
Dh3211231128Dh3211231128
Dh3211231128
IJMER
 
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
AI Robotics KR
 
A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...A beamforming comparative study of least mean square, genetic algorithm and g...
A beamforming comparative study of least mean square, genetic algorithm and g...
TELKOMNIKA JOURNAL
 
A Hybrid Bat Algorithm
A Hybrid Bat AlgorithmA Hybrid Bat Algorithm
A Hybrid Bat Algorithm
Xin-She Yang
 
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...Quantum inspired evolutionary algorithm for solving multiple travelling sales...
Quantum inspired evolutionary algorithm for solving multiple travelling sales...
eSAT Publishing House
 
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
A Parallel Direct Method For Solving Initial Value Problems For Ordinary Diff...
Katie Naple
 
Ad

Recently uploaded (20)

RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Christian Folini
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
Com fer un pla de gestió de dades amb l'eiNa DMP (en anglès)
CSUC - Consorci de Serveis Universitaris de Catalunya
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
RTP Over QUIC: An Interesting Opportunity Or Wasted Time?
Lorenzo Miniero
 
Artificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptxArtificial_Intelligence_in_Everyday_Life.pptx
Artificial_Intelligence_in_Everyday_Life.pptx
03ANMOLCHAURASIYA
 
AI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of DocumentsAI Agents at Work: UiPath, Maestro & the Future of Documents
AI Agents at Work: UiPath, Maestro & the Future of Documents
UiPathCommunity
 
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptxSmart Investments Leveraging Agentic AI for Real Estate Success.pptx
Smart Investments Leveraging Agentic AI for Real Estate Success.pptx
Seasia Infotech
 
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Kit-Works Team Study_아직도 Dockefile.pdf_김성호
Wonjun Hwang
 
Slack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teamsSlack like a pro: strategies for 10x engineering teams
Slack like a pro: strategies for 10x engineering teams
Nacho Cougil
 
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
Could Virtual Threads cast away the usage of Kotlin Coroutines - DevoxxUK2025
João Esperancinha
 
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Enterprise Integration Is Dead! Long Live AI-Driven Integration with Apache C...
Markus Eisele
 
How to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabberHow to Install & Activate ListGrabber - eGrabber
How to Install & Activate ListGrabber - eGrabber
eGrabber
 
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptxReimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
Reimagine How You and Your Team Work with Microsoft 365 Copilot.pptx
John Moore
 
Config 2025 presentation recap covering both days
Config 2025 presentation recap covering both daysConfig 2025 presentation recap covering both days
Config 2025 presentation recap covering both days
TrishAntoni1
 
Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)Design pattern talk by Kaya Weers - 2025 (v2)
Design pattern talk by Kaya Weers - 2025 (v2)
Kaya Weers
 
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Crazy Incentives and How They Kill Security. How Do You Turn the Wheel?
Christian Folini
 
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient CareAn Overview of Salesforce Health Cloud & How is it Transforming Patient Care
An Overview of Salesforce Health Cloud & How is it Transforming Patient Care
Cyntexa
 
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
GDG Cloud Southlake #42: Suresh Mathew: Autonomous Resource Optimization: How...
James Anderson
 
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdfKit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Kit-Works Team Study_팀스터디_김한솔_nuqs_20250509.pdf
Wonjun Hwang
 
machines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdfmachines-for-woodworking-shops-en-compressed.pdf
machines-for-woodworking-shops-en-compressed.pdf
AmirStern2
 
May Patch Tuesday
May Patch TuesdayMay Patch Tuesday
May Patch Tuesday
Ivanti
 
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
The No-Code Way to Build a Marketing Team with One AI Agent (Download the n8n...
SOFTTECHHUB
 
Ad

fuzzy fuzzification and defuzzification

  • 1. 1 of 38 FUZZY LOGIC Menoufia University Faculty of Electronic Engineering 11/2019
  • 2. 2 of 38 Agenda Introduction to Fuzzy01 Fuzzification Methods02 Defuzzification Methods03 References04
  • 3. 3 of 38 What Fuzzy Systems? Confused vague blurred
  • 4. 4 of 38 Human knowledge-based Rule-based Fuzzy IF AND THEN distance speed acceleration small speed is declining maintain IF distance perfect AND speed is declining THEN increase acceleration speed [m/s]
  • 5. 5 of 38 Types of fuzzy systems Fuzzy systems with fuzzifier and defuzzifier pure fuzzy system its inputs and outputs are fuzzy sets (natural languages) in engineering systems the inputs and outputs are real- valued variables. problem Takagi-Sugeno-Kang (TSK) fuzzy systems problem 1-mathematical formula may not provide a natural framework of human knowledge. 2- there is not much freedom left to apply different principles in fuzzy
  • 6. 6 of 38 a self-parking car in 1983 Nissan has a patent saves fuel F U Z Z Y App. The fuzzy washing machines were the first major consumer products in Japan around 1990 the most advanced subway system on earth in 1987
  • 7. 7 of 38 Fuzzy Logic Controller Sensor Fuzzification Fuzzy Inference System to be controlled Defuzzification Membership function of input fuzzy set Rule Base Membership function of output fuzzy set Feedback
  • 8. 8 of 38 Classification of fuzzy sets Convex fuzzy set Non-Convex fuzzy set Normal fuzzy set Sub-normal fuzzy set
  • 9. 9 of 38 Types of membership function 𝝁 𝒙 = 𝟎 , 𝒙 ≤ 𝒂 𝒙 − 𝒂 𝒃 − 𝒂 , 𝒂 ≤ 𝒙 ≤ 𝒃 𝒄 − 𝒙 𝒄 − 𝒃 , 𝒃 ≤ 𝒙 ≤ 𝒄 𝟎 , 𝒙 ≥ 𝒄 Triangular 𝝁 𝒙 = 𝟎 , 𝒙 ≤ 𝒂 𝒙 − 𝒂 𝒃 − 𝒂 , 𝒂 ≤ 𝒙 ≤ 𝒃 𝟏 , 𝒃 ≤ 𝒙 ≤ 𝒄 𝒄 − 𝒙 𝒄 − 𝒃 , 𝒄 ≤ 𝒙 ≤ 𝒅 𝟎 , 𝒙 ≥ 𝒅 Trapezoidal 𝝁 𝒙 = 𝒆𝒙𝒑 − 𝒙 − 𝒄 𝟐 𝟐𝝈 𝟐 Gaussian
  • 10. 10 of 38 Autonomous driving car distance speed acceleration 13 m -2.5 m/s ? Knowledge Rule base Distance to next car [ m ] v.small small perfect big v.big Speed Change [ 𝒎 𝟐 ] declining -ve small zero +ve small +ve big +ve big constant -ve big -ve small zero +ve small +ve big growing -ve big -ve big -ve small zero +ve small speed [m/s]
  • 11. 11 of 38 speed [m/s] Knowledge Rule base Distance to next car [ m ] v.small small perfect big v.big Speed Change [ 𝒎 𝟐 ] declining -ve small zero +ve small +ve big +ve big constant -ve big -ve small zero +ve small +ve big growing -ve big -ve big -ve small zero +ve small 0.4 0.25 0.4 0.6 0.6 0.75 0.75 0.25 0.25 0.4 0.25 0.6 Rule 1: IF distance is small AND speed is declining THEN acceleration zero Rule 2: IF distance is small AND speed is constant THEN acceleration negative small Rule 3: IF distance is perfect AND speed is declining THEN acceleration positive small Rule 4: IF distance is perfect AND speed is constant THEN acceleration zero max Take min
  • 12. 12 of 38 Defuzzification using Weighted average
  • 13. 13 of 38 Fuzzification Methods Genetic Algorithm Angular fuzzy sets Rank ordering Inductive Reasoning Intuition Neural Networks Inference
  • 14. 14 of 38 Intuition own intelligence and understanding. contextual and semantic knowledge. linguistic truth values. (see Zadeh, 1972). 1
  • 15. 15 of 38 Inference 2 We wish to deduce a conclusion, given a body of facts and knowledge. the one we illustrate here relates to our formal knowledge of geometry and geometric shapes U = {(A,B,C) | A ≥ B ≥ C ≥ 0 ; A + B + C = 180◦} Isosceles triangle (I) 𝝁 𝑰 𝑨, 𝑩, 𝑪 = 𝟏 − 𝟏 𝟔𝟎° 𝒎𝒊𝒏(𝑨 − 𝑩, 𝑩 − 𝑪) Right triangle (R) 𝝁 𝑹 𝑨, 𝑩, 𝑪 = 𝟏 − 𝟏 𝟗𝟎° |𝑨 − 𝟗𝟎°| Other triangles (O) 𝝁 𝒐 𝑨, 𝑩, 𝑪 = 𝟏 − 𝒎𝒂𝒙 𝟏 𝟔𝟎° 𝒎𝒊𝒏 𝑨 − 𝑩, 𝑩 − 𝑪 , 𝟏 𝟗𝟎° |𝑨 − 𝟗𝟎°| t Types of triangles:
  • 16. 16 of 38 e.g 4-1 Define the triangle for the figure shown in Figure with the three given angles.
  • 17. 17 of 38 Rank ordering 3 Preference is determined by pairwise comparisons these determine the ordering of the membership. Suppose 1000 people respond to a questionnaire about their pairwise preferences among five colors, X = {red, orange, yellow, green, blue}. Define a fuzzy set as A on the universe of colors “best color.”
  • 18. 18 of 38 Angular fuzzy sets 4 The linguistic terms 1- Fully anticlockwise (FA) 𝛉 = 𝝅 𝟐 2- Partially anticlockwise (PA) 𝛉 = 𝝅 𝟒 3- No rotation (NR) 𝛉 = 𝟎 4- Partially clockwise (PC) 𝛉 = − 𝝅 𝟒 5- Fully clockwise (FC) 𝛉 = − 𝝅 𝟐 The angular fuzzy set universe angles repeating every 2Π cycles. linguistic values vary with θ on the unit circle membership values μ(θ).
  • 19. 19 of 38 𝝁 𝒕 𝐙 = 𝐙 𝐭𝐚𝐧 𝜽 𝐰𝐡𝐞𝐫𝐞 𝒁 = 𝐜𝐨𝐬 𝜽 Angular fuzzy membership function 𝝁 𝒕 𝐙 𝒁 The values for membership functions
  • 20. 20 of 38 Neural networks 5 A neural network is a technique that seeks to build an intelligent program using models that simulate the working network of the neurons in the human brain
  • 21. 21 of 38 Genetic Algorithm 6 Genetic algorithm (GA) uses the concept of Darwin’s theory of evolution “survival of the fittest.” postulated that the new classes of living things came into existence through the process of reproduction, selection, crossover, and mutation among existing organisms. selection cross-over mutationFitness Function Initial Population
  • 22. 22 of 38 Inductive Reasoning 7
  • 24. 24 of 38 Inductive Reasoning 7 The induction is performed by the entropy minimization principle, which clusters most optimally the parameters corresponding to the output classes [De Luca and Termini, 1972]. Particular General useful for complex static systems not useful for dynamic systems 1- subdivide our data set into membership functions 2- determine a threshold line with an entropy minimization 3- start the segmentation process by moving an imaginary threshold value x between x1 and x2 4-calculate entropy for each value of x.
  • 25. 25 of 38 Defuzzification Methods Centre of largest area Mean–max membership Weighted average Maxima Max-membership Centre of sums Centroid method
  • 26. 26 of 38 Lambda Cut (𝜆 𝑐𝑢𝑡) Properties of Lambda Cut Sets: 1- 𝑨 ∪ 𝑩 𝝀 = 𝑨 𝝀 ∪ 𝑩 𝝀 2- 𝑨 ∩ 𝑩 𝝀 = 𝑨 𝝀 ∩ 𝑩 𝝀 3- ഥ𝑨 𝝀 ≠ 𝑨 𝝀 𝒆𝒙𝒄𝒆𝒑𝒕 𝒇𝒐𝒓 𝒂 𝒗𝒂𝒍𝒖𝒆 𝒐𝒇 𝝀 = 𝟎. 𝟓 4- 𝑭𝒐𝒓 𝝀 ≤ 𝝁(𝒙), 𝒘𝒉𝒆𝒓𝒆 𝝁(𝒙) 𝒃𝒆𝒕𝒘𝒆𝒆𝒏 𝟎 𝒂𝒏𝒅 𝟏 𝑰𝒇 𝑨 = 𝟎. 𝟗 𝒙 𝟏 + 𝟎. 𝟏 𝒙 𝟐 + 𝟎. 𝟑 𝒙 𝟑 + 𝟎. 𝟐 𝒙 𝟒 + 𝟎. 𝟖 𝒙 𝟓 , 𝒇𝒊𝒏𝒅 𝑨 𝟎.𝟑 𝑨 𝟎.𝟑 = 𝟏 𝒙 𝟏 + 𝟎 𝒙 𝟐 + 𝟏 𝒙 𝟑 + 𝟎 𝒙 𝟒 + 𝟏 𝒙 𝟓
  • 27. 27 of 38 Max-membership 1 𝒁∗ This method is given by the expression 𝝁(𝒁∗ ) ≥ 𝝁(𝒁) This method is also referred as height method
  • 28. 28 of 38 A railroad company intends to lay a new rail line in a particular part of a county. The whole area through which the new line is passing must be purchased for right-of-way considerations. It is surveyed in three stretches, and the data are collected for analysis. The surveyed data for the road are given by the sets,𝐵1 , 𝐵2 , 𝐵3 , Where the sets are defined on the universe of right-of-way widths, in meters. For the railroad to purchase the land, it must have an assessment of the amount of land to be bought. The three surveys on right-of-way width are ambiguous, however, because some of the land along the proposed railway route is already public domain and will not need to be purchased. Additionally, the original surveys are so old (circa 1860) that some ambiguity exists on boundaries and public right-of-way for old utility lines and old roads. The three fuzzy sets, 𝐵1 , 𝐵2 , 𝐵3 , shown in the following figures, respectively, represent the uncertainty in each survey as to the membership of right-of- way width, in meters, in privately owned land. We now want to aggregate these three survey results to find the single most nearly representative right-of-way width (z) to allow the railroad to make its initial estimate of the right-of-way purchasing cost. We want to find 𝑍∗. Ex. 10 P.112
  • 29. 29 of 38 Centroid method 2 also called center of area, center of gravity). it is the most prevalent and physically appealing of all the defuzzification methods 𝒁∗ = ‫׬‬ 𝝁 𝒁 𝒁 𝒅𝒛 ‫׬‬ 𝝁 𝒁 𝒅𝒛 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z 𝒁∗ = 𝟒. 𝟗 𝒎
  • 30. 30 of 38 Weighted average 3 This method only for symmetrical output membership function. each membership function in the obtained output by its largest membership Value. 𝒁∗ = σ 𝝁(𝒁) 𝒁 σ 𝝁(𝒁) 𝒁∗ = 𝟎. 𝟑 × 𝟐. 𝟓 + 𝟎. 𝟓 × 𝟓 + (𝟏 × 𝟔. 𝟓) 𝟎. 𝟑 + 𝟎. 𝟓 + 𝟏 𝒁∗ = 𝟓. 𝟒𝟏 𝒎 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z 𝒁∗ = 𝟓. 𝟒𝟏 𝒎
  • 31. 31 of 38 Mean–max membership 4 This method is related to max-membership Which needs a single point, while Mean–max membership can be a range. 𝒁∗ = 𝟔 + 𝟕 𝟐 = 𝟔. 𝟓 𝒎 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z 𝒁∗ = 𝟔. 𝟓 𝒎 𝒁∗ = 𝒂 + 𝒃 𝟐
  • 32. 32 of 38 Centre of sums 5 This is one of the most commonly used defuzzification technique. In this method, the overlapping area is counted twice 𝑨 𝟏 = 𝟎. 𝟑 × 𝟎. 𝟓 × 𝟑 + 𝟓 = 𝟏. 𝟐 𝑨 𝟐 = 𝟎. 𝟓 × 𝟎. 𝟓 × 𝟐 + 𝟒 = 𝟏. 𝟓 𝑨 𝟑 = 𝟏 × 𝟎. 𝟓 × 𝟑 + 𝟏 = 𝟐 𝒁∗ = 𝟏. 𝟐 × 𝟐. 𝟓 + 𝟏. 𝟓 × 𝟓 + (𝟐 × 𝟔. 𝟓) 𝟏. 𝟐 + 𝟏. 𝟓 + 𝟐 = 𝟓𝒎 𝒁∗ = σ𝒊=𝟎 𝒏 𝑨𝒊 𝒁𝒊 σ𝒊=𝟎 𝒏 𝑨𝒊 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z 𝒁∗ = 5 m 𝐴1 𝐴2 𝐴3
  • 33. 33 of 38 Center of largest area 6 𝒁∗ = ‫׬‬ 𝝁 𝑪 𝒎 𝒁 𝒁 𝒅𝒛 ‫׬‬ 𝝁 𝑪 𝒎 𝒁 𝒅𝒛 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z 𝒁∗ = 4.9 m 𝐴1 𝐴2 If the output fuzzy set has at least two convex subregions, Then 𝑍∗ is calculated using the centroid method. 𝐶 𝑚: is the convex subregion that has the largest area
  • 34. 34 of 38 Maxima 7 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 1 2 3 4 5 6 7 8 𝞵 Z Z∗ = 6 First of Maxima Method (FOM)1 2 Z∗ = 7 Last of Maxima Method (LOM) 3 Z∗ = 6 + 7 2 = 6.5 Mean of Maxima Method (MOM)
  • 35. 35 of 38 Defuzzification Methods Centre of largest area Mean–max membership Weighted average Maxima Max-membership Centre of sums Centroid method 𝒁∗ = 𝟒. 𝟗 𝒎 𝒁∗ = 𝟓. 𝟒𝟏 𝒎 𝒁∗ = 𝟔. 𝟓 𝒎 𝒁∗ = 𝟓 𝒎 𝒁∗ = 𝟒. 𝟗 𝒎 𝑭𝑶𝑴 𝒁∗ = 𝟔 𝒎 𝑳𝑶𝑴 𝒁∗ = 𝟕 𝒎 𝑴𝑶𝑴 𝒁∗ = 𝟔. 𝟓 𝒎
  • 36. 36 of 38 References [1] L.-X. Wang, A Course in Fuzzy Systems and Control. Prentice Hall PTR, 1997. [2] S. N. Sivanandam, S. Sumathi, and S. N. Deepa, Introduction to Fuzzy Logic using MATLAB. Springer, 2006. [3] T. J. Ross, Fuzzy Logic with Engineering Applications, 2nd ed. Wiley, 2004. [4] Essam Nabil, “Autonomous driving car,” March,2019, pp. 1–13.[presentation].
  • 37. 37 of 38 Slide 1 : [1] man thinking [2] working man Slide 6 : [2] subway Slide 7 : [1] sensor [2] system to be controlled Slide 10 : [1] car Slide 21 : [1] block diagram of genetic algorithm [2] Steps in Genetic Algorithms Slide 23 : [1] deductive & inductive reasoning [2] entropy [3] ice and water Sources of images
  • 38. 38 of 38 Thank You Nourhan Selem Salm
  翻译: