Forest Fire Prediction Using IoT and Deep Learning
Forest Fire Prediction Using IoT and Deep Learning
net/publication/359118440
CITATIONS READS
20 3,905
5 authors, including:
SEE PROFILE
All content following this page was uploaded by Kamal Upreti on 09 March 2022.
Abstract
Forests are the most important part of the human life as it maintains an environmental balance to get proper rain and
sufficient resources accordingly. The major threat raising in forest areas is a fire, in which the forest fire scenario is the
most important cause to destroy many trees and animals within a few hours. The technologies such as deep learning, IoT
and smart sensors provide a lead to design a smart forest fire prediction scheme to support nature to manage the
ecosystem in the proper way. This paper is intended to design a forest fire prediction mechanism. Learning-based forest
fire prediction scheme (LBFFPS) based on deep learning has been proposed for the prediction in the timely manner. This
approach identifies the forest fire based on the sensor unit associated with the system with respect to the learning logics.
A digital camera with 1020-megapixel has adapted for the surveillance. The sensor unit consists of two different and
powerful sensors such as smoke identification sensor and the temperature and humidity monitoring sensor. Based on
these two sensors the surrounding smoke presence, temperature and the humidity level have been identified and reported
using the NodeMCU controller. In this application, internet of things (IoT) is associated, to provide a wireless
communication alert ability. It collects and maintain the information regarding the forest provided by the sensor unit to
the remote cloud server environment. The NodeMCU microcontroller has an inbuilt WiFi to acquire the internet signals
and provides a constant bridge between the sensor unit and the server end for remote data maintenance. The proposed
logic is helpful to identify the fire signals and inform the respective person to take appropriate action to prevent the forest
fire.
Keywords
Deep learning, Forest fire prediction, Internet of Things (IoT), LBFFPS.
forest area and the prediction of forest fire scenario Satellite based forest fire surveillance technologies'
occurrence using deep learning strategy with respect usable spectrum is also constrained by a number of
to artificial intelligence logic. The evaluation and characteristics, reducing their usefulness in detecting
comparison of many models produced from deep forest fires. For instance, an intelligence gathering
learning enabled us to demonstrate the viability of an system works on a continuous screening period and
independent as well as legitimate ecological its overloaded pixel dotted images have a few
surveillance infrastructure for evolving risk features. The additional issue is that cloud coverings
associated with forest fire scenarios. might obscure photographs throughout the screening
phase and quantitative characterization of forest fire
In this paper a deep learning-based forest fire parameters in a timely manner is exceedingly hard to
prediction logic have been applied using internet of perform [3, 4]. Due to these challenges, IoT enabled
things (IoT) and smart sensor unit assisted device devices with wireless communication network-based
called a smart forest monitoring kit (SFMK) for the data transmission technology as a monitoring system
forest fire prediction. In this SFMK, different smart are needed [5]. It is capable in analysing real
sensors and devices are gathered to provide a associated factors, such as temperature and relative
sufficient service to acquire the data from forest humidity and transmitting the data directly to the
environment. These details are forwarded to the remote cloud server monitoring computer. It will be
cloud server for further processing. In the server end, helpful in the organization and analysis of the
a deep learning model called learning-based forest information gathered. In comparison to conventional
fire prediction scheme analysed the incoming data to data and fundamental sustainable forest information,
check the forest fire indications. If any fire the technology is capable of making an instant
indications are identified, immediately that will be evaluation of a possible fire threat. The gathered
alerted to the respective person to take an appropriate information will subsequently be forwarded to the
action. appropriate authority as the foundation for setting
regulatory regarding firefighting or rescue operations.
The main aim of this research is to provide a
sufficient methodology to avoid forest fire accidents, The objectives of this paper are as follows:
in which it causes a huge destruction to people 1.To develop a framework based on deep learning
around the forest as well as the living beings and model for the accurate forest fire prediction
animals found in the forest region. This research is scenario and report to avoid disasters in a timely
helpful to identify the forest fires at an earlier stage manner.
and report it accordingly to the respective authority to 2.To establish a proper communication and
alert them to take appropriate action to preserve the monitoring based on IoT device.
disaster further. Mainly the intention of this research 3.To integrate the SFMK for the intellectual
is to save the living creatures and trees present in the monitoring scheme with respect to sensors and
forest area from this kind of disaster. This kind of camera associated with it.
forest fires causes a huge loss in the natural
environment and spoil the trees presented into the In this paper an efficient learning-based forest fire
forest. So that the natural environment balancing is prediction scheme (LBFFPS) have been proposed to
mismatched and even the continuous cause of such identify the forest fire. The logical evaluation of such
things leads to an environmental collapse. schemes provides a good prediction logic and
abilities to monitor the forest-oriented information
Forest fire prediction systems presently rely heavily from anywhere in the globe by using wireless
on processions, inspection of guard posts and more communication medium.
recently, surveillance systems [1, 2]. While
monitoring from guard posts is simple as well as The rest of the paper is organized as follows.
feasible, it does have a number of drawbacks. To Literature review has been discussed in section 2.
begin, this approach necessitates significant technical Section 3 contains the method discussion. Results
and logistical resources, and also a highly skilled and discussion have been explored in section 4.
labour workforce. Furthermore, numerous issues with Concluding remarks have been pointed to the final
fire prevention workforce exist, including inattention, conclusion section.
leave from duty, a shortage of actual surveillance
capability and restricted coverage area [1–8].
247
J Ananthi et al.
influences of the input factors on burned-area used to assess the fire safety of Russian railways
forecasts through informative feature selection. infrastructure installations.
Optimizing with independent objective functions for
mean absolute error (MAE) and root mean square In 2021, Preeti et al. [20] obtained the data set from
error (RMSE) gives more information with which to Kaggle, which comprises of meteorological data, and
data mining of each total burned area incident was then conducted an exploratory analysis, which
possible. Beyond regression and correlation-based included pre-processing and transforming categorical
methods, the proposed method might be easily data to numerical data in order to make the dataset
modified to anticipate and data mine generic more understandable. Following the preprocessing
agricultural systems. They are dependent on complex procedure, hotspot locations are identified using
interactions between meteorological and meteorological data from the data set, and models are
environmental variables. used to forecast the likelihood of a fire occurrence
and send a notification to the nearest station. The
In 2021, Singh et al. [18] collected the data from the Montesano Natural Park in the European country
Indian Meteorological Department. This data is made provided 517 observations and 13 variables for the
up of meteorological data from India's forest regions dataset. By using the RandomizedSearchCV
for the last 15 years. The university of california, algorithm, they performed RF regression and
irvine (UCI) and Indian Meteorological datasets, hyperparameter tuning on several sub-samples of the
respectively, contain information regarding forest dataset, it fits to numerous decision trees and provide
fires and meteorological data. The UCI dataset averaging to increase the predicted accuracy and
yielded 517 instances of data, with 155 instances of control over-fitting. Forest fire incidents can be
data being used for validation. The parallel SVM represented based on the analysis of models with all
algorithm is used to construct a reliable Forest Fire of the relevant meteorological parameters. They
Prediction system. In the prediction procedure, compared various models for predicting forest fires,
SPARK and PySpark were used to do data including ANN, Decision Tree, SVM and RF
segmentation and feature selection. To successfully algorithms. The use of RandomizedSearchCV
train the meteorological data and predict the forest coefficient calculation utilising Hyperparameter
fire, a parallel SVM model is constructed. For the tuning yields the best results. It obtained the Root
forecast of a forest fire, Parallel SVM uses the mean squared error (RMSR) 0.07, Mean absolute
forecast weather index (FWI) and some weather error (MAE) 0.03, Mean squared error (MSE) 0.004.
characteristics. To determine the model's efficiency,
the parallel SVM model is tested on data from India In 2021, Vikram et al. [21] proposed the
and Portugal. In the Portugal data, the parallel SVM classification model which is based on a traditional
model has an RMSE of 63.45 while the SVM dataset taken from Montesano Natural Park in
approach has an RMSE of 63.5. Portugal during a forest fire. They proposed a
strategy for using predictive analytics to detect forest
In 2021, Baranovskiy et al. [19] used the fires early. The forest is separated into different zones
development of information and computer systems using this method. The semi-supervised classification
for anticipating the fire safety of Russian railways' technique is used to anticipate the status of a zone,
infrastructure. It facilitates an important link in the such as high active (HA), medium active (MA), and
battle against fires in WUI areas. They used the low active (LA). Static sensors, mobile sensors, and
parallel computer technology, a numerical an Initiator node are all present in each zone. Using
investigation of heat transmission mechanisms in the the Random trajectory generation (RTG) technique,
enclosing framework of a wooden building near the initiator nodes in the LA and MA zones transmit their
forest fire front. The complexity of the algorithm O mobile nodes (MN) to the closer HA zone for speedy
(2N2 + 2K) is used to implement the deterministic forest fire prediction. This strategy creates the MN
model of heat transmission in the enclosing structure. movement path by generating intermediary sites
The NumPy and Concurrent libraries are used to between the LA/MA and HA zones. The anchor
implement the programme in Python 3.x. The nodes track the movement of MN using a compressed
calculations were done at the Sirius University of sensing-based Gradient descent (GD) localization
Science and Technology on a multiprocessor cluster. algorithm. This approach lowers MN's energy usage,
The acceleration coefficient and calculation results resulting in a longer network lifetime. The accuracy
for operating modes 1, 2, 4, 8, 16, 32, 48, and 64 of MN's path detection is improved by analysing its
processes were shown. The proposed method can be localization error as it travels towards the HA zone.
249
J Ananthi et al.
250
International Journal of Advanced Technology and Engineering Exploration, Vol 9(87)
Table 1 Forest fire hazard classification with respect to environmental weather index
Weather Index Ratio Category Hazard
Low indexing 0 to 5 Forest fire surface that is encroaching. Perhaps the forest fire is self-extinguishing.
Moderate indexing 6 to 10 Forest region fires with a less intensity. Simple to extinguish with hand instruments.
High indexing 11 to Forest fire surface that is moderately Pumps with electric motors and pipes are essential.
20A aggressive.
Very high indexing 21 to 30 Extremely hot forest surface fire. Complex to Control.
Extreme indexing 31 and Extreme fire propagation. It is vital to take swift and decisive action.
above
Temperature and Humidity Sensor liquids such as propane, petroleum-based fluids and
In this approach, a powerful and robust temperature hydrogen.
and humidity monitoring sensor is utilized, that is Learning-based Forest fire prediction scheme
called as DHT11. This sensor accumulates the (LBFFPS)
temperature by using the standard DHT11 library and In this paper, a deep learning based LBFFPS has
converts the accumulated value from Celsius to been introduced. It is executed on the server end to
Fahrenheit by means of the standard formulation as process the data acquired from smart device SFMK.
below (Equation 1): This learning process trains the machine based on the
data acquired from the forest region and tests the
T°F T°C × ( )+32 (1) real-time information with respect to the trained
model. The trained model is created from the real-
time data acquired from the SFMK, in which the real
Where T indicates the temperature, F indicates
data accumulating from the device are undergone into
Fahrenheit and C indicate Celsius. The relative
cross-validation with respect to the created model.
humidity is estimated based on the following
The data is considered to be problem free means; it
formulation as below (Equation 2):
will be stored into the remote server end for two
purposes such as: (i) maintenance and monitoring
rH ( ) × 100% (2) from remote end as well as (ii) the processed data is
maintained in the remote cloud server end for
Where rH indicates relative humidity, Pw indicates the validating the further testing records. The camera
density of water vapor and Ps indicates the density of module associated with the device is used to monitor
the saturation level of water vapor. the forest regions in a pictorial way to maintain the
forest region without any misuses and accidents
Gas Sensor occurring. The algorithm of LBFFPS illustrates the
This is a limited expense semi-conductor based MQ2 specification and process flow of the proposed
smoke/gas identification sensor module in associated model.
with analog as well as digital outputs that is
extremely simple to operate. Like a gaseous Algorithm: LBFFPS
substance sensing element, this component makes use Input: Forest weather data and smoke ratio, which is
of the MQ2 gas, smoke and flammable gas gathered from the SFMK
monitoring sensor. It does not involve any additional Output: Fire prediction ratio and accuracy metrics
features; simply connect the power input to voltage Step 1: Importing the required libraries to process the
common collector (VCC) and ground pins to ground learning scheme data.
(GND), in which it is good enough to go. The Step 2: Acquire the input from the smart device
threshold level for digital and analog output can be SFMK and maintain that into the array variable.
simply changed through an on-board resistor. This Step 3: Split the received values based on the comma
MQ2 module enables users to simply connect the separated value and process accordingly.
specified sensor to the respective controller such as Step 4: Define the formulation to estimate the
NodeMCU, Arduino and so on. Due to the service temperature with respect to the Equation 1.
module sensitivity to gas, it could be used to identify Step 5: Define the formulation to estimate the relative
forest fires. Additionally, the MQ2 smoke humidity with respect to the Equation 2.
identification sensor is sensitive to combustible Step 6: Load the trained model for further processing.
251
J Ananthi et al.
Step 7: Cross validate the estimated temperature and Step 15: Return the prediction accuracy and metrics
humidity values with the trained model values, in to the user end for verification.
which it is acquired from the step 6. Figure 1 illustrates the working block diagram of the
Step 8: Intimate the processed specification of the SFMK. The block diagram of the monitoring kit
respective authority by means of storing it into the shows different controller and sensors. DHT11 is a
remote server end. humidity and temperature sensor. It is capable of
Step 9: Acquire the video streams from the SFMK sensing the surrounding air. MQ2 sensor is the MQ
and accumulate that into the server end video series gas sensor. It is a highly sensitive gas sensor. It
accumulation unit. is attached with the IoT interfacing for the proper
Step 10: The video streams are collected and communication and alert services. It is connected to
maintain it into the stream ratio of 1020 pixel rates. the remote cloud server. It is enabled with digital
Embed the video stream into the server end for camera of 1020 pixels. Based on these sensors the
maintenance. surrounding smoke presence, temperature level and
Step 11: Acquire the MQ2 sensor readings from the the humidity level have been identified and reported
respective array index. using the NodeMCU controller. In this application,
Step 12: Cross validate the acquired MQ2 sensor IoT is associated, to provides a wireless
values with the trained model values to identify communication alert ability. It collects and maintain
whether it exceeds the threshold level or stay in a the information regarding the forest provided by the
safe state. sensor unit to the remote cloud server environment.
Step 13: Inform the reading ratio to the respective The NodeMCU microcontroller has an inbuilt WiFi
authority once the threshold level exceeds the normal to acquire the internet signals and provides a constant
level. bridge between the sensor unit and the server end for
Step 14: Estimate the accuracy levels of prediction remote data maintenance.
and time constraints accordingly.
252
International Journal of Advanced Technology and Engineering Exploration, Vol 9(87)
comparison clearly indicates the effectiveness of our approach in comparison to the SVM and RF.
3500
Data accumulation efficiency
3000
2500
Data sent (bps)
2000
Data receive (bps)
1500
1000
1 2 3 4 5 6 7 8 9 10
Number of days
Figure 2 Data accumulation efficiency based on the sent and received cases
3500
3000
Time (ms)
2500
1500
1000
2460 2700 2772 2956 3112 3268 3300 3332 3350 3470
Data accumulated
110
100
90
80
70
Accuracy
60
50 SVM
40 LBFFPS
30
20
10
0
1 2 3 4 5 6 7 8 9 10
Number of days
110
100
90
80
70
Accuracy
60
50 RF
40 LBFFPS
30
20
10
0
1 2 3 4 5 6 7 8 9 10
Number of days
255
J Ananthi et al.