1 / 73
文档名称:

控制器局域网CAN总线设计(毕业设计论文doc).doc

格式:doc   页数:73页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

控制器局域网CAN总线设计(毕业设计论文doc).doc

上传人:aidoc1 2015/9/2 文件大小:0 KB

下载得到文件列表

控制器局域网CAN总线设计(毕业设计论文doc).doc

相关文档

文档介绍

文档介绍:摘要
CAN总线上的接口是网络上报文的接收和发送站一般由单片机和可编程的CAN通信控制器组成。
本文首先较为详细地分析了控制器局域网CAN总线的发展历程及未来的发展,论述了CAN总线的特点和通信协议,并介绍了CAN的高层协议。再次介绍了一种新型的独立CAN通信控制器MCP2515,以及MCP2515的功能,结构和工作原理,最后用单片机中常用的PIC16F877和MCP2515完成硬件接口电路。由于使用了高速SPI接口收发数据,提高了CAN报文的传输能力,同时扩大了CA接口解决方案所采用的单片机的选择范围,而不必强求MCU必须内含CAN总线控制模块。软件设计时,给出了软件流程图和程序。本接口在对软件稍作修改后就可以通过SPI接口和MCP2515交换数据。这样,不需要更换MCU就可以在现有的产品上增加CAN总线的通信功能,从而达到了产品的快速更新。
关键词:CAN总线; MCP2515; PLC16F877
Abstract
CAN Bus interface on work is reported to receive and send text of the station. General from the CAN microcontroller and munications controller.
This paper is more detailed analysis of the CAN Bus course of development and the future development of the CAN bus on the characteristics munication protocol, introduced the CAN and the high-level agreements. Once again introduced a new independent munications controller MCP2515, and the MCP2515 function, structure and working principle, commonly used in the final with the PIC16F877 MCU and plete hardware interface circuit. As the use of high-speed SPI interface send and receive data, to improve the text of the CAN transmission capacity, while expanding the CA interface solutions used by the MCU range of options, rather than be forced MCU embedded CAN bus control module. Software design, is a software flow chart and procedures. The interface in the software can be slightly amended after the SPI interface and MCP2515 exchange of data. In this way, do not need to replace the MCU on the existing products can be added to the CAN munication to achieve a rapid product updates.
Key words: CAN bus; MCP2515; PLC16F877
目录
摘要 - 1 -
Abstract - 2 -
1 绪论 1
1
相关领域的发展现状 2
2 系统总体方案设计 7
控制器局域网(CAN)总线概述 7
CAN总线概述 7
CAN总线的协议 9
系统总体方案的确定 11
微控制器的选取方案论证 11
CAN控制器的选取方案论证 12
CAN收发器的选取方案论证 13
系统总体方案及框图 13
3 系统硬件电路器件介绍与电路分析 15
15
AT89C52简介 15
17
PCA82C250收发器 18
系统硬件总体描述 20
20
4 节点软件设计 27
4.