UDS 诊断入门-1 概述

1、简介

诊断服务是介于诊断设备和ECU之间的一种信息交互方式。通常由诊断设备发出请求,ECU做出回应。

doCAN:基于CAN协议的诊断

DoIP:Diagnostic communication Over IP (DoIP) is a standard developed by ISO-13400 for vehicle communication over the Internet Protocol (IP).

2、官方标准

doCAN

ISO 14229-1:2020 Road vehicles - Unified diagnostic services (UDS) – Part1: Application layer
ISO 14229-2-2013 Road vehicles - Unified diagnostic services (UDS) – Part 2:Session layer services
ISO 14229-3-2012, Road vehicles - Unified diagnostic services (UDS) - Part 3: Unified
diagnostic services on CAN implementation (UDSonCAN)
ISO 15765-1-2011, Road vehicles - Diagnostic communication over Controller Area
Network (DoCAN) - Part 1: General information and use case definition
ISO 15765-2-2016, Road vehicles - Diagnostic communication over Controller Area
Network (DoCAN) - Part 2: Transport protocol and network layer services
ISO 15765-4-2016, Road vehicles - Diagnostic communication over Controller Area
Network (DoCAN) - Part 4: Requirements for emissions-related systems
Vehicle Unified diagnostic services (UDS) Standard

doip

Reference id

Title

Version/Date

[ISO13400-1]

ISO 13400-1:Communication between test equipment and

vehicles over Internet Protocol –Part 1: General information and use case definition

SO 13400-1:2011

[ISO13400-2]

ISO 13400-2:Communication between test equipment and

vehicles over Internet Protocol –Part 2: Network and Transport

Layer Requirements and Services

ISO 13400-2:2012

 

3、时间参数设置

应用层时间参数

Parameter

Symbol

Nominal

Unit

Time between client (tester)

request and server (ECU)

response

P2 server

50

ms

P2 client

n/a

ms

Enhanced timeout for the client to

wait after the reception of a negative

response message with response code

78 hex

P2* server 

tbd

ms

P2* client

n/a

ms

Time between request and the next request from the tester –physical

P3 client_phys

n/a

ms

Time between consecutive

request from the tester –

functional

P3 client_func

n/a

ms

P2 server

ECU 收到Tester发送的request 起到ECU 响应的时间。

P2 Client

诊断仪在成功发出请求之后,会期望在一定的时间内收到响应,这个时间就是P2Client

P2* service

ECU 发送NRC 0X78开始计时到发送下一响应需要的时间

P2* Client

P2*Client与P2Client类似,当诊断仪在没有超时的情况下收到NRC 0X78后,就会启动这个时间参数

P3Client_Phys和P3Client_Func:

这两个参数定义诊断仪在发送完一条UDS命令之后,下次再发送命令的最小时间间隔,分别适用于物理寻址和功能寻址的情况。在ISO24229中,它俩的值与P2Client相同

会话层时间参数

Parameter

Symbol

Nominal

Timeout

Unit

Session timeout; after timeout return to default-session

S3 server

n/a

5000

ms

Time for transmitting next

TesterPresent to keep non-

default session

S3 client

2000

<S3 server

ms

S3Server: 

在讲UDS服务的时候,说过ECU需要收到诊断服务才能维持在某个非default session中,或者收到诊断仪持续发送的3E服务,testerpresent。S3Server定义的是ECU多长时间收不到任何诊断服务会回退到default session中。该参数在实际项目中,工厂会通过OBD口或者OTA过程发送 3E 服务 维持ECU服务。

S3Client:

S3Client与S3Server相对应,它定义的是诊断仪发送3E服务(testerpresent)的循环周期。一般设置为2s。

具体项目上述参数会有一点差异,不过

  • 5
    点赞
  • 18
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
汽车统一诊断协议标准(Unified Diagnostic Services,简称UDS)是由国际标准化组织(ISO)制定的一种通用汽车诊断协议。该协议标准在汽车制造和维修行业得到广泛运用,为汽车诊断提供了一套规范和可靠的指导原则。 恒润科技推出的UDS培训文档是一个专门针对UDS标准制定的培训教材,旨在帮助汽车技术人员更好地理解和应用UDS协议。 UDS培训文档首先介绍了UDS协议的由来和发展历程,以及其在汽车行业中的重要性和应用价值。文档详细描述了UDS协议的架构和通信流程,包括诊断会话的建立、消息的传输和诊断过程的控制。 文档还对UDS协议中常用的诊断服务进行了逐一解析和说明,如诊断会话控制、ECU数据传输、故障诊断和清除故障码等。此外,文档还涵盖了UDS在不同车辆通信总线上的应用方法和需注意的事项。 针对UDS培训的实践应用,文档提供了大量的案例分析和示例代码,以帮助学习者更好地理解和应用UDS协议。同时,文档还附带了一套完整的UDS测试工具,使学习者能够在实际操作中进行演练和测试。 总的来说,恒润科技的UDS培训文档通过提供全面且易于理解的学习材料,帮助汽车技术人员掌握UDS协议的基本原理和应用方法,提高其在汽车诊断和维修方面的能力和水平。这对于提高汽车制造和维修行业的效率和质量具有重要意义。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值