Unit 6. Fuzzy Inference. Fuzzy Logic I 159

Ähnliche Dokumente
Geometrie und Bedeutung: Kap 5

Statistics, Data Analysis, and Simulation SS 2015

Algorithms for graph visualization

HIR Method & Tools for Fit Gap analysis

Unterspezifikation in der Semantik Hole Semantics

"What's in the news? - or: why Angela Merkel is not significant

Musterlösung 3. D-MATH Algebra I HS 2015 Prof. Richard Pink. Faktorielle Ringe, Grösster gemeinsamer Teiler, Ideale, Faktorringe

WAS IST DER KOMPARATIV: = The comparative

VGM. VGM information. HAMBURG SÜD VGM WEB PORTAL - USER GUIDE June 2016

Mitglied der Leibniz-Gemeinschaft

ETHISCHES ARGUMENTIEREN IN DER SCHULE: GESELLSCHAFTLICHE, PSYCHOLOGISCHE UND PHILOSOPHISCHE GRUNDLAGEN UND DIDAKTISCHE ANSTZE (GERMAN

Level 1 German, 2012

DAS ZUFRIEDENE GEHIRN: FREI VON DEPRESSIONEN, TRAUMATA, ADHS, SUCHT UND ANGST. MIT DER BRAIN-STATE-TECHNOLOGIE DAS LEBEN AUSBALANCIEREN (GE

p^db=`oj===pìééçêíáåñçêã~íáçå=

GRIPS - GIS basiertes Risikoanalyse-, Informations- und Planungssystem

Fundamentals of Electrical Engineering 1 Grundlagen der Elektrotechnik 1

August Macke Abschied, 1914 Museum Ludwig, Köln

Hazards and measures against hazards by implementation of safe pneumatic circuits

KURZANLEITUNG. Firmware-Upgrade: Wie geht das eigentlich?

ONLINE LICENCE GENERATOR

USBASIC SAFETY IN NUMBERS

Possible Solutions for Development of Multilevel Pension System in the Republic of Azerbaijan

TIn 1: Feedback Laboratories. Lecture 4 Data transfer. Question: What is the IP? Institut für Embedded Systems. Institut für Embedded Systems

J RG IMMENDORFF STANDORT F R KRITIK MALEREI UND INSPIRATION ERSCHEINT ZUR AUSSTELLUNG IM MUSEUM LU

Titelbild1 ANSYS. Customer Portal LogIn

Fakultät III Univ.-Prof. Dr. Jan Franke-Viebach

p^db=`oj===pìééçêíáåñçêã~íáçå=

Level 2 German, 2013

Exercise (Part XI) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Ways and methods to secure customer satisfaction at the example of a building subcontractor

Inequality Utilitarian and Capabilities Perspectives (and what they may imply for public health)

4. Bayes Spiele. S i = Strategiemenge für Spieler i, S = S 1... S n. T i = Typmenge für Spieler i, T = T 1... T n

Einführung in die Pragmatik und Texttheorie Übungsblatt: Informations-Struktur

There are 10 weeks this summer vacation the weeks beginning: June 23, June 30, July 7, July 14, July 21, Jul 28, Aug 4, Aug 11, Aug 18, Aug 25

Getting started with MillPlus IT V530 Winshape

ELBA2 ILIAS TOOLS AS SINGLE APPLICATIONS

How to access licensed products from providers who are already operating productively in. General Information Shibboleth login...

Kybernetik Intelligent Agents- Decision Making

After sales product list After Sales Geräteliste

Frequently asked Questions for Kaercher Citrix (apps.kaercher.com)

Algorithms & Datastructures Midterm Test 1

DOWNLOAD. Englisch in Bewegung. Spiele für den Englischunterricht. Britta Buschmann. Downloadauszug aus dem Originaltitel:

Notice: All mentioned inventors have to sign the Report of Invention (see page 3)!!!

Thema: Sonnenuhren (7.Jahrgangsstufe)

Prediction Market, 28th July 2012 Information and Instructions. Prognosemärkte Lehrstuhl für Betriebswirtschaftslehre insbes.

DIE NEUORGANISATION IM BEREICH DES SGB II AUSWIRKUNGEN AUF DIE ZUSAMMENARBEIT VON BUND LNDERN UND KOMMUNEN

Labour law and Consumer protection principles usage in non-state pension system

Harry gefangen in der Zeit Begleitmaterialien

1. General information Login Home Current applications... 3

USB Treiber updaten unter Windows 7/Vista

Einführung in die Linguistik, Teil 4

Instruktionen Mozilla Thunderbird Seite 1

Hör auf zu ziehen! Erziehungsleine Training Leash

eurex rundschreiben 094/10

(Prüfungs-)Aufgaben zum Thema Scheduling

Rätsel 1: Buchstabensalat klassisch, 5 5, A C (10 Punkte) Puzzle 1: Standard As Easy As, 5 5, A C (10 points)

NEWSLETTER. FileDirector Version 2.5 Novelties. Filing system designer. Filing system in WinClient

XV1100K(C)/XV1100SK(C)

RS232-Verbindung, RXU10 Herstellen einer RS232-Verbindung zwischen PC und Messgerät oder Modem und Messgerät

Weiterbildungskolleg der Stadt Bielefeld Abendrealschule Fachbereich Englisch Frachtstraße Bielefeld

Allgemeine Mechanik Musterlösung 11.

Exercise (Part II) Anastasia Mochalova, Lehrstuhl für ABWL und Wirtschaftsinformatik, Kath. Universität Eichstätt-Ingolstadt 1

Symbio system requirements. Version 5.1

Name: Klasse: Standardisierte kompetenzorientierte schriftliche Reifeprüfung AHS. 18. September Englisch. Schreiben

HUMANGENETIK IN DER WELT VON HEUTE: 12 SALZBURGER VORLESUNGEN (GERMAN EDITION) BY FRIEDRICH VOGEL

CNC ZUR STEUERUNG VON WERKZEUGMASCHINEN (GERMAN EDITION) BY TIM ROHR

Ingenics Project Portal

Selbstlernmodul bearbeitet von: begonnen: Inhaltsverzeichnis:

Context-adaptation based on Ontologies and Spreading Activation

SELF-STUDY DIARY (or Lerntagebuch) GER102

Lehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str Jena

XV1100K(C)/XV1100SK(C)

STRATEGISCHES BETEILIGUNGSCONTROLLING BEI KOMMUNALEN UNTERNEHMEN DER FFENTLICHE ZWECK ALS RICHTSCHNUR FR EIN ZIELGERICHTETE

Lesen Sie die Bedienungs-, Wartungs- und Sicherheitsanleitungen des mit REMUC zu steuernden Gerätes

Cameraserver mini. commissioning. Ihre Vision ist unsere Aufgabe

Top Tipp. Ref DE. Verwenden externer Dateiinhalte in Disclaimern. (sowie: Verwenden von Images in RTF Disclaimern)

ISO Reference Model

CABLE TESTER. Manual DN-14003

1.9 Dynamic loading: τ ty : torsion yield stress (torsion) τ sy : shear yield stress (shear) In the last lectures only static loadings are considered

Infrastructure as a Service (IaaS) Solutions for Online Game Service Provision

AKTIVE DVB-T ZIMMERANTENNE ANSCHLUSSHINWEISE ACTIVE DVB-T INDOOR ANTENNA CONNECTION INSTRUCTIONS

Correspondence between initialisation table and Common Criteria Evaluation

Level 1 German, 2015

TomTom WEBFLEET Tachograph

ALL1681 Wireless g Powerline Router Quick Installation Guide

My Reading-Log. Eine Hilfe beim Lesen von englischen Ganzschriften in der Schule. Hinweise zur technischen Umsetzung:

Dynamische Programmiersprachen. David Schneider STUPS

Lehrstuhl für Allgemeine BWL Strategisches und Internationales Management Prof. Dr. Mike Geppert Carl-Zeiß-Str Jena

Kapitel 5: 1-A. Yes? Can I help you? Verbs: to receive= bekommen. Kapitel 5: Klamotten kaufen

Automaten und formale Sprachen. Lösungen zu den Übungsblättern

MATLAB driver for Spectrum boards

B I N G O DIE SCHULE. Bingo card: Classroom Items abcteach.com

English grammar BLOCK F:

GAUSS towards a common certification process for GNSS applications using the European Satellite System Galileo

Die Kunst des Programmierens...

Shock pulse measurement principle

A study on computer-aided design of PIN-diode phase modulators at microwave frequencies

Mathematics (M4) (English version) ORIENTIERUNGSARBEIT (OA 11) Gymnasium. Code-Nr.:

Patentrelevante Aspekte der GPLv2/LGPLv2

Transkript:

Unit 6 Fuzzy Inference Fuzzy Logic I 159

Motivation Our ultimate goal is to be able to proceed IF-THEN rules involving vague linguistic expressions which are modeled by fuzzy sets. Question: What is still missing before we reach that goal? Nonchalantly speaking, fuzzy inference is about processing fuzzy rules. Fuzzy Logic I 160

The Basic Setup Let us in the following consider a system with n inputs and one output. Assume that we have n linguistic variables v 1 = (N 1, G 1, T 1, X 1, M 1 ),. =. v n = (N n, G n, T n, X n, M n ), associated to the n inputs of the system and one linguistic variable associated to the output: v y = (N y, G y, T y, X y, M y ) Fuzzy Logic I 161

Fuzzy Rule Base with m Rules IF cond 1 THEN action 1.... IF cond m THEN action m The conditions cond i and the actions action i are expressions built up according to an appropriate syntax. Fuzzy Logic I 162

An Example of a General Syntax for Conditions := exp ; exp := iscondition ( exp binary exp ) (not exp ) ; binary := and or ; iscondition := N i is lj i ; For some i = 1,..., n, N i may be expanded with the corresponding name of the i-th linguistic variable and lj i may be expanded with a corresponding term from T i. Fuzzy Logic I 163

A Simple Syntax for Actions := N y is l yj ; l yj may be expanded with a corresponding term from T y. Fuzzy Logic I 164

Example Consider a system with two inputs and one output: v 1 = (N 1 = ϕ, G 1, T 1 = { nb, ns, z, ps, pb }, X 1 = [ 30, 30], M 1 ), v 2 = (N 2 = ϕ, G 2, T 2 = { nb, ns, z, ps, pb }, X 2 = [ 30, 30], M 2 ), v y = (N y = f, G y, T y = { nb, ns, z, ps, pb }, X y = [ 100, 100], M y ) Fuzzy Logic I 165

Example (cont d) IF (ϕ is z and ϕ is z) THEN f is z IF (ϕ is ns and ϕ is z) THEN f is ns IF (ϕ is ns and ϕ is ns) THEN f is nb IF (ϕ is ns and ϕ is ps) THEN f is z.... How can we define a control function from these rules? [go to fuzzy sets] Fuzzy Logic I 166

What Do We Need? 1. We have to feed our input values into the system 2. We have to evaluate the truth values of the conditions 3. We have to come to some conclusions/actions for each rule 4. We have to come to an overall conclusion/action for the whole set of rules 5. We have to get an output value Steps 3 and 4 are usually considered the steps of actual Fuzzy Logic I 167

Steps 1 and 2 Assume that we are given n crisp input values x i X i (i = 1,..., n) and assume we have fixed a De Morgan triple (T, S, N). Then we can compute the truth value t(cond i ) of each condition cond i recursively in the following way (assuming the syntax from the above example): t(n i is l i j ) = µ M i (l i j )(x i) t(a and b) = T (t(a), t(b)) t(a or b) = S(t(a), t(b)) Fuzzy Logic I 168

Steps 3 and 4: Basic Remarks 1. It may happen that the conditions of two or more rules are fulfilled with a non-zero truth value 2. It may even happen that this is true for two or more rules with different (conflicting?) actions 3. This is not at all a problem, but a great advantage! 4. In any case, the following basic requirement is obvious: The higher the truth value of a rule s condition, the higher its influence on the output should be Fuzzy Logic I 169

Steps 3 and 4: Two Fundamental Approaches Deductive interpretation: Rules are considered as logical deduction rules (implications) Assignment interpretation: Rules are considered as conditional assignments (like in a procedural programming language) Both approaches have in common that separate output/action fuzzy sets are computed for each rule. Finally, the output fuzzy sets of all rules are aggregated into one global output fuzzy set. Fuzzy Logic I 170

Step 3 in the Deductive Interpretation We fix a fuzzy implication Ĩ in advance. Assume that we consider the i-th rule which looks as follows: IF cond i THEN N y is l y j Assume that the condition cond i is fulfilled with a degree of t i. Then the output fuzzy set O i is defined in the following way: µ Oi (y) = Ĩ ( t i, µ M(l y j )(y)) Fuzzy Logic I 171

An Example µ A (x) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 172

An Example I SM,N (0.4, µ A µ (x) S A (x)) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 172

An Example I SP SM,N (0.4, µ A µ (x) S A (x)) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 172

An Example TI SP SM,N (0.4, µ A µ (x) S A (x)) L (0.4, µ A(x)) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 172

An Example T I SP SM,N (0.4, µ A µ (x) S A (x)) P L (0.4, µ A(x)) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 172

Step 4 in the Deductive Interpretation We fix a t-norm T in advance. Assume that the output fuzzy sets O i of all rules (i = 1,..., m) have been computed. Then the output fuzzy set Õ is computed in the following way: µõ(y) = T ( µ O1 (y),..., µ Om (y) ) Fuzzy Logic I 173

Step 3 in the Assignment Interpretation We fix a t-norm T in advance. Assume that we consider the i-th rule which looks as follows: IF cond i THEN N y is l y j Assume that the condition cond i is fulfilled with a degree of t i. Then the output fuzzy set O i is defined in the following way: µ Oi (y) = T ( t i, µ M(l y j )(y)) Fuzzy Logic I 174

An Example µ A (x) 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 175

An Example T M (0.4, µ A µ (x)) A 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 175

An Example T P M (0.4, µ A µ (x)) A 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 175

An Example T L P M (0.4, µ A µ (x)) A 1 0.8 0.6 0.4 0.2 1 2 3 4 5 Fuzzy Logic I 175

Step 4 in the Assignment Interpretation We fix an aggregation operator à in advance. Assume that the output fuzzy sets O i of all rules (i = 1,..., m) have been computed. Then the output fuzzy set Õ is computed in the following way: µõ(y) = à ( µ O1 (y),..., µ Om (y) ) Fuzzy Logic I 176

Some Remarks The assignment interpretation is by far the more common one in practice. There is only one package that seriously offers the deductive interpretation (LFLC). It uses Ĩ = TL and T = T M. The most common variant of the assignment-based approach is T = T M and à = S M. This classical variant is better known as Mamdani/Assilian inference or max-min inference. Another common variant uses T = T P and the sum/arithmetic mean as aggregation Ã. This variant is often called sum-prod inference. Fuzzy Logic I 177

Example We consider the rule base from the previous example. [go back] We define the following fuzzy sets for variables with names ϕ and ϕ (left) and f (right): -30-20 -10 10 20 30-100-80-40-20 20 40 80 100 Fuzzy Logic I 178

A Deeper Look Inside Each truth value t i is from the unit interval and depending on the input vector (x 1,..., x n ). Therefore, we can consider t i as a fuzzy set on X 1 X n. For a given input vector (x 1,..., x n ) and an output value y X y, the degree of relationship via the rule base is given as Ĩ ( t i (x 1,..., x n ), µ M(l y j )(y)) or T ( t i (x 1,..., x n ), µ M(l y j )(y)). That means that each rule defines a fuzzy relation from X 1 X n to X y. Correspondingly, the whole rule base defines a fuzzy relation from X 1 X n to X y. Fuzzy Logic I 179

A Graphical Representation Output Input Fuzzy Logic I 180

What to Do With Fuzzy Inputs: CRI 1 Output 0 Input Fuzzy Logic I 181

Step 5: Defuzzification In many applications, we need a crisp value as output. following variants are common: The Mean of maximum (MOM): The output is computed as the center of gravity of the area where µõ takes the maximum, i.e. y dy where ξ MOM (Õ) := Ceil(Õ) Ceil(Õ) 1 dy, Ceil(Õ) := {y X y µõ(y) = {µõ(z) z X y }} Fuzzy Logic I 182

Step 5: Defuzzification (cont d) Center of gravity (COG): The output is computed as the center of gravity of the area under µõ: y µõ(y) dy ξ COG (Õ) := Xy Xy µõ(y) dy Center of area (COA): The output is computed as the point which splits the area under µõ into two equally-sized parts. Fuzzy Logic I 183

Summary: Deductive Interpretation 1. Feed our input values into the system: evaluate the truth degrees to which the inputs belong to the fuzzy sets associated to the linguistic terms 2. Evaluate the truth values of the conditions using fuzzy logical operations (a De Morgan triple (T, S, N)) 3. Compute the conclusions/actions for each rule by connecting the truth value of the condition with the output fuzzy set using a fuzzy implication Ĩ 4. Compute the overall conclusion/action for the whole set of rules by aggregating the output fuzzy sets with a t-norm T Fuzzy Logic I 184

Summary: Assignment Interpretation 1. Analogous 2. Analogous 3. Compute the conclusions/actions for each rule by connecting the truth value of the condition with the output fuzzy set using a t-norm T 4. Compute the overall conclusion/action for the whole set of rules by aggregating the output fuzzy sets with an aggregation operator à (most often a t-conorm) 5. Use defuzzification to get a crisp output value (optional) Fuzzy Logic I 185