Optimizing Spreading Factor Selection for Mobile LoRa Gateways Using Single-Channel Hardware
W. A. S. P. Wijesuriya · 2025
Read Optimizing Spreading Factor Selection for Mobile LoRa Gateways Using Single-Channel Hardware by W. A. S. P. Wijesuriya (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2507-19938.txt.
Introduction
LoRa radios send small data packets over long distances on little power, and mobile gateways built from cheap single-channel parts are attractive for farms and rural sensing. Wijesuriya, the sole author, tackles a weak point of such gateways: they cannot adjust radio settings on the fly the way costly multi-channel systems do. The key setting is the spreading factor, which trades speed for range and energy use.
The proposed method picks that setting in two phases. First, rules remove any choice that breaks limits on distance, data rate, signal margin, or regulation. Then a weighted score ranks the rest by air time, energy use, data rate, and link strength. Field tests and simulations agreed: the picked setting matched the best one in over 92 percent of 672 scenarios. The approach offers a cheap, scalable path to reliable mobile LoRa networks.
Catalog record
| CREATOR | W. A. S. P. Wijesuriya |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 21 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2507-19938
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Optimizing Spreading Factor Selection for Mobile LoRa Gateways Using Single-Channel Hardware W. A. S. P. Wijesuriya Abstract The deployment of mobile LoRa gateways using low-cost single-channel hardware presents a significant challenge in maintaining reliable communication due to the lack of dynamic configuration support. In traditional LoRaWAN networks, Adaptive Data Rate (ADR) mechanisms optimize communication parameters in real time; however, such features are typically supported only by expensive multi-channel gateways. This study proposes a cost-effective and energy-efficient solution by statically selecting the optimal Spreading Factor (SF) using a two-phase algorithm. The method first applies rule-based exclusion to eliminate SFs that violate constraints related to distance, data rate, link margin, and regulatory limits. Remaining candidates are then evaluated using a weighted scoring model incorporating Time-on-Air, energy consumption, data rate, and link robustness. The proposed algorithm was validated through extensive field tests and NS-3 simulations under line-of-sight conditions. Results demonstrate that the selected SF matched the optimal SF in over 92% of cases across 672 simulated scenarios, confirming the algorithm’s effectiveness. This approach offers a scalable alternative to dynamic protocols, enabling reliable mobile LoRa deployments in cost-sensitive environments such as agriculture and rural sensing applications. I Introduction The rapid growth of the Internet of Things (IoT) has led to increasing demand for scalable, long-range, and energy-efficient wireless communication technologies. Among the available Low Power Wide Area Network (LPWAN) solutions, LoRa (Long Range) stands out due to its low power consumption, extended range, and robustness against interference, making it well-suited for applications such as precision agriculture, livestock monitoring, and smart city infrastructure [ 1 , 2 ] [ 3 , 4 ] . LoRa technology operates on unlicensed Industrial, Scientific, and Medical (ISM) bands and uses a proprietary Chirp Spread Spectrum (CSS) modulation scheme [ 5 ] that allows communication over distances exceeding 10 km in open environments. The network architecture follows a star topology, where end devices communicate with gateways, which in turn transmit data to a centralized server. A critical configuration parameter in LoRa communication is the Spreading Factor (SF), which directly impacts the data rate, transmission range, time-on-air, and energy efficiency of the system [ 6 ] . While LoRa performs well in static deployments, mobile scenarios—such as gateways mounted on Unmanned Aerial Vehicles (UAVs) or vehicles—present significant challenges. In such setups, the distance between the gateway and end devices changes dynamically, making real-time communication optimization essential. Although LoRaWAN includes an Adaptive Data Rate (ADR) mechanism to manage SF dynamically, this feature is primarily applicable to multi-channel gateways. However, multi-channel gateways are significantly more expensive than their single-channel counterparts and are often impractical for large-scale deployment in resource-constrained regions such as rural Sri Lanka [ 7 , 8 ] . Single-channel gateways offer a cost-effective alternative but lack the ability to dynamically adapt communication parameters like SF. This results in decreased Packet Delivery Ratio (PDR), increased latency, and inefficient energy usage when deployed in mobile environments [ 9 ] . Therefore, optimizing the choice of a fixed SF for such scenarios is essential to maintain reliable communication without incurring the high cost of advanced hardware. This research addresses this practical challenge by proposing a rule-based and scoring-driven algorithm to statically determine the optimal SF for single-channel mobile LoRa gateways. By taking into account environmental conditions, mobility constraints, and regulatory limitations, the proposed approach offers a reliable, energy-aware, and cost-efficient solution validated through both field experiments and NS-3 simulations, including a dataset of 672 scenarios. The optimum SF selection algorithm achieved 92.3% accuracy compared to the simulated best SF, with a clear improvement in PDR over a dynamic SF switching method in high-mobility cases. The remainder of this paper is organized as follows: Section II reviews related work. Section III presents the proposed methodology. Section IV describes the experimental evaluation and simulation results. Section V discusses findings and limitations. Section VI concludes the paper with directions for future research. II Related Work A wide range of LPWAN technologies—such as Sigfox, NB-IoT, Bluetooth Low Energy (BLE), and Zigbee—have been developed to support long-range, low-power IoT communication. Among them, LoRa has gained significant popularity due to its superior range, ultra-low power consumption, and deployment flexibility using unlicensed ISM bands [ 2 , 10 ] . These advantages make it especially suitable for large-scale applications like precision agriculture and environmental monitoring. The Spreading Factor (SF) in LoRa communication plays a critical role in determining range, data rate, Time-on-Air (ToA), and energy consumption. Numerous studies have explored SF’s trade-offs. For instance, higher SFs such as SF11 and SF12 increase range and link robustness but significantly reduce data throughput and increase transmission time. Conversely, lower SFs such as SF7 yield higher data rates at the cost of reduced range [ 11 , 12 ] . Several simulation-based and experimental studies have investigated dynamic SF adaptation strategies. The Adaptive Data Rate (ADR) mechanism built into LoRaWAN enables gateways to automatically adjust the SF based on signal quality; however, this feature is only available in multi-channel gateways [ 13 ] . Tools like EXPLoRa-SF [ 14 ] and adaptive SF control schemes such as Kim et al. [ 15 ] demonstrate improvements in network throughput and fairness through dynamic SF adjustment, though often at the cost of increased complexity and resource requirements. Moreover, a recent survey highlights that ADR optimization in LoRaWAN remains an open challenge due to its instability in highly dynamic environments [ 16 ] . In mobile LoRa scenarios, where gateways are mounted on vehicles or UAVs, dynamic parameter adjustments become even more critical. Soares et al. [ 8 ] demonstrated a mobile LoRa gateway mounted on a train, showing the importance of adaptive data handling to mitigate connectivity loss due to high-speed mobility. Ikhsan et al. [ 7 ] evaluated mobile gateways for livestock monitoring and concluded that dynamic communication strategies significantly improve packet reliability in large farms. However, these solutions typically rely on expensive, multi-channel gateways. On the other hand, Pötsch and Haslhofer [ 6 ] identified performance limitations of single-channel gateways in dense or dynamic environments, citing their inability to adapt SF or frequency dynamically. While single-channel gateways are low-cost and simple, their static configurations often lead to poor performance in mobile scenarios. Recent surveys have also emphasized the need for alternative topologies, such as LoRa mesh networks, to enhance reachability in constrained setups [ 17 , 18 ] . Simulation environments have been vital in evaluating LoRa networks. NS-3, FLoRa (OMNeT++), and LoRaSim are among the popular tools available for testing SF strategies, mobility impacts, and energy models. Among these, NS-3 stands out for its robust support for mobility and physical layer accuracy, making it the simulator of choice for this research [ 10 , 19 ] . Despite extensive work on LoRa and SF optimization, little research has focused on statically determining an optimal SF configuration for mobile gateways using affordable, single-channel hardware. This gap forms the motivation for the methodology proposed in this work. III Methodology III-A Initial Approach: Dynamic Spreading Factor Protocol The initial phase of the project aimed to design a custom Data Link Layer (DLL) protocol to dynamically adjust the Spreading Factor (SF) in real time, based on link quality indicators during gateway mobility. The objective was