You are on page 1of 12

Hindawi

Mobile Information Systems


Volume 2022, Article ID 1526021, 12 pages
https://doi.org/10.1155/2022/1526021

Research Article
Future Trends for Healthcare Monitoring System in Smart Cities
Using LoRaWAN-Based WBAN

Imen Bouazzi,1,2 Monji Zaidi,2,3 Mohammed Usman,3


Mohammed Zubair Mohammed Shamim,3 Vinit Kumar Gunjan ,4,5 and Ninni Singh 5

1
Department of Industrial Engineering, College of Engineering, King Khalid University, Saudi Arabia
2
Electronic and microelectronic Laboratory, Monastir University, Tunisia
3
Department of Electrical Engineering, College of Engineering, King Khalid University, Saudi Arabia
4
Department of Computer Science and Engineering, CMR Institute of Technology, Hyderabad, 501401 Telangana, India
5
University of Science and Technology Chattogram, Bangladesh

Correspondence should be addressed to Ninni Singh; ninni.singh@ustc.ac.bd

Received 23 March 2022; Revised 7 April 2022; Accepted 16 April 2022; Published 5 May 2022

Academic Editor: M. Praveen Kumar Reddy

Copyright © 2022 Imen Bouazzi et al. This is an open access article distributed under the Creative Commons Attribution License,
which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

LoRa technology is extensively utilized in the Internet of Things world. It allows a transmission of a low volume of data through
small wireless devices. The principle of LoRa networks is to transmit data over the air from sensors with low transmission range,
for about tens of kilometers. Those sensors are not expected to be powered by electricity, and they are powered by batteries. We
understand that visits to hospitals cannot be eliminated and that visits for full examinations were necessary, but technological
progress nowadays could reduce the burden on hospitals thanks to remote controls and treatments in homes using those
wireless sensors. So, the use of LoRaWAN protocol could greatly make diagnostic of patients more easily by transmitting data
between doctors and patients in a real time manner. The aim of this work is to evaluate the performance of a network that
contains numerous mobile sensors. Those sensors connect the doctors, nurse, and patient through a reliable and secure
wireless network. Here, we want to evaluate various factors of LoRaWAN protocol that have a big effect on power
consumption and data transmission delay.. Moreover, our LoRa-based networking implementation, based on software
simulations, appears to be an option that allows for a robust, reliable, and lower overall cost IoT deployment and low
bandwidth requirements. With LoRa, we can achieve similar or better link quality to IEEE 802.15.4, with higher data rate and
lower costs.

1. Introduction has a high transmission rate to transmit information and


signals. For this reason, a marriage between 5G technology
Wireless body area networks (WBAN), which use the and wireless sensor networks has been completed to
human body as a data transmission medium, have attracted improve the next generation of the telecommunications
the attention of several researchers around the world. If we world. To use WBAN with this new technology, it is prohib-
confirm that the future is associated with the Internet of ited to extend wireless communication system to support
Things (IoT) and artificial intelligence (AI), the speed of high frequency band of transmission and multiantenna sys-
data transmission will be a critical issue to be improved in tem that should be developed and taking into consideration
the network since the speed of data transmission per second the power efficiency of each node.
has a great impact on the development of services of all New generations of related items will best be capable of
kinds. We know that the wireless sensor network (WSN) expand if it is miles feasible to cause them to completely
suffers from the low power of transmission between sensors; power self-sufficient, even if the usage of batteries or cells
this weakness can lead to problems in transmission solves part of this hassle by ensuring autonomy that can be
reliability. Today, developers use the 5G technology that important with relatively low costs. Indeed, for many
2 Mobile Information Systems

Table 1: Comparison between different specifications of network technology [2–4].

Energy
Network technologies Topology Radiofrequency Range Data rate
consumption
BLE Ad hoc 2.4 GHz 10 m 1-2 Mb/s Very low
Zigbee Mesh 868.3 MHz, 902-928 MHz, 2.4 GHz 100 m 0.02-0.25 Mb/s Low
WIFI Star 2.4 GHz Less than 1 km 11 Mb/s-10 Gb/s High
SigFox Star Between 862 and 928 MHz 10 km 100-600 b/s Medium
LoRaWAN Star or peer to peer Between 860 and1020 MHz Less than 30 km Up to 50 Kb/s Very low

applications, connected objects are deployed in environ- nication and wireless sensor network and to improve the
ments that are difficult to be reached by humans. So, replac- healthcare monitoring system. The authors in [5, 6] inte-
ing or maintaining batteries becomes complicated or even grated a 5G system in WSN application that improves
impossible. In addition, another major concern is linked to energy consumption and provides a secure healthcare sys-
the limited lifetime duration of the batteries, which makes tem. They are interested in the new generation of mobile
the autonomy of the communicating object totally depen- communication in the WBAN, where they use a connection
dent on its energy source. In recent years, many technologies between small smart devices via 5G technology to establish
have been developed and introduced to solve the problem of connection between numerous intelligent sensors at the
energy consumption such as ZigBee, Bluetooth, and LoRa- same time. However, authors in [7] have used new three-
WAN. With the rise of WSN, low-power wide area networks factor rapid authentication technologies to hide user recog-
(LPWAN) are taken into consideration as one of the key nition in wireless sensors networks based on 5G technology.
solutions for optimizing energy consumption and it has The use of the 5G technology and wireless sensor network
improved its efficiency to enable the new human healthcare contributes to the progress of the electronic healthcare sys-
and wireless monitoring applications. tem. Each user should be identified by a biometric, pass-
The important challenge of many countries is to improve word, and a smart card with a time bounded identification
their healthcare system to be more efficient, more coordinated, to register with the server. The concept of hospital of future
and to be ready for any pandemic like coronavirus disease was discussed in [8] where authors proposed a reconfigur-
2019 (COVID-19). To be a good competitor in the healthcare able hybrid radio communication system based on radio-
system, the use of recent trends of technologies will be a connectivity and wireless optics. This proposed solution
requirement. The use of technology can be a feasible solution uses an optical transmission, enhance the redundancy,
to reduce the expenditure of handicap monitoring, people in minimize the throughput, and minimize the spectrum
quarantine, and people with chronic disease. The IoT provides congestion. Enemy warfare attract some authors in [9],
a world of connected devices to a cloud-based applications and where they implemented an automatic healthcare monitor-
services, with different cooperation mechanisms, a proper ing system to track location of soldiers in real time; they
standardization, progressed sensors with inexpensive, and use Arduino board kit and IoT technology with a Wi-Fi
low-power microprocessors [1]. According to Table 1, LoRa- module to control problems that can face soldiers as gas
WAN is considered one of the best IoT solutions based on leakage and bombs by using sensors to detect any sudden
the healthcare monitoring system due to its high communica- health problems.
tion range and perfect interoperability between IoT sensors. Due to the continuous monitoring of patient‘s health,
This work opens a way to compare the main LPWAN sensor nodes will consume a lot of energy during sensing
technologies as presented in the following table and to assess and transmitting data. Without an estimated technique for
their performance and choose the best solution for trans- data transmission and data gathering, the performance of
forming to smart cities that contains many wireless connected the WBAN can be degraded. Several works like [10–13]
devices. Remaining parts of this paper are organized as fol- address the energy consumption problems in WSN using a
lows: Section 2 gives associated work to LPWAN technologies fuzzy algorithm to schedule the data transmission under
and energy consumption improvement. Next, in Section 3, a MAC layer. Many works have been carried out on the energy
survey about wireless body area network will be discussed. efficiency in WSN and especially in WBAN as investigated
Section 4 provides an overview of the LoRaWAN protocol. in the review paper [14]. That work conducts a survey on
In Section 5, we discuss the theoretical parameters that may LPWAN in WBAN to improve the healthcare monitoring
affect energy consumption and data transmission using the of patients while satisfying quality of system requirement
LoRaWAN protocol. Simulation results proving the efficiency in terms of energy efficiency, latency, and data transmission
of LoRaWAN parameters on the energy per useful bit will be rate. They cited the advantage and disadvantage of different
carried out. Finally, Section 7 concludes the paper. communication techniques of such as LoRa, LPWAN, NB-
IoT, and SigFox. Recently, many researchers focus on the
2. Related Work relation between patients and doctors to assure a reliable
connection between them especially in a harsh environment
In recent years, many applications are achieved to widely lay such as rural area, while at the same time, they focus on
out the evaluation of the next generation of mobile commu- reducing the energy consumption of IoT devices [15].
Mobile Information Systems 3

Table 2: Comparative analyses using the LoRaWAN protocol in the literature.

Ref. LoRa transceiver Reliability metric LoRa parameter Band


[17] SX1278 PLR, RTT Location, payload, power, CR 433 MHz
[18] SX1276 RSSI SF, CR 868 MHz
[19] NA PLR Weather 912 MHz
[20] SX1272 RSSI Distance 868 MHz
[21] SX1301 RSSI Location 868 MHz
[22] SX1278 PDR SF, location, SNR 430 MHz
[23] RN2483 SNR ISM band 434 MHz, 868 MHz
[24] IC880A RSSI, SNR, PLR Location 868 MHz
[25] IC880A Rate, position RSSI Location 868 MHz
[26] SX1272 SNR, ToA, energy per useful bit SF, CR, power, SNR 868 MHz

Energy efficiency in LoRa-based networks, especially LoRa end devices LoRa gateway installed at
when using the LoRaWAN protocol, is a well-studied topic. connected to patients hospital and public area
The authors in [16] studied the effect of LoRaWAN param-
Medical clinic
eters together with stated transmission, scatter factor, encod-
ing speed, payload length, and data range. This optimization LoRa
LoRa
study presented a trade-off among LoRaWAN communica-
tion range, propagation factor, and power transmission.
[16] was very interesting for the choice and configuration Doctors
of LoRa parameters. Several researchers tried to enhance Local server installed at
the quality of service (QoS) to find the better solution that hospital
guarantee a high data transmission delay and a secure link ser
ver
that does not affect the energy consumption. Table 2 pre-
sents recent works in the literature that uses LoRaWAN
technology where each one used a different method com-
Distance up to 30 km
pared with others; they used different types of LoRaWAN
sensor transceiver chip that support devices of class A, B, Figure 1: Application of LoRaWAN in a hospital.
and C. In almost of those researches, energy saving in LoRa
networks has been improved; most of them deal with
LoRaWAN parameters and the trade-off between energy WBANs differ from typical wireless sensor networks on
consumption, location, reliability, and distance. Since mini- a large scale, and they are characterized by mobility in the
mizing information is a realistic energy-saving approach, network which follows the movements of the human body
we will focus on this work on the data transmission period and the quality of the links which varies according to the
and its impact on energy consumption. posture of the wearer. Also, the transmitting power of the
sensors is kept low in order to improve their autonomy
and to reduce the exposure to the electromagnetic waves of
3. Wireless Body Area Network: WBAN the carriers. Therefore, considering the absorption, reflec-
tion, and interference effects of the body, it is difficult to
WBAN uses the electric field of the human body to transmit maintain a direct connection between the “sink” and the
data wirelessly, for example, from the music player to the other nodes. LoRaWAN can support wireless devices con-
headphones, from the electronic key of the car in the pocket nected in the same network to a distance of 30 km, it means
to the unlocking system of the doors, or from the cardiac that it can be a good solution for transforming to smart cities
sensor to the control unit worn around the belt. This amaz- and a good IoT solution to improve the healthcare domain
ing technology, pioneered in the United States by IBM and specially in recent years where we had faced many chronic
MIT for the wearable computer perspective, is the subject diseases. In the current context of health crisis and in the
of intense research around the world. In WBAN, sensors face of COVID-19, European health authorities have put in
are used to monitor, to collect, and to transmit medical place new recommendations imposing temperature and
signals and other information about the human body like CO2 thresholds to be respected. They have installed new
electroencephalography (EEG), electrocardiography (ECG), IoT sensors to measure the indoor air quality in hospitals,
and temperature, directly to a node known as “sink node” for example, it is considered that above 1000 ppm in the
as shown in Figure 1. Collected data will be then be trans- indoor environment, the health of occupants is at risk [27].
mitted via the LoRaWAN gateway that is installed in the The objective of those IoT solutions is to improve the health
hospital, and then, it will be sent to the doctors and nurse of occupants and nursing staff in hospitals and to consider
to be analyzed. the recommendations of the health authorities. As an
4 Mobile Information Systems

Lora WAN
gateway

The things Application


network server
Loraa
rs
sensors

Connection Connection
Lora IP

Figure 2: LoRaWAN technology.

example, a total of 87 of wireless radio sensors were installed LPWAN networks. LoRaWAN has improved a greater effi-
in the two Madrid hospitals on LoRaWAN wireless technol- ciency regarding other access method to the medium like
ogy in a private mode. 79 of transmitters, specifically CSMA and ALOHA [32]. It has enhanced the collision ratio,
designed for indoor applications, have been installed in but it is not considered a good optimizer for energy con-
order to check whether the sanitary conditions (CO2, sumption for many nodes. Due to its low cost, high data rate,
VOC, ambient temperature, and humidity) are respected. energy efficiency, and improved packet delivery ratio, LoRa
As a study case, we have five companies operating within attracts a lot of researchers and industrial in different fields
the subject of the Internet of Things. [28] [29] [30] [31] have ranging from environment monitoring to application in
come together to design a system intended for healthcare smart cities and smart homes. LoRaWAN support three
personnel and aimed at equipping hospitals with emergency types of end devices, namely, class A, B, and C where each
call buttons connected with LoRaWAN long-range, low- device is characterized by a specific data frame transmission
power radiotechnology. This system flags patients requiring [33, 34], while end devices can always send uplinks, the
immediate attention and allows medical personnel to locate device’s class determines when it can receive downlinks.
and identify these calls in real time. The call button device Class A has the lowest energy consumption where the data
allows patients to report an emergency at any time. This frame transmission support only in the uplink. However, a
waterproof, compact, and easy-to-clean “sensor” incorpo- device in group B allows a compromise among power con-
rates a Bluetooth detector that can immediately identify sumptions and the need for two-way communication. These
and locate the equipment or person concerned. It can also devices open reception windows at a scheduled interval by
measure ambient temperature and detect physical contact periodic messages sent by the server. Devices from group
through a built-in speaker. Nurses then have real-time access C have the highest power consumption but it provides bidi-
to essential information about patients’ emergency calls and rectional communications that are not programmed where
the location of their beds. the devices have an everlasting listening window.
Figure 2 gives the architecture of LoRa topology. The
4. LoRaWAN Overview network topology supported here is called a star-of-star
because a network server is connected to a multitude of gate-
4.1. LoRaWAN Protocol. IoT is a network where objects are ways that are themselves connected to a multitude of end
related to the Internet. Its implementation requires the use devices. In the network, the end devices are not connected
of low-power wide area network (LPWAN) in order to sup- to the gateways; they have only used them as relays to reach
port connected objects. These are low-power, long-range the server that manages the network, which is itself
communication networks. It is precisely to install these net- connected to one or more application servers. The packets
works that the LoRaWAN protocol was developed. This pro- sent by the end devices are retransmitted by the gateways
tocol reduces the consumption of connected devices. after adding only information concerning the quality of the
LoRaWAN is a media access control type protocol allowing signal received.
low-data rate communication and low energy consumption. Today, there are a wide number of technologies that are
This protocol is widely used in the context of smart cities, used under the MAC layer in order to access the medium,
industrial monitoring, or even agriculture. LoRaWAN has like LoRaWAN, SigFox, and CSMA/CA. Also, there are sev-
becomes an interesting method access in smart sensing eral numbers of researches that use LoRaWAN technology
application using IoT. This new technology belongs to the in such application like data monitoring and energy
Mobile Information Systems 5

USB

SPI
DC–DC
conveter Memory
Micro
controller Sensor
LoRa WAN unit interface
radio
Sensor node

Power supply units

Battery

Figure 3: IoT end device.

efficiency. Compared to other wireless technology, LoRa- nPreamble_symbols nHeader_symbols


WAN is the most useful technology in the wireless sensor
network due to its flexibility, low energy consumption, and
its low cost. Technological progress, nowadays, has led to Header CRC Payload
use LoRa technology and the 5G network together to support Preamble Payload
Explicit mode only CRC
smart cities that can be adapted to different environmental
conditions and especially in healthcare applications. Using
WBAN, healthcare monitoring of patient status can be done CR = 4/8 CR = coding rate
easily using LoRa technology even in the rural area. In this
work, a study of different wireless technology supported in SF = spreading factor
the IoT are discussed and compared to prove the weakness
and advantage of each one of them using simulation analysis. Figure 4: LoRaWAN packet structure.

4.2. LoRaWAN End Devices. Sensors are used to monitor and interface USB and converter as presented in Figure 3.
and pick up any information in different environments This chip has a small size and can be integrated in any space.
to prevent any issues before having major problems. The microcontroller is considered a central data processing
Researchers focus of data transmission between nodes to unit which is connected to almost all of the components of
enhance cost and power consumption while improving the sensor device. A serial peripheral interface SPI is used
workplace productivity. Data transmission depends on to connect between the microcontroller and the LoRaWAN
itself by the protocol of communication used to handle radio module along with digital input output lines I/O. An
communication between nodes. RA ecent standard used 868 MHz monopole antenna is connected to the wireless
in IoT application is the well-known LoRaWAN standard module for radio communication. A universal serial bus
that approved its efficiency in long range and high perfor- (USB) interface is used for microcontroller firmware upload.
mance in network operations. IoT sensors harvest infor-
mation and send them using LoRaWAN gateways; then, 4.3. LoRaWAN Packet Structure. To calculate the LoRa
those gateways transfer data through a cloudy system that packet time transmission on air, we need to start by calculat-
process data and store them in a database to be retrieved later ing the size of the payload. As mentioned in Figure 4, an
by the user. Here, the user received data by end device’s that implicit or explicit LoRaWAN packet consists of three main
are considered a radio bridge console. Technology is the key parts. The packet begins with a preamble which is used for
secret of success of most of organizations whatever its service: synchronization between end devices and the gateway; after,
healthcare, manufacturing, aerospace, and telecommunica- we found the header which is considered optional and is
tion. So, improving their productivity depends on the system used to indicate the scale of the payload and some other data
they used to handle data and treat it. related to LoRa parameters, its value is fixed to CR = 4/8 and
LoRa devices are an electronic system belonging to the then the payload who comes with an adjustable value of CR
IoT world having low consumption, small size, low power, and with a cyclic redundancy check (CRC) who comes on
and low cost. They have a LoRa radio to reach the gateways. the end of the packet frame.
The gateways are not addressed specifically: all those present
in the coverage area receive the messages and process them. 5. Discussion and Performance Metrics
Any LoRa device is composed of a customized electronic
board composed of a microcontroller, energy module, LoRaWAN consumes extremely low energy. It used a sim-
LoRaWAN radio module, wireless module, sensing module, plified version of the additive links on-line Hawaii area
6 Mobile Information Systems

1 Start
2 DevEUI = node’s unique identifier;
3 AppEUI = application identifier;
4 DevNonce, AppNonce =2-octet nonce;
5 NetID = network identifier;
6 DevAddr = end-device address;
7 Begin
8 While until the time end do
9 Nodes send a join request
10 Join-request (AppEUI, DevEUI, DevNonce)
11 Search for nearest cluster to join
12 Search for root nodes (JoinEUI,DevEUI,DevNonce)
13 Network servers accept all demand of join
14 Join-accept = (AppNonce,NetID,devAddr,RxDelay);
15 End

Procedure 1: Join network of all N, M nodes

(ALOHA) protocol for the MAC layer and cyclic transmis-


sion in each subband. Parameters used in the optimization Table 3: Calculated time on air for a specified SF value.
of energy during the transmission-reception cycle are con-
figured based of node status (transmission, reception, Spreading factor (SF) Airtime (ms)
standby, and sleep), the information transmission strategy, 7 41
and the power transmission. The power consumption of 8 72
nodes (end equipment) of the LoRaWAN network is chosen 10 289
according to the use of the four main modes (transmit, 11 578
receive, standby, and sleep) and the time spent in each
mode. The authors in [14] modelled the energy consump-
tion from these four modes, in order to compare the con-
sumption of a long-range linear wireless sensor network 6. Network Model
designed by ZigBee or LoRaWAN. Energy consumption
depends mainly on several factors: the quantity of data 6.1. Algorithm Specification. The network model is a star
transferred (in number of messages and/or size of messages), topology that contains 100 nodes. Each one can be con-
as well as the transmission power required to transmit this nected to the personal area network (PAN) coordinator.
data, and the spectrum spreading factor (SF). The good advantage of this type of topology is that it is
Through this paper, we desire to improve the perfor- highly reliable. This network contains a combination of
mance of LoRaWAN in terms of energy consumption. We static and mobile nodes, so the failure of one or some nodes
used NS-3 as a simulator tool for the wireless sensor network cannot cause a significant problem in the network opera-
[35]. In order to optimize the energy consumption, LoRa- tions since many other nodes are available to maintain sta-
WAN protocol allows a dynamic set of SF parameter to bility in the network. In this network, there are some
reduce the consumption of the end devices, as well as to free nodes considered end devices and gateway router devices
up radio bandwidth and therefore to limit collisions. So, in that are used to forward each received router packet to the
the first step, we are going to study in more detail the impact network server and execute transmission request coming
of these different parameters in the network performance. from the server. In the developed algorithm, we suppose that
The energy consumption of a LoRa system depends on sev- the network contains N mobile nodes and M static nodes.
eral parameters such as 6.2. Energy Model Assumption. To compute the energy con-
sumed in the network, we should suppose some assump-
(i) Quantity of data to be sent (payload) tions; first, we considered that the energy was consumed
(ii) Spreading factor while the radio module transmit data is constant. Whereas
the energy consumed while the processing data is considered
(iii) Collisions during transmission (and therefore a variable value and it depends on the function of the sensor
retransmission) node, it is known that sensor node goes into a sleep period
(iv) Request for acknowledgment of the frames sent while they are neither sensing nor sending data and the
energy consumed during this mode is statistically considered
(v) Duty-cycle zero. So, to compute the energy consumed of the rest of
(vi) Transmit energy of the transceiver operation mode, we assume that all its elements are active
during a specified period and inactive during the rest of
(vii) Power consumed in standby between 2 transmissions the cycle. The initial energy of all nodes is the same for all
Mobile Information Systems 7

Figure 5: Network topology.

devices which is equal to 1 J. Lets define the hole energy con-


sumed as follows:
Table 4: Simulation parameters.
Etot = EActive period + ESleep mode , ð1Þ Parameters Value
Frequency 846 GHz
where Etot , EActive period , and ESleep mode are, respectively, the
Initial energy 1J
initial energy of the node, the energy consumed by the node,
Energy consumed in Tx
and the energy consumed during the sleep phase. We said 3.2 MW
mode
that the energy of inactive period is nearly about zero so
the total energy consumed can be calculated as presented in Transmission power -10 dBm
Nodes 100
Etot = EActive period , ð2Þ Data packet size 100 bytes
5 MW for joint request/25 MW for
Tx power
with data
Bandwidth 125 kHz
EActive period = E0 + ESensing + Edata + ERadio + ESending + ELoad , Data rate 250 bps
ð3Þ Spreading factor 6 to 12
Bandwidth 125 kHz, 250 kHz, 500 kHz
where E0 , ESensing , Edata , ERadio , ESending , and ELoad are the Coding rate CR 4/5 to 4/8
energy consumed during the initialization of the system, Power -1 to 14 dB
the energy consumed while sensing, the energy consumed
in data processing, the energy consumed in the radio, the
energy used to send data, and the energy consumed in the
sensing for the channel, respectively.
8 Mobile Information Systems

1% 90%
TMCU

Power consumption

Data transmission

Reception of ACK
Data processing
System wake up

Wake up ratio

Sleep period
Sensing
TWU TX TP TTr TD TR TS

Time

Figure 6: Operation mode of a sensor node.

Table 5: Relationship between LoRa parameter and functional mode of a sensor node.

Mode LoRa parameters Descriptions


BW = 250 kHz
1 SF = 11 This mode allows to have long communication distances with medium binary rates
CR = 4/5
BW = 250 kHz
2 SF = 9 Temporary mode
CR = 4/5
BW = 500 kHz
3 SF = 7 This mode allows to have high bit rates but with minimal LoRaWAN ranges
CR = 4/5

To study the autonomy of a sensor node, it is prohib- 120


ited to model the power consumption of each unit of the
node as follows:
100

Energy per useful bit (uJ)

E0 = Epros F pros × T 0 , 80
 
ESensing = Ppros F pros + PSensing × T Sensing ,
  60
Edata = Epros F pros × T data F pros ,
  ð4Þ
ERadio = Ppros F pros + PRadio × T Radio , 40
 
ESensing = Ppros F pros + PSensing × T Sensing ,
  20
ELoad = Ppros F pros + PLoad × T Load :
0
5 10 15 20 25 30 35 40
Clearly, the energy of each unit depends of the fre-
quency of the processor F pros and the power consumed Payload (bits)
by the microprocessor Ppros . The time needed by the pro-
SF = 7, CR = 4/6
cessor to process data is equal to T p where the latter can SF = 9, CR = 4/5
be calculated as follows: SF = 11, CR = 4/5

N inst Figure 7: Effect of variation in SF on energy per payload bit,


Tp = , ð5Þ CR = 4/5.
f MCU
Mobile Information Systems 9

40

35

30

Energy per useful bit (uJ)


25

20

15

10

0
5 10 15 20 25 30 35 40

Playload (bits)

CR = 4/5, SF = 7
CR = 4/6, SF = 7
CR = 4/8, SF = 7

Figure 8: Effect of variation of CR and maintaining SF = 7 on the energy.

where N inst is the number of instructions executed by the and header duration, and payloadSymbNb is the number
processor, and here, we assume that we have one instruc- of symbols in payload period. As an example, Table 3 cal-
tion per clock period. Also, we can compute the time culates the spreading factor (SF) with time on air men-
needed to transmit data as presented in tioned for a bandwidth equal to 250 kHz.
To evaluate the effect of LoRaWAN parameter on the
T data = N bit × T bit , ð6Þ energy consumption of each node, we can calculate the
energy per useful bit denoted Ebit , which is used in order
Where N bit presents the number of sent bits and T bit to evaluate the energy consumption of the sensor node.
presents the transmission time of an information bit, The energy Ebit is calculated in the following equation:
respectively. Finally, we can define T MCU as the operating
time of the microprocessor. It depends on the operating Pcons ðPTr Þ ∗ T Paquet duration
Ebit = : ð13Þ
time of all the sensor units. T MCU is expressed as follows: 8PL

T MCU = T WU + T X + T Tr + T D + T R : ð7Þ So, we have



The following formula is used to calculate the LoRa Pcons ðPTr Þ ∗ N Payload + N p + 4:25 ∗ T Symbol
Ebit = , ð14Þ
Packet duration: 8PL

T pr = npr + 4:25 × T sym , ð8Þ where PL is the size of the payload and Pcons ðPTr Þ is the total
power. Using equation (12), the expression of energy per
   useful bit is calculated as shown in
8PL − 4SF + 28 + 16 − 20H
payloadSymbNb = 8 + max ceil ðCR + 4Þ, 0 ,
4ðSF − 2DEÞ 
ð9Þ Pcons ðPTr Þ ∗ N Payload + N p + 4:25 ∗ 2SF
Ebit = : ð15Þ
8PL ∗ BW
T p = payloadSymbNb × T sym , ð10Þ
7. Simulation Results
T packet duration = T pr + T p , ð11Þ
7.1. Test Performance and Node Placement. To evaluate the
2SF ð12Þ
performance of LoRaWAN end devices which include 100
T sym = , end devices, the topology described in Figure 5 is used. We
BW
particularly evaluate the power consumption and ToA of
where T sym calculates the symbol duration in millisecond, LoRa to optimize the best configuration parameters that
PL calculates the payload size indicated in bytes, T pr cal- may affect the network performance. Simulation parameters
culates the preamble duration, T p indicates the payload are presented in Table 4.
10 Mobile Information Systems

1000

800

Time on air (ms)


600

400

200

0
10 20 30 40 50 60 70 80

Playload (bytes)

SF = 12
SF = 10
SF = 7

Figure 9: Time on air vs. payload for different values of SF.

Various operating scenario modes of a sensor node are 70


presented in Figure 6. Each scenario allows us to define dif-
ferent functional modes, which are managed by the process- 60
ing unit. In order to measure and transmit information,
sensors begin by awakening the system from its hibernation
50
state. Then, the sensor makes periodic measurements to ver-
Time on air (ms)

ify the displacement of the structure. After that, it should


40
run out the necessary processing of the measured data.
This process mainly used for the most part depends on
30
the frequency of the microcontroller. Finally, the LoRaWAN
module is awakened in order to transmit the information
and receive an acknowledgment of reception to verify the 20
correct transmission of data. To optimize the consumption,
a microcontroller is put into a standby state at the end of 10
the operating cycle.
0
10 15 20 25 30 35 40 45
7.2. Effect of SF and CR on the Energy Consumption. LoRa
Payload (bytes)
modulation has several configuration parameters such as
carrier frequency (CF), scatter factor (SF), bandwidth CR = 4/5 CR = 4/7
(BW), and encoding rate (CR). Those parameters present CR = 4/6 CR = 4/8
different levels of power consumption and different trans-
mission ranges where each parameter is specified as follows: Figure 10: Time on air vs. payload for different values of CR.

(i) Carrier frequency: present the central frequency used (iv) Coding rate: it is used to improve the efficiency of
during transmission. CF is 863-870 MHz in Europe LoRaWAN protocol by adding a cyclic error coding
(ii) Spreading factor: define the number of bits per sym- (CRC) to the encoding process of data transmission.
bol varying between 7 and 12. The higher the SF The value of CR is equal to 4/ð4 + nÞ with n vary
value, the greater the receiver’s ability to receive data from 1 to 4. The increase in the value of CR will
with low signal-to-noise ratio value. Thus, the larger increase the reliability of LoRa, but it increases
the value of SF, the longer the transmission time energy consumption because of the large value of
CR that will increase time on air
(iii) Bandwidth: presents the range of frequencies in the
transmission band of LoRaWAN and its value In this part, we will evaluate the effect of LoRa parame-
ranges from 125 to 500 kHz ters on the power consumption by varying the value of SF,
Mobile Information Systems 11

CR, and BW. An optimization of these parameters makes it work, we are ready to study the impact of other parameters
possible to regulate the power consumption of the sensor on the behavior of energy consumption between communi-
node and the data transmission delay. A node presents cating nodes through LoRaWAN technology, to mention
different modes of transmission which are presented in but not limited to, we can cite the packet delivery ratio
Table 5 and will be synthesized in the simulation. (PDR), throughput, and jitter.
As calculated in equation (15) that represents the rela-
tion between the consumed energy and the spreading factor
(SF), we can conclude that this parameter may affect the Data Availability
energy as shown in Figure 7. This figure presents the evalu- The processed data are available upon request from corre-
ation of power consumption per bit as a function of payload sponding author.
for different values of SF. We noted that the consumed
energy decreases with the increase in the number of useful
bits. As stated previously, the larger value of SF, the longer Conflicts of Interest
it takes to transmit one packet and consume more energy
to transmit data. When the value of the spreading factor The authors declare that they have no conflicts of interest.
becomes high, the power consumption is high also; here,
we have the highest value of SF is 11.
Figure 8 presents the energy consumed per useful bit as a
Acknowledgments
function of payload and under different values of coding rate The authors extend their appreciation to the Deanship of
(CR) (while maintaining SF fixed). When the coding rate Scientific Research at King Khalid University for funding
decreases (means increasing the number of coding bits), this work through a general research project under grant
the transmission time of a packet and the power consump- number (R.G.P.1/194/41).
tion increased too. These results show that an optimization
of LoRaWAN parameters such as SF, CR, and payload size
is a key element in reducing energy consumption for such References
a communicating sensor. When the value of CR is low, the
energy consumption is high. So, the lowest value of CR is [1] N. Misran, M. S. Islam, G. K. Beng, N. Amin, and M. T. Islam,
“IoT based health monitoring system with LoRa communica-
4/5 in this experiment.
tion technology,” in 2019 International Conference on Electri-
Figure 9 shows the variation of the ToA as function of cal Engineering and Informatics (ICEEI), pp. 514–517,
the payload while varying SF. Here, we can clearly see that Bandung, Indonesia, 2019.
if SF is increased the ToA parameter will increase, too. The [2] D. Ismail, M. Rahman, and A. Saifullah, “Low-power wide-area
variation of the transmission time on air depends on the networks: opportunities, challenges, and directions,” in Proceed-
value of SF. For example, suppose that we take SF = 8 for ings of the Workshop Program of the 19th International Confer-
BW = 250 kHz, here, the value of the transmission time will ence on Distributed Computing and Networking, Varanasi,
be equal to 60 ms. When we increased the value of SF for India, 2018.
example to 12, the value of the transmission time will be [3] K. Mekki, E. Bajic, F. Chaxel, and F. Meyer, “A comparative
increased also to 872 ms. This increase will affect the energy study of LPWAN technologies for large-scale IoT deploy-
consumption that will be approximately higher; it means that ment,” ICT Express, vol. 5, no. 1, pp. 1–7, 2019.
each node will consume more energy while sending data. Here, [4] A. Lavric and V. Popa, “Performance evaluation of LoRaWAN
we can say that a good compromise to increase the ToA is to communication scalability in large-scale wireless sensor net-
change between the subbands of the reserved channel. works,” Wireless Communications and Mobile Computing,
The impact of the CR on the transmission parameter vol. 2018, Article ID 6730719, 9 pages, 2018.
time on air is shown in Figure 10. It is noted that the [5] F. Shu, “UAV based relay for wireless sensor networks in 5G
increase in the number of coding bits leads to an increase systems,” Sensors, vol. 18, no. 8, p. 2413, 2018.
in packet transmission time, which also leads to a higher [6] R. W. Jones and K. Katzis, “5G and wireless body area net-
consumption of the radio module. works,” in 2018 IEEE Wireless Communications and Network-
ing Conference Workshops (WCNCW), pp. 373–378,
Barcelona, 2018.
8. Conclusions [7] A. M.-K. Wong, C.-L. Hsu, T.-V. Le, M.-C. Hsieh, and
T.-W. Lin, “Three-factor fast authentication scheme with time
IoT sensor devices make the work within hospital or homes
bound and user anonymity for multi-server E-health systems in
more sophisticated. The use of recent trends in electronic 5G-based wireless sensor networks,” Sensors, vol. 20, no. 9,
devices and protocol of communication may improve the p. 2511, 2020.
data transmission without loss and within a brief time. But [8] I. Ahmed, H. Karvonen, T. Kumpuniemi, and M. Katz, “Wire-
some devices need a good choice of batteries and a good less communications for the hospital of the future: require-
management of information to be powered during a long ments, challenges and solutions,” International Journal of
period of time. One aspect of this research work consists of Wireless Information Networks, vol. 27, no. 1, pp. 4–17, 2020.
minimizing the energy consumption in order to improve [9] M. Kumbakonam, A. Bai, and S. Vempati, “IoT-based
the ease of use and to enhance the lifespan of the batteries, healthcare monitoring system for soldiers,” Journal of Engi-
which could ultimately lead to a network. In our future neering Sciences, vol. 11, no. 6, 2020.
12 Mobile Information Systems

[10] I. Bouazzi, J. Bhar, and M. Atri, “A dynamic adaptation mech- 2018 International Conference on Embedded Wireless Systems
anism for traffic conditions in wireless sensor network,” Wire- and Networks, pp. 233–238, Madrid, Spain, February 2018.
less Pers Commun, vol. 101, no. 4, pp. 1967–1982, 2018. [25] H. Abdelfatteh, A. Abdelhak, and D. Aziz, “Performance eval-
[11] I. Bouazzi, J. Bhar, and M. Atri, “New CSMA/CA prioritisation uation of low-power wide area based on LoRa technology for
based on fuzzy control mechanism,” International Journal of smart metering,” in Proceedings of the 6th International Con-
Intelligent Engineering Informatics, vol. 5, no. 3, p. 253, 2017. ference on Wireless Networks and Mobile Communications,
[12] S. Balakrishna, V. K. Solanki, V. K. Gunjan, and vol. 16–19, pp. 97–102, Marrakesh, Morocco, October 2018.
M. Thirumaran, “A survey on semantic approaches for IoT [26] T. Bouguera, J.-F. Diouris, J.-J. Chaillout, R. Jaouadi, and
data integration in smart cities,” in International Conference G. Andrieux, “Energy consumption model for sensor nodes
on Intelligent Computing and Communication Technologies, based on LoRa and LoRaWAN,” Sensors, vol. 18, no. 7,
pp. 827–835, Springer, Singapore, 2019. p. 2104, 2018.
[13] A. J. Zargar, N. Singh, G. Rathee, and A. K. Singh, “Image data- [27] https://enless-wireless.com/fr/qualite-air-interieur-espagne.
deduplication using the block truncation coding technique,” in [28] https://www.lembarque.com/article/le-bouton-dappel-
2015 International Conference on Futuristic Trends on Compu- durgence-dans-les-hopitaux-se-convertit-au-protocole-sans-
tational Analysis and Knowledge Management (ABLAZE), fil-lorawan.
pp. 154–158, Greater Noida, India, 2015.
[29] V. K. Gunjan, M. J. Reddy, F. Shaik, and V. Hymavathi, “An
[14] A. Kurtoglu, J. Carletta, and K. S. Lee, “Energy consumption in effective user interface image processing model for classifica-
long-range linear wireless sensor networks using LoRaWan tion of brain MRI to provide prolific healthcare,” Helix J,
and ZigBee,” in 2017 IEEE 60th International Midwest Sympo- vol. 8, no. 3, pp. 3488–3491, 2018.
sium on Circuits and Systems (MWSCAS), Boston, MA, USA,
2017. [30] R. Kaluri, D. S. Rajput, Q. Xin et al., “Roughsets-based
approach for predicting battery life in IoT,” 2021, https://
[15] D. Damilola, A. Abu-Mahfouz, and G. Hancke, “A survey on arxiv.org/abs/2102.06026.
LPWAN technologies in WBAN for remote health-care mon-
itoring,” Sensors, vol. 19, no. 23, p. 5268, 2019. [31] K. Lakshmanna and N. Khare, “Constraint-based measures for
DNA sequence mining using group search optimization algo-
[16] A. Dimitrievski, S. Filiposka, F. J. Melero et al., “Rural rithm,” International Journal of Intelligent Engineering & sys-
healthcare IoT architecture based on low-energy LoRa,” Inter- tems, vol. 9, no. 3, pp. 91–100, 2016.
national Journal of Environmental Research and Public Health,
vol. 18, no. 14, p. 7660, 2021. [32] A. Duda and T.-H. To, “Simulation of LoRa in NS-3: improv-
ing LoRa performance with CSMA,” in IEEE International
[17] R. Liang, L. Zhao, and P. Wang, “Performance evaluations of Conference on Communications (ICC), Kansas City, MO,
LoRa wireless communication in building environments,” Sen- USA, May 2018.
sors, vol. 20, no. 14, p. 3828, 2020.
[33] F. Yu, Z. Zhu, and Z. Fan, “Study on the feasibility of LoRa-
[18] S. Muekdang and W. San-Um, “Intelligent RF-based indoor
WAN for smart city applications,” in 2017 IEEE 13th Interna-
localization through RSSI of LoRa communication technol-
tional Conference on Wireless and Mobile Computing,
ogy,” IEEE Access, vol. 7, no. 4, pp. 79–85, 2018.
Networking and Communications (WiMob), pp. 34–40, Rome,
[19] P. Juha, M. Konstantin, Y. Rumana, H. Matti, and L. Jari, Italy, Novembre 2017.
“Evaluation of LoRa LPWAN technology for indoor remote
[34] T. R. Gadekallu, D. S. Rajput, M. Reddy et al., “A novel PCA–
health and wellbeing monitoring,” International Journal of
whale optimization-based deep neural network model for clas-
Wireless Information Networks, vol. 24, no. 2, pp. 153–165,
sification of tomato plant diseases using GPU,” Journal of
2017.
Real-Time Image Processing, vol. 18, no. 4, pp. 1383–1396,
[20] P. A. Catherwood, S. David, L. Mike, M. Stephen, and L. James, 2021.
“A Community-based IoT personalized wireless healthcare
[35] NS-3 Consortium, NS-3 is a discrete-event network simulator,
solution trial,” IEEE journal of translational engineering in
2017, https://www.nsnam.org.
health and medicine, vol. 6, p. 21, 2018.
[21] H. Lee and K. Ke, “Monitoring of large-area IoT sensors using
a LoRa wireless mesh network system: design and evaluation,”
IEEE Transactions on Instrumentation and Measurement,
vol. 67, no. 9, pp. 2177–2187, 2018.
[22] A. Mdhaffar, T. Chaari, K. Larbi, M. Jmaiel, and B. Freisleben,
“IoT-based health monitoring via LoRaWAN,” in Proceedings
of the IEEE EUROCON 17th International Conference on
Smart Technologies, vol. 6–8, pp. 519–524, Ohrid, North Mac-
edonia, July 2017.
[23] J. Haxhibeqiri, A. Karaagac, F. Van den Abeele, W. Joseph,
I. Moerman, and J. Hoebeke, “LoRa indoor coverage and per-
formance in an industrial environment: case study,” in Pro-
ceedings of the IEEE International Conference on Emerging
Technologies and Factory Automation-ETFA, vol. 12–15,
pp. 1–8, Limassol, Cyprus, September 2017.
[24] G. D. Campo, I. Gomez, S. Calatrava, R. Martinez, and
A. Santamaria, “Power distribution monitoring using LoRa:
coverage analysis in suburban areas,” in Proceedings of the

You might also like