针对传统汽车仪表中一个表对应一个传感器和一组线的情况,提出了基于CAN总线的车载数据采集器的解决方案,使整个仪表系统只对应一组总线,实现了车辆仪表系统的网络化,使其改善了布线方式,安装维护方便.将嵌入式计算机用于汽车电子领域,并用软件的方法来实现汽车仪表,提升了仪表的精度和档次.给出了数据采集部分和CAN通信接口的硬件设计图,并用流程图方法分析了数据采集和CAN接口的软件设计.还介绍了采集器对于车载虚拟仪表所需主要数据的采集情况,并且给出了计算车速、发动机转速和里程的一种方法.
To the question that a meter is correspond with a set of lead and a sensor, this paper presents a design of data acquisition system for vehicle based on CAN bus. In this way, the combinatorial instrument is only connected by a bus unit. Author introduces the data acquisition structure chart and the CAN interface, analyzes the software by program flow chart, and shows it' s application for vehicle virtual instrument. A method of calculating vehicle speed, engine rotate speed and the course of development mileage are also given.