Fuzzy Inferencing – Inverted Pendulum Problem

Slides:



Advertisements
Similar presentations
How Big Should Sample Size be? Example We have data y=(y 1,…,y N ), where y~N(μ,σ 2 ) We want to test H 0 : μ=θ vs H 1 : μ θ –Chosen significance level=α=0.01.
Advertisements

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:
CS344: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 15, 16: Perceptrons and their computing power 6 th and.
AI – CS364 Fuzzy Logic Fuzzy Logic 3 03 rd October 2006 Dr Bogdan L. Vrusias
Fuzzy Logic and its Application to Web Caching
Contoh Soal Fuzzy.
Fuzzy Inference and Defuzzification
Introduction to Fuzzy Control Lecture 10.1 Appendix E.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 11– Fuzzy Logic: Inferencing.
CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–3: Some proofs in Fuzzy Sets and Fuzzy Logic 27 th July.
CS344 Artificial Intelligence Prof. Pushpak Bhattacharya Class on 6 Mar 2007.
Fuzzy Control Chapter 14. Fuzzy Control Fuzzy Sets Design of a Fuzzy Controller –Fuzzification of inputs: get_inputs() –Fuzzy Inference –Processing the.
Fuzzy Logic Dave Saad CS498. Origin Proposed as a mathematical model similar to traditional set theory but with the possibility of partial set membership.
CS621: Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–4: Fuzzy Inferencing 29 th July 2010.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–2: Fuzzy Logic and Inferencing.
Artificial Intelligence in Game Design Lecture 6: Fuzzy Logic and Fuzzy State Machines.
Fuzzy Inference (Expert) System
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 30 Uncertainty, Fuizziness.
Lógica difusa  Bayesian updating and certainty theory are techniques for handling the uncertainty that arises, or is assumed to arise, from statistical.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–4: Fuzzy Control of Inverted.
CS344: Introduction to Artificial Intelligence (associated lab: CS386) Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–3: Fuzzy Inferencing: Inverted.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 38: Fuzzy Logic.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Set (contd) Fuzzy.
Fuzzy Inference Systems
Chapter 19. Fuzzy Reasoning
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture 5 – 08/08/05 Prof. Pushpak Bhattacharyya FUZZY LOGIC & INFERENCING.
Prof. Pushpak Bhattacharyya, IIT Bombay 1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Logic Application.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 35–Himalayan Club example; introducing Prolog.
Prof. Pushpak Bhattacharyya, IIT Bombay1 CS 621 Artificial Intelligence Lecture 12 – 30/08/05 Prof. Pushpak Bhattacharyya Fundamentals of Information.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 32 Fuzzy Expert System.
Prof. Pushpak Bhattacharyya, IIT Bombay1 CS 621 Artificial Intelligence Lecture /08/05 Prof. Pushpak Bhattacharyya Fuzzy Inferencing.
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture–6: Propositional calculus, Semantic Tableau, formal System 2 nd August,
CS621: Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 10– Uncertainty: Fuzzy Logic.
CS621 : Artificial Intelligence
CS344 : Introduction to Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 5- Deduction Theorem.
CS621: Artificial Intelligence
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
CS621: Introduction to Artificial Intelligence
Pushpak Bhattacharyya Computer Science and Engineering Department
Introduction to Fuzzy Logic
Fuzzy logic Introduction 3 Fuzzy Inference Aleksandar Rakić
מערכת הרבייה באדם ערכו וכתבו: אורית עמיאל-שרון והעיקר האהבה
CS344 : Introduction to Artificial Intelligence
CS621: Artificial Intelligence
CS 621 Artificial Intelligence Lecture 4 – 05/08/05
Pushpak Bhattacharyya Computer Science and Engineering Department
CS344 : Introduction to Artificial Intelligence
Fuzzy Logic Colter McClure.
Pushpak Bhattacharyya Computer Science and Engineering Department
CS344 : Introduction to Artificial Intelligence
CS621: Artificial Intelligence
CS621: Artificial Intelligence
1.5: Velocity-time graphs
CS 621 Artificial Intelligence Lecture /10/05 Prof
CS 621 Artificial Intelligence Lecture 27 – 21/10/05
ARTIFICIAL INTELLIGENCE
CS621: Artificial Intelligence Lecture 12: Counting no
CS621: Artificial Intelligence
CS623: Introduction to Computing with Neural Nets (lecture-14)
CS621: Artificial Intelligence
CS621 : Artificial Intelligence
CS621: Artificial Intelligence
Prof. Pushpak Bhattacharyya, IIT Bombay
Prof. Pushpak Bhattacharyya, IIT Bombay
CS 621 Artificial Intelligence Lecture /09/05 Prof
CS621: Artificial Intelligence Lecture 14: perceptron training
CS621: Artificial Intelligence Lecture 18: Feedforward network contd
Prof. Pushpak Bhattacharyya, IIT Bombay
Chapter 19. Fuzzy Reasoning
CS621: Artificial Intelligence Lecture 17: Feedforward network (lecture 16 was on Adaptive Hypermedia: Debraj, Kekin and Raunak) Pushpak Bhattacharyya.
Presentation transcript:

Fuzzy Inferencing – Inverted Pendulum Problem CS 621 Artificial Intelligence Lecture 10 - 23/08/05 Prof. Pushpak Bhattacharyya Fuzzy Inferencing – Inverted Pendulum Problem

Example Situation θ = 0.06 units θ` = 0.09 units Sensors 23.08.05 IIT Bombay

Fuzzification Read off μ values Profiles: a) Zero (z) b) Small +/- c) Medium +/- e) Large +/- 23.08.05 IIT Bombay

μ values for θ = 0.06 μ zero ( 0.06 ) = 0.4 μ small+ ( 0.06 ) = 1.0 μ med+ ( 0.06 ) = 0.25 μ large+ ( 0.06 ) = 0.0 23.08.05 IIT Bombay

μ values for θ` = 0.09 μ zero (θ` = 0.09 ) = 0.1 μ small+ (θ` = 0.09 ) = 1.0 μ med+ (θ` = 0.09 ) = 0.08 μ large+ (θ` = 0.09 ) = 0.0 23.08.05 IIT Bombay

Rule Firing Potentially all rules fire with various degrees. Matching the LHS. Computing AND (min). 23.08.05 IIT Bombay

R1: If θ = Z and θ` = Z then i = Z μz(θ) μz(θ`) LHS: min(0.4, 0.1) = 0.1 RHS: By complete truth transfer μz(i) = 0.1 23.08.05 IIT Bombay

R2: If θ = Z and θ` = s+ then i = s- LHS: min(μz(θ = .06) , μs+(θ`= 0.009) = min(0.4, 1.0) = 0.4 so, μs-(i) = 0.4 23.08.05 IIT Bombay

R3: If θ = Z and θ` = M+ then i = M- LHS: min( μz(θ) , μM+(θ`)) = 0.08 RHS: μM-(i) = 0.08 23.08.05 IIT Bombay

After Rule Firing for θ = 0.06, θ` = 0.09 R1 Gives μz(i) = 0.1 R2 Gives μs -(i) = 0.4 R3 Gives μM-(i) = 0.08 R4 Gives …………. and so on 23.08.05 IIT Bombay

Defuzzification To Get Crisp Values Read off the Y – Axis. Project on to the X – Axis. C. Decide the value. 23.08.05 IIT Bombay

Defuzzification (Contd) μz(i) = 0.1 gives i = - 0.09 or + 0.09 as read from the profile μs-(i) = 0.4 gives i = - 0.25 μM-(i) = 0.08 gives i = - 0.1 23.08.05 IIT Bombay

Max of Min. Centroid (uses alpha cut). Two Strategies Max of Min. Centroid (uses alpha cut). Max of Min give i = -0.25 units send -0.25 units of current

Centroid α - cut in the area below the curve cut at μ value For R1: A1= Area below α – cut μz(i) = 0.1 R2: A2= Area below α – cut μs-(i) = 0.4 R3: A3= Area below α – cut μM-(i) = 0.08 23.08.05 IIT Bombay

= X- axis value of the centroid of A1, A2, A3, …… Required Current = X- axis value of the centroid of A1, A2, A3, …… Required ( XR, YR) values of Centroid XR = Xc1 × A1 + Xc2 × A2 + Xc3 × A3 +….. A1+ A2+ A3+…………… 23.08.05 IIT Bombay