Skip to main content
QUICK REVIEW

[Paper Review] Employing p-CSMA on a LoRa Network Simulator

Nikos Kouvelas, Vijay S. Rao|arXiv (Cornell University)|May 30, 2018
IoT Networks and ProtocolsEngineering3 references11 citations
TL;DR

This paper proposes integrating persistent-Carrier Sense Multiple Access (p-CSMA) into the MAC layer of LoRaWAN networks using the ns3 simulator to reduce packet collisions and improve channel utilization. By enabling IoT devices to sense the channel before transmission and adjusting transmission probability via a persistence parameter (p), the framework significantly enhances Packet Reception Ratio (PRR), especially under high device density and hidden terminal conditions.

ABSTRACT

Low-Power Wide-Area Networks (LPWANs) emerged to cover the needs of Internet of Things (IoT)-devices for operational longevity and long operating range. Among LPWANs, Long Range (LoRa) WAN has been the most promising; an upcoming IoT protocol, already adopted by big mobile operators like KPN and TTN. With LoRaWANs, IoT-devices transmit data to their corresponding gateways over many kilometers in a single hop and with 1% duty-cycle. However, in a LoRa network, any device claims the channel for data-transmission without performing channel-sensing or synchronization with other devices. This increases humongously the number of collisions of information-packets when the number of IoT-devices that are connected per gateway increases. To improve the utilization of the channel, we propose the application of persistent-Carrier Sense Multiple Access (p-CSMA) protocols on the MAC layer of LoRaWANs. In this manuscript, we report on the initial design of a p-CSMA component for the simulation of LoRa networks in ns3. In particular, the classes adding p-CSMA functionality to the IoT-devices are presented. Additionally, the dependencies and relations between these classes and an existing LoRaWAN module on which they apply are detailed. Further, we evaluate this new p-CSMA LoRaWAN module in terms of Packet Reception Ratio (PRR) by simulating LoRa networks. The current report is the first step in the creation of a holistic p-CSMA module, directed to support network-researchers and connoisseurs in simulating all aspects of LoRa networks in ns3.

Motivation & Objective

  • Address the scalability limitations of current LoRaWAN MAC layer, which operates under the ALOHA protocol and suffers from high collision rates under dense device deployment.
  • Improve channel utilization and reduce packet collisions in LoRaWAN by introducing carrier sensing and persistent access mechanisms.
  • Develop a modular, extensible p-CSMA framework within the ns3 simulator to support realistic simulation of LoRa network behavior.
  • Enable researchers to evaluate the impact of persistence values (p) and spreading factors (SFs) on network performance, particularly PRR.
  • Lay the foundation for future extensions, including dynamic persistence adjustment and battery energy modeling for IoT devices.

Proposed method

  • Implemented a p-CSMA component in ns3 that enables IoT devices to sense the wireless channel before transmission.
  • Designed a persistence mechanism where each device transmits with probability p upon detecting an idle channel, reducing simultaneous transmissions.
  • Integrated the p-CSMA module with an existing LoRaWAN ns3 module to simulate uplink communication from end-devices to gateways.
  • Modeled hidden terminals by placing devices in separate, non-overlapping coverage areas to simulate non-sensing-based collision scenarios.
  • Used eight orthogonal receiving windows at 868.1 MHz and varied Spreading Factors (SF7–SF12), with focus on SF8, SF8–10 for performance evaluation.
  • Simulated scenarios with 20–80 devices across 1–3 hidden terminal areas, measuring PRR under different p-values (1.0, 0.75, 0.5, 0.25).

Experimental results

Research questions

  • RQ1How does p-CSMA improve the Packet Reception Ratio (PRR) in LoRaWAN networks compared to pure ALOHA?
  • RQ2What is the optimal persistence value (p) for minimizing collisions and maximizing PRR under varying device densities and hidden terminal configurations?
  • RQ3How does using multiple Spreading Factors (SF8, 9, 10) instead of a single SF affect PRR and channel utilization?
  • RQ4To what extent can channel sensing mitigate collisions in dense LoRaWAN deployments with hidden terminals?
  • RQ5How does the PRR vary with increasing numbers of devices when persistence is fixed at different values?

Key findings

  • Using p-CSMA significantly improves PRR compared to classic ALOHA, even under high traffic and collision-prone conditions.
  • Lower persistence values (e.g., p = 0.25) lead to higher PRR by reducing the probability of simultaneous transmissions, especially in dense networks.
  • When using three spreading factors (SF8, 9, 10), PRR approaches 1.0 for low device counts, indicating effective orthogonality and reduced interference.
  • For p = 0.25, PRR for 80 devices was higher than for 60 devices in some configurations, indicating potential channel underutilization at this persistence level.
  • The framework successfully models hidden terminals, but clear trends in PRR across multiple hidden areas remain inconclusive with current simulation scale, requiring larger-scale evaluation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.