lorawan technology - wirelesswireless.ictp.it/school_2019/slides/1-loranetwork_irnas.pdf · 2019....
TRANSCRIPT
![Page 1: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/1.jpg)
IRNAS.EU CC BY-SA 4.0
Luka Mustafa, Institute IRNAS, November 2018
LoraWAN Technology
![Page 2: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/2.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa ≠ LoRaWan
![Page 3: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/3.jpg)
IRNAS.EU CC BY-SA 4.0
What is LoRa ? Wireless modulation Radio physical layer Low bandwidth & energy Uses ISM bands Great link budget (> 150 dB)
![Page 4: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/4.jpg)
IRNAS.EU CC BY-SA 4.0
LoraWAN network
![Page 5: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/5.jpg)
IRNAS.EU CC BY-SA 4.0
What is LoRaWan ? Communication protocol built above LoRa modulation Data rate from 300 bps to 5.5 kbps (up to 50kbps using FSK) Features :
Bi-directional communication Mobility Localization
![Page 6: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/6.jpg)
IRNAS.EU CC BY-SA 4.0
![Page 7: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/7.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa(Wan)
![Page 8: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/8.jpg)
IRNAS.EU CC BY-SA 4.0
History 2007 : Nanoscale-Labs
2009 : Cycleo
2012 : Semtech
2015 : LoRa Alliance
![Page 9: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/9.jpg)
IRNAS.EU CC BY-SA 4.0
Radio Basics
![Page 10: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/10.jpg)
IRNAS.EU CC BY-SA 4.0
Radio Keying : OOK
![Page 11: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/11.jpg)
IRNAS.EU CC BY-SA 4.0
Radio Keying : FSK
![Page 12: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/12.jpg)
IRNAS.EU CC BY-SA 4.0
Radio Keying : PSK
![Page 13: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/13.jpg)
IRNAS.EU CC BY-SA 4.0
Spread Spectrum
![Page 14: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/14.jpg)
IRNAS.EU CC BY-SA 4.0
Chirp Spread Spectrum
![Page 15: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/15.jpg)
IRNAS.EU CC BY-SA 4.0
Chirp Spread Spectrum Chirp frequency :
![Page 16: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/16.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa
![Page 17: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/17.jpg)
IRNAS.EU CC BY-SA 4.0
Chirp Spread Spectrum in LoRa
![Page 18: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/18.jpg)
IRNAS.EU CC BY-SA 4.0
Chirp Spread Spectrum in LoRa Phase shiftings
= where the data is
~ PSK over chirp
![Page 19: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/19.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa demodulation
x =
![Page 20: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/20.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa demodulation, with noise
x =
![Page 21: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/21.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa Modulation Spread-spectrum technique and a variation of chirp spread
spectrum (CSS)
LoRa uses Spreading Factors to set the modulation rate (SF7 to SF12)
![Page 22: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/22.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa Spreading Factors
SF7
SF8
SF9
...
![Page 23: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/23.jpg)
IRNAS.EU CC BY-SA 4.0
LoRa Spreading FactorsSpreading Factor Symbols/second Bitrate TOA (10 bytes, ms) SNR limit (dB)
SF 7 976 5469 56 -7,5
SF 8 488 3125 103 -10
SF 9 244 1758 205 -12,5
SF 10 122 977 371 -15
SF 11 61 537 741 -17,5
SF 12 30 293 1483 -20
![Page 24: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/24.jpg)
IRNAS.EU CC BY-SA 4.0
Benefits of the Modulation Very resistant to interferences Very low sensibility to fading & multipath Good sensitivity (below noise level) Doppler effect resistant
Moving devices High clock tolerance
LoRa reception is super simple
![Page 25: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/25.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan
![Page 26: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/26.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : Device class Class A
Emit on request, listen only after emit→ ultra-low energy Class B
Emit on request, listen based on time interval→ low energy Class C
Emit on request, always listen→ « high » energy
![Page 27: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/27.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network Architecture
![Page 28: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/28.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : authentication ABP :
• Dev addr• AppSKey• NwkSKey
OTAA :• DevEUI• AppEUI• AppKey• AppSKey and NwkSKey
derivated from AppKey & Network response
![Page 29: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/29.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network Encryption
![Page 30: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/30.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol
preamble phdr phdr_crc phy PL crc
mhdr mac PL mic
fhdr fport frm PL
dev addr fctrl fcnt fopts
mtype rfu major
Can contains
MAC commands
![Page 31: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/31.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : MAC commands LinkCheckReq, LinkCheckAns = connectivity check LinkADRReq, LinkADRAns = change emit settings like SF DutyCycleReq, DutyCycleAns = update device DC RXParamSetupReq, RXParamSetupAns = change RX window DevStatusReq, DevStatusAns = get dev. status like battery NewChannelReq, NewChannelAns= channel upadte RXTimingSetupReq, RXTimingSetupAns = change RX window
![Page 32: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/32.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : Devices Joining the network (if OTAA) Converting your payload as a LoRaWan packet Sending the packet Listening for downlink packets Converting the packet back to payload
![Page 33: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/33.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : Gateways Receiving radio packets Checking CRC (message integrity, only for uplink) Forwarding to network server Listening for downlink messages to forward to devices
![Page 34: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/34.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : Network Server Dealing with join requests Dealing with devices addresses Choosing time and gateways to use for downlink En/Decrypting MAC payload
![Page 35: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/35.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : App. Server Receiving packets from devices Scheduling responses to devices En/Decrypting FRM Payload (the real payload)
In fact, do something with the data...
![Page 36: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/36.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : Localisation Triangulation
Accuracy (3gw) : → ~ 180 m in crowded area → ~ 350 m in clear area
Accuracy (4gw) → ~ 95 m in crowded area → ~ 210 m in clear area
From semtech
![Page 37: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/37.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan Network : Localisation Triangulation Big-Data
Accuracy (3gw) : → ~ 35 m in crowded area → ~ 220 m in clear area
Accuracy (4gw) → ~ 22 m in crowded area
![Page 38: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/38.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : Duty Cycle The more messages on the same frequency & SF = the higher
collision probability We want reliable transmission We want a lot of devices per gateway (>1000) → we need the keep the collision probability low enough ! → Typically, < 10 % or even < 5 %
![Page 39: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/39.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : Duty Cycle A gateway listen on 8 frequencies and all SF We want > 1000 devices / gateway We want < 10% of duty cycle
→ 30 seconds / day / devices gives a DC < 5%
![Page 40: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/40.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : Duty Cycle Fair-use TTN policy: max. 30 seconds/device/day For a 10-bytes PL we have max:
20 messages/day at SF12 500 messages/day at SF7 Much more using SF7-250 or FSK modulation (lower range & higher energy)
Downlink is limited to < 10 messages/device/day
![Page 41: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/41.jpg)
IRNAS.EU CC BY-SA 4.0
LoRaWan protocol : ADRSpreading Factor SNR limit (dB)
SF 7 -7,5
SF 8 -10
SF 9 -12,5
SF 10 -15
SF 11 -17,5
SF 12 -20
Reception of a packet on SF12 with SNR = -7,5dB Check the best SF with a margin of 5dB Send MAC command to request SF9 on the device
![Page 42: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/42.jpg)
IRNAS.EU CC BY-SA 4.0
Luka Mustafa, Institute IRNAS, November 2018
TheThingsNetwork LoraWAN
![Page 43: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/43.jpg)
IRNAS.EU CC BY-SA 4.0
![Page 44: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/44.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Principles Standards compliant Compliant with spectrum regulations Open source Designed for distribution and decentralization One global, free and open network
![Page 45: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/45.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : History Jul. ‘15 : Announce of The Things Network Sept. ‘15 : First gateways installed in Amsterdam
→ Croft environment started Oct. ‘15 : KickStarter campaign started Nov. ‘15 : KickStarter end with > 2x funding! Mar. ‘16: Staging environment setup
![Page 46: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/46.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Numbers > 30,000 members > 5,000 gateways > 200 communities > 55 countries ... and counting !
![Page 47: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/47.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Architecture
RRouter
Routes raw packets from
gateways to brokers
NCNetwork Controller
Node state: data rate and
frequency management
HApplication Handler
Decryption, deduping,
works on behalf of appsA
Application
User application
Gateway
Send data to and
receive data from nodes
BBroker
Decoupling from Router
and Application Handler
![Page 48: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/48.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : ArchitectureH
S1, S2
S2, S1, S3S2, S1, S3
S3, S2
BR
ANC
Private Network
BR NC
HBRNC
HH
H
NR
A
APrivate Storage Handler
A
![Page 49: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/49.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Gateways
![Page 50: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/50.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Coverage
![Page 51: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/51.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Coverage
![Page 52: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/52.jpg)
IRNAS.EU CC BY-SA 4.0
The Things Network : Coverage
![Page 53: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/53.jpg)
IRNAS.EU CC BY-SA 4.0
352 KM
160 KM
LoRaWan : Performance
![Page 54: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/54.jpg)
IRNAS.EU CC BY-SA 4.0
160 PARTICIPANTS
74 ORGANIZATIONS
11 COUNTRIES
![Page 55: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/55.jpg)
IRNAS.EU CC BY-SA 4.0
![Page 56: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/56.jpg)
IRNAS.EU CC BY-SA 4.0
Network in Maribor
•Gateways on Pohorje and Urban•Gateways in the city center•Test network with Kerlinksupporting geolocation•Good coverage of the city center+ wide area from Pohorje, up to 100km range, fields of Dravskopolje and much more
![Page 57: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/57.jpg)
IRNAS.EU CC BY-SA 4.0
TTN mapper
![Page 58: LoraWAN Technology - Wirelesswireless.ictp.it/school_2019/slides/1-LoraNetwork_IRNAS.pdf · 2019. 2. 1. · IRNAS.EU CC BY-SA 4.0 LoRaWan protocol : Duty Cycle Fair-use TTN policy:](https://reader033.vdocuments.mx/reader033/viewer/2022051911/6001e44d822a8d2dd5366abe/html5/thumbnails/58.jpg)
IRNAS.EU CC BY-SA 4.0
Sources Thomas Telkamp - LoRa crash course – 10 Nov. ‘16 Matt Knight - Decoding LoRa – 05 Oct. ‘16 Johan Stokking – The Things Network – Jul. ‘15 TTNMapper.org – Nov. ’16 Romain Cambier - @r_cambier – shareif – Oct18 Luka Mali – LTFE – Oct18 Infiswift Solutions – Oct18