1.ourside - Vip.automatic Temperature Control and Alert System Simulation and design.2207ELX019
1.ourside - Vip.automatic Temperature Control and Alert System Simulation and design.2207ELX019
1.ourside - Vip.automatic Temperature Control and Alert System Simulation and design.2207ELX019
Abstract
In this research, the design and simulation of an automatic system for temperature control using embedded
system in order to automatically control of multi appliances depend on the temperature value. The appliances will be
controlled are ventilation, cooling, heating and alert. This is an order to avoid or reduce to human intervention and
increase system reliability. An important feature of this automation process is to reduce or eliminate the possibility of
relying on the human factor operator for industries, warehouses and laboratories, and to improve working and
performance environments. The system in this paper used the microcontroller PIC16F887 as the central control unit,
LM35 temperature sensor as a temperature source,16x2 liquid crystal display (LCD) as indicator to display the
different system working status an addition to some of drivers, relay and light emitting diodes (LED) as indicators to
display the corresponding working appliance driver. The implementation and simulation of the system work has been
achieved by using Proteus professional software v8.0 and mikroc pro for pic v.6.6.1 software to write the equivalent
program and generate. Hex file for system working.
1. Introduction
Nowadays rely on automated systems became commonly used things in life and, of course, one
of these systems has automatic temperature control. The use of automatic temperature control systems
become now commonly used in a wide field like industrial plants, laboratories, medical and food stores,
warehouses and other. Modern applications using temperature control systems based on microcontrollers
(MCU) to control the ventilation, heat, cold and alarm devices for the one of above fields. The use of
micro-controllers achieves great reliability as well as high efficiency [1]. Depending of using of MCU in
embedded design has not only been increased but it achieved a revolutionary change. An important
element for achieving competitiveness in manufacturers is to provide differentiation while maintaining or
reducing cost and to expand their product functionality [2]. Save power and reduce the costs for
optimization of smart home system this is study about internal temperature controlling system based on
microcontroller [3]. Automatic smart kitchen system is used to discharge heat and smoke in the kitchen
by using PWM (Pulse Width Modulation) waves generated by a PIC16F877A MCU based on
temperature sensor to controlling the speed of kitchen air blower [4]. Using temperature control and
peripheral interface controller (PIC) 16F876A but it focus on the use of external signal conditioning
circuit for proper processing of the signal before it was given to MCU, but this method increase the
system hardware components then consequently lead to increase the cost and probability of fault by
adding others hardware components, while the internal ADC (analogue to digital converter) circuit inside
the MCUs take signal conditioning of all types of inputs analogue signals returned from different types of
sensor in other consideration therefore this additional external circuit has not needed [5].
Temperature control in a ventilation system using PIC18F4620 was designed and developed by using heat
resistor as the heating source to emits a heat quantity in the environment and direct current (DC) motor as
the cooling source and then generate pulse width modulation (PWM) signal as a control speed dependent
signal to control of the cooling depend on the heating difference [6]. An automatic control solution is
suggested to control the fan speed by using the PIC 16F877A and LM35DZ temperature sensor the
automatic design circuit control of fan speed depend on the change of temperature i.e. when the
temperature is high, the fan operates at high speed and vice versa. This process occurs automatically [7].
Monitoring server room temperature has been implementation of a microcontroller based system by using
Received March 21, 2017; Revised May 30, 2017; Accepted June 18, 2017
78 ISSN: 2528-2417
kind of microcontroller (Atmel AVR ATmega8535 microcontroller and LM35 temperature sensor), other
attached devices are used to display the room temperature as well as an alarm device is also used.
The system is equipped with a GSM modem to send a text message when the room temperature rises to a
certain extent to enter the danger zone to alert the room server supervisor for the purpose of controlling
other electronic devices within the server room [8]. Designing and implementing a modern fan speed
control system based on the changes that occur in the room temperature. This design is based on the use
of PWM technology so that changing the duty cycle depends on the room temperature and as a result
leads to the control of the fan speed movement automatically [9]. In this work, the designs of ATC system
based a PIC microcontroller (PIC16F887) and temperature sensor (LM35) for automatically control of
multi appliance depend on selected temperature values these will be lead to automatically change to
appropriate appliance (ventilation, cooling, heating and alert). The proposed system implemented and
simulated by using proteus professional software v 8.0 and mikroc PRO FOR PIC v.6.6.1. The object of
this system to avoiding human intervention in such applications which then leads to eliminate or reduce
dependency on humans workers for industries, warehouse, laboratories and as a result leads to
improvement the working environments and performance.
For purpose to supply electric power to operating the hardware electronics design circuit, five volts power
supply is needed. Figure 2 schematic diagram showing the circuit that performs that purpose for the
proposed system.
Design and Simulation of Automatic Temperature Control and… (Jabbar Shaati Jahlool)
80 ISSN: 2528-2417
In the suggested flowchart clearly shows how the temperature control system working for control of three
appliance (heating, ventilation and cooling) and one alert system depend on the temperature input value.
The work of those functions can be illustrated as follows:
1. IF the temperature degree less than 18 centigrade, the case one will work that enable the heating
system.
2. IF the temperature degree range between 18 and 28 centigrade the system in second case will work
that enable the ventilation system.
3. IF the temperature degree between the range 28 and 35 centigrade the there'd system will work that
enable cooling system.
An addition to three cases above a security factor will added to generate signal to enable alert device this
is done when the temperature increase to grater than 35 centigrade.
3. System Implementation
The suggested system is implemented using PIC16F887 the hardware proposed design
requirements as shows in Figure 4.
4.2. Case 1
The process of this mode are start when the temperature less than 18 centigrade (heating case has
activate) then the heating system will enable. This is clear by the Figure 5 below with enable RCO pin of
PORTC (indicated by a red color) and lighting the LED to indicate the operation of relay to allow
working of heating system and LCD to display the case status that display the word (Case 1 heat and
Temp LT (less than) 18).
4.3. Case 2
This working mode of the system start when the temperature equal to 18 centigrade and less than
28 centigrade (case 2 will activated i.e. ventilation system will work).
This is clear shown by the Figure 6 below with enable RC1 pin of PORTC (indicated by a red color) and
lighting the LED to indicate the operation of relay to working ventilation system and LCD to display the
case status that display the word (Case 2 Vent and Temp 18 TO 28).
Design and Simulation of Automatic Temperature Control and… (Jabbar Shaati Jahlool)
82 ISSN: 2528-2417
4.4. Case 3
When the temperature range from 28 to 35 centigrade (case 3 will activated i.e. cooling system
will work). This is clear shown by the Figure 7 below with enable RC2 pin of PORTC (indicated by a red
color) and lighting the LED to indicate the operation of relay to working heating system and LCD to
display the case status that display the word (Case 3 Cool and Temp 28 TO 35).
Design and Simulation of Automatic Temperature Control and… (Jabbar Shaati Jahlool)
84 ISSN: 2528-2417
References
[1] A. Goswami, T. Bezboruah,T. and K.C.Sarma, “Design of an embedded and implementation of an Embedded
system for monitoring and controlling the intensity of light”, proceeding of the 2008 international conference on
embedded systems and application during july 14-17,2008 at Las Vegas Nevada, USA, Vol.-ESA 2008,
pp.117-123.
[2] A.Goswami, T. Bezboruah, K.C. Sarma., “An Embedded Design for Automatic Temperature Controller”,
International Journal of advanced engineering and application, Jan 2011.
[3] June Tharaphe Lwin1, Aung Ze Ya '' Development of Microcontroller Based Temperature and Lighting
Control System in Smart Home'' International Journal of scientific engineering and technology research July-
2014 pages: 3322-3327.
[4] N. A. A. Hadi, M. H. C. Hasan, N. M. Z. Hashim, A. Salleh, A. A. Salam, Z. Hasan '' Automatic Smart Kitchen
System Using Microcontroller'' International Journal for Advance Research In Engineering And Technology
Volume 3, Issue VI, June 2015 ISSN 2320-6802
[5] S.R.Sharma1, P.B.Dahikar "embedded design of temperature controller using PIC 16F876A for industries and
laboratories" International Journal of Innovative Research in Computer and Communication Engineering Vol.
1, Issue 10, December 2013.
[6] Bogdan Levărdă and Cristina Budaciu, “The Design Of Temperature Control Systemusing Pic18f4620"
Buletinul Institutului Politehnic Din Iasi Publicat de Universitatea Tehnică „Gheorghe Asachi” din Iasi Tomul
LVI (LX), Fasc. 4, 2010 SecŃia Automatică si Calculatoare.
[7] Mustafa Saad, Hossam Abdoalgader, and Muammer Mohamed ''Automatic Fan Speed Control System Using
Microcontroller'' 6th Int'l Conference on Electrical, Electronics & Civil Engineering (ICEECE'2014)
Nov. 27-28, 2014 Cape Town (South Africa).
[8] Theophilus Wellem and Bhudi Setiawan '' A Microcontroller- based Room Temperature Monitoring System''
International Journal of Computer Applications (0975 – 8887) Volume 53– No.1, September 2012.
[9] Vaibhav Bhatia and Gavish Bhatia “Room Temperature based Fan Speed Control System using Pulse Width
Modulation Technique" International Journal of Computer Applications (0975 – 8887) Volume 81 – No5,
November 2013.
Design and Simulation of Automatic Temperature Control and… (Jabbar Shaati Jahlool)