ArticlePDF Available

Design of an IoT-Based Fuzzy Approximation Prediction Model for Early Fire Detection to Aid Public Safety and Control in the Local Urban Markets

Authors:

Abstract and Figures

Abstract: Fire monitoring in local urban markets within East Africa (EA) has been seriously neglected for a long time. This has culminated in a severe destruction of life and property worth millions.These rampant fires are attributed to electrical short circuits, fuel spillages, etc. Previous research proposes single smoke detectors. However, they are prone to false alarm rates and are inefficient. Also, satellite systems are expensive for developing countries. This paper presents a fuzzy model for early fire detection and control as symmetry’s core contribution to fuzzy systems design and application in computer and engineering sciences. We utilize a fuzzy logic technique to simulate the performance of the model using MATLAB, using six parameters: temperature, humidity, flame, CO,CO2 and O2 vis- à-vis the Estimated Fire Intensity Prediction (EFIP). Results show that, using fuzzy logic, a significant improvement in fire detection is observed with an overall accuracy rate of 95.83%. The paper further proposes an IoT-based fuzzy prediction model for early fire detection with a goal of minimizing extensive damage and promote intermediate fire suppression and control through true fire incidences. This solution provides for future public safety monitoring, and control of fire-related situations among the market community. Hence, fire safety monitoring is significant in providing future fire safety planning, control and management by putting in place appropriate fire safety laws,policies, bills and related fire safety practices or guidelines to be applied in public buildings, market centers and other public places.
Content may be subject to copyright.
symmetry
S
S
Article
Design of an IoT-Based Fuzzy Approximation
Prediction Model for Early Fire Detection to Aid
Public Safety and Control in the Local Urban Markets
Emmanuel Lule 1, *, Chomora Mikeka 2, Alexander Ngenzi 1and Didacienne Mukanyiligira 1
1African Center of Excellence in Internet of Things (ACEIoT), College of Science & Technology (C.S.T.),
University of Rwanda, Nyarugenge P.O. Box 3900, Kigali, Rwanda; a.ngenzi@ur.ac.rw (A.N.);
d.mukanyirigira@ur.ac.rw (D.M.)
2Chancellor College, Faculty of Science, Department of Physics, University of Malawi (UNIMA),
Zomba P.O. Box 280, Malawi; cmikeka@cc.ac.mw
*Correspondence: lule.emmanuel@cis.mak.ac.ug; Tel.: +250-724801257
Received: 28 June 2020; Accepted: 20 July 2020; Published: 21 August 2020


Abstract:
Fire monitoring in local urban markets within East Africa (EA) has been seriously neglected
for a long time. This has culminated in a severe destruction of life and property worth millions.
These rampant fires are attributed to electrical short circuits, fuel spillages, etc. Previous research
proposes single smoke detectors. However, they are prone to false alarm rates and are inecient.
Also, satellite systems are expensive for developing countries. This paper presents a fuzzy model
for early fire detection and control as symmetry’s core contribution to fuzzy systems design and
application in computer and engineering sciences. We utilize a fuzzy logic technique to simulate the
performance of the model using MATLAB, using six parameters: temperature, humidity, flame, CO,
CO
2
and O
2
vis-
à
-vis the Estimated Fire Intensity Prediction (
EFIP
). Results show that, using fuzzy
logic, a significant improvement in fire detection is observed with an overall accuracy rate of 95.83%.
The paper further proposes an IoT-based fuzzy prediction model for early fire detection with a goal
of minimizing extensive damage and promote intermediate fire suppression and control through true
fire incidences. This solution provides for future public safety monitoring, and control of fire-related
situations among the market community. Hence, fire safety monitoring is significant in providing
future fire safety planning, control and management by putting in place appropriate fire safety laws,
policies, bills and related fire safety practices or guidelines to be applied in public buildings, market
centers and other public places.
Keywords:
Internet of Things (IoT); fuzzy logic; Fuzzy Associative Memory (
FAM
); estimated fire
intensity prediction (EFIP); gas combustion eciency (GCE)
1. Introduction
With the recent development and advancement in Internet of Things (IoT) technology, it is estimated
that, by the year 2020, approximately 50 billion devices shall be connected to the internet [
1
,
2
]. Therefore,
the development of IoT-based platforms shall subsequently provide the fire area with an opportunity
to develop low-cost, eective and reliable solutions to combat the recurrent fire-related situations in the
local urban markets within the East Africa (EA) region before severe disastrous consequences emerge.
EA’s regional urban markets have suered severe fire outbreaks within the last 10 years. The major
cause of these fire outbreaks is mainly attributed to electrical short circuits, fuel spillage, carelessly
neglected charcoal stoves and suspected arson, among others [
3
5
]. Urban markets, however, lack a
comprehensive contingency plan to manage, contain and safeguard against any fire-related phenomena
despite previous encounters. This has resulted in a severe destruction of both human life and property
Symmetry 2020,12, 1391; doi:10.3390/sym12091391 www.mdpi.com/journal/symmetry
Symmetry 2020,12, 1391 2 of 29
worth millions. The fire and rescue departments still rely on the traditional methods of human patrol
observations in dealing with fire situations making them quite obsolete, inaccurate and inecient for
fire safety detection [
3
]. In the Figure 1, we show the percentage frequencies of fire occurrences for the
selected local urban markets within the (EA) region, namely, Owino in Uganda, Gikomba in Kenya
and Nyanza or Gisozi in Rwanda for the last 10 years (2009–2019):
Symmetry 2020, 12, x FOR PEER REVIEW 2 of 29
against any fire-related phenomena despite previous encounters. This has resulted in a severe
destruction of both human life and property worth millions. The fire and rescue departments still
rely on the traditional methods of human patrol observations in dealing with fire situations making
them quite obsolete, inaccurate and inefficient for fire safety detection [3]. In the Figure 1, we show
the percentage frequencies of fire occurrences for the selected local urban markets within the (EA)
region, namely, Owino in Uganda, Gikomba in Kenya and Nyanza or Gisozi in Rwanda for the last
10 years (2009–2019):
Figure 1. Percentage (%) frequencies of fire occurrences in selected urban markets within the East
Africa (EA) region between (2009–2019) [4,5].
Embedded computing and micro-electromechanical (MEMs) systems through environmental
science shall provide information through sensors to enhance the existing fire monitoring and
detection applications by gathering sensed data, process and transmit it for purposes of modeling
and analysis for appropriate decision making [6]. Tremendous research efforts in fire detection have
been made. For instance, Sowah at el. in [7], proposed a fuzzy-based multisensor fire detection system
and a web-based notification platform. The authors used both the fuzzy and trained convolutional
neural networks (CNN) for early fire detection as a deep learning technique with the ability to
perform feature extraction and classification. The CNN method enables a broader coverage area of
interest. Results show that using the CNN method significantly improves fire detection and alerting
response, with an accuracy rate of 94%.
Güllüce at el.in [8], propose a smart fire detection system using infrared technology and
mathematical modeling algorithms. The authors use geolocation and behavior to estimate the spatial
resolution by superimposing the detection areas with infrared detectors. Meanwhile, the
mathematical models position the spatial resolution detectors in estimating the coordinates of the
forest fires using the libraries of Google Maps APIs in the cloud. The fire geolocation and behavior
are simulated using software called Fire Analyst. Experimental results show that monitoring fires with
fire analyst using multispectral infrared technology outperformed the other fire monitoring systems.
The method provides a shortened fire detection time frame with an observed high spatial resolution
of up to 4.5 m and geolocation of approximately 3599.56 m2. Previous researchers proposed the use
of conventional fire control alert systems like smoke detectors. However, these alert systems are
highly susceptible to false alarms with limited protection depending on the type of fire [7,9]. Davis,
Hislop at el. in [10,11] propose the use of satellite systems. However, these are quite expensive to
acquire and maintain for developing countries. Therefore, this research approach seeks to propose a
fuzzy-based approximation prediction model for early fire outbreak detection in order to safeguard
the market community from severe destruction of property.
The novel idea is to apply fuzzy logic in early fire detection to significantly improve the accuracy
to 95.83% consisting of true positives. This shall enhance control, by way of minimizing extensive
damage and safeguard the public against potentially prevailing harmful fires. Fuzzy logic control
technique is aimed at providing an accurate real time decision making through early warning signals
Figure 1.
Percentage (%) frequencies of fire occurrences in selected urban markets within the East
Africa (EA) region between (2009–2019) [4,5].
Embedded computing and micro-electromechanical (MEMs) systems through environmental
science shall provide information through sensors to enhance the existing fire monitoring and detection
applications by gathering sensed data, process and transmit it for purposes of modeling and analysis
for appropriate decision making [
6
]. Tremendous research eorts in fire detection have been made.
For instance, Sowah at el. in [
7
], proposed a fuzzy-based multisensor fire detection system and a
web-based notification platform. The authors used both the fuzzy and trained convolutional neural
networks (CNN) for early fire detection as a deep learning technique with the ability to perform
feature extraction and classification. The CNN method enables a broader coverage area of interest.
Results show that using the CNN method significantly improves fire detection and alerting response,
with an accuracy rate of 94%.
Güllüce at el.in [
8
], propose a smart fire detection system using infrared technology and
mathematical modeling algorithms. The authors use geolocation and behavior to estimate the spatial
resolution by superimposing the detection areas with infrared detectors. Meanwhile, the mathematical
models position the spatial resolution detectors in estimating the coordinates of the forest fires using
the libraries of Google Maps APIs in the cloud. The fire geolocation and behavior are simulated
using software called Fire Analyst. Experimental results show that monitoring fires with fire analyst
using multispectral infrared technology outperformed the other fire monitoring systems. The method
provides a shortened fire detection time frame with an observed high spatial resolution of up to 4.5 m
and geolocation of approximately 3599.56 m
2
. Previous researchers proposed the use of conventional
fire control alert systems like smoke detectors. However, these alert systems are highly susceptible to
false alarms with limited protection depending on the type of fire [7,9]. Davis, Hislop at el. in [10,11]
propose the use of satellite systems. However, these are quite expensive to acquire and maintain for
developing countries. Therefore, this research approach seeks to propose a fuzzy-based approximation
prediction model for early fire outbreak detection in order to safeguard the market community from
severe destruction of property.
The novel idea is to apply fuzzy logic in early fire detection to significantly improve the accuracy
to 95.83% consisting of true positives. This shall enhance control, by way of minimizing extensive
damage and safeguard the public against potentially prevailing harmful fires. Fuzzy logic control
technique is aimed at providing an accurate real time decision making through early warning signals
Symmetry 2020,12, 1391 3 of 29
for possible public safety control, suppression and immediate evacuation. Hence, there is a need
to design low-cost, eective, fuzzy-based fire prediction models using the IoT platform to improve
existing firefighting techniques with a major goal of minimizing damage and false alarm rates.
Therefore, in order to ensure appropriate event reporting responses of the related fire calamities,
there is need to develop eective fire detection systems to ensure a prompt responses, proper
management and containment of the ever-recurring fire calamities in local urban markets [
12
].
Thus, the proposed fuzzy model plays a significant contribution to symmetry’s area of computing and
engineering science.
The rest of the paper is structured as follows: Section 2, related works; in Section 3, problem
description and modeling; in Section 4, simulation experiment setup; Section 5, results and discussion,
where obtained results are comprehensively discussed; and, in Section 6, conclusion and future works.
2. Related Works
The state-of-the-art research findings illustrate several related works done in the area pertaining
fire monitoring and detection using the fuzzy logic-based technique. For instance, researchers in [
13
]
proposed GIS-based forest-fire risk mapping in the forested areas of Iran prone to high risk fire
occurrences by combining two techniques, namely analytical network processing (ANP) and fuzzy
logic, to generate a fire risk map. The occurrence of a forest fire is determined using an ANP
ranking procedure yielding a criteria weight, while the fuzzy logic assesses the weight of subcriteria.
Then the GIS-based aggregation module function is applied to generate an appropriate fire risk map.
Results indicate that a high-risk accuracy of 81.9% is obtained using the proposed fuzzy ANP model.
B. Sarwar at el in [
14
] proposed an IoT-based intelligent warning application using the adaptive neural
fuzzy inference systems (ANFIS) to compute the true likelihood of a fire presence and then generate a
fire alert. The novel idea was to use an ANFIS technique in the identification of a true presence of
a fire incident by considering the following parameters: the change rate of smoke, the change rate
of temperature and humidity. Sensors collect vital data from the sensor nodes and the fuzzy logic
technique converts the raw data into linguistic variables trained by the ANFIS to get the probability
of a fire occurrence. The proposed experiment shows satisfactory output results. In addition, in [
15
],
Sarwar et al. proposed the design and application of an intelligent fire monitoring and warning system
(FMWS) using fuzzy logic to predict a fire outbreak. The system sends out alert messages using
the Global System for Mobile Communication (GSM) technology. The authors considered three key
performance parameters, i.e., smoke, flame and temperature. However, only three parameters are not
sucient for eective fire detection as this may result in false alarms and further is not IoT-related.
The designed FMWS was simulated using MATLAB version 7.1 and results show that the system
was successful.
T. Listyorini at el. in [
16
], proposed an IoT-enabled fire detection tool based on the concept of
fuzzy logic in the peatland area of Riau, Indonesia. The proposed prototype detects the presence of
fire hotspots and analyzes fire intensity using one parameter, temperature, and any noticeable change
of abnormal increase in temperature triggers an early fire warning which then sends a notification
message to the supervisors for immediate action. However, only one parameter cannot be sucient
for a true identification of a fire presence. M. Samadi at el. in [
17
] proposed a knowledge-based system
called a fire suocation and burn (FSB) system, which employs a fuzzy decision making, multi criteria
decision making (MCDM) and an RGB model. The system is able to predict the presence of a fire
occurrence, suocation and burn probabilities based on the sensed data from dierent clusters of the
network. Sensed data from smoke, temperature and light sensors is ultimately processed in order to
determine an appropriate decision of the prevailing environmental condition. Simulation results show
that the proposed system surpasses the threshold methods in terms of energy eciency, network time
and financial losses. The system can be used in various areas such as buildings or forests etc.
Symmetry 2020,12, 1391 4 of 29
In [
18
], H. Kaur at el. proposed a three-tier architecture for early detecting and mitigation of wild
forest fires. The architecture consists of i) a data perception layer, responsible for collecting forest
fire phenomena, environmental conditions and location related data. The aggregated data is then
forwarded to the ii) fog computing (FC) layer, responsible for real time analysis and processing of
data collected by the IoT sensors to determine a predict an early forest fire outbreak. iii) The event
classification component is responsible for classification of an event into wild fire oriented datasets to
be detected, i.e., fire detected event or a no fire event, using a k-means clustering and adaptive neuro
fuzzy inference system (ANFIS) for computing the fire vulnerability analysis.
Upon detection, an early warning signal is sent to the fire department for immediate suppression
and control of the wild fires. Experimental results show that, using k-means clustering outperforms
other clustering techniques by 93.41% with a lower classification detection time of wild forest fires,
hence mitigating their adverse eects. Researchers in [
19
] proposed a fire detection and control system
using fuzzy logic technique with feedback over an Arduino micro controller system. The automated
system consists of flame, temperature, smoke sensors and a re-engineered mobile carbon dioxide air
conditioning unit was tested on a medium physical car. Results show, that automobile fire detection
system is devoid of false alarms and able to detect and suppress fire within 20 s.
Hislop et al. in [
11
] demonstrated the use of a satellite data driven approach to monitor and
report fire incidences across boreal-forest-covered areas. Researchers used MODIS and Landsat data to
explore trends in fire disturbances across the boreal forest cover. Research showed that between 2001
and 2018, 9% of the forest was burned as detected by the MODIS satellites. The Google Land Earth
Engine was used to sample thousands of Landsat images to further observe trends and patterns in
fire severity and forest recovery. Results indicated that satellite data together with cloud computing
can be used to harness the survey baselines to reveal trends and patterns so as to improve forest fire
monitoring and reporting at both national and global scale.
L. Salhi et al. in [
20
] proposed a gas and fire detection system in a smart home using a machine
learning technique. The authors applied the following environmental parameters in the experiment:
temperature, humidity, smoke, CO, CO
2
, LPG and flame. The suggested method employs data mining
to detect an abnormal change in pattern of the considered above parameters and then sends a warning
signal to the relevant person. Results show that the proposed solution improved the accuracy of the
model with reduced false positives Nevertheless, the proposed solution is not IoT-related. T. Sahithi
at el. in [
21
], designed a fire rescue system using IoT to safeguard against fire-related accidents in
the lonely houses. When a fire incident is detected by the sensors, immediately data is sent to the
pic18 microcontroller board and intimation is sent to the nearest fire or police station using an android
application. However, the proposed system doesn’t use a fuzzy logic approach and a risk of false
alarms is possible. Roberto at el. in [
22
], proposed a software agent that monitors the status of fire
extinguishers by collecting their history and environmental factors and sends a notification if any
parameters (temperature or humidity) are not within a defined range. Results show that the smart fire
prototype is accurate in computing the pressure changes of a specific data acquisition system (DAS).
Jun Hong at el. in [
23
] proposes a new fire detection system with a multifunctional AI framework and
data transfer minimization for the safety of smart cities using machine learning and fuzzy algorithms
for making appropriate decisions. The developed system achieved an accuracy rate of 95%.
3. Problem Description and Modeling
3.1. Problem Definition
Fire outbreaks in local urban markets located within the East Africa (EA) region have raised
serious concern due to their extensive damage to property and human life. The primary causes of these
fire occurrences arise mainly from electrical short circuits, neglected charcoal stoves and fuel spillage,
as detailed in the police annual reports [
3
,
5
]. These markets, however, act as a source of income to
the small-scale vendor community. Hence, there is lack of comprehensive fire control safety systems
Symmetry 2020,12, 1391 5 of 29
and policies in place to protect these markets against the rampant harmful fires despite previous
encounters. These markets still rely on the traditional methods of human patrol mechanisms for fire
detection, rendering them obsolete and inecient for proper and accurate fire detection. The single
smoke detectors proposed by S. Chen and et al. in [
9
] are highly susceptible to false alarm rates and
inecient. Furthermore, satellite-based systems [
11
] are quite expensive for developing countries to
acquire and maintain.
Therefore, this research study seeks to propose an IoT-based fuzzy approximation prediction
model for early fire detection in order to provide public safety against recurrent fire threats, minimize
extensive damage and instigate appropriate risk mitigation measures through emergency control
measures by alerting authorities in time for quick evacuation and as well as establishing immediate
fire suppression mechanisms. This approach, utilizes the fuzzy logic-based technique for determining
true fire incidences [
24
]. Hence, the fuzzy logic method consisting of a set of evaluation inference rules
and its natural linguistic terms to apply approximate reasoning in order to determine the true accuracy
rate of fire, as in Zadeh (1974) (1975) [25,26].
3.2. Materials and Methods
In this paper, we applied a simulated approach using a fuzzy-logic-based technique embedded
within the MATLAB simulation environment. The MATLAB Fuzzy Logic toolbox was then used to
simulate the proposed model with more accuracy, scalability and flexibility. We then modeled and
observed the performance dynamic behavior of the proposed fuzzy prediction model using a set of
six input parameters, namely, rate of change of temperature (
T), rate of change of humidity (
H),
flame presence, rate of change of carbon dioxide levels (
CO
2
), rate of change of carbon monoxide
levels (
CO) and rate of change of oxygen levels (
O
2
). We considered the estimated fire intensity
prediction (EFIP) as the output parameter to determine the percentage probability likelihood of a fire
occurrence. In order to process the fuzzy logic model, we utilized a rule-based Mamdani’s fuzzy
inference system (FIS) and then applied defuzzification processes.
3.3. Fuzzy Approximation Modeling
Fuzzy Logic
Fuzzy logic is defined by multivalued artificial intelligence or soft computing technique that is
based on the principle of the degrees of truth that range between 0 and 1 both inclusive. Also, a fuzzy
set can be referred to as an initial set that defines the uncertain crisp value[x] and a corresponding
membership value[
µ
] in the range of [0,1]. Hence, fuzzy models are based on fuzzy inference rules in
order to model and evaluate nonlinear systems with complex and dynamic engineering problems [
27
].
This research approach employs fuzzy approximation modeling technique in order to determine or
estimate the fire intensity decision status from a set of fuzzy input within a given domain range [28].
Fuzzy logic was originally proposed by Dr. Loft Zadeh of the University of California in the
1960s. The technique has been widely used in solving real life complex soft computing problems.
Fuzzy optimization theory is based on the principle of fuzzy sets that has significantly developed into
fuzzy approximation reasoning. Hence, this sets precedence as one of the theoretical foundations of
fuzzy approximation theory [
29
]. Soft computing is a branch of computational intelligence where
fuzzy logic, genetic algorithms, probability theory and neural networks are collaboratively used to
mimic human reasoning for appropriate decision making [
30
]. Therefore, fuzzy logic is beneficial in
designing nonlinear complex control solutions with multiple parameters because:
It models uncertainty of linear and nonlinear systems of arbitrary complexity to solve real-world
complex dynamic computational problems;
It covers a range of operating conditions, and is readily customizable in natural language
processing terms;
It exhibits the ability to handle dynamic complex problems with imprecise and incomplete datasets;
Symmetry 2020,12, 1391 6 of 29
It exhibits a great sense of flexibility and simplicity in modeling real life complex problems.
Therefore, the research study seeks to utilize the concept of fuzzy logic technique to assist in an
early detection of fire-related hazards with a view of minimizing possible errors by sending an alarm
notification message comprised of true positives during an event detection [
15
,
21
]. Fuzzy approximation
utilizes the IF
. . .
THEN implication reference rules with appropriate linguistic description rules.
For instance, IF (the “antecedent” or “premises” is satisfied) THEN (the “consequent” is inferred) as
cited in Liu et al. [
29
]. Hence, the designed concrete set of rules can be inferred with respect to the
FIS knowledge base to generate a generic fuzzy based algorithm. Then, the resultant control model
represents the logic function of the fuzzy approximation algorithm aiding early fire detection and
safety control for the local urban market community.
The proposed prediction model is based on fuzzy approximation reasoning to estimate the
Fire Intensity (FI) as a percentage of a given fire event status. Simulations were carried out in the
MATLAB 2018 an environment, specifically using the Fuzzy Toolbox to design the fuzzy logic controller.
Simulations were carried out to understand the dynamic performance behavioral nature of the proposed
fuzzy control model. The process of design of the fuzzy approximation model is clearly discussed in
the next section of this paper.
3.4. Fuzzy Approximation Control Model
In the design of a fuzzy based approximation control model, we employ the following principle
stages, namely, model fuzzification,model fuzzy rules,model inference engine, and model defuzzification
and evaluation.
3.4.1. The Fuzzy Control Model
The fuzzy control model is designed to approximate the fire intensity and subsequently determine
the appropriate fire probability by making an informed decision about a fire occurrence based on a set
of predefined parameters: smoke intensity, gases, flame, temperature and humidity. Hence, the fuzzy
logic system is therefore built based on following principle steps as detailed in the Figure 2, below:
Symmetry 2020, 12, x FOR PEER REVIEW 6 of 29
Therefore, the research study seeks to utilize the concept of fuzzy logic technique to assist in an
early detection of fire-related hazards with a view of minimizing possible errors by sending an alarm
notification message comprised of true positives during an event detection [15,21]. Fuzzy
approximation utilizes the IF…THEN implication reference rules with appropriate linguistic
description rules. For instance, IF (the “antecedent” or “premises” is satisfied) THEN (the
“consequent” is inferred) as cited in Liu et al. [29]. Hence, the designed concrete set of rules can be
inferred with respect to the FIS knowledge base to generate a generic fuzzy based algorithm. Then,
the resultant control model represents the logic function of the fuzzy approximation algorithm aiding
early fire detection and safety control for the local urban market community.
The proposed prediction model is based on fuzzy approximation reasoning to estimate the Fire
Intensity (FI) as a percentage of a given fire event status. Simulations were carried out in the MATLAB
2018 an environment, specifically using the Fuzzy Toolbox to design the fuzzy logic controller.
Simulations were carried out to understand the dynamic performance behavioral nature of the
proposed fuzzy control model. The process of design of the fuzzy approximation model is clearly
discussed in the next section of this paper.
3.4. Fuzzy Approximation Control Model
In the design of a fuzzy based approximation control model, we employ the following principle
stages, namely, model fuzzification, model fuzzy rules, model inference engine, and model defuzzification and
evaluation.
3.4.1. The Fuzzy Control Model
The fuzzy control model is designed to approximate the fire intensity and subsequently
determine the appropriate fire probability by making an informed decision about a fire occurrence
based on a set of predefined parameters: smoke intensity, gases, flame, temperature and humidity.
Hence, the fuzzy logic system is therefore built based on following principle steps as detailed in the
Figure 2, below:
Figure 2. Principle steps in the design of the fuzzy approximation control model.
3.4.2. Model Fuzzification Values
In the design of the fuzzy control model for early fire detection, we defined six multisensory
input crisp parameters and their corresponding fuzzy membership values, namely, i) the rate of
change in temperature (ΔT) = {very low, low, medium, high, very high}; ii) the rate of change in
humidity (ΔH) = dry, optimal, moist}; iii) the rate of change of smoke intensity or carbon monoxide
(ΔCO) = {low, medium, high}; iv) the rate of change of carbon dioxide (ΔCO2) = {low, medium, high};
v) the rate of change of oxygen (ΔO2) = {low, medium, high}; vi) the flame presence = {false, true}.
Figure 2. Principle steps in the design of the fuzzy approximation control model.
3.4.2. Model Fuzzification Values
In the design of the fuzzy control model for early fire detection, we defined six multisensory
input crisp parameters and their corresponding fuzzy membership values, namely, (i) the rate
of change in temperature (
T) ={very low, low, medium, high, very high}; (ii) the rate of
change in humidity (
H) =dry, optimal, moist}; (iii) the rate of change of smoke intensity
Symmetry 2020,12, 1391 7 of 29
or carbon monoxide
(CO) ={low, medium, high};
(iv) the rate of change of carbon dioxide
(CO2)={low, medium, high};
(v) the rate of change of oxygen (
O
2
)={low, medium, high}; (vi) the
flame presence ={false, true}. This study, considers a membership value for flame presence equivalent
to “true”. This is so because, we tend to minimize the potential likelihood of false alarm rate that may
be generated. Note that in the proposed experiment, three types of combustion gases are considered
for ecient fire detection, namely, carbon dioxide (CO
2
), carbon monoxide (CO) and oxygen (O
2
).
Mainly because, most burning materials contains carbon materials as one of the primary elements.
The carbon element combines with the atmospheric oxygen to support extensive fire combustion.
This gives rise to carbon monoxide (CO) and carbon dioxide (CO
2
). Thus, a continued fire combustion
leads to a drop in O
2
levels. This subsequently results to a drop in the Fire Intensity for a particular
burning flame.
The fire intensity (FI) is realized as the output function. Hence, the estimated fire intensity
prediction (EFIP) as the fuzzy output is defined by the following membership values: {very low, low,
moderate, high, very high}.
3.4.3. Used Membership Functions
The membership function (MF) is referred to as a curve defined within the MATLAB environment
and is used to map the input space to the membership value to the output function.
In this research approach, we mainly apply three types of Mamdani membership functions in the
design of the proposed fuzzy based approximation model.
These include the triangular MF or (trimf), the Gaussian MF or (gauss) and, the trapezoidal
(trapmf) MF. The applied MF in the model design are extensively discussed in [26,27].
3.5. Applied Model Fuzzy Rules
3.5.1. Fuzzy Associative Memory (FAM) Method
Fuzzy associative memory (FAM) is a content addressable memory in which the recall occurs
correctly if the input data falls within a specified window consisting of the upper and lower bound limit
of a given fuzzy domain. Also, FAMs are associative transformations that map input fuzzy values to
corresponding output fuzzy sets in order to generate an appropriate FAM matrix tool consisting of a set
of evaluation inference rules. The FAM method helps achieve storing and completing the recall realized
by the fuzzy logic associative memory pattern [
31
]. This research approach, utilizes a combination of
both the square and cube FAM methods to generate the required inference rules as detailed in Tables 1
and 2. The FAM method is widely accepted in modeling and optimization of fuzzy control systems.
This improves the performance of the captured contents and their associations eciently [
32
34
].
A total of forty-two inference rules, i.e., {42} ={27 +15}: {27 =3
×
3
×
3
×
1; 15 =3
×
5
×
1},
were generated for the fuzzy based model. Hence, the fuzzy evaluation inference rules as detailed in
Tables 1and 2, for the fuzzy model shall subsequently aid in early fire detection for urban markets
with a major purpose of public safety and control.
Symmetry 2020,12, 1391 8 of 29
Table 1.
Fuzzy inference system (FIS) evaluation rules for the initial environmental parameters i.e.,
Temperature, Humidity vs Estimated Fire Intensity Prediction (EFIP) (%).
Rule No. Temperature (C) (T) Humidity (%) (H) Estimated Fire Intensity
Prediction (EFIP) (%)
1. Very Low Dry L
2. Very Low Optimal L
3. Very Low Moist L
4. Low Dry L
5. Low Optimal L
6. Low Moist L
7. Medium Dry M
8. Medium Optimal M
9. Medium Moist L
10. High Dry H
11. High Optimal H
12. High Moist L
13. Very High Dry H
14. Very High Optimal H
15. Very High Moist L
KEY: L: low, M: moderate, H: high. For all evaluation rules, flame presence ={true} or (0.5).
Table 2. FIS evaluation rules for gas combustion i.e., CO, CO2,O2vs EFIP (%).
Rule No. Smoke Intensity
(CO) (ppmv)
Carbon Dioxide
(CO2) (ppmv)
Oxygen Level
(O2) (ppmv)
Estimated Fire Intensity
Prediction (EFIP) (%)
1. Low Low Low L
2. Low Medium Low M
3. Low High Low H
4. Medium Low Low H
5. Medium Medium Low VH
6. Medium High Low VH
7. High Low Low VH
8. High Medium Low VH
9. High High Low VH
10. Low Low Medium VL
11. Low Medium Medium M
12. Low High Medium M
13. Medium Low Medium M
14. Medium Medium Medium H
15. Medium High Medium L
16. High Low Medium M
17. High Medium Medium H
18. High High Medium L
19. Low Low High VL
20. Low Medium High VL
21. Low High High H
22. Medium Low High VL
23. Medium Medium High L
24. Medium High High L
25. High Low High L
26. High Medium High L
27. High High High L
KEY: VL: very low, L: low, M: moderate, H: high, VH: very high. For all rules, flame presence ={true} or value =0.5.
Symmetry 2020,12, 1391 9 of 29
3.5.2. Fuzzy Inference Evaluation Rules for the Control Experiment Design
In Table 1, of the research experiment, we simulate and model the initial environmental changes
in the surrounding environment eect when a fire outbreak occurs. The following shall be realized
i.e., the rate of change in temperature (
T) and the rate of change in humidity (
H) and the flame
presence ={True} is considered constant for all evaluation inference rules. The expected fuzzy output is
called the estimated fire intensity prediction (EFIP), determined as a percentage (%) of the relationship
between temperature and humidity variation. The fire intensity is the rate of energy released by the
fire or the energy released per unit area of actively burning fire (KW/m2) [35,36].
In Table 2, we simulate and model the dynamic behavior of byproducts of the gases dissipated
during a fire outbreak and clearly understand their eect on the surrounding environmental. The input
parameters to be considered include; the of the rate of change in smoke intensity or carbon monoxide
(
CO), rate of change of carbon dioxide (
CO
2
) and rate of oxygen (
O
2
) that is depleted in the
surrounding atmosphere due to the oxidation with the carbon burning elements. All the gases
dissipated are measured in standard units of parts per million per volume (ppmv). Gas combustion:
the high temperature exothermic redox chemical reaction between fuel (reactant) and an oxidant
(usually oxygen) that produces oxidized gaseous products in a mixture termed as smoke [
37
,
38
].
Note that, combustion doesn’t always result in a fire, but when it does, the flame is the characteristic
indicator of the reaction.
3.6. Model Fuzzy Inference System
The fuzzy inference system (FIS) is the key unit in the fuzzy logic system, having decision making
as the primary goal. It comprises of the IF
. . .
THEN rules along with specified connectors i.e., “OR” and
“AND”. Mathematically, the AND, OR operators are defined using the equations represented by
Equations (1) and (2) respectively;
µ(AηB) =min [µA(x), µB(x)] (1)
µ(AυB) =max [µA(x), µB(x)] (2)
where µA; denotes the membership function in Class A, µB; the membership function in Class B.
In this paper, we utilized the “AND” logic operator in order to determine the minimum probability
of a fire outbreak occurrence [
39
]. There are two types of FIS, namely, the Mamdani type and the TSK
(Takagi, Sugeno, Tangi). In the Mamdani FIS, the resulting consequent memberships are quite fuzzy
in nature. It is widely accepted because it provides reasonably good results with simple structure.
The TSK FIS is not fuzzy (either linear or constant), the consequent membership function has many
parameters per rule translating into more degrees of freedom. This provides more flexibility in design of
membership functions although it lacks interpretability compared to the Mamdani FIS [
40
,
41
]. So, in the
design of the proposed fuzzy prediction model, the FIS module shall be applied in determining the
appropriate decision making of a prevailing fire status. Using the Mamdani method, we were able to
generated corresponding linguistic fuzzy control rules as applied to the proposed model.
From Equations (4) and (5), we compute the strength of the fuzzy evaluation inference rule by
joining the fuzzified inputs of say, temperature, humidity, smoke and gas. Using the clipping method,
the membership functions then evaluates the weighted strength of the rule. Hence, the outcome
represents the fuzzy distribution rule in the application domain [
42
,
43
]. The Mamdani’s Max-Min fuzzy
inference system (FIS) engine is utilized in evaluating the output of the proposed model, because of its
ability to provide accurate and precise approximation results as 6mentioned in [
26
,
44
,
45
]. Therefore,
the Mamdani FIS method, utilizes the rule sets defined in Tables 1and 2, as input membership values
with a corresponding weigh factor to determine the approximate fuzzy output.
Symmetry 2020,12, 1391 10 of 29
3.7. Model Defuzzification and Evaluation
Defuzzification is the inverse transformation process that maps the fuzzy outputs from the fuzzy
domain back into the crisp output domain [
46
]. In this approach, we utilize the centroid defuzzification
technique or the center of gravity (CoG). The center of gravity is a widely accepted technique because
the output defuzzification values tend to move smoothly in the fuzzy region, giving a more accurate and
precise representation of the fuzzy set region of any shape. Mathematically, the CoG is fundamentally
defined as follows;
Crisp Output : µ(υ)={ΣµA(υ)·υ
SHµA(υ)}(3)
This evaluates to a single crisp value µA(υ), and υis the center of the membership function.
3.8. Architectural Design of Fire Detection Model
The Figure 3, shows a typical block diagram of a fuzzy based architectural model with its
corresponding interacted components. The sensor components include DHT22 for recording the
temperature and humidity changes, UR/IR which detects the presence of flame, and MQ5 which
detects the presence of a gas. They are used to detect the surrounding environmental changes due to a
fire outbreak.
Figure 3. Block diagram of the proposed fuzzy-based control system.
Sensor information is collected and transmitted to the intermediate component called the micro
controller unit (MCU) for intermediate processing of the collected data.
The experimental collected data is further transmitted and stored in the Cloud API. The stored
data can then be segmented into appropriate fuzzy membership values as illustrated in the Figure 3,
above. Using appropriate fuzzy-based detection algorithms, the stored data is acted upon and analyzed
to determine an output by making an informed decision of the prevailing fire status, i.e., as a percentage
of the estimated fire intensity prediction (EFIP). The fuzzy algorithm may be implemented using the
Arduino integrated development platform (IDE). The Arduino IDE is an open-source cross-platform
application for hardware and software solutions in embedded computing systems code modules [
47
].
In order to simulate the model, we utilize MATLAB version 2018 a, in the simulation and modeling of the
dynamic behavior of the proposed fuzzy based approximation model. MATLAB is a high-performance
language tool for modeling technical computing solutions with an integrated environment to support
computational, visualization and programming in a user-friendly manner. Using the MATLAB Fuzzy
Symmetry 2020,12, 1391 11 of 29
Logic toolbox, the proposed fuzzy control model behavioral dynamics are then designed, simulated,
modeled and analyzed, with dierent performance parameters as discussed herein.
Simulation Input and Output Fuzzy Parameters Considered
In the Tables 3and 4, we show the various simulation input/output parameters considered in our
simulation experiment, together with their corresponding fuzzy domain ranges defined in a MATLAB
Fuzzy Logic toolbox environment.
Table 3.
The crisp and fuzzy-based input parameters, domain ranges, and universe of discourse
membership function.
Crisp Input Variable. Fuzzy Input Parameters. Fuzzy Domain Range. Universe of Discourse for MFs
Temperature(T) Very Low, Low, Medium,
High, Very High. [0–100] 0–20, 20–40, 40–60, 60–80 and
80–100 respectively.
Humidity (H) Dry, Optimal, Moist. [0–100]- (%) 0–40, 40–80, 80–100
Smoke (CO) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Carbon dioxide (CO2) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Oxygen Level (O2) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Flame Presence Boolean: False, True. [False, True] 0, 1
Table 4.
The Crisp, Fuzzy Based Output Parameters, Domain, Universe of DiscourseMembership Function.
Crisp Output Variable. Fuzzy Output Parameters Fuzzy Domain Range. Universe of Discourse for MFs
Estimated Fire Intensity
Prediction(EFIP)%
Very Low, Low Moderate,
High, Very High. [0–100]- (%) 0–20, 20–40, 40–60, 60–80 and
80–100 respectively.
4. Simulation Experimental Setup
4.1. The Fuzzy Control System (FCS) Design
In this section, we illustrate the design of the fuzzy-based fire detection model designed using
the fuzzy toolbox and the Mamdani FIS, integrated within MATLAB environment, as observed in
Figures 4and 5. Figure 4represents the initial environment changes in temperature and humidity due
to a fire flame vis-
à
-vis the estimated fire intensity prediction (EFIP), whereas Figure 5represents the
various gases involved during combustion and their eect of the EFIP observed.
Symmetry 2020, 12, x FOR PEER REVIEW 11 of 29
Table 3. The crisp and fuzzy-based input parameters, domain ranges, and universe of discourse
membership function.
Crisp Input
Variable. Fuzzy Input Parameters.
Fuzzy
Domain
Range.
Universe of Discourse for
MFs
Temperature(ΔT) Very Low, Low, Medium,
High, Very High. [0–100] 0–20, 20–40, 40–60, 60–80 and
80–100 respectively.
Humidity (ΔH) Dry, Optimal, Moist. [0–100]- (%) 0–40, 40–80, 80–100
Smoke (CO) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Carbon dioxide
(CO2) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Oxygen Level (O2) Low, Medium, High. [0–100] 0–40, 40–80, 80–100
Flame Presence Boolean: False, True. [False, True] 0, 1
Table 4. The Crisp, Fuzzy Based Output Parameters, Domain, Universe of Discourse Membership
Function.
Crisp Output Variable. Fuzzy Output
Parameters
Fuzzy
Domain
Range.
Universe of Discourse
for MFs
Estimated Fire Intensity
Prediction(EFIP)%
Very Low, Low
Moderate, High, Very
High.
[0–100]- (%) 0–20, 20–40, 40–60, 60–80
and 80–100 respectively.
4. Simulation Experimental Setup
4.1 The Fuzzy Control System (FCS) Design
In this section, we illustrate the design of the fuzzy-based fire detection model designed using
the fuzzy toolbox and the Mamdani FIS, integrated within MATLAB environment, as observed in
Figures 4 and 5. Figure 4 represents the initial environment changes in temperature and humidity
due to a fire flame vis-à-vis the estimated fire intensity prediction (EFIP), whereas Figure 5 represents
the various gases involved during combustion and their effect of the EFIP observed.
Figure 4. Design of the fuzzy control system (FCS) model for temperature, humidity and flame vs
EFIP (%).
Figure 4.
Design of the fuzzy control system (FCS) model for temperature, humidity and flame vs
EFIP (%).
Symmetry 2020,12, 1391 12 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 12 of 29
Figure 5. Design of the FCS model for gas combustion, i.e., CO, CO2, O2 and flame, vs EFIP (%).
4.2. Input/Output Fuzzy Membership Functions Designs
With reference to the Figure 6a–e, we illustrate the sample input/output designs for the proposed
fuzzy inference systems (FIS) variables and their corresponding membership function plots. For
instance, Figure 6a or Figure 6e illustrates the FIS input variables for carbon monoxide (CO), {low,
medium, high}, and humidity, {dry, optimal, moist}, as their respective membership function plots.
Likewise, the estimated fire intensity prediction (EFIP) is an FIS output variable that is represented
by: {very low, low, moderate, high, very high}.
(a) CO input variable
(b) EFIP (%) output variable
Figure 5. Design of the FCS model for gas combustion, i.e., CO, CO2, O2and flame, vs EFIP (%).
4.2. Input/Output Fuzzy Membership Functions Designs
With reference to the Figure 6a–e, we illustrate the sample input/output designs for the
proposed fuzzy inference systems (FIS) variables and their corresponding membership function
plots. For instance, Figure 6a or Figure 6e illustrates the FIS input variables for carbon monoxide (CO),
{low, medium, high}, and humidity, {dry, optimal, moist}, as their respective membership function plots.
Likewise, the estimated fire intensity prediction (EFIP) is an FIS output variable that is represented by:
{very low, low, moderate, high, very high}.
Symmetry 2020, 12, x FOR PEER REVIEW 12 of 29
Figure 5. Design of the FCS model for gas combustion, i.e., CO, CO2, O2 and flame, vs EFIP (%).
4.2. Input/Output Fuzzy Membership Functions Designs
With reference to the Figure 6a–e, we illustrate the sample input/output designs for the proposed
fuzzy inference systems (FIS) variables and their corresponding membership function plots. For
instance, Figure 6a or Figure 6e illustrates the FIS input variables for carbon monoxide (CO), {low,
medium, high}, and humidity, {dry, optimal, moist}, as their respective membership function plots.
Likewise, the estimated fire intensity prediction (EFIP) is an FIS output variable that is represented
by: {very low, low, moderate, high, very high}.
(a) CO input variable
(b) EFIP (%) output variable
Figure 6. Cont.
Symmetry 2020,12, 1391 13 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 13 of 29
(c) Flame presence
(d) Temperature
(e) Humidity
Figure 6. Membership function design plots for the different FIS input/output variables.
4.3. MATLAB Evaluation Rules Editor Proposed Fuzzy Based Model
In this section, we show the proposed fuzzy inference rules, as detailed in Figure 7a,b, that were
used in the output evaluation of the proposed fuzzy approximation model. In order to design the
inference rules, we applied the “AND “connector. The “AND” connection is significant in
determining the minimum probability of the estimated fire intensity prediction (EFIP) status, given
a set of fuzzy input parameters discussed above.
In this research approach, we assumed that all the fuzzy inference rules considered in the model
evaluation have an equal weighted priority function (W = I). This implies that the proposed
evaluation rules are having equal priority during model evaluation. It is also important to note that
we considered the flame presence to be “true” for all evaluation rules. The significant of this is to
minimize the potential possibility of false alarm rate.
Figure 6. Membership function design plots for the dierent FIS input/output variables.
4.3. MATLAB Evaluation Rules Editor Proposed Fuzzy Based Model
In this section, we show the proposed fuzzy inference rules, as detailed in Figure 7a,b, that were
used in the output evaluation of the proposed fuzzy approximation model. In order to design the
inference rules, we applied the “AND “connector. The “AND” connection is significant in determining
the minimum probability of the estimated fire intensity prediction (EFIP) status, given a set of fuzzy
input parameters discussed above.
Symmetry 2020,12, 1391 14 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 14 of 29
(a) Initial environmental parameters temperature, humidity and
f
lame presence vs EFIP.
(b) Gas combustion, i.e., CO, CO2, O2, and flame presence vs EFIP.
Figure 7. MATLAB evaluation inference rules editor view design for various parameters.
4.4. MATLAB Evaluation Rules Viewer
In Figure 8a, we illustrate the rule view evaluation insights of the resultant effect on the EFIP
due to gas combustion and then temperature and humidity. For instance, for Figure 8a, we
demonstrate a resultant fire gas combustion and then its corresponding effect on the fire intensity,
i.e., if CO = 57.7 ppmv, CO2 = 69.8 ppmv, O2 = 62.1 ppmv, flame presence = 0.5, then estimated fire
intensity prediction (EFIP) = 60.9% for the above conditions. Likewise, in Figure 8b, we show that the
resultant rule viewer for a given experimentation yielded the following results: temperature = 70.6 °C,
humidity = 26.6%, flame = 0.5 vs EFIP = 67.5%, as below:
Figure 7. MATLAB evaluation inference rules editor view design for various parameters.
In this research approach, we assumed that all the fuzzy inference rules considered in the model
evaluation have an equal weighted priority function (W =I). This implies that the proposed evaluation
rules are having equal priority during model evaluation. It is also important to note that we considered
the flame presence to be “true” for all evaluation rules. The significant of this is to minimize the
potential possibility of false alarm rate.
Symmetry 2020,12, 1391 15 of 29
4.4. MATLAB Evaluation Rules Viewer
In Figure 8a, we illustrate the rule view evaluation insights of the resultant eect on the
EFIP due to gas combustion and then temperature and humidity. For instance, for Figure 8a,
we demonstrate a resultant fire gas combustion and then its corresponding eect on the fire intensity,
i.e.,
if CO =57.7 ppmv,
CO
2
=69.8 ppmv, O
2
=62.1 ppmv, flame presence =0.5, then estimated fire
intensity prediction (EFIP) =60.9% for the above conditions. Likewise, in Figure 8b, we show that the
resultant rule viewer for a given experimentation yielded the following results: temperature =70.6
C,
humidity =26.6%, flame =0.5 vs EFIP =67.5%, as below:
Symmetry 2020, 12, x FOR PEER REVIEW 15 of 29
(a) CO, CO2, O2, flame vs EFIP.
(b) Temperature, humidity, flame vs EFIP
Figure 8. Determination of the probability of (EFIP) using MATLAB rule view.
4.5. Proposed IoT-based Fuzzy Approximation Prediction Model
The proposed IoT fuzzy-based approximation prediction model consists of five major
components, namely, i) fuzzy input values, ii) fuzzy inference engine (FIS), iii) fuzzy output values,
iv) decision evaluation criteria and v) safety operations analyzer.
i) Fuzzy Input Values:
This component comprises crisp input parameters. It consists of sensors that take the different data
readings. Each crisp input parameter is then represented in several fuzzy input parameters as shown
in the diagram in Figure 9. Environmental sensor readings (data) are taken from the sensors, namely,
rate of change in temperature (ΔT) = {very low, low, medium, high, very high}, humidity (ΔH) = {dry,
optimal, moist}, carbon monoxide (ΔCO) ={low, medium, high}, carbon dioxide (ΔCO2) = {low,
medium, high}, oxygen (ΔO2) = {low, medium, high} and flame presence = {false, true}. The data
Figure 8. Determination of the probability of (EFIP) using MATLAB rule view.
Symmetry 2020,12, 1391 16 of 29
4.5. Proposed IoT-Based Fuzzy Approximation Prediction Model
The proposed IoT fuzzy-based approximation prediction model consists of five major components,
namely, (i) fuzzy input values, (ii) fuzzy inference engine (FIS), (iii) fuzzy output values, (iv) decision
evaluation criteria and (v) safety operations analyzer.
(i) Fuzzy Input Values:
This component comprises crisp input parameters. It consists of sensors that take the dierent
data readings. Each crisp input parameter is then represented in several fuzzy input parameters
as shown in the diagram in Figure 9. Environmental sensor readings (data) are taken from the
sensors, namely, rate of change in temperature (
T) ={very low, low, medium, high, very high},
humidity
(H) ={dry, optimal, moist},
carbon monoxide (
CO) ={low, medium, high}, carbon dioxide
(CO2)={low, medium, high}
, oxygen (
O
2
)={low, medium, high} and flame presence ={false, true}.
The data readings from the dierent sensors are fuzzified into the dierent input fuzzy values as
defined in Figure 9.
Symmetry 2020, 12, x FOR PEER REVIEW 16 of 29
readings from the different sensors are fuzzified into the different input fuzzy values as defined in
Figure 9.
ii) The Fuzzy Inference Engine (FIS):
After the process of fuzzification. The fuzzy values are processed with the help of a micro
controller unit (MCU). This component consists of a rules inference engine. That comprises all
inference evaluation rules to be applied to the proposed fuzzy based model. The database engine acts
as a fuzzy associative matrix (FAM) store for all inference rules to be utilized by the proposed model
thereby forming a knowledge base. Using the “AND” operator and the IF…THEN structure, we then
define the minimum probability of a fire outbreak using the defined fuzzy domain. The weighted
function (W = 1), means all evaluation inference rules are equal and therefore, have equal priority in
the evaluation of the fuzzy inference system.
iii) The Fuzzy Output Values:
The fuzzy output value criteria denote the implication of the proposed fuzzy model design.
Through the message queue telemetry transport (MQTT) protocol, data is sent to the cloud application
programming interface (API) environment. The sensor data are then acted upon by an intelligent
fuzzy based algorithm to obtain an output referred to as the estimated fire intensity prediction (EFIP).
EFIP represents the probability of a fire occurrence determined by the input fuzzy parameters shown
in Figure 9, above. Consequently, an appropriate decision is made and evaluated against the fire
status.
iv) The Decision Evaluation Criteria:
The fire intensity (EFIP) then determines the appropriate decision-making based on the
percentage (%) of fire status using predefined classification criterion ranges, namely, very low (VL):
[0–20], low (L): [20–40], moderate (M): [40–60], high (H): [60–80], and very high (VH):[80–100]. The
proposed fuzzy based algorithm shall be able to act on the data stored in a cloud API such as
Thingspeak or Firebase to make an appropriate decision based on the laid-out criteria defined in the
model above.
v) Safety and Operations Analyzer:
This component of the model is activated in case of any predetermined early warning detected
a signal shall be initiated or a message sent to the authorities for an appropriate and immediate action.
The safety and operation analyzer is therefore, responsible for signaling an alarm, initiating a water
sprinkler, or sending a warning message for possible evacuation of persons.
Figure 9. Proposed IoT-based fuzzy approximation prediction model.
Figure 9. Proposed IoT-based fuzzy approximation prediction model.
(ii) The Fuzzy Inference Engine (FIS):
After the process of fuzzification. The fuzzy values are processed with the help of a micro controller
unit (MCU). This component consists of a rules inference engine. That comprises all inference evaluation
rules to be applied to the proposed fuzzy based model. The database engine acts as a fuzzy associative
matrix (FAM) store for all inference rules to be utilized by the proposed model thereby forming a
knowledge base. Using the “AND” operator and the IF
. . .
THEN structure, we then define the minimum
probability of a fire outbreak using the defined fuzzy domain. The weighted function (
W=1
), means all
evaluation inference rules are equal and therefore, have equal priority in the evaluation of the fuzzy
inference system.
(iii) The Fuzzy Output Values:
The fuzzy output value criteria denote the implication of the proposed fuzzy model design.
Through the message queue telemetry transport (MQTT) protocol, data is sent to the cloud application
programming interface (API) environment. The sensor data are then acted upon by an intelligent
fuzzy based algorithm to obtain an output referred to as the estimated fire intensity prediction (EFIP).
Symmetry 2020,12, 1391 17 of 29
EFIP represents the probability of a fire occurrence determined by the input fuzzy parameters shown in
Figure 9, above. Consequently, an appropriate decision is made and evaluated against the fire status.
(iv) The Decision Evaluation Criteria:
The fire intensity (EFIP) then determines the appropriate decision-making based on the percentage
(%) of fire status using predefined classification criterion ranges, namely, very low (VL): [0–20],
low (L): [20–40],
moderate (M): [40–60], high (H): [60–80], and very high (VH):[80–100]. The proposed
fuzzy based algorithm shall be able to act on the data stored in a cloud API such as Thingspeak or
Firebase to make an appropriate decision based on the laid-out criteria defined in the model above.
(v) Safety and Operations Analyzer:
This component of the model is activated in case of any predetermined early warning detected a
signal shall be initiated or a message sent to the authorities for an appropriate and immediate action.
The safety and operation analyzer is therefore, responsible for signaling an alarm, initiating a water
sprinkler, or sending a warning message for possible evacuation of persons.
5. Results and Discussions
After successful simulation and modeling of the proposed fuzzy control approximation model,
the following insights of results were obtained as discussed herein. Results graphically the comparative
performance due to a fire outbreak on the surrounding environmental conditions vis-
à
-vis the estimated
fire intensity prediction (EFIP) in order to obtain an informed decision of a prevailing fire status.
5.1. Initial Environmental Parameters, i.e., Temperature, Humidity and Flame vs EFIP
In Figure 10a–e, we show the performance comparison due to a fire outbreak as per the proposed
environmental parameters, namely, rate of change of temperature and rate of change of humidity
vis-
à
-vis the output parameter, estimated fire intensity prediction (EFIP). The EFIP is determined
as a percentage probability of true fire incidences with respect to the input variables. Figure 10b,d
represent a 2D view of Figure 10a. We observe that, during the initial stages of a fire outbreak, there are
lower temperatures experienced amidst high humidity conditions, translating into lower fire intensity
(EFIP). Then, the temperatures significantly increase with increased EFIP. We also observe that lower
temperatures are due to a high moisture content contained in the atmosphere; this subsequently
translates into a lower fire intensity or (EFIP). Furthermore, we noted that a steady increase in
temperature decreases the humidity conditions till the dryness conditions. This significantly lowers
the estimated fire intensity prediction (EFIP), as illustrated in the Figure 10d.
Symmetry 2020,12, 1391 18 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 18 of 29
(a) Temperature, Humidity Vs EFIP (%)
(b) Temperature vs EFIP (%)
(c) Humidity vs temperature
(d) Humidity vs EFIP (%)
Figure 10. Cont.
Symmetry 2020,12, 1391 19 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 19 of 29
(e) Temperature, flame presence vs EFIP (%)
Figure 10. Performance comparison of 3D, 2D surface plot view of various parameter pairs.
5.2. Gas Combustion i.e., CO, CO2, O2 and Flame Vs EFIP
In the Figure 10a–f below, we discuss several comparative insights due to gas combustion, i.e.,
ΔCO, ΔCO2 and ΔO2, in relationship with fire intensity (EFIP) due to a fire outbreak. Several scenarios
are considered for the model, the performance behavior of the gases dissipated in the proposed fuzzy
control system; results are discussed herein.
In the Figure 11a, we observe an initially lower gas concentration levels for CO and CO2, which
further rises with subsequent increase in the fire intensity (EFIP). In the Figure 11b, at CO2 = 17 ppmv,
EFIP = 50%, we observe a gradual increase in CO2 levels due to increased fire intensity (EFIP), until
75%, when the fire intensity then becomes constant till when CO2 = 67 ppmv. However, beyond 67
ppmv, we suddenly observe a drop in the fire intensity (EFIP) noticed due to decreased levels of O2
necessary for supporting fire combustion. Hence, this subsequently translates into a decrease in the
fire intensity (EFIP).
In Figure 11c, we observe that an increase in smoke intensity or carbon monoxide (CO)
dissipated lowers the volume of O2 levels in the surrounding and hence, subsequent increases in fire
intensity or (EFIP). In the Figure 11f, we observe that an increased consumption of O2, lowers the fire
intensity, meaning that more O2 is being consumed. This initially increases the fire intensity.
However, O2 levels gradually reduce with time. This eventually translates into lower fire intensity
(EFIP).
In addition, note that, as more O2 levels are reduced by the burning flame, this subsequently
increases the level of CO2 dissipated into the atmosphere. Hence, there is a drop in the fire intensity
(EFIP) because CO2 does not support the combustion as noted in Figure 11b. Also, decreased levels
of oxygen translate into an increased support for fire combustion. This further leads to a high
dissipation of both carbon dioxide (CO2) or CO hence, higher fire intensity prediction (EFIP) is
realized, as observed in the Figure 11a. Note that, in the Figure 11e, we observe that increased flame
intensity subsequently increases the fire intensity as more O2 is consumed by the burning flame. Also,
in the Figure 11f, we observe that, at lower levels of oxygen (O2), there is significantly higher EFIP
and vice versa: higher O2 concentrations yield lower EFIP, as per the designed rule based fuzzy
model.
Figure 10. Performance comparison of 3D, 2D surface plot view of various parameter pairs.
In Figure 10c, we observe that a lower risk level is experienced in the “
blue
” region. Thus, when the
temperatures increase the risk factors are migrated to the moderate level and subsequently to high
risk level (“
yellow
” region), as per the Figure 10c. We also note that the averagely low temperatures
that are experienced with an increase in moisture content during a fire outbreak subsequently lower
the probability of the fire intensity and vice versa. In Figure 10b, it is noted that, during the initial
stages of a fire outbreak event, for, say, EFIP <
20%
and temperature =20
C, a high moisture content
is experienced and this lowers EFIP because high humidity conditions are still experienced at that
point. However, when the temperatures significantly rise beyond 20
C, we observe an increase in the
EFIP, which further increases with a rise in temperature as per Figure 10b. Overall, it is observed that,
high temperatures translate into significantly lower humidity and, therefore, lead to an increased fire
intensity (EFIP). Lower temperatures, on the other hand, result in a high humidity, hence decreasing
the fire intensity (EFIP), as per the rules.
In Figure 10b, at EFIP =
88%
, and Temperature =72
C, we observe that the EFIP remains constant
(in steady state) with an increased temperature change for a given period of time due to oxygen
being depleted. It should be noted that the eect of increased temperatures translates into lower
dry humidity conditions for a given environmental setting. From Figure 10d above, we observe that
a lower humidity condition experienced due to high temperatures ultimately translates into high
fire intensity (EFIP). However, beyond the value of humidity of approx.
68%
, we realize a gradual
decrease in the fire intensity. This is because, increased humidity conditions within the atmosphere
subsequently lowers the temperatures and then fire intensity (EFIP), hence aecting the fire status.
In Figure 10e, it is noted that lower temperature conditions significantly translate into lower flame and
subsequently yielding a lower fire intensity. Likewise, higher temperatures may significantly result
into higher fire intensity (EFIP), as observed in the Figure 10e.
5.2. Gas Combustion i.e., CO, CO2, O2and Flame vs EFIP
In the Figure 10a–e below, we discuss several comparative insights due to gas combustion,
i.e.,
CO,
CO
2
and
O
2
, in relationship with fire intensity (EFIP) due to a fire outbreak. Several
scenarios are considered for the model, the performance behavior of the gases dissipated in the
proposed fuzzy control system; results are discussed herein.
In the Figure 11a, we observe an initially lower gas concentration levels for CO and CO
2
,
which further rises with subsequent increase in the fire intensity (EFIP). In the Figure 11b,
at
CO2=17 ppmv
, EFIP =
50%
, we observe a gradual increase in CO
2
levels due to increased
fire intensity (EFIP), until
75%
, when the fire intensity then becomes constant till when CO
2
=67 ppmv.
However, beyond 67 ppmv, we suddenly observe a drop in the fire intensity (EFIP) noticed due to
Symmetry 2020,12, 1391 20 of 29
decreased levels of O
2
necessary for supporting fire combustion. Hence, this subsequently translates
into a decrease in the fire intensity (EFIP).
Symmetry 2020, 12, x FOR PEER REVIEW 20 of 29
(a) CO2, CO vs EFIP (%)
(b) CO2 vs EFIP (%)
(c) CO, O2 vs EFIP (%)
(d) CO vs EFIP (%)
Figure 11. Cont.
Symmetry 2020,12, 1391 21 of 29
Symmetry 2020, 12, x FOR PEER REVIEW 21 of 29
(e) O2
,
Flame Presence vs EFIP (%)
(f) O2 vs EFIP (%)
Figure 11. Performance comparison of 3D and 2D surface plots view of various parameter pairs.
5.3. Simulation Experiment Data Results
In Table 5, we study and observe the performance comparison of rate of change of temperature
(ΔT) and the rate of change of humidity (ΔH) vis-à-vis the estimated fire intensity prediction (EFIP)
for 12 experimental evaluation rule values. Figure 12 illustrates a resultant graphical illustration of
the data output generated from Table 5 above. It is observed that, at lower temperatures, there exists
high humidity conditions, which subsequently translate into lower estimated fire intensity prediction
(EFIP), as noted by the dotted line in the Figure 12. However, an increase in temperature conditions
tends to significantly lower the humidity conditions towards dryness.
Table 5. Expt. data of temperature and humidity vs EFIP.
Rule No. ΔT(0 C) ΔH (%) EFIP (%)
1. 9.0 17.5 17.6
2. 15.1 27.1 18.3
3. 38.0 58.4 43.6
4. 50.0 50.0 52.1
5. 28.3 38.0 22.9
6. 40.4 44.0 46.2
7. 46.4 48.8 52.1
8. 52.4 65.7 51.9
9. 62.9 71.7 54.5
10. 66.9 80.1 37.9
11. 68.1 52.4 71.2
12. 68.1 22.3 69.7
Figure 11. Performance comparison of 3D and 2D surface plots view of various parameter pairs.
In Figure 11c, we observe that an increase in smoke intensity or carbon monoxide (CO) dissipated
lowers the volume of O
2
levels in the surrounding and hence, subsequent increases in fire intensity or
(EFIP). In the Figure 11f, we observe that an increased consumption of O
2,
lowers the fire intensity,
meaning that more O
2
is being consumed. This initially increases the fire intensity. However, O
2
levels
gradually reduce with time. This eventually translates into lower fire intensity (EFIP).
In addition, note that, as more O
2
levels are reduced by the burning flame, this subsequently
increases the level of CO
2
dissipated into the atmosphere. Hence, there is a drop in the fire intensity
(EFIP) because CO
2
does not support the combustion as noted in Figure 11b. Also, decreased levels of
oxygen translate into an increased support for fire combustion. This further leads to a high dissipation
of both carbon dioxide (CO
2
) or CO hence, higher fire intensity prediction (EFIP) is realized, as observed
in the Figure 11a. Note that, in the Figure 11e, we observe that increased flame intensity subsequently
increases the fire intensity as more O
2
is consumed by the burning flame. Also, in the Figure 11f,
we observe that, at lower levels of oxygen (O
2
), there is significantly higher EFIP and vice versa: higher
O2concentrations yield lower EFIP, as per the designed rule based fuzzy model.
5.3. Simulation Experiment Data Results
In Table 5, we study and observe the performance comparison of rate of change of temperature
(
T) and the rate of change of humidity (
H) vis-
à
-vis the estimated fire intensity prediction (EFIP)
for 12 experimental evaluation rule values. Figure 12 illustrates a resultant graphical illustration of
the data output generated from Table 5above. It is observed that, at lower temperatures, there exists
high humidity conditions, which subsequently translate into lower estimated fire intensity prediction
Symmetry 2020,12, 1391 22 of 29
(EFIP), as noted by the dotted line in the Figure 12. However, an increase in temperature conditions
tends to significantly lower the humidity conditions towards dryness.
Table 5. Expt. data of temperature and humidity vs EFIP.
Rule No. T(C) H (%) EFIP (%)
1. 9.0 17.5 17.6
2. 15.1 27.1 18.3
3. 38.0 58.4 43.6
4. 50.0 50.0 52.1
5. 28.3 38.0 22.9
6. 40.4 44.0 46.2
7. 46.4 48.8 52.1
8. 52.4 65.7 51.9
9. 62.9 71.7 54.5
10. 66.9 80.1 37.9
11. 68.1 52.4 71.2
12. 68.1 22.3 69.7
Symmetry 2020, 12, x FOR PEER REVIEW 22 of 29
Figure 12. Performance comparison of temperature and Humidity vs EFIP for 12 sampled data points.
In addition, excessively high temperatures tend to vaporize the humidity conditions, and this
subsequently increases the fire intensity (EFIP). This phenomenon can be observed at sampled points
11–12, of the graphical illustration in Figure 12. Therefore, the latter figure suitably illustrates the
EFIP from very low at point 1, to very high EFIP when temperatures are very high, and the humidity
conditions decreases to dryness, as observed at point 12. Moderate EFIP is observed at sample points
6–7, where the temperatures and humidity conditions are approximately in equilibrium with the
prevailing conditions.
In the Table 6, we study and observe the performance comparison of the gases dissipated i.e.,
rate of change of carbon monoxide (CO), rate of change of carbon dioxide (CO2), due to a fire outbreak
combustion in support of the rate of change in oxygen (ΔO2) levels. In Figure 13, it is observed that
lower levels of CO2 or CO concentration in the atmosphere translates into lower estimated fire
intensity prediction (EFIP). Lower levels of CO2 in the atmosphere also significantly translates into
lower temperatures or high humidity conditions experienced during a fire outbreak. However, at
sample data point 2–5, we observe that there is a relative increase in both CO2 and CO concentration
levels due to increased temperatures. This significantly translated into higher EFIP expected, coupled
with a lower humidity condition.
Table 6. Expt. data of CO, CO2 and O2 vs EFIP.
Rule No. ΔCO ΔCO2 ΔO2 EFIP (%)
1. 23.6 21.4 23.6 47.8
2. 32.4 29.1 28.0 63.2
3. 36.8 30.2 31.1 69.1
4. 44.5 32.4 39.0 71.3
5. 50.0 37.9 44.5 75.0
6. 19.2 48.9 51.1 56.5
7. 13.7 8.2 13.7 25.0
8. 64.3 50.0 17.0 86.5
9. 70.9 24.7 32.4 62.8
10. 32.4 46.7 65.4 70.3
11. 48.9 75.3 86.3 25.0
12. 57.7 69.8 62.1 60.9
Figure 12.
Performance comparison of temperature and Humidity vs EFIP for 12 sampled data points.
In addition, excessively high temperatures tend to vaporize the humidity conditions,
and this subsequently increases the fire intensity (EFIP). This phenomenon can be observed at
sampled points 11–12, of the graphical illustration in Figure 12. Therefore, the latter figure suitably
illustrates the EFIP from very low at point 1, to very high EFIP when temperatures are very high, and the
humidity conditions decreases to dryness, as observed at point 12. Moderate EFIP is observed at
sample points 6–7, where the temperatures and humidity conditions are approximately in equilibrium
with the prevailing conditions.
In the Table 6, we study and observe the performance comparison of the gases dissipated i.e., rate of
change of carbon monoxide (CO), rate of change of carbon dioxide (CO
2
), due to a fire outbreak
combustion in support of the rate of change in oxygen (
O
2
) levels. In Figure 13, it is observed that
lower levels of CO
2
or CO concentration in the atmosphere translates into lower estimated fire intensity
prediction (EFIP). Lower levels of CO
2
in the atmosphere also significantly translates into lower
temperatures or high humidity conditions experienced during a fire outbreak. However, at sample
data point 2–5, we observe that there is a relative increase in both CO
2
and CO concentration levels
due to increased temperatures. This significantly translated into higher EFIP expected, coupled with a
lower humidity condition.
Symmetry 2020,12, 1391 23 of 29
Table 6. Expt. data of CO, CO2and O2vs EFIP.
Rule No. CO CO2O2EFIP (%)
1. 23.6 21.4 23.6 47.8
2. 32.4 29.1 28.0 63.2
3. 36.8 30.2 31.1 69.1
4. 44.5 32.4 39.0 71.3
5. 50.0 37.9 44.5 75.0
6. 19.2 48.9 51.1 56.5
7. 13.7 8.2 13.7 25.0
8. 64.3 50.0 17.0 86.5
9. 70.9 24.7 32.4 62.8
10. 32.4 46.7 65.4 70.3
11. 48.9 75.3 86.3 25.0
12. 57.7 69.8 62.1 60.9
Symmetry 2020, 12, x FOR PEER REVIEW 23 of 29
Figure 13. Performance comparison of CO, CO2 and O2 vs EFIP for 12 data sample points.
At sample data point 7 in the dataset, we observe a sudden drop in CO2, CO levels. This is due
to reduced relative temperature and high humidity conditions. Hence, this ultimately translates into
a decrease in the fire intensity or (EFIP). Also, at point 8, we observe an increase in the levels of CO2
resulting into a drop in O2 levels and a higher fire intensity of approx. EFIP = 87 ppmv. It should be
noted that increased levels of CO and CO2 significantly reduce the O2 levels, which are used in
supporting fire combustion. At point 11, we observe a lower EFIP = 22%, higher O2 = 87 ppmv and
subsequently lower CO and CO2 concentrations. This is because of high humidity translates into
lower temperature therefore affection the fire intensity or EFIP.
5.4. Gas Combustion Efficiency (GCE)
This is defined as the measure of how effectively the heat content generated of the burning fuel
is transferred into usable heat as a result of gas combustion [35]. Note that temperature, oxygen and
carbon dioxide are the primary indicators of combustion efficiency. For all presence of flame = {true}
inputs to the fuzzy model and combustion of gases dissipated in the atmosphere are measured in
parts per million per volume (ppmv). Hence, the gas combustion efficiency (GCE) is defined by the
formula:
GCE = Ʃ𝜟𝑪𝑶𝟐
Ʃ(𝜟𝑪𝑶𝜟𝑪𝑶𝟐) × 100% (4)
where GCE represents the gas combustion efficiency of the burning fire flame with respect to ΔCO2,
ΔCO and O2.
From the data experimental results in Table 6, we can determine the GCE of the gases dissipated
as per the simulated case study. Using the formula, defined in Equation (7), the rate of change of the
gases dissipated to the atmosphere i.e., ΔCO, ΔCO2, the GCE can be computed.
From extracted data we observe that, the summation of ΔCO, ΔCO2 can be determined: Ʃ(ΔCO)
= 494.4 ppmv, Ʃ(ΔCO2) = 474.6 ppmv. From the dataset in Table 6, the resultant GCE can be
approximately computed from the equation (7).
The gas combustion efficiency (GCE) = (.
.  .) x 100% = 48.96%, Hence, the efficiency of
the gases dissipated into the atmosphere due to the burning fuel is equivalent to 49%. Meaning that,
approximately ~50% of the gases, i.e., CO, CO2, are dissipated into the atmosphere through the carbon
element burning in the fuel. With reference to the simulation data in Table 6, we observe that an
increase or decrease in the amount of gas dissipated has a subsequent increase or decrease on the fire
intensity. This translates into an increased efficiency of the burning fuel. This can also be clearly
indicated by the dotted line curve in the graph of Figure 12, representing the estimated fire intensity
prediction (EFIP).
5.5. Model Performance Evaluation
Figure 13. Performance comparison of CO, CO2and O2vs EFIP for 12 data sample points.
At sample data point 7 in the dataset, we observe a sudden drop in CO
2
, CO levels. This is due to
reduced relative temperature and high humidity conditions. Hence, this ultimately translates into a
decrease in the fire intensity or (EFIP). Also, at point 8, we observe an increase in the levels of CO
2
resulting into a drop in O
2
levels and a higher fire intensity of approx. EFIP =87 ppmv. It should
be noted that increased levels of CO and CO
2
significantly reduce the O
2
levels, which are used in
supporting fire combustion. At point 11, we observe a lower EFIP =22%, higher O
2
=87 ppmv and
subsequently lower CO and CO
2
concentrations. This is because of high humidity translates into lower
temperature therefore aection the fire intensity or EFIP.
5.4. Gas Combustion Eciency (GCE)
This is defined as the measure of how eectively the heat content generated of the burning fuel is
transferred into usable heat as a result of gas combustion [
35
]. Note that temperature, oxygen and
carbon dioxide are the primary indicators of combustion eciency. For all presence of flame ={true}
inputs to the fuzzy model and combustion of gases dissipated in the atmosphere are measured in parts
per million per volume (ppmv). Hence, the gas combustion eciency (GCE) is defined by the formula:
GCE =PCO2
P(CO+CO2)×100% (4)
where GCE represents the gas combustion eciency of the burning fire flame with respect to
CO
2
,
CO and O2.
Symmetry 2020,12, 1391 24 of 29
From the data experimental results in Table 6, we can determine the GCE of the gases dissipated
as per the simulated case study. Using the formula, defined in Equation (4), the rate of change of the
gases dissipated to the atmosphere i.e., CO, CO2, the GCE can be computed.
From extracted data we observe that, the summation of
CO,
CO
2
can be determined:
Σ(CO)=494.4 ppmv, Σ
(
CO2
)=474.6 ppmv. From the dataset in Table 6, the resultant GCE
can be approximately computed from the Equation (4).
The gas combustion eciency (GCE) =
474.6
494.7+474.6 ×
100% =48.96%, Hence, the eciency of
the gases dissipated into the atmosphere due to the burning fuel is equivalent to 49%. Meaning that,
approximately ~50% of the gases, i.e., CO, CO
2,
are dissipated into the atmosphere through the carbon
element burning in the fuel. With reference to the simulation data in Table 6, we observe that an
increase or decrease in the amount of gas dissipated has a subsequent increase or decrease on the
fire intensity. This translates into an increased eciency of the burning fuel. This can also be clearly
indicated by the dotted line curve in the graph of Figure 12, representing the estimated fire intensity
prediction (EFIP).
5.5. Model Performance Evaluation
In this paper, we evaluate the performance of the model and subsequently determine the
percentage accuracy, using accuracy rate as one of the standard evaluation parameters. The model is
evaluated using the two-factor decision authentication, to determine the test and the actual model,
then a percentage accuracy is determined depending on the inference rules, as shown in Tables 7and 8
as detailed below.
Table 7.
Model results evaluation for the initial environmental parameters, namely, temperature (
T),
and humidity (H) for 12 sampled control experiments.
Expt. No. T(C) H (%) Flame
Presence EFIP (%) Test Model Actual Model
Determined
Accuracy
Rate (%)
1. 9.0 17.5 True 17.6 L VL 50%
2. 15.1 27.1 True 18.3 L VL 50%
3. 38.0 58.4 True 43.6 M M 100%
4. 50.0 50.0 True 52.1 M M 100%
5. 28.3 38.0 True 22.9 L L 100%
6. 40.4 44.0 True 46.2 M M 100%
7. 46.4 48.8 True 52.1 M M 100%
8. 52.4 65.7 True 51.9 M M 100%
9. 62.9 71.7 True 54.5 M M 100%
10. 66.9 80.1 True 37.9 L L 100%
11. 68.1 52.4 True 71.2 H H 100%
12. 68.1 22.3 True 69.7 H H 100%
Estimated fire intensity prediction (EFIP): 0–20; VL, 20–40; L, 40–60; M, 60–80; H, 80–100; VH. Flame presence =“true”.
Table 8.
Model results evaluation for gas combustion, namely, carbon monoxide (
CO), carbon dioxide
(CO2) and oxygen (O2) for 12 sampled control experiments.
Expt. No. CO(ppm) CO2(ppm) O2(ppm) Flame
Presence EFIP (%) Test
Model
Actual
Model
Determined
Accuracy
Rate (%)
1. 23.6 21.4 23.6 True 47.8 M M 100%
2. 32.4 29.1 28.0 True 63.2 H H 100%
3. 36.8 30.2 31.1 True 69.1 H H 100%
4. 44.5 32.4 39.0 True 71.3 H H 100%
5. 50.0 37.9 44.5 True 75.0 H H 100%
6. 19.2 48.9 51.1 True 56.5 M M 100%
7. 13.7 8.2 13.7 True 25.0 L L 100%
8. 64.3 50.0 17.0 True 86.5 VH VH 100%
9. 70.9 24.7 32.4 True 62.8 H H 100%
10. 32.4 46.7 65.4 True 70.3 H H 100%
11. 48.9 75.3 86.3 True 25.0 L L 100%
12. 57.7 69.8 62.1 True 60.9 H H 100%
Symmetry 2020,12, 1391 25 of 29
For instance, in Table 7, Experiment 1, we observe that the rate of temperature (
T) is 9.0
C, rate of
change in humidity (
H) is 17.5%, and the estimated fire intensity prediction (EFIP) is 17.6%, which is
L and the actual case is VL, which means an accuracy rate of 50% achieved. In Expt. 2,
T is 15.1
C,
H is 27.3% and the EFIP is 18.3%, meaning there is 18.3% probability of a fire occurrence.
The test case is L and, actual case is VL, gives an accuracy rate of 50%. In Expt. 3, we show that
T
is 38.0
C,
H is 58.4% and the EFIP is 43.6%. Hence, 43.6% there is a probability of a fire occurrence.
The test case is M and the actual case is M giving an accuracy rate of 100%. From Experiment
4–12, we observed that the accuracy rate is 100%, meaning the tested model is working according
to the defined fuzzy inference rules. Then, the above method is subsequently applied to the second
experiment shown in the Table 8. Then, the overall accuracy rate of the proposed model can be
calculated below as:
Test Model Accuracy Rate (%) = Xµ(ai)
n(5)
In Equation (5), we compute the accuracy rate of the proposed model, where
µ
(ai) represents the
accuracy percentage of each experiment and, n the total number of simulated experiments. According
to the experiments, we achieved an average overall accuracy rate of 95.83%. Hence, using the fuzzy
logic approach significantly improves fire detection with an overall accuracy of 95.83%.
The original novelty of the research works demonstrates that using Mamdani’s FIS method
exhibits a significant improvement in terms of rate accuracy for the proposed fuzzy control model.
This subsequently translates into an eective design for early fire detection and safety control for
the local urban markets. In this research approach, we achieved an average overall accuracy rate of
95.83%, as compared to the performance of previous related works as illustrated in Table 9of [
7
,
13
,
18
].
Hence, the proposed solution can eectively detect early fires, making it advantageous to single
smoke sensor based systems. This solution is cheaper and more aordable to the developing countries
compared to the satellite-based systems and a likely substitute for human patrol mechanisms that
are being used today in detecting fires in the local urban markets of East Africa (EA). In the above
experiment, we realize that application of a multisensory based fire detection system solutions,
significantly improves performance and subsequently minimizes the rate of false alarms induced.
Hence, the application of fuzzy logic method successfully improved the overall accuracy rate to 95.83%,
using the defined inference rules.
Table 9. Performance comparison with previous related works.
Features. Kaur et al.
(2019) [18]
Sawar et al.
(2018) [15]
Abedi et al.
(2019) [13]
Sowah et al.
(2020) [7]Proposed Solution
Multisensor
parameters
Four inputs:
temperature,
humidity, smoke
and flame
Yes. Four input
parameters:
temperature,
humidity, time
and flame.
Yes. Three input
parameters: smoke,
temperature and
humidity.
Yes. Four input
parameters, smoke,
temperature,
humidity and flame.
Yes. Six input
parameters:
temperature,
humidity, CO, CO
2
,
O2and flame.
Method or
technique
K-means
clustering,
adaptive ANFIS
Single simulated
expt. model
using fuzzy
logic method
Analytical network
processing (ANP),
fuzzy logic
Fuzzy logic method,
trained CNN, a deep
learning technique
Two separate
integrated
simulated expt.
models using fuzzy
logic method
Accuracy rate (%)
93.12% 95.8% 81.9% 94.0% 95.83%
False alarm
detection
Sends early
warning signals
Yes. Notification
warnings
Generates a forest
fire risk map
Yes. Web notification
platform
Yes. Determination
of fire intensity
status notifications
followed with
appropriate action.
Decision on two
authentications No Yes No No Yes
Symmetry 2020,12, 1391 26 of 29
6. Conclusion and Future Works
In this paper, we present an IoT-based fuzzy approximation prediction model using the Mamdani
inference system to aid eective fire safety management and control for vendor community in
the local urban markets. The major significance of the model is aimed at an early detection by
minimizing extensive damage, through notifying responsible authorities for quick action and allow
for safe evacuation of occupants. Previous research works propose dierent methods of detecting
fire incidences. In this paper, we employ a multisensory fuzzy logic application to achieve accurate
results and minimize false alarm rates. In this approach, six input parameters are applied to the model,
namely, rate of temperature (
T), humidity (
H), carbon dioxide (
CO
2
), carbon monoxide (
CO),
oxygen (
O
2
) and flame presence, under dierent operating conditions vis-
à
-vis the estimated fire
intensity prediction (EFIP). The system shall alert responsible authorities if an abnormal environmental
situation is detected. The EFIP represents the percentage probability of true fire incidences realized and
then an appropriate action is instigated, such as sending alert message, or initiating water sprinklers to
suppress the fire immediately.
Simulation experiments were performed using the MATLAB Fuzzy Logic toolbox. Results obtained
achieved an overall average accuracy rate of 95.83%, as discussed above. In future works, we intend to
develop an intelligent fuzzy-based fire detection algorithm using the proposed design model.
Author Contributions:
The following authors fully participated in the drafting and conceptualization of the
research; C.M. and E.L.; methodology, C.M.; software, E.L.; validation, E.L., A.N. and D.M.; formal analysis, E.L.;
investigation, E.L.; writing—original draft preparation, A.N.; writing—review and editing, E.L.; visualization,
C.M.; supervision, D.M.; project administration. All authors have read and agreed to the published version of
the manuscript.
Funding:
This research study is being funded by the World Bank Group, through the African Center of Excellence
in Internet of Things (
ACEIoT
), under the Department of Computer & Software Engineering, College of Science
and Technology (CST), University of Rwanda.
Acknowledgments:
E.L. wishes to thank C.M. for leading the research study. E.L. wishes to put on record,
an endless support and appreciation provided by A.N. and D.M. for their continued reviews and advice rendered
in carrying out this research study. Finally, E.L. wishes to thank all the anonymous reviewers and editors for their
continued support by reading through the manuscript.
Conflicts of Interest: The authors declare no conflict of interest.
Abbreviations
API Application Programming Interface
ANP Analytical Network Processing
ANFIS Adaptive Neural Fuzzy Inference System
CNN Convolutional Neural Networks
CO Carbon monoxide
CO2Carbon dioxide
EA East Africa
EFIP Estimated Fire Intensity Prediction
FAM Fuzzy Associative Memory
FCS Fuzzy Control System
FIS Fuzzy Inference System
FMWS Fire Monitoring Warning System
GCE Gas Combustion Eciency
GIS Geographical Information System
GSM Global System for Mobile Communication
IDE Integrated Development Environment
IoT Internet of Things
O2Oxygen
MCU Micro Controller Unit
MEM Micro Electro Mechanical
MF Membership Function
MQTT Message Queue Telemetry Transport
TSK Takagi, Sugeno, Tangi
Symmetry 2020,12, 1391 27 of 29
References
1.
Rose, K.; Eldridge, S.; Chapin, L. The Internet of Things: An Overview. Internet Soc.
2015
,80, 1–50.
Available online: https://www.internetsociety.org (accessed on 25 November 2019).
2.
Dubey, V.; Kumar, P.; Chauhan, N. Forest Fire Detection System Using IoT and Artificial Neural Networks.
In Intternational Conference on Innovative Computing and Communications; Springer: Singapore, 2018;
pp. 323–337.
3.
Lule, E.; Eddie Bulega, T. A Scalable Wireless Sensor Network (WSN) Based Architecture for Fire Disaster
Monitoring in the Developing World. Int. J. Comput. Netw. Inf. Secur. 2015,7, 40–49. [CrossRef]
4.
Uganda Police. POLICE Annual Crime Report Annual Crime Report. Kampala. 2017. Available online:
www.upf.go.ug (accessed on 20 October 2019).
5.
Uganda Police. Uganda Police Annual Crime and Trac Road/Safety Report. Kampala. 2018.
Available online: http://www.upf.go.ug (accessed on 20 December 2019).
6.
R Malarvizhi, C.K. Survey on Fire Detection Process in Wireless Sensor Networks.
Int. J. Res. Sci. Eng. Technol.
2018,5, 1–9.
7.
Sowah, R.A.; Apeadu, K.; Gatsi, F.; Ampadu, K.O.; Mensah, B.S. Hardware Module Design and Software
Implementation of Multisensor Fire Detection and Notification System Using Fuzzy Logic and Convolutional
Neural Networks (CNNs). J. Eng. 2020,2020, 16. [CrossRef]
8.
Güllüce, Y.; Çel˙
Ik, R.N. FireAnalyst: An eective system for detecting fire geolocation and fire behavior in
forests using mathematical modelling. Turkish J. Agric. For. 2020,44, 127–139. [CrossRef]
9.
Chen, S.J.; Hovde, D.C.; Peterson, K.A.; Marshall, A.W. Fire detection using smoke and gas sensors.
Fire Saf. J.
2007,42, 507–515. [CrossRef]
10. Davis, G. History of the NOAA satellite program. J. Appl. Remote Sens. 2007,1, 012504. [CrossRef]
11.
Hislop, S.; Haywood, A.; Jones, S.; Soto-Berelov, M.; Skidmore, A.; Nguyen, T.H. A satellite data driven
approach to monitoring and reporting fire disturbance and recovery across boreal and temperate forests.
Int. J. Appl. Earth Obs. Geoinf. 2020,87, 102034. [CrossRef]
12.
Umar, M.A. Analysis and Design of Fire Emergency Application (FEAP). Int. J. Comput. Sci. Mob. Comput.
2020,9, 40–51.
13.
Abedi Gheshlaghi, H.; Feizizadeh, B.; Blaschke, T. GIS-based forest fire risk mapping using the analytical
network process and fuzzy logic. J. Environ. Plan. Manag. 2019, 1–19. [CrossRef]
14. Sarwar, B.; Bajwa, I.S.; Jamil, N.; Ramzan, S.; Sarwar, N. An Intelligent Fire Warning Application Using IoT
and an Adaptive Neuro-Fuzzy Inference System. Sensors 2019,19, 3150. [CrossRef] [PubMed]
15.
Sarwar, B.; Bajwa, I.S.; Ramzan, S.; Ramzan, B.; Kausar, M. Design and application of fuzzy logic based fire
monitoring and warning systems for smart buildings. Symmetry 2018,10, 615. [CrossRef]
16.
Listyorini, T.; Rahim, R. A prototype fire detection implemented using the Internet of Things and fuzzy logic.
World Trans. Eng. Technol. Educ. 2018,16, 42–46.
17.
Gharajeh, M.S. FSB-System: A Detection System for Fire, Suocation, and Burn Based on Fuzzy Decision
Making, MCDM, and RGB Model in Wireless Sensor Networks. In Wireless Personal Communications; Springer:
New York, NY, USA, 2019; pp. 1171–1213.
18.
Kaur, H.; Sood, S.K. Adaptive Neuro Fuzzy Inference System (ANFIS) based wildfire risk assessment.
J. Exp. Theor. Artif. Intell. 2019,31, 599–619. [CrossRef]
19.
Sowah, R.; Ampadu, K.O.; Ofoli, A.; Koumadi, K.; Mills, G.A.; Nortey, J. Design and implementation of a fire
detection and control system for automobiles using fuzzy logic. In Proceedings of the 2016 IEEE Industry
Applications Society Annual Meeting, Portland, OR, USA, 2–6 October 2016; pp. 1–8.
20.
Salhi, L.; Silverston, T.; Yamazaki, T.; Miyoshi, T. Early Detection System for Gas Leakage and Fire in Smart
Home Using Machine Learning. In Proceedings of the 2019 IEEE International Conference on Consumer
Electronics (ICCE), Las Vegas, NV, USA, 11–13 January 2019; pp. 1–6.
21.
Sahithi, T.; Pranathi, T.; Pravin, A. Automatic fire rescue system using IoT. In Proceedings of the 2019
International Conference on Communication and Signal Processing (ICCSP), Chennai, India, 4–6 April 2019;
pp. 526–528.
22.
Garcia-Martin, R.; Gonz
á
lez-Briones, A.; Corchado, J.M. Smartfire: Intelligent platform for monitoring fire
extinguishers and their building environment. Sensors 2019,19, 2390. [CrossRef]
Symmetry 2020,12, 1391 28 of 29
23.
Park, J.H.; Lee, S.; Yun, S.; Kim, H.; Kim, W.T. Dependable fire detection system with multifunctional artificial
intelligence framework. Sensors 2019,19, 2025. [CrossRef]
24.
Garcia-Jimenez, S.; Jurio, A.; Pagola, M.; De Miguel, L.; Barrenechea, E.; Bustince, H. Forest fire detection:
A fuzzy system approach based on overlap indices. Appl. Soft Comput. 2017,52, 834–842. [CrossRef]
25.
Zadeh, L.A. The Conept of a Linguistic Variable and its Application to Approximate Reasoning.
J. Learn. Syst. Intell. Robot 1974,8, 199–249.
26.
Zadeh, L.A. The Concept of a Linguistic Variable and its Application to Approximate Reasoning. In Learning
Systems and Intelligent Robots; Springer: Boston, MA, USA, 1974; Volume 357, pp. 1–10.
27.
Jafari, R.; Yu, W. Fuzzy Modeling for Uncertainty Nonlinear Systems with Fuzzy Equations.
Math. Probl. Eng.
2017,2017. [CrossRef]
28. Ibrahim, D. An Overview of Soft Computing. Procedia Comput. Sci. 2016,102, 34–38. [CrossRef]
29. Liu, M.; Chen, D.; Wu, C.; Li, H. Approximation theorem of the fuzzy transform in fuzzy reasoning and its
application to the scheduling problem. Comput. Math. Appl. 2006,51, 515–526. [CrossRef]
30.
Kausar, M.; Sarwar, B.; Ashfaq, A. Fire Controller System Using Fuzzy Logic for Safety.
Intell. Syst. Technol. Appl. 2019,910, 691–697.
31.
Li, L.; Pedrycz, W.; Qu, T.; Li, Z. Fuzzy associative memories with autoencoding mechanisms.
Knowl. -Based Syst. 2020,191, 105090. [CrossRef]
32.
Kaur, H.; Sood, S.K. A Smart Disaster Management Framework For Wildfire Detection and Prediction.
Comput. J. 2020. [CrossRef]
33.
Toledo-Castro, J.; Santos-Gonz
á
lez, I.; Caballero-Gil, P.; Hern
á
ndez-Goya, C.; P
é
rez, N.R.; Aguasca, R.
Fuzzy-Based Forest Fire Prevention and Detection by Wireless Sensor Networks. Adv. Intell. Syst. Comput.
2019,771, 90–99.
34.
Hoa, N.T.; Bui, T.D.; Dang, T.K. Eciency improvements for fuzzy associative memory.
Lect. Notes Comput. Sci. 2013,7951, 36–43.
35.
Andrews, P.L.; Heinsch, F.A.; Schelvan, L. How to Generate and Interpret Fire Characteristics Charts for Surface
and Crown Fire Behavior; General Technical Report RMRS-GTR-253; USDA Forest Service: Fort Collins, CO,
USA, 2011; pp. 1–40.
36.
Rossi, J.L.; Chatelon, F.J.; Marcelli, T. Fire Intensity. In Encyclopedia Wildfires and Wildland-Urban Interface Fires;
Springer: Cham, Germany, 2019; pp. 1–6. [CrossRef]
37.
Combustion @ en.wikipedia.org. 2020. Available online: https://en.wikipedia.org/wiki/Combustion
(accessed on 2 March 2020).
38.
Dazhi, E.; Zhang, M. Application of an intelligent algorithm in estimating the fire site. In Proceedings of
the 2017 3rd IEEE International Conference on Computer and Communications (ICCC), Chengdu, China,
13–16 December 2017; pp. 2574–2577.
39.
Rachman, F.Z.; Yanti, N.; Hadiyanto, H.; Suhaedi, S.; Hidayati, Q.; Widagda, M.E.P.; Saputra, B.A. Design of
the early fire detection based fuzzy logic using multisensor. IOP Conf. Ser. Mater. Sci. Eng.
2020
,732, 012039.
[CrossRef]
40.
Rahul, K. On-Road Intelligent Vehicles Motion Planning for Intelligent Transportation Systems; Kala, R., Ed.;
Elsevier Ltd.: Amsterdam, The Netherlands, 2016; pp. 271–317.
41.
Al-mahturi, A.; Santoso, F.; Garratt, M.A.; Anavatti, S.G. An Intelligent Control of an Inverted Pendulum
Based on an Adaptive Interval Type-2 Fuzzy Inference System. In Proceedings of the 2019 IEEE International
Conference on Fuzzy Systems (FUZZ-IEEE), New Orleans, LA, USA, 23–26 June 2019; pp. 1–6.
42.
Butenkov, S.; Krivsha, V.; Krivsha, N. The analytical approach to the parameterized fuzzy operators design.
Procedia Comput. Sci. 2019,150, 193–200. [CrossRef]
43.
Nguyen, H. A fuzzy-based smoke detection on embedded system. J. Theor. Appl. Inf. Technol.
2019
,97,
3415–3424.
44.
Chai, Y.; Jia, L.; Zhang, Z. Mamdani model based adaptive neural fuzzy inference system and its application
in trac level of service evaluation. In Proceedings of the 2009 6th International Conference on Fuzzy
Systems and Knowledge Discovery, Tianjin, China, 14–16 August 2009; pp. 555–559.
45.
Pourjavad, E.; Mayorga, R.V. A comparative study and measuring performance of manufacturing systems
with Mamdani fuzzy inference system. J. Intell. Manuf. 2019,30, 1085–1097. [CrossRef]
Symmetry 2020,12, 1391 29 of 29
46.
Syafitri, N.; Labellapansa, A.; Kadir, E.A.; Saian, R.; Zahari, N.N.A.; Anwar, N.H.K.; Shaharuddin, N.E.M.
Early detection of fire hazard using fuzzy logic approach. Int. J. Adv. Comput. Res.
2019
,9, 252–259.
[CrossRef]
47.
Devi, A.A.P.B.S.; Karna, N. Design and implementation of fire detection system using fuzzy logic algorithm.
In Proceedings of the 2019 IEEE Asia Pacific Conference on Wireless and Mobile (APWiMob), BALI, Indonesia,
5–7 November 2019; pp. 99–104.
©
2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
(CC BY) license (http://creativecommons.org/licenses/by/4.0/).
... These markets, provide income for small-scale vendor communities by selling their daily wares. According to Uganda police investigative reports, the major causes of fires include; electrical short circuits, negligence, and neglected charcoal stoves [1][2][3][4]. The current vendor communities heavily rely on human patrol and observation methods. ...
... Two secondary input parameters, namely; fire intensity due temperature change ( FI T ) and fire intensity due to gases dissipated (FI G ) are considered. [2] Results show that the proposed Interval Type-2 TSK fuzzy model outperformed Mamdani's Type-1 by an accuracy of 98.2%, compared to 95.8% in Lule et al. [1]. The footprint of uncertainty (FOU) in the Interval Type-2 fuzzy sets provides additional degrees of freedom, allowing for the modelling of uncertainties to improve efficiency. ...
... To study the performance of the IT2 TSK fuzzy model, the tool is configured in MATLAB2018a [26]. MATLAB [1,27], is a multi-paradigm computing tool, that enables the modelling of real-time complex engineering solutions. Two secondary Interval Type-2 input parameters are used; i.e., Fire intensity due to temperature change FI T , and Fire intensity due to dissipated gases (CO 2 , CO), FI G . ...
... Previous research by Lule et al. (2020) explained the IoT-based fuzzy prediction model for early fire detection, but testing in this study is still at the simulation level with MATLAB, so in real applications, it has not been tested [9]. Other research by Shi and Songlin (2020) is only able to detect one type of fire parameter, such as cigarette smoke, by utilizing a Thermal Camera to detect temperature and also using the Fuzzy logic method to analyze the intensity of the flame [10,11]. ...
... Previous research by Lule et al. (2020) explained the IoT-based fuzzy prediction model for early fire detection, but testing in this study is still at the simulation level with MATLAB, so in real applications, it has not been tested [9]. Other research by Shi and Songlin (2020) is only able to detect one type of fire parameter, such as cigarette smoke, by utilizing a Thermal Camera to detect temperature and also using the Fuzzy logic method to analyze the intensity of the flame [10,11]. ...
... So, the system's overall accuracy based on the test results is 93.33%, with an error of 6.77%. Based on research conducted by [9,10], this research has strengthened previous research by using more sensors to make the parameters for determining fire potential more accurate. The test was carried out in the room we built, as shown in Figure 11. Figure 11. ...
Article
Full-text available
Population growth is increasing every year. Population growth causes an increase in population density in a country. The largest population density is in urban areas. Fires in a city with a high population density will potentially cause greater damage. Material and non-material losses due to fire can be caused by not functioning maximally early warning systems, especially fire detection. In addition, other factors, such as system errors in detecting fires, can potentially cause fires. This research aims to build an intelligent system that can minimize building fire detection errors to reduce user material losses. The intelligent system can classify fire potential into four classifications, namely ”very dangerous,” ”dangerous,” ”alert,” and ”safe.” The method used in this research is Research and Development (R&D) with artificial intelligence using the Na¨ıve Bayes method, which has been integrated with the Internet of Things (IoT). This research shows that the Na¨ıve Bayes algorithm can be used to classify fire potential, proven by the overall system testing accuracy of 93.33% with an error of 6.77%.
... Currently, any home or space is prone to suffer a fire, which can bring various damages such as human or material losses, the causes may be due to different factors such as a short circuit, explosions, facing this problem, a platform supported by the internet of things (IoT) provides a solution accessible to people, which works in such a way that the notifications generated are as accurate as possible to avoid such accidents [1]. With the development of an IoT oriented device, a quick response to an incident is sought because we will get a notification to the user regardless of their location, sometimes fire responses are not performed properly because the alarms are at the scene, making the response difficult when the user is absent [2]. ...
... On the other hand, Wang et al. [7] mentions the use of fuzzy logic for the detection of potential fires considering parameters such as rates of change of temperature, humidity, CO, CO2, O2 and flame (estimated fire intensity prediction). The use of this method helps to improve fire detection with a high accuracy rate 95% with respect to conventional and analog forms that are below 90% [1]. In addition, there is research on the use of artificial intelligence in motion devices to visualize through sensors and camera some unusual activity within a house or establishment to alarm the user remotely [24]. ...
... Finally, to improve the reliability of the alarms sent to the user and the percentage of assertiveness [7], [26]. The use of IoT is of vital importance in fire detection systems since it is the first link between the incident and the user making possible alarms reach their destination and action can be taken based on it as mentioned in [1]- [3]. Therefore, after a thorough analysis of the previously reviewed articles, a pioneering proposal emerges. ...
Article
This paper highlights the need to address fire monitoring in densely populated urban areas using innovative technology, in particular, the internet of things (IoT). The proposed methodology combines data collection through sensors with instant notifications via text messages and images through the user's email. This strategy allows a fast and efficient response, with message delivery times varying from 1 to 4 seconds on Internet connections. It was observed that the time to send notifications on 3G networks is three times longer compared to Wi-Fi networks, and in some 3G tests, the connection was interrupted. Therefore, the use of Wi-Fi is recommended to avoid significant delays and possible bandwidth issues. The implementation of fuzzy logic in the ESP32 microcontroller facilitates the identification of critical parameters to classify notifications of possible fires and the sending of evidence through images via email. This approach successfully validated the results of the algorithm by providing end users with detailed emails containing information on temperature, humidity, gas presence and a corresponding image as evidence. Taken together, these findings support the effectiveness and potential of this innovative solution for fire monitoring and prevention in densely populated urban areas. Keywords: ESP32 Fires Fuzzy logic Internet of things Sensors This is an open access article under the CC BY-SA license.
... The microcontroller itself is the voltage signal amplification module. Analog signals are converted into digital signals for analysis through analog-to-digital conversion, and the concentration of smoke is calculated [6] . When the smoke concentration value is higher than the alarm threshold, the buzzer gives an alarm, and the single-chip microcomputer controls the motor speed to drive the fan to rotate, so as to achieve the effect of dispersing the smoke. ...
Article
Full-text available
With the rapid development of society and economy, various laboratories have become more complete in number and equipment, but subsequent laboratory accidents frequently occur. Therefore, it is imperative to construct a laboratory safety management system to ensure the safety of laboratory personnel and complete equipment. This article intends to design a smoke alarm, which mainly includes measuring the sensitivity of the smoke sensor to the concentration of smoke in the air, and the linear change of the sensor converting the corresponding analog signal into a digital signal. By designing the fan speed to be controlled by the change of smoke density, the speed of the motor is adjusted. And the alarm module can sound an alarm when the smoke concentration is certain, and at the same time, it can automatically cancel the alarm when the smoke concentration decreases. Finally, a simulation experiment is designed to simulate the effect of the sound alarm of the smoke alarm disperser on the dispersal of smoke under different working environments.
... It has a wide range of demands and application prospects in intelligent transportation, public safety, industrial monitoring, smart home and other aspects [3], [4]. Based on RFID, wireless sensor, cloud computing, big data and other high and new technologies, intelligent fire protection [5], [6] which applies the Internet of Things to fire rescue provides a new idea for dynamic simulation of fire scene, intelligent design of escape and rescue strategy, and standardized fire safety management. However, the lack of high-quality Internet of Things technical personnel has become a bottleneck restricting the development of the Internet of Things industry, so it has become an urgent problem to cultivate integrated Internet of Things technical personnel with engineering , innovation and design ability [7]. ...
Article
Aiming at the teaching challenge of cultivating integrated talents of Internet of things worldwide, and combining with the social background of fire rescue and management problems, We propose a virtual simulation teaching platform for the Internet of Things under the background of intelligent fire protection application. Based on the overall structure of the Internet of Things, different fire scenarios that cannot be simulated in real life are constructed through virtual simulation technology. OMNet++ technology is adopted to carry out virtual deployment of fire nodes for the overall structure of the building, and experiments such as cluster routing simulation, communication transmission simulation and wireless sensor node data acquisition simulation are designed. Meanwhile, a 3D fire data model is established using big data to simulate the best fire extinguishing scheme and the best escape strategy. From aspects of the Internet of Things system design and development, sensor principle and application, Internet of Things communication technology and Internet of Things data storage and application, we have realized the efficiency, innovation and challenge of the Internet of Things teaching.The virtual simulation teaching platform we built has been deployed and put into practical teaching, which has received positive response from students and achieved excellent teaching effect.
Conference Paper
The lack of reliable, low-cost fire detection systems within the central local market communities of East Africa (EA) has resulted in serious catastrophic fire accidents that have resulted in loss of life and property. Proposed satellite systems are expensive to acquire and maintain. Also, unit sensor smoke detectors are highly susceptible to false alarm rates. The proposed low-cost fire detection system prototype was implemented using the Arduino UNO, Arduino IDE platforms integrated with the fuzzy logic technique to determine an informed fire status decision. Hence, the proposed solution ensures appropriate public fire safety protection for the nearby market community by providing early warning alarm notification in case of a fire outbreak. Obtained results show that the proposed fire detection system prototype using fuzzy logic exhibited an accuracy rate of 91% using a confusion matrix model (CMM) evaluation method.
Thesis
Accidental fires in Sugarcane plantations are the main pre-harvest loss in the Sugar industry. In the dry seasons, accidental fires are plentiful phenomena in Sugarcane plantations. The proposed system uses Smoke detectors, Infrared detectors, Carbon dioxide and Carbon monoxide detectors to detect fire and Arduino with GSM Module uses to notify fire alerts to the Fire Alarm control panel which is installed in a remote place. Proposed system contains two separate systems as the Field system and Fire Control Unit’s system. Field system installed in the Sugarcane field and it included Fire detection protocol and Fire prevention protocol. Fire Control Unit’s system installed in the fire brigade office. These two systems communicate wirelessly via GSM Network. When fire is detected Microcontroller sends a fire alert to the fire brigade and turns on water pumps to control Fire until fire brigade reaches the field to completely control the Fire. The Fire Control Unit’s system turns on the fire alarm and displays the GPS coordinate of the burning field to reach the field and Drones can follow these GPS coordinates and get live video feedback about the current situation. Arduino Mega and Arduino Leonardo Microcontroller platforms used in this system. To program microcontrollers, C++ programming language in the Visual Studio Code and Arduino Integrated Development Environment used. Prototype can identify Fire and notify the fire brigade and turn on water pumps less than 20s. Keywords – Arduino, Fire-Detection, GSM, Sugarcane, Microcontroller
Article
Full-text available
In the past few decades there were no facilities to protect the valuable things from fire, smoke and high temperature & humidity automatically because the technology of that time was not advanced and the people usually do these things manually, and to avoid that or to minimize the damage caused by fire outbreak an IoT technology is used to control such a kind of risk. IoT is a modern system that consist of sensors and switches associated with a focal center (Arduino nano). In this project we have used flame sensor, gas sensors, temperature &humidity sensor and Nod mcu with Arduino device and actuators to extinguish the fire and smoke automatically, and the data will be sent to the webpage also to let us know the situation and take any other desirable action, as system starts sensor senses the environmental conditions and sends to the central hub main controller board (Arduino nano) than Arduino nano commands the actuators if there is any alert condition otherwise system shows there is no any alert.
Article
Industry 4.0 means that devices are controlled with embedded computing. This cyber physical system enables us to utilize the Internet of things (IoT) infrastructure for human and industrial plant safety. The implementation of these automatic fire fighting systems is focused on the findings conducted during Fire Risk Assessment (FRA) for clients and vendors. The major contributor for deaths in a fire accident is due to excessive smoke inhalation. So, an early detection of fire is crucial in fire detection systems. The conventional fire detection system is unable to tell the exact location of the fire. In the proposed work, an IoT based fire safety system has been developed to overcome problems found during fire risk assessment. The implemented system consists of three major parts: a processing unit, surveillance, and a detector. The detector unit is an integration of carbon monoxide sensor, humidity sensor, buzzer, temperature sensor, ionization smoke detector with ESP32. In case of a fire breakout, the system will immediately sound the alarm, and the Global Positioning System (GPS) with the coordinates and floor plan of the accommodation will be send to the firefighting team and the authorities. The floor plan is developed in such a way that it tracks the exact location of the fire. A qualitative method has been used to determine the desired features integrated in the system and determine the level of usability for the improvement, if any, such as focused group discussions, safety audits and standards implementation. This work has mitigated fire risks on this kind of catastrophic event.
Article
Full-text available
This paper presents the design and development of a fuzzy logic-based multisensor fire detection and a web-based notification system with trained convolutional neural networks for both proximity and wide-area fire detection. Until recently, most consumer-grade fire detection systems relied solely on smoke detectors. These offer limited protection due to the type of fire present and the detection technology at use. To solve this problem, we present a multisensor data fusion with convolutional neural network (CNN) fire detection and notification technology. Convolutional Neural Networks are mainstream methods of deep learning due to their ability to perform feature extraction and classification in the same architecture. The system is designed to enable early detection of fire in residential, commercial, and industrial environments by using multiple fire signatures such as flames, smoke, and heat. The incorporation of the convolutional neural networks enables broader coverage of the area of interest, using visuals from surveillance cameras. With access granted to the web-based system, the fire and rescue crew gets notified in real-time with location information. The efficiency of the fire detection and notification system employed by standard fire detectors and the multisensor remote-based notification approach adopted in this paper showed significant improvements with timely fire detection, alerting, and response time for firefighting. The final experimental and performance evaluation results showed that the accuracy rate of CNN was 94% and that of the fuzzy logic unit is 90%.
Article
Full-text available
The purpose of this study is to create an early fire detection system based on fuzzy logic. This system provides early warning of fire hazards, reduces the risk of casualties, and is able to be implemented to a wider scale or scope. This system consists of a multisensor to detect fire, smoke and temperature in the room. KY-026 sensor as fire detection, MQ-9 sensor as smoke detection and DS18b20 sensor as temperature detection. The results of the sensor readings are processed by a microcontroller implanted with a Sugeno fuzzy logic method. Sensor input is processed through several stages, namely fuzzification, rule evaluation and deffuzification. The output from this system is a condition value between 1 and 5. The average error of testing between Arduino modules with Matlab is 0.99%.
Article
Full-text available
Fire is as destructive as it is useful. Without a proper pro-active approach to preventing fire outbreaks, the results could be extremely disastrous when they occur. Thus, there is a need for a fast and convenient way of reporting fire incidents. The growing usage of smartphones provides a way of equipping the public with a means of reporting fire incidents to ensure prompt response and proper management of the incidents. In this paper, we analyze the manual process of reporting fire outbreaks and design an automated FEAP-a mobile application, to enable the public to quickly alert nearest fire emergency units of any possible fire incidents. We developed FEAP with the aid of the Software Development Life Cycle (SDLC) phases and Unified Modeling Language (UML) which was used as a model to visualize the design view of the application. An Entity Relationship Diagram (ERD) was used for database design and a simple Graphical User Interface (GUI) prototype of the proposed application was designed. Our work highlights a practical application of analysis and design concepts in developing software to provide an efficient solution in reporting fire outbreaks.
Article
Full-text available
The regular and consistent measurements provided by Earth observation satellites can support the monitoring and reporting of forest indicators. Although substantial scientific literature espouses the capabilities of satellites in this area, the techniques are under-utilised in national reporting, where there is a preference for aggregating ad hoc data. In this paper, we posit that satellite information, while perhaps of low accuracy at single time steps or across small areas, can produce trends and patterns which are, in fact, more meaningful at regional and national scales. This is primarily due to data consistency over time and space. To investigate this, we use MODIS and Landsat data to explore trends associated with fire disturbance and recovery across boreal and temperate forests worldwide. Our results found that 181 million ha (9 %) of the study area (2 billion ha of forests) was burned between 2001 and 2018, as detected by MODIS satellites. World Wildlife Fund biomes were used for a detailed analysis across several countries. A significant increasing trend in area burned was observed in Mediterranean forests in Chile (8.9 % yr −1), while a significant decreasing trend was found in temperate mixed forests in China (-2.2 % yr −1). To explore trends and patterns in fire severity and forest recovery, we used Google Earth Engine to efficiently sample thousands of Landsat images from 1991 onwards. Fire severity, as measured by the change in the normalized burn ratio (NBR), was found to be generally stable over time; however, a slight increasing trend was observed in the Russian taiga. Our analysis of spectral recovery following wildfire indicated that it was largely dependent on location, with some biomes (particularly in the USA) showing signs that spectral recovery rates have shortened over time. This study demonstrates how satellite data and cloud-computing can be harnessed to establish baselines and reveal trends and patterns, and improve monitoring and reporting of forest indicators at national and global scales.
Article
Full-text available
In the recent past, a few fire warning and alarm systems have been presented based on a combination of a smoke sensor and an alarm device to design a life-safety system. However, such fire alarm systems are sometimes error-prone and can react to non-actual indicators of fire presence classified as false warnings. There is a need for high-quality and intelligent fire alarm systems that use multiple sensor values (such as a signal from a flame detector, humidity, heat, and smoke sensors, etc.) to detect true incidents of fire. An Adaptive neuro-fuzzy Inference System (ANFIS) is used in this paper to calculate the maximum likelihood of the true presence of fire and generate fire alert. The novel idea proposed in this paper is to use ANFIS for the identification of a true fire incident by using change rate of smoke, the change rate of temperature, and humidity in the presence of fire. The model consists of sensors to collect vital data from sensor nodes where Fuzzy logic converts the raw data in a linguistic variable which is trained in ANFIS to get the probability of fire occurrence. The proposed idea also generates alerts with a message sent directly to the user's smartphone. Our system uses small size, cost-effective sensors and ensures that this solution is reproducible. MATLAB-based simulation is used for the experiments and the results show a satisfactory output.
Article
Wildfires are exorbitantly cataclysmic disasters that lead to the destruction of forest cover, wildlife, land resources, human assets, reduced soil fertility and global warming. Every year wildfires wreck havoc across the globe. Therefore, there is a need of an efficient and reliable system for real-time wildfire monitoring to dilute their disastrous effects. Internet of Things (IoT) has demonstrated remarkable evolution and has been successfully adopted in environmental monitoring domain. Therefore, timely detection and prediction of wildfires is the need of the hour. The proliferation of the IoT has been witnessed in the environment monitoring domain for detection and prediction of several environmental hazards. This research proposes an integrated IoT–fog–cloud framework for real-time detection and prediction of forest fires. Initially, a Bayesian belief network is used to detect the outbreak of wildfire at fog layer followed by real-time alert generation to the forest department offices and fire-fighting stations. Cloud layer-assisted fuzzy-based long-term wildfire prediction and monitoring is responsible for determining the susceptibility of a forest terrain to wildfire outbreak based on wildfire susceptibility index (WSI). Furthermore, WSI is used for risk zone mapping of forest terrains.
Article
Associative memories constructed and operating in the presence of big data offer an effective way to realize association mechanisms aimed at storing and recalling items. In this study, we develop a logic-driven model of two-level fuzzy associative memories augmented by autoencoding processing. It is composed of two functional modules. The first module of this architecture implements an efficient dimensionality reduction of the original high dimensional data with the use of an autoencoder. This helps achieve storing and completing the recall realized by a logic-oriented associative memory which constitutes the second module of the architecture. The optimization of the association matrices studied in the paper involves both gradient-based learning mechanisms and the algorithms of population-based optimization, i.e., particle swarm optimization (PSO) and differential evolution (DE). A suite of experimental studies is presented to quantify the performance of the proposed approach. Comparative studies are also conducted to show and quantify the advantages of the mechanisms of associative recall and storage augmented by the autoencoding process.