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.

Slides:



Advertisements
Similar presentations

Advertisements

Fuzzy Inference Systems
 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
Fuzzy Logic and its Application to Web Caching
Fuzzy Inference and Defuzzification
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”
Approximate Reasoning 1 Expert Systems Dr. Samy Abu Nasser.
© C. Kemke Approximate Reasoning 1 COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Fuzzy Logic Control Systems Ken Morgan ENGR 315 December 5, 2001.
Fuzzy Expert System.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Fuzzy Logic Samson Okoh Engr 315 Fall Introduction  Brief History  How it Works –Basics of Fuzzy Logic  Rules –Step by Step Approach of Fuzzy.
11 Inverted Pendulum Emily Hamilton ECE Department, University of Minnesota Duluth December 21, 2009 ECE Fall 2009.
Fuzzy Medical Image Segmentation
Chapter 18 Fuzzy Reasoning.
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).
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
ILLUMINATION CONTROL USING FUZZY LOGIC PRESENTED BY: VIVEK RAUNAK reg:
Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems Introduction to Rule-Based Systems, Expert Systems, Fuzzy Systems (sections 2.7, 2.8,
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Teachers Name : Suman Sarker Telecommunication Technology Subject Name : Computer Controller System & Robotics Subject Code : 6872 Semester :7th Department.
Fuzzy Logic. Sumber (download juga): 0logic%20toolbox.pdf
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.
Abdul Rahim Ahmad MITM 613 Intelligent System Chapter 3b: Dealing with Uncertainty (Fuzzy Logic)
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
AI – CS364 Fuzzy Logic Fuzzy Control 17 th October 2006 Dr Bogdan L. Vrusias
Fuzzy Expert Systems. 2 Motivation On vagueness “Everything is vague to a degree you do not realise until you have tried to make it precise.” Bertrand.
Fuzzy Inference (Expert) System
Ming-Feng Yeh Fuzzy Control The primary goal of control engineering is to distill and apply knowledge about how to control a process so that the.
Neural-Network-Based Fuzzy Logical Control and Decision System 主講人 虞台文.
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.
Lec 34 Fuzzy Logic Control (II)
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.
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.
PART 9 Fuzzy Systems 1. Fuzzy controllers 2. Fuzzy systems and NNs 3. Fuzzy neural networks 4. Fuzzy Automata 5. Fuzzy dynamic systems FUZZY SETS AND FUZZY.
“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 Inference and Reasoning
Chapter 4: Fuzzy Inference Systems Introduction (4.1) Mamdani Fuzzy models (4.2) Sugeno Fuzzy Models (4.3) Tsukamoto Fuzzy models (4.4) Other Considerations.
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
Could Be Significant.
Chapter 10 FUZZY CONTROL Chi-Yuan Yeh.
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.
Mathematical basics for general fuzzy systems
Introduction to Fuzzy Logic and Fuzzy Systems
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
Artificial Intelligence CIS 342
Chapter 9 Fuzzy Inference
Fuzzy Systems Michael J. Watts
Artificial Intelligence
Fuzzy Logic and Fuzzy Sets
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Introduction to Fuzzy Logic
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Inference Systems
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

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 of IF...THEN rules with vague predicates and a fuzzy logic inference mechanism. The rule base is the main part of the FLC. It is formed by a family of logical rules that describes the relationship between the input e and the output u of the controller. The main difference between conventional control system and fuzzy logic controlled system is not only in the type of logic (Boolean or fuzzy) but in the inspiration. The former attempted to increase the efficiency of conventional control algorithms; the latter were based on the implementation of human understanding and human thinking in control algorithms.

3 Fuzzy controller architecture. 4.1 fuzzy logic controller structure The fuzzy controller has four main components:

4 1. A rule-base (a set of If-Then rules), which contains a fuzzy logic quantification of the expert's linguistic description of how to achieve good control. 2. An inference mechanism (also called an "inference engine" or "fuzzy inference" module), which emulates the expert's decision making in interpreting and applying knowledge about how best to control the plant. 3. A fuzzification interface, which converts controller inputs into information that the inference mechanism can easily use to activate and apply rules. 4. A defuzzification interface, which converts the conclusions of the inference mechanism into actual inputs for the process.

5 4.2 Fuzzy control algorithm consider a fuzzy controller with three inputs and a single output only Given a MISO controller with inputs x1, x2, x3 and output y and assuming that the linguistic control rules are of the form then the membership function of the output of the controller is given by: operator -- implies max-min or max-product

6 4.2 Fuzzy control algorithm the degree of fulfillment of the j-th rule is defined by the degree of fulfillment a measure of how closely the inputs to the controller match the control rules. They can be viewed conveniently as weights that are assigned to every rule. max-product implication Mamdani max-min implication max-product implication Mamdani max-min implication

7 4.2 Fuzzy control algorithm any instant k the membership function of the output of the controller is: Mamdani max-min implication max-product implication

8 4.2 Fuzzy control algorithm Steps in the fuzzification algorithm 1 、 determination of the minimum intercepts for each input, i.e., their membership value. 2 、 determination of the degrees of fulfillment of every rule. 3 、 determination of the composite membership function of the output of the controller.

9 4.2 Fuzzy control algorithm Example Graphical interpretation of fuzzification assume that the controller has two inputs and a single output. Assume that the first input to t he controller Input_1 ( x1) is specified by 5 fuzzy sets, while Input_2 ( x2) is specified by 3 fuzzy sets. The linguistic variables are assumed to be VL=Very_Low, LO=LOw, ZO=ZerO, LH=Little_H ig h, MH=Mediu m_ High, and VH=Very _ High. Assume that the following 15 control rules constitute the rule base:

Fuzzy control algorithm rule matrix

Fuzzy control algorithm For simplicity, assume, furthermore that the fuzzy sets of the inputs and outputs are triangular universes of discourse percentages of their maximum permissible values the opening of a servo-valve pressure deviation temperature deviation

Fuzzy control algorithm The first five rules the instantaneous inputs to the controller are - 20% and -50% respectively.

Fuzzy control algorithm membership value

Fuzzy control algorithm

Fuzzy control algorithm Larsen implication,

Fuzzy control algorithm

Defuzzification yield a single crisp value that uniquely specifies the desired control action. there is no theoretical basis for deciding Simplicity and speed of computation are invariably the primary requirements in industrial controllers

Defuzzification 1. Center of gravity (COG) defuzzification

Defuzzification 2. Center-average

20 3. Max criterion (maximum method) one of the variable values at which the fuzzy subset has its maximum truth value is chosen as the crisp value for the output variable Defuzzification

Defuzzification 4. Mean of maximum

Defuzzification 5. Center of area (COA) defuzzification Weighted average

Defuzzification ={ 0.0/0+0.0/ / /30+1.0/ / /60+0.5/ /80+0.0/90+0.0/100} Examples ( water temperature middle) COA =(0·0.0 + 10·0.0 + 20·0.33 + 30·0.67 + 40·1.0 + 50·1.0 + 60·0.75 + 70·0.5 + 80·0.25 + 90·0.0 + 100·0.0) /(0.0 + 0.0 + 0.33 + 0.67 + 1.0 + 1.0 + 0.75 + 0.5 + 0.25 + 0.0 + 0.0) =48.2 maximum(40 +50)/2=45 Mean of maximum

Design Considerations Shape of the fuzzy sets basic criteria in selecting the shapes of membership functions  Experience in similar controllers  computational ease In practice triangular and trapezoidal functions are generally used there is no theory which can guide the designer on the best shape to use for a specific application.

Design Considerations Coarseness of the fuzzy sets The number of fuzzy sets that are required to specify a variable is termed the coarseness of the controller and determines the accuracy of the controller. fuzzy sets for coarse-fine control

Design Considerations Completeness of the fuzzy sets The fuzzy control algorithm must lead to a unique control action for any set of inputs. This property is termed completeness and depends on the contents of the knowledge-base as well as the number and shape of the fuzzy sets used to describe the inputs and outputs of the controller. overlap