LoRa Private Network by IOT Factory EN
LoRa Private Network by IOT Factory EN
iotfactory.eu
LoRaWAN Private Network
Understanding LoRa Technology and Deploying Your Own LoRaWAN Data Network for the Internet of Things
The Internet of Things is the new Industrial Revolution. The choice of the network (or networks)
of communications that will be used to allow communication between real-world objects
(machines, equipment, installations, etc.) is crucial for each company. The options are
numerous (M2M, WIFI, LoRaWAN, SigFox, BLE, NB-IOT, ZigBee ...). All of these options have
advantages and disadvantages.
Among these options, the LoRaWAN data network has a peculiarity that makes it unique and,
as such, particularly interesting. It is possible to deploy LoRa sensors / actuators, both on the
public network of a telecom operator. Or deploy its own private network, LoRaWAN.
This white paper aims to explain what is a LoRaWAN network, the building blocks, and the steps
needed to deploy its own private LoRaWAN network.
LoRaWAN is a LPWAN - Low Power Wide Area Network - network. The objectives of these
LPWAN networks are to have IOT sensors:
LoRaWAN is the main player in this market, with SigFox and RPMA (Ingenu). LoRaWAN has this
feature, unlike SigFox, to allow the deployment of its own network. The only constraint is that
all the nodes of the network must use the chipset of the company Semtech. Conversely, SigFox
does not impose the chipset, but imposes the use of its own network, with the major constraint
that if SigFox is not present in your country / region, you will not be able to use SigFox. With
LoRa, you have the choice of a public network, or a private network!
We often hear about LoRa or LoRaWAN. While in general, both refer to the same concept,
in reality, there is a fundamental difference that is often overlooked, even by technology
solution providers:
• LoRa is the "Long Range" communication technology that allows communication
between 2 points (P2P - Peer-to-Peer) over long distances.
• LoRaWAN is the network communication protocol, based on LoRa technology
layer, which allows to network with a set of Base Stations
In 2018, there are (according to the LoRa Alliance) more than 76 LoRaWAN public network
operators in more than 100 countries.
The motivations of a company, a public institution, or a group to deploy a private LoRa network
are numerous:
Also note ... If the LoRa Alliance announced in 2018 to have conducted first roaming tests, it
will probably be necessary to wait until 2019 or 2020 to see roaming offers for public LoRa
networks. That is to say, to allow a LoRa sensor to be used transparently in several countries,
with only one subscription / configuration. Given that the different regions of the world have
regulated the LoRa frequencies differently (868 MHz in Europe, 915 MHz in the USA, ...), and
that the current LoRa devices (sensors, actuators) rarely support multi frequencies, a true
roaming, to the image of the GSM (Smartphone), is unlikely in the coming years.
If the term Internet of Things has become a "buzz word", it is nevertheless bad choice. The idea
behind this name probably refers to the different waves of networking (Internet connection)
carried out so far:
It is therefore good to connect. Interconnect. Internet is just one way to connect them. And
precisely, by creating a private LoRa network, it is possible to connect its machines, buildings,
tools ... without going through the Internet.
Is it Legal ?
The LoRa communication technology is based on a free radio frequency spectrum, the ISM
frequency band to be precise (Industrial, Scientific and Medical), not subject to a license. It is
therefore completely legal to use this frequency band to communicate data between a sensor
and a remote application. The only restriction concerns the intensity of its use. It is not allowed
to use with a sensor more than 1% of the bandwidth, which technically translates in the
transmission of a maximum of 140 messages of 12 bytes per day.
Deploying your own LoRa network is not complex. We must nevertheless understand what is
done: "Devices" (sensors, actuators), Gateways (Base Stations - "antennas"), the Network
Server, and finally your Application , most often developed on a IOT platform Software.
LORA
BASESTATION
LORA
BASESTATION
The principle of a "device" LoRa is to broadcast messages, of 12 bytes, either on the basis of an
event (measured - for example the stopping of a machine), or at a predefined frequency (for
example every hours). At most, the device can send 140 messages per day, one every 10
minutes on average.
These broadcast messages are received by all "visible" Antennas (Gateway), and transmitted to
the Network Server for decoding and distribution to business applications.
Class A
In general, LoRa sensors are programmed to transmit data. Not to receive it. They only use
the "uplink". Class A LoRa devices are the ones that consume the least. Between 2 data
programs, they go into "Deep Sleep" mode, and therefore consume very little energy.
Class C
In contrast, a "device" must sometimes also act as an actuator ("actuator"), namely to
receive commands, either to transmit them to the connected object, or to change the
operating mode of "device" Himself. This requires a Class C LoRa device. This class allows
the use of the LoRa downlink. For this, obviously, the "device" must remain awake
permanently. It will usually be connected to the power grid (not battery) because it will
consume much more electricity.
Class B
More recently, the LoRa Alliance has finalized the specification of Class B, which allows an
intermediate mode between Class A and Class C. Basically, the "downlink" is activated only
after the broadcast of a message since the "device". So when he is still awake, before going
back to sleep. This allows to maintain a reasonable power consumption (and therefore
operate on battery), while allowing for example a change of configuration of the "device",
or sending a command to the connected object, when this command is not urgent, and
does not require immediate transmission.
OTAA or ABP
The method of activating LoRa devices (via the Network Server) is important. It depends on
the capabilities of both the device and the network. OTAA ("Over The Air Activation")
activation is better because it is simpler and safer. Indeed, at the security level, the keys
are exchanged when the "device" connects to the network the first time. In ABP mode
("Activation by Customization"), you must pre-define the keys and encode them, on the
"device", and on the Network Server.
LoRaWAN base stations manage radio communication with LoRa devices. They are managed /
controlled by the Network Server.
The Base Station will be connected to the Network Server, either via an Ethernet cable, a 3G /
4G card, or WIFI.
Among the important parameters of a LoRa base station, the number of communication
channels. This parameter is the factor that will limit the number of sensors that can be
connected to it. To make a simple / fast calculation, one can consider that a communication of
a "device" LoRa takes about 2 seconds. It will occupy a communication channel for 2 seconds.
If we take for example a Base Station with 8 channels, and sensors broadcasting their data every
hour, the calculation is as follows:
1 channel = 30 slots of 2 seconds per minute. That is 30x60 = 1800 slots of 2 seconds per hour.
So for 8 channels, the theoretical maximum is 14400 devices connected (transmitting every
hour). Of course, this figure is based on perfect synchronization of all sensors. To get a more
realistic figure, it can be divided by 4. So 3600.
The Network Server is the central element of a LoRa network. It is in charge of:
Finally, the data collected by LoRa devices must be interpreted, stored and visualized. This is
the role of the business application, most often deployed on an IOT software platform.
A LoRaWAN network can be deployed from a Gateway (an "antenna"). To ensure better service,
and to ensure good coverage, adding a second Base Station is often recommended.
Conclusion
It is not essential to deploy your own LoRa network to benefit from the Return on Investments
promised by the Internet of Things. It is entirely possible to use a public LoRa network, or
SigFox, or NB-IOT, or M2M, WIFI, Bluetooth ...
Nevertheless, there may be reasons, operational or strategic, that may justify opting for a
private network. In this case, the LoRaWAN technology is probably the best suited for a
generalist network, because it is simple and inexpensive.
The content of this report is taken from an "IOT Business Training" course intended for
companies planning - strategically or operationally - to deploy solutions related to the Internet
of Things. This training covers all aspects of the Internet of Things: use cases, business models,
IOT networks, security, sensors, project management ...
Lionel Anciaux
linkedin.com/in/lionelanciaux
twitter.com/lionelanciaux