23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

45-12 Industrial Communication Systems<br />

The identification of the slaves is provided by the LIN Product Identification, where a 32 bit value<br />

identifies the supplier ID, the function ID, and the variant. The data field of the “assign NAD” request<br />

(it is a MRF) carries the following information: first byte is the initial NAD (old NAD); high nibble of<br />

second byte is the ID of SF (0x0); low nibble of second byte is the data length plus one (for the SID or<br />

RSID); third byte, the SID (0xB0—assign NAD); byte four and five is the supplier ID; byte six and seven<br />

is the function ID and byte eight is the new NAD. If the NAD, the supplier ID, and the function ID<br />

match, the slave answers to the header of the SRF with a positive “assign NAD” response. The third byte<br />

carries the response service identifier (RSID). The SID + 0x040 represents a positive acknowledgment<br />

(here, 0xF0 for positive assign NAD response).<br />

45.8 Configuration<br />

As stated earlier, a LIN cluster can be configured using automated tools that use the CLD to describe the<br />

cluster, in an LDF. A first step is to create a cluster message strategy to completely describe the required<br />

<strong>communication</strong> between all units in the cluster. A list of all frames is generated that includes frame IDs,<br />

publishers and subscribers, data content, etc. A schedule table can also be described for the cluster.<br />

All of these parameters are described by the LDF.<br />

LIN2.x also defines the “off-the-shelf” approach for a dynamic configuration, which affords a simple<br />

plug-and-play feature for the slave nodes. This approach is based on the node configuration and identification<br />

services. The main services for the node configuration are the above-mentioned “assign NAD”<br />

as well as the “assign frame ID” (LIN2.0) and “assign frame ID range” (LIN2.1) services. With the latter<br />

service, one can assign and change the protected identifier of a frame.<br />

If more identical slave nodes are used in a cluster (e.g., damper motors in an air-conditioning system),<br />

the address conflict can be resolved via a slave node position detection (SNPD) procedure only. One<br />

possible algorithm is the Bus Shut Method (also called “cool-LIN”) that is described in the patent WO<br />

03/094001 A1 [WO03]. Another algorithm is the Extra Wire Daisy Chain method. (In this area, there<br />

are more patents, e.g. [US59].)<br />

45.9 relationship between SAE J2602 and LIN2.0<br />

In March of 2004, the SAE approved the SAE J2602 recommended practice for the use of LIN, based<br />

upon the released LIN2.0 specification.<br />

The SAE J2602 recommended practice narrows down some of the choices allowed in the LIN2.0 specification<br />

to ensure a greater degree of interoperability and to provide a minimum level of performance<br />

characteristics among SAE J2602 compliant nodes.<br />

The most significant differences in implementing an SAE J2602 compliant LIN network and a LIN2.0<br />

compliant network are in the diagnostics and network configuration support as well as the restriction<br />

on a single bus speed of 10.417.kbps that allows tightening of the physical layer specifications. It was<br />

decided that the LIN2.0 diagnostics requirements should be optional for SAE J2602 implementations.<br />

Usage of the network configuration methods were also simplified and further specified, particularly the<br />

inclusion of a device node number (DNN) as a part of the slave node address (NAD).<br />

45.10 Conclusion<br />

This chapter has introduced the LIN bus concepts and has provided an insight into the LIN specifications,<br />

highlighting some of the more important technical details. LIN has now been established as the<br />

de facto network technology for the implementation of simple and cost-effective equipment clusters in<br />

the vehicle. Today, numerous vehicles employ LIN in the body/convenience areas of the vehicle. LIN<br />

will succeed into the future as it has many advantages in that it is simple to engineer, with many supporting<br />

design tools. Hardware components are readily available, the implementations are very cost<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!