In-vehicle communication device and time synchronization method thereof
AssigneesHyundai Motor Company, Kia Motors Corporation
InventorsTae Hwan Park, Ha Rin Lee, Beom Sik Kim
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to an in-vehicle communication device and a time synchronization method thereof. The in-vehicle communication device includes a clock generator for generating a clock signal, a local counter for counting the number of pulses of the clock signal, a transceiver for receiving a message via an in-vehicle communication network, and a processor that determines whether the message received via the transceiver is a synchronization message, extracts synchronization time information from the synchronization message, and adjusts a count value of the local counter based on the synchronization time information to perform time synchronization.
Claims10
An in-vehicle communication device comprising:
- a clock generator for generating a clock signal;
- a local counter for counting the number of pulses of the clock signal;
- a transceiver for receiving a message via an in-vehicle communication network, wherein the in-vehicle communication network is implemented as a controller area network (CAN) or a Local Interconnect Network (LIN);
- and
- a processor configured to:
- determine whether the message received via the transceiver is a synchronization message;
- extract synchronization time information from the synchronization message;
- and
- adjust a count value of the local counter based on the synchronization time information to perform time synchronization;
- wherein the processor offsets the synchronization time information by reflecting communication delay information, and scales the offset synchronization time based on a driving frequency of the local counter;
- wherein the processor includes a CAN controller, an offset processor, and a scaler;
- and
- wherein the processor calculates an offset synchronization time by adding a synchronization time and a communication delay time.
A method for synchronizing time of an in-vehicle communication device, the method comprising:
- receiving, by a processor, a message via an in-vehicle communication network, wherein the in-vehicle communication network is implemented as a controller area network (CAN) or a Local Interconnect Network (LIN);
- determining, by the processor, whether the received message is a synchronization message;
- extracting, by the processor, synchronization time information from the synchronization message;
- and
- performing, by the processor, time synchronization based on the synchronization time information;
- wherein the performing of the time synchronization includes:
- offsetting, by an offset processor of the processor, the synchronization time information by reflecting communication delay information;
- and
- scaling, by the processor, the offset synchronization time information based on a driving frequency of a local counter;
- wherein the offsetting of the synchronization time information includes:
- calculating, by the offset processor, an offset synchronization time by adding a synchronization time and a communication delay time;
- wherein the determining of whether the received message is the synchronization message includes:
- determining, by a CAN controller of the processor, whether a message identifier of the received message matches a pre-stored synchronization message identifier and filtering the synchronization message among the received messages;
- and
- wherein the performing of the time synchronization includes:
- reflecting, by the scaler, a scaled count value to the local counter.
Dependencies are inferred from the claim text.