1 Fuzzy Logic and Fuzzy Systems –X: Relationship and Membership 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity.

Slides:



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

Chapter 3. HVAC Delivery Systems
IGCSE ICT Control Systems.
Fuzzy Logic and its Application to Web Caching
RUSSIAN ACADEMY OF SCIENCES PROGRAM SYSTEMS INSTITUTE Optimal Control of Temperature Fields for Cooling of Supercomputer Facilities and Clusters and Energy.
Fuzzy logic Fuzzy Expert Systems Yeni Herdiyeni Departemen Ilmu Komputer.
AI – CS289 Fuzzy Logic Fuzzy Tutorial 16 th October 2006 Dr Bogdan L. Vrusias
Energy Transformations. Magnetic Field- a region of space near a magnet, electric current, or moving charged particle in which a magnetic force acts on.
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.
S. Mandayam/ ANN/ECE Dept./Rowan University Artificial Neural Networks ECE /ECE Fall 2008 Shreekanth Mandayam ECE Department Rowan University.
Main Points All matter is made up of invisible particles Particles have spaces between them Particles are moving all the time Particles move faster when.
09th October 2006 Dr Bogdan L. Vrusias
Components, Symbols, and Circuitry of Air-Conditioning Wiring Diagrams
Introduction to Fuzzy Logic Control
Rule-Based Fuzzy Model. In rule-based fuzzy systems, the relationships between variables are represented by means of fuzzy if–then rules of the following.
Fuzzy Logic. Priyaranga Koswatta Mundhenk and Itti, 2007.
Electric Motors and Motion Control Ara Knaian. Motors Motors convert electrical energy to mechanical energy Motors make things move LINEAR ELECTROSTATIC.
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.
CPSC 386 Artificial Intelligence Ellen Walker Hiram College
Fuzzy logic Introduction 2 Fuzzy Sets & Fuzzy Rules Aleksandar Rakić
Phase Change Heat Pumps Josh MacCaull Objective: To impart a knowledge of the principles behind phase change heat pumps and their applications.
Electricity and Magnetism
L 20 Thermodynamics [5] heat, work, and internal energy heat, work, and internal energy the 1 st law of thermodynamics the 1 st law of thermodynamics the.
 Definition Definition  Bit of History Bit of History  Why Fuzzy Logic? Why Fuzzy Logic?  Applications Applications  Fuzzy Logic Operators Fuzzy.
Mobile Robot Navigation Using Fuzzy logic Controller
FUZZY LOGIC 1.
Logical Systems and Knowledge Representation Fuzzy Logical Systems 1.
oPEN Simulation Environment PENSE PENSE PENSE is a simulation framework written in C++ using fully object oriented design patterns and it's designed.
Heat and Work.  Thermodynamics looks at how changes in energy, work and the flow of heat influence each other.
Test Programme for AC coaches
Fuzzy Expert System n Introduction n Fuzzy sets n Linguistic variables and hedges n Operations of fuzzy sets n Fuzzy rules n Summary.
Chapter Heating system – any device or process that transfers energy to a substance to raise the temperature of the substance. By rubbing your hands.
Could Be Significant.
What is Instrumentation? Seth Price Department of Chemical Engineering New Mexico Tech Rev. 1/6/16.
L 20 Thermodynamics [5] heat, work, and internal energy heat, work, and internal energy the 1 st law of thermodynamics the 1 st law of thermodynamics the.
Chapter 19 Summary Bare-bones Style i.e. stuff you need down COLD.
Heat Engine Example (22.5): A particular heat engine has a mechanical power output of 5.00 kW and an efficiency of 25.0%. The engine expels 8.00 x 10.
 Moving charges through wires makes the wire magnetic.
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.
L 20 Thermodynamics [5] heat, work, and internal energy heat, work, and internal energy the 1 st law of thermodynamics the 1 st law of thermodynamics the.
October Fuzzy Expert Systems CS364 Artificial Intelligence.
S PEED CONTROL OF DC MOTOR BY FUZZY CONTROLLER MD MUSTAFA KAMAL ROLL NO M E (CONTROL AND INSTRUMENTATION)
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
Electromagnetic Devices
ELECTRICAL MACHINES Electrical Machines.
Introduction to Fuzzy Logic and Fuzzy Systems
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
Fuzzy Logic Control What is Fuzzy Logic ? Logic and Fuzzy Logic
Functions 12-4 Warm Up Problem of the Day Lesson Presentation
Splash Screen.
Fuzzy Logic 11/6/2001.
Building a Fuzzy Expert System
Artificial Intelligence
Homework 8 Min Max “Temperature is low” AND “Temperature is middle”
Introduction to Fuzzy Logic
Fuzzy Logic and Fuzzy Systems – Properties & Relationships
Dr. Unnikrishnan P.C. Professor, EEE
L 20 Thermodynamics [5] heat, work, and internal energy
Financial Informatics –IX: Fuzzy Sets
Sample Linguistic Variables
L 20 Thermodynamics [5] heat, work, and internal energy
Homework 9 Min Max “Temperature is low” AND “Temperature is middle”
Splash Screen.
Splash Screen.
Fuzzy Logic and Fuzzy Systems – Properties & Relationships
Splash Screen.
L 20 Thermodynamics [5] heat, work, and internal energy
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Five-Minute Check (over Lesson 1–5) Mathematical Practices Then/Now
Presentation transcript:

1 Fuzzy Logic and Fuzzy Systems –X: Relationship and Membership 1 Khurshid Ahmad, Professor of Computer Science, Department of Computer Science Trinity College, Dublin-2, IRELAND November 19 th,

2 Fuzzy Sets Membership Functions Triangular MF: Trapezoidal MF: Generalized bell MF: Gaussian MF:

3 Fuzzy Sets Sigmoid Membership Function

4 Fuzzy Sets Gaussian Membership Function

5 Fuzzy Sets Cartesian Products and Patches The cartesian or cross product of fuzzy subsets A and B, of sets X and Y respectively is denoted as A  B This cross product relationship T on the set X  Y is denoted as T = A  B EXAMPLE A = {1/a 1, 0.6/a 2,0.3/a 3 }, B = {0.6/b 1, 0.9/b 2,0.1/b 3 }. A  B = { 0.6/(a 1,b 1 ), 0.9/(a 1,b 2 ), 0.1/(a 1,b 3 ), 0.6/(a 2,b 1 ), 0.6/(a 2,b 2 ), 0.1/(a 2,b 3 ), 0.3/(a 3,b 1 ), 0.3/(a 3,b 2 ), 0.1/(a 3,b 3 )}

6 Fuzzy Sets Cartesian Products and Patches More generally, if A 1, A 2, ……A n, are fuzzy subsets of X 1, X 2, ……X n, then their cross product A 1 × A 2 × A 3 × … × A n, is a fuzzy subset of X 1 × X 2 × X 3 × … × X n, and ‘Cross products’ facilitate the mapping of fuzzy subsets that belong to disparate quantities or observations. This mapping is crucial for fuzzy rule based systems in general and fuzzy control systems in particular.

7 Fuzzy Sets Fuzzy Relationships Electric motors are used in a number of devices; indeed, it is impossible to think of a device in everyday use that does not convert electrical energy into mechanical energy – air conditioners, elevators or lifts, central heating systems, ….. Electric motors are also examples of good control systems that run on simple heuristics relating to the speed of the (inside) rotor in the motor: change the strength of the magnetic field to adjust the speed at which the rotor is moving. Electric motors can be electromagnetic and electrostatic; most electric motors are rotary but there are linear motors as well.

8 Fuzzy Sets Fuzzy Relationships Electric motors are also examples of good control systems that run on simple heuristics relating to the speed of the (inside) rotor in the motor: If the motor is running too slow, then speed it up. If motor speed is about right, then not much change is needed. If motor speed is too fast, then slow it down. INPUT: Note the use of reference fuzzy sets representing linguistic values TOO SLOW, ABOUT RIGHT, and, TOO FAST. The three linguistic values form the term set SPEED.

9 Fuzzy Sets Fuzzy Relationships If the motor is running too slow, then speed it up. If motor speed is about right, then not much change is needed. If motor speed is too fast, then slow it down. OUTPUT: In order to change speed, an operator of a control plant will have to apply more or less voltage: there are three reference fuzzy sets representing the linguistic values: increase voltage (speed up); no change (do nothing); and, decrease voltage (slow down). The three linguistic values for the term set VOLTAGE.

10 Fuzzy Sets Fuzzy Relationships A fuzzy patch between the terms SPEED & VOLTAGE.

11 Fuzzy Sets Fuzzy Relationships Slow down Not much change Speed up Too slow About right Too fast

12 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE: In order to understand how two fuzzy subsets are mapped onto each other to obtain a cross product, consider the example of an air-conditioning system. Air-conditioning involves the delivery of air which can be warmed or cooled and have its humidity raised or lowered. An air-conditioner is an apparatus for controlling, especially lowering, the temperature and humidity of an enclosed space. An air-conditioner typically has a fan which blows/cools/circulates fresh air and has cooler and the cooler is under thermostatic control. Generally, the amount of air being compressed is proportional to the ambient temperature. Consider Johnny’s air-conditioner which has five control switches: COLD, COOL, PLEASANT, WARM and HOT. The corresponding speeds of the motor controlling the fan on the air-conditioner has the graduations: MINIMAL, SLOW, MEDIUM, FAST and BLAST.

13 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE: The rules governing the air-conditioner are as follows: RULE#1:IF TEMP is COLDTHENSPEED is MINIMAL RULE#2:IF TEMP is COOLTHENSPEED is SLOW RULE#3:IF TEMP is PLEASENTTHENSPEED is MEDIUM RULE#4:IF TEMP is WARMTHENSPEED is FAST RULE#5:IF TEMP is HOTTHENSPEED is BLAST The rules can be expressed as a cross product: CONTROL=TEMP ×SPEED

14 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE: The rules can be expressed as a cross product: CONTROL=TEMP ×SPEED WHERE: TEMP = {COLD, COOL, PLEASANT, WARM, HOT} SPEED = {MINIMAL, SLOW, MEDIUM, FAST, BLAST}

15 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE (CONTD.): The temperature graduations are related to Johnny’s perception of ambient temperatures: Temp ( 0 C). COLDCOOLPLEASANTWARMHOT 0Y*NNNN 5YYNNN 10NYNNN 12.5NY*NNN 17.5NYY*NN 20NNNYN 22.5NNNY*N 25NNNYN 27.5NNNNY 30NNNNY*

16 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE (CONTD.): Johnny’s perception of the speed of the motor is as follows: Rev/second (RPM) MINIMALSLOWMEDIUMFASTBLAST 0Y*NNNN 10YYNNN 20YYNNN 30YY*NNN 40NYYNN 50NYY*NN 60NNYYN 70NNNY*N 80NNNYY 90NNNNY 100NNNNY*

17 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE (CONTD.): The analytically expressed membership for the reference fuzzy subsets for the temperature are:

18 Fuzzy Systems: Fuzzy Sets and Relationships Triangular membership functions can be described through the equations:

19 Fuzzy Systems: Fuzzy Sets and Relationships Triangular membership functions can be more elegantly and compactly expressed as

20 Fuzzy Systems: Fuzzy Sets and Relationships A graphical representation of the two linguistic variables Speed and Temperature.

21 TermMembership functionabc MINIMAL 301 SLOW MEDIUM FAST BLAST 3070 Fuzzy Systems: Fuzzy Sets and Relationships EXAMPLE (CONTD.): The analytically expressed membership for the reference fuzzy subsets for speed are:

22 Fuzzy Systems: Fuzzy Sets and Relationships Speed (V) EXAMPLE (CONTD.): A sample computation of the SLOW membership function as a triangular membership function:

23 Fuzzy Systems: Fuzzy Patches and Rules A fuzzy patch is defined by a fuzzy rule: a patch is a mapping of two membership functions, it is a product of two geometrical objects, line segments, triangles, squares etc.

24 Fuzzy Systems: Fuzzy Patches and Rules In a fuzzy controller, a rule in the rule set of the controller can be visualized as a ‘device’ for generating the product of the input/output fuzzy sets. Geometrically a patch is an area that represents the causal association between the cause (the inputs) and the effect (the outputs). The size of the patch indicates the vagueness implicit in the rule as expressed through the membership functions of the inputs and outputs.

25 Fuzzy Systems: Fuzzy Patches and Rules The total area occupied by a patch is an indication of the vagueness of a given rule that can be used to generate the patch. Consider a one-input-one output rule: if the input is crisp and the output is fuzzy then the patch becomes a line. And, if both are crisp sets then the patch is vanishingly small – a point.