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

【CANdelaStudio编辑CDD】-0.3-CDD中Fault Memory里DTC Column与Autosar Dem对应关系_第1张图片

目录

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都有专用的术语描述,是不是经常被这些术语困扰!

各个术语描述见下表:

【CANdelaStudio编辑CDD】-0.3-CDD中Fault Memory里DTC Column与Autosar Dem对应关系_第2张图片

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

CDD文件中,UDS DTC Columu使用的是In import target(name)列;

ODX/PDX文件中,描述一个UDS DTC,“”标签使用的是In import target(qualifier)列;“” 标签使用的是In import target(name)列。

详见该篇附录内容。

【CANdelaStudio编辑CDD】-0.3-CDD中Fault Memory里DTC Column与Autosar Dem对应关系_第3张图片

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标准协议为基础。


  DTC96555F
  9852255
  B16555F
  DTC_96555F_XXX_Name
  
	
	  
		DTC_SHORTNAME
		Errortext shortname
	  
	  DTC_96555F_XXX_Name
	
	
	  
		SetCondition
		Set Condition
	  
	  Voltage > 14V,t > 2s
	
	
	  
		ResetCondition
		Reset condition & self healing
	  
	  Voltage < 10V,t > 5s
	
	
	  
		CorrectiveAction
		Corrective action
	  
	  No known corrective action
	
	
	  
		SpecialInstruction
		Special instruction
	  
	  tbd
	
	
	  
		DTC_OPERATION_CYCLE
		Operation Cycle
		
		  

Kind of operation cycle for the event storage(e.g. power cycle, driving cycle, ...)

DEM_POWER
NUMBER_OF_TRIPS_ACTIVE Number of Trips - Active

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.

0
Enable_Conditions Enable Conditions

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

tbd
DTC_AGING_SUPPORTED Self Healing (Aging)

Supported: Aging/ unlearning of the event is supported Not Supported: Aging/ unlearning of the event is not supported

supported
DTC_AGING_CYCLE Healing Cycle DEM_WARMUP DTC_AGING_COUNTER Healing Cycles

Cycles necessary to heal/erase event. Note: Activate 'Self Healing (Aging)' when using this item

40
DTC_INIT_MONITOR_REQUIRED Monitor Initialization Function

Monitor initialization function is (not) required for this event

not required
DTC_PRIORITY_VALUE DTC Priority

Priority of an event, in view of full event buffer (ref. to Dem104)

10
DTC_SEVERITY_VALUE DTC Severity

Reports the recommended action to be taken by the system (e.g. vehicle) operator

noSeverity
DTC_DEBOUNCING_ALGORITHM Pre-Debounce Algorithm

Selects a Predebounce Algorithm

Counter based
DTC_STEP_SIZE_PREFAILED Count-In step size

Defines the Step size for incrementation (PREFAILED). Range: 0 - 127

1
DTC_STEP_SIZE_PREPASSED Count-out step size

Defines the Step size for decrementation (PREPASSED). Range 0 - 127

1
DTC_JUMP_UP_PREFAILED Use Jump-Up (Prefailed)

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')

Yes
DTC_JUMP_DOWN_PREPASSED Use Jump-Down (Prepassed)

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')

Yes
DTC_WARNING_INDICATOR_FLAG Set WarningIndicatorBit at fault

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.

supported
DTC_FUNCTIONAL_UNIT_VALUE Functional Unit

Can be used to identify the corresponding basic vehicle / system function which monitors this DTC.

0xFF
DTC_TIMEOUT_VALUE_PREFAILED DTC Debounce Failed Timeout Value

This parameter defines the time [ms] for event failed qualification of the DTC specific time based debouncing.

0
DTC_TIMEOUT_VALUE_PREPASSED DTC Debounce Passed Timeout Value

This parameter defines the time [ms] for event passed qualification of the DTC specific time based debouncing.

0

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

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

5 结尾

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

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

【CANdelaStudio编辑CDD】-0.3-CDD中Fault Memory里DTC Column与Autosar Dem对应关系_第4张图片

你可能感兴趣的:(#,CDD诊断描述文件,UDS/OBD诊断/刷写,Autosar,autosar,UDS和OBD诊断CDD)