摘要
针对在工业现场应用行业标准的Mod Bus协议和物联网分层结构,提出一种面向物联网应用的Mod Bus协议栈设计。首先对Mod Bus通信标准进行深入分析和抽象,设计了一种层次化的协议栈设计方法,着重介绍了核心层和应用层的设计思想。最后结合实际物联网应用场景搭建从远程主机到传感器节点的测试系统,从功能和性能方面分析了协议优势。测试结果表明设计的Mod Bus协议栈可同时支持RTU和TCP两种协议,应用层屏蔽底层差异,接口统一。内网环境下帧出错率几乎为0,通信平均响应时间小于500μs。
A Mod Bus protocol stack design view for IOT application is proposed in connection with the recent standard ModBus protocol in industrial field applications and the stratification structure of IOT. In this paper,the Mod Bus communication standard is deeply analyzed and abstracted at first,and then a hierarchical protocol stack design method is proposed,the design idea of the core layer and application layer is introduced emphatically. Finally,combined with the real IOT application scenario,build the test system from remote host to the sensor node,analysis the advantages of the protocol from two aspects of function and performance. The test results show that the Mod Bus protocol stack can support both RTU and TCP protocols,the application layer shields the underlying differences and unified the interfaces. The frame error rate is almost 0 in the internal network environment,and the average response time is less than 500 μs.
作者
王佩
陈金鹰
童焦龙
WANG Pei;CHEN Jin-ying;TONG Jiao-long(College of Information Science and Technology,Chengdu University of Technology,Chengdu 610059,China;School ofCommunication and Information Engining,University of Electronic Science and Technology of China,Chengdu 611731,China)
出处
《仪表技术与传感器》
CSCD
北大核心
2018年第7期102-106,共5页
Instrument Technique and Sensor
基金
2016四川省科技创新苗子工程项目(2016138)
2016国家大学生创新创业训练计划项目(201610616091)
成都市科技惠民项目(2014-HM01-00160-SF)