Valid

GB/T 42691.2-2023Road vehicles - Local Interconnect Network(LIN) - Part 2: Transport protocol and network layer services (English PDF)

道路车辆 局域互联网络(LIN) 第2部分:传输层协议和网络层服务

Preview PDF

This is a limited preview

Buy now to download the full PDF (92 pages)

Need quotation for your management?

Get a formal quotation for GB/T 42691.2-2023 in 30 minutes.

Issued by

State Administration for Market Regulation

Level / Type

National · Recommended

Issue date

May 23, 2023

Implementation date

December 1, 2023

Scope

GB/T 42691.2-2023 is the English-translated version of 道路车辆 局域互联网络(LIN) 第2部分:传输层协议和网络层服务.

GB/T 42691.2-2023 — 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).

Found what you need?

Document preview — GB/T 42691.2-2023

National Standard of the People's Republic of China

ICS
43.040.15

Issued by: State Administration for Market Regulation

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

......

......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 92 pages — is available in the English PDF.

Referenced standards

How to Download GB/T 42691.2-2023

  1. 1

    Add to cart

    Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.

  2. 2

    Checkout

    Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).

  3. 3

    Instant delivery (0–9 sec)

    Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.

  4. 4

    Invoice included

    A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.

Related Standards

English PDF
92 pages
Instant delivery (0–9 sec)
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GB/T 42691.2-2023

$920.00