新能源汽车整车控制器系统诊断规范完整版Word文档下载推荐.docx
《新能源汽车整车控制器系统诊断规范完整版Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《新能源汽车整车控制器系统诊断规范完整版Word文档下载推荐.docx(70页珍藏版)》请在冰豆网上搜索。
12、添加故障码中英文对照表;
术语
DTC
故障诊断码
BS
Blocksize
STmin
MinimumSeparationTime
C
有条件的
M
强制性执行
U
用户选用
TBD
待定义
SID
服务标识符
DID
数据标识符
NRC
负响应码
UDS
统一的诊断服务
Server
服务器
Client
客户端
ECU
电控单元
1.参考文献
NO.
参考文档
题目
[1]
ISO11898-1:
2003
Roadvehicles-Controllerareanetwork(CAN)
Part1:
Datalinklayerandphysicalsignaling
[2]
ISO11898-2:
Part2:
High-speedmediumaccessunit
[3]
ISO11898-5:
2007
Part5:
High-speedmediumaccessunitwithlow-powermode
[4]
ISO15765-2:
2004
RoadVehicle-DiagnosticonCAN
NetworkingLayerServices
[5]
ISO15765-3:
Part3:
ApplicationLayerServices
[6]
ISO14229-1:
2006
RoadVehicle-DiagnosticSystemsDiagnosticServicesSpecification
[7]
ISO15031-6:
2005
Roadvehicles-Communicationbetweenvehicleandexternalequipmentforemission-relateddiagnostic
Part6:
Diagnostictroublecodedefinitions
2.网络拓扑
“由网络工程师统一发布网络拓扑”
Fig1.C70GB-2014整车网络拓扑结构
3.诊断接口
Fig2.OBD诊断接口
管脚
描述
1
EVBUSCAN_H
2
/
3
4
接地
5
6
7
8
9
EVBUSCAN_L
10
11
12
13
14
15
16
电源
Tab1.OBD诊断接口针脚定义
“由线束工程师统一发布OBD接口定义”
4.诊断需求
4.1.诊断协议
4.1.1.物理层
物理层应满足ISO11898-2要求及北京新能源汽车股份有限公司企业标准《新能源汽车高速CAN网络节点级电子控制单元(ECU)技术要求》要求。
4.1.2.数据链路层
数据链路层应满足ISO11898-1要求。
所有诊断请求和应答帧的数据长度应为8字节,否则电控单元将忽略该诊断请求帧。
当诊断响应长度不足8字节时,空余的字节应用0xAA填充。
4.1.3.网络层
网络层应满足ISO15765-2要求和下述要求:
4.1.3.1.寻址方式
可以支持物理寻址和功能寻址。
诊断消息ID描述见下表:
控制器名称
简称
物理寻址诊断请求ID(Hex)
诊断响应ID(Hex)
功能寻址诊断请求ID(Hex)
实施网段
驱动电机控制器
MCU
0x7E0
0x7E8
0x7DF
EVBUS
Tab2.诊断ID列表
“由网络工程师统一发布所有诊断ID分配,各系统填写各自的诊断ID至上表”
4.1.3.2.网络层时间参数
Parameter
Value
Unit
-
STmin
20
ms
Timeout
PerformanceRequirement
N_As/N_Ar
70
n/a
ms
N_Br
<
N_Bs
150
N_Cs
N_Cr
Tab3.网络层时间参数需求
4.1.4.应用层时间参数
Min
Max
P2server
0
50
P2client
P2*server
2000
P2*client
n/a
5000
P3client_phys2
P3client_func
P2server_max
Nominal
S3server
5000
S3client
4000
Tab4.应用层时间参数需求
4.2.DiagnosticServices(ISO14229-1)
ServicesshallbeimplementedaccordingtoISO14229-1.Additionaldetailsarespecifiedinthissection.
4.2.1.SupportedDiagnosticServices
TheoverviewofECUsupporteddiagnosticservicesisdescribedinthefollowingtable.
Table5SupporteddiagnosticservicesofECU
DiagnosticServicesList
Session
Security
Access
Addressing
SID(Hex)
ServiceName
Default
Extended
Programming
PhysicalAddress
FunctionAddress
DiagnosticSession
Control
√
√
EcuReset
27
SecurityAccess
28
CommunicationControl
3E
TesterPresent
85
ControlDTCSetting
22
ReadDataByIdentifier
2E
WriteDataByIdentifier
√1
√3
2F
InputOutputControlByIdentifier
ClearDiagnosticInformation
19
ReadDTCInformation
31
RoutineControl
34
RequestDownLoad
36
TransferData
37
RequestTransferExit
说明:
访问权限√1表示需要扩展安全级权限,√3表示需要编程安全级权限。
TheservicesneedtosupportsuppressPositveResponseBit(SPRS)areshowedinfollowingtable.
Tab5.ServicessupportedSPRSbit
Support
SPRSbit
(Hex)
DiagnosticSessionControl
InputOutputContorlByIdentifier
RequestDownload
ThenegativeResponseCodes(NRC)usedbyECUaredefinedasfollows:
Tab6.NegativeResponseCodes
NRC(Hex)
Description
11H
serviceNotSupported
12H
subFunctionNotSupported
13H
incorrectMessageLengthOrInvalidFormat
22H
conditionsNotCorrect
24H
requestSequenceError
36H
exceededNumberOfAttempts
31H
requestOutOfRange
33H
securityAccessDenied
37H
requiredTimeDelayNotExpired
35H
InvalidKey
72H
generalProgrammingFailure
78H
responsePending
7FH
serviceNotSupportedInActiveSession
92H/93H
VoltageTooHigh/voltageTooLow
7EH
subFunctionNotSupportedInActiveSession
IftwoormoreNRCsarereasonable,theECUcouldsendthenegativeresponsemessageaccordingtothefollowingpriorityrules:
The7FhNRChavethehighestpriority;
Forothers,theNRCwithsmallernumberhashigherpriority.
4.2.2.DiagnosticSessionControl(10H)
Thisserviceisusedbytheclienttoenabledifferentdiagnosticsessionsintheserver(s).Adiagnosticsessionenablesaspecificsetofdiagnosticservicesintheserver(s).
4.2.2.1.MessageFormat
Request:
Byte
Name
Cvt
Value(hex)
#1
RequestServiceIdentifier
#2
Sub-function=[
DefaultSession
ProgrammingSession
ExtendedDiagnosticSession]
01
02
03
PositiveResponse:
PositiveResponseServiceIdentifier
50
Sub-Function=[
DefaultSession
ProgrammingSession
P2server[]=[
#3
byte#1
00-FF
#4
byte#2]
P2*server[]=[
#5
#6
TimingP2servervalueisprovidedin1msresolution.
TimingP2*servervalueisprovidedin10msresolution.
NegativeResponse:
NegativeResponseServiceIdentifier
7F
NegativeResponseCode
Sub-functionParameterDefinition
HEX
Description
01
Thisdiagnosticsessionenablesthedefaultdiagnosticsessionintheserver(s)anddoesnotsupportanydiagnosticapplicationtimeouthandlingprovisions.(e.g.noTesterPresentserviceisnecessarytokeepthesessionactive).
Thisdiagnosticsessionenablesalldiagnosticservicesrequiredtosupportedthememoryprogrammingofaserver.
03
ExtendedDiagnosticSession
Thisdiagnosticsessioncane.g.beusedtoenablealldiagnosticservicesrequiredtosupporttheadjustmentoffunctionslike“IdleSpeed,COValue,etc.”intheserver’smemory.Itcanalsobeusedtoenablediagnosticservices,whicharenotspecificallytiedtotheadjustmentoffunctions.
NegativeResponseCodes(NRC)
12
Thesub-functionparameterintherequestmessageisnotsupported.
13
Thelengthofthemessageiswrong.
22
TheECUcurrentconditionsdonotallowthechangeofdiagnosticSession.
4.2.2.2.ImplementationRules
Thisserviceisusedbythediagnostictooltoenabledifferenttypesofdiagnosticsessionsinaserver.Inordertoexecuteadiagnosticservicetheappropriatesessionhastobestartedfirst.Thereshallbeonlyonediagnosticsessionactiveatatime.
Normal/DefaultSession(01h)shallbeenabledautomaticallybytheECUifnodiagnosticsessionhasbeenrequestedatpowerup.
TheECUshallreturntoNormal/DefaultSession(01h)aftertimeoutofExtendedDiagnosticSession.
TheECUshallbecapableofprovidingalldiagnosticfunctionalitydefinedforthedefaultdiagnosticsessionundernormaloperatingconditions.
TheECUshallfirstsendaDiagnosticSessionControlPositiveResponse(50hxx)messagebeforethenewsessionbecomesactiveintheECU.
ADiagnosticSessionControlPositiveResponse(50hxx)messageshallbereturnedbyanECUifthediagnostictoolrequestsasessionthatisalreadyrunning.IftheECUhasalreadyreceivedthesamerequestmessagepreviouslyandperformedtherequestedoperation,theECUshallcontinuetoperformthecurrentoperation(i.e.itisnotachangeofthesession).
TheECUshallremaininitscurrentdiagnosticsessionifitisnotabletoswitchintotherequesteddiagnosticsession.
TheTesterPresent(3Eh)serviceshallbeusedtokeepthenon-defaultdiagnosticsessionsactivebyretriggeringS3server.AlsoanyotherservicerequestshallretriggerS3server.
AfunctionalTesterPresent(3Eh)requestwithoutresponsemaybesentatanytime,evenregardlessofanyotherserviceinprogress.
Whenreceivingortransmittinganydiagnosticmessages,including3Ehservice,theS3servertimerwillreset.
Fig3.Sessiontransitiondiagram
4.2.3.ECUReset(11H)
ThisservicerequeststheservertoeffectivelyperformanECUresetbasedonthecontentoftheResetTypeparametervalue(suppressPosRspMsgIndicationBit(bit7)notshown).
4.2.3.1.MessageFormat
Sub-Function=[
ResetType:
HardReset
SoftReset]
51
Sub-Function=[
ResetType:
SoftReset