SlideShare a Scribd company logo
1 of 8
Download to read offline
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
DOI : 10.5121/ijitmc.2013.1406 53
HARDWARE AND LOGIC IMPLEMENTATION OF
MULTIPLE ALARM SYSTEM FOR GSM BTS
ROOMS
Arifa Ferdousi1
and Sadeque Reza Khan2
1
Dept. of Computer Science and Engineering, Varendra University, Rajshahi, Bangladesh
2
Dept. of Electronic and Communication Engineering, NITK, India
ABSTRACT
Cellular communication becomes the major mode of communication in present century. With the
development of this phase of communication the globalization process is also in its peak of speed. The
development of cellular communication is largely depending on the improvement and stability of Base
Transceiver Station (BTS) room. So for the purpose of the development of cellular communication a large
numbered BTS rooms are installed throughout the world. To ensure proper support from BTS rooms there
must be a security system to avoid any unnecessary vulnerability. Therefore multiple alarm system is
designed to secure the BTS rooms from any undesired circumstances. This system is designed with a PIC
Microcontroller as a main controller and a several sensors are interfaced with it to provide high
temperature alarm, smoke alarm, door alarm and water alarm. All these alarms are interfaced with the
alarm box in the BTS room which provides the current status directly to Network Management Centre
(NMC) of a Global System for Mobile (GSM) communication network.
KEYWORDS
BTS, ADC, LM35DZ, Photoelectric Sensor, Reed Switch, Seven Segment Display, Opto-coupler.
1. INTRODUCTION
BTS rooms are generally sealed with sophisticated and obviously costly electrical and electronics
devices which need constant inspection to ensure that those devices are safe and operational [1].
Studying the location of these rooms it can be found that these rooms are located in such a
position where rain water, illegal human intrusion, fire and many other unexpected incidents can
occur. So remote monitoring is a must needed service for these rooms. An intelligent alarm
system can easily assist in this phenomenon by studying all the factors of keeping the room safe
from the unexpected situations. The system should be such that it can monitor room temperature
all the time and generates alarm when the temperature goes above the set temperature as the
ambient temperature requirement is -5˚C ~ +45˚C and is recommended to be always kept
between 15˚C ~ 30˚C [2]. It also can detect if any kind of smoke, hence a fire event occurs in the
room and ultimately generates an alarm. System is also equipped with sensors which can detect
any kind water seepage in the room. Any kind of human intrusion through the door can also be
easily tracked by this system. So in this project an intelligent alarm system is developed with 8-bit
40 pin PIC microcontroller IC 16F877A and combination of some sensors which generates alarms
for any unexpected intrusions and sends the alarms to the Network Management Centre (NMC)
[3] which is under Operation and Support Subsystem (OSS) [4] through an alarm box positioned
in BTS room.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
54
2. PROJECTED SYSTEM
Proposed system is built with a main controller that is PIC microcontroller 16F877A and some
combination of sensors. This alarm system is designed such that illegal Human Intrusion can be
detected, water seepage be monitored, smoke/Fire alarm can be generated and room temperature
can be monitored via different sensors.
Figure 1. Proposed System.
3.Hardware Design
3.1. Control Module
The control module is built with a microcontroller IC. The central controller is Microchip
PIC16F877A. It consists of 40 I/O (Bi directional lines) with 25mA current in per pin and
operating voltage range of 2.0V to 5.5V [5], [6]. It also has eight channel built-in A/D converter,
serial communication and data EEPROM.
3.2. Temperature Sensor
The LM35 is an integrated circuit sensor that can be used to measure temperature with an
electrical output proportional to the Celsius (Centigrade) temperature [7]. Temperature is directly
measured by the AN0 pin of microcontroller IC. The value of temperature from the sensor is
calculated from the given equation 1. If the temperature value is less than the value preset is
EEPROM0 then it is assumed as normal temperature. Again the temperature is greater than the
value of EEPROM0 then it is alert temperature and for the temperature that is greater than the
value in EEPROM1 the status is danger temperature.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
55
Temperature = (ADC0 (AN0) * 4 /8) o
C................................ Eqn.1
If Temperature < Temperature (EEPROM0): Normal Temperature
If Temperature > Temperature (EEPROM0): Alert Temperature
If Temperature > Temperature (EEPROM2): Danger Temperature
Figure 2. Pin Configuration and Connection diagram of LM35DZ
3.3. Water Alarm Section
Water alarm is necessary in a BTS room to keep it away from flood. As water is harmful for the
sophisticated electronics components in BTS room so whenever water inserts in the floor of BTS
room it is necessary to be informed to the authority to take essential steps. A water alarm section
can be easily designed by using a transistor [8] shown in figure 3. Only two wires will come out
from the controller to the floor of BTS room to give a sense of presence of water to the main
controller. This section can also be designed with an Ultrasound Sensor [9] but the sensor is
costly enough to implement in this controller.
Figure 3. Water Alarm Circuit
Figure 4. Placement of Wires Coming from Controller to Floor of BTS
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
56
3.4. Smoke/ Fire Alarm Section
Fire detection systems available currently are primarily smoke detectors [10]. The combination of
the rates of rise of smoke and either carbon monoxide or carbon dioxide concentration provides a
potential fire alarm algorithm to increase the reliability of smoke detectors, and to reduce the time
to alarm. Photoelectric sensors are mostly used in smoke detectors as a precise means of sensing.
Photoelectric sensor technology relies on an electric current that produces a beam of light [11].
When the beam of light is interrupted, an alarm sounds. Photoelectric sensors detect slow,
smouldering, smoky fires more quickly than other technologies. These detectors contain a light
source and a light-sensitive electric cell. Smoke particles in the detector deflect the light onto the
photoelectric cell, thus generating a current and triggering the alarm. For this project a smoke
detector of renowned company is used where the sensing is taken directly from the sensor and
interfaced into the controller.
Figure 5. Internal structure of smoke alarm device and wall mounted sensor device
3.5. Door Alarm Section
Door alarm is developed with a Reed switch [12] and a permanent magnet. Permanent magnet is
installed in the moving part of the door and Reed switch is in the fixed part of the door. So when
ever door is opened a sense will go to the controller to generate alarm. The sense is taken by the
controller through an opto-coupler.
Figure 6. Reed Switch and circuit for taking the sense from reed switch to PIC
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
57
Figure 7. Implementation of door sensor
4. LOGIC DEVELOPMENT
“Flowcode Ver. 5”, advanced simulation software is used to develop this project. It is a kind of
software which has made the programming easy and more accurate rather than other old
PICmicro chip software’s by using the highest level of programming [13], [14]. For this project
the component macros Analog to Digital Converter, Seven Segment Display, Switch, LED and
EEPROM are used in the following software which is shown in figure 8. The software Flowcode
Ver. 5 provides a real time simulation which helps a lot in developing this project before going to
practical hardware.
Figure 8. Simulation Pannel
4.1 LOGIC FLOW CHART
Initially declare variables for all the sensors and read preset values from EEPROM to those
variables. If the set switch is pressed then enter in to the settings micro and change the necessary
entities and store those data in to the EEPROM. Now check ADC0 pin for any change in the
Temperature and other sensor connected ports as well. If there is any unexpected occurrence
identified then controller will send alarm to the relevant port of the alarm box.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
58
Figure 9. Logical flowchart
5. CIRCUIT DIAGRAM
PIC16F877A is used as the main controller where Seven Segment is connected in the PORT B
and its common pins are controlled by PORT D. Sensors are connected in RC5, RC6, RC7 and
the only ADC is used for temperature sensor and that is connected in AN0. Setting switches are
connected in PORT D and Port C. Here some pins of port D and Port C are used to control the
relays which are providing the sense to the alarm box. The program is inserted into the PIC by
using a software and programmer called USBurn.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
59
Figure 10. Implemented Circuit Diagram.
6. RESULT
Figure 11. Alarm Controller and Its Connection Ports.
Figure 12: Alarm Circuit testing using LCD and PIC 16F876A
In figure 11 a complete controller is shown which is installed in a BTS site and also its port
diagram. In figure 12 a complete alarm circuit is shown where a LCD interface is used and here
16F876A is used for testing different alarms.
International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013
60
7. CONCLUSION
Safety of the BTS room is a serious issue over the years as most of the BTS rooms are located in
remote places and all of them contain costly and sophisticated equipments. So this designed
controller offers a robust safety feature for the BTS room. The 10 bit ADC can give an accurate
temperature value which can secure the BTS room from any kind of fire oriented disaster along
with the smoke alarm system. For smoke alarm highly sensitive photoelectric sensor based
system is used which can give alarm for any kind of sudden smoke sense. For water and door
alarm section locally developed sensors are used but their performance is satisfactory and reliable
as well. This whole system is low cost so can be affordable as well.
REFERENCES
[1] Alarm System,http://www.pilabsbd.com/index.php/products/telecommunication/alarm-system
[2] ZXG10-BTS(V1A)Base Trasnceiver Station Maintanance
Manual,http://www.scribd.com/doc/6568188/ZXG10-BTSV1AMaintenance-Manual
[3] Network Management Center,http://tutorials.telecomseva.com/index.php/2012/01/network-
management-centre-nmc/
[4] GSM:Network Architecture,http://www0.cs.ucl.ac.uk/staff/t.pagtzis/wireless/gsm/arch.html
[5] PIC16F877A,February 2012
[Online].Available:http://www.microchip.com/wwwproducts/Devices.aspx
[6] PIC 40 Pin 20MHz 8K 8 A/D-16F877A,https://www.sparkfun.com/products/226
[7] LM35,“Precision Centigrade Temperature Sensors”,Natinal Semiconductor, November 2000.
[8] Kavita Jindal,Kavita Singh,“Hardware and Software based Water level controller system using
Microcontroller” International Journal of Science Technology & Management, Vol.2,Issue 2,April
2011.
[9] S.JATMIKO,A.B.MUTIARA,M.INDRIATI“PROTOTYPE OF WATER LEVEL DETECTION
SYSTEM WITH WIRELESS” Journal of Theoretical and Applied Information Technology,15th
March 2012. Vol. 37 No.1.
[10] Shin-Juh Chen,Chris Hovde1,Kristen A.Peterson1,André Marshall“Fire detection using smoke and
gas sensors” Fire Safety Journal,Paper No.1298,Manuscript No. U161.
[11] How smoke detector works,http://www.epa.gov/rpdweb00/sources/smoke_howdo.html
[12] Reed switches,https://www.comus-intl.com/productpages/reed_switches_us.asp
[13] Bart Huyskens,“AN INTRODUCTION TO MICROCONTROLLER PROGRAMMING V1.0”.
[14] Flowcode 4 ,11 January,2012,[online],Available:http://www.matrixmultimedia.com/flowcode4a-
x.php.
Authors
Arifa Ferdousi
Arifa Ferdousi received B.Sc. and M.Sc. degree in ICE from University of Rajshahi,
Bangladesh, in the year of 2007 and 2009 respectively. Currently she is working as a
lecturer in the department of CSE in Varendra University, Rajshahi, Bangladesh. Her
research interest includes electronics system designing, OFDM, Advanced LTE Wi-Max
and Bangla speech recognition system using Neural Network. She is the member of
Bangladesh Electronic Society(BES).
Sadeque Reza Khan
Sadeque Reza Khan received B.Sc. degree in Electronics and Telecommunication
Engineering from University of Liberal Arts Bangladesh and continuing his M.Tech in
VLSI from National Institute of Technology Karnataka (NITK), India. Currently he is in
study leave from his Institution where he was working as a lecturer in the department of
Electrical and Electronic Engineering in Prime University, Bangladesh. His research
interest includes VLSI, Microelectronics, Control System Designing and Embedded
System Designing.

More Related Content

Similar to Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
BRNSSPublicationHubI
 

Similar to Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms (20)

B41012015
B41012015B41012015
B41012015
 
Integrated Security System With Remot Controlling Of Appliances
Integrated Security System With Remot Controlling Of AppliancesIntegrated Security System With Remot Controlling Of Appliances
Integrated Security System With Remot Controlling Of Appliances
 
IRJET- Building Monitoring using Wireless System
IRJET- Building Monitoring using Wireless SystemIRJET- Building Monitoring using Wireless System
IRJET- Building Monitoring using Wireless System
 
IoT Based Fire Alarm and Monitoring System
IoT Based Fire Alarm and Monitoring SystemIoT Based Fire Alarm and Monitoring System
IoT Based Fire Alarm and Monitoring System
 
DATA ACQUISITION AND ALERT SYSTEM USING BLYNK PLATFORM
DATA ACQUISITION AND ALERT SYSTEM USING BLYNK PLATFORMDATA ACQUISITION AND ALERT SYSTEM USING BLYNK PLATFORM
DATA ACQUISITION AND ALERT SYSTEM USING BLYNK PLATFORM
 
Iot based fire alarm system
Iot based fire alarm systemIot based fire alarm system
Iot based fire alarm system
 
Overheat and smoke detection with gsm
Overheat and smoke detection with gsmOverheat and smoke detection with gsm
Overheat and smoke detection with gsm
 
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
 
125910167
125910167125910167
125910167
 
IRJET- Heart Attack Detection by Heartbeat Sensing using Internet of thin...
IRJET-  	  Heart Attack Detection by Heartbeat Sensing using Internet of thin...IRJET-  	  Heart Attack Detection by Heartbeat Sensing using Internet of thin...
IRJET- Heart Attack Detection by Heartbeat Sensing using Internet of thin...
 
Study and Development of Temperature & Humidity monitoring system through Wir...
Study and Development of Temperature & Humidity monitoring system through Wir...Study and Development of Temperature & Humidity monitoring system through Wir...
Study and Development of Temperature & Humidity monitoring system through Wir...
 
Health Monitoring System of Elderly using Wireless Sensor NetworkIjcatr04031005
Health Monitoring System of Elderly using Wireless Sensor NetworkIjcatr04031005Health Monitoring System of Elderly using Wireless Sensor NetworkIjcatr04031005
Health Monitoring System of Elderly using Wireless Sensor NetworkIjcatr04031005
 
Microcontroller Based Temperature Monitoring and Controlling System using XBe...
Microcontroller Based Temperature Monitoring and Controlling System using XBe...Microcontroller Based Temperature Monitoring and Controlling System using XBe...
Microcontroller Based Temperature Monitoring and Controlling System using XBe...
 
Wireless Patient Monitoring System using IoT
Wireless Patient Monitoring System using IoTWireless Patient Monitoring System using IoT
Wireless Patient Monitoring System using IoT
 
A Wireless Physiological Monitoring System for Hyperbaric Oxygen Chamber
A Wireless Physiological Monitoring System for Hyperbaric Oxygen ChamberA Wireless Physiological Monitoring System for Hyperbaric Oxygen Chamber
A Wireless Physiological Monitoring System for Hyperbaric Oxygen Chamber
 
IOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEMIOT BASED ICU MONITORING SYSTEM
IOT BASED ICU MONITORING SYSTEM
 
IRJET- Smart Agriculture using Pic Microcontroller and GSM based Technology
IRJET- Smart Agriculture using Pic Microcontroller and GSM based TechnologyIRJET- Smart Agriculture using Pic Microcontroller and GSM based Technology
IRJET- Smart Agriculture using Pic Microcontroller and GSM based Technology
 
IRJET- Measurement of Temperature and Humidity by using Arduino Tool and DHT11
IRJET- Measurement of Temperature and Humidity by using Arduino Tool and DHT11IRJET- Measurement of Temperature and Humidity by using Arduino Tool and DHT11
IRJET- Measurement of Temperature and Humidity by using Arduino Tool and DHT11
 
PIR based security system
PIR based security systemPIR based security system
PIR based security system
 
Microcontroller Based Room Temperature and Humidity Measurement System
Microcontroller Based Room Temperature and Humidity Measurement SystemMicrocontroller Based Room Temperature and Humidity Measurement System
Microcontroller Based Room Temperature and Humidity Measurement System
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
jaanualu31
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
hublikarsn
 

Recently uploaded (20)

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
NO1 Top No1 Amil Baba In Azad Kashmir, Kashmir Black Magic Specialist Expert ...
 
Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
Path loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata ModelPath loss model, OKUMURA Model, Hata Model
Path loss model, OKUMURA Model, Hata Model
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 

Hardware and Logic Implementation of Multiple Alarm System for GSM BTS Rooms

  • 1. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 DOI : 10.5121/ijitmc.2013.1406 53 HARDWARE AND LOGIC IMPLEMENTATION OF MULTIPLE ALARM SYSTEM FOR GSM BTS ROOMS Arifa Ferdousi1 and Sadeque Reza Khan2 1 Dept. of Computer Science and Engineering, Varendra University, Rajshahi, Bangladesh 2 Dept. of Electronic and Communication Engineering, NITK, India ABSTRACT Cellular communication becomes the major mode of communication in present century. With the development of this phase of communication the globalization process is also in its peak of speed. The development of cellular communication is largely depending on the improvement and stability of Base Transceiver Station (BTS) room. So for the purpose of the development of cellular communication a large numbered BTS rooms are installed throughout the world. To ensure proper support from BTS rooms there must be a security system to avoid any unnecessary vulnerability. Therefore multiple alarm system is designed to secure the BTS rooms from any undesired circumstances. This system is designed with a PIC Microcontroller as a main controller and a several sensors are interfaced with it to provide high temperature alarm, smoke alarm, door alarm and water alarm. All these alarms are interfaced with the alarm box in the BTS room which provides the current status directly to Network Management Centre (NMC) of a Global System for Mobile (GSM) communication network. KEYWORDS BTS, ADC, LM35DZ, Photoelectric Sensor, Reed Switch, Seven Segment Display, Opto-coupler. 1. INTRODUCTION BTS rooms are generally sealed with sophisticated and obviously costly electrical and electronics devices which need constant inspection to ensure that those devices are safe and operational [1]. Studying the location of these rooms it can be found that these rooms are located in such a position where rain water, illegal human intrusion, fire and many other unexpected incidents can occur. So remote monitoring is a must needed service for these rooms. An intelligent alarm system can easily assist in this phenomenon by studying all the factors of keeping the room safe from the unexpected situations. The system should be such that it can monitor room temperature all the time and generates alarm when the temperature goes above the set temperature as the ambient temperature requirement is -5˚C ~ +45˚C and is recommended to be always kept between 15˚C ~ 30˚C [2]. It also can detect if any kind of smoke, hence a fire event occurs in the room and ultimately generates an alarm. System is also equipped with sensors which can detect any kind water seepage in the room. Any kind of human intrusion through the door can also be easily tracked by this system. So in this project an intelligent alarm system is developed with 8-bit 40 pin PIC microcontroller IC 16F877A and combination of some sensors which generates alarms for any unexpected intrusions and sends the alarms to the Network Management Centre (NMC) [3] which is under Operation and Support Subsystem (OSS) [4] through an alarm box positioned in BTS room.
  • 2. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 54 2. PROJECTED SYSTEM Proposed system is built with a main controller that is PIC microcontroller 16F877A and some combination of sensors. This alarm system is designed such that illegal Human Intrusion can be detected, water seepage be monitored, smoke/Fire alarm can be generated and room temperature can be monitored via different sensors. Figure 1. Proposed System. 3.Hardware Design 3.1. Control Module The control module is built with a microcontroller IC. The central controller is Microchip PIC16F877A. It consists of 40 I/O (Bi directional lines) with 25mA current in per pin and operating voltage range of 2.0V to 5.5V [5], [6]. It also has eight channel built-in A/D converter, serial communication and data EEPROM. 3.2. Temperature Sensor The LM35 is an integrated circuit sensor that can be used to measure temperature with an electrical output proportional to the Celsius (Centigrade) temperature [7]. Temperature is directly measured by the AN0 pin of microcontroller IC. The value of temperature from the sensor is calculated from the given equation 1. If the temperature value is less than the value preset is EEPROM0 then it is assumed as normal temperature. Again the temperature is greater than the value of EEPROM0 then it is alert temperature and for the temperature that is greater than the value in EEPROM1 the status is danger temperature.
  • 3. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 55 Temperature = (ADC0 (AN0) * 4 /8) o C................................ Eqn.1 If Temperature < Temperature (EEPROM0): Normal Temperature If Temperature > Temperature (EEPROM0): Alert Temperature If Temperature > Temperature (EEPROM2): Danger Temperature Figure 2. Pin Configuration and Connection diagram of LM35DZ 3.3. Water Alarm Section Water alarm is necessary in a BTS room to keep it away from flood. As water is harmful for the sophisticated electronics components in BTS room so whenever water inserts in the floor of BTS room it is necessary to be informed to the authority to take essential steps. A water alarm section can be easily designed by using a transistor [8] shown in figure 3. Only two wires will come out from the controller to the floor of BTS room to give a sense of presence of water to the main controller. This section can also be designed with an Ultrasound Sensor [9] but the sensor is costly enough to implement in this controller. Figure 3. Water Alarm Circuit Figure 4. Placement of Wires Coming from Controller to Floor of BTS
  • 4. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 56 3.4. Smoke/ Fire Alarm Section Fire detection systems available currently are primarily smoke detectors [10]. The combination of the rates of rise of smoke and either carbon monoxide or carbon dioxide concentration provides a potential fire alarm algorithm to increase the reliability of smoke detectors, and to reduce the time to alarm. Photoelectric sensors are mostly used in smoke detectors as a precise means of sensing. Photoelectric sensor technology relies on an electric current that produces a beam of light [11]. When the beam of light is interrupted, an alarm sounds. Photoelectric sensors detect slow, smouldering, smoky fires more quickly than other technologies. These detectors contain a light source and a light-sensitive electric cell. Smoke particles in the detector deflect the light onto the photoelectric cell, thus generating a current and triggering the alarm. For this project a smoke detector of renowned company is used where the sensing is taken directly from the sensor and interfaced into the controller. Figure 5. Internal structure of smoke alarm device and wall mounted sensor device 3.5. Door Alarm Section Door alarm is developed with a Reed switch [12] and a permanent magnet. Permanent magnet is installed in the moving part of the door and Reed switch is in the fixed part of the door. So when ever door is opened a sense will go to the controller to generate alarm. The sense is taken by the controller through an opto-coupler. Figure 6. Reed Switch and circuit for taking the sense from reed switch to PIC
  • 5. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 57 Figure 7. Implementation of door sensor 4. LOGIC DEVELOPMENT “Flowcode Ver. 5”, advanced simulation software is used to develop this project. It is a kind of software which has made the programming easy and more accurate rather than other old PICmicro chip software’s by using the highest level of programming [13], [14]. For this project the component macros Analog to Digital Converter, Seven Segment Display, Switch, LED and EEPROM are used in the following software which is shown in figure 8. The software Flowcode Ver. 5 provides a real time simulation which helps a lot in developing this project before going to practical hardware. Figure 8. Simulation Pannel 4.1 LOGIC FLOW CHART Initially declare variables for all the sensors and read preset values from EEPROM to those variables. If the set switch is pressed then enter in to the settings micro and change the necessary entities and store those data in to the EEPROM. Now check ADC0 pin for any change in the Temperature and other sensor connected ports as well. If there is any unexpected occurrence identified then controller will send alarm to the relevant port of the alarm box.
  • 6. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 58 Figure 9. Logical flowchart 5. CIRCUIT DIAGRAM PIC16F877A is used as the main controller where Seven Segment is connected in the PORT B and its common pins are controlled by PORT D. Sensors are connected in RC5, RC6, RC7 and the only ADC is used for temperature sensor and that is connected in AN0. Setting switches are connected in PORT D and Port C. Here some pins of port D and Port C are used to control the relays which are providing the sense to the alarm box. The program is inserted into the PIC by using a software and programmer called USBurn.
  • 7. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 59 Figure 10. Implemented Circuit Diagram. 6. RESULT Figure 11. Alarm Controller and Its Connection Ports. Figure 12: Alarm Circuit testing using LCD and PIC 16F876A In figure 11 a complete controller is shown which is installed in a BTS site and also its port diagram. In figure 12 a complete alarm circuit is shown where a LCD interface is used and here 16F876A is used for testing different alarms.
  • 8. International Journal of Information Technology, Modeling and Computing (IJITMC) Vol.1,No.4,November 2013 60 7. CONCLUSION Safety of the BTS room is a serious issue over the years as most of the BTS rooms are located in remote places and all of them contain costly and sophisticated equipments. So this designed controller offers a robust safety feature for the BTS room. The 10 bit ADC can give an accurate temperature value which can secure the BTS room from any kind of fire oriented disaster along with the smoke alarm system. For smoke alarm highly sensitive photoelectric sensor based system is used which can give alarm for any kind of sudden smoke sense. For water and door alarm section locally developed sensors are used but their performance is satisfactory and reliable as well. This whole system is low cost so can be affordable as well. REFERENCES [1] Alarm System,http://www.pilabsbd.com/index.php/products/telecommunication/alarm-system [2] ZXG10-BTS(V1A)Base Trasnceiver Station Maintanance Manual,http://www.scribd.com/doc/6568188/ZXG10-BTSV1AMaintenance-Manual [3] Network Management Center,http://tutorials.telecomseva.com/index.php/2012/01/network- management-centre-nmc/ [4] GSM:Network Architecture,http://www0.cs.ucl.ac.uk/staff/t.pagtzis/wireless/gsm/arch.html [5] PIC16F877A,February 2012 [Online].Available:http://www.microchip.com/wwwproducts/Devices.aspx [6] PIC 40 Pin 20MHz 8K 8 A/D-16F877A,https://www.sparkfun.com/products/226 [7] LM35,“Precision Centigrade Temperature Sensors”,Natinal Semiconductor, November 2000. [8] Kavita Jindal,Kavita Singh,“Hardware and Software based Water level controller system using Microcontroller” International Journal of Science Technology & Management, Vol.2,Issue 2,April 2011. [9] S.JATMIKO,A.B.MUTIARA,M.INDRIATI“PROTOTYPE OF WATER LEVEL DETECTION SYSTEM WITH WIRELESS” Journal of Theoretical and Applied Information Technology,15th March 2012. Vol. 37 No.1. [10] Shin-Juh Chen,Chris Hovde1,Kristen A.Peterson1,André Marshall“Fire detection using smoke and gas sensors” Fire Safety Journal,Paper No.1298,Manuscript No. U161. [11] How smoke detector works,http://www.epa.gov/rpdweb00/sources/smoke_howdo.html [12] Reed switches,https://www.comus-intl.com/productpages/reed_switches_us.asp [13] Bart Huyskens,“AN INTRODUCTION TO MICROCONTROLLER PROGRAMMING V1.0”. [14] Flowcode 4 ,11 January,2012,[online],Available:http://www.matrixmultimedia.com/flowcode4a- x.php. Authors Arifa Ferdousi Arifa Ferdousi received B.Sc. and M.Sc. degree in ICE from University of Rajshahi, Bangladesh, in the year of 2007 and 2009 respectively. Currently she is working as a lecturer in the department of CSE in Varendra University, Rajshahi, Bangladesh. Her research interest includes electronics system designing, OFDM, Advanced LTE Wi-Max and Bangla speech recognition system using Neural Network. She is the member of Bangladesh Electronic Society(BES). Sadeque Reza Khan Sadeque Reza Khan received B.Sc. degree in Electronics and Telecommunication Engineering from University of Liberal Arts Bangladesh and continuing his M.Tech in VLSI from National Institute of Technology Karnataka (NITK), India. Currently he is in study leave from his Institution where he was working as a lecturer in the department of Electrical and Electronic Engineering in Prime University, Bangladesh. His research interest includes VLSI, Microelectronics, Control System Designing and Embedded System Designing.