目录
3 CDD中Fault Memory里DTC Column与Autosar Dem参数对照表
前一篇链接:
全网最全诊断梳理《UDS/OBD诊断&诊断描述文件CDD》总目录https://blog.csdn.net/qfmzhu/article/details/120425660
<--返回「UDS/OBD诊断需求编辑工具」博文-总目录-->
1 CDD中Fault Memory里DTC Column
当你打开一个CDD诊断描述文件时,在“Available DTCs Fault Memory”项中,你会看到这个CDD文件所有的UDS DTC List描述。在DTC List的每一Columu都有专用的术语描述,是不是经常被这些术语困扰!
各个术语描述见下表:
2 ODX/PDX中描述一个DTC用到的标签和关键字
CDD文件中,UDS DTC Columu使用的是In import target(name)列;
ODX/PDX文件中,描述一个UDS DTC,“<SHORT-NAME>”标签使用的是In import target(qualifier)列;“<LONG-NAME>” 标签使用的是In import target(name)列。
详见该篇附录内容。
3 CDD中Fault Memory里DTC Column与Autosar Dem参数对照表
DTC Column中标题 | PDX中标签/短名 | 常用默认值 | DEM中参数名 |
DTC | TROUBLE-CODE | 举例:0x96555F | DemUdsDTC |
DTCText | TEXT | 举例:DTC_96555F_XXX_Name | |
Errortext shortname | DTC_SHORTNAME | 举例:DTC_96555F_XXX_Name | 对应DemDTCClass中各个DTC的名称 |
Set Condition | SetCondition | 举例:Voltage > 14V,t > 2s | 不会自动生成代码 |
Reset condition & self healing | ResetCondition | 举例:Voltage < 10V,t > 5s | 不会自动生成代码 |
Corrective action | CorrectiveAction | Replace ECU Check wiring connector Check wiring Check power supply Update software No known corrective action See special instruction | 不会自动生成代码 |
Special instruction | SpecialInstruction | 不会自动生成代码 | |
Operation Cycle | DTC_OPERATION_CYCLE | DEM_IGNITION DEM_OBD_DCY DEM_WARMUP DEM_POWER | DemOperationCycleRef DemIndicatorHealingCycleRef |
Number of Trips - Active | NUMBER_OF_TRIPS_ACTIVE | ||
Enable Conditions | Enable_Conditions | ||
Self Healing (Aging) | DTC_AGING_SUPPORTED | supported not supported | DemAgingAllowed |
Healing Cycle | DTC_AGING_CYCLE | DEM_IGNITION DEM_OBD_DCY DEM_WARMUP DEM_POWER | DemAgingCycleRef |
Healing Cycles | DTC_AGING_COUNTER | 40 | DemAgingCycleCounterThreshold |
Monitor Initialization Function | DTC_INIT_MONITOR_REQUIRED | required not required | DemCallbackInitMForE |
DTC Priority | DTC_PRIORITY_VALUE | 10 | DemEventPriority |
DTC Severity | DTC_SEVERITY_VALUE | noSeverity maintenanceOnly checkAtNextHalt checkImmediately | DemDTCSeverity |
Pre-Debounce Algorithm | DTC_DEBOUNCING_ALGORITHM | Time based Counter based | DemDebounceTimeBase DemDebounceCounterBased |
Count-In step size | DTC_STEP_SIZE_PREFAILED | 127 | DemDebounceCounterIncrementStepSize |
Count-out step size | DTC_STEP_SIZE_PREPASSED | 128 | DemDebounceCounterDecrementStepSize |
Use Jump-Up (Prefailed) | DTC_JUMP_UP_PREFAILED | Yes No | DemDebounceCounterJumpUp |
Use Jump-Down (Prepassed) | DTC_JUMP_DOWN_PREPASSED | Yes No | DemDebounceCounterJumpDown |
Set WarningIndicatorBit at fault | DTC_WARNING_INDICATOR_FLAG | supported not supported | MalfunctionIndicatorLamp |
Functional Unit | DTC_FUNCTIONAL_UNIT_VALUE | ||
DTC Debounce Failed Timeout Value | DTC_TIMEOUT_VALUE_PREFAILED | DemDebounceTimeFailedThreshold | |
DTC Debounce Passed Timeout Value | DTC_TIMEOUT_VALUE_PREPASSED | DemDebounceTimePassedThreshold | |
DTC Storage Threshold | DTC_STORAGE_THRESHOLD | DemDebounceTimeStorageThreshold DemEventDebounceCounterStorageThreshold | |
Status | |||
Vehicle System Groups |
4 附录:ODX/PDX中描述一个UDS DTC举例
当你读懂该结构时,你可以尝试手动修改(或制作脚本)一个ODX/PDX里的若干个DTC描述。该示例以ODX V2.0.1标准协议为基础。
<DTC ID="_2559">
<SHORT-NAME>DTC96555F</SHORT-NAME>
<TROUBLE-CODE>9852255</TROUBLE-CODE>
<DISPLAY-TROUBLE-CODE>B16555F</DISPLAY-TROUBLE-CODE>
<TEXT>DTC_96555F_XXX_Name</TEXT>
<SDGS>
<SDG>
<SDG-CAPTION ID="_2560">
<SHORT-NAME>DTC_SHORTNAME</SHORT-NAME>
<LONG-NAME>Errortext shortname</LONG-NAME>
</SDG-CAPTION>
<SD>DTC_96555F_XXX_Name</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2561">
<SHORT-NAME>SetCondition</SHORT-NAME>
<LONG-NAME>Set Condition</LONG-NAME>
</SDG-CAPTION>
<SD>Voltage > 14V,t > 2s</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2562">
<SHORT-NAME>ResetCondition</SHORT-NAME>
<LONG-NAME>Reset condition & self healing</LONG-NAME>
</SDG-CAPTION>
<SD>Voltage < 10V,t > 5s</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2563">
<SHORT-NAME>CorrectiveAction</SHORT-NAME>
<LONG-NAME>Corrective action</LONG-NAME>
</SDG-CAPTION>
<SD>No known corrective action</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2564">
<SHORT-NAME>SpecialInstruction</SHORT-NAME>
<LONG-NAME>Special instruction</LONG-NAME>
</SDG-CAPTION>
<SD>tbd</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2565">
<SHORT-NAME>DTC_OPERATION_CYCLE</SHORT-NAME>
<LONG-NAME>Operation Cycle</LONG-NAME>
<DESC>
<p>
Kind of operation cycle for the event storage(e.g. power cycle, driving cycle, ...)
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>DEM_POWER</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2566">
<SHORT-NAME>NUMBER_OF_TRIPS_ACTIVE</SHORT-NAME>
<LONG-NAME>Number of Trips - Active</LONG-NAME>
<DESC>
<p>
Number of operation cycles needed to confirm the event
The value 0 is the standard UDS behavior of confirming the event (ConfirmedDTC status bit becomes set) with the first qualified FAILED result. A value of 1 means the event becomes confirmed if it fails again in the next operation cycle.
Larger values represent confirmation in the n-th cycle e.g. 2 is confirmation in cycle after the next cycle, etc.
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>0</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2567">
<SHORT-NAME>Enable_Conditions</SHORT-NAME>
<LONG-NAME>Enable Conditions</LONG-NAME>
<DESC>
<p>
An event status report ((Pre)Failed or (Pre)Passed) will only have an effect if all EnableConditions belonging to the DTC are met at the time of report. Otherwise the result will be discarded.
Multiple C-Qualifier separated by a comma can be added here
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>tbd</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2568">
<SHORT-NAME>DTC_AGING_SUPPORTED</SHORT-NAME>
<LONG-NAME>Self Healing (Aging)</LONG-NAME>
<DESC>
<p>
Supported: Aging/ unlearning of the event is supported
Not Supported: Aging/ unlearning of the event is not supported
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>supported</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2569">
<SHORT-NAME>DTC_AGING_CYCLE</SHORT-NAME>
<LONG-NAME>Healing Cycle</LONG-NAME>
</SDG-CAPTION>
<SD>DEM_WARMUP</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2570">
<SHORT-NAME>DTC_AGING_COUNTER</SHORT-NAME>
<LONG-NAME>Healing Cycles</LONG-NAME>
<DESC>
<p>
Cycles necessary to heal/erase event.
Note: Activate 'Self Healing (Aging)' when using this item
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>40</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2571">
<SHORT-NAME>DTC_INIT_MONITOR_REQUIRED</SHORT-NAME>
<LONG-NAME>Monitor Initialization Function</LONG-NAME>
<DESC>
<p>
Monitor initialization function is (not) required for this event
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>not required</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2572">
<SHORT-NAME>DTC_PRIORITY_VALUE</SHORT-NAME>
<LONG-NAME>DTC Priority</LONG-NAME>
<DESC>
<p>
Priority of an event, in view of full event buffer (ref. to Dem104)
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>10</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2573">
<SHORT-NAME>DTC_SEVERITY_VALUE</SHORT-NAME>
<LONG-NAME>DTC Severity</LONG-NAME>
<DESC>
<p>
Reports the recommended action to be taken by the system (e.g. vehicle) operator
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>noSeverity</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2574">
<SHORT-NAME>DTC_DEBOUNCING_ALGORITHM</SHORT-NAME>
<LONG-NAME>Pre-Debounce Algorithm</LONG-NAME>
<DESC>
<p>
Selects a Predebounce Algorithm
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>Counter based</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2575">
<SHORT-NAME>DTC_STEP_SIZE_PREFAILED</SHORT-NAME>
<LONG-NAME>Count-In step size</LONG-NAME>
<DESC>
<p>
Defines the Step size for incrementation (PREFAILED). Range: 0 - 127
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>1</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2576">
<SHORT-NAME>DTC_STEP_SIZE_PREPASSED</SHORT-NAME>
<LONG-NAME>Count-out step size</LONG-NAME>
<DESC>
<p>
Defines the Step size for decrementation (PREPASSED). Range 0 - 127
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>1</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2577">
<SHORT-NAME>DTC_JUMP_UP_PREFAILED</SHORT-NAME>
<LONG-NAME>Use Jump-Up (Prefailed)</LONG-NAME>
<DESC>
<p>
Switch for the activation of Jump-UP:
Jump to Zero upon a change of the reported result (i.e. when after a sequence of 'prepassed' the result changes to 'prefailed')
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>Yes</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2578">
<SHORT-NAME>DTC_JUMP_DOWN_PREPASSED</SHORT-NAME>
<LONG-NAME>Use Jump-Down (Prepassed)</LONG-NAME>
<DESC>
<p>
Switch for the activation of Jump-Down – only in combination with Jump-UP activation:
Jump to Zero upon a change of the reported result (i.e. when after a sequence of 'prefailed' the result changes to 'prepassed')
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>Yes</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2579">
<SHORT-NAME>DTC_WARNING_INDICATOR_FLAG</SHORT-NAME>
<LONG-NAME>Set WarningIndicatorBit at fault</LONG-NAME>
<DESC>
<p>
Yes - the warningIndicatorRequested bit (bit 7) will be set at the same time as the confirmedDTC bit (bit 3) is set.
No - the warningIndicatorRequested bit (bit 7) is 0 at all times.
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>supported</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2580">
<SHORT-NAME>DTC_FUNCTIONAL_UNIT_VALUE</SHORT-NAME>
<LONG-NAME>Functional Unit</LONG-NAME>
<DESC>
<p>
Can be used to identify the corresponding basic vehicle / system function which monitors this DTC.
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>0xFF</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2581">
<SHORT-NAME>DTC_TIMEOUT_VALUE_PREFAILED</SHORT-NAME>
<LONG-NAME>DTC Debounce Failed Timeout Value</LONG-NAME>
<DESC>
<p>
This parameter defines the time [ms] for event failed qualification of the DTC specific time based debouncing.
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>0</SD>
</SDG>
<SDG>
<SDG-CAPTION ID="_2582">
<SHORT-NAME>DTC_TIMEOUT_VALUE_PREPASSED</SHORT-NAME>
<LONG-NAME>DTC Debounce Passed Timeout Value</LONG-NAME>
<DESC>
<p>
This parameter defines the time [ms] for event passed qualification of the DTC specific time based debouncing.
<br/>
</p>
</DESC>
</SDG-CAPTION>
<SD>0</SD>
</SDG>
</SDGS>
</DTC>
<--返回「UDS/OBD诊断需求编辑工具」博文-总目录-->
5 结尾
获取更多“汽车电子资讯”和“工具链使用”,
请关注“汽车电子助手”(CSDN和微信公众号同名),做您的好助手。