IP Library › Granted Patent US 11,968,107
Granted Patent B2
US 11,968,107 · App. 18/027,762 · Granted Apr 23, 2024

Determining correctness of actually received timestamp

Inventors: Mohamed-Saad Abdelhameed (Dachau, DE); Manjeet Singh Bilra (Hoerlkofen, DE); Karl Budweiser (Munich, DE)
Assignee: Bayerische Motoren Werke Aktiengesellschaft
H04L43/0852H04L41/147H04L41/149
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,968,107
App. No.
18/027,762
Granted
Apr 23, 2024
Kind
B2
Abstract

A method for determining a correctness of an actually received timestamp is provided. A communication network includes a master clock, a first ECU having a first slave clock, a validator having a second slave clock, and a first communication bus. The first ECU uses a first communication standard having a deterministic scheme. The method includes synchronizing, at the first ECU, a time of the first slave clock to a global time of the master clock, synchronizing, at the validator, a time of the second slave clock to the global time of the master clock, predicting, at the validator, a timestamp to be received in an actual communication cycle from the first ECU based on the deterministic scheme of the communication standard used by the first ECU, and comparing, at the validator, the predicted timestamp with the actually received timestamp from the first ECU.

Claims (52)

1. A method for determining a correctness of an actually received timestamp provided by a first ECU of a communication network of a vehicle using a validator,

wherein the communication network comprises a master clock, the first ECU having a first slave clock, the validator having a second slave clock, and a first communication bus connecting the first ECU, the validator and the master clock to each other, and wherein the first ECU uses a first communication standard having a deterministic scheme,

the method comprising:

synchronizing, at the first ECU, a first time of the first slave clock to a global time of the master clock,

synchronizing, at the validator, a second time of the second slave clock to the global time of the master clock,

predicting, at the validator, a timestamp to be received in an actual communication cycle from the first ECU based on the deterministic scheme of the communication standard used by the first ECU, and

comparing, at the validator, the predicted timestamp with the actually received timestamp from the first ECU,

wherein the comparing, at the validator, the predicted timestamp with the actually received timestamp provided by the first ECU of the communication network comprises:

determining, at the validator, a difference between the predicted timestamp and the actually received timestamp,

comparing the difference to a predefined threshold value, and

upon determining that the difference is smaller than the predefined threshold value, determining the correctness of the actually received timestamp, wherein:

the difference between the global time of the predicted timestamp at the validator and the global time of the actually received timestamp is determined considering a fixed delay between a data acquisition task and a data sending task of the first ECU,

the actually received timestamp at the validator is provided by the first ECU during the data acquisition task, and

the difference between the predicted timestamp and the actually received timestamp is determined using the following formula:

GT2−GT1−Δ+δ, wherein:

GT 2 is a global time of providing the actually received timestamp by the first ECU,

GT 1 is a global reference time at a start of the actual communication cycle of the first ECU,

Δ is a result received by multiplying a predefined number of slots of the deterministic scheme of the first communication standard used by the first ECU with a fixed duration of the slots, and

δ is the fixed delay between the data acquisition task and the data sending task of the fir st ECU, wherein the actually received timestamp is provided during the data acquisition task by the first ECU.

2. The method according to claim 1 , wherein the global time of the actually received timestamp is determined at the first ECU using the following formula:

GT2=GT1+lt2−lt1

wherein:

lt 1 is a local time of the first slave clock at the start of the actual communication cycle, and

lt 2 is a local time of the first slave clock at the time of providing the actually received time stamp by the first ECU.

3. The method according to claim 1 , wherein:

the communication network further comprises a second ECU having a third slave clock, a gateway ECU comprising the validator, and a second communication bus connecting the second ECU via the gateway ECU and the first communication bus to the first ECU,

the second ECU uses a second communication standard having a higher safety integrity level than the first communication standard used by the first ECU,

an integrity of the master clock according to the validator is sufficient to fulfill safety requirements of the second communication standard having the higher safety integrity level than the first communication standard, and

the validator determines the correctness of the actually received timestamp provided by the first ECU according to the safety requirements of the second communication standard.

4. The method according to claim 3 , wherein the synchronizing, at the first ECU, the first time of the first slave clock to the global time of the master clock comprises:

receiving, at the first ECU, a synchronization message from the master clock such that the first time of the first slave clock of the first ECU is synchronized to the global time of the master clock based on the received synchronization message.

5. A validator configured to determine a correctness of an actually received timestamp provided by a first ECU of a communication network of a vehicle,

wherein the communication network comprises a master clock, the first ECU having a first slave clock, and a first communication bus configured to connect the first ECU, the validator and the master clock to each other,

wherein the first ECU uses a first communication standard having a deterministic scheme, and

wherein a first time of the first slave clock is synchronized to a global time of the master clock,

the validator comprising:

a second slave clock, wherein a second time of the second slave clock is synchronized to the global time of the master clock, and

wherein the validator is configured to:

predict a timestamp to be received in an actual communication cycle from the first ECU based on the deterministic scheme of the communication standard used by the first ECU, and

compare the predicted timestamp with an actually received timestamp from the first ECU,

wherein to compare the predicted timestamp with the actually received timestamp from the first ECU, the validator is further configured to:

determine a difference between the predicted timestamp and the actually received time stamp,

compare the difference to a predefined threshold value, and

upon determining that the difference is smaller than the predefined threshold value, determine the correctness of the actually received timestamp wherein:

the difference between the global time of the predicted timestamp at the validator and the global time of the actually received timestamp is determined considering a fixed delay between a data acquisition task and a data sending task of the first ECU,

the actually received timestamp at the validator is provided by the first ECU during the data acquisition task, and

the difference between the predicted timestamp and the actually received timestamp is determined using the following formula:

GT2−GT1−Δ+δ, wherein:

GT 2 is a global time of providing the actually received timestamp by the first ECU,

GT 1 is a global reference time at a start of the actual communication cycle of the first ECU,

Δ is a result received by multiplying a predefined number of slots of the deterministic scheme of the first communication standard used by the first ECU with a fixed duration of the slots, and

δ is the fixed delay between the data acquisition task and the data sending task of the first ECU, wherein the actually received timestamp is provided during the data acquisition task by the first ECU.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 3, 2023
From: ABDELHAMEED, MOHAMED-SAAD; BILRA, MANJEET SINGH; BUDWEISER, KARL
To: BAYERISCHE MOTOREN WERKE AKTIENGESELLSCHAFT
Reel/Frame 063200/0043 →
Priority Claims (1)
EP 20197698 · Sep 23, 2020 · regional
Continuity (1)
Related Publication 20230353469A1 · Nov 2, 2023
Cited By (1)
US 12,199,746