Transformer ground pulse current partial discharge diagnosis method, device, equipment, medium
By constructing measured frames and simulated frames, using LSTM and YOLOv5 models, combined with programmable amplifiers and high-frequency current transformers, the ground pulse current characteristics are extracted, which solves the problem of partial discharge pattern recognition in the existing technology that is difficult to determine the root cause, and realizes transformer Automatic diagnosis and efficient identification of partial discharge root causes.
Patent Information
- Application Number
- CN202411195974.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-29
AI Technical Summary
The existing technology can only identify the transformer partial discharge mode, and it is difficult to determine the root cause of the partial discharge, resulting in low diagnostic efficiency and reliability.
By constructing measured frames and simulated frames, using pre-trained LSTM models and YOLOv5 models, combined with programmable amplifiers and high-frequency current transformers, the characteristics of ground pulse currents are extracted, and the target slope and diagnosis results are marked to achieve automatic diagnosis of partial discharge root causes. .
It improves the efficiency and reliability of root cause diagnosis of transformer partial discharge, can accurately characterize the operating scenario before the occurrence of partial discharge in the transformer, and realizes automatic diagnosis.
Smart Images

Figure CN118707273B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of partial discharge diagnosis, and in particular to a method, device, equipment and medium for diagnosing partial discharge of transformer grounding pulse current. Background Art
[0002] Partial discharge of transformer is referred to as partial discharge. When partial discharge occurs, it is inevitably accompanied by a series of physical phenomena and chemical changes, such as light emission, heat generation, ultrasonic wave, electromagnetic radiation and high-frequency pulse current, and causes changes in the chemical composition of insulating oil. In this way, by observing the external manifestations of the fault, the internal defects of the insulation can be analyzed and judged to a certain extent, thus providing a basis for online monitoring and diagnosis.
[0003] With the advancement of monitoring technology, the acquisition bandwidth of current transformer high-frequency partial discharge monitoring devices has reached tens of MHz, and the sampling rate of analog-to-digital conversion has reached 100MS / s. The analysis of partial discharge data has also evolved from the previous statistical spectrum recognition technologies such as PRPS and PRPD to anti-interference technology based on pulse waveform analysis and precise positioning technology based on pulse arrival time difference.
[0004] The pulse waveform analysis is mainly aimed at the ground pulse current of the transformer. The ground pulse current has the characteristics of instantaneousness when partial discharge occurs. It can increase to the peak value in an instant and then drop rapidly. In the related technology, the real-time collected transformer ground pulse is feature extracted through a deep learning model, and the historical operation data of the transformer and the expert knowledge base are combined to perform fault diagnosis and prediction. For example, tip discharge, particle discharge, internal discharge or suspended discharge are identified, and the transformer is maintained according to the partial discharge mode and severity. However, the existing technology can only identify the partial discharge mode, and the same partial discharge mode may be caused by different root causes. Manual observation or instrument detection is still required to determine the root cause of the partial discharge. The efficiency of root cause diagnosis is low and the reliability is poor. Summary of the invention
[0005] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes a method, device, equipment and medium for diagnosing partial discharge of transformer ground pulse current, which can diagnose the root cause of partial discharge and improve the diagnostic efficiency and reliability.
[0006] In a first aspect, an embodiment of the present invention provides a method for diagnosing partial discharge of a transformer ground pulse current, comprising:
[0007] A first measured frame is constructed based on a plurality of real-time ground pulses, and when a first current peak value of the first measured frame is less than a current threshold, the first measured frame is amplified based on a first multiple to obtain a first simulation frame, and the first measured frame is amplified based on a second multiple to obtain a second simulation frame, wherein the current threshold is used to indicate a current value when a ground pulse current partial discharge occurs, the first multiple is less than the second multiple, and the second multiple is less than or equal to a quotient of the current threshold and the first current peak value;
[0008] Using a pre-trained LSTM model, predicting a first predicted frame based on the first simulated frame, and predicting a second predicted frame based on the second simulated frame;
[0009] Based on the first half of the first prediction frame and the second half of the second prediction frame being spliced into a reference frame, a target slope of the reference frame is determined, wherein the target slope is a first slope with a maximum value, and the first slope is a slope between two adjacent real-time ground pulses in the reference frame;
[0010] Continue to acquire multiple real-time grounding pulses and construct a second measured frame, and when a second current peak value of the second measured frame is less than the current threshold and at least one second slope is greater than the target slope, mark the first measured frame as a first target frame, wherein the second slope is a slope between two adjacent real-time grounding pulses in the second measured frame;
[0011] Continue to construct multiple third measured frames and determine corresponding third current peak values, and determine the first third measured frame in which the third current peak value is greater than the current threshold as the second target frame;
[0012] A first pulse image is constructed based on all real-time ground pulses between the first target frame and the second target frame, and a target diagnosis result is determined based on the first pulse image and a pre-trained YOLOv5 model.
[0013] According to some embodiments of the present invention, the present invention is applied to an online partial discharge monitoring device, the online partial discharge monitoring device includes a programmable amplifier, the amplifying the first measured frame based on a first multiple to obtain a first simulated frame, and the amplifying the first measured frame based on a second multiple to obtain a second simulated frame, including:
[0014] Determine a quotient of the current threshold and the first current peak as a reference multiple, and determine a target coefficient group based on the reference multiple and a preset mapping table, wherein the mapping table records a mapping relationship between the reference multiple and an available coefficient group, the available coefficient group includes a first scaling factor and a second scaling factor, and the first scaling factor is smaller than the second scaling factor;
[0015] Determine the first multiple based on the reference multiple and the first scaling factor of the target coefficient group, and determine the second multiple based on the reference multiple and the second scaling factor of the target coefficient group;
[0016] Acquire a target analog signal, wherein the target analog signal is an input signal corresponding to the first measured frame;
[0017] Obtaining the first analog frame based on the target analog signal and the programmable amplifier applying the first multiple;
[0018] The second analog frame is obtained based on the target analog signal and the programmable amplifier applying the second multiple.
[0019] According to some embodiments of the present invention, after constructing the first measured frame based on the multiple real-time ground pulses, the method further includes:
[0020] Acquire a sample image set, wherein the sample image set includes a plurality of sample pulse images, the sample pulse images are annotated with sample partial discharge currents, and the sample partial discharge currents are used to indicate current values when ground pulse partial discharge occurs;
[0021] determining the current threshold based on a plurality of the sample partial discharge currents;
[0022] After determining the second target frame, a reference partial discharge current of the second target frame is determined, and the current threshold is updated based on the reference partial discharge current, wherein the reference partial discharge current is a current value when a ground pulse partial discharge occurs in the second target frame.
[0023] According to some embodiments of the present invention, determining a reference partial discharge current of the second target frame includes:
[0024] Determine the real-time ground pulse having a current value greater than the current threshold as a first reference pulse;
[0025] constructing a first slope sequence based on a plurality of third slopes before the first reference pulse, wherein the third slope is a slope between two adjacent real-time ground pulses in the second target frame;
[0026] Traversing the first slope sequence in reverse order, and determining the first traversed third slope that is smaller than the target slope as a reference slope;
[0027] The pulse with the later acquisition time of the two real-time ground pulses corresponding to the reference slope is determined as the second reference pulse, and the current value corresponding to the second reference pulse is determined as the reference partial discharge current.
[0028] According to some embodiments of the present invention, the sample pulse image includes a first sample image before the ground pulse partial discharge occurs, a preset blank frame, and a second sample image after the ground pulse partial discharge is completed, and the target diagnosis result is determined based on the first pulse image and a pre-trained YOLOv5 model, including:
[0029] Continue to collect multiple real-time grounding pulses, and when it is detected that the current values of multiple consecutive real-time grounding pulses drop from above the current threshold to below the current threshold, determine the first real-time grounding pulse whose current value is less than the current threshold as the third reference pulse;
[0030] Constructing a second pulse image based on a plurality of the real-time ground pulses after the third reference pulse, and sequentially splicing the first pulse image, a preset blank frame and the second pulse image to obtain a target pulse image;
[0031] The target pulse image and the sample image set are input into the YOLOv5 model for training, and the target diagnosis result output by the YOLOv5 model is obtained, wherein the target diagnosis result is used to indicate the abnormal state of the transformer before and after the occurrence of ground pulse partial discharge.
[0032] According to some embodiments of the present invention, constructing a second pulse image based on a plurality of the real-time ground pulses after the third reference pulse comprises:
[0033] constructing a first pulse sequence based on the third reference pulse and the real-time ground pulse located after the third reference pulse, and determining a second slope sequence based on the first pulse sequence, wherein the second slope sequence includes a plurality of fourth slopes, and the fourth slope is a slope between two adjacent real-time ground pulses in the first pulse sequence;
[0034] traversing the second slope series to determine a fifth slope, wherein an absolute value of the fifth slope is greater than the target slope;
[0035] Determine the front one of the two real-time ground pulses corresponding to the fifth slope as a fourth reference pulse;
[0036] The second pulse image is constructed based on all the real-time ground pulses between the third reference pulse to the fourth reference pulse.
[0037] According to some embodiments of the present invention, after continuing to acquire a plurality of the real-time ground pulses and constructing a second measured frame, the method further includes:
[0038] When the second current peak value is less than the current threshold value, and all the second slopes are less than the target slopes, determining the second measured frame as a new first measured frame;
[0039] Alternatively, when the second current peak value is greater than or equal to the current threshold, the first measured frame is marked as the first candidate frame, and when the third current peak values of the third measured frames of multiple consecutive frames are all greater than the current threshold, the second measured frame is determined as the second target frame, and the first target frame is determined based on a preset number, wherein the first target frame is located before the first measured frame, and the distance between the first target frame and the second measured frame is equal to the preset number;
[0040] Alternatively, when the second current peak is greater than or equal to the current threshold, the first measured frame is marked as the first candidate frame; when the number of the third measured frames in which the third current peak is less than the current threshold is greater than or equal to the preset number, the next frame of the second measured frame is determined as the new first measured frame.
[0041] In a second aspect, an embodiment of the present invention provides a diagnostic device for partial discharge of ground pulse current of a transformer, comprising at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions executable by the at least one control processor, and the instructions are executed by the at least one control processor so that the at least one control processor can execute the diagnostic method for partial discharge of ground pulse current of a transformer as described in the first aspect above.
[0042] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a transformer ground pulse current partial discharge diagnosis device as described in the second aspect above.
[0043] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the transformer ground pulse current partial discharge diagnosis method as described in the first aspect above.
[0044] The method for diagnosing partial discharge of transformer ground pulse current according to an embodiment of the present invention has at least the following beneficial effects: constructing a first measured frame based on multiple real-time ground pulses, when a first current peak value of the first measured frame is less than a current threshold, amplifying the first measured frame based on a first multiple to obtain a first simulated frame, and amplifying the first measured frame based on a second multiple to obtain a second simulated frame, wherein the current threshold is used to indicate a current value when a partial discharge of ground pulse current occurs, the first multiple is less than the second multiple, and the second multiple is less than or equal to the quotient of the current threshold and the first current peak value; predicting a first predicted frame based on the first simulated frame and predicting a second predicted frame based on the second simulated frame through a pre-trained LSTM model; splicing a reference frame based on the first half of the first predicted frame and the second half of the second predicted frame, and determining a target slope of the reference frame, wherein the The target slope is the first slope with the largest value, and the first slope is the slope between two adjacent real-time grounding pulses in the reference frame; continue to obtain multiple real-time grounding pulses and construct a second measured frame, when the second current peak value of the second measured frame is less than the current threshold, and at least one second slope is greater than the target slope, mark the first measured frame as the first target frame, wherein the second slope is the slope between two adjacent real-time grounding pulses in the second measured frame; continue to construct multiple third measured frames and determine the corresponding third current peak value, and determine the third measured frame whose first third current peak value is greater than the current threshold as the second target frame; construct a first pulse image based on all real-time grounding pulses between the first target frame and the second target frame, and determine the target diagnosis result based on the first pulse image and the pre-trained YOLOv5 model. According to the technical solution of the embodiment of the present invention, the current ground pulse can be amplified by two different multiples to simulate the corresponding prediction frames, and half of each frame is spliced into a reference frame to simulate the scenario of a sudden increase in current to obtain the target slope. According to the target slope, the first measured frame with a partial discharge risk is marked as the first target frame, and the first pulse image is constructed with the first target frame as the starting point. This can accurately characterize the operating scenario of the transformer before partial discharge occurs, realize automatic diagnosis of the root cause of partial discharge, and improve diagnostic efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 is a system architecture diagram of a partial discharge online monitoring device provided by an embodiment of the present invention;
[0046] Figure 2 is a flow chart of a method for diagnosing partial discharge of transformer ground pulse current provided by another embodiment of the present invention;
[0047] Figure 3 is a network structure diagram of a YOLOv5 model provided by another embodiment of the present invention;
[0048] Figure 4 is a schematic diagram of determining a target pulse image provided by another embodiment of the present invention;
[0049] Figure 5 It is a structural diagram of a transformer ground pulse current partial discharge diagnosis device provided by another embodiment of the present invention. DETAILED DESCRIPTION
[0050] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.
[0051] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0052] In the description of the present invention, "several" means one or more, "more" means more than two, "greater than", "less than", "exceed" etc. are understood as not including the number itself, and "above", "below", "within" etc. are understood as including the number itself. If there is a description of "first" or "second", it is only used for the purpose of distinguishing the technical features, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.
[0053] In the description of the present invention, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention based on the specific content of the technical solution.
[0054] The embodiment of the present invention provides a method, device, equipment and medium for diagnosing partial discharge of ground pulse current of a transformer, wherein the method for diagnosing partial discharge of ground pulse current of a transformer comprises: constructing a first measured frame based on multiple real-time ground pulses, when a first current peak value of the first measured frame is less than a current threshold, amplifying the first measured frame based on a first multiple to obtain a first simulation frame, and amplifying the first measured frame based on a second multiple to obtain a second simulation frame, wherein the current threshold is used to indicate a current value when partial discharge of ground pulse current occurs, the first multiple is less than the second multiple, and the second multiple is less than or equal to the quotient of the current threshold and the first current peak value; predicting a first predicted frame based on the first simulation frame and predicting a second predicted frame based on the second simulation frame through a pre-trained LSTM model; splicing a reference frame based on the first half of the first predicted frame and the second half of the second predicted frame, Determine a target slope of a reference frame, wherein the target slope is a first slope with the largest value, and the first slope is a slope between two adjacent real-time ground pulses in the reference frame; continue to acquire multiple real-time ground pulses and construct a second measured frame, when the second current peak value of the second measured frame is less than the current threshold, and at least one second slope is greater than the target slope, mark the first measured frame as a first target frame, wherein the second slope is a slope between two adjacent real-time ground pulses in the second measured frame; continue to construct multiple third measured frames and determine the corresponding third current peak values, and determine the third measured frame whose first third current peak value is greater than the current threshold as the second target frame; construct a first pulse image based on all real-time ground pulses between the first target frame and the second target frame, and determine a target diagnosis result based on the first pulse image and a pre-trained YOLOv5 model. According to the technical solution of the embodiment of the present invention, the current ground pulse can be amplified by two different multiples to simulate the corresponding prediction frames, and half of each frame is spliced into a reference frame to simulate the scenario of a sudden increase in current to obtain the target slope. According to the target slope, the first measured frame with a partial discharge risk is marked as the first target frame, and the first pulse image is constructed with the first target frame as the starting point. This can accurately characterize the operating scenario of the transformer before partial discharge occurs, realize automatic diagnosis of the root cause of partial discharge, and improve diagnostic efficiency.
[0055] First, refer to Figure 1 , Figure 1A system architecture diagram of an online partial discharge monitoring device provided in an embodiment of the present invention. The online partial discharge monitoring device includes a high-frequency current transformer, a bandpass filter, a programmable amplifier, a differential driver, an analog-to-digital converter, and a programmable logic device, wherein the high-frequency current transformer is used to collect the current pulse of the transformer to obtain a target analog signal; the bandpass filter is used to filter the target analog signal to reduce noise interference; the programmable amplifier can amplify and shape the signal in a short time. In this embodiment, the programmable amplifier amplifies the filtered target analog signal based on preset parameters to obtain each measured frame, and can apply the first multiple and the second multiple determined by the programmable logic device to perform additional amplification processing on the target analog signal to obtain the first analog frame and the second analog frame; the differential driver is used to improve the anti-interference ability of signal transmission through differential signal input and output; the analog-to-digital converter is used to convert the analog signal into a digital signal; the programmable logic device is used as the processor of this embodiment, and the relevant code of the diagnosis method of partial discharge of transformer ground pulse current in this embodiment is preset in the programmable logic device, so that it can execute the relevant process under the triggering of the target analog signal, and output the first multiple and the second multiple to the programmable amplifier.
[0056] The following is based on Figure 1 The partial discharge online monitoring device shown is used to further illustrate the technical solution of the embodiment of the present invention.
[0057] Reference Figure 2 , Figure 2 A flowchart of a transformer ground pulse current partial discharge diagnosis method provided by an embodiment of the present invention, the transformer ground pulse current partial discharge diagnosis method includes but is not limited to the following steps:
[0058] S10, constructing a first measured frame based on multiple real-time ground pulses, when a first current peak value of the first measured frame is less than a current threshold, amplifying the first measured frame based on a first multiple to obtain a first simulation frame, and amplifying the first measured frame based on a second multiple to obtain a second simulation frame, wherein the current threshold is used to indicate a current value when a ground pulse current partial discharge occurs, the first multiple is less than the second multiple, and the second multiple is less than or equal to a quotient of the current threshold and the first current peak value;
[0059] S20, predicting a first predicted frame based on the first simulated frame and predicting a second predicted frame based on the second simulated frame using a pre-trained LSTM model;
[0060] S30, based on splicing the first half of the first prediction frame and the second half of the second prediction frame into a reference frame, determining a target slope of the reference frame, wherein the target slope is a first slope with a maximum value, and the first slope is a slope between two adjacent real-time ground pulses in the reference frame;
[0061] S40, continue to acquire multiple real-time ground pulses and construct a second measured frame, when the second current peak value of the second measured frame is less than the current threshold, and at least one second slope is greater than the target slope, mark the first measured frame as a first target frame, wherein the second slope is the slope between two adjacent real-time ground pulses in the second measured frame;
[0062] S50, continue to construct multiple third measured frames and determine corresponding third current peak values, and determine the third measured frame whose first third current peak value is greater than the current threshold as the second target frame;
[0063] S60, constructing a first pulse image based on all real-time ground pulses between the first target frame and the second target frame, and determining a target diagnosis result based on the first pulse image and a pre-trained YOLOv5 model.
[0064] It should be noted that the time of the real-time ground pulse is relatively short. If relevant judgments are made based on the real-time ground pulse, it is difficult to ensure the timeliness of the calculation. Therefore, this embodiment uses the measured frame as the calculation unit and constructs the measured frame based on multiple real-time ground pulses. Each measured frame includes at least 3 real-time ground pulses, which can ensure that the prediction and diagnosis can meet the timeliness requirements and ensure that at least two slope data are available for subsequent judgments.
[0065] For example, Figure 1 As shown, the first measured frame includes 6 real-time grounding pulses. The first measured frame is constructed after 6 real-time grounding pulses are obtained through the high-frequency current transformer. The collection is maintained when the relevant judgment is performed. The second measured frame is constructed after another 6 real-time grounding pulses are collected. The calculation processing of the programmable logic device does not affect the signal collection operation of the previous devices.
[0066] It should be noted that after obtaining the first measured frame, each real-time ground pulse corresponds to a current value, and the first current peak value is the current value with the largest value. Therefore, after determining the first measured frame, the current value with the largest value is determined as the first current peak value. The second current peak value and the third current peak value are similar, and will not be repeated later.
[0067] It should be noted that the ground pulse current partial discharge has a large randomness. The current threshold of this embodiment is used to indicate the current value when the ground pulse current partial discharge occurs, and the current threshold is used to characterize the partial discharge risk. The current threshold can be calculated based on the current values of multiple samples when a sudden change occurs. For example, a pulse with a large numerical increase is marked in the sample pulse image, and the current value corresponding to the pulse is determined as the sudden increase current value. The current threshold is obtained by calculating the average value of the sudden increase current values of each sample pulse image; it can also be set according to actual needs. For example, if it is considered that there is a risk of partial discharge when the ground pulse current reaches a certain value T, T is used as the current threshold.
[0068] It is known to those skilled in the art that there are many causes of ground pulse partial discharge, such as insulation defects, excessive electric field strength, lightning wave impact, voltage stress concentration, etc. The instantaneous nature of ground pulse partial discharge is strong. The partial discharge pattern can be identified by relying on the image during the ground pulse partial discharge process, but the root cause of the partial discharge cannot be determined. The current performance before the partial discharge caused by different root causes is not the same. For example, the current may increase slowly before the partial discharge caused by insulation defects. The excessive electric field strength of the transformer will exceed the tolerance of the insulating material, so the current will fluctuate greatly in a short period of time. If the ground pulse of several frames before and after the partial discharge occurs is simply used for diagnosis, it is easy to introduce irrelevant data and affect the accuracy of the root cause diagnosis. Therefore, this embodiment does not use the current threshold to judge the occurrence of partial discharge and then take several frames for judgment, but through the amplification simulation, prediction and comparison of the first measured frame with the second measured frame, the post-comparison of the data is used to determine whether the first measured frame carries a pulse representation of the risk of partial discharge, thereby improving the reliability of the data used for root cause diagnosis, and improving the accuracy and efficiency of root cause diagnosis by reducing invalid data.
[0069] It should be noted that after determining that the first current peak is less than the current threshold, it is first determined that no ground pulse partial discharge occurs at the moment corresponding to the first measured frame. However, the first measured frame is likely to carry current performance before the partial discharge occurs. In order to determine whether the first measured frame can be used, this embodiment amplifies the first measured frame to different degrees by the first multiple and the second multiple, and the second multiple is less than the quotient of the current threshold and the first current peak. It can be determined that the second simulated frame obtained after amplification based on the second multiple will not exceed the current threshold. The amplification simulation is performed within the range where the partial discharge occurs to ensure the reliability of the data.
[0070] Exemplarily, the quotient of the current threshold and the first current peak is X (X is a natural number greater than 1), and the numerical range of the first multiple and the second multiple is (1, X). Ensure that the first simulation frame and the second simulation frame are at least greater than the first measured frame.
[0071] It should be noted that the LSTM model is a prediction model commonly used by technical personnel in this field. The LSTM model can perform simple graphical predictions, and the calculation timeliness is strong, and the prediction calculation can be completed in a short time. This embodiment does not involve the improvement of the LSTM model, and the existing model can be used, which will not be repeated later.
[0072] It should be noted that this embodiment amplifies the first measured frame to the first simulation frame and the second simulation frame to simulate the operation scenario of the transformer when the current is large and no partial discharge occurs. The first simulation frame and the second simulation frame are respectively input into the LSTM model to predict the next frame, and the first prediction frame and the second prediction frame are obtained. The first prediction frame and the second prediction frame are used to characterize the performance of the next frame when the current is larger, and each half is taken to splice into a reference frame. Due to the different magnification factors, the current increment within a reasonable range can be simulated by the first half and the second half of the reference frame. Although the reference frame is obtained by amplification, the increase within a reasonable range is obviously smaller than the increase when partial discharge occurs. This embodiment can use simulation, prediction and splicing to construct a target slope, and the target slope is used to characterize the maximum current increase of the reference frame.
[0073] It should be noted that after obtaining the second measured frame, when the second current peak is less than the current threshold, it can be determined that the second measured frame is also within the normal operating range. This embodiment first determines multiple second slopes. When the second slope is greater than the target slope, the increase in the second measured frame is likely to exceed the normal operating range. The second measured frame may also carry a pulse representation of partial discharge risk. Since the risk is determined based on the first measured frame, the first measured frame may also carry a pulse representation of partial discharge risk. Using the first measured frame as the first target frame has a certain reference value to ensure data accuracy during root cause diagnosis.
[0074] For example, Figure 1 As shown, after the first simulation frame is obtained by amplifying by a first multiple and the second simulation frame is obtained by amplifying by a second multiple, the first predicted frame and the second predicted frame are predicted by the LSTM model. The first predicted frame is obtained based on a smaller numerical prediction, so the first half is taken, and the second predicted frame takes the second half, and they are spliced to obtain a reference frame. Although the second amplification factor is greater than the first amplification factor, it does not mean that the slope between the third real-time grounding pulse of the first prediction frame and the fourth real-time grounding pulse of the second prediction frame is the target slope. It may also be that the slope of the two real-time grounding pulses after the second prediction frame is larger. Therefore, the purpose of splicing in this embodiment is to include normal operating scenarios under different current bases in the reference frame, increase the difference of current in the normal operating scenario, determine the target slope by the increased current difference, and use the target slope to characterize the maximum increase of current in the normal operating scenario. Taking the target slope as K1 as an example, when the maximum second slope K2 of the second measured frame satisfies K2>K1, the current increase between at least two real-time grounding pulses in the second measured frame is greater than the target slope of the reference frame predicted after amplification, and the second measured frame has a partial discharge risk. Since the risk is predicted based on the first measured frame, the first measured frame also has a pulse characterization that can predict the partial discharge risk, and the first measured frame is used as the first target frame.
[0075] It should be noted that the first slope and the second slope are the slopes of two adjacent real-time ground pulses in the reference frame. The specific calculation method is a technique well known to those skilled in the art and will not be repeated here. The subsequent other slopes are similar and can be calculated based on the current values of the two pulses.
[0076] It should be noted that after determining the first target frame according to the above principle, the first target frame is used as the starting point for prediction. Therefore, it is necessary to determine the moment when the partial discharge occurs and determine it as the end point of the prediction, so that the constructed first pulse image can record the grounding pulse before the partial discharge occurs, and identify the current operation state before the partial discharge occurs through the first pulse image, thereby identifying the corresponding root cause of the fault and obtaining the target diagnosis result. Based on this, this embodiment uses the current threshold as the basis for data judgment. After determining the starting point based on the first measured frame and the second measured frame, the subsequent third measured frame does not necessarily exceed the current threshold, and may still be a normal operation stage before the partial discharge occurs, but it carries the characterization of current abnormality. Therefore, this embodiment determines the third measured frame whose third current peak exceeds the current threshold as the second target frame, ensures that the second target frame is a measured frame where the partial discharge occurs, and splices all real-time grounding pulses from the first target frame to the second target frame as the first pulse image to effectively improve the prediction accuracy.
[0077] For example, Figure 1 As shown, after determining the first target frame, the first measured frame and the second measured frame are spliced into a first pulse image. When the third current peak of the first third measured frame is less than the current threshold, it is added to the first pulse image, and they are superimposed in sequence until the above-mentioned second target frame appears. The second target frame is used as the last frame of the first pulse image. After splicing is completed, the first pulse image is input into the YOLOv5 model for diagnosis.
[0078] It should be noted that the YOLOv5 model can perform multi-scale convolution, and at the same time introduce an attention mechanism to fuse features of different dimensions, and obtain high, medium and low dimensional features for prediction. The specific principle of the YOLOv5 model is a technology well known to those skilled in the art, and will not be repeated here. Since the partial discharge of the ground pulse current has a strong instantaneous characteristic, the time for its precursor to appear is relatively short, that is, the time span of the real-time ground pulse contained in the first pulse image is relatively short. The use of the YOLOv5 model can quickly identify the pulse characteristics and improve the efficiency of diagnostic identification. The following is a brief description of the improved YOLOv5 model of this embodiment.
[0079] The network structure of the YOLOv5 model in this embodiment is as follows Figure 3As shown, it includes a backbone network, a fusion network and a head network. Among them, the backbone network is built based on ShufflenetV2, and includes a convolutional pooling layer, Stage1, Stage2, Stage3, a fast pyramid pooling (Spatial Pyramid Pooling-Fast, SPPF) module and an attention module in sequence. It is known to those skilled in the art that Stage is a stage of ShuffleNetV2, which consists of a series of ShuffleNetV2 units. In each Stage, the number of channels of the ShuffleNetV2 unit gradually increases, and the number of channels of the input feature map of the first ShuffleNetV2 unit is the same as the number of channels of the output feature map of the previous Stage. The ShuffleNetV2 units in each Stage are stacked in sequence, so that each Stage can extract richer features to increase the expression ability of the model, and can extract as many features as possible in the first pulse image with a shorter time span. SPPF can obtain redundant feature maps through convolution operations, which reduces the number of parameters of the model and improves the robustness of the model while ensuring the module capability. Since the dimension of the redundant feature map obtained by SPPF is high, an attention module is introduced to increase the attention of high-dimensional semantic features and improve the accuracy of feature recognition.
[0080] In addition, the fusion network of this embodiment adopts a pyramid network (Feature Pyramid Network, FPN). The high-dimensional feature map output by the attention module of the backbone network extracts high-dimensional deep abstract semantic features through the GC3 module, and then the high-dimensional deep abstract semantic features are input into a YOLO head for high-dimensional semantic prediction. At the same time, the high-dimensional feature map is also input into the next fusion module, and is successively fused (Concat) with the medium-dimensional features of Stage2 after passing through upsampling (Upsample) and an SPPF module. Similarly, the medium-dimensional deep abstract semantic features are extracted through the GC3 module and then input into a YOLO head for medium-dimensional semantic prediction. Similarly, the fusion based on Stage1 is input into the YOLO head for low-dimensional semantic prediction. Through the above network structure, the deep semantic features of the first pulse image can be extracted and identified in the high, medium and low dimensions. The sample pulse images used for training are annotated with the root causes of partial discharge, such as the sample image before partial discharge occurs due to insulation defects, the sample image before partial discharge caused by excessive electric field, etc. After the features are extracted by YOLO head, they can be matched with the features of the sample image to determine the target root cause of this partial discharge, thereby obtaining the target diagnosis result.
[0081] Through the technical solution of this embodiment, the first measured frame is used as a basis to perform different magnifications to obtain the first simulation frame and the second simulation frame, and the first prediction frame and the second prediction frame are predicted based on the LSTM model respectively, and half of each is spliced into a reference frame to determine the target slope. When at least one second slope of the second measured frame is greater than the target slope, it can be determined that the second measured frame has a partial discharge risk. The first measured frame is determined as the starting point of the partial discharge risk by using the data performance of the second measured frame, and is determined as the first target frame to achieve the marking of the origin of the partial discharge risk. After the second target frame is determined, it is spliced into a first pulse image, so that the first pulse image can represent the current information from the occurrence of the partial discharge risk to the occurrence of the partial discharge. The current defect represented by the first pulse image is accurately diagnosed based on the YOLOv5 model, thereby obtaining an accurate target diagnosis result and accurately determining the root cause of the partial discharge.
[0082] In addition, in one embodiment, in step S10, the first measured frame is amplified based on a first factor to obtain a first simulated frame, and the first measured frame is amplified based on a second factor to obtain a second simulated frame, which specifically includes but is not limited to the following steps:
[0083] S121, determining a quotient of the current threshold and the first current peak as a reference multiple, and determining a target coefficient group based on the reference multiple and a preset mapping table, wherein the mapping table records a mapping relationship between the reference multiple and the available coefficient group, the available coefficient group includes a first scaling factor and a second scaling factor, and the first scaling factor is smaller than the second scaling factor;
[0084] S122, determining a first multiple based on the reference multiple and a first scaling factor of the target coefficient group, and determining a second multiple based on the reference multiple and a second scaling factor of the target coefficient group;
[0085] S123, obtaining a target analog signal, wherein the target analog signal is an input signal corresponding to the first measured frame;
[0086] S124, obtaining a first analog frame based on the target analog signal and applying a first multiple of the program-controlled amplifier;
[0087] S125, obtaining a second analog frame based on the target analog signal and applying a second multiple of the programmable amplifier.
[0088] It should be noted that the present embodiment sets up a mapping table, and records the mapping relationship between the reference multiple and the available coefficient group in the mapping table, so that the first multiple and the second multiple can have a certain numerical difference, so as to increase the difference between the pulse current values of the first simulation frame and the second simulation frame, and improve the reference of the target slope. For example, when the reference multiple is 2, the first scaling factor is 0.6, and the second scaling factor is 0.9, the first multiple is 1.2, and the second multiple is 1.8.
[0089] It should be noted that, in this embodiment, a reference frame within the normal operating range is constructed based on the first measured frame to obtain the target slope. Therefore, it is necessary to ensure that the current peak value of the second simulation frame with a larger value does not exceed the reference threshold. In this embodiment, the quotient of the current threshold and the first current peak value is determined as the reference multiple, and the reference multiple is scaled by the scaling factor so that the second multiple is less than or equal to the reference multiple, and the first current peak value is less than or equal to the current threshold after being amplified by the second multiple, thereby ensuring that the current peak value of the second simulation frame does not exceed the current threshold. Since the first multiple is less than the second multiple, the first simulation frame must be within the current threshold.
[0090] It should be noted that, according to the description of the above embodiment, this embodiment needs to amplify the first measured frame. Figure 1 The structure of the partial discharge online monitoring device shown can save the target analog signal after it is collected, output the first multiple and the second multiple to the programmable amplifier through a programmable logic device, simulate and collect the target analog signal again and use the programmable amplifier to amplify it by different multiples, thereby obtaining the first analog frame and the second analog frame.
[0091] In addition, in one embodiment, in step S10, after constructing the first measured frame based on the multiple real-time ground pulses, the following steps are also included but not limited to:
[0092] S111, obtaining a sample image set, wherein the sample image set includes a plurality of sample pulse images, the sample pulse images are annotated with sample partial discharge currents, and the sample partial discharge currents are used to indicate current values when ground pulse partial discharge occurs;
[0093] S112, determining a current threshold based on a plurality of sample partial discharge currents;
[0094] S113, after determining the second target frame, determining a reference partial discharge current of the second target frame, and updating a current threshold based on the reference partial discharge current, wherein the reference partial discharge current is a current value when a ground pulse partial discharge occurs in the second target frame.
[0095] It should be noted that the sample image set includes a plurality of pre-labeled sample pulse images, each of which is labeled with a sample partial discharge current when a ground pulse partial discharge occurs, and also with the corresponding root cause of the fault, such as the insulation defect and excessive electric field mentioned above. The sample image set can provide a data basis for the YOLOv5 model to perform root cause diagnosis based on the first pulse image, and determine the root cause of the fault corresponding to the first pulse image through feature comparison, thereby achieving automatic diagnosis.
[0096] It should be noted that, according to the description of the above embodiment, there are many root causes of partial discharge, and the current thresholds corresponding to different partial discharge modes may be different. This embodiment does not need to calculate the precise value, but calculates the average value of the sample partial discharge current of different sample pulse images, so that the current threshold can represent the value with a higher probability of partial discharge, so as to improve the accuracy of subsequent predictions.
[0097] It should be noted that various components of the transformer may age and break during use, so the current threshold when it is first put into use may be different from the current threshold after a period of use. In this embodiment, during each diagnostic process, the current threshold is updated based on the reference partial discharge current of the second target frame, so that the current threshold can continuously approach the actual device state of the transformer, thereby improving the reference of the current threshold.
[0098] In addition, in one embodiment, in step S113, determining the reference partial discharge current of the second target frame specifically includes but is not limited to the following steps:
[0099] S1131, determining a real-time ground pulse having a current value greater than a current threshold as a first reference pulse;
[0100] S1132, constructing a first slope sequence based on a plurality of third slopes before the first reference pulse, wherein the third slope is a slope between two adjacent real-time ground pulses in the second target frame;
[0101] S1133, traversing the first slope sequence in reverse order, and determining the first traversed third slope that is smaller than the target slope as the reference slope;
[0102] S1134, determining the later collected pulse of the two real-time ground pulses corresponding to the reference slope as the second reference pulse, and determining the current value corresponding to the second reference pulse as the reference partial discharge current.
[0103] It should be noted that the second target frame includes multiple real-time grounding pulses. The current threshold in this embodiment is used to screen the scenarios before the occurrence of partial discharge. Therefore, the reference partial discharge current is not the first current value greater than the current threshold, but the real-time grounding pulse showing signs of partial discharge. The current value of the first pulse with partial discharge does not necessarily be greater than the current threshold, but it must be reflected in the slope. Based on this, in this embodiment, the real-time grounding pulses with current values greater than the current threshold are first determined as the first reference pulses, and then the first slope sequence is determined based on each real-time grounding pulse before the first reference pulse. For example, if the first reference pulse is the Xth real-time grounding pulse (X is a positive integer), then the first third slope is determined according to the 1st and 2nd real-time grounding pulses, the second third slope is determined according to the 2nd and 3rd real-time grounding pulses, and so on until the (X - 1)th third slope is determined according to the (X - 1)th and the first reference pulses. The third slope characterizes the numerical change amplitude between two adjacent pulses.
[0104] It should be noted that after determining the first slope sequence, the reference slope smaller than the target slope is determined by traversing in reverse order. If each third slope after the reference slope is greater than or equal to the target slope, the real-time grounding pulse corresponding to the reference slope can be determined as the starting pulse of partial discharge. Since it is smaller than the current threshold in terms of value, the one with a later acquisition time is determined as the second reference pulse, and the reference partial discharge current is determined. For example, if the reference pulse corresponds to the Nth and N + 1th real-time grounding pulses, then the (N + 1)th real-time grounding pulse is determined as the second reference pulse, where N < X and N is a positive integer.
[0105] In addition, in one embodiment, the sample pulse image includes a first sample image before the occurrence of grounding pulse partial discharge, a preset blank frame, and a second sample image after the completion of grounding pulse partial discharge. Step S60 specifically further includes but is not limited to the following steps:
[0106] S61, continue to collect multiple real-time grounding pulses. When it is detected that the current values of multiple consecutive real-time grounding pulses drop from above the current threshold to below the current threshold, the first real-time grounding pulse with a current value less than the current threshold is determined as the third reference pulse;
[0107] S62, construct a second pulse image based on multiple real-time grounding pulses after the third reference pulse, and sequentially splice the first pulse image, the preset blank frame, and the second pulse image to obtain the target pulse image;
[0108] S63, input the target pulse image and the sample image set into the YOLOv5 model for training, and obtain the target diagnosis result output by the YOLOv5 model, where the target diagnosis result is used to indicate the abnormal state of the transformer before and after the occurrence of grounding pulse partial discharge.
[0109] It should be noted that the current performance before partial discharge occurs may not be obvious, but after partial discharge occurs, related defects will continue to a certain extent in the discharge process. For example, when partial discharge is caused by insulation defects, the current value decreases slowly within a period of time after the partial discharge ends, and when partial discharge is caused by excessive electric field, the current will drop rapidly after the partial discharge ends. Therefore, in order to diagnose the root cause of partial discharge, this embodiment further introduces real-time ground pulses for a period of time after the partial discharge to construct a second pulse image, and jointly extracts and identifies features through the real-time ground pulses before and after the partial discharge, thereby improving the accuracy of diagnosis.
[0110] It should be noted that this embodiment continues to use the current threshold as the basis for judging whether the partial discharge is completed, and the continuous real-time grounding pulses drop from above the current threshold to below the current threshold. If one of the real-time grounding pulses is less than the current threshold and the next one is greater than the current threshold, it can be determined that the current fluctuation caused by the partial discharge is still continuing. Only when multiple consecutive real-time grounding pulses are less than the power threshold, the first one that is less than the power threshold is determined as the third reference pulse.
[0111] like Figure 4 As shown, after the partial discharge is completed, the current values of the first three real-time grounding pulses are greater than the current threshold T, and the current values of the fourth real-time grounding pulses are all less than the current threshold T, then the fourth real-time grounding pulse is determined as the third reference pulse; if the fifth real-time grounding pulse is greater than the threshold again, until the seventh real-time grounding pulses begin to be all less than the current threshold T, then the seventh real-time grounding pulse is determined as the third reference pulse.
[0112] It should be noted that after determining the second pulse image, the first pulse image represents the image before the partial discharge occurs, and the second pulse image represents the image after the partial discharge occurs. The partial discharge process is used to identify the partial discharge mode. The specific partial discharge mode does not affect the recognition of this embodiment. Therefore, in order to reduce the amount of calculation, this embodiment inserts a blank frame between the two to replace the partial discharge process, so that the YOLOv5 model only focuses on the first pulse image and the second pulse image, thereby improving recognition efficiency and accuracy.
[0113] In addition, in one embodiment, in step S62, a second pulse image is constructed based on a plurality of real-time ground pulses after the third reference pulse, which specifically includes but is not limited to the following steps:
[0114] S621, constructing a first pulse sequence based on a third reference pulse and a real-time ground pulse located after the third reference pulse, and determining a second slope sequence based on the first pulse sequence, wherein the second slope sequence includes a plurality of fourth slopes, and the fourth slope is a slope between two adjacent real-time ground pulses in the first pulse sequence;
[0115] S622, traversing the second slope series to determine a fifth slope, wherein the absolute value of the fifth slope is greater than the target slope;
[0116] S623, determining the front one of the two real-time ground pulses corresponding to the fifth slope as a fourth reference pulse;
[0117] S624, constructing a second pulse image based on all real-time ground pulses between the third reference pulse and the fourth reference pulse.
[0118] It should be noted that the second pulse image is obtained based on the third reference pulse, and the third reference pulse is the starting point of the second pulse image. In order to improve the accuracy of recognition, it is necessary to reduce unnecessary real-time grounding pulses. This embodiment uses the target slope as the screening basis and determines the fourth reference pulse based on the target slope. The fourth slope of the real-time grounding pulse after the fourth reference pulse is less than the target slope. Therefore, it belongs to a stable operating state and does not have the continuation characteristics of the partial discharge current phenomenon. The second pulse image can be constructed with the real-time grounding pulse between the third reference pulse and the fourth reference pulse.
[0119] It should be noted that after determining the third reference pulse, the first pulse sequence is constructed with the third reference pulse as the starting point, and the second slope sequence is constructed with reference to the above-mentioned first slope sequence. Multiple fourth slopes are recorded through the second slope sequence, and the second slope sequence is traversed. At this time, the direction of the slope may be opposite to that before the partial discharge occurs. Therefore, the absolute value is taken for numerical judgment, and the fourth slope greater than the target slope is determined as the fifth slope.
[0120] It should be noted that the fifth slope is used to characterize the state in which the transformer returns to normal operation after the partial discharge is completed. Therefore, similar to the steep rise in current before the partial discharge occurs, there will also be a steep drop at the end. In this embodiment, a real-time ground pulse at the front of the fifth slope is used as the fourth reference pulse, and a real-time ground pulse at the back is already a small current and does not need to be included in the second pulse image.
[0121] For example, Figure 5 As shown, taking the 4th real-time ground pulse as the third reference pulse as an example, when the fifth slope K5 composed of the 9th and 10th real-time ground pulses is greater than the target slope, the 9th real-time ground pulse is determined as the fourth reference pulse, and the second pulse image is constructed based on the 4th to 9th real-time ground pulses.
[0122] In addition, in one embodiment, in step S40, after continuing to acquire multiple real-time ground pulses and constructing a second measured frame, the following steps are also included but not limited to:
[0123] S41, when the second current peak value is less than the current threshold value and all the second slopes are less than the target slopes, determining the second measured frame as a new first measured frame;
[0124] S42, when the second current peak value is greater than or equal to the current threshold, marking the first measured frame as the first candidate frame, when the third current peak values of the third measured frames of the consecutive multiple frames are all greater than the current threshold, determining the second measured frame as the second target frame, and determining the first target frame based on a preset number, wherein the first target frame is located before the first measured frame, and the distance between the first target frame and the second measured frame is equal to the preset number;
[0125] S43, when the second current peak is greater than or equal to the current threshold, mark the first measured frame as the first candidate frame; when the number of third measured frames whose third current peak is less than the current threshold is greater than or equal to the preset number, determine the next frame of the second measured frame as the new first measured frame.
[0126] It should be noted that after acquiring the second measured frame, in step S41, when all the second slopes are less than the target slope, there is no sign of partial discharge precursor in the second measured frame. According to the description of the above embodiment, the technical solution of the present invention is to use the partial discharge precursor in the second measured frame to determine the first measured frame as the second target frame. Therefore, in step S41, the above condition cannot be met, and the second measured frame is still in a stable operation state. Therefore, the second measured frame is determined as the new first measured frame, and the same simulation and prediction steps are performed until a first target frame is determined. Through the technical solution of this embodiment, the first target frame can be determined in time through the iteration of the measured frame.
[0127] It should be noted that when the second current peak is greater than or equal to the current threshold, a larger current value appears in the second measured frame. At this time, partial discharge may have occurred in the second measured frame. The first measured frame is first marked as the first candidate frame, and then subsequent judgment is made based on the acquired multi-frame third measured frame.
[0128] It should be noted that the technical solution of this embodiment can determine the predicted frame through simulation and prediction, but it does not rule out the possibility of inaccurate prediction. At this time, it is very likely that the second target frame cannot be identified in the previous multiple frames. In step S42, when the third current peak value of the third measured frame of multiple consecutive frames is greater than the current threshold, it can be determined that a partial discharge has occurred in the second measured frame, and the second measured frame is actually equal to the second target frame that was missed in the above steps. The first measured frame actually belongs to the second measured frame of a certain preceding frame. In order to ensure that the samples are sufficient, this embodiment pre-sets a preset number, and determines the first target frame based on the first measured frame. For example, the first two frames of the first measured frame are used as the first target frame. After determining the first target frame, the subsequent processing flow can refer to the description of the above embodiment, and will not be repeated here.
[0129] It should be noted that in step S43, when there are multiple third current peaks that are less than or equal to the current threshold, it can be determined that the current increase in the second measured frame did not cause partial discharge, but was a temporary increase in value. At this time, the overall operating current is higher, and the next frame of the second measured frame is used as the new first measured frame, so as to perform simulation and prediction under a more accurate operating environment, thereby improving the accuracy of subsequent diagnosis.
[0130] like Figure 5 As shown, Figure 5 1 is a structural diagram of a transformer ground pulse current partial discharge diagnosis device provided by an embodiment of the present invention. The present invention also provides a transformer ground pulse current partial discharge diagnosis device, including:
[0131] The processor 501 may be implemented by a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
[0132] The memory 502 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 502 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 502, and the processor 501 calls and executes the transformer ground pulse current partial discharge diagnosis method of the embodiment of the present application;
[0133] Input / output interface 503, used to implement information input and output;
[0134] Communication interface 504, used to realize communication interaction between the device and other devices, which can be realized through wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);
[0135] A bus 505 that transmits information between various components of the device (e.g., the processor 501, the memory 502, the input / output interface 503, and the communication interface 504);
[0136] The processor 501 , the memory 502 , the input / output interface 503 and the communication interface 504 are connected to each other in communication within the device via the bus 505 .
[0137] An embodiment of the present application further provides an electronic device, comprising the above-mentioned transformer ground pulse current partial discharge diagnosis device.
[0138] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned transformer ground pulse current partial discharge diagnosis method is implemented.
[0139] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.
[0140] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically include computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0141] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions under the shared conditions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A method for diagnosing partial discharge of transformer ground pulse current, characterized in that: include: Constructing a first measured frame based on multiple real-time ground pulses, and when a first current peak value of the first measured frame is less than a current threshold, amplifying the first measured frame based on a first multiple to obtain a first simulation frame, and amplifying the first measured frame based on a second multiple to obtain a second simulation frame, wherein the current threshold is used to indicate a current value when a ground pulse current partial discharge occurs, the first multiple is less than the second multiple, and the second multiple is less than or equal to a quotient of the current threshold and the first current peak value; Using a pre-trained LSTM model, predict a first predicted frame based on the first simulated frame, and predict a second predicted frame based on the second simulated frame; determining a target slope of the reference frame based on a splicing of a first half of the first predicted frame and a second half of the second predicted frame, wherein the target slope is a first slope with a maximum value, and the first slope is a slope between two adjacent real-time ground pulses in the reference frame; Continue to acquire multiple real-time ground pulses and construct a second measured frame, and when a second current peak value of the second measured frame is less than the current threshold and at least one second slope is greater than the target slope, mark the first measured frame as a first target frame, wherein the second slope is a slope between two adjacent real-time ground pulses in the second measured frame; Continue to construct multiple third measured frames and determine corresponding third current peak values, and determine the first third measured frame in which the third current peak value is greater than the current threshold as the second target frame; A first pulse image is constructed based on all real-time ground pulses between the first target frame and the second target frame, and a target diagnosis result is determined based on the first pulse image and a pre-trained YOLOv5 model.
2. The method for diagnosing partial discharge of transformer ground pulse current according to claim 1, characterized in that: The invention is applied to an online partial discharge monitoring device, wherein the online partial discharge monitoring device includes a programmable amplifier, wherein the first measured frame is amplified based on a first multiple to obtain a first simulated frame, and the first measured frame is amplified based on a second multiple to obtain a second simulated frame, including: determining a quotient of the current threshold and the first current peak value as a reference multiple, and determining a target coefficient group based on the reference multiple and a preset mapping table, wherein the mapping table records a mapping relationship between the reference multiple and an available coefficient group, the available coefficient group including a first scaling factor and a second scaling factor, the first scaling factor being smaller than the second scaling factor; determining the first multiplier based on the reference multiplier and the first scaling factor of the target coefficient group, and determining the second multiplier based on the reference multiplier and the second scaling factor of the target coefficient group; Acquire a target analog signal, wherein the target analog signal is an input signal corresponding to the first measured frame; Obtaining the first analog frame based on the target analog signal and the program-controlled amplifier applying the first multiple; The second analog frame is obtained based on the target analog signal and the programmable amplifier applying the second multiple.
3. The method for diagnosing partial discharge of transformer ground pulse current according to claim 1, characterized in that: After constructing the first measured frame based on the multiple real-time ground pulses, the method further includes: Acquire a sample image set, wherein the sample image set includes a plurality of sample pulse images, the sample pulse images are annotated with sample partial discharge currents, and the sample partial discharge currents are used to indicate current values when ground pulse partial discharge occurs; determining the current threshold based on a plurality of the sample partial discharge currents; After determining the second target frame, a reference partial discharge current of the second target frame is determined, and the current threshold is updated based on the reference partial discharge current, wherein the reference partial discharge current is a current value when a ground pulse partial discharge occurs in the second target frame.
4. The method for diagnosing partial discharge of transformer ground pulse current according to claim 3, characterized in that: The determining of the reference partial discharge current of the second target frame includes: determining the real-time ground pulse having a current value greater than the current threshold as a first reference pulse; constructing a first slope sequence based on a plurality of third slopes before the first reference pulse, wherein the third slope is a slope between two adjacent real-time ground pulses in the second target frame; traversing the first slope sequence in reverse order, and determining the first traversed third slope that is smaller than the target slope as a reference slope; The second reference pulse is determined as the reference partial discharge current.
5. The method for diagnosing partial discharge of transformer ground pulse current according to claim 3, characterized in that: The sample pulse image includes a first sample image before the ground pulse partial discharge occurs, a preset blank frame, and a second sample image after the ground pulse partial discharge is completed. The determining of the target diagnosis result based on the first pulse image and the pre-trained YOLOv5 model includes: continuing to collect a plurality of the real-time grounding pulses, and when detecting that the current values of a plurality of consecutive real-time grounding pulses drop from above the current threshold to below the current threshold, determining the first real-time grounding pulse having a current value less than the current threshold as a third reference pulse; Constructing a second pulse image based on the multiple real-time ground pulses after the third reference pulse, and sequentially splicing the first pulse image, a preset blank frame, and the second pulse image to obtain a target pulse image; The target pulse image and the sample image set are input into the YOLOv5 model for training, and the target diagnosis result output by the YOLOv5 model is obtained, wherein the target diagnosis result is used to indicate the abnormal state of the transformer before and after the occurrence of ground pulse partial discharge.
6. The method for diagnosing partial discharge of transformer ground pulse current according to claim 5, characterized in that: The constructing a second pulse image based on the plurality of real-time ground pulses following the third reference pulse comprises: constructing a first pulse sequence based on the third reference pulse and the real-time ground pulse located after the third reference pulse, and determining a second slope sequence based on the first pulse sequence, wherein the second slope sequence includes a plurality of fourth slopes, each of which is a slope between two adjacent real-time ground pulses in the first pulse sequence; traversing the second slope series to determine a fifth slope, wherein an absolute value of the fifth slope is greater than the target slope; determining a front one of the two real-time ground pulses corresponding to the fifth slope as a fourth reference pulse; The second pulse image is constructed based on all the real-time ground pulses between the third reference pulse and the fourth reference pulse.
7. The method for diagnosing partial discharge of transformer ground pulse current according to claim 1, characterized in that: After continuing to acquire a plurality of the real-time ground pulses and constructing a second measured frame, the method further includes: When the second current peak value is less than the current threshold, and all the second slopes are less than the target slope, determining the second measured frame as a new first measured frame; Alternatively, when the second current peak value is greater than or equal to the current threshold, the first measured frame is marked as the first candidate frame; when the third current peak value of the third measured frame in a plurality of consecutive frames is greater than the current threshold, the second measured frame is determined as the second target frame; the first target frame is determined based on a preset number, wherein the first target frame is located before the first measured frame, and the distance between the first target frame and the second measured frame is equal to the preset number; Alternatively, when the second current peak is greater than or equal to the current threshold, the first measured frame is marked as the first candidate frame; when the number of the third measured frames in which the third current peak is less than the current threshold is greater than or equal to the preset number, the next frame of the second measured frame is determined as the new first measured frame.
8. A diagnostic device for transformer ground pulse current partial discharge, characterized in that: The invention comprises at least one control processor and a memory for communicating with the at least one control processor; the memory stores instructions that can be executed by the at least one control processor, and the instructions are executed by the at least one control processor to enable the at least one control processor to perform the transformer ground pulse current partial discharge diagnosis method according to any one of claims 1 to 7.
9. An electronic device, characterized in that: A diagnostic device for transformer ground pulse current partial discharge comprising the device described in claim 8.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the method for diagnosing partial discharge of transformer ground pulse current according to any one of claims 1 to 7.
