LPWAN platform.docx
《LPWAN platform.docx》由会员分享,可在线阅读,更多相关《LPWAN platform.docx(23页珍藏版)》请在冰豆网上搜索。
![LPWAN platform.docx](https://file1.bdocx.com/fileroot1/2022-12/16/f7f5a7ad-b294-4f7c-9aef-b5e6f5014ec9/f7f5a7ad-b294-4f7c-9aef-b5e6f5014ec91.gif)
LPWANplatform
LPWANplatform
NWave’sLPWANplatformfortheIoTcombineshightransmissionrangesofupto10kminurbanenvironmentswithlowpowerconsumption,allowingdevicestooperatewithoutmaintenanceorbatterychangeformanyyears.Weprovideafullplatformincludingsensorsanddevicesforparking,agricultureandmetering,radiomodulesforintegrationinto3rdpartydevices,universalmodems,basestationreceivers,andadvancedservicesinthecloud.
Contact
11BBullerRoad
NW105BSLondon
UnitedKingdom
Telephone+447920225706
IBMLong-RangeSignalingandControl(LRSC)1
SX1272/76radiodriversplusPing-PongfirmwareandLoRaMACnodefirmwareimplementation2
1.Introduction2
2.Systemschematicanddefinitions2
3.Acknowledgements2
4.Dependencies3
5.Usage4
6.Changelog5
LoRaWANHighcapacityLPWAN11
LoRaWAN1.015
这些物联网网络是慢辩解18
IBMLong-RangeSignalingandControl(LRSC)
Drivingtherevolutionofonlinedatatoanextlevel,moreandmoredeviceswillbeInternet-connected.Forexample,accordingtoForrester,morethan22billiondeviceswillbeconnectedby2020.Giventhatthisnumberfaroutstripsmobile(GSM)subscriptionestimationsfor3Gor4Gnetworks,thereisonekeyquestiontobeanswered:
Howcanthisbemadepossibleinasustainableandscalablemanner,e.g.,withoutdeploying2–3timesmoreGSMbasestationsorroutingbillionsofnewmachine-to-machine(M2M)interactionsoverprivateWLANhotspots?
Oneanswertothisquestionisbyusingalong-range,low-data-ratecommunicationsinfrastructurethatneedsfewerbasestationstoservemoresimpledeviceslikeonlinesmokedetectors,temperaturesensorsorsmartelectricalheatingcontrollers.
SeveralsuchradiotechnologiesexistandourteamhascreatedthenecessaryITinfrastructuretorenderonesuchradiotechnologytobeeasytodeploy.
SX1272/76radiodriversplusPing-PongfirmwareandLoRaMACnodefirmwareimplementation
1.Introduction
TheaimofthisprojectistoshowanexampleoftheLoRaMacendpointfirmwareimplementation.
REMARK1:
Nextversionoftheprojectwillincludebigchanges.
ThisisthelastversionbasedontheSemtechLoRaMacimplementation.ThenextversionwillbebasedontheIBM'LoRaWANinC'implementation.
TheIBM'LoRaWANinC'implementationaddsthesupportoftheClassAendpointfullyimplementedandClassBendpoints.
ThebiggestchangeresidesontheMAClayerAPIwhichiscompletelydifferent.
REMARK2:
ThisisaClassAendpoint.
REMARK3:
ImplementsversionR3.0ofLoRaMacspecification.
BydefaulttheLORAMAC_R3compileroptionisenabled.DisablingthisoptionwillenableLoRaMacspecificationR2.2.1
2.Systemschematicanddefinitions
TheavailablesupportedhardwareplatformsschematicsandLoRaMacspecificationcanbefoundintheDocdirectory.
3.Acknowledgements
Thembed(https:
//mbed.org/)projectwasusedatthebeginningassourceofinspiration.
ThisprogramusestheAESalgorithmimplementation(http:
//www.gladman.me.uk/)byBrianGladman.
ThisprogramusestheCMACalgorithmimplementation(http:
//www.cse.chalmers.se/research/group/dcs/masters/contikisec/)byLanderCasado,PhilippasTsigas.
4.Dependencies
Thisprogramdependsonspecifichardwareplatforms.Currentlythesupportedplatformsare:
-Bleeper-72
MCU:
STM32L151RD-384KFLASH,48KRAM,Timers,SPI,I2C,
USART,
USB2.0full-speeddevice/host/OTGcontroller,
DAC,ADC,DMA
RADIO:
SX1272
ANTENNA:
Connectorforexternalantenna
BUTTONS:
1Reset,16positionencoder
LEDS:
3
SENSORS:
Temperature
GPS:
PossiblethroughpinheaderGPSmoduleconnection
SDCARD:
Yes
EXTENSIONHEADER:
Yes,12pins
REMARK:
None.
-Bleeper-76
MCU:
STM32L151RD-384KFLASH,48KRAM,Timers,SPI,I2C,
USART,
USB2.0full-speeddevice/host/OTGcontroller,
DAC,ADC,DMA
RADIO:
SX1276
ANTENNA:
Connectorforexternalantennas(LF+HF)
BUTTONS:
1Reset,16positionencoder
LEDS:
3
SENSORS:
Temperature
GPS:
PossiblethroughpinheaderGPSmoduleconnection
SDCARD:
No
EXTENSIONHEADER:
Yes,12pins
REMARK:
None.
-LoRaMote
MCU:
STM32L151CB-128KFLASH,10KRAM,Timers,SPI,I2C,
USART,
USB2.0full-speeddevice/host/OTGcontroller,
DAC,ADC,DMA
RADIO:
SX1272
ANTENNA:
Printedcircuitantenna
BUTTONS:
No
LEDS:
3
SENSORS:
Proximity,Magnetic,3axisAccelerometer,Pressure,
Temperature
GPS:
Yes,UP501module
SDCARD:
No
EXTENSIONHEADER:
Yes,20pins
REMARK:
TheMCUandRadioareonanIMSTiM880Amodule
-SensorNode
MCU:
STM32L151C8-64KFLASH,10KRAM,Timers,SPI,I2C,
USART,
USB2.0full-speeddevice/host/OTGcontroller,
DAC,ADC,DMA
RADIO:
SX1276
ANTENNA:
Printedcircuitantenna
BUTTONS:
PowerON/OFF,Generalpurposebutton
LEDS:
3
SENSORS:
Proximity,Magnetic,3axisAccelerometer,Pressure,
Temperature
GPS:
Yes,SIM39EAmodule
SDCARD:
No
EXTENSIONNo
REMARK:
TheMCUandRadioareonanNYMTEKCherry-LCCmodule
-SK-iM880A(IMSTstarterkit)
MCU:
STM32L151CB-128KFLASH,10KRAM,Timers,SPI,I2C,
USART,
USB2.0full-speeddevice/host/OTGcontroller,
DAC,ADC,DMA
RADIO:
SX1272
ANTENNA:
Connectorforexternalantenna
BUTTONS:
1Reset,3buttons+2DIP-Switch
LEDS:
3
SENSORS:
Potentiometer
GPS:
PossiblethroughpinheaderGPSmoduleconnection
SDCARD:
No
EXTENSIONHEADER:
Yes,allIMSTiM880Amodulepins
REMARK:
None
5.Usage
ProjectsforCooCox-CoIDE(partial),Ride7andKeilIntegratedDevelopmentEnvironmentsareavailable.
Oneprojectisavailableperapplicationandforeachhardwareplatformineachdevelopmentenvironment.Differenttargets/configurationshavebeencreatedinthedifferentprojectsinordertoselectdifferentoptionssuchastheusageornotofabootloaderandtheradiofrequencybandtobeused.
6.Changelog
2015-01-30,v3.1
∙General
i.StartedtoaddsupportforCooCoxCoIDEIntegratedDevelopmentEnvironment.CurrentlyonlyLoRaMoteandSensorNodeplatformprojectsareavailable.
ii.UpdatedGCCcompilerlinkerscripts.
iii.AddedthesupportofdifferenttoolchainsfortheHardFault_Handlerfunction.
iv.CorrectedRadiodriversI&QsignalsinversiontobepossibleinRxandinTx.Addedsomemissingradiostatemachineinitialization.
v.ChangedtheRSSIvaluestypefromint8_ttoint16_t.WecanhaveRSSIvaluesbelow-128dBm.
vi.CorrectedSNRcomputationonRxDoneinterrupt.
vii.UpdatedradioAPItosupportFHSSandCADhandling.
viii.CorrectedinSetRxConfigfunctiontheFSKmodempreambleregistername.
ix.AddedaninvalidbandwidthtotheBandwidthstableinordertoavoidanerrorwhenselecting250kHzbandwidthwhenusingFSKmodem.
x.CorrectedRTCalarmsetupwhichcouldbesettoaninvaliddate.
xi.Addedanothertimerinorderincrementthetickcounterwithoutblockingthenormaltimercount.
xii.Addedthepossibilitytoswitchbetweenlowpowertimersandnormaltimersonthefly.
xiii.I2Cdrivercorrectedthe2bytesinternaladdressmanagement.Correctedbufferreadfunctionwhenmorethat1bytewastoberead.AddedafunctiontowaitfortheI2CbustobecomeIDLE.
xiv.AddedanI2CEEPROMdriver.
xv.CorrectedandimprovedUSBVirtualCOMPortmanagementfiles.CorrectedtheUSBCDCandUSBUARTdrivers.
xvi.Addedthepossibilitytoanalyzeahardfaultinterrupt.
∙LoRaMac
xvii.CorrectedRxWindow2Dataratemanagement.
xviii.SrvAckRequestedvariablewasneverreset.
xix.CorrectedtstIndoorapplicationsforLoRaMacR3.0support.
xx.LoRaMacaddedthepossibilitytoconfigurealmostalltheMACparameters.
xxi.CorrectedtheLoRaMacSetNextChannelfunction.
xxii.Correctedtheport0MACcommanddecoding.
xxiii.Changedallstructuresdeclarationstobepacked.
xxiv.CorrectedtheAcknowledgementretriesmanagementwhenonly1trialisneeded.Beforethedevicewasissuingatleast2trials.
xxv.Correctedservermacnewchannelreqanswer.
xxvi.AddedthefunctionstoreadtheUpandDownLinksequencecounters.
xxvii.CorrectedSRV_MAC_RX2_SETUP_REQfrequencyhandling.Addeda100multiplication.
xxviii.CorrectedSRV_MAC_NEW_CHANNEL_REQ.RemovedtheDutyCycleparameterdecoding.
xxix.Automaticallyactivatethechannelonceitiscreated.
xxx.CorrectedNbRepTimeoutTimerinitialvalue.RxWindow2DelayalreadycontainsRxWindow1Delayinit.
2014-07-18,v3.0
∙General
i.AddedtoRadioAPIthepossibilitytoselectthemodem.
ii.CorrectedRSSIreadingformulasaswellaschangedtheRSSIandSNRvaluesfromdoubletoint8_ttype.
iii.ChangedradiocallbackseventstotimeoutwhenitisatimeouteventanderrorwhenitisaCRCerror.
iv.RadioAPIupdated.
v.Updatedping-pongapplications.
vi.Updatedtx-cwapplications.
vii.UpdatedLoRaMacapplicationsinordertohandleLoRaMacreturnedfunctionscallsstatus.
viii.UpdatedLoRaMacapplicationstotoggleLED2eachtimethereisanapplicationpayloaddownlink.
ix.UpdatedtstIndoorapplicationtohandlecorrectlymorethan6channels.
x.ChangedtheMPL3115altitudevariablefromunsignedtosignedvalue.
xi.Replacedtheusageofpow(2,n)bydefiningPOW2functions.Saves~2KBytesofcode.
xii.CorrectedanissuepotentiallyarrivingwhenLOW_POWER_MODE_ENABLEwasn'tdefined.AtimerinterruptcouldbegeneratedwhiletheTimerListcouldalreadybeemptied.
∙LoRaMac
xiii.ImplementedLoRaMacspecificationR3.0changes.
xiv.MACcommandsimplemented
▪LinkCheckReqYES
▪LinkCheckAnsYES
▪LinkADRReqYES
▪LinkADRAnsYES
▪DutyCycleReqYES
▪DutyCycleAnsYES
▪Rx2SetupReqYES
▪Rx2SetupAnsYES
▪DevStatusReqYES
▪DevStatusAnsYES
▪JoinReqYES
▪JoinAcceptYES
▪NewChannelReqYES
▪NewChannelAnsYES
xv.Featuresimplemented
▪Possibilitytoshut-downthedeviceYES
Possiblebyis