Scalable
Scalable
A Throughput Analysis
Soukaina Ihirri12 , Essaid Sabir1 , Ahmed Errami1 , Mohamed Khaldoun1
1 NEST Research Group, LRI , ENSEM, Hassan II University of Casablanca, Morocco
2 LPRI, EMSI, Casablanca, Morocco.
Abstract—LoRa (Long Range) is increasingly catching the LoRa represents half of the WAN connections for appli-
attention of researchers, industry leaders and business influencers cations [14]that are not feasible with conventional cell net-
as one of the most promising standard for Internet of Things works, such as: smart meters, Agriculture to control irrigation
(IoT) ecosystem. LoRa uses slotted Aloha protocol allowing
connected IoT devices to send data in a sporadic way and systems, Logistics for equipment monitoring, Environment to
a fully distributed fashion without syncing with other devices. monitor pollution, Climate Change [4], Health to Diagnose
Under a massive IoT environment, LoRa experiences too many Patients in Real Time and Home Automation or Fire Detection
collisions which decreases the average throughput drastically Sensors. Around 250 LoRa base stations are enough to cover
and increases the expected delay. In this paper, we propose the entire country of Switzerland. For Netherlands, approxi-
a scalable slotted Aloha access method for LoRa-empowered
Massive IoT environments. Our scheme uses the option field of mately 500 such base stations are required [5]. MAC protocols
the LoRa frame, and proposes to iteratively reduce the number are widely used, but are too complex and expensive to use
of contending devices till this field expires. The remaining devices for LoRa needs. LoRa networks use the Aloha protocol that
will access the channel using the legacy slotted Aloha. Our allows a connected object to send without having to negotiate
approach does not require any change of the LoRa frame which permission to do so. This protocol is based on the time
is of great interest from implementation perspective. Analytic
results and extensive numerical examples show clearly how our division multiple access (TDMA) MAC scheme, where nodes
scheme outperforms the legacy LoRa. We also provide some are allowed to transmit a packet at any time and scheduled to
insights on how to select the network parameters so as the whole transmit and receive during a concerned Slot(s).
network performance is maximized. LoRa is considered as a viable solution for large scale dis-
tributed measurement systems. A huge amount of information
Index Terms—LoRa, slotted Aloha, MAC layer, IoT devices,
Throughput analysis. is collected from a very large number of smart devices.
However, in some cases its recommended to favor information
I. I NTRODUCTION over others in order to limit the potential for collisions.
Internet of Things (IoT) is one of the key technologies In this paper, we propose a scalable slotted Aloha MAC
following the development of computing and communication, protocol. The solution is an improved version of the slotted
not only at research level but also at application level. It aims Aloha where a logical frame is divided into 2 sub-frames:
at collecting data from billions of devices connected altogether. Contention sequence (CS) code and DATA. The idea is to
Smart and connected things are transforming themselves from resolve the problems related to access to the same shared
stand-alone devices to parts of collaborative systems. There- communication channel. The contribution of the paper is
fore, we are moving towards a more “connected world”, which twofold:(i) a CS code is introduced in the frame option for
did not miss the arrival of a plethora of technologies. So many all devices having a packet to transmit; thus, the number of
data generated and collected from a very large number of smart devices sensing the channel is going to decrease in order
devices. Today, the vision of IoT has expanded to connect to decrease collisions in LoRa transmissions; (ii) we derive
everything for long range, thanks to the combined efforts of a mathematical model to study the performance of Massive
companies and universitys research. The deployment of smart LoRa network. We compute the optimum CS length and the
devices serving various IoT applications is estimated to grow success probability in order to achieve a maximum throughput.
over 30 billion globally by 2020 [1]. The world of IoT did not We demonstrate that the proposed Scalable slotted Aloha
miss the arrival of LoRa (Long Range) technology [2] [3]. present a promising throughput compared to the standard
LoRa is a type of network or more exactly a long distance slotted Aloha.
and low speed technology, operating on free frequencies, This paper is organized as follows. Section II briefly intro-
characterized by triple winner: long range, low flow, and low duces the problem formulation. The average throughput of
energy consumption. The goal of LoRa is to allow the creation the Scalable slotted Aloha is presented in section III, and
of a large network for connected objects, to reduce the costs as section IV provides details about the achievable throughput
well as the electricity consumption of the connected devices. for symmetric case. Numerical Investigations are presented
in section V. Finally, section VI presents some concluding
remarks.
Frame Frame
paradigm referred to as Low Power Wide Area Network Payoad Frame Header
Port Payload
(LPWAN). LPWAN is a very popular networking technology
that supports a large amount of underground, underwater or
1 Byte 4 Bytes
even deep inside building devices for an interesting life time. PHY
Payoad MAC
MAC Payload MIC
It is an excellent fit to the IoT traffic coming from different Header
509
Authorized licensed use limited to: Indian Institute of Technology Indore. Downloaded on March 02,2024 at 18:27:31 UTC from IEEE Xplore. Restrictions apply.
become the bottleneck of the system [4]. At the same time, highlight that the CS’s bits can’t be all zeros or ones, because
the probability that devices can have a successful transmission these two combinations;if they are present in the battle; will
tends towards zero. Therefore, LoRa’s limitations are unclear represent always a winner and a loser .
because there is still no deployment of a massive LoRaWAN
network. In this paper we introduce a hybrid MAC protocol E. Protocol design (Frame option field)
for Massive LoRa network to increase the chances that a As it was described in sub section B that LoRa Frame
device having a packet to transmit has access to the channel. contain respectively the Preamble, Header, H-CRC, the PHY
The proposed protocol is based on both the ZFA(Zero Failure payload and finally the CRC. In order to improve anything
Access) access protocol [11], which is used to resolve the related to LoRa Standards, no modification in pre-existing
problem of conflicts in a shared communication channel LoRaWAN Libraries is required.
environment, and the slotted Aloha Used for LoRa Networks. In a different way from what has been presented in the
The concept of the proposed scalable slotted Aloha is to literature, our approach is to improve the slotted Aloha
eliminate stations and let at list a set of stations having a for LoRa Network by exploring the Frame option of the
packet to transmit to access the channel. We assume that the frame Header to implement our technique. The frame
set of the elective users depend on a contention sequence Options contains commands used to validate connection,
code in the frame option of LoRa frame Header. for the transmission power and to change the data rate, etc.
Throughout this, it can be seen that we will not change the
basics of LoRaWAN.
D. Divide and rule paradigm
As we mentioned previously, the proposed solution is based It is known that Aloha present high collision probability in
on ZFA [11]. The ZFA is based on putting all stations in a massive networks. Our Approach rely on allowing several
competition where all of them sensed the channel to be station to access the shared channel and to decrease the
unoccupied and try to access the medium at the same time. collision by appropriately selecting an optimal Code sequence.
To limits the number of collisions, the ZFA pick out at the This CS code used in order to achieve an optimal transmission
end one station to access the channel via competition process. probability as well as an optimal throughput. Each frame
The frame of each station is divided into 2 sub-frames; the CS station contains a unique sequence CS that satisfy 0 < m <
code which is including m bits used in the completion process log2(N ) where m represent the size of the CS sequence in the
and data sub frame. We should highlight that each station must frame option, and N is the number of station in the concerned
pass through three successive phases: network.
1 Phase of unoccupied channel, when all stations must If we take for example m=1, Half of the users will access the
sense the channel before going through combat process. channel(see fig.3). With m = 2,Split the number of users into
2 The combat between stations, in which, all stations trans- four halves. N4 are going to share the channel. In a general
mit there CS code in order to choose one station as a case, with m as length of the CS code, the number of users is
winner going to be 2Nm . Our proposed protocol define a kind of battle
3 The phase of transmitting, which is the last phase. The where all station try to access the shared channel in order to
chosen station can transmit in the shared channel. give the opportunity to active stations that have at least one
packet ready to transmit their packets.
the throughput in ZFA [11] is written as follow:
LoRa Frame
X Y Y
θZF A = λi (1 − λj ) (1)
Z∈M i∈Z j∈M \Z N/2
Network Size
m=1
ZFA allows only one station to access the medium. However, N/4
when we talk about LoRa network, we ought to think about
m=2
the massive amount of information coming from different N/8
stations. The problem of collision can be easily generated. Our m=3
proposed solution is an improvement of the standard slotted
Aloha for Massive IoT network. Based on divide and conquer
technique, the goal is to identify the set of active nodes having
a packet to transmit to access the medium and transmit data
Network Size
510
Authorized licensed use limited to: Indian Institute of Technology Indore. Downloaded on March 02,2024 at 18:27:31 UTC from IEEE Xplore. Restrictions apply.
III. AVERAGE T HROUGHPUT OF S CALABLE SLOTTED The throughput can be simplified by replacing the following
A LOHA expression from equation (4) with that simplification:
In general, the throughput is the fraction of slots that contain
PN −1 N −1
a successful transmission. For a very low transmission rate (a A= z=0 (λ)z (1 − λ)N −1−z (1 − p)z
few packets/day), throughput is impacted by packets collisions. z
However, at higher transmission rates duty cycling impacts A = (1 − λp)N −1
the throughput. We consider an N IoT devices transmitting Then the throughput in the symmetrical case can be simpli-
to the same base station over a shared channel. The idea is fied to a good extent:
to put station trying to access the channel into a combat in M −m
θ(p, λ) = N.p.λ(1 − λp)N −1 (5)
order to have a set of stations that can access the channel. M
Our proposed technique aims to keep the set of station having We consider pλ = q then the formula (5) can be presented as
a packet to transmit beyond the active ones. We assume that follow:
time is slotted and the frame is divided into the CS code and
data frame. We should highlight that the CS code must be M −m
θ= N.q(1 − q)N −1 (6)
unique. We summarize principle notations of the paper in the M
following list: We highlight that the concept of the proposed protocol is to
• N is the total number of the station in the concerned eliminate stations and let at list a set of users to access the
network. channel. According to what has been presented in section II-
• K set of active nodes having a packet to transmit. c, the set of the elective users can be expressed as: 2Nm .Then,
• P = (p1 , p2 , ..., pN ) : denote the probability of transmis- formula (7) can be written as follow:
sion on the Channel on a given time slot. M −m N N
511
Authorized licensed use limited to: Indian Institute of Technology Indore. Downloaded on March 02,2024 at 18:27:31 UTC from IEEE Xplore. Restrictions apply.
P ROOF
1
In order to compute the optimal CS length; that maximize N1=10
N2=100
the total throughput; the first order derivation is computation- 0.9
N3=1000
ally intractable, which could not help to drive a good form of N4=10000
∗
M −m 1 1
Θ(m∗ ) = .q(1 − q) λ −1 (12) 0.2
M λ
0.1
It’s obvious that 0 < p∗ < 1 and as it has been already
m
mentioned that q∗ = λp∗ then 0 < 2λ N < 1 to finally find 0
0 2 4 6 8 10 12 14
that 0 < m∗ < log2 (λN ). Contention Code Length
we consider 2 throughput function, one depend on the the m
and the other in view of m∗ , then we compute the sign of the
Fig. 4. The Optimal transmission probability
difference.We found that Θ(m) < Θ(m∗ ).
3) Proposition 3: : Substituting equation (7), (8) and (11),
we obtain the achievable throughput proposition depending on
14
both the optimal CS length and transmission probabilitym∗
and q∗. 12
M − log2 (λN ) 1
Θ∗ = (1 − λ) λ − 1 (13)
Optimal Contention sequence length m*
M 10
V. N UMERICAL I NVESTIGATIONS
8
Different studies have sought to evaluate the performance
of Lora Network [12] [13]. It’s known that the network 6
512
Authorized licensed use limited to: Indian Institute of Technology Indore. Downloaded on March 02,2024 at 18:27:31 UTC from IEEE Xplore. Restrictions apply.
legacy slotted Aloha. We currently deal with the derivation
0.502 the delay distribution of our scheme in order to get insights
λ=0.5; M=800
λ=0.5; M=1200 on how to support delay sensitive applications over LoRa.
0.501 λ=0.5; M=1700
λ=0.5; M=2000
R EFERENCES
0.5
[1] G.Jayavardhana, et al. “Internet of Things (IoT): A vision, architectural
0.499 elements, and future directions“. Future generation computer systems
Achievable Throughput
513
Authorized licensed use limited to: Indian Institute of Technology Indore. Downloaded on March 02,2024 at 18:27:31 UTC from IEEE Xplore. Restrictions apply.