学位论文---canrs485协议转换网关的设计---论文.docVIP

  • 0
  • 0
  • 约 58页
  • 2016-11-23 发布于辽宁
  • 举报

学位论文---canrs485协议转换网关的设计---论文.doc

摘 要 随着科学技术的发展,现场总线技术在各领域中得到越来越广泛的应用。现场总线技术以其实时、可靠、低成本、使用方便等特点,在控制现场层得到广泛的应用。其中CAN总线与其它几种现场总线比较而言,是最容易实现、价格最为低廉的一种,但其性能并不比其它现场总线差。Abstract With the development of science and technology, the fieldbus technology is playing more and more important role in all areas. With its real-time, reliable, low cost, easy to use, fieldbus technology is widely used on site in the control layer.In contrast to the other fieldbus, CAN bus is the easiest and most inexpensive price,but its performance was not worse than any other fieldbus.In practical application,RS485 is widely used in most of the controllers and Industrial Communication Device.Therefore,in order to connect these devices to the fieldbus control network, it is necessary to design the gateway between field bus and the RS485. In this paper, we designed the gateway between CAN bus and RS485. By analysing the application of fieldbus technology,we put forward the control system model based on industrial network gateway.We used AT89S51 and SJA100 to design the gateway hardware,and developed the gateway software.Finally,after software testing,the data exchange between the CPU and RS485 was achieved. Keywords: Fieldbus;CAN;RS485;Gateway 目 录 1 绪论 1 1.1 课题研究的重要意义 1 1.2 网关 2 1.2.1 网络互连设备 2 1.2.2工业控制中网关的应用和研究 3 1.3 现场总线 4 1.3.1 现场总线的发展现状和趋势 4 1.3.2 主流现场总线简介 5 1.4 本论文的主要工作 7 2 基于网关的网络化控制系统模型 8 2.1 现有控制系统存在的不足 8 2.2 基于网关的网络化控制系统模型 8 2.2.1 基于网关的网络化控制系统结构 9 2.2.2 控制系统中网关的需求分析 10 3 CAN-S485协议转换网关的设计 12 3.1 CAN协议规范 12 3.2 CAN报文规范 13 3.3 主要器件介绍 13 3.3.1 CAN控制器SJA1000简介 13 3.3.2 CAN收发器PCA82C250简介 16 3.3.3 单片机AT89S51简介 17 3.3.4 RS485收发器MAX485简介 19 3.4 CAN-RS485协议转换网关设计 20 3.4.1 基本原理 20 3.4.2 硬件设计 20 3.4.3 软件设计 21 4 试验调试 27 5 可靠性设计 32 5.1 硬件设计 32 5.2 软件设计 32 结 论 34 致 谢 35 参考文献 36 附录A 英文原文 37 附录B 中文翻译 41 附录C 44 C1 原理图 44 图C2 PCB图 45 附录D 程序 46   1.1 课题研究的重要意义 在现代企业中,企业网络将成为连接企业内部各车间、部门,并与外部交流信息的重要基础设施,在市场经济与信息社会中,网络对企业的综合竞争能力起着至关重要的作用。企业的生产线、生产车间、控制室、上层管理部门之间迫切需要信息共享。在底层的设备控制现场,采用工控机等现场控制设备对生产线的生产过程进行管理。在工控机的通

文档评论(0)

1亿VIP精品文档

相关文档