31.10.2014 Views

What Is Fuzzy Logic?

What Is Fuzzy Logic?

What Is Fuzzy Logic?

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Fuzzy</strong> Inference Systems<br />

Mamdani-type inference, asdefined for the toolbox, expects the output<br />

membership functions to be fuzzy sets. After the aggregation process,<br />

there is a fuzzy set for each output variable that needs defuzzification. It<br />

is possible, and in many cases much more efficient, to use a single spike<br />

as the output membership function rather than a distributed fuzzy set.<br />

This type of output is sometimes known as a singleton output membership<br />

function, and it can be thought of as a pre-defuzzified fuzzy set. It enhances<br />

the efficiency of the defuzzification process because it greatly simplifies the<br />

computation required by the more general Mamdani method, which finds the<br />

centroid of a two-dimensional function. Rather than integrating across the<br />

two-dimensional function to find the centroid, you use the weighted average<br />

of a few data points. Sugeno-type systems support this type of model. In<br />

general, Sugeno-type systems can be used to model any inference system in<br />

which the output membership functions are either linear or constant.<br />

Overview of <strong>Fuzzy</strong> Inference Process<br />

This section describes the fuzzy inference process and uses the example of<br />

the two-input, one-output, three-rule tipping problem “The Basic Tipping<br />

Problem” on page 1-12 that you saw in the introduction in more detail. The<br />

basic structure of this example is shown in the following diagram:<br />

Dinner for Two<br />

a 2 input, 1 output, 3 rule system<br />

Input 1<br />

Service (0-10)<br />

Input 2<br />

Food (0-10)<br />

Rule 1<br />

Rule 2<br />

Rule 3<br />

If service is poor or food is rancid,<br />

then tip is cheap.<br />

If service is good, then tip is average.<br />

If service is excellent or food is<br />

delicious, then tip is generous.<br />

S<br />

Output<br />

Tip (5-25%)<br />

The inputs are crisp<br />

(non-fuzzy)<br />

numbers limited to a<br />

specific range.<br />

All rules are<br />

evaluated in parallel<br />

using fuzzy<br />

reasoning.<br />

The results of the<br />

rules are combined<br />

and distilled<br />

(defuzzified).<br />

The result is a<br />

crisp (non-fuzzy)<br />

number.<br />

2-21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!