Lecture 35 Fuzzy Logic Control (III)

Slides:



Advertisements
Similar presentations
Conventional (Boolean) Set Theory: Fuzzy Set Theory © INFORM Slide 1 “Strong Fever” 40.1°C 42°C 41.4°C 39.3°C 38.7°C 37.2°C 38°C Fuzzy Set Theory:
Advertisements

Graphical Technique of Inference
Intro. ANN & Fuzzy Systems Lecture 33 Fuzzy Logic Control (I)
Fuzzy Inference Systems
 Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference n Mamdani fuzzy inference n Sugeno fuzzy inference n Case study.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Smart Shopper A Consumer Decision Support System Using Type-2 Fuzzy Logic Systems Ling Gu 2003 Fall CSc8810.
Fuzzy Inference and Defuzzification
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
Intro. ANN & Fuzzy Systems Lecture 30 Fuzzy Set Theory (I)
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
EEE-8005 Industrial automation SDL Module leader: Dr. Damian Giaouris Room: E3.16 Phone: Module Leader.
Amir Hossein Momeni Azandaryani Course : IDS Advisor : Dr. Shajari 26 May 2008.
Fuzzy Logic Control Systems Ken Morgan ENGR 315 December 5, 2001.
Fuzzy Expert System.
PART 7 Constructing Fuzzy Sets 1. Direct/one-expert 2. Direct/multi-expert 3. Indirect/one-expert 4. Indirect/multi-expert 5. Construction from samples.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Chapter 18 Fuzzy Reasoning.
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).
Introduction to Fuzzy Logic Control
Fuzzy Logic. Sumber (download juga): 0logic%20toolbox.pdf
GreenHouse Climate Controller Fuzzy Logic Programing Greenhouse Climate Controller Using Fuzzy Logic Programming Anantharaman Sriraman September 2, 2003.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
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 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.
Neural-Network-Based Fuzzy Logical Control and Decision System 主講人 虞台文.
Lec 34 Fuzzy Logic Control (II)
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 Expert System Fuzzy Inference دكترمحسن كاهاني
Fuzzy Inference and Reasoning
NEURO-FUZZY LOGIC 1 X 0 A age Crisp version for young age.
Lecture 32 Fuzzy Set Theory (4)
Chapter 10 Fuzzy Control and Fuzzy Expert Systems
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
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}
Chapter 10 FUZZY CONTROL Chi-Yuan Yeh.
Intro. ANN & Fuzzy Systems Lecture 20 Clustering (1)
© Negnevitsky, Pearson Education, Lecture 5 Fuzzy expert systems: Fuzzy inference Mamdani fuzzy inference Mamdani fuzzy inference Sugeno fuzzy inference.
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
Artificial Intelligence CIS 342
FUZZY NEURAL NETWORKS TECHNIQUES AND THEIR APPLICATIONS
Fuzzy expert systems Fuzzy inference Mamdani fuzzy inference
Artificial Intelligence
Stanisław H. Żak School of Electrical and Computer Engineering
Fuzzy Logic and Fuzzy Sets
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Introduction to Fuzzy Logic
Artificial Intelligence and Adaptive Systems
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
Dr. Unnikrishnan P.C. Professor, EEE
منطق فازی.
Dr. Unnikrishnan P.C. Professor, EEE
Lecture 31 Fuzzy Set Theory (3)
FUZZIFICATION AND DEFUZZIFICATION
Lecture 22 Clustering (3).
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Lecture 5 Fuzzy expert systems: Fuzzy inference
Fuzzy Logic Colter McClure.
Dr. Unnikrishnan P.C. Professor, EEE
An application: A Client Financial Risk Tolerance Model
Fuzzy Inference Systems
Prepared by Po-Chuan on 2016/05/24
Lecture 16. Classification (II): Practical Considerations
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Lecture 35 Fuzzy Logic Control (III)
Presentation transcript:

Lecture 35 Fuzzy Logic Control (III)

Outline FLC design procedure Defuzzification Fine-tuning fuzzy rules. Dog chases cat example implementation details (C) 2001 by Yu Hen Hu

FLC Design Procedures Step 4. Defuzzification Step 5. Fine-tuning the control rules and performance evaluation Evaluate the quality of the control rules using testing data set, and iteratively refine the definition of the fuzzy sets, and the fuzzy control rules. Most time consuming, tedious, and difficult part. Evaluate the effectiveness of a fuzzy controller by comparing to (if available) existing base line algorithms, analyzing cost benefit trade-off, implementation issues, etc. FLC is only one of many alternatives! The value of FLC must be weighted against competing solutions. (C) 2001 by Yu Hen Hu

Implementation Details Fuzzification: Use discrete support. The universe-of-discourse of support are sampled at uniform (or non-uniform) intervals. Each fuzzy set (linguistic variable) is represented as a vector. Each element of the vector represents the values of the membership function at a particular point in the universe of discourse. DCC example Support vectors (both in degrees) sang: [–180 –150 –120 –90 –60 –30 0 30 60 90 120 150 180] sdz: [ –30 –25 –20 –15 –10 –5 0 5 10 15 20 25 30] -150 -100 -50 50 100 150 0.5 1 mu(ang) -30 -20 -10 10 20 30 mu(dz) (C) 2001 by Yu Hen Hu

Representing Fuzzy Sets M=[1 .67 .33 0 0 0 0 0 0 0 0 0 0; % LN 0 .33 .67 1 .67 .33 0 0 0 0 0 0 0; % SN 0 0 0 0 .33 .67 1 .67 .33 0 0 0 0; % ZO 0 0 0 0 0 0 0 .33 .67 1 .67 .33 0; % SP 0 0 0 0 0 0 0 0 0 0 .33 .67 1]; % LP Each row is represent a different fuzzy variable Each column of M is a sampling point over the universe of discourse of the support. To fuzzify ang(t) = 20o, first represent it on the support sang using interpolation: a = [0 0 0 0 0 0 1/3 2/3 0 0 0 0 0] Next, determine the fuzzy representation (input fuzzy variable activation)of ang(t): a = a M’ = [ 0 0 7/9 2/9 0 ] LN SN ZO SP LP (C) 2001 by Yu Hen Hu

Representing Rules ang &? dz weight LN SN ZO SP LP LN SN ZO SP LP rule=[ 1 0 0 0 0 1 1 0 0 0 0 1; % if ang is LN then dz is LN 0 1 0 0 0 1 0 1 0 0 0 1; % if ang is SN then dz is SN 0 0 1 0 0 1 0 0 1 0 0 1; % if ang is ZO then dz is ZO 0 0 0 1 0 1 0 0 0 1 0 1; % if ang is SP then dz is SP 0 0 0 0 1 1 0 0 0 0 1 1]; % if ang is LP then dz is LP &? = 1 if there is only one input fuzzy variable (this case) or the second fuzzy variable is to be ignored for that rule. Each row is a rule. (C) 2001 by Yu Hen Hu

Inference Calculate rule activation from input fuzzy variable activation Activation = max(antecedent part of each rule * fuzzy set activation) Rule# 1 2 3 4 5 LN SN ZO SP LP 0 0 7/9 2/9 0 w 7/9 2/9 (C) 2001 by Yu Hen Hu

Inference Calculate output fuzzy set activation Multiply each w (rule activation value) to the output variable portion of each corresponding rule. (assuming only one output variable) Since multiple rules may be activated, find the maximum activation (fuzzy-OR) of each output fuzzy set. This gives the activation of individual output fuzzy set. B’ is found using either the max-product method, or the max-min method (C) 2001 by Yu Hen Hu

Simulation Result 10 20 30 40 5 15 x-axis y-axis Cat Dog -100 -50 50 10 20 30 40 5 15 x-axis y-axis Cat Dog -100 -50 50 100 angle time -20 60 azi -10 dzi (C) 2001 by Yu Hen Hu