CANcan总线系统设计毕业论文(含外文翻译).doc

CANcan总线系统设计毕业论文(含外文翻译).doc

  1. 1、本文档共73页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘要 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 the network is reported to receive and send text of the station. General from the CAN microcontroller and programmable communications 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 and communication protocol, introduced the CAN and the high-level agreements. Once again introduced a new independent CAN communications controller MCP2515, and the MCP2515 function, structure and working principle, commonly used in the final with the PIC16F877 MCU and MCP2515 complete 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 bus communication to achieve a rapid product updates. Key words: CAN bus; MCP2515; PLC16F877 目录 摘要 - 1 - Abstract - 2 - 1 绪 论 1 1.1设计背景和意义 1 1.2 相关领域的发展现状 2 2 系统总体方案设计 7 2.1 控制器局域网(CAN)总线概述 7 2.1.1 CAN总线概述 7 2.1.2 CAN总线的协议 9 2.2 系统总体方案的确定 11 2.2.1 微控制器的选取方案论证 11 2.2.2 CAN控制器的选取方案论证 12 2.2.3 CAN收发器的选取方案论证 13 2.2.4 系统总体方案及框图 13 3 系统硬件电路器件介绍与电路分析 15 3.1节点通信电路设计主要芯片介绍 15 3.1.1 AT89C52简介 15 3.1.2SJAl000简介 17 3.1.3 PCA82C250收发器 18 3.2 系统硬件总体描述 20 3.2

您可能关注的文档

文档评论(0)

xingyuxiaxiang + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档