ISO 27145-4:2016
(Main)Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 4: Connection between vehicle and test equipment
Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 4: Connection between vehicle and test equipment
ISO 27145-4:2016 defines the requirements to successfully establish, maintain and terminate communication with a vehicle that implements the requirements of the WWH-OBD GTR (Global technical regulation No. 5; see Reference [16]). This requires plug and play communication capabilities for the vehicle, as well as for any test equipment that intends to establish communication with a vehicle. This part of ISO 27145 details all the OSI layer requirements to achieve this goal. ISO 27145-4:2016 is intended to become the single communication standard for access to information relating to vehicle on-board diagnostics (VOBD). To allow for a smooth migration from the existing communication standards to this future world-wide standardized communication standard, the communication concept as specified in this part of ISO 27145 is based on two different data links: - diagnostic communication over Controller Area Network (DoCAN), ISO 15765‑4; - diagnostic communication over Internet Protocol (DoIP), ISO 13400 (all parts). NOTE It is intended that this part of ISO 27145 will be extended as necessary upon introduction of additional communication media. IMPORTANT ? Use cases deriving from country-specific implementation of GTR No. 5 into local legislation are not included in this part of ISO 27145.
Véhicules routiers — Mise en application des exigences de communication pour le diagnostic embarqué harmonisé à l'échelle mondiale (WWH-OBD) — Partie 4: Connexion entre véhicule et équipement d'essai
General Information
Relations
Buy Standard
Standards Content (Sample)
INTERNATIONAL ISO
STANDARD 27145-4
Second edition
2016-04-01
Road vehicles — Implementation
of World-Wide Harmonized On-
Board Diagnostics (WWH-OBD)
communication requirements —
Part 4:
Connection between vehicle and test
equipment
Véhicules routiers — Mise en application des exigences de
communication pour le diagnostic embarqué harmonisé à l’échelle
mondiale (WWH-OBD) —
Partie 4: Connexion entre véhicule et équipement d’essai
Reference number
ISO 27145-4:2016(E)
©
ISO 2016
---------------------- Page: 1 ----------------------
ISO 27145-4:2016(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2016, Published in Switzerland
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form
or by any means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior
written permission. Permission can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Ch. de Blandonnet 8 • CP 401
CH-1214 Vernier, Geneva, Switzerland
Tel. +41 22 749 01 11
Fax +41 22 749 09 47
copyright@iso.org
www.iso.org
ii © ISO 2016 – All rights reserved
---------------------- Page: 2 ----------------------
ISO 27145-4:2016(E)
Contents Page
Foreword .v
Introduction .vi
1 Scope . 1
2 Normative references . 1
3 Terms, definitions and abbreviated terms . 2
3.1 Terms and definitions . 2
3.2 Abbreviated terms . 2
4 Conventions . 3
5 Document overview. 3
6 Vehicle and external test equipment connection requirements .4
6.1 Overview . 4
6.2 Data link independent requirements . 5
6.3 Support of only one WWH-OBD-compliant external test equipment at a time . 5
7 Wired CAN connection based on ISO 15765-4 . 5
7.1 Network scenario requirements . 5
7.2 Initialization sequence . 5
7.3 ISO 27145-3 WWH-OBD protocol validation sequence . 5
7.4 Application layer — DoCAN . 5
7.4.1 General. 5
7.4.2 Diagnostic protocol communication types . 6
7.4.3 Maximum number of WWH-OBD servers/ECUs . 6
7.4.4 Diagnostic protocol timing parameters . 6
7.4.5 External test equipment logical addresses . 6
7.4.6 Server/ECU logical addressing . 6
7.5 Presentation layer . 6
7.6 Session layer . 7
7.7 Transport layer . 7
7.7.1 General information . 7
7.7.2 Mapping of data-link-independent service primitives onto DoCAN data-
link-dependent service primitives . 7
7.7.3 Mapping of T_PDU onto N_PDU for message transmission. 7
7.8 Network layer . 8
7.9 Data link layer . 8
7.10 Physical layer . 8
7.11 Diagnostic connector . 8
8 Wired Ethernet connection based on ISO 13400 . 8
8.1 Network scenario requirements . 8
8.2 Initialization sequence . 9
8.3 ISO 27145-3 WWH-OBD protocol validation sequence .12
8.4 Application layer — DoIP .13
8.4.1 General.13
8.4.2 Diagnostic protocol communication types .13
8.4.3 Maximum number of WWH-OBD servers/ECUs .14
8.4.4 Diagnostic protocol timing parameters .14
8.4.5 External test equipment logical addresses .14
8.4.6 Server/ECU logical addressing .14
8.5 Presentation layer .14
8.6 Session layer .14
8.7 Transport layer .15
8.7.1 General information .15
© ISO 2016 – All rights reserved iii
---------------------- Page: 3 ----------------------
ISO 27145-4:2016(E)
8.7.2 Mapping of data-link-independent service primitives onto the Internet
Protocol data-link-dependent service primitives .15
8.7.3 Mapping of T_PDU onto DoIP_PDU for message transmission .15
8.8 Network layer .16
8.9 Data link layer .16
8.10 Physical layer .16
8.11 Diagnostic connector .16
Bibliography .17
iv © ISO 2016 – All rights reserved
---------------------- Page: 4 ----------------------
ISO 27145-4:2016(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives).
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of
any patent rights identified during the development of the document will be in the Introduction and/or
on the ISO list of patent declarations received (see www.iso.org/patents).
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity
assessment, as well as information about ISO’s adherence to the WTO principles in the Technical
Barriers to Trade (TBT) see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 31, Data
communication.
This second edition cancels and replaces the first edition (ISO 27145-4:2012), which has been
technically revised.
ISO 27145 consists of the following parts, under the general title Road vehicles — Implementation of
World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements:
— Part 1: General information and use case definition
— Part 2: Common data dictionary
— Part 3: Common message dictionary
— Part 4: Connection between vehicle and test equipment
— Part 6: External test equipment
© ISO 2016 – All rights reserved v
---------------------- Page: 5 ----------------------
ISO 27145-4:2016(E)
Introduction
Overview
The ISO 27145 series includes the communication between the vehicle’s on-board diagnostics (OBD)
systems and external test equipment within the scope of the World-Wide Harmonized On-Board
Diagnostics Global Technical Regulations (WWH-OBD GTR).
It has been established in order to apply the unified diagnostic services (specified in ISO 14229-1) to
WWH-OBD systems.
The ISO 27145 series includes the communication between the vehicle’s WWH-OBD systems and
external (off-board) “generic” test equipment within the scope of the country-specific regulatory
requirements.
To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model specified
in ISO/IEC 7498-1 and ISO/IEC 10731, which structures communication systems into seven layers.
When mapped on this model, the services specified by ISO 27145 are broken into:
— diagnostic services (layer 7), specified in ISO 27145-3 with reference to ISO 14229-1;
— presentation layer (layer 6), specified in ISO 27145-2 with reference to SAE J1930-DA, SAE J1939-DA
(SPNs), SAE J1939-73:2010, Appendix A (FMIs), SAE J1979-DA, and SAE J2012-DA;
— session layer services (layer 5), specified in ISO 14229-2;
— transport layer services (layer 4), specified in this part of ISO 27145 with reference to ISO 13400-2,
ISO 15765-2 and ISO 15765-4;
— network layer services (layer 3), specified in this part of ISO 27145 with reference to ISO 15765-4,
ISO 15765-2 and ISO 13400-2;
— data link layer (layer 2), specified in this part of ISO 27145 with reference to ISO 11898-1, ISO 15765-4,
ISO 13400-3 and IEEE 802.3;
— physical layer (layer 1), specified in this part of ISO 27145 with reference to ISO 11898-1, ISO 11898-2,
ISO 15765-4, ISO 13400-3 and IEEE 802.3
in accordance with Table 1.
Table 1 — WWH-OBD specification reference applicable to the OSI layers
Applicability OSI 7 layer WWH-OBD document reference
Application (layer 7) ISO 14229-1, ISO 27145-3
Presentation (layer 6) ISO 27145-2,
SAE J1930-DA, SAE J1939-DA (SPNs),
SAE J1939-73:2010, Appendix A (FMIs), SAE J1979-DA,
SAE J2012-DA
Seven layers
Session (layer 5) ISO 14229-2
according to
ISO/IEC 7498- Transport (layer 4)
ISO 15765-2 DoCAN, ISO 13400-2 DoIP
1 and ISO/
ISO 15765-4 DoCAN, TCP and IP
Network (layer 3)
IEC 10731
Data link (layer 2) ISO 11898-1 CAN DLL
ISO 27145-4
Physical (layer 1) ISO 11898-1 CAN DLL
ISO 13400-3 DoIP,
IEEE 802.3
ISO 11898-2 CAN HS,
ISO 15765-4 DoCAN
vi © ISO 2016 – All rights reserved
---------------------- Page: 6 ----------------------
ISO 27145-4:2016(E)
SAE document reference concept
ISO 27145 makes reference to several SAE documents which contain the terms, data and diagnostic
trouble code (DTC) definitions.
ISO 27145-2 defines a common data dictionary for the ISO 27145 series, according to the definitions in
the following documents (see Figure 1):
— SAE J1930-DA: this digital annex contains all standardized naming objects, terms and
abbreviated terms.
— SAE J1939-DA and SAE J1939-73: SAE J1939-DA indexes names for suspect parameter numbers
(SPNs) that provide an alternative presentation format for SAE J2012-DA DTCs. SPNs are combined
with failure mode indicators (FMIs) to form the full alternative presentation. FMIs are described in
SAE J1939-73:2010, Appendix A.
NOTE The SAE J1939-DA is a document which supplements the SAE J1939 family of International
Standards and contains SPNs and parameter group numbers (PGNs).
— SAE J1979-DA: this digital annex contains all standardized data items such as data identifiers (DIDs),
test identifiers (TIDs), monitor identifiers (MIDs) and infotype identifiers (ITIDs).
— SAE J2012-DA: this digital annex contains all standardized data items such as DTC definitions and
FTB (failure type byte) definitions.
Key
1 SAE digital annexes: data definitions
2 SAE J1939 series of documents: DTC definitions
Figure 1 — SAE digital annex document reference
SAE digital annex revision procedure
New regulatory requirements drive new in-vehicle technology to lower emissions, improve safety, etc. It
is important to standardize new technology-related OBD monitor data and DTCs in order to support the
external (off-board) “generic” test equipment. All relevant information is proposed by the automotive
industry, represented by members of the appropriate SAE task force.
ISO 27145-2 references a “change request form” for use with new data items to be defined by the SAE task
force for standardization. It is intended that the standardized data items be defined in SAE J1930-DA,
SAE J1979-DA, SAE J2012-DA and SAE J1939. It is intended that the documents be published on the SAE
store website once the information has been balloted and approved.
© ISO 2016 – All rights reserved vii
---------------------- Page: 7 ----------------------
ISO 27145-4:2016(E)
The revision request forms and instructions for updating the registers to ISO 27145 can be obtained on
the following data registration websites:
— For SAE J1930-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS7
The column entitled “Resources” shows a document with the title: J1930-DA_Revision_Request_
Form.doc. Double click on the name to download the document with the filename: “SAE_J1930-DA_
Revision_Request_Form.doc”.
— For SAE J1939: http://www.sae.org/
Search “J1939 Request”, select “J1939 Request Processing Group”, select “J1939 Request Processing
Form and Guidelines”.
— For SAE J1979-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS14
The column entitled “Resources” shows a document with the title: J1979-DA_Revision_Request_
Form.doc. Double click on the name to download the document with the filename: “SAE_J1979-DA_
Revision_Request_Form.doc”.
— For SAE J2012-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS9
The column entitled “Resources” shows a document with the title: J2012-DA_Revision_Request_
Form.doc. Double click on the name to download the document with the filename: “SAE_J2012-DA_
Revision_Request_Form.doc”.
It is intended that the revision request form be filled out with the request.
It is intended that e-mails with completed revision request forms as attachments be sent to:
E-mail: saej1930@sae.org
E-mail: saej1979@sae.org
E-mail: saej2012@sae.org
E-mail: saej1939@sae.org
viii © ISO 2016 – All rights reserved
---------------------- Page: 8 ----------------------
INTERNATIONAL STANDARD ISO 27145-4:2016(E)
Road vehicles — Implementation of World-Wide
Harmonized On-Board Diagnostics (WWH-OBD)
communication requirements —
Part 4:
Connection between vehicle and test equipment
1 Scope
This part of ISO 27145 defines the requirements to successfully establish, maintain and terminate
communication with a vehicle that implements the requirements of the WWH-OBD GTR (Global
technical regulation No. 5; see Reference [16]). This requires plug and play communication capabilities
for the vehicle, as well as for any test equipment that intends to establish communication with a vehicle.
This part of ISO 27145 details all the OSI layer requirements to achieve this goal.
This part of ISO 27145 is intended to become the single communication standard for access to
information relating to vehicle on-board diagnostics (VOBD). To allow for a smooth migration from the
existing communication standards to this future world-wide standardized communication standard,
the communication concept as specified in this part of ISO 27145 is based on two different data links:
— diagnostic communication over Controller Area Network (DoCAN), ISO 15765-4;
— diagnostic communication over Internet Protocol (DoIP), ISO 13400 (all parts).
NOTE It is intended that this part of ISO 27145 will be extended as necessary upon introduction of additional
communication media.
IMPORTANT — Use cases deriving from country-specific implementation of GTR No. 5 into local
legislation are not included in this part of ISO 27145.
2 Normative references
The following documents, in whole or in part, are normatively referenced in this document and are
indispensable for its application. For dated references, only the edition cited applies. For undated
references, the latest edition of the referenced document (including any amendments) applies.
ISO 13400-2:2012, Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 2:
Transport protocol and network layer services
1)
ISO 13400-3, Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 3: Wired
vehicle interface based on IEEE 802.3
ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
1)
ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) —
Part 2: Transport protocol and network layer services
ISO 15765-4, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 4:
Requirements for emissions-related systems
1) To be published.
© ISO 2016 – All rights reserved 1
---------------------- Page: 9 ----------------------
ISO 27145-4:2016(E)
ISO 27145-1, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 1: General information and use case definition
ISO 27145-2, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 2: Common data dictionary
ISO 27145-3, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 3: Common message dictionary
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO 27145-1, ISO 27145-2 and
ISO 14229-1 apply.
3.2 Abbreviated terms
CAN Controller area network
DHCP Dynamic host configuration protocol
DID Data identifier
DoCAN Diagnostic communication over CAN
DoIP Diagnostic communication over internet protocol
DTC Diagnostic trouble code
ECU Electronic control unit
FMI Failure mode indicator
FTB Failure type byte
GTR Global technical recommendation
IP Internet protocol
N_PDU Network layer protocol data unit
NRC Negative response code
OBD On-board diagnostics
OSI Open systems interconnection
SA Source address
SPN Suspect parameter number
T_PDU Transport/network layer protocol data unit
TA Target address
2 © ISO 2016 – All rights reserved
---------------------- Page: 10 ----------------------
ISO 27145-4:2016(E)
TCP Transmission control protocol
WWH-OBD World-wide harmonized on-board diagnostics
VOBD Vehicle on-board diagnostics
4 Conventions
The ISO 27145 series is based on the conventions discussed in the OSI Service Conventions (see
ISO/IEC 10731) as they apply to diagnostic services.
5 Document overview
Figure 2 shows the reference documents for the ISO 27145 series.
The ISO 27145 series specifies or includes the following references.
a) ISO 27145-1 specifies the general structure of the ISO 27145 series and the WWH-OBD GTR
applicable use cases.
b) ISO 27145-2 specifies the common data dictionary with references to the following:
1) SAE J1930-DA, which defines the terms, definitions, abbreviated terms, etc.;
2) SAE J1939 Companion Spreadsheet, which specifies the SPNs;
3) SAE J1939-73:2010, Appendix A, which specifies the FMIs;
4) SAE J1979-DA, which specifies all data items;
5) SAE J2012-DA, which specifies the DTC definitions and FTB definitions.
NOTE The SAE J1939 series of documents is concerned with the definition of emissions-related SPNs
and FMIs for use as DTCs.
c) ISO 27145-3 specifies the diagnostic services defined in ISO 14229-1 that are applicable to WWH-
OBD GTR.
d) ISO 14229-2 specifies the standardized service primitive interface to separate application and
session layers from protocol transport and network layers.
e) This part of ISO 27145 specifies the initialization procedure and includes references to the
following:
1) ISO 15765-4 DoCAN;
2) ISO 13400 (all parts) DoIP.
© ISO 2016 – All rights reserved 3
---------------------- Page: 11 ----------------------
ISO 27145-4:2016(E)
Figure 2 — Implementation of WWH-OBDonCAN and WWH-OBDonIP document reference
according to OSI model
6 Vehicle and external test equipment connection requirements
6.1 Overview
To provide a future-oriented long-term stable communication standard, which is based on existing
industry communication standards while allowing for backward-compatibility to existing automotive
networks, ISO 27145 is designed to support different types of connections between external test
4 © ISO 2016 – All rights reserved
---------------------- Page: 12 ----------------------
ISO 27145-4:2016(E)
equipment and a vehicle. Regardless of the underlying physical layer, data link and network layer, the
other parts of ISO 27145 remain unaltered.
a) CAN-based wired connection (see Clause 7):
This is the type of connection which describes the use of WWH-OBD communication services on
an existing ISO 15765-4-compliant vehicle interface. It has been defined to allow for a smooth
migration from a CAN-based vehicle interface to an Ethernet-based connection to a vehicle.
b) DoIP over Ethernet wired connection (see Clause 8):
This is the type of connection which utilizes the Internet Protocol as the network layer on a Fast
Ethernet (see IEEE 802.3) connection.
6.2 Data link independent requirements
WWH-OBD-compliant servers/ECUs are required to support the InfoType “ECUNAME” with services
readDataByIdentifier 22 and dataIdentifier F80A (see SAE J1979-DA). The mapping between a
16 16
server/ECU logical address and the name (ECUNAME) of the server/ECU shall be performed by the
external test equipment.
6.3 Support of only one WWH-OBD-compliant external test equipment at a time
The in-vehicle WWH-OBD system shall support only one type of WWH-OBD-compliant external test
equipment at a time.
— If the vehicle supports DoCAN, then the WWH-OBD-compliant external test equipment shall use
the source addresses (SA) specified in ISO 15765-4, 10.5, which deals with mapping of diagnostic
addresses.
— If the vehicle supports DoIP, then the WWH-OBD-compliant external test equipment shall use the SA
E000 specified in ISO 13400-2:2012, Table 39, which gives an overview of logical addressing.
16
7 Wired CAN connection based on ISO 15765-4
7.1 Network scenario requirements
Using ISO 11898-1 and ISO 11898-2 (CAN) and ISO 15765-4 (DoCAN), a variety of network scenarios
can be used to access vehicles for the use cases defined in ISO 27145-1. See ISO 14229-2 for network
scenario examples.
7.2 Initialization sequence
The external test equipment shall support the initialization sequence as specified in ISO 15765-4.
7.3 ISO 27145-3 WWH-OBD protocol validation sequence
The external test equipment shall support the ISO 27145-3 WWH-OBD protocol validation sequence
specified in ISO 15765-4.
7.4 Application layer — DoCAN
7.4.1 General
All application-specific requirements for data content and formatting shall be supported as specified in
ISO 27145-2 and ISO 27145-3.
© ISO 2016 – All rights reserved 5
---------------------- Page: 13 ----------------------
ISO 27145-4:2016(E)
7.4.2 Diagnostic protocol communication types
The following communication types shall be supported for the diagnostic protocol implementation for
WWH-OBD on CAN as specified in ISO 14229-2:
a) functional communication;
b) physical communication.
The following
...
DRAFT INTERNATIONAL STANDARD
ISO/DIS 27145-4
ISO/TC 22/SC 31 Secretariat: DIN
Voting begins on: Voting terminates on:
2015-06-15 2015-08-15
Road vehicles — Implementation of World-Wide
Harmonized On-Board Diagnostics (WWH-OBD)
communication requirements —
Part 4:
Connection between vehicle and test equipment
Véhicules routiers — Mise en application des exigences de communication pour le diagnostic embarqué
harmonisé à l’échelle mondiale (WWH-OBD) —
Partie 4: Connexion entre véhicule et équipement d’essai
ICS: 43.180;43.040.10
THIS DOCUMENT IS A DRAFT CIRCULATED
FOR COMMENT AND APPROVAL. IT IS
THEREFORE SUBJECT TO CHANGE AND MAY
NOT BE REFERRED TO AS AN INTERNATIONAL
STANDARD UNTIL PUBLISHED AS SUCH.
IN ADDITION TO THEIR EVALUATION AS
BEING ACCEPTABLE FOR INDUSTRIAL,
TECHNOLOGICAL, COMMERCIAL AND
USER PURPOSES, DRAFT INTERNATIONAL
STANDARDS MAY ON OCCASION HAVE TO
BE CONSIDERED IN THE LIGHT OF THEIR
POTENTIAL TO BECOME STANDARDS TO
WHICH REFERENCE MAY BE MADE IN
Reference number
NATIONAL REGULATIONS.
ISO/DIS 27145-4:2015(E)
RECIPIENTS OF THIS DRAFT ARE INVITED
TO SUBMIT, WITH THEIR COMMENTS,
NOTIFICATION OF ANY RELEVANT PATENT
RIGHTS OF WHICH THEY ARE AWARE AND TO
©
PROVIDE SUPPORTING DOCUMENTATION. ISO 2015
---------------------- Page: 1 ----------------------
ISO/DIS 27145-4:2015(E)
Copyright notice
This ISO document is a Draft International Standard and is copyright-protected by ISO. Except as
permitted under the applicable laws of the user’s country, neither this ISO draft nor any extract
from it may be reproduced, stored in a retrieval system or transmitted in any form or by any means,
electronic, photocopying, recording or otherwise, without prior written permission being secured.
Requests for permission to reproduce should be addressed to either ISO at the address below or ISO’s
member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Reproduction may be subject to royalty payments or a licensing agreement.
Violators may be prosecuted.
ii © ISO 2015 – All rights reserved
---------------------- Page: 2 ----------------------
ISO/DIS 27145-4:2015(E)
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms, definitions and abbreviated terms . 2
3.1 Terms and definitions . 2
3.2 Abbreviated terms . 2
4 Conventions . 3
5 Document overview. 3
6 Vehicle and external test equipment connection requirements .5
6.1 Overview . 5
6.2 Data link independent requirements . 5
6.3 Support of only one WWH-OBD-compliant external test equipment at a time . 5
7 Wired CAN connection based on ISO 15765-4 . 5
7.1 Network scenario requirements . 5
7.2 Initialization sequence . 5
7.3 ISO 27145-3 WWH-OBD protocol validation sequence . 5
7.4 Application layer — DoCAN . 6
7.5 Presentation layer . 7
7.6 Session layer . 7
7.7 Transport layer . 7
7.8 Network layer . 8
7.9 Data link layer . 8
7.10 Physical layer . 8
7.11 Diagnostic connector . 8
8 Wired Ethernet connection based on ISO 13400 . 9
8.1 Network scenario requirements . 9
8.2 Initialization sequence . 9
8.3 ISO 27145-3 WWH-OBD protocol validation sequence .12
8.4 Application layer — DoIP .14
8.5 Presentation layer .15
8.6 Session layer .15
8.7 Transport layer .16
8.8 Network layer .17
8.9 Data link layer .17
8.10 Physical layer .17
8.11 Diagnostic connector .17
Bibliography .18
© ISO 2015 – All rights reserved iii
---------------------- Page: 3 ----------------------
ISO/DIS 27145-4:2015(E)
Foreword
ISO (the International Organization for Standardization) is a worldwide federation of national standards
bodies (ISO member bodies). The work of preparing International Standards is normally carried out
through ISO technical committees. Each member body interested in a subject for which a technical
committee has been established has the right to be represented on that committee. International
organizations, governmental and non-governmental, in liaison with ISO, also take part in the work.
ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of
electrotechnical standardization.
The procedures used to develop this document and those intended for its further maintenance are
described in the ISO/IEC Directives, Part 1. In particular the different approval criteria needed for the
different types of ISO documents should be noted. This document was drafted in accordance with the
editorial rules of the ISO/IEC Directives, Part 2. www.iso.org/directives
Attention is drawn to the possibility that some of the elements of this document may be the subject of
patent rights. ISO shall not be held responsible for identifying any or all such patent rights. Details of any
patent rights identified during the development of the document will be in the Introduction and/or on
the ISO list of patent declarations received. www.iso.org/patents
Any trade name used in this document is information given for the convenience of users and does not
constitute an endorsement.
For an explanation on the meaning of ISO specific terms and expressions related to conformity
assessment, as well as information about ISO’s adherence to the WTO principles in the Technical Barriers
to Trade (TBT), see the following URL: Foreword - Supplementary information
The committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 31, Data
communication.
This second edition cancels and replaces the first edition (ISO 27145-4:2012), subclause 7.7.1has been
technically revised.
ISO 27145 consists of the following parts, under the general title Road vehicles — Implementation of
World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements:
— Part 1: General information and use case definition
— Part 2: Common data dictionary
— Part 3: Common message dictionary
— Part 4: Connection between vehicle and test equipment
— Part 6: External test equipment
iv © ISO 2015 – All rights reserved
---------------------- Page: 4 ----------------------
ISO/DIS 27145-4:2015(E)
Introduction
0.1 Overview
The ISO 27145- series includes the communication between the vehicle’s on-board diagnostics (OBD)
systems and external test equipment within the scope of the World-Wide Harmonized On-Board
Diagnostics Global Technical Regulations (WWH-OBD GTR).
It has been established in order to apply the unified diagnostic services (specified in ISO 14229-1) to
WWH-OBD systems.
The ISO 27145- series includes the communication between the vehicle’s WWH-OBD systems and external
(off-board) “generic” test equipment within the scope of the country-specific regulatory requirements.
To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model specified in
ISO/IEC 7498-1 and ISO/IEC 10731, which structures communication systems into seven layers. When
mapped on this model, the services specified by ISO 27145 are broken into
— diagnostic services (layer 7), specified in ISO 27145-3 with reference to ISO 14229-1,
— presentation layer (layer 6), specified in ISO 27145-2 with reference to SAE J1930-DA, SAE J1939
Companion Spreadsheet (SPNs), SAE J1939-73:2010, Appendix A (FMIs), SAE J1979-DA, and
SAE J2012-DA,
— session layer services (layer 5), specified in ISO 14229-2,
— transport layer services (layer 4), specified in this part of ISO 27145 with reference to ISO 13400-2,
ISO 15765-2 and ISO 15765-4,
— network layer services (layer 3), specified in this part of ISO 27145 with reference to ISO 15765-4,
ISO 15765-2 and ISO 13400-2,
— data link layer (layer 2), specified in this part of ISO 27145 with reference to ISO 11898-1, ISO 11898-2,
ISO 15765-4, ISO 13400-3 and IEEE 802.3, and
— physical layer (layer 1), specified in this part of ISO 27145 with reference to ISO 11898-1, ISO 11898-2,
ISO 15765-4, ISO 13400-3 and IEEE 802.3,
in accordance with Table 1.
Table 1 — WWH-OBD specification reference applicable to the OSI layers
Applicability OSI 7 layer WWH-OBD document reference
Application (layer 7) ISO 14229-1, ISO 27145-3
Presentation (layer 6) ISO 27145-2,
SAE J1930-DA, SAE J1939 Companion Spreadsheet (SPNs),
SAE J1939–73:2010, Appendix A (FMIs), SAE J1979-DA,
Seven layers
SAE J2012-DA
according to
Session (layer 5) ISO 14229-2
ISO/IEC 7498-1
and ISO/
Transport (layer 4)
ISO 15765-2 DoCAN, ISO 13400-2 DoIP
IEC 10731
ISO 15765-4 DoCAN, TCP and IP
Network (layer 3)
ISO 27145-4
Data link (layer 2) ISO 11898-1 CAN DLL,
ISO 13400-3 DoIP,
ISO 11898-2 CAN HS,
Physical (layer 1) IEEE 802.3
ISO 15765-4 DoCAN
0.2 SAE document reference concept
ISO 27145 makes reference to several SAE documents which contain the terms, data and diagnostic
trouble code (DTC) definitions.
© ISO 2015 – All rights reserved v
---------------------- Page: 5 ----------------------
ISO/DIS 27145-4:2015(E)
ISO 27145-2 defines a common data dictionary for the ISO 27145- series, according to the definitions in
the following documents (see Figure 1).
— SAE J1930-DA: this digital annex contains all standardized naming objects, terms and abbreviated
terms.
— SAE J1939 Companion Spreadsheet and SAE J1939-73: SAE J1939 Companion Spreadsheet indexes
names for suspect parameter numbers (SPNs) that provide an alternative presentation format
for SAE J2012-DA DTCs. SPNs are combined with failure mode indicators (FMIs) to form the full
alternative presentation. FMIs are described in SAE J1939-73:2010, Appendix A.
NOTE The SAE J1939 Companion Spreadsheet is a document which supplements the SAE J1939 family of
standards and contains SPNs and parameter group numbers (PGNs).
— SAE J1979-DA: this digital annex contains all standardized data items such as data identifiers (DIDs),
test identifiers (TIDs), monitor identifiers (MIDs) and infotype identifiers (ITIDs).
— SAE J2012-DA: this digital annex contains all standardized data items such as DTC definitions and
FTB (failure type byte) definitions.
Key
1 SAE digital annexes: data definitions
2 SAE J1939 series of documents: DTC definitions
Figure 1 — SAE digital annex document reference
0.3 SAE digital annex revision procedure
New regulatory requirements drive new in-vehicle technology to lower emissions, improve safety, etc. It
is important to standardize new technology-related OBD monitor data and DTCs in order to support the
external (off-board) “generic” test equipment. All relevant information is proposed by the automotive
industry, represented by members of the appropriate SAE task force.
ISO 27145-2 references a “Change request form” for use with new data items to be defined by the SAE
task force for standardization. It is intended that the standardized data items be defined in SAE J1930-
DA, SAE J1979-DA, SAE J2012-DA and SAE J1939. It is intended that the documents be published on the
SAE store website once the information has been balloted and approved.
vi © ISO 2015 – All rights reserved
---------------------- Page: 6 ----------------------
ISO/DIS 27145-4:2015(E)
The revision request forms and instructions for updating the registers to ISO 27145 can be obtained on
the following data registration websites:
— For SAE J1930-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS7
The column entitled “Resources” shows a document with the title: J1930-DA_Revision_Request_Form.
doc. Double click on the name to download the document with the filename: “SAE_J1930-DA_Revision_
Request_Form.doc”.
— For SAE J1939: http://www.sae.org/
Search “J1939 Request”, select “J1939 Request Processing Group”, select “J1939 Request Processing
Form and Guidelines”.
— For SAE J1979-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS14
The column entitled “Resources” shows a document with the title: J1979-DA_Revision_Request_Form.
doc. Double click on the name to download the document with the filename: “SAE_J1979-DA_Revision_
Request_Form.doc”.
— For SAE J2012-DA: http://www.sae.org/servlets/works/committeeHome.do?comtID=TEVDS9
The column entitled “Resources” shows a document with the title: J2012-DA_Revision_Request_Form.
doc. Double click on the name to download the document with the filename: “SAE_J2012-DA_Revision_
Request_Form.doc”.
It is intended that the revision request form be filled out with the request.
It is intended that e-mails with completed revision request forms as attachments be sent to:
E-mail: saej1930@sae.org
E-mail: saej1979@sae.org
E-mail: saej2012@sae.org
E-mail: saej1939@sae.org
© ISO 2015 – All rights reserved vii
---------------------- Page: 7 ----------------------
DRAFT INTERNATIONAL STANDARD ISO/DIS 27145-4:2015(E)
Road vehicles — Implementation of World-Wide
Harmonized On-Board Diagnostics (WWH-OBD)
communication requirements —
Part 4:
Connection between vehicle and test equipment
1 Scope
This part of ISO 27145 defines the requirements to successfully establish, maintain and terminate
communication with a vehicle that implements the requirements of the WWH-OBD GTR (Global
[16]
technical regulation No. 5; see Reference ). This requires plug and play communication capabilities
for the vehicle as well as for any test equipment that intends to establish communication with a vehicle.
This part of ISO 27145 details all the OSI layer requirements to achieve this goal.
This part of ISO 27145 is intended to become the single communication standard for access to
information relating to vehicle on-board diagnostics (VOBD). To allow for a smooth migration from the
existing communication standards to this future world-wide standardized communication standard,
the communication concept as specified in this part of ISO 27145 is based on two different data links:
— Diagnostic communication over Controller Area Network (DoCAN), ISO 15765-4;
— Diagnostic communication over Internet Protocol (DoIP), ISO 13400 (all parts).
NOTE It is intended that this part of ISO 27145 will be extended as necessary upon introduction of additional
communication media.
IMPORTANT — Use cases deriving from country-specific implementation of GTR No. 5 into local
legislation are not included in this part of ISO 27145.
2 Normative references
The following referenced documents are indispensable for the application of this document. For dated
references, only the edition cited applies. For undated references, the latest edition of the referenced
document (including any amendments) applies.
ISO 13400-2:2012, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) — Part 2:
Transport protocol and network layer services
ISO 13400-3, Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 3: Wired
vehicle interface based on IEEE 802.3
ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and requirements
ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
ISO 15765-2, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) — Part 2:
Transport protocol and network layer services
ISO 15765-4:2011, Road vehicles — Diagnostic communication over Controller Area Network (DoCAN) —
Part 4: Requirements for emissions-related systems
ISO 27145-1, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 1: General information and use case definition
© ISO 2015 – All rights reserved 1
---------------------- Page: 8 ----------------------
ISO/DIS 27145-4:2015(E)
ISO 27145-2, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 2: Common data dictionary
ISO 27145-3, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-
OBD) communication requirements — Part 3: Common message dictionary
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For the purposes of this document, the terms and definitions given in ISO 27145-1, ISO 27145-2 and
ISO 14229-1 apply.
3.2 Abbreviated terms
CAN controller area network
DHCP dynamic host configuration protocol
DID data identifier
DoCAN diagnostic communication over CAN
DoIP diagnostic communication over internet protocol
DTC diagnostic trouble code
ECU electronic control unit
FMI failure mode indicator
FTB failure type byte
GTR global technical recommendation
IP internet protocol
N_PDU network layer protocol data unit
NRC negative response code
OBD on-board diagnostics
OSI open systems interconnection
SA source address
SPN suspect parameter number
T_PDU transport/network layer protocol data unit
TA target address
TCP transmission control protocol
WWH-OBD world-wide harmonized on-board diagnostics
VOBD vehicle on-board diagnostics
2 © ISO 2015 – All rights reserved
---------------------- Page: 9 ----------------------
ISO/DIS 27145-4:2015(E)
4 Conventions
The ISO 27145- series is based on the conventions discussed in the OSI Service Conventions
(ISO/IEC 10731) as they apply to diagnostic services.
5 Document overview
Figure 2 shows the reference documents for the ISO 27145- series.
The ISO 27145- series specifies or includes the following references:
a) ISO 27145-1 specifies the general structure of the ISO 27145- series and the WWH-OBD GTR
applicable use cases.
b) ISO 27145-2 specifies the common data dictionary with references to:
1) SAE J1930-DA, which defines the terms, definitions, abbreviated terms, etc.;
2) SAE J1939 Companion Spreadsheet, which specifies the SPNs;
3) SAE J1939-73:2010, Appendix A, which specifies the FMIs;
4) SAE J1979-DA, which specifies all data items;
5) SAE J2012-DA, which specifies the DTC definitions and FTB definitions.
NOTE The SAE J1939 series of documents is concerned with the definition of emissions-related SPNs and
FMIs for use as DTCs.
c) ISO 27145-3 specifies the diagnostic services defined in ISO 14229-1 that are applicable to WWH-
OBD GTR.
d) ISO 14229-2 specifies the standardized service primitive interface to separate application and
session layers from protocol transport and network layers.
e) This part of ISO 27145 specifies the initialization procedure and includes references to:
1) ISO 15765-4 DoCAN;
2) ISO 13400 (all parts) DoIP.
© ISO 2015 – All rights reserved 3
---------------------- Page: 10 ----------------------
ISO/DIS 27145-4:2015(E)
Figure 2 — Implementation of WWH-OBDonCAN and WWH-OBDonIP document reference
according to OSI model
4 © ISO 2015 – All rights reserved
---------------------- Page: 11 ----------------------
ISO/DIS 27145-4:2015(E)
6 Vehicle and external test equipment connection requirements
6.1 Overview
To provide a future-oriented long-term stable communication standard which is based on existing
industry communication standards while allowing for backward-compatibility to existing automotive
networks, ISO 27145 is designed to support different types of connections between external test
equipment and a vehicle. Regardless of the underlying physical layer, data link and network layer the
other parts of ISO 27145 remain unaltered.
a) CAN-based wired connection (see Clause 7)
This is the type of connection which describes the use of WWH-OBD communication services on an
existing ISO 15765-4-compliant vehicle interface. It has been defined to allow for a smooth migration
from a CAN-based vehicle interface to an Ethernet-based connection to a vehicle.
b) DoIP over Ethernet wired connection (see Clause 8)
This is the type of connection which utilizes the Internet Protocol as the network layer on a Fast Ethernet
(IEEE 802.3) connection.
6.2 Data link independent requirements
WWH-OBD-compliant servers/ECUs are required to support the InfoType “ECUNAME” with services
readDataByIdentifier 22 and dataIdentifier F80A (see SAE J1979-DA). The mapping between a
16 16
server/ECU logical address and the name (ECUNAME) of the server/ECU shall be performed by the
external test equipment.
6.3 Support of only one WWH-OBD-compliant external test equipment at a time
The in-vehicle WWH-OBD system shall support only one type of WWH-OBD-compliant external test
equipment at a time:
— If the vehicle supports DoCAN, then the WWH-OBD-compliant external test equipment shall use the
source addresses (SA) specified in ISO 15765-4:2011, 10.5, which deals with mapping of diagnostic
addresses.
— If the vehicle supports DoIP, then the WWH-OBD-compliant external test equipment shall use the SA
E000 specified in ISO 13400-2:2012, Table 39, which gives an overview of logical addressing.
16
7 Wired CAN connection based on ISO 15765-4
7.1 Network scenario requirements
Using ISO 11898-1 and ISO 11898-2 (CAN) and ISO 15765-4 (DoCAN), a variety of network scenarios can
be used to access vehicles for the use cases defined in ISO 27145-1. See ISO 14229-2 for network scenario
examples.
7.2 Initialization sequence
The external test equipment shall support the initialization sequence as specified in ISO 15765-4.
7.3 ISO 27145-3 WWH-OBD protocol validation sequence
The external test equipment shall support the ISO 27145-3 WWH-OBD protocol validation sequence
specified in ISO 15765-4.
© ISO 2015 – All rights reserved 5
---------------------- Page: 12 ----------------------
ISO/DIS 27145-4:2015(E)
7.4 Application layer — DoCAN
7.4.1 General
All application-specific requirements for data content and formatting shall be supported as specified in
ISO 27145-2 and ISO 27145-3.
7.4.2 Diagnostic protocol communication types
The following communication types shall be supported for the diagnostic protocol implementation for
WWH-OBD on CAN as specified in ISO 14229-2:
a) functional communication;
b) physical communication.
The following WWH-OBD communication types on DoCAN shall be supported by WWH-OBD-compliant
servers/ECUs (for details, see ISO 14229-2):
— functional communication during defaultSession;
— functional communication during defaultSession with enhanced response timing;
— physical communication during defaultSession;
— physical communication during defaultSession with enhanced response timing.
Each diagnostic service specified in ISO 27145-3 shall be transmitted by the external test equipment
with the addressing method (functionally, physically) as specified in ISO 27145-3. Specific requirements
on the use of individual services with either functional or physical addressing are given in ISO 27145-3.
EXAMPLE Short diagnostic requests (less than 7 bytes) which are supported by most of the ECUs can be
transmitted using functional addressing, while requests for multiple data identifiers (DIDs) (see ISO 27145-2)
which are explicitly requested from a single server/ECU shall be requested using physical addressing.
7.4.3 Maximum number of WWH-OBD servers/ECUs
The maximum number of WWH-OBD-compliant servers/ECUs is limited by the address range definitions
in ISO 15765-4.
7.4.4 Diagnostic protocol timing parameters
The application layer timing parameter values for the default diagnostic session shall be in accordance
with ISO 27145-3.
For all diagnostic services specified in ISO 27145-3, the possibility of the server requesting an enhanced
response-timing window via a negative response message, including a negative response code (NRC)
78 (requestCorrectlyReceived-ResponsePending), shall be supported if specified for the diagnostic
16
service in ISO 14229-2 (see P4 ).
Server
7.4.5 External test equipment logical addresses
The external test equipment implementing the use cases defined in ISO 27145-1 shall implement the
CAN identifiers and the address as specified in ISO 15765-4 for the external legislated diagnostic test
equipment when requesting WWH-OBD data from a WWH-OBD-co
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.