



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































Benha University
Benha Faculty of Engineering
Electrical Engineering Technology Department
Prepared By:
Lecture No: 5
Outline
Fuzzy Knowledge Base
Fuzzy Inference System
Fuzzy inference systems have been successfully
applied in fields such as automatic control, data
classification, decision analysis, expert systems, and
computer vision.
Because of its multi-disciplinary nature, the fuzzy
inference system is known by a number of names, such as:
Fuzzy-rule-based system.
Fuzzy expert system.
Fuzzy model.
Fuzzy associative memory.
Fuzzy logic controller.
Simply fuzzy system.
Fuzzy
Knowledge base
Input (^) Fuzzifier
Inference
Engine
Defuzzifier Output
The Architecture of Fuzzy Inference Systems
Fuzzy Knowledge Base
Fuzzy
Knowledge base
Fuzzy
Knowledge base
I nput (^) Fuzzifier
I nf erence
Engine
I nput (^) Fuzzifier Def uzzifier Output
I nf erence
Engine
Def uzzifier Output
The rule base and the database are jointly referred to as the
knowledge base.
rules;
functions of the fuzzy sets used in the fuzzy rules
Fuzzifier
Fuzzy
Knowledge base
Fuzzy
Knowledge base
I nput (^) Fuzzifier
I nf erence
Engine
I nput (^) Fuzzifier Def uzzifier Output
I nf erence
Engine
Def uzzifier Output
Converts the crisp input to a linguistic variable
using the membership functions stored in the fuzzy
knowledge base.
Select inference method.
Mamdani
TSK (Takagi Sugeno Kang)
Larsen
Tsukamoto
Other methods (such as SAM)
Defuzzifier
Fuzzy
Knowledge base
Fuzzy
Knowledge base
I nput (^) Fuzzifier
I nf erence
Engine
I nput (^) Fuzzifier Def uzzifier Output
I nf erence
Engine
Def uzzifier Output
Converts the fuzzy output of the inference engine
to crisp using membership functions analogous to
the ones used by the fuzzifier.
Fuzzy Inference Methods
The most important two types of fuzzy inference methods are:
1.Mamdani fuzzy inference is the most commonly seen
inference method. This method was introduced by Ebrahim
Mamdani (1975).
2.Sugeno or Takagi–Sugeno–Kang (TSK) method was
introduced by Sugeno (1985).
The main difference between the two methods lies in the
consequent of fuzzy rules.
Mamdani Fuzzy System
14
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.
Original Goal: Control a steam engine & boiler combination by a set
of linguistic control rules obtained from experienced human operators.
The Mamdani-style fuzzy inference process is performed in four
steps:
Fuzzification of the input variables.
Rule evaluation.
Aggregation of the rule outputs, and finally
Defuzzification.
Mamdani Inference System
and
and
We examine a simple two-input one-output
problem
that includes three rules:
Rule 1: IF service is poor OR food is rancid
THEN tip is cheap
Rule 2: IF service is good THEN tip is
average.
Rule 3: IF service is excellent OR food is
delicious THEN tip is generous.
The first step is to take the inputs and determine the degree to
which they belong to each of the appropriate fuzzy sets via
membership functions.
19
In this manner, each input is fuzzified over all the qualifying
membership functions required by the rules.
The second step is to take the fuzzified inputs, 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.