TY - JOUR AU - Aguasca-Colomo, Ricardo AB - Abstract The use of wireless sensor networks (WSNs) and the Internet of things to detect forest fire outbreaks may help to reduce the response time and avoid natural disasters. This work proposes the deployment of WSN to enhance the real-time monitoring of dynamic variables such as polluting gases, temperature or the presence of fire flames by infrared. In addition, the activation of forest fire alerts if environmental status may involve evidence of a recent fire outbreak. A fuzzy-based controller is implemented to manage the uncertainty related to estimating forest fire occurrence and dynamic update of fuzzy sets is developed to distinguish usual and unusual environmental conditions of every monitored forest area. Merkle trees, AES and hash functions are considered to protect the integrity of environmental data. 1 Introduction Most of the forest fires generated are the result of human activity today. It is necessary to promote technological innovation in the environmental management of forest areas to promote the prevention and detection of forest fires. In Spain, the number of forest fires that occur every year is quite high. Their early detection is essential to prevent the occurrence of large forest fires. According to the Ministry of Agriculture, Fisheries and Food of Spain government, an average annual number of 12573 accidents occurred in the decade between the 2008 and 2017. The preliminary statistical revision of 2018 shows 7143 incidents, of which 1989 were forest fires [1]. There are different variables or dynamic risk factors that can alert at the beginning of a new fire. These include the increase in polluting gases typically released by the burning of plant-based fuels whose hydric stress, caused by climate conditions in forest areas over time, severely affects. Nowadays, the annual global average concentration of CO2 in the atmosphere exceeds 400 ppm [2]. Technological innovation in the field of wireless sensor network (WSN) [3] and the Internet of thing (IoT) [4] has made the monitoring of a large number of variables across different areas and environments possible. Among these variables, the polluting gases or the environmental temperature highlights. The progressive and unusual increase in temperature values in a forest area can also indicate the beginning of the combustion process of plant-based fuels. Likewise, there are other types of sensors that are quite useful for fires detection allowing fire flames to be detected on the basis of infrared technology in the proximity where the sensor is located. The development of an IoT prototype that integrates these sensors would allow detecting the presence of fire flames at a 360° angle. To this respect, different communication protocols and network architectures can be implemented to ensure the connectivity of the sensor nodes and the integrity, confidentiality and authenticity of the measured environmental information. However, the interpretation of environmental information measured by WSN for the activation of fire alerts can provide uncertainty and inaccuracy. The application of fuzzy logic-based methods can make the process of classifying and evaluating the status of the monitored environmental variables more efficient by expressing a level of membership of the data with different possible fuzzy sets, in contrast to classical logic. Mamdani inference or the Sugeno methods stand out [5]. The system proposed here implements a forest fire controller in charge of detecting forest fire outbreaks on the basis of analysing environmental variables and applying fuzzy logic techniques, such as the Mamdani inference. For this purpose, the existence of high concentrations of polluting gases, increases in temperature values or unusual light intensity jointly with detecting fire flames by infrared are monitored in real time using WSN. Fuzzy sets are dynamically updated depending on the usual environmental conditions of every monitored forest area. This work is structured as follows. Section 2 describes the related work. The proposed system and the security methods are detailed in Section 3. Then, the fuzzy-based controller implemented is explained in Section 4. Finally, Section 5 includes some conclusions, work in progress and future works. 2 Related work Nowadays, designing algorithms that could help in the detection of forest fires is a challenge. The advancement of new technologies makes possible the application of different methods that allow the detection of forest fires. To this respect, Mahmoud and Ren’s work [6] proposed a video-based image processing system to identify the presence of forest fires and avoid false alarms. Regarding unmanned aerial vehicle-based systems, a survey is proposed by Yuan et al. [7]. On the other hand, Yu et al. [8] proposed a neural network method to process network data through different proposed simulations with the aim of detecting fire. Molina-Pico et al.’s work [9] also highlighted and described a hierarchical network of wireless sensors for the early detection of fires in areas at risk. WSN usually have limited computing capacity, so the applied security algorithms must be adapted to this limitation. In addition to this, the integrity of information transmitted between nodes must be ensured. Martins and Guyennet’s work [10] detailed a survey related to some attacks and security mechanisms carried out in WSN. Similarly, Gao et al.’s [11] proposed a system to save resources on the IoT devices that generally compose WSN. The use of cryptography techniques ensures the security of services provided by IoT devices in the work of Choo et al.’s [12]. On the other hand, fuzzy logic is applied in systems with the aim of improving the management of uncertainty and inaccuracy related to the information managed by a system. Amri et al. [13] applied this technique for the location of WSN nodes. Furthermore, fuzzy logic can be also applied to analyse security processes and the existence of risks related to accident scenarios [14]. With regard to detect forest fires, several approaches provide fuzzy logic systems based on using environmental variables. Temperature, humidity, smoke, polluting gases or light stands out as their linguistic variables. They may provide evidence of unusual environmental changes [15, 16]. Other works propose decision systems based on integrating fuzzy models for long-term fire risk estimation [17]. With regard to other works, the system proposed in this work analyses dynamic environmental variables useful in fire detection, such as the detection of unusual polluting gases, temperature increases or nearby fire flames by infrared sensors at a range of 360°. The variation time between unusual measurements is also monitored. A specific WSN architecture is provided to measure environmental variables in real-time and a fuzzy-based controller analyses this information to evaluate the occurrence of forest fire outbreaks. Fuzzy sets are dynamically updated to classify input data as usual or unusual on the basis of the historical results provided by the fuzzy-based controller. Communications between WSN nodes and the Cloud Server are securely performed by encrypting the transmitted data, in addition to ensuring its integrity by applying hashes and authentication methods for WSN nodes. 3 WSN architecture This system proposes the deployment of a WSN through forest areas of interest with the aim of detecting outbreaks of a forest fire. A prototype of IoT device is implemented for the proposed WSN. Several useful environmental sensors are assembled and intended to detect the presence or fire flames, abrupt variations of light intensity and unusual measurements of temperature and polluting gases (CO2 and CO). Thus, each WSN node performs real-time monitoring of dynamic environmental variables in the forest area in which it is located at 360°. As Figure 1 shows, the proposed WSN follows a tree-based topology network. The forest area to be monitored is divided into quadrants. Regarding a specific colour code, each of these quadrants shows the status of dynamic environmental variables and the probabilities related to the beginning of a nearby outbreak of fire. Figure 1. Open in new tabDownload slide WSN distribution scheme. Figure 1. Open in new tabDownload slide WSN distribution scheme. This colour code is composed of green (low fire detection probabilities (LFDP)), yellow (medium fire detection probabilities (MFDP)), orange (high fire detection probabilities (HFDP)) and red (extreme fire detection probabilities (EFDP)). Every environmental package registered by the WSN is analysed by a fuzzy-based forest fire controller detailed in Section 4. This controller estimates the probabilities of forest fire outbreaks with respect to every monitored forest area aiming at enabling forest fire alerts and updating the environmental map integrated into the developed Web and the mobile applications. 3.1 IoT prototype, electronics and sensors Every WSN node is based on a specific IoT device implemented and composed of the main board Arduino Mega 2560, several environmental sensors and wireless communication modules (4G and Wi-Fi) aimed to allow communications between WSN nodes and the Cloud Server. The energy self-sufficiency of the device is provided by assembling a solar panel and lithium-based rechargeable batteries. Regarding the environmental measuring process, every IoT device contains 6 infrared-based fire flame sensors that are assembled following a ring structure, so enabling the detection of forest fire flames at 360°. Light-sensitive photoresistors are also integrated to evaluate unusual changes in light intensity at nights due to nearby fire flames. On the other hand, the analogue sensors MQ-135 and MQ-9 are considered to monitor the air quality of the forest area with the aim of detecting smoke and unusual increase of polluting gases emitted because of burning plant-based fuels. Finally, an infrared-based temperature sensor is integrated to monitor temperature measurements and unusual increases (see Figure 2). Figure 2. Open in new tabDownload slide IoT device schematics. Figure 2. Open in new tabDownload slide IoT device schematics. These Arduino-based WSN nodes are coordinated by gateways constituted by Raspberry Pi devices in charge of managing their environmental measurement cycle depending on the previous probabilities of forest fire outbreaks provided by the fuzzy controller. Thus, two-way communications between coordinators and Arduino microcontrollers are enabled. 3.2 Security scheme for WSN Figure 3 shows the security methods applied to ensure the integrity, confidentiality and authentication of environmental measurements registered by WSN. The implementation of some security methods highlights, such as the use of Merkle Trees and SHA-3 signature for signing environmental packages, Transport Layer Security for communications with the Cloud Server and AES Cipher Block Chaining. Figure 3. Open in new tabDownload slide Security scheme. Figure 3. Open in new tabDownload slide Security scheme. 4 Fuzzy-based fire detection method The fuzzy logic is used to implement a forest fire detection controller aimed to enhance the management of inaccuracy and uncertainty related to forest fire risk analysis and the detection of new outbreaks of fire (see Figure 4). For this purpose, Mamdani’s inference method is applied, so distinguishing 4 main steps: fuzzification, inference engine, aggregation of outputs and defuzzification. To this respect, the implemented fuzzy-based controller constitutes a complementary tool for the emergency corps, so that it is aimed to make efficient the monitoring of dynamic environmental factors, activating forest fire alerts and reduce the response time. Figure 4. Open in new tabDownload slide Fuzzy-based forest fire controller Figure 4. Open in new tabDownload slide Fuzzy-based forest fire controller Table 1 shows the notation used to explain fuzzy-based controller of fire outbreaks. Table 1. Notation fuzzy-based controller. Notation . Meaning . |$v$| Linguistic variable proposed for this fuzzy-based controller. It can take the following values: temperature, CO2, CO, fire_flame_detection, fire_flame_light, time_of_day, variable_variation_time. |${m}_v$| Measurement of linguistic variable v that constitutes an input value of the fuzzy-based forest fire controller |${\mu}_{fuzzy\_{set}_v(i)}({m}_v)$| The fuzzy value of the input value |${m}_v$| according to the i-th fuzzy set proposed for the linguistic variable v |$fuzzy\_ domain(v)$| Fuzzy domain proposed for linguistic variable v |$(\mathit{\max}\ |\min value)$||$fuzzy\_{domain}_v$| Maximum/minimum value of v’s fuzzy domain |$fuzz{y_{set}}_v(i)$| i-th fuzzy set proposed for the linguistic variable v |$maxHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Maximum historical value; maximum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$minHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Minimum historical value; minimum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$variation\_{interval}_v$| Variation interval of linguistic variable v. It is aimed to analyse increases and decreases of the variable v from the moment when unusual measurements are registered by a WSN node. Thus, this interval is used to define triangular-based fuzzy sets for unusual measurement classification with the aim of analysing in detail variations of fuzzy values over time (see Table 2). Notation . Meaning . |$v$| Linguistic variable proposed for this fuzzy-based controller. It can take the following values: temperature, CO2, CO, fire_flame_detection, fire_flame_light, time_of_day, variable_variation_time. |${m}_v$| Measurement of linguistic variable v that constitutes an input value of the fuzzy-based forest fire controller |${\mu}_{fuzzy\_{set}_v(i)}({m}_v)$| The fuzzy value of the input value |${m}_v$| according to the i-th fuzzy set proposed for the linguistic variable v |$fuzzy\_ domain(v)$| Fuzzy domain proposed for linguistic variable v |$(\mathit{\max}\ |\min value)$||$fuzzy\_{domain}_v$| Maximum/minimum value of v’s fuzzy domain |$fuzz{y_{set}}_v(i)$| i-th fuzzy set proposed for the linguistic variable v |$maxHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Maximum historical value; maximum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$minHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Minimum historical value; minimum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$variation\_{interval}_v$| Variation interval of linguistic variable v. It is aimed to analyse increases and decreases of the variable v from the moment when unusual measurements are registered by a WSN node. Thus, this interval is used to define triangular-based fuzzy sets for unusual measurement classification with the aim of analysing in detail variations of fuzzy values over time (see Table 2). Open in new tab Table 1. Notation fuzzy-based controller. Notation . Meaning . |$v$| Linguistic variable proposed for this fuzzy-based controller. It can take the following values: temperature, CO2, CO, fire_flame_detection, fire_flame_light, time_of_day, variable_variation_time. |${m}_v$| Measurement of linguistic variable v that constitutes an input value of the fuzzy-based forest fire controller |${\mu}_{fuzzy\_{set}_v(i)}({m}_v)$| The fuzzy value of the input value |${m}_v$| according to the i-th fuzzy set proposed for the linguistic variable v |$fuzzy\_ domain(v)$| Fuzzy domain proposed for linguistic variable v |$(\mathit{\max}\ |\min value)$||$fuzzy\_{domain}_v$| Maximum/minimum value of v’s fuzzy domain |$fuzz{y_{set}}_v(i)$| i-th fuzzy set proposed for the linguistic variable v |$maxHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Maximum historical value; maximum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$minHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Minimum historical value; minimum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$variation\_{interval}_v$| Variation interval of linguistic variable v. It is aimed to analyse increases and decreases of the variable v from the moment when unusual measurements are registered by a WSN node. Thus, this interval is used to define triangular-based fuzzy sets for unusual measurement classification with the aim of analysing in detail variations of fuzzy values over time (see Table 2). Notation . Meaning . |$v$| Linguistic variable proposed for this fuzzy-based controller. It can take the following values: temperature, CO2, CO, fire_flame_detection, fire_flame_light, time_of_day, variable_variation_time. |${m}_v$| Measurement of linguistic variable v that constitutes an input value of the fuzzy-based forest fire controller |${\mu}_{fuzzy\_{set}_v(i)}({m}_v)$| The fuzzy value of the input value |${m}_v$| according to the i-th fuzzy set proposed for the linguistic variable v |$fuzzy\_ domain(v)$| Fuzzy domain proposed for linguistic variable v |$(\mathit{\max}\ |\min value)$||$fuzzy\_{domain}_v$| Maximum/minimum value of v’s fuzzy domain |$fuzz{y_{set}}_v(i)$| i-th fuzzy set proposed for the linguistic variable v |$maxHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Maximum historical value; maximum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$minHV\ ( fuzz{y_{set}}_v$||$(Usual))$| Minimum historical value; minimum discrete value with a 100 % level of membership with respect to the fuzzy set usual defined for variable v |$variation\_{interval}_v$| Variation interval of linguistic variable v. It is aimed to analyse increases and decreases of the variable v from the moment when unusual measurements are registered by a WSN node. Thus, this interval is used to define triangular-based fuzzy sets for unusual measurement classification with the aim of analysing in detail variations of fuzzy values over time (see Table 2). Open in new tab 4.1 Linguistic variables The following list details the input linguistic variables considered for the proposed fuzzy-based fire controller: Environmental dynamic variables monitored by WSN: temperature (temperature), carbon dioxide (CO2) and carbon monoxide (CO) as polluting gases (increased as a result of the burning process of plant-based fuels). The input values for the inference engine are the last measurement, the second last measurement and the average of every variable. Light intensity (fire_flame_light). Measured by light-sensitive photoresistors assembled to each WSN IoT node. Like the previous case, the last measurement, the second last measurement and the average are used. This variable is considered by the inference engine depending on the time of day in which it is analysed. To this respect, the time of day is also treated as a linguistic variable (time_of_day) whose membership functions determine fuzzy values ‘daylight’ or ‘nightlight’ with regard to a particular input time data. This variable can be useful in night periods to detect unusual light changes caused by a close fire flame. However, during the daytime, the natural sunlight makes determining with certainty that a change in measured light intensity is caused by a nearby flame difficult. For each linguistic variable, the time elapsed (variable_variation_time) between the last registered measurement and a previously registered measurement whose corresponding fuzzy values are different. This linguistic variable is only evaluated by inference rules if the fuzzy value corresponding to the last environmental measure presents high membership levels with fuzzy sets different from usual (fuzzy set defined for every input linguistic variable for classifying usual measurements). Therefore, indicating that the environmental measurements are not usually registered in the forest area where the WSN node is located. This linguistic variable is used to evaluate the increase in the probabilities related to the occurrence of forest fire outbreaks based on the variations over time of the environmental linguistic variables (see Figure 5). Fire flame detection (fire_flame_detection). This linguistic variable detects by infrared the existence of fire flames on the basis of an angle of 60° according to the direction where the sensor is located. If the value returned by the flame presence sensor integrated into every WSN node is closer to 0, then there is a greater probability of a nearby flame. Like the aforementioned linguistic variables, the membership function implemented classifies the measurement of fire flame presence depending on whether it is a usual or unusual measurement with regard to the forest area where the corresponding sensor is located. Figure 5. Open in new tabDownload slide Time between different fuzzy values of unusual measurements Figure 5. Open in new tabDownload slide Time between different fuzzy values of unusual measurements Figure 6 shows the proposed generic form for the membership functions of temperature, CO2, CO, light intensity due to fire flames and the presence of fire flames. For these variables, the fuzzy set usual highlights and it is intended to classify all environmental measurements considered usual or normal in the forest area where every WSN node is located. It means that these types of measurements do not have historically provided medium, high or extreme probabilities of forest fire outbreaks. This fuzzy set is dynamically updated with regard to each monitored zone and WSN IoT device according to the defined Feedback process. This is supplied from the outputs obtained by the fuzzy controller with each new environmental information package analysed. These outputs define the probabilities that a recent fire has been generated in the proximity of the sensor. Thus, this process updates one maximum (maxHV) and one minimum (minHV) environmental historical value or measurement with a membership level of 100% with the usual fuzzy set. Because each IoT node is located in a different forest area characterized by different environmental conditions, a different and specific usual fuzzy set is updated for each of them. Figure 6. Open in new tabDownload slide Usual fuzzy set and triangular-based unusual fuzzy sets Figure 6. Open in new tabDownload slide Usual fuzzy set and triangular-based unusual fuzzy sets Table 2. Variation interval defined for input linguistic variables. Linguistic variable . |$variation\_{interval}_v$| . Temperature 5°C CO2 50 ppm CO 10 ppm Light Intensity 100 (raw sensor data) Fire flame presence 50 (raw sensor data) Linguistic variable . |$variation\_{interval}_v$| . Temperature 5°C CO2 50 ppm CO 10 ppm Light Intensity 100 (raw sensor data) Fire flame presence 50 (raw sensor data) Open in new tab Table 2. Variation interval defined for input linguistic variables. Linguistic variable . |$variation\_{interval}_v$| . Temperature 5°C CO2 50 ppm CO 10 ppm Light Intensity 100 (raw sensor data) Fire flame presence 50 (raw sensor data) Linguistic variable . |$variation\_{interval}_v$| . Temperature 5°C CO2 50 ppm CO 10 ppm Light Intensity 100 (raw sensor data) Fire flame presence 50 (raw sensor data) Open in new tab For each environmental linguistic variable considered (temperature, CO2, CO, etc.), n triangular-based fuzzy sets (denoted as unusual–fuzzy set i-th from i=1 to i=n) are added to their corresponding membership functions aimed to classify unusual measurements in the monitored forest areas. The amplitude of each one of these triangular fuzzy sets is defined according to the variation interval defined for each linguistic variable (see Table 2). Once the environmental measurements of a linguistic variable are unusual with regard to a monitored forest area, it is possible to classify their changes (increase and decrease) through the corresponding membership functions. To this respect, the proposed inference engine can evaluate the aggravation of the status of an environmental variable with respect to the increased probabilities of a forest fire. The following equation shows the fuzzification process of a measurement |${m}_v$| according to a triangular-based unusual fuzzy set (taking into account n triangular sets calculated). $$ \forall \left({m}_v> maxHV\ \left( fuzzy\_{set}_v(Usual)\right)\right), $$ $$\begin{align*} \exists n\in \mathbb{N}\mid n=\frac{\mid \left(\mathit{\max}\ value\right) fuzzy\_{domain}_v-{maxHV}_v\mid }{variation\_{time}_v},\exists i\in \mathbb{N}\mid 1\le i\le n\\[-4pt] \Rightarrow{\mu}_{fuzzy\_{set}_v\left( Unusual\_ FS(i)\right)}\ \left({m}_v\right)>0\%\qquad\qquad\qquad\qquad \end{align*}$$ Thus, a dynamic membership function for every linguistic variable and every WSN is implemented and it is composed of the fuzzy set usual (usual measurements) and n triangular-based unusual fuzzy sets (unusual measurements). Figure 7 shows the membership functions defined for the environmental linguistic variables proposed for a specific WSN node. Detailed the fuzzy sets of each membership function, the calculation of the fuzzy value corresponding to a discrete input value of the proposed controller (such as a measurement of temperature) is performed according to the following equation. To this respect, the sum of the calculated levels of membership for the measurement |${m}_v$| with respect to all fuzzy sets |$fuzz{y_{set}}_v(i)$| defined for variable v is 1. $$ \sum{\mu}_{fuzzy\_{set}_v(i)}\left({m}_v\right)=1 $$ Figure 7. Open in new tabDownload slide Membership functions Figure 7. Open in new tabDownload slide Membership functions In addition to this, two measurement limits are defined for every input linguistic variable to manage strange environmental conditions that can result in forest fires. The aim is enhancing the classification possibilities of unusual environmental measurements and estimating probabilities of forest fire outbreaks occurrence. These limits can be defined and updated manually from the Web application. They are intended to provide a new membership function composed of 3 fuzzy sets to classify unusual measurements (medium, high and extreme measurements) or calculated by the default (see Figure 8). Figure 8. Open in new tabDownload slide Usual, medium, high and extreme fuzzy sets Figure 8. Open in new tabDownload slide Usual, medium, high and extreme fuzzy sets Regarding the second case, the following equation can be used to calculate the amplitude of each of these trapezoidal-based fuzzy sets (trapezoid_range). Regarding a linguistic variable, the maximum value of the fuzzy domain (lim_max_fuzzy_domain), its aforementioned maxHV (maximum historical value) and its variation interval (variation_interval) are used. Inference rules also evaluate the output values depending on whether the unusual discrete measurement is fuzzified into medium. High or extreme fuzzy values (regardless of how the linguistic variable changes through triangular-based fuzzy sets). $$ trapezoid\_ range=\frac{\mid \lim \_\max \_ fuzzy\_{domain}_v-\left({maxHV}_v+ variation\_{interval}_v\right)\mid }{3\ fuzzy\ sets\ \left( Medium, Hight, Extreme\right)} $$ The following equation defines the trapezoidal-based fuzzy sets for medium unusual measurements. High and extreme trapezoidal fuzzy sets are defined similarly. $$\begin{align*} t=\left( maxHV+ variation\_{interval}_v\right),\qquad\qquad\qquad\\z=\left(\left( maxHV- variation\_{interval}_v\right)+ trapezoid\_ range\right), \end{align*}$$ $$ {x}_{Medium}\left({m}_v\right)=\left\{\begin{array}{c}0,{m}_v< maxHV\\{}\frac{m_v- maxHV}{t- maxHV}, maxHV\le{m}_v\le t\\{}\ 1,t\le{m}_v\le z\\{}\frac{z-{m}_v}{z-\left(z- variatio{n_{interval}}_v\right)},\left(z- variatio{n}_{interval}\right)\le{m}_v\le z\ \end{array}\right. $$ Table 3. Linguistic variables description. Linguistic variable . Fuzzy domain . Fuzzy sets . Usual set . Unusual set . Temperature (temperature) 0–50°C {Usual, n triangular-based Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 50°C Carbon Dioxide (CO2) 0–10000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 10000 Carbon monoxide (CO) 0 − 1000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 1000 Fire flame (fire_flame_detection) 0 − 1023 (with the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Light intensity (fire_flame_light) 0 − 1023 (without the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Time of the day (time_of_day) 0–24 hours {DayLight, NightLight} — — Time (variable_variation_time) 0–60 minutes {very fast, fast, medium, slow} — — Linguistic variable . Fuzzy domain . Fuzzy sets . Usual set . Unusual set . Temperature (temperature) 0–50°C {Usual, n triangular-based Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 50°C Carbon Dioxide (CO2) 0–10000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 10000 Carbon monoxide (CO) 0 − 1000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 1000 Fire flame (fire_flame_detection) 0 − 1023 (with the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Light intensity (fire_flame_light) 0 − 1023 (without the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Time of the day (time_of_day) 0–24 hours {DayLight, NightLight} — — Time (variable_variation_time) 0–60 minutes {very fast, fast, medium, slow} — — Open in new tab Table 3. Linguistic variables description. Linguistic variable . Fuzzy domain . Fuzzy sets . Usual set . Unusual set . Temperature (temperature) 0–50°C {Usual, n triangular-based Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 50°C Carbon Dioxide (CO2) 0–10000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 10000 Carbon monoxide (CO) 0 − 1000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 1000 Fire flame (fire_flame_detection) 0 − 1023 (with the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Light intensity (fire_flame_light) 0 − 1023 (without the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Time of the day (time_of_day) 0–24 hours {DayLight, NightLight} — — Time (variable_variation_time) 0–60 minutes {very fast, fast, medium, slow} — — Linguistic variable . Fuzzy domain . Fuzzy sets . Usual set . Unusual set . Temperature (temperature) 0–50°C {Usual, n triangular-based Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 50°C Carbon Dioxide (CO2) 0–10000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 10000 Carbon monoxide (CO) 0 − 1000 ppm {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} 0 − (maxHV + variation_interval) maxHV − 1000 Fire flame (fire_flame_detection) 0 − 1023 (with the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Light intensity (fire_flame_light) 0 − 1023 (without the unit, raw data from analogue sensor) {Usual, n triangular Unusual fuzzy sets} {Usual, Medium, High, Extreme} (minHV − variation_interval) − 1023 0 − (minHV − variation_interval) Time of the day (time_of_day) 0–24 hours {DayLight, NightLight} — — Time (variable_variation_time) 0–60 minutes {very fast, fast, medium, slow} — — Open in new tab Table 3 shows a summary of the input linguistic variables. The last two columns detail the range of discrete values from which the input data of the controller can present membership levels > 0% with the usual fuzzy set and the triangular-based fuzzy sets. Thus, the maximum historical value without providing outbreak of fire detection (maxHV) and the minimum historical value without providing outbreak of fire (minHV) highlight. Likewise, the defined variation interval in case of existing an unusual environmental situation (variation_interval) stands out (detailed in Table 2). Finally, the output linguistic variable is the probabilities of forest fire outbreaks occurrence with regard to the forest area where input environmental measurements were registered by a particular WSN node (see Figure 9). Its universe of discourse is the percentage (%), so the outputs obtained by inference rules must range from 0 to 100% (fuzzy domain). The fuzzy sets proposed for this variable are LFDP, MFDP, HGDP and EFDP. Figure 9. Open in new tabDownload slide Detection of forest fire outbreaks Figure 9. Open in new tabDownload slide Detection of forest fire outbreaks 4.2 Knowledge base and inference rules The following list shows the main guidelines considered to generate the knowledge base and the inference rules of the fuzzy-based controller intended to analyse the fuzzy values obtained by fuzzification step: Guideline 1. Environmental measures that present a level of membership with the fuzzy set usual involve low probability that a forest fire has been started (that means LFDP). Guideline 2. When the input value of an input linguistic variable presents levels of membership >0% with some unusual fuzzy sets (unusual environmental measurements), it is evaluated whether the fuzzy value of the last registered measurement differs from the fuzzy value of the second-last measurement, thus increasing the probability that a nearby outbreak of fire has been started. To this respect, variations between the fuzzy sets of unusual type are analysed. Guideline 3. Like the previous guideline although analysing the variations between the fuzzy values according to the last environmental measurement and the average calculated (without including the last one). Guideline 4. With regard to the linguistic variable of light intensity (fire_flame_light), the proposed inference rules evaluate an increase in light intensity due to a possible nearby fire flame. It is only evaluated if the fuzzy value of the linguistic variable time_of_day presents membership levels higher than 0% with the fuzzy set NightLight (so indicating night period of the current day). Guideline 5. Once thresholds for classifying unusual measurements as medium, high or extreme measurements are defined (see Figure 8), the occurrence of forest fire outbreaks is estimated according to the fuzzy sets of the output linguistic variable (LFDP, MFDP, HFDP, EFDP). Guideline 6. The elapsed time (variable_variation_time) in which the fuzzy value of an input linguistic variable changes to another unusual fuzzy set that involves greater probabilities of forest fire outbreaks is evaluated. Guideline 7. Moves between triangular-based unusual fuzzy sets have also been considered to evaluate the increase of forest fire risks. To this respect, quantifying and evaluating how many fuzzy sets differ from the fuzzy value of the last measurement and the corresponding fuzzy value of the second-last measurement. Table 4 shows the inference rules defined to evaluate the elapsed time in which an environmental linguistic variable change from i-th triangular-based unusual fuzzy set to another increasing forest fire probabilities (Variable_variation_time and Forest fire outbreak probabilities columns, respectively). The column Fuzzy values for unusual measurements independently evaluates the existence of forest fire risks (according to Guideline 5). Finally, the column Moves between triangular-based fuzzy sets analyses forest fire outputs although independently with regard to the other columns. Table 4 Inference rules. Variable_variation_time . Fuzzy values for unusual measurements . Moves between triangular-based sets . Forest fire outbreak probability . Very low EFDP >2 moves Extreme Low HFDP ≤2 moves High Medium MFDP ≥1 moves Medium High LFDP 0 moves Low Variable_variation_time . Fuzzy values for unusual measurements . Moves between triangular-based sets . Forest fire outbreak probability . Very low EFDP >2 moves Extreme Low HFDP ≤2 moves High Medium MFDP ≥1 moves Medium High LFDP 0 moves Low Open in new tab Table 4 Inference rules. Variable_variation_time . Fuzzy values for unusual measurements . Moves between triangular-based sets . Forest fire outbreak probability . Very low EFDP >2 moves Extreme Low HFDP ≤2 moves High Medium MFDP ≥1 moves Medium High LFDP 0 moves Low Variable_variation_time . Fuzzy values for unusual measurements . Moves between triangular-based sets . Forest fire outbreak probability . Very low EFDP >2 moves Extreme Low HFDP ≤2 moves High Medium MFDP ≥1 moves Medium High LFDP 0 moves Low Open in new tab The outputs obtained by the evaluation of the inference rules are aggregated in the same output set that represents all the probabilities of forest fire occurrence in the area where the environmental measurements were registered. The fuzzy values corresponding to these input environmental measurements are evaluated to trigger inference rules and obtain the final output set. Finally, centroid method is applied to convert this set into a final discrete percentage value. Thus, the probabilities of detecting a new forest fire outbreak are calculated. 5 Conclusions and future work This proposal provides a forest fire detection controller intended to activate forest fire alerts by measuring environmental dynamic variables, such as polluting gases, temperature, luminosity and the presence of nearby fire flames. For this purpose, a WSN distributed throughout forest areas is proposed. This fuzzy-based controller enhances the real-time analysis of unusual environmental measurements registered by an implemented IoT prototype. A method for dynamically updating the implemented fuzzy sets is proposed to improve the interpretation of usual and unusual measurements registered in every monitored forest area. Thus, this controller is capable of specifically estimating the probabilities of forest fire outbreaks depending on every forest area. Special interest is given to ensure the integrity, confidentiality and authenticity of the transmitted measurements and the activated forest fire alerts. Some works in progress and future lines are as follows. Regarding the fuzzy logic, the introduction of fuzzy neural networks and fuzzy decision trees on the controller is being evaluated to enhance the certainty of detecting forest fire. Other innovative IoT proposals are being studied, such as the integration of camera-based fire flames detection. With regard to the security scope, a survey of other low-computer encryption solutions for WSN nodes is being developed. Acknowledgements Research supported by the CDTI and the Ministry of Science, Innovation and Universities under Projects C2017/3-9, RTI2018-097263-B-I00 and TESIS2015010106. References 1 Ministerio de Agricultura, Pesca y Alimentación . Estadísticas provisionales año , 2018 . https://www.mapa.gob.es/es/desarrollo-rural/estadisticas/iiff_2018_tcm30-507741.pdf. (Accessed 24 June 2019) . 2 J. I. Santos , A. E. Cesarin, C. A. Sales, M. B. Triano, P. F. R. B. Martins, A. F. Braga and N. J. Neto Increase of atmosphere CO2 concentration and its effects on culture/weed interaction . International Journal of Biological, Biomolecular, Agricultural, Food and Biotechnological Engineering , 11 , 419 – 426 , 2017 . Google Scholar OpenURL Placeholder Text WorldCat 3 I. F. Akyildiz , W. Su, Y. Sankarasubramaniam and E. Cayirci Wireless sensor networks: a survey . Computer Networks , 38 , 393 – 422 , 2002 . Google Scholar Crossref Search ADS WorldCat 4 L. Atzori , A. Iera and G. Morabito The internet of things: a survey . Computer Networks , 54 , 2787 – 2805 , 2010 . Google Scholar Crossref Search ADS WorldCat 5 C. C. Lee Fuzzy logic in control systems: fuzzy logic controller. II . IEEE Transactions on Systems, Man, and Cybernetics , 20 , 419 – 435 , 1990 . Google Scholar Crossref Search ADS WorldCat 6 M. A. I. Mahmoud and H. Ren Forest fire detection and identification using image processing and SVM . Journal of Information Processing Systems , 15 , 2019 . Google Scholar OpenURL Placeholder Text WorldCat 7 C. Yuan , Y. Zhang and Z. Liu A survey on technologies for automatic forest fire monitoring, detection, and fighting using unmanned aerial vehicles and remote sensing techniques . Canadian Journal of Forest Research , 45 , 783 – 792 , 2015 . Google Scholar Crossref Search ADS WorldCat 8 L. Yu , N. Wang and X. Meng Real-time forest fire detection with wireless sensor networks . In International Conference on Wireless Communications, Networking and Mobile Computing, 2005 , vol. 2, pp. 1214 – 1217 , IEEE , 2005 . Google Scholar OpenURL Placeholder Text WorldCat 9 A. Molina-Pico , D. Cuesta-Frau, A. Araujo, J. Alejandre and A. Rozas Forest monitoring and wildland early fire detection by a hierarchical wireless sensor network . Journal of Sensors , 2016 , 2016 . https://doi.org/10.1155/2016/8325845. Google Scholar OpenURL Placeholder Text WorldCat 10 D. Martins and H. Guyennet Wireless sensor network attacks and security mechanisms: a short survey . In International Conference on Network-Based Information Systems , pp. 313 – 320 , IEEE , 2010 . Google Scholar OpenURL Placeholder Text WorldCat 11 M. Gao , Q. Wang, M. T. Arafin, Y. Lyu and G. Qu Approximate computing for low power and security in the internet of things . Computer , 6 , 27 – 34 , 2017 . Google Scholar Crossref Search ADS WorldCat 12 K. K. Choo , S. Gritzalis and J. H. Park Cryptographic solutions for industrial internet-of-things: research challenges and opportunities . IEEE Transactions on Industrial Informatics , 14 , 3567 – 3569 , 2018 . Google Scholar Crossref Search ADS WorldCat 13 S. Amri , F. Khelifi, A. Bradai, A. Rachedi, M. L. Kaddachi and M. Atri A new fuzzy logic based node localization mechanism for wireless sensor networks . Future Generation Computer Systems , 93 , 799 – 813 , 2019 . Google Scholar Crossref Search ADS WorldCat 14 A. S. Markowski , M. S. Mannan and A. Bigoszewska Fuzzy logic for process safety analysis . Journal of Loss Prevention in the Process Industries , 22 , 695 – 702 , 2009 . Google Scholar Crossref Search ADS WorldCat 15 P. Bolourchi and S. Uysal Forest fire detection in wireless sensor network using fuzzy logic . In International Conference on Computational Intelligence, Communication Systems and Networks , 83 – 87 , IEEE , 2013 . Google Scholar OpenURL Placeholder Text WorldCat 16 P. Manjunatha , A. K. Verma and A. Srividya Multi-sensor data fusion in cluster based wireless sensor networks using fuzzy logic method . In IEEE Region 10 and the Third International Conference on Industrial and Information Systems , 1 – 6 , IEEE , 2008 . Google Scholar OpenURL Placeholder Text WorldCat 17 L. S. Iliadis Decision support system applying an integrated fuzzy model for long-term forest fire risk estimation . Environmental Modelling & Software , 20 , 613 – 621 , 2005 . Google Scholar Crossref Search ADS WorldCat © The Author(s) 2020. Published by Oxford University Press. All rights reserved. For permissions, please e-mail: journals.permission@oup.com. This article is published and distributed under the terms of the Oxford University Press, Standard Journals Publication Model (https://academic.oup.com/journals/pages/open_access/funder_policies/chorus/standard_publication_model) TI - Detection of forest fires outbreaks by dynamic fuzzy logic controller JF - Logic Journal of the IGPL DO - 10.1093/jigpal/jzaa036 DA - 2020-09-12 UR - https://www.deepdyve.com/lp/oxford-university-press/detection-of-forest-fires-outbreaks-by-dynamic-fuzzy-logic-controller-SOVzy29jj7 SP - 1 EP - 1 VL - Advance Article IS - DP - DeepDyve ER -