Linkage synchronous recording method and system based on double-redundant ring network and relative time scale

By building a dual redundant ring network and a relative time-scale linked synchronous recording method in the converter station, the problem of the converter station monitoring system being unable to record panoramic waves was solved, high-precision synchronous recording was achieved, and the reliability and practicality of the recording were improved.

CN118739570BActive Publication Date: 2025-10-17NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410779146.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2025-10-17
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The existing converter station monitoring system is unable to achieve panoramic recording and cannot record all the data of the converter station, which makes fault analysis inconvenient.

Method used

A linkage synchronous recording method based on dual redundant ring network and relative time scale is adopted. A dual redundant ring network is formed through Ethernet. High-precision relative time scale is used to realize synchronous recording between nodes, generate linkage messages and determine the position of synchronous recording point at the node to be linked to record waveforms.

Benefits of technology

It realizes high-precision synchronous recording function, low synchronization error, and accurately measurable network transmission delay. It is completely independent of full-station synchronous sampling and external GPS timing, which improves the reliability and practicality of recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118739570B_ABST
    Figure CN118739570B_ABST
Patent Text Reader

Abstract

The application discloses a kind of linkage synchronous recording wave method and system based on double redundancy ring network and relative time scale, it is related to electric power automation technical field, including: in the data buffer area of target node, the multiple sampling points relative time scale containing the collection access time of each sampling point is cached;If target sampling point satisfies preset starting recording wave condition, then based on target sampling point relative time scale and the node relative time scale maintained on target node, linkage message is generated;Linkage message is sent to the node to be linked along double redundancy ring network;When the first bit of linkage message is received at the node to be linked, the node relative time scale maintained on the node to be linked is read, and the relative time scale of synchronous recording wave linkage point is determined;In the data buffer area of the node to be linked, the starting synchronous linkage recording wave point position of the node to be linked is found.The application alleviates the technical problems that existing converter station monitoring system does not have panoramic recording wave function and cannot realize recording wave to all data of converter station.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of power automation, in particular to a linkage synchronous recording wave method and system based on double-redundancy ring network and relative time scale. BACKGROUND

[0002] Flexible DC power transmission technology has been widely used in long-distance high-capacity power transmission field due to its great advantages in transmission capacity, line loss, reliability and independent flexible control of active and reactive power. The dynamic recording device of the converter station is an important equipment for fault analysis and diagnosis of DC power transmission. The sampling rate of the recording wave of the converter station is as high as 100KHz, so the recording wave data channel of a single dynamic recording device is limited. Multiple dynamic recording devices need to be configured in the whole converter station. When a disturbance or fault occurs in an interval, the dynamic recording device of the interval can start and record the data of the interval. The dynamic recording device of other non-fault intervals may not start recording wave due to the disturbance not reaching the threshold of the starting element. If the recording wave data of these non-fault intervals is needed for correlation analysis in fault analysis, it cannot be realized. On the other hand, the current DC converter station recording wave only supports the recording wave of important control and protection data, and cannot record all the data of the converter station, which is not convenient for fault analysis. The existing converter station monitoring system does not have panoramic recording wave function, cannot realize the recording wave of all data of the converter station, and cannot meet the needs of data acquisition and analysis of the converter station. SUMMARY

[0003] The purpose of the present application is to provide a linkage synchronous recording wave method and system based on double-redundancy ring network and relative time scale to solve at least one of the above technical problems.

[0004] In a first aspect, an embodiment of the present application provides a linkage synchronous recording method based on a double-redundancy ring network and a relative time scale, which is applied to a double-redundancy ring network composed of multiple dynamic recording devices in a power system converter station as nodes and through an Ethernet; the method comprises: collecting access to multiple sampling points at a target node according to a preset sampling frequency, and buffering multiple sampling point relative time scales containing the collection access time of each sampling point in the data buffer area of the target node; the target node is one node on the double-redundancy ring network; the sampling points include analog quantities and switching quantities; if a target sampling point meets a preset starting recording condition, generating a linkage message based on the target sampling point relative time scale corresponding to the target sampling point and the node relative time scale maintained on the target node; the target sampling point is one of the multiple sampling points collected and accessed by the target node; based on the target node, sending the linkage message to a node to be linked along the double-redundancy ring network; the node to be linked is another node on the double-redundancy ring network in communication connection with the target node; when the node to be linked receives the first bit of the linkage message, reading the node relative time scale maintained on the node to be linked; determining a synchronous recording linkage point relative time scale based on the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay between the nodes of the double-redundancy ring network; in the data buffer area of the node to be linked, finding the position of the sampling point corresponding to the sampling point relative time scale with the smallest difference value from the synchronous recording linkage point relative time scale, and determining the starting synchronous linkage recording point position of the node to be linked.

[0005] Further, each dynamic recording device on the double-redundancy ring network comprises two communication optical ports; the TX end of the first communication optical port of a first dynamic recording device is connected to the RX end of the first communication optical port of a second dynamic recording device, and the RX end of the first communication optical port of the first dynamic recording device is connected to the TX end of the first communication optical port of a third dynamic recording device; the TX end of the second communication optical port of the first dynamic recording device is connected to the RX end of the second communication optical port of the third dynamic recording device, and the RX end of the second communication optical port of the first dynamic recording device is connected to the TX end of the second communication optical port of the second dynamic recording device; wherein the first dynamic recording device is one node on the double-redundancy ring network, and the second dynamic recording device and the third dynamic recording device are two nodes adjacent to the first dynamic recording device before and after on the double-redundancy ring network.

[0006] Further, based on the linkage message, the relative time scale maintained on the to-be-linked node, and the link transmission delay between the nodes of the dual-redundancy ring network, the relative time scale of the synchronous recording linkage point is determined, including: based on the node relative time scale maintained on the target node in the linkage message, the relative time scale maintained on the to-be-linked node, and the link transmission delay, a relative time scale travel deviation of the to-be-linked node and the target node is calculated; based on the target sampling point relative time scale in the linkage message and the relative time scale travel deviation, the relative time scale of the synchronous recording linkage point is determined.

[0007] Further, the calculation formula of the relative time scale travel deviation includes: △T rel = T recv_rel - (T send_rel + T link_d ); wherein, T send_rel is the node relative time scale maintained on the target node, T recv_rel is the relative time scale maintained on the to-be-linked node, T link_d is the link transmission delay, and △T rel is the relative time scale travel deviation.

[0008] Further, the calculation formula of the relative time scale of the synchronous recording linkage point includes: T ld_rel = T qd_rel + △T rel ; wherein, T ld_rel is the relative time scale of the synchronous recording linkage point, and T qd_rel is the target sampling point relative time scale.

[0009] Further, after determining the starting synchronous linkage recording point position of the to-be-linked node, the method further includes: controlling the to-be-linked node to perform waveform recording with the starting synchronous linkage recording point position as the starting time.

[0010] In a second aspect, the embodiment of the present application also provides a linkage synchronous recording system based on a double-redundancy ring network and a relative time scale, which is applied to a double-redundancy ring network composed of multiple dynamic recording devices in a power system converter station as nodes and through an Ethernet; the system comprises a cache module, a generation module, a sending module, a reading module, a determination module and a searching module; wherein the cache module is configured to cache multiple sampling point relative time scales containing a sampling access time of each sampling point in a data cache area of a target node at a preset sampling frequency; the target node is one node on the double-redundancy ring network; the sampling points include analog quantities and switching quantities; the generation module is configured to generate a linkage message based on a target sampling point relative time scale corresponding to a target sampling point and a node relative time scale maintained on the target node if the target sampling point meets a preset starting recording condition; the target sampling point is one of the multiple sampling points accessed by the target node; the sending module is configured to send the linkage message to a node to be linked along the double-redundancy ring network based on the target node; the node to be linked is another node on the double-redundancy ring network in communication connection with the target node; the reading module is configured to read the node relative time scale maintained on the node to be linked when the node to be linked receives the first bit of the linkage message; the determination module is configured to determine a synchronous recording linkage point relative time scale based on the linkage message, the relative time scale maintained on the node to be linked and a link transmission delay between nodes of the double-redundancy ring network; and the searching module is configured to search for a position of a sampling point corresponding to a sampling point relative time scale with a minimum difference from the synchronous recording linkage point relative time scale in the data cache area of the node to be linked, and determine the position as a starting synchronous linkage recording point position of the node to be linked.

[0011] Further, the determination module is further configured to: calculate a relative time scale time deviation of the node to be linked and the target node based on the node relative time scale maintained on the target node in the linkage message, the relative time scale maintained on the node to be linked and the link transmission delay; and determine the synchronous recording linkage point relative time scale based on the target sampling point relative time scale in the linkage message and the relative time scale time deviation.

[0012] Further, the system further comprises a synchronous recording module configured to control the node to be linked to perform waveform recording at the starting synchronous linkage recording point position as a starting time.

[0013] In a third aspect, the embodiment of the present application also provides a computer readable storage medium, which stores computer instructions, and the computer instructions are executed by a processor to implement the method in the first aspect.

[0014] The application provides a linkage synchronous recording wave method and system based on a double-redundancy ring network and a relative time scale. BRIEF DESCRIPTION OF DRAWINGS

[0015] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the specific embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of these drawings.

[0016] Figure 1 A flowchart of a linkage synchronous recording wave method based on a double-redundancy ring network and a relative time scale provided by the embodiment of the present application.

[0017] Figure 2 A structural schematic diagram of a double-redundancy ring network provided by the embodiment of the present application;

[0018] Figure 3 Another structural schematic diagram of a double-redundancy ring network provided by the embodiment of the present application;

[0019] Figure 4 A schematic diagram of a ring network data MAC layer link message data structure provided by the embodiment of the present application;

[0020] Figure 5 A time node schematic diagram of message sending and receiving between two nodes provided by the embodiment of the present application;

[0021] Figure 6 A cache queue schematic diagram of a sampling point relative time scale in a data cache area provided by the embodiment of the present application;

[0022] Figure 7 A schematic diagram of a linkage synchronous recording wave system based on a double-redundancy ring network and a relative time scale provided by the embodiment of the present application. DETAILED DESCRIPTION

[0023] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be described clearly and completely. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments of the present application, all the other embodiments obtained by those skilled in the art without creative effort belong to the scope of the present application.

[0024] Embodiment one

[0025] Figure 1 A flow chart of a linkage synchronous recording method based on a double-redundancy ring network and a relative time scale is provided according to an embodiment of the present application. The method is applied to a double-redundancy ring network composed of multiple dynamic recording devices in a power system converter station as nodes and through an Ethernet. As shown in Figure 1 the method specifically includes the following steps:

[0026] In step S102, multiple sampling point relative time scales containing the sampling access time of each sampling point are cached in the data cache area of the target node according to a preset sampling frequency. The target node is a node on the double-redundancy ring network. The sampling points include analog quantities and switching quantities.

[0027] In step S104, if the target sampling point meets a preset start recording condition, a linkage message is generated based on the target sampling point relative time scale corresponding to the target sampling point and the node relative time scale maintained on the target node. The target sampling point is one of the multiple sampling points accessed by the target node.

[0028] In step S106, the linkage message is sent to the to-be-linked node along the double-redundancy ring network based on the target node. The to-be-linked node is another node on the double-redundancy ring network in communication connection with the target node.

[0029] In step S108, when the to-be-linked node receives the first bit of the linkage message, the node relative time scale maintained on the to-be-linked node is read.

[0030] In step S110, the synchronous recording linkage point relative time scale is determined based on the linkage message, the relative time scale maintained on the to-be-linked node and the link transmission delay between the nodes of the double-redundancy ring network.

[0031] In step S112, the position of the sampling point corresponding to the sampling point relative time scale with the smallest difference from the synchronous recording linkage point relative time scale is found in the data cache area of the to-be-linked node, and the position is determined as the start synchronous linkage recording point position of the to-be-linked node.

[0032] Specifically, each dynamic recording device on the double-redundancy ring network includes two communication optical ports.

[0033] The TX end of the first communication optical port of the first dynamic recording device is connected to the RX end of the first communication optical port of the second dynamic recording device, and the RX end of the first communication optical port of the first dynamic recording device is connected to the TX end of the first communication optical port of the third dynamic recording device;

[0034] The TX end of the second communication optical port of the first dynamic recording device is connected to the RX end of the second communication optical port of the third dynamic recording device, and the RX end of the second communication optical port of the first dynamic recording device is connected to the TX end of the second communication optical port of the second dynamic recording device;

[0035] The first dynamic recording device is a node on the double-redundancy ring network, and the second dynamic recording device and the third dynamic recording device are two nodes adjacent to the first dynamic recording device on the double-redundancy ring network.

[0036] Figure 2 is a structural schematic diagram of a double-redundancy ring network according to an embodiment of the present application. As shown in the figure, Figure 2 all the dynamic recording devices in the station are connected to form a double-redundancy ring network through optical fiber Ethernet. The TX end of the optical port 1 of the node m is connected to the RX end of the optical port 1 of the adjacent node m-1, and the RX end is connected to the TX end of the optical port 1 of the adjacent node m+1. The TX end of the optical port 2 of the node m is connected to the RX end of the optical port 2 of the adjacent node m+1, and the RX end is connected to the TX end of the optical port 2 of the adjacent node m-1. In this way, a double-redundancy recording wave linkage ring network with two data streams flowing in opposite directions is formed. The establishment and maintenance of the links of the ring network are responsible by the FPGA of the main CPU module in the dynamic recording device, including the detection of the ring network channel, the reception and transmission of messages, and the measurement of the residence time.

[0037] Specifically, each node on the double-redundancy ring network maintains a high-resolution relative time scale T rel with a resolution of not more than 10 nanoseconds. The relative time scale adopts a timing format of seconds + nanoseconds. The relative time scale of the device is unidirectionally incremented after power-on, and is not affected by the external GPS time adjustment.

[0038] Each node on the double-redundancy ring network collects the analog and switching quantities accessed at a sampling rate of not less than 1 MHz. Each sampling point is marked with the current relative time scale T s_rel , and is cached in a FIFO data structure. The cache length is not less than 5 seconds.

[0039] When a certain node on the double-redundancy ring network judges that a certain sampling point meets the starting recording wave condition, the relative time scale T qd_rel of the starting sampling point is read, and a linkage message is sent to other nodes through the double-redundancy ring network. When the linkage message is sent, the relative time scale T send_rel of the node itself is obtained and filled into the linkage message.

[0040] Specifically, the step S110 further comprises the following steps.

[0041] In step S1101, based on the node relative time stamp maintained on the target node in the linkage message, the relative time stamp maintained on the node to be linked and the link transmission delay, the relative time stamp running deviation of the node to be linked and the target node is calculated.

[0042] Specifically, the calculation formula of the relative time stamp running deviation comprises:

[0043] △T rel = T recv_rel - (T send_rel + T link_d )

[0044] Wherein, T send_rel is the node relative time stamp maintained on the target node, T recv_rel is the relative time stamp maintained on the node to be linked, T link_d is the link transmission delay, and △T rel is the relative time stamp running deviation.

[0045] In step S1102, based on the target sampling point relative time stamp and the relative time stamp running deviation in the linkage message, the synchronization wave recording linkage point relative time stamp is determined.

[0046] Specifically, the calculation formula of the synchronization wave recording linkage point relative time stamp comprises:

[0047] T ld_rel = T qd_rel + △T rel

[0048] Wherein, T ld_rel is the synchronization wave recording linkage point relative time stamp, and T qd_rel is the target sampling point relative time stamp.

[0049] In the method provided in the embodiment of the application, after step S112, the method further comprises: controlling the node to be linked to start the waveform recording at the starting time point as the starting time.

[0050] The application provides a linkage synchronous recording wave method based on a double-redundancy ring network and a relative time scale, adopts a double-redundancy ring network structure to form a recording wave linkage network, is high in reliability, and can accurately measure network transmission delay; and is based on a high-precision high-resolution self-rotating relative time scale of each node as a linkage synchronous recording wave time scale, realizes high-precision synchronous recording wave function, and two asynchronous sampling recording waveforms are linked and synchronized, and the synchronization error is low. The method provided by the application does not depend on full-station synchronous sampling and external GPS time setting, can be realized on a non-real-time operating system CPU, has high reliability and practicability, and solves the technical problems that the existing converter station monitoring systems do not have panoramic recording wave function and cannot realize recording wave of all data of the converter station.

[0051] Embodiment two

[0052] Figure 3 is a structural schematic diagram of another double-redundancy ring network provided by the embodiment of the application. As shown in the figure, Figure 3 the embodiment of the application takes six dynamic recording devices as an example, and the six dynamic recording devices are connected through a hundred-megabit optical fiber Ethernet according to a bidirectional redundancy ring network structure to form a linkage network, two ring networks are independent of each other, and in each ring network, nodes are sequentially connected in a head-to-tail manner through an Ethernet to form a bidirectional redundancy ring, and each node in the ring has a peer-to-peer relationship. Since the double-redundancy ring network is adopted, the integrity of shared data is not affected by the single-ring breakage of any node.

[0053] Figure 4 is a schematic diagram of a ring network data MAC layer link message data structure provided by the embodiment of the application. As shown in the figure, Figure 4 the message contains source address, destination address, ring network type, transmission delay, relative time scale of message sending time, relative time scale of starting recording wave point, and linkage identifier, etc. The first byte of the source address is defined as the device number.

[0054] Each node in the ring network periodically sends and receives linkage messages to calculate the link transmission delay between nodes. The link delay calculation is based on the consistent link transceiver loop delay and is calculated by the symmetry method. The link delay message contains two types of messages, namely Pdelay-Req and Pdelay-Resp messages. Figure 5 is a time node schematic diagram of the transceiving messages between two nodes provided by the embodiment of the application. As shown in the figure, Figure 5 taking node A and node B as an example, the A node sends a Pdelay-Req message to the B node, and the B node returns a Pdelay-Resp message to the A node immediately after receiving the Pdelay-Req message from the A node. In this process, the sending time stamp and the receiving time stamp of the two messages are recorded respectively, and the link delay T is calculated according to the following calculation formula link_d :

[0055] T link_d = [(t4-t1)-(t3-t2)] / 2

[0056] The relative time scale of the message sending moment: the value of the relative time scale at the moment of sending the first bit of the message, denoted as T send_rel .

[0057] The relative time scale of the starting recording point: the value of the relative time scale punched by the starting element of the dynamic recording device when it judges that a certain sampling point meets the starting condition, denoted as T qd_rel ;

[0058] The linkage identifier: an identifier indicating whether the frame message links other nodes to start recording, 0: not linked, 1: linked.

[0059] Each node collects analog and switching quantities at 1MHz, punches the current relative time scale at each sampling point, and uses a queue for buffering, and the length of the buffer area meets the buffering of 5s data. Figure 6 is a schematic diagram of the buffering queue of the relative time scale of the sampling point in the data buffer area according to the embodiment of the application. As shown in Figure 6 , taking the mth node and the nth node as examples, when the starting element of the mth node judges that the (i+j)th sampling point starts recording, the relative time scale Tr[i+j] of the (i+j)th sampling point is filled into the relative time scale field of the starting recording point shown in Figure 4 , and the linkage identifier field is set to 1, the mth node reads the relative time scale at the current moment when preparing to send the first bit of the message and fills it into the relative time scale field of the message sending moment shown in Figure 4 , and then sends the linkage message to the nth node, the nth node reads the relative time scale at the current moment when receiving the first bit of the linkage message and calculates the relative time scale difference △T recv_rel between itself and the mth node according to the following calculation formula: mnr :

[0060] △T mnr = T send_rel - (T recv_rel + T link_d )

[0061] The nth node calculates the relative time scale T LDR of the linkage point position according to the following calculation formula:

[0062] T LDR = T qd_rel + △T mnr

[0063] The nth node sends the linkage message to the (i+j)th sampling point according to T LDR Figure 6 ​The data buffer area is compared with the relative time scale of each sampling point, the sampling point position with the minimum difference is found, and the sampling point is taken as the starting time for waveform recording.

[0064] The application adopts a double-redundancy ring network architecture to form a recording linkage network, has high reliability, and can accurately measure network transmission delay.

[0065] Embodiment three

[0066] Figure 7 It is a schematic diagram of a linkage synchronous recording wave system based on a double-redundancy ring network and a relative time scale according to an embodiment of the application. Figure 7 As shown, the system comprises a buffer module 10, a generation module 20, a sending module 30, a reading module 40, a determination module 50 and a searching module 60.

[0067] Specifically, the buffer module 10 is configured to buffer, in a data buffer area of a target node, a plurality of sampling point relative time scales containing a sampling time of each sampling point according to a preset sampling frequency.

[0068] The generation module 20 is configured to generate a linkage message based on a target sampling point relative time scale corresponding to a target sampling point and a node relative time scale maintained on the target node if the target sampling point meets a preset starting recording condition.

[0069] The sending module 30 is configured to send the linkage message to a node to be linked along the double-redundancy ring network based on the target node.

[0070] The reading module 40 is configured to read the node relative time scale maintained on the node to be linked when the node to be linked receives the first bit of the linkage message.

[0071] The determination module 50 is configured to determine a synchronous recording linkage point relative time scale based on the linkage message, the node relative time scale maintained on the node to be linked and a link transmission delay between nodes of the double-redundancy ring network.

[0072] The searching module 60 is configured to search, in a data buffer area of the node to be linked, for a position of a sampling point corresponding to a sampling point relative time mark with a minimum difference from a time mark of the synchronization recording linkage point, and determine the position of the starting synchronization recording linkage point of the node to be linked.

[0073] Specifically, each dynamic recording device on the dual-redundancy ring network includes two communication optical ports.

[0074] The TX end of the first communication optical port of the first dynamic recording device is connected to the RX end of the first communication optical port of the second dynamic recording device, and the RX end of the first communication optical port of the first dynamic recording device is connected to the TX end of the first communication optical port of the third dynamic recording device.

[0075] The TX end of the second communication optical port of the first dynamic recording device is connected to the RX end of the second communication optical port of the third dynamic recording device, and the RX end of the second communication optical port of the first dynamic recording device is connected to the TX end of the second communication optical port of the second dynamic recording device.

[0076] The first dynamic recording device is a node on the dual-redundancy ring network, and the second dynamic recording device and the third dynamic recording device are two nodes adjacent to the first dynamic recording device on the dual-redundancy ring network.

[0077] Specifically, the determining module 50 is further configured to:

[0078] Based on the node relative time mark maintained on the target node in the linkage message, the relative time mark maintained on the node to be linked, and the link transmission delay, the relative time mark travel deviation of the node to be linked and the target node is calculated.

[0079] Specifically, the calculation formula of the relative time mark travel deviation includes:

[0080] △T rel = T recv_rel - (T send_rel + T link_d )

[0081] Wherein, T send_rel is the node relative time mark maintained on the target node, T recv_rel is the relative time mark maintained on the node to be linked, T link_d is the link transmission delay, and △T rel is the relative time mark travel deviation.

[0082] Based on the target sampling point relative time mark and the relative time mark travel deviation in the linkage message, the synchronization recording linkage point relative time mark is determined.

[0083] Specifically, the calculation formula of the synchronization recording linkage point relative time mark includes:

[0084] Tld_rel = T qd_rel + ΔT rel

[0085] Wherein, T ld_rel is a synchronous recording wave linkage point relative time scale, T qd_rel is a target sampling point relative time scale.

[0086] As Figure 7 shown, the system provided by the embodiment of the application further comprises a synchronous recording wave module 80, configured to control a node to be linked to start a synchronous linkage recording wave point position as a starting time, and record a waveform.

[0087] The embodiment of the application further provides a computer readable storage medium, the computer readable storage medium stores computer instructions, and the computer instructions are executed by a processor to realize the method in the above embodiment one.

[0088] It is apparent for those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the embodiments should be regarded as exemplary and non-restrictive, the scope of the present application is defined by the appended claims rather than the above description, and all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be included in the present application. Any reference signs in the claims should not be regarded as limiting the claims involved.

[0089] In addition, it should be understood that, although the present specification is described in terms of embodiments, not every embodiment contains only one independent technical solution, and the description of the specification is only for the sake of clarity, and those skilled in the art should regard the specification as a whole, and the technical solutions in each embodiment can be properly combined to form other embodiments that those skilled in the art can understand.

Claims

1. A method for synchronous recording based on dual redundant ring network and relative time scale, characterized in that: The method is applied to a dual redundant ring network formed by Ethernet using multiple dynamic recording devices in a power system converter station as nodes; the method includes: When a target node collects and accesses multiple sampling points according to a preset sampling frequency, a data buffer area of ​​the target node caches multiple sampling point relative time stamps including the collection access moment of each sampling point; the target node is a node on the dual redundant ring network; the sampling points include analog quantities and switch quantities; If the target sampling point meets the preset start recording condition, a linkage message is generated based on the target sampling point relative time stamp corresponding to the target sampling point and the node relative time stamp maintained on the target node; the target sampling point is one of the multiple sampling points accessed by the target node; Based on the target node, the linkage message is sent along the dual redundant ring network to the node to be linked; the node to be linked is another node on the dual redundant ring network that is in communication with the target node; When the node to be linked receives the first bit of the linkage message, reading the node relative time stamp maintained on the node to be linked; Determine the relative time scale of the synchronous recording linkage point based on the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay between the dual redundant ring network nodes; In the data buffer area of ​​the node to be linked, searching for the position of the sampling point corresponding to the relative time stamp of the sampling point with the smallest difference from the relative time stamp of the synchronous recording linkage point, and determining it as the starting synchronous linkage recording point position of the node to be linked; Determining the relative time scale of the synchronous recording linkage point based on the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay between the dual-redundant ring network nodes includes: Calculate the relative time scale travel time deviation between the node to be linked and the target node based on the node relative time scale maintained on the target node in the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay; The relative time scale of the synchronous recording linkage point is determined based on the relative time scale of the target sampling point and the relative time scale travel time deviation in the linkage message.

2. The method according to claim 1, wherein: Each dynamic recording device on the dual redundant ring network includes two communication optical ports; The TX end of the first communication optical port of the first dynamic recording device is connected to the RX end of the first communication optical port of the second dynamic recording device, and the RX end of the first communication optical port of the first dynamic recording device is connected to the TX end of the first communication optical port of the third dynamic recording device; The TX end of the second communication optical port of the first dynamic recording device is connected to the RX end of the second communication optical port of the third dynamic recording device, and the RX end of the second communication optical port of the first dynamic recording device is connected to the TX end of the second communication optical port of the second dynamic recording device; The first dynamic recording device is a node on the dual redundant ring network, and the second dynamic recording device and the third dynamic recording device are two nodes on the dual redundant ring network that are adjacent to the first dynamic recording device in front and behind.

3. The method according to claim 1, wherein: The calculation formula of the relative time scale travel time deviation includes: , in, is the node-relative time scale maintained on the target node, is the relative time scale maintained on the node to be linked, is the link transmission delay, is the relative time scale travel deviation.

4. The method according to claim 3, wherein: The calculation formula of the synchronous recording linkage point relative to the time scale includes: , in, is the relative time scale of the synchronous recording linkage point, is the relative time scale of the target sampling point.

5. The method according to claim 1, wherein: After determining the location of the synchronization linkage start recording point of the node to be linked, the method further includes: The node to be linked is controlled to start waveform recording at the position of the starting synchronous linkage recording point as the starting moment.

6. A linked synchronous recording system based on dual redundant ring network and relative time scale, characterized in that: Applicable to a dual redundant ring network composed of multiple dynamic recording devices in a power system converter station as nodes and via Ethernet; the system includes: a cache module, a generation module, a sending module, a reading module, a determination module and a search module; wherein, The cache module is configured to cache, in a data cache area of ​​the target node, a plurality of relative time stamps of sampling points including the collection access moment of each sampling point when the target node collects and accesses a plurality of sampling points according to a preset sampling frequency; the target node is a node on the dual redundant ring network; the sampling points include analog quantities and switch quantities; The generating module is configured to generate a linkage message based on a target sampling point relative time stamp corresponding to the target sampling point and a node relative time stamp maintained on the target node if the target sampling point satisfies a preset recording start condition; the target sampling point is one of the multiple sampling points accessed by the target node; The sending module is used to send the linkage message to the node to be linked along the dual redundant ring network based on the target node; the node to be linked is another node on the dual redundant ring network that is communicatively connected to the target node; The reading module is configured to read the node relative time stamp maintained on the node to be linked when the node to be linked receives the first bit of the linkage message; The determining module is configured to determine the relative time scale of the synchronous recording linkage point based on the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay between the nodes of the dual redundant ring network; The search module is used to search the data cache area of ​​the node to be linked, and determine the position of the sampling point corresponding to the relative time mark of the sampling point with the smallest difference from the relative time mark of the synchronous recording linkage point as the starting synchronous linkage recording point position of the node to be linked; The determining module is further configured to: Calculate the relative time scale travel time deviation between the node to be linked and the target node based on the node relative time scale maintained on the target node in the linkage message, the relative time scale maintained on the node to be linked, and the link transmission delay; The relative time scale of the synchronous recording linkage point is determined based on the relative time scale of the target sampling point and the relative time scale travel time deviation in the linkage message.

7. The system according to claim 6, characterized in that: It also includes a synchronous recording module for controlling the node to be linked to record waveforms at the starting point of the synchronous linkage recording as the starting moment.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Centralized type wave recording system of digital transformer substation

    CN101447698A

  • Method and system for detecting the occurrence and timing of events in an electric power system

    EP3379272A1