Fuzzy Logic Technique
Fuzzy Logic Technique
LOGIC
1
INTRODUCTION
2
INTRODUCTION
8. Fuzzy logic idea is similar to the human being’s feeling and inference
process.
9. Unlike classical control strategy, which is a point-to-point control,
fuzzy logic control is a range-to-point or range-to-range control.
10. The output of a fuzzy controller is derived from fuzzifications of both
inputs and outputs using the associated membership functions.
11. A crisp input (an element is either a member of the set or not) will be
converted to the different members of the associated membership
functions based on its value. 4
INTRODUCTION
12. From this point of view, the output of a fuzzy logic controller is
based on its memberships of the different membership functions,
which can be considered as a range of inputs.
13. Fuzzy ideas and fuzzy logic are so often utilized in our routine life
that nobody even pays attention to them.
14. For instance, to answer some questions in certain surveys, most time
one could answer with 'Not Very Satisfied' or 'Quite Satisfied', which
are also fuzzy or ambiguous answers.
5
INTRODUCTION
8
WHAT IS FUZZY LOGIC?
9
WHAT IS FUZZY LOGIC?
1. Why Fuzzy
1. As Zadeh said, the term is concrete, immediate and descriptive;
we all know what it means. However, many people in the West
were repelled by the word fuzzy, because it is usually used in a
negative sense.
2. Why Logic
1. Fuzziness rests on fuzzy set theory, and fuzzy logic is just a small
part of that theory.
10
11
HOW FUZZY WORKS?
1. Fuzzy logic works on the concept on deciding the output on the basis
of assumptions.
2. It works on the basis of sets.
3. Each set represents some linguistic variable defining the possible
state of the output.
4. Each possible state of the input and the degrees of change of the state
are a part of the set, depending upon which the output is predicted.
5. It basically works on the principle of If-else-then, i.e. If A AND B
Then Z. 12
HOW FUZZY WORKS?
13
HOW FUZZY WORKS?
14
15
HOW FUZZY LOGIC IS IMPLEMENTED
16
CONVENTIONAL vs. FUZZY
Components of a ...
conventional expert fuzzy
system system
precise value
physical physical
device device
fuzzy
fuzzifier value
precise
precise precise
value
value value
fuzzy
model
knowledge
model
fuzzy defuzzifier 17
value
CONVENTIONAL vs. FUZZY
18
CONVENTIONAL vs. FUZZY
20
LOGICAL VALUES IN BOOLEAN AND
FUZZY LOGIC
21
FUZZY SET OPERATION
1. The basic fuzzy set operations also include intersection, union and
complement.
23
LINGUISTIC VARIABLES
28
FUZZIFICATION
1. Fuzzy Inference is the operation that uses the rule base and the alpha
values to deduce the fuzzy output.
2. The fuzzy inference involves two steps: finding the output of each of
rule, and aggregating the individual rule outputs to obtain the overall
system output.
3. The algorithm of FLC is based on three paradigms:
1. The AND operation between the antecedents of the rules
2. The OR operator between the individual rules
3. The fuzzy implication interpreted as an ADD operation. 31
FUZZY INFERENCE (CONTROLLER)
1. A common set of interpretations for the three operators is: min for
AND, max for OR, and min for ADD. This becomes the min-max
method.
2. Another commonly used interpretation of these operator is to use
multiplicative operation for ADD and/or AND operator. This results
in the max-dot method.
3. The Mamdani model (1974) – Employs either the max-min method
or the max-dot method, which generate an inferred conclusion by
suppressing the membership function of the consequence. 32
FUZZY INFERENCE (CONTROLLER)
34
DEFUZZIFICATION
36
FUZZY LOGIC MEMBERSHIP
FUNCTION
37
38
FUZZY LOGIC MAPPING RULES
1. The rows and columns represent two inputs, the temperature input
and the change rate of the temperature input, and those inputs are
related to IF parts in IF-THEN rules.
41
FUZZY LOGIC MAPPING RULES
42
FUZZY LOGIC MAPPING RULES
1. Step One
1. Define the control objectives and criteria.
2. Consider question like
1. What is trying to be controlled?
2. What has to be done to control the system?
3. What kind of response is needed?
4. What are the possible (probable) system failure modes?
2. Step Two
1. Determine input and output relationships
2. Determine the least number of variables for inputs to the fuzzy
44
logic system
FUZZY LOGIC PROCEDURE
3. Step Three
1. Break down the control problem into a series of IF X AND Y,
THEN Z rules based on the fuzzy logic rules.
2. These IF X AND Y, THEN Z rules should define the desired
system output response for the given systems input conditions.
4. Step Four
1. Create a fuzzy logic membership function that defines the
meaning or values of the input and output terms used in the rules
45
FUZZY LOGIC PROCEDURE
5. Step Five
1. After the membership functions are created, program everything
then into the fuzzy logic system
6. Step Six
1. Finally, test the system, evaluate results and make the necessary
adjustments until a desired result is obtain
46
ADVANTAGES OF FUZZY LOGIC
47
LIMITATIONS OF FUZZY LOGIC
48
EXAMPLE
49
EXAMPLE
52
EXAMPLE
54
EXAMPLE
55
EXAMPLE
56
57
EXAMPLE
58
EXAMPLE
60
EXAMPLE
62