Fuzzification
•Definition:Fuzzification is the process of converting crisp input
values into fuzzy sets.
•Purpose:Allows handling of imprecise or vague inputs in fuzzy
logic systems.
•Example:For temperature = 25°C, determine membership in
fuzzy sets like "Cold," "Cool," "Warm," and "Hot."
Fuzzy Inferencing
•Definition:Fuzzy inferencing is a method used in fuzzy logic
systems to derive decisions or actions based on fuzzy logic rules and
fuzzy input data.
•Objective:It aims to process imprecise or vague inputs to produce
meaningful and actionable outputs.
•Components:Fuzzy inferencing typically involves fuzzification, rule
evaluation, aggregation of rules, and defuzzification.
Aggregation of all outputs
•Definition:Combines the outputs of individual rules to
generate a comprehensive fuzzy inference.
•Methods:Includes methods like Maximum, Minimum, and
Average for combining fuzzy outputs.
•Purpose:Integrates multiple rules' outputs to derive a
coherent response or action.
•Example:Aggregates outputs from rules like "Increase air
conditioning" and "Reduce heating" to determine overall HVAC
control.
Generic Method
●Mainstepsare
−Evaluatetheantecedentforeachrule
−Obtaineachrule'sconclusion
−Aggregateconclusions
−Defuzzification
●Wewillexplainthesestepsusinganexampleof
TippingProblem
●Two inputs: Quality of food and Service at a restaurant
rated at scale from 0-10
●One output: Amount of tip to be given
●Tip should reflect the quality of the food and service.
●The tip might be in the range 5-15% of total bill paid.
Introduction
●MATLAB fuzzy logic toolbox provides facility for the
development of fuzzy-logic systems using
−graphical user interface (GUI) tools
−command line functionality
●There are five primary GUI tools
−Fuzzy Inference System (FIS) Editor
−Membership Function Editor
−Rule Editor
−Rule Viewer
−Surface Viewer
GUI Tools
Fuzzy Inference System (FIS)
Editor
Membership Function Editor
Display & edit
values of current
variable
Select & edit
attributes of
membership
function
Name & edit
parameters of
membership
function
Rule Editor
Create and edit
rules
Rules –
automatically
updated
Rule Viewer
Shows how output
variable is used in
rules; shows
output of fuzzy
system
Shows how input
variable is used in
rules