1 / 5
文档名称:

基于CAN总线通信协议的设计与实现.doc

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

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

分享

预览

基于CAN总线通信协议的设计与实现.doc

上传人:bai1968104 2021/4/8 文件大小:218 KB

下载得到文件列表

基于CAN总线通信协议的设计与实现.doc

相关文档

文档介绍

文档介绍:基于CAN总线通信协议的设计与实现
窦鹏 刘胜永
(广西工学院电子信息与控制工程系,广西柳州 )
中图分类号:TN915 文献标识码:B
摘要:
本文以C8051F120单片机为背景,在CAN 。文中首先设计了一种数据传递格式,它解决了CAN ,实现了大于8字节数据的准确传输。并在此基础上,建立了可靠的收发机制、管理机制和错误处理机制共同维护协议的运转,实现了CAN总线数据方便快捷的传输。
关键词: CAN 总线 通信协议 C8051F120
The Design and Realization of Can Bus Communication protocol Based on C8051F120
DouPeng LiuShengYong
(Dept. of Electric Information and Control Engineering, Guangxi University of Technology, Liuzhou , China)
Abstract:
This paper proposed a CAN protocol of application layer based on CAN specification with the background of C8051F120 microcontroller. At first, has designed a data format in transfering, which can transfer data more than 8 bytes based on CAN specification and makes up for the shortage of CAN protocol of application layer based on the data structure, and has established the reliable receiving and dispatching mechanism, the management mechanism and the error processing mechanism and so on, which maintains the protocol work smoothly and attains the convenient and prompt transmission through CAN bus.
Keyword: CAN;BUS; Communication Protocol; 8051F120
前言
控制器局域网(CAN-Controller Area Network)属于现场总线(Fieldbus)的范畴,是众多的属于现场总线标准之一,它适用于工业控制系统,具有通信速率高、可靠性强、连接方便、性能价格比高等诸多特点。它是一种有效支持分布式控制或实时控制的串行通信网络,以其短报文帧及CSMA/CD-AMP(带有信息优先权及冲突检