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

Article retrieval

文章檢索

首頁 >> 文章檢索 >> 往年索引

面向環(huán)境監(jiān)測的LoRa自組網(wǎng)網(wǎng)關(guān)設(shè)計

來源:電工電氣發(fā)布時間:2023-04-26 09:26 瀏覽次數(shù):344

面向環(huán)境監(jiān)測的LoRa自組網(wǎng)網(wǎng)關(guān)設(shè)計

李文豪,陳仲生,方鄉(xiāng)
(湖南工業(yè)大學 電氣與信息工程學院,湖南 株洲 412007)
 
    摘 要:在環(huán)境監(jiān)測過程中要求傳感器和數(shù)據(jù)傳輸設(shè)備能夠長時間的穩(wěn)定工作,提出了一種面向環(huán)境監(jiān)測的 LoRa 自組網(wǎng)網(wǎng)關(guān)的設(shè)計。節(jié)點子設(shè)備和網(wǎng)關(guān)基于 STM32 芯片進行開發(fā),節(jié)點數(shù)據(jù)傳輸設(shè)備和網(wǎng)關(guān)接收設(shè)備采用 LoRa 模塊,網(wǎng)關(guān)的 LoRa 接入模塊通過自組網(wǎng)可實現(xiàn)接收多個 LoRa 節(jié)點數(shù)據(jù)的功能;節(jié)點傳感器采用 AHT10 溫濕度傳感器和 BH1750 光照度傳感器進行實時數(shù)據(jù)采集,每個節(jié)點板還內(nèi)置三個 ADC 電壓采樣電路,可以準確檢測 LoRa 模塊及各個傳感器模塊的工作電壓是否穩(wěn)定;網(wǎng)關(guān)通過 ESP8266 模塊可以連接 WiFi,以此來建立與服務(wù)器的數(shù)據(jù)通信,同時采用 MQTT 協(xié)議可將各節(jié)點子設(shè)備的數(shù)據(jù)發(fā)布至服務(wù)器進行可視化顯示,有利于用戶對節(jié)點數(shù)據(jù)的實時監(jiān)控和管理。LoRa 自組網(wǎng)私有協(xié)議大大提高了網(wǎng)關(guān)的實用性、穩(wěn)定性和可靠性,實驗驗證了該網(wǎng)關(guān)能夠滿足在工業(yè)、農(nóng)業(yè)以及其他環(huán)境下的監(jiān)測需求。
    關(guān)鍵詞: 環(huán)境監(jiān)測;LoRa 傳輸;自組網(wǎng);網(wǎng)關(guān);傳感器
    中圖分類號: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 的食品廠環(huán)境監(jiān)測系統(tǒng)設(shè)計[J] . 電子世界,2016(19):79-80.
[2] 范啟富. 基于 Zigbee 的中小企業(yè)生產(chǎn)環(huán)境監(jiān)測系統(tǒng)設(shè)計[D]. 西安:西京學院,2018.
[3] 梁正寧. 基于 LoRa 的工業(yè)采集系統(tǒng)設(shè)計與研究[D].寧波:寧波大學,2019.
[4] 于良波. 基于 LoRa 的無線傳感器通信系統(tǒng)設(shè)計與實現(xiàn)[D]. 重慶:重慶郵電大學,2020.
[5] 趙太飛,陳倫斌,袁麓,等. 基于 LoRa 的智能抄表系統(tǒng)設(shè)計與實現(xiàn)[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 芯片的測光系統(tǒng)設(shè)計與實現(xiàn)[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 的實時多任務(wù)控制系統(tǒng)軟件設(shè)計方法的研究[J] .數(shù)字技術(shù)與應(yīng)用,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 的窄帶無線自組網(wǎng)路由協(xié)議研究[D]. 西安:西安電子科技大學,2018.
[15] 徐侃,丁強. 一種基于 MQTT 協(xié)議的物聯(lián)網(wǎng)通信網(wǎng)關(guān)[J]. 儀表技術(shù),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.