摘要
由于远距离无线电(LoRa)是半双工通信,当使用私有协议进行组网时一般采用轮询时分多址协议,因此无法适应温室大棚监控系统中各节点需要实现有区别的服务。针对此问题,提出一种基于时分多址与竞争访问相结合的通信协议,能确保静态时隙型节点通信无数据碰撞,降低节点功耗,同时又能较快地与部分实时性要求较高的竞争型节点进行通信,实现有区别的服务。最后使用STM32单片机和基于SX1278的LoRa模块Ra-01构建了中心基站和静态节点的软硬件系统。经实际测试表明,在给定的条件下,静态时隙型节点1次通信成功率100%,竞争型节点通信虽有数据碰撞,但通过重传机制也能保证通信的成功,设计的静态节点功耗低,平均电流16.5μA,有利于使用电池供电。
As LoRa is half-duplex communication,polling time division multiple access protocol is generally used under the utilization of private protocols for networking,so it cannot adapt to the needs of the nodes in the greenhouse monitoring system to provide differentiated services.In response to this research question,a LoRa Ad hoc network protocol based on the combination of time division multiple access and contention access is proposed,which can ensure that static slot-type node communication has no data collision as well as reducing node power consumption,and at the same time can quickly communicate with some real-time Highly competitive nodes are required to communicate to achieve differentiated services.Finally,the central base station and nodes are constructed using STM32 MCU and LoRa module Ra-01 which based on SX1278 chip to test the feasibility of the protocol.The test results testify that under the given conditions,the static time slot type node′s 1 communication success rate is 100%.Although the competing node communication has data collision,the success of communication can be guaranteed by retransmission mechanism,The static slot-type node has low power consumption and an average current of 16.5μA,which is conducive to battery power supply.
作者
王东
Wang Dong(School of Intelligent Manufacturing,Chongqing Industry&Trade Polytechnic,Chongqing 408000,China)
出处
《国外电子测量技术》
北大核心
2022年第4期99-105,共7页
Foreign Electronic Measurement Technology
基金
重庆市教委科学技术研究项目(KJZD-K201903601)资助
作者简介
王东,硕士,副教授,工程师,主要研究方向为机电一体化技术应用,物联网技术应用等。E-mail:dongwang_fl@qq.com