Classical Set Theory. Outline. Classical Set Theory. 4. Linguistic model, approximate reasoning. 1. Fuzzy sets and set-theoretic operations.

Similar documents
Lecture 1: Introduction & Fuzzy Control I

is implemented by a fuzzy relation R i and is defined as

Rule-Based Fuzzy Model

Fundamentals. 2.1 Fuzzy logic theory

Towards Smooth Monotonicity in Fuzzy Inference System based on Gradual Generalized Modus Ponens

OUTLINE. Introduction History and basic concepts. Fuzzy sets and fuzzy logic. Fuzzy clustering. Fuzzy inference. Fuzzy systems. Application examples

Fuzzy Expert Systems Lecture 6 (Fuzzy Logic )

Fuzzy Rules and Fuzzy Reasoning (chapter 3)

Parameterized Soft Complex Fuzzy Sets

Fuzzy Rules and Fuzzy Reasoning. Chapter 3, Neuro-Fuzzy and Soft Computing: Fuzzy Rules and Fuzzy Reasoning by Jang

Motivation. From Propositions To Fuzzy Logic and Rules. Propositional Logic What is a proposition anyway? Outline

THE COMPLETE SOLUTION PROCEDURE FOR THE FUZZY EOQ INVENTORY MODEL WITH LINEAR AND FIXED BACK ORDER COST

Fuzzy Rules and Fuzzy Reasoning (chapter 3)

COMPARISON OF FUZZY LOGIC CONTROLLERS FOR A MULTIVARIABLE PROCESS

Computational Intelligence Lecture 6:Fuzzy Rule Base and Fuzzy Inference Engine

Financial Informatics XI: Fuzzy Rule-based Systems

2. The Logic of Compound Statements Summary. Aaron Tan August 2017

Institute for Advanced Management Systems Research Department of Information Technologies Åbo Akademi University. Fuzzy Logic Controllers - Tutorial

Computational Intelligence Lecture 13:Fuzzy Logic

CSCE 478/878 Lecture 2: Concept Learning and the General-to-Specific Ordering

Applied Logic. Lecture 3 part 1 - Fuzzy logic. Marcin Szczuka. Institute of Informatics, The University of Warsaw

FUZZY CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL CONVENTIONAL CONTROL

Faster Adaptive Network Based Fuzzy Inference System

Fuzzy and Rough Sets Part I

Bob Brown Math 251 Calculus 1 Chapter 3, Section 1 Completed 1 CCBC Dundalk

So, we can say that fuzzy proposition is a statement p which acquires a fuzzy truth value T(p) ranges from(0 to1).

Handling Uncertainty using FUZZY LOGIC

Fundamentals of Concept Learning

This time: Fuzzy Logic and Fuzzy Inference

Differentiation. Area of study Unit 2 Calculus

1. Brief History of Intelligent Control Systems Design Technology

Fuzzy Sets and Fuzzy Logic

Fuzzy Sets, Fuzzy Logic, and Fuzzy Systems

EEE 8005 Student Directed Learning (SDL) Industrial Automation Fuzzy Logic

Walrasian Equilibrium in an exchange economy

Logic for Computer Science - Week 4 Natural Deduction

INTRODUCTION TO CALCULUS LIMITS

Integral Calculus, dealing with areas and volumes, and approximate areas under and between curves.

2.11 That s So Derivative

Islamic University of Gaza Electrical Engineering Department EELE 6306 Fuzzy Logic Control System Med term Exam October 30, 2011

Outline. Introduction, or what is fuzzy thinking? Fuzzy sets Linguistic variables and hedges Operations of fuzzy sets Fuzzy rules Summary.

Lecture 10: Carnot theorem

Introduction to fuzzy sets

Hamidreza Rashidy Kanan. Electrical Engineering Department, Bu-Ali Sina University

Continuity and Differentiability Worksheet

Fuzzy logic Fuzzyapproximate reasoning

Section 3: The Derivative Definition of the Derivative

This time: Fuzzy Logic and Fuzzy Inference

Artificial Intelligence. Propositional logic

Where are we? Operations on fuzzy sets (cont.) Fuzzy Logic. Motivation. Crisp and fuzzy sets. Examples

lim 1 lim 4 Precalculus Notes: Unit 10 Concepts of Calculus

LIMITATIONS OF EULER S METHOD FOR NUMERICAL INTEGRATION

Today s s lecture. Lecture 16: Uncertainty - 6. Dempster-Shafer Theory. Alternative Models of Dealing with Uncertainty Information/Evidence

CHAPTER 1 - LOGIC OF COMPOUND STATEMENTS

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016

Fuzzy Sets. Mirko Navara navara/fl/fset printe.pdf February 28, 2019

1. (a) 3. (a) 4 3 (b) (a) t = 5: 9. (a) = 11. (a) The equation of the line through P = (2, 3) and Q = (8, 11) is y 3 = 8 6

Fuzzy expert systems

2010/07/12. Content. Fuzzy? Oxford Dictionary: blurred, indistinct, confused, imprecisely defined

A Zadeh-Norm Fuzzy Description Logic for Handling Uncertainty: Reasoning Algorithms and the Reasoning System

A = h w (1) Error Analysis Physics 141

. If lim. x 2 x 1. f(x+h) f(x)

Analyzing fuzzy and contextual approaches to vagueness by semantic games

Efficient Approximate Reasoning with Positive and Negative Information

lecture 26: Richardson extrapolation

Section 2.7 Derivatives and Rates of Change Part II Section 2.8 The Derivative as a Function. at the point a, to be. = at time t = a is

Warm-Up Problem. Write a Resolution Proof for. Res 1/32

It rains now. (true) The followings are not propositions.

3.2 THE FUNDAMENTAL WELFARE THEOREMS

N igerian Journal of M athematics and Applications V olume 23, (2014), 1 13

Copyright c 2008 Kevin Long

How to determine if a statement is true or false. Fuzzy logic deal with statements that are somewhat vague, such as: this paint is grey.

15414/614 Optional Lecture 1: Propositional Logic

Intelligent Systems and Control Prof. Laxmidhar Behera Indian Institute of Technology, Kanpur

ACCURATE SYNTHESIS FORMULAS OBTAINED BY USING A DIFFERENTIAL EVOLUTION ALGORITHM FOR CONDUCTOR-BACKED COPLANAR WAVEG- UIDES

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

Recall from our discussion of continuity in lecture a function is continuous at a point x = a if and only if

The Basics of Vacuum Technology

Revision: Fuzzy logic

Knowledge base (KB) = set of sentences in a formal language Declarative approach to building an agent (or other system):

Research Article New Results on Multiple Solutions for Nth-Order Fuzzy Differential Equations under Generalized Differentiability

Logic. Introduction to Artificial Intelligence CS/ECE 348 Lecture 11 September 27, 2001

A Crisp Representation for Fuzzy SHOIN with Fuzzy Nominals and General Concept Inclusions

LECTURE 14 NUMERICAL INTEGRATION. Find

Advanced Topics in LP and FP

Approximation Capability of SISO Fuzzy Relational Inference Systems Based on Fuzzy Implications

Fuzzy Systems. Introduction

Polynomial Interpolation

(4.2) -Richardson Extrapolation

Section 1.2: Propositional Logic

Adaptive fuzzy observer and robust controller for a 2-DOF robot arm Sangeetha Bindiganavile Nagesh

ERROR BOUNDS FOR THE METHODS OF GLIMM, GODUNOV AND LEVEQUE BRADLEY J. LUCIER*

COMP219: Artificial Intelligence. Lecture 19: Logic for KR

ME 534. Mechanical Engineering University of Gaziantep. Dr. A. Tolga Bozdana Assistant Professor

n Empty Set:, or { }, subset of all sets n Cardinality: V = {a, e, i, o, u}, so V = 5 n Subset: A B, all elements in A are in B

The Laplace equation, cylindrically or spherically symmetric case

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible.

Chapter 2 Limits and Continuity

2.8 The Derivative as a Function

y = 3 2 x 3. The slope of this line is 3 and its y-intercept is (0, 3). For every two units to the right, the line rises three units vertically.

Transcription:

Knowledge-Based Control Systems (SC48) Lecture 2: Fuzzy Sets and Systems lfredo Núñez Section of Railway Engineering CiTG, Delft University of Tecnology Te Neterlands Robert Babuška Delft Center for Systems and Control 3mE, Delft University of Tecnology Te Neterlands a.a.nunezvicencio@tudelft.nl tel: 5-27 89355 r.babuska@tudelft.nl tel: 5-27 857 Classical Set Teory set is a collection of objects wit a common property. Outline. Fuzzy sets and set-teoretic operations. 2. Fuzzy relations. 3. Fuzzy systems 4. Linguistic model, approimate reasoning Classical Set Teory set is a collection of objects wit a common property. Eamples: Set of natural numbers smaller tan 5: = {, 2, 3, 4}

Classical Set Teory set is a collection of objects wit a common property. Eamples: Set of natural numbers smaller tan 5: = {, 2, 3, 4} Unit disk in te comple plane: = {z z C, z } Representation of Sets Enumeration of elements: = {, 2,..., n} Definition by property: = { X as propertyp } Caracteristic function: μ () :X {, } μ () = is member of is not member of Classical Set Teory set is a collection of objects wit a common property. Eamples: Set of natural numbers smaller tan 5: = {, 2, 3, 4} Unit disk in te comple plane: = {z z C, z } line in R 2 : = {(, y) a + by + c =, (, y, a, b, c) R} Set of natural numbers smaller tan 5 2 3 4 5 6 7 8

Fuzzy sets Classical Set pproac set of tall people = { 8} 7 8 9 [cm] Wy Fuzzy Sets? Classical sets are good for well-defined concepts (mats, programs, etc.) Less suitable for representing commonsense knowledge in terms of vague concepts suc as: a tall person, slippery road, nice weater,... want to buy a big car wit moderate consumption If te temperature is too low, increase eating a lot Logical Propositions Jon is tall... true or false Jon s eigt: Jon = 8. μ (8.) = (true) Jon = 79.5 μ (79.5) = (false) 7 8 9 [cm]

Fuzzy Set pproac.6 7 8 9 [cm] is full member of ( 9) μ () = (, ) is partial member of (7 <<9) is not member of ( 7) Subjective and Contet Dependent.6 7 8 9 [cm] tall in Cina tall in Europe tall in NB Fuzzy Logic Propositions Jon is tall... degree of trut Jon s eigt: Jon = 8. μ (8.) =.6 Jon = 79.5 μ (79.5) =.56 Paul = 2. μ (2.) =.6 7 8 9 [cm] Sapes of Membersip Functions triangular trapezoidal bell-saped

Representation of Fuzzy Sets Pointwise as a list of membersip/element pairs: = {μ ()/,...,μ (n)/n} = {μ (i)/i i X} s a list of α-level/α-cut pairs: = {α/α,α 2/α2,...,α n,αn } = {α i/αi α i (, )} Linguistic Variable TEMPERTURE linguistic variable low medium ig linguistic terms µ semantic rule membersip functions 2 3 4 t (temperature) base variable Basic requirements: coverage and semantic soundness Representation of Fuzzy Sets nalytical formula for te membersip function: μ () = + 2, R or more generally μ() = +d(, v). d(, v)... dissimilarity measure Various sortand notations: μ ()...()...a Properties of fuzzy sets

Support of a Fuzzy Set supp() ={ μ () > } supp( ) support is an ordinary set α-cut of a Fuzzy Set α = { μ () >α} or α = { μ () α} -level α is an ordinary set Core (Kernel) of a Fuzzy Set core() ={ μ () =} core( ) core is an ordinary set Conve and Non-Conve Fuzzy Sets conve non-conve B fuzzy set is conve all its α-cuts are conve sets.

Non-Conve Fuzzy Set: an Eample ig-risk age 6 32 48 64 age [years] Hig-risk age for car insurance policy. Fuzzy set-teoretic operations Fuzzy Numbers and Singletons fuzzy number "about 3" fuzzy singleton 3 8 Fuzzy linear regression: y = 3 + 52 Complement (Negation) of a Fuzzy Set μ Ā () = μ ()

Intersection (Conjunction) of Fuzzy Sets B μ B () =min(μ (),μ B ()) Union (Disjunction) of Fuzzy Sets B μ B () =ma(μ (),μ B ()) Oter Intersection Operators (T-norms) Probabilistic and (product operator): μ B () =μ () μ B () Lukasiewicz and (bounded difference): μ B () =ma(,μ ()+μ B () ) Many oter t-norms... [, ] [, ] [, ] Oter Union Operators (T-conorms) Probabilistic or : μ B () =μ ()+μ B () μ () μ B () Lukasiewicz or (bounded sum): μ B () =min(,μ ()+μ B ()) Many oter t-conorms... [, ] [, ] [, ]

Demo of a Matlab tool Linguistic Modifiers: Eample µ() More or less.8.6.4.2 Very μ very() = μ 2 μ More or less() = μ Linguistic Modifiers (Hedges) Modify te meaning of a fuzzy set. For instance, very can cange te meaning of te fuzzy set tall to very tall. Oter common edges: sligtly, more or less, rater, etc. Usual approac: powered edges: μ M p() = μp Linguistic Modifiers more or less small not very small rater big.5 Small Medium Big 5 5 2 25

Fuzzy Set in Multidimensional Domains y = {μ (, y)/(, y) (, y) X Y } Cylindrical Etension 2 Cylindrical Etension 2 Cylindrical Etension 2 et2 () ={μ ()/(,2) (,2) X X2}

proj 2 Projection 2 Projection onto X2 2 2 () ={ sup X μ (,2)/2) 2 X2} Projection onto X 2 proj () ={ sup 2 X2 μ (,2))/ X} Intersection on Cartesian Product Space n operation between fuzzy sets are defined in different domains results in a multi-dimensional fuzzy set. Eample: 2 on X X2: 2 2

Intersection on Cartesian Product Space n operation between fuzzy sets are defined in different domains results in a multi-dimensional fuzzy set. Eample: 2 on X X2: 2 2 Intersection on Cartesian Product Space n operation between fuzzy sets are defined in different domains results in a multi-dimensional fuzzy set. Eample: 2 on X X2: 2 2 Intersection on Cartesian Product Space n operation between fuzzy sets are defined in different domains results in a multi-dimensional fuzzy set. Eample: 2 on X X2: 2 2 Fuzzy Relations Classical relation represents te presence or absence of interaction between te elements of two or more sets. Wit fuzzy relations, te degree of association (correlation) is represented by membersip grades. n n-dimensional fuzzy relation is a mapping R : X X2 X3... Xn [, ] wic assigns membersip grades to all n-tuples (,2,...,n) from te Cartesian product universe.

.5 Fuzzy Relations: Eample Eample: R : y ( is approimately equal to y ) μ R (, y) =e ( y)2.8.6.4.2.2.4.5 y.5.5.5.6.8.8.6.4.2.2.4.6.8 membersip grade y Grapical Interpretation: Crisp Function y crisp argument interval argument y Relational Composition Given fuzzy relation R defined in X Y and fuzzy set defined in X, derive te corresponding fuzzy set B defined in Y : B = R =proj Y (et X Y () R) ma-min composition: μ B (y) =ma min (μ (),μ R (, y)) nalogous to evaluating a function. Grapical Interpretation: Interval Function crisp argument interval argument y y

y Grapical Interpretation: Fuzzy Relation crisp argument fuzzy argument y Fuzzy Systems Ma-Min Composition: Eample μ B (y) =ma min (μ (),μ R (, y)), y [..4... ]....4.8....2........9......8.3. = [...4.4.8 ] Fuzzy Systems Systems wit fuzzy parameters y = 3 + 52 Fuzzy inputs and states ẋ(t) =(t)+bu(t), () = 2 Rule-based systems If te eating power is ig ten te temperature will increase fast

Rule-based Fuzzy Systems Linguistic (Mamdani) fuzzy model If is ten y is B Fuzzy relational model If is ten y is B(.),B2(.8) Takagi Sugeno fuzzy model If is ten y = f() Linguistic Model If is ten y is B is antecedent (fuzzy proposition) y is B consequent (fuzzy proposition) Compound propositions (logical connectives, edges): If is very big and 2 is not small Linguistic Model If is ten y is B is antecedent (fuzzy proposition) y is B consequent (fuzzy proposition) Multidimensional ntecedent Sets 2 on X X2: 2 2

Partitioning of te ntecedent Space 2 conjunctive 2 oter connectives 2 22 23 2 22 23 2 3 2 3 Formal pproac. Represent eac if ten rule as a fuzzy relation. 2. ggregate tese relations in one relation representative for te entire rule base. 3. Given an input, use relational composition to derive te corresponding output. Inference Mecanism Given te if-ten rules and an input fuzzy set, deduce te corresponding output fuzzy set. Formal approac based on fuzzy relations. Simplified approac (Mamdani inference). Interpolation (additive fuzzy systems). Modus Ponens Inference Rule Classical logic Fuzzy logic if is ten y is B if is ten y is B is is y is B y is B

Relational Representation of Rules If ten rules can be represented as a relation, using implications or conjunctions. Classical implication B B ( B) \B R: {, } {, } {, } Fuzzy Implications and Conjunctions Fuzzy implication is represented by a fuzzy relation: R:[, ] [, ] [, ] μ R (, y) =I(μ (),μ B (y)) I(a, b) implication function classical Kleene Diene I(a, b) =ma( a, b) Lukasiewicz I(a, b) =min(, a + b) T-norms Mamdani I(a, b) =min(a, b) Larsen I(a, b) =a b Relational Representation of Rules If ten rules can be represented as a relation, using implications or conjunctions. Conjunction B B \B R: {, } {, } {, } Inference Wit One Rule. Construct implication relation: μ R (, y) =I(μ (),μ B (y))

Inference Wit One Rule. Construct implication relation: μ R (, y) =I(μ (),μ B (y)) 2. Use relational composition to derive B from : B = R Grapical Illustration μ R (, y) =min(μ (),μ B (y)) μ B (y) =ma min (μ (),μ R (, y)) R= min( B, ) Inference Wit Several Rules. Construct implication relation for eac rule i: μ R i (, y) =I(μ i (),μ Bi (y)) 2. ggregate relations Ri into one: μ R (, y) = aggr(μ i ()) Te aggr operator is te minimum for implications and te maimum for conjunctions. 3. Use relational composition to derive B from : B = R R µ B ma(min(,r)) B B y y min(,r) Eample: Conjunction. Eac rule If is i ten ỹ is Bi is represented as a fuzzy relation on X Y : Ri = i Bi μ R i (, y) =μ i () μ Bi (y)

ggregation and Composition 2. Te entire rule base s relation is te union: R = K i= i K Ri μ R (, y) = ma Ri (, y)] 3. Given an input value te output value B is: B = R μ B (y) =ma [μ () μ R(, y)] X R If Flow is Zero ten Level is Zero Eample: Modeling of Liquid Level - If Fin is Zero ten is Zero - IfFin is Med ten is Med F out - IfFin is Large ten is Med Large 2 4 6 8 2 3 R Large R2 If Flow is Medium ten Level is Medium R 2 Large

R3 If Flow is Large ten Level is Medium R 3 Large ggregated Relation Simplified pproac. Compute te matc between te input and te antecedent membersip functions (degree of fulfillment). 2. Clip te corresponding output fuzzy set for eac rule by using te degree of fulfillment. 3. ggregate output fuzzy sets of all te rules into one fuzzy set. Tis is called te Mamdani or ma-min inference metod. R R 2 R 3 Large Water Tank Eample - If Fin is Zero ten is Zero - IfFin is Med ten is Med F out - IfFin is Large ten is Med Large 2 4 6 8 2 3

Mamdani Inference: Eample Large 5 3 6 If Fin is Zero ten... Large 5 3 6 Determine te degree of fulfillment (trut) of te first rule. Mamdani Inference: Eample Large 5 3 6 Given a crisp (numerical) input (Fin). If Fin is Zero ten is Zero Large 5 3 6 Clip consequent membersip function of te first rule.

If Fin is Medium ten... Large 5 3 6 Determine te degree of fulfillment (trut) of te second rule. ggregation Large 5 3 6 Combine te result of te two rules (union). If Fin is Medium ten is Medium Large 5 3 6 Clip consequent membersip function of te second rule. Defuzzification conversion of a fuzzy set to a crisp value y' y (a) center of gravity y' y (b) mean of maima

Center-of-Gravity Metod F μ B (yj)yj j= y = F μ B (yj) j= Fuzzy System Components Defuzzification Large 5 3 6 Compute a crisp (numerical) output of te model (centerof-gravity metod).