节点文献

汽车车身控制器自动测试系统的设计与实现

Design and Implementation of Automatic Testing Equipment for Body Control Module of Automobiles

【作者】 王鹏

【导师】 孙容磊;

【作者基本信息】 华中科技大学 , 机械电子工程, 2007, 硕士

【摘要】 随着汽车工业的发展,电子控制装置越来越多地在现代汽车中使用。车身控制器是重要的汽车电子控制装置之一,包括中央门锁控制、电动车窗控制、防盗报警控制、灯光控制、安全气囊控制、雨刮器控制等。现阶段,国内许多生产厂家已经能够自主设计汽车车身控制器,并已投入批量生产。但其产品的测试还停留在人工测试的水品上,影响了整体生产效率。因此,开发一套汽车车身控制器的自动测试系统成为必然。本文以汽车车身控制器自动测试系统的开发为基础,建立了一种基于功能验证的测试模型。该模型将多输入多输出(MIMO, Multiple Input Multiple Output)结构的被测系统根据不同功能简化为若干多输入单输出(MISO, Multiple Input Single Output)结构的功能块,并根据该模型提出一种用于生成测试序列的最短路径算法。整个测试系统基于虚拟仪器技术构建。在硬件上,采用以工控机为控制核心,以数据采集卡为I/O设备构建硬件平台,组态灵活,通用性好;在软件上,使用LabWindows/ CVI作为测试软件开发环境,图形界面友好,编程快速、方便。本文解决了汽车BCM测试系统在硬件设计上的关键技术,主要解决了在非车载环境下对电机负载的模拟问题和大电流的检测问题。模拟负载采用了并联达林顿管与功率电阻连接的模拟电子负载结构形式,对大电流的检测使用了霍尔电流传感器。另外,考虑到测试系统的通用性,设计了汽车BCM与数据采集卡连接的接口电路以及汽车BCM与计算机间进行数据交换的通讯电路。在测试软件开发中,本文解决了在LabWindows/CVI环境下非NI公司数据采集卡的控制问题以及实时多任务处理问题。对数据采集卡的控制主要采用动态链接库技术,通过调用数据采集卡在VC环境下的库函数来实现;实时多任务处理主要采用多线程技术实现了数据的实时采集与显示,以及自动测试的过程控制。本文最后介绍了所开发的这套测试系统。从实际使用情况看,该测试系统达到了预期的设计要求。

【Abstract】 With the development of modern IT, electronic control device are increasingly used in modern automobiles. Body control module is one of the most important electronic control devices of automobile, including central lock control, electric glass control, guard against theft and alarm control, light control, airbag control and rain brush control etc. Nowadays, Body Control Module (BCM) can be designed independently in domestic manufacturers and also be manufactured in batches. Nevertheless, the situation that the test of products is in the level of manual test seriously restricts the total production efficiency. It is necessary to develop an automatic test system of body control module for automobiles.For the purpose of functional validation this paper establishes a test model for the BCM of automobiles. In the model, a multiple input and multiple output (MIMO) structured system is decomposed into several multiple input and single output (MISO) structured modules. A shortest path-searching algorithm used to generate test sequence is also proposed according to the test model.The whole test system is constructed using Virtual Instrument techniques. On the aspect of hardware, using industrial PC as its control device and PC-DAQ card as its I/O device makes it easy to reconfigurate the test platform. On the aspect of software, LabWindows/CVI is used as a development tool for the test application software, which provides friendly GUI and convenient programming environment.Some key problems in developing the hardware system of the BCM test equipment are solved in this paper, including the analog of motor load under off-vehicle circumstance and strong current detection. Parallel connected Darlington transistor and power resistor are used as basic structure for analog load. The Hall current sensor is used to detect strong current. In addition, considering the system reconfiguration, the interface circuit from BCM to PC-DAQ card, as well as the communication circuit for data exchange from BCM to IPC is designed.During the development of test software, the thesis solves the control problem of DAQ card not produced by NI Company, as well as the problem of handing real time multitasks. Dynamic Link Library technique is used to call the functions provided for the VC environment. Multithread technique is used to realize real time data sampling and displaying, as well as the automatic test process control.Finally, the developed BCM automatic test system is introduced. The real world applications of the BCM test results demonstrate that the developed system meets design specifications and satisfies customs demands.

节点文献中: