1- INTRODUCTION TO FUZZY LOGIC                                3

2-The Fuzzy Logic                                                                4

2-1 THE FUZZY LOGIC CONCEPT                                4

2-2 DEFINING FUZZY SETS                                                         5

2-3 DEFINING FUZZY SETS MATHEMATICALLY                                6

2-4 DEFINING FUZZY OPERATIONS                                                8

2-5 MAKING FUZZY DECISIONS                                                        9

2-6 FUZZY CONTROL                                                                12

3- Matlab Fuzzy Logic toolbox                                13

3-1 INTRODUCTION                                                                          13

3-2 Graphical User Interface                                                          14

REFERENCES                                

Chapter-1

INTRODUCTION TO FUZZY LOGIC

Fuzzy logic is all about the relative importance of precision: How important is it to be exactly right when a rough answer will do? All books on fuzzy logic begin with a few good quotes on this very topic, and this is no exception. Here is what some clever people have said in the past ( Precision is not truth).

Henri Matisse

Sometimes the more measurable drives out the most important.

René Dubos

Vagueness is no more to be done away with in the world of logic than friction in mechanics.

Charles Sanders Peirce

I believe that nothing is unconditionally true, and hence I am opposed to every statement of positive truth and every man who makes it.

H. L. Mencken

So far as the laws of mathematics refer to reality, they are not certain. And so far as they are certain, they do not refer to reality.

Albert Einstein

As complexity rises, precise statements lose meaning and meaningful statements lose precision.

Fuzzy logic is a fascinating area of research because it does a good job of trading off between significance and precision something that humans have been managing for a very long time.  

Chapter – 2

2-The Fuzzy Logic

2-1 THE FUZZY LOGIC CONCEPT

    The way that people think is inherently fuzzy. The way that we perceive the world is continually changing and cannot always be defined in true or false statements. Take for example the set of all the apples and all the apple cores in the world. Now take one of those apples; it belongs to the set of all apples. Now take a bite out of that apple; it is still an apple right? If so, it still belongs to the set of apples, Figure 1 . After several more bites have been taken and you are left with an apple core and it belongs to the set of apple cores. At what point did the apple cross over from being an apple to being an apple core? What if you could get one more bite out of that apple core, does that move it into a different set?

Figure 1: set of apples

The definition of the apple and apple core sets are too strictly defined when looking at the process of eating an apple. The area between the two sets is not clearly defined since the object cannot belong to the set of apples and apple cores because, by definition, an apple core is NOT an apple. The sets defining apples and apple cores need to be redefined as fuzzy sets.

    A fuzzy set allows for its members to have degrees of membership. If the value of 1 is assigned to objects entirely within the set and a 0 is assigned to objects outside of the set, then any object partially in the set will have a value between 0 and 1. The number assigned to the object is called its degree of membership in the set. So an apple with one bite out of it may have a degree of membership of 0.9 in the set of apples. This does not mean that it has to have a degree of membership of 0.1 in the set of apple cores though. However as the apple is eaten it looses its membership in the fuzzy set of apples and gains membership in the fuzzy set of apple cores.

2-2 DEFINING FUZZY SETS

    In mathematics a set, by definition, is a collection of things that belong to some definition. Any item either belongs to that set or does not belong to that set. Let us look at another example; the set of tall men. We shall say that people taller than or equal to 6 feet are tall. This set can be represented graphically as follows, Figure 2:

Figure 2: sharp-edged membership of the 'tall' set

The function shown above describes the membership of the 'tall' set, you are either in it or you are not in it. This sharp edged membership functions works nicely for binary operations and mathematics, but it does not work as nicely in describing the real world. The membership function makes no distinction between somebody who is 6'1" and someone who is 7'1", they are both simply tall. Clearly there is a significant difference between the two heights. The other side of this lack of disctinction is the difference between a 5'11" and 6' man. This is only a difference of one inch, however this membership function just says one is tall and the other is not tall.

The fuzzy set approach to the set of tall men provides a much better representation of the tallness of a person, Figure 3. The set, shown below, is defined by a continuously inclining function.

 Figure 3: fuzzy set  membership of the 'tall' set

   The membership function defines the fuzzy set for the possible values underneath of it on the horizontal axis. The vertical axis, on a scale of 0 to 1, provides the membership value of the height in the fuzzy set. So for the two people shown above the first person has a membership of 0.3 and so is not very tall. The second person has a membership of 0.95 and so he is definitely tall. He does not, however, belong to the set of tall men in the way that bivalent sets work; he has a high degree of membership in the fuzzy set of tall men.

2-3 DEFINING FUZZY SETS MATHEMATICALLY

Join now!

    Fuzzy sets were first proposed by Lofti A. Zadeh in his 1965 paper entitled none other than: Fuzzy Sets. This paper laid the foundation for all fuzzy logic that followed by mathematically defining fuzzy sets and their properties. The definition of a fuzzy set then, from Zadeh's paper is:

    This definition of a fuzzy set is like a superset of the definition of a set in the ordinary sense of the term. The grades of membership of 0 and 1 correspond to the two possibilities of truth and false in an ordinary set. The ordinary Boolean operators that are used to ...

This is a preview of the whole essay