Poster: A Fair Adaptive Data Rate Algorithm for LoRaWAN Khaled Q. Abdelfadeel, Victor Cionca, Dirk Pesch Nimbus Centre, Cork Institute of Technology, Ireland

[email protected], [email protected], [email protected]

1.0

Abstract

1

Introduction

Depending on the specific radio communication conditions, a LoRaWAN gateway can decode one, all, or none of the colliding packets transmitted by multiple nodes. When two signals using the same spreading factor (SF) arrive at the same time, with one signal stronger than the other by a certain threshold, the capture effect causes the stronger signal to drown the weaker. This was verified experimentally by [1]. Even when the signals use different spreading factors, this effect can still be observed, because the spreading codes are not perfectly orthogonal [2]. However, if the power difference is below the Co-channel Interference Rejection (CIR) threshold, both signals will be decoded, whereas with the capture effect, none will. Croce et. al. measured the CIR for LoRa in [2]. Furthermore, the SF allocation is affecting the probability of collision as each SF has a different airtime,

0.7

0.8

0.6

0.7 0.6

0.5 0.4

0.5

0.3 0.4 0.2 0.3 0.1 0

500

1000

1500

2000

2500

3000

3500

4000

Num ber of Nodes

0

500

1000

1500

2000

2500

3000

3500

4000

Num ber of Nodes

(a) Fairness Index

(b) DER

Figure 1. Study of Aloha, Capture and Imperfect Orthogonality effects e.g. using a lower SF leads to a shorter airtime which results in a lower probability of collision. As LoRaWAN is based on Aloha, it is supposed to be a fair MAC protocol. However, the above effects introduce unfairness, favouring transmissions from nodes closer to the gateway and by those that use lower spreading factors. The impact of these issues was validated experimentally, with all nodes allocated the same transmission power level (TP), and the SFs allocated uniformly, in the order of distance from the gateway. Figure 1a shows Jain’s fairness index, ζ =

(∑ni=1 DERi )2 , n ∑ni=1 DER2i

where DER denotes the Data Ex-

traction Rate [1]. When all the issues are considered the fairness decreases drastically with increasing network size. Even without capture effect and with perfectly orthogonal spreading codes, the fairness of Aloha decreases as well, due to the different collision probabilities of the SFs. Figure 1b shows the DER and as expected the capture effect favours the nodes closest to the gateway, which is reflected in the overall DER of the system. However, considering the imperfect orthogonality effect, the overall DER is lower than Aloha. Here, we propose an approach to remedy this. Our proposal, FADR, a Fair Adaptive Data Rate algorithm for LoRaWAN, computes the optimal combination of SFs and TPs settings to achieve a fair DER among all nodes.

2

International Conference on Embedded Wireless Systems and Networks (EWSN) 2018 14–16 February, Madrid, Spain © 2018 Copyright is held by the authors. Permission is granted for indexing in the ACM Digital Library ISBN: 978-0-9949886-2-1

Aloha + Perfect Ort hogonalit y Capt ure Effect + Perfect Ort hogonalit y Capt ure Effect + Im perfecet Ort hogonalit y

0.8

DER

Fairness Index

LoRaWAN exhibits several characteristics that can lead to an unfair distribution of the Data Extracted Rate (DER) among nodes. Firstly, the capture effect leads to a strong signal suppressing a weaker signal at the gateway and secondly, the spreading codes used are not perfectly orthogonal, causing packet loss if an interfering signal is strong enough. In these conditions, nodes experiencing higher attenuation are less likely to see their packets received correctly. We develop FADR, a Fair Adaptive Data Rate algorithm for LoRaWAN that exploits the different Spreading Factors (SFs) and Transmission Powers (TPs) settings available in LoRa to achieve a fair Data Extraction Rate among all nodes while at the same time avoiding excessively high TPs. Simulations show that FADR, in highly congested cells, achieves 300% higher fairness than the minimum airtime allocation approach and 22% higher fairness than the state-of-art, while consuming almost 22% lower energy.

0.9

Aloha + Perfect Ort hogonalit y Capt ure Effect + Perfect Ort hogonalit y Capt ure Effect + Im perfect Ort hogonalit y

0.9

The FADR Algorithm

The FADR algorithm manages the allocation of SFs and TPs to the nodes. For SF allocation we use the optimal SF distribution for fair collision probability, determined in [3]. However, while the authors in [3] apply this to the entire network, based on distance from the gateway, we propose to assign it over regions. To this extent, the nodes are first ordered based on RSSI and divided into groups of 50 to over-

169

FADR Approach in [ 3]

70000

FADR Approach in [ 3]

1.0

FADR Approach in [ 3]

SN 5 in [ 1]

60000

SN 5 in [ 1]

0.9

SN 5 in [ 1]

0.6

DER

Fairness Index

0.8

0.6

0.4 0.4

FADR Approach in [ 3]

0.2

0.2

SN 5 in [ 1] 0

500

1000

50000

0.8

40000

0.7

DER

0.8

Energy Consum pt ion [ J]

1.0

30000

0.4

10000

0.3

0 1500

2000

2500

3000

3500

4000

Num ber of Nodes

(a) Fairness Index

0

500

1000

1500

2000

2500

3000

3500

4000

0.6 0.5

20000

0

Num ber of Nodes

500

1000

1500

2000

2500

3000

3500

4000

Num ber of Nodes

(b) Overall DER

(c) Overall Energy

0

20

40

60

80

100

120

140

Dist ance

(d) DER vs distance

Figure 2. Evaluation results Algorithm 1 FADR - Power Allocation Algorithm 1: Input List of nodes N, corresponding RSSI, power levels PowLevels, matrix of CIR 2: Output ∀n ∈ N, P[n] ∈ PowLevels 3: Sort N by RSSI 4: RSSIm = min(RSSI), RSSIM = max(RSSI), CIRm = min(CIR) 5: Powm ← PowLevels.pop(0) 6: PowM ← arg mini∈PowLevels |RSSIM + Powm − RSSIm − i| ≤ CIRm 7: PowLevels = [0 : PowLevels.index(PowM )] 8: RSSIm ← min(RSSIm + PowM , RSSIM + Powm ) 9: RSSIM ← max(RSSIm + PowM , RSSIM + Powm ) 10: i0 ← arg maxi<|N| |RSSI[i] + Powm | ≤ |RSSIm | 11: P[i] = Powm ∀i < i0 12: in ← arg max|N|>i>i0 |RSSI[i] + PowM − RSSIm | > CIRm 13: P[i] = PowM ∀i > in 14: idx ← i0 + 1 15: for all p ∈ PowLevels do 16: if |RSSI[idx] + p − RSSIm | ≤ CIRm and |RSSI[idx] + p − RSSIM − PowM | ≤ CIRm then 17: ik ← arg maxidx< j
come the rounding problem and for better representation of all SFs in which SF 12 is assigned to one node. The optimal SF distribution is applied to each group of 50 nodes. The allocation of transmission power levels is shown in algorithm 1. The algorithm allocates the lowest TPs that can reduce the difference in RSSI below the CIR threshold to mitigate the capture effect. FADR assumes that all nodes are initiated with the same transmission power. FADR requires the RSSI corresponding to each node, so it is run only after a certain number of packets have been collected by the network to average over RSSI samples.

3

Evaluation and Results

FADR was implemented in a version of LoRaSim [1] modified to include the effect of imperfect orthogonality of SFs. FADR was compared with the state of the art in [3], and with the minimum transmission time algorithm SN 5 in [1], from the point of view of DER fairness and overall energy consumption. To replicate the evaluation in [3] the minimum sensitiviy of all SFs in LoRaSim was lowered to -140 dBm, so that all nodes can reach the gateway with all combinations of SF and TP. The CIR and capture effect thresholds were set to 6dB for all SFs, based on the work of [2] and [1], respectively. The number of nodes was varied from 100 to 4000 nodes, packet length set to 80 bytes and average packet transmission interval to 1 minute. Each experiment was run for a simulation time of one day and repeated with 10 differ-

170

ent random seeds. The SN 5 algorithm assigns to nodes the lowest SF and the lowest available TP. The algorithm in [3] assigns SFs based on a distribution that achieves a fair probability of collisions (FADR uses the same). Allocating over the whole network will result in almost 45% of nodes at SF 7 and the same TP, which increases the probability of the capture effect. The TP control algorithm attempts to minimise RSSI difference, however the reference is the node with the highest path loss and SF 8, assuming that this node is having the highest error rate. This assumption is valid only in uniformly distributed networks, because the location and path loss of this node depends on the node placement. In a large network this node could be close to the sink and with low path loss; in a small network it might be closer to the edge, with high path loss. The results in figure 2 show that FADR surpasses the state of the art [3] in fairness and energy consumption, without sacrificing the DER. At 4000 nodes, FADR achieves 300% higher fairness than [1] and 22% higher than [3]. FADR assigns lower TPs than [3], achieving 22% reduction in energy consumption. However, both consume more energy than [1] in which all nodes transmit with the lowest TP. FADR’s advantage over [3] is shown in figure 2d (1000 nodes). FADR achieves roughly the same DER for a larger proportion of the network than [3], which experiences high variation for nodes with SF 7 and high path loss, thus, FADR is fairer.

4

Conclusions

We propose FADR to achieve a fair data extraction rate in LoRa/LoRaWAN by exploiting optimal combinations of spreading factors and transmission power levels and at the same time maintain node lifetime by not using excessively high transmission power levels. Simulations show that FADR, in a highly congested cell, achieves 300% higher fairness than the minimum airtime allocation approach and 22% higher fairness than Brechts approach, which is one of the state-of-art approaches, targeting the same problem with almost 22% lower network energy consumption. For future work, we will implement FADR in a real LoRa deployment.

5

Acknowledgments

This research has received support from Science Foundation Ireland (SFI) under Grant Number 13/RC/2077.

6

References

[1] M. Bor, U. Roedig, T. Voigt, and J. Alonso. Do lora low-power widearea networks scale? In MSWiM, 2016. [2] D. Croce, M. Gucciardo, I. Tinnirello, D. Garlisi, and S. Mangione. Impact of spreading factor imperfect orthogonality in lora communications. In TIWDC. Springer, 2017. [3] B. Reynders, W. Meert, and S. Pollin. Power and spreading factor control in low power wide area networks. In ICC’17 SAC-7 IoT, 2017.

A Fair Adaptive Data Rate Algorithm for LoRaWAN

Abstract. LoRaWAN exhibits several characteristics that can lead to an unfair distribution of the Data Extracted Rate (DER) among nodes. Firstly, the capture effect leads to a strong sig- nal suppressing a weaker signal at the gateway and secondly, the spreading codes used are not perfectly orthogonal, caus- ing packet loss ...

307KB Sizes 1 Downloads 282 Views

Recommend Documents

An Adaptive Fusion Algorithm for Spam Detection
adaptive fusion algorithm for spam detection offers a general content- based approach. The method can be applied to non-email spam detection tasks with little ..... Table 2. The (1-AUC) percent scores of our adaptive fusion algorithm AFSD and other f

An Adaptive Fusion Algorithm for Spam Detection
An email spam is defined as an unsolicited ... to filter harmful information, for example, false information in email .... with the champion solutions of the cor-.

A Fast Algorithm For Rate Optimized Motion Estimation
Abstract. Motion estimation is known to be the main bottleneck in real-time encoding applications, and the search for an effective motion estimation algorithm has ...

A Memory Efficient Algorithm for Adaptive Multidimensional Integration ...
implemented on GPU platform using a single Tesla M2090 device [9]. ...... memory access patterns in CUDA,” Design Automation Conference (DAC), 2011 48th.

A Fast Algorithm For Rate Optimized Motion Estimation
uous motion field reduces the bit rate for differentially encoded motion vectors. Our motion ... In [3], we propose a rate-optimized motion estimation based on a “true” motion tracker. ..... ftp://bonde.nta.no/pub/tmn/software/, June 1996. 477.

A Receding Horizon Control algorithm for adaptive management of ...
Apr 22, 2009 - eters are refined and the management horizon advances. The RHC .... energy transport model was used to drive the RHC algorithm qk | k.

A Receding Horizon Control algorithm for adaptive management of ...
Apr 22, 2009 - managing soil irrigation with reclaimed water. The largest current .... To explain RHC, we .... information x(k) and the first control u*(k) is then used to calculate the state x(k ю 1) ...... Technical Report NCSU-IE Technical Report

RSFB: a Resilient Stochastic Fair Blue algorithm ...
indentified as a major thread to today's Internet services. The focus of this ... the Insert operation can only insert an element at the tail of the queue. The flows with ...

Rate Adaptive Resource Allocation for Multiuser OFDM ...
Abstract-- This paper presents a new rate adaptive resource allocation technique for multiuser Orthogonal Frequency. Division Multiplexing (OFDM) systems. We optimize both bit and subcarrier allocation by considering Rate maximization and. Total Powe

AntHocNet: An Adaptive Nature-Inspired Algorithm for ... - CiteSeerX
a broad range of possible network scenarios, and increases for larger, ... organized behaviors not only in ant colonies but more generally across social systems, from ... torial problems (e.g., travelling salesman, vehicle routing, etc., see [4, 3] f

Adaptive Line Extraction Algorithm for SLAM Application
Algorithm (ALE) to create line-based maps using a series of range data .... distance between data points and fitted line [15] to evaluate fitting. When a line is fitted ...

Adaptive Line Extraction Algorithm for SLAM Application
based SLAM is implemented on a mobile rescue robot to observe the proposed line ... incorporate noises of the range data, the fitted lines do not have a sound ...

Adaptive Rate Control for Streaming Stored Fine ...
are thus suitable for servers that stream a large number of simultaneous ... of our heuristic when run on top of TCP to when run on top of popular ...... t = mC t = tmax end. ∆k+2 = ∆(tmax end ) = Figure 3: Optimal state graph G. 0. 50. 100. 150.

AntHocNet: An Adaptive Nature-Inspired Algorithm for ...
network. Nature's self-organizing systems like insect societies show precisely these desir- ... while maintaining the properties which make ACO routing algorithms so appealing. ...... Routing over multihop wireless network of mobile computers.

Adaptive and Mobility Based Algorithm for enhancement of VANET's ...
In this paper an analytical model for the reliability of vehicular ad hoc networks (VANETs) is ... In vehicular ad hoc networks, vehicles download data from RSUs.

An Ant Based Rate Allocation Algorithm for Media ...
Email: (salavati-h goudarzi)@ee.sharif.edu, [email protected] ..... table, indicating the pheromone intensity on link (k,j) for all ... providers (designing an ant based search algorithm is a subject ..... equal.eu/myrmedrome/mainen.html.

Sparsity adaptive matching pursuit algorithm for ...
where y is the sampled vector with M ≪ N data points, Φ rep- resents an M × N ... sparsity adaptive matching pursuit (SAMP) for blind signal recovery when K is ...

Modified MAXIMIN Adaptive Array Algorithm for ...
MODIFIED MAXIMIN ALGORITHM FOR FH SYSTEM. UNDER FADING ENVIRONMENTS. Raja D Balakrishnan, Bagawan S. ... tracking ability of the algorithm. In the next section we will describe the basic MAXIMIN ... frequency-hopping communication system and thereby

An Efficient Deterministic Parallel Algorithm for Adaptive ... - ODU
Center for Accelerator Science. Old Dominion University. Norfolk, Virginia 23529. Desh Ranjan. Department of Computer Science. Old Dominion University.

Modified MAXIMIN Adaptive Array Algorithm for ...
Modified MAXIMIN Adaptive Array Algorithm for Frequency-Hopping. System ... each iteration, for rapid convergence of the algorithm. They also suggested the ...

Single-Radio Adaptive Channel Algorithm for Spectrum Agile Wireless ...
network might be partitioned into many small fragments, each on a different dynamic ... wireless ad hoc networks operating in static spectrum en- vironments.

A Subband Adaptive Filtering Algorithm Employing ...
and Computer Engineering, Pohang University of Science and Technology,. Pohang ... University, Baltimore, MD 21205 USA (e-mail: [email protected]).

A Heuristic Correlation Algorithm for Data Reduction ...
autonomously monitoring, analysing and optimizing network behaviours. One of the main challenges operators face in this regard is the vast amount of data ...

A Data-driven method for Adaptive Referring ... - PRE-CogSci 2009
ing better reward functions and learning/training parameters. The user simulation was calibrated to produce two kinds of users - novices and experts. Expert users knew all the tech- nical terms, whereas the novices knew only a few terms like. 'livebo