Fuzzy Logic and Fuzzy Sets

Slides:



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

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 Logic Steve Foster.
Fuzzy Expert System Fuzzy Logic
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,
GATE Reactive Behavior Modeling Fuzzy Logic (GATE-561) Dr.Çağatay ÜNDEĞER Instructor Middle East Technical University, GameTechnologies Bilkent University,
FUZZY LOGIC Shane Warren Brittney Ballard. OVERVIEW What is Fuzzy Logic? Where did it begin? Fuzzy Logic vs. Neural Networks Fuzzy Logic in Control Systems.
Fuzzy Expert System.
Fuzzy Medical Image Segmentation
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.
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.
Fuzzy Theory Presented by Gao Xinbo E.E. Dept. Xidian University.
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.
9/3/2015Intelligent Systems and Soft Computing1 Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what.
Fuzzy Logic Conception Introduced by Lotfi Zadeh in 1960s at Berkley Wanted to expand crisp logic.
Fuzzy Sets Introduction/Overview Material for these slides obtained from: Modern Information Retrieval by Ricardo Baeza-Yates and Berthier Ribeiro-Neto.
Fuzzy Logic. Lecture Outline Fuzzy Systems Fuzzy Sets Membership Functions Fuzzy Operators Fuzzy Set Characteristics Fuzziness and Probability.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
CCSB354 ARTIFICIAL INTELLIGENCE
Fuzzy Logic. WHAT IS FUZZY LOGIC? Definition of fuzzy Fuzzy – “not clear, distinct, or precise; blurred” Definition of fuzzy logic A form of knowledge.
CSNB234 ARTIFICIAL INTELLIGENCE
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.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
FUZZY LOGIC 1.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
“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.
Artificial Intelligence CIS 342 The College of Saint Rose David Goldschmidt, Ph.D.
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.
Could Be Significant.
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.
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.
CHAPTER 5 Handling Uncertainty BIC 3337 EXPERT SYSTEM.
Introduction to Artificial Intelligence and Soft Computing Session 1
Introduction to Fuzzy Logic and Fuzzy Systems
Fuzzy Inference System
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
Fuzzy Logic 11/6/2001.
Artificial Intelligence
Stanisław H. Żak School of Electrical and Computer Engineering
Artificial Intelligence Fuzzy Logic Systems
Meaning of “fuzzy”, Definition of Fuzzy Logic
Introduction to Fuzzy Logic
Fuzzy Control Tutorial
Dr. Unnikrishnan P.C. Professor, EEE
Dr. Unnikrishnan P.C. Professor, EEE
FUZZIFICATION AND DEFUZZIFICATION
Meaning of “fuzzy”, Definition of Fuzzy Logic
Dr. Unnikrishnan P.C. Professor, EEE
Meaning of “fuzzy”, Definition of Fuzzy Logic
© Negnevitsky, Pearson Education, Lecture 4 Fuzzy expert systems: Fuzzy logic Introduction, or what is fuzzy thinking? Introduction, or what is.
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Fuzzy Logic and Fuzzy Sets

Sub-topics: Motivation History Fuzzy logic representation Crisp set Vs Fuzzy set Membership functions How Fuzzy logic is applied? Applications Conclusion

Motivation The term “fuzzy logic” refers to a logic of approximation. Boolean logic assumes that every fact is either entirely true or false. Fuzzy logic allows for varying degrees of truth. Computers can apply this logic to represent vague and imprecise ideas.

History Lotfi Zadeh, at the University of California at Berkeley, first presented fuzzy logic in the mid-1960's. Zadeh developed fuzzy logic as a way of processing data. Instead of requiring a data element to be either a member or non-member of a set, he introduced the idea of partial set membership. In 1974 Mamdani and Assilian used fuzzy logic to regulate a steam engine. In 1985 researchers at Bell laboratories developed the first fuzzy logic chip.

WHAT IS FUZZY LOGIC? Definition of fuzzy Definition of fuzzy logic Fuzzy – “not clear, distinct, or precise; blurred” Definition of fuzzy logic A form of knowledge representation suitable for notions that cannot be defined precisely, but which depend upon their contexts.

TRADITIONAL REPRESENTATION OF LOGIC Slow Fast Speed = 0 Speed = 1 bool speed; get the speed if ( speed == 0) { // speed is slow } else { // speed is fast

FUZZY LOGIC REPRESENTATION Slowest For every problem must represent in terms of fuzzy sets. [ 0.0 – 0.25 ] Slow [ 0.25 – 0.50 ] Fast [ 0.50 – 0.75 ] Fastest [ 0.75 – 1.00 ]

FUZZY LOGIC REPRESENTATION CONT. Slowest Slow Fast Fastest float speed; get the speed if ((speed >= 0.0)&&(speed < 0.25)) { // speed is slowest } else if ((speed >= 0.25)&&(speed < 0.5)) { // speed is slow else if ((speed >= 0.5)&&(speed < 0.75)) // speed is fast else // speed >= 0.75 && speed < 1.0 // speed is fastest

Misconceptions and Controversies Fuzzy logic is same as “imprecise logic Fuzzy logic is a new way of expressing probability. Fuzzy logic will be difficult to scale to larger problems.

Sets and Fuzzy Sets Classical sets – either an element belongs to the set or it does not. Classical sets are also called crisp (sets). Fuzzy Set Theory: An object is either in a set, not in a set, or partially in a set. In fuzzy sets, membership is based on a degree between 0 and 1 0 = item not in set 1 = item is in set If degree is between 0 and 1, then this degree is the degree to which the item is thought to be in the set

Membership Functions To determine what is the membership value of an object in a set, refer to membership functions of the object’s attribute(s). For example, we may define our membership functions for the three sets Short, Medium and Tall Attribute is height 1.0 Membership Short Medium Tall 0.5 0.0 Height (meters) 1.4 1.5 1.6 1.8 1.9 2.0 1.55

Crisp Logic Operations B A and B 1 AND OR NOT A B A or B 1 A not A 1

Fuzzy Logic Operations NOT: If Fuzzy Statement A is m true, then the statement “Not A” is (1.0 – m) true. AND: If Fuzzy Statement A is m true, and Fuzzy Statement B is n true, then the Fuzzy Statement “A and B” is k true, where k = min(m,n). OR: If Fuzzy Statement A is m true, and Fuzzy Statement B is n true, then the Fuzzy Statement “A or B” is k true, where k = max(m,n).

Rules Crisp rule: Example: “If Self is Tall and Enemy is Short, then Attack.” The Condition of a Rule: The condition for this rule is: “If Self is Tall and Enemy is Short” Fuzzy rule: The condition of the rule once again is: “If Self is Tall and Enemy is Short” Suppose that Self is 0.3 Tall, and Enemy is 0.6 Short, then this condition is 0.3 True. So, should we attack?

Building Fuzzy Systems Crisp Input Fuzzification Inference Composition Defuzzification Fuzzification Input Membership Functions Fuzzy Input Rule Evaluation Rules Fuzzy Output Defuzzification Output Membership Functions Crisp Output

Where is Fuzzy Logic used? Fuzzy logic is used directly in very few applications. Most applications of fuzzy logic use it as the underlying logic system for decision support systems.

Fuzzy System Applications Cement Kiln - first expert system to use fuzzy logic Sendai Subway - most celebrated fuzzy logic system Bullet train between Tokyo and Osaka

Applications Cont. ABS Brakes Expert Systems Video Cameras Dishwashers Washing machines Bus Time Tables

TEMPERATURE CONTROLLER The problem Change the speed of a heater fan, based on the room temperature and humidity. A temperature control system has four settings Cold, Cool, Warm, and Hot Humidity can be defined by: Low, Medium, and High Using this we can define the fuzzy set.

BENEFITS OF USING FUZZY LOGIC

Why Use Fuzzy Logic?  An Alternative Design Methodology Which Is Simpler, And Faster Fuzzy Logic reduces the design development cycle Fuzzy Logic simplifies design complexity Fuzzy Logic improves control performance Fuzzy Logic simplifies implementation Fuzzy Logic reduces hardware costs

Limitations of Fuzzy Logic Stability Learning Fuzzy Logic control may not scale well to large or complex problems Verification and Validation requires extensive testing (as in any expert system).

CONCLUSION Fuzzy logic provides an alternative way to represent linguistic and subjective attributes of the real world in computing. It is able to be applied to control systems and other applications in order to improve the efficiency and simplicity of the design process.