100% found this document useful (2 votes)
340 views22 pages

Fuzzy Controllers

Fuzzy controllers are based on modeling human decision-making and can handle imprecise data using fuzzy logic and fuzzy sets. They use linguistic variables and membership functions to model processes. Rules are defined using these linguistic variables as inputs and outputs. When multiple rules are active, conflict resolution determines the system's response. Fuzzy controllers allow modeling systems that are difficult to describe precisely.

Uploaded by

CGS Gunasekara
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (2 votes)
340 views22 pages

Fuzzy Controllers

Fuzzy controllers are based on modeling human decision-making and can handle imprecise data using fuzzy logic and fuzzy sets. They use linguistic variables and membership functions to model processes. Rules are defined using these linguistic variables as inputs and outputs. When multiple rules are active, conflict resolution determines the system's response. Fuzzy controllers allow modeling systems that are difficult to describe precisely.

Uploaded by

CGS Gunasekara
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 22

Fuzzy Controllers

Presentation
By
CGS Gunasekara
Overview

 Introduction
 Control parameters
 Modeling method
 Conflict Resolution and Decision Making
Fuzzy controllers…………
Fuzzy controllers are based on three
things,
 Base the controller on human
operator experience / knowledge.
knowledge.
 Model the control action of a human

operator
 Based on a fuzzy model of the

process..
process
Control parameters
 Main control parameters of a fuzzy
controller are linguistic variables.
variables.
 A Linguistic variable can only take
linguistic values .
 Ex:-- (small, medium , large,)
Ex: large,) which
can be represented as (S,M,L )
 (Very Small , small, medium ,large,
large) which can be represented
very large)
as (VS,S,M,L,VL)
Modelling method
 Fuzzy controllers use fuzzy logic to
model a system and to organize the
data in a knowledge base.
base.
 Conventional methods can not be
used to store the data .
 Data is not precise, Unclear ; fuzzy
Precise Vs Fuzzy Statements
 Examples :- :-
 fuzzy statements.
 A is tall
tall.. B is very tall.
tall.
 It is cold out side .
 Precise statements
• A is 5’7’’ tall.
• Temperature out side is 24
centigrade.
Fuzzy sets
 In fuzzy logic ,the
imprecise data being
considered are called fuzzy
sets.(proposed
sets .(proposed by Ladeh
Zadeh in 1965)
 It is a generalization of set
theory that allows partial
membership in a set .
 Membership is a real
number with a range
(0.1)
 Membership functions
are commonly trangular
or Gaussian .(for ease
of computation)
Membership function
 The membership function is a
graphical representation of the
magnitude of participation of
each input.
 It associates a weighting with
each of the inputs that are
processed, define functional
overlap between inputs, and
ultimately determines an
output response.
 The rules use the input
membership values as
weighting factors to determine
their influence on the fuzzy
output sets of the final output
conclusion.
Control system and response
 Membership function which shows the linguistic
variable of error input. .
 It has three states , negative error, zero error ,
positive error
Modelling the system
 Linguistic variables are used to represent
an FL system's operating parameters. The
rule matrix is a simple graphical tool for
mapping the FL control system rules.
 It accommodates two input variables and
expresses their logical product (AND) as
one output response variable.
 To use, define the system using plain-
plain-
English rules based upon the inputs,
decide appropriate output response
conclusions, and load these into the rule
matrix.
Control variables
• DEFINITIONS:
• INPUT#1: ("Error", positive (P), zero (Z), negative (N))
• INPUT#2: ("Error
("Error--dot", positive (P), zero (Z), negative
(N))
• CONCLUSION: ("Output", Heat (H), No Change ((--), Cool
(C))
• INPUT#1 System Status
• Error = Command
Command--Feedback
• P=Too cold, Z=Just right, N=Too hot
• INPUT#2 System Status
• Error
Error--dot = d(Error)/dt
• P=Getting hotter Z=Not changing N=Getting colder
• OUTPUT Conclusion & System Response
• Output H = Call for heating - = Don't change anything C
= Call for cooling
How rules are defined ?
 Membership function which shows the linguistic
variable of error input. .
 It has three states , negative error, zero error ,
positive error
 There is a unique membership
function associated with each
input parameter.
 The membership functions
associate a weighting factor with
values of each input and the
effective rules.
 These weighting factors determine
the degree of influence or degree
of membership (DOM) each active
rule has. By computing the logical
product of the membership
weights for each active rule, a set
of fuzzy output response
magnitudes are produced.
 All that remains is to combine and
defuzzify these output responses.
General Architecture of a fuzzy controller
The rules have the form,
if Xi=Ai and …Xn=An then Yi=Bi ….and Yl=Bl

where {Xi|i=1…n} are input variables with terms Aij | j=i…n}


and {Yi|i=1…l} are out puts variables with terms {Bij|j=1l}

The n linguistic variables Xi are divided into Qm distint sets


, {Qm | m=1…r}
with each set Qm a complete rules base Rm of rules such
as if X1=A1 and ….…Xm=Am then Zm=Cm
are associated.
Conflict Resolution and Decision Making

 Usually more than one fuzzy control rule can fire at


one time. The methodology which is used in deciding
what control action should be taken as the result of
the firing of several rules can be referred to as the
process of conflict resolution.
resolution.
 Assume we have two rules:
Rule 1: If X is A1 and Y is B1, then Z is C1,
Rule 2: If X is A2 and Y is B2, then Z is C2.
x0, y0: sensor readings for X and Y, respectively.
References:

-Fuzzy controller tutorial , Dr Stephen Paul


Linder

-Fuzzy Logic controllers,by Mamdani & Assilian


-Automatic Design of Hierarchical Fuzzy
Controllers Using Genetic Algorithms ,Frank
Hoffman –University of Kiel ,Institute of
AppliedPhysics ,Germany.
 Thank You

You might also like