Valid

GB/T 42691.3-2023Road vehicles - Local Interconnect Network (LIN) - Part 3: Protocol specification (English PDF)

道路车辆 局域互联网络(LIN) 第3部分:协议规范

Preview PDF

This is a limited preview

Buy now to download the full PDF (60 pages)

Need quotation for your management?

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

Issued by

SAMR; SAC

Level / Type

National · Recommended

Issue date

May 23, 2023

Implementation date

December 1, 2023

Scope

GB/T 42691.3-2023 is the English-translated version of 道路车辆 局域互联网络(LIN) 第3部分:协议规范.

GB/T 42691.3-2023 is the Chinese standard "Road vehicles - Local Interconnect Network (LIN) - Part 3: Protocol specification". Its scope clause reads: This Document specifies the LIN protocol including the signal management, frame transfer, schedule table handling, task behavior and status management and LIN master and slave node.

It also contains OSI layer 5 properties according to ISO 14229-7 UDSonLIN-based node configuration and identification services (SID: B016 to B816) belonging to the core protocol specification.

A node (normally a master node) that is connected to more than one LIN network is handled by higher layers (i.e., the application) not within the scope of this document. Its clauses include terms, definitions, symbols and abbreviated terms.

Found what you need?

Document preview — GB/T 42691.3-2023

National Standard of the People's Republic of China

ICS
43.020
Classification
T36

Issued by: State Administration for Market Regulation; Standardization Administration of the PRC

Contents

  • Foreword4
  • Introduction6
  • 1 Scope8
  • 2 Normative References8
  • 3 Terms, Definitions, Symbols and Abbreviated Terms8
  • 3.1 Terms and definitions8
  • 3.2 Symbols12
  • 3.3 Abbreviated terms12
  • 4 Node Concept13
  • 4.1 General13
  • 4.2 Concept of operation14
  • 5 Protocol Requirements15
  • 5.1 Signal15
  • 5.2 Frame18
  • 5.3 Schedule tables30
  • 5.4 Task behavior model31
  • 5.5 Status management34
  • 6 Node Configuration and Identification36
  • 6.1 General36
  • 6.2 LIN product identification36
  • 6.3 Slave node model37
  • A.1 Definition of numerical properties47
  • A.2 Definition of valid frame identifiers47
  • A.3 Example of checksum calculation49
  • A.4 Example of sequence diagrams49
  • Annex B (Informative) LIN History and Version Compatibility51
  • B.1 LIN history and background51
  • B.2 LIN version compatibility51
  • B.3 Changes between LIN versions52
  • Annex C (Informative) LIN Auto Addressing Methods55
  • C.1 Auto addressing method and method IDs55
  • C.2 Auto addressing method ID55
  • Bibliography56

1 Scope

This Document specifies the LIN protocol including the signal management, frame transfer, schedule table handling, task behavior and status management and LIN master and slave node.

It also contains OSI layer 5 properties according to ISO 14229-7 UDSonLIN-based node configuration and identification services (SID: B016 to B816) belonging to the core protocol specification.

A node (normally a master node) that is connected to more than one LIN network is handled by higher layers (i.e., the application) not within the scope of this document.

2 Normative References

The provisions in following documents become the essential provisions of this Document through reference in this Document. For the dated documents, only the versions with the dates indicated are applicable to this Document; for the undated documents, only the latest version (including all the amendments) is applicable to this Document.

GB/T 42691.2-2023 Road Vehicles - Local Interconnect Network (LIN) - Part 2: Transport

Protocol and Network Layer Services (ISO 17987-2:2016, IDT)

GB/T 42691.4-2023 Road Vehicles - Local Interconnect Network (LIN) - Part 4: Electrical

Physical Layer (EPL) Specification 12V/24V (ISO 17987-4:2016, IDT)

GB/T 42691.6-2023 Road Vehicles - Local Interconnect Network (LIN) - Part 6: Protocol

Conformance Test Specification (ISO 17987-6:2016, IDT)

3 Terms, Definitions, Symbols and Abbreviated Terms

3.1 Terms and definitions

For the purposes of this Document, the following terms and definitions apply.

3.1.1 Big-endian

Method of storage of multi-byte numbers with the most significant bytes at the lowest memory

Each signal shall have one publisher, i.e., it shall be always sent by the same node in the cluster.

Zero, one or multiple nodes may subscribe to the signal.

All signals shall have initial values. The initial value for a published signal should be valid until the node writes a new value to this signal. The initial value for a subscribed signal should be valid until a new updated value is received from another node.

5.1.3 Consistency

Scalar signal writing or reading shall be atomic operations, i.e. it shall not be possible for an application to receive a signal value that is partly updated. This shall also apply to byte arrays.

However, no consistency is guaranteed between any signals.

5.1.4 Packing

There is no restriction on packing scalar signals over byte boundaries. Each byte in a byte array shall map to a single frame byte starting with the lowest numbered data byte, see 5.2.2.6.

Several signals may be packed into one frame as long as they do not overlap each other.

NOTE: Signal packing/unpacking is implemented more efficient in software-based nodes if signals are byte aligned and/or if they do not cross byte boundaries.

The same signal may be packed into multiple frames as long as the publisher of the signal is the same. If a node is receiving one signal packed into multiple frames, the latest received signal value is valid. Handling the same signal packed into frames on different LIN clusters is out of the scope.

5.1.5 Reception and transmission

The point in time when a signal is transmitted/received needs to be defined to help design tools and testing tools to analyze timing of signals. This means that all implementations behave in a predictable way.

The definitions below do not contain factors such as bit rate tolerance, jitter, buffer copy execution time, etc. These factors need be taken into account to get a more detailed analysis.

The intention for the definitions below is to have a basis for such analysis.

The timing is different for a master node and a slave node. The reason is that the master node controls the schedule and is aware of the due frame. A slave node gets this information first when the header is received.

The time base and time base tick is defined in 5.3.

A signal is considered received and available to the application as shown in Figure 4.

- Master node, at the next time base tick after the maximum frame length. The master node

GB/T 42691.5-2023 | GB/T 42691.2-2023 | GB/T 42691.4-2023 | GB/T 42691.7-2023 | […]

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

Referenced standards

Similar standards

How to Download GB/T 42691.3-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

    Fast delivery

    After payment you'll receive an email confirmation. The English PDF is sent to the same address, usually within minutes and at the latest within 1 business day.

  4. 4

    Invoice included

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

Related Standards

English PDF
60 pages
Fast delivery
Invoice included
View Cart

Secure payment via Stripe

Payments accepted

VisaMastercardAmerican ExpressApple PayGoogle PayStripe

GB/T 42691.3-2023

$545.00