Method for detecting a faulty timestamp of an Ethernet message and control unit for a motor vehicle
The control unit in a motor vehicle detects and corrects incorrect Ethernet timestamps by comparing global and local times, ensuring reliable timestamp validation for synchronized sensor operations in automated driving systems.
Patent Information
- Application Number
- DE102017219209
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2017-10-26
- Publication Date
- 2024-08-29
- Estimated Expiration
- 2037-10-26
AI Technical Summary
Existing Ethernet message timestamp validation methods in motor vehicles lack reliability, particularly in the context of automated driving, where timestamp integrity is crucial for synchronized sensor operations, and can be compromised by errors, falsification, or lack of synchronization.
A control unit in a motor vehicle detects an incorrect timestamp by determining the time difference between a global timestamp and a local clock time, replacing the global time with the local time if the difference exceeds a threshold, and using this local time for further processing or forwarding the Ethernet message.
This method ensures reliable detection and correction of incorrect timestamps, allowing continued use of Ethernet messages with reduced calculation effort, thereby maintaining the integrity of time-sensitive operations in vehicle systems.
Smart Images

Figure DE102017219209B4_0000_ABST
Abstract
Description
The invention relates to a method for detecting an incorrect timestamp in an Ethernet message. An Ethernet message with a timestamp is received by a control unit. Furthermore, the invention relates to a control unit for a motor vehicle. The control unit is configured to receive an Ethernet message with a timestamp. Ethernet technologies for automotive on-board networks are well-known. The Ethernet AVB (Audio Video Bridging) and its successor, Ethernet TSN (Time-Sensitive Networking), standards are particularly popular. Ethernet AVB is already being used in series production. A substandard of Ethernet AVB is currently the synchronization standard IEEE 802.1AS, which is derived from the IEEE 1588 standard. Both standards use the Precision Time Protocol (PTP) to establish a common time unit in an Ethernet network. US 2004 / 0 151 125 A1 discloses a method for identifying inaccurate time measurements in a local network. A time request packet is rejected if it arrives at the time client or time server within a specified or calculated minimum distance from the previous network packet. DE 10 2013 224 697 describes a method for establishing a common time base for network participants in a network of a motor vehicle, wherein a time master transmits a synchronization message over the network at specific time intervals, wherein network participants connected to the time master receive the synchronization message from the time master, wherein the network participants each correct their own time base by means of the received synchronization message and thus establish a common time base. US 2013 / 0094372 A1 discloses a method for monitoring and correcting sample timestamps. The method may involve receiving packet data from one or more sensors or smart electronic devices and determining a variance between the timestamps or an offset between the timestamps and a precise time source. PTP, known as "Precision Time Protocol" (IEEE 1588-2008), is a network protocol that ensures the synchronization of the time settings of a device on a computer network. PTP can achieve an accuracy in the range of nanoseconds in hardware implementation and in the range of a few microseconds in software implementation. PTP has been adopted in IEEE 1588 and IEC 61588. PTP defines three mechanisms: measuring the line delay between neighboring nodes, determining the best clock, and exchanging time information. The peer delay mechanism is responsible for measuring the delay between two connected ports. The measured propagation time is used to correct the nodes' time information and to include this time in the calculation. Delay_Request messages are used cyclically by both communication partners independently of each other. If the respective node is IEEE 802.1AS-capable, it will respond with a Delay_Response and a Pdelay_Resp_Follow_Up message. These messages are assigned a hardware timestamp upon receipt and forwarded to the PTP application. This allows the latency and the time difference to neighboring ports to be determined. Three PTP mechanisms are known in particular. A port, the initiator, starts the measurement by sending a Delay_Request message to the connected port, the responder, and generates an exit timestamp. This exit timestamp is a hardware timestamp that is written as late as possible after leaving the Ethernet transceiver. The responder generates a reception timestamp upon arrival of this packet. In response, the responder sends a Delay_Response message. In this message, it transmits the reception timestamp of the Delay_Request message. When this message leaves the responder, the responder in turn generates a timestamp, which is sent in an immediately subsequent Delay_Response follow-up message. When the initiator receives the Delay_Reponse message, it generates another reception timestamp.The initiator can calculate the average running time of the route covered from the four timestamps. PTP defines a master-slave clock hierarchy with a best clock within an AVB network. The time base of the nodes in the network is derived from this clock, the grandmaster. The Best Master Clock Algorithm (BMCA) is used to determine this clock type and to announce this information within the network. IEEE 802.1AS-capable systems cyclically send announcement messages to their neighboring nodes with information about the best clock in the AVB cloud. The recipient of such a message compares this information with the characteristics of its clock and any messages already received from another port. A time synchronization tree is created based on these messages. Each port is assigned one of four port states. The "Master Port" state is assigned to the port that has a shorter path to the grandmaster than its connection partner.The "Slave Port" state is assigned if no other port on this node has this state. The "Disabled" state is selected by the port that cannot fully support the PTP protocol. The "Passive" state is selected if none of the other three states apply. The exchange of time information is finally carried out by the Sync_Follow_Up mechanism. The master ports cyclically send Sync and Follow_Up messages to the neighboring connection partner. When the Sync message leaves the master port, a timestamp is generated, which is immediately transmitted in a subsequent Follow_Up message. This timestamp corresponds to the current time of the grandmaster at the time the Sync message was sent. The messages outgoing from the grandmaster are not forwarded but are regenerated in each node, including the switches. The Ethernet network makes it easy to network a vehicle's control units. For example, multiple cameras can be networked together. The sensor data from the cameras can then be merged, for example. Using Ethernet TSN (and the PTP protocol), the respective control units can independently exchange additional information with each directly connected neighbor. In motor vehicles, static and hard-wired connections between control units are typically found. This means that control units usually always have the same neighbors and are not connected to new neighbors. The time synchronization protocol IEEE 1588 and its derivative IEEE 802.1AS (and in the future IEEE 802.1AS-Rev), with their own protocols PTP or gPTP (generalized precision time protocol), have found their way into vehicles. The protocol ensures the exchange of time information, but does not provide any information about the integrity of the synchronization information (is the best clock also the best clock, or can I trust the clock, or is the time correct?). While the execution of time-triggered actions can be initiated, their accuracy cannot be guaranteed. With Ethernet, there is only a single sender of synchronization messages. The time can be corrupted by errors, temperature, or even attacks. Especially with regard to automated driving, time-controlled actions are becoming increasingly important, for example, for synchronizing sensors such as cameras, lidar, radar, and their data streams. This is precisely where plausibility checks are desirable and necessary. In particular, it is important to know whether an operation can be performed autonomously by the vehicle or whether it is better for the driver to continue to take control of the vehicle. To date, no reliable solution is known for validating the validity of an Ethernet message's timestamp. For example, the timestamp can be deliberately falsified, particularly through an attack. The timestamp can also be invalid because synchronization is not yet established. The timestamp can also be faulty due to a bit transposition. This raises the question of how a sensor data fusion unit should behave if it is supposed to fuse two packets but the timestamps don't match, i.e., they are too far apart in time. This doesn't necessarily mean that the data is old and unusable, but rather that there is an error in the timestamp. It should also be noted that all packets are important, and normally none can be omitted. For example, in a driver assistance system, there is usually no time to re-request lost packets. It is an object of the present invention to provide a method and a control unit in which or with which an erroneous time stamp of an Ethernet message can be detected more reliably. This object is achieved by a method and a control unit according to the independent claims. In a method according to the invention, an erroneous timestamp of an Ethernet message is detected. The following steps are performed: - Receiving an Ethernet message with a timestamp by a control unit, in particular of a motor vehicle; - Determining a time difference between a global time of the timestamp and a local time of a clock of the control unit, in particular by the control unit; and - Detecting the timestamp of the Ethernet message as erroneous, in particular by the control unit, if the time difference is greater than a time difference threshold. The invention is based on the finding that the control unit has a clock, in particular one integrated into the control unit, and that the clock provides a local time that can be used to detect the faulty timestamp. This allows the faulty timestamp to be reliably detected. The Ethernet message can be a synchronization message or a sensor data message, for example. Both the time synchronization message and the sensor data message contain the timestamp. The timestamp can be faulty, for example, because the timestamp may have been deliberately falsified, or because there is no synchronization between a transmitting control unit and the control unit, or because there may be a bit rotation. The intention is to validate or check the global time of the timestamp in order to be able to make a decision on further processing of the Ethernet message. Preferably, the global time of the timestamp is replaced by the local time of the control unit's clock if the timestamp is faulty. By replacing the global time with the local time, the Ethernet message can at least be provided with an approximation of the global time present in the Ethernet. This is advantageous because the Ethernet message, for example, embodied as a sensor data message, can continue to be used and is not subjected to further processing with errors, as is the case with an incorrect time that deviates significantly from the global time, or is discarded unprocessed. Furthermore, it is preferably provided that the Ethernet message with the time stamp with the local time is further processed in the control unit and / or forwarded to another control unit, in particular of the motor vehicle. Preferably, the Ethernet message with the local time is therefore further processed within the control unit and / or forwarded to the other control unit. Further processing or forwarding preferably occurs as an alternative to discarding the Ethernet message. Because the Ethernet message has the local time instead of the faulty time stamp, the Ethernet message with the local time can be further processed and / or forwarded like an Ethernet message with an error-free time stamp. Furthermore, it is preferably provided that a global time of a time stamp of at least one further Ethernet message following the Ethernet message is replaced by the local time of the control unit's clock if the time stamp of the Ethernet message is incorrect. The further Ethernet message is also received by the control unit. However, the further Ethernet message is received after the Ethernet message. It is therefore preferably provided that if the incorrect time stamp is detected in the Ethernet message, it is assumed that the further Ethernet message also has an incorrect time stamp.It is then possible to dispense with the extraction of the timestamp of the further Ethernet message and the determination of a time difference between the global time of the further Ethernet message and the local time of the control unit by simply replacing the global time of the further Ethernet message with the local time as a precautionary measure. This is advantageous because it allows the control unit to operate with less effort and / or computational overhead. Furthermore, it can be provided that the Ethernet message is discarded unprocessed if the timestamp is incorrect. It can also be the case that the Ethernet message is discarded after the incorrect timestamp is detected to prevent incorrect further processing of the Ethernet message, for example, by the control unit or another control unit. Furthermore, it is preferably provided that a temperature value of a transmission control unit sending the Ethernet message, in particular of the motor vehicle, is determined, and the time stamp is recognized as faulty if the temperature value is greater than a temperature limit. By comparing the temperature value with the temperature limit, it can be determined whether the transmission control unit is overheated and, thus, an error in the transmission control unit when generating the time stamp can be assumed. The transmission control unit can, for example, be a multiple control unit of the motor vehicle that has sent the Ethernet message at least once in the transmission chain before being received by the control unit. It is assumed that if the temperature value is greater than the temperature limit, a calculation performed in the transmission control unit may be faulty.The temperature value allows the timestamp to be identified as faulty more reliably and accurately. It may also be the case that a temperature value of a transmitting control unit sending the Ethernet message, particularly the motor vehicle, is determined, and the timestamp is identified as faulty if the temperature value is lower than a further temperature threshold. The further temperature threshold is then essentially a minimum temperature value, which is assumed to indicate a timestamp error if the transmitting control unit is too cold when sending or generating the timestamp, and the timestamp is therefore generated incorrectly. Furthermore, it is preferably provided that several Ethernet messages are received and a reception frequency of the Ethernet messages is determined, wherein the time difference is only determined if the reception frequency deviates from a reception frequency target value by less than a frequency tolerance value. In particular, the synchronization message is received by the control unit at regular intervals. If the deviation and thus the reception frequency for an Ethernet message is greater than the frequency tolerance value, i.e. if the Ethernet message is received too soon after receipt of the previous Ethernet message, or if the Ethernet message is received too long after receipt of the previous Ethernet message, this is an indication of an error, and the Ethernet message or the timestamp of the Ethernet message is detected as faulty.If the reception frequency is greater than the frequency tolerance value, an error or an incorrect timestamp is assumed and the time difference therefore no longer needs to be determined. Furthermore, it is preferably provided that a check is carried out to determine whether a transmission control unit sending the Ethernet message, in particular of the motor vehicle, is authorized to send the Ethernet message, in particular directly, to the control unit, and the time difference is only determined if the transmission control unit is authorized. During authorization, it is determined in particular whether the transmission control unit is authorized to send the Ethernet message to the control unit. If the transmission control unit is therefore not authorized, an error is automatically assumed and the time difference and thus the error determination based on the local clock is therefore no longer necessary. This avoids the effort required to determine the time difference or to detect the incorrect time stamp based on the local time. Furthermore, the incorrect time stamp can be detected more reliably. Furthermore, it is preferably provided that a message type of the Ethernet message is determined, and the reception frequency is only determined and / or the Ethernet message is only checked for authorization if the Ethernet message is embodied as a synchronization message. The message type describes, in particular, whether the Ethernet message is present as a synchronization message or as a sensor data message. By determining the message type, checking the reception frequency and / or the authorization can be saved or omitted if the Ethernet message is present, for example, as a sensor data message. Thus, the regularity of reception of the sensor data message is not given to the extent that the synchronization message is regularly sent and received. The invention also relates to a control unit for a motor vehicle. The control unit is configured to receive an Ethernet message with a timestamp. Furthermore, the control unit is configured to determine a time difference between a global time of the timestamp and a local time of a clock of the control unit. The control unit is also configured to detect the timestamp of the Ethernet message as faulty if the time difference is greater than a time difference threshold. The control unit is designed, in particular, as a control device for generating and / or outputting a control signal, or as a switch or network switch, or as a fusion unit, or as a sensor unit. Thus, the control unit is designed, in particular, as an Ethernet communication unit in the motor vehicle's Ethernet, which can send and / or receive an Ethernet message. Furthermore, the invention also relates to a motor vehicle with a control unit according to the invention or an advantageous embodiment thereof. Advantageous embodiments of the method according to the invention are to be regarded as advantageous embodiments of the control unit and the motor vehicle. The respective components of the control unit and the motor vehicle are each designed to carry out the respective method steps. Further features of the invention emerge from the claims, the figures and the description of the figures. Embodiments of the invention are explained in more detail below with reference to schematic drawings. Shown are: Fig. 1 a schematic plan view of an embodiment of a motor vehicle with an embodiment of a control unit according to the invention; Fig. 2 a flowchart of an embodiment of a method according to the invention; Fig. 3 a further flowchart of an embodiment of the method in which a message type of an Ethernet message is determined; Fig. 4 a further flowchart of an embodiment of the method; and Fig. 5 a further flowchart of an embodiment of the method. In the figures, identical or functionally identical elements are provided with the same reference symbols. Fig. 1 shows a top view of a motor vehicle 1 with a control unit 2. Furthermore, the motor vehicle 1 has a transmission control unit 3. The transmission control unit 3 is connected to the control unit 2 for data transmission. Both the control unit 2 and the transmission control unit 3 can be designed as a control unit or as a communication unit or Ethernet communication unit or as a network switch. The control unit 2 receives an Ethernet message 4. The Ethernet message 4 has a timestamp 5. The timestamp 5, in turn, has a global time 6 upon receipt. According to the exemplary embodiment, the global time 6 is provided by a best clock within an Ethernet 7 of the motor vehicle 1 or by a grandmaster of the Ethernet 7. According to the exemplary embodiment, the Ethernet 7 is designed as an on-board communications network of the motor vehicle 1 for data transmission. The control unit 2 has a clock 8. According to the exemplary embodiment, the clock 8 is integrated into the control unit 2. The clock 8 provides a local time 9. The clock 8 can be designed, for example, as a quartz clock generator. According to the embodiment, the control unit 2 determines a time difference between the global time 6 and the local time 9. According to the exemplary embodiment, the time difference is then compared by the control unit 2 with a time difference threshold. If the time difference is greater than the time difference threshold, the time stamp 5 is detected as faulty. This means that the time stamp 5 was intentionally manipulated, for example, or an error occurred during the generation of the time stamp 5, or an error occurred during the transmission of the time stamp 5, or the time stamp 5 is invalid because the control unit 2 and / or the transmit control unit 3 are not yet synchronized in the Ethernet 7. According to the embodiment, it is now provided that the global time 6 is replaced by the local time 9 if the time stamp 5 is faulty or is detected as faulty. The Ethernet message 4 with the local time 9 is then forwarded to another control unit 10 of the motor vehicle 1 according to the exemplary embodiment. Additionally or alternatively, the Ethernet message 4 with the local time 9 can also be further processed in the control unit 2 itself. According to the exemplary embodiment, the transmission control unit 3 has a temperature sensor 11. The temperature sensor 11 determines a temperature value 12 of the transmission control unit 3. Additionally or alternatively, the control unit 2 and / or the further control unit 10 can also have a temperature sensor for determining a respective temperature value. Fig. 2 shows a flowchart illustrating the general sequence of an exemplary embodiment of the method. In a step S1 and a step S2, the Ethernet message 4 is checked, i.e., it is checked whether the transmission control unit 3 is authorized to send the Ethernet message 4. Furthermore, in step S2, it is checked whether a reception frequency 13 deviates from a reception frequency target value by less than a frequency tolerance value. In a step S3, the time difference is determined, and if the time difference is greater than the time difference threshold, the time stamp 5 is identified as faulty. Finally, in a step S4, the global time 6 in the time stamp 5 is replaced by the local time 9 if the time stamp 5 is faulty. Fig. 3 shows a flowchart for classifying messages with a synchronization background. In a step S5, the Ethernet message 4 is received by the control unit 2. In a step S6, a decision is made as to whether the Ethernet message 4 is a synchronization message. If this is the case and it is a synchronization message, a step S7 follows. If this is not the case and the Ethernet message 4 is not a synchronization message but, for example, a sensor data message, a step S8 follows. In step S7, a check is made as to whether the transmitting control unit 3 is authorized to send the Ethernet message 4 to the control unit 2. If this is the case and the transmitting control unit 3 is authorized to do so, a step S9 follows. In step S9, the receiving frequency 13 is determined and a check is made as to whether the receiving frequency 13 is lower than the frequency tolerance value and thus lies within a frequency tolerance value range. Step S9 is followed by step S10. In step S10, the time stamp 5 is extracted from the Ethernet message 4. This is followed by step S11, in which the time difference is determined and the time stamp 5 is checked for errors, i.e., it is either detected as faulty or classified as error-free. In step S8, a decision is made as to whether Ethernet message 4 is a message with a timestamp, for example, a sensor data message with a timestamp. If Ethernet message 4 has a timestamp of 5, step S10 follows. If Ethernet message 4 does not have a timestamp of 5, step S5 follows. Fig. 4 shows a flowchart for validating the received time stamp 5. In a step S12, the time stamp 5 is recorded with the local time 9 when the Ethernet message 4 is received. In a step S13, a time stamp 14 of another Ethernet message 15 is recorded with the local time 9 when the other Ethernet message 15 is received by the control unit 2. In a step S14, the difference between the local time 9 in the time stamp 5 of the Ethernet message 4 and the local time 9 in the time stamp 14 of the further Ethernet message 15 is calculated or determined. In a step S15, an inaccuracy of the clock 8 is determined by adding the local time 9 of the time stamp 5 of the Ethernet message 4 to the difference from step S14. In a step S16, an estimate for the local time 9 of the time stamp 14 of the further Ethernet message 15 is determined based on the results of step S16. The clock 8 may have inaccuracies due, for example, to quartz drift and / or temperature influences. In a step S17, the result of step S16 is validated. The received Ethernet messages 4, 15 are stored together with the respective local time 9. It should be noted that in this application, the synchronized time is not used, but rather the local time 9 to avoid errors. This can also be repeated with additional Ethernet messages. Based on the clock 8, the difference between the received local times 9 is determined and compared. The relative inaccuracy between the times should not be greater than the locally determined difference plus any deviation due to hardware specifics, which can be specified, for example, in PPM (parts per million). For example, if the interval between synchronization messages, specifically between Ethernet message 4 and the subsequent Ethernet message 15, is 100 ms, then the (arithmetic) average should be 10 messages per second. The average interval between two messages should be between 100 ms, although the reception of Ethernet messages 4 and 15 may fluctuate. The fluctuation can be calculated or specified. Optionally, additional parameters can also be used to check the time or clock 8 or local time 9. Fig. 5 shows time recording in validation problems and the switch to these methods. Since sensor data cannot be requested again, for example from a radar sensor or a camera, as these usually provide snapshots, the method proposes using the timestamp 5 with the local time 9 in order to still be able to use the sensor data. To ensure that the timestamps 5, 14 can be used, the method proposes discarding the timestamps 5, 14 with the global time 6 for all sensor streams and using new timestamps or the local time 9 of the clock 8 for the timestamps 5, 14 upon receipt so that the sensor data can be fused. If the inaccuracy of the timestamps is less than half the transmission frequency of the sensor data, a likely exact assignment can still be made.The control unit 2 can, for example, be in the form of a fusion unit which receives a plurality of sensor data streams, for example from an environment detection system of the motor vehicle 1. In step S18, a decision is made as to whether there is trust in the time synchronization for all input ports or external physical interfaces of control unit 2. If this is the case, step S19 follows. If this is not the case, step S20 follows. In step S19, a decision is made as to whether there is trust in the time synchronization for this Ethernet message 4. If this is the case, step S21 follows; if this is not the case, step S20 follows. In step S20, a decision is made as to whether there is trust in the sensor data associated with Ethernet message 4. If this is not the case, step S22 follows, in which Ethernet message 4 is discarded or the lack of trust is at least recorded in a log file. If trust in the associated sensor data is present in step S20, for example because the sensor data is urgently needed, a step S23 follows, in which the time stamp 5 with the global time 6 is discarded. This is followed by a step S24 in which the time stamp 5 with the local time 9 is created. Furthermore, a step S25 follows. In step S25, the time stamp 14 of the further Ethernet message 15 with the local time 9 is created. In particular, time stamps with the local time 9 are created for all further Ethernet messages on the input ports of the control unit 2. This is followed by step S21, in which the Ethernet message 4 and, for example, also the further Ethernet message 15 are forwarded to the application. List of reference symbols 1 Motor vehicle 2 Control unit 3 Transmitting control unit 4 Ethernet message 5 Timestamp 6 Global time 7 Ethernet 8 Clock 9 Local time 10 Further control unit 11 Temperature sensor 12 Temperature value 13 Receive frequency 14 Timestamp 15 Further Ethernet message
Claims
Method for detecting an erroneous time stamp (5) of an Ethernet message (4), in which the following steps are carried out:- receiving an Ethernet message (4) with a time stamp (5) by a control unit (2);- determining a time difference between a global time (6) of the time stamp (5) and a local time (6) of a clock (8) of the control unit (2); and- recognizing the time stamp (5) of the Ethernet message (4) as being faulty if the time difference is greater than a time difference limit value,- replacing the global time (6) of the time stamp (5) with the local time (6) of the clock (8) of the control unit (2) if the time stamp (5) is faulty,characterized in that the global time (6) of a time stamp (14) of at least one further Ethernet message (15) following the Ethernet message (4) is replaced by the local time (9) of the clock (8) of the control unit (2) if the time stamp (5) of the Ethernet message (4) is faulty. Method according to claim 1, characterized in that the Ethernet message (4) with the time stamp (5) with the local time (9) is further processed in the control unit (2) and / or forwarded to a further control unit (10). Method according to one of the preceding claims, characterized in that the global time (6) of a time stamp (14) of several further Ethernet messages (15) following the Ethernet message (4) is replaced by the local time (9) of the clock (8) of the control unit (2) if the time stamp (5) of the Ethernet message (4) is faulty. Method according to one of the preceding claims, characterized in that a temperature value (12) of a transmission control unit (3) sending the Ethernet message (4) is determined and the time stamp (5) is recognized as faulty if the temperature value (12) is greater than a temperature limit value. Method according to one of the preceding claims, characterized in that a plurality of Ethernet messages (4, 15) are received and a reception frequency (13) of the Ethernet messages (4, 15) is determined, wherein the time difference is only determined if the reception frequency (13) deviates from a reception frequency target value by less than a frequency tolerance value. Method according to one of the preceding claims, characterized in that it is checked whether a transmission control unit (3) sending the Ethernet message (4) is authorized to send the Ethernet message (4) to the control unit (2), and the time difference is only determined if the transmission control unit (3) is authorized. Method according to claim 5 or 6, characterized in that a message type of the Ethernet message (4) is determined, and the reception frequency (13) is only determined and / or the Ethernet message (4) is only checked if the Ethernet message (4) is designed as a synchronization message. Control unit (2) for a motor vehicle (1), which is configured to receive an Ethernet message (4) with a time stamp (5), to determine a time difference between a global time (6) of the time stamp (5) and a local time (9) of a clock (8) of the control unit (2), to recognize the time stamp (5) of the Ethernet message (4) as faulty if the time difference is greater than a time difference limit value, and to replace the global time (6) of the time stamp (5) with the local time (6) of the clock (8) of the control unit (2) if the time stamp (5) is faulty, characterized in that the global time (6) of a time stamp (14) of at least one further Ethernet message (15) following the Ethernet message (4) is replaced by the local time (9) of the clock (8) of the control unit (2) if the time stamp (5) of the Ethernet message (4) is faulty. Control unit (2) for a motor vehicle (1) according to claim 8, characterized in that the Ethernet message (4) with the time stamp (5) with the local time (9) is further processed in the control unit (2) and / or forwarded to a further control unit (10). Control unit (2) for a motor vehicle (1) according to claim 8 or 9, characterized in that the global time (6) of a time stamp (14) of several further Ethernet messages (15) following the Ethernet message (4) is replaced by the local time (9) of the clock (8) of the control unit (2) if the time stamp (5) of the Ethernet message (4) is faulty. Control unit (2) for a motor vehicle (1) according to one of the preceding claims 8 to 10, characterized in that a temperature value (12) of a transmission control unit (3) sending the Ethernet message (4) is determined and the time stamp (5) is recognized as faulty if the temperature value (12) is greater than a temperature limit value. Control unit (2) for a motor vehicle (1) according to one of the preceding claims 8 to 11, characterized in that a plurality of Ethernet messages (4, 15) are received and a reception frequency (13) of the Ethernet messages (4, 15) is determined, wherein the time difference is only determined if the reception frequency (13) deviates from a reception frequency target value by less than a frequency tolerance value. Control unit (2) for a motor vehicle (1) according to one of the preceding claims 8 to 12, characterized in that it is checked whether a transmission control unit (3) sending the Ethernet message (4) is authorized to send the Ethernet message (4) to the control unit (2), and the time difference is only determined if the transmission control unit (3) is authorized. Control unit (2) for a motor vehicle (1) according to one of the preceding claims 8 to 13, characterized in that a message type of the Ethernet message (4) is determined, and the reception frequency (13) is only determined and / or the Ethernet message (4) is only checked if the Ethernet message (4) is designed as a synchronization message.
Citation Information
Patent Citations
Method for establishing a common time base for network participants in a motor vehicle network
DE102013224697A1
Method for synchronization in a local area network including a store-and-forward device
US20040151125A1
Systems, Methods, and Apparatus for Modifying Sensor Time Stamp Data
US20130094372A1
