Next Article in Journal
Multi-Stage Attention-Enhanced Sparse Graph Convolutional Network for Skeleton-Based Action Recognition
Next Article in Special Issue
A LoRaWAN Architecture for Communications in Areas without Coverage: Design and Pilot Trials
Previous Article in Journal
Explainable Sentiment Analysis: A Hierarchical Transformer-Based Extractive Summarization Approach
Previous Article in Special Issue
Machine Learning and LPWAN Based Internet of Things Applications in Healthcare Sector during COVID-19 Pandemic
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Impact of Inter-Gateway Distance on LoRaWAN Performance

James Watt School of Engineering, University of Glasgow, Glasgow G12 8QQ, UK
*
Author to whom correspondence should be addressed.
Electronics 2021, 10(18), 2197; https://doi.org/10.3390/electronics10182197
Submission received: 29 July 2021 / Revised: 1 September 2021 / Accepted: 6 September 2021 / Published: 8 September 2021
(This article belongs to the Special Issue 5G and Low Power Wide Area Networks for the IoT)

Abstract

:
The large-scale behaviour of LoRaWAN networks has been studied through mathematical analysis and discrete-time simulations to understand their limitations. However, current literature is not always coherent in its assumptions and network setups. This paper proposes a comprehensive analysis of the known causes of packet loss in an uplink-only LoRaWAN network: duty cycle limitations, packet collision, insufficient coverage, and saturation of a receiver’s demodulation paths. Their impact on the overall Quality of Service (QoS) for a two-gateway network is also studied. The analysis is carried out with the discrete-event network simulator NS-3 and is set up to best fit the real behaviour of devices. This approach shows that increasing gateway density is only effective as the gateways are placed at a distance. Moreover, the trade-off between different outage conditions due to the uneven distribution of spreading factors is not always beneficial, diminishing returns as networks grow denser and wider. In particular, networks operating similarly to the one analysed in this paper should specifically avoid SF11 and 12, which decrease the average overall PDR by about 7% at 10% nodes increment across all configurations. The results of this work intend to homogenise behavioural assumptions and setups of future research investigating the capability of LoRaWAN networks and provide insight on the weight of each outage condition in a varying two-gateway network.

1. Introduction

The Internet of Things (IoT) is a term that defines electronic systems with sensors and actuators which are connected wirelessly. Such a network requires a way of transferring data between devices which has low power consumption, a high maximum range, and can potentially deal with a very large amount of wirelessly interconnected devices simultaneously [1]. One protocol that has gathered much attention in the past few years is LoRaWAN (Long Range WAN): a low power wide area network protocol (LPWAN) which satisfies the fundamental IoT requirements. The LoRaWAN framework is made up of two layers, the MAC layer and the PHY layer. The MAC layer, the proprietary LoRa (Long Range) technology, uses chirp spread spectrum (CSS) modulation to achieve long range communication. LoRa usually uses the licence-free, region-dependent ISM (Industrial, Scientific, and Medical) frequency bands: 863–870 MHz for Europe and 902–928 MHz for the US [2]. This makes it cheaper but also restricts the maximum achievable data rate because of regulations on available air time per device on those frequencies. This makes LoRa unsuitable for high data rate applications.
LoRaWAN networks are typically organised in a star-of-stars topology where end devices (nodes) do not have a direct connection to any single gateway but broadcast to all gateways in range, as shown in Figure 1. Each gateway relays the data it receives from all nodes in range to the network server it is associated with, where identical packets are de-duplicated. No handshake is required between nodes and gateways. This is in direct contrast to Wireless Sensor Networks, which are mostly organised in a mesh topology [1,3].
Communication is bidirectional, so devices can send data to the network via uplink and receive messages via downlink. Direct communication between two nodes is not available with standard LoRaWAN, requiring data to always pass through a gateway for both uplinks and downlinks. The gateways are restricted by the same duty cycle regulations on outgoing traffic as the nodes, so downlink messages are much rarer than uplink ones. Moreover, including downlink capabilities adds increased complexity in the network server design, increases the energy consumption per device, and lowers the overall QoS of a network by creating additional interferers. These limits preclude the use of LoRaWAN for time-critical, low-latency applications and have been extensively studied, especially those concerning its scalability [4]. To overcome some of these limits, a number of configurable parameters can be used to vary the maximum achievable communication range, power consumption, and data rate. The most important is the Spreading Factor (SF), commonly ranging from 7 to 12. This relates to the number of chirps that are used to modulate the signal. Larger spreading factors increase the communication range, at the cost of increased energy consumption and longer air-time for each packet. Given the practical infeasibility of setting up large-scale LoRaWAN deployments, to help analyse their performance, both stochastic geometry models [5,6,7,8,9] and discrete-time simulations [10,11] have been implemented across the literature. However, these studies lack a cohesive behavioural model and a comprehensive list of the possible outage conditions that a packet in an uplink-only network has to survive to be correctly received and decoded. Generally, due to the mathematical complexity of modelling a thoroughly accurate network, most research dealing with stochastic geometry limits the scope of the analysis to simpler, less realistic configurations, usually by reducing the number of variables. Moreover, none of these studies tries to compare their results with discrete-time packet level simulations, such as the ones performed with NS-3 or LoRaSim.
We have developed a model for the discrete-time simulator NS-3 to assess the relative impact of each of the known outage conditions on a two-gateway network. This was achieved by evaluating the Packet Delivery Ratio (PDR) of various network configurations upon varying parameters, such as the number of nodes deployed, the area they are deployed over, and the distance between the two gateways used.
The contributions of this paper are twofold:
  • First, we develop a comprehensive list of the known outage conditions in a practical, uplink-only, LoRaWAN network.
  • Then, using the NS-3 discrete-time simulator, the weight of each outage condition on the overall QoS of a two-gateway LoRaWAN network is also assessed, as a factor of the inter-gateway distance.
The rest of this paper is structured as follows: first, we bring forward the known outage conditions and discuss the relevant literature in Section 2 and Section 3. We then describe the simulation settings in Section 4 before discussing the results in Section 5. Finally, the outcomes of this work are summarised in Section 6.

2. LoRaWAN Outage Conditions

Before highlighting the limits of the current literature, it is appropriate to first define the various outage conditions that can affect a LoRaWAN packet in an uplink-only network.
All the following conditions need to be true during the lifetime of a packet to achieve correct transmission and decoding, as shown in Figure 1. A single failure will cause the data to be lost, either by dropping a packet, not decoding it properly, or not sending it in the first place. As such, they should all be accounted for in any LoRaWAN model or simulation.

2.1. Duty Cycle Limitations

In the EU, the enforced duty cycle is 1% for the commonly used frequency sub-bands of 863.00–868.00 MHz and 868.00–868.60 MHz [4]. Each sub-band must remain “silent” for a period of time that is proportional to the time-on-air of the last transmitted packet and the maximum available duty cycle enforced, according to the following [4]:
T s i l e n c e = T a i r ( 1 d c 1 ) ,
where:
  • T s i l e n c e = time-of-silence required after transmission;
  • T a i r = time-on-air;
  • d c = duty cycle.
The time-on-air of a LoRaWAN packet can be calculated via the following [12]:
T a i r = T p r e a m b l e + T p a y l o a d ,
with T p r e a m b l e and T p a y l o a d being the time duration for the preamble and the payload, respectively.
T p r e a m b l e =   ( N p r e a m b l e + 4.25 ) × T s y m ,
with N p r e a m b l e being the number of programmed preamble symbols, 8 for the UK [13], and T s y m being a symbol’s duration.
T p a y l o a d = p d s y m × T s y m ,
with p d s y m being the number of symbols for the header and the payload.
T s y m = 2 S F B W ,
p d s y m = 8 + m a x ( 2 P L b S F + 11 5 H S F 2 D E × ( C R + 4 ) , 0 ) ,
with:
  • m a x = the maximum operator, selecting the highest value between the two inputs;
  • P L b = number of payload bytes, including 13 additional bytes if header is present;
  • S F = Spreading Factor;
  • H = 0 if header is present, or 1 if not;
  • D E = 0 or 1, depending on whether low data rate optimisation is present;
  • C R = Coding Rate from 1 to 4 (being 4/4 + CR).
As the transmission interval between packets (T) is set up by the designer, transmitting above the duty cycle limit is usually disregarded as a possible outage condition. However, if an adaptive duty cycle algorithm is enabled, a device might end up trying to transmit over its duty cycle limit after switching to a higher SF. For instance, a device that was set to transmit a packet of 10 bytes every 90 s on a single sub-band would be working as expected on SF7 with an air time of 61.7 ms and T s i l e n c e of 6.1 s (Equations (1) and (2)) but would be over its duty cycle limit if set to SF12 without adjusting the transmission interval, with an air time of now 1482.8 ms and T s i l e n c e of 146.8 s. This could result in what is essentially “invisible” packet loss. Most LoRa transceivers are set up to abide to this limit, so the transmission would be stopped on the node by the chip itself [14]. The data would not be queued up for retransmission unless the device’s algorithm was specifically designed to do so. This behaviour can be manually overwritten, but doing so could violate the law if transmitting above the duty cycle limit.

2.2. Device Out of Coverage Range

The coverage probability of a node is determined by the device location, the sensitivity of the SF used for transmission and the propagation loss of the network. The sensitivity of a receiver can be calculated with the following [12]:
S = 174 + 10 l o g 10 B W + N F + S N R ,
where the bandwidth ( B W ) is typically 125 kHz, the noise figure ( N F ) between 3 dB and 6 dB [6], and the S N R depends on the SF of the transmission, according to Table 1.
The propagation model used in the simulations performed in this paper is the log-distance propagation model [15]:
P L = P L 0 + 10 γ log 10 d d 0 + X g ,
with:
  • P L 0 (dB) being the path loss at the reference distance d 0 , calculated using the Friis free-space path loss model;
  • d is the distance between the transmitter and the receiver;
  • d 0 is the reference distance;
  • γ is the path loss exponent;
  • X g is a variable that can be used to model slow and fast fading.
Temporarily ignoring the effect of interference and fading, the packet will suffer outage if:
P t x P L S s f ,
with:
  • P t x is the power of the transmission, 14 dBm, the maximum allowed by legal limits in the UK [16];
  • P L is the path loss as defined above;
  • S s f is the sensitivity of the receiver for the specific SF of the transmission, based for this work on the values in Table 1.
Table 1. Parameters for a network with a single gateway placed at the origin, using the log-distance path loss model, ignoring shadowing and fading.
Table 1. Parameters for a network with a single gateway placed at the origin, using the log-distance path loss model, ignoring shadowing and fading.
SFSNRmin @ Rx (dB) aSGW (dB) bRmax (m) cAoD (km2) d
7−7.5−124.5301128
8−10−127350910.2
9−12.5−129.5408913.84
10−15−132476618.83
11−17.5−134.5555425.54
12−20−137647334.72
a Minimum SNR at the receiver, from Reference [17]. b Gateway Sensitivity, using Equation (7). c Maximum distance from a gateway that a node at each SF can be placed at, using Equation (10). dArea of deployment for nodes operating on each SF, based on Rmax.

2.3. Demodulator Channels Saturation

A practical fail case in commercially available gateways is the saturation of the receiver’s demodulation channels. Packet reception involves a gateway “locking on” a packet preamble and decoding it, provided the RX power satisfies the sensitivity conditions of the receiver. If the packet is received, this process will occupy one of the demodulating paths of the receiver for a time that is proportional to the air time of the packet, plus a delay that is based on the distance between the node sending the packet and the gateway receiving it. If all demodulating paths are occupied by packets being decoded, the next packet arriving will not be received. In commercially available gateways, there are usually 8 parallel demodulators [18]. The probability of channel saturation depends on packets air time, nodes location and density, the nodes transmission interval, and the capacity of the network gateways.

2.4. Packet Collision

Finally, under the assumption of perfect orthogonality between different spreading factors, each packet will experience interference from packets sent at the same time, on the same frequency, and using the same SF. However, it has been proven that the quasi-orthogonality of the different SFs can have a big impact on the overall network quality and scalability, with each packet also experiencing interference from signals sent at the same time, on the same frequency, but on a different SF [19].
Because of the capture effect, a packet can still be received over this interference if it achieves a minimum power difference from the strongest interferer. These thresholds have been modelled according to the work of Reference [20]. They show how a packet will be received over another on the same SF if the first is at least 6 dB stronger than the second.
More recent research conducted by Reference [19] shows that different thresholds are obtained with an experimental setup. Here, only 1 dB separation is needed for the strongest packet to be correctly received over the total interference on the same SF.
The overall chance of packet collision is affected by the nodes’ location and density, as well as their SF, packet transmission interval, and packet air time.

3. Related Works

The impact of increased gateway density and their positioning in LPWANs has been extensively studied in literature. In Reference [21], the authors perform an analysis of optimal placement of 16 and 25 gateways with different strategies, and show that, while 25 gateways generally outperform 16, using a placing algorithm based on Fuzzy C-Means can boost the performance of 16 gateways to match that of 25 gateways. In Reference [22], both a practical and a theoretical method are provided to find the optimum location of gateways in a transmit-only network.
An overview of different LoRaWAN simulators is given in Reference [23], along with details of their native capabilities, though crucially not considering the ability to model the demodulators’ saturation outage condition. In Reference [24], the authors develop the LoRaSim simulator and use it to confirm that LoRa networks scale well if dynamic transmission parameters selection or additional gateways are introduced. Similarly, in Reference [10], the authors develop NS-3 modules for simulating LoRaWAN and propose a scalability analysis, including different SF assignment methods, multiple gateway scenarios, and retransmission algorithms. However, they ignore the channel saturation outage condition. Another approach is proposed in Reference [25], where the focus is shifted onto the power consumption of the nodes, with the creation of NS-3 modules able to model it alongside accurate collision behaviour. However, both the quasi-orthogonality of different SFs and the limit of having a finite number of demodulator paths available at the receiver are not taken into account. Finally, in Reference [11], the authors develop their own NS-3 modules to demonstrate how a gateway can ideally support up to 10 4 nodes and how increasing the number of gateways so that every gateway covers 6 km 2 can improve the coverage probability of a node to above 90%. This model is highlighted in Reference [23] as one of the best possible to perform accurate LoRaWAN analysis.
A number of papers have also analysed the problem of scalability by creating mathematical models for LoRa networks using stochastic geometry. In Reference [26], the authors perform a thorough study of collision and frame loss in a network including the possibility of re-transmissions, though they do not extend the analysis to other possible outage conditions. In References [5,6], Georgiou et al. model a single gateway network, with uniform and non-uniform node distributions, respectively. These analyses assume perfect orthogonality between different SFs, ignoring the effect of inter-SF interference. They also neglect the effects of the demodulator channel saturation on the overall outage probability. The same scenario, with the same limitations, is expanded to include a second gateway in Reference [7]. In Reference [9], the authors provide a similar setup, but this time incorporating the effect of quasi-orthogonality of the spreading factors, and using the collision matrix calculated in Reference [19]. This work again ignores the practical limitation of a finite number of parallel demodulation paths on the receiver. To the best of our knowledge, this outage condition is only taken into consideration for simulation purposes by Reference [8]. This paper analyses a single gateway network, limiting the concurrent demodulation paths available to 8, while assuming perfect SF orthogonality. This outage condition, along with collision behaviour, is also validated via a series of different experimental deployments carried out by the authors in Reference [27]. This work, however, fails to address the duty cycle as a possible cause of outage in case an adaptive duty cycle algorithm is active at the network server. Moreover, this study is an experimental validation of the specifications provided by SEMTECH for LoRaWAN, without a formal analysis either in terms of stochastic geometry or discrete time simulation. Given the number of variables involved in modelling a realistic network, most research models simplify the underlying LoRaWAN assumptions to keep the complexity of the resulting analysis low. With our simulation model, we tried to recreate an uplink-only network’s behaviour as faithfully as possible.

4. System Model and Simulation Setup

The simulation is performed in NS-3, using a modified version of the modules developed by Magrin et al. [11].
At the core of the simulation is the propagation model. This is the log-distance model, approximating the losses in an urban environment. The parameters for, γ, PL0, and d0 are the ones used by Magrin et al. [11] and are in Table 2.
To calculate the maximum distance a node can be placed from any gateway, no fading is considered. Only the relative distance between a node and a gateway is used to calculate the overall power loss, using the log-distance model. By inserting the parameters into Equation (8) and solving for d, the maximum distance a signal of a given SF can be successfully decoded at can be found with the following:
d 10 P t x P L 0 X g S 10 γ d 0 .
The results for the different gateway sensitivities for each SF, using the parameters found in Table 2, are in Table 1.
The path loss and fast fading along with the total interference due to inter- and intra-SF collisions are all used to determine whether a packet is successfully delivered and decoded. The payload of each packet is set to 10 bytes, which, together with the 13 mandatory LoRaWAN header bytes, makes it so the time-on-air for a SF12 transmission will be 1482.8 ms, as per Equation (2) [12]. The time between transmissions, T, is set for all nodes to 180 s, so to allow for the 1% duty cycle restrictions to be satisfied for any SF, according to Equation (1). The overall simulation time is set so that each node will send a total of 20 packets throughout the run. The SF allocation is the standard distance-based allocation method. Each node is assigned the lowest spreading factor that still achieves a good link with at least one gateway. No Adaptive Data Rate (ADR) algorithm is applied, meaning that the SF does not change for any node and remains what it was set up to be as the simulation started. In addition, no downlink transmissions or re-transmission algorithms are taken into consideration. The rejection matrix proposed by Reference [20] is used to check for packet collisions. Finally, modelling the limitations due to the finite demodulation paths on a receiver, each gateway can “lock on” to, at most, 8 packets at a time.
The simulation is performed by varying the total number of nodes N = {500, 1000, 2000, 5000}, the radius the nodes are uniformly distributed on R = {3011, 3509, 4089, 4766, 5554, 6473} metres and the distance between the two gateways as a factor of the network radius D = {0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1}, with 0 being the centre of the network and 1 being the whole radius length on either side of the origin, i.e., for D = 0.5, the two gateways will be placed at 0.5 × R on either side of the deployment origin, giving an inter-gateway distance of R; see Figure 2.
The gateway distances (D) were chosen to give a good spread of possible inter-gateway distances, as was the total amount of nodes (N), which reflect typical values found in literature [9,28].
The radius (R) values were chosen to be as close as possible to the calculated “boundaries” between SF. For instance, every node transmitting in a network with a single gateway, operating under the parameters we have configured, will be able to operate at SF7 if the network has radius R = 3011 m. Conversely, in the same network but with radius R = 6473 m, all SFs will have to be used, with SF8 being selected for devices in the first annulus bound by 3011 m <R< 3509 m, and so on.
This is no longer true for a two-gateway system. Having calculated that the maximum distance a single gateway can cover is a circle of radius 6473 m around itself, it will be impossible in a network with nodes distributed over a radius of 6473 m for the two gateways to be placed anywhere else than the origin and cover the whole deployment area. This is illustrated in Figure 3.
The maximum distance between gateways is calculated with
z = R m a x 2 R d 2 R d 2 ,
with:
  • R m a x = maximum distance a node can be from a gateway on a given SF, from Table 1;
  • R d = radius of the network deployment.
Results for z for the different network radii are given in Table 3. This represents the maximum distance between two gateways that can guarantee all nodes will be within range of at least one gateway. We then only perform simulations with Dz to ensure this. As an example, for simulations with R = 6473 m, only D = 0 is taken into consideration; for those with R = 4766 m, every value, except for D = 1, can be used.
The whole simulation is first performed as described, specifically ignoring any fast fading effects, and then performed again, this time including fast fading. The fast fading is modelled using the Nakagami-m model with m = 1, to equate the Rayleigh distribution [29], and simply concatenated with the path loss already described in the NS-3 simulator.
The simulation results, obtained with NS-3, were further analysed and plotted through MATLAB.

5. Simulation Results

Key metric to quantify the QoS of a LoRaWAN network is its Packet Delivery Ratio (PDR), which provides an estimate of the quantity of data that is successfully transmitted and decoded, with a higher PDR meaning a network where fewer packets are dropped. This is formally defined as
P D R = 100 × p a c k e t s R e c e i v e d p a c k e t s S e n t .
Results in Figure 4 show how increasing the number of nodes or increasing the network radius has the general effect of lowering the overall PDR. This result is true across all possible setting combinations, and it is a widely documented limitation of LoRaWAN scalability [4]. Similarly, increasing the network radius also decreases the overall PDR across all configurations, with nodes having to switch to higher spreading factors to stay within reach of a gateway, thus increasing the chance of collision. More interestingly, the results show how increasing the distance between two gateways generally increases the PDR. The benefits of increasing gateway density are well understood in literature for both LPWAN and LoRaWAN, with a direct correlation between number of gateways and PDR [10,11,24].
However, in a LoRaWAN network, this benefit is also heavily dependent on the gateway positioning, due to specific features, such as the star-of-stars topology and the capture effect. In an unrealistic scenario where two identical gateways with identical antennas are placed in the same location (D = 0), the second gateway would contribute nothing towards the PDR of the network. In LoRaWAN, packets delivered to multiple gateways are de-duplicated by the network server and have no inherent use except redundancy in case of gateway failure. This is clear from Figure 4 where lower distances between gateways (D) tend to yield lower PDR relative to the same configuration. A similar drop in PDR can also be noticed for the largest D values in most configurations, making values of D around 0.5 generally the best for the same settings. This decrease in the overall PDR when excessively distancing gateways can be explained by looking at the effects this has on all possible outage conditions, as is shown in Table 4.
The number of packets under sensitivity increases as the two gateways are positioned further apart. This is because more nodes will be able to transmit with a lower SF as a result of the gateways diverging from the network’s origin. As a result, packets from some of the nodes that decreased their SF will only be received by the closer of the two gateways, making it more likely that interference and fast fading will cause outage.
This has the opposite effect on the collision probability. As the distance between the two gateways increases, the probability of collision decreases. This is because of the introduction of higher SFs in the network. In networks where all nodes can transmit at SF7, for instance, the chance of collision will be high, but, by moving the gateways apart, higher SFs will have to be introduced, hence decreasing this probability. This is visible in Figure 2b, where moving the two gateways to D = 1 introduces SF8, 9, and 10 to a network that, with both gateways placed at the origin, would consist of SF7 only.
Channel saturation only becomes an issue for networks with a great number of nodes (≥2000) and with a radius, such as higher SFs (≥11), are needed. In the case of Figure 5b, with a 6473 m radius and more than 2000 nodes, it is shown that this kind of loss also rises much more sharply than the others. In this case, it appears that the inter-gateway distance can be increased provided the resulting distance between nodes and either gateway allows them to transmit with an SF not greater than 10.
Overall, results in Table 4 and Figure 5a show how the trade-off between different losses makes it beneficial to introduce higher SFs in a network operating under the assumptions described in Section 4, having low node density and low overall network radius. However, this benefit quickly disappears and turns into a hindrance as the network deviates from this configuration.
For a network radius of R = 3011 m, it can be seen that, with N = 5000, increasing D from 0 to 1 increases the “under sensitivity” loss by roughly 17% but decreases the collision probability by 35%, giving a better overall PDR for D = 1. For a network radius of R = 4089 m and the same number of devices, N = 5000, increasing D from 0 to 1 has no additional effect on the difference between the two “under sensitivity” loss percentages, which stays around 16%. However, now the collision probability does not decrease as much by increasing D from 0 to 1, with a decrease of just 18%.
By raising the chances of collision (inter- and intra-SF) and channel saturation due to the elongated time-on-air, the negative effects SF11 and 12 have on the PDR of similar dense networks are greater than the benefits they introduce by reducing the chance of “under sensitivity” outage and same SF collision. This is contrary to the intuitive idea that establishing the strongest possible link between a node and a gateway is always favourable, as confirmed in Reference [30]. Figure 6 depicts the lines of best fit through all simulations performed for this study. Increasing the percentage of nodes operating at any given SF is especially bad on the average PDR for SF11 and 12, while the increasing slope of the SF7 line shows that, ideally, a network operating with the setup described in this work is best set up with as many nodes operating at SF7 as possible.
This is not always possible, but SF11-12 should never be selected for such networks, either by keeping the deployment size small enough that they are not needed, by increasing the number of gateways or by developing appropriate and more involved SFs allocating algorithms [28,31].
Following these results, it appears that, in a network operating in a similar fashion, with equivalent device density and distribution, similar and fixed T, and the same SF allocation method, gateways are best placed at a distance that is roughly equal to the network radius, R, and equidistant from each other. Furthermore, the SF allocation method based on spreading all the possible SFs to nodes seems to be detrimental for larger and denser networks operating under an equivalent setup as the one described in this study. In such networks, the goal should be to minimise as much as possible the amount of nodes transmitting with larger SFs. As we have shown, the QoS of a similar network decreases rapidly as more devices operating at SF11 and 12 are added, with an approximate loss of 7% PDR for each 10% increment on the amount of nodes operating with those SFs.

6. Conclusions

Taking as a reference a network with two gateways, a correlation between their relative distance and the network QoS was established via NS-3. This is not only regarding the network’s overall PDR, but to the weight of each outage condition in an uplink-only scenario. In particular, to maximise the PDR, two gateways should not be placed either too close or too far, and ideally, for a similar deployment, at a distance of about a whole network radius. The known outage conditions were also catalogued in a comprehensive way for easy reference to homogenise behavioural assumptions for future research investigating the capability of LoRaWAN networks, as well as informing real-life network designers. In future work, the scope of the problem will be expanded upon by including additional factors, such as downlink traffic, variable packet transmission delay, the introduction of multiple channels, and frequency hopping, as well as packet re-transmission algorithms. The impact of all these theoretical improvements on scalability should also be coupled with an energy consumption analysis. This would make sure that the best trade-off between performance and power can be achieved when translating research into real life deployments.

Author Contributions

Conceptualization, B.C.; formal analysis, B.C., S.H. and Q.H.A.; software, B.C. and S.A.; validation, B.C., S.A., S.H. and Q.H.A.; visualization, B.C.; writing—original draft preparation, B.C., S.H. and Q.H.A.; writing, review, and editing, B.C., S.H., Q.H.A. and M.A.I. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by UK EPSRC grant number EP/R512266/1.

Data Availability Statement

Data available on request.

Acknowledgments

The authors would like to thank the UK EPSRC supporting Bruno Citoni PhD studentship and to acknowledge the support of the wider Communication Sensing and Imaging (CSI) research group, School of Engineering, University of Glasgow.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Augustin, A.; Yi, J.; Clausen, T.; Townsley, W.M. A study of Lora: Long range & low power networks for the internet of things. Sensors 2016, 16, 1466. [Google Scholar] [CrossRef]
  2. Centenaro, M.; Vangelista, L.; Zanella, A.; Zorzi, M. Long-range communications in unlicensed bands: The rising stars in the IoT and smart city scenarios. IEEE Wirel. Commun. 2016, 23, 60–67. [Google Scholar] [CrossRef] [Green Version]
  3. Sanchez-Iborra, R.; Cano, M.D. State of the art in LP-WAN solutions for industrial IoT services. Sensors 2016, 16, 708. [Google Scholar] [CrossRef] [PubMed]
  4. Adelantado, F.; Vilajosana, X.; Tuset-Peiro, P.; Martinez, B.; Melia-Segui, J.; Watteyne, T. Understanding the Limits of LoRaWAN. IEEE Commun. Mag. 2017, 55, 34–40. [Google Scholar] [CrossRef] [Green Version]
  5. Georgiou, O.; Raza, U. Low Power Wide Area Network Analysis: Can LoRa Scale? IEEE Wirel. Commun. Lett. 2017, 6, 162–165. [Google Scholar] [CrossRef] [Green Version]
  6. Georgiou, O.; Psomas, C.; Skouroumounis, C.; Krikidis, I. Optimal Non-Uniform Deployments of LoRa Networks. IEEE Wirel. Commun. Lett. 2020, 9, 1919–1923. [Google Scholar] [CrossRef]
  7. Georgiou, O.; Psomas, C.; Krikidis, I. Coverage Scalability Analysis of Multi-Cell LoRa Networks. In Proceedings of the IEEE International Conference on Communications, Dublin, Ireland, 7–11 June 2020. [Google Scholar] [CrossRef]
  8. Sørensen, R.B.; Razmi, N.; Nielsen, J.J.; Popovski, P. Analysis of LoRaWAN Uplink with Multiple Demodulating Paths and Capture Effect. In Proceedings of the IEEE International Conference on Communications, Shanghai, China, 20–24 May 2019. [Google Scholar] [CrossRef] [Green Version]
  9. Mahmood, A.; Sisinni, E.; Guntupalli, L.; Rondon, R.; Hassan, S.A.; Gidlund, M. Scalability Analysis of a LoRa Network under Imperfect Orthogonality. IEEE Trans. Ind. Inform. 2019, 15, 1425–1436. [Google Scholar] [CrossRef] [Green Version]
  10. Abeele, F.V.; 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]
  11. Magrin, D.; Centenaro, M.; Vangelista, L. Performance evaluation of LoRa networks in a smart city scenario. In Proceedings of the IEEE International Conference on Communications, Paris, France, 21–25 May 2017. [Google Scholar] [CrossRef]
  12. SEMTECH. Designer ’s Guide; SEMTECH. 2013, pp. 1–9. Available online: https://www.rs-online.com/designspark/relassets/ds-assets/uploads/knowledge-items/application-notes-for-the-internet-of-things/LoRaDesignGuide.pdf (accessed on 6 September 2021).
  13. LoRa Alliance. LoRaWAN® Regional Parameters 1.1; LoRa Alliance. 2021. Available online: https://lora-alliance.org/wpcontent/uploads/2020/11/lorawan-regional-parameters-v1.1ra.pdf (accessed on 6 September 2021).
  14. Microchip. RN2483; Microchip. 2019, pp. 1–22. Available online: http://ww1.microchip.com/downloads/en/Appnotes/AN3076-Adding-LoRa-RN2483-Click-to-AVR-IoT-WG-Board-00003076A.pdf (accessed on 6 September 2021).
  15. Gaussian Waves. Log Distance Model. Available online: https://www.gaussianwaves.com/2013/09/log-distance-path-loss-orlog-normal-shadowing-model/ (accessed on 6 September 2021).
  16. Ofcom. IR 2030–UK Interface Requirements 2030; Ofcom. 2021. Available online: https://www.ofcom.org.uk/__data/assets/pdf_file/0028/84970/ir-2030.pdf (accessed on 6 September 2021).
  17. Semtech Corporation. SX127x Wireless & Sensing Products Datasheet; SX1276/77/78/79 2020. Available online: https://semtech.my.salesforce.com/sfc/p/#E0000000JelG/a/2R0000001Rbr/6EfVZUorrpoKFfvaF_Fkpgp5kzjiNyiAbqcpqh9qSjE (accessed on 6 September 2021).
  18. Semtech Corporation. SX1308 Wireless & Sensing Products Datasheet; Semtech Corporation. 2017, pp. 1–40. Available online: https://semtech.my.salesforce.com/sfc/p/#E0000000JelG/a/44000000MDnb/XsCTHcePJiAjE.V2EEZt3Wqu005Yf3FBWbtF0A6Yv70 (accessed on 6 September 2021).
  19. Croce, D.; Gucciardo, M.; Mangione, S.; Santaromita, G.; Tinnirello, I. Impact of LoRa Imperfect Orthogonality: Analysis of Link-Level Performance. IEEE Commun. Lett. 2018, 22, 796–799. [Google Scholar] [CrossRef] [Green Version]
  20. Goursaud, C.; Gorce, J.M. Dedicated networks for IoT: PHY / MAC state of the art and challenges. EAI Endorsed Trans. Internet Things 2015, 1, 150597. [Google Scholar] [CrossRef]
  21. Matni, N.; Moraes, J.; Rosario, D.; Cerqueira, E.; Neto, A. Optimal Gateway Placement Based on Fuzzy C-Means for Low Power Wide Area Networks. In Proceedings of the 2019 IEEE Latin-American Conference on Communications, LATINCOM, Salvador, Brazil, 1–13 November 2019. [Google Scholar] [CrossRef]
  22. Tian, H.; Weitnauer, M.A.; Nyengele, G. Optimized gateway placement for interference cancellation in transmit-only LPWA networks. Sensors 2018, 18, 3884. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  23. Marais, J.M.; Abu-Mahfouz, A.M.; Hancke, G.P. A Review of LoRaWAN Simulators: Design Requirements and Limitations. In Proceedings of the 2019 International Multidisciplinary Information Technology and Engineering Conference, Vanderbijlpark, South Africa, 21–22 November 2019; pp. 1–6. [Google Scholar] [CrossRef]
  24. Bor, M.C.; Roedig, U.; Voigt, T.; Alonso, J.M. Do LoRa Low-Power Wide-Area Networks Scale? In Proceedings of the 19th ACM International Conference on Modeling, Analysis and Simulation of Wireless and Mobile Systems (MSWiM’16), Malta, 13–17 November 2016; ACM: New York, NY, USA, 2016; pp. 59–67. [Google Scholar] [CrossRef] [Green Version]
  25. To, T.H.; Duda, A. Simulation of LoRa in NS-3: Improving LoRa Performance with CSMA. In Proceedings of the IEEE International Conference on Communications, Shanghai, China, 20–24 May 2018. [Google Scholar] [CrossRef] [Green Version]
  26. Muthanna, M.S.A.; Wang, P.; Wei, M.; Abuarqoub, A.; Alzu’bi, A.; Gull, H. Cognitive control models of multiple access IoT networks using LoRa technology. Cogn. Syst. Res. 2021, 65, 62–73. [Google Scholar] [CrossRef]
  27. Liando, J.C.; Gamage, A.; Tengourtius, A.W.; Li, M. Known and unknown facts of LoRa: Experiences from a large-scale measurement study. ACM Trans. Sens. Netw. 2019, 15. [Google Scholar] [CrossRef]
  28. 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] [CrossRef]
  29. NS-3. Nakagami Model. Available online: https://www.nsnam.org/doxygen/classns3_1_1_nakagami_propagation_loss_model.html (accessed on 6 September 2021).
  30. Sanchez-Iborra, R.; Sanchez-Gomez, J.; Ballesta-Viñas, J.; Cano, M.D.; Skarmeta, A.F. Performance evaluation of lora considering scenario conditions. Sensors 2018, 18, 772. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  31. Cuomo, F.; Gamez, 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 2018, Capri Island, Italy, 20–22 June 2018; pp. 1–8. [Google Scholar] [CrossRef] [Green Version]
Figure 1. LoRaWAN star-of-stars network topology, including visual representation of the various outage conditions for an uplink-only network.
Figure 1. LoRaWAN star-of-stars network topology, including visual representation of the various outage conditions for an uplink-only network.
Electronics 10 02197 g001
Figure 2. Two examples of network topologies, showcasing the different SFs distributions with varying network parameters N, D, and R. (a) 2 gateways, N = 5000, D = 0, R = 6473 m. (b) Two gateways, N = 2000, D = 1, R = 3011 m.
Figure 2. Two examples of network topologies, showcasing the different SFs distributions with varying network parameters N, D, and R. (a) 2 gateways, N = 5000, D = 0, R = 6473 m. (b) Two gateways, N = 2000, D = 1, R = 3011 m.
Electronics 10 02197 g002
Figure 3. Examples of different gateway distance (D) and network radius (R, black circle) scenarios. (a) All nodes deployed are covered by both gateways. (b) A portion of the deployed nodes are not covered by either.
Figure 3. Examples of different gateway distance (D) and network radius (R, black circle) scenarios. (a) All nodes deployed are covered by both gateways. (b) A portion of the deployed nodes are not covered by either.
Electronics 10 02197 g003
Figure 4. Three-dimensional scatter plots for the PDR across all simulations with fast fading enabled performed in this study, highlighting how low D simulations have lower PDR compared with higher D with otherwise identical configuration.
Figure 4. Three-dimensional scatter plots for the PDR across all simulations with fast fading enabled performed in this study, highlighting how low D simulations have lower PDR compared with higher D with otherwise identical configuration.
Electronics 10 02197 g004
Figure 5. Total loss percentages for the different outage conditions across multiple N, with fast fading enabled. (a) R = 3011 m. (b) R = 6473 m.
Figure 5. Total loss percentages for the different outage conditions across multiple N, with fast fading enabled. (a) R = 3011 m. (b) R = 6473 m.
Electronics 10 02197 g005
Figure 6. Average PDR of a whole network as a function of the percentage of nodes operating at each SF in the same network, with fast fading enabled.
Figure 6. Average PDR of a whole network as a function of the percentage of nodes operating at each SF in the same network, with fast fading enabled.
Electronics 10 02197 g006
Table 2. Simulation parameters.
Table 2. Simulation parameters.
Payload Length10 bytes
CR4/5
BW125 kHz
Channel868.3 MHz
Tx Power14 dBm
Sim. Time3600 s
Tx Time180 s
PL07.7 dB
d01 m
γ3.76
Noise Figure (NF)6 dB
Nodes (N)500, 1000, 2000, 5000
Radius (R)3011, 3509, 4089, 4766, 5554, 6473 m
Distance between GWs (D)0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1
Simulation Hardware11th Gen Intel Core i7 @ 3GHz
Table 3. Maximum distance of a symmetrical pair of gateways from the centre of the deployment so that all devices will be covered by the combined coverage of the two gateways, z.
Table 3. Maximum distance of a symmetrical pair of gateways from the centre of the deployment so that all devices will be covered by the combined coverage of the two gateways, z.
SFRmax (m)zRange of Valid D for Full Coverage
730111.90–1
835091.550–1
940891.220–1
1047660.910–0.875
1155540.590–0.5
12647300
Table 4. Breakdown of the weight of different outage conditions on a selected range of network configurations, all with fast fading enabled.
Table 4. Breakdown of the weight of different outage conditions on a selected range of network configurations, all with fast fading enabled.
NRDUnder Sensitivity Loss%Collision Loss%Ch. Saturation Loss%
5003011014.177.950
5003011127.911.940
50003011024.160549.84850
50003011141.58516.5220
5004089021.3954.2550
5004089138.411.640
50004089031.803531.2910.0445
50004089147.63913.2580.044
5006473031.82510.6050
50006473030.69723.124524.2625
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Citoni, B.; Ansari, S.; Abbasi, Q.H.; Imran, M.A.; Hussain, S. Impact of Inter-Gateway Distance on LoRaWAN Performance. Electronics 2021, 10, 2197. https://doi.org/10.3390/electronics10182197

AMA Style

Citoni B, Ansari S, Abbasi QH, Imran MA, Hussain S. Impact of Inter-Gateway Distance on LoRaWAN Performance. Electronics. 2021; 10(18):2197. https://doi.org/10.3390/electronics10182197

Chicago/Turabian Style

Citoni, Bruno, Shuja Ansari, Qammer Hussain Abbasi, Muhammad Ali Imran, and Sajjad Hussain. 2021. "Impact of Inter-Gateway Distance on LoRaWAN Performance" Electronics 10, no. 18: 2197. https://doi.org/10.3390/electronics10182197

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