# US 2024/0004351 A1 · Time Calibration Method, Electronic Device and Storage Medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0004351 A1
- Document ID: US20240004351A1
- Status: Published application
- Kind: A1
- Application number: 18/093,096
- Filed: 2023-01-04
- Published: 2024-01-04
- Earliest claimed: 2022-06-29
- Assignees: Apollo Intelligent Driving Technology (Beijing) Co., Ltd.
- Applicants: Apollo Intelligent Driving Technology (Beijing) Co., Ltd.
- Inventors: Rui DAI
- Web page: https://patentgrep.com/patent/US20240004351A1

## CPC

- G04R 20/02: the radio signal being sent by a satellite, e.g. GPS
- G04R: RADIO-CONTROLLED TIME-PIECES

## Abstract

The present disclosure provides a time calibration method, an electronic device, and a storage medium, and relates to the technical field of automatic driving. The method can include: determining a first observation error between first reference time point and first system time point; determining a second observation error between second reference time point and second system time point; determining a unit drift per second of the system to be calibrated based on the first system time point, the second system time point, the first observation error, and the second observation error; and calibrating the time of the system to be calibrated based on the unit drift per second.

## Claims

### Claim 1

A time calibration method, comprising:
determining a first observation error between a first reference time point and a first system time point, wherein the first reference time point and the first system time point are obtained by respectively observing time values of a reference time point system and a system to be calibrated at a first moment;
determining a second observation error between a second reference time point and a second system time point, wherein the second reference time point and the second system time point are obtained by respectively observing time values of the reference time point system and the system to be calibrated at a second moment;
determining a unit drift per second of the system to be calibrated based on the first system time point, the second system time point, the first observation error, and the second observation error; and
calibrating the time value of the system to be calibrated based on the unit drift per second.

### Claim 2 (depends on 1)

The method as claimed in claim 1, wherein calibrating the time value of the system to be calibrated based on the unit drift per second comprises:
acquiring a target duration between historical system time point and current system time point, wherein the historical system time point is system time point corresponding to historical calibration of the system to be calibrated;
determining target compensation time based on the unit drift per second and the target duration; and
calibrating the time value of the system to be calibrated based on the target compensation time.

### Claim 3 (depends on 1)

The method as claimed in claim 1, wherein determining the unit drift per second of the system to be calibrated based on the first system time point, the second system time point, the first observation error, and the second observation error comprises:
constructing a first expression based on the first system time point, a first drift variable, a fixed variable, and the first observation error, wherein the first drift variable is a drift per second introduced by a clock crystal oscillator of the system to be calibrated in a positioning process;
constructing a second expression based on the second system time point, the first drift variable, the fixed variable, and the second observation error; and
solving the first expression and the second expression to obtain the unit drift per second.

### Claim 4 (depends on 2)

The method as claimed in claim 2, wherein determining the target compensation time based on the unit drift per second and the target duration comprises:
determining the target compensation time based on a product of the unit drift per second and the target duration.

### Claim 5 (depends on 2)

The method as claimed in claim 2, wherein calibrating the time value of the system to be calibrated based on the target compensation time comprises:
performing calibration based on a sum value of the target compensation time and the time value of the system to be calibrated.

### Claim 6 (depends on 3)

The method as claimed in claim 3, wherein the fixed variable is used for expressing a time overhead introduced during observation of the time of the reference time point system or the time value of the system to be calibrated.

### Claim 7 (depends on 1)

The method as claimed in claim 1, wherein the reference time point of the reference time system and the first system time point of the system to be calibrated are invoked using an invoking interface.

### Claim 8 (depends on 1)

The method as claimed in claim 1, wherein the first moment and the second moment are moments separated by preset time.

### Claim 9

An electronic device, comprising:
at least one processor; and
a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions when executed by the at least one processor, cause the at least one processor to implement a method comprising:
determining a first observation error between a first reference time and a first system time, wherein the first reference time and the first system time are obtained by respectively observing time values of a reference time system and a system to be calibrated at a first moment;
determining a second observation error between a second reference time and a second system time, wherein the second reference time and the second system time are obtained by respectively observing time values of the reference time system and the system to be calibrated at a second moment;
determining a unit drift per second of the system to be calibrated based on the first system time, the second system time, the first observation error, and the second observation error; and
calibrating the time value of the system to be calibrated based on the unit drift per second.

### Claim 10 (depends on 9)

The electronic device as claimed in claim 9, wherein the method comprises:
acquiring a target duration between historical system time point and current system time point, wherein the historical system time point is system time point corresponding to historical calibration of the system to be calibrated;
determining target compensation time based on the unit drift per second and the target duration; and
calibrating the time value of the system to be calibrated based on the target compensation time.

### Claim 11 (depends on 9)

The electronic device as claimed in claim 9, wherein the method comprises:
constructing a first expression based on a first system time point, a first drift variable, a fixed variable, and the first observation error, wherein the first drift variable is a drift per second introduced by a clock crystal oscillator of the system to be calibrated in a positioning process;
constructing a second expression based on a second system time point, the first drift variable, the fixed variable, and the second observation error; and
solving the first expression and the second expression to obtain the unit drift per second.

### Claim 12 (depends on 10)

The electronic device as claimed in claim 10, wherein the method comprises:
determining the target compensation time based on a product of the unit drift per second and the target duration.

### Claim 13 (depends on 10)

The electronic device as claimed in claim 10, wherein the method comprises:
performing calibration based on a sum value of the target compensation time and the time value of the system to be calibrated.

### Claim 14 (depends on 11)

The electronic device as claimed in claim 11, wherein the fixed variable is used for expressing a time overhead introduced during observation of the time of a reference time point system or the time value of the system to be calibrated.

### Claim 15

A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions cause a computer to implement a method comprising:
determining a first observation error between a first reference time and a first system time, wherein the first reference time and the first system time are obtained by respectively observing time values of a reference time point system and a system to be calibrated at a first moment;
determining a second observation error between a second reference time and a second system time, wherein the second reference time and the second system time are obtained by respectively observing time values of the reference time system and the system to be calibrated at a second moment;
determining a unit drift per second of the system to be calibrated based on the first system time, the second system time, the first observation error, and the second observation error; and
calibrating the time value of the system to be calibrated based on the unit drift per second.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium as claimed in claim 15, wherein the method comprises:
acquiring a target duration between historical system time point and current system time point, wherein the historical system time point is system time point corresponding to historical calibration of the system to be calibrated;
determining target compensation time based on the unit drift per second and the target duration; and
calibrating the time value of the system to be calibrated based on the target compensation time.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium as claimed in claim 15, wherein the method comprises:
constructing a first expression based on a first system time point, a first drift variable, a fixed variable, and the first observation error, wherein the first drift variable is a drift per second introduced by a clock crystal oscillator of the system to be calibrated in a positioning process;
constructing a second expression based on a second system time point, the first drift variable, the fixed variable, and the second observation error; and
solving the first expression and the second expression to obtain the unit drift per second.

### Claim 18 (depends on 16)

The non-transitory computer-readable storage medium as claimed in claim 16, wherein the method comprises:
determining the target compensation time based on a product of the unit drift per second and the target duration.

### Claim 19 (depends on 16)

The non-transitory computer-readable storage medium as claimed in claim 16, wherein the method comprises:
performing calibration based on a sum value of the target compensation time and the time value of the system to be calibrated.

### Claim 20 (depends on 17)

The non-transitory computer-readable storage medium as claimed in claim 17, wherein the fixed variable is used for expressing a time overhead introduced during observation of the time of the reference time point system or the time value of the system to be calibrated.
