1、BS ISO 14230-2:2016Road vehicles Diagnosticcommunication over K-Line(DoK-Line)Part 2: Data link layerBSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06BS ISO 14230-2:2016 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO 14230-2:201
2、6.It supersedes BS ISO 14230-2:2013 which is withdrawn.The UK participation in its preparation was entrusted to TechnicalCommittee AUE/16, Data Communication (Road Vehicles).A list of organizations represented on this committee can beobtained on request to its secretary.This publication does not pur
3、port to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. The British Standards Institution 2016. Published by BSI StandardsLimited 2016ISBN 978 0 580 91602 1ICS 43.180Compliance with a British Standard cannot confer immunity fromlegal obligations.T
4、his British Standard was published under the authority of theStandards Policy and Strategy Committee on 31 August 2016.Amendments issued since publicationDate Text affectedBS ISO 14230-2:2016 ISO 2016Road vehicles Diagnostic communication over K-Line (DoK-Line) Part 2: Data link layerVhicules routie
5、rs Communication de diagnostic sur la ligne K (DoK-Line) Partie 2: Couche de liaison de donnesINTERNATIONAL STANDARDISO14230-2Third edition2016-08-15Reference numberISO 14230-2:2016(E)BS ISO 14230-2:2016ISO 14230-2:2016(E)ii ISO 2016 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2016, Publishe
6、d in SwitzerlandAll 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
7、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 CP 401CH-1214 Vernier, Geneva, SwitzerlandTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgBS ISO 14230-2:2016ISO 14230-2:2016(E)Forewo
8、rd vIntroduction vi1 Scope . 12 Normative references 13 Terms, definitions, symbols and abbreviated terms . 13.1 Terms and definitions . 13.2 Symbols and abbreviated terms. 24 Conventions . 35 Document overview. 46 Physical bus topology 57 Data link layer overview . 77.1 General . 77.2 Format descri
9、ption of data link layer services 77.3 Services provided by the data link layer to higher layers 77.4 Specification of DoK-Line data link layer service primitives . 87.4.1 DL_Data.request 87.4.2 DL_Data.confirm . 87.4.3 DL_Data_FB.indication 97.4.4 DL_Data.indication . 97.4.5 DoK-Line_Init.request 9
10、7.4.6 DoK-Line_Initialize.confirm 97.4.7 DoK-Line_ChangeParameter.request .107.4.8 DoK-Line_ChangeParameter.confirm 107.5 Service data unit specification 107.5.1 SA, Source Address 107.5.2 TA, Target Address .107.5.3 TAtype, target address type . 117.5.4 117.5.5 117.5.6 117.5.7 . 127.5.8 . 127.5.9 .
11、127.5.10 .137.5.11 138 Protocol initialization 148.1 General 148.2 Timing parameters for 5-BAUD_INIT . 148.3 Protocol determination 148.3.1 5-BAUD_INIT according to ISO 9141 .148.3.2 5-BAUD_INIT according to this document 168.3.3 FAST_INIT according to this document .178.3.4 FAST_INIT according to I
12、SO 142304 .198.3.5 Client protocol determination by server (ECU) key bytes 208.3.6 Initial data exchange after successful completion of initialization .228.4 Protocol specific key bytes . 228.4.1 Format of key bytes 228.4.2 Key bytes for emissions-related OBD protocols of ISO 9141-2 238.4.3 Key byte
13、s for emissions-related OBD protocol ISO 14230-4 238.4.4 Key bytes for enhanced diagnostics with support of ISO 14230-4 .248.4.5 Calculation of decimal value of key bytes 25 ISO 2016 All rights reserved iiiContents PageBS ISO 14230-2:2016ISO 14230-2:2016(E)9 Message definition .259.1 Message structu
14、re . 259.2 Message header . 269.2.1 Format byte (FMT) 269.2.2 Target address byte (TA) 269.2.3 Source address byte (SA) . 279.2.4 Length byte (LEN) 279.2.5 Message header configurations . 279.3 Protocol data unit (PDU) . 289.4 Checksum byte (CS) . 2810 Protocol timing requirements .2910.1 General ti
15、ming measurement requirements 2910.2 Protocol timing parameter definition 2910.2.1 Inter-byte and inter-message timing parameters 2910.2.2 Inter-byte timing parameter set 2910.3 Inter-byte message timing . 3010.4 Data link layer timing at T-Data interface . 3211 Communication services .3411.1 StartC
16、ommunication service . 3411.1.1 Service definition3411.1.2 Implementation .3511.2 StopCommunication service 3611.2.1 Service definition3611.2.2 Implementation .3611.3 AccessTimingParameter service . 3711.3.1 Service definition3711.3.2 Implementation .3811.4 SendData service 4011.4.1 Service definiti
17、on4012 Data collisions 4113 Error handling4113.1 Error handling during physical/functional 5-BAUD initialization 4113.1.1 Client (external test equipment) error handling during physical/functional 5-BAUD-INIT . 4113.1.2 Server (ECU) error handling during physical/functional 5-BAUD_INIT 4213.2 Error
18、handling during physical/functional FAST_INIT .4213.2.1 Client (external test equipment) error handling during physical/functional FAST_INIT .4213.2.2 Server (ECU) error handling during physical FAST_INIT.4313.2.3 Server (ECU) error handling during functional FAST_INIT (normal timing only) 4313.3 Er
19、ror handling after physical/functional initialization 4413.3.1 Client (external test equipment) communication error handling (after physical/functional initialization) .4413.3.2 Server (ECU) communication error handling after physical initialization .4413.3.3 Server (ECU) error handling after functi
20、onal initialization .45Annex A (normative) Server and client addresses for 5-BAUD_INIT .46Annex B (informative) Recommended server and client addresses 47Annex C (informative) Protocol comparison of initialization sequence 48Bibliography .49iv ISO 2016 All rights reservedBS ISO 14230-2:2016ISO 14230
21、-2:2016(E)ForewordISO (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
22、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 al
23、l 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. Th
24、is 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
25、 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
26、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 ISOs adherence to the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT) see the following URL
27、: www.iso.org/iso/foreword.html.The committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 31, Data communication.This third edition cancels and replaces the second edition (ISO 14230-2:2013), which has been technically revised.A list of parts in the ISO 14230 series ca
28、n be found on the ISO website. ISO 2016 All rights reserved vBS ISO 14230-2:2016ISO 14230-2:2016(E)IntroductionThis document has been established in order to define common requirements for vehicle diagnostic systems implemented on K-Line (UART based) communication link, as specified in ISO 14230-1.T
29、o achieve this, it is based on the Open Systems Interconnection (OSI) Basic Reference Model in accordance with 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 14230 are broken into the following: Dia
30、gnostic services (layer 7), specified in ISO 14229-1, ISO 14229-6; Presentation layer (layer 6): vehicle manufacturer specific; legislated WWH-OBD: ISO 27145-2, SAE 1930-DA, SAE J1979-DA, SAE J2012-DA, SAE J1939:2011, Appendix C (SPN), SAE J1939-73:2010, Appendix A (FMI); Session layer services (lay
31、er 5): legislated OBD: specified in ISO 14229-2; legislated WWH-OBD: specified in ISO 14229-2; Transport layer services (layer 4), specified in ISO 14230-2; Network layer services (layer 3), specified in ISO 14230-2; Data link layer (layer 2), specified in ISO 14230-4, ISO 14230-2; Physical layer (l
32、ayer 1), specified in ISO 14230-1;in accordance with Table 1.Table 1 Enhanced and legislated OBD diagnostic specifications applicable to the OSI layersOSI seven layeraEnhanced diagnosticsLegislated OBD (On-Board Diagnostics)Legislated WWH-OBD (On-Board Diagnostics)Application (layer 7)ISO 14229-1, I
33、SO 14229-6ISO 15031-5 ISO 14229-1, ISO 27145-3Presentation (layer 6)vehicle manufacturer specificISO 15031-2, ISO 15031-5, ISO 15031-6, SAE J1930-DA, SAE J1979-DA, SAE J2012-DAISO 27145-2, SAE 1930-DA, SAE J1979-DA, SAE J2012-DA, SAE J1939:2011, Appendix C (SPN), SAE J193973:2010, Appendix A (FMI)Se
34、ssion (layer 5) ISO 14229-2Transport (layer 4)ISO 14230-2 ISO 15765-2ISO 15765-4ISO 15765-4, ISO 15765-2ISO 27145-4Network (layer 3)Data link (layer 2) ISO 14230-2 ISO 11898-1ISO 15765-4, ISO 11898-1Physical (layer 1) ISO 14230-1ISO 11898-1, ISO 11898-2ISO 11898-1, ISO 11898-2aSeven layers according
35、 to ISO/IEC 7498-1 and ISO/IEC 10731.The application layer services covered by ISO 14229-6 have been defined in compliance with diagnostic services established in ISO 14229-1 and ISO 15031-5, but are not limited to use only with them. vi ISO 2016 All rights reservedBS ISO 14230-2:2016ISO 14230-2:201
36、6(E)ISO 14229-6 is also compatible with most diagnostic services defined in national standards or vehicle manufacturers specifications. ISO 2016 All rights reserved viiBS ISO 14230-2:2016BS ISO 14230-2:2016Road vehicles Diagnostic communication over K-Line (DoK-Line) Part 2: Data link layer1 ScopeTh
37、is document specifies data link layer services tailored to meet the requirements of UART-based vehicle communication systems on K-Line as specified in ISO 14230-1. It has been defined in accordance with the diagnostic services established in ISO 14229-1 and ISO 15031-5, but is not limited to use wit
38、h them and is also compatible with most other communication needs for in-vehicle networks. The protocol specifies an unconfirmed communication.The diagnostic communication over K-Line (DoK-Line) protocol supports the standardized service primitive interface as specified in ISO 14229-2.This document
39、provides the data link layer services to support different application layer implementations like the following: enhanced vehicle diagnostics (emissions-related system diagnostics beyond legislated functionality, non-emissions-related system diagnostics); emissions-related OBD as specified in ISO 15
40、031, SAE J1979-DA and SAE J2012-DA; in addition, this document clarifies the differences in initialization for K-line protocols defined in ISO 9141 and ISO 14230. This is important since a server supports only one of the protocols mentioned above and the client has to handle the coexistence of all p
41、rotocols during the protocol determination procedure.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. For undated references, the
42、latest edition of the referenced document (including any amendments) applies.ISO 14230-4, Road vehicles Diagnostic systems Keyword Protocol 2000 Part 4: Requirements for emission-related systems3 Terms, definitions, symbols and abbreviated terms3.1 Terms and definitionsFor the purposes of this docum
43、ent, the following terms and definitions apply.ISO and IEC maintain terminological databases for use in standardization at the following addresses: IEC Electropedia: available at http:/www.electropedia.org/ ISO Online browsing platform: available at http:/www.iso.org/obp INTERNATIONAL STANDARD ISO 1
44、4230-2:2016(E) ISO 2016 All rights reserved 1BS ISO 14230-2:2016ISO 14230-2:2016(E)3.1.15 baud initialization5-BAUD_INITstarts with bus idle and ends with inverted address byte sent by the server3.1.2fast initializationFAST_INITstarts with bus idle and ends with the reception of all positive respons
45、es of the StartCommunication service from all addressed servers3.1.3topologyserial link between client and servers and consists of a K-Line and an optional L-Line3.1.4serverfunction that is part of an electronic control unit and that provides the diagnostic services3.1.5clientfunction that is part o
46、f the tester and that makes use of the diagnostic servicesNote 1 to entry: A tester normally makes use of other functions such as database management, specific interpretation, human-machine interface.3.2 Symbols and abbreviated terms5-BAUD_INIT 5-baud initializationISO 9141-2 5-BAUD_INIT Protocol on
47、 K-Line according to ISO 9141-2 including 5-BAUD_INITISO 14230-2 5-BAUD_INIT Protocol on K-Line according to ISO 14230-2 including 5-BAUD_INITISO 14230-2 FAST_INIT Protocol on K-Line according to ISO 14230-2 including FAST_INITISO 14230-4 5-BAUD_INIT Protocol on K-Line according to ISO 14230-4 inclu
48、ding 5-BAUD_INITISO 14230-4 FAST_INIT Protocol on K-Line according to ISO 14230-4 including FAST_INITbus converter electronic control unit that links bus systemsclient external test equipmentconfirm confirmation service primitiveCvt Convention: M = mandatory, C = conditional, U = user-optionalECU el
49、ectronic control unitFAST_INIT fast initializationFB first byteFMT format bytegateway linking hardware between bus systemsDA destination addressDoK-Line Diagnostic communication over K-Line2 ISO 2016 All rights reservedBS ISO 14230-2:2016ISO 14230-2:2016(E)DoK-Line_SA data link source addressDoK-Line_TA data link target addressDoK-Line_TAtype data link target address typeindication indication service primitiveLEN Length byteMtype message typerequest request service primitiveDL_Data data link dataDoK-Line_PCI data
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1