Clock synchronization processing method of a remote device

The remote control equipment automatically selects the priority order to detect GPS/BeiDou, SNTP, master station communication and local RTC clock sources, which solves the problem of inflexible on-site configuration and achieves time consistency synchronization without manual configuration, making it suitable for system upgrades and transformations.

CN115361738BActive Publication Date: 2026-04-28JIANGSU LINYANG ENERGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
JIANGSU LINYANG ENERGY CO LTD
Filing Date
2022-08-03
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

Clock synchronization for remote control equipment requires on-site configuration based on different application scenarios, which is not flexible or convenient, and maintenance personnel need to reconfigure it during system upgrades and modifications.

Method used

The remote control equipment automatically selects a valid high-precision clock source within the system as the clock source. It detects GPS/BeiDou, SNTP, master station communication, and local RTC clocks in a priority order to achieve clock synchronization and automatically switches clock sources to maintain system time consistency.

Benefits of technology

No on-site configuration is required; it adapts to different application scenarios; no reconfiguration is needed during system upgrades; and it maintains time consistency between the remote master station and the remote control equipment, thus improving flexibility and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115361738B_ABST
    Figure CN115361738B_ABST
Patent Text Reader

Abstract

The application provides a clock synchronization processing method of a remote device, wherein the clock synchronization modes supported by the remote device are divided into GPS / Beidou clock synchronization, SNTP clock synchronization, master station communication clock synchronization and local RTC clock synchronization according to priorities, and the method comprises the following steps: powering on the remote device, reading time from a local RTC clock module as a device system clock source; detecting and selecting an effective clock synchronization mode according to the priorities, and taking the clock of the mode as the device system clock source. The remote device of the application automatically selects an effective high-precision clock source in the system as the clock source of the remote device, completes clock synchronization, and maintains the consistency of the system time between the remote master station and the remote device, so that the related information of the remote device does not need to be reconfigured by maintenance personnel on site, and the effectiveness is high and the reliability is good.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of equipment clock control in power systems, and in particular to a method for maintaining system time consistency between a remote master station and remote control equipment in a power system. Background Technology

[0002] Maintaining system time consistency between a remote master station and remote control equipment (TCO) in a power system involves various methods for time synchronization, and more than one method may exist simultaneously. Examples include master station communication time synchronization, SNTP time synchronization, and GPS / BeiDou time synchronization. The clock source varies depending on the application scenario, but once the specific application scenario is confirmed, the time synchronization method will also be determined, and the TCO will select one of these clock sources as its clock source.

[0003] The remote control equipment can be configured to use which clock source through a configuration file. Based on the configuration information, the remote control equipment can perform time synchronization to achieve time consistency between the remote master station and the remote control equipment.

[0004] The above solutions require configuration based on different application scenarios when used in the field, which is not flexible or convenient enough. If the system is upgraded or the time synchronization method is changed, maintenance personnel need to go to the site to reconfigure the relevant information of the remote control equipment. Summary of the Invention

[0005] The purpose of this invention is to address the problem that the clock of remote control equipment needs to be configured on-site according to different application scenarios, which is not flexible and convenient. This invention proposes a clock synchronization processing method for remote control equipment, which can automatically select an effective high-precision clock source within the system as its clock source to complete the time synchronization function, so as to maintain the consistency of system time between the remote master station and the remote control equipment, without requiring maintenance personnel to reconfigure on-site.

[0006] The technical solution of this invention is:

[0007] This invention provides a clock synchronization processing method for a remote control device. The time synchronization methods supported by the remote control device are divided into priority categories: GPS / BeiDou time synchronization, SNTP time synchronization, master station communication time synchronization, and local RTC time synchronization. The method includes the following steps:

[0008] When the remote control device is powered on, it reads the time from the local RTC clock module as the system clock source for the device.

[0009] Check if the GPS / BeiDou signal is valid: If valid, use GPS / BeiDou time synchronization and use the clock of the GPS / BeiDou module as the system clock source; if invalid, continue.

[0010] Check if SNTP time synchronization is valid: if valid, use SNTP time synchronization and use the clock of the SNTP network module as the system clock source of the device; if invalid, continue.

[0011] Check if the master station time synchronization is valid: if valid, use the master station time synchronization and use the clock of the communication module as the device system clock source; if invalid, read the time from the local RTC clock module and use it as the device system clock source.

[0012] Furthermore, when any time synchronization method is selected as the system clock source for the device, a timer is started, and time synchronization methods with lower priority than the current time are locked out within a set time.

[0013] Once the timer expires, the detection is performed again according to priority from high to low to match the device system clock source.

[0014] Furthermore, once the clock source signal with a higher priority than the current time synchronization mode becomes valid again, the device system clock switches back to the clock source used by the high-priority time synchronization mode.

[0015] Furthermore, when the clock source of the current time synchronization mode is detected to be exiting, the device system clock switches to the clock source used by the second-highest priority time synchronization mode, which is lower than the current priority.

[0016] Furthermore, the specific steps for detecting the validity of GPS / BeiDou signals are as follows:

[0017] GPS / BeiDou module initialization;

[0018] If a valid time synchronization signal is received from a GPS / BeiDou satellite, the GPS / BeiDou signal is valid, and the clock of the GPS / BeiDou module is used as the clock source for the device system.

[0019] Furthermore, the specific steps for determining whether the SNTP time pair is valid are as follows:

[0020] Create a UDP client for the remote control device;

[0021] Send message requests to the specified server at regular intervals;

[0022] If a valid time synchronization signal is received from the designated server, then SNTP time synchronization is valid, and the clock of the SNTP network module is used as the system clock source for the device.

[0023] Furthermore, the specific steps for verifying the validity of the main station's time synchronization are as follows:

[0024] Communication module port initialization;

[0025] Waiting for the main site to connect;

[0026] After the remote control device connects to the master station, it receives the time synchronization request sent by the master station. When it has time synchronization authority, it uses the clock of the communication module as the system clock source of the device.

[0027] A remote control device used in a clock synchronization processing method for the remote control device includes a remote control device controller, a GPS / BeiDou module, an SNTP network module, a communication module, and a local RTC clock module.

[0028] Furthermore, the communication module may be a 3G module, a 4G module, a 5G module, or an Ethernet module.

[0029] The beneficial effects of this invention are:

[0030] The remote control equipment of this invention automatically selects an effective high-precision clock source within the system as its clock source to complete time synchronization, thereby maintaining the consistency of system time between the remote master station and the remote control equipment. It does not require maintenance personnel to go to the site to reconfigure the relevant information of the remote control equipment, and has high effectiveness and good reliability.

[0031] The solution of this invention can adapt to different application scenarios when used in the field without configuration, making it flexible and convenient; if the system is upgraded or the time synchronization method is changed, no configuration is required, making operation and maintenance convenient.

[0032] Other features and advantages of the present invention will be described in detail in the following detailed description section. Attached Figure Description

[0033] The above and other objects, features and advantages of the present invention will become more apparent from the more detailed description of exemplary embodiments of the invention in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the invention.

[0034] Figure 1 A block diagram illustrating the principle of the telemetry device of the present invention is shown.

[0035] Figure 2 A flowchart illustrating the clock synchronization process of the remote control equipment system in this invention is shown.

[0036] Figure 3 A flowchart illustrating the GPS / BeiDou clock source detection process of the telemetry device in this invention is shown.

[0037] Figure 4 A flowchart illustrating the SNTP timing process of the telemetry device in this invention is shown.

[0038] Figure 5 The flowchart of the master station time synchronization process of the telemetry equipment in this invention is shown. Detailed Implementation

[0039] Preferred embodiments of the invention will now be described in more detail with reference to the accompanying drawings. While preferred embodiments of the invention are shown in the drawings, it should be understood that the invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0040] Example 1:

[0041] like Figure 2 As shown, this invention provides a clock synchronization processing method for a remote control device. The time synchronization methods supported by the remote control device are divided into priority categories: GPS / BeiDou time synchronization, SNTP time synchronization, master station communication time synchronization, and local RTC time synchronization. The method includes the following steps:

[0042] When the remote control device is powered on, it reads the time from the local RTC clock module as the system clock source for the device.

[0043] Check if the GPS / BeiDou signal is valid: If valid, use GPS / BeiDou time synchronization and use the clock of the GPS / BeiDou module as the system clock source; if invalid, continue.

[0044] Check if SNTP time synchronization is valid: if valid, use SNTP time synchronization and use the clock of the SNTP network module as the system clock source of the device; if invalid, continue.

[0045] Check if the master station time synchronization is valid: if valid, use the master station time synchronization and use the clock of the communication module as the device system clock source; if invalid, read the time from the local RTC clock module and use it as the device system clock source.

[0046] When any time synchronization method is selected as the device's system clock source, timing begins, and time synchronization methods with lower priority are locked within a set time. That is, after the remote control device is powered on, the time is first read from the local clock chip as the device's system time. The device checks if the GPS / BeiDou signal is valid; if valid, the GPS / BeiDou method is used as the device's system clock source, while other time synchronization methods are locked within a set time. If invalid, the device checks if the SNTP time synchronization is valid; if valid, SNTP is used as the device's system clock source, and the master station time synchronization method is locked. If the SNTP signal is also invalid, the master station time synchronization method is used as the device's system clock source.

[0047] Once the timer expires, the detection is performed again according to priority from high to low to match the device system clock source.

[0048] During timing, when a higher-priority clock source signal is restored, the device switches back to the higher-priority time synchronization mode. When the clock source of the current time synchronization mode is detected to be exiting, the device system clock switches to the clock source used by the second-highest priority time synchronization mode, which is lower than the current priority.

[0049] Example 2:

[0050] like Figure 3 As shown, the specific steps for detecting whether a GPS / BeiDou signal is valid are as follows:

[0051] GPS / BeiDou module initialization;

[0052] If a valid time synchronization signal is received from a GPS / BeiDou satellite, the GPS / BeiDou signal is valid, and the clock of the GPS / BeiDou module is used as the clock source for the device system.

[0053] Example 3:

[0054] like Figure 4 As shown, the specific steps for detecting whether the SNTP pair is valid are as follows:

[0055] Create a UDP client for the remote control device;

[0056] Send message requests to the specified server at regular intervals;

[0057] If a valid time synchronization signal is received from the designated server, then SNTP time synchronization is valid, and the clock of the SNTP network module is used as the system clock source for the device.

[0058] Example 4:

[0059] like Figure 5 As shown, the specific steps for checking whether the master station's time synchronization is valid are as follows:

[0060] Communication module port initialization;

[0061] Waiting for the main site to connect;

[0062] After the remote control device connects to the master station, it receives the time synchronization request sent by the master station. When it has time synchronization authority, it uses the clock of the communication module as the system clock source of the device.

[0063] Example 5:

[0064] like Figure 1 As shown, a remote control device used in a clock synchronization processing method for the remote control device includes a remote control device controller, a GPS / BeiDou module, an SNTP network module, a communication module, and a local RTC clock module.

[0065] The communication module can be a 3G module, a 4G module, a 5G module, or an Ethernet module.

[0066] The different time synchronization methods of the remote control device have the following accuracies:

[0067] The GPS / BeiDou time synchronization error of the GPS / BeiDou module is less than 1ms.

[0068] The time synchronization error of the optical channel in the SNTP network module is no greater than 1 second;

[0069] The wireless communication mode of the communication module has a time synchronization error of no more than 10 seconds.

[0070] The local clock accuracy of the local RTC clock module is no more than 2 seconds per 24 hours.

[0071] Based on the aforementioned differences in time synchronization accuracy, when multiple clock synchronization sources are available simultaneously, the remote control device should prioritize GPS / BeiDou time synchronization. If GPS / BeiDou time synchronization is not received within a certain time, the device automatically switches to the next highest precision time synchronization method. If the next highest precision clock source is also invalid, the device switches clock sources sequentially. If all are invalid, the device uses its own clock chip as the clock source and continues operation. When a higher precision clock source becomes available, the device automatically switches back to the highest precision clock source time synchronization method.

[0072] This solution can adapt to different application scenarios in the field, requiring no configuration and offering flexibility and convenience. If the system is upgraded or the time synchronization method is changed, no configuration is needed, simplifying maintenance.

[0073] The various embodiments of the present invention have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.

Claims

1. A clock synchronization processing method for a remote control device, characterized in that, The time synchronization methods supported by the remote control equipment are divided into the following priority categories: GPS / BeiDou time synchronization, SNTP time synchronization, master station communication time synchronization, and local RTC time synchronization. The method includes the following steps: When the remote control device is powered on, it reads the time from the local RTC clock module as the system clock source for the device. Check if the GPS / BeiDou signal is valid: If valid, use GPS / BeiDou time synchronization and use the clock of the GPS / BeiDou module as the system clock source; if invalid, continue. Check if SNTP time synchronization is valid: if valid, use SNTP time synchronization and use the clock of the SNTP network module as the system clock source of the device; if invalid, continue. Check if the master station time synchronization is valid: if valid, use the master station time synchronization and use the clock of the communication module as the device system clock source; if invalid, read the time from the local RTC clock module and use it as the device system clock source. When any time synchronization method is selected as the device system clock source, a timer is started, and time synchronization methods with lower priority than the current priority are locked within a set time. When the timer expires, the detection is performed again in descending order of priority to match the device system clock source. When a clock source signal with a higher priority than the current time synchronization mode becomes valid again, the device system clock switches back to the clock source used by the higher priority time synchronization mode; when the clock source of the current time synchronization mode is detected to be exiting, the device system clock switches to the clock source used by the second highest priority time synchronization mode, which is lower than the current priority.

2. The clock synchronization processing method for remote control equipment according to claim 1, characterized in that, The specific steps to check if the GPS / BeiDou signal is valid are as follows: GPS / BeiDou module initialization; If a valid time synchronization signal is received from a GPS / BeiDou satellite, the GPS / BeiDou signal is valid, and the clock of the GPS / BeiDou module is used as the clock source for the device system.

3. The clock synchronization processing method for remote control equipment according to claim 1, characterized in that, Specifically, to check if the SNTP time synchronization is valid, the following steps are required: Create a UDP client for the remote control device; Send message requests to the specified server at regular intervals; If a valid time synchronization signal is received from the designated server, then SNTP time synchronization is valid, and the clock of the SNTP network module is used as the system clock source for the device.

4. The clock synchronization processing method for remote control equipment according to claim 1, characterized in that, Specifically, to check if the master station's time synchronization is valid, the following steps are required: Communication module port initialization; Waiting for the main site to connect; After the remote control device connects to the master station, it receives the time synchronization request sent by the master station. When it has time synchronization authority, it uses the clock of the communication module as the system clock source of the device.

5. A remote control device used in performing the clock synchronization processing method of the remote control device as described in any one of claims 1-4, characterized in that, It includes a remote control unit, as well as a GPS / BeiDou module, an SNTP network module, a communication module, and a local RTC clock module.

6. The remote control device used in the clock synchronization processing method of the remote control device according to claim 5, characterized in that, The communication module can be a 3G module, a 4G module, a 5G module, or an Ethernet module.

Citation Information

Patent Citations

  • Multi-source multi-output intelligent substation time synchronization device and method

    CN113541839A

  • Multi-clock-source collaborative time synchronization system and time synchronization method thereof

    CN114039714A