Fuzzy Logic Conception Introduced by Lotfi Zadeh in 1960s at Berkley Wanted to expand crisp logic.

Slides:



Advertisements
Similar presentations
Fuzzy Logic 11/6/2001. Agenda General Definition Applications Formal Definitions Operations Rules Fuzzy Air Conditioner Controller Structure.
Advertisements

 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
Fuzzy Set and Opertion. Outline Fuzzy Set and Crisp Set Expanding concepts Standard operation of fuzzy set Fuzzy relations Operations on fuzzy relations.
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
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
CLASSICAL LOGIC and FUZZY LOGIC. CLASSICAL LOGIC In classical logic, a simple proposition P is a linguistic, or declarative, statement contained within.
Fuzzy Expert Systems. Lecture Outline What is fuzzy thinking? What is fuzzy thinking? Fuzzy sets Fuzzy sets Linguistic variables and hedges Linguistic.
FUZZY SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Approximate Reasoning 1 Expert Systems Dr. Samy Abu Nasser.
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
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.
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.
Fuzzy Systems and Applications
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Fuzzy Sets and Fuzzy Logic Theory and Applications
Fuzzy Logic BY: ASHLEY REYNOLDS. Where Fuzzy Logic Falls in the Field of Mathematics  Mathematics  Mathematical Logic and Foundations  Fuzzy Logic.
Fuzzy Theory Presented by Gao Xinbo E.E. Dept. Xidian University.
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. Priyaranga Koswatta Mundhenk and Itti, 2007.
Applications of fuzzy systems Michael J. Watts
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.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
Abstract: This paper describes a real life application of fuzzy logic: A Fuzzy Traffic Light Controller. The controller changes the cycle time of the light.
Artificial Intelligence in Game Design Lecture 6: Fuzzy Logic and Fuzzy State Machines.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
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.
Lecture 3 Fuzzy Reasoning 1. inference engine core of every fuzzy controller the computational mechanism with which decisions can be inferred even though.
Fuzzy Inference Systems
Fuzzy Inference and Reasoning
AI Fuzzy Systems. History, State of the Art, and Future Development Sde Seminal Paper “Fuzzy Logic” by Prof. Lotfi Zadeh, Faculty in Electrical.
Lecture 32 Fuzzy Set Theory (4)
Could Be Significant.
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}
Ch.3 Fuzzy Rules and Fuzzy Reasoning
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
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 Inference System
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Fuzzy Logics.
Fuzzy Logic and Fuzzy Sets
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Introduction to Fuzzy Logic
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
CLASSICAL LOGIC and FUZZY LOGIC
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
Chap 3: Fuzzy Rules and Fuzzy Reasoning
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Introduction to Fuzzy Set Theory
Fuzzy Logic Based on a system of non-digital (continuous & fuzzy without crisp boundaries) set theory and rules. Developed by Lotfi Zadeh in 1965 Its advantage.
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Fuzzy Logic

Conception Introduced by Lotfi Zadeh in 1960s at Berkley Wanted to expand crisp logic

Why Fozzy? Real world not Boolean Uncertainty of natural language

Set Theory

Degrees of truth

Set Theory Crisp vs. Fuzzy Venn Diagrams for Complements using Membership Functions

Set Theory Crisp Complement is negation Logical AND: A /\ B is intersection of sets A and B Logical OR: A \/ B is union of sets A and B Fuzzy Complement is mS(x) – 1 Intersect (/\) is given by MIN operation Union (\/) is given by MAX operation

Fuzzy Relations Ordered pairs showing connection between two sets Relations are sets themselves Expressed as matrices

Fuzzy Relations Value of the membership function, m R (x, y), for an element (x, y) of the relation R is the value at row x and column y in the relational matrix Shows degree of correspondence between x-qualities (color) and y- qualities (ripeness)

Fuzzy Relations Matrices Color – ripeness relation for tomatoes

Fuzzy Relations Matrices Ripeness - taste relation for tomatoes

Fuzzy Relations Matrices Color - taste relation for tomatoes

Matrix Operations Dot-product (or MAX-MIN composition): MAX( MIN( m R1 (x, y), m R2 (y, z) ) ) Cross product (or MAX-PROD): MAX( m R1 (x, y) * m R2 (y, z) ) MAX-AVE composition: ½ * MAX( m R1 (x, y) + m R2 (y, z) ).

Fuzzy Inference Modus Ponens Crisp: A => B (~A \/ B) Fuzzy: use membership functions A = m A (x), A C = 1 – m A (x), B = m B (y).

Fuzzy Modus Ponens “OR” == “MAX” in fuzzy logic A => B is equivalent to MAX( 1 – m A (x), m B (y) ). A => B if and only if m A (x) >= m B (y). (Implication Rule—premise must be larger than or equal to the conclusion)

Calculating Relational Matrices The most popular methods are: MIN implication: m A=>B (x, y) = MIN( m A (x), m B (y) ) And Product implication: m A=>B (x, y) = m A (x) * m B (y) This is how the matricies are calculated

Defuzzification There are two Fuzzy Set types: Normal: maximal degree of belonging cannot be greater than 1 (typically the set of input variables) Not-normal: maximal degree of belonging can be greater than 1 (typically the set of output variables)

Defuzzification

Fuzzification To use fuzzy logic: creating input Crisp input is first transformed into a vector of membership degrees through the process of fuzzification Input typically forms a normal fuzzy set since it is derived from a crisp set

Defezzification After fuzzy inputs are processed, often the outputs are Not- normal fuzzy sets In practical uses a decision maker needs a crisp output signal a procedure for transforming the fuzzy output value into a crisp output value is necessary

Defuzzification Transformation from fuzzy output back to crisp output is called defuzzification There are multiple methods of defuzzification in use today, each with its own advantages.

Defuzzification

Fastest method:first-of-maxima method Smoother: center-of-area Most practical: center-of-area for singletons (faster and simpler than center-of-area method, though not as smooth)

Real Applications: Some Guy I am choosing to conduct a research project on the Sendai subway, in particular its fuzzy control operation. I have been a fan of subway systems since the mid 1970's when I was only three or four years old. My first subway experience was the Tokyo subway, when I visited with my family in 1974 (I was only two years old then). Since then I have been on systems as diverse as London, Paris, Berlin, Munich, Moscow, San Francisco, and St. Louis (Missouri). [from internet research paper, really]

The Sendai Subway Application of fuzzy logic; Sendai, Japan

Sendai Subway Development The subway in Sendai, Japan uses a fuzzy logic control system developed by Serji Yasunobu of Hitachi. It took 8 years to complete and was finally put into use in 1987.

Control System Based on rules of logic obtained from train drivers so as to model real human decisions as closely as possible Controls the speed at which the train takes curves as well as the acceleration and braking systems of the train

Capabilities Capable of determining: Rate of acceleration given a target speed Deciding and maintaining a target speed Stopping accurately at a target position

Intelligent Control System Adopted because it makes qualitative decisions, based on membership functions for variable data Decides from a set of control rules what actions to take Useful in representing degrees of state, such as “high” or “slightly high”

 This system is still not perfect; humans can do better because they can make decisions based on previous experience and anticipate the effects of their decisions This led to…

Predictive Fuzzy Control Can assess the results of a decision and determine if the action should be taken Has model of the motor and break to predict the next state of speed, stopping point, and running time input variables Controller selects the best action based on the predicted states.

The results of the fuzzy logic controller for the Sendai subway are excellent!! The train movement is smoother than most other trains Even the skilled human operators who sometimes run the train cannot beat the automated system in terms of smoothness or accuracy of stopping