基于以太网的现场总线通信接口研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
与其它现场总线相比,由于以太网技术具有开放性、结构简单、带宽易于扩展、兼容性能好和成本低廉等优点,近年来在工业控制的高层已得到了广泛的应用。而把以太网技术用于工业控制的底层网络,却还没有得到充分的研究。利用以太网技术作为现场总线,用于工业控制的底层网络,既有利于现场总线的发展,又能有效地提高现场总线的传输速率和简化现场总线的种类。
    本论文首先简单介绍了当前现场总线的发展情况,在分析和比较各种现场总线技术的基础上,指出了其存在的问题,在参照国内外关于用以太网技术作为现场总线研究的基础上,提出了在以太网协议的应用层对现场传输的信息进行规范的方法。该方法能提供报文服务和短帧信息结构,满足现场通信的实时性要求。接下来为了实现这个方法,论文介绍了利用W78LE516B单片机和RTL8019AS网卡驱动芯片开发的RS-232C转以太网通信协议的嵌入式以太网通信模块,利用该模块可实现将现场设备的RS-232C通信转换为以太网通信,也可以直接将该模块嵌入单片机控制设备使用。然后,论文对嵌入式以太网通信模块的硬件电路设计和驱动程序编写作了详细的介绍,并在不改变以太网TCP/IP协议主体结构的基础上,对TCP/IP协议作了精简处理,以满足现场通信的实时性和可靠性要求。最后论文分析了嵌入式TCP/IP协议的总体框架设计、帧的封装过程及数据包的发送和接收流程。
     在完成论文撰写的过程中,本课题完成了对嵌入式以太网通信模块的设计,实现了RS-232C通信协议和以太网通信协议的相互转换功能,并在利用C语言模块化的编程思想的基础上,用单片机实现了嵌入式TCP/IP协议的设计,该设计具有很强的实时性和移植性。调试结果表明该嵌入式以太网通信模块具有集成度高、可靠性高和成本低等特点,可应用于远程设备的实时监控和访问
Compared with other fieldbus technology, Ethernet technology provides the advantages of being open, simple structure, low cost, easily extended frequency, and good compatibility. Herein, in recent years, Ethernet technology has been extensively applied in the upper industrial control. However, up to date, there is not so much report on the application of Ethernet technology in the bottom networks of industrial control as the fieldbus. Though the application in this respect can remarkably promote the development of fieldbus, greatly improve the transmitting speed and simplify the types of used fieldbus.
     This dissertation firstly introduces the latest development in fieldbus, and after comparing and analyzing the today's several main fieldbus technology in depth, it points out the existent problems in these fieldbus technology. Referring to the up to date research on the application of Ethernet to the fieldbus, it proposes a solution to standardize the transmitted information in the field on the application level of Ethernet. According to this solution, the requirement of real-time in field communication can be fulfilled as a result of its message service and short frame structure. To complete this idea, this dissertation reports the design for an embedded Ethernet module for data exchange between RS-232C and Ethernet communication with a micro-controller W78LE516B and a network card driver chip RTL8019AS. This Ethernet module can be directly used to convert the RS-232C information mode to Ethernet information mode or be embedded in the equipments controlled by microprocessors. Afterwards, this dissertation introduces the designing of hardware circuit and compiling of corresponding driving program in detail. This design simplified the TCP/IP without changing its main structure to meet the demand for real-time and reliability in field communication. In the end of this dissertation, the general frame for embedded TCP/IP, process of frame packing, and the procedure in sending and receiving data are comprehensively analyzed.
     In this project, an embedded Ethernet module was designed and the data exchange between RS-232C protocol and Ethernet protocol was fulfilled with this module. At the same time, based on the modular programming method provided by C language, an embedded TCP/IP was realized with MCU. This embedded TCP/IP has highly real-time and can be transplanted easily. After debugging, it turns out that the designed embedded Ethernet module is of the particularities of high integration, high reliability and low cost
    
    and can be used to supervise and access the remote equipment in real time
引文
[1] 阳宪惠. 现场总线技术及应用. 第1版. 北京: 清华大学出版社, 1999
    [2] 赵艳. 现场总线技术概述. 江西电力职工大学学报, 2001.3, 14(1): 6~8
    [3] 吴誉, 张卫东等. 现场总线技术展望及我国的发展策略. 测控技术, 1999.11: 1~3
    [4] 梁庚. 现场总线控制系统的研究与应用[硕士学位论文]. 河北. 华北电力大学. 2001.1
    [5] 夏德海. 现场总线大战何时休. 中国仪器仪表, 1999.2: 1~5
    [6] 缪学勤. 现场总线技术的最新发展. 自动化仪表, 2000.6, 21(6): 1~5
    [7] 付正军, 肖秀玲. 应用现场总线若干问题的思考. 微计算机信息, 2000, 16(2): 4~6
    [8] 韦巍. 以太网作现场总线的研究[硕士学位论文]. 广西. 广西大学. 2001.5
    [9] 吴誉, 张卫东等. 以太网与现场总线的互连方法. 测控技术, 2000, 19(1): 53~56
    [10] 魏庆福. 现场总线技术的发展与工业以太网综述. 工业控制计算机, 2002, 15(1): 1~5
    [11] 徐皑冬等. 基于以太网的工业控制网络. 信息与控制, 2000.4, 29(2): 182~186
    [12] 吕京建, 肖海桥. 嵌入式Internet技术及其应用. 中国单片机公共实验室, 2000
    [13] 万静华, 丁亚军. 以太网控制器的嵌入式设备网络互连. 单片机与嵌入式系统应用, 2001.12: 20~23
    [14] Behrouz A. Forouzan. 谢希仁. TCP/IP协议族. 第1版. 北京: 清华大学出版社, 2001.9
    [15] 吕京建, 肖海桥. 面向21世纪的嵌入式系统. 半导体技术, 2001.1, 26(1): 1~3
    [16] Jim Montague. What's left to say about industrial ethernet. Control Engineering, 2001.5: 7~17
    [17] Ellen Fussel. Striking up communications with factory-floor ethernet. ISA: InTech, 2001.4: 7~17
    [18] Jonas Berge. Using ethernet is no-brainer. ISA: InTech, 2000.7: 12~18
    [19] A.V. Scott, W.J. Buchanan. Truly Distributed Control Systems using Fieldbus Technology. IEEE International Conference, 2002.3: 165~174
    [20] 胡道元. 计算机局域网. 第2版. 北京: 清华大学出版社, 1996.12
    [21] 周晓兵, 费敏锐. 以太网在工业自动化领域中的应用现状和发展前景. 自动化仪表,2001.10,22(10): 1~5
    [22] Richard Caro. Ethernet stampede in full swing. ISA: InTech, 2000.2: 11~16
    [23] Martin Wojcik, Ganesh Ranganathan. Ethernet and the web gang up process monitoring and control ISA: InTech, 2000.9: 23~30
    [24] Gadi Kaplan. Ethernet's winning ways. IEEE Spectrum, 2001.1: 113~115
    [25] Emcore系列TCP/IP元件使用手册, 北京英贝多嵌入式网络技术有限公司. 2002.1
    
    [26] Robert E.Filman. Embedded Internet Systems Come Home. IEEE Internet Computing, 2001.2: 52~53
    [27] Ching-Chih Han, K.G. Shin. Real-time communication in FieldBus multiaccess networks. IEEE RTAS. 1995.5: 86~96
    Manrique Brenes. Industrial Ethernet gaining factory floor strength. ISA: InTech, 2001.4:
    [28] 6~9
    [29] 罗道昆, 于浩杰. OSI参考模型与TCP/IP参考模型的比较. 郑州航空工业管理学院学报, 2001.21, 19(4): 71~73
    [30] 许华杰, 明健. 基于SX单片机实现WebServer和网络协议栈, 单片机与嵌入式系统应用, 2001.11: 1~4
    [31] 刘国福等. DSP与以太网卡的接口技术研究. 电子技术应用, 2001.1: 59~61
    [32] 邓龙军等. 单片机在以太网卡通信中的应用. 广东工业大学学报, 2001.12, 18(4): 20~24
    [33] Wing Poon. ISX Web Server Implementation With Ethernet As The Physical Layer, 2000.6
    [34] Realtek Semi-conductor Corp. RTL8019AS Realtek Full-Duplex Ethernet Controller with Plug and Play function. 2000.8
    [35] Winbond Electronics Corp. W78LE516 8-bit microcontroller datasheet. 2001.3
    [36] Cypress Semi-conductor Corp. CY7C109/CY7C1009 128K*8 Static RAM. 1999.9
    [37] Keil Software Corp. Cx51 Compiler Optimizing C Compiler and Library Reference for Classic and Extended 8051 Microcontrollers user's guide. 2001.9
    [38] Keil Software Corp. Getting Started with uVision2 and C51 Microcontroller Development Tools user's guide. 2001.2
    [39] National Semiconductor. DP8390D/NS32490D NIC Network Interface Controller datasheet. 1993.3
    [40] Davicom Semiconductor. DM9008 ISA/Plag&Play super Ethernet controller datasheet. 2000
    [41] Cirrus Logic Inc. CS8900A Crystal LANTM Ethernet controller datasheet. 1999
    [42] 张满怀. 嵌入式TCP/IP协议研究与实现[硕士学位论文]. 广东. 广东工业大学. 2001.5
    [43] 彭秀明, 谢立英. 浅仪以太网的建立及TCP/IP编程. 中国金融电脑, 1995.2: 14~21
    [44] 何进, 谢松巍. 基于Socket的TCP/IP网络通讯模式研究. 计算机应用研究, 2001.8: 134~135
    [45] W.Richard Stevens. 范建华, 谢希仁等. TCP/IP详解 卷1: 协议. 第1版. 北京: 机械工业出版社, 2000.4
    [46] Gary R. Wright, W.Richard Stevens. 陆雪莹, 谢希仁等. TCP/IP详解 卷2: 实现. 第1版. 北京: 机械工业出版社, 2000.7
    [47] W.Richard Stevens. 胡谷雨, 谢希仁等. TCP/IP详解 卷3: TCP事务协议、HTTP、NNTP和UNIX域协议. 第1版. 北京: 机械工业出版社, 2000.9

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

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

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