摘要CAN总线通信网络自上世界八十年代由德国Bosch公司开发出来以后,经过二十几年来的迅速发展,以其独特的设计和极高的可靠性,在汽车应用领域中占据了主导地位。通过总线的连接,将多个ECU组成控制网络,实现相互间的信息互联互通,使汽车变得更加安全、可靠、智能,功能扩展更加便捷,车身更加轻便。本课题就是在此背景下,设计一种基于CAN总线网络的上位机软件。 64219
论文首先介绍CAN技术的发展及优点,在第二部分对CAN协议,以及Visual C++简单介绍,并对相关的动态链接库进行了说明。第三部分介绍了一般CAN-USB转换器的基本原理和实现方法。
第四部分重点介绍了CAN-USB转换器上位机软件的二次开发。介绍了软件的基本框架和流程图,并对低速CAN的舒适系统和高速CAN的电机及电池系统界面分别制作了图文界面,使之能够发送和接收数据。对于系统数据的初始化进行了交互式实现,使其能够适应不同工作状态的要求。
论文最后,简要介绍了下位机设备,以及上位机软件的进一步开发工作。
毕业论文关键词:CANUSB转换器,二次开发,动态链接库,舒适系统
毕业设计说明书(论文)外文摘要
Title Redevelopment of CAN-USB Converter Based on VC++ ---Used in Electric Vehicles
Abstract CAN bus communication network since the eighties the world developed by the German Bosch company later, after twenty years of rapid development, with its unique design and high reliability in automotive applications occupy a dominant position. The issue is in this context, the design of a network based on CAN bus PC software.
Paper introduces the development of technology and the advantages of CAN, in the second part of the CAN protocol, as well as a brief introduction Visual C + +, and the associated dynamic link library described. The third part describes the general CANUSB converter basic principle and method.
The fourth part focuses on the CAN-USB converter PC software secondary development. First introduces the basic framework and flowchart software, and low-speed CAN comfort systems and high-speed CAN interface motor and battery systems were produced graphic interface so that it can send and receive data. Initialization data for the system to achieve an interactive, so that it can adapt to the requirements of different working conditions.
Keywords CANUSB converter Secondary development Dynamic Link Library Comfort Systems
1 引言 1
1.1 CAN的出现与发展 1
1.2 CAN的技术优点 1
1.3 CANUSB转换器的开发与研究 2
1.4 CANUSB转换器二次开发的必要性 3
2 协议简介 4
2.1 CAN协议简介 4
2.1.1 CAN总线的为数值表示及编码 4
2.1.2 CAN协议 4
2.1.3 CAN报文帧类型 5
2.2.动态链接库说明 6
2.3.Visual C++简介 6
3 CANUSB转换器的原理 7
3.1 系统的原理框图 7