5
Wireless Security Control System & Sensor Network for Smoke & Fire Detection Molla Shahadat Hossain Lipu Electrical & Electronic Engineering Department The University of Asia Pacific Dhaka, Bangladesh [email protected] Md. Lushanur Rahman IP Network, Implementation Department, Technology Division Axiata (Bangladesh) Limited Dhaka,Bangladesh [email protected] Ahsact-The project entails the design and engineering of a wireless smoke detector unit and network. The premise of the wireless network is to alert and to set off all of the smoke detectors in the network if one smoke detector is set off. The hardware modules include the PIC microcontroller, temperature sensor, smoke sensor, low battery sensor, transmitter, and receiver. The soſtware component includes the program and code implemented via the PIC microcontroller. In its completion and entirety, the smoke detector unit properly functions and in the manner it was originally planned and designed. Kwords-Photoelecc Smoke Detecto, reless Deteor Network, PIC16F8777A. I. INTRODUCTION A smoke detector or smoke aln is a device that detects smoke d issues ala to alert nearby people at there is a potential fire. Smoke alns e self contained devices at incoorate a means of detecting a fire (smoke detector) d giving a wing (aln). They are about e size of a hd and e normally fitted to e ceiling. They can detect fires in eir early stages d give you ose precious minutes to enable you and your family to leave your house in safe. e term wireless is normally used to refer to y pe of electrical or electronic operation which is accomplished without the use of a "hd wired" connection. Wireless communication is the transfer of infoation over a distce without the use of elecical conductors or "wires". e te "wireless" has become a generic and all-encompassing word used to describe communications in which elecomagnetic waves or (rather than some fo of wire) to ca a signal over pa or e entire communication pa. Smoke detector is a device that detects smoke and issues ala. Smoke detectors alert people within hearing rge, some also interface wi a securi system or noti emergency services [I]. The smoke detector is one of three items of fe safe appatus that e recommended for homes d at can be installed by e consumer. The second is a fIre extinguisher, 978-1-4244-6932-1/10/$26.00 ©2010 IEEE 153 Tahia Fahrin Karim Electrical & Electronic Engineering Department Primeasia University Dha, Bangladesh [email protected] Faria Sultana Technical Depament Automation Drives & Control Limited Dha, Bangladesh [email protected] and e third is a fIre blanket, a section of fIre retdant clo, noally 1 meter (3.3 ſt) on each side, that c be applied to a small fire to smoer it. The motivation behind the project came om brainstoing and oughts regding bolstering home safety. The imporce of smoke detection is one of the chief safety conces for residential (single-family) housing. Most smoke detectors on the cuent market are individual units sans communication or connections to e other smoke detectors. Thus, only e smoke detector at sounds an ala is e one which senses e smoke. e solution is a wireless implementation of smoke detectors increasing safety in terms of saving lives d proper. the incident of a fIre, residents are alerted more rapidly as response time is decreased, ereby increasing the chance for survival [2]. II. WILESS DETECTOR NETWORK A Wireless Detector Network is a wireless local area network, which is the linking of two or more eleconics devices without using wires. It utilizes spread-spectrum or equency modulation technology based on radio waves to enable communication between devices in a limited area, also known as the basic service set [3]. This gives users the mobility to move ound wiin a broad coverage area d still be connected to the network. Its main advtages e long rge of communication, convenience, mobili, productivity, deployment, expdability and low cost [4]. III. SMOKE DETECTOR Most smoke detectors work either by optical detection (photoelectric) or by physical process (ionization), but some of them use both detection methods to increase sensitivity to smoke. ese smoke detectors e both used to detect fire, but not e same type of fIre. Photoelecic Smoke Detectors are faster in detecting smoldering fires, while Ionization Smoke Detectors are better at detecting flaming fires due to their ability to detect smaller paicles [5]. Ionization Smoke Detector has two key ps, ionization chamber and a source of radiation. is source of radiation consists of a ve minute concentration of Americium-241,

Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

Wireless Security Control System & Sensor Network for Smoke & Fire Detection

Molla Shahadat Hossain Lipu

Electrical & Electronic Engineering Department The University of Asia Pacific

Dhaka, Bangladesh [email protected]

Md. Lushanur Rahman

IP Network, Implementation Department, Technology Division Axiata (Bangladesh) Limited

Dhaka,Bangladesh [email protected]

Ahstract-The project entails the design and engineering of a wireless smoke detector unit and network. The premise of the wireless network is to alert and to set off all of the smoke detectors in the network if one smoke detector is set off. The hardware modules include the PIC microcontroller, temperature sensor, smoke sensor, low battery sensor, transmitter, and receiver. The software component includes the program and code implemented via the PIC microcontroller. In its completion and entirety, the smoke detector unit properly functions and in the manner it was originally planned and designed.

Keywords-Photoelectric Smoke Detectors, Wireless Detector

Network, PIC16F8777A.

I. INTRODUCTION

A smoke detector or smoke alann is a device that detects smoke and issues an alann to alert nearby people that there is a potential fire. Smoke alanns are self contained devices that incorporate a means of detecting a fire (smoke detector) and giving a warning (alann). They are about the size of a hand and are normally fitted to the ceiling. They can detect fires in their early stages and give you those precious minutes to enable you and your family to leave your house in safety. The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use of a "hard wired" connection. Wireless communication is the transfer of information over a distance without the use of electrical conductors or "wires". The term "wireless" has become a generic and all-encompassing word used to describe communications in which electromagnetic waves or RF (rather than some form of wire) to carry a signal over part or the entire communication path. Smoke detector is a device that detects smoke and issues an alann. Smoke detectors alert people within hearing range, some also interface with a security system or notify emergency services [I].

The smoke detector is one of three items of fIre safety apparatus that are recommended for homes and that can be installed by the consumer. The second is a fIre extinguisher,

978-1-4244-6932-1/10/$26.00 ©2010 IEEE

153

Tahia Fahrin Karim

Electrical & Electronic Engineering Department Primeasia University Dhaka, Bangladesh

[email protected]

Faria Sultana

Technical Department Automation Drives & Control Limited

Dhaka, Bangladesh [email protected]

and the third is a fIre blanket, a section of fIre retardant cloth, normally 1 meter (3.3 ft) on each side, that can be applied to a small fire to smother it. The motivation behind the project came from brainstorming and thoughts regarding bolstering home safety. The importance of smoke detection is one of the chief safety concerns for residential (single-family) housing. Most smoke detectors on the current market are individual units sans communication or connections to the other smoke detectors. Thus, only the smoke detector that sounds an alann is the one which senses the smoke. The solution is a wireless implementation of smoke detectors increasing safety in terms of saving lives and property. In the incident of a fIre, residents are alerted more rapidly as response time is decreased, thereby increasing the chance for survival [2].

II. WIRELESS DETECTOR NETWORK

A Wireless Detector Network is a wireless local area network, which is the linking of two or more electronics devices without using wires. It utilizes spread-spectrum or frequency modulation technology based on radio waves to enable communication between devices in a limited area, also known as the basic service set [3]. This gives users the mobility to move around within a broad coverage area and still be connected to the network. Its main advantages are long range of communication, convenience, mobility, productivity, deployment, expandability and low cost [4].

III. SMOKE DETECTOR

Most smoke detectors work either by optical detection (photoelectric) or by physical process (ionization), but some of them use both detection methods to increase sensitivity to smoke. These smoke detectors are both used to detect fire, but not the same type of fIre. Photoelectric Smoke Detectors are faster in detecting smoldering fires, while Ionization Smoke Detectors are better at detecting flaming fires due to their ability to detect smaller particles [5].

Ionization Smoke Detector has two key parts, ionization chamber and a source of radiation. This source of radiation consists of a very minute concentration of Americium-241,

Page 2: Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

which produce alpha particles. The Ionization Chamber contains two plates: one plate is negatively charged, and the other is positively charged. It includes a tiny mass of radioactive americium-241, which is a source of alpha radiation. Ionization smoke detectors are very useful to deduct smoke in areas that are prone to rapid fIres. The detector consists of a smoke alarm made of radioactive material. The radioactive material is very thick but also has enough space to accommodate the alpha particles that pass through. The chamber consists of two metal plates carrying both positive and negative charges. The atoms travel in opposite directions i.e. the positive Ones are transmitted to the negative plate and vice similarly the negative ones are transmitted to the negative plate and vice similarly the negative ones are transmitted to the positive plates. Smoke enters the chamber absorbs the alpha particles, reduces the ionization & interrupts this current, setting off the alarm [5]. Figure 01 demonstrates Ionization Smoke Detector where light is deflected by the smoke particles.

Electrical power source + Positive electrode

Negative ion -.l Positive ion ---+T

Alpha � source

Alpha particles

Negative electrode

Figure I. Circuit of an ion chamber detector.

In a photoelectric smoke detector, a light source and light sensor are arranged so that the rays from the light source do not hit the light sensor. These detectors react quickly to visible smoke particles from smoldering fIres, but are less sensitive to the smaller particles associated with flaming or very hot fIres. Figure 02 explains the operation procedure of the photoelectric smoke detector.

li9ht Sl)1.m;e

Light beam

Figure 2. Smoke particles deflect the light beam and trigger the alarm.

Most photoelectric smoke detectors are of the spot type and operate on the light scattering principle. A light-emitting diode (LED) is beamed into an area not normally "seen" by a photosensitive element, generally a photodiode. When smoke

154

particles enter the light path, light strikes and is reflected onto the photosensitive device causing the detector to respond. Photoelectric smoke detectors use the principle of scattered or reflected light to indicate the presence of visual smoke. When smoke is present in the chamber, a photocell located at right angles to the light source senses the light scattered off the smoke particles and, at a certain level of illumination, triggers the alarm [5].

Since temperature sensors will detect flaming fIres with rapid temperature changes, it would be best to use photoelectric smoke detectors to ensure rapid detection of smoldering fIres. Both detectors sense the presence of smoke. The photoelectric detector senses the large, visible smoke particles. The ion chamber detector senses the small, invisible particles. If a fIre starts and slowly smolders in upholstery without visible flame, a good photoelectric unit would be superior to a good ion chamber detector in terms of detection time. But, if the fIre has flames, a good ion chamber will detect it faster than a good photoelectric detector.

IV. SYSTEM OVERVIEW

The requirement for the project is to design and to create a functional smoke detector. After detecting smoke or a high temperature (potential fIre), the detector sets off the appropriate alarm sound. The detector also transmits an RF signal to the other smoke detectors in the network so that those detectors, in tum, sound their alarm. Each detector is capable of sounding four different alarms. There is a smoke, temperature, low battery, and received alarm. The last alarm is implemented so that the origin of the smoke or fIre is known. Figure 03 shows the whole part of the smoke detector unit where PIC Microcontroller la s the rna·or role.

Transmitter Receiver

PIC Microcontrolle

Tone generator/ speaker

Figure 3. Smoke Detector Unit

The microcontroller is the heart of the system. It receives inputs from the receiver, temperature sensor, smoke sensor, and low battery sensor, as well as outputting the appropriate signals and bits to the tone generator and transmitter. The transmitter sends a signal to the other smoke detectors in the network in order to alert them to set off the audible alarm. The receiver is the counterpart to the transmitter. It receives the signal from the transmitters of the other smoke detectors and relays that signal to the PIC microcontroller [5].

The tone generator and speaker module emits the appropriate sound determined by the PIC microcontroller.

Page 3: Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

There are four distinct alanns. The temperature alann and smoke alann both sound at 4 kHz; however, the temperature alann is sounded at a higher volume level (with the use of a lower resistance than the smoke alann). In addition, there is a detected signal alarm (smoke or fIre detected at another detector) that sounds at 2 kHz. There is also a low battery alarm that sounds at 500 Hz. The smoke sensor provides a mean to detect smoke and to serve as an early fIre warning. The basis of the smoke sensor is a T-shaped chamber with an infrared LED that emits a beam of light across the horizontal portion of the chamber. The temperature sensor sends an analog signal-proportional to the temperature-to the PIC microcontroller. The temperature threshold is set at 125°F [6]. An overview of the PIC microcontroller flow diagram is illustrated in Figure 04.

J Tone Temperature Seosor Generator Ternperarure threshold �

of 125°F reached? _ 0

No � Yes [ Smoke Sensor ) Yes

Smoke Detected? Yes

I PIC i\ficrocootroUer No

.. Ternperarure sensor,

rec.eiver, smoke sensor, r--Receiver or low battery sensor

RF signal received from has been set off?

another detector's

T transmitter?

No .. Yes

Low Battery Seosor Battery measured

J below 3.5V? Transmitter Always

Figure 4. PIC microcontroller flow

V. DESIGN VERIFICATION

The microcontroller was fIrst programmed and tested separately. Then, one by one, each module was interfaced with the microcontroller to ensure proper and full functionality. The methodical approach proved easier for debugging purposes. Repeated trials of each input and output combination were performed to ensure the PIC microcontroller processed and performed each function and program it had been designed and implemented for. There were no major problems during the testing of the PIC microcontroller except few minor problems included compiling errors due to improper or missing syntax and increasing the length of delay to properly read input pins.

To test the low battery sensor, a dc supply source set to 3.7 V was connected to the PIC microcontroller. Then, it was slowly decreased from 3.7 V to 3.3 V while measurements of the appropriate output were observed via a millimeter. Once the dc supply source was decreased past the 3.5 V threshold, the output read a digital high, which was flagged by the program code of the PIC microcontroller.

155

Furthermore, the low battery sensor alann sounded, thus verifying the circuit was designed and implemented successfully. Repeated trials at voltage levels close-above and below-to 3.5 V were conducted to ensure reliability. The entire smoke detector unit draws 0.15 A and consumes 0.8 W. Thus, since the typical battery rating is 600 mA­hours, the battery life of the smoke detector unit can be calculated.

A heat source-lighter-was used to test the temperature sensor. The output signal of the temperature sensor was then measured to ensure proper functionality. With repeated trials, verifIcation was conducted to observe the proper functionality of the temperature sensor when exposed to a variety of temperatures. Tests were also performed to verify the correct sound and volume were emitted when the temperature threshold (125°F) was reached.

To create smoke to test the smoke sensor module, a cigarette was lit outside. Under these smoke conditions, a millimeter was connected to the appropriate output to observe if the smoke detector went off at the 4.94 V

threshold. This was indeed the case, as the voltage at the collector of the phototransistor read 4.957 V and the PIC microcontroller code processed this and sounded the smoke alarm.

The resistance connected from the battery source to the collector voltage may be changed to vary the sensitivity of the smoke sensor. The lower the resistance, the less sensitive the smoke sensor is to light; conversely, the higher the resistance, the more sensitive the smoke sensor is to light. Figures 05 and 06 illustrate this. [7].

Figure 5. Smoke Sensor Resistanc.e at 470 ohms

Page 4: Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

..

R1 = S.1K ohms Voltage @ Collector = 4.77V

4.88 ,-----,-----,----,---.,..-------,-----, 4.86 4.84 4.82

4.8 :;; 4.78 > 4.76

4.74 I----t---I-L-J--!.-'-H 4.72 1---1---1---1-'-1--11111--1--'---1---1

4.7 1----j.---I---+-...LL-4---+---I 4.68 +----+---+---+---+------1----1 ·0.00000003 .().00000002 -0.00000001 0.00000001 0.00000002 0.00000003

Seconds

Figure 6. Smoke Sensor Resistance at 5.1K ohms

VI. DESIGN ALTERNATIVES

For the transmitter and receiver, two important altematives are to be considered. First, it is better to encode the transmitter and receiver signal in encrypted packets. This lessens the effect of the noise from the various electromagnetic radiation sources. A simple encoding method would suffice as there are only two signals being sent. Second, a less expensive transmitter and receiver are beneficial. For the current design, a sophisticated transmitter and receiver pair is unnecessary. Therefore, a simple transmitter and receiver pair greatly decreases the overall cost of the smoke detector unit, as the current transmitter and receiver significantly contribute to the overall cost of the smoke detector unit.

An alternative design to the PIC microcontroller and its software code is to use a hardware design. Using logic gates accomplishes the same goals of the PIC microcontroller; however, numerous hardware components are needed, thereby increasing cost. Also, the time necessary to implement each logic gate vastly increases. As more hardware pieces are needed, the physical size of the overall design increases greatly; conversely, the PIC microcontroller is one hardware piece with the logic implemented in software code. Thus, using the PIC microcontroller and implementing the necessary logic in its software code decreases time, cost, and physical size [8].

VII. IMPLEMENTATION

On detection of smoke, the smoke detector circuit will raise an alarm signal that will activate a relay. This relay is connected to the pc via parallel port. The parallel port status registers address is used to read the status of the parallel port. This will allow for reading the alarm signal coming from the smoke detector circuit.

When the alarm is read, the program sends a specified message (for example: fire alarm) to specified mobile station through the mobile station that connected to the pc via IR. According to the restore message that will be received from the specified mobile station; through the mobile station that connected to the pc via IR; the extinguisher will be turn on or

156

off [9]. Enhancement smoke detector unit with GSM application depicts in Figure 07. The proposed name to this enhanced system is a smoke detection system using wireless network.

Figure 7. smoke detector system enhancement

A. Hardware Implementation

The parallel port affords a very simple technique for interfacing with external circuitry. It, as Implemented on the PC, consists of a connector with 17 signal lines and 8 ground lines. The signal lines are divided into three groups: four Control lines, five Status lines, eight Data lines the parallel port is implemented using the SPP mode. To program the parallel port in SPP mode, three registers are used. Only two registers are needed in the proposed wireless smoke detector system. The port base address (110 Base) is used to write to the data lines. This is used to tum on or off the extinguisher according to the restore message that will be received from the specified mobile station. The parallel port status register address is at the port base address plus one and is used to read the status of the parallel port. This is used to read the alarm signal from the smoke detector circuit.

1) Computer Connectivity: The parallel port affords a very simple technique for interfacing with external circuitry. It, as Implemented on the PC. The signal lines are divided into three groups: four Control lines, five Status lines, eight

Data lines the parallel port is implemented using the SPP mode. To program the parallel port in SPP mode, three registers are used. Only two registers are needed in the proposed wireless smoke detector system.

2) Wireless Connectivity: To connect a compatible

Nokia phone to pc, Nokia PC Suite must be installed. The connection between Nokia phone and a PC is made using

one of the following connection types; depending on the devices' supported connection types; Infrared, Connection

cable or Bluetooth wireless technology. In the proposed smoke detection system using wireless network, the infrared connection is used.

3) Software Implementation: The software that does the

monitoring and control processes, runs under Microsoft Window environment and it was written using Microsoft Visual Basic. An interactive Graphical User Interface (GUI)

wad made to monitor the state of the smoke detector and to control an output signal via SMS as shown in the figure. The designed form of the GUI is divided into two sections; the first one is the sending section. Figure 08 shows the controlling process of the GUI interface.

Page 5: Wireless Security Control System Sensor Network for Smoke ...kresttechnology.com/krest-academic-projects/krest-major-projects/E… · I. INTRODUCTION A smoke detector or ... Tahia

!Ju n"" r------ Sond I

Reset

R �� -------------------------

WIi1I1Jt1·�---------------,

(' ON ,. OFF

Figure 8. The GUI interface

B. Improvement in RF Sector:

I) FSIOOOA 3 15 MHz Wireless Radio Transmitting

Module: This low cost RF transmitter can be used to transmit signal up to 100 meters (the antenna design, working environment and supply voltage will seriously impact the effective distance). It's good for short distance, battery power device development.

Figure 9. FSIOOOA 315 MHz Wireless Radio Transmitting Module (Dimensions, 22 mm X 21 mm X 8 mm)

2) RF Modules: It is used in car or motor alarm, horne alarm security system, remote control system for various

products, like electric curtain, roller blind door, garage/gate

barrier, intelligent control, and industry control.

Figure 10. CDTJS-3 design Specification

157

By using the improved transmitter and receiver module, fmally the whole smoke detector circuit is established which is shown in figure 11 .

.... IIII[IJJIIIII!I ... _.

Figure II. Final smoke detector unit

VIII. CONCLUSION

In this paper we have worked on each module and the smoke detector unit in its entirety functioned properly and successfully; the only minor issue was the interference with the random external noise. The noise issue, however, did not have any effect on the functionality of the smoke detector unit, as it was demonstrated to work properly.

REFERENCES

[I). M. Brain, "How Smoke Detectors Work," June 1995 http://home.howstuffworks.com/smoke.htm

[2). Full-Scale House Fire Experiment for InterFIRE VR, Report of Test, A.D. Putorti Jr and J. McElroy, November 2,1999, Revised April 10, 2000, http://www . interfire.org/features/fire _ experiment.asp

[3). Wireless Sensor Networks, pt I: Introduction, Eliana Stavrou http://webhosting.devshed.com/c/aiWeb-Hosting-ArticleslWireless­Sensor-Networks-pt-I-Introductionl

[4). 2003 NFPA world safety conference 'May 20 2003' Smoke Detection system performance. Dan Gottuk, Ph.D., P.E

[5). System Smoke Detectors, http://www.systemsensor.comlhtml/guides/A05-1003.pdf

[6). Sensor Network Operation, http://www.intel.com/research/exploratory/sensometwork _operation .htm

[7). Fire Detection Systems www.osha.gov [8). Application of Wireless Sensor Mote for Building Risk Monitoring,

N. Kurata, B. F. Spencer, Jr, and M. Ruiz-Sandoval, http://www.unl.im.dendai.ac.jpIINSS2004IINSS2004-papers/Poster Presentations/P8.pdf, (2003)

[9). On Random Event Detection with Wireless Sensor Networks, P. K. Dutta, Masters Thesis, Ohio State University, 2004, http://www.cs.berkeley.edu/-prabal/pubs/masters/dutta04masters.pdf