SlideShare uma empresa Scribd logo
1 de 18
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 1
Lecture 7
Fuzzy expert systems
 Fuzzification
 Rule based system
 Defuzzification
Fuzzy Systems
Fuzzy
Knowledge base
Input Fuzzifier
Inference
Engine
Defuzzifier Output
2
Fuzzy Control Systems
Fuzzy
Knowledge base
Fuzzifier
Inference
Engine
Defuzzifier Plant Output
Input
3
Fuzzy Logic Control
Type of Fuzzy Controllers:
• Mamdani
• Larsen
• TSK (Takagi Sugeno Kang)
• Tsukamoto
• Other methods
BASIL HAMED 4
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 5
The most commonly used fuzzy inference technique
is the so-called Mamdani method. In 1975,
Professor Ebrahim Mamdani of London University
built one of the first fuzzy systems to control a
steam engine and boiler combination. He applied a
set of fuzzy rules supplied by experienced human
operators.
Fuzzy inference
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 6
Mamdani fuzzy inference
The Mamdani-style fuzzy inference process is
performed in four steps:
l fuzzification of the input variables,
l rule evaluation;
l aggregation of the rule outputs, and finally
l defuzzification.
Operation of Fuzzy System
Crisp Input
Fuzzy Input
Fuzzy Output
Crisp Output
Fuzzification
Rule Evaluation
Defuzzification
Input Membership Functions
Rules / Inferences
Output Membership Functions
7
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 8
Example MISO
Two inputs : Project funding A1 A2 A3
Project staff B1 B2
Single output: Risk involved in the project C1
C2
C3
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 9
A simple two-input one-output problem that includes three
rules:
Rule: 1 Rule: 1
IF x is A3 IF project_funding is adequate
OR y is B1 OR project_staffing is small
THEN z is C1 THEN risk is low
Rule: 2 Rule: 2
IF x is A2 IF project_funding is marginal
AND y is B2 AND project_staffing is large
THEN z is C2 THEN risk is normal
Rule: 3 Rule: 3
IF x is A1 IF project_funding is inadequate
THEN z is C3 THEN risk is high
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 10
Step 1: Fuzzification
The first step is to take the crisp inputs, x1 and y1
(project funding and project staffing), and determine
the degree to which these inputs belong to each of the
appropriate fuzzy sets.
Cr
is
p
In
pu
t
0.1
0.7
1
0
y
1
B
1 B
2
Y
Cr
is
p
In
pu
t
0.2
0.5
1
0
A
1 A
2 A
3
x
1
x
1 X

(
x=
A
1)
= 0.5

(
x=
A
2)
= 0.2

(
y=
B
1)
= 0.1

(
y=
B
2)
= 0.7
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 11
Step 2: Rule Evaluation
The second step is to take the fuzzified inputs,
(x=A1) = 0.5, (x=A2) = 0.2, (y=B1) = 0.1 and (y=B 2) =
0.7, and apply them to the antecedents of the fuzzy
rules. If a given fuzzy rule has multiple antecedents,
the fuzzy operator (AND or OR) is used to obtain a
single number that represents the result of the
antecedent evaluation. This number (the truth value)
is then applied to the consequent membership
function.
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 12
To evaluate the disjunction of the rule antecedents,
we use the OR fuzzy operation. Typically, fuzzy
expert systems make use of the classical fuzzy
operation union:
A B(x) = max [A(x), B(x)]
Similarly, in order to evaluate the conjunction of the
rule antecedents, we apply the AND fuzzy operation
intersection:
A B(x) = min [A(x), B(x)]
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 13
A
3
1
0 X
1
y
1
0 Y
0.0
x
1 0
0.1
C
1
1
C
2
Z
1
0 X
0.2
0
0.2
C
1
1
C
2
Z
A
2
x
1
Ru
le
3
:IF
xis
A
1 (0.5)
A
1
1
0 X 0
1
Z
x
1
THEN
C
1 C
2
1
y
1
B
2
0 Y
0.7
B
1
0.1
C
3
C
3
C
3
0.5 0.5
OR
(
ma
x
)
AND
(
mi
n
)
OR THEN
Ru
le
1
:IF
xis
A
3 (0.0)
AND THEN
Ru
le
2
:IF
xis
A
2 (0.2)
y
is
B
1 (0.1) z
is
C
1 (0.1)
y
is
B
2 (0.7) z
is
C
2 (0.2)
z
is
C
3 (0.5)
Mamdani-style rule evaluation
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 14
1.
0
0.
0
0.
2
Z Z
C
2
1.
0
0.
0
0.
2
C
2
Degree of
Membership
Degree of
Membership
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 15
Step 3: Aggregation of the rule outputs
Aggregation is the process of unification of the
outputs of all rules. We take the membership
functions of all rule consequents previously clipped or
scaled and combine them into a single fuzzy set.
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 16
0
0.1
1
C1
z
is
C
1 (0.1)
C2
0
0.2
1
z
is
C
2 (0.2)
0
0.5
1
z
is
C
3 (0.5)
Z
Z
Z
0.2
Z
0

C3
0.5
0.1
Aggregation of the rule outputs
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 17
Step 4: Defuzzification
The last step in the fuzzy inference process is
defuzzification. Fuzziness helps us to evaluate the
rules, but the final output of a fuzzy system has to be
a crisp number. The input for the defuzzification
process is the aggregate output fuzzy set and the
output is a single number.
10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 18
Any Questions ??????

Mais conteúdo relacionado

Semelhante a class%207.pptx

Application of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimizationApplication of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimization
Pranamesh Chakraborty
 
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docxNETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
taitcandie
 
2012 University of Dayton .docx
2012   University of Dayton                   .docx2012   University of Dayton                   .docx
2012 University of Dayton .docx
eugeniadean34240
 
12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
Amritesh Maitra
 
Understanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECLUnderstanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECL
HPCC Systems
 
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
Multiple Sliding Surface Control for Systems with Mismatched UncertaintiesMultiple Sliding Surface Control for Systems with Mismatched Uncertainties
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
Mayuresh Patil
 

Semelhante a class%207.pptx (20)

Application of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimizationApplication of recursive perturbation approach for multimodal optimization
Application of recursive perturbation approach for multimodal optimization
 
alt klausur
alt klausuralt klausur
alt klausur
 
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docxNETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
NETWORKS AND FUZZY LOGICASSIGNMENT 1QUESTION ONE [ Perceptro.docx
 
A New Approach to Design a Reduced Order Observer
A New Approach to Design a Reduced Order ObserverA New Approach to Design a Reduced Order Observer
A New Approach to Design a Reduced Order Observer
 
A Numerical Solution for Sine Gordon Type System
A Numerical Solution for Sine Gordon Type SystemA Numerical Solution for Sine Gordon Type System
A Numerical Solution for Sine Gordon Type System
 
2012 University of Dayton .docx
2012   University of Dayton                   .docx2012   University of Dayton                   .docx
2012 University of Dayton .docx
 
12EE62R11_Final Presentation
12EE62R11_Final Presentation12EE62R11_Final Presentation
12EE62R11_Final Presentation
 
ADAPTIVE CONTROLLER DESIGN FOR THE HYBRID SYNCHRONIZATION OF HYPERCHAOTIC XU ...
ADAPTIVE CONTROLLER DESIGN FOR THE HYBRID SYNCHRONIZATION OF HYPERCHAOTIC XU ...ADAPTIVE CONTROLLER DESIGN FOR THE HYBRID SYNCHRONIZATION OF HYPERCHAOTIC XU ...
ADAPTIVE CONTROLLER DESIGN FOR THE HYBRID SYNCHRONIZATION OF HYPERCHAOTIC XU ...
 
Distributed Resilient Interval Observers for Bounded-Error LTI Systems Subjec...
Distributed Resilient Interval Observers for Bounded-Error LTI Systems Subjec...Distributed Resilient Interval Observers for Bounded-Error LTI Systems Subjec...
Distributed Resilient Interval Observers for Bounded-Error LTI Systems Subjec...
 
EFFINET - Initial Presentation
EFFINET - Initial PresentationEFFINET - Initial Presentation
EFFINET - Initial Presentation
 
Multiuser detection new
Multiuser detection newMultiuser detection new
Multiuser detection new
 
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data MiningMetaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
Metaheuristic Tuning of Type-II Fuzzy Inference System for Data Mining
 
Understanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECLUnderstanding High-dimensional Networks for Continuous Variables Using ECL
Understanding High-dimensional Networks for Continuous Variables Using ECL
 
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
Multiple Sliding Surface Control for Systems with Mismatched UncertaintiesMultiple Sliding Surface Control for Systems with Mismatched Uncertainties
Multiple Sliding Surface Control for Systems with Mismatched Uncertainties
 
IRJET- Optimization of 1-Bit ALU using Ternary Logic
IRJET- Optimization of 1-Bit ALU using Ternary LogicIRJET- Optimization of 1-Bit ALU using Ternary Logic
IRJET- Optimization of 1-Bit ALU using Ternary Logic
 
OPTIMAL PID CONTROLLER DESIGN FOR SPEED CONTROL OF A SEPARATELY EXCITED DC MO...
OPTIMAL PID CONTROLLER DESIGN FOR SPEED CONTROL OF A SEPARATELY EXCITED DC MO...OPTIMAL PID CONTROLLER DESIGN FOR SPEED CONTROL OF A SEPARATELY EXCITED DC MO...
OPTIMAL PID CONTROLLER DESIGN FOR SPEED CONTROL OF A SEPARATELY EXCITED DC MO...
 
Optimal PID Controller Design for Speed Control of a Separately Excited DC Mo...
Optimal PID Controller Design for Speed Control of a Separately Excited DC Mo...Optimal PID Controller Design for Speed Control of a Separately Excited DC Mo...
Optimal PID Controller Design for Speed Control of a Separately Excited DC Mo...
 
On the State Observer Based Stabilization of T-S Systems with Maximum Converg...
On the State Observer Based Stabilization of T-S Systems with Maximum Converg...On the State Observer Based Stabilization of T-S Systems with Maximum Converg...
On the State Observer Based Stabilization of T-S Systems with Maximum Converg...
 
IRJET- Solving Quadratic Equations using C++ Application Program
IRJET-  	  Solving Quadratic Equations using C++ Application ProgramIRJET-  	  Solving Quadratic Equations using C++ Application Program
IRJET- Solving Quadratic Equations using C++ Application Program
 
Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...  Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
Discrete Nonlinear Optimal Control of S/C Formations Near The L1 and L2 poi...
 

Mais de SaishDalvi

switchgear%20%20&%20protection%20introduction.pptx
switchgear%20%20&%20protection%20introduction.pptxswitchgear%20%20&%20protection%20introduction.pptx
switchgear%20%20&%20protection%20introduction.pptx
SaishDalvi
 
principle and application of surface plasmon resonance technique.pptx
principle and application of surface plasmon resonance technique.pptxprinciple and application of surface plasmon resonance technique.pptx
principle and application of surface plasmon resonance technique.pptx
SaishDalvi
 
Dose adjustment in renal failure NM.pptx
Dose adjustment in renal failure NM.pptxDose adjustment in renal failure NM.pptx
Dose adjustment in renal failure NM.pptx
SaishDalvi
 
Drugs for Heart Failure.pdf
Drugs for Heart Failure.pdfDrugs for Heart Failure.pdf
Drugs for Heart Failure.pdf
SaishDalvi
 
Renal Pharmacology Bidya Class_18.04.2022.pdf
Renal Pharmacology Bidya Class_18.04.2022.pdfRenal Pharmacology Bidya Class_18.04.2022.pdf
Renal Pharmacology Bidya Class_18.04.2022.pdf
SaishDalvi
 
Antiarrhythmic drugs class Bidya.pdf
Antiarrhythmic drugs class Bidya.pdfAntiarrhythmic drugs class Bidya.pdf
Antiarrhythmic drugs class Bidya.pdf
SaishDalvi
 
ANS_Introduction to Autonomic Anatomy.pdf
ANS_Introduction to Autonomic Anatomy.pdfANS_Introduction to Autonomic Anatomy.pdf
ANS_Introduction to Autonomic Anatomy.pdf
SaishDalvi
 
Adrenergic Agonists and antagonists.pdf
Adrenergic Agonists and antagonists.pdfAdrenergic Agonists and antagonists.pdf
Adrenergic Agonists and antagonists.pdf
SaishDalvi
 
Dosage regimen in renal failure ( Neha Mayekar).pptx
Dosage regimen in renal failure ( Neha Mayekar).pptxDosage regimen in renal failure ( Neha Mayekar).pptx
Dosage regimen in renal failure ( Neha Mayekar).pptx
SaishDalvi
 

Mais de SaishDalvi (15)

switchgear%20%20&%20protection%20introduction.pptx
switchgear%20%20&%20protection%20introduction.pptxswitchgear%20%20&%20protection%20introduction.pptx
switchgear%20%20&%20protection%20introduction.pptx
 
principle and application of surface plasmon resonance technique.pptx
principle and application of surface plasmon resonance technique.pptxprinciple and application of surface plasmon resonance technique.pptx
principle and application of surface plasmon resonance technique.pptx
 
Dose adjustment in renal failure NM.pptx
Dose adjustment in renal failure NM.pptxDose adjustment in renal failure NM.pptx
Dose adjustment in renal failure NM.pptx
 
Parkinson.pptx
Parkinson.pptxParkinson.pptx
Parkinson.pptx
 
Presentation.pptx
Presentation.pptxPresentation.pptx
Presentation.pptx
 
narcotic chnaged 1.pptx
narcotic chnaged 1.pptxnarcotic chnaged 1.pptx
narcotic chnaged 1.pptx
 
Drugs for Heart Failure.pdf
Drugs for Heart Failure.pdfDrugs for Heart Failure.pdf
Drugs for Heart Failure.pdf
 
Renal Pharmacology Bidya Class_18.04.2022.pdf
Renal Pharmacology Bidya Class_18.04.2022.pdfRenal Pharmacology Bidya Class_18.04.2022.pdf
Renal Pharmacology Bidya Class_18.04.2022.pdf
 
Antiarrhythmic drugs class Bidya.pdf
Antiarrhythmic drugs class Bidya.pdfAntiarrhythmic drugs class Bidya.pdf
Antiarrhythmic drugs class Bidya.pdf
 
Antianginal drugs.pdf
Antianginal drugs.pdfAntianginal drugs.pdf
Antianginal drugs.pdf
 
ANS_Introduction to Autonomic Anatomy.pdf
ANS_Introduction to Autonomic Anatomy.pdfANS_Introduction to Autonomic Anatomy.pdf
ANS_Introduction to Autonomic Anatomy.pdf
 
Adrenergic Agonists and antagonists.pdf
Adrenergic Agonists and antagonists.pdfAdrenergic Agonists and antagonists.pdf
Adrenergic Agonists and antagonists.pdf
 
Dosage regimen in renal failure ( Neha Mayekar).pptx
Dosage regimen in renal failure ( Neha Mayekar).pptxDosage regimen in renal failure ( Neha Mayekar).pptx
Dosage regimen in renal failure ( Neha Mayekar).pptx
 
techniques (1).pptx
techniques (1).pptxtechniques (1).pptx
techniques (1).pptx
 
PPt 123.pptx
PPt 123.pptxPPt 123.pptx
PPt 123.pptx
 

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Último (20)

Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 

class%207.pptx

  • 1. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 1 Lecture 7 Fuzzy expert systems  Fuzzification  Rule based system  Defuzzification
  • 2. Fuzzy Systems Fuzzy Knowledge base Input Fuzzifier Inference Engine Defuzzifier Output 2
  • 3. Fuzzy Control Systems Fuzzy Knowledge base Fuzzifier Inference Engine Defuzzifier Plant Output Input 3
  • 4. Fuzzy Logic Control Type of Fuzzy Controllers: • Mamdani • Larsen • TSK (Takagi Sugeno Kang) • Tsukamoto • Other methods BASIL HAMED 4
  • 5. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 5 The most commonly used fuzzy inference technique is the so-called Mamdani method. In 1975, Professor Ebrahim Mamdani of London University built one of the first fuzzy systems to control a steam engine and boiler combination. He applied a set of fuzzy rules supplied by experienced human operators. Fuzzy inference
  • 6. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 6 Mamdani fuzzy inference The Mamdani-style fuzzy inference process is performed in four steps: l fuzzification of the input variables, l rule evaluation; l aggregation of the rule outputs, and finally l defuzzification.
  • 7. Operation of Fuzzy System Crisp Input Fuzzy Input Fuzzy Output Crisp Output Fuzzification Rule Evaluation Defuzzification Input Membership Functions Rules / Inferences Output Membership Functions 7
  • 8. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 8 Example MISO Two inputs : Project funding A1 A2 A3 Project staff B1 B2 Single output: Risk involved in the project C1 C2 C3
  • 9. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 9 A simple two-input one-output problem that includes three rules: Rule: 1 Rule: 1 IF x is A3 IF project_funding is adequate OR y is B1 OR project_staffing is small THEN z is C1 THEN risk is low Rule: 2 Rule: 2 IF x is A2 IF project_funding is marginal AND y is B2 AND project_staffing is large THEN z is C2 THEN risk is normal Rule: 3 Rule: 3 IF x is A1 IF project_funding is inadequate THEN z is C3 THEN risk is high
  • 10. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 10 Step 1: Fuzzification The first step is to take the crisp inputs, x1 and y1 (project funding and project staffing), and determine the degree to which these inputs belong to each of the appropriate fuzzy sets. Cr is p In pu t 0.1 0.7 1 0 y 1 B 1 B 2 Y Cr is p In pu t 0.2 0.5 1 0 A 1 A 2 A 3 x 1 x 1 X  ( x= A 1) = 0.5  ( x= A 2) = 0.2  ( y= B 1) = 0.1  ( y= B 2) = 0.7
  • 11. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 11 Step 2: Rule Evaluation The second step is to take the fuzzified inputs, (x=A1) = 0.5, (x=A2) = 0.2, (y=B1) = 0.1 and (y=B 2) = 0.7, and apply them to the antecedents of the fuzzy rules. If a given fuzzy rule has multiple antecedents, the fuzzy operator (AND or OR) is used to obtain a single number that represents the result of the antecedent evaluation. This number (the truth value) is then applied to the consequent membership function.
  • 12. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 12 To evaluate the disjunction of the rule antecedents, we use the OR fuzzy operation. Typically, fuzzy expert systems make use of the classical fuzzy operation union: A B(x) = max [A(x), B(x)] Similarly, in order to evaluate the conjunction of the rule antecedents, we apply the AND fuzzy operation intersection: A B(x) = min [A(x), B(x)]
  • 13. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 13 A 3 1 0 X 1 y 1 0 Y 0.0 x 1 0 0.1 C 1 1 C 2 Z 1 0 X 0.2 0 0.2 C 1 1 C 2 Z A 2 x 1 Ru le 3 :IF xis A 1 (0.5) A 1 1 0 X 0 1 Z x 1 THEN C 1 C 2 1 y 1 B 2 0 Y 0.7 B 1 0.1 C 3 C 3 C 3 0.5 0.5 OR ( ma x ) AND ( mi n ) OR THEN Ru le 1 :IF xis A 3 (0.0) AND THEN Ru le 2 :IF xis A 2 (0.2) y is B 1 (0.1) z is C 1 (0.1) y is B 2 (0.7) z is C 2 (0.2) z is C 3 (0.5) Mamdani-style rule evaluation
  • 14. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 14 1. 0 0. 0 0. 2 Z Z C 2 1. 0 0. 0 0. 2 C 2 Degree of Membership Degree of Membership
  • 15. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 15 Step 3: Aggregation of the rule outputs Aggregation is the process of unification of the outputs of all rules. We take the membership functions of all rule consequents previously clipped or scaled and combine them into a single fuzzy set.
  • 16. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 16 0 0.1 1 C1 z is C 1 (0.1) C2 0 0.2 1 z is C 2 (0.2) 0 0.5 1 z is C 3 (0.5) Z Z Z 0.2 Z 0  C3 0.5 0.1 Aggregation of the rule outputs
  • 17. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 17 Step 4: Defuzzification The last step in the fuzzy inference process is defuzzification. Fuzziness helps us to evaluate the rules, but the final output of a fuzzy system has to be a crisp number. The input for the defuzzification process is the aggregate output fuzzy set and the output is a single number.
  • 18. 10/27/2022 DEPARTMENT OF E&E GEC FARMAGUDI 18 Any Questions ??????