基于群呼和队列应答策略提高RS485总线通信效率  被引量:7

Improving communication efficiency of RS485 bus based on group call and queue response strategy

在线阅读下载全文

作  者:柏思忠 BAI Sizhong(China Coal Technology&Engineering Group Chongqing Research Institute,Chongqing 400039,China;National Key Laboratory for Gas Disaster Monitoring and Emergency Technology,Chongqing 400039,China)

机构地区:[1]中煤科工集团重庆研究院有限公司,重庆400039 [2]瓦斯灾害监控与应急技术国家重点实验室,重庆400039

出  处:《煤矿安全》2022年第6期126-130,共5页Safety in Coal Mines

基  金:重庆市技术创新与应用发展重点资助项目(cstc2019jscx-mbdxX0007);中煤科工集团重庆研究院有限公司创新引导资助项目(2020YBXM09);中煤科工集团重庆研究院有限公司新立重点资助项目(2019ZDXM01)。

摘  要:针对提高RS485总线通信效率的问题,分析了提高波特率、控制收发控时序、多主通信和软件改善通信策略4方面措施的优劣势,提出了一种RS485总线通信群呼和队列应答策略;该策略是一种总线通信软件策略,不改变任何硬件,利用群呼和顺序应答减少主机呼叫次数,设置优先队列减少从机响应时间,利用简化编码减少信息无变化的数据帧长度进一步缩短轮询周期,大幅度提高通信效率。通过分站和传感器之间RS485通信试验,和传统方式相比大大缩短轮询周期和传感器传递紧急信息时的响应时间。Aiming at the problem of improving the communication efficiency of RS485 bus,this paper analyzes the advantages and disadvantages of four measures:increasing baud rate,controlling transceiver control timing,multi-master communication and software improvement communication strategy,and proposes a strategy of group call and queue response for RS485 bus communication.This strategy is a bus communication software strategy,which does not change any hardware,uses group call and sequential response to reduce the number of host calls,sets priority queue to reduce the slave response time,uses simplified coding to reduce the data frame length without changing information,further shortens the polling cycle and greatly improves the communication efficiency.Through the RS485 communication test between substation and sensors,compared with the traditional method,the polling cycle and the response time of sensor transmitting emergency information are greatly shortened.

关 键 词:监控系统 RS485 群呼 地址链表 优先队列 通信效率 

分 类 号:TD65[矿业工程—矿山机电]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象