indigo as (wwh-)obd scan tool · u jobd and obd ii u jobd and eobd u jobd, eobd, and obd ii u obd,...
Embed Size (px)
TRANSCRIPT

V1.3 | 2018-10-30
Vector Webinar
Indigo as (WWH-)OBD Scan Tool

2 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
u OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

4 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
u California Environmental Protection Agency (CARB)
u California has the right to set its own legislation concerning OBD
u Today the OBD requirements defined by the CARB are not only valid for the state California but for the overall US
u CARB always leads the debate in the US, the other states follow
u European Union (EU)
u EU has defined its own set of OBD requirements which are based on the CARB OBD II requirements but are not identical
u This version of OBD II is called EOBD (European OBD)
History of OBD
OBD Introduction

5 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
u Different OBD requirements (PID $1C)u OBD II (California ARB)
u OBD (Federal EPA)
u OBD and OBD II
u OBD I
u EOBD
u EOBD and OBD II
u EOBD and OBD
u EOBD, OBD and OBD II
u JOBD
u JOBD and OBD II
u JOBD and EOBD
u JOBD, EOBD, and OBD II
u OBD, EOBD and KOBD
u OBD, OBD II, EOBD and KOBD
u Engine Manufacturer Diagnostics (EMD)
u Engine Manufacturer Diagnostics Enhanced (EMD+)
u Heavy Duty On-Board Diagnostics (Child/Partial)
u Heavy Duty On-Board Diagnostics
u World Wide Harmonized OBD
u Heavy Duty Euro OBD Stage I without NOx Control
u Heavy Duty Euro OBD Stage I with NOx Control
u Heavy Duty Euro OBD Stage II without NOx Control
u Heavy Duty Euro OBD Stage II with NOx Control
u Brazil OBD Phase 1
u Brazil OBD Phase 2 and Phase 2+
u Korean OBD
u India OBD I
u India OBD II
u Euro VI
u OBD, OBD II and HD OBD
u Brazil OBD Phase 3
History of OBD
OBD Introduction

6 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
u United Nations (UN)
u UN try to consolidate the different OBD standards and issued a legislative document to replace the local legislative documents
u WWH OBD (World Wide Harmonized OBD)
OBD Introduction
History of OBD

8 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
u Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

9 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD II
Diagnostic Protocol
SAE J1979ISO 15031-5Modes 01-0A
OBD II/EOBD
Services
Data
DTCSAE J2012-DA
PID/MID/TIDSAE J1979-DA
references
DA: Digital Annex (Excel)

10 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
WWH-OBD
Diagnostic Protocol
u The “Digital Annexes” of SAE J2012 and SAE J1979 are referenced in WWH-OBD
27145-2
Data
DTCSAE J2012-DA (+J1939 Format)
PID/MID/TID/InfoTypesSAE J1979-DA
references
DA: Digital Annex (Excel)
Services
ISO 27145-3UDS Services

11 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
u Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

12 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Discovery Message and CAN IDs
Discover OBD ECUs
u Only OBD ECUs send positive responses
1022F
F8
7DFF
P7E0 7E7...
P7E8 7EF...
11 Bit CAN-IDs
18 DB 33 F1F
P ...
P ...
29 Bit CAN-IDs
OBD II
01F
00
18 DA 00 F1
18 DA F1 00
18 DA FF F1
18 DA F1 FF
WWH-OBD

13 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Discovery Message and CAN IDs
Discover OBD ECUs
Indigo
u Simply start connection to run OBD discovery

14 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
u Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

15 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Current Diagnostic Data
Read Diagnostic and Vehicle Data
PID22
+
62 F4
+
PID Data
F4
PID
( )
( )
WWH-OBDP
P
OBD II
PID01
+
41 PID
+
F
PPID Data
( )
( )

16 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Current Diagnostic Data
Read Diagnostic and Vehicle Data
u Which data can be read?
u Parameter Ids (PIDs) are defined in SAE J1979 DA

17 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Current Diagnostic Data
Read Diagnostic and Vehicle Data
u System State and Vehicle Readiness: PID $01
u Byte A: System State (DTCs and MIL)
u Byte B: Support and Status of Monitors
u Byte C: Supported Tests (run at least once per trip)
u Byte D: Status of Tests (run at least once per trip)

18 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Vehicle Status
Read Diagnostic and Vehicle Data

19 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Current Diagnostic Data
Read Diagnostic and Vehicle Data
u Which data can be read?
u Secondary Air Status
u Air Flow Rate
u Intake Air Temperature
u Absolute Throttle Position
u O2 Sensors for each block and each bank
u OBD Type (OBD II, EOBD, …)
u …

20 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Sensor Data
Read Diagnostic and Vehicle Data

21 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Sensor Data
Read Diagnostic and Vehicle Data

22 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Sensor Data
Read Diagnostic and Vehicle Data

23 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Request Vehicle Information
Read Diagnostic and Vehicle Data
OBD II
IT22
+
62 F8
F8
IT
( )
(
WWH-OBD
P
P
49
IT09
+
+
IT
F
PInfo Type Data
( )
( )
+
Info Type Data)

24 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Request Vehicle Information
Read Diagnostic and Vehicle Data
Examples
IT Meaning
02 VIN
04 Calibration ID
06 Calibration Verification Number
… …

25 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Vehicle Info
Read Diagnostic and Vehicle Data

26 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: In-Use Performance Tracking
Read Diagnostic and Vehicle Data

27 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
u Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

28 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Pending DTCs
Fault Memory
19 42
59 42
FGID
FGID FI*
19 42
59 42
FGID
FGID SeAM FID
SeM04
Sev
WWH-OBD
( )StatusRoot DTC FTBSAM
OBD II
P
P
47No of DTCs
07+
F
P
D TC( )
Value Description
FGID Functional Group ID (0x33)
SM Status Mask
SeM Severity Mask
SAM Status Availability Mask
SeAM Severity Availability Mask
FID Format Identifier
Sev Severity

29 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
DTC Structure
Fault Memory
Value Description
00 Powertrain (P)
01 Chassis (C)
10 Body (B)
11 Network (U)
Value Description
00 ISO/SAE controlled
01 Manufacturer controlled
10 ISO/SAE controlled
11 ISO/SAE controlled
Area of vehicle system
3rd character of code
4th character of code
7 06 5 4 13 2 7 06 5 4 13 2
Value Description
P00-P02 Fuel and air metering
P03 Ignition system or misfire
P04 Auxiliary emission controls
P05 Vehicle speed, idle control, and auxiliary inputs
P06 Computer and auxiliary outputs
P07-P09 Transmission
P0A-P0E Hybrid Propulsion
Fault location AND type
Example: P0070 (0x0070) Ambient Air Temperature Sensor Circuit "A"

30 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Confirmed DTCs
Fault Memory
19 42
59 42
FGID
FGID FI*
19 42
59 42
FGID
FGID SeAM FID
SeM08
Sev
WWH-OBD
( )StatusRoot DTC FTBSAM
OBD II
P
P
43No of DTCs
03+
F
P
D TC( )
Value Description
FGID Functional Group ID (0x33)
SM Status Mask
SeM Severity Mask
SAM Status Availability Mask
SeAM Severity Availability Mask
FID Format Identifier
Sev Severity

31 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Read Freeze Frame Data / Snapshot Data Records
Fault Memory
42 PID
02
F
1..3
PID
1..3
F
P
F
PID Data
( )( )
19 04
00*
NOID )
NO
ID
0459 Status D ID S D
000..1
( )( ( )
Root DTC FTB
Root DTC FTB
P
P
WWH-OBD
OBD II

32 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
WWH-OBD: 0x19 06 Read Extended Data Record
Fault Memory
u Extended Data Records contain statistical data of DTCs
u Example: Occurrence counter or B1 counter
19 06 90
59 06 90
0..1
Status ( )FS B1C
Root DTC FTB
Root DTC FTB
P
P

33 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Clear/Reset Emission Related Diagnostic Data
Fault Memory
OBD II
04
44
F
P
14
54
FF FF 33
WWH-OBDP/F
P

34 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Clear Diagnostic Data
Fault Memory
Data Mode PID
Number of DTCs 01 01
Freeze Frames 02
Confirmed DTCs 03
Pending DTCs 07
Oxygen Sensor Monitoring Test Results 05
On-Board Monitoring Test Results for Specific Monitored Systems 06
I/M Readiness Data 01 01
Distance Traveled While MIL is Activated 01 21
Number of warm-ups since DTCs cleared 01 30
Distance traveled since DTCs cleared 01 31
Monitor status this driving cycle 01 41
Engine run time while MIL activated 01 4D
Engine run time since DTCs cleared 01 4E
EWMA (Exponential Weighted Moving Average) misfire counts 06 0B

35 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD DTC Browser
Fault Memory
u Read OBD DTCs
u Confirmed
u Pending
u Permanent
u Read Freeze Frames &Extended Data Records
u Clear Diagnostic Data
u Reports

36 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
u Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

37 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Introduction to O2 sensors
Request On-Board Monitoring Test Results
u Stoichiometric combustion
u 1kg GAS (95 ROZ) requires 14,7kg air (14,7 : 1 = Lambda 1)
Source: https://en.wikipedia.org/wiki/File:Ideal-stoichiometry.jpg

38 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Introduction to OBD Mode $06
Request On-Board Monitoring Test Results
u Allow access to results for on-board diagnostic monitoring tests of specific components (continuous / non-continuous monitored)
u Latest valid test values (results) are retained over multiple ignition OFF cycles
u Test values (results) are requested by OBD Monitor ID
u Always reported with minimum and maximum test limits
u Many OBD monitors have multiple tests
u PID $41: Monitor status this driving cycle

39 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Protocol
Request On-Board Monitoring Test Results
Abb. Description
MID Monitor ID
TID Test ID
US Unit Scaling
TV Test Value
MinTL Min. Test Limit
MaxTL Max. Test Limit
MID22
+
62 F6
F6
MID TID MaxTLTVUS
+
MinTL
( )
( )
P
P
WWH-OBD
MID06
+
46 MID TID MaxTLTVUS+
MinTL
F
P
( )
( )

40 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Monitoring Test Results
Request On-Board Monitoring Test Results
u OBD Monitoring Test Results Window

41 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
u Generic OBD Service Access
OBD Automation API
Further Readings
Agenda

42 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Indigo: OBD Diagnostic Console
Generic OBD Service Access
u OBD Diagnostic Console allows sending all OBD request to
u An OBD Functional Group (all OBD ECUs)
u A selected OBD ECU
u Filter by supported data
u Search OBD Service Data
u Read data cyclically

43 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
u OBD Automation API
Further Readings
Agenda

44 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
u Vector.Diagnostics.OBD
u Based on Microsoft .NET
u Additional library to Vector Diagnostics Scripting Library
u Read out OBD information with just a view lines of C# code
u Use Cases
u Implement your own OBD logger
u Implement your own OBD report in your own format / output
u Access OBD PIDs/MIDs/TIDs as well as OBD DTCs and Freeze Frames conveniently
u Runtime environment
u Indigo
u vScriptDiagnostics on VN8810
Introduction
OBD Automation API

45 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Examples: Reading out IUMPR
OBD Automation API
// run OBD discovery and detect OBD ECUs
var result = ObdDiscovery.Discover();
// decide whether working with the OBD functional
// group or OBD ECUs via physical communication
var functionalGroup = result.ObdFunctionalGroup;
// read out InfoType $08 - In-Use Performance Tracking
var performanceTracking =
functionalGroup.ReadObdInfoType(ObdInfoTypeCategory.InfoType_08_InUsePerformanceTracking);
// Iterate through the response data and output content
foreach (var obdInfoType in performanceTracking)
{
Output.WriteLine("ECU: " + obdInfoType.Ecu);
foreach (var data in obdInfoType.Data)
{
Output.WriteLine(string.Format("{0} : Value {1}", data.Name, data.Value));
}
}

46 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Examples: Reading out IUMPR
OBD Automation API

47 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Examples: Reading out OnBoard Monitoring Tests
OBD Automation API
var discovery = ObdDiscovery.Discover();
var functionalGroup = discovery.ObdFunctionalGroup;
foreach (ObdMonitoringTestResultCategory obdMonitorId inEnum.GetValues(typeof(ObdMonitoringTestResultCategory)))
{
Output.WriteLine("Monitor: " + obdMonitorId);
//Read out all Monitoring Test Results
var monitoringTestResultsData = functionalGroup.ReadObdMonitoringTestResult(obdMonitorId);
foreach (var dataCollection in monitoringTestResultsData)
{
foreach (var testResult in dataCollection.ObdMonitoringTestResults)
{
Output.WriteLine(string.Format("Test {0}: Minimum : {1} | Maximum: {2} | Value: {3}", testResult.Name, testResult.MinimumValue, testResult.MaximumValue, testResult.TestValue));
}
}
}

48 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Examples: Reading out OnBoard Monitoring Tests
OBD Automation API

49 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
OBD Introduction
Diagnostic Protocol
Discover OBD ECUs
Read Diagnostic and Vehicle Data
Fault Memory
Request On-Board Monitoring Test Results
Generic OBD Service Access
OBD Automation API
u Further Readings
Agenda

50 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
“WWH-OBD – made simple! Implementation of the new WWH-OBD Requirements for OEMs and Suppliers”
Author: Helmut Frank
https://assets.vector.com/cms/content/know-how/_technical-articles/diagnostics/WWH_OBD_AEL_201208_PressArticle_EN.pdf
Press Articles
Further Readings

51 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Vector solutions for OBD
u Embedded Software
u Diagnostic Testers
u Validation
u Hardware
u Engineering and Consulting
http://www.obd-solution.com
Vector OBD Solution
Further Readings

52 © 2018. Vector Informatik GmbH. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V1.3 | 2018-10-30
Author:Abramowitsch, RalfVector Germany
For more information about Vectorand our products please visit
www.vector.com