lorawan technology
play

LoraWAN Technology Luka Mustafa, Institute IRNAS, November 2018 - PowerPoint PPT Presentation

LoraWAN Technology Luka Mustafa, Institute IRNAS, November 2018 IRNAS.EU CC BY-SA 4.0 LoRa LoRaWan IRNAS.EU CC BY-SA 4.0 What is LoRa ? Wireles eless s modulat lation ion Radio physical layer Low bandwidth & energy


  1. LoraWAN Technology Luka Mustafa, Institute IRNAS, November 2018 IRNAS.EU CC BY-SA 4.0

  2. LoRa ≠ LoRaWan IRNAS.EU CC BY-SA 4.0

  3. What is LoRa ?  Wireles eless s modulat lation ion  Radio physical layer  Low bandwidth & energy  Uses ISM bands  Great link budget (> 150 dB) IRNAS.EU CC BY-SA 4.0

  4. LoraWAN network IRNAS.EU CC BY-SA 4.0

  5. What is LoRaWan ?  Communi municat cation ion protocol tocol built above LoRa modulation  Data rate from 300 bps to 5.5 kbps (up to 50kbps using FSK)  Features : Bi-directional communication   Mobility Localization  IRNAS.EU CC BY-SA 4.0

  6. IRNAS.EU CC BY-SA 4.0

  7. LoRa(Wan) IRNAS.EU CC BY-SA 4.0

  8. History  2007 : Nanoscale-Labs  2009 : Cycleo  2012 : Semtech  2015 : LoRa Alliance IRNAS.EU CC BY-SA 4.0

  9. Radio Basics IRNAS.EU CC BY-SA 4.0

  10. Radio Keying : OOK IRNAS.EU CC BY-SA 4.0

  11. Radio Keying : FSK IRNAS.EU CC BY-SA 4.0

  12. Radio Keying : PSK IRNAS.EU CC BY-SA 4.0

  13. Spread Spectrum IRNAS.EU CC BY-SA 4.0

  14. Chirp Spread Spectrum IRNAS.EU CC BY-SA 4.0

  15. Chirp Spread Spectrum  Chirp frequency : IRNAS.EU CC BY-SA 4.0

  16. LoRa IRNAS.EU CC BY-SA 4.0

  17. Chirp Spread Spectrum in LoRa IRNAS.EU CC BY-SA 4.0

  18. Chirp Spread Spectrum in LoRa  Phase shiftings = where the data is  ~ PSK over chirp  IRNAS.EU CC BY-SA 4.0

  19. LoRa demodulation x = IRNAS.EU CC BY-SA 4.0

  20. LoRa demodulation, with noise x = IRNAS.EU CC BY-SA 4.0

  21. 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) IRNAS.EU CC BY-SA 4.0

  22. LoRa Spreading Factors SF7 SF8 SF9 ... IRNAS.EU CC BY-SA 4.0

  23. LoRa Spreading Factors Spreading 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 IRNAS.EU CC BY-SA 4.0

  24. 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 IRNAS.EU CC BY-SA 4.0

  25. LoRaWan IRNAS.EU CC BY-SA 4.0

  26. 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  IRNAS.EU CC BY-SA 4.0

  27. LoRaWan Network Architecture IRNAS.EU CC BY-SA 4.0

  28. LoRaWan protocol : authentication  ABP :  OTAA : Dev addr DevEUI • • AppSKey AppEUI • • NwkSKey AppKey • • AppSKey and NwkSKey • derivated from AppKey & Network response IRNAS.EU CC BY-SA 4.0

  29. LoRaWan Network Encryption IRNAS.EU CC BY-SA 4.0

  30. LoRaWan protocol Can contains MAC commands preamble phdr phdr_crc phy PL crc mhdr mac PL mic fhdr fport frm PL dev addr fctrl fcnt fopts mtype rfu major IRNAS.EU CC BY-SA 4.0

  31. 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 IRNAS.EU CC BY-SA 4.0

  32. 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 IRNAS.EU CC BY-SA 4.0

  33. 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 IRNAS.EU CC BY-SA 4.0

  34. LoRaWan Network : Network Server  Dealing with join requests  Dealing with devices addresses  Choosing time and gateways to use for downlink  En/Decrypting MAC payload IRNAS.EU CC BY-SA 4.0

  35. 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... IRNAS.EU CC BY-SA 4.0

  36. LoRaWan Network : Localisation  Triangulation From semtech Accuracy (3gw) :  → ~ 180 m in crowded area  → ~ 350 m in clear area   Accuracy (4gw) → ~ 95 m in crowded area  → ~ 210 m in clear area  IRNAS.EU CC BY-SA 4.0

  37. 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  IRNAS.EU CC BY-SA 4.0

  38. 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 %  → IRNAS.EU CC BY-SA 4.0

  39. 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%  → IRNAS.EU CC BY-SA 4.0

  40. 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 IRNAS.EU CC BY-SA 4.0

  41. LoRaWan protocol : ADR  Reception of a packet on Spreading Factor SNR limit (dB)  SF12 with SNR = -7,5dB SF 7 -7,5  Check the best SF with a SF 8 -10  margin of 5dB SF 9 -12,5  Send MAC command to request SF 10 -15  SF9 on the device SF 11 -17,5 SF 12 -20 IRNAS.EU CC BY-SA 4.0

  42. TheThingsNetwork LoraWAN Luka Mustafa, Institute IRNAS, November 2018 IRNAS.EU CC BY-SA 4.0

  43. IRNAS.EU CC BY-SA 4.0

  44. The Things Network : Principles  Standards compliant  Compliant with spectrum regulations  Open source  Designed for distribution and decentralization  One global, free and open network IRNAS.EU CC BY-SA 4.0

  45. 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 IRNAS.EU CC BY-SA 4.0

  46. The Things Network : Numbers  > 30,000 members  > 5,000 gateways  > 200 communities  > 55 countries  ... and counting ! IRNAS.EU CC BY-SA 4.0

  47. The Things Network : Architecture R Router Gateway Routes raw packets from Send data to and gateways to brokers receive data from nodes B Broker Network Controller NC Node state: data rate and Decoupling from Router frequency management and Application Handler H works on behalf of apps A Application Handler Application Decryption, deduping, User application IRNAS.EU CC BY-SA 4.0

  48. The Things Network : Architecture H A NC H A B R H S1 , S2 NR R NC Private Storage Handler B H A S2 , S1, S3 S2 , S1, S3 Private Network NC R B H A S3 , S2 IRNAS.EU CC BY-SA 4.0

  49. The Things Network : Gateways IRNAS.EU CC BY-SA 4.0

  50. The Things Network : Coverage IRNAS.EU CC BY-SA 4.0

  51. The Things Network : Coverage IRNAS.EU CC BY-SA 4.0

  52. The Things Network : Coverage IRNAS.EU CC BY-SA 4.0

  53. LoRaWan : Performance 352 KM 160 KM IRNAS.EU CC BY-SA 4.0

  54. 160 PARTICIPANTS 74 ORGANIZATIONS 11 COUNTRIES IRNAS.EU CC BY-SA 4.0

  55. IRNAS.EU CC BY-SA 4.0

  56. Network in Maribor • Gateways on Pohorje and Urban • Gateways in the city center • Test network with Kerlink supporting geolocation • Good coverage of the city center + wide area from Pohorje, up to 100km range, fields of Dravsko polje and much more IRNAS.EU CC BY-SA 4.0

  57. TTN mapper IRNAS.EU CC BY-SA 4.0

  58. 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 IRNAS.EU CC BY-SA 4.0

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend