
Introduction to automotive network buses, highlighting the significance of studying them due to electronics and software in vehicles. Explores networked components, ECUs, and the importance of networks for innovation. Discusses distributed functionalities, Metcalfe's law, and network applications in safety and comfort.
The lecture explores the evolution of airbag systems, showcasing their progress from basic to advanced safety features. It emphasizes the integration of airbags with seat belts, crash sensors, and braking systems. Overall, it demonstrates how network technology improves effectiveness, comfort, and safety in airbag systems.
This lecture delves into the history of in-vehicle networks. From analog components connected by dedicated wires, we progressed to digital systems, increasing wiring complexity. Vehicle-bus technology emerged, simplifying designs, reducing weight, costs, and risks, and enabling software-based innovation.
The lecture introduces in-vehicle networks and their connection to field buses in industrial automation. In-vehicle networks are serial field buses tailored for automotive requirements. It explores communication channels, protocols, and data transfer options. Physical and logical network topologies are discussed, highlighting their significance in automotive network design.
The lecture introduces network protocols as standardized communication rule sets. They define steps and rules, covering aspects like physical medium, access, and information transfer. Automotive protocols discussed include CAN, MOST, FlexRay, LIN, and Automotive Ethernet, meeting requirements of durability, reliability, cost, safety, and compliance. The OSI seven-layer reference model is mentioned, depicting the layers in network communication.
The lecture covered important network terms like ECU, network, cluster, protocol, channel, busload, signal, frame, and more. The complexity of automotive networks with millions of lines of code and thousands of signals is emphasized.
The lecture covers serial communication in automotive network buses, comparing it to parallel communication. It explains baud-rate and bit-rate and addresses synchronization challenges. Clock skew, clock drift, and methods like external clocks and GPS for synchronization are mentioned.
The lecture introduces UART, the basis for LIN communication, explaining asynchronous data transfer, constraints, framing, and advantages. UART is a universal, simple, and cost-efficient device for serial communication, allowing byte-wise bit-stream transfer.
The lecture explores the fundamental elements of a UART (Universal Asynchronous Receiver-Transmitter). It discusses UART devices, voltage levels, line drivers, and common standards. The role of shift registers in serial-to-parallel and parallel-to-serial conversion is explained. Grouping data for processing is emphasized, and an overview of D Flip Flops and multiplexers in UART implementation is provided.
The lecture discusses UART configuration and asynchronous synchronization. It covers parameters like communication speed, data size, parity bit, and stop bit duration. It emphasizes the importance of aligning the sender and receiver configurations and explains how start bits are used for synchronization. It also explores bit cell detection, clock differences, and the impact on data interpretation.
The lecture discusses how apparently similar nodes can have physically different clocks.
The lecture presents a UART example demonstrating communication between two nodes using message exchange to control an LED. The hardware setup involves two ATmega328P boards connected by four wires. The software setup initializes UART devices and uses a processing loop for packet transmission. The oscilloscope captures packet transmission with start and stop bits. While the example shows the simplicity of point-to-point UART communication, it also highlights challenges when connecting multiple devices and sharing information among them.
The lecture introduces LIN (Local Interconnect Network), a cost-effective serial protocol for automotive networks. Operating at 20 kilobits per second, it supports up to 16 nodes and is used in body electronics.
The lecture explores the importance of LIN (Local Interconnect Network) in automotive applications. It focuses on the vehicle body control domain, providing a low-bandwidth solution for distributed sensors and actuators. LIN is compared to UART technology, highlighting its cost-saving benefits through a shared medium approach.
The lecture details LIN's media access strategy. LIN encompasses more than just a network protocol, including APIs and configuration support. Media access determines how the physical medium is utilized, with LIN employing a master-slave approach. The master schedules communication and directs slaves to speak in a predetermined order. Reliability relies on the master and its schedule table.
The lecture explores the LIN frame format. It details the structure, including the header and payload data. The frame starts with a break symbol, followed by sync break, sync field, and identifier. Protected identifiers are calculated using parity. The lecture also covers the response section with data fields and checksum, highlighting different checksum types.
The lecture explores the significance of LIN frame timing in network communication. It discusses constraints, tolerances, and the impact on message decoding. Proper hardware and software configuration and timing awareness in design tools are emphasized. Calculation of nominal frame time, inter-byte, and response spaces are explained. The lecture mentions node synchronization provisions and acceptable clock drift. Overall, timing is crucial for building reliable real-time systems.
The lecture explores schedule tables in the LIN protocol, which govern the communication flow for reliability and determinism. Pre-configured and validated using offline tools, they ensure robustness. Concepts like timing, frame slots, jitter, and inter-frame space are explained for creating a reliable LIN network communication schedule. Accurate timing is highlighted to avoid communication issues. Multiple schedule tables are supported, accommodating different needs and enabling switching during operation without interrupting ongoing transmissions.
The lecture discusses the master and slave task behavior in LIN communication. The master task follows a predefined schedule, while the slave task analyzes and reacts to received headers. Error states such as timeouts, framing errors, checksum errors, and read-back errors are also covered. Efficient implementation is important due to limited resources in LIN nodes.
The lecture presents a 'Hello World' example for LIN networks with a master and slave node. The master sends a frame with status information when a button is pressed. The slave receives the frame and controls an LED accordingly. A video demonstrates the physical setup and application behavior.
The lecture covers the physical setup of LIN example one using Arduino-based hardware. It explains the necessary components like ATmega328P, MCP2004 LIN transceiver, and UART. Instructions for component connections, caution regarding conflicts with flashing, power supply requirements, and the use of oscilloscopes and push buttons are provided.
The lecture provides a hardware overview and focuses on application software and LIN drivers. The 'Hello World' LIN package is discussed, emphasizing core functionalities and code readability. The master node application code covers schedule table setup, initialization, and the simple scheduler. The LIN driver for the master node includes break symbol generation and frame handling.
The lecture presents LIN example two, demonstrating a LIN network with three nodes. The master node controls LED lights, and pressing its button illuminates all three LEDs. Slave node one transfers an "LED on" signal to slave node two via a button. The lecture includes a blueprint, software modifications, practical demonstrations, and oscilloscope analysis for implementing the example.
The lecture explores various frame types in LIN (Local Interconnect Network). It covers unconditional, diagnostic, reserved, sporadic, and event-triggered frames. The lecture explains the flow and characteristics of each frame type.
The lecture focuses on the electrical physical layer (EPL). It covers the EPL specification, bit-rate deviation, transceivers, wire length, tolerances, ground shifts, and voltage considerations. Recommendations are provided for UART-based and dedicated LIN controller implementations.
The lecture explains signal-to-frame mapping in the LIN specification, where software information is packed into frames. Signals are mapped based on type, length, and producer, and can be scalar or byte arrays. Little endian encoding is default, with big endian optional.
The lecture discusses node status management in the LIN specification, focusing on availability consensus and error detection. It enables identifying faulty nodes and entering safe modes. The master node receives status reports and analyzes them, while nodes report their status and monitor internal communication. Reporting mechanisms and status bits are explained for both network and internal errors. Status management is crucial for identifying and replacing faulty units, ensuring reliable communication within the LIN network.
The lecture covers advanced network management for LIN. Sleep mode suspends network activity, while wake-up mode restores it. Sleep mode can be triggered by the master or after bus inactivity, and wake-up is initiated by transmitting a pulse.
The lecture explains the LIN transport protocol. It covers frame segmentation, concatenation, addressing modes, and frame structure. It adds complexity but allows larger data transfer for diagnostics within vehicles.
The lecture explores LIN network diagnostics, highlighting signal-based, transport-based, and user-defined options. It defines diagnostic node classes based on complexity and functionality, emphasizing the importance of matching diagnostics to LIN node capabilities.
The lecture covers slave node configuration and identification in LIN, for avoiding conflicts and enable plug-and-play functionality. Key services include reading identifiers and assigning frame identifier ranges. Supplier IDs are assigned by the LIN consortium.
The lecture explores LIN workflows and file formats in automotive supply chains. It covers LIN configuration and node capability languages, LIN API, and AUTOSAR involvement. The lecture explains LDF and NCF formats and mentions FIBEX and .arxml compatibility. It provides an overview of established LIN workflows and file formats in automotive networks.
The lecture focuses on the LIN Application Programmer Interface (API), enabling portable and hardware-agnostic software development. It includes core, configuration, identification, and optional transport layer APIs. Emphasis is on software portability, supply chain efficiency, and node configuration.
The lecture explains the Node Capability File (NCF) for off-the-shelf slave nodes, using standardized machine-readable syntax. It includes sections for properties, diagnostics, frames, encoding, status management, and optional free text. The NCF is used as input for network design tools.
The lecture explains the LIN description file (LDF). It covers the LDF structure, including topology, schedules, and communication behavior. The LDF validates and builds the network architecture but excludes application code. The lecture discusses syntax, mandatory/optional elements, node/signal/frame definitions, schedule tables, and diagnostic signals/attributes.
The lecture focuses on professional design tools for network design, highlighting the design and architecture stages. It mentions the V-model and demonstrates a door control module design scenario. The tool aids in network configuration, topology modelling, consistency checks, signal definition, and timing requirements. It generates schedules, reports, and signal matrices, ensuring low development costs and risks.
Please find the corresponding decks here available for download as a point of reference
This course will give you a gentle introduction to the Automotive Network industry. It will help you to understand the challenges network designers and systems architects face.
At the start, you will be guided through the beginnings of Automotive networking and its value-adding role within the industry.
We will touch upon simple serial protocol communication with traditional UARTs, before diving deeper into our first network technology LIN - Local Interconnect Networks.
The LIN specification is explained in detail. In the end, you will have touched upon all market-relevant topics on LIN.
It is accompanied by a hands-on example so that you can experiment at home and better understand the underlying on how UARTs and LIN operate and work.
After attending this course you will be able to understand:
The role of automotive networks
The tasks involved in automotive network design
Overview of common network protocols
Evolution of shared network technologies
The challenges network designers and architects face
Basic serial communication with UARTs
Understand the Local Interconnect Network (LIN)
Build a basic Local Interconnect Network (LIN) network
Be ready to dive deeper into LIN
Have the foundation to move on to other automotive network communication protocols
Note:
The course tries to be as easy to digest as possible on the topics presented. While it is considered a network protocol 'beginners' course to work in the industry, it is not to be confused with an 'absolute' beginners course on electronics or computer science. Understanding source code, basic boolean algebra and familiarity working with specifications will help. Comparable courses are part of a Masters's Degree curriculum. A Bachelor's level understanding of Computer Science, Mathematics or Electrical Engineering is recommended.