




已阅读5页,还剩43页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
.整车控制器系统诊断规范“EV160”文件编号:“EV160-20150002014”编制:校对:审核:“业务高级经理”会签:“控制系统集成主管”批准:“部长”XXX年XXX月版本信息版本日期编制校对审核更新描述V1.0初始版本V1.120151127崔晓静崔晓静1、 修改数据链路层描述;2、 删除31服务的02子服务;3、 删除28服务的01、02子服务;4、 删除27 03、04子服务;5、 27添加seed为四个字节的随机数;6、 seed和key在列表中定4个字节;7、 删除2F 02子服务;8、 删除19 06子服务;9、 status改为仅bit0、3支持10、删除NRC11;11、F184修改为9个字节;12、添加故障码中英文对照表;目录版本信息21.参考文献52.网络拓扑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.ControlDTCSetting(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.16.RequestTransferExit (37H)375.故障定义386.故障码DTC中英文对照表38附录 A: 冻结帧信息39附录 B:41B.1 版本信息参数列表:41B.2 数据流参数列表:41B.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 vehicles - Controller area network (CAN) Part 1:Data link layer and physical signaling 2 ISO11898-2: 2003 Road vehicles - Controller area network (CAN) Part 2: High-speed medium access unit 3 ISO11898-5: 2007 Road vehicles - Controller area network (CAN) Part 5: High-speed medium access unit with low-power mode 4 ISO15765-2: 2004 Road Vehicle - Diagnostic on CAN Part 2: Networking Layer Services 5 ISO15765-3: 2004 Road Vehicle - Diagnostic on CAN 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. 网络拓扑“由网络工程师统一发布网络拓扑”Fig 1. C70GB-2014整车网络拓扑结构3. 诊断接口Fig 2. OBD诊断接口管脚描述1EVBUS CAN_H2/3/4接地5接地6/7/8/9EVBUS CAN_L10/11/12/13/14/15/16电源Tab 1. 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要求和下述要求:. 寻址方式可以支持物理寻址和功能寻址。诊断消息ID描述见下表:控制器名称简称物理寻址诊断请求ID(Hex)诊断响应ID(Hex)功能寻址诊断请求ID(Hex)实施网段驱动电机控制器MCU0x7E00x7E80x7DFEVBUSTab 2. 诊断 ID列表“由网络工程师统一发布所有诊断ID分配,各系统填写各自的诊断ID至上表”. 网络层时间参数ParameterValueUnit BS 8- STmin 20msParameterTimeout Performance Requirement 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 Tab 3. 网络层时间参数需求4.1.4. 应用层时间参数ParameterMin Max Timeout Unit P2server 0 50 n/a msP2client n/a n/a 150 msP2*server 0 2000 n/a msP2* clientn/an/a5000msP3client_phys2 P2server n/a n/a ms P3client_func P2server_max n/a n/a ms ParameterMin Nominal Timeout Unit S3server n/a n/a 5000 ms S3client 0 2000 4000 ms Tab 4. 应用层时间参数需求4.2. Diagnostic Services(ISO14229-1)Services 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 ListSessionSecurityAccessAddressingSID (Hex)Service NameDefaultExtendedProgrammingPhysical AddressFunction Address10DiagnosticSessionControl 11EcuReset 27SecurityAccess 28CommunicationControl 3ETesterPresent 85ControlDTCSetting 22ReadDataByIdentifier 2EWriteDataByIdentifier 13 2FInputOutputControlByIdentifier 114ClearDiagnosticInformation 19ReadDTCInformation 31RoutineControl 13 34RequestDownLoad336TransferData337RequestTransferExit3说明:访问权限1表示需要扩展安全级权限,3表示需要编程安全级权限。The services need to support suppressPositveResponseBit (SPRS) are showed in following table.Tab 5. Services supported SPRS bitDiagnostic Services ListSupportSPRS bitSID(Hex)Service Name10DiagnosticSessionControl11EcuReset27SecurityAccess28CommunicationControl3ETesterPresent85ControlDTCSetting22ReadDataByIdentifier2EWriteDataByIdentifier14ClearDiagnosticInformation19ReadDTCInformation2FInputOutputContorlByIdentifier31RoutineControl34RequestDownload36TransferData37RequestTransferExitThe negativeResponseCodes (NRC) used by ECU are defined as follows:Tab 6. Negative Response CodesNRC(Hex)Description11HserviceNotSupported12HsubFunctionNotSupported13HincorrectMessageLengthOrInvalidFormat22HconditionsNotCorrect24HrequestSequenceError36HexceededNumberOfAttempts31HrequestOutOfRange33HsecurityAccessDenied37HrequiredTimeDelayNotExpired35HInvalidKey72HgeneralProgrammingFailure78HresponsePending7FHserviceNotSupportedInActiveSession92H/93HVoltageTooHigh / voltageTooLow7EHsubFunctionNotSupportedInActiveSessionIf two or more NRCs are reasonable, 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 sessions in the server(s). A diagnostic session enables a specific set of diagnostic services in the server(s).. Message FormatRequest:ByteNameCvtValue(hex)#1RequestServiceIdentifierM10#2Sub-function = DefaultSession ProgrammingSessionExtendedDiagnosticSession M010203Positive Response:ByteNameCvtValue#1PositiveResponseServiceIdentifierM50#2Sub-Function=DefaultSessionProgrammingSessionExtendedDiagnosticSession M010203P2server =#3byte#1M00-FF#4byte#2M00-FFP2*server =#5byte#1M00-FF#6byte#2M00-FFTiming P2server value is provided in 1ms resolution.Timing P2*server value is provided in 10ms resolution.Negative Response:ByteNameCvtValue#1NegativeResponseServiceIdentifierM7F#2RequestServiceIdentifierM10#3NegativeResponseCodeMNRCSub-function Parameter DefinitionHEXDescription Cvt01 DefaultSessionThis 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).M02ProgrammingSessionThis diagnostic session enables all diagnostic services required to supported the memory programming of a server.M03 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 can also be used to enable diagnostic services, which are not specifically tied to the adjustment of functions.MNegative Response Codes (NRC)NRC(Hex)DescriptionCvt12 The sub-function parameter in the request message is not supported.M13 The length of the message is wrong.M22 The ECUcurrent conditions do not allow the change ofdiagnostic Session.M. 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 time.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 defined 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 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 request shall retrigger S3server.A functional TesterPresent (3Eh) request without response may be sent at any time, even regardless of any other service in progress.When receiving or transmitting any diagnostic messages, including 3Eh service, the S3servertimer will reset.Fig 3. Session transition diagram4.2.3. ECUReset (11H)This service requests the server to effectively perform an ECU reset based on the content of the ResetType parameter value (suppressPosRspMsgIndicationBit (bit 7) not shown).. Message FormatRequest:ByteNameCvtValue(hex)#1RequestServiceIdentifierM11#2Sub-Function= ResetType: HardResetSoftResetM0103Positive Response:ByteNameCvtValue#1PositiveResponseServiceIdentifierM51#2Sub-Function= ResetType: HardResetSoftResetM0103Negative Response:ByteNameCvtValue#1NegativeResponseServiceIdentifierM7F#2RequestServiceIdentifierM11#3NegativeResponseCodeMNRCSub-function Parameter DefinitionOption (Hex) Description Cvt01 HardResetThis value identifies a “hard reset” condition which simulates the power-on / start-up sequence typically performed after a server has been previously disconnected from its power supply (i.e. battery).M03SoftResetThis value identifies a “soft reset” condition, which causes the server to immediately restart the application program if applicable. The performed action is implementation specific and not defined by the standard. A typical action is to restart the application without reinitializing of previously learned configuration data, adaptive factors and other long-term adjustments.MNegative Response Codes (NRC)NRC (Hex) Conditions Cvt12 Sub-function parameter in the request message is not supported. M13 The length of the message is wrong M22The criteria for the ECUReset request are not met.M. Implementation RulesThe positive response shall be sent before performing the ECU reset.The execution of reset will take ms, which means the ECU cant respond to any new request sent within this time.4.2.4. CommunicationControl(28H)The service is used to “switch on/off” the transmission and/or the reception of certain messages of (a) server(s).. Message FormatRequest:ByteNameCvtValue(hex)#1RequestServiceIdentifierM28#2Sub-Function = EnableRxAndTxDisableRxAndTx M0003#3CommunicationType= NormalCommunicationMessagesNetworkManagementCommunicationMessages NetworkManagementCommunicationMessagesAndNormalCommunicationMessages M010203Positive Response:ByteNameCvtValue#1PositiveResponseServiceIdentifierM68#2Sub-Function = EnableRxAndTxEnableRxAndDisableTx DisableRxAndEnableTxDisableRxAndTx M00010203Negative Response:ByteNameCvtValue#1NegativeResponseServiceIdentifierM7F#2RequestServiceIdentifierM28#3NegativeResponseCodeMNRCNegative Response Codes(NRC)NRC (Hex) Conditions Cvt12 Sub-function parameter in the request message is not supported. M13 The length of the message is wrongM22The operating conditions of the server are not met to perform the required action.M31None of the requested CommunicationType values are supported by the device.MSub-function Parameter Definition:Option(hex)Description Cvt00EnableRxAndTxThis value indicates that the reception and transmission of messages shall be enabled for the specified CommunicationType.M03DisableRxAndTxThis value indicates that the reception and transmission of messages shall be disabled for the specified CommunicationType.MData Parameter Definition:Option(hex)Description Cvt01NormalCommunicationMessagesThis value references all application-related communication (inter-application signal exchange between multiple in-vehicle servers).M02NetworkManagementCommunicationMessagesThis value references all network management related communication.M03NetworkManagementCommunicationMessagesAndNormalCommunicationMessagesThis value references all network management and application-related communicationM. Implementation RulesThere are no special general implementation rules for this service.4.2.5. SecurityAccess(27H)The purpose of this service is to provide a means to access data and/or diagnostic services, which have restricted access for security or safety reasons. Diagnostic services for downloading/uploading routines or data into a server and reading specific memory locations from a server are situations where security access may be required. Improper routines or data downloaded into a server could potentially damage the electronics or other vehicle components or risk the vehicles compliance to safety, or security standards. The security concept uses a seed and key relationship.The client shall request the server to unlock by sending the service SecurityAccess-RequestSeed message. The server shall respond by sending a seed. The seed is the input parameter for the key calculation algorithm. It is used by the client to calculate the corresponding key value.In a second step, the client shall request the key comparison by sending the calculated key to the server using the appropriate service SecurityAccess-SendKey. The server shall compare this key to one internally stored/calculated. If the two numbers match, then the server shall enable (unlock) the clients access to specific services/data and indicate that with the service SecurityAccess-SendKey. If the two numbers do not match, this shall be considered as a false access attempt. If access is rejected for any other reason, it shall not be considered as a false access attempt. An invalid key requires the client to start over from the beginning with a SecurityAccess-RequestSeed message.If a server supports security, but is already unlocked when a SecurityAccess-RequestSeed message is received, that server shall respond with a SecurityAccess-RequestSeed positive response message service with a seed value equal to zero (0). The client shall use this method to determine if a server is locked by checking for a non-zero seed.The Seed-Key algorithmfor SecurityAccess(Mandatory):Key = (seed4) XOR seed)3) XOR seed)。The Security Seed is 4Bytes random numbers.Fig 4. Security Access procedure. Message Format.1. Request SeedThis service requests a seed from the server. Based on this seed, the client is able to calculate the corresponding key to be sent for unlocking the server.Request:ByteNameCvtValue(hex)#1RequestServiceIdentifierM27#2SecurityAccessType = RequestSeedM01,11Positive Response:ByteNameCvtValue#1PositiveResponseServiceIdentifierM67#2SecurityAccessType = RequestSeedM01,11SecuritySeed = M#3seed#1 (high byte)M00-FF#6seed#m (low byte) M00-FFNegative Response:ByteNameCvtValue#1NegativeResponseServiceIdentifierM7F#2RequestServiceIdentifierM27#3NegativeResponseCodeMNRCNegative Response Codes(NRC)NRC (Hex) Conditions Cvt12 Sub-function parameter in the request message is not supported. M13 The length of the message is wrong.M22 The criteria for the SecurityAccess request are not met.M37requiredTimeDelayNotExpiredM.2. Send KeyThis service sends a key calculated by the client to the server. The server shall compare this key to one internally stored/calculated. If the two numbers match, then the server shall enable (“unlock”) the clients access to specific services/data.Request:ByteNameCvtValue(hex)#1RequestServiceIdentifierM27#2SecurityAccessType = SendKeyM02,12SecurityKey = M#3key#1 (high byte)M00-FF#6key#m (low byte) M00-FFPositive Response:ByteNameCvtValue#1PositiveResponseServiceIdentifierM67#2Security
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 石嘴山工贸职业技术学院《水工程施工》2023-2024学年第一学期期末试卷
- 西安财经大学《系统理论数学基础》2023-2024学年第二学期期末试卷
- 《腾讯战略投资》课件
- 2025海鲜供货合同
- 2025至2031年中国化纤纺织原料行业投资前景及策略咨询研究报告
- 2025至2030年中国高尔夫发球杆数据监测研究报告
- 2025至2030年中国钢槽轮数据监测研究报告
- 2025至2030年中国线缆外护层开剥刀数据监测研究报告
- 2025至2030年中国糖果柜数据监测研究报告
- 罩棚吊顶喷漆施工方案
- GB/T 614-2006化学试剂折光率测定通用方法
- GB/T 31539-2015结构用纤维增强复合材料拉挤型材
- 机械制图国家标准
- 汽车吊起重吊装方案-
- 阴囊疾病超声诊断课件
- 最新体检信息系统课件
- 西师版三年级数学(下册)第一单元试题
- 信用修复授权委托书
- X射线光电子能谱-avantage课件
- GJB9001C-2017质量管理体系检查内容的内部审核检查表【含检查内容】
- 面试人员测评打分表
评论
0/150
提交评论