A calibration method for T-BOX system time

By incorporating GPS and GPRS modules into the T-BOX system and combining them with a self-learning calibration coefficient K, the problem of time synchronization issues in the T-BOX system was solved, enabling time calibration even in environments with poor signal coverage, thus ensuring the accuracy of the system time and the timely uploading of information.

CN116232521BActive Publication Date: 2026-05-01HEFEI LIGAO POWER TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HEFEI LIGAO POWER TECH CO LTD
Filing Date
2023-03-29
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

In vehicle-to-everything (V2X) systems, the T-BOX system is prone to time synchronization issues, especially when GPS signals and GPRS networks are weak, leading to timestamp errors that affect information uploading and storage.

Method used

By integrating the built-in GPS and GPRS modules into the T-BOX, along with the storage and OpenCPU modules, the system time is calibrated using a self-learning calibration coefficient K. The calibration coefficient K is calculated using GPS time and network time as a reference, thus achieving self-running time calibration.

Benefits of technology

Even in situations with poor GPS signal and GPRS network, maintain the accuracy of T-BOX time, prevent errors during time calibration, and ensure the accuracy of information uploading and storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116232521B_ABST
    Figure CN116232521B_ABST
Patent Text Reader

Abstract

This invention belongs to the technical field of automotive vehicle networking systems, specifically relating to a method for calibrating the time of a T-BOX system. The method is applied to an OpenCpu module, a storage module, and a communication module that perform T-BOX system time calibration. It includes determining whether the communication module successfully obtains the network time; if unsuccessful, it retrieves the real-time time from historical timestamps in the storage module and defines the real-time time as the reference time T. 1 If successful, the network time is defined as the base time T. 1 The method proposed in this invention enables the vehicle-mounted T-BOX hardware to successfully achieve timekeeping even without a timing function, and solves the problem of system time synchronization issues when the vehicle-mounted T-BOX has poor GPS signal or GPRS network conditions. When the signal is poor, the system's self-running time is calibrated in real time through a calibration coefficient to prevent timekeeping errors during the time calibration process.
Need to check novelty before this filing date? Find Prior Art

Description

A method for calibrating the time of a T-BOX system Technical Field

[0001] This invention belongs to the field of automotive network system technology, specifically relating to a method for calibrating the time of a T-BOX system. Background Technology

[0002] As a core component of current vehicle-to-everything (V2X) technology, the in-vehicle T-BOX (Telematics BOX) primarily functions to upload data to the cloud, retrieve data from the cloud, and display real-time vehicle information and remotely control the car through data transmission. The in-vehicle T-BOX serves as a platform for intelligent vehicle interaction and human-machine collaboration, and is the medium for acquiring information and status of key vehicle components. The control of timestamps within the T-BOX is particularly important; time parameters acquired at different timestamps within the same time period have significant analytical value, providing valuable data for big data-driven intelligent analysis of fault causes and component lifespan prediction.

[0003] Most systems rely on RTC time for counting. Currently, multiple event sources are used, and the timing may be intermittent. However, OpenCPU lacks an RTC module, so the system time needs to be re-organized. The T-BOX, with its GPS, GPRS modules, and stored information, is used for system time synchronization. However, some environments prevent network connectivity, or GPS signals are absent in heavily obstructed locations like underground parking garages, leading to inaccurate timestamps and delays in uploading and saving information. Therefore, designing a reasonable time synchronization mechanism and properly calibrating it in conjunction with various time sources has become a critical problem to be solved in the field of connected vehicles. Summary of the Invention

[0004] The purpose of this invention is to provide a method for calibrating the time of a T-BOX system, so as to solve the problem that the system time is prone to being out of sync during the operation of the vehicle networking system in the prior art.

[0005] The present invention achieves the above objectives through the following technical solutions:

[0006] A method for calibrating the time of a T-BOX system, the method being applied to an OpenCpu module, a storage module, and a communication module for performing T-BOX system time calibration, the method comprising the following steps:

[0007] S1: Determine whether the communication module successfully obtains the network time. If it fails, obtain the real-time time from the historical timestamp in the storage module and define the real-time time as the base time T1. If it succeeds, define the network time as the base time T1.

[0008] S2: Starting from the reference time T1, perform self-timekeeping to obtain the system time T before calibration. n1 The process continues until the communication module successfully acquires the GPS time, and then performs a timing cycle t1 based on the GPS time to obtain the system self-running time T3 within the timing cycle t1. The calibration coefficient K is then calculated based on the system self-running time T3.

[0009] K = T3 / t1;

[0010] S3: Based on the reference time T1, perform system self-running, record the self-running time as T2, and weight it with the calibration coefficient K to obtain the calibrated system time T. n : .

[0011] As a further optimization of the present invention, the communication module includes a GPS module and a GPRS module built into the T-BOX.

[0012] As a further optimization of the present invention, the GPS module outputs a signal to obtain the GPS time, and the GPRS module is used to obtain the network time and store data parameters.

[0013] As a further optimization of the present invention, the timing period t1 and the self-running time T3 in step S2 have the same time unit.

[0014] As a further optimization of the present invention, the self-running step in step S2 is specifically implemented by a timer set in the OpenCPU module.

[0015] As a further optimization of the present invention, the rated minimum time interval in the timer is no higher than 500ms.

[0016] The beneficial effects of this invention are as follows:

[0017] The method proposed in this invention enables the vehicle-mounted T-BOX hardware to successfully achieve timekeeping even without a timing function, and solves the problem of system time synchronization issues when the vehicle-mounted T-BOX has poor GPS signal or GPRS network conditions. When a poor signal occurs during the normal operation of the T-BOX timekeeping, the system's self-running time is calibrated in real time using a calibration coefficient to prevent timekeeping errors during the time calibration process. Attached Figure Description

[0018] Figure 1 is a flowchart of a T-BOX system time calibration method proposed in this invention;

[0019] Figure 2 is a flowchart of the self-learning timekeeping coefficient calibration process in the T-BOX system time calibration method proposed in this invention. Detailed Implementation

[0020] The present invention will now be described in further detail with reference to the accompanying drawings. It should be noted that the specific embodiments described below are only for further illustration of the present invention and should not be construed as limiting the scope of protection of the present invention. Those skilled in the art can make some non-essential improvements and adjustments to the present invention based on the above description. Example 1

[0021] As shown in Figures 1-2, this invention provides a method for calibrating the time of a T-BOX system. The method is applied to the OpenCpu module, storage module, and communication module that perform T-BOX system time calibration, and includes the following steps:

[0022] S1: Determine whether the communication module successfully obtained the network time. If it fails, retrieve the real-time time from the historical timestamp in the storage module and define the real-time time as the base time T1. If it succeeds, define the network time as the base time T1.

[0023] S2: Obtain the system time T before calibration by performing self-timekeeping starting from the reference time T1. n1 The process continues until the communication module successfully acquires the GPS time and performs a timing cycle t1 based on the GPS time to obtain the system's self-running time T3 within the timing cycle t1. The calibration coefficient K is then calculated based on the system's self-running time T3.

[0024] K = T3 / t1;

[0025] S3: Based on the reference time T1, perform system self-running, record the self-running time as T2, and weight it with the calibration coefficient K to obtain the calibrated system time T. n : ; ;

[0026] This involves calibrating the T-BOX system time and setting it based on the current system time T. n Store data parameters.

[0027] The following describes the time calibration method for the T-BOX system based on OpenCPU, with reference to specific embodiments.

[0028] This invention addresses how to perform system time synchronization when the OpenCPU module lacks RTC time synchronization in existing technologies, and specifically addresses which time synchronization method should be used under different operating conditions:

[0029] In this invention, the communication module includes a GPS module and a GPRS module built into the T-BOX. The GPS module outputs a signal to obtain GPS time (as long as it can be obtained, it is accurate time). The GPRS module is used to obtain network time (obtained through the GPRS module in the network module; if the network is poor, it may not be able to be obtained, and it can only be obtained when the network signal is good) and to store data parameters.

[0030] (1): After the vehicle T-BOX is powered on, it obtains the network time from the storage (nand flash) or from the GPRS module of the communication module as the system time. If the network time can be obtained, it is temporarily used as the reference time T1. If the network time is not obtained within two seconds, it is because the network signal is not very stable. At this time, the storage timestamp is read from the storage module as the reference time T1.

[0031] (2): After obtaining the reference time T1, define the self-running time as T3, and record the system time as T. n1 After adopting the self-running time T n1 =T1+T3, the system time T n1 This serves as the foundation for transmitting and recording data throughout the entire system, and the system time T n1 It has not been calibrated;

[0032] (3): The GPS in the communication module completes cold and hot start in about 3-30 seconds after power-on. If the GPS signal quality is available at this time, the GPS time can be obtained as the system time. After obtaining the GPS time, a timing period t1 is made. During this process, the self-running time is counted synchronously. The system self-running time T3 within the timing period t1 is used to calculate the calibration coefficient K.

[0033] It should be noted that the calibration coefficient K obtained in this embodiment can also be called the self-learning coefficient K, that is, the self-learning calibration process of the system time based on the self-learning coefficient K is realized, and the calculation process including the self-learning coefficient K should also be covered within the protection scope of this invention.

[0034] Specifically: Let the timing period t1 be one hour, then K = T3 / 3600 (time unit is s).

[0035] In this invention, the timing period t1 and the self-running time T3 have the same time unit.

[0036] (4): After obtaining the calibration coefficient K, the self-running time can be weighted with the calibration coefficient during operation to maintain time accuracy.

[0037] Specifically: Record the reference time T1 as the system time during self-running. n ,get That is, the obtained system time T n This is the calibrated system time during self-running.

[0038] (5): When the car enters the basement or a place with poor signal, the system can use the calibrated self-running time to generate a timestamp to store the car parameters in real time.

[0039] In this invention, the self-running step is specifically implemented by a timer set in the OpenCPU module, wherein the rated minimum time interval in the timer is no higher than 500ms.

[0040] It should be noted that the method for calibrating self-walking time mentioned in this invention is derived from long-term experience and has been verified through long-term project testing, ensuring its feasibility.

[0041] The above-described embodiments are merely one specific implementation of the present invention, and while the descriptions are detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.

Claims

1. A method for time calibration of a T-BOX system based on OpenCPU, wherein the method is applied to an OpenCPU module, a storage module, and a communication module for performing T-BOX system time calibration, wherein the OpenCPU module does not have RTC time synchronization, characterized in that, The method Includes the following steps: S1: Determine whether the communication module successfully acquired the network time. If unsuccessful, retrieve the real-time time from the historical timestamp in the storage module and define the real-time time as the reference time T1. If successful, define the network time as the reference time T1. S2: Start from the reference time T1 and perform self-timekeeping to obtain the system time T before calibration. n1 The process continues until the communication module successfully acquires the GPS time, and then performs a timing cycle t1 based on the GPS time to obtain the system self-running time T3 within the timing cycle t1. The calibration coefficient K is then calculated based on the system self-running time T3. S3: Based on the reference time T1, the system self-running time is recorded as T2, and the calibrated system time T is obtained by weighting it with the calibration coefficient K. n : The communication module includes a GPS module and a GPRS module built into the T-BOX; the GPS module outputs a signal to obtain the GPS time, and the GPRS module is used to obtain the network time and store data parameters; the self-time step in step S2 is specifically implemented by a timer set in the OpenCPU module.

2. The method for time calibration of a T-BOX system based on OpenCPU according to claim 1, characterized in that: In step S2, the timing period t1 and the self-running time T3 have the same time unit.

3. The method for time calibration of a T-BOX system based on OpenCPU according to claim 1, characterized in that: The rated minimum time interval of the timer shall not exceed 500ms.

Citation Information

Patent Citations

  • Intelligent vehicle-mounted GPS

    CN105783928A

  • Vehicle time service method and system based on wireless communication terminal

    CN113271169A