LoginSignup
1
0

ISO 13400-3, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) - Part 3: Wired vehicle interface based on IEEE 802.3

Last updated at Posted at 2022-02-02

ISO 13400-3, Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 3: Wired vehicle interface based on IEEE 802.3

2 Normative references

IEC 60950-1, Information technology equipment — Safety — Part 1: General requirements

IEEE 802.3-2015, IEEE Standard for Ethernet

3 Terms and definitions

For the purposes of this document, the terms and definitions given in ISO 13400-1 and ISO 14229-1 and the following apply.

3.1 automatic medium-dependent interface crossover

Auto-MDI(X)
device that allows the Ethernet hardware to decide whether a cross-linked cable or a one-to-one connected (patch) cable is used for the connection between two Ethernet ports and which configures the physical layer transceiver (PHY) according to the type of cable in order to correctly connect Tx and Rx linesterm

3.2 DoIP Edge Node

host inside the vehicle, where an Ethernet activation line in accordance with this part of ISO 13400 is terminated and where the link from the first node/host in the external network is terminated

3.3 link segment

twisted-pair link for connecting two physical layers (PHYs) for 100BASE-TX
Note 1 to entry: Adapted from IEEE 802.3:2008, 1.4.355.

4 Abbreviations

Cat5 category 5 cable as specified in TIA/EIA-568-B
DoIP diagnostics over Internet Protocol
DoEth diagnostics over Internet Protocol on Ethernet
FMI failure mode indicator
MAC media access control
MDI medium-dependent interface
PE protective earth conductor
PHY physical layer transceiver
Rx receive
SPN suspect parameter number
Tx transmit

Bibliography

[1] ISO 13400-1, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) — Part 1: General information and use case definition
[2] ISO 13400-2, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) — Part 2: Transport protocol and network layer services
[3] ISO 13400-4, Road vehicles - Diagnostic communication over Internet Protocol (DoIP) — Part 4: Ethernet diagnostic connector
[4] ISO 14229-1, Road vehicles — Unified diagnostic services (UDS) — Part 1: Specification and Requirements
[5] ISO 14229-2, Road vehicles — Unified diagnostic services (UDS) — Part 2: Session layer services
[6] ISO 14229-5, Road vehicles — Unified diagnostic services (UDS) — Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP)
[7] ISO 27145-2, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 2: Common data dictionary
[8] ISO 27145-3, Road vehicles — Implementation of World-Wide Harmonized On-Board Diagnostics (WWH-OBD) communication requirements — Part 3: Common message dictionary
[9] ISO/IEC 7498-1, Information technology — Open Systems Interconnection — Basic Reference Model: The Basic Model — Part 1
[10] ISO/IEC 10731, Information technology — Open Systems Interconnection — Basic Reference Model — Conventions for the definition of OSI services
[11] SAE J1930-DA, Electrical/Electronic Systems Diagnostic Terms, Definitions, Abbreviations, and Acronyms Web Tool Spreadsheet
[12] SAE J1939DA, Digital Annex (SPNs)
[13] SAE J1939-73:2010, Application Layer — Diagnostics
[14] SAE J1962, Diagnostic Connector
[15] SAE J1979-DA, Digital Annex of E/E Diagnostic Test Modes
[16] SAE J2012-DA, Digital Annex of Diagnostic Trouble Code Definitions and Failure Type Byte Definitions
[17] TIA/EIA-568-B, Commercial Building Telecommunications Cabling Standard

Content

Foreword
Introduction
1 Scope
2 Normative references
3 Terms and definitions
4 Abbreviated terms
5 Conventions
6 Document overview.
7 Ethernet physical and data link layer requirements
7.1 General information
7.2 Ethernet physical layer requirements
7.3 Ethernet data link layer requirements
7.4 Ethernet PHY and MAC requirements
7.5 Ethernet activation line requirements
7.5.1 Vehicle activation line requirements
7.5.2 Vehicle activation line circuit example – Option 1 requirements
7.5.3 Vehicle activation line circuit example – Option 2 requirements
7.5.4 Principles of activation line operation
7.5.5 External test equipment activation line requirements
7.5.6 Vehicle manufacturers activation line requirements
7.6 Spice simulation of activation line options
7.7 Process to determine Options 1, 2 or non-ISO 13400
7.8 Cable definitions
Bibliography

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 World Trade Organization (WTO) principles in the
Technical Barriers to Trade (TBT) see the following URL: www.iso.org/iso/foreword.html.
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 13400-3:2011), which has been
technically revised.
A list of all parts in the ISO 13400 series can be found on the ISO website.

Introduction

Vehicle diagnostic communication has been developed starting with the introduction of the first
legislated emissions-related diagnostics and has evolved over the years, now covering various use
cases ranging from emission-related diagnostics to vehicle-manufacturer-specific applications like calibration or electronic component software updates.
With the introduction of new in-vehicle network communication technologies, the interface between the vehicle’s electronic control units and the test equipment has been adapted several times to address the specific characteristics of each new network communication technology requiring optimized data link layer definitions and transport protocol developments in order to make the new in-vehicle networks usable for diagnostic communication.
With increasing memory size of electronic control units, the demand to update this increasing amount
of software and an increasing number of functions provided by these control units, technology of the connecting network and buses has been driven to a level of complexity and speed similar to computer networks.
New applications (x-by-wire, infotainment) require high band-width and real-time networks
(like FlexRay, MOST), which cannot be adapted to provide the direct interface to a vehicle. This requires gateways to route and convert messages between the in-vehicle networks and the vehicle interface to
test equipment.
The intent of ISO 13400 (all parts) is to describe a standardized vehicle interface which
— separates in-vehicle network technology from the external test equipment vehicle interface
requirements to allow for a long-term stable external vehicle communication interface,
— utilizes existing industry standards to define a long-term stable state-of-the-art communication
standard usable for legislated diagnostic communication, as well as for manufacturer-specific use
cases, and
— can easily be adapted to new physical and data link layers, including wired and wireless connections,
by using existing adaptation layers.
To achieve this, all parts of ISO 13400 are 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 14229-1,
ISO 14229-2 and ISO 14229-5 are divided into
a) unified diagnostic services (layer 7), specified in ISO 14229-1, ISO 14229-5, ISO 27145-3,
b) presentation (layer 6):

  1. for enhanced diagnostics, specified by the vehicle manufacturer,
  2. for WWH-OBD (World-Wide Harmonized On-Board Diagnostics), specified in ISO 27145-2,
    SAE J1930-DA, SAE J1939-DA (SPNs), SAE J1939-73:2010, Appendix A (FMI), SAE J1979-DA,
    SAE J2012-DA,
    c) session layer services (layer 5), specified in ISO 14229-2,
    d) transport protocol (layer 4), specified in ISO 13400-2,
    e) network layer (layer 3) services, specified in ISO 13400-2, and
    f) physical and data link services (layers 1 and 2), specified in this document,
    in accordance with Table 1.
    Table 1 — Enhanced and legislated WWH-OBD diagnostic specifications applicable to the
    OSI layers
    OSI 7 layers Vehicle manufacturer enhanced WWH-OBD document reference
    diagnostics
    Application (layer 7) ISO 14229-1/ISO, 14229 ISO 14229-1/ISO, 27145
    Presentation (layer 6) Vehicle manufacturer specific ISO 27145-2, SAE J1930-DA,
    SAE J1939-DA (SPNs),
    SAE J1939–73:2010, Appendix A
    (FMIs), SAE J1979-DA, SAE J2012-
    Session (layer 5) ISO 14229-2 ISO 14229-2
    Transport (layer 4) ISO 13400-2 DoIP TCP and IP
    Network (layer 3)
    Data link (layer 2) ISO 13400-3 DoIP, IEEE 802.3
    Physical (layer 1)
    Seven layers according to ISO/IEC 7498-1 and ISO/IEC 10731.
    The application layer services covered by ISO 14229-5 have been defined in compliance with diagnostic services established in ISO 14229-1, but are not limited to use only with them.
    The transport and network layer services covered by ISO 13400-2 have been defined to be independent of the physical layer implemented.
    For other application areas, this document can be used with any Ethernet physical layer.
    Road vehicles — Diagnostic communication over Internet Protocol (DoIP) — Part 3: Wired vehicle interface based on IEEE 802.3
    1 Scope
    This document specifies the vehicle communication interface and test equipment requirements for a physical and data link layer based on IEEE 802.3 100BASE-TX.
    This interface serves as the physical basis for IP-based communication between the vehicle and test equipment. This document specifies the following aspects:
    — requirements for signal and wiring schematics in order to ensure physical layer compatibility of the vehicle interface and Ethernet networks and test equipment communication interfaces;
    — discovery/identification of the in-vehicle diagnostic Ethernet interface;
    — activation and deactivation of the in-vehicle diagnostic Ethernet interface;
    — mechanical and electrical diagnostic connector requirements;
    — this edition has been modified to include the identification of two Ethernet pin assignments.

4 Abbreviated terms

Cat5 category 5 cable as specified in TIA/EIA-568-B
DoIP diagnostics over Internet Protocol
DoEth diagnostics over Internet Protocol on Ethernet
FMI failure mode indicator
MAC media access control
MDI medium-dependent interface
PE protective earth conductor
PHY physical layer transceiver
Rx receive
SPN suspect parameter number
Tx transmit

5 Conventions

ISO 13400 is based on the conventions discussed in the OSI Service Conventions (ISO/IEC 10731) as they apply to diagnostic services.

6 Document overview

ISO 13400 is applicable to vehicle diagnostic systems implemented on an IP communication network.
ISO 13400 has been established in order to define common requirements for vehicle diagnostic systems implemented on an IP communication link.
Although primarily intended for diagnostic systems, ISO 13400 has been developed to also meet requirements from other IP-based systems needing a transport protocol and network layer services.
Figure 1 illustrates the most applicable application implementations utilizing DoIP.
Figure 1 — DoIP document reference according to the OSI model

7 Ethernet physical and data link layer requirements

7.1 General information

Ethernet is a collection of several standards for different transmission technologies and speeds
contained in IEEE 802.3 and is a frame-based networking technology for wired local area networks.
Frames are defined as the format of data packets on the wire. The Internet Protocol (IPv4) theoretically
allows for a maximum IP packet length of 64 Kbytes. This size is limited by the Ethernet specification,
which defines a 16-bit-length field and requires a minimum packet length of 64 bytes, as well as allowing for a maximum payload length of 1 500 bytes. Consequently, IP packets can have a maximum length of only 1 500 bytes on Ethernet. However, IP allows for fragmentation of IP packets over multiple Ethernet frames to work around this limitation.
The rules for fragmentation of IP packets differ between IPv6 and IPv4 and are not specified in this document.
The Ethernet connection of a vehicle works with four transmission lines in accordance with IEEE 802.3
100BASE-TX, as well as using an additional activation line.
The Ethernet controller in the DoIP Edge Node can be switched on and off via the activation line when the test equipment is connected to, or disconnected from, the vehicle.
There are two types of Ethernet patch cables available:
— one-to-one (1:1) connection, which is usually used to connect an end-node (e.g. a computer) with a network hub or switch. In this case, the pins of each RJ45 connector of the patch cable or the cable to
the vehicle connector are directly connected to each other (e.g. Rx+ on the source port is connected to Rx+ on the destination port).
— cross-linked connection, which is usually used to connect two end nodes directly with each other

参考資料

Diagnostics over Internet Protocol

@kazuo_reve AUTOSARのClassic PlatformとAdaptive PlatformにおけるDiagnosticsの違いを整理

自己参照

ISO 13400 Diagnostic communication over Internet Protocol (DoIP) ISO 13400-2:2019

@kazuo_reve「AUTOSARのClassic PlatformとAdaptive PlatformにおけるDiagnosticsの違いを整理」で慌てて

ISO Road vehicles Diagnostics 規格調査中 100規格、100記事をめざして。

文書履歴(document history)

ver. 0.01初稿 20220202
ver. 0.02 ありがとう追記 20230725

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0