Method and device for acquiring and transmitting high-sampling-rate electrical quantity data of transformer substation

By compressing the traveling wave data, the network congestion caused by the excessive transmission frequency of traveling wave data sampling value packets is solved, and the effective transmission and sharing of high-frequency sampling is realized, and the application range of traveling wave data is expanded.

CN119316018APending Publication Date: 2025-01-14CHINA SOUTHERN POWER GRID COMPANY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411391808.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

In the prior art, the sample value packet transmission frequency of traveling wave data is too high, resulting in congestion in network lines, limiting the application range of traveling wave ranging, and unable to effectively share and utilize high-frequency sampled traveling wave data.

Method used

By collecting the voltage signals of the three-phase transmission line based on the preset interval time, determining the quality information of the data packet, and performing data compression processing according to the preset conditions, forming a sending message frame, reducing data traffic, and avoiding network congestion.

Benefits of technology

It effectively reduces the data flow of the message frame of the traveling wave data, improves the response speed of the Gigabit optical port and below networks, expands the application range of traveling wave data, and improves the sharing and utilization efficiency of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316018A_ABST
    Figure CN119316018A_ABST
Patent Text Reader

Abstract

The invention provides a high-sampling-rate electrical quantity data acquisition and transmission method and device for a transformer substation. The method comprises the following steps: sampling voltage signals output by a sensor of a three-phase power transmission line based on a first preset interval time to obtain a first preset number of digital voltage data; determining a first data packet in a preset storage format and quality information corresponding to the first data packet based on the digital voltage data; determining a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet; determining a data sending queue based on a second preset interval time, a preset sorting sequence and a second preset number of second data packets; according to the invention, the sending message frame of the traveling wave data is determined based on the quality information of each second data packet of the data sending queue and the preset condition, the data traffic of the sampling value message of the traveling wave data is reduced while high-frequency sampling is carried out, and the sharing and utilization efficiency of the traveling wave data is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of power systems, and in particular, relates to a method and device for collecting and transmitting electrical quantity data at a high sampling rate in a substation. Background Art

[0002] At present, the transmission line fault points of the power system are located by traveling wave ranging and traveling wave protection devices, but the sampling frequency of traveling wave ranging and traveling wave protection devices is above 1MHz, and the sampling data volume of traveling wave data is large. Generally, it is a self-collection and self-use mode, and the traveling wave data in this mode cannot be shared.

[0003] The sending frequency of the sampled value (SV) message of the protection measurement data of the digital sampling in the prior art is 4KHz, which is much lower than the sampling frequency of the traveling wave data. If the digital sampled value message is used to send the traveling wave data with a sampling frequency above 1MHz, the data flow of the sampled value message will reach more than one gigabit, causing network line congestion, resulting in the scene response speed of the process layer network of gigabit optical port and below being too slow to be used, limiting the scene application scope of traveling wave ranging.

[0004] The prior art has the problem that the data flow of the sampled value message for sending the traveling wave data using the digital sampled value message is too large, which limits the application scope of the traveling wave data. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for collecting and transmitting electrical quantity data at a high sampling rate in a substation, which can solve the problem that the data flow of sampling value messages for sending traveling wave data using digital sampling value messages is too large, limiting the application scope of traveling wave data.

[0006] In a first aspect, an embodiment of the present application provides a method for collecting and transmitting electrical quantity data at a high sampling rate in a substation, comprising:

[0007] Based on a first preset interval time, respectively sampling the voltage signals output by the sensors of the three-phase power transmission line to obtain a first preset amount of digital voltage data;

[0008] Determine a first data packet in a preset storage format and quality information corresponding to the first data packet based on each of the digital voltage data, wherein the quality information represents sampling data feature information of the first data packet;

[0009] Determine a second data packet corresponding to each of the first data packets based on a preset sorting order, each of the first data packets, and the quality information corresponding to each of the first data packets, wherein the second data packet represents a data packet having a data count and the quality information;

[0010] Determine a data transmission queue based on a second preset interval time, the preset sorting order, and a second preset number of the second data packets;

[0011] Based on the quality information of each of the second data packets in the data transmission queue and a preset condition, a transmission message frame of the traveling wave data is determined.

[0012] In one embodiment, before sampling the voltage signals output by the sensors of the three-phase power transmission line based on the first preset interval to obtain the first preset amount of digital voltage data, the method includes:

[0013] respectively collecting the current signal of each phase of the three-phase transmission line;

[0014] Each of the current signals is converted into a voltage signal.

[0015] In one embodiment, the preset sorting order is an order of sorting from front to back according to sampling time;

[0016] The determining, based on a preset sorting order, each of the first data packets and the quality information corresponding to each of the first data packets, a second data packet corresponding to each of the first data packets comprises:

[0017] According to the order of sampling time from front to back, data counting of each of the first data packets is performed in ascending order;

[0018] The corresponding quality information is added to each of the first data packets in order from small to large based on the data count, and a second data packet corresponding to each of the first data packets is determined.

[0019] In one embodiment, the data count is a data packet count of each of the second data packets sorted from small to large;

[0020] The step of determining a transmission message frame of traveling wave data based on the quality information of each second data packet of the data transmission queue and a preset condition comprises:

[0021] Acquire the quality information of the initial message frame and the second data packet whose data count is the first in the data sending queue;

[0022] If the quality information of the second data packets from the second to the last bit of the data count and the quality information of the second data packet whose data count is the first bit meet the preset condition, write the corresponding second data packets into the initial message frame;

[0023] The sending message frame of the traveling wave data is determined based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of written second data packets, each written second data packet and the cyclic redundancy check code.

[0024] In one of the embodiments, the preset condition is that the quality information of the second data packet in the data count from the second to the last bit is the same as the quality information of the second data packet in the data count from the first bit.

[0025] In one embodiment, the determining of the transmission message frame of the traveling wave data based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of the second data packets written, each of the second data packets written, and the cyclic redundancy check code includes:

[0026] Placing the communication information corresponding to the initial message frame in the first part of the sent message frame;

[0027] placing the quality information of the second data packet with the data count as the first one in the second part of the sent message frame;

[0028] placing the number written into the second data packet in the third part of the sending message frame;

[0029] Placing each of the written second data packets into the fourth part of the sending message frame;

[0030] Placing the cyclic redundancy check code in the fifth part of the sent message frame;

[0031] A sending message frame of the traveling wave data is formed in sequence based on the first part, the second part, the third part, the fourth part and the fifth part.

[0032] In one embodiment, the second preset interval time is a preset multiple of the first preset interval time.

[0033] In a second aspect, an embodiment of the present application provides a high sampling rate electrical quantity data collection and transmission device for a substation, comprising:

[0034] An acquisition module, configured to sample voltage signals output by sensors of the three-phase power transmission line based on a first preset interval to acquire a first preset amount of digital voltage data;

[0035] A first determining module, configured to determine a first data packet in a preset storage format and quality information corresponding to the first data packet based on each of the digital voltage data, wherein the quality information represents sampling data feature information of the first data packet;

[0036] A second determining module, configured to determine a second data packet corresponding to each of the first data packets based on a preset sorting order, each of the first data packets, and the quality information corresponding to each of the first data packets, wherein the second data packet represents a data packet having a data count and the quality information;

[0037] A third determining module, configured to determine a data transmission queue based on a second preset interval time, the preset sorting order, and a second preset number of the second data packets;

[0038] The fourth determination module is used to determine the sending message frame of the traveling wave data based on the quality information of each second data packet in the data sending queue.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements a method as described in any one of the contents of the first aspect above.

[0040] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the contents of the first aspect above is implemented.

[0041] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on an electronic device, enables the terminal device to execute any of the methods described in the first aspect above.

[0042] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0043] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0044] The present application obtains a first preset number of digital voltage data by sampling the voltage signals output by the sensor of the three-phase transmission line based on a first preset interval time; determines a first data packet of a preset storage format and quality information corresponding to the first data packet based on each digital voltage data, wherein the quality information represents the sampling data characteristic information of the first data packet; determines a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet, wherein the second data packet represents a data packet with data count and quality information; determines a data transmission queue based on a second preset interval time, a preset sorting order and a second preset number of second data packets; determines a transmission message frame of traveling wave data based on the quality information of each second data packet of the data transmission queue and preset conditions, and because the quality information of each data packet of the data transmission queue is subjected to data compression processing according to the preset conditions, the number of bytes of the transmission message frame of the traveling wave data is greatly reduced, thereby reducing the data flow of the transmission message frame of the traveling wave data, avoiding network line congestion, improving the scene response speed of the process layer network of gigabit optical port and below, expanding the application scope of traveling wave data, reducing the data flow of the sampling value message of the traveling wave data while performing high-frequency sampling, and improving the sharing and utilization efficiency of the traveling wave data. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0046] Figure 1 It is a flowchart of a method for collecting and transmitting electrical quantity data at a high sampling rate in a substation provided by an embodiment of the present application;

[0047] Figure 2 It is a flowchart of determining a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and quality information corresponding to each first data packet provided by an embodiment of the present application;

[0048] Figure 3 It is a schematic diagram of a flow chart of determining a sending message frame of traveling wave data based on quality information of each second data packet of a data sending queue and preset conditions provided by an embodiment of the present application;

[0049] Figure 4It is a flow chart of determining a sending message frame of traveling wave data based on communication information corresponding to an initial message frame, quality information of a second data packet with a data count as the first bit, the number of second data packets written, each second data packet written, and a cyclic redundancy check code provided by an embodiment of the present application;

[0050] Figure 5 It is a structural schematic diagram of a high sampling rate electrical quantity data collection and transmission device for a substation provided in an embodiment of the present application. DETAILED DESCRIPTION

[0051] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0052] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0053] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0054] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0055] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0056] At present, the transmission line fault points of the power system are located by traveling wave ranging and traveling wave protection devices, but the sampling frequency of traveling wave ranging and traveling wave protection devices is above 1MHz, the sampling data volume of traveling wave data is large, and generally the mode of self-collection and self-use is adopted. The traveling wave data of this mode cannot be shared, and the same set of signals are repeatedly sampled, resulting in a waste of resources.

[0057] The sending frequency of the sampled value (SV) message of the protection measurement data of the digital sampling of the prior art is 4KHz, which is much lower than the sampling frequency of the traveling wave data. In addition, each frame message of the sampled value message only sends the sampling point data once, and each sampling point data adopts independent data quality information. When the sampled value message uses the sending frequency of 4KHz, the data flow of the sampled value message is within 10M. If the digital sampled value message is used to send the traveling wave data with a sampling frequency of more than 1MHz, the data flow of the sampled value message reaches more than one gigabit, causing congestion of the network line, resulting in the scene response speed of the process layer network of gigabit optical port and below being too slow to be used, limiting the application scope of the traveling wave data.

[0058] The prior art has the problem that the data flow of the sampled value message for sending the traveling wave data using the digital sampled value message is too large, which limits the application scope of the traveling wave data.

[0059] In response to the above problems, the present application obtains a first preset number of digital voltage data by sampling the voltage signals output by the sensor of the three-phase transmission line based on a first preset interval time; determines a first data packet in a preset storage format and quality information corresponding to the first data packet based on each digital voltage data, wherein the quality information represents the sampling data characteristic information of the first data packet; determines a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet, wherein the second data packet represents a data packet with data count and quality information; determines a first data packet in a preset storage format and a quality information corresponding to each first data packet based on a second preset interval time, a preset sorting order and a second preset number of first data packets; determines a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet, wherein the second data packet represents a data packet with data count and quality information; determines a first data packet in a preset storage format and a quality information corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet two data packets, determine the data sending queue; based on the quality information of each second data packet in the data sending queue and the preset conditions, determine the sending message frame of the traveling wave data. Since the quality information of each data packet in the data sending queue is compressed according to the preset conditions, the number of bytes of the sending message frame of the traveling wave data is greatly reduced, thereby reducing the data flow of the sending message frame of the wave data, avoiding congestion of the network line, improving the scene response speed of the process layer network of Gigabit optical port and below, expanding the application scope of traveling wave data, reducing the data flow of the sampling value message of the traveling wave data while performing high-frequency sampling, and improving the sharing and utilization efficiency of traveling wave data.

[0060] The technical solution of the present application is described below through specific embodiments.

[0061] First, as Figure 1 As shown, this embodiment provides a method for collecting and transmitting electrical quantity data at a high sampling rate in a substation, including:

[0062] S100: sampling voltage signals output by sensors of a three-phase power transmission line based on a first preset interval to obtain a first preset amount of digital voltage data.

[0063] In one embodiment, voltage signals output by sensors of the three-phase power transmission line are sampled based on a first preset interval to obtain a first preset amount of digital voltage data, so as to facilitate analysis based on the digital voltage data.

[0064] In one embodiment, the value range of the first preset interval time is less than or equal to 0.001 milliseconds, that is, the sampling frequency of the digital voltage data is greater than or equal to 1 MHz, achieving high-frequency sampling of the digital voltage data. For example, the first preset interval time is 0.0005 milliseconds.

[0065] In one embodiment, the value range of the first preset number is greater than or equal to 6, so as to facilitate the collection of more accurate numerical voltage data.

[0066] In one embodiment, since the analog voltage signal output by the sensor for each phase of the three-phase transmission line is collected using two analog-to-digital converters, each phase generates two traveling wave sampling data of digital voltage data, and the three-phase transmission line generates a total of six traveling wave sampling data of digital voltage data.

[0067] In one embodiment, before sampling the voltage signals output by the sensors of the three-phase transmission line based on the first preset interval time to obtain the first preset amount of digital voltage data, it includes: respectively collecting the current signal of each phase of the three-phase transmission line; and converting each current signal into a voltage signal.

[0068] In one embodiment, the current signal of each phase of the three-phase transmission line is collected respectively by a magnetoresistive sensor, and each current signal is converted into an analog voltage signal, which is conducive to high-frequency traveling wave data collection.

[0069] S200 , determining a first data packet in a preset storage format and quality information corresponding to the first data packet based on each digital voltage data.

[0070] In one embodiment, determining a first data packet in a preset storage format and quality information corresponding to the first data packet based on each digital voltage data is beneficial for interpreting and analyzing the power equipment according to the preset storage format and quality information.

[0071] In one embodiment, the preset storage format is data length, first digital voltage data, second digital voltage data, ..., nth digital voltage data, where n is a positive integer.

[0072] In one embodiment, six digital voltage data of a three-phase transmission line are collected each time, for example, A1, A2, B1, B2, C1, and C2. The six digital voltage data are arranged in the order of phase A, phase B, and phase C, and the total data length L of the six digital voltage data is calculated to facilitate the acquisition of corresponding storage space. The data length and the six digital voltage data are formed into a first data packet, and the data packet is stored in a memory, wherein the storage format of the data packet is data length, A1, A2, B1, B2, C1, and C2, the data length is stored in a 2-byte length, and a fixed hexadecimal 0x30 is used as the data start identifier to facilitate identification of the first data packet during data parsing.

[0073] In one embodiment, the storage format of the first data packet is as shown in Table 1.

[0074] Table 1 Storage format of the first data packet

[0075] Data length What the data means 2 bytes Identification code 0x30 2 bytes Sampling channel 1 2 bytes Sampling channel 2 2 bytes Sampling channel 3 2 bytes Sampling channel 4 2 bytes Sampling channel 5 2 bytes Sampling channel 6

[0076] S300, determining a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and quality information corresponding to each first data packet.

[0077] In one embodiment, the second data packet represents a data packet having data count and quality information to facilitate further data processing of the second data packet to compress each of the first data packets.

[0078] In one embodiment, the preset sorting order is an order of sorting from front to back according to the sampling time, so as to facilitate data processing according to the sorting order.

[0079] In one embodiment, based on a preset sorting order, each first data packet and quality information corresponding to each first data packet, a second data packet corresponding to each first data packet is determined so that the second data packet carries the quality information of the first data packet, which facilitates data processing and compresses each first data packet.

[0080] In one embodiment, Figure 2 As shown, based on the preset sorting order, each first data packet and the quality information corresponding to each first data packet, determining the second data packet corresponding to each first data packet includes:

[0081] S310 , counting the data of each first data packet in an ascending order according to the sampling time.

[0082] S320, adding corresponding quality information to each first data packet in order from small to large based on the data count, and determining a second data packet corresponding to each first data packet.

[0083] In one embodiment, data counts are sorted from small to large for each first data packet in order of sampling time from front to back, and then corresponding quality information is added to each first data packet in order of data count from small to large to determine the second data packet corresponding to each first data packet. This is beneficial for compressing the quality information of the second data packet in order according to the data count, so as to compress the data space of the second data packet.

[0084] S400, determining a data sending queue based on a second preset interval time, a preset sorting order and a second preset number of second data packets.

[0085] In one embodiment, a data transmission queue is determined based on a second preset interval time, a preset sorting order and a second preset number of second data packets, so as to maintain a balance between sampling and transmitting traveling wave data.

[0086] In one embodiment, the second preset interval time is a preset multiple of the first preset interval time, so as to form a plurality of second data packets into a data transmission queue, so as to compress the quality information and improve the data transmission efficiency.

[0087] In one embodiment, the value range of the preset multiple is greater than or equal to 50 times, for example 75 times, 100 times, 150 times, 200 times, the value of the second preset number is equal to the preset multiple, and the number of second data packets in a data sending queue is equal to the second preset number.

[0088] In one embodiment, the second preset interval time is 100 times the first preset interval time, that is, the second preset interval time is 0.05 milliseconds, that is, within 0.05 milliseconds of the second preset interval time, 100 first data packets can be sampled according to 0.0005 milliseconds of the first preset interval time, that is, the second preset number is 100, which can maintain a balance between traveling wave data sampling and sending.

[0089] S500, determining a sending message frame of traveling wave data based on quality information of each second data packet in the data sending queue and a preset condition.

[0090] In one embodiment, based on the quality information and preset conditions of each second data packet of the data sending queue, the sending message frame of the traveling wave data is determined, so as to facilitate compressing redundant data information according to the quality information and the preset conditions to reduce the data capacity of the data queue, improve the network transmission efficiency, reduce the limitations of the application scenarios of the traveling wave data, and expand the application scenarios of the traveling wave data.

[0091] In one embodiment, the data count is the data packet count of each second data packet sorted from small to large, so as to facilitate data processing of the second data packet according to the data count.

[0092] In one embodiment, Figure 3 As shown, based on the quality information of each second data packet in the data transmission queue and the preset conditions, determining the transmission message frame of the traveling wave data includes:

[0093] S510, obtaining quality information of the initial message frame and the second data packet whose data count is the first in the data sending queue.

[0094] In one embodiment, an initial message frame is obtained to facilitate loading the information of the data sending queue into the initial message frame, and the quality information of the second data packet with the data count of the data sending queue as the first is obtained, and the quality information of the second data packet with the first position is used as a benchmark to facilitate compressing the second data packet of the entire data sending queue.

[0095] S520: If the quality information of the second data packets whose data counts are from the second to the last bit and the quality information of the second data packet whose data count is the first bit meet a preset condition, write the corresponding second data packets into the initial message frame.

[0096] In one embodiment, the quality information of the second data packet in the data count from the second to the last digit is compared with the quality information of the second data packet in the data count from the first digit, and the second data packet in the second to the last digit that meets the preset conditions is written into the initial message frame, so that the quality information of the second data packet in the second to the last digit that is the same as the first digit is deleted, and the quality information of the second data packet in the first digit is shared, thereby achieving the purpose of compressing the data sending queue, greatly reducing the data length of the data sending queue, and reducing the data flow of the message.

[0097] S530, determining a sending message frame of traveling wave data based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count being the first, the number of written second data packets, each written second data packet and the cyclic redundancy check code.

[0098] In one embodiment, based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of second data packets written, each second data packet written, and a cyclic redundancy check code (Cyclic Redundancy Check, CRC), a sending message frame of the traveling wave data is determined so that the sending message frame of the compressed traveling wave data can be sent.

[0099] In one embodiment, the preset condition is that the quality information of the second data packet in the data count from the second to the last bit is the same as the quality information of the second data packet in the data count from the first bit, so that the quality information of the second data packet in the first bit can be used as the common quality information of the second data packets in subsequent data counts, thereby greatly compressing the data capacity of the data sending queue.

[0100] In one embodiment, if the quality information of the second data packet in the data count from the second to the last bit is different from the quality information of the second data packet in the data count from the first bit, the writing of the second data packet into the initial message frame is stopped, and the quantity information of the second data packets written into the initial message frame is added.

[0101] In one embodiment, compared with the prior art in which the communication information of the sampling value message and the independent quality information of each sampling data occupy a large number of bytes, the transmission frequency is greatly increased, resulting in a surge in the message data flow of the traveling wave data, resulting in a huge data flow of the sampling value message, this embodiment classifies the second data packets of a data sending queue, and uses the quality information of the first second data packet as the common quality information of the second data packets of subsequent data counts, thereby greatly compressing the data capacity of the data sending queue.

[0102] In one embodiment, if the quality information of 100 second data packets in a data transmission queue is consistent, a transmission message frame of a traveling wave data frame will be generated; if the quality information of 100 second data packets in a data transmission queue has two types of quality information, two transmission message frames of traveling wave data frames will be generated, and so on, until the quality information of 100 second data packets in a data transmission queue is classified. It can be understood that when the transmission line of the power system works normally, the time to obtain 100 second data packets is 0.05 milliseconds. In such a short time, the quality information of each second data packet will not change frequently, so the data capacity of the data transmission queue can be greatly compressed.

[0103] In one embodiment, Figure 4 As shown, based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of written second data packets, each written second data packet and the cyclic redundancy check code, the sending message frame of the traveling wave data is determined, including:

[0104] S531, placing the communication information corresponding to the initial message frame into the first part of the sent message frame.

[0105] S532, placing the quality information of the second data packet with the data count being the first in the second part of the sent message frame.

[0106] S533, placing the number written into the second data packet into the third part of the sent message frame.

[0107] S534, placing each written second data packet into the fourth part of the sending message frame.

[0108] S535, placing the cyclic redundancy check code in the fifth part of the sent message frame.

[0109] S536, forming a sending message frame of the traveling wave data in sequence based on the first part, the second part, the third part, the fourth part and the fifth part.

[0110] In one embodiment, the message format of the sending message frame of the traveling wave data is shown in Table 2.

[0111] Table 2 Message format of the transmission message frame of traveling wave data

[0112] Serial number content 1 Communication Information 2 Quality Information 3 The number of the second data packet 4 Second data packet 1 5 Second data packet 2 6 ... 7 The second data packet N 8 Cyclic Redundancy Check Code (CRC)

[0113] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0114] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0115] The present application obtains a first preset number of digital voltage data by sampling the voltage signals output by the sensor of the three-phase transmission line based on a first preset interval time; determines a first data packet of a preset storage format and quality information corresponding to the first data packet based on each digital voltage data, wherein the quality information represents the sampling data characteristic information of the first data packet; determines a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and the quality information corresponding to each first data packet, wherein the second data packet represents a data packet with data count and quality information; determines a data sending queue based on a second preset interval time, a preset sorting order and a second preset number of second data packets; determines a sending message frame of traveling wave data based on the quality information of each second data packet of the data sending queue and preset conditions, and since the quality information of each data packet of the data sending queue is compressed according to the preset conditions, the number of bytes of the sending message frame of the traveling wave data is greatly reduced, thereby reducing the data flow of the sending message frame of the wave data, avoiding congestion of network lines, improving the scene response speed of the process layer network of gigabit optical ports and below, and expanding the application scope of traveling wave data.

[0116] Corresponding to the method for collecting and transmitting electrical quantity data at a high sampling rate in a substation described in the above embodiment, Figure 5A structural block diagram of a high sampling rate electrical quantity data collection and transmission device for a substation provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0117] Second, as Figure 5 As shown, this embodiment provides a high sampling rate electrical quantity data collection and transmission device 100 for a substation, comprising:

[0118] The acquisition module 110 is used to sample the voltage signals output by the sensors of the three-phase power transmission line based on a first preset interval time to acquire a first preset amount of digital voltage data.

[0119] The first determination module 120 is configured to determine a first data packet in a preset storage format and quality information corresponding to the first data packet based on each digital voltage data, wherein the quality information represents sampling data feature information of the first data packet.

[0120] The second determination module 130 is configured to determine a second data packet corresponding to each first data packet based on a preset sorting order, each first data packet and quality information corresponding to each first data packet, wherein the second data packet represents a data packet having a data count and quality information.

[0121] The third determination module 140 is configured to determine a data transmission queue based on a second preset interval time, a preset sorting order, and a second preset number of second data packets.

[0122] The fourth determination module 150 is configured to determine a transmission message frame of the traveling wave data based on the quality information of each second data packet in the data transmission queue.

[0123] It should be noted that the information interaction, execution process, etc. between the above-mentioned modules / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0124] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0125] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements a method as described in any one of the contents of the first aspect above.

[0126] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method as described in any one of the contents of the first aspect above is implemented.

[0127] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when executed on an electronic device, enables the terminal device to execute any of the methods described in the first aspect above.

[0128] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.

[0129] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiments when executed by a processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc.

[0130] The computer-readable medium may include at least: any entity or device capable of carrying computer program codes to a camera / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disk. In some jurisdictions, according to legislation and patent practice, a computer-readable medium cannot be an electric carrier signal or a telecommunication signal.

[0131] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0132] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0133] In the embodiments provided in the present application, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0134] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0135] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for collecting and transmitting electrical quantity data at a high sampling rate in a substation, characterized in that: include: Based on a first preset interval time, respectively sampling the voltage signals output by the sensors of the three-phase power transmission line to obtain a first preset amount of digital voltage data; Determine a first data packet in a preset storage format and quality information corresponding to the first data packet based on each of the digital voltage data, wherein the quality information represents sampling data feature information of the first data packet; Determine, based on a preset sorting order, each of the first data packets and the quality information corresponding to each of the first data packets, a second data packet corresponding to each of the first data packets, wherein the second data packet represents a data packet having a data count and the quality information; Determine a data transmission queue based on a second preset interval time, the preset sorting order, and a second preset number of the second data packets; Based on the quality information of each of the second data packets in the data transmission queue and a preset condition, a transmission message frame of the traveling wave data is determined.

2. The method according to claim 1, characterized in that Before sampling the voltage signals output by the sensors of the three-phase power transmission line based on the first preset interval to obtain the first preset amount of digital voltage data, the method includes: respectively collecting the current signal of each phase of the three-phase transmission line; Each of the current signals is converted into a voltage signal.

3. The method according to claim 1, characterized in that The preset sorting order is an order of sorting from front to back according to the sampling time; The determining, based on a preset sorting order, each of the first data packets and the quality information corresponding to each of the first data packets, a second data packet corresponding to each of the first data packets comprises: According to the order of sampling time from front to back, data counting of each of the first data packets is performed in ascending order; The corresponding quality information is added to each of the first data packets in order from small to large based on the data count, and a second data packet corresponding to each of the first data packets is determined.

4. The method according to claim 1, characterized in that The data count is a data packet count of each of the second data packets sorted from small to large; The step of determining a transmission message frame of traveling wave data based on the quality information of each second data packet of the data transmission queue and a preset condition comprises: Acquire the quality information of the initial message frame and the second data packet whose data count is the first in the data sending queue; If the quality information of the second data packets from the second to the last bit of the data count and the quality information of the second data packet whose data count is the first bit meet the preset condition, write the corresponding second data packets into the initial message frame; The sending message frame of the traveling wave data is determined based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of written second data packets, each written second data packet and the cyclic redundancy check code.

5. The method according to claim 1, characterized in that The preset condition is that the quality information of the second data packet in the data count from the second to the last bit is the same as the quality information of the second data packet in the data count from the first bit.

6. The method according to claim 1, characterized in that The method of determining the sending message frame of the traveling wave data based on the communication information corresponding to the initial message frame, the quality information of the second data packet with the data count as the first bit, the number of the second data packets written, each of the second data packets written, and the cyclic redundancy check code comprises: Placing the communication information corresponding to the initial message frame in the first part of the sent message frame; placing the quality information of the second data packet with the data count as the first one in the second part of the sent message frame; placing the number written into the second data packet in the third part of the sending message frame; Placing each of the written second data packets into the fourth part of the sending message frame; Placing the cyclic redundancy check code in the fifth part of the sent message frame; A sending message frame of the traveling wave data is formed in sequence based on the first part, the second part, the third part, the fourth part and the fifth part.

7. The method according to claim 1, characterized in that The second preset interval time is a preset multiple of the first preset interval time.

8. A high sampling rate electrical quantity data collection and transmission device for a substation, characterized in that: include: An acquisition module, configured to sample voltage signals output by sensors of the three-phase power transmission line based on a first preset interval to acquire a first preset amount of digital voltage data; A first determining module, configured to determine a first data packet in a preset storage format and quality information corresponding to the first data packet based on each of the digital voltage data, wherein the quality information represents sampling data feature information of the first data packet; A second determining module, configured to determine a second data packet corresponding to each of the first data packets based on a preset sorting order, each of the first data packets, and the quality information corresponding to each of the first data packets, wherein the second data packet represents a data packet having a data count and the quality information; A third determining module, configured to determine a data transmission queue based on a second preset interval time, the preset sorting order, and a second preset number of the second data packets; The fourth determination module is used to determine the sending message frame of the traveling wave data based on the quality information of each second data packet in the data sending queue and a preset condition.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.