Fuzzy Logic Tutorial: What Is, Application & Example
Fuzzy Logic Tutorial: What Is, Application & Example
Fuzzy Logic Tutorial: What Is, Application & Example
Example
What Is Fuzzy Logic?
The term fuzzy mean things which are not very clear or vague. In real life, we
may come across a situation where we can't decide whether the statement is true
or false. At that time, fuzzy logic offers very valuable flexibility for reasoning. We
can also consider the uncertainties of any situation.
Fuzzy logic helps to solve a problem after considering all available data. Then it
takes the best possible decision for the given the input. The FL method imitates
the way of decision making in a human which consider all the possibilities
between digital values T and F.
Fuzzy logic has been applied to various fields, from control theory to AI. It was
designed to allow the computer to determine the distinctions among data which is
neither true nor false. Something similar to the process of human reasoning. Like
Little dark, Some brightness, etc.
1|Page
Here, are some important characteristics of fuzzy logic:
Here, are certain situations when you better not use Fuzzy Logic:
Fuzzy Logic architecture has four main parts as shown in the diagram:
Rule Base:
It contains all the rules and the if-then conditions offered by the experts to control
the decision-making system. The recent update in fuzzy theory provides various
methods for the design and tuning of fuzzy controllers. This updates significantly
reduce the number of the fuzzy set of rules.
2|Page
Fuzzification:
Fuzzification step helps to convert inputs. It allows you to convert, crisp numbers
into fuzzy sets. Crisp inputs measured by sensors and passed into the control
system for further processing. Like Room temperature, pressure, etc.
Inference Engine:
It helps you to determines the degree of match between fuzzy input and the rules.
Based on the % match, it determines which rules need implment according to the
given input field. After this, the applied rules are combined to develop the control
actions.
Defuzzification:
At last the Defuzzification process is performed to convert the fuzzy sets into a
crisp value. There are many types of techniques available, so you need to select
it which is best suited when it is used with an expert system.
Fuzzy: Tom's degree of membership Probability: There is a 90% chance that Tom is
within the set of old people is 0.90. old.
3|Page
True/False {0,1} Membership values on [0,1]
In Crisp logic law of Excluded Middle In the fuzzy logic law of Excluded Middle and
and Non- Contradiction may or may not Non- Contradiction hold
hold
Classes of objects with sharp Classes of objects do not have sharp boundaries.
boundaries.
A classical set is defined by crisp A fuzzy set always has ambiguous boundaries, i.e.,
boundaries, i.e., there is clarity about there may be uncertainty about the location of the
the location of the set boundaries. set boundaries.
4|Page
Application Areas of Fuzzy Logic
The Blow given table shows how famous companies using fuzzy logic in their
products.
5|Page
Elevator control Fujitec, Mitsubishi Use it to reduce waiting for
Electric, Toshiba time-based on passenger traffic
6|Page
Fuzzy systems don't have the capability of machine learning as-well-as
neural network type pattern recognition
Validation and Verification of a fuzzy knowledge-based system needs
extensive testing with hardware
Setting exact, fuzzy rules and, membership functions is a difficult task
Some fuzzy time logic is confused with probability theory and the terms
Summary
The term fuzzy mean things which are not very clear or vague
The term fuzzy logic was first used with 1965 by Lotfi Zadeh a professor of
UC Berkeley in California
Fuzzy logic is a flexible and easy to implement machine learning technique
Fuzzy logic should not be used when you can use common sense
Fuzzy Logic architecture has four main parts 1) Rule Basse 2)
Fuzzification 3) Inference Engine 4) Defuzzification
Fuzzy logic takes truth degrees as a mathematical basis on the model of
the vagueness while probability is a mathematical model of ignorance
Crisp set has strict boundary T or F while Fuzzy boundary with a degree of
membership
A classical set is widely used in digital system design while fuzzy set Used
only in fuzzy controllers
Auto transmission, Fitness management, Golf diagnostic system,
Dishwasher, Copy machine are some applications areas of fuzzy logic
Fuzzy logic helps you to control machines and consumer products
7|Page