Fuzzy Control Tutorial

Slides:



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

A set is a collection of objects A special kind of set Fuzzy Sets
Fuzzy Logic & Intelligent Control Systems Lecture 2
Fuzzy Expert System  An expert might say, “ Though the power transformer is slightly overloaded, I can keep this load for a while”.  Another expert.
Fuzzy Logic and its Application to Web Caching
Fuzzy Systems and Control Günay Karlı, Ph.D.. Before we begin… some clever people have said in the past…
Soft Computing. Per Printz Madsen Section of Automation and Control
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
AI TECHNIQUES Fuzzy Logic (Fuzzy System). Fuzzy Logic : An Idea.
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 SYSTEMS. Fuzzy Systems Fuzzy Sets – To quantify and reason about fuzzy or vague terms of natural language – Example: hot, cold temperature small,
Fuzzy Sets and Fuzzification Michael J. Watts
GATE Reactive Behavior Modeling Fuzzy Logic (GATE-561) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies Bilkent University,
Fuzzy Logic Control Systems Ken Morgan ENGR 315 December 5, 2001.
Fuzzy Expert System.
Fuzzy Logic Richard E. Haskell Oakland University Rochester, MI USA.
Fuzzy Logic Samson Okoh Engr 315 Fall Introduction  Brief History  How it Works –Basics of Fuzzy Logic  Rules –Step by Step Approach of Fuzzy.
Fuzzy Logic and Sun Tracking Systems Ryan Johnson December 9, 2002 Calvin College ENGR315A.
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.
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.
Introduction to Fuzzy Logic Control
The Equivalence between fuzzy logic controllers and PD controllers for single input systems Professor: Chi-Jo Wang Student: Nguyen Thi Hoai Nam Student.
Fuzzy Logic BY: ASHLEY REYNOLDS. Where Fuzzy Logic Falls in the Field of Mathematics  Mathematics  Mathematical Logic and Foundations  Fuzzy Logic.
BEE4333 Intelligent Control
Fuzzy Logic. Priyaranga Koswatta Mundhenk and Itti, 2007.
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 Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
INVENTORY CONTROL AS IDENTIFICATION PROBLEM BASED ON FUZZY LOGIC ALEXANDER ROTSHTEIN Dept. of Industrial Engineering and Management, Jerusalem College.
Intelligent vs Classical Control Bax Smith EN9940.
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.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Fuzzy Systems Michael J. Watts
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.
“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 Logic Artificial Intelligence Chapter 9. Outline Crisp Logic Fuzzy Logic Fuzzy Logic Applications Conclusion “traditional logic”: {true,false}
Aisha Iqbal (CT-084) Kanwal Hakeem (CT-098) Tehreem Mushtaq (CT-078) Talha Syed (CT-111)
Fuzzy Logic 1. Introduction Form of multivalued logic Deals reasoning that is approximate rather than precise The fuzzy logic variables may have a membership.
Dinner for Two. Fuzzify Inputs Apply Fuzzy Operator.
Chapter 13 (Continued) Fuzzy Expert Systems 1. Fuzzy Rule-based Expert System 2.
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Introduction to Artificial Intelligence and Soft Computing Session 1
Introduction to Fuzzy Logic and Fuzzy Systems
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
Meaning of “fuzzy” Covered with fuzz; Of or resembling fuzz;
Universe, membership function, variables, operations, relations
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Stanisław H. Żak School of Electrical and Computer Engineering
Meaning of “fuzzy”, Definition of Fuzzy Logic
Fuzzy Logics.
Fuzzy Expert Systems (part 1) By: H.Nematzadeh
Fuzzy Logic and Fuzzy Sets
Artificial Intelligence and Adaptive Systems
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
Richard E. Haskell Oakland University Rochester, MI USA
FUZZIFICATION AND DEFUZZIFICATION
Fuzzy Logic Controller for the Inverted Pendulum Problem .
Meaning of “fuzzy”, Definition of Fuzzy Logic
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
Meaning of “fuzzy”, Definition of Fuzzy Logic
Introduction to Fuzzy Set Theory
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Fuzzy Control Tutorial Dr. Stephen Paul Linder 9/18/2018

What is fuzzy? A dictionary definition And so what is a Fuzzy Set? Of or resembling fuzz. Not clear; indistinct: a fuzzy recollection of past events. Not coherent; confused: a fuzzy plan of action. Covered with fuzz. And so what is a Fuzzy Set? a not clear Set? 9/18/2018 Stephen Linder

Fuzzy Sets Proposed by Ladeh Zadeh in 1965 , "Fuzzy sets," Information and Control, vol. 8, pp. 338--353, 1965. A generalization of set theory that allows partial membership in a set. Membership is a real number with a range [0, 1] Membership functions are commonly triangular or Gaussian because ease of computation. Utility comes from overlapping membership functions – a value can belong to more than one set 9/18/2018 Stephen Linder

Precise versus fuzzy statements Sally is tall Sally if 5’10”. If Sally is on the basket ball team: Sally is 6’4”. It is cold outside. In the winter It is 12° F outside. In the summer: It is 60° F outside. In the summer in northern Canada It is 30° F outside. 9/18/2018 Stephen Linder

Example Membership functions Spring is compressing fast Not stretching or compressing Spring is stretching fast Small small Large 1.0 1.0 Membership 0.0 0.0 Velocity Spring Stretching Large Negative Zero Large Positive Zero Negative Positive 1.0 1.0 0.0 0.0 Position Error Spring Length 9/18/2018 Stephen Linder

A few rules can make complex decision surfaces Control Output Velocity Spring State Constructed from 10 rules 9/18/2018 Stephen Linder

A few rules can make complex decision surfaces Control Output Position Error Spring State Constructed from 10 rules 9/18/2018 Stephen Linder

Fuzzy vs. Probabilistic Reasoning "There is an 80% chance that Jane is old" Jane is either old or not old (the law of the excluded middle). Fuzzy Reasoning "Jane's degree of membership within the set of old people is 0.80.” Jane is like an old person, but could also have some characteristics of a young person. 9/18/2018 Stephen Linder

Why fuzzy? Precision is not truth. — Henri Matisse So far as the laws of mathematics refer to reality, they are not certain. And so far as they are certain, they do not refer to reality. — Albert Einstein As complexity rises, precise statements lose meaning and meaningful statements lose precision. — Lotfi Zadeh 9/18/2018 Stephen Linder

Why the reluctance use of fuzzy logic? Engineers are trained using precise mathematics – differential equations Most of us are more comfortable with the Law of the Excluded Middle every proposition must either be True or False The use of the word fuzzy. What if AI were call Epistemological Engineering as suggested in 1968 at the Machine Intelligence workshop in Edinburgh? Not enough software people are in charge of engineering projects 9/18/2018 Stephen Linder

Fuzzy Control: Inverted Pendulum Problem State variables Angle of the Pendulum Rate of change of the angle Position of the cart Problem Keep pendulum upright by moving cart left or right. http://www.flll.uni-linz.ac.at/aboutus/whatisfuzzy/introduction.html 9/18/2018 Stephen Linder

Partition variables Pendulum Angle Inputs Pendulum Angular Velocity Output Cart Speed 9/18/2018 Stephen Linder

This is an example of a Fuzzy PD Controller! Controller Rules If angle is zero and angular velocity is zero then speed shall be zero. This is an example of a Fuzzy PD Controller! 9/18/2018 Stephen Linder

Example input How many rules will be fired? Input is both zero and positive low. Input is both zero and negative low. How many rules will be fired? 9/18/2018 Stephen Linder

Example output from one rule if angle is zero and angular velocity is zero then 9/18/2018 Stephen Linder

Fused output from four rules if angle is zero and angular velocity is zero then if angle is zero and angular velocity is negative low then if angle is positive low and angular velocity is zero then Defuzzification must now be done on fused output. What are some possible defuzzification methods? if angle is positive low and angular velocity is negative low then 9/18/2018 Stephen Linder

A Java-based Simulation Fuzzy Pendulum Demo created using the FuzzyJ Toolkit by the Integrated Reasoning Group of the National Research Council of Canada http://www.iit.nrc.ca/IR_public/fuzzy/FuzzyPendulum.html 9/18/2018 Stephen Linder

Conclusions Fuzzy Control allows someone to do control with a relatively small set of rules because fuzzy sets overlap the output of conflicting rules can be merge to create complex behaviors Fuzzy controllers are faster for engineers to design if they have no control experience Fuzzy control requires a wider range of design patterns than just fuzzy version of classical controls 9/18/2018 Stephen Linder