- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
买文档后送图纸,QQ 194535455
摘 要
本设计致力于汽车CAN总线仪表系统的研究,深入讨论了系统的设计思想与实现方法,实现了在LabVIEW开发平台上建立基于CAN总线的虚拟仪表系统。
整个设计分为硬件系统和软件系统两部分。其中硬件系统是以飞思卡尔公司的MC9S12XS128 作为微处理器的核心。软件系统是利用C 语言编写程序实现两个CAN节点之间的通讯以及利用LABVIEW编程实现单片机与虚拟仪表之间的通讯。
系统首先构建了一个由两个CAN节点组成的最简单的CAN网络。对两个节点进行软件设计后,来实现相互之间的通讯和数据收发,同时在汽车的CAN 应用层协议基础上,上位机节点对接收的CAN报文进行处理,得到虚拟仪表各控件所对应的数据。其中,基于LabVIEW的虚拟仪表系统开发和单片机的C语言编程是本设计的重点和难点。
关键词:CAN总线;汽车仪表;
ABSTRACT
This paper researches automotive instrument based on CAN bus, deeply discusses the idea and the method of system design and brings forward the approach of design the automotive emulational virtual instrument system on the platform of LabVIEW software.
The whole design of hardware system and software system is divided into two parts. One of the hardware system is the MC9S12XS128 as freescales company core microprocessor. A software system is using written in C language program realization of the communication between two CAN node using G language preparation and MCU and virtual instrument LABVIEW realization of the communication between.
To construct a system first composed by two CAN node of the most simple CAN network. Two nodes software design, to realize mutual communication and data transceiver, meanwhile in automobile CAN application-layer protocol basis, PC node to receive message processing, CAN get virtual instrument corresponding each control the data. Among them, the LabVIEW virtual instrument based on SCM system development and the C programming language is the design of the key and difficult.
Key words: CAN Bus;Automotive ;C Language;SCM
目 录
摘要 Ⅰ
Abstract Ⅱ
第1章 绪论 1
1.1课题研究的目的和意义 1
1.2汽车仪表的发展 2
1.3 CAN总线技术推动汽车仪表的升级换代 2
1.4研究的基本内容 3
第2章 CAN总线原理 5
2.1汽车总线 5
2.2 CAN总线 5
2.2.1 CAN总线简介 5
2.2.2 CAN总线基本特点 7
2.2.3 CAN总线通讯介质访问控制方式 7
2.2.4 CAN总线的物理层设计 8
2.2.5 CAN应用软件设计原则 8
2.3汽车的其他总线 8
2.3.1 LIN总线简介 8
2.3.2 FLEXRAY总线简介 9
2.3.3 MOST总线简介 10
2.3.4汽车总线比较 11
2.4汽车通讯协议 11
2.4.1 SAE J1939通讯协议 11
2.4.2 CAN总线协议 12
2.5本
文档评论(0)