GB/T 42691.6-2023 Road vehicles - Local Interconnect Network (LIN) - Part 6: Protocol conformance test specification
1 Scope
This document specifies the LIN protocol conformance test. This test verifies the conformance of LIN communication controllers with respect to ISO 17987-2 and ISO 17987-3.
This document provides all necessary technical information to ensure that test results are identical even on different test systems, provided that the particular test suite and the test system are compliant to the content of this document.
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.
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.3-2023 Road vehicles - Local Interconnect Network (LIN) - Part 3: Protocol specification (ISO 17987-3:2016, IDT)
GB/T 42691.4-2023 Road vehicles - Local Interconnect Network (LIN) - Part 4: Electrical physical layer (EPL) specification 12 V/24 V (ISO 17987-4:2016, IDT)
3 Terms, definitions, symbols and abbreviated terms
3.1 Terms and definitions
3.1.1
class B device
μC-based LIN device
Note: These are devices where it is possible to take measurements on the Rx and Tx interface circuits between the μC and the transceiver.
3.1.2
class C device
integrated LIN devices (ECU) with μC and transceiver
Note: These are devices where it is not possible to take measurements on the Rx and Tx interface circuits between the μC and the transceiver.
3.2 Symbols
FTOL_RES_MASTER bit rate tolerance of the master node (absolute value), according to ISO 17987-4 %
FTOL_RES_SLAVE bit rate tolerance of a slave node without making use of synchronization (absolute value), according to ISO 17987-4 %
FTOL_SYNC bit rate tolerance of a slave node making use of synchronization (relative value to master node after synchronization, valid for the complete message), according to ISO 17987-4 %
FTOL_UNSYNC bit rate tolerance of a slave node making use of synchronization, according to ISO 17987-4 %
TAWAKE measured time between end of wake up signal and start of break of a header s
TBIT Length of a bit (time), depending on the bit rate s
TBIT_MAX_MASTER TBIT_MAX_MASTER = TBIT (1 − FTOL_RES_MASTER) s
TBIT_MIN_MASTER TBIT_MIN_MASTER = TBIT (1 + FTOL_RES_MASTER) s
TBIT_NOM_MASTER TBIT_NOM_MASTER = TBIT s
TBRKDEL break delimiter, according to ISO 17987-3 1 ~ 14.6 TBIT
TBRKDEL_MAX calculated maximum of break delimiter: THEADER_MAX − (TBRKFLD_MIN + 20 TBIT) 14.6 TBIT
TBRKDEL_MIN minimum of break delimiter, according to ISO 17987-3 1 TBIT
TBRKFLD break field low phase, according to ISO 17987-3 13 ~ 26.6 TBIT
TBRKFLD_MAX calculated maximum of break field low phase: THEADER_MAX – (TBRKDEL_MIN + 20 TBIT) 26.6 TBIT
TBRKFLD_MIN minimum of break field low phase, according to ISO 17987-3 13 TBIT
TFRAME length of a 8 byte frame, according to ISO 17987-3 (see frame length) TFRAME = THEADER + TRESPONSE 124 ~ 173.6 TBIT
TFRAME_MAX maximum length of a 8 byte frame, according to ISO 17987-3 173.6 TBIT
TFRAME_MIN minimum length of a 8 byte frame, according to ISO 17987-3 124 TBIT
TFRAME_SLOT_MEASURE shall be measured between falling edges of the break field s
TFRAME_SLOT_SPECIFIED the length is specified in the LDF s
TH_INTERBYTE inter-byte space between sync byte field and protected identifier 0 ~ 13.6 TBIT
THEADER length of the header of a message frame based on T BIT nominal 34 ~ 47.6 TBIT
THEADER_MAX maximum length of the header of a message frame, according to ISO 17987-3 47.6 TBIT
THEADER_MIN minimum length of the header of a message frame, according to ISO 17987-3 34 TBIT
TJITTER_DEFINED jitter according LDF or NCF of the IUT s
TJITTER_MEASURE measured jitter as described in ISO 17987-3 (see frame slot) s
TRESPONSE response length 90 ~ 126 TBIT
TRESPONSE_MAX maximum response length 126 TBIT
TRESPONSE_MIN nominal response length 90 TBIT
TSLEEP measured time after that a slave node enters automatically a sleep state ISO 17987-2:2016, 5.1.4 s
3.3 Abbreviated terms
The following Abbreviated terms apply to this document.
AC: alternate current
API: application programming interface
BFS: byte field synchronization
CF: transport layer consecutive frame
DC: direct current
EBS: earliest bit sample
EMC: electromagnetic compatibility
EMI: electromagnetic interference
EPL: electrical physical layer
ESD: electrostatic discharge
FF: transport layer first frame
GND: ground
IUT: implementation under test
LBS: latest bit sample
LDF: LIN description file
Max: maximum
Min: minimum
NAD: node address
NCF: node capabilit file
NVM: non-volatile memory
no.: number
OSI: open systems interconnection
PDU: protocol data unit
PID: protected identifier
PT-CT: LIN data link layer, network layer and transport layer protocol conformance test
RSID: response service identifier
Rx: Rx pin of the transceiver
RXD: receive data
SF: transport layer single frame
SID: service identifier
SR: sample window repetition
Tbit: time bit
TC: test case
TRX: transceiver
Tx: Tx pin of the transceiver
TXD: transmit data
Typ: typical
UART: universal asynchronous receiver transmitter
μC: microcontroller
4 Conventions
ISO 17987 (all parts) and ISO 14229-7 are based on the conventions specified in the OSI service conventions (see ISO/IEC 10731) as they apply for physical layer, protocol, network and transport protocol and diagnostic services.
Standard
GB/T 42691.6-2023 Road vehicles—Local Internet Network(LIN)—Part 6:Protocol conformance test specification (English Version)
Standard No.
GB/T 42691.6-2023
Status
valid
Language
English
File Format
PDF
Word Count
37500 words
Price(USD)
1125.0
Implemented on
2023-12-1
Delivery
via email in 1~3 business day
Detail of GB/T 42691.6-2023
Standard No.
GB/T 42691.6-2023
English Name
Road vehicles—Local Internet Network(LIN)—Part 6:Protocol conformance test specification
GB/T 42691.6-2023 Road vehicles - Local Interconnect Network (LIN) - Part 6: Protocol conformance test specification
1 Scope
This document specifies the LIN protocol conformance test. This test verifies the conformance of LIN communication controllers with respect to ISO 17987-2 and ISO 17987-3.
This document provides all necessary technical information to ensure that test results are identical even on different test systems, provided that the particular test suite and the test system are compliant to the content of this document.
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.
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.3-2023 Road vehicles - Local Interconnect Network (LIN) - Part 3: Protocol specification (ISO 17987-3:2016, IDT)
GB/T 42691.4-2023 Road vehicles - Local Interconnect Network (LIN) - Part 4: Electrical physical layer (EPL) specification 12 V/24 V (ISO 17987-4:2016, IDT)
3 Terms, definitions, symbols and abbreviated terms
3.1 Terms and definitions
3.1.1
class B device
μC-based LIN device
Note: These are devices where it is possible to take measurements on the Rx and Tx interface circuits between the μC and the transceiver.
3.1.2
class C device
integrated LIN devices (ECU) with μC and transceiver
Note: These are devices where it is not possible to take measurements on the Rx and Tx interface circuits between the μC and the transceiver.
3.2 Symbols
FTOL_RES_MASTER bit rate tolerance of the master node (absolute value), according to ISO 17987-4 %
FTOL_RES_SLAVE bit rate tolerance of a slave node without making use of synchronization (absolute value), according to ISO 17987-4 %
FTOL_SYNC bit rate tolerance of a slave node making use of synchronization (relative value to master node after synchronization, valid for the complete message), according to ISO 17987-4 %
FTOL_UNSYNC bit rate tolerance of a slave node making use of synchronization, according to ISO 17987-4 %
TAWAKE measured time between end of wake up signal and start of break of a header s
TBIT Length of a bit (time), depending on the bit rate s
TBIT_MAX_MASTER TBIT_MAX_MASTER = TBIT (1 − FTOL_RES_MASTER) s
TBIT_MIN_MASTER TBIT_MIN_MASTER = TBIT (1 + FTOL_RES_MASTER) s
TBIT_NOM_MASTER TBIT_NOM_MASTER = TBIT s
TBRKDEL break delimiter, according to ISO 17987-3 1 ~ 14.6 TBIT
TBRKDEL_MAX calculated maximum of break delimiter: THEADER_MAX − (TBRKFLD_MIN + 20 TBIT) 14.6 TBIT
TBRKDEL_MIN minimum of break delimiter, according to ISO 17987-3 1 TBIT
TBRKFLD break field low phase, according to ISO 17987-3 13 ~ 26.6 TBIT
TBRKFLD_MAX calculated maximum of break field low phase: THEADER_MAX – (TBRKDEL_MIN + 20 TBIT) 26.6 TBIT
TBRKFLD_MIN minimum of break field low phase, according to ISO 17987-3 13 TBIT
TFRAME length of a 8 byte frame, according to ISO 17987-3 (see frame length) TFRAME = THEADER + TRESPONSE 124 ~ 173.6 TBIT
TFRAME_MAX maximum length of a 8 byte frame, according to ISO 17987-3 173.6 TBIT
TFRAME_MIN minimum length of a 8 byte frame, according to ISO 17987-3 124 TBIT
TFRAME_SLOT_MEASURE shall be measured between falling edges of the break field s
TFRAME_SLOT_SPECIFIED the length is specified in the LDF s
TH_INTERBYTE inter-byte space between sync byte field and protected identifier 0 ~ 13.6 TBIT
THEADER length of the header of a message frame based on T BIT nominal 34 ~ 47.6 TBIT
THEADER_MAX maximum length of the header of a message frame, according to ISO 17987-3 47.6 TBIT
THEADER_MIN minimum length of the header of a message frame, according to ISO 17987-3 34 TBIT
TJITTER_DEFINED jitter according LDF or NCF of the IUT s
TJITTER_MEASURE measured jitter as described in ISO 17987-3 (see frame slot) s
TRESPONSE response length 90 ~ 126 TBIT
TRESPONSE_MAX maximum response length 126 TBIT
TRESPONSE_MIN nominal response length 90 TBIT
TSLEEP measured time after that a slave node enters automatically a sleep state ISO 17987-2:2016, 5.1.4 s
3.3 Abbreviated terms
The following Abbreviated terms apply to this document.
AC: alternate current
API: application programming interface
BFS: byte field synchronization
CF: transport layer consecutive frame
DC: direct current
EBS: earliest bit sample
EMC: electromagnetic compatibility
EMI: electromagnetic interference
EPL: electrical physical layer
ESD: electrostatic discharge
FF: transport layer first frame
GND: ground
IUT: implementation under test
LBS: latest bit sample
LDF: LIN description file
Max: maximum
Min: minimum
NAD: node address
NCF: node capabilit file
NVM: non-volatile memory
no.: number
OSI: open systems interconnection
PDU: protocol data unit
PID: protected identifier
PT-CT: LIN data link layer, network layer and transport layer protocol conformance test
RSID: response service identifier
Rx: Rx pin of the transceiver
RXD: receive data
SF: transport layer single frame
SID: service identifier
SR: sample window repetition
Tbit: time bit
TC: test case
TRX: transceiver
Tx: Tx pin of the transceiver
TXD: transmit data
Typ: typical
UART: universal asynchronous receiver transmitter
μC: microcontroller
4 Conventions
ISO 17987 (all parts) and ISO 14229-7 are based on the conventions specified in the OSI service conventions (see ISO/IEC 10731) as they apply for physical layer, protocol, network and transport protocol and diagnostic services.