北京新能源汽车整车控制器系统诊断规范.docx
- 文档编号:23609689
- 上传时间:2023-05-19
- 格式:DOCX
- 页数:74
- 大小:44.03KB
北京新能源汽车整车控制器系统诊断规范.docx
《北京新能源汽车整车控制器系统诊断规范.docx》由会员分享,可在线阅读,更多相关《北京新能源汽车整车控制器系统诊断规范.docx(74页珍藏版)》请在冰豆网上搜索。
北京新能源汽车整车控制器系统诊断规范
整车控制器系统诊断规范
—“EV160”
文件编号:
“EV160”
编制
:
校对
:
审核
:
“业务高级经理”
会签
:
“控制系统集成主管”
批准
:
“部长”
XXX年XXX月
版本信息
版本
日期
编制
校对
审核
更新描述
V1.0
初始版本
V1.1
崔晓静
崔晓静
1、修改数据链路层描述;
2、删除31服务的02子服务;
3、删除28服务的01、02子服务;
4、删除2703、04子服务;
5、27添加seed为四个字节的随机数;
6、seed和key在列表中定4个字节;
7、删除2F02子服务;
8、删除1906子服务;
9、status改为仅bit0、3支持
10、删除NRC11;
11、F184修改为9个字节;
12、添加故障码中英文对照表;
版本信息2
1.参考文献5
2.网络拓扑5
3.诊断接口6
4.诊断需求7
4.1.诊断协议7
物理层7
数据链路层7
网络层7
应用层时间参数8
4.2.DiagnosticServices(ISO14229-1)8
SupportedDiagnosticServices9
DiagnosticSessionControl(10H)11
ECUReset(11H)13
CommunicationControl(28H)14
SecurityAccess(27H)15
TesterPresent(3EH)21
ControlDTCSetting(85H)21
ReadDataByIdentifier(22H)23
WriteDataByIdentifier(2EH)24
InputOutputControlByIdentifier(2FH)26
ClearDiagnosticInformation(14H)27
ReadDTCInformation(19H)28
RoutineControl(31H)35
RequestDownLoad(34H)37
TransferData(36H)37
RequestTransferExit(37H)37
5.故障定义38
6.故障码DTC中英文对照表38
附录A:
冻结帧信息39
附录B:
41
B.1版本信息参数列表:
41
B.2数据流参数列表:
41
B.3版本信息参数定义43
B.4数据流参数定义45
术语
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:
2003
Roadvehicles-Controllerareanetwork(CAN)
Part2:
High-speedmediumaccessunit
[3]
ISO11898-5:
2007
Roadvehicles-Controllerareanetwork(CAN)
Part5:
High-speedmediumaccessunitwithlow-powermode
[4]
ISO15765-2:
2004
RoadVehicle-DiagnosticonCAN
Part2:
NetworkingLayerServices
[5]
ISO15765-3:
2004
RoadVehicle-DiagnosticonCAN
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
BS
8
-
STmin
20
ms
Parameter
Timeout
PerformanceRequirement
Unit
N_As/N_Ar
70
n/a
ms
N_Br
n/a
<70
ms
N_Bs
150
n/a
ms
N_Cs
n/a
<70
ms
N_Cr
150
n/a
ms
Tab3.网络层时间参数需求
4.1.4.应用层时间参数
Parameter
Min
Max
Timeout
Unit
P2server
0
50
n/a
ms
P2client
n/a
n/a
150
ms
P2*server
0
2000
n/a
ms
P2*client
n/a
n/a
5000
ms
P3client_phys2
P2server
n/a
n/a
ms
P3client_func
P2server_max
n/a
n/a
ms
Parameter
Min
Nominal
Timeout
Unit
S3server
n/a
n/a
5000
ms
S3client
0
2000
4000
ms
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
10
DiagnosticSession
Control
√
√
√
√
√
11
EcuReset
√
√
√
√
√
27
SecurityAccess
√
√
√
28
CommunicationControl
√
√
√
3E
TesterPresent
√
√
√
√
√
85
ControlDTCSetting
√
√
√
22
ReadDataByIdentifier
√
√
√
√
2E
WriteDataByIdentifier
√
√
√1
√3
√
2F
InputOutputControlByIdentifier
√
√1
√
14
ClearDiagnosticInformation
√
√
√
19
ReadDTCInformation
√
√
√
31
RoutineControl
√
√
√1
√3
√
34
RequestDownLoad
√
√3
√
36
TransferData
√
√3
√
37
RequestTransferExit
√
√3
√
说明:
访问权限√1表示需要扩展安全级权限,√3表示需要编程安全级权限。
TheservicesneedtosupportsuppressPositveResponseBit(SPRS)areshowedinfollowingtable.
Tab5.ServicessupportedSPRSbit
DiagnosticServicesList
Support
SPRSbit
SID
(Hex)
ServiceName
10
DiagnosticSessionControl
√
11
EcuReset
√
27
SecurityAccess
28
CommunicationControl
√
3E
TesterPresent
√
85
ControlDTCSetting
√
22
ReadDataByIdentifier
2E
WriteDataByIdentifier
14
ClearDiagnosticInformation
19
ReadDTCInformation
2F
InputOutputContorlByIdentifier
31
RoutineControl
34
RequestDownload
36
TransferData
37
RequestTransferExit
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
M
10
#2
Sub-function=[
DefaultSession
ProgrammingSession
ExtendedDiagnosticSession]
M
01
02
03
PositiveResponse:
Byte
Name
Cvt
Value
#1
PositiveResponseServiceIdentifier
M
50
#2
Sub-Function=[
DefaultSession
ProgrammingSession
ExtendedDiagnosticSession]
M
01
02
03
P2server[]=[
#3
byte#1
M
00-FF
#4
byte#2]
M
00-FF
P2*server[]=[
#5
byte#1
M
00-FF
#6
byte#2]
M
00-FF
TimingP2servervalueisprovidedin1msresolution.
TimingP2*servervalueisprovidedin10msresolution.
NegativeResponse:
Byte
Name
Cvt
Value
#1
NegativeResponseServiceIdentifier
M
7F
#2
RequestServiceIdentifier
M
10
#3
NegativeResponseCode
M
NRC
Sub-functionParameterDefinition
HEX
Description
Cvt
01
DefaultSession
Thisdiagnosticsessionenablesthedefaultdiagnosticsessionintheserver(s)anddoesnotsupportanydiagnosticapplicationtimeouthandlingprovisions.(e.g.noTesterPresentserviceisnecessarytokeepthesessionactive).
M
02
ProgrammingSession
Thisdiagnosticsessionenablesalldiagnosticservicesrequiredtosupportedthememoryprogrammingofaserver.
M
03
ExtendedDiagnosticSession
Thisdiagnosticsessioncane.g.beusedtoenablealldiagnosticservicesrequiredtosupporttheadjustmentoffunctionslike“IdleSpeed,COValue,etc.”intheserver’smemory.Itcanalsobeusedtoenablediagnosticservices,whicharenotspecificallytiedtotheadjustmentoffunctions.
M
NegativeResponseCodes(NRC)
NRC(Hex)
Description
Cvt
12
Thesub-functionparameterintherequestmessageisnotsupported.
M
13
Thelengthofthemessageiswrong.
M
22
TheECUcurrentconditionsdonotallowthechangeofdiagnosticSession.
M
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)requestwithoutresponsemaybesentatanyti
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 北京 新能源 汽车 整车 控制器 系统 诊断 规范
![提示](https://static.bdocx.com/images/bang_tan.gif)