Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.

Slides:



Advertisements
Similar presentations
Graphical Technique of Inference
Advertisements


 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Inference and Defuzzification
Fuzzy Logic The restriction of classical propositional calculus to a two- valued logic has created many interesting paradoxes over the ages. For example,
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Expert System. Basic Notions 1.Fuzzy Sets 2.Fuzzy representation in computer 3.Linguistic variables and hedges 4.Operations of fuzzy sets 5.Fuzzy.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Computer Intelligence and Soft Computing
Fuzzy Expert System.
Chapter 18 Fuzzy Reasoning.
1 Chapter 18 Fuzzy Reasoning. 2 Chapter 18 Contents (1) l Bivalent and Multivalent Logics l Linguistic Variables l Fuzzy Sets l Membership Functions l.
WELCOME TO THE WORLD OF FUZZY SYSTEMS. DEFINITION Fuzzy logic is a superset of conventional (Boolean) logic that has been extended to handle the concept.
Ming-Feng Yeh General Fuzzy Systems A fuzzy system is a static nonlinear mapping between its inputs and outputs (i.e., it is not a dynamic system).
Dan Simon Cleveland State University
Propositional Calculus Math Foundations of Computer Science.
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Fuzzy Rule-based Models *Neuro-fuzzy and Soft Computing - J.Jang, C. Sun, and, E. Mizutani, Prentice Hall 1997.
Classical Relations and Fuzzy Relations
Systems Architecture I1 Propositional Calculus Objective: To provide students with the concepts and techniques from propositional calculus so that they.
Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference Sugeno fuzzy inference Case study.
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
Fuzzy expert systems Chapter #9.
110/19/2015CS360 AI & Robotics AI Application Areas  Neural Networks and Genetic Algorithms  These model the structure of neurons in the brain  Humans.
Theory and Applications
Fuzzy Inference (Expert) System
Practical Considerations When t , the supp, then there will be a value of t when supp folds, it becomes multi-w-to-one-x mapping.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Fuzzy Systems Michael J. Watts
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
Fuzzy Sets and Control. Fuzzy Logic The definition of Fuzzy logic is a form of multi-valued logic derived frommulti-valued logic fuzzy setfuzzy set theory.
Theory and Applications
Fuzzy Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
Lecture 3 Fuzzy Reasoning 1. inference engine core of every fuzzy controller the computational mechanism with which decisions can be inferred even though.
“Principles of Soft Computing, 2 nd Edition” by S.N. Sivanandam & SN Deepa Copyright  2011 Wiley India Pvt. Ltd. All rights reserved. CHAPTER 12 FUZZY.
Fuzzy systems. Calculate the degree of matching Fuzzy inference engine Defuzzification module Fuzzy rule base General scheme of a fuzzy system.
Fuzzy Inference Systems
Fuzzy Expert System Fuzzy Inference دكترمحسن كاهاني
Fuzzy Inference and Reasoning
Lecture 32 Fuzzy Set Theory (4)
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Chapter 10 Fuzzy Control and Fuzzy Expert Systems
Chapter 19. Fuzzy Reasoning
1 Lecture 4 The Fuzzy Controller design. 2 By a fuzzy logic controller (FLC) we mean a control law that is described by a knowledge-based system consisting.
PREDICATES AND QUANTIFIERS COSC-1321 Discrete Structures 1.
Ch.3 Fuzzy Rules and Fuzzy Reasoning
Fuzzy Relations( 關係 ), Fuzzy Graphs( 圖 形 ), and Fuzzy Arithmetic( 運算 ) Chapter 4.
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
Chapter 3: Fuzzy Rules & Fuzzy Reasoning Extension Principle & Fuzzy Relations (3.2) Fuzzy if-then Rules(3.3) Fuzzy Reasonning (3.4)
Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.
Fuzzy Systems Simulation Session 5
Classical Relations and Fuzzy Relations
Artificial Intelligence CIS 342
Chapter 9 Fuzzy Inference
Fuzzy Systems Michael J. Watts
Fuzzy Inference Systems
Fuzzy Control Electrical Engineering Islamic University of Gaza
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Logic and Fuzzy Sets
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
CLASSICAL LOGIC and FUZZY LOGIC
Dr. Unnikrishnan P.C. Professor, EEE
Lecture 5 Fuzzy expert systems: Fuzzy inference
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Inference Systems
Presentation transcript:

Rule-Based Fuzzy Model

In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following general form: If antecedent proposition then consequent proposition The antecedent proposition is always a fuzzy proposition of the type “~ x is A” Where ~x is a linguistic variable and A is a linguistic constant (term). The proposition’s truth value (a real number between zero and one) depends on the degree of match (similarity) between ~x and A.

Rule-Based Fuzzy Model Depending on the form of the consequent two main types of rule-based fuzzy models are distinguished: Linguistic fuzzy model: both the antecedent and the consequent are fuzzy propositions. Takagi–Sugeno (TS) fuzzy model: the antecedent is a fuzzy proposition, the consequent is a crisp function.

Rule-Based Fuzzy Model Linguistic fuzzy model The linguistic fuzzy model (Zadeh, 1973; Mamdani, 1977) has been introduced as a way to capture available (semi-)qualitative knowledge in the form of if–then rules: Here ~x is the input (antecedent) linguistic variable, and Ai are the antecedent linguistic terms (constants). Similarly, ~y is the output (consequent) linguistic variable and Bi are the consequent linguistic terms.

Rule-Based Fuzzy Model Linguistic fuzzy model The linguistic fuzzy model (Zadeh, 1973; Mamdani, 1977) has been introduced as a way to capture available (semi-)qualitative knowledge in the form of if–then rules: The values of ~x (~y) and the linguistic terms Ai (Bi) are fuzzy sets defined in the domains of their respective base variables. The membership functions of the antecedent (consequent) fuzzy sets are then the mappings: The linguistic terms Ai and Bi are usually selected from sets of predefined terms, such as Small, Medium, etc. By denoting these sets by A and B respectively, we have “Ai belongs to A” and “Bi belongs to B”. The rule baseand sets A and B constitute the knowledge base of the linguistic model

Rule-Based Fuzzy Model Linguistic fuzzy model Example 1: Consider a simple fuzzy model which qualitatively describes how the heating power of a gas burner depends on the oxygen supply (assuming a constant gas supply). We have a scalar input, the oxygen flow rate (x), and a scalar output, the heating power (y).

Rule-Based Fuzzy Model Linguistic fuzzy model Example: the set of antecedent linguistic terms: A = {Low, OK, High} and the set of consequent linguistic terms: B = {Low, High} The qualitative relationship between the model input and output can be expressed by the following rules: R1: If O2 flow rate is Low then heating power is Low: R2: If O2 flow rate is OK then heating power is High: R3: If O2 flow rate is High then heating power is Low: The meaning of the linguistic terms is defined by their membership functions

Rule-Based Fuzzy Model Linguistic fuzzy model Relational representation of a linguistic model Each rule in the rule base, can be regarded as a fuzzy relation This relation can be computed in two basic ways: by using fuzzy conjunctions (Mamdani method) and by using fuzzy implications (fuzzy logic method)

Rule-Based Fuzzy Model Linguistic fuzzy model Relational representation of a linguistic model fuzzy conjunctions (Mamdani method) The relation R is computed by the minimum (^) operator: Note that the minimum is computed on the Cartesian product space of X and Y, i.e., for all possible pairs of x and y. The fuzzy relation R representing the entire model is given by the disjunction (union) of the K individual rule’s relations Ri: Now the entire rule base is encoded in the fuzzy relation R The output of the linguistic model can be computed by the relational max-min composition (o):

Rule-Based Fuzzy Model Linguistic fuzzy model Relational representation of a linguistic model Example 1: Consider a simple fuzzy model which qualitatively describes how the heating power of a gas burner depends on the oxygen supply (assuming a constant gas supply). We have a scalar input, the oxygen flow rate (x), and a scalar output, the heating power (y). Example 2 Let us compute the fuzzy relation for the linguistic model of Example 1. Consider an input fuzzy set to the model, A’ = [1; 0:6; 0:3; 0], which can be denoted as Somewhat Low flow rate, as it is close to Low but does not equal Low. The result of max-min composition is the fuzzy set B’ which gives the expected approximately Low heating power. For A’ = [0; 0:2; 1; 0:2] (approximately OK), we obtain B’ i.e., approximately High heating power. First we discretize the input and output domains, for instance: X = {0; 1; 2; 3} and Y = {0; 25; 50; 75; 100}.

Rule-Based Fuzzy Model Linguistic fuzzy model Max-min (Mamdani) Inference In the previous section, we have seen that a rule base can be represented as a fuzzy relation. The output of a rule-based fuzzy model is then computed by the max-min relational composition. In this section, it will be shown that the relational calculus can be by-passed. Suppose an input fuzzy value ~x = A’, for which the output value B’ is given by the relational composition:

Rule-Based Fuzzy Model Linguistic fuzzy model Max-min (Mamdani) Inference Suppose an input fuzzy value ~x = A’, for which the output value B’ is given by the relational composition:

Rule-Based Fuzzy Model Linguistic fuzzy model Max-min (Mamdani) Inference Algorithm of Mamdani (max-min) inference

Rule-Based Fuzzy Model Linguistic fuzzy model Max-min (Mamdani) Inference The entire algorithm, called the max-min or Mamdani inference, is visualized in above fig.

Rule-Based Fuzzy Model Linguistic fuzzy model Max-min (Mamdani) Inference Example 3: Let us take the input fuzzy set A’ = [1; 0.6; 0.3; 0] from Example 2 and compute the corresponding ouput fuzzy set by the Mamdani inference method.