Next Article in Journal
On a Semigroup Problem II
Previous Article in Journal
Economic Segregation Under the Action of Trading Uncertainties
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
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

by
Emmanuel Lule
1,*,
Chomora Mikeka
2,
Alexander Ngenzi
1 and
Didacienne Mukanyiligira
1
1
African 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
2
Chancellor College, Faculty of Science, Department of Physics, University of Malawi (UNIMA), Zomba P.O. Box 280, Malawi
*
Author to whom correspondence should be addressed.
Symmetry 2020, 12(9), 1391; https://doi.org/10.3390/sym12091391
Submission received: 28 June 2020 / Revised: 16 July 2020 / Accepted: 20 July 2020 / Published: 21 August 2020
(This article belongs to the Section Computer)

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.

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, effective 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 suffered 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,4,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 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):
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 for possible public safety control, suppression and immediate evacuation. Hence, there is a need to design low-cost, effective, 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 effective 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 sufficient for effective 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 sufficient for a true identification of a fire presence. M. Samadi at el. in [17] proposed a knowledge-based system called a fire suffocation 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, suffocation and burn probabilities based on the sensed data from different 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 efficiency, network time and financial losses. The system can be used in various areas such as buildings or forests etc.
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 effects. 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, CO2, 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 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 inefficient 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 inefficient. 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 (ΔCO2), rate of change of carbon monoxide levels (ΔCO) and rate of change of oxygen levels (ΔO2). 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;
  • 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:

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}. 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 efficient fire detection, namely, carbon dioxide (CO2), carbon monoxide (CO) and oxygen (O2). 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 (CO2). Thus, a continued fire combustion leads to a drop in O2 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 Table 1 and Table 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 efficiently [32,33,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 Table 1 and Table 2, for the fuzzy model shall subsequently aid in early fire detection for urban markets with a major purpose of public safety and control.

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 effect 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 effect 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 (ΔCO2) and rate of oxygen (ΔO2) 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)]
µ(AƲB) = max [µA(x), µB(x)]
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 Table 1 and Table 2, as input membership values with a corresponding weigh factor to determine the approximate fuzzy output.

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   ( Ʋ )   ·   Ʋ Ʃ µ A   ( Ʋ )   }
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.
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 Logic toolbox, the proposed fuzzy control model behavioral dynamics are then designed, simulated, modeled and analyzed, with different performance parameters as discussed herein.

Simulation Input and Output Fuzzy Parameters Considered

In the Table 3 and Table 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.

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 Figure 4 and Figure 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.

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}.

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.

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:

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 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.

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.
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 effect 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 affecting 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, O2 and Flame vs EFIP

In the Figure 10a–e 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.

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.
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.
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 = Δ C O 2 ( Δ C O + Δ C O 2 ) × 100 %
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 (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, Δ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 (4).
The gas combustion efficiency (GCE) = ( 474.6   494.7 + 474.6 ) × 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

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 Table 7 and Table 8 as detailed below.
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   ( % ) =   µ ( a i ) n
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 effective 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 9 of [7,13,18]. Hence, the proposed solution can effectively detect early fires, making it advantageous to single smoke sensor based systems. This solution is cheaper and more affordable 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.

6. Conclusion and Future Works

In this paper, we present an IoT-based fuzzy approximation prediction model using the Mamdani inference system to aid effective 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 different 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 (ΔCO2), carbon monoxide (ΔCO), oxygen (ΔO2) and flame presence, under different 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

APIApplication Programming Interface
ANPAnalytical Network Processing
ANFISAdaptive Neural Fuzzy Inference System
CNNConvolutional Neural Networks
COCarbon monoxide
CO2Carbon dioxide
EAEast Africa
EFIPEstimated Fire Intensity Prediction
FAMFuzzy Associative Memory
FCSFuzzy Control System
FISFuzzy Inference System
FMWSFire Monitoring Warning System
GCEGas Combustion Efficiency
GIS Geographical Information System
GSMGlobal System for Mobile Communication
IDEIntegrated Development Environment
IoTInternet of Things
O2Oxygen
MCUMicro Controller Unit
MEMMicro Electro Mechanical
MFMembership Function
MQTTMessage Queue Telemetry Transport
TSKTakagi, Sugeno, Tangi

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. [Google Scholar]
  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. [Google Scholar] [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 Traffic 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. [Google Scholar]
  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. [Google Scholar] [CrossRef] [Green Version]
  8. Güllüce, Y.; Çelİk, R.N. FireAnalyst: An effective system for detecting fire geolocation and fire behavior in forests using mathematical modelling. Turkish J. Agric. For. 2020, 44, 127–139. [Google Scholar] [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. [Google Scholar] [CrossRef]
  10. Davis, G. History of the NOAA satellite program. J. Appl. Remote Sens. 2007, 1, 012504. [Google Scholar] [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. [Google Scholar] [CrossRef]
  12. Umar, M.A. Analysis and Design of Fire Emergency Application (FEAP). Int. J. Comput. Sci. Mob. Comput. 2020, 9, 40–51. [Google Scholar]
  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. [Google Scholar] [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. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar]
  17. Gharajeh, M.S. FSB-System: A Detection System for Fire, Suffocation, 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. [Google Scholar]
  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. [Google Scholar] [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. [Google Scholar]
  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. [Google Scholar]
  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. [Google Scholar]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [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. [Google Scholar]
  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. [Google Scholar]
  27. Jafari, R.; Yu, W. Fuzzy Modeling for Uncertainty Nonlinear Systems with Fuzzy Equations. Math. Probl. Eng. 2017, 2017. [Google Scholar] [CrossRef]
  28. Ibrahim, D. An Overview of Soft Computing. Procedia Comput. Sci. 2016, 102, 34–38. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar] [CrossRef] [Green Version]
  30. Kausar, M.; Sarwar, B.; Ashfaq, A. Fire Controller System Using Fuzzy Logic for Safety. Intell. Syst. Technol. Appl. 2019, 910, 691–697. [Google Scholar]
  31. Li, L.; Pedrycz, W.; Qu, T.; Li, Z. Fuzzy associative memories with autoencoding mechanisms. Knowl. -Based Syst. 2020, 191, 105090. [Google Scholar] [CrossRef]
  32. Kaur, H.; Sood, S.K. A Smart Disaster Management Framework For Wildfire Detection and Prediction. Comput. J. 2020. [Google Scholar] [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. [Google Scholar]
  34. Hoa, N.T.; Bui, T.D.; Dang, T.K. Efficiency improvements for fuzzy associative memory. Lect. Notes Comput. Sci. 2013, 7951, 36–43. [Google Scholar]
  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. [Google Scholar]
  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. [Google Scholar] [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. [Google Scholar]
  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. [Google Scholar] [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. [Google Scholar]
  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. [Google Scholar]
  42. Butenkov, S.; Krivsha, V.; Krivsha, N. The analytical approach to the parameterized fuzzy operators design. Procedia Comput. Sci. 2019, 150, 193–200. [Google Scholar] [CrossRef]
  43. Nguyen, H. A fuzzy-based smoke detection on embedded system. J. Theor. Appl. Inf. Technol. 2019, 97, 3415–3424. [Google Scholar]
  44. Chai, Y.; Jia, L.; Zhang, Z. Mamdani model based adaptive neural fuzzy inference system and its application in traffic 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. [Google Scholar]
  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. [Google Scholar] [CrossRef]
  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. [Google Scholar] [CrossRef] [Green Version]
  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. [Google Scholar]
Figure 1. Percentage (%) frequencies of fire occurrences in selected urban markets within the East Africa (EA) region between (2009–2019) [4,5].
Figure 1. Percentage (%) frequencies of fire occurrences in selected urban markets within the East Africa (EA) region between (2009–2019) [4,5].
Symmetry 12 01391 g001
Figure 2. Principle steps in the design of the fuzzy approximation control model.
Figure 2. Principle steps in the design of the fuzzy approximation control model.
Symmetry 12 01391 g002
Figure 3. Block diagram of the proposed fuzzy-based control system.
Figure 3. Block diagram of the proposed fuzzy-based control system.
Symmetry 12 01391 g003
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 12 01391 g004
Figure 5. Design of the FCS model for gas combustion, i.e., CO, CO2, O2 and flame, vs EFIP (%).
Figure 5. Design of the FCS model for gas combustion, i.e., CO, CO2, O2 and flame, vs EFIP (%).
Symmetry 12 01391 g005
Figure 6. Membership function design plots for the different FIS input/output variables.
Figure 6. Membership function design plots for the different FIS input/output variables.
Symmetry 12 01391 g006aSymmetry 12 01391 g006b
Figure 7. MATLAB evaluation inference rules editor view design for various parameters.
Figure 7. MATLAB evaluation inference rules editor view design for various parameters.
Symmetry 12 01391 g007
Figure 8. Determination of the probability of (EFIP) using MATLAB rule view.
Figure 8. Determination of the probability of (EFIP) using MATLAB rule view.
Symmetry 12 01391 g008
Figure 9. Proposed IoT-based fuzzy approximation prediction model.
Figure 9. Proposed IoT-based fuzzy approximation prediction model.
Symmetry 12 01391 g009
Figure 10. Performance comparison of 3D, 2D surface plot view of various parameter pairs.
Figure 10. Performance comparison of 3D, 2D surface plot view of various parameter pairs.
Symmetry 12 01391 g010aSymmetry 12 01391 g010b
Figure 11. Performance comparison of 3D and 2D surface plots view of various parameter pairs.
Figure 11. Performance comparison of 3D and 2D surface plots view of various parameter pairs.
Symmetry 12 01391 g011aSymmetry 12 01391 g011b
Figure 12. Performance comparison of temperature and Humidity vs EFIP for 12 sampled data points.
Figure 12. Performance comparison of temperature and Humidity vs EFIP for 12 sampled data points.
Symmetry 12 01391 g012
Figure 13. Performance comparison of CO, CO2 and O2 vs EFIP for 12 data sample points.
Figure 13. Performance comparison of CO, CO2 and O2 vs EFIP for 12 data sample points.
Symmetry 12 01391 g013
Table 1. Fuzzy inference system (FIS) evaluation rules for the initial environmental parameters i.e., Temperature, Humidity vs Estimated Fire Intensity Prediction (EFIP) (%).
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 LowDryL
2.Very LowOptimalL
3.Very LowMoistL
4.LowDryL
5.LowOptimalL
6.LowMoistL
7.MediumDryM
8.MediumOptimalM
9.MediumMoistL
10.HighDryH
11.HighOptimalH
12.HighMoistL
13.Very HighDryH
14.Very HighOptimalH
15.Very High MoistL
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, ΔO2 vs EFIP (%).
Table 2. FIS evaluation rules for gas combustion i.e., ΔCO, ΔCO2, ΔO2 vs EFIP (%).
Rule No.Smoke Intensity (ΔCO) (ppmv)Carbon Dioxide (ΔCO2) (ppmv)Oxygen Level (ΔO2) (ppmv)Estimated Fire Intensity Prediction (EFIP) (%)
1.LowLowLowL
2.LowMediumLowM
3.LowHighLowH
4.MediumLowLowH
5.MediumMediumLowVH
6.MediumHighLowVH
7.HighLowLowVH
8.HighMediumLowVH
9.HighHighLowVH
10.LowLowMediumVL
11.LowMediumMediumM
12.LowHighMediumM
13.MediumLowMediumM
14.MediumMediumMediumH
15.MediumHighMediumL
16.HighLowMediumM
17.HighMediumMediumH
18.HighHighMediumL
19.LowLowHighVL
20.LowMediumHighVL
21.LowHighHighH
22.MediumLowHighVL
23.MediumMediumHighL
24.MediumHighHighL
25.HighLowHighL
26.HighMediumHighL
27.HighHighHighL
KEY: VL: very low, L: low, M: moderate, H: high, VH: very high. For all rules, flame presence = {true} or value = 0.5.
Table 3. The crisp and fuzzy-based input parameters, domain ranges, and universe of discourse membership function.
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 PresenceBoolean: False, True.[False, True]0, 1
Table 4. The Crisp, Fuzzy Based Output Parameters, Domain, Universe of Discourse Membership Function.
Table 4. The Crisp, Fuzzy Based Output Parameters, Domain, Universe of Discourse Membership Function.
Crisp Output Variable.Fuzzy Output ParametersFuzzy 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.
Table 5. Expt. data of temperature and humidity vs EFIP.
Table 5. Expt. data of temperature and humidity vs EFIP.
Rule No.ΔT(°C)ΔH (%)EFIP (%)
1.9.017.517.6
2.15.127.118.3
3.38.058.443.6
4.50.050.052.1
5.28.338.022.9
6.40.444.046.2
7.46.448.852.1
8.52.465.751.9
9.62.971.754.5
10.66.980.137.9
11.68.152.471.2
12.68.122.369.7
Table 6. Expt. data of CO, CO2 and O2 vs EFIP.
Table 6. Expt. data of CO, CO2 and O2 vs EFIP.
Rule No.ΔCO ΔCO2ΔO2EFIP (%)
1.23.621.423.647.8
2.32.429.128.063.2
3.36.830.231.169.1
4.44.532.439.071.3
5.50.037.944.575.0
6.19.248.951.156.5
7.13.78.213.725.0
8.64.350.017.086.5
9.70.924.732.462.8
10.32.446.765.470.3
11.48.975.386.325.0
12.57.769.862.160.9
Table 7. Model results evaluation for the initial environmental parameters, namely, temperature (ΔT), and humidity (ΔH) for 12 sampled control experiments.
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 PresenceEFIP (%)Test ModelActual ModelDetermined Accuracy Rate (%)
1.9.017.5True17.6LVL50%
2.15.127.1True18.3LVL50%
3.38.058.4True43.6MM100%
4.50.050.0True52.1MM100%
5.28.338.0True22.9LL100%
6.40.444.0True46.2MM100%
7.46.448.8True52.1MM100%
8.52.465.7True51.9MM100%
9.62.971.7True54.5MM100%
10.66.980.1True37.9LL100%
11.68.152.4True71.2HH100%
12.68.122.3True69.7HH100%
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.
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 PresenceEFIP (%)Test ModelActual ModelDetermined Accuracy Rate (%)
1.23.621.423.6True47.8MM100%
2.32.429.128.0True63.2HH100%
3.36.830.231.1True69.1HH100%
4.44.532.439.0True71.3HH100%
5.50.037.944.5True75.0HH100%
6.19.248.951.1True56.5MM100%
7.13.78.213.7True25.0LL100%
8.64.350.017.0True86.5VHVH100%
9.70.924.732.4True62.8HH100%
10.32.446.765.4True70.3HH100%
11.48.975.386.3True25.0LL100%
12.57.769.862.1True60.9HH100%
Table 9. Performance comparison with previous related works.
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 parametersFour inputs: temperature, humidity, smoke and flameYes. 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, CO2, O2 and flame.
Method or techniqueK-means clustering, adaptive ANFISSingle simulated expt. model using fuzzy logic methodAnalytical network processing (ANP), fuzzy logicFuzzy logic method, trained CNN, a deep learning techniqueTwo separate integrated simulated expt. models using fuzzy logic method
Accuracy rate (%)93.12%95.8%81.9%94.0%95.83%
False alarm detectionSends early warning signalsYes. Notification warningsGenerates a forest fire risk mapYes. Web notification platformYes. Determination of fire intensity status notifications followed with appropriate action.
Decision on two authenticationsNoYesNoNoYes

Share and Cite

MDPI and ACS Style

Lule, E.; Mikeka, C.; Ngenzi, A.; Mukanyiligira, D. Design of an IoT-Based Fuzzy Approximation Prediction Model for Early Fire Detection to Aid Public Safety and Control in the Local Urban Markets. Symmetry 2020, 12, 1391. https://doi.org/10.3390/sym12091391

AMA Style

Lule E, Mikeka C, Ngenzi A, Mukanyiligira D. Design of an IoT-Based Fuzzy Approximation Prediction Model for Early Fire Detection to Aid Public Safety and Control in the Local Urban Markets. Symmetry. 2020; 12(9):1391. https://doi.org/10.3390/sym12091391

Chicago/Turabian Style

Lule, Emmanuel, Chomora Mikeka, Alexander Ngenzi, and Didacienne Mukanyiligira. 2020. "Design of an IoT-Based Fuzzy Approximation Prediction Model for Early Fire Detection to Aid Public Safety and Control in the Local Urban Markets" Symmetry 12, no. 9: 1391. https://doi.org/10.3390/sym12091391

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

Article Metrics

Back to TopTop