Disclosure of Invention
The invention aims to provide a method for regulating and controlling the through-flow test parameters of a transformer in real time, and further provides a system capable of running and realizing the method, so that the problems mentioned in the background art are effectively solved.
The technical scheme of the invention is as follows:
in a first aspect, a method for real-time regulation and control of a transformer through-current test parameter is provided, the method comprising the following steps:
s1, collecting state data of a transformer through-flow test, and constructing the state data into a state model by using a data structure of an undirected graph;
s2, detecting abnormal nodes in the state model by using an abnormal detection model;
s3, when abnormal nodes are detected, abnormal retrieval is activated, other potential abnormal nodes are retrieved, the other potential abnormal nodes are arranged in descending order according to the retrieval priority, and an abnormal detection model is sequentially adopted to detect whether the other nodes are abnormal;
S4, dynamically adjusting the transformer through-flow test parameters according to the abnormal detection result in the step S3:
When other node anomalies do not exist, single-node anomaly regulation is adopted;
when other nodes are abnormal, multi-node association abnormal regulation is adopted.
The invention is further improved in that the step S1 of collecting the state data of the transformer through-current test comprises the steps of collecting winding current time sequence data through a current sensor, collecting hot spot temperature time sequence data through an infrared thermometer, collecting iron core vibration time sequence data through a vibration sensor, collecting discharge ripple time sequence data through an acoustic sensor and collecting environment time sequence data through an environment temperature and humidity sensor.
The invention is further improved in that the state model in step S1 is an undirected graphThe undirected graph G comprises a node set V, an edge set E, a node attribute matrix X and an adjacency matrix A, wherein the node set, wherein,The current data is represented by a graph of the current,The data of the temperature is represented and,The vibration data is represented as such,The voiceprint data is represented by a representation of the voiceprint data,Representing environmental data, the node attribute matrix, wherein,Representing dimensions asWherein d represents the total number of time steps contained in the state data during a transformer through-current test period, the ith row vector of the node attribute matrix X, wherein,Representing dimensions asReal space of (1), vectorRepresenting the ith node in undirected graph GThe attribute vector is the i-th state data acquired in a through-flow test period of the primary transformer, and the value of i is 1-5.
A further improvement of the invention is that any edge in the edge set EThe value of (2) is calculated by the following formula:
wherein, the For the ith nodeAnd the jth nodeThe value of j is 1-5,The L1 norm of the vector is represented,For the normalized coefficient to be a function of the normalized coefficient,In order to physically associate the weights with each other,Is the strength of the physical association between nodes, where, when i=1, j=2,Representing the current-temperature correlation strength, takes a value of 0.9, and when i=1, j=3,The current-vibration correlation strength is represented, the value is 0.7, and the rest.
A further development of the invention is that the adjacency matrix, wherein,Representing dimensions asIs adjacent to the matrixElements of (a)。
The invention is further improved in that the S2 comprises the following specific steps:
s21, for each node Establishing an automatic encoder anomaly detection modelThe treatment process comprises the following steps:
wherein, the Anomaly detection model for ith nodeIs provided with an encoder of the number,Anomaly detection model for ith nodeIs a decoder of (a); Is that The output result of the encoding is output,Representation ofOutputting a reconstruction result;
s22, calculating a reconstruction error, wherein the calculation formula is as follows:
Wherein k represents the kth time step;
s23, judging whether the node is abnormal or not, wherein the calculation formula is as follows:
wherein, the For the abnormality detection threshold value,Is a nodeNode risk coefficient of (2) takes on the value of,,,,;
S24, whenAnd judging that the ith node is abnormal, and triggering abnormal early warning.
The invention is further improved in that the step S3 comprises the following specific steps:
S31, when Judging that the ith node is abnormal, and activating abnormal retrieval;
s32, determining potential influence node set ;
S33, computing nodeThe calculation formula of the search priority is as follows:
wherein, the Is the ith node in undirected graph GTo the jth nodeIs the shortest path hop count of (a); is the maximum element value of the adjacency matrix A; representing the jth node Is a search priority of (1);
s34, arranging other nodes in descending order according to the size of the retrieval priority, and detecting whether the other nodes are abnormal or not by adopting an abnormality detection model in sequence.
The invention is further improved in that the step S4 comprises the following specific steps:
s41, when other node anomalies do not exist, adopting single-node anomaly regulation and control, wherein a regulation and control formula is as follows:
wherein, the In order to regulate the current after the regulation,Is the current;
S42, when other nodes are abnormal, adopting multi-node association abnormal regulation and control, wherein a regulation and control formula is as follows:
wherein, the In order to regulate the current after the regulation,As a current flow is present,Representing a current abnormal node set;
s43, when all nodes meet And the recovery test current is 0.98 times of rated current of the transformer.
In a second aspect, a real-time regulation and control system for transformer through-current test parameters is provided, wherein the system comprises a model building module, an abnormal retrieval module, a secondary retrieval module and a parameter adjustment module;
The model building module is used for collecting state data of a transformer through-flow test and building the state data into a state model by using a data structure of an undirected graph;
The abnormality retrieval module is used for detecting abnormal nodes in the state model by using the abnormality detection model;
The secondary retrieval module is used for activating abnormal retrieval when abnormal nodes are detected, retrieving other potential abnormal nodes, arranging the other potential abnormal nodes in descending order according to the retrieval priority, and sequentially detecting whether the other nodes are abnormal or not by adopting an abnormal detection model;
the parameter adjustment module is used for dynamically adjusting the through-flow test parameters of the transformer according to the abnormality detection result, wherein when other node abnormalities do not exist, single-node abnormal regulation is adopted, and when other node abnormalities exist, multi-node associated abnormal regulation is adopted.
The beneficial effects are that:
(1) According to the invention, through collecting winding current time sequence data, hot spot temperature time sequence data, iron core vibration time sequence data, discharge voiceprint time sequence data and environment time sequence data and through multi-physical quantity cross verification, the hysteresis of the traditional single parameter threshold method is obviously solved, and the false alarm rate is reduced.
(2) According to the invention, state data of a transformer through-flow test is associated and quantized in an undirected graph form, and compared with a traditional CNN-LSTM model, the method realizes multi-parameter coupling with lower performance load.
(3) According to the invention, the automatic encoder anomaly detection model is established for each node in the undirected graph, the anomaly detection model is utilized to detect the anomaly node and activate anomaly retrieval, and the transformer through-flow test parameters are dynamically adjusted, so that the overheat trend can be captured in advance.
(4) According to the invention, through a hierarchical dynamic regulation strategy, when other node anomalies are not existed, single-node anomaly regulation is adopted, and when other node anomalies are existed, multi-node association anomaly regulation is adopted, so that the traditional 'one-cut' type power failure is avoided.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced without one or more of these details. In other instances, well-known features have not been described in detail in order to avoid obscuring the invention.
Example 1:
The embodiment constructs a real-time regulation and control method for the transformer through-flow test parameters, which comprises the steps of collecting state data of a transformer through-flow test, constructing a state model, detecting abnormal nodes in the state model by using an abnormal detection model, activating abnormal retrieval when the abnormal nodes are detected, retrieving other potential abnormal nodes, and dynamically regulating the transformer through-flow test parameters according to an abnormal detection result. The graph model carries out multi-parameter association quantification, and captures overheat trend in advance than the existing method, the priority retrieval mechanism compresses calculated amount, and current gradual adjustment of closed loop regulation can avoid test interruption.
Fig. 1 shows specific steps of a method for regulating and controlling parameters of a through-current test of a transformer in this embodiment in real time:
s1, collecting state data of a transformer through-flow test, and constructing the state data into a state model by using a data structure of an undirected graph;
s2, detecting abnormal nodes in the state model by using an abnormal detection model;
s3, when abnormal nodes are detected, abnormal retrieval is activated, other potential abnormal nodes are retrieved, the other potential abnormal nodes are arranged in descending order according to the retrieval priority, and an abnormal detection model is sequentially adopted to detect whether the other nodes are abnormal;
S4, dynamically adjusting the transformer through-flow test parameters according to the abnormal detection result in the step S3:
When other node anomalies do not exist, single-node anomaly regulation is adopted;
when other nodes are abnormal, multi-node association abnormal regulation is adopted.
In the embodiment, the step S1 of collecting state data of a transformer through-current test comprises the steps of collecting winding current time sequence data through a current sensor, collecting hot spot temperature time sequence data through an infrared thermometer, collecting iron core vibration time sequence data through a vibration sensor, collecting discharge ripple time sequence data through an acoustic sensor and collecting environment time sequence data through an environment temperature and humidity sensor.
In the present embodiment, the state model in S1 is an undirected graphThe undirected graph G comprises a node set V, an edge set E, a node attribute matrix X and an adjacent matrix A, and the node set, wherein,The current data is represented by a graph of the current,The data of the temperature is represented and,The vibration data is represented as such,The voiceprint data is represented by a representation of the voiceprint data,Representing environmental data, node attribute matrix, wherein,Representing dimensions asWherein d represents the total number of time steps contained in the state data in a transformer through-current test period, the ith row vector of the node attribute matrix X, wherein,Representing dimensions asReal space of (1), vectorRepresenting the ith node in undirected graph GThe attribute vector is the i-th state data acquired in a through-flow test period of the primary transformer, and the value of i is 1-5.
In this embodiment, any edge in edge set EThe value of (2) is calculated by equation (1):
wherein, the For the ith nodeAnd the jth nodeThe value of j is 1-5,The L1 norm of the vector is represented,For the normalized coefficient to be a function of the normalized coefficient,In order to physically associate the weights with each other,Is the strength of the physical association between nodes, where, when i=1, j=2,Representing the current-temperature correlation strength, takes a value of 0.9, and when i=1, j=3,The current-vibration correlation strength is represented, the value is 0.7, and the rest。
In the present embodiment, the adjacency matrix, wherein,Representing dimensions asIs adjacent to the matrixElements of (a)。
In this embodiment, S2 includes the following specific steps:
s21, for each node Establishing an automatic encoder anomaly detection modelThe treatment process is shown in the formula (2) and the formula (3):
wherein, the Anomaly detection model for ith nodeIs provided with an encoder of the number,Anomaly detection model for ith nodeIs a decoder of (a); Is that The output result of the encoding is output,Representation ofOutputting a reconstruction result;
s22, calculating a reconstruction error according to the following formula (4):
Wherein k represents the kth time step;
s23, judging whether the node is abnormal or not, wherein a calculation formula is shown in the following formula (5):
wherein, the For the abnormality detection threshold value,Is a nodeNode risk coefficient of (2) takes on the value of,,,,;
S24, whenAnd judging that the ith node is abnormal, and triggering abnormal early warning.
In this embodiment, S3 includes the following specific steps:
S31, when Judging that the ith node is abnormal, and activating abnormal retrieval;
s32, determining potential influence node set ;
S33, computing nodeThe calculation formula of the search priority is shown in the following formula (6):
wherein, the Is the ith node in undirected graph GTo the jth nodeIs the shortest path hop count of (a); is the maximum element value of the adjacency matrix A; representing the jth node Is a search priority of (1);
s34, arranging other nodes in descending order according to the size of the retrieval priority, and detecting whether the other nodes are abnormal or not by adopting an abnormality detection model in sequence.
In this embodiment, S4 includes the following specific steps:
S41, when other node anomalies do not exist, adopting single-node anomaly regulation, wherein a regulation formula is shown in a formula (7):
wherein, the In order to regulate the current after the regulation,Is the current;
S42, when other nodes are abnormal, adopting multi-node association abnormal regulation, wherein a regulation formula is shown in a formula (8):
wherein, the In order to regulate the current after the regulation,As a current flow is present,Representing a current abnormal node set;
s43, when all nodes meet And the recovery test current is 0.98 times of rated current of the transformer.
Example 2:
the embodiment provides a real-time regulation and control system for transformer through-flow test parameters, which comprises a model building module, an abnormal retrieval module, a secondary retrieval module and a parameter adjustment module as shown in fig. 2.
The model building module is used for collecting state data of the transformer through-flow test and building a state model;
The abnormality retrieval module is used for detecting abnormal nodes in the state model by using the abnormality detection model;
the secondary retrieval module is used for activating abnormal retrieval when abnormal nodes are detected, and retrieving other potential abnormal nodes;
The parameter adjustment module is used for dynamically adjusting the through-flow test parameters of the transformer according to the abnormal detection result.
In the embodiment, the state data of the transformer through-current test is collected by collecting winding current time sequence data through a current sensor, collecting hot spot temperature time sequence data through an infrared thermometer, collecting iron core vibration time sequence data through a vibration sensor, collecting discharge ripple time sequence data through an acoustic sensor and collecting environment time sequence data through an environment temperature and humidity sensor.
The steps for realizing the corresponding functions of each parameter and each unit module in the transformer through-current test parameter real-time regulation system according to the present invention can refer to each parameter and each step in the embodiment of the transformer through-current test parameter real-time regulation method in the above embodiment 1.
Such as:
The state data of the transformer through-current test comprises winding current time sequence data collected through a current sensor, hot spot temperature time sequence data collected through an infrared thermometer, iron core vibration time sequence data collected through a vibration sensor, discharge ripple time sequence data collected through an acoustic sensor and environment time sequence data collected through an environment temperature and humidity sensor.
For another example:
The state model constructed by the model construction module is an undirected graph The undirected graph G includes a node set V, an edge set E, a node attribute matrix X, and an adjacency matrix A.
The node set, wherein,The current data is represented by a graph of the current,The data of the temperature is represented and,The vibration data is represented as such,The voiceprint data is represented by a representation of the voiceprint data,Representing environmental data, the node attribute matrix, wherein,Representing dimensions asWherein d represents the total number of time steps contained in the state data during a transformer through-current test period, the ith row vector of the node attribute matrix X, wherein,Representing dimensions asReal space of (1), vectorRepresenting the ith node in undirected graph GThe attribute vector is the i-th state data acquired in a through-flow test period of the primary transformer, and the value of i is 1-5.
Any edge in edge set EThe value of (2) is calculated by the formula (1) in example 1, and is not described here.
Adjacency matrix, wherein,Representing dimensions asIs adjacent to the matrixElements of (a)。
For another example:
The anomaly retrieval module first calculates for each node Establishing an automatic encoder anomaly detection modelThe processing procedure is shown in the formula (2) and the formula (3) in the embodiment 1, and is not repeated here.
Then, the reconstruction error is calculated according to the formula (4) in the embodiment 1, then whether the node is abnormal or not is judged according to the formula (5) in the embodiment 1, and the abnormality early warning is triggered when the abnormality of a certain node is judged.
For another example:
The implementation of the secondary retrieval module comprises the specific steps of activating exception retrieval when the ith node is determined to be abnormal, and then determining a set of potential influencing nodes Further, a node is calculated according to the formula (6) in embodiment 1And finally, arranging other nodes in descending order according to the size of the retrieval priority, and sequentially detecting whether other nodes are abnormal by adopting an abnormality detection model.
For another example:
The parameter adjustment module is used for dynamically adjusting the through-flow test parameters of the transformer according to the abnormality detection result, wherein when no other node abnormality exists, single-node abnormality regulation is adopted, and a regulation formula is shown as a formula (7) in the embodiment 1. When other node anomalies exist, multi-node-associated anomaly regulation is adopted, and a regulation formula is shown in a formula (8) in the embodiment 1.
Example 3
The embodiment provides electronic equipment which comprises a processor and a memory, wherein a computer program which can be called by the processor is stored in the memory, and the processor executes the real-time regulation and control method for the transformer through-flow test parameters by calling the computer program stored in the memory.
The electronic device may have a relatively large difference due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) and one or more memories, where at least one computer program is stored in the memories, and the computer program is loaded and executed by the processors to implement a method for real-time regulation and control of a transformer through-current test parameter provided by the above method embodiment. The electronic device can also include other components for implementing the functions of the device, for example, the electronic device can also have wired or wireless network interfaces, input-output interfaces, and the like, for inputting and outputting data. The present embodiment is not described herein.
Those skilled in the art will appreciate that the present invention may be implemented as a system, method, or computer program product. Accordingly, the present disclosure may be embodied in either entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or in a combination of hardware and software, referred to herein generally as a "circuit," module, "or" system. Furthermore, in some embodiments, the invention may also be embodied in the form of a computer program product in one or more computer-readable media, which contain computer-readable program code.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer-readable storage medium include an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The present invention is described with reference to flowchart illustrations and block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow or block of the flowchart illustrations and block diagrams, and combinations of flows and blocks in the flowchart illustrations or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and block diagram block or blocks.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are all within the protection of the present invention.