LIN

Documentation Home Page Communication Protocols Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

LIN

Have a question or need help? 

Button | Mosaic

Solution

OPAL-RT's LIN protocol solution is offered on NI or RT-LAB platforms

The solution on the RT-LAB platform requires a Gateway device to link a LIN device to a CAN port on an OPAL-RT simulator.
The LIN device should be able to convert LIN messages into CAN messages, and vice versa. This allows an OPAL-RT real-time simulator to communicate with a LIN device in a variety of setups (RCP, HIL).
A gateway solution can come in a variety of forms, what we recommend, is the IXXAT FRC-EP170 or FRC-EP190 Gateways.
These gateways allow you to convert the two protocols, via IXXAT's ACT Software, in either direction. The user may upload their LDF (LIN Description File) on the IXXAT device, and it will convert it into a CAN DBC file (CAN's description file type) - allowing you to upload it on the simulator, thus achieving a common description of the communication bus architecture in two different protocols.

The solution on the NI PXI platform is supported via a range of cards or modules that are offered. LIN 1.3, 2.0, and 2.1 are supported.
Using the NI-XNET driver allows the user to communicate with external LIN devices in real time.
The architecture of the LIN bus along with the timing schedule of the messages can be described by the user in VeriStand.

LIN consists of one master device and one or more slaves. The master device sends all the messages, and maximum one slave responds at a time to a give message identifier. Since the master is what initiates the communication, there is at timing schedule set out in the bus description, and collision detection needs to be implemented. The protocol is cheap to implement, and is used in the automotive industry for communication between car components.

RT-LAB Setup Schematic

 

NI VeriStand Setup Schematic

Software Platform Compatibility

Button | Mosaic
Button | Mosaic

Product Selection Guide

RT-LAB

With RT-LAB, an external gateway is required to convert CAN bus to LIN.
An OP3411 CAN bus kit is required as well.

Contact us for more information on this solution.

Type

Description

Product Number(s)

Supported Simulators 

OP4510v2
OP4512
OP4610XG

OP5033XG

OP5600v2
OP5650

OP5700
OP5705XG
OP5707XG

Driver

Driver license for CAN for RT-LAB real-time simulation models, 4 channels. Supports CAN-FD, high-speed CAN, 11-bit (CAN 2.0A) and 29-bit (CAN 2.0B active) identifiers, galvanically isolated.

One driver license is required for each add-on module installed.

OP3414

YES

YES

YES

YES

Add-on module

CAN bus Interface Kit, KVASER PCIe CAN 4 channels for OP451x Series* License OP3414 is required

OP3411-4510

OP4510v2
OP4512

 

 

 

Add-on module

CAN bus Interface Kit, KVASER PCIe CAN 2 channels for OP451x Series* License OP3414 is required

OP3411-451x-2CH

OP4510v2
OP4512

 

 

 

Add-on module

CAN bus Interface Kit, KVASER PCIe CAN 4 channels for OP451x Series* License OP3414 is required

OP3411-4610-4CH

OP4610XG

 

 

 

Add-on module

CAN bus Interface Kit, KVASER PCIe CAN 4 channels for OP451x Series* License OP3414 is required

OP3411-5600

 

 

YES

 

Add-on module

CAN bus Interface Kit, KVASER PCIe CAN 4 channels for OP57xx, Series and, OP503x Series*

OP3411-5707

 

YES

 

YES

External Hardware

CAN to LIN gateway. Requires an OP3411 kit installed (see above). Contact OPAL-RT for more information.

IXXAT FRC-EP170 or
IXXAT FRC-EP190

YES

YES

YES

YES

* Available PCIe slot required. Note that OP4510 and OP4512 simulators only have one PCIe slot.

NI VeriStand

When using NI PXIe hardware, the PXIe8510 module supporting 2 to 6 ports is required along with VeriStand.

Type

Description

Product Number

Type

Description

Product Number

PXIe Module

2 or 6 port multiprotocol interface module

PXIe8510 (784122-01 or 784121-01)

Software

NI VeriStand Full Development System

780590-35