BOM - 08078360 Bom
BOM - 08078360 Bom
BOM - 08078360 Bom
Abstract—In this paper, we discuss the upcoming network communicates over the air with (multiple) gateways which
stack LoRaWAN and its underlying modulation technology LoRa, relay the data messages to a central network server as can
which is an implementation of a LPWAN (Low Power Wide Area seen in Fig. 1. While the LoRa modulation is proprietary, the
Network) and consider practical limitations that can occur when
restricted Machine-to-Machine (M2M) data agreements for the LoRaWAN is an open standard being developed by the LoRa
connection of LoRa gateways to a cellular network are involved. Alliance.
We provide a theoretical estimate of the maximum possible In this paper, we focus on the usability of LoRa networks
communication range of a LoRa link depending on output that depend on gateways that are connected to the cloud using
power and spreading factor and illustrate a LoRa-transceiver’s cellular networks as IP-backhaul-interface and which are oper-
contrary behaviour of energy consumption and range versus the
achievable data rate by means of current consumption and RF ated with small and cost-effective Machine-to-Machine (M2M)
output power measurement results for different combinations rates for the network connection. Typical M2M contracts
of modulation parameters. Our analysis of the data overhead include data-volumes of less than 100 MB per month 4,5,6 , so
introduced by LoRa gateways identifies that the amount of the amount of data-overhead produced by a LoRa-gateway can
generated backhaul network traffic can cause substantial costs be a relevant issue, especially for large number of appliances
for IoT service providers in case of cellular-connected gateways
or limit the number of supported sensor nodes. when e.g. (municipal) service providers require thousands of
SIM cards to operate those gateways.
I. M OTIVATION AND I NTRODUCTION After giving an introduction into the basics of LoRa tech-
nology we provide a theoretical estimate of the maximum
The Internet of Things (IoT) is an upcoming topic in our
possible communication range of a LoRa link depending on
society. Daily used things such as washing machines, street-
output power and spreading factor. Followed by a compact
lamps or public dustbins in a city will be connected to the
overview about LoRaWAN, an open LPWAN network stack,
Internet and will send their status (e.g. completed washing
we further illustrate a LoRa-transceiver’s behavior of energy
process or full dustbin) into a cloud, indicating to other things
consumption and communication range versus the achievable
(machines, robots etc.) or humans that some action is required.
data rate by means of measurement results. Finally we analyze
Therefore, wireless networks, which can serve a huge amount
the packet overhead introduced by the LoRa gateway to create
of clients, are required. In smart homes, the most common
awareness on the importance of the amount of generated
short range communication technologies for connecting things
backhaul network traffic.
are WiFi, ZigBee or Bluetooth. In contrast, using these radio
standards would not be appropriate in smart cities or other II. R ELATED W ORK
domains like sport and wellness because of their short commu- Since LoRa was developed, several papers evaluated the new
nication range or a too high energy consumption [1]. For this technology with respect to performance, energy consumption,
area of applications Low Power Wide Area Network (LPWAN) range or size of the network. The maximum number of nodes
technologies such as LoRa 1 , SigFox 2 and Weightless 3 have supported by a single gateway is discussed by [2]. Furthermore
been developed. They all operate at sub-GHz-frequencies in this work shows a dependence of distance and capacity in the
the unlicensed ISM bands. Depending on the region, such uplink channel. In [3] the LoRaWAN indoor performance with
networks typically operate at 433, 868 or 915 MHz. nodes close to human bodies is investigated. A packet success
LoRa, which stands for Long Range, is a long-range wire- delivery ratio of 96.7% could be reached without acknowl-
less communications system, promoted by the LoRa Alliance. edgments and retransmissions. Also the work in [4] takes a
LoRaWAN (a trademark of the LoRa Alliance) involves a look at LoRaWAN traffic, such as packet error rate (PER),
protocol stack with the LoRa wireless technology as the received signal strength indication (RSSI) or signal to noise
physical layer. Within LoRaWAN a single sensor devices ratio (SNR), under various conditions. The evaluation of LoRa
1 www.lora-alliance.org 4 www.embeddedworks.net/m2m-data.html
2 www.sigfox.com 5 www.m2m-mobil.de
3 www.weightless.org 6 www.simfonymobile.com/global-mobile-connectivity
AES-128 NWKSKEY
AES-128 APPSKEY
Source: https://www.zerynth.com/blog/getting-started-with-lorawan-and-python-using-zerynth-and-the-things-network
across a whole district was done by [5]. The authors of [6] are the customization of the LoRa modulation: Bandwidth (BW),
dealing with the interaction and impact of various nodes. It was Spreading Factor (SF) and Code Rate (CR). The SF describes
shown, that the coverage probability drops exponentially as the how many bits per symbol are encoded. Its number ranges
number of end-devices grows due to interfering signals using from SF6 (64 chips/symbol) to SF12 (4096 chips/symbol). Two
the same spreading sequence. Interference Measurements in signals with different spreading factors are orthogonal.
the European 868 MHz ISM band with focus on LoRa and By properly setting SF and BW, the time on air Tpacket
SigFox were performed by the authors of [7]. The interference (or packet duration) can be reduced or the range of the
of LoRa and IEEE 802.15.4g PHY layers is investigated by transmission can be optimized. According to the LoRa Modem
measurements found in [8]. The authors of [9] present an Designer’s Guide 7 Tpacket consist of Tpreamble plus Tpayload ,
extensive overview of what the capabilities and the limitations both are based on the symbol duration Tsym given by (1).
of LoRaWAN are and study the network scale with respect to
data rate and duty-cycle regulations. 2SF
Tsym = (1)
BW
III. L O R A BASICS LoRa modulation includes a variable error correction
The LoRa LPWAN solution includes two major compo- scheme that improves the robustness of the transmitted signal
nents. The first one, describing the physical layer, is the LoRa at the expense of redundancy. Introducing the code rate CR,
modulation, which is a CSS (Chirp Spread Spectrum) fre- the relationship between the effective data bit rate Rb , BW and
quency modulated technology developed by company Semtech SF for LoRa modulation can be expressed using Equation (2),
that uses wideband linear frequency modulated pulses whose further details can be found in the LoRa Modulation Basics
frequency increases or decreases based on the encoded infor- Application Note 8 and [10]. For a given BW of e.g. 125 kHz
mation. The main advantages of this approach are twofold: a and CR set to 54 datarates from 0.29 kbit/s (SF 12) up to
substantial increase in receiver sensitivity due to the processing 5.47 kbit/s (SF 7) can be obtained.
gain of the spread spectrum technique and a high tolerance
BW
to frequency misalignment between receiver and transmitter 7 . CR Rb = SF (2)
2SF
The second component is the LoRaWAN network protocol,
The public available documentation provided by SemTech
described in more detail in chapter IV.
does not reveal all the necessary information how the LoRa
In LoRa modulation the spreading of the spectrum is
RF modulation format is setup, in fact the coding of a LoRa
achieved by generating a chirp signal that continuously varies
packet is closed source. Attempts to decode the LoRa RF
in frequency. The frequency bandwidth of this chirp is equiv-
modulation format are carried out by open communities and
alent to the spectral bandwidth of the signal. The wanted
other companies 9,10 .
data signal is chipped at a higher data rate and modulated
onto the chirp signal. Several parameters are available for 8 www.semtech.com/images/datasheet/an1200.22.pdf
9 https://revspace.nl/DecodingLora
7 www.semtech.com/images/datasheet/LoraDesignGuide STD.pdf 10 www.link-labs.com/blog/what-is-lora
IV. L O R AWAN
LoRa defines only the physical layer (PHY) (layer 1) of
the Open Systems Interconnection (OSI) model. In contrast to
the LoRa modulation LoRaWAN is an open LPWAN standard
defining the medium access (MAC) and network (NWK) layer
(OSI layer 2 and 3) and is maintained by the LoRa Alliance 1 .
It is designed mainly for low data rate sensor networks,
wherein sensors exchange packets with the network server.
It also manages security, adaptive data rate (ADR) and de-
duplicates the received data which is potentially received by
multiple gateways.
a reply (if any). Logically, gateways are transparent to the end- Beacon Period