Power system industrial equipment fault diagnosis method and system
By constructing a power system industrial equipment fault diagnosis model based on the Faster-RCNN network, multi-modal knowledge graph and BART text generation model, multi-modal data information is used for fault diagnosis, which solves the problem of fault diagnosis reliability and accuracy in the existing technology. Insufficient problems are solved to achieve more efficient fault identification and diagnosis.
Patent Information
- Application Number
- CN202410820185.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-09-27
AI Technical Summary
Existing power system industrial equipment fault diagnosis methods rely on manual experience or single-modal information, resulting in poor reliability and accuracy, and limited application scope.
Faster-RCNN network, multi-modal knowledge graph and BART text generation model are used to build a power system industrial equipment fault diagnosis model. By obtaining multi-modal data information (text, image, video, audio) for pre-processing and training, fault classification is achieved. , derivation and diagnosis.
It improves the reliability and accuracy of fault diagnosis of industrial equipment in power systems, enhances the versatility of the method, and enables more effective fault diagnosis.
Smart Images

Figure CN118709076A
Abstract
Description
Technical Field
[0001] The invention belongs to the field of electrical automation, and in particular relates to a method and system for diagnosing faults of industrial equipment in an electric power system. Background Art
[0002] With the development of economy and technology and the improvement of people's living standards, electricity has become an indispensable secondary energy source in people's production and life, bringing endless convenience to people's production and life. Therefore, ensuring the stable and reliable supply of electricity has become one of the most important tasks of the power system.
[0003] Fault diagnosis is an important part of the maintenance process of industrial equipment in power systems. Its purpose is to diagnose and evaluate the working status and fault status of industrial equipment in power systems through monitoring data collected by industrial equipment sensors and prior knowledge, thereby improving the reliability of industrial equipment in power systems and ensuring the safe and stable operation of power systems.
[0004] At present, the commonly used fault diagnosis schemes for industrial equipment in power systems are generally divided into fault diagnosis based on manual experience and fault diagnosis based on models: the fault diagnosis scheme based on manual experience generally relies on the experience of operation and maintenance personnel, which has poor reliability and accuracy; while the fault diagnosis scheme based on models, this type of diagnostic model often relies on single-mode information, has a limited scope of application, and has relatively poor reliability and accuracy. Summary of the invention
[0005] One of the purposes of the present invention is to provide a method for diagnosing faults of industrial equipment in an electric power system with high reliability, good accuracy and good versatility.
[0006] A second objective of the present invention is to provide a system for implementing the power system industrial equipment fault diagnosis method.
[0007] The power system industrial equipment fault diagnosis method provided by the present invention comprises the following steps:
[0008] S1. Obtain multimodal data information of existing power system industrial equipment;
[0009] S2. Preprocess the data information obtained in step S1 to construct a training data set;
[0010] S3. Based on Faster-RCNN network, multimodal knowledge graph and BART text generation model, an initial model for fault diagnosis of industrial equipment in power system is constructed;
[0011] S4. Using the training data set obtained in step S2, the initial model for fault diagnosis of industrial equipment in the power system constructed in step S3 is trained to obtain a fault diagnosis model for industrial equipment in the power system;
[0012] S5. Using the power system industrial equipment fault diagnosis model obtained in step S4, actual power system industrial equipment fault diagnosis is performed.
[0013] The step S1 of obtaining multimodal data information of existing power system industrial equipment specifically includes the following steps:
[0014] The multimodal data information of the existing power system industrial equipment obtained includes text data information of the power system industrial equipment, image data information of the power system industrial equipment, video data information of the power system industrial equipment and audio data information of the power system industrial equipment, as well as the corresponding fault diagnosis results of the power system industrial equipment.
[0015] The preprocessing of the data information obtained in step S1 described in step S2 specifically includes the following steps:
[0016] Scaling the image data information obtained in step S1 to ensure that the ratio of the shortest side length in each patch matches a preset value;
[0017] If the longest side length of each patch image cannot be matched after scaling, it will be filled with 0 to ensure the proportion matching;
[0018] Then, the image data is enhanced using the following formula to ensure that the target remains within the frame boundary after data enhancement:
[0019]
[0020] Where B H is the relative height of the marked box after data enhancement; B W is the relative width of the marked box after data enhancement; B h is the original height; B w is the original width; H and h are the set data enhancement coefficients.
[0021] The construction of an initial model for fault diagnosis of industrial equipment in a power system based on the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model described in step S3 includes the following steps:
[0022] Constructing the initial model of fault diagnosis of industrial equipment in power system includes fault classification module, fault derivation module and fault diagnosis module;
[0023] A fault classification module is constructed based on the Faster-RCNN network; the fault classification module is used to extract image feature information and perform fault classification based on the input image data information;
[0024] A fault deduction module is constructed based on a multimodal knowledge graph; the fault deduction module is used to construct a multimodal knowledge graph and perform fault deduction based on the fault classification result and the input text data information, video data information and audio data information;
[0025] A fault diagnosis module is constructed based on the BART text generation model; the fault diagnosis module is used to perform final fault diagnosis.
[0026] The fault classification module based on the Faster-RCNN network specifically includes the following steps:
[0027] The fault classification module is constructed based on the Faster-RCNN network; the fault classification module consists of a feature extraction module, an RPN module, a RoIPooling module, and an RCNN module. The feature extraction module includes 13 con layers, 13 relu layers, and 4 pooling layers, which are used to extract the feature map of the target; the input of the RPN module is the feature map, which is used to select the candidate region of the target; the RoIPooling module takes the candidate region output by the RPN module and the feature map output by the feature extraction module as input, and combines the two to obtain a fixed-size regional feature map for subsequent softmax classification; the RCNN module classifies the image through softmax and corrects the state of the object through bounding box regression.
[0028] The construction of the fault deduction module based on the multimodal knowledge graph specifically includes the following steps:
[0029] A fault inference module is constructed based on a multimodal knowledge graph. The fault inference module includes information representation, knowledge processing, and knowledge updating. In the inference phase, the entity information vector is obtained based on the extracted feature vector. After obtaining the text feature vector representing the entity information in the target scene, this information is mapped with the entities, attributes, and relationships stored in the knowledge base. The feature vector obtained in the visual detection phase is mapped to the entity-relationship-attribute vector in the knowledge graph using cosine similarity:
[0030]
[0031] In the formula, A i and B i Represent the components of vector A and vector B respectively.
[0032] According to the cosine similarity matching, the entity-text vector obtained corresponds to the entity and attribute value in the multimodal knowledge graph; the main equipment entity (such as transformer), secondary equipment entity (such as radiator) and fault phenomenon attribute value (such as black) in the knowledge graph are used to form a triple; through semantic matching templates and path queries and multi-hop query reasoning, the fault entity (such as oil leakage) corresponding to the secondary equipment (such as radiator) and attribute value (such as black) is determined.
[0033] The fault diagnosis module is constructed based on the BART text generation model, and specifically comprises the following steps:
[0034] After the fault inference module retrieves the query node, it generates the answer text using the feature vector obtained by visual object detection using the node name; the feature vector is randomly generated and only contains detection results with a confidence level greater than 30%; the result is sorted in descending order to obtain a semi-ordered state of the text feature vector (such as black, radiator, and transformer); then, the text feature vector is semantically matched with the name text of the node in the knowledge graph; the sorting operation is performed based on the matched node attributes to generate an ordered text vector, and the BART text generation model is used to generate interpretable fault text; the BART text generation model is a denoising autoencoder built using a sequence-to-sequence model for various text generation tasks; the BART text generation model uses a standard Transformer-based neural machine translation architecture, corrupts the input text using a noise function, and learns to reconstruct the original text into a sequence-to-sequence model, so that it can process the original input text and effectively learn text reconstruction.
[0035] The present invention also provides a system for implementing the power system industrial equipment fault diagnosis method, comprising a data acquisition module, a data processing module, a model construction module, a model training module and a fault diagnosis module; the data acquisition module, the data processing module, the model construction module, the model training module and the fault diagnosis module are connected in series in sequence; the data acquisition module is used to acquire multimodal data information of existing power system industrial equipment, and upload the data information to the data processing module; the data processing module is used to preprocess the acquired data information according to the received data information, construct a training data set, and upload the data information to the model construction module; the model construction module is used to construct an initial model for fault diagnosis of power system industrial equipment based on the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model according to the received data information, and upload the data information to the model training module; the model training module is used to train the constructed initial model for fault diagnosis of power system industrial equipment according to the received data information, using the obtained training data set, to obtain the fault diagnosis model of power system industrial equipment, and upload the data information to the fault diagnosis module; the fault diagnosis module is used to perform actual fault diagnosis of power system industrial equipment according to the received data information and using the obtained fault diagnosis model of power system industrial equipment.
[0036] The power system industrial equipment fault diagnosis method and system provided by the present invention construct a multimodal fault diagnosis model based on the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model, and use the acquired multimodal data information of the power system industrial equipment for training to realize fault diagnosis; therefore, the scheme of the present invention can not only realize the fault diagnosis of the power system industrial equipment, but also has higher reliability, better accuracy and better versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 The figure is a schematic diagram of the method flow of the present invention.
[0038] Figure 2 Schematic diagram of the functional modules of the system of the present invention. DETAILED DESCRIPTION
[0039] like Figure 1 The method flow chart of the method of the present invention is shown as follows: The method for diagnosing faults of industrial equipment in a power system disclosed in the present invention comprises the following steps:
[0040] S1. Acquire multimodal data information of existing power system industrial equipment; specifically includes the following steps:
[0041] The acquired multimodal data information of the existing power system industrial equipment includes text data information of the power system industrial equipment, image data information of the power system industrial equipment, video data information of the power system industrial equipment and audio data information of the power system industrial equipment, and the corresponding fault diagnosis results of the power system industrial equipment;
[0042] S2. Preprocess the data information obtained in step S1 to construct a training data set; specifically, the steps include:
[0043] Scaling the image data information obtained in step S1 to ensure that the ratio of the shortest side length in each patch matches a preset value;
[0044] If the longest side length of each patch image cannot be matched after scaling, it will be filled with 0 to ensure the proportion matching;
[0045] When resizing an image, it is important to follow preset values and perform operations such as denoising, sharpening, and brightening to enhance clarity; however, this rough resizing operation may lead to a mismatch between the pre-calibrated data frame values and the newly generated image; to address this issue, the data frame values are scaled according to the ratio of the existing image size to the original image size; this ensures that the target remains within the frame boundaries without affecting any training objectives; therefore, the image data is augmented using the following formula to ensure that the target remains within the frame boundaries after data augmentation:
[0046]
[0047] Where B H is the relative height of the marked box after data enhancement; B W is the relative width of the marked box after data enhancement; B h is the original height; B w is the original width; H and h are the set data enhancement coefficients.
[0048] S3. Based on the Faster-RCNN network, multimodal knowledge graph and BART text generation model, an initial model for fault diagnosis of industrial equipment in power system is constructed; the steps include:
[0049] Constructing the initial model of fault diagnosis of industrial equipment in power system includes fault classification module, fault derivation module and fault diagnosis module;
[0050] A fault classification module is constructed based on the Faster-RCNN network; the fault classification module is used to extract image feature information and perform fault classification based on the input image data information; specifically, the following steps are included:
[0051] The fault classification module is built based on the Faster-RCNN network; the fault classification module consists of a feature extraction module, an RPN module, a RoIPooling module and an RCNN module. The feature extraction module includes 13 con layers, 13 relu layers and 4 pooling layers, which are used to extract the feature map of the target; the input of the RPN module is the feature map, which is used to select the candidate area of the target; the RoIPooling module takes the candidate area output by the RPN module and the feature map output by the feature extraction module as input, and combines the two to obtain a fixed-size regional feature map for subsequent softmax classification; the RCNN module classifies the image through softmax and corrects the state of the object through bounding box regression;
[0052] A fault deduction module is constructed based on a multimodal knowledge graph; the fault deduction module is used to construct a multimodal knowledge graph and perform fault deduction based on the fault classification result and the input text data information, video data information and audio data information; specifically, the following steps are included:
[0053] A fault inference module is constructed based on a multimodal knowledge graph. The fault inference module includes information representation, knowledge processing, and knowledge updating. In the inference phase, the entity information vector is obtained based on the extracted feature vector. After obtaining the text feature vector representing the entity information in the target scene, this information is mapped with the entities, attributes, and relationships stored in the knowledge base. The feature vector obtained in the visual detection phase is mapped to the entity-relationship-attribute vector in the knowledge graph using cosine similarity:
[0054]
[0055] In the formula, A i and B i Represent the components of vector A and vector B respectively.
[0056] According to the cosine similarity matching, the entity-text vector obtained corresponds to the entity and attribute value in the multimodal knowledge graph; the main equipment entity (such as transformer), secondary equipment entity (such as radiator) and fault phenomenon attribute value (such as black) in the knowledge graph are used to form a triple; through semantic matching templates and path query and multi-hop query reasoning, the fault entity (such as oil leakage) corresponding to the secondary equipment (such as radiator) and attribute value (such as black) is determined;
[0057] A fault diagnosis module is constructed based on the BART text generation model; the fault diagnosis module is used to perform the final fault diagnosis; specifically, the following steps are included:
[0058] After the fault inference module retrieves the query node, it generates the answer text using the feature vector obtained by visual object detection using the node name; the feature vector is randomly generated and only contains detection results with a confidence level greater than 30%; the result is sorted in descending order to obtain a semi-ordered state of the text feature vector (such as black, radiator, and transformer); then, the text feature vector is semantically matched with the name text of the node in the knowledge graph; the sorting operation is performed based on the matched node attributes to generate an ordered text vector, and the BART text generation model is used to generate interpretable fault text; the BART text generation model is a denoising autoencoder built using a sequence-to-sequence model for various text generation tasks; the BART text generation model uses a standard Transformer-based neural machine translation architecture, corrupts the input text using a noise function, and learns to reconstruct the original text into a sequence-to-sequence model, so that it can process the original input text and effectively learn text reconstruction;
[0059] S4. Using the training data set obtained in step S2, the initial model for fault diagnosis of industrial equipment in the power system constructed in step S3 is trained to obtain a fault diagnosis model for industrial equipment in the power system;
[0060] S5. Using the power system industrial equipment fault diagnosis model obtained in step S4, actual power system industrial equipment fault diagnosis is performed.
[0061] like Figure 2 The functional module schematic diagram of the system of the present invention is shown as follows: the system for realizing the power system industrial equipment fault diagnosis method disclosed in the present invention comprises a data acquisition module, a data processing module, a model construction module, a model training module and a fault diagnosis module; the data acquisition module, the data processing module, the model construction module, the model training module and the fault diagnosis module are connected in series in sequence; the data acquisition module is used to acquire the multimodal data information of the existing power system industrial equipment, and upload the data information to the data processing module; the data processing module is used to pre-process the acquired data information according to the received data information, construct a training data set, and upload the data information to the model construction module; the model construction module is used to construct an initial model for fault diagnosis of power system industrial equipment based on the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model according to the received data information, and upload the data information to the model training module; the model training module is used to train the constructed initial model for fault diagnosis of power system industrial equipment according to the received data information, using the obtained training data set, to obtain the fault diagnosis model of power system industrial equipment, and upload the data information to the fault diagnosis module; the fault diagnosis module is used to perform actual fault diagnosis of power system industrial equipment according to the received data information and using the obtained fault diagnosis model of power system industrial equipment.
Claims
1. A method for diagnosing faults of industrial equipment in an electric power system, comprising the following steps: S1. Obtain multimodal data information of existing power system industrial equipment; S2. Preprocess the data information obtained in step S1 to construct a training data set; S3. Based on Faster-RCNN network, multimodal knowledge graph and BART text generation model, an initial model for fault diagnosis of industrial equipment in power system is constructed; S4. Using the training data set obtained in step S2, the initial model for fault diagnosis of industrial equipment in the power system constructed in step S3 is trained to obtain a fault diagnosis model for industrial equipment in the power system; S5. Using the power system industrial equipment fault diagnosis model obtained in step S4, actual power system industrial equipment fault diagnosis is performed.
2. The method for diagnosing faults of industrial equipment in a power system according to claim 1, characterized in that The step S1 of obtaining multimodal data information of existing power system industrial equipment specifically includes the following steps: The multimodal data information of the existing power system industrial equipment obtained includes text data information of the power system industrial equipment, image data information of the power system industrial equipment, video data information of the power system industrial equipment and audio data information of the power system industrial equipment, as well as the corresponding fault diagnosis results of the power system industrial equipment.
3. The method for diagnosing faults of industrial equipment in a power system according to claim 2, characterized in that The preprocessing of the data information obtained in step S1 described in step S2 specifically includes the following steps: Scaling the image data information obtained in step S1 to ensure that the ratio of the shortest side length in each patch matches a preset value; If the longest side length of each patch image cannot be matched after scaling, it will be filled with 0 to ensure the proportion matching; Then, the image data is enhanced using the following formula to ensure that the target remains within the frame boundary after data enhancement: Where B H is the relative height of the marked box after data enhancement; B W is the relative width of the marked box after data enhancement; B h is the original height; B w is the original width; H and h are the set data enhancement coefficients.
4. The method for diagnosing faults of industrial equipment in a power system according to claim 3, characterized in that The construction of an initial model for fault diagnosis of industrial equipment in a power system based on the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model described in step S3 includes the following steps: Constructing the initial model of fault diagnosis of industrial equipment in power system includes fault classification module, fault derivation module and fault diagnosis module; Build a fault classification module based on the Faster-RCNN network; The fault classification module is used to extract image feature information and perform fault classification based on the input image data information; Construct a fault inference module based on multimodal knowledge graph; The fault deduction module is used to construct a multimodal knowledge graph and perform fault deduction based on the fault classification results and the input text data information, video data information and audio data information; Construct fault diagnosis module based on BART text generation model; The fault diagnosis module is used to perform final fault diagnosis.
5. The method for diagnosing faults of industrial equipment in a power system according to claim 4, characterized in that The fault classification module based on the Faster-RCNN network specifically includes the following steps: A fault classification module is constructed based on the Faster-RCNN network; the fault classification module consists of a feature extraction module, an RPN module, a RoIPooling module and an RCNN module; the feature extraction module includes 13 con layers, 13 relu layers and 4 pooling layers, which are used to extract the feature map of the target; the input of the RPN module is the feature map, which is used to select the candidate area of the target; the RoIPooling module takes the candidate area output by the RPN module and the feature map output by the feature extraction module as input, and integrates the two to obtain a fixed-size regional feature map for subsequent softmax classification; the RCNN module classifies the image through softmax and corrects the state of the object through bounding box regression.
6. The method for diagnosing faults of industrial equipment in a power system according to claim 5, characterized in that The construction of the fault deduction module based on the multimodal knowledge graph specifically includes the following steps: A fault inference module is constructed based on a multimodal knowledge graph. The fault inference module includes information representation, knowledge processing, and knowledge updating. In the inference phase, the entity information vector is obtained based on the extracted feature vector. After obtaining the text feature vector representing the entity information in the target scene, this information is mapped with the entities, attributes, and relationships stored in the knowledge base. The feature vector obtained in the visual detection phase is mapped to the entity-relationship-attribute vector in the knowledge graph using cosine similarity: In the formula, A i and B i denote the components of vector A and vector B respectively; According to the cosine similarity matching, the obtained entity-text vector corresponds to the entity and attribute value in the multimodal knowledge graph; the primary device entity, secondary device entity and fault phenomenon attribute value in the knowledge graph are used to form a triple; through semantic matching templates, path query and multi-hop query reasoning, the fault entity corresponding to the secondary device and attribute value is determined.
7. The method for diagnosing faults of industrial equipment in a power system according to claim 6, characterized in that The fault diagnosis module is constructed based on the BART text generation model, and specifically comprises the following steps: After the fault inference module retrieves the query node, it generates the answer text using the feature vector obtained by visual object detection using the node name; the feature vector is randomly generated and only contains detection results with a confidence level greater than 30%; the result is sorted in descending order to obtain a semi-ordered state of the text feature vector; then, the text feature vector is semantically matched with the name text of the node in the knowledge graph; the sorting operation is performed based on the matched node attributes to generate an ordered text vector, and the BART text generation model is used to generate interpretable fault text; the BART text generation model is a denoising autoencoder built using a sequence-to-sequence model for various text generation tasks; the BART text generation model uses a standard Transformer-based neural machine translation architecture, corrupts the input text using a noise function, and learns to reconstruct the original text into a sequence-to-sequence model, so that it can process the original input text and effectively learn text reconstruction.
8. A system for implementing the method for diagnosing faults of industrial equipment in a power system according to any one of claims 1 to 7, characterized in that It includes a data acquisition module, a data processing module, a model building module, a model training module and a fault diagnosis module; the data acquisition module, the data processing module, the model building module, the model training module and the fault diagnosis module are connected in series in sequence; the data acquisition module is used to obtain multimodal data information of existing power system industrial equipment, and upload the data information to the data processing module; The data processing module is used to pre-process the acquired data information according to the received data information, construct a training data set, and upload the data information to the model construction module; The model building module is used to build an initial model for fault diagnosis of industrial equipment in the power system based on the received data information, the Faster-RCNN network, the multimodal knowledge graph and the BART text generation model, and upload the data information to the model training module; The model training module is used to train the constructed initial model of fault diagnosis of industrial equipment in power system according to the received data information and the obtained training data set, obtain the fault diagnosis model of industrial equipment in power system, and upload the data information to the fault diagnosis module; the fault diagnosis module is used to perform actual fault diagnosis of industrial equipment in power system according to the received data information and the obtained fault diagnosis model of industrial equipment in power system.
Citation Information
Cited By
Industrial equipment fault diagnosis system and method based on image recognition
CN119579548A
Transformer fault diagnosis method and system based on multi-modal pre-training model
CN121438326A
