1、BS ISO 13400-3:2016Road vehicles Diagnostic communication over Internet Protocol (DoIP)Part 3: Wired vehicle interface based on IEEE 802.3BSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06BS ISO 13400-3:2016 BRITISH STANDARDNational forewordThis British Standard is the
2、 UK implementation of ISO 13400-3:2016. It supersedes BS ISO 13400-3:2011 which is withdrawn.The UK participation in its preparation was entrusted to Technical Committee AUE/16, Data Communication (Road Vehicles).A list of organizations represented on this committee can be obtained on request to its
3、 secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its correct application. The British Standards Institution 2016.Published by BSI Standards Limited 2016ISBN 978 0 580 89634 7 ICS 43.040.10; 43.180 Compliance with a British
4、Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 November 2016.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dBS ISO 13400-3:2016 ISO 2016Road vehicles Diagno
5、stic communication over Internet Protocol (DoIP) Part 3: Wired vehicle interface based on IEEE 802.3Vhicules routiers Communication de diagnostic au travers du protocole internet (DoIP) Partie 3: Interface du vhicule cbl sur la base de lIEEE802.3INTERNATIONAL STANDARDISO13400-3Second edition2016-11-
6、15Reference numberISO 13400-3:2016(E)BS ISO 13400-3:2016ISO 13400-3:2016(E)ii ISO 2016 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2016, Published in SwitzerlandAll rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or
7、 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 ISOs member body in the country of the requester.ISO copyright officeCh. de Blandonnet 8 C
8、P 401CH-1214 Vernier, Geneva, SwitzerlandTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgBS ISO 13400-3:2016ISO 13400-3:2016(E)Foreword ivIntroduction v1 Scope . 12 Normative references 13 Terms and definitions . 14 Abbreviated terms 25 Conventions . 26 Document overview. 27 Ethe
9、rnet physical and data link layer requirements 37.1 General information . 37.2 Ethernet physical layer requirements 47.3 Ethernet data link layer requirements . 47.4 Ethernet PHY and MAC requirements 57.5 Ethernet activation line requirements . 57.5.1 Vehicle activation line requirements 57.5.2 Vehi
10、cle activation line circuit example Option 1 requirements 87.5.3 Vehicle activation line circuit example Option 2 requirements 87.5.4 Principles of activation line operation 97.5.5 External test equipment activation line requirements 107.5.6 Vehicle manufacturers activation line requirements 107.6 S
11、pice simulation of activation line options 107.7 Process to determine Options 1, 2 or non-ISO 13400 117.8 Cable definitions . 12Bibliography .14 ISO 2016 All rights reserved iiiContents PageBS ISO 13400-3:2016ISO 13400-3:2016(E)ForewordISO (the International Organization for Standardization) is a wo
12、rldwide 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 o
13、n 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
14、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 Dire
15、ctives, 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 develo
16、pment 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 sp
17、ecific terms and expressions related to conformity assessment, as well as information about ISOs 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
18、/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.iv ISO 2016 All rights reservedBS ISO 13400-3:20
19、16ISO 13400-3:2016(E)IntroductionVehicle 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-s
20、pecific applications like calibration or electronic component software updates.With the introduction of new in-vehicle network communication technologies, the interface between the vehicles electronic control units and the test equipment has been adapted several times to address the specific charact
21、eristics 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 thi
22、s 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 an
23、d 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 stand
24、ardized 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 communi
25、cation 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 ba
26、sed 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 intoa) unified diagno
27、stic 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
28、-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, andf) physical and data link services (layers 1 and 2), specif
29、ied in this document,in accordance with Table 1. ISO 2016 All rights reserved vBS ISO 13400-3:2016ISO 13400-3:2016(E)Table 1 Enhanced and legislated WWH-OBD diagnostic specifications applicable to the OSI layersOSI 7 layersaVehicle manufacturer enhanced diagnosticsWWH-OBD document referenceApplicati
30、on (layer 7) ISO 14229-1/ISO, 14229 ISO 14229-1/ISO, 27145Presentation (layer 6) Vehicle manufacturer specific ISO 27145-2, SAE J1930-DA, SAE J1939-DA (SPNs), SAE J193973:2010, Appendix A (FMIs), SAE J1979-DA, SAE J2012-DASession (layer 5) ISO 14229-2 ISO 14229-2Transport (layer 4) ISO 13400-2 DoIP
31、TCP and IPNetwork (layer 3)Data link (layer 2) ISO 13400-3 DoIP, IEEE 802.3Physical (layer 1)aSeven 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
32、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.vi ISO 2016 All rights reservedBS ISO 13400-
33、3:2016INTERNATIONAL STANDARD ISO 13400-3:2016(E)Road vehicles Diagnostic communication over Internet Protocol (DoIP) Part 3: Wired vehicle interface based on IEEE 802.31 ScopeThis document specifies the vehicle communication interface and test equipment requirements for a physical and data link laye
34、r 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
35、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 editio
36、n has been modified to include the identification of two Ethernet pin assignments.2 Normative referencesThe following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies.
37、 For undated references, the latest edition of the referenced document (including any amendments) applies.IEC 60950-1, Information technology equipment Safety Part 1: General requirementsIEEE 802.3-2015, IEEE Standard for Ethernet3 Terms and definitionsFor the purposes of this document, the terms an
38、d definitions given in ISO 13400-1 and ISO 14229-1 and the following apply.3.1automatic medium-dependent interface crossoverAuto-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 Ethern
39、et ports and which configures the physical layer transceiver (PHY) according to the type of cable in order to correctly connect Tx and Rx linesterm ISO 2016 All rights reserved 1BS ISO 13400-3:2016ISO 13400-3:2016(E)3.2DoIP Edge Nodehost inside the vehicle, where an Ethernet activation line in accor
40、dance with this part of ISO 13400 is terminated and where the link from the first node/host in the external network is terminated3.3link segmenttwisted-pair link for connecting two physical layers (PHYs) for 100BASE-TXNote 1 to entry: Adapted from IEEE 802.3:2008, 1.4.355.4 Abbreviated termsCat5 cat
41、egory 5 cable as specified in TIA/EIA-568-B1DoIP diagnostics over Internet ProtocolDoEth diagnostics over Internet Protocol on EthernetFMI failure mode indicatorMAC media access controlMDI medium-dependent interfacePE protective earth conductorPHY physical layer transceiverRx receiveSPN suspect para
42、meter numberTx transmit5 ConventionsISO 13400 is based on the conventions discussed in the OSI Service Conventions (ISO/IEC 10731) as they apply to diagnostic services.6 Document overviewISO 13400 is applicable to vehicle diagnostic systems implemented on an IP communication network.ISO 13400 has be
43、en 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
44、 layer services.Figure 1 illustrates the most applicable application implementations utilizing DoIP.2 ISO 2016 All rights reservedBS ISO 13400-3:2016ISO 13400-3:2016(E)Figure 1 DoIP document reference according to the OSI model7 Ethernet physical and data link layer requirements7.1 General informati
45、onEthernet 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) theoreticall
46、y 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
47、 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
48、 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. I
49、SO 2016 All rights reserved 3BS ISO 13400-3:2016ISO 13400-3:2016(E)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 t