1 / 19

Fuzzy Logic

Fuzzy Logic. Samson Okoh Engr 315 Fall 2002. Introduction. Brief History How it Works Basics of Fuzzy Logic Rules Step by Step Approach of Fuzzy Logic Fuzzification Rule Evaluation Defuzzification Example Application Inverted Pendulum Other applications of Fuzzy Logic Conclusion.

idalia
Download Presentation

Fuzzy Logic

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Fuzzy Logic Samson Okoh Engr 315 Fall 2002

  2. Introduction • Brief History • How it Works • Basics of Fuzzy Logic • Rules • Step by Step Approach of Fuzzy Logic • Fuzzification • Rule Evaluation • Defuzzification • Example Application • Inverted Pendulum • Other applications of Fuzzy Logic • Conclusion

  3. Brief History • Fuzzy logic can be defined as a superset of conventional (Boolean) logic that has been extended to handle the concept of partial truth - truth values between “completely true” and “completely false” • Brought up by Lofti Zedah in the 1960s • Professor at University of California at Beckley

  4. How it Works • Basics of Fuzzy Logic (Rules) • Operates similar to humans • Humans base their decisions on conditions • Operates on a bunch of IF-THEN statements • An example is A then B, if C then D where B and D are all set of A and C.

  5. Steps by Step Approach • Step One • Define the control objectives and criteria. • Consider question like • What is trying to be controlled? • What has to be done to control the system? • What kind of response is needed? • What are the possible (probable) system failure modes? • Step Two • Determine input and output relationships • Determine the least number of variables for inputs to the fuzzy logic system

  6. Steps by Step Approach • Step Three • Break down the control problem into a series of IF X AND Y, THEN Z rules based on the fuzzy logic rules. • These IF X AND Y, THEN Z rules should define the desired system output response for the given systems input conditions. • Step Four • Create a fuzzy logic membership function that defines the meaning or values of the input and output terms used in the rules

  7. Steps by Step Approach • Step Five • After the membership functions are created, program everything then into the fuzzy logic system • Step Six • Finally, test the system, evaluate results and make the necessary adjustments until a desired result is obtain

  8. Steps by Step Approach • The above steps are summarized into three main stages • Fuzzification • Membership functions used to graphically describe a situation • Evaluation of Rules • Application of the fuzzy logic rules • Diffuzification • Obtaining the crisp results

  9. Steps by Step Approach

  10. Inverted Pendulum • Task: • To balance a pole on a mobile platform that can move in only two directions, either to the left or to the right.

  11. Inverted Pendulum • The input and output relationships of the variables of the fuzzy system are then determined. • Inputs: • Angle between the platform and the pendulum • Angular velocity of this angle. • Outputs: • Speed of platform

  12. Inverted Pendulum • Use membership functions to graphically describe the situation (Fuzzification) • The output which is speed can be high speed, medium speed, low speed, etc. These different levels of output of the platform are defined by specifying the membership functions for the fuzzy-sets

  13. Inverted Pendulum

  14. Inverted Pendulum • Define Fuzzy Rules • Examples • If angle is zero and angular velocity is zero, then speed is also zero • If angle is zero and angular velocity is negative low, the speed is negative low • If angle is positive low and angular velocity is zero, then speed is positive low • If angle is positive low and angular velocity is negative low, then speed is zero

  15. Inverted Pendulum

  16. Inverted Pendulum • Finally, the Defuzzification stage is implemented. • Two ways of defuzzification is by • Finding the center of Gravity and • Finding the average mean.

  17. Inverted Pendulum • Example Application http://www.aptronix.com/fuzzynet/java/pend/pendjava.htm

  18. Coal Power Plant Refuse Incineration Plant Water Treatment Systems AC Induction Motor Fraud Detection Customer Targeting Quality Control Speech Recognition Nuclear Fusion Truck Speed Limiter Sonar Systems Toasters Photocopiers Creditworthiness Assessment Stock Prognosis Mortgage Application Hi-Fi Systems Humidifiers Domestic Goods - Washing Machines/Dryers Microwave Ovens Consumer Electronics – Television Still and Video Cameras - Auto focus, Exposure and Anti-Shake Vacuum Cleaners Other Applications

  19. Questions?

More Related