Measurement and control system for intelligent power transmission and transformation equipment

By performing validity verification and time synchronization operations on the data packets of intelligent power transmission and transformation equipment, using NTP algorithm and error correction mechanism, the problem of time synchronization failure in intelligent power substations is solved, the accuracy and reliability of data are improved, and the accuracy and reliability of data are realized. High-precision time synchronization.

CN119070939AInactive Publication Date: 2024-12-03SUZHOU FEIJIAWO ELECTROMAGNETIC TECH CO LTD

Patent Information

Application Number
CN202410994858.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-12-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In smart substations, GPS signals are easily disturbed, resulting in time synchronization failure, affecting the accuracy and reliability of data, and thus affecting the operating efficiency and safety of the substation.

Method used

Design a measurement and control system for intelligent power transmission and transformation equipment. By checking the effectiveness of data packets, using a unified time source and master-slave time synchronization framework, the NTP algorithm is used to calculate and adjust the time deviation, and combine it with the error correction mechanism. The final time deviation adjustment ensures the accuracy of time synchronization.

Benefits of technology

It effectively solves the problems of large errors and out-of-synchronization of time synchronization, improves the accuracy and reliability of data, and achieves high-precision time synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070939A_ABST
    Figure CN119070939A_ABST
Patent Text Reader

Abstract

The invention discloses a measurement and control system for intelligent power transmission and transformation equipment, which comprises a data packet module, a time synchronization module and a time deviation adjustment control module, and is used for executing a measurement and control method for the intelligent power transmission and transformation equipment. A unified time service source is adopted, a master clock signal, a slave clock signal and a transmission medium are utilized to construct a master-slave time synchronization frame, time synchronization operation is performed from top to bottom based on a master-slave time synchronization mode, and signal comparison judgment and communication channel monitoring are performed based on time service equipment and time-served equipment. The method comprises the steps that a time synchronization device receives a time signal, the time deviation is calculated and adjusted for the first time through an NTP algorithm, and finally the time synchronization device conducts final time deviation adjustment control on the received time signal based on a set threshold value through an error correction mechanism. And the data accuracy and reliability are not high due to the problem of time asynchronization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of time synchronization monitoring and control of power transmission lines, and in particular to a measurement and control system for intelligent power transmission and transformation equipment. Background Art

[0002] Various intelligent devices in smart substations need to maintain time consistency so that data can be accurately collected, processed, transmitted and synchronously controlled. Time synchronization is a basic component of the operation of smart substations. It uses the time synchronization system to provide reliable and stable time synchronization information for all intelligent electronic devices in smart substations. In traditional power systems, the synchronization of substation clocks mainly relies on GPS signals. With the increase of intelligent devices and the complexity of the electromagnetic environment, GPS signals are easily interfered, resulting in synchronization failure. When the GPS signal fails, if there is no effective backup time source, the time synchronization system of the substation may be paralyzed, and the voltage and current data in the smart substation must be sampled synchronously, especially when the voltage and current are collected from different merging units. If there is an error in the timing of the current merging unit and the voltage merging unit, it will cause the voltage and current angles to be incorrect, and the active and reactive power calculation errors. Insufficient accuracy will lead to an increase in time synchronization errors. The problem of time asynchrony will directly affect the accuracy and reliability of the data, the operating efficiency and safety of the substation, and then affect the operation of the entire substation. Therefore, it is necessary to design a measurement and control system for intelligent power transmission and transformation equipment to improve real-time monitoring and control. Summary of the invention

[0003] The object of the present invention is to provide a measurement and control system for intelligent power transmission and transformation equipment to solve the problems raised in the above background technology.

[0004] In order to solve the above technical problems, the present invention provides the following technical solutions: a measurement and control system for intelligent power transmission and transformation equipment, including a measurement and control method for intelligent power transmission and transformation equipment, the method comprising:

[0005] Verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment;

[0006] Adopt a unified timing source, use the master clock, slave clock signal, and transmission medium to build a master-slave time synchronization framework, and perform time synchronization operations from top to bottom based on the master-slave time synchronization method;

[0007] Perform signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed;

[0008] Use the NTP algorithm to calculate and initially adjust the time deviation;

[0009] The time synchronization device uses an error correction mechanism to perform final time deviation adjustment control on the received time signal based on the set threshold.

[0010] According to the above technical solution, the validity check of the data packet includes:

[0011] Clean the data packet data, use the standard deviation statistical method to identify and remove outliers and missing values ​​or wrong timestamps based on the set threshold, perform statistical analysis on the cleaned timestamp data, take the average value of all timestamps as the reference time point, and calculate the standard deviation;

[0012] Find the maximum and minimum values ​​in the data set, filter out the data with the shortest delay based on the delay information of the power system network data transmission, and perform validity check on the received data packets; select data packet samples of the specified time at random from the data packets that have passed the validity check and filter, and use the selected samples to determine the best sample; calculate the filtering deviation and synchronization distance of the time parameters in the best sample data packet, and use the calculation results to determine the offset and maximum error of the best sample time.

[0013] According to the above technical solution, the calculation of the filtering deviation and synchronization distance of the time parameters in the best sample data packet includes:

[0014] Extract all relevant timestamp data from the best sample packet, including the sending timestamp t 接 and receiving timestamp t 收 , by calculating the average value of the most recent timestamps to smooth the data, the time deviation ΔT after filtering is calculated as:

[0015]

[0016] Where N is the number of samples, t 接 is the receiving timestamp of the ith data packet, t 收 is the sending timestamp of the ith data packet, t 延 is the estimated network delay of the i-th packet when receiving and sending;

[0017] The filtered time deviation ΔT is further used as an estimate of the synchronization distance;

[0018] The maximum error is calculated based on the statistical characteristics of the timestamp data, the maximum error X max The calculation formula is:

[0019]

[0020] Among them, X max is the maximum error of the calculation, S is the standard deviation, is the confidence factor and the confidence level (including 95% or 99%), |ΔT| is the absolute value of the time deviation ΔT after filtering, and the larger the standard deviation S, the greater the difference between the data point and its average value, that is, the higher the discreteness of the data.

[0021] According to the above technical solution, the time synchronization operation based on the master-slave time synchronization method from top to bottom includes: receiving the wireless reference signal provided by the space satellite timing service based on the set root node synchronization device; the space satellite regularly sends the ranging signal and the positioning telegram to the intelligent power transmission and transformation equipment terminal, and performs ranging and positioning on the intelligent power transmission and transformation equipment according to the signal returned by the intelligent power transmission and transformation equipment terminal; at the same time, the dispatching instruction based on the ground monitoring equipment is received in real time, and the ground monitoring equipment sends the dispatching instruction to the space satellite according to the space satellite tracked and monitored in real time, and collects and processes the operating parameters of the satellite;

[0022] After the intelligent power transmission and transformation equipment is powered on, it starts initialization and receives the time message sent by the satellite receiver; while obtaining the standard time, it assigns the value to the server to synchronize the system time. When the monitoring control network monitors the arrival of a message on the network, it determines the synchronization message of the synchronization time information through the synchronization information mark. If it is not a synchronization message, it discards the message and continues to monitor; if it is a synchronization message, it marks the received message time as the timestamp parsed by the message, encapsulates the timestamp, forms a new message and sends it to the client;

[0023] The client timestamps the timestamp in the received new message, including: unpacking and parsing the network message data, screening the event messages that need to be timestamped, and embedding the current real-time time information provided by the local clock signal into the event message for calling based on the start symbol sequence added to the flag field of the event synchronization message and the enable signal sent; the processor unpacks and parses the message with embedded time information to obtain the corresponding time information, and uses the time information for synchronization; and synchronizes the timestamp based on the rising and falling edges of the clock signal.

[0024] According to the above technical scheme, the monitoring method includes: for the time-served equipment using the NTP or PTP network time synchronization protocol, the time accuracy analysis mechanism provided by NTP / PTP is used to analyze and judge the time accuracy through the network channel, the time monitoring unit collects the accuracy of the NTP / PTP time signal, and performs a horizontal comparison of the time signal. It can also obtain the working status information of each master clock and slave clock, including the external source status, internal time status, etc., through the MMS standard communication protocol of the Ethernet communication channel. The management terminal further adopts polling to monitor according to the set period. When the management terminal polls a certain device and the monitoring value exceeds the limit once, it continuously monitors multiple times at a set higher frequency, and processes and analyzes the monitoring results to determine the time synchronization status of the monitored object.

[0025] According to the above technical solution, the use of the NTP algorithm to calculate and initially adjust the time deviation includes: based on the timestamp T1 when the time request packet sent by the client to the server leaves the client, the server records the timestamp T2 when it arrives after receiving it, fills in the timestamp T3 when the data packet leaves, and fills in the timestamp T4 when the data packet returns when the client receives the response data packet to perform clock fitting; using these four timestamps (T1, T2, T3, T4) to calculate the round-trip delay of the data packet and the key parameters of the two clock offsets between the client and the server, wherein the first key parameter: the calculation formula for the round-trip delay of the data packet is:

[0026] The second key parameter: The calculation formula for clock offset is:

[0027]

[0028] The client adjusts the local clock according to the calculated clock offset. When the clock offset is a positive number, it is judged that the server time is running fast, and the client slows down the local clock. When the clock offset is a negative number, it is judged that the client time is running fast, and the local clock is fastened.

[0029] According to the above technical solution, the final adjustment control of the time deviation includes: based on the set time deviation threshold, comparing the detected time deviation with the threshold, performing operation iteration when the time deviation is within the threshold range, triggering the error correction mechanism when the time deviation exceeds the threshold, reducing the time deviation by adjusting the frequency of the internal clock, and performing the final time deviation adjustment control by performing a one-time offset compensation.

[0030] According to the above technical solution, a measurement and control system for intelligent power transmission and transformation equipment includes a data packet module, a time synchronization module and a time deviation adjustment control module. The data packet module is used to verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment; the time synchronization module is used to perform time synchronization operations from top to bottom based on a master-slave time synchronization method; and the time deviation adjustment control module is used to perform time deviation adjustment control through an error correction mechanism.

[0031] According to the above technical solution, the data packet module includes:

[0032] The data packet preprocessing module is used to perform preprocessing operations such as cleaning, identifying and removing data packet data;

[0033] Reference time point module, used to take the average value of all timestamps as the reference time point;

[0034] A data packet analysis module, used for analyzing the data packets during validity detection of received data packets;

[0035] A filter deviation calculation module, used to calculate the filter deviation of the time parameter in the best sample data packet;

[0036] The synchronization distance calculation module is used to calculate the synchronization distance of the time parameter in the best sample data packet.

[0037] The time synchronization module comprises:

[0038] Communication channel monitoring module, used for signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed;

[0039] The timestamp marking module is used by the client to timestamp the timestamp in the new message received;

[0040] The accuracy analysis and judgment module is used to perform time accuracy analysis and judgment through a network channel using the time accuracy analysis mechanism provided by NTP / PTP.

[0041] According to the above technical solution, the time deviation adjustment control module includes:

[0042] A key parameter calculation module is used to calculate the key parameters of the round-trip delay of the data packet and the two clock offsets between the client and the server;

[0043] A time deviation initial adjustment module is used to calculate and initially adjust the time deviation using the NTP algorithm;

[0044] The time deviation final adjustment control module is used to perform final time deviation adjustment control by performing a one-time offset compensation.

[0045] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention is provided with a data packet module, a time synchronization module and a time deviation adjustment control module, and executes a measurement and control method for intelligent power transmission and transformation equipment. The method verifies the validity of a data packet transmitted by a power system composed of intelligent power transmission and transformation equipment, adopts a unified timing source, and uses a master clock, a slave clock signal, and a transmission medium to construct a master-slave time synchronization framework. The time synchronization operation is performed from top to bottom based on the master-slave time synchronization method. The synchronization is based on the signal comparison judgment and communication channel monitoring of the timing device and the timing device, and the NTP algorithm is used to calculate and initially adjust the time deviation. Finally, the time synchronization device uses an error correction mechanism to perform a final time deviation adjustment control on the received time signal based on a set threshold value, thereby solving the problem of large time synchronization error and time asynchrony leading to low data accuracy and reliability. At the same time, the clock offset between the client and the server is calculated using a timestamp, further realizing high-precision time synchronization. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:

[0047] Figure 1 A flow chart of the steps of a measurement and control method for intelligent power transmission and transformation equipment provided in the first embodiment of the present invention

[0048] Figure 2 A schematic diagram of the module composition of a measurement and control system for intelligent power transmission and transformation equipment provided in Embodiment 2 of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] Embodiment 1: This embodiment can be applied to the scenario of time synchronization monitoring and control of intelligent power transmission and transformation equipment. The method can be executed by a measurement and control system for intelligent power transmission and transformation equipment provided by this embodiment. The method specifically includes the following steps:

[0051] Verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment;

[0052] Adopt a unified timing source, use the master clock, slave clock signal, and transmission medium to build a master-slave time synchronization framework, and perform time synchronization operations from top to bottom based on the master-slave time synchronization method;

[0053] Perform signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed;

[0054] Use the NTP algorithm to calculate and initially adjust the time deviation;

[0055] The time synchronization device uses an error correction mechanism to perform final time deviation adjustment control on the received time signal based on the set threshold.

[0056] In an embodiment of the present invention, among all the received data packets, the data packet data is cleaned, and the standard deviation statistical method is used to identify and eliminate abnormal values ​​and missing values ​​or erroneous timestamps based on the set threshold value, and the cleaned timestamp data is statistically analyzed, and the average value of all timestamps is used as the reference time point to calculate the standard deviation: and the maximum and minimum values ​​in the data set are found, and further according to the delay information of the power system network data transmission, the data with the smallest delay is screened out, and the validity of the received data packet is tested; based on the data packet sample of the specified time selected at random from the data packet after the validity test screening, the selected sample is used to determine the best sample; the filtering deviation and synchronization distance of the time parameters in the best sample data packet are calculated, and the offset and maximum error of the best sample time are determined by the calculation result;

[0057] Exemplarily, the packet parsing performed in the validity check of the received data packet is performed by: parsing the NTP data packet in the header part containing fixed version information, mode, sequence number, and timestamp field to determine the legitimacy and validity of the filtered data packet; comparing the received NTP time with the local time to determine the accuracy of time synchronization; and detecting network delay, clock source stability, or NTP server configuration when the synchronization error exceeds the set threshold range.

[0058] Exemplarily, calculating the filtering deviation and synchronization distance of the time parameters in the best sample data packet, and using the calculation results to determine the offset and maximum error of the best sample time includes: extracting all relevant timestamp data from the best sample data packet, including the sending timestamp t 接 and receiving timestamp t 收 , by calculating the average value of the most recent timestamps to smooth the data, the time deviation ΔT after filtering is calculated as:

[0059]

[0060] Where N is the number of samples, t 接 is the receiving timestamp of the ith data packet, t收 is the sending timestamp of the ith data packet, t 延 is the estimated network delay of the i-th packet when receiving and sending;

[0061] The filtered time deviation ΔT is further used as an estimate of the synchronization distance;

[0062] The maximum error is calculated based on the statistical characteristics of the timestamp data, the maximum error X max The calculation formula is:

[0063]

[0064] Among them, X max is the maximum error of the calculation, S is the standard deviation, is the confidence factor and the confidence level (including 95% or 99%), |ΔT| is the absolute value of the time deviation ΔT after filtering, and the larger the standard deviation S, the greater the difference between the data point and its average value, that is, the higher the discreteness of the data.

[0065] In the embodiment of the present invention, a wireless reference signal provided by a space satellite timing service is received based on a set root node synchronization device; the space satellite sends a ranging signal and a positioning message to the intelligent power transmission and transformation equipment terminal at a fixed time, and the intelligent power transmission and transformation equipment is ranged and positioned according to the signal returned by the intelligent power transmission and transformation equipment terminal; at the same time, a dispatch instruction based on a ground monitoring device is received in real time; the ground monitoring device sends a dispatch instruction to the space satellite according to the space satellite tracked and monitored in real time, and collects and processes the operating parameters of the satellite;

[0066] Exemplarily, the intelligent power transmission and transformation equipment terminal measures the distance from the space satellite through the GPS receiver, and calculates the three-dimensional position and time information parameters; the satellite transmits an electromagnetic wave signal to the intelligent power transmission and transformation equipment terminal, and calculates the distance between the intelligent power transmission and transformation equipment terminal and the satellite transmitting end based on the signal transmission time and the transmission rate of the electromagnetic wave in the medium; the intelligent power transmission and transformation equipment starts initialization after being powered on, and receives the time message sent by the satellite receiver; when the monitoring control network monitors that a message has arrived on the network, it determines the synchronization message of the synchronization time information through the synchronization information mark, and discards the message and continues to monitor when it is determined that it is not a synchronization message; when it is determined that it is a synchronization message, the received message time is marked as the timestamp parsed from the message, the timestamp is encapsulated, and a new message is formed and sent to the client;

[0067] Exemplarily, the client timestamps the timestamp in the received new message, including: unpacking and parsing the network message data, screening the event messages that need to be timestamped, and based on the start symbol sequence added to the flag field of the event synchronization message and the enable signal sent, embedding the current real-time time information provided by the local clock signal into the event message for calling; the processor unpacks and parses the message with embedded time information to obtain the corresponding time information, and uses the time information for synchronization; and synchronously marks the timestamp based on the rising and falling edges of the clock signal.

[0068] In an embodiment of the present invention, the monitoring method includes: comparing the time signal output by the timing device with the set monitoring threshold, judging the change of the monitoring accuracy within the set time period, and evaluating the accuracy of the timing device by comparing the stability of the pulse signals of PPS and PPM; directly outputting the device status information through the communication channel of the timing device to complete its monitoring. This helps to timely discover the failure or abnormality of the timing device. The timing device monitors the timing device synchronized by the time signal sent unidirectionally by PPS, PPM, and IRIG-B, and judges whether the range of change of time accuracy is within the set threshold range by comparing and screening the event sequence records triggered at the exact time; at the same time, judging the stability of the device time synchronization by the time performance of the application information of the timing device; analyzing the time mark of GOOSE and SV9-2 information to evaluate the time accuracy and stability of these devices during operation.

[0069] Exemplarily, for the time-served equipment using the NTP or PTP network time synchronization protocol, the time accuracy is analyzed and determined through the network channel using the time precision analysis mechanism provided by NTP / PTP. The time monitoring unit collects the accuracy of the NTP / PTP time signal and performs a horizontal comparison of the time signal. It can also obtain the working status information of each master clock and slave clock, including the external source status, internal time status, etc., through the MMS standard communication protocol of the Ethernet communication channel. The management terminal further uses polling to monitor according to the set period. When the management terminal polls a device and the monitoring value exceeds the limit once, it continuously monitors multiple times at a set higher frequency, and processes and analyzes the monitoring results to determine the time synchronization status of the monitored object.

[0070] In the embodiment of the present invention, the use of the NTP algorithm to calculate and initially adjust the time deviation includes: based on the timestamp T1 when the time request packet sent by the client to the server leaves the client, the server records the timestamp T2 when it arrives after receiving it, fills in the timestamp T3 when the data packet leaves, and fills in the timestamp T4 when the data packet returns when the client receives the response data packet to perform clock fitting; using these four timestamps (T1, T2, T3, T4) to calculate the round-trip delay of the data packet and the key parameters of the two clock offsets between the client and the server, wherein the first key parameter: the calculation formula for the round-trip delay of the data packet is:

[0071]

[0072] The second key parameter: The calculation formula for clock offset is:

[0073]

[0074] The client adjusts the local clock according to the calculated clock offset. When the clock offset is a positive number, it is judged that the server time is running fast, and the client slows down the local clock. When the clock offset is a negative number, it is judged that the client time is running fast, and the local clock is fastened.

[0075] In an embodiment of the present invention, the final adjustment control of the time deviation includes: based on a set time deviation threshold, comparing the detected time deviation with the threshold, performing operation iteration when the time deviation is within the threshold range, triggering an error correction mechanism when the time deviation exceeds the threshold, reducing the time deviation by adjusting the frequency of the internal clock to perform a one-time offset compensation.

[0076] Embodiment 2: Embodiment 2 of the present invention provides a measurement and control system for intelligent power transmission and transformation equipment. Figure 2 A schematic diagram of the module composition of a measurement and control system for intelligent power transmission and transformation equipment provided in the second embodiment of the present invention is shown in FIG. Figure 2 As shown, the system includes:

[0077] Data packet module, used to verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment;

[0078] A time synchronization module is used to perform time synchronization operations from top to bottom based on a master-slave time synchronization method;

[0079] The time deviation adjustment control module is used to perform time deviation adjustment control through an error correction mechanism.

[0080] In some embodiments of the present invention, the data packet module includes:

[0081] The data packet preprocessing module is used to perform preprocessing operations such as cleaning, identifying and removing data packet data;

[0082] Reference time point module, used to take the average value of all timestamps as the reference time point;

[0083] A data packet analysis module, used for analyzing the data packets during validity detection of received data packets;

[0084] A filter deviation calculation module, used to calculate the filter deviation of the time parameter in the best sample data packet;

[0085] The synchronization distance calculation module is used to calculate the synchronization distance of the time parameter in the best sample data packet.

[0086] In some embodiments of the present invention, the time synchronization module includes:

[0087] Communication channel monitoring module, used for signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed;

[0088] The timestamp marking module is used by the client to timestamp the timestamp in the new message received;

[0089] The accuracy analysis and judgment module is used to perform time accuracy analysis and judgment through a network channel using the time accuracy analysis mechanism provided by NTP / PTP.

[0090] In some embodiments of the present invention, the time deviation adjustment control module includes:

[0091] A key parameter calculation module is used to calculate the key parameters of the round-trip delay of the data packet and the two clock offsets between the client and the server;

[0092] A time deviation initial adjustment module is used to calculate and initially adjust the time deviation using the NTP algorithm;

[0093] The time deviation final adjustment control module is used to perform final time deviation adjustment control by performing a one-time offset compensation.

[0094] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0095] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A measurement and control method for intelligent power transmission and transformation equipment, characterized in that: The method comprises: Verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment; Adopt a unified timing source, use the master clock, slave clock signal, and transmission medium to build a master-slave time synchronization framework, and perform time synchronization operations from top to bottom based on the master-slave time synchronization method; Perform signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed; Use the NTP algorithm to calculate and initially adjust the time deviation; The time synchronization device uses an error correction mechanism to perform final time deviation adjustment control on the received time signal based on the set threshold.

2. A measurement and control method for intelligent power transmission and transformation equipment according to claim 1, characterized in that: The validity check of the data packet comprises: Clean the data packet data, use the standard deviation statistical method to identify and remove outliers and missing values ​​or wrong timestamps based on the set threshold, perform statistical analysis on the cleaned timestamp data, take the average value of all timestamps as the reference time point, and calculate the standard deviation; Find the maximum and minimum values ​​in the data set, filter out the data with the shortest delay based on the delay information of the power system network data transmission, and perform validity check on the received data packets; select data packet samples of the specified time at random from the data packets that have passed the validity check and filter, and use the selected samples to determine the best sample; calculate the filtering deviation and synchronization distance of the time parameters in the best sample data packet, and use the calculation results to determine the offset and maximum error of the best sample time.

3. A measurement and control method for intelligent power transmission and transformation equipment according to claim 2, characterized in that: The calculation of the filtering deviation and synchronization distance of the time parameters in the best sample data packet includes: Extract all relevant timestamp data from the best sample packet, including the sending timestamp t 接 and receiving timestamp t 收 , by calculating the average value of the most recent timestamps to smooth the data, the time deviation ΔT after filtering is calculated as: Where N is the number of samples, t 接 is the receiving timestamp of the ith data packet, t 收 is the sending timestamp of the ith data packet, t 延 is the estimated network delay of the i-th packet when receiving and sending; The filtered time deviation ΔT is further used as an estimate of the synchronization distance; The maximum error is calculated based on the statistical characteristics of the timestamp data, the maximum error X max The calculation formula is: Among them, X max is the maximum error of the calculation, S is the standard deviation, is the confidence factor and the confidence level (including 95% or 99%), |ΔT| is the absolute value of the time deviation ΔT after filtering, and the larger the standard deviation S, the greater the difference between the data point and its average value, that is, the higher the discreteness of the data.

4. A measurement and control method for intelligent power transmission and transformation equipment according to claim 3, characterized in that: The time synchronization operation based on the master-slave time synchronization method from top to bottom includes: receiving the wireless reference signal provided by the space satellite timing service based on the set root node synchronization device; the space satellite regularly sends the ranging signal and the positioning message to the intelligent power transmission and transformation equipment terminal, and performs ranging and positioning on the intelligent power transmission and transformation equipment according to the signal returned by the intelligent power transmission and transformation equipment terminal; and at the same time, receiving the dispatching instruction based on the ground monitoring equipment in real time, and the ground monitoring equipment sends the dispatching instruction to the space satellite according to the space satellite tracked and monitored in real time, and collects and processes the operating parameters of the satellite; After the intelligent power transmission and transformation equipment is powered on, it starts initialization and receives the time message sent by the satellite receiver; while obtaining the standard time, it assigns the value to the server to synchronize the system time. When the monitoring control network monitors the arrival of a message on the network, it determines the synchronization message of the synchronization time information through the synchronization information mark. If it is not a synchronization message, it discards the message and continues to monitor; if it is a synchronization message, it marks the received message time as the timestamp parsed by the message, encapsulates the timestamp, forms a new message and sends it to the client; The client timestamps the timestamp in the received new message, including: unpacking and parsing the network message data, screening the event messages that need to be timestamped, and embedding the current real-time time information provided by the local clock signal into the event message for calling based on the start symbol sequence added to the flag field of the event synchronization message and the enable signal sent; the processor unpacks and parses the message with embedded time information to obtain the corresponding time information, and uses the time information for synchronization; and synchronizes the timestamp based on the rising and falling edges of the clock signal.

5. A measurement and control method for intelligent power transmission and transformation equipment according to claim 4, characterized in that: The monitoring method includes: for a time-served device using the NTP or PTP network time synchronization protocol, using the time accuracy analysis mechanism provided by NTP / PTP through a network channel to analyze and determine the time accuracy; a time monitoring unit collects the accuracy of the NTP / PTP time signal and performs a horizontal comparison of the time signal; it can also obtain the working status information of each master clock and slave clock, including the external source status, the internal time status, etc., through the MMS standard communication protocol of the Ethernet communication channel; the management terminal further uses polling to monitor according to a set period; when the management terminal polls a device and finds that the monitoring value exceeds the limit once, it continuously monitors multiple times at a set higher frequency, and processes and analyzes the monitoring results to determine the time synchronization status of the monitored object.

6. A measurement and control method for intelligent power transmission and transformation equipment according to claim 5, characterized in that: The method of using the NTP algorithm to calculate and initially adjust the time deviation includes: based on the timestamp T1 when the time request packet sent by the client to the server leaves the client, the server records the timestamp T2 when it arrives after receiving the packet, fills in the timestamp T3 when the data packet leaves, and fills in the timestamp T4 when the data packet returns when the client receives the response data packet to perform clock fitting; using these four timestamps (T1, T2, T3, T4) to calculate the round-trip delay of the data packet and the key parameters of the two clock offsets between the client and the server, wherein the calculation formula for the first key parameter: the round-trip delay of the data packet is: The second key parameter: The calculation formula for clock offset is: The client adjusts the local clock according to the calculated clock offset. When the clock offset is a positive number, it is judged that the server time is running fast, and the client slows down the local clock. When the clock offset is a negative number, it is judged that the client time is running fast, and the local clock is fastened.

7. A measurement and control method for intelligent power transmission and transformation equipment according to claim 6, characterized in that: The final time deviation adjustment control includes: based on a set time deviation threshold, comparing the detected time deviation with the threshold, performing operation iteration when the time deviation is within the threshold range, triggering an error correction mechanism when the time deviation exceeds the threshold, reducing the time deviation by adjusting the frequency of the internal clock, and performing a final time deviation adjustment control by performing a one-time offset compensation.

8. A measurement and control system for intelligent power transmission and transformation equipment, comprising a data packet module, a time synchronization module and a time deviation adjustment control module, characterized in that: The data packet module is used to verify the validity of data packets transmitted by the power system composed of intelligent power transmission and transformation equipment; the time synchronization module is used to perform time synchronization operations from top to bottom based on the master-slave time synchronization method; the time deviation adjustment control module is used to perform time deviation adjustment control through an error correction mechanism.

9. A measurement and control system for intelligent power transmission and transformation equipment according to claim 8, characterized in that: The data packet module comprises: The data packet preprocessing module is used to perform preprocessing operations such as cleaning, identifying and removing data packet data; Reference time point module, used to take the average value of all timestamps as the reference time point; A data packet analysis module, used for analyzing the data packets during validity detection of received data packets; A filter deviation calculation module, used to calculate the filter deviation of the time parameter in the best sample data packet; A synchronization distance calculation module, used to calculate the synchronization distance of the time parameter in the best sample data packet; The time synchronization module comprises: Communication channel monitoring module, used for signal comparison and judgment and communication channel monitoring based on the timing device and the device being timed; The timestamp marking module is used by the client to timestamp the timestamp in the new message received; The accuracy analysis and judgment module is used to perform time accuracy analysis and judgment through a network channel using the time accuracy analysis mechanism provided by NTP / PTP.

10. A measurement and control system for intelligent power transmission and transformation equipment according to claim 9, characterized in that: The time deviation adjustment control module includes: A key parameter calculation module is used to calculate the key parameters of the round-trip delay of the data packet and the two clock offsets between the client and the server; A time deviation initial adjustment module is used to calculate and initially adjust the time deviation using the NTP algorithm; The time deviation final adjustment control module is used to perform final time deviation adjustment control by performing a one-time offset compensation.

Citation Information

Patent Citations

  • Satellite synchronous master clock device

    CN101881938A

  • Time synchronization monitoring test device and method

    CN110855395A

  • Method and Apparatus for Estimating a Clock Frequency Error and a Clock Time Error in a PTP Slave

    KR1020180072506A

Cited By

  • Time service method and device based on underwater acoustic communication, electronic equipment and storage medium

    CN119582972A

  • Optical communication synchronization error correction method based on time-frequency synchronization analyzer

    CN120017156A