Docsity

fuzzy inference system, Essays (university) of Computer Science

Partial preview of the text

Download fuzzy inference system and more Essays (university) Computer Science in PDF only on Docsity!

Benha University

Benha Faculty of Engineering

Electrical Engineering Technology Department

Fuzzy Inference System

Prepared By:

Dalia tamer

mohammed

Aya mostafa

Amr abdalkader

mohamed

Abdelkader ahmed

Lecture No: 5

Outline

  • (^) Fuzzy Inference System Review

Fuzzy Knowledge Base

  • (^) Fuzzifier
  • (^) Inference Engine
  • (^) Defuzzifier

Fuzzy Inference Methods

  • (^) Mamdani
  • (^) Takagi Sugeno Kang (TSK)

Comparison of Sugeno and Mamdani Systems

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 Inference 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.

  • (^) A rule base containing a number of fuzzy IF–THEN

rules;

  • (^) A database which defines the membership

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

  • Two input, two rule Mamdani FIS with crisp inputs.
  1. Max-Product Composition is used

IF THEN

and

and

Example One

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.

Step 1. Fuzzification

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.

Step 2. Apply Fuzzy Operator

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.