Time synchronization calibration method of fault diagnosis device

By using the time synchronization calibration method of timing counter and GPS in the fault diagnosis device, the time delivery time update problem caused by weak GPS signal or loss of pps is solved, the accurate update of timestamps and the accuracy of fault diagnosis is achieved, and the power system is ensured. normal operation.

CN119002224APending Publication Date: 2024-11-22ZHENGZHOU UBI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411141098.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

When the GPS signal is weak or pps is lost, the timing time of the fault diagnosis device cannot be updated or is updated intermittently, resulting in a reduction in the accuracy of the fault diagnosis, affecting the maintenance of the power system and the use of electricity for residents.

Method used

Using the time synchronization calibration method based on timing counter and GPS, the timing counter and GPS clock trigger are initialized to determine the existence of timing counter overflow and PPS second pulses, the timing counter is used to update the timestamp, and the RMC data is checked to ensure that Accuracy of time synchronization.

Benefits of technology

In the case of weak GPS signal or pps loss, the accurate update of timestamps is achieved through the timing counter, ensuring the time synchronization accuracy of the fault diagnosis device, avoiding the problem of timestamp delay or seconds jump, and improving the accuracy of fault location and notification .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002224A_ABST
    Figure CN119002224A_ABST
Patent Text Reader

Abstract

The invention provides a time synchronization calibration method for a fault diagnosis device. The time synchronization calibration method comprises the following steps: step 1, initializing clock triggering of a timing counter and a GPS (Global Positioning System) as 1s; 2, judging whether the timing counter overflows or not; if not, judging whether a PPS pulse per second is received or not; if yes, whether the overflow time T2 of the timing counter is larger than the threshold time T3 or not is judged; step 3, if T < 2gt >; if T3, updating the timestamp by using the timing counter; if T2lt; if so, judging whether the PPS pulse per second is received or not; 4, if the PPS pulse per second is not received, returning to the step 2; if the PPS pulse per second is received, updating the timestamp by using the PPS pulse per second, and performing zero clearing operation on the timing counter; step 5, after the RMC data are received, the RMC time is verified; and step 6, performing time synchronization. According to the invention, the problems of PPS loss, delay and the like are solved by using the timing counter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of clock calibration, and in particular to a time synchronization calibration method for a fault diagnosis device. Background Art

[0002] For faults in the power system distribution network caused by abnormal environment, line aging, manual operation and other factors, the fault diagnosis device can quickly locate the fault. However, the accuracy of the timing time required by the fault diagnosis device for fault diagnosis will directly affect the accuracy of the diagnosis.

[0003] The timing of the fault diagnosis device can be obtained through the GPS module. Under normal circumstances, the GPS receiving module will first output the PPS second pulse signal. After waiting for T0 time, the GPS receiving module will output the RMC data to synchronize the time with the fault diagnosis device. Figure 1 As shown; If the PPS second pulse is lost once, it will cause the time stamp to have a delayed update of the T0 time, such as Figure 2 As shown; If both the PPS second pulse and RMC are lost once, the timestamp will be updated with T1 time delay or second jump, such as Figure 3 shown.

[0004] Therefore, when the GPS signal is weak or PPS is lost, the timing will not be updated or will be updated intermittently. If a fault happens to occur at this time, the fault diagnosis device will not be able to diagnose the exact location of the fault and will not be able to notify the power system in time for maintenance, which may cause major difficulties in power restoration and affect residents' normal electricity use. Summary of the invention

[0005] In view of the problems existing in the prior art, the present invention provides a time synchronization calibration method for a fault diagnosis device, which can solve the problem that the timing time will not be updated or is updated intermittently when the GPS signal is weak or PPS is lost.

[0006] In a first aspect, the present invention provides a time synchronization calibration method based on a timing counter and GPS, comprising the following steps: Step 1, initialize the configuration timer counter and GPS clock trigger to 1s; Step 2, determine whether the timing counter overflows; If the timing counter does not overflow, determine whether the PPS second pulse is received; If the timing counter overflows, determine whether the overflow time T2 of the timing counter is greater than the threshold time T3; Step 3, if T2>T3, use the timing counter to update the timestamp; If T2<=T3, determine whether the PPS second pulse is received; Step 4: If the PPS pulse is not received, return to step 2; If a PPS second pulse is received, the PPS second pulse is used to update the timestamp and the timing counter is cleared; Step 5: After receiving the RMC data, check the RMC time as follows: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; Step 6: Use the effective reference time Te for time synchronization.

[0007] Based on the above, the following method is used to calibrate the timing counter: Each time the PPS is updated, the count value TCn of the timing counter is recorded, and the T4 time is used as the calibration period. The calculation formula is as follows: The calculation time formula of the timing counter after calibration is as follows: Wherein, C represents the effective calibration coefficient, which is 0 by default; TC represents the system reference time; TCn represents the count value recorded for each PPS trigger; n represents the number of triggers; and N represents the total number of triggers within T4 time.

[0008] Based on the above, the T4 time is set to 1 min.

[0009] Based on the above, the threshold time T3 is set to 1 ms.

[0010] In a second aspect, the present invention provides a time synchronization calibration device based on a timing counter and GPS, comprising: Initialization configuration module, used to initialize the configuration timer counter and GPS clock trigger to 1s; A first judging module, used to judge whether the timing counter overflows; A second judgment module, connected to the first judgment module and the third judgment module, is used to judge whether a PPS second pulse is received when the first judgment module judges that the timing counter has not overflowed and when the third judgment module judges that T2<=T3; A third judgment module, connected to the first judgment module, is used to judge whether the overflow time T2 of the timing counter is greater than the threshold time T3 when the timing counter of the first judgment module overflows; A first processing module, connected to the second judgment module, is used to update the timestamp using the PPS second pulse and clear the timing counter when the second judgment module determines that the PPS second pulse is received; A second processing module, connected to the second judgment module and the third judgment module, is used to use a timing counter to update the timestamp when the third judgment module determines that T2>T3; The third processing module is connected to the first processing module and the second processing module, and is used to verify the RMC time as follows after receiving the RMC data: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; The fourth processing module is connected to the third processing module and is used for performing time synchronization using the effective reference time Te.

[0011] Based on the above, the following method is used to calibrate the timing counter: Each time the PPS is updated, the count value TCn of the timing counter is recorded, and the T4 time is used as the calibration period. The calculation formula is as follows: The calculation time formula of the timing counter after calibration is as follows: Wherein, C represents the effective calibration coefficient, which is 0 by default; TC represents the system reference time; TCn represents the count value recorded for each PPS trigger; n represents the number of triggers; and N represents the total number of triggers within T4 time.

[0012] In a third aspect, the present invention provides a time synchronization calibration method for an electric power fault diagnosis device. When performing time synchronization calibration on the electric power fault diagnosis device, the time synchronization calibration method based on a timing counter and GPS is adopted.

[0013] In a fourth aspect, the present invention provides an electric power fault diagnosis device with time synchronization calibration, including the time synchronization calibration device based on a timing counter and GPS, which is connected to the electric power fault diagnosis device and is used to perform time synchronization calibration on the electric power fault diagnosis device.

[0014] In a fifth aspect, the present invention provides an electronic device, comprising: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to perform the steps of the time synchronization calibration method based on a timing counter and GPS.

[0015] In a sixth aspect, the present invention provides a computer-readable storage medium storing a computer program, characterized in that when the program is executed by a processor, the steps of the time synchronization calibration method based on a timing counter and GPS are implemented.

[0016] The present invention has outstanding substantive features and significant progress compared to the prior art. Specifically, the present invention has the following beneficial effects: (1) Solve the PPS loss problem by using a timing counter to complete the time update; (2) Solve the PPS delay problem by using a timing counter to complete the time update; (3) Ability to calibrate RMC data; (4) After RMC fails, use PPS or timing counter to update time for time synchronization; (5) Use PPS second pulse synchronization to calibrate the timing counter to improve timing accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is the GPS timing diagram.

[0018] Figure 2 This is the time diagram when GPS loses PPS timing.

[0019] Figure 3 This is the time diagram for GPS to lose PPS second pulse and RMC data timing.

[0020] Figure 4 This is a flowchart of the method of Example 1 of the present invention.

[0021] Figure 5 The PPS timing counter updates the timestamp map.

[0022] Figure 6 The PPS and RMC timing counters are updated in the timestamp graph.

[0023] Figure 7 Update timestamp map for PPS delay timing counter.

[0024] Figure 8PPS updates timestamp map for PPS delay. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0026] Example 1 This embodiment provides a time synchronization calibration method based on a timing counter and GPS, such as Figure 4 As shown, the following steps are included: Step 1, initialize the configuration timer counter and GPS clock trigger to 1s; Step 2, determine whether the timing counter overflows; If the timing counter does not overflow, determine whether the PPS second pulse is received; If the timing counter overflows, determine whether the overflow time T2 of the timing counter is greater than the threshold time T3; Step 3, if T2>T3, use the timing counter to update the timestamp; If T2<=T3, determine whether the PPS second pulse is received; Step 4: If the PPS pulse is not received, return to step 2; If a PPS second pulse is received, the PPS second pulse is used to update the timestamp and the timing counter is cleared; Step 5: After receiving the RMC data, check the RMC time as follows: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; Step 6: Use the effective reference time Te for time synchronization.

[0027] It should be noted that, in this embodiment, using the PPS second pulse to update the timestamp means that the PPS second pulse flag is set and the timestamp is updated in seconds; using the timing counter to update the timestamp means that the timing counter flag is set and the timestamp is updated in seconds; using the effective reference time Te for time synchronization means updating the Te timestamp to the system's total time stamp for the system's functional modules to call.

[0028] The time synchronization calibration method of this embodiment can solve the PPS loss problem, the PPS delay problem, and the RMC failure problem.

[0029] PPS loss problem like Figure 5 and Figure 6 As shown, after startup, when the PPS second pulse is received, the timing counter is cleared. When the PPS second pulse is lost or the RMC data is invalid, the timing counter will overflow and trigger an interrupt, replacing the PPS second pulse to update the timestamp and reversely judge the validity of the RMC time data.

[0030] PPS delay problem like Figure 7 and Figure 8 As shown in the figure, if the PPS second pulse is not lost, but there is a delay of T2, that is, the timer counter overflows earlier than the PPS second pulse, the threshold time T3 needs to be increased. If the timer counter overflows and T2>T3, regardless of whether the subsequent PPS second pulse is triggered, the timer counter is used to update the timestamp; if the timer does not overflow, or the timer overflows and T2<=T3, the PPS second pulse is triggered, the PPS second pulse trigger is valid, the timer counter is cleared, and the timestamp is updated with the PPS second pulse.

[0031] RMC failure issues After receiving the RMC data, use the update timestamp to reversely verify the RMC time. The verification method is as follows: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid and Tp is updated to Te.

[0032] Example 2 The difference between this embodiment and Embodiment 1 is that a timing counter calibration mechanism is provided.

[0033] If the timing counter is not accurate, it will also cause inaccurate time synchronization. To address this problem, a timing counter calibration mechanism is added. The specific method is: Each time the PPS is updated, the count value TCn of the timing counter is recorded, and the T4 time is used as the calibration period. The calculation formula is as follows: The calculation time formula of the timing counter after calibration is as follows: Among them, C represents the effective calibration coefficient, which defaults to 0; TC represents the system reference time, that is, the system processor bus clock; TCn represents the count value recorded each time the PPS is triggered; n represents the number of triggers; and N represents the total number of triggers within the T4 time.

[0034] Preferably, the T4 time is set to 1 minute, the threshold time T3 is set to 1 ms, and the T2 time is 0-1 s.

[0035] Example 3 Based on the same inventive concept, the embodiment of the present application also provides a time synchronization calibration device based on a timing counter and GPS. The implementation scheme for solving the problem provided by the time synchronization calibration device is similar to the implementation scheme recorded in the method of Embodiments 1 and 2, so the specific limitations in one or more embodiments of the time synchronization calibration device based on a timing counter and GPS provided below can refer to the limitations on the method in Embodiments 1 and 2, and will not be repeated here.

[0036] In an exemplary embodiment, a time synchronization calibration device based on a timing counter and GPS is provided, comprising: Initialization configuration module, used to initialize the configuration timer counter and GPS clock trigger to 1s; A first judging module, used to judge whether the timing counter overflows; A second judgment module, connected to the first judgment module and the third judgment module, is used to judge whether a PPS second pulse is received when the first judgment module judges that the timing counter has not overflowed and when the third judgment module judges that T2<=T3; A third judgment module, connected to the first judgment module, is used to judge whether the overflow time T2 of the timing counter is greater than the threshold time T3 when the timing counter of the first judgment module overflows; A first processing module, connected to the second judgment module, is used to update the timestamp using the PPS second pulse and clear the timing counter when the second judgment module determines that the PPS second pulse is received; A second processing module, connected to the second judgment module and the third judgment module, is used to use a timing counter to update the timestamp when the third judgment module determines that T2>T3; The third processing module is connected to the first processing module and the second processing module, and is used to verify the RMC time as follows after receiving the RMC data: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; The fourth processing module is connected to the third processing module and is used for performing time synchronization using the effective reference time Te.

[0037] It should be noted that, in this embodiment, using the PPS second pulse to update the timestamp means that the PPS second pulse flag is set and the timestamp is updated in seconds; using the timing counter to update the timestamp means that the timing counter flag is set and the timestamp is updated in seconds; using the effective reference time Te for time synchronization means updating the Te timestamp to the system's total time stamp for the system's functional modules to call.

[0038] Example 4 This embodiment provides a time synchronization calibration method for a power fault diagnosis device, specifically: When performing time synchronization calibration on the power fault diagnosis device, the time synchronization calibration method based on the timing counter and GPS described in Examples 1 and 2 is adopted.

[0039] Example 5 Based on the same inventive concept as Example 4, the embodiment of the present application also provides an electric power fault diagnosis device with time synchronization calibration, including the time synchronization calibration device based on the timing counter and GPS described in Example 3, and the time synchronization calibration device based on the timing counter and GPS is connected to the electric power fault diagnosis device for performing time synchronization calibration on the electric power fault diagnosis device.

[0040] Example 6 Each module in the above system can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0041] In an exemplary embodiment, an electronic device is provided, and the computer device may be a terminal. The computer device further includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, the steps of the time synchronization calibration method based on a timing counter and GPS are implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0042] Those skilled in the art will appreciate that the structure of the above-mentioned computer device is only a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components, or combine certain components, or have a different arrangement of components.

[0043] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of a time synchronization calibration method based on a timing counter and GPS are implemented.

[0044] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0045] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0046] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A time synchronization calibration method based on a timing counter and GPS, characterized in that: The following steps are involved: Step 1, initialize the configuration timer counter and GPS clock trigger to 1s; Step 2, determine whether the timing counter overflows; If the timing counter does not overflow, determine whether the PPS second pulse is received; If the timing counter overflows, determine whether the overflow time T2 of the timing counter is greater than the threshold time T3; Step 3, if T2>T3, use the timing counter to update the timestamp; If T2<=T3, determine whether the PPS second pulse is received; Step 4: If the PPS pulse is not received, return to step 2; If a PPS second pulse is received, the PPS second pulse is used to update the timestamp and the timing counter is cleared; Step 5: After receiving the RMC data, check the RMC time as follows: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; Step 6: Use the effective reference time Te for time synchronization.

2. The time synchronization calibration method based on a timing counter and GPS according to claim 1, characterized in that: Use the following method to calibrate the timing counter: Each time the PPS is updated, the count value TCn of the timing counter is recorded, and the T4 time is used as the calibration period. The calculation formula is as follows: The calculation time formula of the timing counter after calibration is as follows: Wherein, C represents the effective calibration coefficient, which is 0 by default; TC represents the system reference time; TCn represents the count value recorded for each PPS trigger; n represents the number of triggers; and N represents the total number of triggers within T4 time.

3. The time synchronization calibration method based on a timing counter and GPS according to claim 2, characterized in that: The T4 time is set to 1 minute.

4. The time synchronization calibration method based on a timing counter and GPS according to any one of claims 1 to 3, characterized in that: The threshold time T3 is set to 1 ms.

5. A time synchronization calibration device based on a timing counter and GPS, characterized in that: include: Initialization configuration module, used to initialize the configuration timer counter and GPS clock trigger to 1s; A first judging module, used to judge whether the timing counter overflows; A second judgment module, connected to the first judgment module and the third judgment module, is used to judge whether a PPS second pulse is received when the first judgment module judges that the timing counter has not overflowed and when the third judgment module judges that T2<=T3; A third judgment module, connected to the first judgment module, is used to judge whether the overflow time T2 of the timing counter is greater than the threshold time T3 when the timing counter of the first judgment module overflows; A first processing module, connected to the second judgment module, is used to update the timestamp using the PPS second pulse and clear the timing counter when the second judgment module determines that the PPS second pulse is received; A second processing module, connected to the second judgment module and the third judgment module, is used to use a timing counter to update the timestamp when the third judgment module determines that T2>T3; The third processing module is connected to the first processing module and the second processing module, and is used to verify the RMC time as follows after receiving the RMC data: Assume that the effective reference time is Te, the RMC time is Tr, and the PPS second pulse or timing counter update timestamp is Tp; Determine whether Tr and Tp are consistent; If Tr and Tp are consistent, it means that the RMC data is valid, and Tr is updated to Te; If Tr and Tp are inconsistent, it means that the RMC data is invalid, and Tp is updated to Te; The fourth processing module is connected to the third processing module and is used for performing time synchronization using the effective reference time Te.

6. The time synchronization calibration device based on a timing counter and GPS according to claim 5, characterized in that: Use the following method to calibrate the timing counter: Each time the PPS is updated, the count value TCn of the timing counter is recorded, and the T4 time is used as the calibration period. The calculation formula is as follows: The calculation time formula of the timing counter after calibration is as follows: Wherein, C represents the effective calibration coefficient, which is 0 by default; TC represents the system reference time; TCn represents the count value recorded for each PPS trigger; n represents the number of triggers; and N represents the total number of triggers within T4 time.

7. A time synchronization calibration method for a power fault diagnosis device, characterized in that: When performing time synchronization calibration on the power fault diagnosis device, the time synchronization calibration method based on a timing counter and GPS as described in any one of claims 1 to 4 is adopted.

8. An electric power fault diagnosis device with time synchronization calibration, characterized in that: A time synchronization calibration device based on a timing counter and GPS as described in any one of claims 5-6 is connected to the power fault diagnosis device and is used to perform time synchronization calibration on the power fault diagnosis device.

9. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the steps of the time synchronization calibration method based on a timing counter and GPS as described in any one of claims 1 to 4.

10. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the steps of the time synchronization calibration method based on a timing counter and GPS as described in any one of claims 1 to 4 are implemented.