「好文推荐」煤矿设备状态监测系统设计

「好文推荐」煤矿设备状态监测系统设计

经验文章nimo972025-02-28 13:06:157A+A-

【能源人都在看,点击右上角加'关注'】

可阅读全文

原文发表在《工矿自动化》2021年第5期,欢迎品读。

一、系统架构

煤矿设备工作环境恶劣,连续作业时间长,对设备健康状态要求苛刻,准确高效地获取煤矿设备主要工作部件状态信息,对设备故障诊断有重要意义。针对煤矿井下设备群同时作业时设备监测数据高并发导致的低传输效率问题,本文提出了一种煤矿设备状态监测系统,总体架构如下图所示。通过数据集成网关有效消除传感器网络的异构性;采用Netty网络传输模型,避免空轮询导致的服务器负载增加,提高系统的高并发处理能力和稳定性。

二、数据集成网关

在上位机部署数据集成网关服务接口,将不同传感器在网关中进行注册,选择相应的网关编号、传感器类型、数据协议等。利用传感器网络协议适配器调用不同传感器网络协议解析接口来消除传感器网络的异构性,生成统一格式的JSON数据,当有监测数据接入时,消息推送服务将数据通过ActiveMQ消息队列中的Queue通道进行点对点传输,数据传输服务实时监听Queue通道,将到达的消息实时推送到网络传输模型中,实现设备状态数据的高并发传输,保证监测数据的实时性和可靠性。

三、网络传输模型

为有效避免空轮询带来的服务器负载增加问题,采用Netty作为网络传输模型,在数据采集过程中,多个设备同时作业导致数据采样频率和传感器终端的并发请求数量升高,Netty中的Epoll模式优先处理已就绪的I/O连接,从而减少空轮询现象。

四、测试与结果分析

采用Apache JMeter工具进行煤矿设备状态监测系统性能测试,通过增加系统的并发请求数量,对比分别采用Java NIO模型和Netty模型的系统CPU使用率及系统平均响应时间。测试结果表明,随着系统并发请求次数增加,采用Java NIO模型比采用Netty模型的系统CPU使用率搞28%;在系统并发请求次数相同的情况下,采用Java NIO模型的系统平均响应时间大于采用Netty模型的系统。采用Netty模型能有效提升煤矿设备状态监测系统的高并发处理能力,满足设备监测数据高效传输要求。

引用格式

曹现刚,段欣宇,张梦园,等.煤矿设备状态监测系统设计[J].工矿自动化,2021,47(5):101-105.

CAO Xiangang,DUAN Xinyu,ZHANG Mengyuan,et al.Coal mine equipment condition monitoring system design[J].Industry and Mine Automation,2021,47(5):101-105.

作者联系方式

曹现刚(1970-),男,山东莒南人,教授,博士研究生导师,主要研究方向为现代设备维护理论与技术,E-mail:172833610@qq.com。

通信作者

段欣宇(1994— ),男,陕西西安人,硕士,主要研究方向为设备运行状态监测和故障预测,E-mail:d532295002@163.com。

责任编辑联系方式

盛 男,E-mail:8833361@qq.com

郑海霞,E-mail:191043803@qq.com

煤矿设备状态监测系统设计

Coal mine equipment condition monitoring system design

【作者】曹现刚1,2,段欣宇1,2,张梦园1,2,雷卓1,2,李彦川1,2

【Author】CAO Xiangang1,2,DUAN Xinyu1,2,ZHANG Mengyuan1,2,LEI Zhuo1,2,LI Yanchuan1,2

【作者机构】1.西安科技大学 机械工程学院, 陕西 西安710054;2.陕西省矿山机电装备智能检测重点实验室, 陕西 西安710054

【Unit】1.College of Mechanical Engineering, Xi'an University of Science and Technology, Xi'an 710054, China;2.Shannxi Key Laboratory of Mine Electromechanical Equipment Intelligent Monitoring, Xi'an 710054, China

【摘要】针对煤矿井下设备群同时作业时设备监测数据高并发导致的低传输效率问题,提出了一种煤矿设备状态监测系统设计方案。该系统通过数据集成网关有效消除传感器网络的异构性:在数据集成网关中对不同传感器进行注册,利用传感器网络协议适配器调用不同传感器网络协议解析接口来消除传感器网络的异构性,生成统一格式的Java Script Object Notation(JSON)数据,并将数据发送到对应的消息推送服务中,通过ActiveMQ消息队列中的Queue通道进行点对点传输,数据传输服务将消息实时推送到网络传输模型中,实现设备状态数据的高并发传输,保证监测数据的实时性和可靠性。采用Netty网络传输模型避免空轮询导致的服务器负载增加,提高监测数据传输效率:在数据采集过程中,多个设备同时作业导致数据采样频率和传感器终端的并发请求数量升高,Netty模型中的Epoll模式优先处理已就绪的I/O连接,从而减少空轮询现象。测试结果表明,随着系统并发请求次数增加,采用Java Non-blocking I/O(NIO)模型比采用Netty模型的系统CPU使用率高28%;在系统并发请求次数相同的情况下,采用Java NIO模型的系统平均响应时间大于采用Netty模型的系统。采用Netty模型能有效提升煤矿设备状态监测系统的高并发处理能力,满足设备监测数据高效传输要求。

Abstract】In order to solve the problem of low transmission efficiency caused by high concurrency of equipment monitoring data during the simultaneous operation of underground equipment groups in coal mines, a design scheme for coal mine equipment condition monitoring system is proposed. The system eliminates the heterogeneity of sensor networks effectively through the data integration gateway. Different sensors are registered in the data integration gateway, and the sensor network protocol adapters are used to call different sensor network protocol resolution interfaces to eliminate the heterogeneity of sensor networks, generate unified format of Java Script Object Notation (JSON) data, and send the data to the corresponding message push service. Through the point-to-point transmission through the Queue channel in the ActiveMQ message queue, the data transmission service pushes messages to the network transmission model in real time to obtain high concurrent transmission of equipment status data and ensure the real-time and reliability of monitoring data. The Netty network transmission model is used to avoid the increase in server load caused by empty polling and improve the efficiency of monitoring data transmission. In the process of data collection, multiple equipment operating at the same time lead to an increase in the frequency of data sampling and the number of concurrent requests from sensor terminals. The Epoll mode in Netty model prioritizes the ready I/O connections so as to reduce the empty polling. The test results show that as the number of concurrent requests in the system increases, the CPU usage of the system with the Java NIO model is 28% higher than that of the system with the Netty model. When the number of concurrent requests in the system is the same, the average response time of the system with the Java NIO model is longer than that of the system with the Netty model. The application of Netty model can improve the high concurrency processing capability of coal mine equipment condition monitoring system effectively and meet the requirements of high efficient transmission of equipment monitoring data.

关键词】 煤矿设备状态监测;传输控制协议;集成网关;Netty;并发请求数量

Keywords】coal mine equipment condition monitoring; transmission control protocol; integrated gateway; Netty; number of concurrent requests

【基金项目】国家自然科学基金资助项目(51875451)

信息提供:盛男 郑海霞

图文编辑:张聚

审 核:王晖

免责声明:以上内容转载自工矿自动化,所发内容不代表本平台立场。

全国能源信息平台联系电话:010-65367702,邮箱:hz@people-energy.com.cn,地址:北京市朝阳区金台西路2号人民日报社

点击这里复制本文地址 以上内容由nimo97整理呈现,请务必在转载分享时注明本文地址!如对内容有疑问,请联系我们,谢谢!
qrcode

尼墨宝库 © All Rights Reserved.  蜀ICP备2024111239号-7