Transformer anomaly detection method and device, computer equipment, storage medium and computer program product

By combining multi-modal data (audio, infrared video and temperature data) with a pre-trained multi-modal attention anomaly detection model, the problem of low accuracy of traditional transformer detection methods is solved and more accurate and comprehensive anomaly detection is achieved.

CN118734241AActive Publication Date: 2024-10-01GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD

Patent Information

Application Number
CN202410731725.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-06
Publication Date
2024-10-01
Estimated Expiration
2044-06-06

AI Technical Summary

Technical Problem

Traditional transformer anomaly detection methods rely on a single data taken at intervals, resulting in low detection accuracy and unable to fully reflect the operating status of the transformer.

Method used

Multi-modal data (audio, infrared video and temperature data) are used for anomaly detection, feature extraction and fusion are performed through a pre-trained multi-modal attention anomaly detection model, and historical data are combined for similarity analysis to generate anomaly detection results.

Benefits of technology

It improves the accuracy of transformer anomaly detection, can reflect the operating status of the transformer more comprehensively, reduces unnecessary consumption of computing resources, and avoids misjudgment of local conditions caused by a single data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118734241A_ABST
    Figure CN118734241A_ABST
Patent Text Reader

Abstract

The invention relates to a transformer anomaly detection method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: acquiring current multi-modal data of a to-be-detected transformer; the current multi-mode data at least comprises audio data, infrared video data and temperature data; performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data; when the audio anomaly detection result is abnormal, inputting the current multi-modal data into a pre-trained multi-modal attention anomaly detection model to obtain current target fusion data corresponding to the current multi-modal data; and obtaining historical target fusion data corresponding to the historical multi-modal data of the to-be-detected transformer, and obtaining an anomaly detection result corresponding to the to-be-detected transformer according to the similarity between the current target fusion data and the historical target fusion data. By adopting the method, the anomaly detection accuracy of the transformer can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power grid technology, and in particular to a transformer abnormality detection method, device, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the field of power grids, abnormal detection of transformers is crucial to ensure the safe and stable operation of the power system.

[0003] In traditional technology, when detecting abnormalities in transformers, the transformers are generally photographed at intervals; however, the data obtained in this way is relatively simple and can only reflect the local conditions of the transformer, resulting in a low accuracy rate in detecting abnormalities in the transformer. Summary of the invention

[0004] Based on this, it is necessary to provide a transformer abnormality detection method, device, computer equipment, computer readable storage medium and computer program product that can improve the accuracy of transformer abnormality detection in response to the above technical problems.

[0005] In a first aspect, the present application provides a transformer abnormality detection method, comprising:

[0006] Acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data;

[0007] Performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data;

[0008] In the case where the audio anomaly detection result is abnormal, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data;

[0009] The historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data.

[0010] In one embodiment, the step of inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data includes:

[0011] Performing feature extraction processing on the audio data, the infrared video data, and the temperature data through the pre-trained multimodal attention anomaly detection model to obtain audio data features, infrared video data features, and temperature data features;

[0012] According to the infrared video data feature and the temperature data feature, the audio data feature is updated and processed respectively to obtain a first update feature and a second update feature; according to the audio data feature and the temperature data feature, the infrared video data feature is updated and processed respectively to obtain a third update feature and a fourth update feature; and according to the audio data feature and the infrared video data feature, the temperature data feature is updated and processed respectively to obtain a fifth update feature and a sixth update feature;

[0013] According to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature, current target fusion data corresponding to the current multimodal data is obtained.

[0014] In one embodiment, obtaining the current target fusion data corresponding to the current multimodal data according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature includes:

[0015] The first update feature and the second update feature are spliced ​​to obtain a first spliced ​​feature, the third update feature and the fourth update feature are spliced ​​to obtain a second spliced ​​feature, and the fifth update feature and the sixth update feature are spliced ​​to obtain a third spliced ​​feature;

[0016] The first splicing feature, the second splicing feature and the third splicing feature are spliced ​​again to obtain a target splicing feature as current target fusion data corresponding to the current multimodal data.

[0017] In one embodiment, performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data includes:

[0018] Extracting a target audio feature of the audio data as a current target audio feature;

[0019] An audio anomaly detection result corresponding to the audio data is determined according to the current target audio feature and the historical target audio feature; the historical target audio feature is a target audio feature of the audio data in the historical multimodal data.

[0020] In one embodiment, the pre-trained multimodal attention anomaly detection model is trained in the following manner:

[0021] Acquire sample multimodal data of a sample transformer; the sample multimodal data at least includes audio data, infrared video data and temperature data;

[0022] Inputting the sample multimodal data into a multimodal attention anomaly detection model to be trained to obtain sample target fusion data corresponding to the sample multimodal data;

[0023] According to the sample target fusion data, the multimodal attention anomaly detection model to be trained is iteratively trained to obtain the pre-trained multimodal attention anomaly detection model.

[0024] In one embodiment, after acquiring historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtaining the abnormality detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data, the method further includes:

[0025] When the abnormal detection result corresponding to the transformer to be detected is abnormal, generating early warning information for the transformer to be detected according to the current multimodal data;

[0026] The warning information is sent to a terminal associated with the transformer to be detected.

[0027] In a second aspect, the present application also provides a transformer abnormality detection device, comprising:

[0028] A data acquisition module, used to acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data;

[0029] An audio detection module is used to perform anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data;

[0030] A data fusion module, used for inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data when the audio anomaly detection result is abnormal;

[0031] The result determination module is used to obtain historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtain the abnormal detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data.

[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0033] Acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data;

[0034] Performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data;

[0035] In the case where the audio anomaly detection result is abnormal, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data;

[0036] The historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data.

[0037] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0038] Acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data;

[0039] Performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data;

[0040] In the case where the audio anomaly detection result is abnormal, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data;

[0041] The historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data.

[0042] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0043] Acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data;

[0044] Performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data;

[0045] In the case where the audio anomaly detection result is abnormal, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data;

[0046] The historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data.

[0047] The above-mentioned transformer anomaly detection method, device, computer equipment, storage medium and computer program product first obtain the audio data, infrared video data and temperature data of the transformer to be detected as the current multimodal data of the transformer to be detected, and then perform anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data. When the audio anomaly detection result is abnormal, the current multimodal data is input into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data. Finally, historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the anomaly detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data. In this way, when performing abnormality detection on the transformer, by first performing abnormality detection on the audio data in the current multimodal data, if the audio abnormality detection result is abnormal, the multimodal attention abnormality detection model is further used to perform abnormality detection on the current multimodal data, so that possible problems can be determined more accurately, which is conducive to reducing unnecessary consumption of computing resources; moreover, by comprehensively utilizing multimodal information such as audio data, infrared video data and temperature data, the operating status of the transformer can be more comprehensively reflected, avoiding the defect of low accuracy of transformer abnormality detection due to only a single data that can only reflect the local situation of the transformer, thereby improving the accuracy of transformer abnormality detection. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0049] Figure 1 A schematic diagram of a flow chart of a transformer abnormality detection method in one embodiment;

[0050] Figure 2 is a structural diagram of a multimodal attention anomaly detection model in one embodiment;

[0051] Figure 3 is a flowchart of steps for obtaining current target fusion data corresponding to current multimodal data in one embodiment;

[0052] Figure 4 This is a diagram of a cross-modal Transformer structure in one embodiment;

[0053] Figure 5 is a diagram of a cross-modal attention structure between different modal sequences in one embodiment;

[0054] Figure 6 A schematic diagram of a flow chart of a transformer abnormality detection method in another embodiment;

[0055] Figure 7 The flowchart of a transformer edge abnormality detection system based on multimodal attention in one embodiment is shown;

[0056] Figure 8 is a structural block diagram of a transformer abnormality detection device in one embodiment;

[0057] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0060] In an exemplary embodiment, Figure 1 As shown, a transformer abnormality detection method is provided. This embodiment uses the method applied to a server as an example for illustration; it can be understood that the method can also be applied to a terminal, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. Among them, the terminal can be but is not limited to various personal computers, laptops, smart phones and tablet computers; the server can be implemented with an independent server or a server cluster composed of multiple servers. In this embodiment, the method includes the following steps:

[0061] Step S101, obtaining current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data.

[0062] The transformer to be detected refers to a transformer that needs to be detected for abnormality.

[0063] The current multimodal data refers to the multimodal data corresponding to the current time of the transformer to be detected, including audio data, infrared video data, temperature data, etc.

[0064] The audio data refers to data related to the audio of the transformer to be detected, including short-time energy, short-time zero-crossing rate, short-time autocorrelation coefficient, short-time average amplitude difference function, linear prediction cepstral coefficient spectrum characteristics and Mel cepstral coefficient and other data.

[0065] Among them, the infrared video data refers to the video data of the operating status of the transformer to be detected obtained by infrared thermal imaging technology.

[0066] The temperature data refers to data related to the temperature of the transformer to be tested, such as the temperature magnitude, temperature change, and other data.

[0067] Exemplarily, in response to an abnormality detection instruction for a transformer to be detected, the server obtains audio data of the transformer to be detected at the current time from an audio sensor deployed on the transformer to be detected, obtains infrared video data of the transformer to be detected at the current time from an infrared camera deployed on the transformer to be detected, and obtains temperature data of the transformer to be detected at the current time from a temperature sensor deployed on the transformer to be detected; then, the server uses the audio data, infrared video data, and temperature data of the transformer to be detected at the current time as current multimodal data of the transformer to be detected.

[0068] Step S102, performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data.

[0069] Among them, anomaly detection processing refers to the process of identifying whether there is abnormal audio data in the audio data.

[0070] The audio anomaly detection result refers to the anomaly detection result corresponding to the audio data. In actual scenarios, the audio anomaly detection result is normal or abnormal.

[0071] Exemplarily, the server obtains historical audio data corresponding to the audio data; then, the server performs anomaly detection processing on the audio data based on the audio data and the historical audio data to obtain an audio anomaly detection result corresponding to the audio data.

[0072] Step S103, when the audio anomaly detection result is abnormal, the current multimodal data is input into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data.

[0073] Among them, the multimodal attention anomaly detection model refers to a network model that can use the current multimodal data to obtain the current target fusion data corresponding to the current multimodal data. It should be noted that the structure diagram of the multimodal attention anomaly detection model is as follows Figure 2 shown.

[0074] The current target fusion data refers to the fusion embedding code corresponding to the current multimodal data, which can be represented by emb′.

[0075] Exemplarily, when the audio anomaly detection result is abnormal, the server inputs the audio data, infrared video data and temperature data into a pre-trained multimodal attention anomaly detection model, and performs feature extraction processing on the audio data, infrared video data and temperature data through the pre-trained multimodal attention anomaly detection model to obtain audio data features, infrared video data features and temperature data features; then, the server obtains target fusion data corresponding to the audio data features, infrared video data features and temperature data features based on the audio data features, infrared video data features and temperature data features, as current target fusion data corresponding to the current multimodal data.

[0076] Step S104, obtaining historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtaining an abnormality detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data.

[0077] The historical multimodal data refers to the multimodal data corresponding to the historical time of the transformer to be detected. It should be noted that the historical multimodal data is used to characterize the multimodal data corresponding to the abnormal detection result of the transformer to be detected as normal.

[0078] Among them, the historical target fusion data refers to the fusion embedded code corresponding to the historical multimodal data.

[0079] The similarity is used to characterize the similarity between the current target fusion data and the historical target fusion data. In actual scenarios, the similarity is cosine similarity.

[0080] The abnormal detection result corresponding to the transformer to be detected refers to the comprehensive abnormal detection result corresponding to the transformer to be detected. In actual scenarios, the abnormal detection result corresponding to the transformer to be detected is normal or abnormal.

[0081] Exemplarily, the server obtains historical multimodal data corresponding to the multimodal data as the historical multimodal data of the transformer to be detected; then, the server obtains target fusion data corresponding to the historical multimodal data of the transformer to be detected as the historical target fusion data; then, the server determines the cosine similarity between the current target fusion data and the historical target fusion data as the similarity between the current target fusion data and the historical target fusion data; finally, the server obtains the abnormality detection result corresponding to the transformer to be detected based on the similarity between the current target fusion data and the historical target fusion data.

[0082] For example, obtain multiple target fusion data corresponding to the historical multimodal data of the transformer to be detected. n , and take the vector average of multiple historical target fusion data to obtain the historical target fusion data c, and calculate the cosine similarity cos(c,emb′) between the current target fusion data and the historical target fusion data. After activation by the sigmoid function σ(x), it is compared with the threshold score. If the result is greater than or equal to the threshold score, the abnormal detection result corresponding to the transformer to be detected is judged to be normal. If the result is less than the threshold score, the abnormal detection result corresponding to the transformer to be detected is judged to be abnormal.

[0083] For example, the server can calculate the historical target fusion data through the following formula:

[0084]

[0085] in, It refers to the maximum expectation algorithm, and n refers to the number of target fusion data.

[0086] For example, the server can calculate the historical target fusion data through the following formula:

[0087]

[0088] Among them, y refers to the abnormal detection result corresponding to the transformer to be detected.

[0089] In the above transformer anomaly detection method, the audio data, infrared video data and temperature data of the transformer to be detected are first obtained as the current multimodal data of the transformer to be detected, and then the audio data is processed for anomaly detection to obtain an audio anomaly detection result corresponding to the audio data. When the audio anomaly detection result is abnormal, the current multimodal data is input into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data. Finally, the historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the anomaly detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data. In this way, when performing abnormality detection on the transformer, by first performing abnormality detection on the audio data in the current multimodal data, if the audio abnormality detection result is abnormal, the multimodal attention abnormality detection model is further used to perform abnormality detection on the current multimodal data, so that possible problems can be determined more accurately, which is conducive to reducing unnecessary consumption of computing resources; moreover, by comprehensively utilizing multimodal information such as audio data, infrared video data and temperature data, the operating status of the transformer can be more comprehensively reflected, avoiding the defect of low accuracy of transformer abnormality detection due to only a single data that can only reflect the local situation of the transformer, thereby improving the accuracy of transformer abnormality detection.

[0090] In an exemplary embodiment, Figure 3 As shown, the above step S103, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain the current target fusion data corresponding to the current multimodal data, specifically includes the following steps:

[0091] Step S301, using a pre-trained multimodal attention anomaly detection model, feature extraction processing is performed on the audio data, infrared video data and temperature data to obtain audio data features, infrared video data features and temperature data features.

[0092] Step S302, according to the infrared video data characteristics and the temperature data characteristics, the audio data characteristics are updated and processed respectively to obtain the first update characteristics and the second update characteristics, according to the audio data characteristics and the temperature data characteristics, the infrared video data characteristics are updated and processed respectively to obtain the third update characteristics and the fourth update characteristics, and according to the audio data characteristics and the infrared video data characteristics, the temperature data characteristics are updated and processed respectively to obtain the fifth update characteristics and the sixth update characteristics.

[0093] Step S303, obtaining current target fusion data corresponding to the current multimodal data according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature.

[0094] Among them, feature extraction processing refers to the processing process corresponding to extracting data features.

[0095] The audio data feature refers to the feature vector corresponding to the audio data.

[0096] The infrared video data feature refers to a feature vector corresponding to the infrared video data.

[0097] The temperature data feature refers to the feature vector corresponding to the temperature data.

[0098] The update process refers to the process of adjusting the features.

[0099] The first updated feature refers to a feature vector obtained by updating the audio data feature according to the infrared video data feature.

[0100] The second updated feature refers to a feature vector obtained by updating the audio data feature according to the temperature data feature.

[0101] The third updated feature refers to a feature vector obtained by updating the infrared video data feature according to the audio data feature.

[0102] The fourth updated feature refers to a feature vector obtained by updating the infrared video data feature according to the temperature data feature.

[0103] The fifth updated feature refers to a feature vector obtained by updating the temperature data feature according to the audio data feature.

[0104] The sixth updated feature refers to a feature vector obtained by updating the temperature data feature according to the infrared video data feature.

[0105] Exemplarily, the server inputs the audio data, infrared video data and temperature data into a pre-trained multimodal attention anomaly detection model, and performs feature extraction processing on the audio data, infrared video data and temperature data through the pre-trained multimodal attention anomaly detection model to obtain a feature vector corresponding to the audio data, a feature vector corresponding to the infrared video data and a feature vector corresponding to the temperature data, which are used as audio data features, infrared video data features and temperature data features, respectively; then, the server updates the audio data features according to the infrared video data features to obtain a first updated feature, and updates the audio data features according to the temperature data features to obtain The server updates the infrared video data feature according to the audio data feature to obtain the third update feature, and updates the infrared video data feature according to the temperature data feature to obtain the fourth update feature; Then, the server updates the temperature data feature according to the audio data feature to obtain the fifth update feature, and updates the temperature data feature according to the infrared video data feature to obtain the sixth update feature; Finally, the server obtains the current target fusion data corresponding to the current multimodal data according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature.

[0106] For example, the server performs feature extraction processing on the audio data a, infrared video data v and temperature data tpt, and performs feature extraction processing again through the one-dimensional time convolution layer to obtain the processed feature And embedding position encoding to obtain low-level position-aware features like Figure 4 , Figure 5 As shown, the server uses a Transformer to perform multiple updates on the audio data features according to the infrared video data features and the temperature data features to obtain the first update features and the second update features, and performs multiple updates on the infrared video data features according to the audio data features and the temperature data features to obtain the third update features and the fourth update features, and performs multiple updates on the temperature data features according to the audio data features and the infrared video data features to obtain the fifth update features and the sixth update features.

[0107] For example, the server can calculate the corresponding result of the feature extraction process performed again through the one-dimensional time convolution layer by the following formula:

[0108]

[0109] Among them, k {a,v,tpt} is the size of the corresponding modal convolution kernel, and d is the common dimension.

[0110] For example, the server can calculate the low-level location awareness features through the following formula:

[0111]

[0112] in, Represents the embedding for each position index.

[0113] For example, the server can calculate an update of the feature using the following formula:

[0114]

[0115] Among them, Y a Refers to the updated features, CM v→a (X a , X v ) indicates that the transfer mode is X a 、The target mode is X v A single-head cross-modal Transformer attention mechanism, in is a learnable weight matrix.

[0116] For example, the server can calculate multiple updates of the feature using the following formula:

[0117]

[0118] in, It refers to the characteristics after multiple updates, specifically the first updated characteristics. It should be noted that the second updated characteristics, the third updated characteristics, the fourth updated characteristics, the fifth updated characteristics, and the sixth updated characteristics can also be obtained by the above method.

[0119] In this embodiment, through the fusion and interactive updating of multimodal data, abnormal information can be captured more comprehensively and integratedly, thereby improving the accuracy of abnormality detection, which is conducive to a deep understanding of the relationship and mutual influence between audio data, infrared video data and temperature data; moreover, combining multiple types of data features for processing can reduce the limitations and deviations that may exist in a single data type, making the abnormality detection results of the transformer more robust.

[0120] In an exemplary embodiment, the above step S303, according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature, obtains the current target fusion data corresponding to the current multimodal data, and also includes: splicing the first update feature and the second update feature to obtain the first splicing feature, splicing the third update feature and the fourth update feature to obtain the second splicing feature, and splicing the fifth update feature and the sixth update feature to obtain the third splicing feature; splicing the first splicing feature, the second splicing feature, and the third splicing feature again to obtain the target splicing feature as the current target fusion data corresponding to the current multimodal data.

[0121] Among them, the splicing process refers to the process of combining corresponding features.

[0122] For example, the server may calculate the first splicing feature, the second splicing feature, and the third splicing feature by the following formula:

[0123]

[0124] Among them, concat refers to splicing processing, Z a refers to the first splicing feature, refers to the first update feature, refers to the second update feature, Z v refers to the second splicing feature, refers to the third update feature, refers to the fourth update feature, Z tpt refers to the third splicing feature, refers to the fifth update feature, Refers to the sixth update feature.

[0125] The first concatenated feature refers to a feature vector obtained by concatenating the first updated feature and the second updated feature.

[0126] The second concatenated feature refers to a feature vector obtained by concatenating the third updated feature and the fourth updated feature.

[0127] The third concatenated feature refers to a feature vector obtained by concatenating the fifth updated feature and the sixth updated feature.

[0128] The target splicing feature refers to a feature vector obtained by splicing the first splicing feature, the second splicing feature and the third splicing feature again.

[0129] For example, the server can calculate the target splicing features through the following formula:

[0130] emb=concat[Za ; Z v ; Z tpt ], formula (8)

[0131] Among them, emb refers to the target splicing feature.

[0132] Exemplarily, the server performs splicing processing on the first update feature and the second update feature to obtain a splicing feature corresponding to the first update feature and the second update feature as the first splicing feature; then, the server performs splicing processing on the third update feature and the fourth update feature to obtain a splicing feature corresponding to the third update feature and the fourth update feature as the second splicing feature; then, the server performs splicing processing on the fifth update feature and the sixth update feature to obtain a splicing feature corresponding to the fifth update feature and the sixth update feature as the third splicing feature; finally, the server performs splicing processing on the first splicing feature, the second splicing feature and the third splicing feature again to obtain a target splicing feature as the current target fusion data corresponding to the current multimodal data.

[0133] In this embodiment, by splicing different updated features, it is possible to integrate data from multiple aspects to provide a more comprehensive and rich feature representation; moreover, multiple splicing processes help to better integrate data from multiple modalities, making the final target splicing features more representative and accurate.

[0134] In an exemplary embodiment, the above step S102 performs anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data, and also includes: extracting the target audio feature of the audio data as the current target audio feature; determining the audio anomaly detection result corresponding to the audio data based on the current target audio feature and the historical target audio feature; the historical target audio feature is the target audio feature of the audio data in the historical multimodal data.

[0135] Among them, the target audio features refer to the feature data related to the anomaly detection results in the audio data, including short-time energy, short-time zero-crossing rate, short-time autocorrelation coefficient, short-time average amplitude difference function, linear prediction cepstral coefficient spectrum characteristics and Mel cepstral coefficient and other feature data.

[0136] The current target audio feature refers to the target audio feature of the audio data.

[0137] The historical target audio features refer to the target audio features of the audio data in the historical multimodal data.

[0138] Exemplarily, the server determines the importance of each sub-audio data in the audio data; then, the server selects the sub-audio data whose corresponding importance meets the preset importance from the audio data as the target audio feature of the audio data; then, the server uses the target audio feature of the audio data as the current target audio feature; then, the server averages the feature vectors corresponding to each sub-audio data in the current target audio feature to obtain the first feature vector corresponding to the current target audio feature, and averages the feature vectors corresponding to each sub-audio data in the historical target audio feature to obtain the second feature vector corresponding to the historical target audio feature; then, the server determines the audio anomaly detection result corresponding to the audio data based on the cosine similarity between the first feature vector and the second feature vector; for example, when the cosine similarity is within a certain threshold, the audio anomaly detection result is determined to be normal, the detection ends, and no operation is performed; when the cosine similarity exceeds a certain threshold, the audio anomaly detection result is determined to be abnormal, and subsequent steps are performed.

[0139] In this embodiment, by comparing the current target audio features with the historical target audio features, possible abnormal situations in the audio data can be discovered more accurately; moreover, by making full use of the historical target audio features, the detection results are made more referenceable and reliable, thereby continuously improving the detection capabilities based on the accumulation of historical data.

[0140] In an exemplary embodiment, the transformer anomaly detection method provided by the present application also includes a training step of a pre-trained multimodal attention anomaly detection model, and also includes: obtaining sample multimodal data of a sample transformer; the sample multimodal data includes at least audio data, infrared video data and temperature data; inputting the sample multimodal data into the multimodal attention anomaly detection model to be trained to obtain sample target fusion data corresponding to the sample multimodal data; according to the sample target fusion data, iteratively training the multimodal attention anomaly detection model to be trained to obtain a pre-trained multimodal attention anomaly detection model.

[0141] Among them, the sample transformer refers to the transformer corresponding to the training multimodal attention anomaly detection model.

[0142] The sample multimodal data refers to the multimodal data of the sample transformer, including audio data, infrared video data, temperature data and the like.

[0143] The sample audio anomaly detection result refers to the anomaly detection result corresponding to the audio data of the sample multimodal data. In actual scenarios, the sample audio anomaly detection result is normal or abnormal.

[0144] Among them, the sample target fusion data refers to the fusion embedding code corresponding to the sample multimodal data.

[0145] Exemplarily, in response to a model training instruction for a multimodal attention anomaly detection model, the server obtains audio data, infrared video data, and temperature data of a sample transformer from a database, all of which are used as sample multimodal data of the sample transformer; then, the server inputs the sample multimodal data into the multimodal attention anomaly detection model to be trained, and obtains target fusion data corresponding to the sample multimodal data as sample target fusion data; then, the server obtains a loss value based on the difference between each sub-sample target fusion data in the sample target fusion data; then, the server adjusts the model parameters of the multimodal attention anomaly detection model to be trained based on the loss value; then, the server re-trains the multimodal attention anomaly detection model after the model parameters are adjusted until the loss value obtained by the trained multimodal attention anomaly detection model is less than the loss value threshold, then stops training, and uses the trained multimodal attention anomaly detection model as the pre-trained multimodal attention anomaly detection model.

[0146] For example, the server can calculate the loss value through the following formula:

[0147]

[0148] Among them, Loss refers to the loss value, N is the number of Embeddings (vectors), ∥·∥ represents the matrix norm, margin is a hyperparameter representing the threshold of similarity, and sim refers to the similarity processing. It should be noted that the loss function can encourage the cosine similarity between similar Embedding pairs to be greater than margin.

[0149] In this embodiment, by pre-training the multimodal attention anomaly detection model, it is convenient to predict the anomaly detection result corresponding to the transformer to be detected after obtaining the current multimodal data of the transformer to be detected in actual applications; moreover, the multimodal attention anomaly detection model receives new data in each round of iteration, and performs internal improvements and optimizations on the model, so that predictions can be made more effectively, which is beneficial to improving the prediction accuracy of the multimodal attention anomaly detection model.

[0150] In an exemplary embodiment, the above-mentioned step S104, after acquiring historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtaining the abnormal detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data, also includes: when the abnormal detection result corresponding to the transformer to be detected is abnormal, generating early warning information for the transformer to be detected according to the current multimodal data; and sending the early warning information to the terminal associated with the transformer to be detected.

[0151] Among them, the early warning information refers to the warning information related to the abnormality of the transformer to be detected.

[0152] Exemplarily, when the abnormal detection result corresponding to the transformer to be detected is abnormal, the server generates warning information corresponding to the current multimodal data based on the current multimodal data as warning information for the transformer to be detected; then, the server determines the terminal associated with the transformer to be detected, and sends the warning information to the terminal associated with the transformer to be detected.

[0153] In this embodiment, by quickly generating and sending early warning information when an abnormality occurs in the transformer to be detected, relevant personnel are informed of the situation in a timely manner, which is conducive to taking measures in a timely manner to avoid potential dangers and failures, ensure the safe operation of the transformer to be detected and related systems, and thus improve the safety of the transformer to be detected.

[0154] In an exemplary embodiment, Figure 6 As shown, another transformer abnormality detection method is provided, and the method is applied to a server for example, including the following steps:

[0155] Step S601, obtaining current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data.

[0156] Step S602, extract the target audio features of the audio data as the current target audio features; determine the audio anomaly detection results corresponding to the audio data based on the current target audio features and the historical target audio features; the historical target audio features are the target audio features of the audio data in the historical multimodal data.

[0157] Step S603, using a pre-trained multimodal attention anomaly detection model, feature extraction processing is performed on the audio data, infrared video data, and temperature data to obtain audio data features, infrared video data features, and temperature data features.

[0158] Step S604, according to the infrared video data characteristics and the temperature data characteristics, the audio data characteristics are updated and processed respectively to obtain the first update characteristics and the second update characteristics, according to the audio data characteristics and the temperature data characteristics, the infrared video data characteristics are updated and processed respectively to obtain the third update characteristics and the fourth update characteristics, and according to the audio data characteristics and the infrared video data characteristics, the temperature data characteristics are updated and processed respectively to obtain the fifth update characteristics and the sixth update characteristics.

[0159] Step S605, concatenate the first update feature and the second update feature to obtain a first concatenated feature, concatenate the third update feature and the fourth update feature to obtain a second concatenated feature, and concatenate the fifth update feature and the sixth update feature to obtain a third concatenated feature.

[0160] Step S606, the first splicing feature, the second splicing feature and the third splicing feature are spliced ​​again to obtain a target splicing feature as current target fusion data corresponding to the current multimodal data.

[0161] Step S607, obtaining historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtaining an abnormality detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data.

[0162] In the above transformer anomaly detection method, when performing anomaly detection on the transformer, anomaly detection is first performed on the audio data in the current multimodal data. When the audio anomaly detection result is abnormal, the multimodal attention anomaly detection model is further used to perform anomaly detection on the current multimodal data, thereby being able to more accurately determine situations where problems may exist, which is conducive to reducing unnecessary consumption of computing resources; moreover, by comprehensively utilizing multimodal information such as audio data, infrared video data, and temperature data, the operating status of the transformer can be more comprehensively reflected, avoiding the defect that only a single data can only reflect the local situation of the transformer, resulting in a low accuracy rate of transformer anomaly detection, thereby improving the accuracy of transformer anomaly detection.

[0163] In an exemplary embodiment, in order to more clearly illustrate the transformer abnormality detection method provided in the embodiment of the present application, the transformer abnormality detection method is specifically described below with a specific embodiment. In one embodiment, Figure 7 As shown, the present application also provides a transformer edge abnormality detection system based on multimodal attention. When performing abnormality detection on the transformer, the audio data, infrared video data and temperature data of the transformer to be detected are first obtained as the current multimodal data of the transformer to be detected, and then the audio data is processed for abnormality detection to obtain an audio abnormality detection result corresponding to the audio data. When the audio abnormality detection result is abnormal, the current multimodal data is input into a pre-trained multimodal attention abnormality detection model to obtain current target fusion data corresponding to the current multimodal data. Finally, the historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data. Specifically including the following contents:

[0164] 1. A transformer edge anomaly detection system based on multimodal attention, characterized by: Figure 7 As shown, the following steps are included: For the convenience of description, the basic mathematical symbols of this patent are first explained here: x∈R t×d Indicates that x is a t×d real matrix; Conv1D(·) represents a one-dimensional convolution operation; ||·|| represents the matrix norm; represents the maximum expectation algorithm; max(x1, x2, ...) represents the maximum value; cos(x1, x2) represents the cosine similarity of vectors x1 and x2; softmax(·) represents the activation function softmax; σ(·) represents the activation function sigmoid; CM β→α (X β ;X α ) represents a one-head cross-modal Transformer attention mechanism with the transfer modality β and the target modality α.

[0165] S1, data acquisition.

[0166] The edge monitoring device deployed on the transformer collects data from sensors or cameras. This application uses three modal data: audio, infrared video, and temperature.

[0167] S2, audio anomaly detection.

[0168] Since audio anomaly detection has strong ability and high sensitivity in judging the operating status of equipment, and it is a non-invasive detection method that does not require disassembly or modification of the equipment, audio anomaly detection is preferred to judge the operating status of the transformer.

[0169] For each section of transformer running audio, extract and calculate the short-time energy, short-time zero-crossing rate, short-time autocorrelation coefficient, short-time average amplitude difference function, linear prediction cepstral coefficient spectrum characteristics and Mel cepstral coefficients of the current audio frame, and calculate the cosine similarity with the average value of the historical audio frame characteristics. If it is within a certain threshold, it is considered that there is no abnormality in the audio, the detection is completed, and no operation is performed; if it exceeds a certain threshold, the audio detection is considered abnormal and the subsequent steps are performed.

[0170] S3, training a multimodal attention anomaly detection network.

[0171] like Figure 2 As shown in FIG, the multimodal attention anomaly detection network first constructs an N+1 tuple, which contains N segments of historical multimodal data in normal state and a segment of multimodal data to be tested.

[0172] For each segment of audio modal data a, infrared video modal data v, and temperature modal data tpt obtained by the edge computing gateway, first extract the features to obtain

[0173] To ensure that each element can access its neighboring elements and thus obtain more global context information, the input sequence is passed through a one-dimensional temporal convolutional layer:

[0174]

[0175] Among them, k {a,v,tpt} is the size of the corresponding modal convolution kernel, and d is the common dimension.

[0176] In order to make the feature sequence carry time information, Positional Embedding (PE) to obtain low-level position-aware features of different modalities

[0177]

[0178] in, Represents the embedding for each position index.

[0179] A cross-modal Transformer is then used to potentially transfer information from one modality to another.

[0180] The cross-modal attention structure between different modal sequences is as follows: Figure 3 As shown. First, transfer the infrared video modality information to the audio modality and define in is a learnable weight matrix. Therefore, the potential adaptation representation that transfers information from the infrared video modality to the audio modality is available express:

[0181]

[0182] At this time, Y a With Q a (i.e. T a ) have the same length, which also means that V v Specifically, the equation computes the attention weight matrix using the scaled softmax(·) function The (i, j)th item in the matrix represents the attention weight of the i-th time step of the audio modality to the j-th time step of the infrared video modality, which can be understood as importance or attention.

[0183] Therefore, Y a The i-th time step of is V v The weighted sum of , where the weight is determined by the i-th row of the weight matrix.

[0184] After a CMβ→α (X β ;X α ) operation is called a single-head cross-modal attention.

[0185] The cross-modal Transformer structure is as follows Figure 4 As shown in the figure, it consists of D layers of cross-modal attention blocks stacked together. When the number of layers D and the number of heads of the multi-head attention are divisible, each modality receives the associated external modality information from the multi-head cross-modal attention module (Crossmodalattention blocks) to continuously update its sequence. When using infrared video modality information to update the audio modality sequence, the update process of each layer of cross-modal attention is as follows:

[0186]

[0187] Similarly, the remaining temperature modal information is gradually transferred to the audio modal to obtain

[0188] Similarly, cross-modal information update operations are also performed on the infrared video modality and the temperature modality.

[0189] Finally, the outputs of the cross-modal Transformers that share the same target modality are concatenated to produce Right now:

[0190]

[0191] Concatenate the updated embedding vectors of the three modalities as the embedding code of the historical multimodal data:

[0192] emb=concat[Z a ; Z v ; Z tpt ], formula (8)

[0193] In order to make the multimodal attention anomaly detection network extract the most common features of the samples as much as possible, a loss function is needed to constrain the similarity between the obtained Embeddings, that is, the smaller the distance between normal samples, the better:

[0194]

[0195] Where N is the number of embeddings, ||·|| represents the matrix norm, and margin is a hyperparameter representing the threshold of similarity. This loss function can encourage the cosine similarity between similar embedding pairs to be greater than margin.

[0196] S4: Multimodal signal detection.

[0197] During the detection phase, the vector average of the embedding codes of all historical multimodal data is taken to obtain the aggregated embedding code:

[0198]

[0199] The cosine similarity cos(c,emb′) between the verified multimodal data and the aggregated embedded code of the historical multimodal data is calculated and activated by the sigmoid function σ(x) and compared with the threshold score. If the result is greater than or equal to the threshold, it is judged as normal, otherwise it is judged as abnormal.

[0200]

[0201] S5: Alarm response.

[0202] If the multimodal attention anomaly detection network detects an abnormality, the edge computing gateway immediately sends an alarm signal and uploads monitoring data related to the abnormality. This helps relevant personnel take timely measures to deal with abnormal situations, such as emergency shutdown of equipment, etc.

[0203] 2. A transformer edge anomaly detection system based on multimodal attention, characterized in that anomaly detection is performed at the edge to save network transmission bandwidth.

[0204] 3. A transformer edge anomaly detection system based on multimodal attention, characterized in that multimodal data is used for anomaly detection in steps 3 and 4.

[0205] In the above embodiment, when the transformer is detected for abnormality, the audio data in the current multimodal data is first detected for abnormality. When the audio abnormality detection result is abnormal, the multimodal attention abnormality detection model is further used to detect the current multimodal data for abnormality, so that the situation where there may be problems can be determined more accurately, which is conducive to reducing unnecessary computing resource consumption; moreover, by comprehensively utilizing multimodal information such as audio data, infrared video data and temperature data, the operating state of the transformer can be more comprehensively reflected, avoiding the defect that only a single data can only reflect the local situation of the transformer, resulting in a low accuracy rate of abnormality detection of the transformer, thereby improving the accuracy rate of abnormality detection of the transformer. At the same time, the method of combining multiple data sources makes maintenance management more data-driven and improves the accuracy and efficiency of decision-making. Combining the information of multimodal data sources and the computing power on edge devices, the system can perform abnormality detection in real time at the edge end, avoiding the delay of data transmission, and reducing the pressure of data storage and analysis of the upper system; in general, the present application has the advantages of high accuracy, low latency and privacy protection, and can detect abnormal situations in time and take corresponding measures, providing strong support for the operation and maintenance of transformer equipment.

[0206] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0207] Based on the same inventive concept, the embodiment of the present application also provides a transformer abnormality detection device for implementing the transformer abnormality detection method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more transformer abnormality detection device embodiments provided below can refer to the limitations of the transformer abnormality detection method above, and will not be repeated here.

[0208] In an exemplary embodiment, Figure 8 As shown, a transformer abnormality detection device is provided, including: a data acquisition module 801, an audio detection module 802, a data fusion module 803 and a result determination module 804, wherein:

[0209] The data acquisition module 801 is used to acquire the current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data.

[0210] The audio detection module 802 is used to perform anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data.

[0211] The data fusion module 803 is used to input the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data when the audio anomaly detection result is abnormal.

[0212] The result determination module 804 is used to obtain historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtain the abnormal detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data.

[0213] In an exemplary embodiment, the data fusion module 803 is also used to perform feature extraction processing on audio data, infrared video data and temperature data through a pre-trained multimodal attention anomaly detection model to obtain audio data features, infrared video data features and temperature data features; update the audio data features according to the infrared video data features and the temperature data features to obtain first update features and second update features, update the infrared video data features according to the audio data features and the temperature data features to obtain third update features and fourth update features, and update the temperature data features according to the audio data features and the infrared video data features to obtain fifth update features and sixth update features; obtain current target fusion data corresponding to the current multimodal data according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature and the sixth update feature.

[0214] In an exemplary embodiment, the data fusion module 803 is also used to splice the first update feature and the second update feature to obtain a first spliced ​​feature, splice the third update feature and the fourth update feature to obtain a second spliced ​​feature, and splice the fifth update feature and the sixth update feature to obtain a third spliced ​​feature; and splice the first spliced ​​feature, the second spliced ​​feature and the third spliced ​​feature again to obtain a target spliced ​​feature as current target fusion data corresponding to the current multimodal data.

[0215] In an exemplary embodiment, the audio detection module 802 is also used to extract the target audio features of the audio data as the current target audio features; determine the audio anomaly detection results corresponding to the audio data based on the current target audio features and the historical target audio features; the historical target audio features are the target audio features of the audio data in the historical multimodal data.

[0216] In an exemplary embodiment, the transformer anomaly detection device also includes a model training module, which is used to obtain sample multimodal data of a sample transformer; the sample multimodal data includes at least audio data, infrared video data and temperature data; the sample multimodal data is input into a multimodal attention anomaly detection model to be trained to obtain sample target fusion data corresponding to the sample multimodal data; according to the sample target fusion data, the multimodal attention anomaly detection model to be trained is iteratively trained to obtain a pre-trained multimodal attention anomaly detection model.

[0217] In an exemplary embodiment, the transformer abnormality detection device also includes an information sending module, which is used to generate early warning information for the transformer to be detected based on the current multimodal data when the abnormality detection result corresponding to the transformer to be detected is abnormal; and send the early warning information to the terminal associated with the transformer to be detected.

[0218] Each module in the above transformer abnormality detection device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0219] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store current multimodal data, historical multimodal data, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a transformer abnormality detection method is implemented.

[0220] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure 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 certain components, or have a different arrangement of components.

[0221] In an exemplary embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0222] In an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0223] In an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0224] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0225] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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, they should be considered to be within the scope of this specification.

[0226] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A transformer abnormality detection method, characterized in that: The method comprises: Acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data; Performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data; In the case where the audio anomaly detection result is abnormal, inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data; The historical target fusion data corresponding to the historical multimodal data of the transformer to be detected is obtained, and the abnormality detection result corresponding to the transformer to be detected is obtained according to the similarity between the current target fusion data and the historical target fusion data.

2. The method according to claim 1, characterized in that: The step of inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data includes: Performing feature extraction processing on the audio data, the infrared video data, and the temperature data through the pre-trained multimodal attention anomaly detection model to obtain audio data features, infrared video data features, and temperature data features; According to the infrared video data feature and the temperature data feature, the audio data feature is updated and processed respectively to obtain a first update feature and a second update feature; according to the audio data feature and the temperature data feature, the infrared video data feature is updated and processed respectively to obtain a third update feature and a fourth update feature; and according to the audio data feature and the infrared video data feature, the temperature data feature is updated and processed respectively to obtain a fifth update feature and a sixth update feature; According to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature, current target fusion data corresponding to the current multimodal data is obtained.

3. The method according to claim 2, characterized in that The obtaining, according to the first update feature, the second update feature, the third update feature, the fourth update feature, the fifth update feature, and the sixth update feature, current target fusion data corresponding to the current multimodal data includes: The first update feature and the second update feature are spliced ​​to obtain a first spliced ​​feature, the third update feature and the fourth update feature are spliced ​​to obtain a second spliced ​​feature, and the fifth update feature and the sixth update feature are spliced ​​to obtain a third spliced ​​feature; The first splicing feature, the second splicing feature and the third splicing feature are spliced ​​again to obtain a target splicing feature as current target fusion data corresponding to the current multimodal data.

4. The method according to claim 1, characterized in that: The performing anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data includes: Extracting a target audio feature of the audio data as a current target audio feature; An audio anomaly detection result corresponding to the audio data is determined according to the current target audio feature and the historical target audio feature; the historical target audio feature is a target audio feature of the audio data in the historical multimodal data.

5. The method according to claim 1, characterized in that The pre-trained multimodal attention anomaly detection model is trained in the following way: Acquire sample multimodal data of a sample transformer; the sample multimodal data at least includes audio data, infrared video data and temperature data; Inputting the sample multimodal data into a multimodal attention anomaly detection model to be trained to obtain sample target fusion data corresponding to the sample multimodal data; According to the sample target fusion data, the multimodal attention anomaly detection model to be trained is iteratively trained to obtain the pre-trained multimodal attention anomaly detection model.

6. The method according to any one of claims 1 to 5, characterized in that After acquiring historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtaining an abnormality detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data, the method further includes: When the abnormal detection result corresponding to the transformer to be detected is abnormal, generating early warning information for the transformer to be detected according to the current multimodal data; The warning information is sent to a terminal associated with the transformer to be detected.

7. A transformer abnormality detection device, characterized in that: The device comprises: A data acquisition module, used to acquire current multimodal data of the transformer to be detected; the current multimodal data at least includes audio data, infrared video data and temperature data; An audio detection module is used to perform anomaly detection processing on the audio data to obtain an audio anomaly detection result corresponding to the audio data; A data fusion module, used for inputting the current multimodal data into a pre-trained multimodal attention anomaly detection model to obtain current target fusion data corresponding to the current multimodal data when the audio anomaly detection result is abnormal; The result determination module is used to obtain historical target fusion data corresponding to the historical multimodal data of the transformer to be detected, and obtain the abnormal detection result corresponding to the transformer to be detected according to the similarity between the current target fusion data and the historical target fusion data.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Transformer operation detection method, device and equipment and storage medium

    CN115993503A

  • Substation equipment fault detection method and system based on multi-modal fusion

    CN117809164A

Cited By

  • Transformer fault detection method based on multi-mode audio and video stitching

    CN120257191A

  • Transformer data abnormity monitoring method and system based on data processing

    CN120277588A

  • Transformer data anomaly monitoring method and system based on data processing

    CN120277588B

  • Multi-modal joint detection method and system for data quality defects

    CN120832621A

  • A multi-modal joint detection method and system for data quality defects

    CN120832621B