october 13, 2005 0 matlab fuzzy logic toolbox intelligent control

22
October 13, 2005 October 13, 2005 1 MATLAB Fuzzy Logic Toolbox MATLAB Fuzzy Logic Toolbox Intelligent Control

Upload: myles-sparks

Post on 01-Jan-2016

282 views

Category:

Documents


9 download

TRANSCRIPT

Page 1: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 1

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic ToolboxIntelligent Control

Page 2: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 2

Introduction

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 3: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 3

Introduction

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 4: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 4

The MATLAB fuzzy logic toolbox facilitates the development of fuzzy-logic systems using:

• graphical user interface (GUI) tools

• command line functionality

The tool can be used for building

• Fuzzy Expert Systems

• Adaptive Neuro-Fuzzy Inference Systems (ANFIS)

IntroductionIntroduction

Page 5: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 5

Three Interfaces:

matlab/simulink/

independent code

General VisionGeneral Vision

Page 6: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 6

Graphical User Interface (GUI) Tools

There are five primary GUI tools for building, editing, and observing fuzzy inference systems in the Fuzzy Logic Toolbox:

• Fuzzy Inference System (FIS) Editor

• Membership Function Editor

• Rule Editor

• Rule Viewer

• Surface Viewer

IntroductionIntroduction

Page 7: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 7

Graphical User Interface (GUI) Tools

IntroductionIntroduction

Page 8: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 8

Introduction

Example: Dinner for two

MATLAB Fuzzy Logic ToolboxMATLAB Fuzzy Logic Toolbox

Page 9: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 9

Building a FIS from scratchBuilding a FIS from scratch

The Basic Tipping Problem.The Basic Tipping Problem.   Given a   Given a number between 0 and 10 that represents number between 0 and 10 that represents the quality of service at a restaurant the quality of service at a restaurant (where 10 is excellent), and another (where 10 is excellent), and another number between 0 and 10 that represents number between 0 and 10 that represents the quality of the food at that restaurant the quality of the food at that restaurant (again, 10 is excellent), what should the tip (again, 10 is excellent), what should the tip be?be?

Page 10: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 10

Example: Dinner for twoExample: Dinner for two

Golden rules for tipping:

1. IF the service is poor OR the food is rancid, THEN tip is cheap (5%).

2. IF the service is good, THEN tip is average (15%).

3. IF the service is excellent OR the food is delicious, THEN tip is generous (25%).

Page 11: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 11

Fuzzy Logic Toolbox (GUI)Fuzzy Logic Toolbox (GUI)

Start the toolbox:Start the toolbox:

Page 12: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 12

Example: Dinner for twoExample: Dinner for two

Fuzzy Inference System (FIS) Editor

Page 13: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 13

Fuzzy Inference System (FIS) EditorFIS EditorFIS Editor

Page 14: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 14

Example: Dinner for twoExample: Dinner for two

Membership Function Editor

Page 15: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 15

Fuzzy Inference System (FIS) EditorMembership Function EditorMembership Function Editor

Page 16: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 16

Example: Dinner for twoExample: Dinner for two

Rule Editor

Page 17: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 17

Fuzzy Inference System (FIS) EditorRule EditorRule Editor

Page 18: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 18

Example: Dinner for twoExample: Dinner for two

Rule Viewer

Page 19: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 19

Fuzzy Inference System (FIS) EditorRule ViewerRule Viewer

Page 20: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 20

Example: Dinner for twoExample: Dinner for two

Page 21: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 21

Example: Dinner for twoExample: Dinner for two

Surface Viewer

Page 22: October 13, 2005 0 MATLAB Fuzzy Logic Toolbox Intelligent Control

October 13, 2005October 13, 2005 22

Fuzzy Inference System (FIS) EditorSurface ViewerSurface Viewer