Академический Документы
Профессиональный Документы
Культура Документы
Abstract
The purpose of the temperature control is to heat the
system to a specified temperature, then maintain it at
that temperature in controlled manner. Fuzzy Logic
Controller (FLC) is best way in which this type of
precision control can be accomplished by controller.
Since last two decade a substantial amount of research
has reported in the field of control of non-linear
dynamical system using fuzzy logic. Here we have
developed temperature control system using fuzzy
logic. Conventional controllers are derived from
control theory techniques to be controlled. The purpose
of the feedback controller is to guarantee a desired
response of the output.
Key Words
Fuzzy logic, Fuzzy Logic Controller (FLC) and
temperature control system.
1. Introduction
Low cost temperature control using fuzzy logic
system block diagram shown in the fig. in this system
set point of the temperature is given by the operator
using 4X4 keypad. LM35 temperature sensor sense the
current temperature. Analog to digital converter convert
analog value into digital value and give to the Fuzzy
controller.
2. Working Principle
Temperature control system shown in figure 1
is works on the basic principle of fuzzy logic.The
concept of fuzzy logic conceived by Lotfi A.Zedeh, a
professor at the University of California at Berkley, and
presented not as a control methodology, but as away of
processing data by allowing partial set membership
rather than crisp set membership or non membership.
This approach to set theory was not applied to control
system until 70s due to insufficient small computer
capability prior to that time. Professor Zedah reasoned
that people do not require precise, numerical
information input, and yet they are capable of highly
adaptive control [1].
A fuzzy logic system (FLS) can be defined as the
nonlinear mapping of an input data set to a scalar
output data [7]. A fuzzy logic system consists of four
main parts:
Fuzzifier
Rules
inference engine
defuzzifier.
These components and the general architecture of a
fuzzy logic system are shown in Figure 3.
Membership Functions
Membership functions are used in the
fuzzification and defuzzification steps of a FLS, to map
the non-fuzzy input values to fuzzy linguistic terms and
vice-versa. A membership function is used to quantify
a linguistic term. For instance, membership functions
for the linguistic terms of temperature variable are
plotted. Note that, an important characteristic of fuzzy
logic is that a numerical value does not have to be
fuzzified using only one membership function. In other
words, a value can belong to multiple sets at the same
time. For example, according to Figure 5, a temperature
value can be considered as cold" and too-cold" at the
same time, with different degree of memberships.
IF(temperature is warm)AND(target is
warm)THEN command is heat
Fuzzy Rules
In a Fuzzy Logic, a rule base is constructed to
control the output variable. A fuzzy rule is a simple IFTHEN rule with a condition and a conclusion. In Table
2, sample fuzzy rules for the temperature control
system in Figure are listed.
Fuzzy
rules
1
Corresponding
Fuzzification of Input
Fuzzification is the process of changing a real scalar
value into a fuzzy value .Fuzzy variables are used to
translate real values into fuzzy values. The possible
values of a fuzzy variable are not numbers but so-called
linguistic terms. The input linguistic variables for
Fuzzy Logic Temperature Controller (FLTC) express
linguistically the difference between the set point and
the measured and calculated signals from a temperature
sensor. Input to FLTC is Error= (Set point-Temperature
sensed). Triangular and trapezoidal membership
functions are used to fuzzify the input. For fuzzifier
program, it is necessary to determine the range of fuzzy
variables related to the crisp inputs. Difference
Temperature sensed is restricted to positive values. The
following fuzzy sets are used: NEG =negative,
SNEG=small negative, ZERO= zero, SPOZ=small
positive, POZ= positive. Table 4 shows the
Membership function for input linguistic variable.
Crisp Input Range
No
Fuzzy Variable
Name
-15 to -50
NEG
0 to -30
SNEG
-15 to +15
ZERO
0 to 30
SPOZ
15 to 50
POZ
Fuzzy
variable name
165.75 to 255
65% to 100%
127 to 204
50% to 80%
127 to 51
50% to 20%
89.25 to 0
35% to 0%
L
Z
Fuzzy
variable
name
VH
H
M
No Fuzzy variable
range output
VH
H
M
165.75 to 255
65% to 100%
127 to 204
50% to 80%
127 to 51
50% to 20%
89.25 to 0
35% to 0%
L
Z
;
PWM=z;
}
The subprogram defuzzify receives the degree of
each membership function calculated in fuzzification
step and returns defuzzified output, which is used to
control the PWM Wave of MOSFET.
ACKNOWLEDGEMENT
We welcome this opportunity to express our
heartfelt gratitude and regards to our professor Tejal
Dave, Department of instrumentation & control
Engineering, Sarvajanik college of engineering and
Technology, Surat, for her unconditional guidance. She
always bestowed parental care upon us and evinced
keen interest in solving our problems. An erudite
teacher, a magnificent person and a strict disciplinarian,
we consider ourselves fortunate to have worked under
her supervision. Without her co-operation, the
extensive work involved in compiling background
information and preparing the paper for publication
would not be possible.
References
6) Conclusion
The fuzzy temperature controller is designed
and implemented in microcontroller without using any
special software tool. Unlike some fuzzy controllers
with hundreds, or even thousands, of rules running on
computer systems, a unique FLC using a small number
of rules and simple implementation is demonstrated to
solve a temperature control problem with unknown
dynamics or variable time delays commonly found in
industry. Also the final hardware is stand-alone system
rather than a PC (personal computer/laptop computer)
based system that takes control decision based on
special software tools running on it and hence the
design approach presented in this paper minimizes the
total cost of hardware and software design. The control
result can be improved by resizing the fuzzy sets and
finer tuning for the membership functions.
AUTHORS
Piyush Singhala received B.E. degree in
Instrumentation and Control Engineering from the
Gujarat Technological University, India. He is right
now working in a Precise Conchem Private Ltd. His
area of interest covers Process Control as well as PLC
and SCADA.
Dhrumil Shah received B.E. degree in Instrumentation
and Control Engineering from the Gujarat
Technological University, India. His research field
covers basic concepts related to fuzzy logic and its
application.
Bhavikkumar Patel has received B.E. degree in
Instrumentation and Control Engineering from Gujarat
Technological University, India. He also seeks some of
his interests in control system designing and
automation.