Transformer winding fault detection method and device, electronic equipment and storage medium
By extracting and fusion of the current signal at the low voltage end of the transformer and calculating the characteristic difference data, the problem of difficult to determine the deformation fault of the transformer in the existing technology is solved, and accurate judgment and early maintenance of the winding fault are achieved, and the stability of the transformer operation is improved.
Patent Information
- Application Number
- CN202510637499.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2045-05-19
AI Technical Summary
The prior art is difficult to achieve early accurate judgment of transformer winding failures, affecting the stability of transformer operation.
By obtaining the current signal at the low voltage end of the target transformer under multiple loads, extracting the instantaneous parameters of the current signal, performing multi-feature extraction and feature fusion, obtaining the fusion feature map, and computing the feature difference data to determine whether the winding has a fault.
It realizes accurate judgment of early deformation and failure of transformer windings, can promptly maintain coil deformation in advance, and improves the stability of transformer operation.
Smart Images

Figure CN120180237A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of transformers, and particularly to a method, device, electronic device and storage medium for detecting transformer winding faults. Background Art
[0002] A transformer is a key device in the power system. Among them, winding faults are one of the common fault types, which directly affect the safe and stable operation of the transformer. During the operation of the transformer, a large amount of heat is generated, and the winding temperature fluctuates with the change of the load. Metal wires (such as copper or aluminum) expand at high temperatures and contract when cooled. Therefore, long-term thermal cycling will cause the expansion and contraction of the winding material, resulting in winding deformation and relaxation.
[0003] When the transformer is switched on, inrush current phenomenon will occur. At this time, the transformer core has not been magnetized, and a certain amount of time and energy are required for the magnetization process to start. Therefore, a large current will be generated instantaneously, usually 5 to 10 times the normal working current. This process will generate a strong electromagnetic force, acting on the loose winding, causing the winding to generate mechanical vibration or displacement, and even local deformation. If the local deformation is serious, it will affect the stability of the subsequent operation of the transformer, and even may cause faults or accidents.
[0004] In the prior art, for the fault detection of transformers, the feature differences between the target data points and the domain data can be analyzed to determine whether there is a fault at that moment, but the feature differences of the operation data caused by the deformation of the transformer winding are not revealed, so it is impossible to effectively promote the early maintenance of the coil deformation. In addition, the fault detection can also be performed by capturing the vibration signal caused by the winding deformation. However, for safety reasons, external devices are usually not allowed to access the inside of the transformer. Although vibration measurement can be carried out outside the transformer, its accuracy often cannot meet the expectations.
[0005] Therefore, the existing transformer fault detection technologies are difficult to judge the early transformer winding deformation faults, which greatly affects the stability of the transformer operation. Summary of the Invention
[0006] Based on this, it is necessary to propose a method, device, electronic device and storage medium for detecting transformer winding faults to solve the problem that it is difficult to accurately judge the early transformer winding deformation faults.
[0007] To achieve the above object, the first aspect of the present application provides a method for detecting transformer winding faults, the method comprising: Obtaining current signals at the low-voltage end of the target transformer under a plurality of preset loads respectively, and extracting instantaneous parameters of the current signals; Perform multi - feature extraction and feature fusion based on the current signal and the instantaneous parameters of the current signal to obtain the fused feature map of the target transformer current signal; Split the fused feature map, calculate the feature differences between the split results to obtain feature difference data; Determine whether the windings of the target transformer are faulty based on the magnitude of the feature difference data.
[0008] Further, the performing multi - feature extraction and feature fusion based on the current signal and the instantaneous parameters of the current signal to obtain the fused feature map of the target transformer current signal specifically includes: Sort the current signal and the instantaneous parameters of the current signal in the channel direction to form a first feature map, where the first feature map includes at least the instantaneous features of the instantaneous parameters of the current signal; Use a feature extraction model to perform feature extraction on the first feature map to obtain a second feature map and a third feature map. Among them, the second feature map includes instantaneous features with a change degree higher than a change threshold, and the third feature map includes instantaneous features with a change degree lower than the change threshold; Use a feature alignment model to align and splice the second feature map and the third feature map to obtain the fused feature map.
[0009] Further, the feature extraction model includes a first feature network and a second feature network. The first feature network includes a number of cascaded convolutional blocks, and the second feature network includes a number of cascaded deep learning models; Then the using a feature extraction model to perform feature extraction on the first feature map to obtain a second feature map and a third feature map specifically includes: Use the first feature network to perform feature extraction on the first feature map and output the second feature map; Use the second feature network to perform feature extraction on the first feature map and output the third feature map.
[0010] Further, the feature alignment model includes a connected multi - layer perceptron, a loss function block, and an image processing block; Then the using a feature alignment model to align and splice the second feature map and the third feature map to obtain a fused feature map includes: Use the multi - layer perceptron to perform image processing on the second feature map and the third feature map to obtain a first to - be - processed feature map and a second to - be - processed feature map with the same image size, where the image size is determined by the preset image height, image width, and number of channels of the fused feature map; Align the distributions of the first feature map to be processed and the second feature map to be processed using the loss function configured by the loss function block, to obtain a first target feature map and a second target feature map; Use the image processing block to splice the first target feature map and the second target feature map according to the number of channels, to obtain a fused feature map.
[0011] Further, the loss function is determined by the following formula:
[0012] In the formula, is the loss function, is the number of channels, is a preset temperature parameter, is the image height, is the image width, is the value of the c th feature point in the i th channel of the first feature map to be processed, is the calculated probability distribution corresponding to the value of the c th feature point in the i th channel of the first feature map to be processed, represents the value of the c th feature point in the i th channel of the second feature map to be processed, represents the calculated probability distribution corresponding to the value of the c th feature point in the i th channel of the second feature map to be processed.
[0013] Further, splitting the fused feature map, calculating the feature differences between the splitting results, to obtain feature difference data, specifically includes: Split the fused feature map into a fused feature sequence in the image width direction, and the fused feature sequence contains several sub-features; Calculate the mean square error between two adjacent sub-features in the fused feature sequence, to obtain feature difference data.
[0014] Further, extracting the instantaneous parameters of the current signal, specifically includes: Perform Hilbert transform on the current signal to obtain a target current signal; Calculate the instantaneous amplitude and instantaneous phase of the current signal according to the current signal and the target current signal; Calculate the instantaneous frequency of the current signal according to the instantaneous phase; The instantaneous parameters include the instantaneous amplitude, the instantaneous phase, and the instantaneous frequency; Among them, the instantaneous amplitude is calculated by the following formula:
[0015] In the formula, is the instantaneous amplitude, is the target current signal, is the current signal; The instantaneous phase is calculated by the following formula:
[0016] In the formula, is the instantaneous phase; The instantaneous frequency is calculated by the following formula:
[0017] Among them, is the instantaneous frequency.
[0018] To achieve the above object, a transformer winding fault detection device is provided in the second aspect of the present application. The device includes: a signal acquisition module, a feature extraction module, and an anomaly judgment module; The signal acquisition module is configured to acquire current signals at the low-voltage end of the target transformer under a plurality of preset loads respectively, and extract instantaneous parameters of the current signals; The feature extraction module is configured to perform multi-feature extraction and feature fusion according to the current signal and the instantaneous parameters of the current signal to obtain a fusion feature map of the current signal of the target transformer; The anomaly judgment module is configured to split the fusion feature map, calculate the feature differences between the split results, and obtain feature difference data; Based on the magnitude of the feature difference data, it is determined whether the winding of the target transformer has a fault.
[0019] To achieve the above object, a computer-readable storage medium is provided in the third aspect of the present application, storing a computer program, and when the computer program is executed by a processor, the processor is caused to execute the steps of the method described in the first aspect.
[0020] To achieve the above object, a computer device is provided in the fourth aspect of the present application, including a memory and a processor. The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the method described in the first aspect.
[0021] Adopting the embodiments of the present invention has the following beneficial effects: An embodiment of the present invention provides a method for detecting transformer winding faults. The method includes: obtaining current signals at the low-voltage end of a target transformer under a plurality of preset loads respectively, and extracting instantaneous parameters of the current signals; performing multi-feature extraction and feature fusion based on the current signals and the instantaneous parameters of the current signals to obtain a fused feature map of the current signals of the target transformer; splitting the fused feature map, calculating the feature differences between the splitting results to obtain feature difference data; and determining whether the windings of the target transformer are faulty based on the magnitude of the feature difference data. The present invention takes into account that the deformation of the transformer winding will have an instantaneous impact on the current signal during closing, and thus uses the feature differences of the instantaneous parameters caused by the deformation of the transformer winding for fault detection, realizes the judgment of the early deformation fault of the winding, can effectively and timely perform early maintenance on the coil deformation, and can effectively improve the stability of the transformer operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts.
[0023] Among them: Figure 1 A schematic flow chart of the method for detecting transformer winding faults according to the embodiment of the present invention; Figure 2 A schematic structural diagram of the feature extraction model and the feature alignment model in the embodiment of the present invention; Figure 3 A schematic structural diagram of the convolutional block in the embodiment of the present invention; Figure 4 A detailed structural diagram of the feature alignment model in the embodiment of the present invention; Figure 5 A structural block diagram of the transformer winding fault detection device according to the embodiment of the present invention; Figure 6 An internal structural diagram of the computer device in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0024] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.
[0025] To detect early faults in transformer windings, an embodiment of the present invention proposes a method for detecting transformer winding faults, which can be referred to Figure 1 , Figure 1 which is a schematic flowchart of the method for detecting transformer winding faults according to an embodiment of the present invention. The method includes steps 110 to 140.
[0026] Step 110: Obtain the current signals at the low-voltage end of the target transformer under a plurality of preset loads, and extract the instantaneous parameters of the current signals.
[0027] In an embodiment of the present invention, the target transformer is any one of the transformers to be detected. The target transformer is equipped with a current sensor, such as a Hall effect current sensor, a current transformer and other current sensors, and the current sensor is used to collect the magnitudes of the current signals at the low-voltage end of the target transformer under a plurality of loads.
[0028] The method for detecting transformer winding faults in this embodiment can be applied to electronic devices such as processors. Exemplarily, the processor has a plurality of current acquisition interfaces and can simultaneously collect current signals under a plurality of different loads sent by the current sensor. For example, the current acquisition interface is connected to a load with a stepped span to obtain current signals with stepped differences. The current signal can be expressed as , being the Nth current signal, and N being the total number of signal quantities of the current signals.
[0029] By collecting the current signals at the low-voltage end of the target transformer to detect whether the transformer winding is faulty, there is no need to externally connect other detection devices, which improves portability and at the same time improves the accuracy of detection.
[0030] If the target transformer winding is deformed, an inrush current phenomenon will occur when the target transformer is switched on. At this time, the characteristics of the current signal change instantaneously. Therefore, by detecting the instantaneous parameters of the current signal and analyzing the change of the instantaneous parameters, the judgment of the early deformation fault of the transformer winding can be realized.
[0031] Step 120: Perform multi-feature extraction and feature fusion according to the current signal and the instantaneous parameters of the current signal to obtain a fusion feature map of the current signal of the target transformer.
[0032] In the embodiment of the present invention, the current signal and the instantaneous parameters of the current signal are subjected to feature extraction to determine the instantaneous features of the current signal. The instantaneous features at least include features such as non-linear features and asymmetry features, and the obtained instantaneous features are fused to obtain a fused feature map for fault analysis based on the fused feature map. Considering that the deformation of the transformer winding will have a non-linear and asymmetric impact on the current signal during closing, the non-linear features and asymmetry features of the current signal are extracted to utilize the feature changes caused by the deformation of the transformer winding for fault detection, so as to accurately judge the early deformation fault of the winding, and effectively and timely achieve the early maintenance of the coil deformation, which can effectively improve the stability of the transformer operation.
[0033] Step 130: Split the fused feature map, calculate the feature differences between the split results, and obtain feature difference data.
[0034] In the embodiment of the present invention, the fused feature map is split to obtain multiple elements, that is, the split results. Subsequently, the feature differences between each split result are calculated to obtain the feature difference data between each element. For fault detection based on the feature differences caused by the deformation of the transformer winding, so as to accurately judge the early deformation fault of the winding.
[0035] Step 140: Determine whether the winding of the target transformer has a fault based on the magnitude of the feature difference data.
[0036] Due to the influence brought by the deformation of the transformer winding, it only appears in the closing situation in the early stage, and most of the data in other situations represent the normal operation state. Therefore, it is possible to determine whether the transformer winding has a fault by the magnitude of the difference between the features.
[0037] Specifically, the feature difference data can be compared with a preset abnormal threshold. When it is detected that any feature difference data is greater than the abnormal threshold, it is considered that the difference between the split results is relatively obvious, that is, the difference between the normal state and the abnormal state is large, that is, it is judged that the winding of the target transformer has a fault, and a winding fault result is generated accordingly to achieve a fault reminder.
[0038] The present invention considers that the deformation of the transformer winding will have a non-linear and asymmetric impact on the current signal during closing, and thus utilizes the feature differences of the instantaneous parameters caused by the deformation of the transformer winding for fault detection, so as to judge the early deformation fault of the winding, and can effectively and timely achieve the early maintenance of the coil deformation, which can effectively improve the stability of the transformer operation.
[0039] In an embodiment of the present invention, in step 110, extracting the instantaneous parameters of the current signal specifically includes: performing a Hilbert transform on the current signal to obtain a target current signal; calculating the instantaneous amplitude and instantaneous phase of the current signal based on the current signal and the target current signal; calculating the instantaneous frequency of the current signal according to the instantaneous phase; the instantaneous parameters include the instantaneous amplitude, the instantaneous phase, and the instantaneous frequency.
[0040] The Hilbert transform is a linear transform performed on a real-valued signal, which describes the complex envelope of a signal modulated by a real-valued carrier. Calculating the instantaneous amplitude, instantaneous frequency, and instantaneous phase of the current signal based on the target current signal obtained by the Hilbert transform can preserve the original characteristics of the signal, facilitate calculation, improve the efficiency of signal processing, thereby improving the efficiency of transformer fault detection, and realizing the timely detection of transformer winding faults.
[0041] Specifically, the target current signal can be calculated by the following formula:
[0042] where represents the target current signal, is the signal length of the current signal, represents the integration variable, represents the time variable, represents the current signal.
[0043] In an embodiment of the present invention, the instantaneous amplitude represents the amplitude size of the current signal at a certain moment, and the instantaneous amplitude can be obtained by calculating the modulus of the target current signal.
[0044] Optionally, the instantaneous amplitude can be calculated by the following formula:
[0045] In the formula, is the instantaneous amplitude, is the target current signal, is the current signal.
[0046] In an embodiment of the present invention, the instantaneous phase represents the phase value of the current signal at a certain moment, and the instantaneous phase can be obtained by calculating the phase of the target current signal.
[0047] Optionally, the instantaneous phase is calculated by the following formula:
[0048] In the formula, is the instantaneous phase.
[0049] In an embodiment of the present invention, the instantaneous frequency represents the frequency magnitude of a current signal at a certain moment, and the instantaneous frequency can be obtained by differentiating the instantaneous phase.
[0050] Optionally, the instantaneous frequency is calculated by the following formula:
[0051] where is the instantaneous frequency.
[0052] In an embodiment of the present invention, in step 120, multi-feature extraction and feature fusion are performed according to the current signal and the instantaneous parameters of the current signal to obtain a fused feature map of the target transformer current signal, which specifically includes: Step210: Sort the current signal and the instantaneous parameters of the current signal in the channel direction to form a first feature map, and the first feature map at least includes the instantaneous features of the instantaneous parameters of the current signal.
[0053] Specifically, the current signal, the instantaneous amplitude, the instantaneous frequency, and the instantaneous phase are sorted in the channel direction to form a first feature map, and the size of the first feature map is determined by the signal length and the total amount of the current signal. For example, the current signals and their corresponding instantaneous amplitudes, instantaneous frequencies, and instantaneous phases are arranged in the channel direction, and it is assumed that the signal length of each current signal , and the size of the first feature map formed by all current signals is where is the total amount of the current signal.
[0054] The first feature map at least includes the instantaneous features of the instantaneous parameters of the current signal, and the instantaneous features at least include non-linear features and non-symmetry features.
[0055] Step220: Use a feature extraction model to perform feature extraction on the first feature map to obtain a second feature map and a third feature map, where the second feature map includes instantaneous features with a change degree higher than a change threshold, and the third feature map includes instantaneous features with a change degree lower than the change threshold.
[0056] In an embodiment of the present invention, a feature extraction model is used to perform feature extraction on the first feature map to extract the instantaneous features of the instantaneous parameters, such as the first non-linear feature related to the instantaneous amplitude, the second non-linear feature related to the instantaneous frequency, and the asymmetry feature related to the instantaneous phase. Among them, the first non-linear feature and the second non-linear feature are used to indicate the features that make (such as the instantaneous amplitude, instantaneous frequency, and instantaneous phase) reach the preset non-linear system conditions, and the asymmetry feature is used to indicate the features that make the instantaneous phase reach the preset asymmetry conditions.
[0057] The non-linear feature may refer to the characteristics of the current signal that conform to a non-linear system, reflecting the non-linearity of the current signal. Exemplarily, the first non-linear feature of the instantaneous amplitude may be kurtosis, which reflects the steepness of the amplitude distribution. A high kurtosis value may indicate the presence of abnormal shocks caused by faults; the second non-linear feature of the instantaneous frequency may be the fluctuation of the frequency and the frequency modulation index, and the frequency modulation index reflects the degree of frequency fluctuation. For example, a winding fault may cause frequency modulation; the non-linear feature of the instantaneous phase may be phase jitter and phase synchronization index. The phase jitter represents the non-stationarity of the phase change, and the phase synchronization index may be a decrease in the phase synchronization between different sensor signals, reflecting non-linear coupling failure.
[0058] The asymmetry feature is a feature that makes the current characteristic data (such as instantaneous amplitude, instantaneous frequency, and instantaneous phase) meet the asymmetry condition, that is, the asymmetry feature may refer to the characteristics of the asymmetry of the current signal in dimensions such as time and amplitude. Exemplarily, the asymmetry feature of the instantaneous phase may represent the asymmetry during the rising and falling processes of the phase, such as the difference in the phase change rate in different directions (i.e., the skewness of the phase change rate); the asymmetry feature of the instantaneous amplitude may represent the asymmetry of the amplitude distribution (such as skewness) and the difference in the average amplitude of the positive and negative half-cycles (such as the amplitude ratio of the positive and negative half-cycles); the asymmetry feature of the instantaneous frequency may represent the asymmetry of the frequency change in different time periods.
[0059] For the instantaneous amplitude and instantaneous frequency, obvious winding deformation causes an increase in the non-linear feature. For the instantaneous phase, obvious winding deformation causes an increase in the asymmetry feature. Therefore, in the embodiments of the present invention, by extracting features from the instantaneous amplitude, instantaneous frequency, and instantaneous phase, the first non-linear feature, the second non-linear feature, and the asymmetry feature are obtained, and thus a fusion feature that can reflect the winding deformation is formed, and then a fusion feature map is generated.
[0060] After the instantaneous features are extracted, they are compared with a change threshold according to the degree of change of the instantaneous features to generate a second feature map and a third feature map. Among them, the second feature map contains the instantaneous features with a degree of change higher than the change threshold, and the third feature map contains the instantaneous features with a degree of change lower than the change threshold. That is to say, the second feature map may contain the features with significant changes (i.e., higher degree of change and change rate) in the first feature map. For example, the non-linear features and asymmetry features with a higher degree of change; the third feature map may contain the features with insignificant changes (i.e., lower degree of change and change rate) in the first feature map. For example, the non-linear features and asymmetry features with a lower degree of change.
[0061] The structure of the feature extraction model can refer to Figure 2 , Figure 2It is a schematic structural diagram of the feature extraction model and the feature alignment model in the embodiments of the present invention. In the embodiments of the present invention, the feature extraction model 21 includes a first feature network 211 and a second feature network 212. The first feature network 211 includes a plurality of cascaded convolutional blocks, and the second feature network 212 includes a plurality of cascaded deep learning models.
[0062] Then, in Step 220, use the feature extraction model to extract features from the first feature map to obtain a second feature map and a third feature map, specifically including: use the first feature network to extract features from the first feature map and output the second feature map; use the second feature network to extract features from the first feature map and output the third feature map.
[0063] In an embodiment of the present invention, the first feature network 211 includes a plurality of cascaded convolutional blocks, such as convolutional block 1, convolutional block 2, and convolutional block 3, and the second feature network 212 includes a plurality of cascaded deep learning models, such as deep learning model 1, deep learning model 2, and deep learning model 3, as Figure 2 shown in the feature extraction model, the first feature network is provided with 3 convolutional blocks, and the second feature network is provided with 3 deep learning models.
[0064] Specifically, the structure of each convolutional block can refer to Figure 3 , Figure 3 which is a schematic structural diagram of the convolutional block in the embodiments of the present invention. The convolutional block 300 includes a first convolutional layer 301, an activation function 302, and a second convolutional layer 303 connected in sequence. Each convolutional block has two layers of convolution. Therefore, the first feature network 211 composed of convolutional blocks belongs to a shallow convolutional network, which is responsible for extracting significantly changing non-linear features and asymmetric features to form the second feature map. For features with insignificant changes, the convolutional neural network will regard them as noise, resulting in losses. Therefore, in this embodiment, the second feature network 212 composed of multiple deep learning models is used to extract non-obvious features to form the third feature map. Optionally, the deep learning model can be a transformer block with a self-attention mechanism.
[0065] Therefore, in the embodiments of the present invention, by configuring the first feature network 211 composed of multiple convolutional blocks to extract significantly changing non-linear features and asymmetric features, and by configuring the second feature network 212 composed of multiple deep learning models to extract insignificantly changing non-linear features and asymmetric features, the second feature map and the third feature map are obtained, so as to perform feature fusion based on the second feature map and the third feature map. Considering the correlation between features, it can comprehensively capture the features in the instantaneous parameters and improve the accuracy of fault detection.
[0066] Step 230. Align and splice the second feature map and the third feature map using the feature alignment model to obtain a fused feature map.
[0067] In the embodiment of the present invention, the second feature map and the third feature map are input into the feature alignment model, and after feature alignment and splicing, a fused feature map is obtained. At this time, the fused feature map includes the first non-linear feature, the second non-linear feature, and the asymmetric feature, and the fused feature is composed of the first non-linear feature, the second non-linear feature, and the asymmetric feature.
[0068] The structure of the feature alignment model can refer to Figure 4 , Figure 4 which is the detailed structure diagram of the feature alignment model in the embodiment of the present invention. The feature alignment model 22 includes a multi-layer perceptron 221, a loss function block 222, and an image processing block 223 that are connected.
[0069] Then, Step 230. Align and splice the second feature map and the third feature map using the feature alignment model to obtain a fused feature map, including: Step 231. Perform image processing on the second feature map and the third feature map using the multi-layer perceptron to obtain a first to-be-processed feature map and a second to-be-processed feature map with the same image size, where the image size is determined by the preset image height, image width, and number of channels of the fused feature map.
[0070] In the embodiment of the present invention, the multi-layer perceptron 221 is a feedforward neural network composed of an input layer, one or more hidden layers, and an output layer. The second feature map and the third feature map are unified in scale through the multi-layer perceptron 221 to obtain a first to-be-processed feature map and a second to-be-processed feature map with the same image size. Among them, the image size is , represents the number of channels, represents the image height of the fused feature map, represents the image width of the fused feature map.
[0071] Step 232. Use the loss function configured by the loss function block to align the distributions of the first to-be-processed feature map and the second to-be-processed feature map to obtain a first target feature map and a second target feature map.
[0072] In the embodiment of the present invention, the loss function is determined by the following formula:
[0073] In the formula, is the loss function, is the number of channels, is the preset temperature parameter, is the image height, is the image width, is the value of the c th feature point in the i th channel of the first feature map to be processed, is the calculated probability distribution corresponding to the value of the c th feature point in the i th channel of the first feature map to be processed, represents the value of the c th feature point in the i th channel of the second feature map to be processed, represents the calculated probability distribution corresponding to the value of the c th feature point in the i th channel of the second feature map to be processed.
[0074] Step233. Use the image processing block to splice the first target feature map and the second target feature map according to the number of channels to obtain a fused feature map.
[0075] Fuse the first target feature map with obvious changes and the second feature with less obvious changes to obtain a fused feature map containing rich change features of the current signal for fault analysis.
[0076] In the embodiment of the present invention, the second feature map and the third feature map are feature-aligned and then spliced through a multi-layer perceptron, a loss function block, and an image processing block to obtain a fused feature map, realizing distribution alignment, improving the accuracy of the fused feature map, and at the same time improving the subsequent calculation efficiency.
[0077] In an embodiment of the present invention, in step 130, the fused feature map is split, and the feature differences between the split results are calculated to obtain feature difference data, which specifically includes: splitting the fused feature map into a fused feature sequence in the image width direction, where the fused feature sequence contains several sub-features; calculating the mean square error between two adjacent sub-features in the fused feature sequence to obtain feature difference data.
[0078] Specifically, in the image width direction , the fused features in the fused feature map are split into a fused feature sequence , and multiple elements in the fused feature sequence are sub-features. Subsequently, the mean square error between two adjacent sub-features in the fused feature sequence is calculated, and all the mean square errors constitute the feature difference data. So as to compare each mean square error in the feature difference data with a preset anomaly threshold. If any mean square error in the detected feature difference data is greater than the anomaly threshold, the sub-feature corresponding to the mean square error greater than the anomaly threshold is used as a fault point. When there is at least one fault point, a winding fault result is generated to realize fault reminder.
[0079] In an embodiment of the present invention, considering that the deformation of the transformer winding will have a non-linear and asymmetric impact on the current signal during closing, the judgment of the early deformation fault of the winding is carried out by using the error between the instantaneous characteristics generated by the current signal, effectively and timely realizing the early maintenance of the coil deformation. At the same time, by calculating the error variance error, the detection accuracy is improved.
[0080] In an embodiment of the present invention, a transformer winding fault detection device is also proposed, which can be referred to Figure 5 , Figure 5 is the structural block diagram of the transformer winding fault detection device according to the embodiment of the present invention. The device includes: a signal acquisition module 501, a feature extraction module 502, and an anomaly judgment module 503.
[0081] The signal acquisition module 501 is used to acquire the current signals at the low-voltage end of the target transformer under a plurality of preset loads respectively, and extract the instantaneous parameters of the current signals.
[0082] The feature extraction module 502 is used to perform multi-feature extraction and feature fusion according to the current signal and the instantaneous parameters of the current signal to obtain a fused feature map of the current signal of the target transformer.
[0083] The anomaly judgment module 503 is used to split the fused feature map, calculate the feature differences between the split results to obtain feature difference data; and determine whether the winding of the target transformer fails based on the magnitude of the feature difference data.
[0084] The feature extraction module 502 includes: A feature sorting unit, which is used to sort the current signal and the instantaneous parameters of the current signal in the channel direction to form a first feature map, and the first feature map contains at least the instantaneous features of the instantaneous parameters of the current signal.
[0085] A feature extraction unit, which is used to extract features from the first feature map by using a feature extraction model to obtain a second feature map and a third feature map, where the second feature map contains instantaneous features with a change degree higher than a change threshold, and the third feature map contains instantaneous features with a change degree lower than the change threshold.
[0086] A feature alignment unit, which is used to align and splice the second feature map and the third feature map by using a feature alignment model to obtain a fused feature map.
[0087] The feature extraction model includes a first feature network and a second feature network. The first feature network includes a number of cascaded convolutional blocks, and the second feature network includes a number of cascaded deep learning models; the feature extraction unit is also used to extract features from the first feature map by using the first feature network and output the second feature map; and extract features from the first feature map by using the second feature network and output the third feature map.
[0088] The feature alignment model includes a connected multi-layer perceptron, a loss function block, and an image processing block; the feature alignment unit is further configured to perform image processing on the second feature map and the third feature map by using the multi-layer perceptron to obtain a first feature map to be processed and a second feature map to be processed with the same image size, where the image size is determined by the image height, image width, and number of channels of a preset fused feature map; use the loss function configured by the loss function block to perform distribution alignment on the first feature map to be processed and the second feature map to be processed to obtain a first target feature map and a second target feature map; use the image processing block to splice the first target feature map and the second target feature map according to the number of channels to obtain a fused feature map.
[0089] Among them, the loss function is determined by the following formula:
[0090] In the formula, is the loss function, is the number of channels, is a preset temperature parameter, is the image height, is the image width, is the value of the i-th feature point in the c channel of the first feature map to be processed, is the calculated probability distribution corresponding to the value of the c channel and the i -th feature point in the first feature map to be processed, represents the value of the c channel and the i -th feature point in the second feature map to be processed, represents the calculated probability distribution corresponding to the value of the c channel and the i -th feature point in the second feature map to be processed.
[0091] The transformer winding fault detection device proposed in the embodiment of the present invention takes into account that the deformation of the transformer winding will have a non-linear and asymmetric impact on the current signal during closing, and thus uses the characteristic differences of the instantaneous parameters caused by the deformation of the transformer winding for fault detection, realizes the judgment of the early deformation fault of the winding, and can effectively and timely achieve the early maintenance of the coil deformation, thereby effectively improving the stability of the transformer operation.
[0092] The abnormality judgment module 503 is further configured to split the fused feature map into a fused feature sequence in the image width direction, where the fused feature sequence includes several sub-features; calculate the mean square error between two adjacent sub-features in the fused feature sequence to obtain feature difference data.
[0093] The signal acquisition module 501 is further configured to perform a Hilbert transform on the current signal to obtain a target current signal; Calculate the instantaneous amplitude and instantaneous phase of the current signal based on the current signal and the target current signal; Calculate the instantaneous frequency of the current signal based on the instantaneous phase; The instantaneous parameters include instantaneous amplitude, instantaneous phase, and instantaneous frequency; Among them, the instantaneous amplitude is calculated by the following formula:
[0094] In the formula, is the instantaneous amplitude, is the target current signal, is the current signal; The instantaneous phase is calculated by the following formula:
[0095] In the formula, is the instantaneous phase; The instantaneous frequency is calculated by the following formula:
[0096] Among them, is the instantaneous frequency.
[0097] Figure 6 FIG. shows the internal structure diagram of a computer device in an embodiment of the present invention. The computer device may specifically be a terminal or a system. As Figure 6 shown, the computer device includes a processor, a memory, and a network interface connected through a system bus. Among them, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program. When the computer program is executed by the processor, the processor can implement each step in the above method embodiment. The internal memory may also store a computer program. When the computer program is executed by the processor, the processor can execute each step in the above method embodiment. Those skilled in the art can understand that Figure 6 the structure shown in
[0098] is only a block diagram of some structures related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0099] In one embodiment, a computer-readable storage medium is provided, storing a computer program, which, when executed by a processor, causes the processor to execute each step in the above method embodiments.
[0100] Those of ordinary skill in the art can understand that all or part of the processes in the above method embodiments can be completed by instructing relevant hardware through a computer program. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the above method embodiments. Among them, any reference to a memory, storage, database, or other medium used in the embodiments provided in the present application can include non-volatile and / or volatile memories. Non-volatile memories can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memories can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and Rambus dynamic RAM (RDRAM), etc.
[0101] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification.
[0102] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application should be subject to the appended claims.
Claims
1. A transformer winding fault detection method, characterized in that: The method comprises: Obtaining current signals of the low-voltage end of the target transformer under a plurality of preset loads respectively, and extracting instantaneous parameters of the current signals; Performing multi-feature extraction and feature fusion according to the current signal and the instantaneous parameters of the current signal to obtain a fusion feature map of the target transformer current signal; Splitting the fused feature map, calculating feature differences between split results, and obtaining feature difference data; It is determined whether a winding of the target transformer fails based on the size of the characteristic difference data.
2. The method according to claim 1, characterized in that The step of performing multi-feature extraction and feature fusion according to the current signal and the instantaneous parameter of the current signal to obtain a fusion feature map of the target transformer current signal specifically includes: Sorting the current signal and the instantaneous parameter of the current signal according to the channel direction to form a first feature map, wherein the first feature map at least includes the instantaneous feature of the instantaneous parameter of the current signal; Performing feature extraction on the first feature map using a feature extraction model to obtain a second feature map and a third feature map, wherein the second feature map includes instantaneous features with a change degree higher than a change threshold, and the third feature map includes instantaneous features with a change degree lower than the change threshold; The second feature map and the third feature map are aligned and spliced using a feature alignment model to obtain the fused feature map.
3. The method according to claim 2, characterized in that The feature extraction model includes a first feature network and a second feature network, the first feature network includes a plurality of convolution blocks in cascade order, and the second feature network includes a plurality of deep learning models in cascade order; Then, the step of extracting features from the first feature map using the feature extraction model to obtain a second feature map and a third feature map specifically includes: Using the first feature network to extract features from the first feature map, and output a second feature map; The second feature network is used to perform feature extraction on the first feature map, and a third feature map is output.
4. The method according to claim 2, characterized in that The feature alignment model includes a connected multi-layer perceptron, a loss function block and an image processing block; Then, using the feature alignment model to align and splice the second feature map and the third feature map to obtain a fused feature map includes: Performing image processing on the second feature map and the third feature map by using the multilayer perceptron to obtain a first feature map to be processed and a second feature map to be processed having the same image size, wherein the image size is determined by an image height, an image width, and a number of channels of the preset fusion feature map; Using the loss function configured by the loss function block, the first feature map to be processed and the second feature map to be processed are distributedly aligned to obtain a first target feature map and a second target feature map; The image processing block is used to concatenate the first target feature map and the second target feature map according to the number of channels to obtain a fused feature map.
5. The method according to claim 4, characterized in that The loss function is determined by the following formula: In the formula, is the loss function, is the number of channels, is the preset temperature parameter, is the image height, is the image width, is the first feature map to be processed c The value of the i-th feature point under the channel, is the first feature map to be processed c Channel down i The calculated probability distribution corresponding to the value of the feature point is Indicates the first c Channel down i The value of the feature point, Represents the first c Channel down i The calculated probability distribution corresponding to the value of the feature point.
6. The method according to claim 4, characterized in that The step of splitting the fused feature map and calculating the feature difference between the split results to obtain feature difference data specifically includes: Splitting the fused feature map into a fused feature sequence according to the image width direction, wherein the fused feature sequence includes a plurality of sub-features; The mean square error between two adjacent sub-features in the fused feature sequence is calculated to obtain feature difference data.
7. The method according to claim 1, characterized in that The extracting the instantaneous parameter of the current signal specifically includes: Performing Hilbert transform on the current signal to obtain a target current signal; Calculating the instantaneous amplitude and instantaneous phase of the current signal according to the current signal and the target current signal; Calculating the instantaneous frequency of the current signal according to the instantaneous phase; The instantaneous parameters include the instantaneous amplitude, the instantaneous phase and the instantaneous frequency; The instantaneous amplitude is calculated by the following formula: In the formula, is the instantaneous amplitude, is the target current signal, is the current signal; The instantaneous phase is calculated by the following formula: In the formula, is the instantaneous phase; The instantaneous frequency is calculated by the following formula: in, is the instantaneous frequency.
8. A transformer winding fault detection device, characterized in that: The device comprises: a signal acquisition module, a feature extraction module and an abnormality judgment module; The signal acquisition module is used to acquire current signals of the low-voltage end of the target transformer under a plurality of preset loads, and extract instantaneous parameters of the current signals; The feature extraction module is used to perform multi-feature extraction and feature fusion according to the current signal and the instantaneous parameters of the current signal to obtain a fusion feature map of the target transformer current signal; The abnormality judgment module is used to split the fused feature map, calculate the feature difference between the split results, and obtain feature difference data; It is determined whether a winding of the target transformer fails based on the size of the characteristic difference data.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
10. A computer device comprising a memory and a processor, characterized in that: The memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Cage type asynchronous motor stator and rotor fault joint diagnosis method based on stack type self-encoding and light gradient elevator algorithm
CN112731137A
Power supply system level fault diagnosis based on dynamic fuzzy network and multi-source information fusion
CN113689308A
Face forgery attack detection method, face recognition method, device and equipment
CN117197857A
Transformer substation fault diagnosis method based on multi-source information fusion
CN117313524A
Winding change degree monitoring method and device, medium and equipment
CN118914928A