Suzhou Electric Appliance Research Institute
期刊号: CN32-1800/TM| ISSN1007-3175

Article retrieval

文章检索

首页 >> 文章检索 >> 往年索引

面向环境监测的LoRa自组网网关设计

来源:电工电气发布时间:2023-04-26 09:26 浏览次数:222

面向环境监测的LoRa自组网网关设计

李文豪,陈仲生,方乡
(湖南工业大学 电气与信息工程学院,湖南 株洲 412007)
 
    摘 要:在环境监测过程中要求传感器和数据传输设备能够长时间的稳定工作,提出了一种面向环境监测的 LoRa 自组网网关的设计。节点子设备和网关基于 STM32 芯片进行开发,节点数据传输设备和网关接收设备采用 LoRa 模块,网关的 LoRa 接入模块通过自组网可实现接收多个 LoRa 节点数据的功能;节点传感器采用 AHT10 温湿度传感器和 BH1750 光照度传感器进行实时数据采集,每个节点板还内置三个 ADC 电压采样电路,可以准确检测 LoRa 模块及各个传感器模块的工作电压是否稳定;网关通过 ESP8266 模块可以连接 WiFi,以此来建立与服务器的数据通信,同时采用 MQTT 协议可将各节点子设备的数据发布至服务器进行可视化显示,有利于用户对节点数据的实时监控和管理。LoRa 自组网私有协议大大提高了网关的实用性、稳定性和可靠性,实验验证了该网关能够满足在工业、农业以及其他环境下的监测需求。
    关键词: 环境监测;LoRa 传输;自组网;网关;传感器
    中图分类号:TM73 ;TP212.9     文献标识码:A     文章编号:1007-3175(2023)04-0053-07
 
Design of LoRa Ad-Hoc Network Gateway for Environmental Monitoring
 
LI Wen-hao, CHEN Zhong-sheng, FANG Xiang
(School of Electrical and Information Engineering, Hunan University of Technology, Zhuzhou 412007, China)
 
    Abstract: In the process of environmental monitoring, sensors and data transmission equipments have to work steadily for a long time, so the design of LoRa ad-hoc network gateway for environmental monitoring is put forward. According to the design, node sub-equipments and the gateway are developed based on STM32 chip, node data transmission equipments and gateway receiving equipments adopt LoRa module,and LoRa access module of gateway can receive data of multiple LoRa nodes through ad-hoc network. Node sensors use AHT10 temperature and humidity sensors and BH1750 light intensity sensors for real-time data collection. Each node board is also equipped with three ADC voltage sampling circuits inside to accurately detect the working voltage stability of the LoRa module and every sensor module. The gateway can connect WiFi through ESP8266 module to make data communication with the server. At the same time, MQTT protocol can be used to publish the data of node sub-equipments to the server for visual display, which is helpful for users to monitor and manage node data in real time. The private protocol of LoRa ad hoc network can greatly improve the practicability, stability and reliability of the gateway, and experiments have verified that this gateway can meet the monitoring requirements for industrial, agricultural and other environmental conditions.
    Key words: environmental monitoring; LoRa transmission; ad-hoc network; gateway; sensor
 
参考文献
[1] 樊佳瑞,刘娇娇,白伟,等. 基于 WiFi 与 ZigBee 的食品厂环境监测系统设计[J] . 电子世界,2016(19):79-80.
[2] 范启富. 基于 Zigbee 的中小企业生产环境监测系统设计[D]. 西安:西京学院,2018.
[3] 梁正宁. 基于 LoRa 的工业采集系统设计与研究[D].宁波:宁波大学,2019.
[4] 于良波. 基于 LoRa 的无线传感器通信系统设计与实现[D]. 重庆:重庆邮电大学,2020.
[5] 赵太飞,陈伦斌,袁麓,等. 基于 LoRa 的智能抄表系统设计与实现[J] . 计算机测量与控制,2016,24(9):298-301.
[6] NIKOLOV N, NAKOV O.Research of Communication Between STM32L475 and Private Cloud Realized by Using Amazon FreeRTOS and MQTT[C]//IEEE 2019 27th National Conference with International Participation(TELECOM),2019.
[7] ALVES J . ESP-AHT10-Extra [J] . Links,2016,2960(2015):660.
[8] 王建,毛腾飞,陈英革. 基于 BH1750 芯片的测光系统设计与实现[J] . 常熟理工学院学报,2011,25(2):117-120.
[9] ZHANG W J , YANG G , ZHANG Y . Design of Temperature Measured Terminal with GPRS in the Central Heating Room and Research of the Charging Method by Indoor Temperature Measured[C]//International Symposium on Ploymer Composites and Polymer Testing,2012.
[10] MA M, HUANG B, WANG B, et al.Development of an Energy-Efficient Smart Socket Based on STM32F103[J].Applied Sciences,2018,8(11):2276.
[11] MESQUITA J, GUIMARAES D, PEREIRA C, et al.Assessing the ESP8266 WiFi Module for the Internet of Things[C]//2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation(ETFA),2018.
[12] 仝云峰,张宏杰,潘振宇. 一种基于 TMS320F2812 的实时多任务控制系统软件设计方法的研究[J] .数字技术与应用,2011(12):137-138.
[13] BASHIR M A . Use of dynamic mechanical analysis(DMA) for characterizing interfacial interactions in filled polymers[J].Solids,2021,2(1):108-120.
[14] 陈方亭. 基于 LoRa 的窄带无线自组网路由协议研究[D]. 西安:西安电子科技大学,2018.
[15] 徐侃,丁强. 一种基于 MQTT 协议的物联网通信网关[J]. 仪表技术,2019(1):1-4.
[16] TOLDINAS J, LOZINSKIS B, BARANAUSKAS E, et al.MQTT quality of service versus energy consumption[C]//2019 23rd International Conference Electronics,2019.