LIN Bus Time Synchronization for Actuator Coordination
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In modern automotive systems, the centralized control approach using a LIN bus system often leads to asynchronous behavior of actuators due to cabling and electrical limitations, resulting in unsynchronized operation of lights and other actuators, which is unacceptable in safety-critical applications.
Innovation Solution
A method where a bus master unit generates LIN messages according to a predefined schedule, including synchronization messages to synchronize the system time across slave units, ensuring that all ECUs have the same time values, and using timestamps for coordinated actuator control, thereby compensating for transmission latency and achieving precise synchronization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a centralized control approach using LIN bus system is adopted, then system integration and control capability are improved, but asynchronous behavior of actuators occurs due to transmission latency
Solution Approach 1:
The bus master unit sends a synchronization message containing a timestamp before sending the actual command message. The slave unit receives and stores this timestamp in advance, then uses it to synchronize the execution time of the command, compensating for transmission latency.
Solution Approach 2:
The system implements a feedback mechanism where the slave unit compares the received timestamp with its local time and adjusts its execution time accordingly. This feedback loop ensures that actuators across different slave units are synchronized despite varying transmission times.
2Device complexity
If LIN messages are sent according to a predefined message schedule, then communication structure is simplified, but transmission latency varies causing asynchrony
Solution Approach 1:
The synchronization message with timestamp is sent in advance as a preliminary action before the actual command. This allows the slave unit to pre-calculate the correct execution time, compensating for the variable latency inherent in the scheduled LIN bus communication.
3Adaptability or versatility
If multiple slave units control different actuators, then system functionality is expanded, but synchronization of actuator operation becomes difficult
Solution Approach 1:
The bus master unit acts as an intermediary that coordinates all slave units. It sends synchronization messages containing timestamps to each slave unit, enabling them to synchronize their actuator operations despite being controlled by different slave units. The timestamp serves as a common reference time for all actuators in the system.
Data Source
Figure 1
Figure 2
AI summary
The invention is concerned with a method for operating a LIN bus system (11) in a motor vehicle (10), wherein in the LIN bus system (11) a bus master unit (18) is connected to at least one slave unit (15) over a bus network (17). The method comprises that LIN messages are generated in the bus master unit (18) and sent out over the bus network (17) to the at least one slave unit (15) according to a predefined message schedule (23). The invention is characterized in that in the bus master unit (18) a current local master system time (21) is stored and periodically updated and at least one of the messages according the message schedule (23) is a synchronization message (24) that contains a respective time value (25) of the local master system time (21) and when in the at least one slave unit (15) the at least one synchronization message is received, a respective local slave system time (22) of the slave unit (15) is synchronized as a function of the received time value (25) contained in the at least one synchronization message (24).