非确定时序的多设备异波特率串行通信的研究  被引量:1

RESEARCH ON MULTI-DEVICE SERIAL COMMUNICATION IN DIFFERENT BAUD RATES WITH NON-DETERMINISTIC TIME SEQUENCE

在线阅读下载全文

作  者:景程[1] 赵国军[1] 

机构地区:[1]浙江工业大学特种设备制造与先进加工技术教育部重点实验室,浙江杭州310014

出  处:《计算机应用与软件》2016年第2期115-117,202,共4页Computer Applications and Software

摘  要:RS485是一种常规的通信总线,多设备通信一般采用主从式通信。但具体应用时,有些从设备对主设备询问的应答时间不确定,且应答时间无法更改。为此选取了一个主设备和三个从设备组成的模型进行研究,其中三个从设备分别具有不同的特性:能定时应答主设备询问和固定波特率的从设备,能定时应答主设备询问和波特率可设的从设备,以及非确定时间应答主设备询问和波特率可设的从设备。在此基础上提出三种通用的非确定时序的主从式多设备通信协议,并搭建平台进行了测试。结果显示传统的轮询通信协议在现场应用时难以满足实时性要求高的场合,采用插值异波特率通信协议能提高非确定时序的主从式多设备通信的效率,而且避免某些从设备误收数据,同时该通信协议可以适用于其他本身不能自动仲裁的现场总线通信。RS485 is a conventional communication bus, the multi-device communications generally use master-slave communication. But in specific applications, there are some slave equipments whose response time to master equipments' inquiries are uncertain, and their response time cannot be changed. Therefore, the paper selects a model which consists of one master equipment and three slave equipments for studying, in it three slave equipments have different features respectively: the one makes timing response to master equipment' s inquiry and has fixed baud rate, the other makes timing response to master equipment' s inquiry but its baud rate can be set, and another one responds to master equipment' s inquiry in non-deterministic timing and its baud rate can be set as well. Based on this model we propose three common non-deterministic timing master-slave multi-device communication protocols, and build a platform to test them. Result shows that the traditional polling communication protocol is difficult to satisfy the occasions with high real-time performance demand when on-site applying, and 'to use interpolation different baud rate communication protocol can improve the efficiency of master-slave multi-device communication with non-deterministic timing, and prevents some of slave equipments from mistakenly receiving data, meanwhile the protocol can be applied to other field bus communication which cannot automatically arbitrating by themselves.

关 键 词:非确定时序 主从式 RS485 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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