Current transformer error state abnormity identification method and system, medium and terminal

The multi-head feature aggregation visual self-attention model (MFA-VIT) is used to identify the abnormal state of current transformer error, which solves the problem of timely identification of current transformer measurement deviations, realizes accurate online monitoring and diagnosis of current transformers, and improves the efficiency of power grid operation. safety and maintenance efficiency.

CN118797534AInactive Publication Date: 2024-10-18STATE GRID TIANJIN ELECTRIC POWER COMPANY +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411281616.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

During the operation of the current transformer, due to the influence of the collection principle and the harsh environment, measurement deviations are prone to occur, and it is difficult to identify abnormal error conditions in a timely manner, which affects the safety and maintenance of the power grid.

Method used

Using the multi-head feature aggregation visual self-attention model (MFA-VIT), through the four-layer MFA-MSA feature extraction module and the linear mapping flattening module, a current transformer error state anomaly identification model is constructed to achieve accurate identification of the current transformer error state. Identify. This model extracts features of different scales through multi-head depth separable convolution and adaptively aggregates them to achieve interaction of cross-channel feature information.

Benefits of technology

It achieves accurate identification of abnormal error status of current transformers, supports real-time online monitoring and diagnosis, and improves the operation reliability and maintenance efficiency of current transformers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797534A_ABST
    Figure CN118797534A_ABST
Patent Text Reader

Abstract

The invention discloses a current transformer error state abnormity identification method and system, a medium and a terminal. The method comprises the following steps: acquiring a historical current time domain signal of a current transformer to obtain a two-dimensional image; constructing a current transformer error state abnormity identification model; training the current transformer error state abnormity identification model by using a two-dimensional image; acquiring a current time domain signal of the current transformer to be detected in real time to obtain one-dimensional time sequence data, and converting the one-dimensional time sequence data into a two-dimensional image; and inputting the two-dimensional image into the trained current transformer error state abnormity identification model to obtain an error state abnormity identification result of the current transformer. According to the model, feature information extraction of different scales is carried out through multi-head depth separable convolution, then features of all the scales are adaptively aggregated, effective interaction of cross-channel feature information is achieved, the error abnormal state of the current transformer can be accurately identified, and therefore real-time online monitoring and diagnosis are carried out on the current transformer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of online monitoring of electric power metering, and in particular relates to a method, system, medium and terminal for identifying abnormal error state of a current transformer. Background Art

[0002] Current transformer (CT) is an instrument that converts large primary current into small secondary current based on the principle of electromagnetic induction. It consists of a closed iron core and windings. As an important component of electric energy metering devices, the accuracy and reliability of current transformer measurement performance is directly related to the fairness and justice of electric energy trade settlement.

[0003] In the actual operation of the current transformer, the current transformer error is affected by the acquisition principle and the harsh environment, and the measurement deviation will exceed the limit during its working life. Therefore, it is necessary not only to be able to accurately and quickly diagnose when the measurement error exceeds the tolerance, but also to make timely judgments on the abnormal trend of the current transformer measurement error so that the relevant operation and maintenance personnel can arrange the inspection and maintenance work. If the transformer state degradation cannot be discovered in time, it will affect the operation of the power grid. Summary of the invention

[0004] In order to accurately identify the abnormal error state of a current transformer, the present application provides a method, system, medium, and terminal for identifying the abnormal error state of a current transformer.

[0005] To achieve the purpose of the present invention, the technical solution provided by the present invention is specifically as follows: First aspect The present application provides a method for identifying abnormal error state of a current transformer, comprising the following steps: Step S1: Collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , The one-dimensional time series data X 0 Convert to 2D image F 0 ; Step S2: constructing a current transformer error state abnormality recognition model, wherein the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, wherein the MFA-VIT includes four layers of MFA-MSA feature extraction modules arranged in sequence and a corresponding linear mapping flattening module and a fully connected layer, wherein each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; Step S3: Using the two-dimensional image F 0Training the current transformer error state abnormality identification model to obtain a trained current transformer error state abnormality identification model; Step S4: Real-time acquisition of the current time domain signal of the current transformer to be tested to obtain one-dimensional time series data X 1 , The one-dimensional time series data X 1 Convert to 2D image F 1 ; Step S5: Transform the two-dimensional image F 1 The trained current transformer error state abnormality recognition model obtained in step S3 is input to obtain a current transformer error state abnormality recognition result.

[0006] Second aspect Corresponding to the above method, the present application also provides a current transformer error state abnormality identification system, including a historical data acquisition unit, a current transformer error state abnormality identification model construction unit, a model training unit, a test data acquisition unit, and an abnormality identification unit; The historical data acquisition unit is used to collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , The one-dimensional time series data X 0 Convert to 2D image F 0 ; The current transformer error state abnormality recognition model construction unit is used to construct a current transformer error state abnormality recognition model, the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, the MFA-VIT includes four layers of MFA-MSA feature extraction modules and corresponding linear mapping flattening modules and fully connected layers arranged in sequence, and each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; The model training unit is used to use the two-dimensional image F 0 Training the current transformer error state abnormality identification model to obtain a trained current transformer error state abnormality identification model; The test data acquisition unit is used to collect the current time domain signal of the current transformer to be tested in real time to obtain one-dimensional time series data X 1 , The one-dimensional time series dataX 1 Convert to 2D image F 1 ; The abnormality recognition unit is used to convert the two-dimensional image F 1 The trained current transformer error state abnormality recognition model is input to obtain the current transformer error state abnormality recognition result.

[0007] The third aspect The present application also provides a storage medium, in which at least one instruction, at least one program, code set or instruction set is stored. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by a processor to implement the current transformer error state abnormality identification method.

[0008] The fourth aspect The present application also provides an electronic terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the current transformer error state abnormality identification method.

[0009] Compared with the prior art, the beneficial effects of the present invention are as follows: the present application provides a new current transformer error state abnormality recognition model, which is a multi-head feature aggregation visual self-attention model MFA-VIT, and the MFA-VIT includes four layers of MFA-MSA feature extraction modules and corresponding linear mapping flattening modules and fully connected layers arranged in sequence, and each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; the model extracts feature information of different scales through multi-head deep separable convolution, and then adaptively aggregates features of each scale to achieve effective interaction of cross-channel feature information, and can accurately identify the abnormal state of current transformer errors, thereby performing real-time online monitoring and diagnosis of current transformers. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 A schematic diagram of a method flow chart provided in an embodiment of the present application; Figure 2 A schematic diagram of the structure of the MFA provided in an embodiment of the present application. DETAILED DESCRIPTION

[0011] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0012] like Figure 1 As shown, the present application provides a method for identifying abnormal error state of a current transformer, comprising: Here are the steps: Step S1: Collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , The one-dimensional time series data X 0 Convert to 2D image F 0 ; Specifically, by collecting the current time domain signal of the current transformer, a time series can be obtained. , for n The time corresponds to the sequence value. Then, the one-dimensional time series data is processed using RPM and converted into two-dimensional image data. The process can be expressed as: ; in, F 0 for X 0 The 2D image after RPM conversion. RPM(·) represents the relative position matrix operation.

[0013] Step S2: constructing a current transformer error state abnormality recognition model, wherein the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, wherein the MFA-VIT includes four layers of MFA-MSA feature extraction modules arranged in sequence and a corresponding linear mapping flattening module and a fully connected layer, wherein each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; Step S3: Using the two-dimensional image F 0 Training the current transformer error state abnormality identification model to obtain a trained current transformer error state abnormality identification model; Step S4: Real-time acquisition of the current time domain signal of the current transformer to be tested to obtain one-dimensional time series data X 1 , The one-dimensional time series data X 1 Convert to 2D image F 1; It should be noted that the specific implementation steps of step S4 refer to the implementation plan of step S1.

[0014] Step S5: Transform the two-dimensional image F 1 The trained current transformer error state abnormality recognition model obtained in step S3 is input to obtain a current transformer error state abnormality recognition result.

[0015] The step S5 comprises the following steps: Step S5.1: Convert the two-dimensional image F 1 Input the trained current transformer error state abnormality recognition model; Step S5.2: F 1 After linear mapping by the linear mapping flattening module of the first layer, it is converted into a training image matrix and input into the MFA-MSA feature extraction module of the first layer for downsampling feature extraction to obtain the first-level feature map M1; Step S5.3: After the primary feature map M1 is linearly mapped by the linear mapping flattening module of the second layer, it is input into the MFA-MSA feature extraction module of the second layer for downsampling feature extraction to obtain the secondary feature map M2; Step S5.4: After the secondary feature map M2 is linearly mapped by the linear mapping flattening module of the third layer, it is input into the MFA-MSA feature extraction module of the third layer for downsampling feature extraction to obtain the tertiary feature map M3; Step S5.5: After the three-level feature map M3 is linearly mapped by the linear mapping flattening module of the fourth layer, it is input into the MFA-MSA feature extraction module of the fourth layer for downsampling feature extraction to obtain a four-level feature map M4; Step S5.5: Input the four-level feature map M4 into the fully connected layer, perform feature integration and output the corresponding error state abnormality recognition result of the current transformer, normal or abnormal.

[0016] It should be noted that in step S5, the linear mapping flattening module of the first layer performs linear mapping as follows: F 1 First, block processing is performed to divide the image into blocks at a certain area size, and then the divided image blocks are combined into a sequence to complete the two-dimensional image data. F 1 The linear mapping of .

[0017] The formula can be expressed as follows:

[0018] In the formula, F 1 The input two-dimensional image data, Z is F 1 The feature result after linear mapping. Linear(·) represents the linear mapping operation.

[0019] Among them, in step S5, the MFA-MSA feature extraction module of the first layer performs downsampling feature extraction, and the process of obtaining the first-level feature map M1 specifically includes the following: Step S5.2.1: Convert the two-dimensional image data F 1 The linear mapping result is layer normalized to obtain the normalized features A ; Step S5.2.2: Set the features A The input MFA is divided into multiple heads by channel, and the image features of multiple scales are extracted using depthwise separable convolution with different kernel sizes for learning. Multi-scale feature aggregation with adaptive weights is performed, and the multi-head aggregated feature map is output. L ; Step S5.2.3: Aggregate the multi-head feature map L Input MSA, obtain the dependency between aggregated features, and output feature graph Y ; The MSA multi-head self-attention mechanism is used to capture the dependencies between cross-channel aggregated feature information and more effectively utilize feature information at different levels.

[0020] Step S5.2.4: Input 2D image data through residual connection F 1 The linear mapping result and the feature map Y , and obtain the first-level feature map M1 output after feature extraction by the MFA-MSA feature extraction module of the first layer.

[0021] The specific implementation process is as follows: like Figure 2 As shown, the layer-normalized feature A is divided into multiple combinations by channel, which can be expressed as . is the total number of heads divided, For the segmentation The characteristic information value corresponding to each head.

[0022] Then, depthwise separable convolution is used to extract feature information of different scales from each head. Different heads are assigned different convolution kernel sizes. The initial convolution kernel size is 3×3. For each subsequent head, the convolution kernel size is increased by 2, such as 5×5, 7×7, etc. After extracting feature information from all heads, multiple effective features of different scales can be obtained, which are represented as This process can be expressed as: ; ; in stands for depthwise separable convolution, Representative The size of the convolution kernel in each head is s h . Indicates h The effective features extracted from the head. Represents the set of extracted valid features.

[0023] Subsequently, the effective feature maps of different scales are taken as the benchmark based on their respective scales, and other feature maps are transformed to the same scale and aggregated.

[0024] Here Take the polymerization process as an example.

[0025] Representing the effective feature maps of other scales When aggregated, it transforms into In this process, the large-scale feature map is adjusted to the small-scale feature map by convolution downsampling, and the small-scale feature layer is adjusted to the large-scale feature layer by bilinear interpolation upsampling. During the feature adjustment process, the network will adaptively learn the importance of the spatial dimensions of different feature maps at each level. The corresponding weight matrix is , indicating that from The feature layer is adjusted to The spatial importance of the feature layer is then adaptively aggregated for the rescaled feature layer, that is, each feature layer is The distribution of adaptive weights is summed to obtain the aggregated feature layer The specific process can be expressed by the following formula: ; ; ... ; Finally, The scale is adjusted to the same The same size, then splice and use The convolution is used to adjust the channel and output the multi-head aggregation feature map , which can be expressed as: ; in, Represents feature layer concatenation; After the feature aggregation processing of the MFA module, the feature information contained in different heads is effectively interacted, making the content of the extracted effective features richer. In order to more effectively utilize the multi-scale information carried by the aggregated features.

[0026] Then use MSA to obtain the dependencies between the aggregated feature information. The main structure of MSA is as follows: The multi-head self-attention mechanism plays a key role in capturing the dependencies between multi-scale information. Enter the MSA, enter First, the query vector is obtained through different linear transformations. , key vector Sum value vector , and then combined with the query vector , key vector Sum value vector Perform multi-head self-attention calculations to output feature maps The process can be expressed by the following formula:

[0027]

[0028]

[0029]

[0030] in , , is a trainable linear transformation matrix, acting on L Generate the corresponding query vector , the key vector Sum value vector , Indicates multi-head attention calculation.

[0031] Afterwards, Y Perform residual connection with the initial input feature Z to obtain the output first-level feature map M after feature extraction of the first-layer MFA-MSA module 1 . It can be expressed as:

[0032] Where M 1 It is the output feature map after feature extraction of the first layer MFA-MSA module. Indicates the addition of corresponding elements.

[0033] Then M 1 Then the MFA-MSA module is sent to the second layer and the above calculation is repeated to obtain M 2 . M 2 Then the MFA-MSA module is sent to the third layer and the above calculation is repeated to obtain M 3 . M 3 The MFA-MSA module is sent to the fourth layer, and the above calculation is repeated to obtain M 4 .

[0034] The final feature result after sampling by multiple MFA-MSA modules is the four-level feature map M 4 The data is sent to the fully connected layer for feature integration calculation, and the error state recognition result of the current transformer is output, which is normal or abnormal.

[0035] In addition, the present application also provides a current transformer error state abnormality identification system, including a historical data acquisition unit, a current transformer error state abnormality identification model construction unit, a model training unit, a test data acquisition unit, and an abnormality identification unit; The historical data acquisition unit is used to collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , The one-dimensional time series data X 0 Convert to 2D image F 0 ; The current transformer error state abnormality recognition model construction unit is used to construct a current transformer error state abnormality recognition model, the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, the MFA-VIT includes four layers of MFA-MSA feature extraction modules and corresponding linear mapping flattening modules and fully connected layers arranged in sequence, and each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; The model training unit is used to use the two-dimensional image F 0 Training the current transformer error state abnormality identification model to obtain a trained current transformer error state abnormality identification model; The test data acquisition unit is used to collect the current time domain signal of the current transformer to be tested in real time to obtain one-dimensional time series data X 1 , The one-dimensional time series data X 1 Convert to 2D image F1 ; The abnormality recognition unit is used to convert the two-dimensional image F 1 The trained current transformer error state abnormality recognition model is input to obtain the current transformer error state abnormality recognition result.

[0036] The abnormality identification unit is specifically used to perform the following steps: Step S5.1: Convert the two-dimensional image F 1 Input the trained current transformer error state abnormality recognition model; Step S5.2: F 1 After linear mapping by the linear mapping flattening module of the first layer, the first layer is input into the MFA-MSA feature extraction module for downsampling feature extraction to obtain the first-level feature map M1; Step S5.3: After the primary feature map M1 is linearly mapped by the linear mapping flattening module of the second layer, it is input into the MFA-MSA feature extraction module of the second layer for downsampling feature extraction to obtain the secondary feature map M2; Step S5.4: After the secondary feature map M2 is linearly mapped by the linear mapping flattening module of the third layer, it is input into the MFA-MSA feature extraction module of the third layer for downsampling feature extraction to obtain the tertiary feature map M3; Step S5.5: After the three-level feature map M3 is linearly mapped by the linear mapping flattening module of the fourth layer, it is input into the MFA-MSA feature extraction module of the fourth layer for downsampling feature extraction to obtain a four-level feature map M4; Step 5.5: Input the four-level feature map M4 into the fully connected layer, perform feature integration and output the corresponding error state abnormality recognition result of the current transformer.

[0037] The linear mapping flattening module of the first layer performs linear mapping as follows: F 1 First, block processing is performed to divide the image into blocks at a certain area size, and then the divided image blocks are combined into a sequence to complete the two-dimensional image data. F 1 The linear mapping of .

[0038] The process of performing downsampling feature extraction by the MFA-MSA feature extraction module of the first layer to obtain the first-level feature map M1 specifically includes the following steps: Step S5.2.1: Convert the two-dimensional image data F 1The linear mapping result is layer normalized to obtain the normalized features A ; Step S5.2.2: Set the features A The input MFA is divided into multiple heads by channel, and the image features of multiple scales are extracted using depthwise separable convolution with different kernel sizes for learning. Multi-scale feature aggregation with adaptive weights is performed, and the multi-head aggregated feature map is output. L ; Step S5.2.3: Aggregate the multi-head feature map L Input MSA, obtain the dependency between aggregated features, and output feature graph Y ; Step S5.2.4: Input 2D image data through residual connection F 1 The linear mapping result and the feature map Y , and obtain the first-level feature map M1 output after feature extraction by the MFA-MSA feature extraction module of the first layer.

[0039] In addition, the present application also provides a storage medium, which stores at least one instruction, at least one program, a code set or an instruction set. The at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by a processor to implement the current transformer error state abnormality identification method.

[0040] In addition, the present application also provides an electronic terminal, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the current transformer error state abnormality identification method.

[0041] The optional implementation modes of the embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the embodiments of the present invention are not limited to the specific details in the above implementation modes. Within the technical concept of the embodiments of the present invention, various simple modifications can be made to the technical scheme of the embodiments of the present invention, and these simple modifications all belong to the protection scope of the embodiments of the present invention.

Claims

1. A method for identifying abnormal error state of a current transformer, characterized in that: The steps include: Step S1: Collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , The one-dimensional time series data X 0 Convert to 2D image F 0 ; Step S2: constructing a current transformer error state abnormality recognition model, wherein the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, wherein the MFA-VIT includes four layers of MFA-MSA feature extraction modules arranged in sequence and a corresponding linear mapping flattening module and a fully connected layer, wherein each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; Step S3: Using the two-dimensional image F 0 Training the current transformer error state abnormality recognition model to obtain a trained current transformer error state abnormality recognition model; Step S4: Real-time acquisition of the current time domain signal of the current transformer to be tested to obtain one-dimensional time series data X 1 , The one-dimensional time series data X 1 Convert to 2D image F 1 ; Step S5: Transform the two-dimensional image F 1 The trained current transformer error state abnormality recognition model obtained in step S3 is input to obtain a current transformer error state abnormality recognition result.

2. A method for identifying abnormal error state of a current transformer according to claim 1, characterized in that: The step S5 comprises the following steps: Step S5.1: Convert the two-dimensional image F 1 Input the trained current transformer error state abnormality recognition model; Step S5.2: F 1 After linear mapping by the linear mapping flattening module of the first layer, the first layer is input into the MFA-MSA feature extraction module for downsampling feature extraction to obtain the first-level feature map M1; Step S5.3: After the primary feature map M1 is linearly mapped by the linear mapping flattening module of the second layer, it is input into the MFA-MSA feature extraction module of the second layer for downsampling feature extraction to obtain the secondary feature map M2; Step S5.4: After the secondary feature map M2 is linearly mapped by the linear mapping flattening module of the third layer, it is input into the MFA-MSA feature extraction module of the third layer for downsampling feature extraction to obtain the tertiary feature map M3; Step S5.5: After the three-level feature map M3 is linearly mapped by the linear mapping flattening module of the fourth layer, it is input into the MFA-MSA feature extraction module of the fourth layer for downsampling feature extraction to obtain a four-level feature map M4; Step S5.5: Input the four-level feature map M4 into the fully connected layer, perform feature integration and output the corresponding error state abnormality recognition result of the current transformer.

3. A method for identifying abnormal error state of a current transformer according to claim 2, characterized in that: In step S5, the linear mapping flattening module of the first layer performs linear mapping as follows: F 1 First, block processing is performed to divide the image into blocks at a certain area size, and then the divided image blocks are combined into a sequence to complete the two-dimensional image data. F 1 The linear mapping of .

4. A method for identifying abnormal error state of a current transformer according to claim 3, characterized in that: In step S5, the MFA-MSA feature extraction module of the first layer performs downsampling feature extraction to obtain the first-level feature map M1, and the specific process includes the following: Step S5.2.1: Convert the two-dimensional image data F 1 The linear mapping result is layer normalized to obtain the normalized features A ; Step S5.2.2: Set the features A The input MFA is divided into multiple heads by channel, and the image features of multiple scales are extracted using depthwise separable convolution with different kernel sizes for learning. Multi-scale feature aggregation with adaptive weights is performed, and the multi-head aggregated feature map is output. L ; Step S5.2.3: Aggregate the multi-head feature map L Input MSA, obtain the dependency between aggregated features, and output feature graph Y ; Step S5.2.4: Input 2D image data through residual connection F 1 The linear mapping result and the feature map Y , and obtain the first-level feature map M1 output after feature extraction by the MFA-MSA feature extraction module of the first layer.

5. A current transformer error state abnormality identification system, characterized in that: It includes a historical data acquisition unit, a current transformer error state abnormality recognition model construction unit, a model training unit, a test data acquisition unit, and an abnormality recognition unit; The historical data acquisition unit is used to collect the historical current time domain signal of the current transformer to obtain one-dimensional time series data X 0 , the one-dimensional time series data X 0 Convert to 2D image F 0 ; The current transformer error state abnormality recognition model construction unit is used to construct a current transformer error state abnormality recognition model, the current transformer error state abnormality recognition model is a multi-head feature aggregation visual self-attention model MFA-VIT, the MFA-VIT includes four layers of MFA-MSA feature extraction modules and corresponding linear mapping flattening modules and fully connected layers arranged in sequence, and each layer of the MFA-MSA feature extraction module includes a layer normalization unit, a multi-head aggregation unit MFA, and a multi-head self-attention mechanism unit MSA arranged in sequence; The model training unit is used to use the two-dimensional image F 0 Training the current transformer error state abnormality recognition model to obtain a trained current transformer error state abnormality recognition model; The test data acquisition unit is used to collect the current time domain signal of the current transformer to be tested in real time to obtain one-dimensional time series data X 1 , The one-dimensional time series data X 1 Convert to 2D image F 1 ; The abnormality recognition unit is used to convert the two-dimensional image F 1 The trained current transformer error state abnormality recognition model is input to obtain the current transformer error state abnormality recognition result.

6. A current transformer error state abnormality identification system according to claim 5, characterized in that: The abnormality identification unit is specifically used to perform the following steps: Step S5.1: Convert the two-dimensional image F 1 Input the trained current transformer error state abnormality recognition model; Step S5.2: F 1 After linear mapping by the linear mapping flattening module of the first layer, the first layer is input into the MFA-MSA feature extraction module for downsampling feature extraction to obtain the first-level feature map M1; Step S5.3: After the primary feature map M1 is linearly mapped by the linear mapping flattening module of the second layer, it is input into the MFA-MSA feature extraction module of the second layer for downsampling feature extraction to obtain the secondary feature map M2; Step S5.4: After the secondary feature map M2 is linearly mapped by the linear mapping flattening module of the third layer, it is input into the MFA-MSA feature extraction module of the third layer for downsampling feature extraction to obtain the tertiary feature map M3; Step S5.5: After the three-level feature map M3 is linearly mapped by the linear mapping flattening module of the fourth layer, it is input into the MFA-MSA feature extraction module of the fourth layer for downsampling feature extraction to obtain a four-level feature map M4; Step 5.5: Input the four-level feature map M4 into the fully connected layer, perform feature integration and output the corresponding error state abnormality recognition result of the current transformer.

7. A current transformer error state abnormality identification system according to claim 6, characterized in that: The linear mapping flattening module of the first layer performs linear mapping as follows: F 1 First, block processing is performed to divide the image into blocks at a certain area size, and then the divided image blocks are combined into a sequence to complete the two-dimensional image data. F 1 The linear mapping of .

8. A current transformer error state abnormality identification system according to claim 7, characterized in that: The MFA-MSA feature extraction module of the first layer performs downsampling feature extraction to obtain the first-level feature map M1, which specifically includes the following steps: Step S5.2.1: Convert the two-dimensional image data F 1 The linear mapping result is layer normalized to obtain the normalized features A ; Step S5.2.2: Set the features A The input MFA is divided into multiple heads by channel, and the image features of multiple scales are extracted using depthwise separable convolution with different kernel sizes for learning. Multi-scale feature aggregation with adaptive weights is performed, and the multi-head aggregated feature map is output. L ; Step S5.2.3: Aggregate the multi-head feature map L Input MSA, obtain the dependency between aggregated features, and output feature graph Y ; Step S5.2.4: Input 2D image data through residual connection F 1 The linear mapping result and the feature map Y , and obtain the first-level feature map M1 output after feature extraction by the MFA-MSA feature extraction module of the first layer.

9. A storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the current transformer error state abnormality identification method as described in any one of claims 1-4.

10. An electronic terminal, characterized in that: The electronic terminal includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the current transformer error state abnormality identification method as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Capacitive voltage transformer error prediction method, device, equipment and medium

    CN117475158A

  • Mental health assessment method and system based on multi-instance learning, medium and equipment

    CN118397684A