Optimum LoRaWAN Configuration Under Wi-SUN Interference
Arliones Hoeller-Jr., Richard Demo Souza, Hirley Alves, Onel L., Alcaraz L\'opez, Samuel Montejo-S\'anchez, Marcelo Eduardo Pellenz

TL;DR
This paper develops an analytic model and optimization algorithms for configuring LoRaWAN networks to maximize performance under Wi-SUN interference, ensuring minimum reliability in shared unlicensed bands.
Contribution
It introduces a novel interference-aware model for LoRaWAN, deriving closed-form reliability equations and proposing algorithms for optimal network configuration under interference constraints.
Findings
Validated models with real measurement data.
Algorithms effectively optimize range and user capacity.
Reliable network configurations achieved in simulations.
Abstract
Smart Utility Networks (SUN) rely on the Wireless-SUN (Wi-SUN) specification for years. Recently practitioners and researchers have considered Low-Power Wide-Area Networks (LPWAN) like LoRaWAN for SUN applications. With distinct technologies deployed in the same area and sharing unlicensed bands, one can expect these networks to interfere with one another. This paper builds over a LoRaWAN model to optimize network parameters while accounting for inter-technology interference. Our analytic model accounts for the interference LoRaWAN receives from IEEE 802.15.4g networks, which forms the bottom layers of Wi-SUN systems. We derive closed-form equations for the expected reliability of LoRaWAN in such scenarios. We set the model parameters with data from real measurements of the interplay among the technologies. Finally, we propose two optimization algorithms to determine the best LoRaWAN…
|
|
|
|
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 7 | 41.22 | 5.47 | -123 | -6 | ||||||||||
| 8 | 72.19 | 3.12 | -126 | -9 | ||||||||||
| 9 | 144.38 | 1.76 | -129 | -12 | ||||||||||
| 10 | 247.81 | 0.98 | -132 | -15 | ||||||||||
| 11 | 495.62 | 0.54 | -134.5 | -17.5 | ||||||||||
| 12 | 991.23 | 0.29 | -137 | -20 |
| Interference: | All sources | Intra-SF only | |||||
|---|---|---|---|---|---|---|---|
| Scenario | SF | Range | Range | ||||
| (m) | (m) | ||||||
| 3a | 7 | 261.6 | 162.8 | 300.1 | 370.0 | 124.6 | 300.0 |
| 8 | 336.4 | 67.5 | 475.7 | 87.1 | |||
| 9 | 432.4 | 32.5 | 611.6 | 43.5 | |||
| 10 | 555.9 | 21.8 | 786.2 | 25.3 | |||
| 11 | 685.4 | 10.6 | 969.3 | 12.9 | |||
| 12 | 845.0 | 4.7 | 1195.1 | 6.4 | |||
| Interference: | All sources | Intra-SF only | |||||
|---|---|---|---|---|---|---|---|
| Scenario | SF | Range | Range | ||||
| (m) | (m) | ||||||
| 5a | 7 | 278.7 | 149.2 | 274.9 | 278.7 | 211.1 | 508.2 |
| 8 | 358.3 | 61.8 | 358.3 | 147.6 | |||
| 9 | 460.6 | 29.9 | 460.6 | 73.7 | |||
| 10 | 592.1 | 20.2 | 592.1 | 42.9 | |||
| 11 | 730.0 | 9.5 | 730.0 | 21.8 | |||
| 12 | 900.0 | 4.0 | 900.0 | 10.9 | |||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Optimum LoRaWAN Configuration
Under Wi-SUN Interference
Arliones Hoeller, Richard Demo Souza, Hirley Alves, Onel L. Alcaraz López,
Samuel Montejo-Sánchez, Marcelo Eduardo Pellenz A. Hoeller and R.D. Souza are with the Department of Electrical and Electronics Engineering, Federal University of Santa Catarina, Florianópolis, 88040-900 Brazil.A. Hoeller is also with the Department of Telecommunications Engineering, Federal Institute for Education, Science, and Technology of Santa Catarina, São José, 88103-310 Brazil.A. Hoeller, H. Alves, and O.L.A. López are with Centre for Wireless Communications, University of Oulu, Oulu, 90014 Finland.S. Montejo-Sánchez is with Programa Institucional de Fomento a la I+D+i, Universidad Tecnológica Metropolitana, Santiago, 8940577 Chile.M.E. Pellenz is with the Informatics Graduate Program, Pontifical Catholic University of Paraná, Curitiba, 80215-901 Brazil.Correspondence author: [email protected] work has been partially supported in Brazil by the National Council for Scientific and Technological Development (CNPq), Print CAPES-UFSC “Automation 4.0”, and INESC P&D Brasil (Project F-LOCO, Energisa, ANEEL PD-00405-1804/2018); in Finland by Academy of Finland (Aka) 6Genesis Flagship (Grant 318927), EE-IoT (Grant 319008) and Aka Prof (Grant 307492); and in Chile by FONDECYT Postdoctoral (Grant 3170021).©2019 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Abstract
Smart Utility Networks (SUN) rely on the Wireless-SUN (Wi-SUN) specification for years. Recently practitioners and researchers have considered Low-Power Wide-Area Networks (LPWAN) like LoRaWAN for SUN applications. With distinct technologies deployed in the same area and sharing unlicensed bands, one can expect these networks to interfere with one another. This paper builds over a LoRaWAN model to optimize network parameters while accounting for inter-technology interference. Our analytic model accounts for the interference LoRaWAN receives from IEEE 802.15.4g networks, which forms the bottom layers of Wi-SUN systems. We derive closed-form equations for the expected reliability of LoRaWAN in such scenarios. We set the model parameters with data from real measurements of the interplay among the technologies. Finally, we propose two optimization algorithms to determine the best LoRaWAN configurations, given a targeted minimum reliability level. The algorithms maximize either communication range or the number of users given constraints on the minimum number of users, minimum communication range, and minimum reliability. We validate the models and algorithms through numerical analysis and simulations. The proposed methods are useful tools for planning interference-limited networks with requirements of minimum reliability.
Keywords—Internet-of-Things, Low-Power Wide-Area Networks, Communication Interference.
I Introduction
Smart Utility Networks (SUN) are key enablers of Smart Cities [1]. In such environments, the Internet-of-Things (IoT) plays a paramount role in connecting massive numbers of devices like smart meters, smart light bulbs, and smart appliances. Besides the existence of several potential network technologies, e.g., LoRaWAN, SigFox, and Wi-SUN, the reliable and efficient connection of massive numbers of devices is still a challenge [2].
Industry backs two initiatives: LoRa Alliance and Wi-SUN Alliance. LoRa Alliance – supported by Semtech, IBM, Cisco, Orange, among others – maintains the LoRaWAN specification [3]. LoRaWAN is a Low-Power Wide-Area Network (LPWAN) technology operating in the sub-GHz ISM band, using chirp spread-spectrum modulation, allowing increased signal robustness and range at low power consumption and low data rates [1]. LoRaWAN uses the LoRa physical layer (PHY) designed by Semtech and specifies the upper layer protocols to enable IoT deployments. Wi-SUN Alliance – supported by Cisco, Analog Devices, Toshiba, and others – maintains the Wi-SUN specification [4, 5]. Wi-SUN is a Field Area Network (FAN) technology built upon the physical and link layers defined by the IEEE 802.15.4g standard. IEEE 802.15.4g operates in different ISM bands, including the same sub-GHz bands used by LoRaWAN, where it employs a Gaussian Frequency Shift Keying (GFSK) modulation over narrow-band channels. Wi-SUN also defines network- and application-level services and profiles for different utility applications (e.g., energy, gas, water).
While utility service providers modernize their systems to use smart meters, deployments can use different communication technologies in the same geographical region, thus raising the question of how inter-technology interference affects network scalability. Coordination among transmissions in different technologies is unfeasible at the network or lower layers, so it is essential to understand the impact of external interference through use cases, theoretical analysis, and design strategies [6]. To achieve a realistic model, one should take into account that LPWAN devices in the ISM radio band are subject to interference generated by other networks sharing the same part of the spectrum. For instance, different authors report the analysis of the interaction of LoRa with other technologies considering IEEE 802.15.4g [7], SigFox [8, 9], and IEEE 802.11ah [9]. The results in those papers suggest that LoRa susceptibility to interference arriving from other technologies depends not only on the activity on those interfering networks but also on the configuration of the LoRa signal, mainly the spreading factor (SF). In this paper, we consider LoRaWAN as our target technology and model its performance in the presence of IEEE 802.15.4g interference sources in the sub-GHz ISM band (e.g., around MHz in Europe and MHz in USA/Brazil). Please note that the restriction of the model to IEEE 802.15.4g interference comes without loss of generality since one can extend it to other network technologies provided that appropriate isolation thresholds between the technologies are available.
In our work, we evolve from previous developments in [10] and [11] to approach the problem from an analytic perspective. We derive two optimization algorithms that explore the configuration space of LoRaWAN in the presence of internal and external interference. The algorithms are network planning tools for massive IoT applications, guiding the trading-off between reliability, the number of users, and coverage area/range. We validate our analytic findings with simulations configured according to experimental results on the interplay of these networks published in [7]. We do not consider latency in this paper because our methods do not impact latency. A good third-party work that analyzes the latency of Class A LoRaWAN is [12].
The contributions of this work include a closed-form expression for the inter-SF LoRaWAN interference model of [11]; the extension of the analytic models of [10] and [11] to consider external interference; the performance analysis of LoRaWAN considering the experimental results on inter-technology interference from [7]; and two algorithms to optimize LoRaWAN configuration, either in terms of network load or communication range, under reliability constraints.
The remaining of this paper is organized as follows. Section II summarizes related work, and Section III briefly introduces the characteristics of LoRaWAN and IEEE 802.15.4g. Section IV introduces the proposed models. Section V presents the proposed algorithms. Section VI evaluates the models and algorithms. Section VII concludes the paper.
II Related Work
Georgiou and Raza [13] propose an analytic model of LoRaWAN, which considers both disconnection and collision probabilities in Rayleigh fading channels. They show that LoRaWAN is sensitive to node density because it affects collision probability. In [10], we extend the work of [13] to exploit message replications and multiple receive antennas at the gateway. We show that message replication is an interesting option for low-density networks, while the performance gains from spatial diversity are significant in all cases. Mahmood et al. [11], as well as we [10] and Georgiou and Raza [13], use stochastic geometry and Poisson Point Processes (PPP) to derive analytic models of the LoRaWAN coverage probability. Contrasting with [13] and [10], the work in [11] considers the effect of interference from the imperfect orthogonality of LoRa signals with different SF.
Orfanidis et al. [7] report an experimental evaluation of the interference between IEEE 802.15.4g and LoRa by measuring the packet error ratio in different SINR scenarios inside an anechoic chamber. The measurements consider a single IEEE 802.15.4g interferer over one LoRa link. Their results show that lower SFs are more susceptible to interference. Although these measurements show interesting results, it is important to note that they consider a limited number of nodes, thus making it hard to extrapolate the conclusions. To the best of our knowledge, no other work has studied the susceptibility of LoRa to external IEEE 802.15.4g interference, and there is none published work that investigates this relationship in a network-scale scenario with several active links in both IEEE 802.15.4g and LoRaWAN.
III LPWAN Networks
LPWAN technologies employ low-power communication mechanisms to enable the connection of thousands of IoT devices. Most technologies work in sub-GHz frequencies and feature link budgets of dB, implementing robust communication channels with low energy consumption reaching distances in the order of kilometers [1]. For reducing complexity and energy consumption, LPWANs use MAC protocols that may decrease channel usage efficiency. For instance, the unslotted ALOHA MAC in LoRaWAN presents high collision probability with large numbers of users [14].
III-A LoRaWAN
LoRa is a proprietary sub-GHz chirp spread spectrum modulation technique optimized for long-range low-power applications at low data rates [3]. LoRa modulation depends, basically, on three parameters [15]: bandwidth (), usually set to 125\leavevmode\nobreak\kHz or 250\leavevmode\nobreak\kHz for uplink and 500\leavevmode\nobreak\kHz for downlink; SF, which assumes values from 7 up to 12; and the forward error correction (FEC) rate, varying from to . The parameters allow computing packet Time-on-Air (ToA), receiver sensitivity, and required signal-to-noise ratio (SNR) for successful detection in the absence of interference, which Table I presents for a given packet configuration. Note that ToA grows exponentially with SF, reducing the data rate and decreasing receiver sensitivity, improving coverage.
The LoRa PHY is agnostic of higher layers. LoRaWAN is the most widely used protocol stack for LoRa networks. It implements a star topology where end-devices (nodes) connect through a single-hop to one or more gateways, which in turn connect to a network server via an IP network. Moreover, a LoRa gateway can process up to nine channels in parallel, combining different sub-bands and SF [1]. LoRa features the capture effect, making it possible to recover a LoRa signal when two or more signals are received simultaneously, in the same frequency and SF, provided that the desired signal is at least dB above interference [17].
III-B IEEE 802.15.4g
IEEE 802.15.4g is an amendment to the IEEE 802.15.4 standard focusing on Smart Utility Networks (SUN) that plays an important role in the smart grid [18]. The standard specifies several modes operating in different bands, including the Sub-GHz ISM bands used by LoRaWAN. Multi-Rate FSK (MR-FSK), with 2-FSK or 4-FSK, is the predominant modulation version in SUN applications due to its communication range [19]. In this configuration, the transceiver combines FSK modulation with Frequency Hopping Spread Spectrum (FHSS) to increase robustness [20]. Data rate varies from to kbps, depending on region and frequency band.
The mandatory configuration for all regions is 2-FSK operating at kbps, which implies a channel spacing of kHz. Transmit power depends on regional regulations, but must be at least dBm [5]. Most configurations use dBm transmit power and duty cycle [21]. IEEE 802.15.4g also extends the MAC mechanisms defined by IEEE 802.15.4e amendment [22] to make extensive use of low-energy modes. IEEE 802.15.4g networks are expected to form multi-hop, mesh networks. Before sending data, the MAC performs either carrier sense or a simplified version of channel monitoring named Coordinated Sampled Listening (CSL) [23].
IV System Model
Following the developments in [10] and [11], we use a set of Poisson Point Processes (PPP) [24]. Our model considers nodes deployed uniformly in a circular region around a gateway. Figure 1 illustrates a possible setup where SF increases according to the distance from the gateway. The figure, as in previous related work, uses fixed-width SF rings which are sub-optimal, an issue that is addressed by us in Section V. The vector defines the limits of each SF ring. Note that is the maximum network communication range, i.e., the coverage radius. LoRaWAN devices transmit in the uplink at random using the ALOHA protocol and transmit once in a given period . Considering that all nodes run the same application, the network usage is different for each SF because of different data rates (see ToA in Table I). Figure 1 also shows the ToA difference graphically. Hence, we model the transmission probability of LoRaWAN devices as a vector , and , where is the ToA for SF of ring . Note that, for the sake of simplicity, we define the set to denote the SF rings and that each ring uses a respective SF in .
Each LoRaWAN SF ring constitutes a separated PPP, denoted , making it possible to attribute different densities to each SF. has density in its area , where and are, respectively, the inner and outer radii of SF ring (from ), and is the spatial density of nodes in . The average number of nodes in is . The average number of nodes in the LoRaWAN network is . For instance, take the ring in Figure 1, defined by two circles of radii km and km. Nodes in this ring use . The ring area is km2. If there are, on average, nodes in this ring, then its spatial density is nodes/km2. Finally, if nodes transmit probability is (), the intensity of is .
In addition to LoRaWAN, we consider an external IEEE 802.15.4g network operating in the same ISM bands and geographic region. Users of that network are spread across the LoRaWAN area. IEEE 802.15.4g transceivers in ISM sub-GHz bands employ bandwidth and transmit power configurations similar to LoRaWAN. So, we model the IEEE 802.15.4g network as an additional PPP where nodes transmit with probability in area , where . The PPP has density , where is the spatial density of nodes in . The average number of nodes in is .
In our analysis, is the Euclidean distance between the -th node and the gateway, and denotes the distance of the node of interest. All nodes use the same transmit power to send signal , while both path loss and Rayleigh fading affect the received signals of LoRaWAN and IEEE 802.15.4g. Path loss follows , with wavelength , path loss exponent , while represents a device in either network. Finally, denotes the Rayleigh fading. Therefore, a LoRaWAN signal received at the gateway is the sum of the attenuated transmitted signal , interference, and noise,
[TABLE]
where
[TABLE]
accounts for intra-network interference, considering both co-SF and inter-SF interference by summing all other received signals from all SFs, and
[TABLE]
models external interference arising, in our case, from all active nodes in the IEEE 802.15.4g network. Finally, is the additive white Gaussian noise (AWGN) with zero mean and variance dBm, where dB is the receiver noise figure and kHz is the LoRa channel bandwidth. The remainder of this section uses this model to derive a reliability model of LoRaWAN.
IV-A Coverage Probability
The coverage probability is the probability that the selected node is in coverage (not in outage), i.e., it can successfully communicate in the presence of noise, internal interference, and external interference. The coverage probability of the desired node located meters from the gateway is thus
[TABLE]
where , , and are described in the following sections and denote the success probability with regards to, respectively, noise, internal interference, and external interference.
IV-B Outage Condition 1: Disconnection
Following [10], we consider the disconnection probability, which depends on the communication distance. A node is not connected to the gateway if the SNR of the received signal is below the threshold that allows successful detection in the absence of interference. Receiver sensitivity is different for each SF, what results in different SNR reception thresholds defined in
],
where is the SNR threshold vector, and denotes the -th element of , i.e., the SNR threshold for SF ring . Then, we model the connection probability as
[TABLE]
Since we assume Rayleigh fading, the instantaneous SNR is exponentially distributed [25], and therefore
[TABLE]
IV-C Outage Condition 2: Intra-Network Interference
Intra-network interference arises from the activity of other devices in the same network. We follow [11] to model both co-SF and inter-SF interference. To recover a packet, the signal-to-interference ratio (SIR) at the gateway must be above a given threshold. The transceiver manufacturer informs that SFs are orthogonal and that the co-SF SIR threshold is dB [16]. Goursaud et al. [26] propose theoretical SIR thresholds that match Semtech co-SF value but show that different SFs are not entirely orthogonal. However, Croce et al. [17] showed, experimentally, that the SIR thresholds for Semtech SX1272 LoRa transceiver are lower with regards to co-SF interference (dB) but significantly higher with respect to (w.r.t.) inter-SF interference. In this paper, we assume the experimental SIR thresholds of [17]
[TABLE]
where is the SIR threshold matrix, and denotes the element of at the -th line and -th column, i.e., the SIR threshold for the desired signal using SFi and interference using SFj. Note that relates to the co-SF SIR while relates to inter-SF SIR. If one takes the SF7 column as an example, it shows how SF7 interference affects the LoRa signals. Desired signals using higher SF are more robust to inter-SF interference, allowing for the decoding of LoRa packets even if the interference power is much higher than the signal (e.g., dB higher if the signal uses SF12).
Following this rationale, we first use the formulations in [11] to analyze the success probability considering the interference from only one different SFj. Let
[TABLE]
where the interference received from nodes using SFj is
[TABLE]
Since the desired node at uses SFi, the success probability is
[TABLE]
Since ,
[TABLE]
Note that (9) has the form of the Laplace Transform w.r.t. , where , . Thus, using (8) and applying the property of the sum of exponents,
[TABLE]
Solving the expectation over yields
[TABLE]
We solve the expectation over the PPP using the probability generating functional of the product over PPPs where , with as the density of , converting to polar coordinates, and replacing , obtaining
[TABLE]
As a contribution over [11], we provide in Appendix Appendix A: Solution of a closed-form solution for the integral in (10), which we isolate in function . The solution is
[TABLE]
and therefore,
[TABLE]
Now we consider interference from all SFs when
[TABLE]
Following [11], we consider that an outage takes place if the SIR for at least one interfering SF exceeds the threshold in . Conversely, the probability that a collision does not occur is
[TABLE]
Since , shown in (12), is an exponential function, we compute the above product by summing the exponents and reorganizing, obtaining
[TABLE]
IV-D Outage Condition 3: External Interference
Orfanidis et al. [7] report the selectivity of LoRa receivers in the presence of IEEE 802.15.4g signals. We use Orfanidis et al. experimentally obtained isolation thresholds to analyze the SIR in the presence of external interference generated by an IEEE 802.15.4g network. Here, we model the IEEE 802.15.4g network as PPP and consider [7]
],
where denotes the LoRa vs. IEEE 802.15.4g SIR threshold vector, and denotes the -th element of , i.e., the SIR threshold for the desired signal in SF ring and interference from the IEEE 802.15.4g network.
The analysis of the LoRa capture probability in the presence of IEEE 802.15.4g interference is similar to the case for one SF (), but taking the vector and the IEEE 802.15.4g network parameters into account. For
[TABLE]
the capture probability w.r.t. external interference is
[TABLE]
Note that the model for external interference supports any other communication technology given that adequate SIR thresholds of are provided.
V Optimum LoRaWAN Configuration
The expressions in Section IV determine the expected reliability of a single node located at a given distance from the gateway. However, what if one wants to plan the network deployment? In this section, we consider the use of the previous model to this end. We first consider the inversion of the expressions in the model to obtain network configurations for a targeted minimum average reliability. Afterward, we propose two algorithms that derive optimum network configurations supporting the desired minimum reliability requirement.
V-A Guaranteeing the Reliability Target
To start our search for optimal LoRaWAN configurations we invert the previously described outage expressions defined in (6) and (14), so the network parameters can be extracted from them to achieve a minimum desired reliability level. Note that (16) does not depend on the LoRaWAN configuration. It is, however, taken into account in the optimization algorithm proposed in Sections V-B and V-C to consider external interference. One can assume that, in our network model, the nodes presenting the worst average reliability in each SF ring are those on the outer ring limit. It happens because the signals emitted by those nodes suffer greater path-loss and are, therefore, more susceptible to interference.
V-A1 SF Ring Limits
As a first step, we find the maximum distance that ensures the required minimum average reliability level w.r.t. the connection probability . We denote this threshold by . We rewrite (6) to perform operations over the SNR threshold in and the outer SF ring limit ,
[TABLE]
and then it is straightforward to obtain
[TABLE]
Note that the radius of the overall coverage area is .
V-A2 Ring Densities
Since (18) defines the network geometry, it is now possible to obtain the outage due to external interference observed by the nodes at each ring edge from . After that, we compute the maximum densities of the PPPs in that satisfy the given final reliability target , the previously assumed connection reliability target , and the external interference of each SF . Thus, following (4), making and , we have for each SF ring that and thus
[TABLE]
In (19), the function is independent of if the SF limits are pre-defined. Then, let and , yielding, for each SF ring ,
[TABLE]
If we name the vectors and matrix , from (20), we derive a system of linear equations and solve it for the PPPs densities by making
[TABLE]
Note that is a square matrix, both and are row vectors of length , and all values in are positive real numbers. To be invertible (), must have a non-zero determinant. Considering the diagonal method to compute the determinant of , we observe that, due to , the values at are significantly higher than when , thus making the positive diagonal greater than the negative diagonal, yielding a determinant that is virtually never zero.
V-B Maximization of Communication Range
The expressions presented above allow us to obtain twelve network parameters: six communication range limits from (18), and six PPP densities from (21). Note that (21) depends on (18) because of . Combining both equations generates an incomplete linear system of six equations and twelve variables. In order to search for optimized feasible network configurations, we propose an algorithm that uses (18) and (21) in an iterative method, trying to extend the outer SF ring limits as much as possible, while preserving the targeted final reliability level and ensuring service to a minimum quantity of nodes (). The algorithm extends the outer SF ring limits by reducing . Similarly, increasing shortens these limits. The algorithm iteratively guesses values for and then, after obtaining through (18), analyzes the maximum possible densities . As gets closer to , the capture probability increases and, with fixed and , higher is possible only with lower densities. It may lead to configurations breaking the restriction. Conversely, if is too close to , the outer limits of the SF rings will be shorter, leading to small coverage areas that are useless in practice. However, the proposed algorithm identifies feasible ranges for the network parameters, thus dealing with this parameter trade-off.
Algorithm 1 employs a bisection technique [27] to explore the network design space (i.e., possible values of ), seeking to maximize the width of each SF ring and, as a consequence, the network communication range (disk radius), while preserving the targeted minimum reliability and ensuring service to, at least, a given number of nodes (). The bisection technique fits well to our problem because it accelerates convergence by reducing the design space in half in each iteration, and it is guaranteed to converge if the problem is feasible. The inputs of the algorithm are the targeted reliability , the duty-cycle vector , , and the density of IEEE 802.15.4g interfering nodes . The algorithm outputs a variable stating if the algorithm converged () or not (), the achieved number of nodes , and the vectors and containing, respectively, the rings limits and densities ensuring the target reliability.
After initializing the variables (lines 1-4), the optimization loop starts and runs until the algorithm converges (line 26) or diverges (line 23). The optimization procedure “guesses” values for , trying to reduce it to enlarge the width of each SF ring, thus increasing the coverage area. Note that since depends on from (4), must be greater than ; otherwise, both and would have to be , which is impossible in practice. Thus, Algorithm 1 sets the initial search region for to . The guessed value for in each iteration is at the center of this region, as expressed in line 6. At each iteration, if the selected generates a configuration where the number of nodes is above , it is assumed that can be enhanced by decreasing , which allows for further decreasing in the next iteration. Conversely, if , is increased so that can be lower, allowing for more nodes in the network. This “binding” part of the algorithm is in lines 30-34.
Provided the branch-and-bound technique guesses in line 6, the range limits for all SF are computed using (18) in line 7. In the following, the algorithm uses the newly computed vector to obtain vector and matrix (lines 11-16), allowing for the computation of the PPPs densities in (line 17), using (21). Following that, the number of nodes fitting the generated configuration is computed by first obtaining the area of each SF ring in lines 18-19 as . The algorithm converges and stops when the difference in the radius of the overall coverage area between two consecutive iterations is less than (line 20) and (line 21), where defines the precision of . If the variation of , i.e., , is too small and the algorithm did not achieve yet, the algorithm keeps trying to converge until the variation in the guessed is below a threshold (line 22), in which case the algorithm stops and announces a divergence. After evaluating the proposed algorithm for a set of test scenarios, we concluded that good values for the stopping thresholds are and .
Algorithm 1 always converges if there are feasible solutions to the problem. If the requirements of minimum network density ( and ), targeted reliability (), or both, are too high, however, the algorithm may take too long to converge. Hence, we stop the algorithm when the changes in get too small (line 22), thus guaranteeing that the algorithm will not run forever since decreases every iteration. It is important to note, however, that achieving higher network density is always possible by reducing the reliability requirement . Moreover, highly demanding scenarios without feasible solutions or with lengthy convergence are not typical in LoRaWAN, since the technology has been conceived to support massive rather than critical IoT applications.
The algorithm has linear complexity, i.e., . Analysis of convergence time of this method depends on the precision, which we define in Algorithm 1 as meter. Therefore, the literature defines the maximum number of iterations as , where is the initial error [27]. In Algorithm 1, , with (Algorithm 1, line 3) and computed in the first iteration (line 9) using (18) with (line 6). Note that although Algorithm 1 involves the solution of a system of linear equations with matrix inversion (line 17) and matrix multiplications (line 19), these are computed quite efficiently since it handles low-dimension matrices – the largest matrix is Y, which is 6-by-6.
V-C Maximization of Number of Nodes
Now we consider the case of maximizing the total number of nodes given restrictions of minimum coverage radius () and average reliability (). We use a more straightforward approach than in Algorithm 1. The problem of maximizing the number of nodes is equivalent to the problem of minimizing . Thus it is straightforward to conclude, from (4), that we should maximize because higher allows for lower . Since we assume that the worst cases are at the edge of the SFs and we have a restriction on the coverage radius, the maximum possible is that yielding . Thus, from (6), we conclude that . Assuming the same for all SFs, we use (18) to compute and obtain the geometry of the network.
Once we obtain , we get the maximum allowable densities ensuring through (21) as shown in Algorithm 2. Line 1 uses (6) to compute the maximum satisfying . Line 2 uses the computed to obtain the geometry of the network . The loop in lines 5-10 computes matrix and vector , so the maximum device density vector can be computed in line 11. Finally, after computing the areas of the rings and storing them in vector (line 12), we obtain the maximum number of nodes in line 13.
Note that Algorithm 2 is not iterative since there is no loop searching for the optimum solution and, therefore, it has complexity . This algorithm merely describes how to use the proposed models to determine the optimum LoRaWAN configuration considering the restrictions. The approach produces unfeasible configurations if the restrictions are too strict. Thus, lines 14-18 check whether the method generated non-negative densities for all SFs to assess whether the results are feasible or not.
VI Numerical Results
This section evaluates the proposed model and algorithms. In all figures, lines represent theoretical probabilities (i.e., ), while marks along the lines show the results of Monte Carlo simulations. Each mark in a figure is the average of simulations considering random deployments. Moreover, we assume dB, , m, m/s (speed of light), MHz for both LoRaWAN and IEEE 802.15.4g. LoRaWAN channel bandwidth is kHz, and IEEE 802.15.4g channel bandwidth is kHz. We also assume that nodes in LoRaWAN and IEEE 802.15.4g transmit with dBm. These parameters configure typical European sub-urban scenarios.
Concerning IEEE 802.15.4g interference, we evaluate the algorithms considering three scenarios. In real deployments, the designer of a LoRaWAN network may not know the operational parameters of the interfering IEEE 802.15.4g network. Thus, in a practical situation, the designer should assume worst-case configurations for the external network.
VI-A Model Validation
Figure 2 aims to validate the presented models by showing the success rates , , , and as a function of the distance from the gateway. The scenario considers an average number of nodes , transmitting with duty cycle % in a circular area around the gateway with radius m. The IEEE 802.15.4g network generating external interference has nodes transmitting with duty cycle %, also in a circular area with radius m. As can be seen, all theoretical expressions (lines) match the simulation results (marks). One can observe in that a relatively light interference from IEEE 802.15.4g () has little impact in lower SFs due to the smaller ToA and reduced probability of concurrent transmissions. Higher SFs, on the other hand, have higher ToA and thus suffer more from this external interference.
Also, in Figure 2, shows what the capture probability would be if we consider that LoRa signals are perfectly orthogonal. We obtain from (14) by considering only . As can be seen, the gap between and shows that inter-SF interference plays a vital role in link quality.
VI-B Algorithm 1: Maximization of Range
Now we evaluate Algorithm 1 of Section V-B. These results use the same network parameters employed to validate the network model. Figure 3 presents a series of graphs for varying optimization objectives. Plots in the same row consider the same reliability target , while plots in the same column use the same packet generation interval , expressed in minutes. Each graph shows three curves, each one considering a different amount of IEEE 802.15.4g interference, which varies by changing the number of IEEE 802.15.4g nodes (), always with duty cycle . Each optimization point considers different values, evaluated every m.
The first conclusion, when comparing the curves in all plots, is that different IEEE 802.15.4g interference leads to shorter communication ranges when following our proposed optimization procedure. That makes sense since shorter distances feature smaller path loss, making signals less susceptible to external interference. It is also possible to observe that less stringent reliability targets lead to larger coverage areas. Again, that makes sense since smaller yields smaller , which in turn enables longer communication range.
Also, in Figure 3, plot (a) shows the more rigorous scenario; the configuration allowing the required reliability is only practical for nodes, with a radius varying from to meters, depending on and the external interference. The coverage radius with either converged to unpractical distances of less than meters or diverged, meaning that we could not place this many LoRaWAN nodes with packet generation interval of minutes while ensuring minimum reliability of .
For , there are more feasible scenarios if network usage decreases. Plot 3b shows that configurations with up to nodes are possible if the packet transmission interval is minutes. For with minutes, it is possible to find reasonably good network configurations up to . However, shrinks the communication range to unpractical distances.
Figure 4 illustrates the behavior of Algorithm 1 and network performance when taking the circled case in Figure 3a as an example. Figure 4a shows the convergence of and for this scenario. Applying the estimate of the number of iterations presented in Section V-B to this example makes m because of . Therefore, the maximum number of iterations to reach (line 20, Algorithm 1) is . We see in Figure 4a that the algorithm converges after the 11th iteration with , thus “stretching” the network range as much as possible. Also, note that convergence time depends on , which in turn depends on . If we consider the same case above with or , we would have, respectively, or , what would make, respectively, or , showing that the impact of in convergence time is small.
Table II shows numerical results of the same scenario in two columns: “All sources” with the results for our complete model; and “Intra-SF only” disregarding both inter-SF and external interference sources. We get the results in the “Intra-SF only” column using the same models, but setting in , and for and otherwise. When considering all sources of interference, as expected, the fact that ToA impacts the duty cycle induces the optimization procedure to allocate most of the nodes with lower SF. That happens because signal attenuation increases with distance, making more distant nodes more vulnerable to both internal and external interference. Recall that a shorter ToA reduces the collision probability. Moreover, longer ToA generates more internal interference to other SFs.
In some cases, higher SFs may not be used to ensure minimum reliability. However, note that (18), (21), and Algorithm 1 can be extended to change the restriction to represent a vector with the minimum number of nodes using each SF. One can achieve that by revisiting the computation of the densities in (21) to consider such a minimum number of nodes when computing the spatial density. Since doing that will possibly result in more nodes using higher SFs, it is expected that fewer nodes use lower SF, resulting in a smaller total number of nodes, as well as a shorter network radius, since the algorithm will converge to a higher to compensate the increased . When disregarding inter-SF and external interference, we observe that higher SFs are profoundly affected by inter-SF and external interference, mainly due to their extended ToA. In particular, we observe that interference, rather than path loss, is the main factor for which our method disfavors the use of higher SF. Moreover, it is clear that interference considerably affects coverage.
Finally, Figure 4b shows the success probabilities of the example scenario, where the optimized configurations consider the minimum average reliability target for all distances from the gateway. As expected, the success probability approaches the desired minimum at the edge of each SF. We can see that collisions () are kept almost constant or increase slightly with SF. That happens because the algorithm reduces the number of nodes using each SF to keep in pace with and , to ensure the minimum .
VI-C Algorithm 2: Maximization of Nodes
Now we evaluate Algorithm 2 of Section V-C. The plots in Figure 5 show the results for different scenarios of required minimum reliability () and message generation period (). For all plots, the x-axis represents the input to the algorithm, while the y-axis shows the achieved maximized number of nodes. In each plot, the x-axis grows up to the value for which the requirements yield practical results.
In Figure 5, if we analyze each row of plots independently, we see that the maximum number of nodes is a linear function of the transmission period . For instance, considering m and , in plots 5a and 5b are, respectively, and , i.e., doubles when doubles. That is expected since these variations ensure the same network load in all scenarios. We also observe, in all plots, that increased external interference reduces both the number of nodes and the achievable coverage radius.
Table III shows the achieved geometry and number of nodes of the marked scenario of Figure 5a. Again, the “All sources” column presents the results of our complete model, while the “Intra-SF only” column disregards inter-SF and external interference. Since the method assumes that the maximum number of nodes is achieved with the shortest possible distances, the maximum range of a node using SF12 has to be (m for this case). As for Algorithm 1, Algorithm 2 also favors lower SFs. Moreover, Table III shows that the maximum number of nodes almost doubles when disregarding inter-SF and external interference, emphasizing the importance of taking such impairments into account to avoid overestimating the network performance. Finally, Figure 6 shows success probabilities for the example scenario, which approach at SF edges but stay above the required minimum for all distances shorter than .
VII Conclusion
This paper presents two algorithms to optimize the configuration of LoRaWAN under imperfect SF orthogonality and IEEE 802.15.4g interference. We use models of LoRaWAN networks to derive success probabilities of packet delivery under internal and external (IEEE 802.15.4g) interference. The presented algorithms search for optimum LoRaWAN configurations given restrictions of minimum network density or coverage radius, meeting a target minimum reliability level. The analytic results are validated using simulations.
Regarding IEEE 802.15.4g interference over LoRaWAN, although higher SF should be more robust to this type of interference, they suffer more from that impairment because their increased ToA makes it more likely that transmissions overlap with IEEE 802.15.4g activity. Finally, regarding the proposed algorithms, they provide a tool for exploring trade-offs between network load and coverage range by showing the feasible region of LoRaWAN network configurations.
Possible future extensions of this work can include other important LPWAN features, such as power allocation and multiple base stations. Moreover, one may consider adapting the proposed algorithms to maximize reliability given fixed network geometry and number of users, in a way similar to what [28] does, or to analyze latency and energy efficiency of the models, similarly to [29], noting that neither [28] nor [29] consider LoRaWAN networks. In the future, we also plan to validate our models using data from a multi-technology large scale IoT network at the University of Oulu.
Appendix A: Solution of
Here we solve the integral in (10). Let
[TABLE]
We rearrange as
[TABLE]
and use the binomial theorem to obtain
[TABLE]
Since is continuous in , we interchange the sum and the integration and solve the integral, yielding
[TABLE]
We resort to the Pochhammer function and to , and reorganize as
[TABLE]
which is in the form of the Gaussian Hypergeometric function [30], what yields
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Centenaro, L. Vangelista, A. Zanella, and M. Zorzi, “Long-range communication in unlicensed bands: the rising stars in the Io T and smart city scenarios,” IEEE Wireless Communications , vol. 23, no. 5, pp. 60–67, Oct 2016.
- 2[2] C. Bockelmann, N. Pratas, H. Nikopour, K. Au, T. Svensson, C. Stefanovic, P. Popovski, and A. Dekorsy, “Massive machine-type communications in 5G: physical and MAC-layer solutions,” IEEE Communications Magazine , vol. 54, no. 9, pp. 59–65, Sep 2016.
- 3[3] Lo Ra Alliance. (2019, Sep) Website. [Online]. Available: http://www.lora-alliance.org
- 4[4] Wi-SUN Alliance. (2019, Sep) Website. [Online]. Available: http://www.wi-sun.org
- 5[5] K.-H. Chang and R. Mason, “The IEEE 802.15.4g standard for smart metering utility networks,” in IEEE 3rd International Conference on Smart Grid Communications , Nov 2012, pp. 476–480.
- 6[6] L. Zhang, Y. Liang, and M. Xiao, “Spectrum sharing for internet-of-things: A survey,” IEEE Wireless Communications , vol. 26, no. 3, pp. 132–139, Jun 2019.
- 7[7] C. Orfanidis, L. M. Feeney, M. Jacobsson, and P. Gunningberg, “Investigating interference between Lo Ra and IEEE 802.15.4g networks,” in IEEE 13th Internetional Conference on Wireless and Mobile Computing, Networks and Communications , Oct 2017, pp. 1–8.
- 8[8] L. Krupka, L. Vojtech, and M. Neruda, “The issue of LPWAN technology coexistence in Io T environment,” in 17th Internetional Conference on Mechatronics (Mechatronika) , Dec 2016.
