Results for the indoor test site are presented first, then the outdoor LoRaWAN test site and interference measurements results and analysis. For some measures, the movable monitoring station was reported separately due to the different operation of this device compared to the other sensors.
5.1. Indoor Performance of LoRaWAN
The uplink and downlink packet statistics in
Table 1,
Table 2 and
Table 3 constitute the RSSI and SNR records on a per RF link basis. The graphs in
Figure 5a,b represent the RSSI and SNR for the link between the ground-floor showers sensor and the upper-floor gateway. This link was the only RF path with exciting features. Other RF paths were consistent over the test period.
Deduplication: An analysis was conducted to identify any errors related to gateway backhaul latency and deduplication. This was performed by searching the server logs for traffic related to this site where there were successive “gateway_count:1” for the same mote for the same packet (same value in “f_count_up”). No deduplication errors were identified. However, there was an underlying 2.5% of all traffic where the mote packet was only forwarded by one gateway, excluding traffic for the high transmit rate mobile mote, which became 2.12%. Further analysis identified seven occasions, from 10 to 30 min, where one gateway or the other was not forwarding any messages. None of these occasions were observed during regular business hours, although that did not preclude human intervention. On one occasion, one gateway was off for at least 24 min, then 20 min. Later on, the other gateway was off for 27 min. These periods account for 0.42% of “gateway_count = 1”. There was no obvious explanation for the periods of gateway inactivity.
Outdoor Range (Indoor Site): This site was not set up for outdoor monitoring, but both gateways could be accessed at the distant edge of the property at 650 m range. The top-floor gateway had the best reception at between −100 and −110 dBm, while the ground-floor gateway was below this level and not capturing as many packets. The range for the top-floor gateway was good, considering that the building had a metal outer skin.
Channel Response by Frequency: Mean RSSI for each channel for each sensor to each gateway was calculated, but no significant variation between results for the different channel frequencies was identified. As the sensors operated on a fixed SF, it was impossible to analyse the combination of SF and channel performance.
5.3. Live Measurement Results and Comparative Analysis
As expected, the results for indoor LoRaWAN traffic were good, which can be seen from
Table 1. There was a low uplink packet loss rate of 0.03%, and the sensors were able to resend the data for lost packets. The rate of lost ACKs, where it was possible to calculate, was slightly higher. These ACKs would have also caused the sensor to resend its data. This low packet loss could be attributed to the high received signal strength recorded by the gateways (
Table 2) and the low RF noise environment identified by the good SNRs (
Table 3).
Figure 6 shows relative plots for mean RSSI and standard deviation summarised in
Table 2 per gateway. Similarly,
Figure 7 shows relative plots for mean SNR and standard deviation summarised in
Table 3 per gateway. The only RF path with any noticeable variation was from the shower rooms to the upstairs gateway (
Figure 5). In this case, the RF signal path was affected by opened or closed doors, intervening equipment, lockers, or various other conditions. The correlation between RSSI (
Figure 5a) and the SNR (
Figure 5b) indicated that any noise was a constant low-level background noise.
Deduplication errors were not considered because both gateways used cabled backhaul network connections, but performing the analysis did identify some deduplication errors with the gateways. These gateways were connected via a private network, making it not possible to monitor them directly. Therefore, the causes of deduplication errors were unknown.
Although the outdoor LoRaWAN packet losses (
Table 4) were 50 times greater than for the indoor test, these results appeared “good” for low-power wireless packets transmitted to and from gateways approximately 2 km distant. Although the indoor testing did not identify any variation due to the channel frequency, the outdoor testing indicated that the channel frequency could affect the ability to receive packets successfully. From
Table 6, it was seen that Gateway-1 (GW-1) received 20% fewer packets than Gateway-2 (GW-2), and the
Table 5 results indicated that this amount was due to a much lower reception of packets transmitted on channels zero or two (868.1 MHz and 868.5 MHz). The SNR results revealed a significant noise on channel zero and that the noise source was closer to GW-2 than GW-1. This was inferred from the GW-2, channel zero mean RSSI of −96.6 dBm and SNR of −8.9 dB compared to the GW-1 results for the same channel of a mean RSSI −110 dBm and SNR of −8.05 dB. Based on these figures, the noise in the 868.1 MHz channel was 14 dB higher in the proximity of GW-2 compared to GW-1. Despite this, GW-2 performed better at capturing packets on the 868.1 MHz channel due to a better RF path and subsequent higher signal strength.
Because of the RSSI and SNR results, some further testing was performed over seven days, and some results graphed in
Figure 8. Comparing
Figure 5 and
Figure 8, it was found that (a) a source of noise that operated predominately at night, and (b) the RF path improved at night. This meant that SF12 transmissions could be received at a level of −95 to −100 dBm despite noise levels at 15 dB higher. During this test period, very few night-time SF7 transmissions were successful, so the reception of SF12 packets could be attributed to the additional receiver sensitivity when demodulating SF12 transmissions.
Deduplication errors were identified on outdoor testing, and this was expected as both gateways used in this instance used mobile network backhaul. During this testing ICMP, ping packets ran on both backhaul links and the latency recorded in
Table 6. Although the mean latency for both backhaul links was similar, the GW-2 link had nearly 10,000 instances of latency over 350 ms, and both had instances of latency of over two seconds. The inspection of the gateway receive times indicated that the gateways recorded receive times within microseconds of each other, but these packets could be received by the NS a second apart on occasion.
The LoRaWAN range was not explicitly measured on this test, although it is known that sensors are operating at ranges greater than 4 km from gateways on this network.
5.4. Interference Measurement Results and Analysis
This section presents the measurement results, observations, and analysis of data from five different Glasgow CBD locations. The observation is based on the view of signal activity in the occupied sub-bands. The analysis of the data is performed to determine the probability of having signal interference that affect LoRa transmission in LoRa mandatory uplink and downlink channels.
In presenting the measurement results, the spectrogram is more preferred than the power spectral density due to a display that provides a valuable insight into signal activity and power levels of transient RF signals. In this study, the spectrogram will be used instead of the histogram. The International Telecommunication Radio (ITU-R) in [
47] indicates that presenting spectrum occupancy measurement results with a spectrogram provides quality visual representation of signal activity and power levels. This tool is employed to help visually represent the activity of signal power levels in the sub-bands between 863–870 MHz ISM band in CBD. The 868 MHz sub-bands, 863–865 MHz, 865–868 MHz, and 868–870 MHz for audio, alarms, and LPWAN technologies, respectively, are individually examined to gain more intuition into the signal activity. Next, calculating the probability of signal interference in each location for LoRa mandatory uplink, and downlink channels, 868.1, 868.3, and 868.5 MHz in Europe follows. Usually, LoRa must comply with 25 mW transmit power limits, and the 1% DC follows. The sub-bands, 868.0–868.6 MHz and 869.4–869.65 MHz for LoRa uplink and downlink, respectively, are considered as occupied with signals if the power levels are 10 dB [
35,
47] above sensitivity of the spectrum analyser.
The possibility that signals in these sub-bands experience interference either from LoRa installations, other ISM band technologies, or other sources is determined based on the accumulation of signals in the collected samples being above or below the threshold of −97 dBm, that is 10 dB above sensitivity of RSA306B measurement up. The probability,
p of signal interference in these sub-bands is determined by the sum of signal power levels above the threshold, -97 dBm to the total measurement samples and is calculated as follows:
where
and
is the received signal power levels in the 10 kHz × 100
s measurement samples
S, and
N is the total number of measurements per location.
The measurement results in
Figure 9 were recorded from Glasgow Caledonian University (GCU), and sub-bands with significant signal activity in 868 MHz ISM band are investigated separately. The sub-band, 865.0–868.0 MHz standardised for radio frequency identification (RFID) [
48], displayed high signal activity. The measurement results show four frequent discontinuous transmissions centred at 865.6 MHz, 866.2 MHz, 866.9 MHz, and 867.4 MHz with power levels at around −63.75 dBm, −67.49 dBm, −69.95 dBm, and −67.42 dBm, respectively. These transmissions appeared at the rate of 1 s and were either access control systems at GCU or the tracking systems at a nearby traffic police station. The 868.0–868.6 MHz sub-band for mandatory LoRa uplink channels measurement results showed sporadic transmissions centred at 868.0 MHz, 868.1 MHz, 868.3 MHz at an interval of 4.03 min and power levels at −85.44 dBm, −85.25 dBm, and −83.36 dBm, respectively. The change in power levels over the monitoring duration was not significant. There were strong emissions in some channels, for instance, 868.1 MHz, which appeared to spread into the adjacent channels. The rate of signal activity level in this sub-band was high and seemed to violate the DC. The transmissions observed in this sub-band may originate from IEEE 802.15.4 technologies, wireless-M readings, and Sigfox, which share the same sub-band [
49]. The last sub-band with signal activity in this area is the downlink 869.4–869.65 MHz, but rare transmissions mainly centred at 869.5 MHz with power levels at −107.03 dBm were observed. The sub-band requires a 10% DC restriction or the implementation of LBT + AFA, and the intensity of signal activity shows fewer chances of signal interference, if any.
The next measurement results, in
Figure 10, were recorded from George Square. The sub-band 865–867 MHz signal activity was characterised by nearly continuous but weaker signals. Notable transmissions were centred at 865.7 MHz, 866.5 MHz, and 866.8 MHz with power levels at −107 dBm, −109.8 dBm, and −110 dBm, respectively. The next sub-band, 868.0–868.6 MHz for mandatory LoRa channels, showed the variation of periodic strong and frequent weaker signals. These transmissions centred at 868.1 MHz, 868.3 MHz, and 868.5 MHz with power levels at −94.8 dBm, −106.89 dBm, and −79.20 dBm, respectively. Moreover, strong transmissions centred at 868.0 MHz and 868.3 MHz at −78.44 dBm and −79.3 dBm, respectively, were observed in this area. Furthermore, the measurement observed weaker signal activity of 3 s periodic behaviour with the transmission centred at 868.1 MHz. Unlike the previous measurement results (
Figure 9), weaker signals were observed at George Square in mandatory LoRa channels but at a high period rate. In these areas, the probability signal interference, shown in
Table 7, for mandatory LoRa uplink and downlink is 13.2% and 0%, respectively.
The measurement results presented in
Figure 11 were recorded from Kelvingrove Park. In the upper section of 865.0–868.0 MHz sub-band, infrequent multiple signal activity was observed with transmission centred at 867.3 MHz and 867.8 MHz with power levels at −79 dBm and −75 dBm respectively. The 868.0 MHz–868.6 MHz sub-band was highly occupied with signals of varying nature. The measurement results showed two periodic transmissions centred at 868.0 MHz with weaker signal power levels at −91 dBm and stronger signal levels at −78 dBm. There was activity of signals at roughly 2 s periodic behaviour centred at 868.1 and 868.3 MHz and power levels between −101.22 dBm and −93.9 dBm and another relatively strong signal activity with transmission centred at 868.5 MHz with power level at −77 dBm. The 869.4–869.65 MHz sub-band for LoRa downlink channels was occupied with three transmissions centred at 869.5 MHz. A transmitter emitted infrequent power levels at −107 dBm, whereas the other signals with power levels at −92.61 dBm and −91 dBm appeared frequently. As shown in
Table 7, the probability of signals experiencing interference in mandatory LoRa uplink, 868.0–868.6 MHz and downlink, 869.4–869.65 MHz is 64.9% and 49.7%, respectively.
The subsequent measurement was performed at Buchanan bus station, and the measurement results are presented in
Figure 12. The signal activity was only observed in the audio sub-band, 863–865.0 MHz and the 865.0–868.0 MHz for RFID. The latter was occupied with frequent but discontinuous transmissions centred at 865. 7 MHz, 866.3 MHz, 866.8 MHz, and 867.5 MHz with power levels at −83.52 dBm, −78 dBm, −79.93 dBm, and −80.58 dBm, respectively. The signal activity in this sub-band was quite similar to signal activity observed in the same sub-band at GCU, with the difference being the power levels and the carrier frequencies. It was observed that an RFID-based [
50] system could have been operating to track bus location and display the bus arrivals. Although no signal activity was observed in the mandatory LoRa channel for uplink, traffic was observed in 869.4–869.65 MHz sub-band for mandatory LoRa downlink channels. These signals were weak, with power levels varying between −103.5 dBm and −108.56 dBm. The probability of mandatory LoRa channel experiencing interference, shown in
Table 7 at this location is at 0%.
The measurement at Rottenrow Garden was the final, and
Figure 13. displays the results. The RF signal activity with intense power levels was noted in the audio sub-band, 863–865.0 MHz, unlike the previous locations. There were strong and continuous transmissions centred at 863.1 MHz, 863.6 MHz, and 864.4 MHz with power levels at −91.28 dBm, −80.88 dBm, and −106 dBm, respectively. Additionally, weaker continuous and periodic signals were observed in the lower frequencies of 865.0–868.0 MHz sub-band and the upper part of this sub-band was occupied with strong periodic signal activity. These transmissions were centred at 867.3 MHz and 867.6 MHz with power levels at −51.3 dBm and −49.9 dBm, respectively. In the 868.0–868.6 MHz sub-band for mandatory LoRA uplink, diverse patterns of signal activity showed up. The strong transmissions centred at 868.1 MHz, 868.3 MHz, and 868.5 MHz were periodically observed. At the same time, a relatively weaker but more frequent signal activity was centred at 868.3 MHz with power levels at −99 dBm. In this sub-band, an unusual continuous but weaker signal activity centred at 868.6 MHz with a power level at −107 dBm was violating the DC regulations. The next sub-band with signal activity was 869.4–869.65 MHz for mandatory LoRa downlink channels. The activity of 4.082 s periodic signal transmissions centred at 869.5 MHz with power levels at −93 dBm and another weaker signal activity centred at 869.5 MHz were observed at Rottenrow Garden. As shown in
Table 7, the probability of LoRa signals experiencing interference in the 860.0–868.6 MHz and 869.4–869.65 MHz sub-bands for LoRa uplink and downlink in this location is at 51% and 54% respectively.