<p>网络上信息是说NB-IoT比LoRa延时小,但具体对比测试没说明,理论上觉得小包情况下应该差别不大。</p>
<p><strong>LoRa速率情况</strong></p>
<p>LoRa有两种模式:</p>
<p>LoRa模式 和 GFSK模式,GFSK模式速率比较高可以达到50kbps,有些频段不能使用GFSK模式。</p>
<p>China 779-787MHz ISM Band频段:LoRa模式只有11kbps,GFSK可以达到50kbps</p>
<img alt="LoRa速率情况" data-align="center" data-entity-type="file" data-entity-uuid="0b40fcf4-c1b1-4351-8c12-f63e88d2a0c6" src="/sites/default/files/inline-images/%E5%9B%BE1%EF%BC%9ALoRa%E9%80%9F%E7%8E%87%E6%83%85%E5%86%B5.png" />
<p><strong>分析</strong></p>
<p>理论的NB-IoT可以达到100多kbps,所以理论上LoRa的延时高于NB-IoT。但小速率情况下,理论上差别应该不明显,例如正常ping包只有32字节,除非LoRaWAN本身选择使用的配置受限导致。参考工作模式对比;</p>
<p><strong>工作模式对比</strong></p>
<p>LoRaWAN定义三种工作模式,ClassA、ClassB、ClassC,类比于NB-IoT的PSM,DRX/eDRX和连接模式。而在LoRaWAN强制必须支持ClassA,ClassB和ClassC是可选模式;三种工作模式如下:</p>
<p>三种模式差别:</p>
<p>classA功耗最低延时最大,classC延时最小功耗最大,calssA和B、C可以分别转换状态。ClassA:类似PSM模式,终端触发一次发送,在两个窗口接收,后面进入sleep状态,等待下一次触发,delay1一般为1s 可以配置最大貌似15s;delay2 = delay1 + 1s。下行只能由上行触发接收。</p>
<img alt="ClassA" data-align="center" data-entity-type="file" data-entity-uuid="775ba39b-938e-4190-9846-9cdb19199073" src="/sites/default/files/inline-images/%E5%9B%BE2%EF%BC%9AClassA.png" />
<p>ClassB:可以通过ping监听接收下行数据,ping的周期可以是1秒、2秒、4秒… 128秒,类似于NB-IoT的非连续接收DRX状态。</p>
<img alt="ClassB" data-align="center" data-entity-type="file" data-entity-uuid="189f7ea8-1428-4973-b8a4-64689bbe5019" src="/sites/default/files/inline-images/%E5%9B%BE3%EF%BC%9AClassB.png" />
<p>ClassC:只要不在上行发送,就进行下行接收,类似NB-IoT连接态,一直工作。</p>
<img alt="ClassC" data-align="center" data-entity-type="file" data-entity-uuid="3816d463-569e-49c3-8560-b24785b99f69" src="/sites/default/files/inline-images/%E5%9B%BE4%EF%BC%9AClassC.png" />
<p>目前NB-IoT网络,一般从sleep状态进入工作态,需要在连接态持续几十秒再进入sleep状态,理论上和ClassC工作场景类似。从上述场景看,理想情况下应该两个模式差别不大,除非对比的工作参数模式不类似,或是数据量大的情况下才能看到明显差别。</p>
<p>关于14dBm的问题R14 增加Class6为14dBm的上行发送能力,提案中没有具体描述原因信息,目前找到的信息也是因为功耗的竞争问题,原话如下:</p>
<p>A Class 5 (20dBm=100mW) NB-IoT device needs about 300mA peak current, too much for a single Li-SOCl2 battery. It is needed a bigger battery or a supercapacitor or a step-down regulator. Lower Classes transmit at even higher power.</p>
<p>By contrast, a Sigfox or LoRa device for EU (14dBm = 25mW) needs no more than 50mA peak current, easily supported by a single Li-SOCl2</p>
<p>battery.Sigfox and LoRa will not have competition from NB-IoT unless 3GPP approves Class 6 or Class 7</p>
<p>本文来自 小炉灶 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/DreamBitByBit/article/details/80561036?utm_source…;