LoRa vs. WiFi Ad Hoc: A Performance Analysis and Comparison

With increasing demand for wireless networks, the number of technologies that allow us to connect remote devices has increased as well. One of the more common technologies that allows us to connect two remote devices with each other is WiFi, which provides high power, short-range connection between devices. In order to transfer data using WiFi over a longer distance, it is common to use Mobile Ad Hoc Networks (MANETs), which provides an infrastructureless network that can be used for long range communication in the cases where infrastructure-based networks are unavailable. Another, more recent and less common way to connect remote devices without relying on pre-existing infrastructure is by using LoRa, which provides low power, long-range wireless connection. In this paper, we analyze the performance of WiFi Ad Hoc and LoRa networks using Network Simulator 3 (ns-3) in terms of delay and energy consumption required to send a file of a given size as we vary the distance from the source to the destination. In addition, we develop mathematical models for the delay and energy consumption, and compare these models with the results obtained through simulation. Our results show which network protocol, WiFi Ad Hoc or LoRa, provides the lowest delay or the least energy consumption for a given file size and distance, which can be used to adaptively select the communication protocol to optimize the network performance.

[1]  Thomas H. Clausen,et al.  A Study of LoRa: Long Range & Low Power Networks for the Internet of Things , 2016, Sensors.

[2]  Philippe Jacquet,et al.  Optimized Link State Routing Protocol (OLSR) , 2003, RFC.

[3]  Andrzej Duda,et al.  Simulation of LoRa in NS-3: Improving LoRa Performance with CSMA , 2018, 2018 IEEE International Conference on Communications (ICC).

[4]  Thomas Watteyne,et al.  Understanding the Limits of LoRaWAN , 2016, IEEE Communications Magazine.

[5]  Julien Montavont,et al.  Indoor deployment of low-power wide area networks (LPWAN): A LoRaWAN case study , 2016, 2016 IEEE 12th International Conference on Wireless and Mobile Computing, Networking and Communications (WiMob).

[6]  Ali Ahmadinia,et al.  Evaluation of LoRa and LoRaWAN for wireless sensor networks , 2016, 2016 IEEE SENSORS.

[7]  Laura Marie Feeney,et al.  An Energy Consumption Model for Performance Analysis of Routing Protocols for Mobile Ad Hoc Networks , 2001, Mob. Networks Appl..

[8]  Davide Magrin,et al.  Network level performances of a LoRa system , 2016 .

[9]  Nitin H. Vaidya,et al.  Analysis of TCP Performance over Mobile Ad Hoc Networks , 1999, Wirel. Networks.

[10]  Martin Nilsson,et al.  Investigating the energy consumption of a wireless network interface in an ad hoc networking environment , 2001, Proceedings IEEE INFOCOM 2001. Conference on Computer Communications. Twentieth Annual Joint Conference of the IEEE Computer and Communications Society (Cat. No.01CH37213).

[11]  Konstantin Mikhaylov,et al.  Analysis of Capacity and Scalability of the LoRa Low Power Wide Area Network Technology , 2016 .

[12]  Ingrid Moerman,et al.  LoRa Scalability: A Simulation Model Based on Interference Measurements , 2017, Sensors.

[13]  Anders Carlsson,et al.  Measuring a LoRa Network: Performance, Possibilities and Limitations , 2018, NEW2AN.