Submitted:
19 August 2024
Posted:
20 August 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- ▪
- Data Rate: Low data rate schemes allow more devices to share the network. However, this will affect the payload size and latency.
- ▪
- Payload Frequency: Devices transmitting frequently (e.g., every hour) will consume more resources.
- ▪
- Battery Life: Longer battery life requires efficient power management and for this, data rate and payload frequency will have a big role and impact.
- ▪
- RSSI measures the strength of the received signal from a transmitter, and it help to determine if the signal is strong enough for a reliable wireless connection.
- ▪
- In LoRaWAN networks, both gateways and end devices benefit from accurate RSSI measurements, because this way we can determine the best location for both. If actual RSSI deviates significantly from expected values, adjustments might be needed (e.g., EDs or GWs placement, EDs or GWs density).
- ▪
- ToA estimates the total air transmission time for a LoRa packet. Its primary purpose is to determine the duration between transmitting a signal and receiving it at the remote receiver and it provides (indirectly) information about the propagation delay helping assess link quality, as variations in ToA can indicate changes in signal path length or interference.
- ▪
- By analyzing ToA, we can optimize routing and minimize latency. Latency refers to the delay experienced by data packets as they traverse the network. By minimizing ToA (and thus propagation delay), we reduce overall latency. For example, if we know that one route has significantly lower ToA (and hence lower propagation delay) than another, we can preferentially route traffic through that path.
- ▪
- ToA estimation informs this way, both link quality assessment and network optimization.
- ▪
- PDR represents the proportion of successfully delivered packets over the total transmitted packets. A high PDR indicates a reliable link, while a low PDR suggests issues such as interference or weak signals.
- ▪
- Monitoring PDR will help to validate the quality and reliability of the LoRa signal and will ensure efficient data transmission. If PDR falls short of expectations, we might need to reconsider factors like SF (Spreading Factor), duty cycle, or collision handling.
- ▪
- SF determines the signal’s bandwidth and data rate.
- ▪
- Higher SF (e.g., SF12) provides better resistance to interference but increases airtime, while lower SF (e.g., SF7) allows faster data rates but can be more susceptible to interference. A low SF spreads the signal across a broader frequency range due to longer chirps, impacting interference susceptibility.
- ▪
- PDR can reflect how well the chosen SF copes with interference and collisions.
- ▪
- High interference can degrade signal quality, leading to packet loss and reduced reliability and quality of service.
- ▪
- RSSI helps detect interference by measuring signal strength. A sudden drop in RSSI may indicate interference.
- ▪
- Collisions occur when multiple devices transmit simultaneously. When two or more devices attempt to send data at the same time, their signals can interfere with each other, leading to packet loss. And ToA helps estimate collision timing. Longer ToA can indicate more collisions.
- ▪
- Optimizing SF (and duty cycle) can minimize collisions.
- ▪
- PDR quantifies successful packet delivery despite collisions.
2. Related Work
3. LoRa Technology
3.1. LoRa Basics
-
Types:
- ▪
- Frequency Hopping Spread Spectrum (FHSS): Rapidly changes the carrier frequency according to a predefined pattern.
- ▪
- Direct-Sequence Spread Spectrum (DSSS): Spreads the signal using a pseudorandom code sequence.
- ▪
- CSS: Utilizes linear frequency-modulated chirp pulses.
-
Advantages:
- ▪
- Robustness: They enhance resistance to interference, noise, and multipath fading.
- ▪
- Security: Spread spectrum signals are harder to intercept or jam.
- ▪
- Low Power: They allow low-power communication.
- ▪
- Robustness: DSSS is less sensitive to interference and noise, making it suitable for challenging environments.
- ▪
- Clock Independence: Unlike CSS, DSSS does not require a highly accurate reference clock, simplifying implementation.
- ▪
- Spectral Spreading: In DSSS, the signal’s spectrum spreads by directly encoding data bits across a wider bandwidth, enhancing robustness.
- ▪
- It is easily scalable in both frequency and bandwidth.
- ▪
- Resistant to multipath, fading, and Doppler phenomena.
- ▪
- Allows communication via multiple signals due to orthogonality between different Spreading Factor (SF).
- ▪
- , bit rate (or data rate) [bit/s]
- ▪
- , Bandwidth [Hz]
- ▪
- , Code Rate (varies between 1 and 4)
- ▪
- , Spreading Factor
3.1.1. Spreading Factor
3.1.2. Code Rate
3.1.3. Bandwidth
1.1.4. Frame format and Duty Cycle
Radio Physical Layer
Physical Payload
MAC Payload
Frame Header
- ▪
- Preamble: Used to synchronize the receiver with the transmitter. It consists of 8 symbols for all regions, but the radio transmitter adds another 4.25 symbols, resulting in a final preamble length of 12.25 symbols.
- ▪
- PHDR (Physical Header): An (optional) field that contains information about payload size and CRC (Cyclic Redundancy Check). It’s only present in explicit mode.
- ▪
- PHDR_CRC (Header CRC): An (optional) field that contains an error detecting code for correcting errors in the header.
- ▪
- PHYPayload: Contains the complete frame generated by the MAC layer. The maximum payload size varies by Data Rate (DR) and is region-specific.
- ▪
- CRC: An (optional) field that contains an error detecting code for correcting errors in the payload of uplink messages.
- ▪
- Data Rate: The data rate in LoRa is determined by the bandwidth, coding rate, and spreading factor. A lower spreading factor provides a higher bit rate for a fixed bandwidth and coding rate. Therefore, for a fixed amount of data (payload), a higher spreading factor (lower data rate) needs a longer ToA.
- ▪
- Payload Size: The payload size directly affects the ToA. Sending a larger amount of data with a fixed bandwidth and spreading factor requires a longer ToA. This is because the data rate is fixed for a given bandwidth and spreading factor.
- ▪
- Network Traffic: In a network with high traffic, a longer ToA could increase the risk of packet collisions, leading to packet loss.
- ▪
- Interference: A longer ToA means the packet is in the air for a longer time, increasing the chance of interference from other signals.
3.2. RSSI and Signal-to-Interference Ratio (SIR)
4. Collision Management and MAC Protocols in IoT Networks
4.1. Collisions and Interference in LoRaWAN
- ▪
- Intra-SF interference may occur when more than one end-devices transmit with the same SF on the same radio resource (bandwidth and channel frequency) and overlap in time and frequency. A received signal can be demodulated properly if the Capture effect happens [11].
- ▪
- Inter-SF interference may occur when transmissions using different SFs overlap in time and frequency. The signals with a lower SF (higher data rate) can interfere with the signals with a higher SF (lower data rate), leading to packet loss [11].
- ▪
- Timing: If two packets with different SFs arrive at the receiver at the same time, they can interfere with each other and cause a collision.
- ▪
- Power: If a packet with a lower SF (which means it’s transmitted with higher power) is received at the same time as a packet with a higher SF (lower power), the stronger signal can drown out the weaker one, causing the packet with the higher SF to be lost (.
- ▪
- Doppler Effect: The Doppler effect can cause shifts in the frequency of the received signals, which can disrupt the orthogonality between different SFs and lead to packet collisions.
- ▪
- Data Integrity: Packet loss can lead to incomplete or incorrect data being received, which can affect the integrity of the data. This is particularly problematic in applications where accurate data is critical, such as health care applications.
- ▪
- Network Efficiency: Packet loss can reduce the efficiency of the network. When packets are lost, they often need to be retransmitted, which uses additional network resources and can lead to congestion.
- ▪
- Latency: Packet loss can increase latency, as lost packets need to be detected and retransmitted. This can be problematic in applications that require real-time data, such as control systems.
- ▪
- Application Performance: Depending on the application running on top of the LoRaWAN, packet loss can have varying degrees of impact. For example, in a temperature monitoring application, occasional packet loss might be tolerable, but in a fire alarm system, every packet is critical.
4.2. MAC Protocols
4.2.1. ALOHA Protocol
- Allows any station to transmit data at any time without synchronization.
- Collisions occur, and colliding frames are destroyed.
- Feedback informs stations if their frames were successfully transmitted.
- Maximum Efficiency: 18.4%
- Divides time into discrete intervals called slots, each corresponding to a frame.
- Stations synchronizes transmissions and transmit data only at the beginning of each slot.
- This approach reduces collisions and improves overall efficiency compared to unslotted (Pure) Aloha.
- Maximum Efficiency: 36.8%
5. Results and Discussion
5.1. Hardware Used in this Experimental Study
- ▪
- Uplink Transmission: A Class A device can send an uplink message at any time. The uplink slot is scheduled by the end device itself based on its need.
- ▪
- Downlink Transmission: Once the uplink transmission is completed, the device opens two short receive windows for receiving downlink messages from the network. There is a delay between the end of the uplink transmission and the start of each receive window, known as RX1 Delay and RX2 Delay, respectively.
- ▪
- Low Power Consumption: Class A end devices have very low power consumption. Therefore, they can operate with battery power. They spend most of their time in sleep mode and usually have long intervals between uplinks.
- ▪
- High Downlink Latency: Class A devices have high downlink latency, as they require sending an uplink to receive a downlink.
5.2. Experimental Test Scenarios
-
Distance Testing, SFs and Payload Sizes:
- ▪
- Distances tested: For LOS, 20, 40, and 60 meters. For NLOS only 60 meters.
- ▪
- SFs: 7, 9, and 12.
- ▪
- Varied payload sizes: 14, 32, and 51 bytes.
-
Scenarios:
- ▪
-
LOS Scenario:
- ▪
- Initial test at 20 meters with both devices in line of sight.
- ▪
- Tested SF7, SF9, and SF12.
- ▪
- Assessed impact on signal strength and quality.
- ▪
-
Extended Distance (LOS):
- ▪
- Repeated tests at 40 meters with line of sight.
- ▪
- Assessed impact on signal strength and quality.
- ▪
-
Further Extension (LOS):
- ▪
- Increased distance to 60 meters with line of sight.
- ▪
- Tested SF7, SF9, and SF12.
- ▪
- Assessed impact on signal strength and quality.
- ▪
-
NLOS Scenarios:
- ▪
-
Vegetation Obstruction:
- ▪
- Tested at 60 meters without line of sight and vegetation.
- ▪
- Compared results with LOS scenario.
- ▪
-
Concrete Wall Obstruction:
- ▪
- Tested at 60 meters with a concrete wall obstructing the signal.
- ▪
- Assessed impact on signal strength and quality.
5.3. LOS Results
- ▪
- 20m: Highest value for Sf=7 with 14 Bytes (-63 dBm). Lowest for (also) SF=7 and 51 Bytes (-91 dBm).
- ▪
- 40m: Highest value for SF=9 with 51 Bytes (-74 dBm). SF=12 with 51 bytes also achieves a good result at this distance (-76 dBm). Lowest for SF=7 with 51 Bytes (-106 dBm). Yet this value it’s just for one packet. In all the other 9 the worst value was -89 dBm.
- ▪
- 60m: Highest value for SF=7 with 32 Bytes (-82 dBm). Lowest for both SF=9 with 12 and 32 Bytes (-106 dBm).
- ▪
- SF7 has the best result of RSSI for 14 bytes at 20 meters (-63 dBm) and the worst for 51 bytes at 60 meters (-95 dBm).
- ▪
- SF9 has the best result for 32 bytes at 20 meters (-67 dBm) and the worst for 32 bytes at 60 meters (-106 dBm). Yet this value it’s just for one packet while the worst of the other 9 packets was -96 dBm.
- ▪
- SF12 has the best result for 20 meters (-73 dBm) and payload of 51 bytes and the worst for 14 bytes at 60 meters (-106 dBm). Yet, 8 of the 10 packets were higher than -102 dBm.
5.4. NLOS Results
6. Conclusions
Conflicts of Interest
References
- Andri Rahmadhani and Fernando Kuipers (Del. University of Technology), “Understanding collisions on LoRaWAN”, Conference: the 12th International Workshop, pag.1, 2018.
- Oracle - “What is IoT?”. Available online: https://www.oracle.com/internet-of-things/what-is-iot/ (accessed on 21/03/2024).
- Abbas Shah Syed, Daniel Sierra-Sosa, Anup Kumar and Adel Elmaghraby, “IoT in Smart Cities: A Survey of Technologies, Practices and Challenges”, Smart Cities 2021, 4(2), 429-475.
- Malik, Hassaan; Anees, Tayyaba; Faheem, Muhammad; Chaudhry, Muhammad Umar; Ali, Aatka; Asghar, Muhammad Nabeel, “Blockchain and Internet of Things in smart cities and drug supply management: Open issues, opportunities, and future directions”, October 2023. Available online. https://core.ac.uk/reader/589149010, (accessed on 19/07/2024).
- Leeban Moses, Perarasi Sambantham, Muhammad Faheem, Shoukath Ali, Arfat Ahmad Khan, “Joint delay and energy aware dragonfly optimization-based uplink resource allocation scheme for LTE-A networks in a cross-layer environment”, January 2024. Available online, The Journal of Engineering 2024(2):12353, (accessed on 19/07/2024). [CrossRef]
- Rajkumar Buyya, Satish N. Srirama, Redowan Mahmud, Mohammad Goudarzi, Leila Ismail, and Vassilis Kostakos, “Quality of Service (QoS)-driven Edge Computing and Smart Hospitals: A Vision, Architectural Elements, and Future Directions”, 2021. Available online. https://arxiv.org/pdf/2303.06896v1, (accessed on 19/07/2024).
- Semtech Corporation, “LoRa® and LoRaWAN®: A Technical Overview”, December 2019 (accessed 17/05/2024).
- Davide Magrin, Martina Capuzzo, Andrea Zanella, “A Thorough Study of LoRaWAN Performance Under Different Parameter Settings”, IEEE Internet of Things Journal, Vol: 7, Issue: 1, January 2020. Available online. https://ieeexplore.ieee.org/document/8863372, (accessed 20/05/2024). [CrossRef]
- Eugen Harinda, Andrew J. Wixted, Ayyaz-UI-Haq Qureshi, Hadi Larijani, and Ryan M. Gibson, “Performance of a Live Multi-Gateway LoRaWAN and Interference Measurement across Indoor and Outdoor Localities”, Computers 2022, 11(2), 25. Available online. https://www.mdpi.com/2073-431X/11/2/25, (accessed 25/05/2024). [CrossRef]
- Prachi V. Wadatkar; Bharat S. Chaudhari; Marco Zennaro, “Impact of Interference on LoRaWAN Link Performance”, IEEE Xplore, 2019 5th International Conference On Computing, Communication, Control And Automation (ICCUBEA), September 2019. Available online. https://ieeexplore.ieee.org/abstract/document/9128417, (accessed 25/05/2024).
- Poonam Maurya, Aatmjeet Singh and Arzad Alam Kherani “A review: spreading factor allocation schemes for LoRaWAN”, May 2022, available online. https://link.springer.com/article/10.1007/s11235-022-00903-4, (accessed on 17/05/2024).
- Aamir Mahmood, Emiliano Sisinni, Lakshmikanth Guntupalli, Raúl Rondón, Syed Ali Hassan, Mikael Gidlund, “Scalability analysis of a LoRa network under imperfect orthogonality”, August 2018, IEEE Transactions on Industrial Informatics, vol. 15, issue 3, p. 1425-1436. Available online. https://ieeexplore.ieee.org/abstract/document/8430542, (accessed on 18/05/2024). [CrossRef]
- Antoine Waret, Megumi Kaneko, Alexandre Guitton, Nancy El Rachkidy, “LoRa Throughput Analysis with Imperfect Spreading Factor Orthogonality”, March 2018. Available online. https://arxiv.org/pdf/1803.06534, (accessed on 16/05/2024). [CrossRef]
- Daniele Croce, Michele Gucciardo, Stefano Mangione, Giuseppe Santaromita, Ilenia Tinnirello, “Impact of LoRa Imperfect Orthogonality: Analysis of Link-level Performance”. Available online: https://www.researchgate.net/publiction/319486965_Impact_of_Spreading_Factor_Imperfect_Orthogonality_in_LoRa_Communications, (accessed 17/05/2024).
- Yuya Ishida, Daiki Nobayashi, Takeshi Ikenaga, “Experimental Performance Evaluation of the Collisions in LoRa Communications”, 2018 International Conference on Computational Science and Computational Intelligence (CSCI).
- Jetmir Haxhibeqiri, Floris Van den Abeele, Ingrid Moerman and Jeroen Hoebeke, “LoRa Scalability: A Simulation Model Based on Interference Measurements”, Sensors 2017, 17(6), 1193. [CrossRef]
- 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 ofWireless and Mobile Systems, Valletta, Malta, 13–17 November 2016; pp. 59–67.
- Lavric, A.; Petrariu, A.I.; Coca, E.; Popa, V.; “LoRa traffic generator based on software defined radio technology for LoRa modulation orthogonality analysis: Empirical and experimental evaluation”. Sensors 2020, 20, 4123. [CrossRef]
- Sokratis Kartakis, Babu D. Choudhary, Alexander D. Gluhak, Lambros Lambrinos, Julie A. McCann, “Demystifying Low-Power Wide-Area Communications for City IoT Applications”, WiNTECH ‘16: Proceedings of the Tenth ACM International Workshop on Wireless Network Testbeds, Experimental Evaluation, and Characterization, October 2016.
- Marco Centenaro, Lorenzo Vangelista, Andrea Zanella, and Michele Zorzi, “Long-Range Communications in Unlicensed Bands: the Rising Stars in the IoT and Smart City Scenarios”, IEEE Wireless Communications, 23(5), October 2015. [CrossRef]
- 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. [CrossRef]
- Brecht Reynders, Sofie Pollin, “Chirp Spread Spectrum as a Modulation Technique for Long Range Communication”, IEEE Symposium on Communications and Vehicular Technology (SCVT), November 2016. Available online. https://ieeexplore.ieee.org/document/7797659, (accessed on 19/07/2024).
- Qingjie Guo, Fengxu Yang and Jianming Wei, “Experimental Evaluation of the Packet Reception Performance of LoRa”, Sensors 2021, 21(4), 1071. [CrossRef]
- Semtech Corporation, “AN1200.22 LoRa™ Modulation Basics”, May 2015.
- LoRa Alliance. Available online: https://lora-alliance.org/wp-content/uploads/2020/11/what-is-lorawan.pdf, (accessed 9/4/2024).
- Semtech. Available online: https://Semtech Blog: LoRa Delivers Internet of Things Capabilities Worldwide, (accessed on 17/05/2024).
- Rakwireless. Available online: https://news.rakwireless.com/lora-css-vs-lora-fhss/, (accessed on 17/05/2024).
- K. Olsson and S. Finnsson, Exploring LoRa and LoRaWAN: A suitable protocol for IoT weather stations? Master’s Thesis, Department of Electrical Engineering, Chalmers University of Technology, Sweden 2017.
- T. Elshabrawy e J. Robert, “Evaluation of the BER Performance of LoRa Communication using BICM Decoding”, 2019 IEEE 9th International Conference on Consumer Electronics (ICCE-Berlin), p.162-167, 2019.
- LoRa. Available online: https://lora.readthedocs.io/en/latest/, (accessed 18/5/2024).
- The Things Network. Available online: LoRa Physical Layer Packet Format | The Things Network, (accessed 17/5/2024).
- The Things Network. Available online: https://www.thethingsnetwork.org/docs/lorawan/spreading-factors/, (accessed 17/5/2024).
- Courjault, J.; Vrigenau, B.; Berder, O.; Bhatnagar, M. A Computable Form for LoRa Performance Estimation: Application to Ricean and Nakagami Fading. IEEE Access 2021, 9, 81601–81611. [CrossRef]
- Dias, C.F.; Lima, E.R.D.; Fraidenraich, G. Bit error rate closed-form expressions for LoRa systems under Nakagami and Rice fading channels. Sensors 2019, 19, 4412. [CrossRef]
- Claire Goursaud, Jean-Marie Gorce, “Dedicated networks for IoT : PHY / MAC state of the art and challenges”. Available online https://hal.science/hal-01231221, (accessed 18/05/2024).
- N. Abramson and F.F. Kuo, Eds., Computer-Communication Networks, Englewood Cliffs, NJ: Prentice-Hall, Chapter 13, 1973.
- R. Metcalfe, Steady state analysis of a slotted and controlled ALOHA system with blocking, Proc. 6th Hawaii Int. Conf. Sys. Sci., January 1973.
- Dragino. Available online: https://www.dragino.com/ (accessed on 9/4/2024).
- Arduino. Available online: https://www.arduino.cc/ (accessed on 11/3/2024).
- Semtech Corporation. Available online: https://www.semtech.com/products/wireless-rf/lora-connect/sx1276#features, (accessed 09/04/2024).
- The Things Network. Available online: https://www.thethingsnetwork.org/, (accessed on 23/2/2024).




























| SF | Chips per chirp | ||
| 7 | 976,56 | 128 | 125000 |
| 8 | 488,28 | 256 | 125000 |
| 9 | 244,14 | 512 | 125000 |
| 10 | 122,07 | 1024 | 125000 |
| 11 | 61,04 | 2048 | 125000 |
| 12 | 30,52 | 4096 | 125000 |
| Interferer SF | 7 | 8 | 9 | 10 | 11 | 12 |
| Desired SF | ||||||
| 7 | -6 | 16 | 18 | 19 | 19 | 20 |
| 8 | 24 | -6 | 20 | 22 | 22 | 22 |
| 9 | 27 | 27 | -6 | 23 | 25 | 25 |
| 10 | 30 | 30 | 30 | -6 | 26 | 28 |
| 11 | 33 | 33 | 33 | 33 | -6 | 29 |
| 12 | 36 | 36 | 36 | 36 | 36 | -6 |
| SF | 7 | 8 | 9 | 10 | 11 | 12 |
| BW | ||||||
| 125 kHz | −123 | −126 | −129 | −132 | −133 | −136 |
| 250 kHz | −120 | −123 | −125 | −128 | −130 | −133 |
| 500 kHz | −116 | −119 | −122 | −125 | −128 | −130 |
| SF | 7,9,12 |
| Distance | 20, 40, 60 m |
| Emitting Power | 8 dBm |
| Frequency | 868.2 MHz |
| Data size | 14, 32, 51 bytes |
| Code Rate | 4/5 |
| Bandwidth | 125 kHz |
| Duty Cycle | 1% |
| Time between messages | 1 s |
| SF | 7,9,12 |
| Distance | 60 m |
| Emitting Power | 8 dBm |
| Frequency | 868.2 MHz |
| Data size | 14, 32, 51 bytes |
| Code Rate | 4/5 |
| Bandwidth | 125 kHz |
| Duty Cycle | 1% |
| Time between messages | 1 s |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).