prototype of fire symptom detection system · sensor type is greatly affect with the earlier...

6
Prototype of Fire Symptom Detection System Oxsy Giandi Management Informatics Management Technology Graduate School Institute Teknologi Sepuluh Nopember Surabaya, Indonesia [email protected] [email protected] Riyanarto Sarno Departement of Informatics Institut Teknologi Sepuluh Nopember Surabaya, Indonesia [email protected] Abstract—One of smart home function is fire alert detection. The symptom detection of fire in the house is important action to prevent the mass fire and save many things. This research applies the new system of fire detection using gas leak concentration to predict the explosion and fire earlier called fire predictor and the fire appearance detector. The fire predictor just show the gas leak concentration and make an alarm rang. The fire detector use fuzzy system to make the fire detector classification. The output simulation system can send the data to MFC, but the MFC reader cannot parse it in real time. Index Terms—smart home, fire detection, gas leak, fuzzy system. I. I NTRODUCTION Nowadays, people want to make their work easier and spend much time on their home. They develop a new technology to automate one or many step and pass the difficult way for making a better life. One of that technology is called Smart Home Technology. It comprise the ability of sensing, controlling, monitoring, accesability, secure, and reliable. The intellegent home offer many ability which is able to sense, control and monitor around the home[1][2]. In this research, we present the protoype of early fire detection technology. Early detection of fire in the home is one of the important action to prevent the mass fire and save many things. There are many method to detect and estimate fire before it become huge[3]. Detecting fire with gas sensor can grow the ability the detection performance and early alarm[4]. Chen et.al[5] built the fire detection using smoke and gas sensor. It monitored the fire using a smoke level and threshold. In many cases, the system did not robust if it just uses smoke detection, but if the fire detection which is base on gas sensor is used together repectively, the result is more better. Perera and Litton [6] sensed the fire using many sensor and got that smoke sensor response earlier than CO sensor. Their study indicated that the sensor type is greatly affect with the earlier detection system of fire. The combination of fire sensor and smoke sensor[7] give the compared result that can handle the non-fire situation. The fire detection and monitoring that use flame,smoke, gas, temperature and humidity sensor had been proposed and the combination gave the good result[8][9]. The combination’s sys- tem sent the home’s situation to android phone that connected with the wireless network. The fire symptom dectection is difficult to sense. Ding et.al [10] proposed a probability method to measure the early symptom of fire. The Multi-Sensor Intellegent Fire Monitoring System(MSIFMS) based on D-S Theory could solved the problem the symptom and avoided the false alarm. Garcia- Jimenez et.al [11] used Fuzzy System to detect the fire on the forest. Their proposed system showed the comptetitive result for solve the symptom detection problem. The fuzzy rule set can be used for become a threshold and logic behind the fire symptom detection[12]. [13]made a comparison among many communi- cation technology that was used by home automation.[14]gave the IoT architecture overview for development and management of sensor data. Fig. 1. Sarno’s Smart Home Framework In this paper, the fire detection that was proposed by us be on the form of a protoype and a simulation figure 1(red box). The sensing system use smoke, gas, temperature and humidity sensor then the decision method to measure fire symptom, is implemented by fuzzy sytem. This research focus on gas leak sensing, smoke sensing, and the change of temperature and humidity to sense fire based on fuzzy. The fuzzy system is proposed for watching the sensor data in interval[15]. [16] used fuzzy to determining quantitative water quantities, adjust and stabilize in agricultural irrigation systems. II. EASY OF USE The sarno’s smart home framework will be built on several component figure 1. All part of the framework is proposed on the form of protoype and simulation before go to implementa- tion step.

Upload: lydien

Post on 27-Apr-2019

217 views

Category:

Documents


0 download

TRANSCRIPT

Prototype of Fire Symptom Detection SystemOxsy Giandi

Management InformaticsManagement Technology Graduate School

Institute Teknologi Sepuluh NopemberSurabaya, Indonesia

[email protected]@gmail.com

Riyanarto SarnoDepartement of Informatics

Institut Teknologi Sepuluh NopemberSurabaya, [email protected]

Abstract—One of smart home function is fire alert detection.The symptom detection of fire in the house is important action toprevent the mass fire and save many things. This research appliesthe new system of fire detection using gas leak concentration topredict the explosion and fire earlier called fire predictor andthe fire appearance detector. The fire predictor just show the gasleak concentration and make an alarm rang. The fire detector usefuzzy system to make the fire detector classification. The outputsimulation system can send the data to MFC, but the MFC readercannot parse it in real time.

Index Terms—smart home, fire detection, gas leak, fuzzy system.

I. INTRODUCTION

Nowadays, people want to make their work easier and spendmuch time on their home. They develop a new technologyto automate one or many step and pass the difficult wayfor making a better life. One of that technology is calledSmart Home Technology. It comprise the ability of sensing,controlling, monitoring, accesability, secure, and reliable. Theintellegent home offer many ability which is able to sense,control and monitor around the home[1][2]. In this research,we present the protoype of early fire detection technology.

Early detection of fire in the home is one of the importantaction to prevent the mass fire and save many things. Thereare many method to detect and estimate fire before it becomehuge[3]. Detecting fire with gas sensor can grow the ability thedetection performance and early alarm[4]. Chen et.al[5] builtthe fire detection using smoke and gas sensor. It monitoredthe fire using a smoke level and threshold. In many cases, thesystem did not robust if it just uses smoke detection, but ifthe fire detection which is base on gas sensor is used togetherrepectively, the result is more better. Perera and Litton [6]sensed the fire using many sensor and got that smoke sensorresponse earlier than CO sensor. Their study indicated that thesensor type is greatly affect with the earlier detection systemof fire. The combination of fire sensor and smoke sensor[7]give the compared result that can handle the non-fire situation.The fire detection and monitoring that use flame,smoke, gas,temperature and humidity sensor had been proposed and thecombination gave the good result[8][9]. The combination’s sys-tem sent the home’s situation to android phone that connectedwith the wireless network.

The fire symptom dectection is difficult to sense. Dinget.al [10] proposed a probability method to measure the earlysymptom of fire. The Multi-Sensor Intellegent Fire MonitoringSystem(MSIFMS) based on D-S Theory could solved theproblem the symptom and avoided the false alarm. Garcia-Jimenez et.al [11] used Fuzzy System to detect the fire on theforest. Their proposed system showed the comptetitive result forsolve the symptom detection problem. The fuzzy rule set can beused for become a threshold and logic behind the fire symptomdetection[12]. [13]made a comparison among many communi-cation technology that was used by home automation.[14]gavethe IoT architecture overview for development and managementof sensor data.

Fig. 1. Sarno’s Smart Home Framework

In this paper, the fire detection that was proposed by us beon the form of a protoype and a simulation figure 1(red box).The sensing system use smoke, gas, temperature and humiditysensor then the decision method to measure fire symptom, isimplemented by fuzzy sytem. This research focus on gas leaksensing, smoke sensing, and the change of temperature andhumidity to sense fire based on fuzzy. The fuzzy system isproposed for watching the sensor data in interval[15]. [16] usedfuzzy to determining quantitative water quantities, adjust andstabilize in agricultural irrigation systems.

II. EASY OF USE

The sarno’s smart home framework will be built on severalcomponent figure 1. All part of the framework is proposed onthe form of protoype and simulation before go to implementa-tion step.

This research use the DHT 22 sensor to get temperature valueand humidity value, MQ 2 sensor for detect the ppm of LPGgas, smoke and CO gas. The microcontroller which is usedis arduino mega 2560. The fuzzy system will be calculatedon PC/Laptop using visual studio 6.0-MFC. The design of thesystem is shown on figure 2.

Fig. 2. Design of fire symptom detection

A. ARDUINO MEGA 2560

Arduino mega is a microcontroller that uses ATMega 2560for the minimum system[17]. It has 54 digital I/O pins, 16analog inputs, 2 serial connection(Tx/Rx), a 16 MHz crystaloscillator, a USB connection, a power jack, an ICSP header,and a reset button. The Arduino Mega can be programmedusing the Arduino software which can be download on arduinowebsite.

B. MQ-2

MQ-2 gas sensor has high sensitity for LPG, Propane andHydrogen, also could be used to Methane and other combustiblesteam[18].

C. DHT-22

DHT 22 / AM2302 is a sensor for sensing digital temperatureand humidity[19]. This sensor includes a capacitive sensorwet components and a high-precision temperature measurementdevices, and connected with a high-performance 8-bit micro-controller.

D. FUZZY SYSTEM

Fuzzy is one of the control system. The fuzzy’s term refersto partially true or can be explained with the degree of the facttruth[20]. The term is expressed by a memberships which hasthe degree of the fact truth in their element.

III. DESIGN SYSTEM

Several previous research had produced the appropriate firedetection using smoke and gas sensor. The fire detection isdeveloped using smoke, gas, temperature, and humidity sensorin this research. The system is seperated to be two part,there are explosion and fire prediction and fire appearancedetection. The sensor data is sent to laptop and will be collectedbefore it is used for the next step(data calculation). The dataaquisition process uses fuzzy inferences system to determinatethe decision about fire appearance. Figure 3 show the schematicsystem of symptom fire detection.

Fig. 3. Schematic system of symptom fire detection

The sistem has three part, there are input, data acquisition,and output. The input block comprise of the sensors thedata are sent to the PC using serial communication and it isparsed. The data acquisition, the parse’s data is collected andbe processed to get the membership function this process iscalled fuzzification. Fuzzification is the process to convert theraw value in this case, it is obtained from the sensors. Themembership function which is used in this research is triangleand trapezoid function.

The triangle curve is a combination of two linear line whichis shown in figure 4 below:

Fig. 4. Triangle Membership

The formula for build the function is:

Triangle

x, a, b, c =0, x ≤ a, x ≥ c

(x− a) / (x− c) , a < x ≤ b

− (x− c) / (c− b) , b < x ≤ c(1)

Where x is the point input value, a is the bottom value(firstvalue), b is the peak value, and c is the upper value. All thevalue is draw based on x line in the cartesian diagram.

The trapezoid curve is like triangle curve but the peak valuedo not has one membership, the membership is expanded. It isshown in figure 5 :

The trapezoid formula is:

Trapezoid

x, a, b, c, d =

0, x ≤ a, x ≥ d

(x− a) / (x− b) , a < x < b

1, b ≤ x ≤ c

− (x− c) / (x− d) , c < x ≤ d(2)

Fig. 5. Trapezoid Membership

Where x is the point input value, a is the bottom value(firstvalue), b and c is the peak value, and d is the upper value. Allthe value is draw based on x line in the cartesian diagram.

The temperature and humidity membership function is builtusing triangle because the result which is want to got isresponsive value. The green line, blue line, red line and blackline on the temperature graph is the membership function forcold, normal, warm, and hot respectively. The temperaturemembership in fuzzification in this research is shown in figure6.

Fig. 6. Temperature Membership Function

The humidity membership in fuzzification in this researchis shown in figure 7. Then the line on humidity graph is themembership function for dry, comfort, humid, and sticky. Inthe MQ-2 or gas sensor membership function is obtained moredetail value’s response using the trapezoid function.

Fig. 7. Humidity Membership Function

The membership function for gas sensor is low, medium, andhigh. The none gas detection just use 0 value. The humiditymembership in fuzzification in this research is shown in figure8.

Fig. 8. Smoke Membership Function

The next step the degree of membership is collected andevaluated to obtain the minimal value among them and thatvalue is entered on the fuzzy rule following as table I.

The rule will select the value which is appropiate with thecondition based on the degree of membership. The minimumvalues in the next step are compared among them to get themaximum values. The maximum values will be processed to getthe membership function based on output membership functionas figure 9 :

Fig. 9. Output Membership Function

The next level is defuzzification. In this level, the degree ofoutput membership make an area and the center point of thearea will be calculated to obtain a desicion about the enviromentcondition. The method to get the point is used Center of Gravitymethod, that following as:

COG =

∑µ (x) .x∑µ (x)

(3)

Where µ (x) is the degree of output membership and x isx value from cartesian diagram.

IV. RESULTIn this chapter, The result of fire symptom detection experi-

ment is shown. The output response is presented in a line graphusing microsoft visual studio 6.0 MFC.

The simulation is begun with monitor normal condition ina kitchen. In the next step, the gas leak simulation is gottenfrom stove. In figure 10, LPG gas was detected quickly andfollowed by smoke and CO. The gas leak detection which issensed by MQ-2 have a response with three output result mostrespectively. It early detect LPG gas first and this response canbe denoted as early LPG gas leak detection.

The next simulation is detection of smoke. Sometimes, thefire is not big but the smoke appear firstly, this simulation showthe MQ-2 smoke response.

TABLE IFUZZY RULE BASE

Temp. Hum. Gas Output Temp. Hum. Gas Output Temp. Hum. Gas OutputCold Dry No Normal Low Dry No Normal Warm Dry No NormalCold Dry Low Normal Low Dry Low Normal Warm Dry Low SmokeCold Dry Medium Smoke Low Dry Medium Smoke Warm Dry Medium SmokeCold Dry High Smoke Low Dry High Smoke Warm Dry High CautionCold Comfort No Normal Low Comfort No Normal Warm Comfort No NormalCold Comfort Low Normal Low Comfort Low Normal Warm Comfort Low SmokeCold Comfort Medium Smoke Low Comfort Medium Smoke Warm Comfort Medium SmokeCold Comfort High Smoke Low Comfort High Smoke Warm Comfort High CautionCold Humid No Normal Low Humid No Normal Warm Humid No NormalCold Humid Low Normal Low Humid Low Normal Warm Humid Low SmokeCold Humid Medium Smoke Low Humid Medium Smoke Warm Humid Medium SmokeCold Humid High Smoke Low Humid High Smoke Warm Humid High CautionCold Sticky No Normal Low Sticky No Normal Warm Sticky No NormalCold Sticky Low Normal Low Sticky Low Normal Warm Sticky Low SmokeCold Sticky Medium Smoke Low Sticky Medium Smoke Warm Sticky Medium SmokeCold Sticky High Smoke Low Sticky High Smoke Warm Sticky High Caution

Temp. Hum. Gas OutputHot Dry No NormalHot Dry Low SmokeHot Dry Medium CautionHot Dry High FireHot Comfort No NormalHot Comfort Low SmokeHot Comfort Medium CautionHot Comfort High FireHot Humid No NormalHot Humid Low SmokeHot Humid Medium CautionHot Humid High FireHot Sticky No NormalHot Sticky Low SmokeHot Sticky Medium CautionHot Sticky High Fire

Fig. 10. Gas Leak Simulation

TABLE IIFUZZY FIRE DETECTION

Temp.(C) Humid.(%) Smoke(ppm) Output28 90 0 Normal40 60 7500 Fire40 70 1000 Smoked45 60 4500 Caution

TABLE IIILPG CONCENTRATION THERSHOLD

Concentration(ppm) Output0 None

1-1000 Low1001-5000 Medium5001-10000 High

In figure 11, the smoke was detected firstly and followedby LPG and CO. The smoke detection in this simulation iscalculated by add the CO and Smoke ppm from MQ-2 sensorand divided by 2. This formulation is used to take a range withcombination of CO and Smoke ppm result.

Fig. 11. Smoke Response

The temperature, humidity, and smoke formulation becomethe input of the fuzzy system and the result is presentedfollowing as:

Table II show the four combination output of fuzzy system.The humidity will decrease when the smoke concentration andtemperature is increased.

In this research, the early detection is based on LPG gas leak.This limitation is created to occupy the hole in fire detectionsystem in house which just detect smoke or fire without preventit from the causes[12]. The LPG gas concentration is classifiedto be four different threshold, following as:

The four LPG boundaries in table III represent the gas leakin the kitchen. The situations where there is an increase thegas concentration, it prone to occur a explosion and fire. Theboundaries is used to classify and predict the next incident bytaken data from experiment in figure 10 which shows the LPGgas concentration. It can be detect easily but the data result isnot stable. It is caused the serial reader in MFC which is toolong to parse the serial data from arduino. In this research, thecase prediction is monitored partially not in real time because

of that problem.

V. CONCLUSIONSThis research applies a model for detect fire using gas leak

case prediction. The MQ-2 data sensor is sent to MFC anddivided to be two utilize. The LPG data is taken to makeexplosion or fire prediction based on gas concentration. Thesmoke and CO data is fused with temperature and humiditysensor using fuzzy system to calculate the fire appearances.

The data monitoring is not shown in real time because theparse of the serial data in MFC cannot read the data quickly.

VI. FUTURE WORKSThe fire symptom detection will be built in real hardware

system and it can be monitored from mobile and PC. The newsystem will be added with alarm system.

REFERENCES

[1] D. J. Cook, “How smart is your home?” Science, vol. 335, no. 6076, pp.1579–1581, 2012.

[2] R. J. Robles and T.-h. Kim, “Applications, systems and methods in smarthome technology: A,” Int. Journal of Advanced Science And Technology,vol. 15, 2010.

[3] L. Qiang, “Estimation of fire detection time,” Procedia Engineering,vol. 11, pp. 233–241, 2011.

[4] U. Hoefer and D. Gutmachera, “Fire gas detection,” Procedia Engineer-ing, vol. 47, pp. 1446–1459, 2012.

[5] S.-J. Chen, D. C. Hovde, K. A. Peterson, and A. W. Marshall, “Firedetection using smoke and gas sensors,” Fire Safety Journal, vol. 42,no. 8, pp. 507–515, 2007.

[6] I. E. Perera and C. D. Litton, “Evaluation of smoke and gas sensorresponses for fires of common mine combustibles,” Transactions ofSociety for Mining, Metallurgy, and Exploration, Inc, vol. 336, no. 1,p. 381, 2014.

[7] C. Rexfort, “Combination of a fire model and a smoke sensor model,”Fire safety journal, vol. 41, no. 4, pp. 252–257, 2006.

[8] K. Muheden, E. Erdem, and S. Vancin, “Design and implementationof the mobile fire alarm system using wireless sensor networks,” inComputational Intelligence and Informatics (CINTI), 2016 IEEE 17thInternational Symposium on. IEEE, 2016, pp. 000 243–000 246.

[9] J. A. Luis, J. A. G. Galan, and J. A. Espigado, “Low power wirelesssmoke alarm system in home fires,” Sensors, vol. 15, no. 8, pp. 20 717–20 729, 2015.

[10] Q. Ding, Z. Peng, T. Liu, and Q. Tong, “Multi-sensor building fire alarmsystem with information fusion technology based on ds evidence theory,”Algorithms, vol. 7, no. 4, pp. 523–537, 2014.

[11] S. Garcia-Jimenez, A. Jurio, M. Pagola, L. De Miguel, E. Barrenechea,and H. Bustince, “Forest fire detection: A fuzzy system approach basedon overlap indices,” Applied Soft Computing, vol. 52, pp. 834–842, 2017.

[12] K. Kumar, N. Sen, S. Azid, and U. Mehta, “A fuzzy decision in smartfire and home security system,” Procedia computer science, vol. 105, pp.93–98, 2017.

[13] C. Withanage, R. Ashok, C. Yuen, and K. Otto, “A comparison ofthe popular home automation technologies,” in Innovative Smart GridTechnologies-Asia (ISGT Asia), 2014 IEEE. IEEE, 2014, pp. 600–605.

[14] S. K. Viswanath, C. Yuen, W. Tushar, W.-T. Li, C.-K. Wen, K. Hu,C. Chen, and X. Liu, “System design of the internet of things forresidential smart grid,” IEEE Wireless Communications, vol. 23, no. 5,pp. 90–98, 2016.

[15] S. Huda, R. Sarno, and T. Ahmad, “Fuzzy madm approach for rating ofprocess-based fraud,” Journal of ICT Research and Applications, vol. 9,no. 2, pp. 111–128, 2015.

[16] A. A. Alfin and R. Sarno, “Soil irrigation fuzzy estimation approach basedon decision making in sugarcane industry,” in 2017 11th InternationalConference on Information & Communication Technology and System(ICTS). IEEE, oct 2017.

[17] http://roboromania.ro, “Arduino mega 2560 datasheet,” 2016, online;2017.11.24. [Online]. Available: http://roboromania.ro/datasheet/Arduino-Mega-2560-roboromania.pdf

[18] pololu, “Mq-2 datasheet,” online; 2017.11.24. [Online]. Available:https://www.pololu.com/file/0J309/MQ2.pdf

[19] L. Aosong(Guangzhou) Electronics Co., “Dht22datasheet,” online; 2017.11.24. [Online]. Available:http://akizukidenshi.com/download/ds/aosong/AM2302.pdf

[20] L. A. Zadeh, “Fuzzy sets,” in Fuzzy Sets, Fuzzy Logic, And Fuzzy Systems:Selected Papers by Lotfi A Zadeh. World Scientific, 1996, pp. 394–432.