ISO 17987-1:2016
(Main)Road vehicles — Local Interconnect Network (LIN) — Part 1: General information and use case definition
Road vehicles — Local Interconnect Network (LIN) — Part 1: General information and use case definition
ISO 17987-1:2016 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 ISO 17987-1:2016 is common for all LIN communication systems and is used throughout ISO 17987 (all parts). It has been established in order to define the use cases for LIN.
Véhicules routiers — Réseau Internet local (LIN) — Partie 1: Information générale et définition des cas d'usage
General Information
Standards Content (Sample)
INTERNATIONAL ISO
STANDARD 17987-1
First edition
2016-08-15
Road vehicles — Local Interconnect
Network (LIN) —
Part 1:
General information and use case
definition
Véhicules routiers — Réseau Internet local (LIN) —
Partie 1: Information générale et définition des cas d’usage
Reference number
ISO 17987-1:2016(E)
©
ISO 2016
---------------------- Page: 1 ----------------------
ISO 17987-1:2016(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2016, Published in Switzerland
All 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 can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Ch. de Blandonnet 8 • CP 401
CH-1214 Vernier, Geneva, Switzerland
Tel. +41 22 749 01 11
Fax +41 22 749 09 47
copyright@iso.org
www.iso.org
ii © ISO 2016 – All rights reserved
---------------------- Page: 2 ----------------------
ISO 17987-1:2016(E)
Contents Page
Foreword .iv
Introduction .v
1 Scope . 1
2 Normative references . 1
3 Terms, definitions and abbreviated terms . 1
3.1 Terms and definitions . 1
3.2 Abbreviated terms . 2
4 Conventions . 3
5 Use case overview and principles . 3
5.1 Basic principles for use case definition . 3
5.2 Use case clusters . 3
6 LIN communications system use case definition . 3
6.1 UC 1 LIN master task cluster . 3
6.1.1 UC 1.1 Generate LIN frame header . 3
6.2 UC 2 LIN slave task cluster . 4
6.2.1 UC 2.1 Break/sync byte field sequence detector . 4
6.2.2 UC 2.2 LIN frame processor . 4
6.2.3 UC 2.3 Slave node configuration . 4
6.2.4 UC 2.4 Slave error status reporting. 5
6.2.5 UC 2.5 Diagnostic slave node capabilities . 5
6.3 UC 3 LIN communication protocol cluster . 6
6.3.1 UC 3.1 Synchronization . 6
6.3.2 UC 3.2 Checksum . 6
6.3.3 UC 3.3 Slave bitrate detection . 6
6.4 UC 4 LIN physical layer cluster. 7
6.4.1 UC 4.1 Performance in non-operation supply voltage range . 7
6.4.2 UC 4.2 Loss of supply voltage . 7
6.5 UC 5 LIN network management . 7
6.5.1 UC 5.1 LIN cluster network management . 7
Bibliography . 8
© ISO 2016 – All rights reserved iii
---------------------- Page: 3 ----------------------
ISO 17987-1:2016(E)
Foreword
ISO (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 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 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. 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 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 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 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 ISO’s 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, Data
communication.
A list of all parts in the ISO 17987 series can be found on the ISO website.
iv © ISO 2016 – All rights reserved
---------------------- Page: 4 ----------------------
ISO 17987-1:2016(E)
Introduction
ISO 17987 (all parts) specifies the use cases, the communication protocol and the physical layer
requirements of an in-vehicle 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 based 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 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 into 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;
— node description language describing properties of slave nodes;
— network description file describing behaviour of communication;
— application programmer’s interface.
ISO 17987 (all parts) is based on the open systems interconnection (OSI) Basic Reference Model as
specified in ISO/IEC 7498-1 which structures 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 in 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 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 references 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.
— 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. Hardware-related properties are hidden in the defined constraints.
© ISO 2016 – All rights reserved v
---------------------- Page: 5 ----------------------
ISO 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.
— 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
identification 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 conformance of the LIN electrical physical layer
implementation (logical level of abstraction) according to ISO 17987-4.
vi © ISO 2016 – All rights reserved
---------------------- Page: 6 ----------------------
INTERNATIONAL STANDARD ISO 17987-1:2016(E)
Road vehicles — Local Interconnect Network (LIN) —
Part 1:
General information and use case definition
1 Scope
This 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 ISO 17987 (all parts).
This document has been established in order to define the use cases for LIN.
2 Normative references
The 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 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 V
3 Terms, definitions and abbreviated terms
3.1 Terms and definitions
For 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.iso.org/obp
3.1.1
break field
entity that consists of a dominant part, the break and a recessive part, the break delimiter
3.1.2
byte field
10 bit entity, which consists of a dominant start bit, 8 bit payload (least significant bit first) and a
recessive stop bit
3.1.3
checksum
frame verification
...
DRAFT INTERNATIONAL STANDARD
ISO/DIS 17987-1.2
ISO/TC 22/SC 31 Secretariat: DIN
Voting begins on: Voting terminates on:
2015-10-05 2015-12-05
Road vehicles — Local Interconnect Network (LIN) —
Part 1:
General information and use case definition
Véhicules routiers — Réseau Internet local (LIN) —
Partie 1: Information générale et définition des cas d’usage
ICS: 43.040.15
THIS DOCUMENT IS A DRAFT CIRCULATED
FOR COMMENT AND APPROVAL. IT IS
THEREFORE SUBJECT TO CHANGE AND MAY
NOT BE REFERRED TO AS AN INTERNATIONAL
STANDARD UNTIL PUBLISHED AS SUCH.
IN ADDITION TO THEIR EVALUATION AS
BEING ACCEPTABLE FOR INDUSTRIAL,
TECHNOLOGICAL, COMMERCIAL AND
USER PURPOSES, DRAFT INTERNATIONAL
STANDARDS MAY ON OCCASION HAVE TO
BE CONSIDERED IN THE LIGHT OF THEIR
POTENTIAL TO BECOME STANDARDS TO
WHICH REFERENCE MAY BE MADE IN
Reference number
NATIONAL REGULATIONS.
ISO/DIS 17987-1.2:2015(E)
RECIPIENTS OF THIS DRAFT ARE INVITED
TO SUBMIT, WITH THEIR COMMENTS,
NOTIFICATION OF ANY RELEVANT PATENT
RIGHTS OF WHICH THEY ARE AWARE AND TO
©
PROVIDE SUPPORTING DOCUMENTATION. ISO 2015
---------------------- Page: 1 ----------------------
ISO/DIS 17987-1.2:2015(E)
COPYRIGHT PROTECTED DOCUMENT
© ISO 2015, Published in Switzerland
All 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 can be requested from either ISO at the address below or ISO’s member body in the country of
the requester.
ISO copyright office
Ch. de Blandonnet 8 • CP 401
CH-1214 Vernier, Geneva, Switzerland
Tel. +41 22 749 01 11
Fax +41 22 749 09 47
copyright@iso.org
www.iso.org
ii © ISO 2015 – All rights reserved
---------------------- Page: 2 ----------------------
ISO/DIS 17987-1.2
Contents Page
Foreword . iv
Introduction . v
1 Scope . 1
2 Normative references . 1
3 Terms, definitions, symbols and abbreviated terms . 1
3.1 Terms and definitions . 1
3.2 Abbreviated terms . 2
4 Conventions . 3
5 Use case overview and principles . 3
5.1 Basic principles for use case definition . 3
5.2 Use case clusters . 3
6 LIN communications system use case definition . 4
6.1 UC 1 LIN master task cluster . 4
6.2 UC 2 LIN slave task cluster . 4
6.3 UC 3 LIN communication protocol cluster . 7
6.4 UC 4 LIN physical layer cluster . 8
6.5 UC 5 LIN network management . 9
Bibliography . 10
© ISO 2015 – All rights reserved iii
---------------------- Page: 3 ----------------------
ISO/DIS 17987-1.2
Foreword
ISO (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 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 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 Standards. 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 this document may be the subject of patent
rights. ISO shall not be held responsible for identifying any or all such patent rights.
ISO 17987-1 was prepared by Technical Committee ISO/TC 22, Road vehicles, Subcommittee SC 31,
Electrical and electronic equipment.
ISO 17987 consists of the following parts, under the general title Road vehicles — Local Interconnect Network
(LIN):
Part 1: General information and use case definition
Part 2: Transport protocol and network layer services
Part 3: Protocol specification
Part 4: Electrical Physical Layer (EPL) specification 12 V / 24 V
Part 5: Application Programmers Interface (API)
Part 6: Protocol conformance test specification
Part 7: Electrical Physical Layer (EPL) conformance test specification
iv © ISO 2015 – All rights reserved
---------------------- Page: 4 ----------------------
ISO/DIS 17987-1.2
Introduction
This document set specifies the use cases, the communication protocol and physical layer requirements of an
in-vehicle 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 based 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 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 into 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;
Node description language describing properties of slave nodes;
Network description file describing behaviour of communication;
Application programmer's interface;
ISO 17987 is based on the Open Systems Interconnection (OSI) Basic Reference Model as specified in
ISO/IEC 7498-1 which structures 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 in ISO 17987.
ISO 17987 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 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 2015 – All rights reserved v
---------------------- Page: 5 ----------------------
ISO/DIS 17987-1.2
This document set provides all documents and references required to support the implementation of the
requirements related to.
Part 1: General information and use case definitions
This part provides an overview of the document set and structure along with the use case definitions and
a common set of resources (definitions, references) for use by all subsequent parts.
Part 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.
Part 3:
This part specifies the requirements for implementations of the LIN protocol on the logical level of
abstraction. Hardware related properties are hidden in the defined constraints.
Part 4:
This part specifies the requirements for implementations of active hardware components which are
necessary to interconnect the protocol implementation.
Part 5 (published as a non-normative technical report):
This part specifies the LIN API (Application Programmers Interface) 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 identification service.
Part 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.
Part 7:
This part specifies tests to check the conformance of the LIN electrical physical layer implementation
(logical level of abstraction) according to ISO 17987-4.
vi © ISO 2015 – All rights reserved
---------------------- Page: 6 ----------------------
DRAFT INTERNATIONAL STANDARD ISO/DIS 17987-1.2
1 Road vehicles — Local Interconnect Network (LIN) — Part 1:
2 General information and use case definition
3 1 Scope
4 This part of ISO 17987 gives an overview of the structure and the partitioning of ISO 17987. In addition, it
5 outlines the use case where the ISO 17987 document set will be used. The terminology defined in this part of
6 ISO 17987 is common for all LIN communication systems and is used throughout all parts of ISO 17987.
7 This part of ISO 17987 has been established in order to define the use cases for LIN.
8 2 Normative references
9 The following referenced documents are indispensable for the application of this document. For dated
10 references, only the edition cited applies. For undated references, the latest edition of the referenced
11 document (including any amendments) applies.
12 ISO 17987 (Part 2, 3, 4, 6 and 7), Road vehicles – Local Interconnect Network (LIN)
13 3 Terms, definitions, symbols and abbreviated terms
14 3.1 Terms and definitions
15 For the purposes of this document, the following terms and definitions apply.
16 3.1.1
17 break field
18 entety that consists of a dominant part, the break and a recessive part, the break delimiter
19 3.1.2
20 byte field
21 10 bit entity, which consists of a dominant start bit, 8 bit payload (least significant bit first) and a recessive stop
22 bit.
23 3.1.3
24 checksum
25 frame verification byte
26 3.1.4
27 frame
28 entity that consists of the header and the PDU including payload and a checksum byte at the end
29 3.1.5
30 LIN master
31 unique node in a LIN network that schedules the frames and connected to a back bone network
© ISO 2015 – All rights reserved 1
---------------------- Page: 7 ----------------------
ISO/DIS 17987-1.2
32 3.1.6
33 LIN slave
34 node that serves the communication requests of a LIN master
35 3.1.1
36 master task
37 task in the LIN master sending all headers on the bus according to schedule table definition
38 3.1.7
39 NAD
40 diagnostic address assigned to each LIN slave node
41 3.1.8
42 protected identifier
43 an 8-bit entity containing the 6 bit frame identifier (least significant bits) together with two parity bits
44 3.1.2
45 schedule table
46 list of frames specifies the frames, their order and time distances to each other used for communication on the
47 LIN bus
48 3.1.3
49 slave task
50 task in a LIN node responsible for listening to all headers on the bus and react accordingly, i.e. either publish
51 a frame response or sub
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.