The invention provides a vehicle fault testing method based on CANoe, which reads the current bus signal and the controller's fault content, stores as the reference parameter, then reads the bus real time signal according to the setting cycle and calculates the difference between the reference signal and determines whether the reading control is controlled by the difference value and the set judgment value. The real-time fault content of the device is then compared with the benchmark failure in step 4, so as to determine whether the fault content is displayed or the data is read repeatedly. According to the characteristics of CANoe emulation editing, the invention puts forward the test method for the whole vehicle fault, realizes the real time automatic monitoring and testing the fault state of the measured controller, the automatic parsing response diagnosis fault code, which solves the problem that the manual test takes time and the fault origin is poor traceability. It has high verification test efficiency. By using convenience, the root causes of faults can be traced more accurately.
【技术实现步骤摘要】
一种基于CANoe的整车故障测试方法
本专利技术属于汽车
,具体涉及一种基于总线开发环境(CANopenenvironment,CANoe)的整车故障测试方法,用于在新车型的开发过程中对各种工况的状态监测。
技术介绍
伴随着汽车技术的飞速发展,汽车结构的多样化,汽车的故障诊断也变得越来越复杂。新车型的开发过程中,开发测试工程师常常需要了解各种工况状态下,各个控制器的动作是否正确,各控制器的诊断故障功能实现是否正确,即获知诊断故障码。而现有的通用验证方法,根据CANoe提供的发送数据模块(InteractiveGenerator,IG)手动发送相关故障诊断指令,通过查看CAN(ControllerAreaNetwork)总线上控制器的故障应答内容,人为解析该故障应答内容,进而实现汽车故障诊断的目的。这种基于CANoeIG的故障诊断方法,对开发测试工程师的要求较高,需要了解各控制器的故障诊断服务内容,需要了解应答内容的信息规范。另外,在不同工况下,更需要精准把握故障诊断的时机,快速人为解析故障诊断应答内容,进而判断控制器的工作状态。这无异于加大了验证的难度,大大 ...
【技术保护点】
一种基于CANoe的整车故障测试方法,其特征在于:包括如下步骤:步骤1、设置故障请求发送的内容,发送时机以及应答内容显示格式;步骤2、监测系统开始运行;步骤3、读取当前总线信号,并存储作为基准信号;步骤4、读取控制器故障内容,并存储作为基准故障;步骤5、按设定周期读取总线实时信号,并计算与基准信号的差值;步骤6、比较步骤5中的差值与设定的判定值的大小,若差值小于判定值,则返回步骤5读取下一周期的信号;否则,进行步骤7;步骤7、存储步骤5中的信号,并替代步骤3中的基准信号;步骤8、读取控制器的实时故障内容,并与步骤4中的基准故障进行比对;若与基准故障相同,则忽略此次应答,并返 ...
【技术特征摘要】
1.一种基于CANoe的整车故障测试方法,其特征在于:包括如下步骤:步骤1、设置故障请求发送的内容,发送时机以及应答内容显示格式;步骤2、监测系统开始运行;步骤3、读取当前总线信号,并存储作为基准信号;步骤4、读取控制器故障内容,并存储作为基准故障;步骤5、按设定周期读取总线实时信号,并计算与基准信号的差值;步骤6、比较步骤5中的差值与设定的判定值的大小,若差值小于判定值,则返回步骤5读取下一周...
【专利技术属性】
技术研发人员:叶平,郝铁亮,李洪雷,孙立柱,詹德凯,
申请(专利权)人:华晨汽车集团控股有限公司,
类型:发明
国别省市:辽宁,21
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。