1、BS ISO 17987-1:2016Road vehicles LocalInterconnect Network (LIN)Part 1: General information and use casedefinitionBSI Standards PublicationWB11885_BSI_StandardCovs_2013_AW.indd 1 15/05/2013 15:06BS ISO 17987-1:2016 BRITISH STANDARDNational forewordThis British Standard is the UK implementation of IS
2、O 17987-1:2016.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 purport to include all the necessaryprovisi
3、ons of a contract. Users are responsible for its correctapplication. The British Standards Institution 2016. Published by BSI StandardsLimited 2016ISBN 978 0 580 81728 1ICS 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 August 2016.Amendments issued since publicationDate Text affectedBS ISO 17987-1:2016 ISO 2016Road vehicles Local Interconnect Network (LIN) Part 1: General information and use case definitionVhicules routiers Rseau Internet local
5、(LIN) Partie 1: Information gnrale et dfinition des cas dusageINTERNATIONAL STANDARDISO17987-1First edition2016-08-15Reference numberISO 17987-1:2016(E)BS ISO 17987-1:2016ISO 17987-1:2016(E)ii ISO 2016 All rights reservedCOPYRIGHT PROTECTED DOCUMENT ISO 2016, Published in SwitzerlandAll rights reser
6、ved. 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 can be requested from either ISO
7、 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 17987-1:2016ISO 17987-1:2016(E)Foreword ivIntroduction v1 Scope . 12
8、Normative references 13 Terms, definitions and abbreviated terms 13.1 Terms and definitions . 13.2 Abbreviated terms . 24 Conventions . 35 Use case overview and principles . 35.1 Basic principles for use case definition . 35.2 Use case clusters 36 LIN communications system use case definition 36.1 U
9、C 1 LIN master task cluster . 36.1.1 UC 1.1 Generate LIN frame header . 36.2 UC 2 LIN slave task cluster 46.2.1 UC 2.1 Break/sync byte field sequence detector . 46.2.2 UC 2.2 LIN frame processor 46.2.3 UC 2.3 Slave node configuration . 46.2.4 UC 2.4 Slave error status reporting 56.2.5 UC 2.5 Diagnos
10、tic slave node capabilities 56.3 UC 3 LIN communication protocol cluster 66.3.1 UC 3.1 Synchronization 66.3.2 UC 3.2 Checksum . 66.3.3 UC 3.3 Slave bitrate detection . 66.4 UC 4 LIN physical layer cluster 76.4.1 UC 4.1 Performance in non-operation supply voltage range . 76.4.2 UC 4.2 Loss of supply
11、voltage 76.5 UC 5 LIN network management . 76.5.1 UC 5.1 LIN cluster network management 7Bibliography 8 ISO 2016 All rights reserved iiiContents PageBS ISO 17987-1:2016ISO 17987-1:2016(E)ForewordISO (the International Organization for Standardization) is a worldwide federation of national standards
12、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 on that committee. International organizat
13、ions, 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 document and those intended for its furth
14、er 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 Directives, Part 2 (see www.iso.org/directive
15、s).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 development of the document will be in the Intr
16、oduction 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 specific terms and expressions related to c
17、onformity 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/TC 22, Road vehicles, Subcommittee SC 31
18、, Data communication.A list of all parts in the ISO 17987 series can be found on the ISO website.iv ISO 2016 All rights reservedBS ISO 17987-1:2016ISO 17987-1:2016(E)IntroductionISO 17987 (all parts) specifies the use cases, the communication protocol and the physical layer requirements of an in-veh
19、icle communication network called Local Interconnect Network (LIN).The LIN protocol as proposed is an automotive focused low speed universal asynchronous receiver transmitter (UART) based network. Some of the key characteristics of the LIN protocol are signal-based communication, schedule table base
20、d frame transfer, master/slave communication with error detection, node configuration and diagnostic service transportation.The LIN protocol is for low-cost automotive control applications, for example, door module and air condition systems. It serves as a communication infrastructure for low-speed
21、control applications in vehicles by providing: signal-based communication to exchange information between applications in different nodes; bitrate support from 1 kbit/s to 20 kbit/s; deterministic schedule table-based frame communication; network management that wakes up and puts the LIN cluster int
22、o sleep state in a controlled manner; status management that provides error handling and error signalling; transport layer that allows large amount of data to be transported (such as diagnostic services); specification of how to handle diagnostic services; electrical physical layer specifications; n
23、ode description language describing properties of slave nodes; network description file describing behaviour of communication; application programmers interface.ISO 17987 (all parts) is based on the open systems interconnection (OSI) Basic Reference Model as specified in ISO/IEC 7498-1 which structu
24、res communication systems into seven layers.The OSI model structures data communication into seven layers called (top down) application layer (layer 7), presentation layer, session layer, transport layer, network layer, data link layer and physical layer (layer 1). A subset of these layers is used i
25、n ISO 17987 (all parts).ISO 17987 (all parts) 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, especially the application
26、 layer services and the transport layer services, reusable also for other types of networks than LIN. 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.ISO 17987 (all parts) provides all documents and referenc
27、es required to support the implementation of the requirements related to the following. ISO 17987-1: This part provides an overview of the ISO 17987 (all parts) and structure along with the use case definitions and a common set of resources (definitions, references) for use by all subsequent parts.
28、ISO 17987-2: This part specifies the requirements related to the transport protocol and the network layer requirements to transport the PDU of a message between LIN nodes. ISO 17987-3: This part specifies the requirements for implementations of the LIN protocol on the logical level of abstraction. H
29、ardware-related properties are hidden in the defined constraints. ISO 2016 All rights reserved vBS ISO 17987-1:2016ISO 17987-1:2016(E) ISO 17987-4: This part specifies the requirements for implementations of active hardware components which are necessary to interconnect the protocol implementation.
30、ISO/TR 17987-5: This part specifies the LIN application programmers interface (API) and the node configuration and identification services. The node configuration and identification services are specified in the API and define how a slave node is configured and how a slave node uses the identificati
31、on service. ISO 17987-6: This part specifies tests to check the conformance of the LIN protocol implementation according to ISO 17987-2 and ISO 17987-3. This comprises tests for the data link layer, the network layer and the transport layer. ISO 17987-7: This part specifies tests to check the confor
32、mance of the LIN electrical physical layer implementation (logical level of abstraction) according to ISO 17987-4.vi ISO 2016 All rights reservedBS ISO 17987-1:2016INTERNATIONAL STANDARD ISO 17987-1:2016(E)Road vehicles Local Interconnect Network (LIN) Part 1: General information and use case defini
33、tion1 ScopeThis document gives an overview of the structure and the partitioning of ISO 17987 (all parts). In addition, it outlines the use case where the ISO 17987 (all parts) will be used. The terminology defined in this document is common for all LIN communication systems and is used throughout I
34、SO 17987 (all parts).This document has been established in order to define the use cases for LIN.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
35、 cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.ISO 17987-4, Road vehicles Local Interconnect Network (LIN) Part 4: Electrical Physical Layer (EPL) specification 12 V/24 V3 Terms, definitions and abbreviated terms3.1 Terms and
36、definitionsFor the purposes of this document, 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
37、.iso.org/obp3.1.1break fieldentity that consists of a dominant part, the break and a recessive part, the break delimiter3.1.2byte field10 bit entity, which consists of a dominant start bit, 8 bit payload (least significant bit first) and a recessive stop bit3.1.3checksumframe verification byte3.1.4f
38、rameentity that consists of the header and the PDU including payload and a checksum (3.1.3) byte at the end ISO 2016 All rights reserved 1BS ISO 17987-1:2016ISO 17987-1:2016(E)3.1.5LIN masterunique node in a LIN network that schedules the frames (3.1.4) and connected to a back bone network3.1.6LIN s
39、lavenode that serves the communication requests of a LIN master (3.1.5)3.1.7master tasktask in the LIN master (3.1.5) sending all headers on the bus according to schedule table (3.1.10)3.1.8node address for diagnosticsNADdiagnostic address assigned to each LIN slave (3.1.6) node3.1.9protected identi
40、fier8 bit entity containing the 6 bit frame identifier (least significant bits) together with two parity bits3.1.10schedule tablelist of frames (3.1.4) specifies the frames, their order and time distances to each other used for communication on the LIN bus3.1.11slave tasktask in a LIN node responsib
41、le for listening to all headers on the bus and reacting accordingly, i.e. either publish a frame response or subscribe to it (or ignore it)3.1.12sync byte fieldbyte with fixed value located between the break field (3.1.1) and the protected identifier (3.1.9)3.2 Abbreviated termsAPI application progr
42、ammers interfaceLDF LIN description fileNAD node address for diagnosticsOEM original equipment manufacturerOSI open systems interconnectionPDU protocol data unitPID protected identifierSAP service access pointUC use caseUDS unified diagnostic services2 ISO 2016 All rights reservedBS ISO 17987-1:2016
43、ISO 17987-1:2016(E)4 ConventionsISO 17987 (all parts) is based on the conventions specified in the OSI Service Conventions (see ISO/IEC 10731) as they apply for physical layer, data link layer, network and transport protocol and diagnostic services.5 Use case overview and principles5.1 Basic princip
44、les for use case definitionBasic principles have been established as a guideline to define the use cases: pointing out features which support usual operating modes of networked systems in OEMs products; pointing out features which support future expected properties of networked systems in OEMs produ
45、cts; comparing the contrast between normal operating functionalities in the absence of errors and limp-home operation functionalities in the presence of errors.5.2 Use case clustersThis subclause defines use case clusters of the LIN communications system.Table 1 provides an overview of the main LIN
46、use case clusters. A main LIN use case cluster may have one or more use case definitions.Table 1 LIN communications system main use case clustersMain title of use case cluster DescriptionLIN master task The purpose of these use cases is the description of LIN specific frame handling in the LIN maste
47、r node based on schedule tables comprising frame order and timing.LIN slave task The purpose of these use cases is the description of main tasks slave nodes. Besides the frame processing, other tasks are reporting of errors to the LIN network, the reconfiguration of slave nodes and diagnostic capabi
48、lities.LIN communication protocol The purpose of these use cases is the description of the protocol-driven property range of systems and applications when using LIN for their internal communication.LIN physical layer The purpose of these use cases is the description of the electrical physical layer
49、properties when interconnecting the logical links of the distributed LIN ECUs by electrical hardware components inside a vehicle.LIN network management The purpose of these use cases is the description of the LIN network management.6 LIN communications system use case definition6.1 UC 1 LIN master task cluster6.1.1 UC 1.1 Generate LIN frame headerTable 2 specifies the use case of the generation of the LIN frame header. ISO 2016 All rights reserved 3BS ISO 17987-1:2016ISO 17987-1:2016(E)Table 2 Generate L