基于MODBUS TCP/IP的设备监控系统的研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
把工厂和企业的现场设备接入信息网络统一监控将会成为下一代企业信息化的重要基础之一。目前在工厂和企业应用中,大多数设备利用RS-422、RS-232、RS-485等串行链路以及遵守一定的通信协议将多个设备组成一个控制网络。但这种现场设备控制网络的有效半径比较有限,并且一般是孤立于信息网络以外的,那么将现场设备控制网络连接到企业的信息网络上去具有很大的意义。
     要实现现场设备控制网络和信息网络的互连,一方面需要解决现场设备控制网络的通信协议与信息网络的通信协议的不同所带来的协议转换的问题,这样就能将传统的串行数据送上信息网络,而无需过早淘汰原有设备,从而提高了现有设备的利用率,节约了投资,还可在既有的网络基础上简化布线复杂度。另一方面,工厂和企业信息网络上普遍应用以太网,为了具备与外界信息网络的互联能力,90%以上的以太网运行TCP/IP协议,为了实现工厂和企业现场设备控制网络到信息网络的统一管理,必须在以太网TCP/IP上遵守通用的而且适合于现场设备管理的应用层协议进行工厂和企业的信息网络的通信,利用基于MODBUS TCP/IP的应用层协议来实现是一个好的解决方案。
     论文利用Rabbit 3000微处理器以及其功能强大的开发环境,设计了一个可以实现现场设备控制网络和以太网TCP/IP信息网络互连的嵌入式网关,实现了现场设备层和信息管理层的无缝连接。在此基础上,基于工厂和企业中现场设备控制网络与信息网络数据流通的需求和现场设备的统一管理,开发一个基于以太网MODBUS TCP/IP的设备监控系统,实现了对现场设备的集中监控。整个设备监控系统的框架主要由三个客户端/服务器端模式所组成:基于串口通信的MODBUS协议主/从站的客户端/服务器端模式、基于以太网通信的MODBUS TCP/IP协议的客户端/服务器端模式与基于DDE技术的软件客户端/服务器端模式。该设备监控系统经过调试与试用后,能实际应用到潮州市电信大楼的机房专用精密空调联网集中监控系统当中,实现了对潮州市电信大楼的机房专用精密空调的统一联网监控管理和自动地实时地进行空调的有效控制,系统运行稳定。
Unified supervisory control of factories and enterprises field equipment by connecting them to the information network will become one of the most important elements that the next generation of enterprise informationization bases on.At present in the factory and enterprise applications,most of the equipment use RS-422、RS-232、RS-485 serial link and communication protocols to connect theirself to a control network.However,the effective radius of the network is relatively limited and generally isolated from the outside of the information network,then connecting the field equipment control network to the information network has great significance.
     To achieve the interconnection between the scene equipment control network and the information network,on the one hand,the communication protocol of the field equipment control network are different from the one of the Ethernet information network,so it is important to solve the question of protocol conversion,then the traditional serial data can be sent on the Ethernet without the need to prematurely eliminate the original equipment,thereby improving the utilization of existing equipment,saving the investment,and also simplifying the complexity of cabling on the existing network infrastructure.On the other hand,Ethernet has universal application in the information network,and in order to have the information network of Interact capacity,more than 90 percent of Ethernet run TCP/IP protocol,so in order to achieve the unified management of scene equipment control network and information network,we must comply an application layer protocol that the information network can use for communication on Ethemet TCP/IP.MODBUS TCP/IP application layer message transmission protocol is a good solution.
     This paper based on the Rabbit 3000 microprocessor industrial properties and its powerful development environment,designs a embedded gateway that can realize the communication between the field equipment control network and the Ethernet TCP/IP information network,so the field equipment layer can connect to the information management layer.On this basis,based on the need of data flow between the information network and the control network and the unified management of field equipment in the factories and enterprises,this paper develops the supervisory control and data acquisition system of equipment based on Ethemet MODBUS TCP/IP to realize centralized supervisory control for field equipment.The framework of the whole supervisory control and data acquisition system of equipment is composed with three client/server model:the first client/server model based on MODBUS master/slave station on serial link,the second client/server model based on MODBUS TCP/IP protocol on Ethemet and the third software client/server model based on DDE.After debugging and experimentation,The supervisory control and data acquisition system of equipment can be applied in Chaozhou City CHINA TELECOM Air-conditioning Supervisory Control And Energy-saving System to realize unified Supervisory Control of Air-conditioning and automatic control.The supervisory control and data acquisition system of equipment runs well and stably.
引文
[1](美)Debra Litilejohn Shinder著,王宏秦,贺民,孟杰译.计算机网络[M].北京:人民邮电出版社,2002.
    [2]许洪华.现场总线与工业以太网技术[M].北京:电子工业出版社,2007.
    [3]凌志浩.现场总线与工业以太网[M].北京:机械工业出版社,2007.
    [4]李正军.现场总线与工业以太网及其应用系统设计[M].北京:人民邮电出版社,2006.
    [5]张浩,谭克勤,朱守云.现场总线与工业以太网络应用技术手册[M].上海:上海科学技术出版社,2002.
    [6]李正军.现场总线及其应用技术[M].北京:机械工业出版社,2005.
    [7]夏继强,邢春香.现场总线工业控制网络技术[M].北京:北京航空航天大学出版社,2005.
    [8]刘泽祥.现场总线技术[M].北京:机械工业出版社,2005.
    [9]王慧锋,何衍庆.现场总线控制系统原理及应用[M].化学工业出版社,2006.
    [10]马世平.现场总线标准的现状和工业以太网技术[J].机电一体化,2007年,第3期:P6-8.
    [11]祝木田,师勇.MODBUS协议通讯的应用[J].微计算机信息(测控自动化),2004年,第6期:P9-11.
    [12]Manuele Bertoluzzo.Ethernet Networks for Factory Automation[J].IEEE,2002:P175-180.
    [13]FENG Dongqin,JIN Jianxiang,CHU Jian.Study On Industrial Ethernet[J].Information and Control,2003,vol.32,no.3:P219-224.
    [14]Ryan P.Shayto.Industry-scale distributed scanners for Modbus networks[D].USA:The University of TULSA,2007.
    [15](USA)Douglas E.Comer.Internetworking with TCP/IP,Volume 1Principles,Protocols,and Architecture(Fifth Edition)[M].北京:人民邮电出版社,2006年11月,英文版
    [16](USA)W.Rchard Stevens.TCP/IP Illustrated,Volume 1 The Protocols [M].b北京:机械工业出版社,2002年1月,英文版.
    [17]Modbus-IDA.MODBUS APPLICATION PROTOCOL SPECIFICATION.http://www.modbus,org/.
    [18]Modbus-IDA.MODBUS over Serial Line Specification and Implementation Guide.http://www.modbus,org/.
    [19]Modbus-IDA.MODBUS MESSAGING ON TCP/IP IMPLEMENTATION GUIDE.http://www,modbus,org/.
    [20]梅锐,牟永敏.基于MODBUS协议的自动化设备之间通信实现[J].北京机械工业学院学报,2006年3月,第21卷,第1期:P43-46.
    [21]RH.Ramirez Leyva,J.PAcevedo Cuellar,R.CxMaldonado Basilio et al.Wireless System for Electrical Networks Testing Based on MODBUS Protocol[A].Proceedings of the 14th International Conference on Electronics[C].Communications and Computers,2004:P58-63.
    [22]汪献忠,刘巍,吕运朋.基于MODBUS协议的工业智能通讯模块的设计[J].仪表技术与传感器,2006年,第6期:P47-49.
    [23]戴尔晗,赵元正,王汝传.基于MODBUS协议的多主站技术[J].自动化与仪表,2005年,第6期:P30-33.
    [24]金鹰.基于MODBUS的主从通信系统的设计[J].南通大学学报(自然科学版),2007年9月,第6卷,第3期:P76-78.
    [25]MODBUS通信协议(中文版).http://www.chinakong.net.
    [26]张磊,王柏林.Modbus TCP/IP现场总线在工业警报系统中的应用[J].机械制造与自动化,2006年,第2期:P125-128.
    [27]赵亦欣,唐雁.Modbus TCP/IP系统静态主动优化技术研究[J].西南师范大学学报(自然科学版),2006年8月,第31卷,第4期:P116-120.
    [28]陈希球.Modbus TCP/IP协议研究与应用[J].电脑知识与技术(学术交流),2007年,第20期:P330-331.
    [29]葛大麟.Modbus TCP/IP在工业自动化中的应用--施耐德“透明工厂”[J].国内外机电一体化技术,2002年,第5期:P19-22.
    [30]刘晨阳,张西中.基于Modbus TCP/IP协议的Premium PLC网络[J].工业控制计算机,2007年,第9期:P32-33.
    [31]Qing LIU,Yingmei LI.Modbus/TCP based Network Control System for Water Process in the Firepower Plant[A].Proceedings of the 6th World Congress on Intelligent Control and Automation[C],June 21-23,2006,Dalian,China:P432-435.
    [32]CHEN Lei,FENG Dong-qin,JIN Jian-xiang et al.Real-time Capacity Analysis of Ethernet in Industrial Application[J].Control and Instruments in Chemical Industry,2003,30(1):P44-47.
    [33]郭宇红,任会峰,阳春华等.基于Rabbit2000的嵌入式以太网络接口设计与开发[J].仪表技术与传感器,2007年第3期:P64-65.
    [34]Max Felser.Ethernet TCP/IP in Automation A short Introduction to Real-Time Requirements[J].IEEE,2001:P501-504.
    [35]李元臣,刘维群.基于Rabbit2000的网络远程智能监控技术研究[J].微计算机信息(测控自动化),2007年,第23卷,第8-1期:P124-125.
    [36]秦振彪.浅谈基于Rabbit 2000的嵌入式系统的开发[J].黑龙江科技信息:P62.
    [37]Rabbit Semiconductor.Rabbit 3000 Microprocessor User's Manual.http:/www.rabbit,com/.
    [38]Rabbit Semiconductor.Dynamic C User's Manual.http://www.rabbit,com/.
    [39]Rabbit Semiconductor.Dynamic C TCP IP User's Manual Vol.1.http://www.rabbit,com/.
    [40]Rabbit Semiconductor.Dynamic C TCP IP User's Manual Vol.2.http://www.rabbit,com/.
    [41]Rabbit Semiconductor.Dynamic C Function Reference Manual.http://www.rabbit,com/.
    [42]徐凤亮.嵌入式MODBUS/TCP网关的设计与实现[D].苏州大学,2007年.
    [43]刘锋.基于MODBUS的现场总线控制系统研究与设计[D].重庆大学,2007年.
    [44]尹冬梅.基于MODBUS总线的嵌入式工业测控系统的研究[D].广东工业大学,2007年.
    [45]周瀚,左为恒,周健.嵌入式MODBUS/TCP网关及其在空调控制系统中的应用[J].测控技术,2006年,第25卷,第7期:P47-49.
    [46]吴爱国,何熠,王冬青.基于工业以太网的嵌入式控制器的研究[J].信息与控制,2004年8月,第33卷,第4期:P495-499.
    [47]余俊,陈梅,李鑫.智能网络的串口通讯方案[J].仪表技术,2007年,第4期:P29-30.
    [48]Swales,A.,Gray,C..Transparent factories through industrial internets[A].Engineering Solutions for the Next Millennium[C].1999IEEE Canadian Conference on Electrical and Computer Engineering 1999,vol.2,pt.2:P931-936.
    [49]张瑞华,杜勇,李鑫 等.利用FactorySuite 2000 I/O Server Toolkit开发I/O Server[J].微计算机信息,2003年,第19卷,第5期:P74-75.
    [50]蔡黎.一种基于DDE技术的FCS语音报警实现[J].工业控制计算机,2006年,第19卷,第3期:P45-46.
    [51]张勇,邵一舟.利用DDE技术实现组态软件功能的扩展[J].微计算机信息(测控自动化),2005年,第21卷,第12-1期:P20-21.
    [52]车国霖,张云生.基于DDE的监控系统通信[J].四川大学学报(自然科学版),2004年10月,第41卷:P402-405.
    [53]彭道刚,杨平,徐春梅等.基于DDE的分布式监控系统设计及其应用[J].仪器仪表学报,2006年6月,第27卷,第6期增刊.
    [54]姚小明,白晨明,范多旺等.Socket及DDE在自动化立体车库监控系统中的应用[J].计算机工程,2006年4月,第32卷,第7期:P256-257.
    [55]周凌柯,潘永清.DDE在自动控制领域的应用[J].南京化工大学学报,2001年9月,第23卷,第5期:P97-99.
    [56]程线,戴国梁,李太福.DDE技术在控制与信息网络集成中的应用[J].计算机土程与设计,2005年7月,第26卷,第7期:P1170-1171.
    [57]刘增祥,夏益青.DDE与OPC技术在工业自动化系统中的应用[J].PLC&FA,2008年1月:P67-71.
    [58]厉苏州,刘飞.基于PLC DDE和OPC服务器的监控系统设计与应用[J].工业控制计算机,2006年,第19卷第9期:P46-47.
    [59]管红超,陈立家,熊文龙.基于OPC和DDE的工业自动控制系统监控网络的设计[J].中国水运,2006年,第6卷,第2期:P72-74.
    [60]李蕾.基于MODBUS的OPC数据存取服务的研究与开发[D].湖南大学,2005年.
    [61]朱海涛.OPC规范在Internet实时监控系统中的应用[D].中国石油大学,2004年.
    [62]邵进军.OPC数据采集系统的设计与实现[D].北京化工大学,2007年.
    [63]杨智.监控组态软件中基于OPC规范的数据接口的研究与开发[D].华中科技大学,2005年.
    [64]黄康铭.基于OPC/DDE技术的监控软件的研究与开发[D].中南大学,2006年.
    [65]Hideo Sato,Takahiro Yakoh.A Real-Time Communication Mechanism for RTLinux[J].IEEE,2000:P2437-2442.
    [66]Hua Xu,Peifa Jia.RTOC:a Rt-Linux based open robot controller[A].2006 IEEE/RSJ International Conference on Intelligent Robots and Systems(IEEE Cat.No.06CH37780D)[C],2006,P1644-1649.
    [67]Mendoza,P.,Vila,J.,Terrasa,S.et al.Using RT-Linux for developing real-time embedded systems[A].Proceedings of IFAC Conference on New Technologies for Computer Control[C].NTCC 2001,2001,P301-306.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700