Vehicle Diagnostics Presentation
Vehicle Diagnostics Presentation
Vehicle Diagnostics Presentation
Introduction
2
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Introduction
3
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Further possibilities of vehicle diagnostics
4
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Vehicle Diagnostic Architecture
Vehicle Vehicle
5
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Diagnostics over CAN
Advantages
Vehicle
Faster communication
EDC ECU
CAN interface available on most ECU’s
• ISO 14229
7
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Composition of Frames
Structure
Byte 1 Byte n Byte 8
8
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
SINGLE_FRAME
SF DL Useful data
NPCI
Max of 7 bytes of useful data.
SF-SINGLE_FRAME, value set at 0.
DL-no. of useful data contained in the frame.
9
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Single frames
Sender Receiver
Single frame
Tool ECU
Request 02 10 C0 xx xx xx xx xx
P2
02 50 C0 xx xx xx xx xx Response
10
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
FIRST_FRAME
FF DL Useful data
NPCI
11
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
CONSECUTIVE_FRAME
CF SN Useful data
NPCI
Used when a block of over 7 bytes of useful data.
CF, value set at 2.
SN - no. of the segments sent (0-15).
12
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Segmented Frames
Transmitter Bus Receiver
Size of data
package sent
First Frame
Ack_transmission
First segment
(SN=1) of first
block sent
Consecutive Frame
Ack_transmission
STmin
Second segment
Block (SN=2) of first
Size block sent
Consecutive Frame
Ack_transmission
E1 E2 E3 E4 E5
FG1 FG1 FG2 FG2 FG1
Tester
Physical Addressing
E1 E2 E3 E4 E5
FG1 FG1 FG2 FG2 FG1
Tester
Functional Addressing
15
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Data Identifier
Communication Control 28 Switches on and off the transmission of certain ECU messages
Clear Diagnostic Information 14 Used by the external diagnostic tool to clear diagnostic
information in one or multiple ECU’s memory.
Control DTC Settings 85 Used by diagnostics tool to stop or resume the setting of DTCs
in ECU.
Diagnostic Session Control 10 Used to enable different diagnostic sessions in one ECU or a
group of ECUs.
ECU Reset 11 Used by the external diagnostic tool to request an ECU reset
based on content of the reset type parameter included in the
ECU Reset request message.
Read DTC Information 19 Allows a diagnostic tool to read the status of ECU resident
Diagnostic Trouble Code (DTC) information from any ECU,
or group of ECU’s within a vehicle.
Tester Present 3E Used to indicate to an ECU or a group of ECU’s that a
diagnostic tool is still connected to the vehicle.
16
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Read and Write Service
Service Identifier 22 ID
17
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Read and Write Service
Positive Response 6E ID
18
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
IO Controls
Positive Response 6F ID SF
SF Description
00 Return Control to ECU
01 Reset to Default (as stored in ECU)
02 Freeze Current State
03 Short Term Adjustment (with timeout)
19
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Routines
Service Identifier 31 SF ID
SF Description
01 Start Routine
02 Stop Routine
03 Request Routine Results
20
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Diagnostic Session
10 SF
Change
Default Timeout Non Default to same
Session S3 Time Session or other
session
Power On 10 01
21
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
ECU Reset
Service Identifier 11 SF
22
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Response Timeout Time P2
Tester ECU
Parameter Tester ECU
P2EC Time between tester and ECU 150 50
U response
Timeout wait after receiving 5000 2000
P2EC negative response with NRC 78
U
23
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Response Timeout Time P2
Tester ECU
S3Client
S3Server
Parameter ECU
Session timeout (Return to 5000
default session)
Time for transmitting next (keep 4000
non default session)
24
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Suppressed Positive Answer (with MSB of the sub function)
Service Identifier 11 01
51 01
Response
Parameter MSB
Positive Answer - suppressed 0
Positive Answer – not suppressed 1
Service Identifier 11 81
Suppressed Response
25
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Negative Response Code Handling
27
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
ODX (Open Diagnostic Data Exchange)
• Standardized diagnostic data format for test devices and for ECUs.
Data reuse in development, production, service
• Vehicle diagnostic in machine readable format
– ODX-C/CS – Communication Parameters
– ODX-D – Diagnostic Services
– ODX-V – Vehicle Info (Access for entire network/ECUs with different ODX
files)
– ODX-FD – Vehicle Functions documentation data
– ODX-E – ECU Configuration data
– ODX-F – Flash/reprogramming data
• PDX contains several ODX files – Represents entire ECU
28
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Terminology (using ODX)
Diag-Service Param
29
Confidential & Proprietary Information – Exempt from Public Disclosure by Applicable Law
Q&A
THANK YOU