【CANdelaStudio编辑CDD】-0.3-CDD中Fault Memory里DTC Column与Autosar Dem对应关系

目录

1 CDD中Fault Memory里DTC Column

2 ODX/PDX中描述一个DTC用到的标签和关键字

3 CDD中Fault Memory里DTC Column与Autosar Dem参数对照表

4 附录:ODX/PDX中描述一个UDS DTC举例

5 结尾


前一篇链接: 

全网最全诊断梳理《UDS/OBD诊断&诊断描述文件CDD》总目录https://blog.csdn.net/qfmzhu/article/details/120425660

<--返回「UDS/OBD诊断需求编辑工具」博文-总目录-->

<--返回「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中参数名
DTCTROUBLE-CODE举例:0x96555FDemUdsDTC
DTCTextTEXT举例:DTC_96555F_XXX_Name 
Errortext shortnameDTC_SHORTNAME举例:DTC_96555F_XXX_Name对应DemDTCClass中各个DTC的名称
Set ConditionSetCondition举例:Voltage > 14V,t > 2s不会自动生成代码
Reset condition & self healingResetCondition举例:Voltage < 10V,t > 5s不会自动生成代码
Corrective actionCorrectiveActionReplace ECU
Check wiring connector
Check wiring
Check power supply
Update software
No known corrective action
See special instruction
不会自动生成代码
Special instructionSpecialInstruction 不会自动生成代码
Operation CycleDTC_OPERATION_CYCLEDEM_IGNITION
DEM_OBD_DCY
DEM_WARMUP
DEM_POWER
DemOperationCycleRef

DemIndicatorHealingCycleRef
Number of Trips - ActiveNUMBER_OF_TRIPS_ACTIVE  
Enable ConditionsEnable_Conditions  
Self Healing (Aging)DTC_AGING_SUPPORTEDsupported
not supported
DemAgingAllowed
Healing CycleDTC_AGING_CYCLEDEM_IGNITION
DEM_OBD_DCY
DEM_WARMUP
DEM_POWER
DemAgingCycleRef
Healing CyclesDTC_AGING_COUNTER40DemAgingCycleCounterThreshold
Monitor Initialization FunctionDTC_INIT_MONITOR_REQUIREDrequired
not required
DemCallbackInitMForE
DTC PriorityDTC_PRIORITY_VALUE10DemEventPriority
DTC SeverityDTC_SEVERITY_VALUEnoSeverity
maintenanceOnly
checkAtNextHalt
checkImmediately
DemDTCSeverity
Pre-Debounce AlgorithmDTC_DEBOUNCING_ALGORITHMTime based
Counter based
DemDebounceTimeBase

DemDebounceCounterBased
Count-In step sizeDTC_STEP_SIZE_PREFAILED127DemDebounceCounterIncrementStepSize
Count-out step sizeDTC_STEP_SIZE_PREPASSED128DemDebounceCounterDecrementStepSize
Use Jump-Up (Prefailed)DTC_JUMP_UP_PREFAILEDYes
No
DemDebounceCounterJumpUp
Use Jump-Down (Prepassed)DTC_JUMP_DOWN_PREPASSEDYes
No
DemDebounceCounterJumpDown
Set WarningIndicatorBit at faultDTC_WARNING_INDICATOR_FLAGsupported
not supported
MalfunctionIndicatorLamp
Functional UnitDTC_FUNCTIONAL_UNIT_VALUE  
DTC Debounce Failed Timeout ValueDTC_TIMEOUT_VALUE_PREFAILED DemDebounceTimeFailedThreshold
DTC Debounce Passed Timeout ValueDTC_TIMEOUT_VALUE_PREPASSED DemDebounceTimePassedThreshold
DTC Storage ThresholdDTC_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 &gt; 14V,t &gt; 2s</SD>
	</SDG>
	<SDG>
	  <SDG-CAPTION ID="_2562">
		<SHORT-NAME>ResetCondition</SHORT-NAME>
		<LONG-NAME>Reset condition &amp; self healing</LONG-NAME>
	  </SDG-CAPTION>
	  <SD>Voltage &lt; 10V,t &gt; 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诊断需求编辑工具」博文-总目录-->

<--返回「UDS/OBD诊断需求编辑工具」专栏主页-->

5 结尾

获取更多“汽车电子资讯”和“工具链使用”,

请关注“汽车电子助手”(CSDN和微信公众号同名),做您的好助手。

  • 5
    点赞
  • 32
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 11
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 11
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汽车电子助手

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值