GB/T 42691.2-2023 (GB/T42691.2-2023, GBT 42691.2-2023, GBT42691.2-2023) & related versions
Standard ID | Contents [version] | USD | STEP2 | [PDF] delivered in | Standard Title (Description) | See Detail | Status | Similar PDF |
GB/T 42691.2-2023 | English | 1025 |
Add to Cart
|
0-9 seconds. Auto delivery.
|
Road vehicles -- Local Interconnect Network(LIN) -- Part 2: Transport protocol and network layer services
|
GB/T 42691.2-2023
| Valid |
GBT 42691.2-2023
|
Buy with any currencies (Euro, JPY, KRW...): GB/T 42691.2-2023 Preview this PDF: GB/T 42691.2-2023
GB/T 42691.2-2023
GB
NATIONAL STANDARD OF THE
PEOPLE’S REPUBLIC OF CHINA
ICS 43.040.15
CCS T 36
GB/T 42691.2-2023 / ISO 17987-2:2016
Road Vehicles – Local Interconnect Network (LIN)
– Part 2: Transport Protocol and Network Layer Services
(ISO 17987-2:2016, IDT)
服务
ISSUED ON: MAY 23, 2023
IMPLEMENTED ON: DECEMBER 01, 2023
Issued by: State Administration for Market Regulation;
Standardization Administration of the People’s Republic of China.
Table of Contents
Foreword ... 4
Introduction ... 6
1 Scope ... 8
2 Normative References ... 9
3 Terms, Definitions, Symbols and Abbreviated Terms ... 10
3.1 Terms and definitions ... 10
3.2 Symbols ... 11
3.3 Abbreviated terms ... 11
4 Conventions ... 13
5 Network Management ... 13
5.1 Network management general information ... 13
5.2 LIN node communication state diagram ... 13
5.3 Wake up ... 14
5.4 Go-to-sleep ... 16
6 Network Layer ... 16
6.1 General ... 16
6.2 Format description of network layer services ... 17
6.3 Internal operation of network layer ... 17
6.4 Service data unit specification ... 18
6.5 Services provided by network layer to higher layers ... 21
7 Transport Layer ... 23
7.1 Protocol functions ... 23
7.2 Single frame transmission ... 23
7.3 Multiple frame transmission ... 24
7.4 Transport layer protocol data units ... 26
7.5 Protocol control information specification ... 28
7.6 Network layer timing ... 30
8 Data Link Layer ... 38
8.1 Data link layer service parameters ... 38
8.2 Data link layer interface services ... 39
8.3 Mapping of the N_PDU fields ... 39
8.4 Transport layer PDU structure and communication ... 40
9 Diagnostic Communication Requirements ... 42
9.1 Definition of diagnostic classes ... 42
9.2 Diagnostic messages ... 44
9.3 Using the transport layer ... 44
9.4 Slave node diagnostic timing requirements ... 46
9.5 Response pending ... 48
9.6 Transport protocol handling in LIN master ... 48
9.7 Transmission handler requirements ... 54
9.8 Diagnostic service prioritization ... 62
10 LIN Node Capability Language (NCL)... 62
10.1 General ... 62
10.2 Plug and play workflow concept ... 63
11 Node Capability File (NCF) ... 65
11.1 Overview of NCF syntax ... 65
11.2 Global structure definition ... 66
11.3 Node definition... 67
11.4 NCF example ... 72
12 LIN Description File (LDF) ... 73
12.1 General ... 73
12.2 Overview of LDF syntax ... 73
12.3 LDF definition ... 74
12.4 LDF example ... 89
Bibliography ... 92
Foreword
This Document was drafted as per the rules specified in GB/T 1.1-2020 Directives for
Standardization – Part 1: Rules for the Structure and Drafting of Standardizing Documents.
This Document was Part 2 of GB/T 42691 Road Vehicles – Local Interconnect Network (LIN).
GB/T 42691 has already published the following parts:
--- 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 12V/24V;
--- Part 5: Application Programmers Interface (API);
--- Part 6: Protocol Conformance Test Specification;
--- Part 7: Electrical Physical Layer (EPL) Conformance Test Specification;
--- Part 8: Electrical Physical Layer (EPL) Specification: LIN over DC Powerline (DC-LIN).
This Document equivalently adopts ISO 17987-2:2016 Road Vehicles – Local Interconnect
Network (LIN) – Part 2: Transport Protocol and Network Layer Services.
Please note some contents of this Document may involve patents. The issuing agency of this
Document shall not assume the responsibility to identify these patents.
This Document was proposed by the Ministry of Industry and Information Technology of the
People’s Republic of China.
This Document shall be under the jurisdiction of National Technical Committee of Auto
Standardization (SAC/TC 114).
Drafting organizations of this Document: Pan-Asia Technical Automotive Center Co., Ltd.;
China Automotive Technology and Research Center Co., Ltd.; Great Wall Motor Company
Limited; Huizhou Desay SV Automotive Co., Ltd.; FAW-Volkswagen Automotive Co., Ltd.;
Dongfeng Motor Group Co., Ltd.; Geely Automobile Research Institute (Ningbo) Co., Ltd.;
SAIC-GM-Wuling Automobile Co., Ltd.; SAIC Maxus Automotive Co., Ltd.; China FAW
Group Corporation; National New Energy Vehicle Technology Innovation Center Co., Ltd.; and
China Automotive Research Institute (Tianjin) Automotive Engineering Research Institute Co.,
Ltd.
Chief drafting staffs of this Document: Wu Shang, Zhu Tong, Qu Yunge, Wu Hanbing, Wang
Road Vehicles – Local Interconnect Network (LIN)
– Part 2: Transport Protocol and Network Layer Services
1 Scope
This document specifies a transport protocol and network layer services tailored to meet the
requirements of LIN-based vehicle network systems on local interconnect networks. The
protocol specifies an unconfirmed communication.
The LIN protocol supports the standardized service primitive interface as specified in ISO
14229-2.
This document provides the transport protocol and network layer services to support different
application layer implementations like
— normal communication messages, and
— diagnostic communication messages.
The transport layer defines transportation of data that is contained in one or more frames. The
transport layer messages are transported by diagnostic frames. A standardized API is specified
for the transport layer.
Use of the transport layer is targeting systems where diagnostics are performed on the backbone
bus (e.g., CAN) and where the system builder wants to use the same diagnostic capabilities on
the LIN sub-bus clusters. The messages are in fact identical to the ISO 15765-2 and the PDUs
carrying the messages are very similar.
The goals of the transport layer are
— low load on LIN master node,
— to provide full (or a subset thereof) diagnostics directly on the LIN slave nodes, and
— targeting clusters built with powerful LIN nodes (not the mainstream low cost).
A typical system configuration is shown in Figure 1.
receiver/sender, a timeout mechanism allows detection of a transmission failure (see 7.6.2).
7.4 Transport layer protocol data units
7.4.1 Protocol data unit types
The communication between the peer protocol entities of the network layer in different nodes
is done by means of exchanging N_PDUs.
This document specifies three different types of transport layer protocol data units:
— SingleFrame (SF N_PDU);
— FirstFrame (FF N_PDU);
— ConsecutiveFrame (CF N_PDU);
which are used to establish a communication path between the peer network layer entities, to
exchange communication parameters, to transmit user data and to release communication
resources.
7.4.2 SF N_PDU
The SF N_PDU is identified by the SingleFrame protocol control information (SF N_PCI). The
SF N_PDU shall be sent out by the sending network entity and received by all network entities.
Only the one entity that is addressed by the N_AI shall proceed this request for the duration of
the segmented message transmission. Other nodes which are not addressed shall reject already
pending connections. It shall be sent out to transfer a service data unit that can be transferred
via a single service request to the data link layer, and to transfer unsegmented messages.
7.4.3 FF N_PDU
The FF N_PDU is identified by the FirstFrame protocol control information (FF N_PCI). The
FF N_PDU shall be sent out by the sending network entity and received by all network entities.
Only the one entity that is addressed by the N_AI shall proceed this request for the duration of
the segmented message transmission. Other nodes which are not addressed shall reject already
pending connections. It identifies the first N_PDU of a segmented message transmitted by a
network sending entity and received by a receiving network entity. The receiving network layer
entity shall start assembling the segmented message on receipt of an FF N_PDU.
7.4.4 CF N_PDU
The CF N_PDU is identified by the ConsecutiveFrame protocol control information (CF
N_PCI). The CF N_PDU transfers segments (N_Data) of the service data unit message data
(< MessageData>). All N_PDUs transmitted by the sending entity after the FF N_PDU shall be
encoded as CF N_PDUs. The receiving entity shall pass the assembled message to the service
user of the network receiving entity after the last CF N_PDU has been received. The CF N_PDU
......
Standard ID | GB/T 42691.2-2023 (GB/T42691.2-2023) | Description (Translated English) | Road vehicles -- Local Interconnect Network(LIN) -- Part 2: Transport protocol and network layer services | Sector / Industry | National Standard (Recommended) | Classification of Chinese Standard | T36 | Classification of International Standard | 43.040.15 | Word Count Estimation | 74,759 | Date of Issue | 2023-05-23 | Date of Implementation | 2023-12-01 | Drafting Organization | Pan Asia Automotive Technology Center Co., Ltd., China Automotive Technology and Research Center Co., Ltd., Great Wall Motor Co., Ltd., Huizhou Desay SV Automotive Electronics Co., Ltd., FAW-Volkswagen Co., Ltd., Dongfeng Motor Group Co., Ltd., Geely Automobile Research Institute (Ningbo) Co., Ltd., SAIC-GM-Wuling Automobile Co., Ltd., SAIC Maxus Automobile Co., Ltd., China FAW Co., Ltd., Beijing National New Energy Vehicle Technology Innovation Center Co., Ltd., China Automotive Research Institute (Tianjin) Automotive Engineering Research Academy Limited | Administrative Organization | National Automotive Standardization Technical Committee (SAC/TC 114) | Proposing organization | Ministry of Industry and Information Technology of the People's Republic of China | Issuing agency(ies) | State Administration for Market Regulation, National Standardization Management Committee |
|