Unit 4 Notes Intelligent System and Fuzzy Logic
Unit 4 Notes Intelligent System and Fuzzy Logic
Fuzzification may be defined as the process of transforming a crisp set to a fuzzy set or a fuzzy
set to fuzzier set. Basically, this operation translates accurate crisp input values into linguistic
variables. In a number of engineering applications, it is necessary to defuzzify the result or rather
"fuzzy result" so that it must be converted to crisp result.
Fuzzification is done by recognizing various assumed crisp quantities as the non-deterministic and
completely uncertain in nature. This uncertainty may be emerged because of imprecision and
uncertain that lead variables to be presented by a membership function because they can be fuzzy
in nature.
Fuzzification translates the crisp input data into linguistic variables which are represented by fuzzy
sets. After that, it applies the membership functions to measure and determine the degree of
membership.
What is Defuzzification?
Defuzzification may be defined as the process of reducing a fuzzy set into a crisp set or to convert
a fuzzy member into a crisp member. Mathematically, the process of Defuzzification is also
called "rounding it off". Defuzzification basically transforms an imprecise data into precise data.
However, it is a relatively complex to implement defuzzification as compared to fuzzification.
Defuzzification is basically the reverse process of fuzzification because it converts the fuzzy data
into crisp data. In some practical implementations, the defuzzification process is required for crisp
control actions to operate the control.
Now, let us discuss the differences between fuzzification and defuzzification.
1. Rule Base
Rule Base is a component used for storing the set of rules and the If-Then conditions given by the
experts are used for controlling the decision-making systems. There are so many updates that come
in the Fuzzy theory recently, which offers effective methods for designing and tuning of fuzzy
controllers. These updates or developments decreases the number of fuzzy set of rules.
2. Fuzzification
Fuzzification is a module or component for transforming the system inputs, i.e., it converts the
crisp number into fuzzy steps. The crisp numbers are those inputs which are measured by the
sensors and then fuzzification passed them into the control systems for further processing. This
component divides the input signals into following five states in any Fuzzy Logic system:
3. Inference Engine
This component is a main component in any Fuzzy Logic system (FLS), because all the
information is processed in the Inference Engine. It allows users to find the matching degree
between the current fuzzy input and the rules. After the matching degree, this system determines
which rule is to be added according to the given input field. When all rules are fired, then they are
combined for developing the control actions.
4. Defuzzification
Defuzzification is a module or component, which takes the fuzzy set inputs generated by
the Inference Engine, and then transforms them into a crisp value. It is the last step in the process
of a fuzzy logic system. The crisp value is a type of value which is acceptable by the user. Various
techniques are present to do this, but the user has to select the best one for reducing the errors.
Methods: There are several methods for defuzzification, including the centroid of area,
smallest of maximum, largest of maximum, and bisector of area. The centroid method is
a common choice.
Purpose: Defuzzification is needed because controller circuits in real-world
applications can only understand scalar inputs.
Selection: The defuzzification method chosen depends on the context of the design.
Defuzzification methods
A number of defuzzification methods are known. Such as
1. Lambda-cut method
2 Weighted average method
3 Maxima methods
4 Centroid methods
Lambda-cut method
Lmabda-cut method is applicable to derive crisp value of a fuzzy set or relation. Thus
1. Lambda-cut method for fuzzy set
2. Lambda-cut method for fuzzy relation
In many literature, Lambda-cut method is also alternatively termed as
Alph-cut method.
Lamda-cut method for fuzzy set
1. In this method a fuzzy set A is transformed into a crisp set A λ for given value of λ (0
<= λ <=1)2
2. In other-words, Aλ = { x | µA(X) >= λ } λ € (0,1)
3. That is, the value of Lambda-cut set Aλ is x, when the membership value
corresponding to x is greater than or equal to the specified λ.
4 This Lambda-cut set A_ is also called alpha-cut set.
The set Aλ is called a weak lambda-cut set if it consists of all the elements of a fuzzy set
whose membership functions have values greater than or equal to a specified value. On the other
hand, the set Aλ is called a Strong lambda-cut set if it consists of all the elements of a fuzzy set
whose membership functions have values strictly greater than specified value. A strong λ-cut set
is given by
There exist certain limitations for the shapes used to represent graphical form of membership
function. The rules that describe fuzziness graphically are also fuzzy.
Membership function can be thought of as a technique to solve empirical problems on the basis
of experience rather than knowledge. Available histograms and other probability information canalso
help in constructingthe membership function.
There are several ways to characterize fuzziness; In a similar way, there are severalways to
graphically construct a membership function that describes fuzziness.
The membership value ranges in the interval [0,1], i.e the range of the membership function is a
subset of the non-negative real numbers whose supremum is finite .
l. Core:The core of a membership function for some fuzzy set is defined as that region of universe is
characterized by complete membership in the set . The core has elements x of the universe such that
The core of a fuzzy set may be an empty set.
2. Support:The support of a membership function for a fuzzy set is defined as that region of universe
thatis characterized by a nonzero membership in the set . The support comprises elements x from the
universesuch that
A fuzzy set whose support is a single element in Xwith is referred to as a fuzzy singleton.
3.Boundary: The support of a membership function for a fuzzy set is defined as that region of
universecontaining elements that have a non zero but not complete membership. The boundary
comprises thoseelements of x of the universe such that
Afuzzy set possessing characteristics opposite to that of convex fuzzy set is called
nonconvexfuzzyset, i.e., the membership values of the membership functionare not strictly
monotonically increasing or decreasing or strictly monotonically increasing than decreasing.
Fuzzification
Fuzzification is the process of transforming a crisp set to a fuzzy set or a fuzzy set to a fuzzier set,
i.e.,crisp quantities are converted to fuzzy quantities. This operation translates accurate crisp input
values into linguistic variables.
1. Intuition
2. Inference
3. Rank Ordering
4. Angular Fuzzy Sets
5. Neural Networks
6. Genetic Algorithm
7. Inductive Reasoning.
1.Intuition
Intuition method is based upon the common intelligence ofhuman. It is the capacity of the human to
developmembership functions on the basis of their own intelligence and understanding capacity. There
should be an in-depth knowledge of the application to whichmembership value assignment has to be
made.
The Figure below shows various shapes of weights of people measured in kilogram in the
universe. Each curve is a membershipfunction corresponding to various fuzzy (linguistic) variables; such
as very light, light, normal, heavy andvery heavy.
The curves are based on context functions and the human developing them. For example, if
theweights are referred to range of thin persons we get one set of curves, and if they are referred to
range ofnormal weighing persons we get another set and so on. The main characteristics of these curves
for their usagein fuzzy operationsare based on their overlapping capacity.
2)Inference
The inference method uses knowledge to perform deductive reasoning. Deduction achieves conclusion
bymeans of forward inference. There are various methods for performing deductive reasoning.
Here the knowledgeof geometrical shapes and geometry is used for defining membership
values. The membership functionsmay be defined by various shapes: triangular, trapezoidal, bell-
shaped, Gaussian and so on. The inferencemethod here is discussed via triangular shape.
There are various types of triangles available. Here a few are considered to explain inference
methodology:
The membe rship value of approximate right - angle triangle is given by·
The membership value of approximate isosceles right angle triangle is obtained by raking the logical
intersection of the approximate isosceles and approximate right-angle triangle membership
function.i.e.,
,
The membership function of other triangles, denoted by, is the complement of the. logical union of
and i.e.,
Rank Ordering
The formation of government is based on the polling concept; to identify a best student, ranking
may beperformed; to buy a car, one can ask for several opinions and so on.
All the above mentioned activities are carriedout on the basis of the preferences made by an
individual, a committee, a poll and other opinion methods.
This methodology can be adapted to assign membership values to a fuzzy variable. Pairwise
comparisons enable us to determine preferences and this results in determining the order of the
membership.
Lambda –cuts for fuzzy sets (Alpha-Cuts)
Consider a fuzzy set The set ,called the lambda (λ)- cut or (alpha cut [α]-cut)set, is a crisp
set of the fuzzy set and is defined as follows:
The setAλ.is called a weak lambda-cut set if it consists of all the elements of a fuzzy set whose
membershipfunctions have values greater than or equal to a specified value. On the other hand, the
setAλ, is called a Strong lambda-cut set if it consists ofall the elements of a fuzzy set whose membership
functions have values strictlygreater than specified value. A strong λ-cut set is given by
The fourth property is essentially used in graphics. The figure below shows a continuousvalued
fuzzy with two λ-cut values.
Consider a fuzzy output comprising two parts: the first part, , a triangular membership shape as
shown in following Figure:
A fuzzy output process may involve many output parts, and the membership function
representingeachpart of the output can have any shape. The membership function of the fuzzy output
need not always be normal. In general,
1. Max-membership principle.
2. Centroid method 3. Weighted average
method.
4. Mean-max membership.
5. Center of sums.
6. Center oflargest area.
7. First of maxima, last of maxima.
1) Max-Membership Principle
This method is also known as height method and is limited to peak output functions. This
method is givenby the algebraic expression
This method is also known as center of mass, center of area or center of gravity method.It is the
mostcommonly used defuzzification method. The defuzzified output x* is defined as
4) Mean-Max Membership
This method is also known as the middle of the maxima. This is closely related to max-
membershipmethod, except that the locations of the maximum membership can be nonunique. The
output here isgiven by
5) Center of Sums
This method employs the algebraic sum of the individual fuzzy subsets instead oftheir union.
The calculations here are very fast, but the main drawback is that intersectingareas are added twice.
The defuzzified value x* is given by
The Figure below illustrates the center of sums method. In center of sums method, the weights
are the areas ofthe respective membership functions, whereas in the weighted average method the
weights are individual membership
v al ues .
This method uses the overall output or union of all individual output fuzzysets for determining
the smallest value of the domain with maximized membershipin .The steps used for obtaining
x*areas follows: