摘要
为远程实时精确监测复杂工业环境下物料物位,设计了一种基于物联网技术的远程物位实时监测系统,以STM32F429为主控,应用调频连续波雷达测距技术以及LTE类别1无线通信技术将各监测点位物位高度信息实时报送至远程调度室与数据中心,远程无线通信采用客户端/服务器架构,数据交互采用TCP协议.针对系统在工程实践中遇到的网络通信连接断开后难以自愈重连,采用固定心跳间隔保活TCP通信长连接的方法存在资源浪费和不合理心跳间隔易导致服务器过载等问题,提出采用客户端/服务器架构下网络自愈重连算法和模糊自适应心跳算法以提高系统无线通信可靠性和实时性.测试结果表明:系统能够对工业环境下物料物位准确监测和管理分析,无线网络通信具有高可靠性、实时性的优点.
In order to monitor the material level in complex industrial environment, a real-time monitoring system is designed based on the internet of things.STM32F429 is taken as the main control and the radar ranging principle and Cat.1 wireless network communication technology are adopted to transmit the information such as the level and height of the monitoring point tank to several remote dispatching rooms and data centers at different levels.The client/server(C/S) architecture is adopted while the TCP protocol is adopted in the data exchange between C/S.This paper provides solutions to the problem that it is difficult to reconnect automatically after the network communication link is broken in engineering practice.At the same time, this paper provides solutions to some key problems such as the waste of resources, poor network adaptability, and server overload caused by unreasonable heartbeat intervals in the method of keeping the long connection of TCP communication alive by fixing the heartbeat interval in the system.The network automatic reconnection algorithm and the fuzzy adaptive heartbeat algorithm under the architecture of C/S are proposed.The actual test results show that the system can accurately measure and manage the material level in the industrial environment, and the wireless network communication has the advantages of high reliability and real-time performance.
作者
王博辉
王小鹏
闫子春
吕胜强
WANG Bo-hui;WANG Xiao-peng;YAN Zi-chun;LYU Sheng-qiang(School of Electronic and Information Engineering,Lanzhou Jiaotong University,Lanzhou730070,China)
出处
《兰州交通大学学报》
CAS
2023年第1期62-70,共9页
Journal of Lanzhou Jiaotong University
基金
甘肃省重点研发计划项目(20YF8GA036)。