1、BSI Standards PublicationBS ISO 15765-2:2016Road vehicles Diagnosticcommunication over ControllerArea Network (DoCAN)Part 2: Transport protocol and networklayer servicesBS ISO 15765-2:2016 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of ISO 15765-2:2016. It superse
2、des BS ISO 15765-2: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 secretary.This publication does not purport to in
3、clude 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 87374 4 ICS 43.040.15 Compliance with a British Standard cannot confer immunity from legal obligations.Thi
4、s British Standard was published under the authority of the Standards Policy and Strategy Committee on 30 April 2016.Amendments/corrigenda issued since publicationDate T e x t a f f e c t e dBS ISO 15765-2:2016 ISO 2016Road vehicles Diagnostic communication over Controller Area Network (DoCAN) Part
5、2: Transport protocol and network layer servicesVhicules routiers Communication de diagnostic sur gest ionnaire de rseau de communication (DoCAN) Partie 2: Protocole de transport et services de la couche rseauINTERNATIONAL STANDARDISO15765-2Third edition2016-04-01Reference numberISO 15765-2:2016(E)B
6、S ISO 15765-2:2016ISO 15765-2: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 by any means, electronic or mechanica
7、l, 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 CP 401CH-1214 Vernier, Geneva, Switzerl
8、andTel. +41 22 749 01 11Fax +41 22 749 09 47copyrightiso.orgwww.iso.orgBS ISO 15765-2:2016ISO 15765-2:2016(E)Foreword vIntroduction vi1 Scope . 12 Normative references 13 Terms, definitions and abbreviated terms 23.1 Terms and definitions . 23.2 Abbreviated terms . 24 Conventions . 35 Document overv
9、iew. 36 ISO 11898-1 CAN data link layer extension 46.1 CLASSICAL CAN and CAN FD frame feature comparison . 46.2 Illustration of CAN parameters for transport protocol and network layer services 56.3 Additional requirements for CAN FD . 67 Network layer overview 77.1 General . 77.2 Services provided b
10、y network layer to higher layers 77.3 Internal operation of network layer . 88 Network layer services 108.1 General 108.2 Specification of network layer service primitives .118.2.1 N_USData.request .118.2.2 N_USData.confirm 118.2.3 N_USData_FF.indication 118.2.4 N_USData.indication 128.2.5 N_ChangeP
11、arameters.request . 128.2.6 N_ChangeParameter.confirm 138.3 Service data unit specification 138.3.1 Mtype, message type .138.3.2 N_AI, address information 138.3.3 168.3.4 168.3.5 . 168.3.6 .168.3.7 . 168.3.8 179 Transport layer protocol .189.1 Protocol functions . 189.2 SingleFrame transmission 189.
12、2.1 SingleFrame transmission with TX_DL = 8.189.2.2 SingleFrame transmission with TX_D 8 199.3 Multiple-frame transmission . 199.4 Transport layer protocol data units . 219.4.1 Protocol data unit types 219.4.2 SF N_PDU . 219.4.3 FF N_PDU . 219.4.4 CF N_PDU . 219.4.5 FC N_PDU . 219.4.6 Protocol data
13、unit field description 229.5 Transmit data link layer data length (TX_DL) configuration229.5.1 Definition of TX_DL configuration values 229.5.2 Creating CAN frames based on N_TAtype and TX_DL .23 ISO 2016 All rights reserved iiiContents PageBS ISO 15765-2:2016ISO 15765-2:2016(E)9.5.3 Verifying the c
14、orrectness of received CAN frames .239.5.4 Receiver determination RX_DL . 259.6 Protocol control information specification . 259.6.1 N_PCI . 259.6.2 SingleFrame N_PCI parameter definition 269.6.3 FirstFrame N_PCI parameter definition 289.6.4 ConsecutiveFrame N_PCI parameter definition .299.6.5 FlowC
15、ontrol N_PCI parameter definition 309.7 Maximum number of FC.WAIT frame transmissions (N_WFTmax) .339.8 Network layer timing 339.8.1 Timing parameters339.8.2 Network layer timeouts 379.8.3 Unexpected arrival of N_PDU . 379.8.4 Wait frame error handling 399.9 Interleaving of messages . 3910 Data link
16、 layer usage .3910.1 Data link layer service parameters . 3910.2 Data link layer interface services . 3910.2.1 L_Data.request 3910.2.2 L_Data.confirm 3910.2.3 L_Data.indication 4010.3 Mapping of the N_PDU fields 4010.3.1 Addressing formats 4010.3.2 Normal addressing 4010.3.3 Normal fixed addressing
17、4110.3.4 Extended addressing .4110.3.5 Mixed addressing4210.4 CAN frame data length code (DLC) . 4310.4.1 DLC parameter 4310.4.2 CAN frame data 4310.4.3 Data length code (DLC) error handling .45Annex A (normative) Use of normal fixed and mixed addressing with data link layer according to SAE J1939 .
18、46Annex B (normative) Reserved CAN IDs 49Bibliography .50iv ISO 2016 All rights reservedBS ISO 15765-2:2016ISO 15765-2:2016(E)ForewordISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing Internation
19、al 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,
20、 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
21、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 el
22、ements 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 recei
23、ved (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 ISOs adh
24、erence to the WTO principles in the Technical Barriers to Trade (TBT) see the following URL: Foreword - Supplementary informationThe 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
25、 (ISO 15765-2:2011), which has been technically revised.ISO 15765 consists of the following parts, under the general title Road vehicles Diagnostic communication over Controller Area Network (DoCAN)1): Part 1: General information and use case definition Part 2: Transport protocol and network layer s
26、ervices Part 4: Requirements for emissions-related systems1) ISO 15765-3 Implementation of unified diagnostic services (UDS on CAN) has been withdrawn and replaced by ISO 14229-3 Road vehicles Unified diagnostic services (UDS) Part 3: Unified diagnostic services on CAN implementation (UDSonCAN) ISO
27、2016 All rights reserved vBS ISO 15765-2:2016ISO 15765-2:2016(E)IntroductionThis part of ISO 15765 has been established in order to define common requirements for vehicle diagnostic systems implemented on a controller area network (CAN) communication link, as specified in ISO 11898-1. Although prima
28、rily intended for diagnostic systems, it also meets requirements from other CAN-based systems needing a network layer protocol.To 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 communicat
29、ion systems into seven layers as shown in Table 1.Table 1 Enhanced and legislated on-board diagnostics specifications applicable to the OSI layersOSI 7 layers aVehicle- manufacturer- enhanced diagnosticsLegislated OBD (on-board diagnostics)Legislated WWH-OBD (on-board diagnostics)Application (layer
30、7)ISO 14229-1, ISO 14229-3ISO 15031-5 ISO 27145-3, ISO 14229-1Presentation (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-DA (SPNs), SAE J1939-73 Appendix A (FMIs)Ses
31、sion (layer 5) ISO 14229-2Transport protocol (layer 4)ISO 15765-2 ISO 15765-2ISO 15765-4ISO 15765-4, ISO 15765-2ISO 27145-4Network (layer 3)Data link (layer 2) ISO 11898-1 ISO 11898-1ISO 15765-4, ISO 11898-1Physical (layer 1)ISO 11898-1, ISO 11898-2, ISO 11898-3, or vehicle manufacturer specificISO
32、11898-1, ISO 11898-2ISO 11898-1, ISO 11898-2a7 layers according to ISO/IEC 7498-1 and ISO/IEC 10731The application layer services covered by ISO 14229-3 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. ISO
33、14229-3 is also compatible with most diagnostic services defined in national standards or vehicle manufacturers specifications.For other application areas, ISO 15765 can be used with any CAN physical layer.vi ISO 2016 All rights reservedBS ISO 15765-2:2016Road vehicles Diagnostic communication over
34、Controller Area Network (DoCAN) Part 2: Transport protocol and network layer services1 ScopeThis part of ISO 15765 specifies a transport protocol and network layer services tailored to meet the requirements of CAN-based vehicle network systems on controller area networks as specified in ISO 11898-1.
35、 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 with them and is also compatible with most other communication needs for in-vehicle networks.ISO 11898-1 specifies variable length CAN frames with a maximum payload si
36、ze dependent on the protocol device used. A CLASSICAL CAN protocol device can transmit/receive frames with payload sizes ranging from 0 bytes to 8 bytes per frame. A CAN FD (flexible data rate) protocol device can transmit/receive frames with payload sizes from 0 bytes to 64 bytes. A CAN FD protocol
37、 device is also capable of transmitting/receiving CLASSICAL CAN frames.The diagnostic communication over controller area network (DoCAN) protocol supports the standardized service primitive interface as specified in ISO 14229-2 (UDS).This part of ISO 15765 provides the transport protocol and network
38、 layer services to support different application-layer implementations such as enhanced vehicle diagnostics (emissions-related system diagnostics beyond legislated functionality, non-emissions-related system diagnostics), emissions-related on-board diagnostics (OBD) as specified in ISO 15031, world-
39、wide harmonized on-board diagnostics (WWH-OBD) as specified in ISO 27145, and end of life activation on on-board pyrotechnic devices (ISO 26021).The transport protocol specifies an unconfirmed communication.NOTE This part of ISO 15765 does not determine whether CLASSICAL CAN, CAN FD or both are reco
40、mmended or required to be implemented by other standards referencing this part of ISO 15765.2 Normative referencesThe 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.
41、 For undated references, the latest edition of the referenced document (including any amendments) applies.ISO/IEC 7498-1, Information technology Open Systems Interconnection Basic Reference Model: The Basic Model Part 1ISO 11898-1:20152), Road vehicles Controller area network (CAN) Part 1: Data link
42、 layer and physical signalling2) The dated reference is to the first version of ISO 11898-1 that includes the definition of CAN FD. Versions after the dated reference are also valid. Future dated references are valid for CAN FD.INTERNATIONAL STANDARD ISO 15765-2:2016(E) ISO 2016 All rights reserved
43、1BS ISO 15765-2:2016ISO 15765-2:2016(E)3 Terms, definitions and abbreviated terms3.1 Terms and definitionsFor the purposes of this document, the terms and definitions given in ISO/IEC 7498-1, ISO 11898-1 and the following apply.3.1.1CAN frame data lengthCAN_DLphysical length of CAN frame data/payloa
44、d in bytesNote 1 to entry: See Table 3.3.1.2transmit data link layer data lengthTX_DLconfigures the maximum usable payload length in bytes of the data link layer in the transmitter for the application that implements the network layer as defined in this part of ISO 15765Note 1 to entry: The TX_DL is
45、 a fixed configuration value on the sender side for the PDU transmission.3.1.3Received data link layer data lengthRX_DLretrieved maximum usable payload length in bytes of the data link layer in the receiver for the application that implements the network layer as defined in this part of ISO 15765Not
46、e 1 to entry: The RX_DL value is retrieved from the FirstFrame (FF) CAN_DL of a segmented PDU and is used to verify the correct data length of ConsecutiveFrames (CF).3.2 Abbreviated termsFor the purposes of this part of ISO 15765, the following abbreviated terms apply.BRS bit rate switchBS BlockSize
47、CAN controller area networkCAN_DL CAN frame data link layer data length in bytesCAN FD controller area network with flexible data rate and larger payload as defined in ISO 11898-1CLASSICAL CAN controller area network with static data rate and up to 8 data bytes as defined in ISO 11898-1CF Consecutiv
48、eFrameCTS continue to sendDLC CAN frame data link layer data length codeDoCAN diagnostic communication over CANECU electronic control unitFC FlowControlFF FirstFrameFF_DL FirstFrame data length in bytesFMI failure mode indicatorFS FlowStatusMtype message typeN/A not applicable2 ISO 2016 All rights r
49、eservedBS ISO 15765-2:2016ISO 15765-2:2016(E)N_AE network address extensionN_AI network address informationN_Ar network layer timing parameter ArN_As network layer timing parameter AsN_Br network layer timing parameter BrN_Bs network layer timing parameter BsN_ChangeParameter network layer service nameN_Cr network layer timing parameter CrN_Cs network layer timing parameter CsN_Data network dataN_PCI network protocol control informationN_PCItype network protocol control information typeN_PDU network protocol data unitN_
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1