Next Article in Journal
Personality-Based Affective Adaptation Methods for Intelligent Systems
Previous Article in Journal
Metamaterials-Enabled Sensing for Human-Machine Interfacing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Joint Spreading Factor and Channel Assignment in Multi-Operator LoRaWAN Deployments

1
Département Informatique, Université Paris-Saclay, UVSQ, 78035 Versailles, France
2
Faculty of Engineering ESIB, Université Saint-Joseph de Beyrouth, ESIB, CIMTI, Beirut, Lebanon
3
Inria, CRI Saclay-Île-de-France, 91120 Palaiseau, France
4
Université Paris-Saclay, LRI, 91190 Gif-sur-Yvette, France
*
Author to whom correspondence should be addressed.
Sensors 2021, 21(1), 162; https://doi.org/10.3390/s21010162
Submission received: 16 November 2020 / Revised: 17 December 2020 / Accepted: 18 December 2020 / Published: 29 December 2020
(This article belongs to the Special Issue Advanced Sensors in LoRaWAN Network)

Abstract

:
LoRaWAN is a popular internet of things (IoT) solution over the unlicensed radio band. It sustains low-cost, durable, and long range IoT wireless communications. Nonetheless, with over 24 billion connected IoT devices being expected by the end of the year, and over 50 billion by 2025, the concurrent and legacy approaches to spreading factor and channel assignment in LoRaWAN networks can no longer keep up. This is exacerbated with the growing densification of IoT device deployments and, with the increasing requirements for better throughput and packet delivery ratios. In this paper, we propose a proportional fair-based joint optimal formulation for spreading factor and channel assignment in multi-operator LoRaWAN deployments. The objective of this problem is to maximize the total sum of the logarithmic normalized throughput. We split the problem into two subproblems, and propose a game theoretic approach to solving them. We prove that our games converge towards a pure Nash equilibrium and, afterwards, solve the optimization problems using both semi-distributed and completely distributed algorithms. Via simulations, we show that our algorithms greatly improve the total normalized throughput for LoRaWAN as well as the packet success rate, in comparison to the legacy approaches.

1. Introduction

With an ever increasing demand for reliability within IoT deployments, and with the inevitable densification of internet of things (IoT) devices, concurrent approaches to spreading factor (SF) and channel assignment in Long Rage Wide Area Networks LoRaWAN networks no longer suffice. The low power, long range, and durable transmissions in LoRaWAN take place over the frequency channels of the unlicensed industrial, scientific, and medical (ISM) bands while using a spread-spectrum modulation. Six spreading factors that range from SF7 to SF12 are used. Transmissions that are on the same SFs and on the same frequency channels lead to collisions. The latter become inescapable with multiple LoRaWAN deployments cohabiting the same areas. A 1% duty cycle limitation, which was introduced to maintain fairness in the ISM band, does little to improve the reliability of LoRaWAN networks, while simultaneously limiting their scalability.
In this paper, we aim to tackle the various problems facing the reliability and scalability of LoRaWAN via a joint SF and channel assignment proposal. We start by presenting an optimal formulation for the joint problem aimed at optimizing the throughput in a fair manner. Because of the complexity of the problem, and its unattainable requirement of a centralized solver in a multi-operator deployment, we choose to divide the problem into two: (a) an SF assignment subproblem and (b) a channel assignment subproblem. We use a non-cooperative game theory approach in order to portray each subproblem. The different operators are competing, yet rational, players of these games, and they each seek to maximize their own utility.
For the SF assignment subproblem, we propose a semi-distributed best response algorithm aimed at finding the Nash equilibrium (NE) of the game. We additionally propose a heuristic to make it completely distributed.
For the channel assignment subproblem, we show that our game possesses a weighted potential function and that, by extension, a pure NE exists and it can be reached via both best response and replicator dynamics. The game permits selecting the number of channels to be allocated to each operator, with its traffic being equally distributed on the channels it selects.
We solve the decoupled problem for SF assignment first, and for channel assignment second. The joint algorithm can be semi-distributed (best response approaches) or completely distributed (learning approach). We describe our proposals and then compare them to the concurrent approach in SF and channel selection in LoRaWAN, which consists of adaptive data rate (ADR) for SF selection, along with random channel selection for each packet.
The rest of this paper is structured, as follows: Section 2 describes the related works from the state-of-the-art and our contributions. In Section 3, we introduce our system model. We discuss our optimal formulation for SF and channel assignment in Section 4. Our game for SF assignment is detailed in Section 5, and its counterpart to channel assignment in Section 6. Section 7 presents the simulations and results. Finally, the paper is concluded with Section 8.

2. Related Works and Contributions

In this section, we highlight some of the state-of-the-art approaches to SF and channel assignment in LoRaWAN and discuss how our proposals differ from them.
We start with some influential publications on the capabilities and limitations of LoRaWAN. Using an ns3 simulator, the authors of [1] analyze the scalability of legacy LoRaWAN. They illustrate how downlink traffic negatively impacts the packet delivery ratio and conclude that duty cycle limitations hinder the scalability of LoRaWAN. In [2], the authors study the legacy ADR SF selection algorithm and deduce that, while it does reduce device energy consumption, it does also limit the expansion of LoRaWAN networks. When considering ISM band interferences, the authors of [3] study their impact on the bit error rate. They prove that there exists a signal-to-interference ratio threshold beyond which the impact of narrow-band interference becomes negligible.
More related to the context of our work in this paper, the authors in [4], propose what they labeled as a smart spreading factor selection approach for LoRaWAN networks. They aimed to optimize the SF selection process while using support vector machines and decision tree classifier machine learning. Their simulation results show that their algorithm improves the packet delivery ratio for LoRaWAN.
In [5], an interference-aware algorithm for SF selection is proposed. Several factors are taken into consideration by the authors, including the sensitivity of the gateways and the interfering SFs. They propose an algorithm that decreases the time-on-air for every device in the network. They illustrate how their algorithm increases the total packet delivery ratio in comparison to the legacy LoRaWAN SF selection approach.
The authors of [6] propose a traffic oriented SF selection algorithm that equalizes the traffic loads on the SF channels. They additionally propose a K-means algorithms with the objective of relieving the crowded regions that are suffering from excessive collisions. The authors show that their proposed algorithms help to improve the scalability of LoRaWAN networks.
With the objective of increasing the data delivery ratio in LoRaWAN, the authors of [2,7] detail the limitations of the legacy SF selection algorithm and, thereafter, propose algorithms to tackle them. In [2], the authors argue that their approach can improve the scalability of LoRaWAN with a trade-off of a marginal increase in device power consumption. In [7], the authors claim that their proposed algorithm can improve data delivery in a dense LoRaWAN deployment.
An extension to the legacy ADR approach, which is called ExpLoRa-SF, is presented in [8]. ExpLoRa-SF equally distributes the SFs on the devices subject only to device SNR. Through simulations, they show that their proposal can outperform the legacy approach.
In relation to the ISM band channels, the authors in [9] present a channel control scheme for LoRa. They balance the traffic on all available channels. They show how their proposal outperforms legacy and state-of-the-art proposals in dense deployment scenarios.
In [10], the authors present a scheduling algorithm that aims to ameliorate the scalability of LoRaWAN. Their proposal schedules the SFs, the channels, and the time slots for all the devices-to-gateway wireless links. They show the gains in packet delivery ratios from their proposal in comparison to the Aloha access scheme.
The authors in [11] study the performance of a Multi-Armed Bandit algorithm for channel selection in LoRaWAN. An analysis of the proposal simulation results show that each device ends up selecting the appropriate channel based on what improves its packet delivery ratio.
Finally, in [12] the authors present a lightweight scheduling algorithm for SF and channels the selection in LoRaWAN networks. Their proposal, RS-LoRa, lets devices choose their own SFs according to probability distributions defined in response to the observed rate following the utilization of each SF. In a single cell scenario with 1000 devices present, they show that their proposal can reduce the packet error rate by 20% with respect to legacy LoRaWAN networks.
In this paper, we consider multiple co-located network operators, unlike the vast majority of the state-of-the-art that work on single-cell, single operator networks [2,4,5,7,9,10,12]. This invalidates many of the state-of-the-art proposals that presume that their algorithms can be addressed in a centralized manner, an unrealistic assumption in a multi-operator deployment. Our proposals compute solutions at the different operator levels with the results relayed back to the devices during their listening windows. This means that our proposals can be implemented for all LoRa device classes, unlike many state-of-the-art algorithms that require device-level intelligence [11,12]. Additionally, our work does not rely on classical scheduling, as in [10], an unrealistic approach with a 1% duty cycle limitation in place.
We summarize our contributions, as follows:
(a)
We propose an optimal formulation for SF and channel assignment in a multi-operator LoRaWAN deployment. We divide the problem into two: (a) an SF assignment subproblem and (b) a channel assignment subproblem. We propose non-cooperative games for each subproblem, which we solve successively until reaching their pure Nash equilibrium.
(b)
We propose a semi-distributed approach for finding the NEs of the decoupled problem based on best response dynamics.
(c)
After proving their convergence, we propose a replicator dynamics based learning approach for finding the NE for the channel selection game. We thereafter propose a distributed approach for solving the decoupled problem.
(d)
We simulate our proposals and compare them to the concurrent approach to SF and channel selection in LoRaWAN networks. We highlight the gains that they bring in terms of throughput, packet delivery ratios, and energy efficiency.

3. System Model and Specifications

We consider multiple LoRaWAN deployments belonging to different operators. Each network i N has N i nodes and r i gateways. The gateways for the different operators are coincident, i.e., they are present at the same location sites. The devices are scattered across a square shaped area, as shown in Figure 1.
All of the nodes generate packets with a rate λ i . Transmission attempts are done according to a Poisson process with packet size l being constant. Let T s be the time that is needed to transmit a packet of size l while using spreading factor s. LoRa supports SFs that range from 7 to 12. The latter represent a trade-off between coverage and data rate. For instance, SF7 yields the highest data rate, but it covers the shortest distance. The SFs are orthogonal meaning that packets transmitted during the same time frame with different SFs will be successfully received. LoRa utilizes forward error correction to detect and correct transmission errors with the coding rate set to 4/(C+4), where C∈ {1,2,3,4}. Table 1 shows the variation of data rate, sensitivity, and SNR thresholds as a function of the SFs that are utilized in the 868 MHz band for C = 4.
The upper layer protocol LoRaWAN uses a star topology. Each network connects to its own network server with one hop communications, where all of the gateways forward the packets to the server. Figure 2 presents a typical architecture of such a network.
Because LoRaWAN uses pure Aloha as a channel access scheme, the duty cycle in the LoRa band is limited to d = 1%. As such, the packet generation rate must verify that λ T s d. LoRaWAN supports multiple frequency bands within the unlicensed bands around 433, 868, and 915 MHz. In Europe, the 868 MHz band is used with 125, 250, and 500 kHz bandwidth channels.
Figure 3 shows a typical network stack of a LoRa node. LoRa devices can be divided into three classes based on the application:
  • Class A: the device wakes up to send a packet. After sending the packet, the device listens for a short period of time before going back to sleep. This class of LoRa devices consumes the least amount of energy.
  • Class B: the device has regularly scheduled listening periods.
  • Class C: under this configuration, a device is always listening. This leads to maximum energy consumption.
An additional advantage for our proposals in this paper is that, contrary to many others in the state-of-the-art, they do not require additional synchronization to be added to current LoRaWAN specifications for class A. The network server can notify the nodes of their SF and channel assignments within their receiving windows. Finally, Table 2 has a summary of the notations concerning our system model.

4. Optimal Formulation for SF and Channel Assignment

We consider multiple co-located operators. Suppose that the different operator devices are transmitting on one of a set of available channels C . We introduce the normalized channel traffic load per SF, and per channel G s c , as:
G s c = λ s c e · T s + i = 1 N 1 n · x i c ( λ i · N c o i · p s i · T s ) ,
where x i c is a binary variable that is equal to one if network operator i is using channel c, and zero otherwise, and n is the number of channels that each operator can use. The total normalized traffic load for a network i, per SF, and per channel it is utilizing, can be written as:
G s c i = 1 n ( λ i · N c o i · p s i · T s ) .
As such, with the success rate being expressed as exp ( 2 G s c ) , the total normalized throughput in the network becomes:
T = i = 1 N c = 1 C s = 1 S x c i · G s c i exp ( 2 G s c ) .
We define the proportional fair global optimal problem, in order to maximize the total normalized throughput through spreading factor and channel selection, as follows:
Maximize x c i , p s i i = 1 N c = 1 C s = 1 S x c i · log ( G s c i exp ( 2 G s c ) ) Subject to
s = 1 S p s i 1 , i N ,
k = 1 s p k i k = 1 s N k i N c o i , s = 1 , , S , i N ,
c = 1 C x c i n , i N ,
x c i { 0 , 1 } , i N , c C .
The function in (4a) is the objective of the problem, in order to maximize the total normalized throughput in the system over all the channels, over all of the spreading factors. The constraints in (4b) ensure that the sum of the ratio on all of the SFs remains less than or equal to one. The constraints in (4c) ensure that no device could be assigned an SF it cannot use. Finally, the constraints in (4d) and (4e) verify that each operator will not use more than n channels.
Not only is the problem with this formulation expensive to solve (MILP), it also requires the presence of a centralized server that can solve the problem in one shot. The latter would have to have all of the information regarding all the different operators. This is not a realistic approach. As a consequence, we divide the problem into two sub problems: (a) a spreading factor selection problem and (b) a channel selection problem. We use game theory to solve each of the aforementioned problems at the operator level.
In our work, we decoupled the joint problem and solved for the SFs first, and for the channels second. Iterating the algorithm i.e., solving again for SF assignment after channel assignment and so on does not yield a different result. This is because, for our objective, the SF selection is independent of what channels the devices are using, as attested to in Equation (7). Finally, the joint assignment algorithm can either be semi-distributed, by using the best response algorithms to solve for the NEs, or completely distributed, by using the learning approach.

5. Multi-Operator Game for SF Assignment

We first propose a game for SF selection. This game is played among the different network operators under the assumption of previously selected channels per operator. Each network aims to find the SF distribution p s i , which maximizes its own normalized traffic throughput. Nonetheless, networks can not do this independently. Otherwise, within the same geographical zone i.e., devices would have the same radio conditions, all of the devices would default to similar SF selections. This would increase the risk of collisions. The situation makes non-cooperative game theory ideal for SF selection in a multi-operator LoRaWAN deployment, where rational players (the operators) are competing for rather contradicting objectives.

5.1. Game Formulation

As such, we define a multi-player game G S F between the different present operators. The formulation of this game G S F = N , i S i , U i can be described, as follows:
  • A finite set of players i N , the set of operators.
  • The action of a given player is the percentage of devices allocated any spreading factor s, the strategy chosen by an operator i is then p i = ( p 1 i , , p 6 i ) , the percentage of its devices on each spreading factor, where, for example, p 1 i is the percentage of devices using SF7.
  • For each player i, the space of pure strategies is S i , such that S i = { p i [ 0 , 1 ] S | (4b) and (4c), s = 1 , , S } .
  • A set of utility functions ( U i N ) that quantify players’ profit for a given strategy profile.

5.2. Player Utilities

Each player, i.e., network operator, will seek to maximize the logarithmic sum of its own normalized throughput. As attested to in [13], the logarithmic utility function is intimately associated with the concept of proportional fairness. The goal is to strike a good compromise between efficiency (maximizing the log of throughput will increase the throughput) and fairness. The utility per network operator can be expressed as:
U i = c = 1 C s = 1 S x c i · log ( G s c i exp ( 2 G s c ) ) ,
where exp ( 2 G s c ) represents the success ratio per spreading factor (the same for any network i) and G s c i represents the traffic load of network i. As such each network will seek to maximize its own delivered traffic, regardless of the others.

5.3. Best Response

In game theory, a rational solution is one where all of the competing players adhere to a Nash equilibrium (NE) [14]. An NE is a profile of strategies in which no player will take advantage of the others by unilaterally deviating its strategy. Thus, the primary challenge in game theory is to propose algorithms that are capable of reaching such an equilibrium. The simplest of these algorithms are the repeated best response dynamics. Following these dynamics, each player selects the best, and locally optimal, response to other players’ strategies, until the algorithm converges.
In our game G , for every network i, U i is strictly concave with respect to p i and continuous in p i (the strategy of all other players). Hence, a unique NE exists, and it can be reached via the repeated best response dynamics. As such, we implement a best response algorithm, where, in each iteration t b , network i seeks to find its optimal SF distribution as a response to p i ( t b 1 ) by solving the following problem:
Maximize p s i U i ( p i , p i ) Subject to
s = 1 S p s i 1 ,
k = 1 s p k i k = 1 s N k i N c o i , s = 1 , , S .
The optimum p s i must satisfy the Karush–Kuhn–Tucker (KKT) conditions. There exists a unique Lagrange multiplier α , such that:
p s i = 1 α + 2 λ i N c o i T s ,
α ( 1 s = 1 S p s i ) = 0 .
This produces two cases:
  • if α = 0, given that s = 1 S p s i 1 , then p s i = 1 2 λ i N c i T s .
  • if α ≠ 0, and, given that s = 1 S p s i 1 , then s = 1 S 1 α + 2 λ i N c i T s = 1.
The best response algorithm we implemented is sketched in Algorithm 1.
Algorithm 1 Best Response Algorithm for SF Selection
1:
Requires: Maximum tolerance ϵ 10 5
2:
Input: Initial SF assignment limits
3:
Initialize: t b = 0
4:
Do
5:
     t b t b + 1
6:
     For i = 1, …, N
7:
        Solve the problem in (6) for i
8:
        Update p s i
9:
        Compute δ i = | | p s i ( t b ) p s i ( t b 1 ) | |
10:
     End For
11:
Whilei such that δ i ϵ

5.4. Distributed Approach to SF Assignment

In order to make the SF assignment algorithm completely distributed, it is sufficient for any individual operator to have an estimation of the total packet delivery ratio (success rate) at the time they play the game. For simplicity, we assume that the number of devices present in its network is known by each operator. For instance, if 1000 devices are present and transmitting at one packet per hour, the operator expects to receive 1000 packets every hour. If it receives 600, and then it estimates that it has a packet delivery ratio of 0.6. With this estimation, any operator can play the game in a distributed manner, from simple knowledge of its own traffic.

6. Multi-Operator Game for Channel Selection

We additionally use non-cooperative game theory for the purpose of channel selection. In this game, the SF assignment is constant, and the channel selection varies.

6.1. Game Formulation

We define a multi-player game G c between the different present operators. The formulation of this game G c = N , i S i c , U i c is described, as follows:
  • A finite set of players i N , the set of operators.
  • The action of a given player is the choice of the channel. The strategy chosen by an operator i is then x i = ( x 1 i , , x C i ) , with each x c i indicating whether it utilizes channel c.
  • For each player i, the space of pure strategies is S i c , such that S i c = { x i { 0 , 1 } C | (4d), c = 1 , , C } .
  • A set of utility functions ( U i N c ) that quantify players’ profit for a given strategy profile.

6.2. Player Utilities

Each player, i.e., network operator, will seek to greedily maximize the sum of its own normalized throughput that was obtained by the Aloha medium access scheme. The utility per network operator can be expressed as:
U i c = c = 1 C s = 1 S x c i log ( G s c i exp ( 2 G s c ) )
where exp ( 2 G s c ) represents the success ratio per spreading factor and per channel in the entire system (and it coincides with the success ratio of any network i), and G s c i represents the traffic load of network i. Again, each player of the game is seeking, through channel selection, to maximize its own normalized throughput.

6.3. Existence of a Nash Equilibrium

We aim to prove that a pure Nash equilibrium does indeed exist for our game proposal. We do this by showing that this game possesses a weighted potential function [15]. For this proof, we assume that n = 1, i.e., each operator is only choosing one channel out of the channels available for transmission. We denote w i = s ( λ i · N c o i · p s i · T s ) . In order to prove that a Nash Equilibrium exists for this game, we consider j N and define the function ϕ , such that:
ϕ ( x i , x i ) = 1 2 c ( j w j x c j ) × ( 2 λ c e + j w j x c j ) = 1 2 ( j i w j x c i + w i x c i ) × ( 2 λ c e + j i w j x c j + w i x c i ) + 1 2 ( j i w j x c i + w i x c i ) × ( 2 λ c e + j i w j x c j + w i x c i )
Now, suppose that player i changes its choice from channel c to channel c , then
2 ϕ ( x i , x i ) 2 ϕ ( x i , x i ) = w i x c i × ( 2 λ c e + k w k x c k ) + w i x c i × ( k w k x c k ) w i x c i × ( 2 λ c e + k w k x c k ) w i x c i × ( k w k x c k ) = w i x c i ( 2 λ c e + 2 k w k x c k ) w i x c i ( 2 λ c e + 2 k w k x c k )   = w i U i c ( x i , x i ) w i U i c ( x i , x i ) ,
where U i c is the cost function associated with U i c , such that
U i c = log ( π s w s i ) + 2 c x c i [ k w k x c k + λ c e ]
Because a weighted potential function exists for our proposed game, pure Nash equilibriums exist and we prove, via simulations, their efficiency. For n> 1, the potential function still stands. Instead of changing the choice from one channel to another, we are changing from one strategy (two or more channels selected) to another.

6.4. Best Response Algorithm for Computing the NE

We first propose a semi-distributed approach for computing the NE based on repeated best response dynamics. In every iteration t c , a player i (network operator) seeks to find its optimal channel selection as a response to x c i ( t c 1 ) , the decisions of all the other players, by solving the following problem:
Maximize x c i U i c ( x i , x i ) Subject to
c = 1 C x c i n , i N ,
x c i { 0 , 1 } i N , c C
The corresponding pseudo-code for our proposal can be seen in Algorithm 2.
Algorithm 2 Best Response Algorithm for Channel Selection
1:
Requires: Maximum tolerance ϵ 10 5
2:
Input: Initial channel assignment
3:
Initialize: t c = 0
4:
Do
5:
     t c t c + 1
6:
     For i=1, …, N
7:
        Solve the problem in (13) for i
8:
        Update channel selection
9:
        Compute δ i = | | x c i ( t g ) x c i ( t g 1 ) | |
10:
     End For
11:
Whilei such that δ i ϵ

6.5. Distributed Learning-Based Approach to Computing the NE

In this section, we propose using replicator dynamics to solve the problem in a completely decentralized manner. Because our game possesses a potential function, the paper in [15] attests that replicator dynamics will converge almost surely to a pure Nash equilibrium. We first solve the problem for n = 1, i.e., each operator only chooses one channel for transmissions. The goal is to stochastically learn the best strategy (channel choice). This is done with each operator selecting the channel randomly, with a set of probabilities ( p 1 i , p 2 i , , p C i ). This set is maintained by each player i and it is iteratively updated until convergence. Let p c i ( t ) be the probability that network operator i picks channel c. The sum of all the probabilities is equal to 1, for each network i, i.e, c C p c i ( t ) = 1 ∀i N , ∀t. At the beginning of the learning process, channels are selected with equal probabilities. At every time step t, the network chooses a certain channel that is based on the consecutively updated probabilities and it is subsequently issued a reward. The resulting utility output is a negative real because our objective introduces a logarithmic function, and since our algorithm operates on numerical values of the tenths order. The reward is, as such, evaluated in terms of minimum cost as opposed to maximum profit. Among the different existing time-difference reinforcement learning approaches, we elect to update the probabilities, after any channel selection is made, as follows:
p c i ( t + 1 ) = p c i ( t ) + β R ( 1 p c i ( t ) ) , if θ i c = 1 p c i ( t ) β R p c i ( t ) ,   otherwise
In the function above, θ i c is a variable that is equal to one if network operator i chooses channel c, and zero otherwise. β is the learning rate, which is chosen between 0 and 1, and R is the reward. The reward reflects how good the channel selection was and it is computed as:
R = 1 U i c U m a x ,
where U m a x quantifies an upper bound for the player utility.
The learning rate β controls both the speed with which the algorithm converges towards a preferred channel selection choice for the different networks, as well as the efficiency of the choice. A high value of β would incur quicker decisions, but it might miss the Nash equilibrium and lead to inefficient decisions. Ideally, we want to chose the highest value of β that would always converge towards an efficient Nash equilibrium.
The network needs to know the packet success rate (total packet delivery ratio) in order to estimate the reward. Similar to before, we assume that the network can produce an estimate after a certain period of utilizing the channel. Algorithm 3 depicts the pseudo-code for our proposed learning algorithm for finding the NE.
Algorithm 3 Learning the NE for n = 1
  • Input: Learning rate β ∈ [0,1]
  • Initialize: p c i ( 1 ) 1 C , ∀i N
  • Do
  • t l t l + 1
  •     For i = 1, …, N
  •        Network i selects a channel following p c i ( t )
  •        It utilizes the selected channel sufficiently long
  •        to estimate the success rate per SF
  •        Compute R = 1 U i c / U m a x
  •        For c C
  •            If θ i c = = 1
  •                p c i ( t l + 1 ) p c i ( t l ) + β R ( 1 p c i ( t l ) )
  •            Else
  •                p c i ( t l + 1 ) p c i ( t l ) β R p c i ( t l )
  •            End If
  •        End For
  •     End For
  • Until c C such that p c i ( 1 ) ≈ 1, ∀i N

6.6. Generalization of the Learning Problem

The NE can still be attained for n 1 while using the same replicator dynamics approach. However, instead of updating the probabilities of a certain channel being allocated, the algorithm works on the probabilities of a certain combination of channels being allocated. If the number of channels chosen by each operator n is equal to two, and the total number of available channels is eight, then the total number of possible selections is equal to 8 2 = 28. Every time slot, and for each player, a couple of channels is selected and, afterwards, the probability of selecting the couple is updated, alongside the other probabilities, such that the sum remains equal to one.

7. Simulations and Results

In this section, we test the effectiveness of our proposals and compare them to the state-of-the-art in SF and channel assignment for LoRaWAN. We experiment, by simulations, the two approaches of our game theory-based proposals. The first, which we label as the ‘best response’, uses the best response approaches to both SF assignment and channel selection. The second, which we label as ’learning approach’, combines the distributed algorithm for SF assignment and the dynamic replication learning proposal for channel selection. We compare our algorithms to the currently in use state-of-the-art approaches that are represented by ADR for SF selection by the devices, and random channel assignment per packet. Namely, each device transmits on the lowest available SF and on a randomly selected channel at each packet transmission, as in current LoRaWAN deployments.
Table 3 summarizes our simulation parameters. We consider four co-located operators. The number of devices that correspond to each network is ascending and equal to 750, 1000, 1250, and 1500 devices, respectively. The packet generation rate per device also differs from one network to another and increases from one packet per hour to four, for operators one to four, respectively. The parameters remain, as shown in the table, unless they are changed by the simulation scenario.

7.1. Impact of the Area Size

We start by studying the impact of the deployment area size on the performance of our game theoretic proposal. We vary the simulation square area size by changing the side length S between 2, 4, 8, 12, 16 km, and 20 km. For this simulation, we assume the presence of three channels, with n = 1 for our proposal. In other terms, in our algorithm, each operator only chooses one channel. For the legacy approach, all of the channels are open and they are used evenly by the devices. Figure 4 presents the results in terms of the total normalized throughput.
Figure 4a compares the total normalized throughput, across all four networks, between our proposal and the legacy LoRaWAN approach. Our joint SF and channel assignment algorithm acts as an upper bound for the legacy approach. At S = 2 km, our proposal results in a total normalized throughput higher than 1.5, as compared to an underwhelming 0.25 for the legacy approach. At S = 20 km, both of the algorithms produce throughput values in the vicinity of 0.8 with our proposal ever-so-slightly producing better values.
Both ends of the plot highlight an aspect of legacy LoRaWAN functionality. When the distance between the gateway and the devices is rather small, the majority of the devices using the ADR approach for SF selection will default to SF7. The lower SFs would generally become too crowded, leading to excessive collisions. When the area size is large, the motivations for the legacy approach become visible. The SFs are balanced between the devices and on the different available channels. Nonetheless, our simulation scenario favors the legacy approach in this case. With the densification of IoT devices and gateway deployment, and with the natural need of wireless applications for more reliability, the proportion of devices that are in close proximity to the gateway will increase. Therefore, for most devices, the left side of the graph will be the best indicator of performance.
We additionally assess the performance of our distributed learning approach, in comparison to its semi-distributed best response counterpart. Figure 4b has a box plot of the percentage difference in the total normalized throughput resulting from the use of either of the approaches. The box plot shows insignificant difference in payoffs between the two, with a median difference of less than 0.05% and a maximum difference slightly above 0.15%. This means that the distributed approach could be used to incur less signaling with an insignificant loss in performance.

7.2. Impact of Device Densification

We aim to assess the impact of an increase in the number of IoT devices in the deployment area. To this end, we fix the packet generation rate for all devices, across all networks, at five packets per hour. The number of devices for each network, which we vary in this simulation, is also equal across all networks. The number of available channels is three, and n = 1 for our proposal. Figure 5 has a plot with the resulting total normalized throughput values.
Again, we notice a wide gap between our proposal and the legacy approaches to SF and channel assignments. When the number of devices is 750, the total normalized throughput is 0.9542 for the legacy algorithm as compared to 1.54 for our proposal. When the number of devices is 1750, the total normalized throughput is 2.2682 for our proposal, as compared to 1.82 for the legacy approach.

7.3. Impact of an Increase in the Number of Available Channels

In all subsequent simulation scenarios, we increase the number of available channels from three to eight, the maximum possible under ISM band regulations. With an increase in the number of available channels, and with the legacy algorithm being able to access all of them, we increase the number of channels that each operator chooses in our approach (n) from one to two/three. We first study the impact of this increase on the total normalized throughput. The number of available channels is increased gradually from three to eight, which is the LoRaWAN standard. Figure 6 has a plot with the results.
As in previous simulations, our proposal, this time represented by the learning approach, vastly outperforms the legacy algorithm. For a small number of channels (3–4), the value of n has no effect on the performance of our algorithm. Beyond that, allowing each operator to choose three channels instead of two further improves the performance. At eight available channels, the legacy LoRaWAN algorithm, which has equal access to all eight, produces a total normalized throughput of less than 0.9. In comparison, our algorithm for n = 2 produces a value of 1.616 and for n = 3 produces a value close to 1.7.
We further study the performance of our algorithm in terms of the total packet delivery ratio. Figure 7 presents a plot with the results.
Even though the objective of our problem revolves around maximizing the throughput, our algorithm also has the capability to slightly improve the total packet delivery ratio (success rate). With the exception of the case of three available channels (for n = 2), our proposal will regularly outperform the legacy approach. In this scenario, the limited improvement is mainly due to the dense deployment of devices. Across varying scenarios, in terms of the number of devices, the total area size, and the packet generation rates, our proposal can only further widen the performance gap with respect to the legacy approach.

7.4. Energy Consumed per Delivered Byte

We evaluate the average energy that is expended per successful delivery for our proposed algorithm and compare it to the state-of-the-art approach. We consider eight available channels with n = 3 for our proposal. Again, the legacy algorithm assumes equal access to all eight channels. We vary the area side length S between 2 and 20 km. According to I noticed some errors in the number format in the picture. Is it necessary to modify it [16], the energy cost of data delivery can be expressed as:
E C d e l i v e r y a · exp ( 2 G s c ) l p a y ,
where a is the energy consumed per transmission attempt, G s c is the normalized traffic load per spreading factor, per channel, and l p a y is the payload size. Figure 8 presents the results.
Following the improvement that it brings in terms of packet delivery ratios, our algorithm reduces the energy consumption. For the simulated scenario, up to 10% reduction in energy consumption is possible, owing to our proposal. In other terms, our proposal can simultaneously improve the throughput while reducing power consumption at the devices.

7.5. Study of Individual Network Performances

As the players of our game proposals each seek to greedily and selfishly improve their own performance, we inspect the resulting normalized throughput per network. We compare between our proposal (n = 3) and the competing LoRaWAN approach. Recall that the networks produce different volumes of traffic with network 1 being the smallest and network 4 the largest. In Figure 9, we compare the resulting network normalized throughput values for S = 2 km and S = 20 km, the worst and best case scenarios for the legacy approach, as illustrated in Figure 4a, respectively.
The bar plot illustrated in Figure 9 shows that the ability of the legacy approach to close the gap in performance with respect to our proposal at large values of S, no longer exists when n = 3 . At S = 2 km, the largest network normalized throughput for the legacy algorithm is 0.1552, noticeably lower than the lowest attained network throughput from our proposal at 0.3859. While this difference in performance does indeed shrink when S = 20 km, it remains rather significant. Across all of the networks, our proposal improves the individual network normalized throughput by three times, on average.

8. Conclusions

In this paper, we proposed a joint optimal formulation for spreading factor and channel assignment in multi-operator LoRaWAN deployments. The joint problem is decoupled into a set of two games: (a) a spreading factor assignment game and (b) a channel assignment game. We propose semi-distributed and distributed algorithms in order to find the Nash equilibrium for each game. We compare our proposals to the concurrent approaches in LoRaWAN networks and demonstrate the significant gains that they bring in terms of throughput, packet delivery ratios, and energy efficiency.

Author Contributions

Conceptualization, K.K., H.F. and S.L.; methodology, K.K., H.F. and S.L.; software, K.K., H.F. and S.L.; validation, K.K., H.F., S.L., C.A. and S.M.; formal analysis, K.K., H.F., S.L., C.A. and S.M.; investigation, K.K., H.F., S.L., C.A. and S.M.; resources, K.K., H.F., S.L., C.A. and S.M.; data curation, K.K., H.F., S.L., C.A. and S.M.; writing—original draft preparation, K.K. and H.F.; writing—review and editing, K.K., H.F., S.L., C.A. and S.M.; visualization, K.K., H.F., S.L., C.A. and S.M.; supervision, K.K., S.L. and C.A.; project administration, K.K.; funding acquisition, C.A. All authors have read and agreed to the published version of the manuscript.

Funding

The APC was funded by Inria, CRI Saclay-Île-de-France and the LRI, Université Paris-Saclay.

Institutional Review Board Statement

Not Applicable.

Informed Consent Statement

Not Applicable.

Data Availability Statement

Data can be made available upon request.

Acknowledgments

This research was partially supported by Labex DigiCosme (project ANR11-LABEX-0045-DIGICOSME) operated by ANR as part of the program “Investissement d’Avenir” Idex Paris-Saclay (ANR-11-IDEX-0003-02).

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
LoRaWANLong Range Wide Area Networks
SFSpreading Factor
NENash Equilibrium
ADRAdaptive Data Rate
ISMIndustrial Scientific and Medical bands

References

  1. Van den Abeele, F.; Haxhibeqiri, J.; Moerman, I.; Hoebeke, J. Scalability analysis of large-scale lorawan networks in ns-3. IEEE Internet Things J. 2017, 4, 2186–2198. [Google Scholar] [CrossRef] [Green Version]
  2. Tiurlikova, A.; Stepanov, N.; Mikhaylov, K. Method of assigning spreading factor to improve the scalability of the lorawan wide area network. In Proceedings of the 2018 10th International Congress on Ultra Modern Telecommunications and Control Systems and Workshops (ICUMT), Moscow, Russia, 5–9 November 2018; pp. 1–4. [Google Scholar]
  3. Elshabrawy, T.; Robert, J. The impact of ism interference on lora ber performance. In Proceedings of the 2018 IEEE Global Conference on Internet of Things (GCIoT), Alexandria, Egypt, 5–7 December 2018; pp. 1–5. [Google Scholar]
  4. Yatagan, T.; Oktug, S. Smart spreading factor assignment for lorawans. In Proceedings of the 2019 IEEE Symposium on Computers and Communications (ISCC), Barcelona, Spain, 29 June–3 July 2019; pp. 1–7. [Google Scholar]
  5. Farhad, A.; Kim, D.; Sthapit, P.; Pyun, J. Interference-aware spreading factor assignment scheme for the massive lorawan network. In Proceedings of the 2019 International Conference on Electronics, Information, and Communication (ICEIC), Auckland, New Zealand, 22–25 January 2019; pp. 1–2. [Google Scholar]
  6. Cuomo, F.; Gámez, J.C.C.; Maurizio, A.; Scipione, L.; Campo, M.; Caponi, A.; Bianchi, G.; Rossini, G.; Pisani, P. Towards traffic-oriented spreading factor allocations in lorawan systems. In Proceedings of the 2018 17th Annual Mediterranean Ad Hoc Networking Workshop (Med-Hoc-Net), Capri, Italy, 20–22 June 2018; pp. 1–8. [Google Scholar]
  7. Gusev, O.; Turlikov, A.; Kuzmichev, S.; Stepanov, N. Data delivery efficient spreading factor allocation in dense lorawan deployments. In Proceedings of the 2019 XVI International Symposium “Problems of Redundancy in Information and Control Systems” (REDUNDANCY), Moscow, Russia, 21–25 October 2019; pp. 199–204. [Google Scholar]
  8. Cuomo, F.; Campo, M.; Caponi, A.; Bianchi, G.; Rossini, G.; Pisani, P. Explora: Extending the performance of lora by suitable spreading factor allocations. In Proceedings of the 2017 IEEE 13th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob), Rome, Italy, 9–11 October 2017; pp. 1–8. [Google Scholar]
  9. Zhou, Q.; Xing, J.; Hou, L.; Xu, R.; Zheng, K. A novel rate and channel control scheme based on data extraction rate for lora networks. In Proceedings of the 2019 IEEE Wireless Communications and Networking Conference (WCNC), Marrakesh, Morocco, 15–18 April 2019; pp. 1–6. [Google Scholar]
  10. Lee, J.; Jeong, W.; Choi, B. A scheduling algorithm for improving scalability of lorawan. In Proceedings of the 2018 International Conference on Information and Communication Technology Convergence (ICTC), Jeju, Korea, 17–19 October 2018; pp. 1383–1388. [Google Scholar]
  11. Hasegawa, S.; Kim, S.; Shoji, Y.; Hasegawa, M. Performance evaluation of machine learning based channel selection algorithm implemented on iot sensor devices in coexisting iot networks. In Proceedings of the 2020 IEEE 17th Annual Consumer Communications Networking Conference (CCNC), Las Vegas, NV, USA, 10–13 January 2020; pp. 1–5. [Google Scholar]
  12. Reynders, B.; Wang, Q.; Tuset-Peiro, P.; Vilajosana, X.; Pollin, S. Improving reliability and scalability of lorawans through lightweight scheduling. IEEE Internet Things J. 2018, 5, 1830–1842. [Google Scholar] [CrossRef]
  13. Kelly, F. Charging and rate control for elastic traffic. Eur. Trans. Telecommun. 1997, 8, 33–37. [Google Scholar] [CrossRef] [Green Version]
  14. Lahoud, S.; Khawam, K.; Martin, S.; Feng, G.; Liang, Z.; Nasreddine, J. Energy-efficient joint scheduling and power control in multi-cell wireless networks. IEEE J. Sel. Areas Commun. 2016, 34, 3409–3426. [Google Scholar] [CrossRef]
  15. Bournez, O.; Cohen, J. Learning equilibria in games by stochastic distributed algorithms. In Computer and Information Sciences III; Springer: Berlin, Germany, 2013; pp. 31–38. [Google Scholar]
  16. Casals, L.; Mir, B.; Vidal, R.; Gomez, C. Modeling the energy performance of lorawan. Sensors 2017, 17, 2364. [Google Scholar] [CrossRef] [Green Version]
Figure 1. A scenario with two LoRaWAN gateways and four operators.
Figure 1. A scenario with two LoRaWAN gateways and four operators.
Sensors 21 00162 g001
Figure 2. LoRaWAN architecture.
Figure 2. LoRaWAN architecture.
Sensors 21 00162 g002
Figure 3. LoRaWAN node network stack.
Figure 3. LoRaWAN node network stack.
Sensors 21 00162 g003
Figure 4. Impact of the area size on the performance. (a) Game approach gains. (b) Best response vs. learning approach.
Figure 4. Impact of the area size on the performance. (a) Game approach gains. (b) Best response vs. learning approach.
Sensors 21 00162 g004
Figure 5. Impact of an increase in the number of devices on the total normalized throughput.
Figure 5. Impact of an increase in the number of devices on the total normalized throughput.
Sensors 21 00162 g005
Figure 6. Impact of added channels on the total normalized throughput.
Figure 6. Impact of added channels on the total normalized throughput.
Sensors 21 00162 g006
Figure 7. Impact of added channels on the total packet delivery ratio.
Figure 7. Impact of added channels on the total packet delivery ratio.
Sensors 21 00162 g007
Figure 8. Energy expended per byte as a function of S.
Figure 8. Energy expended per byte as a function of S.
Sensors 21 00162 g008
Figure 9. Normalized throughput per network as a function of S.
Figure 9. Normalized throughput per network as a function of S.
Sensors 21 00162 g009
Table 1. LoRa in the 868 MHz band.
Table 1. LoRa in the 868 MHz band.
SFData Rate [kbps]Sensitivity [dBm]SNR [dB]
75.458−123[−7.5,]
83.125−126[−10,−7.5]
91.757−129[−12.5,−10]
100.976−132[−15,−12.5]
110.537−134.5[−17.5,−15]
120.293−137[−20,−17.5]
ϕ 0Not covered<−20
Table 2. Notation Summary.
Table 2. Notation Summary.
NotationDefinition
λ i Packet generation rate for devices in network i
T s Time to transmit a packet on SF s
lPacket length in bytes
dDuty cycle
N c o i Number of covered nodes for operator i
N s i Number of nodes that can use SF s and higher for operator i
p s i Ratio of devices using SF s and belonging to operator i
nMaximum number of channels that can be used by each operator
G s c Total normalized traffic load on SF s and channel c
λ s c e Intensity of external traffic on SF s and channel c
N Set of operators and N their number
T Total normalized throughput
SThe number of available SFs
Table 3. Simulation Parameters.
Table 3. Simulation Parameters.
ParameterValue
Number of different networks4
Number of devices per network[750,1000,1250,1500] (4500 total)
Number of available channels3 to 8
# of channels per operator n1 to 3
Number of gateways per network2
Network layoutSquare with side S = 8 km
Path loss modelOkumura-Hata Model
Spreading factors SF7–12
Tx power14 dBm
Carrier frequency868 MHz
Gateway height30 m
Device height1.5 m
Packet generation rate per network λ i [1,2,3,4] packets/hour
Packet length50 Bytes
Duty Cycle1%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fawaz, H.; Khawam, K.; Lahoud, S.; Adjih, C.; Martin, S. Joint Spreading Factor and Channel Assignment in Multi-Operator LoRaWAN Deployments. Sensors 2021, 21, 162. https://doi.org/10.3390/s21010162

AMA Style

Fawaz H, Khawam K, Lahoud S, Adjih C, Martin S. Joint Spreading Factor and Channel Assignment in Multi-Operator LoRaWAN Deployments. Sensors. 2021; 21(1):162. https://doi.org/10.3390/s21010162

Chicago/Turabian Style

Fawaz, Hassan, Kinda Khawam, Samer Lahoud, Cedric Adjih, and Steven Martin. 2021. "Joint Spreading Factor and Channel Assignment in Multi-Operator LoRaWAN Deployments" Sensors 21, no. 1: 162. https://doi.org/10.3390/s21010162

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop