A method for fault detection of electrical equipment based on improved infrared detection model

Through deep convolutional neural network and transfer learning technology, feature extraction and target detection are performed on infrared images, which solves the problems of low recognition accuracy and high manual dependence of infrared detection systems in electrical equipment fault diagnosis, and realizes the detection of various electrical equipment. Accurate identification and fault diagnosis of equipment and parts improve the safety and operational stability of the substation.

CN114199381BActive Publication Date: 2024-08-23STATE GRID SHAANXI ELECTRIC POWER CO YANAN POWER SUPPLY CO
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202111518315.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-13
Publication Date
2024-08-23
Estimated Expiration
2041-12-13

AI Technical Summary

Technical Problem

Existing infrared detection systems have problems such as reduced image quality, low recognition accuracy, high manual dependence, and low processing efficiency in electrical equipment fault diagnosis, especially in complex backgrounds and multi-target detection scenarios.

Method used

Use deep convolutional neural network models such as VGG16 and ResNet50, combined with RPN and non-maximum suppression ideas, to perform feature extraction and target detection on infrared images. By pre-training the model through transfer learning and fine-tuning, it can realize the detection of various electrical equipment and parts. Category determination and precise positioning, and the recognition accuracy is improved through the category correction function.

Benefits of technology

It significantly improves the identification accuracy of electrical equipment, reduces management costs and human and material consumption, and improves the safety of substations and the stable operation of electrical equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114199381B
    Figure CN114199381B
Patent Text Reader

Abstract

The present invention provides an electrical equipment fault detection method with an improved infrared detection model, which classifies and accurately locates a variety of electrical equipment and parts in infrared images, overcomes the problems of single-type equipment recognition, complex background, and poor image segmentation effect, improves the accuracy of equipment recognition, and improves the safety of substations. The method includes the following steps: collecting infrared images to be detected and sending them into a pre-trained infrared detection model; using RPN to generate region suggestions and using border regression to correct them; classifying all region suggestions in a region suggestion feature map, identifying and marking the category to which each region suggestion belongs; performing border regression on the region suggestions of the identified category to further correct the position of the region suggestion in the infrared image to be detected, and locating the faulty electrical equipment; combining infrared acquisition equipment to obtain thermal status information of the faulty electrical equipment for fault diagnosis, and generating defect reports and maintenance suggestions, and the fault detection is completed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of image detection, in particular to an electrical equipment fault detection method with an improved infrared detection model. Background Art

[0002] At present, actively exploring the construction of intelligent substations has become a mainstream trend. Many substations have installed infrared detection systems. Through inspection methods such as fixed infrared cameras and manual handheld infrared thermal imagers, a large number of infrared images collected are transmitted to the monitoring system through network communication technology, and the technicians of the monitoring center conduct troubleshooting on the collected images. At present, the infrared images collected by infrared devices such as infrared cameras and intelligent inspection robots often contain multiple types of equipment, and due to the influence of factors such as environment, light and shooting angle, infrared images will have different degrees of distortion, blurring or noise mixing, resulting in image quality degradation; electrical equipment in the image will also show low resolution and multi-morphological characteristics. In addition, some existing infrared detection systems rely heavily on technicians when conducting fault diagnosis, and require high professional knowledge and experience of technicians, and need to have the ability of intelligent analysis and decision-making. Moreover, these fault data are characterized by massive, high frequency and dispersion. Relying on manual troubleshooting requires a lot of manpower and material resources, and accuracy is difficult to guarantee.

[0003] Traditional machine learning can usually only solve problems in a single field. The basic process is to first obtain a learned network model through a large amount of sample data training, and then use the model to classify the test samples. Traditional machine learning frameworks usually have to meet two conditions: the number of training samples is sufficient and the test samples and training samples have the same distribution. With the continuous development of artificial intelligence technology, the application fields of machine learning are becoming more and more extensive. Massive amounts of data are generated in various fields. It is inevitable that the old data will be wasted because they are not suitable for new tasks. In addition, due to the limited number of samples in some fields, the recognition accuracy is low after training and learning, and overfitting is prone to occur. Traditional image detection methods require manual selection of optimal parameters, resulting in low processing efficiency and poor robustness, and cannot meet the requirements of real-time detection of large amounts of data and multi-target detection and recognition.

[0004] In addition, when using the Faster RCNN infrared detection model to detect and identify electrical equipment in infrared images, the recognition error rate is high due to the similar appearance of equipment parts, which brings great trouble to the subsequent electrical equipment fault diagnosis. Summary of the invention

[0005] In order to solve the problems existing in the prior art, the present invention provides an electrical equipment fault detection method with an improved infrared detection model, which performs category determination and precise positioning of various electrical equipment and parts in infrared images, overcomes the problems of single-type equipment recognition, complex background, and poor image segmentation effect, greatly improves the equipment recognition accuracy, reduces management costs and consumption of manpower and material resources, improves the safety of substations, and ensures the safe and stable operation of electrical equipment in substations.

[0006] To achieve the above object, the present invention provides the following technical solutions:

[0007] An electrical equipment fault detection method using an improved infrared detection model comprises the following steps:

[0008] Collect the infrared image to be detected and send it to the pre-trained infrared detection model to extract features of the infrared image to be detected and generate a feature map;

[0009] RPN is used to generate region proposals on the feature map through anchor points and determine whether the generated region proposal is the target electrical equipment to be detected. If not, the infrared image to be detected is re-extracted. If so, the generated region proposal is preliminarily corrected by using bounding box regression;

[0010] Convert the region proposals of different sizes after preliminary correction into region proposals of fixed length, integrate the region proposals of fixed length and the feature map generated in the infrared detection model, and obtain a region proposal feature map of fixed size;

[0011] Classify all region proposals in the region proposal feature map and identify the category to which each region proposal belongs;

[0012] Perform bounding box regression on the region proposal of the identification category to further correct the position of the region proposal in the infrared image to be detected and locate the faulty electrical equipment;

[0013] Combined with infrared acquisition equipment, the thermal status information of the faulty electrical equipment is obtained for fault diagnosis, and defect reports and maintenance suggestions are generated to complete the fault detection.

[0014] Preferably, it also includes preprocessing the region proposal generated by RPN based on the idea of ​​non-maximum suppression, and the preprocessing includes:

[0015] Score all region proposals generated by RPN and sort them from large to small or from small to large according to the scores;

[0016] Select the region proposal with the highest score, and then calculate the overlap between other region proposals and the region proposal with the highest score. If the overlap between a region proposal and the region proposal with the highest score exceeds the set overlap threshold, delete the region proposal and keep the region proposal with the highest score.

[0017] Reselect the region proposal with the highest score from the remaining region proposals and repeat the above process until all region proposals are screened.

[0018] Preferably, the set overlap threshold range is 0-0.5.

[0019] Preferably, the calculation formula of the overlap is:

[0020]

[0021] Among them, IoU is the overlap between other region proposals and the region proposal with the highest score, area(C) is the area of ​​other region proposals, area(G) is the area of ​​the region proposal with the highest score, ∩ is the intersection of the areas of two region proposals, and ∪ is the union of the areas of two region proposals.

[0022] Preferably, the method further includes modifying the category of the identified region suggestion based on the non-maximum suppression idea, wherein the category modification includes:

[0023] All region proposal categories are divided into two categories: equipment and parts. The inclusion relationship between parts and equipment is determined by comparing the ratio of the overlapping area of ​​region proposals in equipment and parts to the area of ​​region proposals in parts.

[0024] If the ratio is not less than the set threshold, the region suggestion in the part belongs to the region suggestion in the device, and the region suggestion in the part is corrected in category by modifying the name prefix of the region suggestion in the part to be consistent with the device;

[0025] If the ratio is less than the set threshold, the region proposal in the part does not belong to the region proposal in the device, and the category correction of the next region proposal in the part continues until the category correction of all region proposals is completed.

[0026] Preferably, the calculation formula for the overlap area ratio is:

[0027]

[0028] Among them, AoR is the overlap area ratio, area(B j ) is the recommended area of ​​the region in the part, area(A j ) is the area of ​​the region proposal in the device, and ∩ is the intersection of the two region proposal areas.

[0029] Preferably, the infrared detection model adopts a pre-trained VGG16, ResNet50 or ResNet101 convolutional neural network model.

[0030] Preferably, the pre-training process includes:

[0031] Conduct preliminary training on the infrared detection model on the ImageNet dataset;

[0032] The infrared detection model that has completed preliminary training is used to adjust the network weights of the infrared detection model on the established infrared image dataset.

[0033] Preferably, the establishing of the infrared image dataset includes establishing a multi-labeled infrared image dataset using a selective search algorithm.

[0034] Preferably, the obtaining of thermal status information of the target electrical device to be detected includes using an absolute temperature method and a relative temperature difference method to determine whether the operating status is normal based on the surface temperature and relative temperature of the area of ​​the target electrical device to be detected.

[0035] Compared with the prior art, the present invention has the following beneficial effects:

[0036] The present invention provides an electrical equipment fault detection method for an improved infrared detection model, extracting a deep convolutional neural network model with good performance in the field of image features as a basic feature extraction network to extract features of various electrical equipment in infrared images, thereby avoiding the cumbersome steps and complicated calculations involved in traditional manual feature extraction methods, greatly improving the calculation efficiency, and overcoming the problem that traditional features have weak representation capabilities on complex data sets. The infrared detection model is pre-trained using the principle of transfer learning, which can greatly reduce the time required for training the network while extracting good features. At the same time, the Faster RCNN target detection algorithm is improved using the NMS idea, thereby classifying and accurately locating various electrical equipment and parts in infrared images, overcoming the problems of single-type equipment recognition, complex background, and poor image segmentation effect, and the accuracy of equipment recognition has been greatly improved, achieving good application effects.

[0037] In order to solve the problem of low accuracy of electrical equipment part recognition by Faster RCNN infrared detection model, the present invention improves Faster RCNN by referring to the idea of ​​non-maximum suppression, adds a category correction function on the basis of the original algorithm, and establishes an association between the equipment area suggestion and the equipment part area suggestion by calculating the area overlap ratio, so that the model can perform category correction on the wrongly recognized equipment part type, thereby improving the recognition accuracy of electrical equipment in infrared images. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a schematic diagram of the electrical equipment fault detection process of the present invention;

[0039] Figure 2 is a flow chart of a fault detection algorithm in an embodiment of the present invention;

[0040] Figure 3 Schematic diagram of the Faster RCNN model of the present invention;

[0041] Figure 4 It is a classification process diagram of the VGG16 pre-training model of the present invention;

[0042] Figure 5 is the anchor point block diagram of the present invention;

[0043] Figure 6 is the frame regression graph of the present invention;

[0044] Figure 7 It is a structural diagram of RPN of the present invention;

[0045] Figure 8 is the classification and bounding box regression diagram of the present invention;

[0046] Fig. 9 It is a comparison chart of the overall recognition accuracy before and after the improvement of Faster RCNN in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] The present invention is further described in detail below in conjunction with specific embodiments, which are intended to explain the present invention rather than to limit it.

[0048] like Figure 2 As shown, the present invention uses Faster RCNN technology to perform feature extraction, target detection, pattern recognition and other related algorithms to analyze and process the collected infrared images of high-voltage electrical equipment such as lightning arresters, current transformers (CTs), voltage transformers (PTs), circuit breakers, and disconnectors, thereby realizing intelligent recognition and diagnosis of infrared images of electrical equipment.

[0049] like Figure 1 As shown, the present invention provides an electrical equipment fault detection method with an improved infrared detection model, comprising the following steps:

[0050] Collect the infrared image to be detected and send it to the pre-trained infrared detection model to extract features of the infrared image to be detected and generate a feature map; wherein the pre-trained infrared detection model can use a transfer learning method to set the network structure and weight parameters of the VGG16 pre-trained model trained on the ImageNet dataset as the initial state of the infrared detection model;

[0051] RPN is used to generate region proposals on the feature map through anchor points and determine whether the generated region proposal is the target electrical equipment to be detected. If not, the infrared image to be detected is re-extracted. If so, the generated region proposal is preliminarily corrected by using bounding box regression;

[0052] Convert the region proposals of different sizes after preliminary correction into region proposals of fixed length, integrate the region proposals of fixed length and the feature map generated in the infrared detection model, and obtain a region proposal feature map of fixed size;

[0053] Classify all region proposals in the region proposal feature map and identify the category to which each region proposal belongs;

[0054] Perform bounding box regression on the region proposal of the identification category to further correct the position of the region proposal in the infrared image to be detected and locate the faulty electrical equipment;

[0055] Combined with infrared acquisition equipment, the thermal status information of the faulty electrical equipment is obtained for fault diagnosis, and defect reports and maintenance suggestions are generated to complete the fault detection.

[0056] The present invention provides an electrical equipment fault detection method for an improved infrared detection model. On the basis of Faster RCNN, a VGG16 deep convolutional neural network model with good performance in the field of image features is extracted as a basic feature extraction network to extract features of various electrical equipment in infrared images, thereby avoiding the cumbersome steps and complicated calculations involved in traditional manual feature extraction methods, greatly improving the calculation efficiency, and overcoming the problem that traditional features have weak representation capabilities on complex data sets. By utilizing the principle of transfer learning, the network structure and weights of the VGG16 pre-trained model trained on the ImageNet data set are retrained on the infrared data set, and the network parameters are fine-tuned. While extracting good features, the time required for training the network is greatly reduced. At the same time, the Faster RCNN target detection algorithm is improved using the NMS idea, thereby classifying and accurately locating various electrical equipment and parts in infrared images, overcoming the problems of single-class equipment recognition, complex background, and poor image segmentation effect, and the equipment recognition accuracy has been greatly improved, achieving good application effects.

[0057] The Faster RCNN infrared detection model in this invention integrates the four steps of target detection feature extraction, region proposal generation, classification and bounding box regression into a deep network framework. All calculations are not repeated and are completed entirely on the GPU, which greatly improves the running speed. Figure 3 As shown in the figure, it can be clearly seen that for an infrared image of any size PxQ, the network first scales it to a fixed size MxN, and then sends it to the V6616 model for feature extraction and generates a feature map; the RPN network generates a region proposal on the feature map and determines whether the region proposal is a target, and performs bounding box regression on the region proposal; Roi Pooling integrates the feature map and region proposal and sends them to the fully connected layer for classification and final bounding box regression to complete detection, positioning and classification.

[0058] Furthermore, when performing target detection and classification processing, the present invention adopts a selective search SS (Selected Search) algorithm to assist in distinguishing and marking target categories and positions in samples, and establishes a multi-labeled infrared image data set to improve parameter learning effects, thereby improving the engineering practicality of infrared thermal imaging detection of electrical equipment.

[0059] The emergence and continuous development of transfer learning has transformed the process of machine learning from the original learning mode of starting from scratch each time to a cumulative learning mode. Transfer learning has high data tolerance, does not require the same distribution of data in the target field, and has good flexibility and scalability. Therefore, the present invention abandons the use of random initialization parameter methods, and uses transfer learning methods to use the network structure and weight parameters of the VGG16 pre-trained model trained on the ImageNet dataset as the initial state of the infrared thermal imaging detection model of electrical equipment, and then fine-tunes the entire network weights on the infrared dataset, and updates all parameters in the model to adapt to new classification tasks, so as to better extract infrared image features, such as Figure 4 shown.

[0060] Furthermore, after using the VGG16 pre-trained model to extract image features, the feature map of the infrared image can be obtained. Each layer of the convolutional network extracts more abstract features based on the information of the previous layer. Finally, after several convolutional pooling operations, the feature value is much smaller than the original image in spatial dimension, but represents a deeper feature map. However, when there are too few infrared image samples, the model is prone to overfitting during training. In order to maintain a dynamic balance between model complexity and data volume, the present invention uses regularization to reduce the weight of high-dimensional parameter values, so that the parameters automatically adapt to infrared images of different shooting angles, and tune the size of each convolutional layer and filter parameters to a reasonable range to improve its generalization performance.

[0061] Furthermore, in the present invention, RPN generates region proposals directly on the feature map through anchor points, introducing a multi-scale method commonly used in detection. Anchor points are boxes with fixed positions and sizes, which can be understood as fixed region proposals set in advance. According to the infrared image settings, 9 anchor boxes of different sizes and ratios (1:1, 1:2, and 2:1) will be generated for each pixel in the feature map, such as Figure 5 As shown in the figure, the initial anchor box is very inaccurate, so the RPN network adjusts the anchor through bounding box regression to better fit its predicted target.

[0062] Region proposals are generally represented by four-dimensional vectors (x, y, w, h), which represent the center coordinates and width and height of the window respectively. Figure 6 As shown in the figure, box A represents the original target location generated by the RPN network, and box G represents the real target location. Bounding box regression is to find a relationship so that the original target A can be mapped to a regression window G' that is closer to the real target G. That is, given A = (A x ,A y ,A w ,A h ), find a mapping f such that f(A x ,A y ,A w ,A h )=(G' x ,G' y ,G' w ,G' h ), where (G' x ,G' y ,G' w ,G' h )≈(G x ,G y ,G w ,G h ).

[0063] The simpler ideas are translation and scaling operations, and the calculation formulas are shown in equations 1 and 2 respectively:

[0064]

[0065]

[0066] Observing formulas (1) and (2), we can find that what needs to be learned is d x (A),d y (A),d w (A),d h (A) These four transformations. When the difference between the original input target A and the true target G is small, this transformation can be considered a linear transformation, and the target area can be fine-tuned through linear regression modeling. For a given input feature vector X (x, y, w, h), learn a set of parameters W so that the value after linear regression is very close to the true value Y, that is, Y = WX.

[0067] Through anchor and bounding box regression, the RPN network can accept all region proposals and output a set of good proposals for the target. The RPN network contains two outputs: the first output is the probability of the anchor as a target. The RPN does not care about the category of the target, but only cares whether it is actually a target (rather than background); the second output is bounding box regression, which is used to adjust the anchor to better fit its predicted target, such as Figure 7 shown.

[0068] Furthermore, ROI Pooling integrates the region proposals generated by RPN and the feature maps obtained by VGG16 to generate region proposal feature maps and converts inputs of different sizes into outputs of fixed length to obtain fixed-size proposal feature maps; then, all region proposals in the image are identified, the class to which the region proposals belong is output, and bounding box regression is performed again to further correct the precise position of the region proposals in the image, such as Figure 8 shown.

[0069] Furthermore, it also includes preprocessing the region proposal generated by RPN based on the idea of ​​non-maximum suppression, and the preprocessing includes:

[0070] Score all region proposals generated by RPN and sort them from large to small or from small to large according to the scores;

[0071] Select the region proposal with the highest score, and then calculate the overlap between other region proposals and the region proposal with the highest score. If the overlap between a region proposal and the region proposal with the highest score exceeds the set overlap threshold, delete the region proposal and keep the region proposal with the highest score.

[0072] Reselect the region proposal with the highest score from the remaining region proposals and repeat the above process until all region proposals are screened.

[0073] Non-Maximum Suppression (NMS) is to suppress elements that are not maximum values, which can be understood as a local maximum search. This local represents a neighborhood, and the neighborhood has two variable parameters: the dimension of the neighborhood and the size of the neighborhood.

[0074] In order to solve the problem of low accuracy of electrical equipment part recognition by the Faster RCNN infrared detection model, the present invention improves Faster RCNN by referring to the idea of ​​non-maximum suppression. When performing target detection, a window sliding method is generally adopted to generate many region suggestions on the infrared image, and then these region suggestions are sent to the classifier after feature extraction, and the region suggestion scores are sorted. The region suggestion with the highest score is selected, and then the overlap IoU of other region suggestions and the current region suggestion is calculated. IoU is called Intersection over Union, which calculates the ratio of the intersection and union of the predicted border and the real border.

[0075] In this embodiment, the IoU threshold is an optimizable parameter, generally ranging from 0 to 0.5, and cross-validation can be used to select the optimal parameter.

[0076] The calculation formula of the overlap is:

[0077]

[0078] Among them, IoU is the overlap between other region proposals and the region proposal with the highest score, area(C) is the area of ​​other region proposals, area(G) is the area of ​​the region proposal with the highest score, ∩ is the intersection of the areas of two region proposals, and ∪ is the union of the areas of two region proposals.

[0079] If the overlap is greater than a certain threshold, it will be deleted. The same electrical equipment may have several high-scoring area suggestions, and you can choose the one with the best effect.

[0080] Non-maximum suppression is actually an iterative process. The specific processing method is as follows:

[0081] If there are 6 areas, it is recommended to sort them in ascending order according to the classification scores: A, B, C, D, E, and F.

[0082] (1) First, select the region proposal F with the maximum score and determine whether the overlap ratio IoU between A~E and F is greater than a certain set threshold.

[0083] (2) If the overlap between A and C and F exceeds the threshold, then A and C are deleted and F is marked as the first retained region proposal.

[0084] (3) From the remaining rectangular boxes B, D, and E, select E with the highest score, and then determine the overlap between E and B and D. If the overlap is greater than a certain threshold, then delete B and D, and mark E as the second retained region proposal.

[0085] (4) Repeat the above process to find all retained region proposals.

[0086] After the region proposal is generated, it is sent to the subsequent fully connected layer or classifier for classification processing. However, the fully connected layer or classifier following the convolutional neural network generally requires a fixed input size, so the input data has to be cropped or warped. These preprocessing will cause data loss or geometric distortion. In the actual application of infrared intelligent recognition, different infrared equipment manufacturers result in different sizes of collected infrared images; in addition, due to different shooting distances, different angles, and different sizes of electrical equipment, the scales of the devices in the infrared image will be different. To address this problem, Faster RCNN processes the image through the following two operations to adapt to the multi-scale problem of device images.

[0087] 1) To address the problem of different sizes of infrared images, Faster RCNN will scale all images to a fixed size after receiving the original infrared images to ensure that the size of the feature maps obtained after several convolution and pooling operations is uniform.

[0088] 2) To solve different problems in region proposal, the ROIPooling layer is introduced between the convolutional layer and the fully connected layer of Faster RCNN. The ROI Pooling layer can be regarded as a single-layer SPP Net (Spatial Pyramid Pooling) network layer, which can map inputs of different sizes to a feature vector of a fixed scale, so that the output scale is always fixed.

[0089] Furthermore, it also includes modifying the category of the identified region suggestion based on the non-maximum suppression idea, and the category modification includes:

[0090] All region proposal categories are divided into two categories: equipment and parts. The inclusion relationship between parts and equipment is determined by comparing the ratio of the overlapping area of ​​region proposals in equipment and parts to the area of ​​region proposals in parts.

[0091] If the ratio is not less than the set threshold, the region suggestion in the part belongs to the region suggestion in the device, and the region suggestion in the part is corrected in category by modifying the name prefix of the region suggestion in the part to be consistent with the device;

[0092] If the ratio is less than the set threshold, the region proposal in the part does not belong to the region proposal in the device, and the category correction of the next region proposal in the part continues until the category correction of all region proposals is completed.

[0093] In order to solve the problem of low accuracy of electrical equipment part recognition by Faster RCNN infrared detection model, the present invention improves Faster RCNN by referring to the idea of ​​non-maximum suppression, adds a category correction function on the basis of the original algorithm, and establishes an association between the equipment area suggestion and the equipment part area suggestion by calculating the area overlap ratio, so that the model can perform category correction on the wrongly recognized equipment part type, thereby improving the recognition accuracy of electrical equipment in infrared images.

[0094] The calculation formula of the overlapping area ratio is:

[0095]

[0096] Among them, AoR is the overlap area ratio, area(B j ) is the recommended area of ​​the region in the part, area(A j ) is the area of ​​the region proposal in the device, and ∩ is the intersection of the two region proposal areas.

[0097] The specific implementation steps for category correction are as follows:

[0098] (1) All the area recommendations identified by the infrared image are divided into two categories according to the naming rules: equipment as a whole A and equipment part B (the naming rule of the equipment as a whole is the abbreviation of the equipment, such as lightning arrester "BLQ" and circuit breaker "DLQ"; the naming rule of equipment part is "equipment_part", such as lightning arrester joint "BLQ_JT" and circuit breaker porcelain bottle casing "DLQ_CT"). After the classification is completed, all the area recommendations in A and B are sorted in ascending order according to the area.

[0099] (2) Select the smallest region proposal Ai from A and traverse the region proposals in B in turn (B j ) and A i The area overlap ratio is calculated as follows:

[0100]

[0101] Then compare the AoR with the set threshold 0.8. If AoR>=0.8, it means that region proposal B j Most of the area is included in A i In the above, we can assume that B j Belongs to the whole equipment A i Then for B j Make a category correction if B j The name prefix (i.e. the device name before the "_") is the same as A i The names are the same, indicating that the part identification is correct and no correction is required; if Bj Name prefix with A i Different names indicate that the part identification error needs to be corrected. The correction method is to modify B j Name prefix with A i The same is enough. And add array index to ensure that subsequent traversal will not access it again, reducing the amount of calculation and shortening the processing time.

[0102] If AoR < 0.8, then B j Not A i , do not process and continue to the next area suggestion B j +1 for the calculation.

[0103] Traverse the region proposals in A one by one and repeat process (2) until all region proposals are modified.

[0104] Preferably, the infrared detection model uses a pre-trained VGG16, ResNet50 or ResNet101 convolutional neural network model as the infrared detection model to extract features of the infrared image to be detected.

[0105] Furthermore, the pre-training process includes:

[0106] Conduct preliminary training on the infrared detection model on the ImageNet dataset;

[0107] The infrared detection model that has completed preliminary training is used to adjust the network weights of the infrared detection model on the established infrared image dataset.

[0108] Furthermore, the establishing of the infrared image dataset includes establishing a multi-labeled infrared image dataset using a selective search algorithm.

[0109] Furthermore, the obtaining of thermal status information of the target electrical device to be detected includes using an absolute temperature method and a relative temperature difference method to determine whether the operating status is normal based on the surface temperature and relative temperature of the target electrical device area to be detected.

[0110] In order to realize real-time status detection and automatic fault diagnosis of electrical equipment, the present invention also designs and develops a set of infrared imaging intelligent recognition and diagnosis system based on Web. Through the Faster RCNN infrared detection model, the collected infrared images are intelligently analyzed and processed to accurately locate and identify various types of equipment in the infrared images. At the same time, the absolute temperature method and relative temperature difference method are used to perform secondary judgment on the thermal status information of the identified equipment area to give accurate operating status and fault type, and defect reports and maintenance suggestions are generated through manual secondary analysis.

[0111] The present invention uses target detection, pattern recognition and other means to analyze and process infrared images collected by cameras, infrared thermal imagers, intelligent inspection robots and other equipment, accurately locates the positions of various electrical equipment in infrared images and identifies the types of electrical equipment, and at the same time, combines the thermal state information of electrical equipment obtained by infrared acquisition equipment to perform fault diagnosis on electrical equipment, and generates defect reports and gives maintenance suggestions. By performing intelligent analysis and diagnosis on the acquired infrared images, the intensity of manual inspections can be greatly reduced, management costs and human and material consumption can be reduced, and the safety of substations can be improved, which is of great significance to ensuring the safe and stable operation of electrical equipment in substations.

[0112] Example

[0113] The technology of the present invention is applied to statistically analyze the recognition results of 5517 infrared test images in the test set, and the recognition accuracy of four types of equipment, namely, lightning arresters, voltage transformers, current transformers and circuit breakers, with a large number of samples, is selected to illustrate the application effect of the electrical equipment fault detection method based on the Faster RCNN infrared detection model provided by the present invention before and after improvement, as shown in Table 1 below.

[0114] Table 1 Comparison of recognition accuracy before and after Faster RCNN algorithm improvement

[0115]

[0116]

[0117] It can be seen from the table that the recognition accuracy of the four types of equipment has been improved to varying degrees after the electrical equipment fault detection method based on the Faster RCNN infrared detection model provided by the present invention is adopted. The newly added category correction function in the present invention has significantly improved the recognition accuracy of the electrical equipment parts, thereby improving the overall recognition accuracy of the equipment. The overall recognition accuracy of electrical equipment with the improved Faster RCNN algorithm reached 92.8%, which is 9.7 percentage points higher than the 83.1% before the improvement. The comparison results are as follows Fig. 9 shown.

[0118] In addition to the above-mentioned embodiments, the present invention also provides comparative experiments between several other embodiments, including comparing the performance of three feature extraction networks, VGG16, ResNet50 and ResNet101. Table 2 below is the results of the performance comparison experiments of the three feature extraction networks.

[0119] Table 2 Comparison of feature extraction network performance

[0120]

[0121] The experimental results show that the three convolutional neural network models, VGG16, ResNet50 and ResNet101, can achieve good classification results when extracting features from infrared images of electrical equipment. Among them, the VGG16 model has the shortest running time, and the ResNet101 model has the highest recognition accuracy, but it has higher requirements for computer configuration and the corresponding running time is also the longest.

[0122] To achieve the above-mentioned purpose, the main technical means adopted in the present invention shall be described clearly, completely and accurately, and the essential content of the invention shall be explained. The degree of disclosure shall be based on the understanding and implementation of ordinary technicians in the relevant technical field.

Claims

1. An electrical equipment fault detection method using an improved infrared detection model, characterized in that: The following steps are included: Collect the infrared image to be detected and send it to the pre-trained infrared detection model to extract features of the infrared image to be detected and generate a feature map; RPN is used to generate region proposals on the feature map through anchor points and determine whether the generated region proposal is the target electrical equipment to be detected. If not, the infrared image to be detected is re-extracted. If so, the generated region proposal is preliminarily corrected by using bounding box regression; Convert the region proposals of different sizes after preliminary correction into region proposals of fixed length, integrate the region proposals of fixed length and the feature map generated in the infrared detection model, and obtain a region proposal feature map of fixed size; Classify all region proposals in the region proposal feature map and identify the category to which each region proposal belongs; Perform bounding box regression on the region proposal of the identification category to further correct the position of the region proposal in the infrared image to be detected and locate the faulty electrical equipment; Combined with infrared acquisition equipment, the thermal status information of faulty electrical equipment is obtained for fault diagnosis, and defect reports and repair suggestions are generated to complete fault detection; It also includes class correction based on the idea of ​​non-maximum suppression for the class to which the identified region suggestion belongs. The class correction includes: All region proposal categories are divided into two categories: equipment and parts. The inclusion relationship between parts and equipment is determined by comparing the ratio of the overlapping area of ​​region proposals in equipment and parts to the area of ​​region proposals in parts. If the ratio is not less than the set threshold, the region suggestion in the part belongs to the region suggestion in the device, and the region suggestion in the part is corrected in category by modifying the name prefix of the region suggestion in the part to be consistent with the device; If the ratio is less than the set threshold, the region proposal in the part does not belong to the region proposal in the device, and the category correction of the next region proposal in the part continues until the category correction of all region proposals is completed.

2. The electrical equipment fault detection method of the improved infrared detection model according to claim 1 is characterized in that: It also includes preprocessing of the region proposals generated by RPN based on the idea of ​​non-maximum suppression. The preprocessing includes: Score all region proposals generated by RPN and sort them from large to small or from small to large according to the scores; Select the region proposal with the highest score, and then calculate the overlap between other region proposals and the region proposal with the highest score. If the overlap between a region proposal and the region proposal with the highest score exceeds the set overlap threshold, delete the region proposal and keep the region proposal with the highest score. Reselect the region proposal with the highest score from the remaining region proposals and repeat the above process until all region proposals are screened.

3. The electrical equipment fault detection method of the improved infrared detection model according to claim 2 is characterized in that: The set overlap threshold range is 0-0.

5.

4. The electrical equipment fault detection method of the improved infrared detection model according to claim 2 is characterized in that: The calculation formula of the overlap is: Among them, IoU is the overlap between other region proposals and the region proposal with the highest score, area(C) is the area of ​​other region proposals, area(G) is the area of ​​the region proposal with the highest score, I is the intersection of the areas of two region proposals, and U is the union of the areas of two region proposals.

5. The electrical equipment fault detection method of the improved infrared detection model according to claim 1, characterized in that: The calculation formula for the overlap area ratio is: Among them, AoR is the overlap area ratio, area(B j ) is the recommended area of ​​the region in the part, area(A j ) is the area of ​​the region suggestion in the device, and I is the intersection of the two region suggestion areas.

6. The electrical equipment fault detection method of the improved infrared detection model according to claim 1, characterized in that: The infrared detection model adopts a pre-trained VGG16, ResNet50 or ResNet101 convolutional neural network model.

7. The electrical equipment fault detection method of the improved infrared detection model according to claim 1, characterized in that: The pre-training process includes: Conduct preliminary training on the infrared detection model on the ImageNet dataset; The infrared detection model that has completed preliminary training is used to adjust the network weights of the infrared detection model on the established infrared image dataset.

8. The electrical equipment fault detection method of the improved infrared detection model according to claim 7, characterized in that: The establishing of the infrared image data set includes establishing a multi-labeled infrared image data set using a selective search algorithm.

9. The electrical equipment fault detection method of the improved infrared detection model according to claim 1, characterized in that: The obtaining of thermal status information of the target electrical equipment to be detected includes using an absolute temperature method and a relative temperature difference method to determine whether the operating status is normal based on the surface temperature and relative temperature of the area of ​​the target electrical equipment to be detected.

Citation Information

Patent Citations

  • Electric equipment thermal fault diagnosis method and system and electronic device

    CN107607207A

  • Deep learning-based multi-target locating method for power device infrared image

    CN108564565A

  • Fault diagnosis and positioning method based on transformer substation inspection robot system

    CN110850723A

  • Image recognition method and device

    CN111191570A

  • Power equipment fault diagnosis method based on infrared image

    CN111242123A