Designing Antecedent Membership Functions

25
Designing Antecedent Membership Functions • Recommend designer to adopt the following design principles: – Each Membership function overlaps only with the closest neighboring membership functions; – For any possible input data, its membership values in all relevant fuzzy sets should sum to 1 (or nearly) ogic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

description

Designing Antecedent Membership Functions. Recommend designer to adopt the following design principles: Each Membership function overlaps only with the closest neighboring membership functions; - PowerPoint PPT Presentation

Transcript of Designing Antecedent Membership Functions

Page 1: Designing Antecedent Membership Functions

Designing Antecedent Membership Functions• Recommend designer to adopt the

following design principles:– Each Membership function overlaps

only with the closest neighboring membership functions;

– For any possible input data, its membership values in all relevant fuzzy sets should sum to 1 (or nearly)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 2: Designing Antecedent Membership Functions

Designing Antecedent Membership Functions

A Membership Function Design that violates the second principle

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 3: Designing Antecedent Membership Functions

Designing Antecedent Membership Functions

A Membership Function Design that violates both principle

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 4: Designing Antecedent Membership Functions

Designing Antecedent Membership Functions

A symmetric Function Design Following the guidelines

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 5: Designing Antecedent Membership Functions

Designing Antecedent Membership Functions

An asymmetric Function Design Following the guidelines

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 6: Designing Antecedent Membership Functions

Example: Furnace Temperature Control• Inputs

– Temperature reading from sensor– Furnace Setting

• Output– Power control to motor

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 7: Designing Antecedent Membership Functions

MATLAB: Create membership functions - Temp

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 8: Designing Antecedent Membership Functions

MATLAB: Create membership functions - Setting

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 9: Designing Antecedent Membership Functions

* Fuzzy Systems Toolbox, M. Beale and H Demuth

MATLAB: Create membership functions - Power

Page 10: Designing Antecedent Membership Functions

If - then - Rules

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Fuzzy Rules for Furnace control

SettingTemp Low Medium High

Cold Low Medium HighCool Low Medium High

Moderate Low Low LowWarm Low Low LowHot low Low Low

Page 11: Designing Antecedent Membership Functions

Antecedent Table

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 12: Designing Antecedent Membership Functions

Antecedent Table• MATLAB

– A = table(1:5,1:3);• Table generates matrix represents a

table of all possible combinations

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 13: Designing Antecedent Membership Functions

Consequence Matrix

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 14: Designing Antecedent Membership Functions

Evaluating Rules with Function FRULE

* Fuzzy Systems Toolbox, M. Beale and H Demuth

Page 15: Designing Antecedent Membership Functions

Design Guideline (Inference)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

• Recommend—Max-Min (Clipping) Inference method

be used together with the MAX aggregation operator and the MIN AND method

—Max-Product (Scaling) Inference method be used together with the SUM aggregation operator and the PRODUCT AND method

Page 16: Designing Antecedent Membership Functions

Example: Fully Automatic Washing Machine

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 17: Designing Antecedent Membership Functions

Example: Fully Automatic Washing Machine

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

• Inputs—Laundry Softness—Laundry Quantity

• Outputs—Washing Cycle—Washing Time

Page 18: Designing Antecedent Membership Functions

Example: Input Membership functions

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 19: Designing Antecedent Membership Functions

Example: Output Membership functions

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 20: Designing Antecedent Membership Functions

Example: Fuzzy Rules for Washing Cycle

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Quantity

SoftnessSmall Medium Large

Soft Delicate Light Normal

NormalSoft

Light Normal Normal

NormalHard

Light Normal Strong

Hard Light Normal Strong

Page 21: Designing Antecedent Membership Functions

Example: Control Surface View (Clipping)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 22: Designing Antecedent Membership Functions

Example: Control Surface View (Scaling)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 23: Designing Antecedent Membership Functions

Example: Control Surface View

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

ScalingClipping

Page 24: Designing Antecedent Membership Functions

Example: Rule View (Clipping)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall

Page 25: Designing Antecedent Membership Functions

Example: Rule View (Scaling)

* Fuzzy Logic: Intelligence, control, and Information, J. Yen and R. Langari, Prentice Hall