local interconnect network
TRANSCRIPT
![Page 1: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/1.jpg)
Local Interconnect
NetworkJABEZ WINSTON C -15MU01
JAGADEESH S -15MU02
![Page 2: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/2.jpg)
![Page 3: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/3.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/4.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/5.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/6.jpg)
Typical LIN bus
![Page 7: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/7.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/8.jpg)
Abstract view of LIN
![Page 9: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/9.jpg)
Tasks in Nodes
![Page 10: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/10.jpg)
MASTER TASK STATE MACHINE
![Page 11: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/11.jpg)
Frame
processor
![Page 12: Local Interconnect Network](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/12.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/13.jpg)
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](https://reader038.vdocuments.net/reader038/viewer/2022100807/58a10a7d1a28ab4b658b49cb/html5/thumbnails/14.jpg)
References
http://www.lin-subbus.org
https://en.wikipedia.org/wiki/Local_Interconnect_Network