1、2.网络拓扑53.诊断接口64.诊断需求74.1.诊断协议74.1.1.物理层74.1.2.数据链路层74.1.3.网络层74.1.4.应用层时间参数84.2.Diagnostic Services(ISO14229-1)84.2.1.Supported Diagnostic Services94.2.2.DiagnosticSessionControl(10H)114.2.3.ECUReset (11H)134.2.4.CommunicationControl(28H)144.2.5.SecurityAccess(27H)154.2.6.TesterPresent(3EH)214.2.7.C
2、ontrolDTCSetting(85H)214.2.8.ReadDataByIdentifier(22H)234.2.9.WriteDataByIdentifier (2EH)244.2.10.InputOutputControlByIdentifier (2FH)264.2.11.ClearDiagnosticInformation (14H)274.2.12.ReadDTCInformation (19H)284.2.13.RoutineControl (31H)354.2.14.RequestDownLoad(34H)374.2.15.TransferData (36H)374.2.1
3、6.RequestTransferExit (37H)375.故障定义386.故障码DTC中英文对照表38附录 A: 冻结帧信息39附录 B:41B.1 版本信息参数列表:B.2 数据流参数列表:B.3 版本信息参数定义43B.4 数据流参数定义45术语DTC故障诊断码BS Block sizeSTminMinimum Separation Time C有条件的M强制性执行U用户选用TBD待定义SID服务标识符DID数据标识符NRC负响应码UDS统一的诊断服务Server服务器Client客户端ECU电控单元1. 参考文献NO.参考文档题目1 ISO11898-1: 2003 Road veh
4、icles - Controller area network (CAN) Part 1:Data link layer and physical signaling 2 ISO11898-2:Part 2: High-speed medium access unit 3 ISO11898-5: 2007 Part 5: High-speed medium access unit with low-power mode 4 ISO15765-2: 2004 Road Vehicle - Diagnostic on CAN Networking Layer Services 5 ISO15765
5、-3:Part 3: Application Layer Services 6 ISO14229-1: 2006 Road Vehicle - Diagnostic Systems Diagnostic Services Specification 7 ISO15031-6: 2005 Road vehicles - Communication between vehicle and external equipment for emission-related diagnostic Part 6: Diagnostic trouble code definitions 2. 网络拓扑“由网络
6、工程师统一发布网络拓扑”Fig 1. C70GB-2014整车网络拓扑结构3. 诊断接口Fig 2. OBD诊断接口管脚描述1EVBUS CAN_H2/34接地56789EVBUS CAN_L10111213141516电源Tab 1. OBD 诊断接口针脚定义“由线束工程师统一发布OBD接口定义”4. 诊断需求4.1. 诊断协议4.1.1. 物理层物理层应满足ISO11898-2要求及北京新能源汽车股份有限公司企业标准新能源汽车高速 CAN 网络节点级电子控制单元( ECU)技术要求要求。4.1.2. 数据链路层数据链路层应满足ISO11898-1要求。所有诊断请求和应答帧的数据长度应为8字
7、节,否则电控单元将忽略该诊断请求帧。当诊断响应长度不足8字节时,空余的字节应用0xAA填充。4.1.3. 网络层网络层应满足ISO15765-2要求和下述要求:4.1.3.1. 寻址方式可以支持物理寻址和功能寻址。诊断消息ID描述见下表:控制器名称简称物理寻址诊断请求ID(Hex)诊断响应ID(Hex)功能寻址诊断请求ID(Hex)实施网段驱动电机控制器MCU0x7E00x7E80x7DFEVBUSTab 2. 诊断 ID列表“由网络工程师统一发布所有诊断ID分配,各系统填写各自的诊断ID至上表”4.1.3.2. 网络层时间参数ParameterValueUnit - STmin 20msTi
8、meout Performance Requirement N_As/N_Ar 70 n/a ms N_Br N_Bs 150 N_Cs N_Cr Tab 3. 网络层时间参数需求4.1.4. 应用层时间参数Min Max P2server 0 50 P2client P2*server 2000 P2* clientn/a5000P3client_phys2 P3client_func P2server_max Nominal S3server 5000 S3client 4000 Tab 4. 应用层时间参数需求4.2. Diagnostic Services(ISO14229-1)Ser
9、vices shall be implemented according to ISO14229-1. Additional details are specified in this section.4.2.1. Supported Diagnostic ServicesThe overview of ECU supported diagnostic services is described in the following table.Table 5 Supported diagnostic services of ECUDiagnostic Services ListSessionSe
10、curityAccessAddressingSID (Hex)Service NameDefaultExtendedProgrammingPhysical AddressFunction AddressDiagnosticSessionControl EcuReset27SecurityAccess28CommunicationControl3ETesterPresent85ControlDTCSetting22ReadDataByIdentifier2EWriteDataByIdentifier132FInputOutputControlByIdentifierClearDiagnostic
11、Information19ReadDTCInformation31RoutineControl34RequestDownLoad36TransferData37RequestTransferExit说明:访问权限1表示需要扩展安全级权限,3表示需要编程安全级权限。The services need to support suppressPositveResponseBit (SPRS) are showed in following table.Tab 5. Services supported SPRS bitSupportSPRS bit(Hex)DiagnosticSessionCont
12、rolInputOutputContorlByIdentifierRequestDownloadThe negativeResponseCodes (NRC) used by ECU are defined as follows:Tab 6. Negative Response CodesNRC(Hex)Description11HserviceNotSupported12HsubFunctionNotSupported13HincorrectMessageLengthOrInvalidFormat22HconditionsNotCorrect24HrequestSequenceError36
13、HexceededNumberOfAttempts31HrequestOutOfRange33HsecurityAccessDenied37HrequiredTimeDelayNotExpired35HInvalidKey72HgeneralProgrammingFailure78HresponsePending7FHserviceNotSupportedInActiveSession92H/93HVoltageTooHigh / voltageTooLow7EHsubFunctionNotSupportedInActiveSessionIf two or more NRCs are reas
14、onable, the ECU could send the negative response message according to the following priority rules: The 7Fh NRC have the highest priority; For others, the NRC with smaller number has higher priority.4.2.2. DiagnosticSessionControl(10H)This service is used by the client to enable different diagnostic
15、 sessions in the server(s). A diagnostic session enables a specific set of diagnostic services in the server(s).4.2.2.1. Message FormatRequest:ByteNameCvtValue(hex)#1RequestServiceIdentifier#2Sub-function = DefaultSession ProgrammingSessionExtendedDiagnosticSession 010203Positive Response:PositiveRe
16、sponseServiceIdentifier50Sub-Function=DefaultSessionProgrammingSessionP2server =#3byte#100-FF#4byte#2P2*server =#5#6Timing P2server value is provided in 1ms resolution.Timing P2*server value is provided in 10ms resolution.Negative Response:NegativeResponseServiceIdentifier7FNegativeResponseCodeSub-f
17、unction Parameter DefinitionHEXDescription 01 This diagnostic session enables the default diagnostic session in the server(s)and does not support any diagnostic application timeout handling provisions. (e.g. no TesterPresent service is necessary to keep the session active).This diagnostic session en
18、ables all diagnostic services required to supported the memory programming of a server.03 ExtendedDiagnosticSessionThis diagnostic session can e.g. be used to enable all diagnostic services required to support the adjustment of functions like “Idle Speed, CO Value, etc.” in the servers memory. It ca
19、n also be used to enable diagnostic services, which are not specifically tied to the adjustment of functions.Negative Response Codes (NRC)12 The sub-function parameter in the request message is not supported.13 The length of the message is wrong.22 The ECUcurrent conditions do not allow the change o
20、fdiagnostic Session.4.2.2.2. Implementation RulesThis service is used by the diagnostic tool to enable different types of diagnostic sessions in a server. In order to execute a diagnostic service the appropriate session has to be started first.There shall be only one diagnostic session active at a t
21、ime.Normal/Default Session (01h) shall be enabled automatically by the ECU if no diagnostic session has been requested at power up.The ECU shall return to Normal/Default Session (01h) after timeout of ExtendedDiagnostic Session.The ECU shall be capable of providing all diagnostic functionality defin
22、ed for the default diagnostic session under normal operating conditions.The ECU shall first send a DiagnosticSessionControl Positive Response (50h xx) message before the new session becomes active in the ECU.A DiagnosticSessionControl Positive Response (50h xx) message shall be returned by an ECU if
23、 the diagnostic tool requests a session that is already running. If the ECU has already received the same request message previously and performed the requested operation, the ECU shall continue to perform the current operation (i.e. it is not a change of the session).The ECU shall remain in its current diagnostic session if it is not able to switch into the requested diagnostic session.The TesterPresent (3Eh) service shall be used to keep the non-default diagnostic sessions active by retriggering S3server. Also any other service
copyright@ 2008-2023 冰点文库 网站版权所有
经营许可证编号:鄂ICP备19020893号-2