1、BSI Standards PublicationBS ISO 14229-7:2015Road vehicles Unified diagnostic services (UDS) Part 7: UDS on local interconnect network (UDSonLIN)BS ISO 14229-7:2015 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO14229-7:2015.The UK participation in its preparati
2、on was entrusted to TechnicalCommittee AUE/16, Data Communication (Road Vehicles).A list of organizations represented on this committee can be obtained on request to its secretary.This publication does not purport to include all the necessary provisions of a contract. Users are responsible for its c
3、orrect application. The British Standards Institution 2015.Published by BSI Standards Limited 2015ISBN 978 0 580 83064 8ICS 43.180Compliance with a British Standard cannot confer immunity from legal obligations.This British Standard was published under the authority of the Standards Policy and Strat
4、egy Committee on 31 March 2015.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dBS ISO 14229-7:2015 ISO 2015Road vehicles Unified diagnostic services (UDS) Part 7: UDS on local interconnect network (UDSonLIN)Vhicules routiers Services de diagnostic unifis (SDU) Partie 7: SDU
5、 sur limplmentation LIN (SDUsurLIN)INTERNATIONAL STANDARDISO14229-7First edition2015-02-01Reference numberISO 14229-7:2015(E)BS ISO 14229-7:2015ISO 14229-7:2015(E)ii ISO 2015 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2015All rights reserved. Unless otherwise specified, no part of this publ
6、ication 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 ISOs member body in the coun
7、try of the requester.ISO copyright officeCase postale 56 CH-1211 Geneva 20Tel. + 41 22 749 01 11Fax + 41 22 749 09 47E-mail copyrightiso.orgWeb www.iso.orgPublished in SwitzerlandBS ISO 14229-7:2015ISO 14229-7:2015(E)Contents PageForeword vIntroduction vi1 Scope . 12 Normative references 13 Terms, d
8、efinitions, symbols, and abbreviated terms . 23.1 Terms and definitions . 23.2 Symbols and abbreviated terms. 24 Conventions . 25 Document overview. 26 UDSonLIN implementation requirements . 46.1 General . 46.2 Definition of diagnostic classes 46.2.1 Overview . 46.2.2 Diagnostic class I 46.2.3 Diagn
9、ostic class II 46.2.4 Diagnostic class III 46.3 LIN node requirements 56.3.1 Master node requirements 56.3.2 Slave node requirements 56.4 Signal-based diagnostics 56.4.1 Slave implementation 56.4.2 Master implementation . 66.5 Tool suite support . 67 Unified diagnostic services implementation on LIN
10、 . 67.1 UDSonLIN services overview . 67.2 Diagnostic and communication control functional unit 77.2.1 CommunicationControl (0x28) service 77.2.2 ResponseOnEvent (0x86) service . 88 Application layer requirements . 88.1 Application layer services . 88.2 Application layer protocol . 88.3 Application l
11、ayer timing 88.3.1 General 88.3.2 Application layer timing parameter values. 99 Presentation layer requirements .1110 Session layer requirements 1111 Transport/network layer interface adaptation 1111.1 General information 1111.2 LIN transport/network layer interface adaptation 1111.2.1 Mapping of da
12、ta link independent service primitives onto LIN data link dependent service primitives 1111.2.2 Mapping of T_PDU onto N_PDU for message transmission1112 Network layer diagnostic implementation requirements .1212.1 LIN slave node network layer requirements 1212.2 LIN master node network layer require
13、ments .1312.2.1 Network address requirements . 1312.2.2 Use of functional addressing 1313 Data link layer diagnostic implementation requirements 13 ISO 2015 All rights reserved iiiBS ISO 14229-7:2015ISO 14229-7:2015(E)Bibliography .14iv ISO 2015 All rights reservedBS ISO 14229-7:2015ISO 14229-7:2015
14、(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 which a
15、 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 matte
16、rs 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 docu
17、ment 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 su
18、ch 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 doe
19、s 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 WTO principles in the Technical Barriers to Trade (TBT) see the following URL: Foreword - Supplementary informa
20、tionThe committee responsible for this document is ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment.ISO 14229 consists of the following parts, under the general title Road vehicles Unified diagnostic services (UDS): Part 1: Specification and requirements Part 2: Sessi
21、on layer services Part 3: Unified diagnostic services on CAN implementation (UDSonCAN) Part 4: Unified diagnostic services on FlexRay implementation (UDSonFR) Part 5: Unified diagnostic services on Internet Protocol implementation (UDSonIP) Part 6: Unified diagnostic services on K-Line implementatio
22、n (UDSonK-Line) Part 7: Unified diagnostic services on Local Interconnect Network implementation (UDSonLIN) ISO 2015 All rights reserved vBS ISO 14229-7:2015ISO 14229-7:2015(E)IntroductionThis part of ISO 14229 has been established in order to enable the implementation of unified diagnostic services
23、, as specified in ISO 14229-1, on UART-based local interconnect networks (UDSonLIN).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 thi
24、s model, the services specified by ISO 14229 are divided into the following. Application layer (layer 7), unified diagnostic services specified in ISO 14229-1, ISO 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 14229-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standards, and ISO 27
25、145-3 WWH-OBD. Presentation layer (layer 6), vehicle manufacturer specific, ISO27145-2 WWH-OBD. Session layer services (layer 5) specified in ISO 14229-2. Transport layer services (layer 4), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 17987-2 LIN, ISO
26、27145-4 WWH-OBD. Network layer services (layer 3), specified in ISO 15765-2 DoCAN, ISO 10681-2 Communication on FlexRay, ISO 13400-2 DoIP, ISO 17987-2 LIN, ISO 27145-4 WWH-OBD. Data link layer (layer 2), specified in ISO 11898-1, ISO 11898-2, ISO 17458-2, ISO 13400-3, IEEE 802.3, ISO 14230-2, ISO 17
27、987-3 LIN and further standards, ISO 27145-4 WWH-OBD. Physical layer (layer 1), specified in ISO 11898-1, ISO 11898-2, ISO 17458-4, ISO 13400-3, IEEE 802.3, ISO 14230-1, ISO 17987-4 LIN and further standards, ISO 27145-4 WWH-OBD.These services should be in accordance with Table 1.Table 1 LIN enhance
28、d diagnostics, legislated OBD and WWH-OBD specification reference applicable to the OSI layersApplicabilityOSI seven layerEnhanced diagnostics servicesWWH-OBDSeven layer according to ISO/IEC 7498-1 and ISO/IEC 10731Application (layer 7)ISO 14229-1, ISO 14229-3 UDSonCAN, ISO 14229-4 UDSonFR, ISO 1422
29、9-5 UDSonIP, ISO 14229-6 UDSonK-Line, ISO 14229-7 UDSonLIN, further standardsISO 27145-3Presentation (layer 6)Vehicle manufacturer specific ISO 27145-2Session (layer 5)ISO 14229-2Transport (layer 4)ISO 15765-2ISO 10681-2 ISO 13400-2Not appli-cableISO 17987-2Further standardsISO 27145-4Network (layer
30、 3)Further standardsData link (layer 2)ISO 11898-1, ISO 11898-2ISO 17458-2ISO 13400-3, IEEE 802.3ISO 14230-2 ISO 17987-3Further standardsPhysical (layer 1)ISO 17458-4 ISO 14230-1ISO 17987-4Further standardsThe titles of future parts will be drafted as follows: Part n: Unified diagnostic services on
31、implementation (UDSon)vi ISO 2015 All rights reservedBS ISO 14229-7:2015Road vehicles Unified diagnostic services (UDS) Part 7: UDS on local interconnect network (UDSonLIN)1 ScopeThis part of ISO 14229 specifies the implementation of a common set of unified diagnostic services (UDS) on UART-based lo
32、cal interconnect networks in road vehicles. The UDSonLIN diagnostics defines methods to implement diagnostic data transfer between a client and the LIN slave nodes through the LIN master node.LIN slave nodes support three different diagnostic classes as defined in ISO 17987.UDSonLIN references ISO 1
33、4229-1 and ISO 14229-2 and specifies implementation requirements of the following: diagnostic services to be used for diagnostic communication over LIN, server memory programming for in-vehicle LIN servers with an external test equipment, and configuration of a LIN slave node as specified in ISO 179
34、87.NOTE UDSonLIN does not specify any requirement for the in-vehicle LIN bus architecture.This part of ISO 14229 makes reference to information contained in the following: ISO 14229-1, ISO 14229-2, and ISO 17987 (all parts).This part of ISO 14229 does not include any redundant information of the abo
35、ve mentioned documents. It focuses on the following: additional requirements specific to the implementation of UDSonLIN network, and specific restrictions in the implementation of UDSonLIN network.2 Normative referencesThe following documents, in whole or in part, are normatively referenced in this
36、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 14229-1, Road vehicles Unified diagnostic services (UDS) Part 1: Specification and re
37、quirementsISO 14229-2, Road vehicles Unified diagnostic services (UDS) Part 2: Session layer servicesISO 17987-3, Road vehicles Local Interconnect Network (LIN) Part 3: Protocol specificationINTERNATIONAL STANDARD ISO 14229-7:2015(E) ISO 2015 All rights reserved 1BS ISO 14229-7:2015ISO 14229-7:2015(
38、E)3 Terms, definitions, symbols, and abbreviated terms3.1 Terms and definitionsFor the purposes of this document, the terms and definitions given in ISO 14229-1, ISO 14229-2, and ISO 17987 (all parts) apply.3.2 Symbols and abbreviated termsAE address extensionCF consecutive frameDA destination addre
39、ssFC flow controlFF first frameID identifierMtype message typeNAD node addressNCF node configuration fileP2 server response timeSA source addressSF single frameSFID sub-function identifierSTminseparation timeTA target addressUART universal asynchronous receiver transmitter4 ConventionsThis part of I
40、SO 14229 is based on the conventions discussed in the OSI Service Conventions (ISO/IEC 10731) as they apply for diagnostic services.5 Document overviewFigure 1 illustrates the document references from ISO 14229-1, ISO 14229-2, and ISO 17987 (all parts). ISO 14229-7 uses only a subset of the diagnost
41、ic services defined in ISO 14229-1 (see Table 3).2 ISO 2015 All rights reservedBS ISO 14229-7:2015ISO 14229-7:2015(E)Figure 1 UDSonLIN document reference according to OSI model ISO 2015 All rights reserved 3BS ISO 14229-7:2015ISO 14229-7:2015(E)6 UDSonLIN implementation requirements6.1 GeneralThis c
42、lause defines how the diagnostic services, as defined in ISO 14229-1, apply to LIN.To allow a common implementation of application layer and session layer for ISO 17987 and other communications, this part of ISO 14229 uses the session layer protocol as defined in ISO 14229-2 and focuses on necessary
43、 modifications and interfaces to adopt it to ISO 17987- series.The subfunction parameter definitions take into account that the most significant bit is used for the suppressPosRspMsgIndicationBit parameter as defined in ISO 14229-1.It is the vehicle manufacturers responsibility to setup the LIN mast
44、er and slave nodes to exchange UDSonLIN information according to ISO 17987- series.6.2 Definition of diagnostic classes6.2.1 OverviewArchitectural, diagnostic communication performance, and transport protocol needs of slave nodes are accommodated by dividing diagnostic services functionality into th
45、ree diagnostic classes.Therefore, a diagnostic class is assigned to each slave node according to its level of diagnostic functionality and complexity.6.2.2 Diagnostic class ISmart and simple devices like intelligent sensors and actuators requiring none or very low amount of diagnostic functionality.
46、 Actuator control, sensor reading, and fault memory handling is done by the master node, using signal carrying frames. Therefore, specific diagnostic support for these tasks is not required. Fault indication is always signal-based.6.2.3 Diagnostic class IIA diagnostic class II slave node is similar
47、to a diagnostic class I slave node, but it provides node identification support. The extended node identification is normally required by vehicle manufacturers. Testers or master nodes use ISO 14229-1 diagnostic services to request the extended node identification information. Actuator control, sens
48、or reading, and fault memory handling is done by the master node, using signal carrying frames. Therefore, specific diagnostic support for these tasks is not required. Fault indication is always signal-based.6.2.4 Diagnostic class IIIDiagnostic class III slave nodes are devices with enhanced applica
49、tion functions typically performing their own local information processing (e.g. function controllers, local sensor/actuator loops). The slave nodes execute tasks beyond the basic sensor/actuator functionality and, therefore, require extended diagnostic support. Direct actuator control and raw sensor data are often not exchanged with the master node and, therefore, not included in signal carrying frames. ISO 14229-1 diagnostic services for I/O control, sensor value reading, and parameter configura
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1