Time synchronization device for multi-channel insulation detection data and implementation method of time synchronization device

By using a GPS receiver, PTP clock and local oscillator in a multi-channel insulation detection system, the GPS time signal and PTP clock signal are integrated to generate a time reference signal and send it synchronously, the problem of data synchronization acquisition of multi-channel insulation detection unit is solved and the time synchronization accuracy is improved.

CN119561638APending Publication Date: 2025-03-04SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411706330.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

Due to different geographical locations of multi-channel insulation detection units, they cannot collect data at the same time, making it difficult to achieve synchronous data acquisition and transmission, especially in large-scale distributed power grids.

Method used

Using a device including a GPS receiver, a PTP clock and a local oscillator, the GPS time signal is received through the GPS receiver. The PTP clock generates a PTP clock signal, and uses an adaptive fusion algorithm to fuse these signals in the local oscillator to generate a time reference signal, and send it to all multi-channel insulation detection units simultaneously.

Benefits of technology

The data acquisition and synchronization of all multi-channel insulation detection units is realized, and the time synchronization accuracy is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561638A_ABST
    Figure CN119561638A_ABST
Patent Text Reader

Abstract

The invention provides a time synchronization device for multichannel insulation detection data, which is connected with a plurality of multichannel insulation detection units in a power data network and comprises a GPS (Global Positioning System) receiver, a PTP (Precision Time Protocol) clock and a local oscillator, the GPS receiver establishes communication with a specified satellite to receive a GPS time signal; the PTP clock generates a PTP clock signal based on a preset master clock server; the local oscillator fuses the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fusion time signal, corrects the preliminary fusion time signal in combination with a preset time reference signal to obtain a time reference signal, and further synchronously issues the time reference signal to all the multi-channel insulation detection units; therefore, data acquisition synchronization of all the multi-channel insulation detection units is realized. According to the invention, the time synchronization precision can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to a time synchronization device for multi-channel insulation detection data and an implementation method thereof. Background Art

[0002] The insulation status of the power system directly affects the system's operational safety and the service life of the equipment, making insulation testing an important means to ensure the safety and stable operation of the power system. Therefore, multi-channel insulation testing of equipment in the power system and the simultaneous collection and transmission of data are key technologies in power grid operation and maintenance.

[0003] However, multi-channel insulation detection technology faces many challenges in data synchronization collection and transmission in practical applications. The main reason is that the multi-channel insulation detection units are located in different geographical locations and it is impossible to collect data at the same time.

[0004] In order to ensure that all multi-channel insulation detection units collect data at the same time, local clocks are usually used at the locations of each multi-channel insulation detection unit for time synchronization. However, this method is difficult to achieve high-precision synchronization, especially in large-scale distributed power grids. Summary of the invention

[0005] The technical problem to be solved by the embodiments of the present invention is to provide a time synchronization device for multi-channel insulation detection data and an implementation method thereof, which can improve the time synchronization accuracy.

[0006] In order to solve the above technical problems, an embodiment of the present invention provides a time synchronization device for multi-channel insulation detection data, which is connected to multiple multi-channel insulation detection units in a power data network, including a GPS receiver, a PTP clock and a local oscillator; wherein,

[0007] The GPS receiver is used to establish communication with a designated satellite and receive a GPS time signal from the designated satellite;

[0008] The PTP clock is used to generate a PTP clock signal based on a preset master clock server;

[0009] The local oscillator is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal, and to correct the preliminary fused time signal in combination with a predetermined time reference signal to obtain a time reference signal, and further to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

[0010] Wherein, the local oscillator includes a signal fusion module, a signal correction module and a signal synchronization sending module; wherein,

[0011] The signal fusion module is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal;

[0012] The signal correction module is used to correct the preliminary fusion time signal in combination with a predetermined time reference signal to obtain a time reference signal;

[0013] The signal synchronization sending module is used to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

[0014] The signal fusion module includes a signal calculation submodule, a signal quality adjustment submodule and a signal fusion submodule; wherein,

[0015] The signal calculation submodule is used to sample the GPS time signal and the PTP time signal according to a plurality of sampling moments divided within a preset time period, obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, respectively, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period;

[0016] The signal quality adjustment submodule is used to obtain the weights of the GPS time signal and the PTP time signal respectively according to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period;

[0017] The signal fusion submodule is used to fuse the GPS time signal and the PTP clock signal according to the weights of the GPS time signal and the PTP time signal to obtain a preliminary fused time signal.

[0018] Among them, through the formula Calculate the variance of the sampling signal corresponding to the GPS time signal within the preset time period as well as,

[0019] By formula Calculate the variance of the sampling signal corresponding to the PTP time signal within the preset time period

[0020] Among them, T GPS,k represents the sampling signal of the GPS time signal at the kth sampling moment; T PTP,krepresents the sampling signal of the kth sampling moment of the PTP time signal; μ GPS represents the average value of the sampling signal corresponding to the GPS time signal within the preset time period; μ PTP represents the average value of the sampling signal corresponding to the PTP time signal within the preset time period; N represents the total number of sampling moments within the preset time period.

[0021] Among them, through the formula Calculate the weight w of the GPS time signal GPS,k ; and, through the formula Calculate the weight w of the PTP time signal PTP,k .

[0022] Among them, through the formula T fused,k =w GPS,k ·T GPS,k +w PTP,k ·T PTP,k , calculate the preliminary fusion time signal T fused,k .

[0023] Wherein, the signal fusion module also includes a signal optimization submodule; wherein,

[0024] The signal optimization submodule is used to optimize the preliminary fusion time signal through Kalman filtering.

[0025] The embodiment of the present invention further provides a method for implementing a time synchronization device for multi-channel insulation detection data, which is implemented on the aforementioned time synchronization device for multi-channel insulation detection data, and the method comprises the following steps:

[0026] Establishing communication with a designated satellite and receiving a GPS time signal from the designated satellite;

[0027] Generate PTP clock signal based on the preset master clock server;

[0028] Based on a preset adaptive fusion algorithm, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal, and the preliminary fused time signal is corrected in combination with a predetermined time reference signal to obtain a time reference signal, and the time reference signal is further synchronously sent to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

[0029] The step of fusing the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal specifically includes:

[0030] According to a plurality of sampling moments divided within a preset time period, the GPS time signal and the PTP time signal are sampled to obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, respectively, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period;

[0031] According to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal respectively within the preset time period, the weights of the GPS time signal and the PTP time signal are obtained respectively;

[0032] According to the weights of the GPS time signal and the PTP time signal, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal.

[0033] Before the step of correcting the preliminary fusion time signal by combining with a predetermined time reference signal, the method further comprises the following steps:

[0034] The preliminary fusion time signal is optimized by Kalman filtering.

[0035] Implementing the embodiments of the present invention has the following beneficial effects:

[0036] The time synchronization device in the present invention establishes communication with a designated satellite through a GPS receiver to receive a GPS time signal, and combines the PTP clock signal generated by the PTP clock, uses an adaptive fusion algorithm to perform signal fusion in a local oscillator to obtain a preliminary fused time signal, further corrects the preliminary fused time signal to obtain a time reference signal, and synchronously sends the time reference signal to all multi-channel insulation detection units, thereby realizing data acquisition synchronization of all multi-channel insulation detection units, thereby improving the time synchronization accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying creative labor, other drawings obtained based on these drawings still belong to the scope of the present invention.

[0038] Figure 1 A schematic diagram of the structure of a time synchronization device for multi-channel insulation detection data provided by an embodiment of the present invention;

[0039] Figure 2A schematic structural diagram of a local oscillator in a time synchronization device for multi-channel insulation detection data provided by an embodiment of the present invention;

[0040] Figure 3 The present invention provides a flowchart of a method for implementing a time synchronization device for multi-channel insulation detection data according to an embodiment of the present invention. DETAILED DESCRIPTION

[0041] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0042] like Figure 1 and Figure 2 As shown, a time synchronization device for multi-channel insulation detection data is proposed in an embodiment of the present invention, which is connected to multiple multi-channel insulation detection units in the power data network, including a GPS receiver 1, a PTP clock 2 and a local oscillator 3; wherein,

[0043] GPS receiver 1, used to establish communication with a designated satellite and receive GPS time signals from the designated satellite;

[0044] PTP clock 2, used to generate a PTP clock signal based on a preset master clock server; it should be noted that the master clock server is a local server;

[0045] A local oscillator 3 is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal, and to correct the preliminary fused time signal in combination with a predetermined time reference signal to obtain a time reference signal, and further to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units;

[0046] At this time, the local oscillator 3 includes a signal fusion module 31, a signal correction module 32 and a signal synchronization sending module 33;

[0047] The signal fusion module 31 is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal;

[0048] The signal fusion module 31 includes a signal calculation submodule 311, a signal quality adjustment submodule 312 and a signal fusion submodule 313;

[0049] The signal calculation submodule 311 is used to sample the GPS time signal and the PTP time signal according to a plurality of sampling moments (e.g., once every 2 seconds) divided within a preset time period (e.g., 30 seconds), obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period;

[0050] In one example, by the formula Calculate the variance of the sampling signal corresponding to the GPS time signal within the preset time period And, through the formula Calculate the variance of the sampling signal corresponding to the PTP time signal within the preset time period

[0051] Among them, T GPS,i represents the sampling signal of the GPS time signal at the kth sampling moment; T PTP,k Represents the sampling signal of the kth sampling moment of the PTP time signal; μ GPS Indicates the average value of the sampling signal corresponding to the GPS time signal within the preset time period; μ PTP It represents the average value of the sampling signal corresponding to the PTP time signal in the preset time period; N represents the total number of sampling moments in the preset time period;

[0052] The signal quality adjustment submodule 312 is used to obtain the weights of the GPS time signal and the PTP time signal respectively according to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal within a preset time period;

[0053] In one example, by the formula Calculate the weight w of the GPS time signal GPS,k ; and, through the formula Calculate the weight w of the PTP time signal PTP,k ;

[0054] The signal fusion submodule 313 is used to fuse the GPS time signal and the PTP clock signal according to the weights of the GPS time signal and the PTP time signal to obtain a preliminary fused time signal.

[0055] In one example, by the formula T fused,k =w GPS,k ·T GPS,k +w PTP,k ·T PTP,k , calculate the preliminary fusion time signal T fused,k ;

[0056] It should be noted that the signal fusion module 31 also includes a signal optimization submodule 314; wherein the signal optimization submodule 314 is used to optimize the preliminary fusion time signal through Kalman filtering, so that the final time estimation is more accurate and smooth;

[0057] A signal correction module 32, used to correct the preliminary fusion time signal in combination with a predetermined time reference signal to obtain a time reference signal;

[0058] It should be noted that the time offset is detected by comparing the preliminary fusion time signal with the local high-precision time reference signal, which can eliminate short-term jitter and long-term drift and generate the final time reference signal. The specific technical solution is implemented by common technical means in this field and will not be described in detail here.

[0059] The signal synchronization sending module 33 is used to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

[0060] It should be noted that the specific process of optimizing the preliminary fusion time signal through Kalman filtering is as follows:

[0061] (1) Predict the current state and covariance:

[0062] P k|k-1 =AP k-1|k-1 A T +Q;

[0063] in, represents the state prediction value at the kth time step; P k|k-1 represents the prediction covariance matrix at the kth time step; Q represents the process noise covariance matrix; A represents the state transfer matrix; A T represents the transpose of the state transfer matrix;

[0064] Calculate the Kalman gain:

[0065] K k -P k|k-1 H T (HP k|k-1 H T +R) -1 ;

[0066] Where: K k represents the Kalman gain at the kth time step; H represents the observation matrix; H T represents the transpose of the observation matrix; R represents the measurement noise covariance matrix;

[0067] (2) Update state estimation and covariance matrix:

[0068]

[0069] P k|k =(IK k H)*P k|k-1 ;

[0070] Among them, z k represents the preliminary fusion time signal; I represents the identity matrix.

[0071] like Figure 3 As shown, a method for implementing a time synchronization device for multi-channel insulation detection data provided in an embodiment of the present invention is implemented on a time synchronization device for multi-channel insulation detection data in an embodiment of the present invention, and the method comprises the following steps:

[0072] Step S1, establishing communication with a designated satellite and receiving a GPS time signal from the designated satellite;

[0073] Step S2: Generate a PTP clock signal based on a preset master clock server;

[0074] Step S3, based on a preset adaptive fusion algorithm, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal, and the preliminary fused time signal is corrected in combination with a predetermined time reference signal to obtain a time reference signal, and the time reference signal is further synchronously sent to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

[0075] The step of fusing the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal specifically includes:

[0076] According to a plurality of sampling moments divided within a preset time period, the GPS time signal and the PTP time signal are sampled to obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, respectively, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period;

[0077] According to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal respectively within the preset time period, the weights of the GPS time signal and the PTP time signal are obtained respectively;

[0078] According to the weights of the GPS time signal and the PTP time signal, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal.

[0079] Before the step of correcting the preliminary fusion time signal by combining with a predetermined time reference signal, the method further comprises the following steps:

[0080] The preliminary fusion time signal is optimized by Kalman filtering.

[0081] Implementing the embodiments of the present invention has the following beneficial effects:

[0082] The time synchronization device in the present invention establishes communication with a designated satellite through a GPS receiver to receive a GPS time signal, and combines the PTP clock signal generated by the PTP clock, uses an adaptive fusion algorithm to perform signal fusion in a local oscillator to obtain a preliminary fused time signal, further corrects the preliminary fused time signal to obtain a time reference signal, and synchronously sends the time reference signal to all multi-channel insulation detection units, thereby realizing data acquisition synchronization of all multi-channel insulation detection units, thereby improving the time synchronization accuracy.

[0083] It is worth noting that in the above-mentioned device embodiment, the various device modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the specific names of the various functional modules are only for the convenience of distinguishing each other, and do not limit the scope of protection of the present invention.

[0084] A person skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as ROM / RAM, disk, CD-ROM, etc.

[0085] The above disclosure is only the preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A time synchronization device for multi-channel insulation detection data, characterized in that: It is connected to multiple multi-channel insulation detection units in the power data network, including a GPS receiver, a PTP clock and a local oscillator; among them, The GPS receiver is used to establish communication with a designated satellite and receive a GPS time signal from the designated satellite; The PTP clock is used to generate a PTP clock signal based on a preset master clock server; The local oscillator is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal, and to correct the preliminary fused time signal in combination with a predetermined time reference signal to obtain a time reference signal, and further to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

2. The time synchronization device for multi-channel insulation detection data according to claim 1, characterized in that: The local oscillator includes a signal fusion module, a signal correction module and a signal synchronization sending module; wherein, The signal fusion module is used to fuse the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal; The signal correction module is used to correct the preliminary fusion time signal in combination with a predetermined time reference signal to obtain a time reference signal; The signal synchronization sending module is used to synchronously send the time reference signal to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

3. The time synchronization device for multi-channel insulation detection data according to claim 2, characterized in that: The signal fusion module includes a signal calculation submodule, a signal quality adjustment submodule and a signal fusion submodule; wherein, The signal calculation submodule is used to sample the GPS time signal and the PTP time signal according to a plurality of sampling moments divided within a preset time period, obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, respectively, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period; The signal quality adjustment submodule is used to obtain the weights of the GPS time signal and the PTP time signal respectively according to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period; The signal fusion submodule is used to fuse the GPS time signal and the PTP clock signal according to the weights of the GPS time signal and the PTP time signal to obtain a preliminary fused time signal.

4. The time synchronization device for multi-channel insulation detection data according to claim 3, characterized in that: By formula Calculate the variance of the sampling signal corresponding to the GPS time signal within the preset time period as well as, By formula Calculate the variance of the sampling signal corresponding to the PTP time signal within the preset time period Among them, T GPS,i represents the sampling signal of the GPS time signal at the kth sampling moment; T PTP,k represents the sampling signal of the kth sampling moment of the PTP time signal; μ GPS represents the average value of the sampling signal corresponding to the GPS time signal within the preset time period; μ PTP represents the average value of the sampling signal corresponding to the PTP time signal within the preset time period; N represents the total number of sampling moments within the preset time period.

5. The time synchronization device for multi-channel insulation detection data according to claim 4, characterized in that: By formula Calculate the weight W of the GPS time signal GPS,k ; and, through the formula Calculate the weight W of the PTP time signal PTP,k .

6. The time synchronization device for multi-channel insulation detection data according to claim 5, characterized in that: By formula T fusef,k =w GPS,k ·T GPS,k +w PTP,k ·T PTP,k , calculate the preliminary fusion time signal T fused,k .

7. The time synchronization device for multi-channel insulation detection data according to claim 6, characterized in that: The signal fusion module also includes a signal optimization submodule; wherein, The signal optimization submodule is used to optimize the preliminary fusion time signal through Kalman filtering.

8. A method for implementing a time synchronization device for multi-channel insulation detection data, characterized in that: The method is implemented on the time synchronization device for multi-channel insulation detection data as claimed in claim 7, and the method comprises the following steps: Establishing communication with a designated satellite and receiving a GPS time signal from the designated satellite; Generate PTP clock signal based on the preset master clock server; Based on a preset adaptive fusion algorithm, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal, and the preliminary fused time signal is corrected in combination with a predetermined time reference signal to obtain a time reference signal, and the time reference signal is further synchronously sent to all multi-channel insulation detection units to achieve data acquisition synchronization of all multi-channel insulation detection units.

9. The method for implementing the time synchronization device for multi-channel insulation detection data according to claim 8, characterized in that: The step of fusing the GPS time signal and the PTP clock signal based on a preset adaptive fusion algorithm to obtain a preliminary fused time signal specifically includes: According to a plurality of sampling moments divided within a preset time period, the GPS time signal and the PTP time signal are sampled to obtain a plurality of sampling signals corresponding to the GPS time signal and the PTP time signal, respectively, and further calculate the variance of the sampling signals corresponding to the GPS time signal and the PTP time signal within the preset time period; According to the calculated variances of the sampling signals corresponding to the GPS time signal and the PTP time signal respectively within the preset time period, the weights of the GPS time signal and the PTP time signal are obtained respectively; According to the weights of the GPS time signal and the PTP time signal, the GPS time signal and the PTP clock signal are fused to obtain a preliminary fused time signal.

10. The method for implementing the time synchronization device for multi-channel insulation detection data according to claim 9, characterized in that: Before the step of correcting the preliminary fusion time signal in combination with a predetermined time reference signal, the method further comprises the following steps: The preliminary fusion time signal is optimized by Kalman filtering.