1、raising standards worldwideNO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAWBSI Standards PublicationBS ISO 15765-1:2011Road vehicles Diagnosticcommunication over ControllerArea Network (DoCAN)Part 1: General information and use casedefinitionBS ISO 15765-1:2011 BRITISH STANDARD
2、National forewordThis British Standard is the UK implementation of ISO 15765-1:2011.The UK participation in its preparation was entrusted to TechnicalCommittee AUE/16, Electrical and electronic equipment.A list of organizations represented on this committee can beobtained on request to its secretary
3、.This publication does not purport to include all the necessaryprovisions of a contract. Users are responsible for its correctapplication. BSI 2011ISBN 978 0 580 69108 9ICS 43.040.15Compliance with a British Standard cannot confer immunity fromlegal obligations.This British Standard was published un
4、der the authority of theStandards Policy and Strategy Committee on 31 October 2011.Amendments issued since publicationDate Text affectedBS ISO 15765-1:2011Road vehicles Diagnostic communication over Controller Area Network (DoCAN) Part 1:General information and use case definitionVhicules routiers C
5、ommunication de diagnostic sur gestionnaire de rseau de communication (DoCAN) Partie 1: Informations gnrales et dfinition de cas dusage ISO 2011Reference numberISO 15765-1:2011(E)Second edition2011-10-15ISO15765-1INTERNATIONAL STANDARDBS ISO 15765-1:2011ISO 15765-1:2011(E)COPYRIGHT PROTECTED DOCUMEN
6、T ISO 2011All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in
7、the country 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 Switzerlandii ISO 2011 All rights reservedBS ISO 15765-1:2011ISO 15765-1:2011(E) ISO 2011 All rights reserved iiiContents Pa
8、geForeword ivIntroduction v1 Scope 12 Normative references .13 Terms, definitions and abbreviated terms 13.1 Terms and definitions .13.2 Abbreviated terms .14 Conventions 25 Overview of ISO 15765 .25.1 General .25.2 Open Systems Interconnection (OSI) model .26 Diagnostic network architecture .46.1 D
9、iagnostic network .46.2 Diagnostic sub-network .46.3 Diagnostic gateway .47 DoCAN use case overview and principles .47.1 Overview 47.2 DoCAN use case clusters .48 DoCAN use case definition .58.1 Use case 1 Vehicle inspection and repair 58.2 Use case 2 Vehicle/ECU software reprogramming .58.3 Use cas
10、e 3 Vehicle/ECU assembly line inspection and repair .6Bibliography .7BS ISO 15765-1:2011ForewordISO (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 t
11、hrough 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 colla
12、borates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.The main task of technical committees is to prepare International Stand
13、ards. Draft International Standards adopted by the technical committees are circulated to the member bodies for voting. Publication as an International Standard requires approval by at least 75 % of the member bodies casting a vote.Attention is drawn to the possibility that some of the elements of t
14、his document may be the subject of patent rights. ISO shall not be held responsible for identifying any or all such patent rights.ISO 15765-1 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 3, Electrical and electronic equipment.This second edition cancels and replaces
15、the first edition (ISO 15765-1:2004), 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): Part 1: General information and use case definition Part 2: Transport protocol and
16、network layer services Part 3: Implementation of unified diagnostic services (UDS on CAN) Part 4: Requirements for emissions-related systemsISO 15765-1:2011(E)iv ISO 2011 All rights reservedBS ISO 15765-1:2011IntroductionThis document set includes the communication between the vehicles on-board diag
17、nostic (OBD) systems and test equipment implemented across vehicles within the scope of the legislated OBD.It has been established in order to apply the emissions-related diagnostic services as specified in ISO 15031-5.To achieve this, it is based on the Open Systems Interconnection (OSI) Basic Refe
18、rence Model in accordance with ISO/IEC 7498-1 and ISO/IEC 10731, which structure communication systems into seven layers as shown in Table 1.Table 1 Enhanced and legislated-OBD diagnostic specifications applicable to the OSI layersApplicability OSI 7 layersVehicle manufacturer enhanced diagnosticsLe
19、gislated OBD (on-board diagnostics)Legislated WWH-OBD (on-board diagnostics)Seven layer according to ISO/IEC 7498-1 and ISO/IEC 10731Application (layer 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
20、-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 J1939-73:2010, Appendix A (FMI)Session (layer 5) ISO 14229-2Transport protocol (layer 4)ISO 15765-2 ISO 15765-2ISO 15765-4ISO 15765-4, ISO 15765-2ISO 27145-4Network
21、 (layer 3)Data link (layer 2) ISO 11898-1, ISO 11898-2, ISO 11898-3, ISO 11898-5, or user definedISO 11898-1, ISO 11898-2ISO 15765-4, ISO 11898-1, ISO 11898-2Physical (layer 1)The application layer services covered by ISO 14229-3 have been defined in compliance with diagnostic services established i
22、n ISO 14229-1 and ISO 15031-5, but are not limited to use only with them. ISO 14229-3 is also compatible with most diagnostic services defined in national standards or vehicle manufacturers specifications.The transport protocol and network layer services covered by this part of ISO 15765 have been d
23、efined to be independent of the physical layer implemented, and a physical layer is only specified for legislated OBD.For other application areas, ISO 15765 can be used with any CAN physical layer.ISO 15765-1:2011(E) ISO 2011 All rights reserved vBS ISO 15765-1:2011BS ISO 15765-1:2011INTERNATIONAL S
24、TANDARD ISO 15765-1:2011(E)Road vehicles Diagnostic communication over Controller Area Network (DoCAN) Part 1:General information and use case definition1 ScopeThis part of ISO 15765 gives an overview of the structure and the partitioning of ISO 15765, and shows the relationships between the differe
25、nt parts. It also defines the diagnostic network architecture. The terminology defined in this part of ISO 15765 is common for all diagnostic networks and is used throughout all parts of ISO 15765.The diagnostic communication over controller area network (DoCAN) protocol supports the standardized se
26、rvice primitive interface as specified in ISO 14229-2.2 Normative referencesThe following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (includin
27、g any amendments) applies.ISO/IEC 7498-1, Information technology Open Systems Interconnection Basic Reference Model: The Basic Model3 Terms, definitions and abbreviated terms3.1 Terms and definitionsFor the purposes of this document, the terms and definitions given in ISO/IEC 7498-1 apply.3.2 Abbrev
28、iated termsFor the purposes of this document, the following abbreviated terms apply.DoCAN diagnostic communication over controller area networkCAN controller area networkECU electronic control unitFMI failure mode indicatorOBD on-board diagnosticsSPN suspect parameter numberWWH-OBD world-wide harmon
29、ized on-board diagnostics ISO 2011 All rights reserved 1BS ISO 15765-1:20114 ConventionsISO 15765 is based on the conventions discussed in the OSI Service Conventions (ISO/IEC 10731) as they apply for diagnostic services.5 Overview of ISO 157655.1 GeneralISO 15765 is applicable to vehicle diagnostic
30、 systems implemented on a CAN communication network as specified in ISO 11898.ISO 15765 has been established in order to define common requirements for vehicle diagnostic systems implemented on a CAN communication link as specified in ISO 11898.Although primarily intended for diagnostic systems, ISO
31、 15765 has been developed to also meet requirements from other CAN-based systems needing a network layer protocol.5.2 Open Systems Interconnection (OSI) modelISO 15765 is based on the Open Systems Interconnection (OSI) Basic Reference Model as specified in ISO/IEC 7498-1 which structures communicati
32、on systems into seven layers.All parts of ISO 15765 are guided by the OSI service conventions as specified in ISO/IEC 10731 to the extent that they are applicable to diagnostic services. These conventions define the interaction between the service user and the service provider through service primit
33、ives.The aim of this subclause is to give an overview of the OSI model and show how it has been used as a guideline for this part of ISO 15765. It also shows how the OSI service conventions have been applied to ISO 15765.The OSI model structures data communication into seven layers called, from top
34、down, application layer (layer 7), presentation layer (layer 6), session layer (layer 5), transport protocol layer (layer 4), network layer (layer 3), data link layer (layer 2) and physical layer (layer 1). A subset of these layers is used in ISO 15765, which specifies the application, session, tran
35、sport protocol, network, data link and physical layers for DoCAN.The purpose of each layer is to provide services to the layer above. The application layer provides services to the diagnostic application. The active parts of each layer, implemented in software, hardware or any combination of softwar
36、e and hardware, are called entities. In the OSI model, communication takes place between entities of the same layer in different nodes. Such communicating entities of the same layer are called peer entities.The services provided by one layer are available at the Service Access Point (SAP) of that la
37、yer. The layer above can use them by exchanging data parameters.ISO 15765 distinguishes between the services provided by a layer to the layer above it and the protocol used by the layer to send a message between the peer entities of that layer. The reason for this distinction is to make the services
38、, especially the application layer services and the transport layer services, reusable for CAN and for other network types. In this way, the protocol is hidden from the service user and it is possible to change the protocol if special system requirements demand it.Figure 1 illustrates the most appli
39、cable application implementations utilizing the DoCAN protocol.ISO 15765-1:2011(E)2 ISO 2011 All rights reservedBS ISO 15765-1:2011ISO 14229-1 UDS Specification and requirementsOSI Layer 7ApplicationOSI Layer 6PresentationOSI Layer 5SessionOSI Layer 4TransportOSI Layer 3NetworkOSI Layer 1PhysicalOSI
40、 Layer 2Data LinkISO 14229-2 UDS Session layer servicesISO 14229-3 UDSonCAN1 : 1ISO 14229-2 UDS Session layer servicessubsetISO 27145-2 WWH-OBDISO 15765-2 DoCAN Transportprotocol and networklayer servicesISO 11898-1 CAN Data link layer and physical signallingStandardized Service Primitive InterfaceI
41、SO 15765-1 DoCANGeneral information anduse case definitionISO 15765-4 DoCAN Requirements for emissions-related systemsISO 11898 CAN Part 1: Data link layer and physical signallingPart 2: High-speed medium access unitPart 3: Low-speed, fault-tolerant, medium-dependent interfacePart 5: High-speed medi
42、um access unitwith low-power modeISO 27145-3 WWH-OBDVehicle manufacturer specificEnhancedDiagnosticsWWH-OBDISO 15031-2, -5, -6 Emissions-related OBD data definitionISO 15031-5 Emissions-related OBD servicesEmissions -related OBDISO 11898 CANPart 1: Data link layer and physical signallingPart 2: High
43、-speed medium access unitCAN diagnostic communication protocol (DoCAN)Figure 1 DoCAN document reference according to the OSI modelISO 15765-1:2011(E) ISO 2011 All rights reserved 3BS ISO 15765-1:20116 Diagnostic network architecture6.1 Diagnostic networkThe diagnostic network, as a whole, contains a
44、ll the clients and servers that can communicate with each other.A diagnostic network can range from a simple point-to-point connection between a client and a server to a complex distributed network architecture with several physical sub-networks interconnected by diagnostic gateways.6.2 Diagnostic s
45、ub-networkAll clients and servers of a sub-network are connected to the same physical communication link.In the scope of ISO 15765, all clients and servers of a sub-network are connected to the same physical CAN network and are able to communicate directly with each other.6.3 Diagnostic gatewayA dia
46、gnostic gateway is a node in the network that is physically connected to two (or more) sub-networks and has the ability to transfer diagnostic messages between the sub-networks.Connecting individual sub-networks via diagnostic gateways creates larger diagnostic network architectures.7 DoCAN use case
47、 overview and principles7.1 OverviewThe individual use cases covered by the DoCAN protocol derive from the use of diagnostic communication in the following areas: vehicle/ECU engineering (development); vehicle/ECU manufacturing (production plant, assembly line); service (dealership, aftermarket repa
48、ir shop); legislated inspections (emission-check, safety inspection).NOTE ISO 15765 will only focus on communication protocol provisions which are necessary to support these use cases. It will not specify data contents, signal update rate, signal availability, etc.7.2 DoCAN use case clustersTable 2
49、provides an overview of the main DoCAN use case clusters which are applicable to systems which support the DoCAN protocol. A main DoCAN use case cluster may have one or more use case definitions.ISO 15765-1:2011(E)4 ISO 2011 All rights reservedBS ISO 15765-1:2011Table 2 DoCAN main use case clusters# Main title of use case cluster Brief description1 Vehicle inspection and repair The purpose of this use case requires that all data necessary to perform an I/M (Inspection/Maintenance) test as well as a repair be made