Agriculture Management Based On LoRa Edge Computing System 2
Agriculture Management Based On LoRa Edge Computing System 2
net/publication/348164997
CITATIONS READS
15 823
6 authors, including:
All content following this page was uploaded by Abdukodir Khakimov on 16 January 2021.
1
Agriculture management based on LoRa Edge
Computing System
1 Introduction
Agriculture has always been one of the most critical sectors in the life of ev-
ery state. The foundation of human survival depends on agriculture in many
?
The publication has been prepared with the support of the “RUDN University Pro-
gram 5-100” (recipients A. Khakimov). For the research, infrastructure of the 5G
Lab RUDN (Russia) was used.
Agriculture management based on LoRa Edge Computing System 3
respects,as the health of the population depends precisely on the quantity and
quality of manufactured products for everyday consumption in the agricultural
industry [1,2].Today, there is a rather serious threat to the food security of the
Earth’s population due to the exponential growth of its population, urbanization,
which suggests that the share of the population that is engaged in agriculture is
significantly falling[3].This problem is added to the process of global warming,
which is overgrowing. This means that to prevent the global crisis associated
with a lack of nutrition and the loss of a significant part of the crop, the intro-
duction of modern technologies is necessary. The development of modern tech-
nologies can help us face these challenges.Agriculture has been free from the use
of digital technologies [4][17]. Almost all jobs involved in people. All yield data
were collected manually, and analytic was not relevant for agriculture since the
amount of data on which conclusions and forecasts can be drawn was small. The
work was planned based on weather conditions, data on soil quality, and environ-
mental conditions, which were collected manually. Also, the standard processing
schedule, which includes demoralization, fertilizer, continuous irrigation, led to
cost overruns and undetected problems since local characteristic sand natural
variability was not taken into account. With the growing interest and demand
for intelligent agriculture, many attempts have been made to introduce Biotech-
nology on the farm[5]. IoT technology [6,7] allows farmers to control field plots
using connected sensors via the Internet from anywhere in the world. Farmers
and agronomists have already begun to use technology to improve their produc-
tivity. For example, sensors located in greenhouses allow you to receive detailed
data in real time in the form of variables, such as the temperature of the soil and
the environment,irrigation water and soil conductivity, the acidity level (PH) of
the soil and irrigation water, the properties of irrigation water, data on nutrient
composition of the soil, etc.These data can be transmitted and analyzed using
communication technologies and artificial intelligence (AI) paradigms. Farmers
will be able to remotely monitor crop sand equipment using their smartphones,
as well as analyze some statistics. Therefore,our proposed management system
based on modern communication technologies can be a solution for the intro-
duction of smart (precision) agriculture.
The organization of the paper will be as follows: Section 2 presents the related
work. Section 3 provides the precision agriculture system architecture based on
edge computing. Section 4 proposed a monitoring system for precision agricul-
ture. Section5 experiment and results And the conclusion will be given in section
6.
2 Related works
Many works have been done regarding the use of IoT in agriculture. Authors
in[8] analyzed the functionality of the most innovative and trending technologies
in the agricultural sector, as well as the possibilities of the Internet of things
in agriculture,this work also arguments are given, why the introduction of such
technologies is not only useful but also cost effective. Since LoRa technology is
4 F.Sharofidinov et al.
one of the most attractive in terms of its application in agriculture, many studies
have been cited in this area. For example, in [9,15], a study was carried out on the
implementation of LoRa technology as a transmission protocol between nodes of
a sensor network in a visual monitoring system for agricultural fields, the idea is
to transfer only the changing parts of the image frame and transfer data using
LoRa, when bandwidth is from 50 bits to 50 kbit / s. Authors in the [10] are
developing the LoRaWAN gateway mobile device,which can be used to increase
the productivity and accuracy of greenhouses. The presented development in-
cludes the use of the Halter LoRa mini gateway, managed by the Raspberry Pi
3 B +. There are cases where machine learning has been used to optimize costs
as well as the production process. For example, in [11] is a machine based, accu-
rate, and intelligent irrigation system with LoRa P2P networks for automatically
and seamlessly learning the irrigation experience from experienced farmers for
organic greenhouse crops. The proposed system will first calculate the amount
of water for each irrigation based on a trained irrigation model in combina-
tion with environmental data such as air temperature/humidity, moderate soil
moisture,light intensity, etc., and then automatically water crops through long
distance and lowpower wireless LoRa P2P network. Authors in the [12] present
an analysis of the influence of the parameters of the variant physical layer on the
performance of LoRa networks in a tree farm. The main goal of our study is to
develop a system for monitoring and controlling the process of growing crops in
year round greenhouses,where vegetables are grown for everyday consumption.
Our system is based on the principles of data transmission using LoRa technol-
ogy using edge computing paradigms to reduce the amount of traffic that will
be further transmitted to the cloud. Cloud computing will be used to calculate,
analyze, predict the state of culture and soil. Forecasting will be based on data
received from soil moisture sensors in the greenhouses, room temperature and
humidity sensors, crop status sensors, as well as a sensor that measures soil
composition.
As a result of the simulation, it was found that the use of edge computing
significantly reduces the load on the channels and can reduce delays in processing
IoT traffic. Figure 3 shows a comparative analysis of the delay time in service
when data passes through the system when the model is a traditional network
without using edge computing and with a system using edge computing. As can
be seen from the figure 2, the delay in the system using edge computing is much
lower compared to systems without the use of edge computing, when data is sent
directly to the server without preliminary processing.
Moreover, the ESP32 module also supports the other communication interfaces
such as WiFi and Bluetooth Low Energy [9][18]. Therefore, this development
board can be used as a single-channel gateway for LoRa communication. A pro-
tocol is defined to transmit messages between the sensor nodes and the gateway.
Before transmitting the sensor data, the node sends a request message to the
gateway. After receiving the sensor data, the gateway also replies to an acknowl-
edgment message to the sensor node. As shown in Figure 7, the payload of a
sensor message is specified with five bytes for measured data from sensors. The
message type is defined in the header. By defining the message transmission
protocol between the gateway and the sensor nodes, we can save the channel
budget. In the payload, the data byte from 1 to 5 represent the measured data
of temperature, humidity, CO2 index, soil humidity, and light intensity, respec-
tively.
According to the identification of each device, the edge layer and cloud layer
Agriculture management based on LoRa Edge Computing System 11
can access the device’s data for further processing. In the next subsection, we
will consider some techniques used to preprocess the sensor data and predict the
status in the greenhouse.
Moreover, the prediction model can be deployed at the edge layer to predict
the con-dition in the greenhouses based on the received sensor data. It helps to
identify actions correctly to improve the plant’s state. There are five types of
sensors sent to the remote server. In our scheme, the data will be preprocessed
at the edge layer. Our prediction model is deployed to classify events into four
classes: 1 – soil without water, 2 – environment correct, 3 – too much hot, 4 –
very cold based on received data. The data frame for each device has a format
in table 1.
Thus, the input data can be performed as: X=[HS L T CO2 HR] where
HS is soil humidity in analog-digital conversion, L is light intensity in lux, T is
temperature in °C, CO2 is CO2 index in analog-digital conversion and HR is
humidity relative in air.
A random forest classification model is used to classify the greenhouse state.
A random forest, as its name implies, consists of a large number of individual
decision trees that act as an ensemble. Each individual tree in a random forest
gives a class forecast, and the class with the most votes becomes the forecast of
12 F.Sharofidinov et al.
Fig. 8. SHEME
our model. The fundamental concept underlying the random forest algorithm is
the wisdom of the crowd. Data science says that the reason the random forest
model works so well is this: a large number of relatively uncorrelated models
(trees) acting as a committee will outperform any of the individual component
models.
The target output is class,
For each event, the target output is
followed as: classi = f (xi ) = f ([HSI LI TI CO2I HRI ])
By monitoring the sensor data after a certain time, we can analyze the factor
which is the most impact on plants. As shown in Figure 10, the most important
factor effected prediction result is soil humidity.
Agriculture management based on LoRa Edge Computing System 13
6 Conclusion
References
1. L. Chen et al. A lora-based air quality monitor on unmanned aerial vehicle for
smart city. In 2018 International Conference on System Science and Engineering
(ICSSE), pages 1–5, June 2018
2. General Electric. What is edge computing? [Online]
Available:https://www.ge.com/digital/blog/what-edge-computing. Accessed:
Apr. 18, 2019.
3. He, Y., Richard Yu, F., Zhao, N., Leung, V. C. M., Yin, H. (2017). Software-
Defined Networks with Mobile Edge Computing and Caching for Smart Cities: A
Big Data Deep Reinforcement Learning Approach. IEEE Communications Maga-
zine, 55(12), 31–37. https://doi.org/10.1109/MCOM.2017.1700246.
4. Khakimov, A.; Muthanna, A.; Muthanna, M.S.A. Study of Fog computing struc-
ture. In Proceedings of the 2018 IEEE Conference of Russian Young Researchers in
Elec-trical and Electronic Engineering (EIConRus), Moscow, Russia, 29 January–1
Feb-ruary 2018; pp. 51–54.
5. Perera, C., Qin, Y., Estrella, J. C., Reiff-Marganiec, S., Vasilakos, A. V. (2017).
Fog computing for sustainable smart cities: A survey. ACM Computing Surveys,
50(3). https://doi.org/10.1145/3057266
6. Taleb, T., Dutta, S., Ksentini, A., Iqbal, M., Flinck, H. (2017). Mobile edge compu-
ting potential in making cities smarter. IEEE Communications Magazine, 55(3),
38–43. https://doi.org/10.1109/MCOM.2017.1600249CM
14 F.Sharofidinov et al.
7. Suresh, V. M., Sidhu, R., Karkare, P., Patil, A., Lei, Z., Basu, A. (2018). Powering
the IoT through embedded machine learning and LoRa. In IEEE World Forum on
Internet of Things, WF-IoT 2018 - Proceedings (Vol. 2018-January, pp. 349–354).
Institute of Electrical and Electronics Engineers Inc. https://doi.org/10.1109/WF-
IoT.2018.8355177
8. Carlin, A., Hammoudeh, M. and Aldabbas, O., 2015. Defence for dis-
tributed denial of service attacks in cloud computing. Procedia computer sci-
ence, 73, pp.490-497. Institute of Electrical and Electronics En-gineers Inc.
https://doi.org/10.1109/NORCHIP.2014.7004716
9. Nguyen Gia, T., Sarker, V. K., Tcarenko, I., Rahmani, A. M., Westerlund, T.,
Liljeberg, P., Tenhunen, H. (2018). Energy efficient wearable sensor node for
IoT-based fall detection systems. Microprocessors and Microsystems, 56, 34–46.
https://doi.org/10.1016/j.micpro.2017.10.014
10. Rahmani, A. M., Gia, T. N., Negash, B., Anzanpour, A., Azimi, I., Jiang, M.,
Liljeberg, P. (2018). Exploiting smart e-Health gateways at the edge of healthcare
Internet-of-Things: A fog computing approach. Future Generation Computer Sys-
tems, 78, 641–658. https://doi.org/10.1016/j.future.2017.02.014
11. M. S. A. Muthanna, P. Wang, M. Wei, A. A. Ateya, and A. Muthanna, “Toward
an Ultra-low Latency and Energy Efficient LoRaWAN,” Lect. Notes Comput. Sci.
(including Subser. Lect. Notes Artif. Intell. Lect. Notes Bioinformatics), vol. 11660
LNCS, pp. 233–242, 2019.
12. A. Dongare, R. Narayanan, A. Gadre, A. Luong, A. Balanuta, S. Kumar, B. Ian-
nucci, and A. Rowe, “Charm: Exploiting geographical diversity through coherent
combin-ing in low-power wide-area networks,” in Proceedings of the International
Confer-ence on Information Processing in Sensor Networks, 2018, pp. 60–71
13. Hammoudeh, Mohammad; Newman, Robert; Dennett, Christopher; Mount, Sarah;
Aldabbas, Omar. 2015. ”Map as a Service: A Framework for Visualising and Max-
imising Information Return from Multi-ModalWireless Sensor Networks.” Sensors
15, no. 9: 22970-23003
14. Carlin, A., Hammoudeh, M. and Aldabbas, O., 2015. Intrusion detection and coun-
termeasure of virtual cloud systems-state of the art and current challenges. Inter-
national Journal of Advanced Computer Science and Applications, 6(6).
15. Gia, T. N., Thanigaivelan, N. K., Rahmani, A. M., Westerlund, T., Liljeberg, P.,
Tenhunen, H. (2015). Customizing 6LoWPAN networks towards Internet-of-Things
based ubiquitous healthcare systems. In NORCHIP 2014 - 32nd NORCHIP Confer-
ence: The Nordic Microelectronics Event. Institute of Electrical and Electronics
En-gineers Inc. https://doi.org/10.1109/NORCHIP.2014.7004716
16. Daraseliya A.V., Sopin E.S., Samuylov A.K., Shorgin S.Y. Comparative Analysis of
the Mechanisms for Energy Efficiency Improving in Cloud Computing Systems //
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial
Intelligence and Lecture Notes in Bioinformatics). – 2018. – Vol. 11118. – P. 268-
276.
17. Sopin E.S., Daraseliya A.V., Correia L.M. Performance Analysis of the Offloading
Scheme in a Fog Computing System // International Congress on Ultra Modern
Telecommunications and Control Systems and Workshops. – 2019. – Vol. 2018-,
art.no. 8631245.
18. Daraseliya A.V., Sopin E.S., Rykov V.V. On optimization of energy consumption
in cloud computing system // CEUR Workshop Proceedings. – 2018. – Vol. 2332.
– P. 23-31.