Next Article in Journal
An Improved RAPID Imaging Method of Defects in Composite Plate Based on Feature Identification by Machine Learning
Next Article in Special Issue
Improving the Efficiency of Fan Coil Units in Hotel Buildings through Deep-Learning-Based Fault Detection
Previous Article in Journal
A 3D Hand Attitude Estimation Method for Fixed Hand Posture Based on Dual-View RGB Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Fault Tolerant Surveillance System for Fire Detection and Prevention Using LoRaWAN in Smart Buildings

1
Department of Computer Science and Information Technology, Hazara University Mansehra, Mansehra 21120, Pakistan
2
Department of Communication Technology and Network, Universiti Putra Malaysia (UPM), Serdang 43400, Malaysia
3
Department of Computer Science, COMSATS University Islamabad, Abbottabad Campus, Abbottabad 22060, Pakistan
4
Department of Information Technology, College of Computer and Information Sciences, Princess Nourah bint Abdulrahman University, P.O. Box 84428, Riyadh 11671, Saudi Arabia
*
Authors to whom correspondence should be addressed.
Sensors 2022, 22(21), 8411; https://doi.org/10.3390/s22218411
Submission received: 3 October 2022 / Revised: 22 October 2022 / Accepted: 29 October 2022 / Published: 1 November 2022
(This article belongs to the Special Issue Sensing in Smart Buildings)

Abstract

:
In recent years, fire detection technologies have helped safeguard lives and property from hazards. Early fire warning methods, such as smoke or gas sensors, are ineffectual. Many fires have caused deaths and property damage. IoT is a fast-growing technology. It contains equipment, buildings, electrical systems, vehicles, and everyday things with computing and sensing capabilities. These objects can be managed and monitored remotely as they are connected to the Internet. In the Internet of Things concept, low-power devices like sensors and controllers are linked together using the concept of Low Power Wide Area Network (LPWAN). Long Range Wide Area Network (LoRaWAN) is an LPWAN product used on the Internet of Things (IoT). It is well suited for networks of things connected to the Internet, where terminals send a minute amount of sensor data over large distances, providing the end terminals with battery lifetimes of years. In this article, we design and implement a LoRaWAN-based system for smart building fire detection and prevention, not reliant upon Wireless Fidelity (Wi-Fi) connection. A LoRa node with a combination of sensors can detect smoke, gas, Liquefied Petroleum Gas (LPG), propane, methane, hydrogen, alcohol, temperature, and humidity. We developed the system in a real-world environment utilizing Wi-Fi Lora 32 boards. The performance is evaluated considering the response time and overall network delay. The tests are carried out in different lengths (0–600 m) and heights above the ground (0–2 m) in an open environment and indoor (1st Floor–3rd floor) environment. We observed that the proposed system outperformed in sensing and data transfer from sensing nodes to the controller boards.

1. Introduction

Over the past few years, IoT has become an important and quickly growing technology. It is a communications infrastructure composed of equipment, buildings, electrical systems, modern vehicles, and everyday things [1]. These devices link to the Internet to gather and distribute data consistently, enabling remote access and management. The “IoT” was introduced in 1998 by Kevin Ashton [2] and has since been defined as the way smart things work together and talk to each other [3]. The IoT-enabled smart devices are utilizing emerging applications and services to benefit the community in education, infotainment, structural and traffic surveillance, and the healthcare sector. These devices include but are not limited to sensors, actuators, Radio Frequency Identification (RFID) tags, smartphones, smartwatches, and Body Area Networks (BAN) devices. Moreover, those devices can sense, collect, process and transfer the data in the IoT paradigm, meeting the basic needs of end users [4].
In studies [5,6], IoT devices connected to the Internet are projected to grow by over one trillion by 2025, endeavoring Smart Cities, smart grids, smart homes, e-healthcare, e-banking, and logistics [7]. Hence, it becomes more challenging to maintain the optimal standards of security, safety, reliability, latency, user mobility, throughput utilization, and fault tolerance for the effective usage of IoT-empowered devices and applications. Regarding safety, fire suppression is vital in protecting human lives, structures, and IT assets. Much attention has been paid to Fire Detection Systems (FDS), which have reduced the risk of fire to people and property. False alarms, however, are quite losable if the occurrence takes place in a commercial facility.
Furthermore, false fire alarms can be a hassle for the fire department, resulting in resource shortages and unneeded disruption that causes panic. Additionally, traditional fire suppression systems lack the IoT’s intelligence and are hardcoded [8]. Communication technologies support IoT networks for short-range sensing applications, including RFID, Bluetooth, Wireless Local Area Network (WLAN), Near Field Communication (NFC), Low-Rate Wireless Personal Area Networks (LR-WPANs), and IPv6 over Low-power Wireless Personal Area Networks (6LowPANs). Here, Bluetooth and WLAN are suited for short-range and high-speed data transfers. LR-WPANs and 6LowPAN target the application areas requiring low data rates and short-range.
Low Power Wide Area Networks (LPWAN) are an emerging technology offering low-speed and long-range data transfers with minimal battery consumption compared to the earlier typical technologies [9]. LPWAN is a low-power, long-distance communication method used in Machine to Machine/Internet of Things (M2M/IoT) networks. Large-scale sensor-based industrial deployments are also influencing trends. To support such sensor installations in various situations, additional communication protocols which can coexist with current cellular communication systems, such as 3G, 4G, and 5G, and local standards, such as Bluetooth, and 802.11, are required. Popular communication technologies, such as Narrowband IoT (NB-IoT), SigFox, and Long Range Wide Area Networks (LoRaWAN), are utilized to lower the sensors’ power consumption while supporting long-range transmissions up to hundreds of meters or even a few kilometres [10,11]. One of the LPWAN technologies now popular in the IoT sector is LoRaWAN. Supporting devices with years of battery life becomes flexible for IoT networks in which end nodes transmit fewer sensing data over long distances and in dynamic environmental constraints. The LoRa networks can control many nodes in many locations with just one receiver, compared to WLAN-based systems that require several access points to expand the coverage area. Combining LoRa with Wi-Fi helps keep the price of establishing an Internet of Things system down [12,13]. As IoT-based architectures become more prevalent, there is a growing need for LPWAN, which can provide monitoring solutions in cases like fire risk assessments requiring coverage of a vast region [7].
The following are the highlights of the contributions made in this work.
  • We propose a fault-tolerant surveillance system for fire detection and prevention in smart buildings exploiting LoRaWAN to reduce latency and enhance reliability;
  • Using Wi-Fi LORA 32 sensors and board, we designed and developed a system that can detect smoke, natural gas, LPG, propane, methane, hydrogen, alcohol, temperature, and humidity to prevent fires caused by them;
  • We performed extensive experiments over a distance up to 600 m long and up to 2 m high from the ground. The proposed system is tested over 50 packets of varying (16–64) bytes payloads sent/received;
  • The performance evaluation is based on the Received Signal Strength Indicator (RSSI), network delay, and response time parameters;
  • We demonstrated that LoRaWAN technology is ideal for deploying fire detection and prevention systems in large smart structures and successfully transmitting detected data.
The remainder of the paper is laid out as follows. The recent related works are covered in Section 2. The background of LPWAN and LoRa is explained in Section 3. In Section 4, the problem statement is formulated. Section 5 endeavours the research design, methodology, and real-time scenarios relevant to the experiments. The performance evaluation and results are discussed in Section 6. Finally, Section 7 concludes the paper with potential future research directions.

2. Related Work

Different features of LoRaWAN have been the subject of attention in various studies to develop fire detection and prevention surveillance systems. Some studies present experiments comprising fewer nodes with shorter ranges. Some works have proposed the architectures/algorithms and assessed their investigations in simulators. We discuss these studies in further detail as given.
According to Vega-Rodriguez, R. et al. in [7], forest fires are among the Mediterranean region’s most pressing environmental problems. There is a growing need for innovative solutions that leverage low-power, long-range networks and the IoT to control and monitor fires better. The research employed a cheap Long Range (LoRa) network to analyze fire risks and spot forest fires. The system includes a LoRa node and several sensors for measuring carbon dioxide levels, relative humidity, temperature, and wind speed. According to the 30-30-30 rule, the evaluation process must be completed in 30 min. Visitors to the website may see the nodes’ data collected in real-time. We conducted field tests to see how far this system might travel and found that it could cover up to 600 m.
The authors of [14] took home and workplace safety into account. Using WSN, they created a unique model. They included smoke and fire sensors and temperature and humidity sensors when developing the model. They presented earlier studies that show Wireless Sensor Networks (WSNs) can recognize fire alarms. A wireless sensor network with three sensors is to be established. To learn more about one’s home, an application was created. The Android Studio-programmed Arduino implant collects information from sensors, including gas, temperature, flame, and humidity. Let’s say it checks the gathered data and finds that the control levels are too high. When that happens, you may engage with the wireless network. Preventative fire monitoring is made possible by sending a notification alert message to users’ mobile devices. Without an internet connection, the system is inoperable.
To offer fast fire detection and alarm and status monitoring of fire-extinguishing abilities while spending the least electrical power, Wen-hui Dong created a specialized wireless communication protocol for fire detection and alarm and a comprehensive set of wireless automated fire alarm systems. There was no guidance on how to identify fires from the system. There is currently no false alarm detection built into any authentication methods [15].
Most applications of wireless communication technology may be found in the realms of building automation and centralized control. In [16], the authors proposed software enabled with a wireless sensor fire detection system. The system monitors the fire alarm from a large distance to assist the evacuation process; however, the control centre cannot respond quickly, affecting the response time. The reason for this is that it lacks the connectivity of the main server with all sensors. To prevent fires, the authors of [17] developed a wireless IoT-based fire alarm system that uses an ad hoc network with many nodes placed strategically around the house. Each of these nodes is equipped with a microcontroller from the company ESP8266 called a Node MicroController Unit (nodeMCU), coupled with sensors that detect smoke, humidity, temperature, flame, Carbon Monoxide (CO), and methane. Each node creates separate wireless networks. The central node communicates with the other nodes through a Raspberry Pi microcontroller and a 4G module. When a fire is detected, the node sends a signal to a centralized node, telephones the user, notifies the fire department, and triggers the local alarm system via SMS messaging. If you cannot go online or if your connection is poor, this strategy will not work as well for you. When a fire breaks out, sensors and the SigFox LPWAN protocol are deployed for accurate temperature and gas monitoring.
Ahmad Alkhatib [18] described a WSN system for forest fire detection utilizing a sub-network coverage method. The deployed network consisted of wasp motes with Zigbee transmitters. The proposed system divided the network into three subnetworks increasing the network’s lifetime and scalability by 2.7% and energy efficiency by 63% compared to the traditional fire detection systems. In [19], the authors examined the LoRaWAN’s effectiveness in an industrial setting. They considered the indoor environment of the flower industry as a use case. Using only one gateway and twenty-one end nodes, an area of 180 × 190 m, or around 34,000 square meters, was measured. The authors used a simulation developed in the Python programming language to examine LoRaWAN’s scalability across a wide industrial region. The study found that a single gateway could sustain up to 6000 end nodes if 75% of the nodes sent packets once each hour and the other 15% did so once every five minutes.
Sendra et al. [20] developed a technique to assess potential fire hazards using the LoRaWAN technology, although they did not describe the end node distribution over the coverage terrain. A LoRa node was fitted with multiple sensors to measure the desired system’s humidity, temperature, CO2, and wind speed. To determine the coverage area, the work began by computing the RSSI and Signal-to-Noise Ratio (SNR) for many locations in the investigated area in Motril, Spain. After that, the ability of a single node to identify several characteristics was evaluated for 20 h, with measurements were taken every 28 min. The results indicate that the proposed method can span a 4-km radius with a single gateway. Throughput, latency, power consumption, and packet loss ratio were also analyzed to determine the efficacy of LoRaWAN networks co-located with 5G networks [21]. The experimental setup includes two Raspberry Pi 2 nodes, a gateway server, and a client device. These components were all placed at various locations within the same building, ranging from 50 cm to 60 m.
LoRaWAN’s low power consumption makes it a prominent technology. It is also meant to improve capacity and coverage while reducing costs. Using a realistic network model, researchers in [9] investigated the viability and scalability of LoRaWAN in the Mina region, a valley situated east of Makkah City. The place is known as the world’s largest tent city. It can house up to 3 million pilgrims annually and contains more than 100,000 tents. The OMNeT++ simulator and Flora model were used to run extensive simulations to examine the delivery ratio, collision, and SF dispersion for the simulated scenario with up to 10,000 end devices. The simulations demonstrated the constancy and dependability of LoRaWAN’s high success rate. Table 1 presents a comparison of some significant existing works.

3. Background of LPWAN and LoRa

“LPWAN” refers to technologies that link low-power devices with sensors and controllers in IoT applications. IoT communications require great range, long battery life, and affordable endpoints. [22,23]. These factors establish its two important properties: low power budget and large transmission range. It also imparts low-cost, and low-data-rate IoT needs. It allows rural communication up to 40 km and urban communication from 1 to 5 km [14]. In this context, “low-power wide-area network” (LPWAN) refers to technologies that use either licenced or unlicensed spectra and might be either private, proprietary, or open standard. Engineers and scientists utilize this to implement WSNs for Internet of Things applications depending on price, range, and power consumption [9]. Short-range, high-bandwidth networks such as Bluetooth and Wi-Fi are combined with cellular networks in LPWAN. LoRa is free software that operates in ISM sub-GHz bands. Chirp Spread Spectrum (CSS) modulation allows for reliable decoding of LoRa transmissions even when the signal strength is below the noise threshold. LoRa is less complicated to implement than SigFox and NB-IoT since it uses unlicensed airwaves, relies on open-source infrastructures, and requires less money to get up and running [24,25].
LoRa technology has allowed Internet of Things (IoT) applications to progress even further. In contrast to Wi-Fi-based systems, which need many access points to increase coverage area, the LoRa network can handle numerous nodes around the area with just one receiver. By merging LoRa with Wi-Fi technology, the cost of setting up an IoT system decreases. The authors of [12,26] examined the real-world implementation of an IoT system using LoRa and Wi-Fi technology. The Chirp Spread Spectrum (CSS) modulation scheme in LoRa protects a signal from channel noise and security [12,26].

4. Problem Statement

The current monitoring systems seek to identify a fire in indoor and outdoor settings to lessen risk in the impacted areas by sending out prompt and trustworthy alerts [27,28]. However, these solutions largely depend on WLANs to cover larger distances. The WLANs have built-in limitations such as range, stability, collisions, power consumption and response time, degrading the fault tolerance capability in critical safety systems like fire detection and prevention. We propose a novel fire detection and prevention system with intelligent surveillance and fault tolerance capability to overcome the limitations.

5. Research Design and Methods

This study introduces a robust and reliable fire detection and prevention surveillance system for intelligent structures. It is a Fault-tolerant Fire Detection and Prevention Surveillance (F2DPS) system. We employed both Wi-Fi and LoRaWAN as wireless communication technologies, with Wi-Fi serving as the primary means of data delivery in areas where it is available and LoRaWAN filling in the gaps elsewhere. The electricity may be shut off in the event of a fire, but the LoRaWAN network would continue to function. LoRaWAN, which consists of Wi-Fi, LoRa, and (Bluetooth Low Energy) BLE, is utilized by the Heltec Wi-Fi LoRa 32 V2 (HELTEC AUTOMATION, Chengdu, China) development platform. One Heltec Wi-Fi LoRa 32 V2 device was utilized for sending information, and another for receiving it. When a signal is picked up by the LoRaWAN sensor and sent to the LoRaWAN sender board, the data is sent to the receiver. We can get a sense of how a smart building’s fire detection and prevention monitoring system is set up from Figure 1.
A campus that uses smart technology will have a fire detection and prevention system to handle false alarms. Wi-Fi and LoRaWAN were employed as the transfer mechanisms for the detected data. Wi-Fi will be utilized for communication at first, and if that fails to work, LoRaWAN will be used instead. The grove-gas sensor (MQ2) and infrared radiation (IR) flame sensor can detect air fires using methane, hydrogen, smoke, propane, alcohol, and carbon monoxide.
Several existing systems are aimed at detecting fire in outdoor and indoor places to reduce the risk in the affected areas by sending out timely and reliable alarm messages. However, the existing solutions rely on a single communication technology, such as the Wi-Fi network. There are various places in a Wi-Fi network where communication occurs at bottleneck nodes, and there is no fault tolerance. The failure of bottleneck nodes makes the whole system ineffective. Therefore, the proposed research work is important in addressing the above issues.

5.1. Sensing Data Acquisition and Sensor Selection

Since the Grove-Gas Sensor (MQ2) module is great for spotting gas leaks; we used that along with an infrared flame sensor to collect data (home and industry). It can detect hydrogen, liquefied petroleum gas, carbon monoxide, alcohol, smoke, and propane [24]. Measurements may be taken with it because of its high sensitivity and fast response time. Utilizing the Infrared (IR) flame sensor, we can locate a fire or any infrared source. It is possible to pick up the light of a flame or other source with a wavelength between 760 and 1100 nm, which could help put out fires or be used in a heat detector, as shown in Figure 2.

5.2. Wi-Fi Lora 32 Board

HeltecWi-Fi-LoRa 32: The Wi-Fi LoRa-32 is an IoT-focused device developed by the Heltec group Heltec Automation (HELTEC AUTOMATION, Chengdu, China). The development board’s functionality is built on the ESP32 microcontroller, while an integrated SX1278 chip handles LoRa connectivity, as shown in Figure 3. These two gadgets can communicate using the SPI interface [29]. Although the Heltec device is designed to be a sensor node, it may also be configured as a LoRa-WAN gateway that connects to the server via the TCP/IP protocol. This restricts its capabilities and makes it impossible to transmit data to sensor nodes on the downlink.

5.3. Dataflow Model for Data Reading and Transmission

Two Heltec Wi-Fi LoRa 32 V2 boards are used in the project, one as a transmitter attached to an MQ2 Gas sensor and the other as a receiver attached to a Light Emitting Diode (LED). The transmitter LoRa board will transmit a LoRa packet with a string-based message whenever gas or smoke is detected. The signal transmitted to an LED is decided using this string comparison when the receiver receives the packet; if it is processed, it is compared to a specified text. In Figure 4, the dataflow model is displayed. Collected sensor data through IoT devices/nodes, which is heterogeneous and is executed/evaluated on cloud resources.
As a result, there is a risk of an internet connection failure in smart buildings. The authors do not consider all these deficiencies in the existing solutions, which rely on a single communication technology such as the Wi-Fi network. There are various places in a Wi-Fi network where communication occurs at bottleneck nodes, and there is no fault tolerance. The failure of bottleneck nodes makes the whole system ineffective. There is no appropriate data management and fault-tolerant mechanism for fire detection tasks and IoT devices. If Wi-Fi fails or some nodes cannot send data timely and efficiently, the response time and latency will be maximized. Therefore, the F2DPS scheme will be an efficient solution for fault-tolerant aware data management and reduce response time and latency for fire detection IoT in smart buildings.

5.4. Real-Time Testing

In this phase, we assessed our work in a practical setting. The proposed research project is evaluated using two performance evaluation criteria: (a) Response Time and (b) Network Delay.

5.4.1. Response Time

This is the time it takes for data to move between two network nodes. All sorts of delays, including processing and network delays, are added to determine the response time. Milliseconds (ms) are used to quantify response time [30]. The Equation (1) is used to compute the network delay:
R E S T = P D + N D
where the REST expresses the response time, PD denotes the processing delay, and ND denotes the network delay.

5.4.2. Network Delay

The network delay is calculated by combining all types of delays, including transmitting and receiving delays. Milliseconds measure the network delay in ms [30]. The Equation (2) is used to compute the network delay:
N D = R E C T S T
where the ND expressed the network delay, RECT denotes the receiving time, and sending time is denoted by ST.

6. Performance Evaluation

We will briefly outline the method and system components connected to results, then discuss the consequences of employing the system structure in a real-world setting. This test was conducted to determine the maximum range, network latency, and reaction time over which a LoRa device can receive LoRa packets and compare the results to competing technologies like Wi-Fi. This experiment compares LoRaWAN’s performance in an open environment with a closed one.

6.1. Data Gathering

We were able to transmit MQ2 sensor data to the receiver and gather data on two measurement parameters: response time and network latency, using the Wi-Fi Lora 32 Development Board. We also discussed the measurements and location where the 433E6 Hz frequency data was gathered in this experiment. Data collection took place at numerous campus locations to represent various situations, including an open space unencumbered by structures or other barriers. The confined area inside a building is more impacted by other blocks and barriers distorting the wireless propagation. For indoor modelling, we chose a square-shaped building of three floors with a wall thickness of six inches, a height of ten feet, and several rooms on each Floor. Experiments were performed on each Floor with a variation in payload size.

6.2. Data Analytics and Measurement Circumstances

The communication range, network delay, and reaction time that the Lora device can receive LoRa packets are all described in this section. The measurements are conducted in two distinct environments: an open space and a closed location.

6.2.1. Response Time Measurements in Open Area

Measurements were collected in an open setting inside the campus. The sender node is located one meter above the ground and two meters above the ground. The distance in this experiment varied from 0 to 600 m. 50 data packets with varied payloads of 16, 32, and 64 bytes were then sent when each node was configured for LoRa, as shown in Figure 5, Figure 6 and Figure 7. In each experiment, 50 packets were sent at a distance increase of 50 m; the packet received, RSSI, network delay, and response time were recorded. Additionally, we compared the three payload sizes with each meter’s height.
  • Response Time Analysis
Board for LoRa Development Sent packet from the sensor to the development board of the receiver calculated by Equation (3) and represented in Table 2.
R e s p o n s e T i m e = P D + N D
B.
Network Delay Analysis
We looked at the performance of LoRaWAN in an open environment so that we could determine the response time over which a LoRa device could receive LoRa packets. The sender node can be found on the ground, at an elevation of 0 m, 1 m, and 2 m above the ground, as shown in Figure 8, Figure 9 and Figure 10. During this particular experiment, the distance varied anywhere from 0 to 600 m. After the LoRa configuration had been completed for each node, 50 data packets with variable payloads of 16, 32, and 64 bytes were transmitted. Table 3 represents the overall network delay in different scenarios.
We evaluated the performance of LoRaWAN in an open environment so that we could determine the amount of network latency that a LoRa device is able to withstand. In a field setting, the experiment covered a distance range of zero to six hundred meters. After configuring each node for LoRa, 50 data packets with variable payloads of 16, 32, and 64 bytes were transmitted. The bytes in each payload increased by an increment of 2. We delivered 50 packets in each experiment with a 50-m elevation increase and recorded the network delay. Additionally, we contrasted the three payload sizes with each meter’s height.

6.2.2. Response Time Measurements in Closed Area

Measurements were carried out in a safe area inside the institution. The sender node was located on the first, second, and third floors at three different heights. The distance in this experiment varied from 0 to 600 m. Then, 50 data packets with varied payloads of 16, 32, and 64 bytes were transmitted when each node was set up for LoRa. In each experiment, 50 packets were sent at a distance increase of 50 m; the packet received, RSSI, network delay, and response time were then recorded, as shown in Figure 11, Figure 12 and Figure 13. In a closed environment, we measured response times on the first, second, and third floors using various payload sizes. Table 4 demonstrates the calculated response time with different payloads.
To assess how quickly a LoRa device can receive LoRa packets, we examined the performance of LoRaWAN in a sealed environment. Three heights are represented by the sender node: one, two, and three floors above sea level.

6.2.3. Network Delay Analysis for Closed Area

We measured network latency in the enclosed space on the first, second, and third floors using three different payload sizes, as shown in Figure 14, Figure 15 and Figure 16. Comparison of the other network performance parameters with respect to payload and height is displayed in Table 5.
As part of the experiments, the performance of LoRaWAN in a closed environment was analyzed so that the reaction time over which a LoRa device may receive LoRa packets could be determined. The sender node can be found on the bottom level, as well as on the first, second, and third stories above the ground level. In the course of this trial, the distance ranged anywhere from zero to six hundred meters. After configuring each node for LoRa, 50 data packets with variable payloads of 16, 32, and 64 bytes were transmitted. The bytes in each payload increment by 2. We sent 50 packets for each trial with a 50-m elevation increase and timed the responses. In addition to this, we compared the height of each meter with the three different payload sizes.
The analysis in performance of the proposed research work has been adopted from the benchmark proposed in the study [7,9,20]. The proposed research work has been tested in a real-world environment. We validated the work by evaluating the two parameters of response time and network delay. We used the Wi-Fi Lora 32 board for data transmission with 16-, 32-, and 64-bit payload sizes and the results were compared with different heights. We also performed experiments in open environments and in environments with obstacles such as buildings and trees.
False fire alarms can also cause problems for the fire department by using up resources unnecessarily and causing unnecessary disturbances that spread fear. We relate the false detection to the quality of data transmission and RSSI value. As the RSSI value approaches zero, the quality of data transmission is better, and in terms of RSSI value, the LoRaWAN technology is an excellent candidate for installing fire detection and prevention systems in smart buildings.

7. Conclusions and Recommendation

This study recommends designing a robust fire detection and prevention surveillance system for use in smart buildings, which would significantly reduce response times and latency. With the help of the Wi-Fi LORA 32 development board, we could integrate LoRaWAN technology. We devised the network and put the sensors in place to identify various combustible substances. The development board module provided the functionality of the transceiver. The transmitter board initiates communication with the Wi-Fi Lora 32 board receiver as soon as it determines that fire symptoms have been detected. In addition, a single receiver can receive signals sent out by several different transmitters due to this effort. Multiple experiments were carried out on sensors set up at various distances and heights from the ground’s surface. We sent out fifty packets and measured their reception, the RSSI, the network delay, and the response time. The testing results determined that the LoRaWAN technology is an excellent candidate for installing fire detection and prevention systems in smart buildings.
During the experimental analysis, it was found that when there was very cold weather or on a rainy day, the RSSI value was closer to zero. This indicates that the data transmission quality was better during the cold weather as compared to normal or hot weather. As a result, it can also be related to low data transmission quality with extremely hot temperatures, or a decision of fire detection can be made with very low data transmission quality based on extremely hot temperatures.
As a potential next step in the study, we plan to investigate how the LoRaWAN technology affects the energy it uses and its level of safety. Additionally, examining the performance of LoRaWAN in topological topologies with self-organizability and configurability, such as mesh networks, is an attractive field of investigation that can detect fires and decrease losses more effectively.

Author Contributions

A.S. and Z.A. conceived and designed the experiments; A.I.J. and R.L. wrote the paper; S.K.u.Z. and M.A.K. performed the simulations and analyzed the results; R.M.G. technically reviewed the paper. All authors have read and agreed to the published version of the manuscript.

Funding

Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R138), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

No data were used to support this study. We have conducted simulations to evaluate the performance of the proposed protocol. However, any query about the research conducted in this paper is highly appreciated and can be asked from the corresponding authors upon request.

Acknowledgments

The authors sincerely appreciate the support from Princess Nourah bint Abdulrahman University Researchers Supporting Project number (PNURSP2022R138), Princess Nourah bint Abdulrahman University, Riyadh, Saudi Arabia.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Shafique, K.; Khawaja, B.A.; Sabir, F.; Qazi, S.; Mustaqim, M. Internet of things (IoT) for next-generation smart systems: A review of current challenges, future trends and prospects for emerging 5G-IoT Scenarios. IEEE Access 2020, 8, 23022–23040. [Google Scholar] [CrossRef]
  2. Berte, D.-R. Defining the IoT. Proc. Int. Conf. Bus. Excell. 2018, 12, 118–128. [Google Scholar] [CrossRef] [Green Version]
  3. Zhang, Z.K.; Cho, M.C.Y.; Wang, C.W.; Hsu, C.W.; Chen, C.K.; Shieh, S. IoT security: Ongoing challenges and research opportunities. In Proceedings of the 2014 IEEE 7th International Conference on Service-Oriented Computing and Applications, Matsue, Japan, 17–19 November 2014; pp. 230–234. [Google Scholar] [CrossRef]
  4. Djouani, R.; Djouani, K.; Boutekkouk, F.; Sahbi, R. A Security Proposal for IoT integrated with SDN and Cloud. In Proceedings of the 2018 6th International Conference on Wireless Networks and Mobile Communications (WINCOM), Marrakesh, Morocco, 16–19 October 2018; pp. 1–5. [Google Scholar] [CrossRef]
  5. Froytlog, A.; Haglund, M.A.; Cenkeramaddi, L.R.; Jordbru, T.; Kjellby, R.A.; Beferull-Lozano, B. Design and implementation of a long-range low-power wake-up radio for IoT devices. In Proceedings of the 2019 IEEE 5th World Forum on Internet of Things (WF-IoT), Limerick, Ireland, 15–18 April 2019; pp. 247–250. [Google Scholar] [CrossRef]
  6. Adame, T.; Bel, A.; Bellalta, B. Increasing LPWAN Scalability by Means of Concurrent Multiband IoT Technologies: An Industry 4.0 Use Case. IEEE Access 2019, 7, 46990–47010. [Google Scholar] [CrossRef]
  7. Vega-Rodriguez, R.; Sendra, S.; Lloret, J.; Romero-Diaz, P.; Luis Garcia-Navas, J. Low cost LoRa based network for forest fire detection. In Proceedings of the 2019 Sixth International Conference on Internet of Things: Systems, Management and Security (IOTSMS), Granada, Spain, 22–25 October 2019; pp. 177–184. [Google Scholar] [CrossRef]
  8. Deve, K.B.; Hancke, G.P.; Silva, B.J. Design of a smart fire detection system. In Proceedings of the IECON 2016—42nd Annual Conference of the IEEE Industrial Electronics Society, Florence, Italy, 23–26 October 2016; pp. 6205–6210. [Google Scholar] [CrossRef]
  9. Al Mojamed, M. Smart mina: Lorawan technology for smart fire detection application for hajj pilgrimage. Comput. Syst. Sci. Eng. 2022, 40, 259–272. [Google Scholar] [CrossRef]
  10. Wang, Y.P.E.; Lin, X.; Adhikary, A.; Grövlen, A.; Sui, Y.; Blankenship, Y.; Bergman, J.; Razaghi, H.S. A Primer on 3GPP Narrowband Internet of Things. IEEE Commun. Mag. 2017, 55, 117–123. [Google Scholar] [CrossRef]
  11. Kufakunesu, R.; Hancke, G.P.; Abu-Mahfouz, A.M. A survey on adaptive data rate optimization in lorawan: Recent solutions and major challenges. Sensors 2020, 20, 5044. [Google Scholar] [CrossRef] [PubMed]
  12. Zourmand, A.; Hing, A.L.K.; Hung, C.W.; Abdulrehman, M. Internet of Things (IoT) using LoRa technology. In Proceedings of the 2019 IEEE International Conference on Automatic Control and Intelligent Systems (I2CACIS), Selangor, Malaysia, 29 June 2019; pp. 324–330. [Google Scholar] [CrossRef]
  13. Farhad, A.; Kim, D.H.; Subedi, S.; Pyun, J.Y. Enhanced lorawan adaptive data rate for mobile Internet of things devices. Sensors 2020, 20, 6466. [Google Scholar] [CrossRef] [PubMed]
  14. Mekki, K.; Bajic, E.; Chaxel, F.; Meyer, F. A comparative study of LPWAN technologies for large-scale IoT deployment. ICT Express 2019, 5, 1–7. [Google Scholar] [CrossRef]
  15. Dong, W.H.; Wang, L.; Yu, G.Z.; Mei, Z. Bin Design of Wireless Automatic Fire Alarm System. Procedia Eng. 2016, 135, 413–417. [Google Scholar] [CrossRef] [Green Version]
  16. Liu, Y.; Qi, M. The design of building fire monitoring system based on ZigBee-WiFi Networks. In Proceedings of the 2016 Eighth International Conference on Measuring Technology and Mechatronics Automation (ICMTMA), Macau, China, 11–12 March 2016; pp. 733–735. [Google Scholar] [CrossRef]
  17. Saputra, F.A.; Al Rasyid, M.U.H.; Abiantoro, B.A. Prototype of early fire detection system for home monitoring based on Wireless Sensor Network. In Proceedings of the 2017 International Electronics Symposium on Engineering Technology and Applications (IES-ETA), Surabaya, Indonesia, 26–27 September 2017; pp. 39–44. [Google Scholar] [CrossRef]
  18. Alkhatib, A.A.A. Sub-network coverage method as an efficient method of wireless sensor networks for forest fire detection. In Proceedings of the International Conference on Internet of things and Cloud Computing, Cambridge, UK, 22–23 March 2016. [Google Scholar] [CrossRef]
  19. Haxhibeqiri, J.; Karaagac, A.; Van Den Abeele, F.; Joseph, W.; Moerman, I.; Hoebeke, J. LoRa indoor coverage and performance in an industrial environment: Case study. In Proceedings of the 2017 22nd IEEE International Conference on Emerging Technologies and Factory Automation (ETFA), Limassol, Cyprus, 12–15 September 2017; pp. 1–8. [Google Scholar] [CrossRef] [Green Version]
  20. Sendra, S.; García, L.; Lloret, J.; Bosch, I.; Vega-Rodríguez, R. LoRaWAN network for fire monitoring in rural environments. Electronics 2020, 9, 531. [Google Scholar] [CrossRef]
  21. Neumann, P.; Montavont, J.; Noel, T. Indoor deployment of low-power wide area networks (LPWAN): A LoRaWAN case study. In Proceedings of the 2016 IEEE 12th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob), New York, NY, USA, 17–19 October 2016. [Google Scholar] [CrossRef]
  22. Naik, N. LPWAN technologies for IoT systems: Choice between Ultra narrow band and spread spectrum. In Proceedings of the 2018 IEEE International Systems Engineering Symposium (ISSE), Rome, Italy, 1–3 October 2018. [Google Scholar]
  23. Gaddam, S.C.; Rai, M.K. A comparative study on various LPWAN and cellular communication technologies for IoT based smart applications. In Proceedings of the 2018 International Conference on Emerging Trends and Innovations in Engineering and Technological Research (ICETIETR), Ernakulam, India, 11–13 July 2018; pp. 1–8. [Google Scholar] [CrossRef]
  24. Masood, S.H.; Riza, S. Trends in Selective Laser Sintering in Biomedical Engineering. Int. J. Emerg. Trends Eng. Res. 2020, 8, 8–11. Available online: http://www.warse.org/IJETER/static/pdf/file/ijeter10812020.pdf (accessed on 18 August 2022).
  25. Iqbal, M.; Abdullah, A.Y.M.; Shabnam, F. An application based comparative study of LPWAN technologies for IoT environment. In Proceedings of the 2020 IEEE Region 10 Symposium (TENSYMP), Dhaka, Bangladesh, 5–7 June 2020; pp. 1857–1860. [Google Scholar] [CrossRef]
  26. Matni, N.; Moraes, J.; Oliveira, H.; Rosário, D.; Cerqueira, E. Lorawan gateway placement model for dynamic Internet of things scenarios. Sensors 2020, 20, 4336. [Google Scholar] [CrossRef] [PubMed]
  27. Roque, G.; Padilla, V.S. LPWAN based IoT surveillance system for outdoor fire detection. IEEE Access 2020, 8, 114900–114909. [Google Scholar] [CrossRef]
  28. Son, B.; Her, Y.; Kim, J. A design and implementation of forest-fires surveillance system based on wireless sensor networks for South Korea mountains. Int. J. Comput. Sci. Netw. Secur. 2006, 6, 124–130. [Google Scholar]
  29. Kanakaraja, P.; Sairamnadipalli, L.S.P.; Aswinkumer, S.V.; Ganesh, N.; Lekha, U.C.; Irfan, S.K. Industrial Parameters Monitoring With Lora Technology in Next Generation Wireless Communications. Turkish J. Physiother. Rehabil. 2021, 32, 805–815. [Google Scholar]
  30. Verba, N.; Chao, K.; Lewandowski, J.; Shah, N. Modelling Industry 4.0 based Fog Computing environments for Application analysis and deployment. Futur. Gener. Comput. Syst. 2018, 91, 48–60. [Google Scholar] [CrossRef]
Figure 1. Proposed F2DPS System.
Figure 1. Proposed F2DPS System.
Sensors 22 08411 g001
Figure 2. MQ2 Gas Sensor.
Figure 2. MQ2 Gas Sensor.
Sensors 22 08411 g002
Figure 3. Heltec Wi-Fi LoRa 32 V2.
Figure 3. Heltec Wi-Fi LoRa 32 V2.
Sensors 22 08411 g003
Figure 4. Dataflow model.
Figure 4. Dataflow model.
Sensors 22 08411 g004
Figure 5. 0-m height and 16, 32, 64 bytes payload size.
Figure 5. 0-m height and 16, 32, 64 bytes payload size.
Sensors 22 08411 g005
Figure 6. A height of 1-m and 16, 32, 64 bytes payload size.
Figure 6. A height of 1-m and 16, 32, 64 bytes payload size.
Sensors 22 08411 g006
Figure 7. A height of 2-m and 16, 32, 64 bytes payload size.
Figure 7. A height of 2-m and 16, 32, 64 bytes payload size.
Sensors 22 08411 g007
Figure 8. A height of 0-m and (16, 32, 64) bytes Payload Size.
Figure 8. A height of 0-m and (16, 32, 64) bytes Payload Size.
Sensors 22 08411 g008
Figure 9. 1-m height and (16, 32, 64) bytes Payload Size.
Figure 9. 1-m height and (16, 32, 64) bytes Payload Size.
Sensors 22 08411 g009
Figure 10. 2-m height and 16, 32, 64 bytes Payload Size.
Figure 10. 2-m height and 16, 32, 64 bytes Payload Size.
Sensors 22 08411 g010
Figure 11. First Floor with 16, 32, 64 bytes Payload Size.
Figure 11. First Floor with 16, 32, 64 bytes Payload Size.
Sensors 22 08411 g011
Figure 12. Second Floor with 16, 32, 64 bytes Payload Size.
Figure 12. Second Floor with 16, 32, 64 bytes Payload Size.
Sensors 22 08411 g012
Figure 13. Third Floor with 16, 32, 64 bytes Payload Size.
Figure 13. Third Floor with 16, 32, 64 bytes Payload Size.
Sensors 22 08411 g013
Figure 14. Network Delay Compression Analysis: First Floor with 16, 32, 64 Payload Size.
Figure 14. Network Delay Compression Analysis: First Floor with 16, 32, 64 Payload Size.
Sensors 22 08411 g014
Figure 15. Second Floor with 16, 32, 64 Payload Size.
Figure 15. Second Floor with 16, 32, 64 Payload Size.
Sensors 22 08411 g015
Figure 16. Third Floor with 16, 32, 64 Payload Size.
Figure 16. Third Floor with 16, 32, 64 Payload Size.
Sensors 22 08411 g016
Table 1. Comparison of the significant literature.
Table 1. Comparison of the significant literature.
Authors and YearEnvironmentTechnologyContributionsLimitations
Roberto Vega-Rodríguez et al. [7], 2019Low-Cost LoRa-Based Forest Fire Detection NetworkLoRaThe system is composed of a LoRa node and a set of sensors.Less Receiver sensitivity indoors and in smart buildings.
M. Al Mojamed [9], 2022Smart mina: LoRaWAN technology for smart fire detectionLoRaSimulated a Flora model in OMNET++. Considered the packet delivery ratio and collisions.Not a real-world fault-tolerant framework.
K. c et al. [10], 2017Design and implementation of the mobile Fire Alarm System (FAS)Wi-FiThe Android Studio-coded Arduino implantation.Lack of an internet connection renders the machine inoperable.
W. H. Dong et al. [15], 2016Design of Wireless Automatic FASWi-FiTo achieve rapid energy-efficient fire detection, alarm, and governmental oversight of fire-fighting infrastructure. The system did not identify flames. No authentication system detects false alerts.
Y. Liu and M et al. [12], 2016Fire Monitoring System-Based ZigBee-Wi-Fi NetworksZigBee-Wi-Fi NetworksMonitoring the fire alarm remotely, aiding in evacuation.Model cannot connect to all fire-affected devices, and the monitor is not connected to a central server.
F. A. Saputra et al. [17], 2017Early FDS for HomeRaspberry PiTypical monitoring of fire alarms.Involves higher power consumption.
Ahmad Alkhatib et al. [18], 2016Forest fire detection WSN systemZigbeeProposed a scalable system with three sub-networks.Power hungry and no-fault tolerance.
Sendra et al. [20], 2020fire risk assessment system based on LoRaWAN technologyLoRaWANThe LoRa node has humidity, temperature, CO2, and wind speed sensors.End node distribution and coverage are not defined.
Table 2. Response Time at varying sensor heights from the ground (0–2 m).
Table 2. Response Time at varying sensor heights from the ground (0–2 m).
Size16 Bytes32 Bytes64 Bytes
Height0 M1 M2 M0 M1 M2 M0 M1 M2 M
DistanceR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSI
0520−2240−41.3380−48.16633−27.42620−24.88608−421160−35.181149−56.6960−55
50525−80.98484−99.06381−85.86652−92.82640−78.82622−841175−99.81160−76.86976−77.1
100533−92.3491−108388−86.58660−99.24645−89.82626−96.481179−104.541164−91993−86.72
150541−91.6501−109.8390−89.8665−94.84655−86.32631−92.81188−92.481168−93.52995−90.66
200546−107511−110.42401−103672−99.98720−92.52640−92.421198−1021174−86.441004−94.96
250557−103518−112.84409−104.54679−111.62675−97.5681−106.661206−106.341176−104.321018−105.74
300567−109526−117.28413−113.38687−111.64680−100.66687−111.181212−121.921185−107.91046−106.54
350576−115537−124.26430−113.96693−114686−108.38690−115.881220−120.21189−115.721055−114.72
400579−118542−127436−117.48706−116.6698−106.28695−112.881230−127.421194−118.141067−121.16
450599−116553−124.1440−118.2730−115.66749−111.86724−117.721248−1311205−118.81095−111.42
500613−123564−128.76444−114.24773−11.66752−111.18735−115.181262−120.71200−127.81118−112.32
550618−121572−129.12449−118.46794−113766−120752−114.81267−121.51211−121.481126−111.52
600631−131586−130.66457−116.86842−123820−128.52809−124.281280−135.61217−128.781145−117.82
Table 3. Network Delay of 0, 1, and 2-m height with (16, 32, 64) bytes Payload Size.
Table 3. Network Delay of 0, 1, and 2-m height with (16, 32, 64) bytes Payload Size.
Size16 Bytes32 Bytes64 Bytes
Height0 M1 M2 M0 M1 M2 M0 M1 M2 M
DistanceN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSI
0120−2216−41.38−48.2233−27.4220−24.9208−42760−35.2749−56.6560−55
50125−80.9884−99.068−85.86252−92.82240−78.82222−84775−99.8760−76.86576−77.1
100133−92.391−1089−86.6260−99.24245−89.9226−96.5779−105764−91593−86.7
150141−95.6101−11010−89.8265−94.8255−86.3231−92.8788−92.5768−93.52595−90.7
200146−107111−11021−103272−100267−92.5240−92.4798−102774−86.44604−95
250157−103118−11329−105279−100270−97.5281−107806−106.34776−104.32618−106
300167−109126−11733−113287−112280−101287−111812−122785−107.9646−107
350176−115137−12450−114293−112286−108290−116820−120789−115.72655−115
400179−118142−12756−117306−114298−107295−113830−127794−118.14667−121
450199−116153−12460−118361−116349−112324−118848−131805−118.8695−111.4
500213−123164−12964−114373−112352−111335−115862−121800−127.8718−112.3
550218−121172−12969−118394−113366−120352−115867−122811−121.84726−112
600230−131186−13177−117442−123420−128.5409−124880−136817128.78745−118
Table 4. Response Time of 1, 2, and 3 floors with 16, 32, 64 bytes Payload Size.
Table 4. Response Time of 1, 2, and 3 floors with 16, 32, 64 bytes Payload Size.
Size16 Bytes32 Bytes64 Bytes
Height1 Floor2 Floor3 Floor1 Floor2 Floor3 Floor1 Floor2 Floor3 Floor
DistanceR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSIR-TRSSI
0520−2240−41.3380−48.16633−27.42620−24.88608−421160−35.131149−56.6960−55
50525−80.98484−99.06381−85.86652−92.82640−78.82622−841175−99.81160−76.86976−77.1
100533−92.3491−108388−86.58660−99.24645−89.88626−96.481179−104.51164−91993−86.72
150541−95.6501−109.8390−89.8665−94.84655−86.32631−92.81188−92.481168−93.52995−90.66
200546−107511−110.4401−103672−99.98720−92.52640−92.421198−1021174−86.441004−94.96
250557−103518−112.8409−104.5679−99.98675−97.5681−106.71206−106.341176−104.31018−105.7
300567−109526−117.3413−113.4687−111.6680−100.7687−111.21212−121.91185−107.91046−106.5
350576−115537−124.3430−114693−111.6686−108.3690−115.91220−120.21189−115.71055−114.7
400579−118542−127436−117.5706−114698−106.7695−112.91230−127.41194−118.11067−121.2
450599−116553−124.1440−118.2730−115.6749−111.9724−117.71248−1311205−118.81095−111.42
500613−123564−128.8444−114.2773−111.7752−111.2735−115.21262−120.71200127.81118−112.32
550618−121572−129.1449−118.5794−113766−120752−114.81267−121.51211121.81126−111.5
600631−131586−130.7457−116.9842−123820−128.52809−124.31280−135.61217−128.81145−117.8
Table 5. Network Delay of 1, 2, and 3 Floor with 16, 32, 64 Payload Size.
Table 5. Network Delay of 1, 2, and 3 Floor with 16, 32, 64 Payload Size.
Size16 Bytes32 Bytes64 Bytes
Height1 Floor2 Floor3 Floor1 Floor2 Floor3 Floor1 Floor2 Floor3 Floor
DistanceN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSIN-DRSSI
026−72.324−53.7823−14.6244−73.2236−70.2237−30.5845−67.2771−29.5738−40.7
5033−75.3524−87.225−79.46258−74.66249−74.66241−81.68858−74.88784−72.16776−85.9
10049−89.147−89.751−97.2291−85.7281−80.7260−90.3870−83.5788−80.8786−90.4
15054−10449−11562−91.7321−93.3299−85.3376−105898−65.6795−92.2790−97.1
20059−10957−11960−97347−101303−101288−101908−99.6798−94.7789−94.9
25066−11959−11959−91387−113379−113362−99.5938−103805−102795−104
30070−116.870−12165−107398−117393−115365−105958−105808−104805−102
35077−1247311868−102425−113491−113371−111973−113809−107806−110
40080−11879−12472−112442−104417−116408−107980−112823−103817−118
45094−12485−12873−119451−108422−108409−117990−110825−121826−119
500104−124104−12394−119516−121436−121409−1191024−119831−113828−112
550152−131108−12497−125519−126447−126417−1251059−117840−118829−127
600198131.1124−128109−128570−115470−115419−1251102−125845−113830−121
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Safi, A.; Ahmad, Z.; Jehangiri, A.I.; Latip, R.; Zaman, S.K.u.; Khan, M.A.; Ghoniem, R.M. A Fault Tolerant Surveillance System for Fire Detection and Prevention Using LoRaWAN in Smart Buildings. Sensors 2022, 22, 8411. https://doi.org/10.3390/s22218411

AMA Style

Safi A, Ahmad Z, Jehangiri AI, Latip R, Zaman SKu, Khan MA, Ghoniem RM. A Fault Tolerant Surveillance System for Fire Detection and Prevention Using LoRaWAN in Smart Buildings. Sensors. 2022; 22(21):8411. https://doi.org/10.3390/s22218411

Chicago/Turabian Style

Safi, Abdullah, Zulfiqar Ahmad, Ali Imran Jehangiri, Rohaya Latip, Sardar Khaliq uz Zaman, Muhammad Amir Khan, and Rania M. Ghoniem. 2022. "A Fault Tolerant Surveillance System for Fire Detection and Prevention Using LoRaWAN in Smart Buildings" Sensors 22, no. 21: 8411. https://doi.org/10.3390/s22218411

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop