SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Utsav modi, Parita patel / International Journal of Engineering Research and Applications
(IJERA) ISSN: 2248-9622 www.ijera.com
Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070
1067 | P a g e
Controlling Temperature of water Using Microcontroller And
Correction Using Fuzzy Logic
Utsav modi, Parita patel
Abstract
Many people of our country is involve
in fishery, but different fish live in different
temperature and pressure if the temperature
vary the fish may be die, so the temperature
must maintain within certain range but it is very
difficult for them to maintain the temperature
and pressure, if they try to maintain all the
parameter the cost also higher, so we must think
a alternate process which is our desire project.
In this project we basically control the
water temperature using microcontroller
PIC18F4520.We first measure the water
temperature of the water and then display it in
the seven segment display now if the
temperature is higher than on the cooler and if
the temperature is lower than on the hot air fan.
We also use fuzzy controller to control the water
temperature and pressure perfectly.
To program the microcontroller we
first write the program in C-language, and then
we convert the code in the hexadecimal code and
burn the code within the chip and configure the
microcontroller according to our requirement
and perform all operation.
Keywords—Fuzzy Logic, Microcontroller,
PIC18F4520, RS232, Lampex Display
I. INTRODUCTION
With the help of this project we contribute
in our society and help many people who involve in
the fishery. They get benefited from this project
and their cost for business gets reduced so they get
more profit. So this project is very much beneficial
for our society as well as for our country. Our
society gets benefit from this project and we can
maintain all the parameter perfectly, the cost of
maintain the temperature of the water get reduced
and all can be done automatically without any man
power, so it is very social project. The project is
almost run perfectly but to control the temperature
we must use fuzzy logic as well as fuzzy chip, but
till d fuzzy chip is not available in our country and
the cost is very much high, this is the main problem
with this project.
II. DETAIL OF THE RESEARCH WORK
In this project control the temperature of
water according to the necessity of the living of the
fish. I.e. different fishsurvive in different
temperature and pressure so we must maintain the
proper temperature and pressure of the water. Here
we first measure the temperature of the water by
using a thermocouple if the temperature is high
then we start the cooler system and if the
temperature is low we on the hot water system, so
by this method we maintain the proper temperature
of the water. We also use fuzzy logic system to
maintain the system within a proper range of
temperature. We control the water temperature by
using microcontroller pic18f4520 (pic series
microcontroller) this microcontroller has 10 bit
ADC converter which is able to sense temperature
and display it in the lampex display, first we
prepare the aquarium and place a thermocouple in
the water, now the temperature converted to the
voltage with the help of this thermocouple and
converted to the digital format with the help of this
microcontroller. Now if the measured temperature
is out of range (the range which the fish can
tolerate) we on our cooling system (which is ac fan
or general cold water flow system),and the water
temperature is cooling down towards normal range
and we compare the temperature with the standard
temperature if now this temperature is equal to the
threshold and we leave the system without any
change, now if the temperature is cold then we on
the hot air system and water temperature is raised
towards higher order and compare the temperature
of threshold and if the temperature is equal to the
threshold then we are not interested for any kind of
change. We run the system after a certain interval
of time within 24 hours, and fish can survive within
the temperature without any problem. Now to
control the temperature we apply fuzzy chip
controller which check the temperature from the
input and decide within which range it fall (I.e. hot,
cold, very hot, very cold, normal etc)and fuzzified
(fuzzification can be done by OR,AND ,NOT
logic) the temperature and process the temperature
to control it, and after processing it again
defuzzified(by max membership principle, centroid
method, weighted average method or mean max
membership method) and send it to the output of
the controller.
Fuzzy logic deals with the uncertainty in
engineering by attaching degree of certainty to the
answer to a logical question. It is commercial and
practical. Commercially, fuzzy logic has been used
with great success to control machines and
consumer products. In the right applications fuzzy
Utsav modi, Parita patel / International Journal of Engineering Research and Applications
(IJERA) ISSN: 2248-9622 www.ijera.com
Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070
1068 | P a g e
logic systems are simple to design, and can be
understood and implemented by non-specialist in
control theory. In most cases someone with a
intermediate technical background can design a
fuzzy logic controller. The control system will not
be optimal but it can be acceptable. Control
engineers also use it in applications where the on-
board computing is very limited and adequate
control is enough. Fuzzy logic can implement in
control system where simplicity and speed is
important. Fuzzy logic can be used in the following
applications:
Environmental control
• Air conditions
• Humidifiers
Domestic Goods
• Washing machines/dryers
• Vacuum cleaners
• Toasters
• Microwave ovens
• Refrigerators
Consumer electronics
• Television
• Photocopiers
• Still and video cameras
• Hi-fi systems
Automotive systems
• Vehicle climate control
• Automatic gearboxes
• Four –wheel steering
• Seat/mirror control systems
• This is a list and gives an idea of the key
applications areas. In general it explains application
of fuzzy controller.
Engineering motivation
• In engineering we can apply fuzzy logic
and can solve any problem with the help of this
fuzzy logic rather we can obtain a optimum
solution for any problem. A traditional logic
decision block produces an outcome based upon
binary logic. A firm YES or NO emerges as an
output of the decision block. However the inventor
of fuzzy logic LOFI ZADEH, noted that human
decision making incorporate shades of meaning in
which binary YES/NO might be replaced by
• DEFINITELY YES
• PROBABLY YES
• MAYBE
• PROBABLY NO
• DEFINITE NO
• Fuzzy logic copies this feature of human
decision making using levels of possibility in a
number of uncertain (or fuzzy) categories .for
example, think about the coupled tank system in
which the object is to adjust the input voltage, u, to
the to the pump motor (as in fig1) so that level in
tank 2 is held at a steady state value. The measured
output is level in tank 2, denoted by the signal y2.A
common sense controller could use the following
fuzzy control rules:
• IF {LEVEL TOO HIGH} THEN
{REDUCE PUMP VOLTAGE}
• IF {LEVEL TOO LOW} THEN
{INCREASE PUMP VOLTAGE}
• IF {LEVEL CORRECT} THEN {SET
PUMP VOLTAGE TO ZERO}
• The controller performance would not be
as good as PI controller, but it is acceptable.
FUZZY LOGIC TO SOLVE OUR DESIRED
PROBLEM
a>fuzzification: The first step in fuzzy logic is to
convert the measured signal x(which is temperature
and water pressure) into a set of fuzzy variables.
This is called fuzzy classification or fuzzification.
It is done by giving values (these will be our fuzzy
variables) to each of a set of membership functions.
The values for each membership function are
labeled Âľ(x), and are determined by the original
measured signal x and the shapes of the
membership functions. A common fuzzy classifier
splits the signal x into five fuzzy levels as follows:
1. LP: x is large positive
2. MP: x is medium positive
3. S: x is small
4. MN: x is medium negative
5. LN: x is large negative
• Membership functions for these five fuzzy
levels are shown in figure 2.So,for example, the
value(or fuzzy variable)for the MP membership
function and a signal value of x=2.5v is
Âľmp(2.5)=0.5.
III. RESEARCH BLOCK DIAGRAM
Utsav modi, Parita patel / International Journal of Engineering Research and Applications
(IJERA) ISSN: 2248-9622 www.ijera.com
Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070
1069 | P a g e
Fig2a: Membership Functions for zero
membership(s: x is small), medium positive
membership (MP), large positive membership
(LP).
Figure 2b: The complete set of membership
Functions for five level fuzzification.
Fig 3: Fuzzy block diagram in our desire project
Fig4: Detail block diagram of fuzzy processing
REFERENCES
[1] http://www.egr.msu.edu/classes/ece480/go
odman/ForMinipro
[2] jects/Lab3.pdf
[3] http://www.egr.msu.edu/eceshop/Parts_In
ventory/datasheets/74ls12. pdf
[4] http://www.egr.msu.edu/eceshop/Parts_In
ventory/datasheetZ/sn7407 .pdf
[5] http://www.egr.msu.edu/eceshop/Parts_In
ventory/datasheets/sn7407. pdf
[6] http://ulcape.org/wiki/Tutorial-
PIC_Programming_Basics
[7] A. Di Stefano's �machine a state,
published in his article
[8] di un timer digital programmable on the
257n of the �Fare Electronic
[9] Manish Agarwal Department of
Mechanical Engineering Indian Institute
of Technology, Kharagpur - 721302, India
[10] "Designing With Fuzzy Logic" by Kevin
Self, IEEE SPECTRUM, November 1990,
42:44,105.
[11] "Fuzzy Fundamentals" by Earl Cox, IEEE
SPECTRUM, October 1992, 58:61. Notes
from this article constitute the core of this
Utsav modi, Parita patel / International Journal of Engineering Research and Applications
(IJERA) ISSN: 2248-9622 www.ijera.com
Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070
1070 | P a g e
tutorial.
[12] "Fuzzy Logic Flowers In Japan" by Daniel
G. Schwartz & George J. Klir, IEEE
SPECTRUM, July 1992, 32:35.
[13] "Clear Thinking On Fuzzy Logic" by
Lawrence A. Berardinis, MACHINE
DESIGN, 23 April 1992, 46:52.
[14] "Fuzzy Controller Challenges 8-bit
MCUs", COMPUTER DESIGN,
November 1995.
[15] "Dishwasher Cleans Up With Fuzzy
Logic", MACHINE DESIGN, 23 March
1995.
[16] "How To Design Fuzzy Logic
Controllers", MACHINE DESIGN, 26
November 1992.
[17] "A Case For Fuzzy Logic" by Byron
Miller, EMBEDDED SYSTEMS
PROGRAMMING, December 1995,
42:70.
[18] Fuzzynet technical case studies
[19] http://www.aptronix.com/
[20] Technical manual of washing machines,
Samsung electronics ;
[21] http://www.samsungelectronics.com.my/w
ashing_machine/tech_info /index.html
[22] Weijing Zhang, Applications Engineer,
Aptronics Incorporated, Copyright Š 1992
by Aptronix Inc.
[23] MP LAB website and information
www.mplab.com
[24] ‖FUZZY LOGIC WITH
ENGINEERING APPLICATION ―by
TIMOTHY J.ROSS.
[25] Chip manual with detailing of
configuration of the chip
www.microchip.com
[26] Information of the chip burner
http://www.sunrom.com..
[27] http://www.ideawicket.com
[28] www.freshersworld.com
[29] www.google.com
[30] Magazine ―e-STYLE‖
[31] Magazine ―ELECTRONICS FOR YOU‖.
[32] Thermocouple information
www.omega.com
[33] Control system information
www.control-system-principles.co.uk
[34] www.control-systems-principles.co.uk
[35] fuzzy technical studies
[36] www.aptronix.com
[37] technical manual of washing machines,
Samsung electronics:
[38]
www.samsungelectronics.com.my/washin
g_machine/tech_info/inde x.html
[39] weijing electronics, ―Application
engineer‖
[40] Pagni, Poluzzi, Lo Presti, Rizzotto
"Automatic Syntesis Analysis
Implementation of a Fuzzy Controller"
IEEE International Conference on Fuzzy
Systems 1993, San Francisco, pp. 105-
110.
[41] Neichfeld, Klinche, Menke,
Nolles,Kunemund "A General Purpose
Fuzzy Inference Process" IEEE
International Conference on
Microelectronics for Neural Networks and
Fuzzy Systems, Turin 1994, pp310-318.
pp. M. Sugeno "Industrial Applications of
FuzzyControl" Elsevier Science Pub. Co.
1985 – see also Fuzzy Logic Handbook
for use with Matlab pp. 2-53. F. Boschetti,
A. Gabrielli, E. Gandolfi, M.Masetti,
"Fuzzy Logic Oriented to Active Rule
Selector and Membership Function
Generator for High Speed Digital Fuzzy
Microprocessor " - World Congress on
Neural Networks, July 17-21 1995
Washington -Vol. 393 – 97
[44] R. Caponetto, M. Lavagna, M. Lo Presti,
A.Milazzotto "Genetic Algorithms and
Neuro-Fuzzy Systems for Automatic
Controller Design" Proceedings of
CIFT’95, Trento Italy June 8-10 95, pp
38-47.F. Boschetti, A. Gabrielli, E.
Gandolfi, M.Masetti, M. Russo "Digital
Membership
[45] Function Generators and No-Contribute
Rule Eliminator for High Speed Fuzzy
Architectures "- World Congress on
Neural Networks July 17-21 1995
Washington - Vol.2 pp. 625 – 629.
[46] D, Falchieri, A. Gabrielli, E. Gandolfi,
M.Masetti "Design and Realization of a
Two Input Fuzzy Chip Running at a Rate
of 80 ns‖Annual IEEE Meeting of the
North America Fuzzy Information
Processing Society Syracuse, September
21-24, 329-335.
Authors
First Author- Utsav modi, bachelors of
engineering, Electronics and communication
Second Author- Parita Patel, bachelors of
engineering, Electronics and communication,

Weitere ähnliche Inhalte

Was ist angesagt?

Smart Refrigerator
Smart RefrigeratorSmart Refrigerator
Smart Refrigerator
Shubham Kumar
 
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
ijtsrd
 

Was ist angesagt? (18)

Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...Implementation of agricultural automation system using web & gsm technolo...
Implementation of agricultural automation system using web & gsm technolo...
 
Automatic green house monitioring and controlling system
Automatic green house monitioring and controlling systemAutomatic green house monitioring and controlling system
Automatic green house monitioring and controlling system
 
IRJET- IoT based Modern Greenhouse with GSM Module using Arduino Platform
IRJET- IoT based Modern Greenhouse with GSM Module using Arduino PlatformIRJET- IoT based Modern Greenhouse with GSM Module using Arduino Platform
IRJET- IoT based Modern Greenhouse with GSM Module using Arduino Platform
 
Green house monitoring and control
Green house monitoring and controlGreen house monitoring and control
Green house monitoring and control
 
[IJCT-V3I3P3] Authors: L.Navaneeth M.E, V.Rukkumani M.E.,Ph.D.,
[IJCT-V3I3P3] Authors: L.Navaneeth M.E, V.Rukkumani M.E.,Ph.D.,[IJCT-V3I3P3] Authors: L.Navaneeth M.E, V.Rukkumani M.E.,Ph.D.,
[IJCT-V3I3P3] Authors: L.Navaneeth M.E, V.Rukkumani M.E.,Ph.D.,
 
IRJET - Automated Monitoring and Controlling of Greenhouse
IRJET -  	  Automated Monitoring and Controlling of GreenhouseIRJET -  	  Automated Monitoring and Controlling of Greenhouse
IRJET - Automated Monitoring and Controlling of Greenhouse
 
Product Overview
Product OverviewProduct Overview
Product Overview
 
Ijecce 4317 final
Ijecce 4317 finalIjecce 4317 final
Ijecce 4317 final
 
GREENMON:An Efficient Wireless Sensor Network Monitoring Solution For Greenho...
GREENMON:An Efficient Wireless Sensor Network Monitoring Solution For Greenho...GREENMON:An Efficient Wireless Sensor Network Monitoring Solution For Greenho...
GREENMON:An Efficient Wireless Sensor Network Monitoring Solution For Greenho...
 
Smart Refrigerator
Smart RefrigeratorSmart Refrigerator
Smart Refrigerator
 
Greenhouse (smart gardening)
Greenhouse (smart gardening)Greenhouse (smart gardening)
Greenhouse (smart gardening)
 
Temperature based fan speed control & monitoring using arduino
Temperature based fan speed control & monitoring using arduinoTemperature based fan speed control & monitoring using arduino
Temperature based fan speed control & monitoring using arduino
 
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
Monitoring and Controlling Device for Smart Greenhouse by using Thinger.io Io...
 
PID-based temperature control device for electric kettle
PID-based temperature control device for electric kettlePID-based temperature control device for electric kettle
PID-based temperature control device for electric kettle
 
A NOVEL AUTOMATED IRRIGATION SYSTEM
A NOVEL AUTOMATED IRRIGATION SYSTEMA NOVEL AUTOMATED IRRIGATION SYSTEM
A NOVEL AUTOMATED IRRIGATION SYSTEM
 
Greenhouse controlling project
Greenhouse controlling projectGreenhouse controlling project
Greenhouse controlling project
 
Final Year Project Report on Dual Channel Home Appliance Control
Final Year Project Report on Dual Channel Home Appliance ControlFinal Year Project Report on Dual Channel Home Appliance Control
Final Year Project Report on Dual Channel Home Appliance Control
 
Designing and implementation of remotely operated cooking module
Designing and implementation of remotely operated cooking moduleDesigning and implementation of remotely operated cooking module
Designing and implementation of remotely operated cooking module
 

Andere mochten auch

Andere mochten auch (20)

Fw3310501057
Fw3310501057Fw3310501057
Fw3310501057
 
Fy3310631066
Fy3310631066Fy3310631066
Fy3310631066
 
Fo33988994
Fo33988994Fo33988994
Fo33988994
 
Ap34248254
Ap34248254Ap34248254
Ap34248254
 
Bm34399403
Bm34399403Bm34399403
Bm34399403
 
Bf34357368
Bf34357368Bf34357368
Bf34357368
 
Bd34340346
Bd34340346Bd34340346
Bd34340346
 
Cj34516519
Cj34516519Cj34516519
Cj34516519
 
T34123128
T34123128T34123128
T34123128
 
Ao34242247
Ao34242247Ao34242247
Ao34242247
 
M347781
M347781M347781
M347781
 
Bc34333339
Bc34333339Bc34333339
Bc34333339
 
Av34285289
Av34285289Av34285289
Av34285289
 
O3496103
O3496103O3496103
O3496103
 
Ax34298305
Ax34298305Ax34298305
Ax34298305
 
At34278282
At34278282At34278282
At34278282
 
Ck34520526
Ck34520526Ck34520526
Ck34520526
 
Az34313320
Az34313320Az34313320
Az34313320
 
Ar34261268
Ar34261268Ar34261268
Ar34261268
 
Edificio wind
Edificio windEdificio wind
Edificio wind
 

Ähnlich wie Fz3310671070

Fuzzy based control using labview for miso temperature process
Fuzzy based control using labview for miso temperature processFuzzy based control using labview for miso temperature process
Fuzzy based control using labview for miso temperature process
eSAT Journals
 

Ähnlich wie Fz3310671070 (20)

I1102025660
I1102025660I1102025660
I1102025660
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
IRJET- Raspberry-Pi Based Automated Greenhouse
IRJET- Raspberry-Pi Based Automated GreenhouseIRJET- Raspberry-Pi Based Automated Greenhouse
IRJET- Raspberry-Pi Based Automated Greenhouse
 
Smart Incubator Based on PID Controller
Smart Incubator Based on PID Controller      Smart Incubator Based on PID Controller
Smart Incubator Based on PID Controller
 
IRJET- Smart Incubator with Real Time Temperature and Humidity Control
IRJET- Smart Incubator with Real Time Temperature and Humidity ControlIRJET- Smart Incubator with Real Time Temperature and Humidity Control
IRJET- Smart Incubator with Real Time Temperature and Humidity Control
 
Presentation
PresentationPresentation
Presentation
 
The application of Self-adaptive Fuzzy PID control the evaporator superheat
The application of Self-adaptive Fuzzy PID control the evaporator superheatThe application of Self-adaptive Fuzzy PID control the evaporator superheat
The application of Self-adaptive Fuzzy PID control the evaporator superheat
 
PIC Microcontroller Based Baby Incubator Using Sensors
PIC Microcontroller Based Baby Incubator Using SensorsPIC Microcontroller Based Baby Incubator Using Sensors
PIC Microcontroller Based Baby Incubator Using Sensors
 
A REVIEW ON GREENHOUSE ENVIRONMENT CONTROLLING ROBOT
A REVIEW ON GREENHOUSE ENVIRONMENT CONTROLLING ROBOTA REVIEW ON GREENHOUSE ENVIRONMENT CONTROLLING ROBOT
A REVIEW ON GREENHOUSE ENVIRONMENT CONTROLLING ROBOT
 
Intelligent home heating system
Intelligent home heating systemIntelligent home heating system
Intelligent home heating system
 
Intelligent home heating system
Intelligent home heating systemIntelligent home heating system
Intelligent home heating system
 
IRJET- Smart Irrigation Control System
IRJET- Smart Irrigation Control SystemIRJET- Smart Irrigation Control System
IRJET- Smart Irrigation Control System
 
F05134247
F05134247F05134247
F05134247
 
Fuzzy based control using lab view for miso temperature process
Fuzzy based control using lab view for miso temperature processFuzzy based control using lab view for miso temperature process
Fuzzy based control using lab view for miso temperature process
 
Fuzzy based control using labview for miso temperature process
Fuzzy based control using labview for miso temperature processFuzzy based control using labview for miso temperature process
Fuzzy based control using labview for miso temperature process
 
Poster on IoT based Green House
Poster on IoT based Green HousePoster on IoT based Green House
Poster on IoT based Green House
 
76201948
7620194876201948
76201948
 
IRJET - Premature Born Baby Incubator
IRJET - Premature Born Baby IncubatorIRJET - Premature Born Baby Incubator
IRJET - Premature Born Baby Incubator
 
Tuning of digital PID controller for blood glucose level of diabetic patient
Tuning of digital PID controller for blood glucose level of diabetic patientTuning of digital PID controller for blood glucose level of diabetic patient
Tuning of digital PID controller for blood glucose level of diabetic patient
 

KĂźrzlich hochgeladen

KĂźrzlich hochgeladen (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Fz3310671070

  • 1. Utsav modi, Parita patel / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070 1067 | P a g e Controlling Temperature of water Using Microcontroller And Correction Using Fuzzy Logic Utsav modi, Parita patel Abstract Many people of our country is involve in fishery, but different fish live in different temperature and pressure if the temperature vary the fish may be die, so the temperature must maintain within certain range but it is very difficult for them to maintain the temperature and pressure, if they try to maintain all the parameter the cost also higher, so we must think a alternate process which is our desire project. In this project we basically control the water temperature using microcontroller PIC18F4520.We first measure the water temperature of the water and then display it in the seven segment display now if the temperature is higher than on the cooler and if the temperature is lower than on the hot air fan. We also use fuzzy controller to control the water temperature and pressure perfectly. To program the microcontroller we first write the program in C-language, and then we convert the code in the hexadecimal code and burn the code within the chip and configure the microcontroller according to our requirement and perform all operation. Keywords—Fuzzy Logic, Microcontroller, PIC18F4520, RS232, Lampex Display I. INTRODUCTION With the help of this project we contribute in our society and help many people who involve in the fishery. They get benefited from this project and their cost for business gets reduced so they get more profit. So this project is very much beneficial for our society as well as for our country. Our society gets benefit from this project and we can maintain all the parameter perfectly, the cost of maintain the temperature of the water get reduced and all can be done automatically without any man power, so it is very social project. The project is almost run perfectly but to control the temperature we must use fuzzy logic as well as fuzzy chip, but till d fuzzy chip is not available in our country and the cost is very much high, this is the main problem with this project. II. DETAIL OF THE RESEARCH WORK In this project control the temperature of water according to the necessity of the living of the fish. I.e. different fishsurvive in different temperature and pressure so we must maintain the proper temperature and pressure of the water. Here we first measure the temperature of the water by using a thermocouple if the temperature is high then we start the cooler system and if the temperature is low we on the hot water system, so by this method we maintain the proper temperature of the water. We also use fuzzy logic system to maintain the system within a proper range of temperature. We control the water temperature by using microcontroller pic18f4520 (pic series microcontroller) this microcontroller has 10 bit ADC converter which is able to sense temperature and display it in the lampex display, first we prepare the aquarium and place a thermocouple in the water, now the temperature converted to the voltage with the help of this thermocouple and converted to the digital format with the help of this microcontroller. Now if the measured temperature is out of range (the range which the fish can tolerate) we on our cooling system (which is ac fan or general cold water flow system),and the water temperature is cooling down towards normal range and we compare the temperature with the standard temperature if now this temperature is equal to the threshold and we leave the system without any change, now if the temperature is cold then we on the hot air system and water temperature is raised towards higher order and compare the temperature of threshold and if the temperature is equal to the threshold then we are not interested for any kind of change. We run the system after a certain interval of time within 24 hours, and fish can survive within the temperature without any problem. Now to control the temperature we apply fuzzy chip controller which check the temperature from the input and decide within which range it fall (I.e. hot, cold, very hot, very cold, normal etc)and fuzzified (fuzzification can be done by OR,AND ,NOT logic) the temperature and process the temperature to control it, and after processing it again defuzzified(by max membership principle, centroid method, weighted average method or mean max membership method) and send it to the output of the controller. Fuzzy logic deals with the uncertainty in engineering by attaching degree of certainty to the answer to a logical question. It is commercial and practical. Commercially, fuzzy logic has been used with great success to control machines and consumer products. In the right applications fuzzy
  • 2. Utsav modi, Parita patel / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070 1068 | P a g e logic systems are simple to design, and can be understood and implemented by non-specialist in control theory. In most cases someone with a intermediate technical background can design a fuzzy logic controller. The control system will not be optimal but it can be acceptable. Control engineers also use it in applications where the on- board computing is very limited and adequate control is enough. Fuzzy logic can implement in control system where simplicity and speed is important. Fuzzy logic can be used in the following applications: Environmental control • Air conditions • Humidifiers Domestic Goods • Washing machines/dryers • Vacuum cleaners • Toasters • Microwave ovens • Refrigerators Consumer electronics • Television • Photocopiers • Still and video cameras • Hi-fi systems Automotive systems • Vehicle climate control • Automatic gearboxes • Four –wheel steering • Seat/mirror control systems • This is a list and gives an idea of the key applications areas. In general it explains application of fuzzy controller. Engineering motivation • In engineering we can apply fuzzy logic and can solve any problem with the help of this fuzzy logic rather we can obtain a optimum solution for any problem. A traditional logic decision block produces an outcome based upon binary logic. A firm YES or NO emerges as an output of the decision block. However the inventor of fuzzy logic LOFI ZADEH, noted that human decision making incorporate shades of meaning in which binary YES/NO might be replaced by • DEFINITELY YES • PROBABLY YES • MAYBE • PROBABLY NO • DEFINITE NO • Fuzzy logic copies this feature of human decision making using levels of possibility in a number of uncertain (or fuzzy) categories .for example, think about the coupled tank system in which the object is to adjust the input voltage, u, to the to the pump motor (as in fig1) so that level in tank 2 is held at a steady state value. The measured output is level in tank 2, denoted by the signal y2.A common sense controller could use the following fuzzy control rules: • IF {LEVEL TOO HIGH} THEN {REDUCE PUMP VOLTAGE} • IF {LEVEL TOO LOW} THEN {INCREASE PUMP VOLTAGE} • IF {LEVEL CORRECT} THEN {SET PUMP VOLTAGE TO ZERO} • The controller performance would not be as good as PI controller, but it is acceptable. FUZZY LOGIC TO SOLVE OUR DESIRED PROBLEM a>fuzzification: The first step in fuzzy logic is to convert the measured signal x(which is temperature and water pressure) into a set of fuzzy variables. This is called fuzzy classification or fuzzification. It is done by giving values (these will be our fuzzy variables) to each of a set of membership functions. The values for each membership function are labeled Âľ(x), and are determined by the original measured signal x and the shapes of the membership functions. A common fuzzy classifier splits the signal x into five fuzzy levels as follows: 1. LP: x is large positive 2. MP: x is medium positive 3. S: x is small 4. MN: x is medium negative 5. LN: x is large negative • Membership functions for these five fuzzy levels are shown in figure 2.So,for example, the value(or fuzzy variable)for the MP membership function and a signal value of x=2.5v is Âľmp(2.5)=0.5. III. RESEARCH BLOCK DIAGRAM
  • 3. Utsav modi, Parita patel / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070 1069 | P a g e Fig2a: Membership Functions for zero membership(s: x is small), medium positive membership (MP), large positive membership (LP). Figure 2b: The complete set of membership Functions for five level fuzzification. Fig 3: Fuzzy block diagram in our desire project Fig4: Detail block diagram of fuzzy processing REFERENCES [1] http://www.egr.msu.edu/classes/ece480/go odman/ForMinipro [2] jects/Lab3.pdf [3] http://www.egr.msu.edu/eceshop/Parts_In ventory/datasheets/74ls12. pdf [4] http://www.egr.msu.edu/eceshop/Parts_In ventory/datasheetZ/sn7407 .pdf [5] http://www.egr.msu.edu/eceshop/Parts_In ventory/datasheets/sn7407. pdf [6] http://ulcape.org/wiki/Tutorial- PIC_Programming_Basics [7] A. Di Stefano's ďż˝machine a state, published in his article [8] di un timer digital programmable on the 257n of the ďż˝Fare Electronic [9] Manish Agarwal Department of Mechanical Engineering Indian Institute of Technology, Kharagpur - 721302, India [10] "Designing With Fuzzy Logic" by Kevin Self, IEEE SPECTRUM, November 1990, 42:44,105. [11] "Fuzzy Fundamentals" by Earl Cox, IEEE SPECTRUM, October 1992, 58:61. Notes from this article constitute the core of this
  • 4. Utsav modi, Parita patel / International Journal of Engineering Research and Applications (IJERA) ISSN: 2248-9622 www.ijera.com Vol. 3, Issue 3, May-Jun 2013, pp.1067-1070 1070 | P a g e tutorial. [12] "Fuzzy Logic Flowers In Japan" by Daniel G. Schwartz & George J. Klir, IEEE SPECTRUM, July 1992, 32:35. [13] "Clear Thinking On Fuzzy Logic" by Lawrence A. Berardinis, MACHINE DESIGN, 23 April 1992, 46:52. [14] "Fuzzy Controller Challenges 8-bit MCUs", COMPUTER DESIGN, November 1995. [15] "Dishwasher Cleans Up With Fuzzy Logic", MACHINE DESIGN, 23 March 1995. [16] "How To Design Fuzzy Logic Controllers", MACHINE DESIGN, 26 November 1992. [17] "A Case For Fuzzy Logic" by Byron Miller, EMBEDDED SYSTEMS PROGRAMMING, December 1995, 42:70. [18] Fuzzynet technical case studies [19] http://www.aptronix.com/ [20] Technical manual of washing machines, Samsung electronics ; [21] http://www.samsungelectronics.com.my/w ashing_machine/tech_info /index.html [22] Weijing Zhang, Applications Engineer, Aptronics Incorporated, Copyright Š 1992 by Aptronix Inc. [23] MP LAB website and information www.mplab.com [24] ‖FUZZY LOGIC WITH ENGINEERING APPLICATION ―by TIMOTHY J.ROSS. [25] Chip manual with detailing of configuration of the chip www.microchip.com [26] Information of the chip burner http://www.sunrom.com.. [27] http://www.ideawicket.com [28] www.freshersworld.com [29] www.google.com [30] Magazine ―e-STYLE‖ [31] Magazine ―ELECTRONICS FOR YOU‖. [32] Thermocouple information www.omega.com [33] Control system information www.control-system-principles.co.uk [34] www.control-systems-principles.co.uk [35] fuzzy technical studies [36] www.aptronix.com [37] technical manual of washing machines, Samsung electronics: [38] www.samsungelectronics.com.my/washin g_machine/tech_info/inde x.html [39] weijing electronics, ―Application engineer‖ [40] Pagni, Poluzzi, Lo Presti, Rizzotto "Automatic Syntesis Analysis Implementation of a Fuzzy Controller" IEEE International Conference on Fuzzy Systems 1993, San Francisco, pp. 105- 110. [41] Neichfeld, Klinche, Menke, Nolles,Kunemund "A General Purpose Fuzzy Inference Process" IEEE International Conference on Microelectronics for Neural Networks and Fuzzy Systems, Turin 1994, pp310-318. pp. M. Sugeno "Industrial Applications of FuzzyControl" Elsevier Science Pub. Co. 1985 – see also Fuzzy Logic Handbook for use with Matlab pp. 2-53. F. Boschetti, A. Gabrielli, E. Gandolfi, M.Masetti, "Fuzzy Logic Oriented to Active Rule Selector and Membership Function Generator for High Speed Digital Fuzzy Microprocessor " - World Congress on Neural Networks, July 17-21 1995 Washington -Vol. 393 – 97 [44] R. Caponetto, M. Lavagna, M. Lo Presti, A.Milazzotto "Genetic Algorithms and Neuro-Fuzzy Systems for Automatic Controller Design" Proceedings of CIFT’95, Trento Italy June 8-10 95, pp 38-47.F. Boschetti, A. Gabrielli, E. Gandolfi, M.Masetti, M. Russo "Digital Membership [45] Function Generators and No-Contribute Rule Eliminator for High Speed Fuzzy Architectures "- World Congress on Neural Networks July 17-21 1995 Washington - Vol.2 pp. 625 – 629. [46] D, Falchieri, A. Gabrielli, E. Gandolfi, M.Masetti "Design and Realization of a Two Input Fuzzy Chip Running at a Rate of 80 ns‖Annual IEEE Meeting of the North America Fuzzy Information Processing Society Syracuse, September 21-24, 329-335. Authors First Author- Utsav modi, bachelors of engineering, Electronics and communication Second Author- Parita Patel, bachelors of engineering, Electronics and communication,