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.

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.
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Lecture 4 Fuzzy expert systems: Fuzzy logic
Fuzzy Logic and its Application to Web Caching
Soft Computing. Per Printz Madsen Section of Automation and Control
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.
GATE Reactive Behavior Modeling Fuzzy Logic (GATE-561) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies Bilkent University,
Fuzzy Expert System.
11 Inverted Pendulum Emily Hamilton ECE Department, University of Minnesota Duluth December 21, 2009 ECE Fall 2009.
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).
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
Introduction What is Fuzzy Logic? HOW DOES FL WORK? Differences between Classical set (crisps) and Fuzzy set theory Example 1 Example 2 Classifying Houses.
Fuzzy Logic BY: ASHLEY REYNOLDS. Where Fuzzy Logic Falls in the Field of Mathematics  Mathematics  Mathematical Logic and Foundations  Fuzzy Logic.
BEE4333 Intelligent Control
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.
FUZZY LOGIC Babu Appat. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems Fuzzy Logic in.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
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
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.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7.1 – 7.2 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
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.
1 Asst. Prof. Dr. Sukanya Pongsuparb Dr. Srisupa Palakvangsa Na Ayudhya Dr. Benjarath Pupacdi SCCS451 Artificial Intelligence Week 9.
Neural-Network-Based Fuzzy Logical Control and Decision System 主講人 虞台文.
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 Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
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
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
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.
Fuzzy Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.
Introduction to Fuzzy Logic and Fuzzy Systems
Artificial Intelligence CIS 342
FUZZY NEURAL NETWORKS TECHNIQUES AND THEIR APPLICATIONS
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Stanisław H. Żak School of Electrical and Computer Engineering
Fuzzy Logic and Fuzzy Sets
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Fuzzy Control Tutorial
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Lecture 5 Fuzzy expert systems: Fuzzy inference
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Fuzzy Inference Systems
Introduction to Fuzzy Set Theory
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Chapter 19. Fuzzy Reasoning
Presentation transcript:

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 to deal with reasoning that is approximate rather than precise.reasoning Degree of Truths and probabilities range between 0 and 1. From Wikipedia

An example of Fuzzy Reasoning Fuzzy Set Theory defines Fuzzy Operators on Fuzzy Sets. The problem in applying this is that the appropriate Fuzzy Operator may not be known. For this reason, Fuzzy logic usually uses IF-THEN rules, or constructs that are equivalent, such as fuzzy associative matrices.fuzzy associative matrices Rules are usually expressed in the form: IF variable IS property THEN action For example, an extremely simple temperature regulator that uses a fan might look like this: IF temperature IS very cold THEN stop fan IF temperature IS cold THEN turn down fan IF temperature IS normal THEN maintain level IF temperature IS hot THEN speed up fan Notice there is no "ELSE". All of the rules are evaluated, because the temperature might be "cold" and "normal" at the same time to different degrees. The AND, OR, and NOT operators of boolean logic exist in fuzzy logic,operatorsboolean logic usually defined as the minimum, maximum, and complement; when they are defined this way, they are called the Zadeh operators, because they were first defined as such in Zadeh's original papers. So for the fuzzy variables x and y: NOT x = (1 - truth(x)) x AND y = minimum(truth(x), truth(y)) x OR y = maximum(truth(x), truth(y)) From Wikipedia

Fuzzy Set Definition The definition of a fuzzy set is given by the membership function elements of the universe of discourse U, can belong to the fuzzy set with any value between 0 and 1. The degree of membership of an element u when the universe of discourse U, is discrete and finite, it is given for a fuzzy set A by

Fuzzy Set Operations The union of two fuzzy setsis defined by The intersection of two fuzzy setsis defined by The complement of fuzzy set

Properties of Set Operations Most of the properties that hold for classical sets (e.g., commutativity, associativity and idempotence) hold also for fuzzy sets except for following two properties: the intersection of a fuzzy set and its complement results in a fuzzy set with membership values of up to ½ and thus does not equal the empty set (as in the case of classical sets) Law of contradiction Law of excluded middle

Intelligent Control An intelligent control system is one in which a physical system or a mathematical model of it is being controlled by a combination of a knowledge-base, approximate (humanlike) reasoning, and/or a learning process structured in a hierarchical fashion. Under this simple definition, any control system which involves fuzzy logic, neural networks, expert learning schemes, genetic algorithms, genetic programming or any combination of these would be designated as intelligent control.

Fuzzy Control A fuzzy controller consists of three operations: (1) fuzzification, (2) inference engine, and (3) defuzzification. A common definition of a fuzzy control system is that it is a system which emulates a human expert. In this situation, the knowledge of the human operator would be put in the form of a set of fuzzy linguistic rules. The human operator observes quantities by observing the inputs, i.e., reading a meter or measuring a chart, and performs a definite action (e.g., pushes a knob, turns on a switch, closes a gate, or replaces a fuse) thus leading to a crisp action The human operator can be replaced by a combination of a fuzzy rule-based system (FRBS) and a block called defuzzifier. The input sensory (crisp or numerical) data are fed into FRBS where physical quantities are represented or compressed into linguistic variables with appropriate membership functions. These linguistic variables are then used in the antecedents (IF-Part) of a set of fuzzy rules within an inference engine to result in a new set of fuzzy linguistic variables or consequent (THEN-Part). Variables are combined and changed to a crisp (numerical) output.

Fuzzy Control Architecture System Fuzzifier Rule Engine Defuzzifier real numbers real numbers Fuzzy Controller member ship values fuzzy sets

fuzzifier – accepts real number inpuit and outputs its membership defuzzifier – accumulates the areas and moments and outputs the centroid consequent- cuts tts fuzzy set and computes its area and moment Simple Rules – if antecedent then consequent Ex: fuzzyControlForDec common domain input, x

Simple Rule Controller fuzzyControlForDec provides the negative feedback to stabilize the integrator

common domain input, x common domain input, v Composite Rules – if antecedent1 and antecedent2 then consequent Example: fuzzControlFor2To1 AndFn outputs minimum of inputs x v

CompositeRule Controller fuzzyControlFor2To 1 provides the control to settle the spring at zero

Linear Time Invariant Models

Inverted Pendulum Fuzzy Control fuzzyControlFor2To1 provides the control to keep the stick stable Linearized inverted pendulum on a cart

Modeling the Inverted Pendulum Mmass of the cart 0.5 kg mmass of the pendulum 0.5 kg bfriction of the cart 0.1 N/m/sec llength to pendulum center of mass 0.3 m Iinertia of the pendulum kg*m^2 Fforce applied to the cart xcart position coordinate thetapendulum angle from vertical Source: Moment of Inertia:

Inverted Pendulum – Swing Up Non-linear Model source: reset theta to 0 when reach 2*pi detect when pendulum stops rising detect when angle reaches turn-off level detect when pendulum stops rising starting from hanging configuration, rod can be made to reach inverted configuration with sufficient force acting until horizontal line is reached