目录
7.7.9.1 Warning indicator handling
7.7.9.2 User controlled WarningIndicatorRequested-bit
7.7.9.3 Handling of the warning indicator lamp (MIL)
7.7.9 Healing of diagnostic events
针对每个存储在event memory的事件,Dem模块都具有打开或者关闭故障指示灯的能力。而处理指示器关闭的流程就定义为诊断事件的healing。
先介绍一下配置
7.7.9.1 Warning indicator handling
Dem模块支持事件计数去打开或者关闭指示器。这种计数的计算基于配置的failed和healing循环。例如,基于fault确认开启MIL,以及基于3个obd驾驶循环的healing关闭MIL。
如果一个事件配置了多个indicatior,Dem模块按照indicator之间或的关系处理和计算UDS bit7。
只要有一个indicator的错误计数达到DemIndicatorFailureCycleCounterThreshold阈值,那么开启故障指示灯条件满足。
假定某event配置了indecatior,若以下满足以下任意一个条件,则DEM在操作循环结束时,将bit7清零:
条件1:
至少一个DemIndicatorHealingCycleCounterThreshold不为0(为0 意味着判定pass即可恢复);
所有指示器healing达到阈值,并且测试通过healing循环(WarningIndicatorOffCriteriaFulfilled);
bit7没有被API Dem_SetWIRStatus使能。
条件2:
所有DemIndicatorHealingCycleCounterThreshold为0;
事件判定结果为passed;
bit7没有被API Dem_SetWIRStatus使能。
7.7.9.2 User controlled WarningIndicatorRequested-bit
failsafe SW-C可以通过以下接口控制bit7:
7.7.9.3 Handling of the warning indicator lamp (MIL)
OBD相关,后续继续更新
7.7.9.4 Notification and Set of the warning indicator status
可以通过以下接口获取每个indicatior的状态: