local interconnect network

14

Click here to load reader

Upload: jabez-winston

Post on 22-Jan-2018

310 views

Category:

Automotive


0 download

TRANSCRIPT

Page 1: Local Interconnect Network

Local Interconnect

NetworkJABEZ WINSTON C -15MU01

JAGADEESH S -15MU02

Page 2: Local Interconnect Network
Page 3: Local Interconnect Network

Why LIN?

Use of CAN in certain automotive applications can be a overkill

Highly Economical

UART / SCI peripheral can be used to implement LIN

Use of simple internal RC oscillators instead of external crystal oscillators

No protocol license fee

Page 4: Local Interconnect Network

Why LIN is not a replacement for

CAN?

CAN can operate at higher speeds

Superior error detection scheme (CRC)

Fault tolerant capabilities

Page 5: Local Interconnect Network

Brief Technical specifications of LIN

6 bit protected identifier

Content based addressing

Speed - 19.2 kbps (Max.)

8-bytes per frame (Max.)

16 nodes (Max.)

Half Duplex

8-bit Checksum

Single Master – Multiple Slave configuration

Bus Topology

Page 6: Local Interconnect Network

Typical LIN bus

Page 7: Local Interconnect Network

Abstract view of LIN

A programmer needs to be concerned with the

Message ID – 6 bits

Data – up to 8bytes

Master manages the bus access arbitration scheme entirely

The Master sends a Frame Header and the concerned slaves respond.

Page 8: Local Interconnect Network

Abstract view of LIN

Page 9: Local Interconnect Network

Tasks in Nodes

Page 10: Local Interconnect Network

MASTER TASK STATE MACHINE

Page 11: Local Interconnect Network

Frame

processor

Page 12: Local Interconnect Network

Frame types

1. Unconditional frame

2. Event-triggered frame

3. Sporadic frame

4. Diagnostic frame

5. User-defined frame

6. Reserved frame

Page 13: Local Interconnect Network

Applications of LIN

Application segments Specific LIN application examples

Roof Sensor, light sensor, light control, sun roof

Steering wheel Cruise control, wiper, turning light, climate control, radio

Seat Seat position motors, occupant sensors, control panel

Engine Sensors, small motors, cooling fan motors

DoorMirror, central ECU, mirror switch, window lift, seat control

switch, door lock

IlluminationVehicle trim enhancement, sill plates illuminated with RGB

LED

Page 14: Local Interconnect Network

References

http://www.lin-subbus.org

https://en.wikipedia.org/wiki/Local_Interconnect_Network