节点文献
基于工业现场总线的系统设计
Industrial Fieldbus System Design
【作者】 于跃;
【导师】 周如培;
【作者基本信息】 西安理工大学 , 微电子学与固体电子学, 2004, 硕士
【摘要】 本文针对目前工业现场控制系统存在的不足,提出了采用基于USB总线的CAN总线适配器的工业控制系统,该系统具有高速、智能化的通讯能力以及低功耗设计,该适配器可利用在多种工业控制系统中,应用范围广。 首先简述了随着工业现场控制系统的发展而出现的各种现场总线,以及工业控制计算机上的各种接口。随后确定在控制系统中使用CAN总线作为现场总线网络,通过USB总线与工业控制计算机进行数据通讯。 然后具体实现了该控制系统。主要包括基于USB总线的CAN适配器、CAN总线网络模型和通信协议的设计。在硬件设计上,采用PHILIPS公司的PDIUSBD12 USB总线控制器以及SJA1000 CAN总线控制器进行数据通讯,并使用PHILIPS的P89C51单片机进行控制,CAN总线收发上利用光电隔离电路提高抗干扰性。USB总线的驱动程序设计借助了第三方的工具软件WinDriver进行开发,以缩短开发周期,提高开发效率。 最后,通过对系统的通讯速率、出错率以及响应时间等参数作了详细测试。测试表明系统具有极好的性能,能够在100米左右的范围内挂接100个以上的控制节点并以500kbps的速率通信,系统响应时间小于0.5ms,出错率低于万分之一,因此该系统在工业控制自动化中具有广泛的应用价值。
【Abstract】 Aiming at the shortage of the present industry control system, a control system using CAN bus adapter based on USB bus is presented. This system has high-speed smart communication ability with low power design, and it can be widely used in industrial control system .Firstly, by analyzing the evolution of control system, this paper introduces a variety of fieldbuses and the interface of industrial control computer. In the system, CAN bus is used as fieldbus which communicate with industrial control computer through USB bus.Secondly, the control system centering CAN bus and USB buse is realized. The CAN communication adapter base on USB bus, the network model and communication protocol of CAN bus are explained briefly. In the design of the hardwares, USB control chip PDIUSBD12 and CAN control chip SJA1000 from PHILIPS are used, P89C51 microchip from PHILIPS is the control chip, and the circuit of photoelectric isolation enhances the ability of anti-jamming. Using WinDriver, the Windows device driver of the adapter is developed. WinDriver can reduce the time of develop and improve the effect of develop.Finally, many essential parameters were tested, which include communication speed, the percentage of error, and the response time etc. All prove that the system has very good performance and great value in application. The system can communicate at500kbps with 100 device in 100m, and the response time is less than 0.5ms, the percentage of error is less than 1‰. So the system has the great value in industrial control system.
- 【网络出版投稿人】 西安理工大学 【网络出版年期】2004年 03期
- 【分类号】TP273.5
- 【被引频次】7
- 【下载频次】279