Typical defect intelligent identification method and system based on distribution network machine patrol image data

Using a dual-channel neural network model to identify defects in the distribution network system, combined with manual review and data updates, the problem of low efficiency and insufficient accuracy in distribution network defect identification technology is solved, and intelligent inspection and accurate identification of the distribution network system are realized.

CN114511794BActive Publication Date: 2024-09-06GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202210039208.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-13
Publication Date
2024-09-06
Estimated Expiration
2042-01-13

AI Technical Summary

Technical Problem

Existing distribution network defect identification technology relies on manual identification, which is inefficient and difficult to adapt to various shooting environments and data differences, resulting in insufficient defect identification accuracy.

Method used

A defect detection model based on a dual-channel neural network is used to extract key frame images from the video stream collected by the drone, and the VGG16 and DeepBit32 models are combined for feature extraction and fusion to achieve intelligent identification of defect locations and types in the distribution network system, and Optimize models through manual review and data updates.

Benefits of technology

It improves the accuracy and efficiency of distribution network defect identification and can adapt to a variety of scenarios. Combined with manual review and verification, it ensures the accuracy of defect identification and updates the model in real time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114511794B
    Figure CN114511794B
Patent Text Reader

Abstract

The present disclosure provides a typical defect intelligent identification method and system based on distribution network machine patrol image data, which relates to the technical field of distribution network defect identification. The method comprises obtaining a video stream collected by a drone for monitoring a distribution network system, extracting a key frame image from the video stream; identifying whether there are typical defects of the distribution network system in the key frame image through a defect detection model; when it is identified that there are typical defects of the distribution network system in the key frame image, marking the defect position and defect type of the typical defect in the key frame image, and displaying the marked key frame image; for manual review of whether the defect position and defect type of the typical defect in the marked key frame image have been verified; in response to a confirmation message of the manual review and verification, storing the marked key frame image as a defect feature image in a sample data set to retrain a dual-channel neural network model; the present disclosure can realize intelligent inspection of the distribution network system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to, but is not limited to, the field of distribution network defect recognition technology, and in particular to a typical defect intelligent recognition method and system based on distribution network machine patrol image data. Background Art

[0002] The application of drone inspection in the domestic power system has developed rapidly. At present, the fault diagnosis of the distribution system mostly relies on subsequent manual identification. However, the amount of data from drone inspection is large, and manual inspection requires a lot of manpower and material resources. Relying on the experience of personnel, it is impossible to find faults in a timely and complete manner, which affects the efficiency of distribution network fault diagnosis.

[0003] In the prior art, various traditional artificial intelligence methods and algorithms such as deep neural networks have been used for distribution network defect identification. However, due to the complex distribution network machine patrol image shooting environment, the distribution network defect identification algorithm has not yet been fully developed; in the distribution network line inspection process, the image acquisition methods are diverse, the shooting equipment models, resolutions, exposure values ​​and other parameters are different, and the shooting angles and distances are also quite different, which causes the same target or defect to present a variety of different forms in the captured images, and also increases the difficulty of the research on distribution network defect intelligent identification algorithms; in addition, transmission line defect identification relies on line sample data sets for defect identification, but the existing defect identification data for distribution network lines is limited, and it is difficult to identify defect faults relying on defect libraries.

[0004] In view of this, it is necessary to improve the existing typical defect identification method of the distribution network system to ensure the accuracy of defect identification, adapt to a variety of different scenarios, and realize intelligent inspection of the distribution network system. Summary of the invention

[0005] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0006] The embodiments of the present disclosure provide a method and system for monitoring the operating status of an insulated bearing of a motor to solve one or more technical problems existing in the prior art and at least provide a beneficial option or create conditions.

[0007] In a first aspect, the embodiments of the present disclosure provide a typical defect intelligent identification method based on distribution network machine patrol image data, including:

[0008] Step S110, obtaining a video stream collected by a drone for monitoring the distribution network system, and extracting a key frame image from the video stream;

[0009] Step S120, inputting the key frame image into a defect detection model to identify whether there are typical defects of the distribution network system in the key frame image; wherein the defect detection model is a dual-channel neural network model for detecting defect locations and defect types in the distribution network system, and the defect detection model is obtained by training the dual-channel neural network model using a sample data set, and the sample data set includes a defect feature image and a normal feature image, and the defect feature image is marked with the defect location and defect type of the typical defect of the distribution network system;

[0010] Step S130, when it is identified that a typical defect of the distribution network system exists in the key frame image, the defect location and defect type of the typical defect are marked in the key frame image to obtain a marked key frame image;

[0011] Step S140, displaying the marked key frame image, so as to allow manual review of whether the defect location and defect type of the typical defect in the marked key frame image have been verified;

[0012] Step S150, in response to a confirmation message of passing the manual review and verification, the marked key frame image is stored as a defect feature image in a sample data set to retrain the dual-channel neural network model.

[0013] In some embodiments, step S110 includes:

[0014] Step S210, controlling the drone to take multi-angle photos of each location in the distribution network system, and collecting a video stream of the inspection of the distribution network system;

[0015] Step S220, calling the drone SDK to obtain the video stream collected by the drone, and capturing key frame images from the video stream;

[0016] Step S230, compressing the key frame image using the JPEG algorithm, encoding it into a coded image in base64 format, and sending the coded image to the processing device via the http protocol;

[0017] Step S240: the processing device receives the encoded image and decodes it to obtain a key frame image.

[0018] In some embodiments, the defect detection model is trained by the following method:

[0019] Step S310, obtaining a sample data set, and dividing the sample data set into a training set and a validation set;

[0020] Step S320, constructing a dual-channel neural network model; the dual-channel neural network model includes a parallel VGG16 model and a DeepBit32 model, a feature fusion module, a fully connected layer, and an output layer;

[0021] Step S330, inputting the training set into the VGG16 model and the DeepBit32 model respectively, so as to extract the first image feature from the sample data set through the VGG16 model, and extract the second image feature from the sample data set through the DeepBit32 model; the first image feature is used to characterize the defect feature of the distribution network system, and the second image feature is used to characterize the equipment feature of the distribution network system;

[0022] Step S340, performing feature fusion on the first image feature and the second image feature through a feature fusion module to obtain a fused image feature;

[0023] Step S350, aggregating the obtained fused image features through a fully connected layer to obtain a vector, and performing vector transformation on the aggregated vector to obtain a one-dimensional image feature;

[0024] Step S360, using the back propagation algorithm of the error to train the dual-channel neural network model, using the verification set to verify the one-dimensional image features obtained by the training, when the error of the verification set is lower than the set threshold, or the error of the verification set changes from gradually decreasing to gradually increasing, or reaches the set number of training iterations, stop training the dual-channel neural network model; otherwise, execute step S320;

[0025] Step S370, using the trained dual-channel neural network model as a defect detection model.

[0026] In some embodiments, the dual-channel neural network model is represented by a four-element function, which is expressed as follows:

[0027] β=(F A ,F B ,Γ,C);

[0028] Among them, F A is the feature extraction function of the VGG16 model, F B is the feature extraction function of the DeepBit32 model, Γ is the pooling function, and C is the classification function.

[0029] In some embodiments, step S330 includes:

[0030] In the VGG16 model, for each convolutional layer L, a size k l *k l The convolution kernel and the M output of the previous convolution layer L-1The feature maps are convolved and transformed by a nonlinear function to obtain the first image feature:

[0031] In the DeepBit32 model, for each convolutional layer L, a size k l *k l The convolution kernel and the output of the previous convolution layer M L-1 The feature maps are convolved and the sum is transformed by a nonlinear function to obtain the second image feature.

[0032] In some embodiments, the feature fusion module includes a first fusion module, a second fusion module and a third fusion module, and step S340 includes:

[0033] Step S410, using a first fusion module to perform bilinear feature combination on the first image feature and the second image feature to obtain a first fused image feature representing a global image feature;

[0034] Step S420, using a second fusion module to perform flexible feature combination on the first image feature and the second image feature to obtain a second fused image feature that fuses the defect feature with the device feature;

[0035] Step S430, using a third fusion module to perform element-wise superposition on the first image feature and the second image feature to obtain a third fused image feature; wherein the third fused image feature is used to enhance the discriminability of defect classification by taking the device feature as additional information;

[0036] Step S440, fusing the first fused image feature, the second fused image feature and the third fused image feature to obtain a fused image feature;

[0037] The expression of the fused image feature is:

[0038] S n =φ(I)+w2L n +w3P n ;

[0039] Among them, φ(I) represents the first fused image feature, L n represents the second fused image feature, P n represents the third fused image feature, w2 represents the weight of the second fused image feature, and w3 represents the weight of the third fused image feature.

[0040] In the second aspect, the embodiments of the present disclosure also provide a typical defect intelligent identification system based on distribution network machine patrol image data, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, it implements the typical defect intelligent identification method based on distribution network machine patrol image data as described in the first aspect.

[0041] In a third aspect, an embodiment of the present disclosure further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the typical defect intelligent identification method based on distribution network machine patrol image data as described in the first aspect.

[0042] The disclosed embodiment includes: obtaining a video stream collected by a drone for monitoring a distribution network system, extracting a key frame image from the video stream; inputting the key frame image into a defect detection model to identify whether there are typical defects of the distribution network system in the key frame image; wherein the defect detection model is a dual-channel neural network model for detecting defect locations and defect types in the distribution network system, and the defect detection model is obtained by training the dual-channel neural network model using a sample data set, the sample data set includes a defect feature image and a normal feature image, and the defect feature image is marked with the defect location and defect type of the typical defect of the distribution network system; when a typical defect of the distribution network system is identified in the key frame image, the defect location and defect type of the typical defect are marked in the key frame image to obtain a marked key frame image; displaying the marked key frame image; for manual review of whether the defect location and defect type of the typical defect in the marked key frame image have been verified; in response to a confirmation message of the manual review and verification, the marked key frame image is stored as a defect feature image in the sample data set to retrain the dual-channel neural network model.

[0043] In the embodiments provided by the present disclosure, by adopting a dual-channel neural network model for training, the defect detection model obtained can be more accurate, and combined with manual review and verification, it can obtain a preliminary screening structure based on rapid computer recognition, while giving full play to the advantages of traditional manual recognition to ensure the accuracy of defect recognition. By using the real-time recognized defect feature image as a sample data set for training, a defect detection model that is more suitable for the current distribution network system can be updated in real time, and the generated fusion image features are more flexible and accurate, adapting to a variety of different scenarios, thereby realizing intelligent inspection of the distribution network system.

[0044] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.

[0046] Figure 1 It is a flow chart of a typical defect intelligent identification method based on distribution network machine patrol image data provided by an embodiment of the present disclosure;

[0047] Figure 2 is a structural diagram of a dual-channel neural network model in one embodiment of the present disclosure;

[0048] Figure 3 It is a structural diagram of a typical defect intelligent identification system based on distribution network machine patrol image data provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0049] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure 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 disclosure and are not used to limit the present disclosure.

[0050] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims or the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0051] like Figure 1 As shown, Figure 1 The flowchart of a typical defect intelligent identification method based on distribution network machine patrol image data provided by an embodiment of the present disclosure includes but is not limited to the following steps:

[0052] Step S110, obtaining a video stream collected by a drone for monitoring the distribution network system, and extracting a key frame image from the video stream;

[0053] Step S120, inputting the key frame image into a defect detection model to identify whether there are typical defects of the distribution network system in the key frame image; wherein the defect detection model is a dual-channel neural network model for detecting defect locations and defect types in the distribution network system, and the defect detection model is obtained by training the dual-channel neural network model using a sample data set, and the sample data set includes a defect feature image and a normal feature image, and the defect feature image is marked with the defect location and defect type of the typical defect of the distribution network system;

[0054] Step S130, when it is identified that a typical defect of the distribution network system exists in the key frame image, the defect location and defect type of the typical defect are marked in the key frame image to obtain a marked key frame image;

[0055] Step S140, displaying the marked key frame image, so as to allow manual review of whether the defect location and defect type of the typical defect in the marked key frame image have been verified;

[0056] Step S150, in response to a confirmation message of passing the manual review and verification, the marked key frame image is stored as a defect feature image in a sample data set to retrain the dual-channel neural network model.

[0057] In some embodiments, the distribution network system is monitored by a drone, and the drone obtains a video stream and sends it to a processing device (e.g., a background processor). The processing device extracts key frame images from the video stream, calls the defect detection model, detects the specific defect location and defect type in the distribution network system, issues a warning message, and displays the key frame images marked with the defect location and defect type on a display. After the results of the defect detection model recognition are manually reviewed and confirmed to be correct, a defect report can be generated with one click, and the key frame images are input into a sample data set as defect feature images for use in the next training of the defect detection model. It should be noted that the key frame images marked with the defect location and defect type can be viewed and managed through mobile phone APP and computers, and the present disclosure does not limit this.

[0058] In addition, in one embodiment, step S110 includes but is not limited to the following steps:

[0059] Step S210, controlling the drone to take multi-angle photos of each location in the distribution network system, and collecting a video stream of the inspection of the distribution network system;

[0060] Step S220, calling the drone SDK to obtain the video stream collected by the drone, and capturing key frame images from the video stream;

[0061] Step S230, compressing the key frame image using the JPEG algorithm, encoding it into a coded image in base64 format, and sending the coded image to the processing device via the http protocol;

[0062] Step S240: the processing device receives the encoded image and decodes it to obtain a key frame image.

[0063] In the embodiments provided by the present disclosure, for the two inspection operation modes of distribution network drone manual line inspection and drone autonomous inspection, the drone SDK is called to obtain the video stream and capture the key frame image from it; in this embodiment, it is necessary to ensure the corresponding shooting specification requirements, use multiple angles to shoot the same position, and pay attention to whether the camera focus is clear during the shooting process; by standardizing the defect sample pictures, the recognition and processing of the later image data are facilitated.

[0064] In addition, refer to Figure 2 In one embodiment, the defect detection model is trained by the following method:

[0065] Step S310, obtaining a sample data set, and dividing the sample data set into a training set and a validation set;

[0066] It should be noted that the defect feature images and normal feature images in the sample data set for the first training of the defect detection model are pre-collected images; specifically, feature images and normal feature images with various typical defects in the distribution network system are collected to form a sample data set for intelligent defect detection of the distribution network system; then, with the help of a marking tool, the defect location and defect type of the feature images with various typical defects are manually annotated through the defect marking software to generate defect feature images. Then, the number of samples of the defect feature image is expanded based on the image data enhancement algorithm, and the enhanced defect feature image will be modified accordingly according to the enhancement algorithm without the need for manual annotation again. During the drone inspection process, after the defect feature image is identified by the defect detection model trained in the early stage, the defect feature image is stored in the sample data set as a new sample data to retrain the dual-channel neural network model to obtain an updated defect detection model.

[0067] Step S320, constructing a dual-channel neural network model; the dual-channel neural network model includes a parallel VGG16 model and a DeepBit32 model, a feature fusion module, a fully connected layer, and an output layer;

[0068] In one embodiment, the dual-channel neural network model is represented by a four-element function, and its expression is as follows:

[0069] β=(F A ,F B ,Γ,C);

[0070] Among them, F A is the feature extraction function of the VGG16 model, F B is the feature extraction function of the DeepBit32 model, Γ is the pooling function, and C is the classification function;

[0071] In the embodiments provided by the present disclosure, a dual-channel neural network model is constructed using a VGG16 model with strong feature discrimination and a DeepBit32 model with certain rotation invariance to public dataset images as basic models. The VGG16 model includes 13 convolutional layers and 3 fully connected layers. The convolutional layer uses a small-sized convolution kernel with a size of 3*3. There are 5 maximum pooling layers between the convolutional layers, and the output dimension of the last layer is 1000; the DeepBit32 model includes 13 convolutional layers and 3 fully connected layers. The basic structure is similar to that of the VGG16 model, and the output dimension of the last layer is 32. The feature extraction of the sample data in the sample dataset is completed by the parallel VGG16 model and the DeepBit32 model.

[0072] Step S330, inputting the training set into the VGG16 model and the DeepBit32 model respectively, so as to extract the first image feature from the sample data set through the VGG16 model, and extract the second image feature from the sample data set through the DeepBit32 model; the first image feature is used to characterize the defect feature of the distribution network system, and the second image feature is used to characterize the equipment feature of the distribution network system;

[0073] Step S340, performing feature fusion on the first image feature and the second image feature through a feature fusion module to obtain a fused image feature;

[0074] Step S350, aggregating the obtained fused image features through a fully connected layer to obtain a vector, and performing vector transformation on the aggregated vector to obtain a one-dimensional image feature;

[0075] Specifically, in order to obtain a fixed-dimensional feature expression, the obtained fused image features are aggregated to obtain a vector X l , for vector X l Perform vector transformation to obtain one-dimensional image features;

[0076] The calculation formula of the one-dimensional image feature is:

[0077]

[0078] Among them, R 1*D Represents 1*D dimensional space, x i represents the i-th vector, X l =[x1,…,x i ,…,x d ]∈R1*D , D = h × w.

[0079] The deep feature map extraction method is used to obtain the activation of the training set in the last convolutional layer, and then the k-means clustering method is used to generate the codebook. Since the last convolutional layer obtains a tensor of size 14*14*512, the aggregated descriptor is 196-dimensional, and the final feature expression is a one-dimensional vector of k*196.

[0080] Step S360, using the back propagation algorithm of the error to train the dual-channel neural network model, using the verification set to verify the one-dimensional image features obtained by the training, when the error of the verification set is lower than the set threshold, or the error of the verification set changes from gradually decreasing to gradually increasing, or reaches the set number of training iterations, stop training the dual-channel neural network model; otherwise, execute step S320;

[0081] In some embodiments, since the error of the validation set changes from gradually decreasing to gradually increasing, after multiple iterations, the interval range of the minimum error value can be obtained, thereby determining a set threshold; in one embodiment, the number of iterations is set within 300 times.

[0082] Step S370, using the trained dual-channel neural network model as a defect detection model.

[0083] In one embodiment, step S330 includes but is not limited to the following steps:

[0084] In the VGG16 model, for each convolutional layer L, a size k l *k l The convolution kernel and the output of the previous convolution layer M L-1 The feature maps are convolved and transformed by a nonlinear function to obtain the first image feature:

[0085] In the DeepBit32 model, for each convolutional layer L, a size k l *k l The convolution kernel and the output of the previous convolution layer M L-1 The feature maps are convolved and the sum is transformed by a nonlinear function to obtain the second image feature.

[0086] In one embodiment, the expression of the j-th feature map is:

[0087]

[0088] in, is the jth feature map, M i-1 is the total number of feature maps output by the convolutional layer, is the j-1th feature map, represents the convolution kernel size of the i-th layer, represents the bias of the i-th convolution kernel, W i is of size k l *k l The convolution kernel of θ(x) is the ReLU function.

[0089] It should be noted that when the independent variable is greater than zero, the output of the ReLU function is the independent variable itself, and when the independent variable is less than or equal to zero, the output of the ReLU function is zero.

[0090] For an image with an input size of H×W, the feature map of the i-th layer extracted is a three-dimensional tensor of size h×w×d, which is composed of several feature maps. The expression of the feature map of the i-th layer is:

[0091] F={f1,f2,…,f i}(i=1,…,d);

[0092] Among them, f1 represents the feature map of size h×w.

[0093] In one embodiment, the feature fusion module includes a first fusion module, a second fusion module and a third fusion module, and step S340 includes but is not limited to the following steps:

[0094] Step S410, using a first fusion module to perform bilinear feature combination on the first image feature and the second image feature to obtain a first fused image feature representing a global image feature;

[0095] In one embodiment, a matrix outer product method is used to perform bilinear feature combination on each corresponding position of the first image feature and the second image feature to obtain a first fused image feature;

[0096] The calculation formula of the first fusion image feature is:

[0097]

[0098] bilinear=(l,I,F A ,F B )=F A (l,I) T F B (l,I);

[0099] Where Γ is the pooling function, I is the image input to the VGG16 model and the Deepbit32 model, l is the corresponding position of the first image feature and the second image feature; F A is the first image feature, F B is the second image feature, and φ(I) is the first fused image feature.

[0100] In this embodiment, the matrix outer product method is used to combine the image features of each corresponding position, and the first image feature F at position l is A and the second image feature F B The expression for bilinear feature combination is:

[0101] bilinear=(l,I,F A ,F B )=F A (l,I) T F B (l,I);

[0102] Among them, Γ is the pooling function;

[0103] The role of the pooling function Γ is to aggregate the bilinear combination of features at all positions in the image to obtain the global image, that is, the first fused image feature φ(I).

[0104]

[0105] Among them, F A is the first image feature, F B is the second image feature, and φ(I) is the first fused image feature.

[0106] Step S420, using a second fusion module to perform flexible feature combination on the first image feature and the second image feature to obtain a second fused image feature that fuses the defect feature with the device feature;

[0107] In one embodiment, the first image feature F output by the VGG16 model and the second image feature C output by the Deepbit32 model are fused to output a second fused image feature;

[0108] Among them, the expression of the second fused image feature is:

[0109] L n =β(f n (I n )),c n (I0));

[0110] Among them, n is the level number corresponding to the convolutional layer in the VGG16 model and Deepbit32 model, L n Represents the second fused image feature; I0 represents the image input into the VGG16 model, I n Represents the image input to the Deepbit32 model. n (.) and f n(.) represent the image features output by the nth convolutional layer in the VGG16 model and the image features output by the nth convolutional layer in the Deepbit32 network, respectively.

[0111] By connecting the parallel VGG16 model and the DeepBit32 model, the first image feature and the second image feature are flexibly fused, so that the defect features extracted by the VGG16 model can be better integrated with the device features extracted by the DeepBit32 model.

[0112] Step S430, using a third fusion module to perform element-wise superposition on the first image feature and the second image feature to obtain a third fused image feature; wherein the third fused image feature is used to enhance the discriminability of defect classification by taking the device feature as additional information;

[0113] The calculation formula of the third fused image feature is:

[0114] P n =W*(W k *CT(F n )+C n );

[0115] Among them, CT represents the change of channel dimension, W k represents a 1×1 convolutional layer, W represents a 3×3 convolutional layer and a BN layer, and F n represents the first image feature, C n Represents a first image feature and a second image feature.

[0116] In one embodiment, the feature F extracted by the VGG16 model n Feature C extracted from DeepBit32 network n Transform to the same spatial domain and perform element-wise superposition operations. The element-wise superposition fusion method is to combine the feature F extracted by the VGG16 model n Feature C extracted from DeepBit32 network n The purpose of transforming to the same spatial domain and performing element-wise multiplication is to treat the device features extracted by the Deepbit32 model as additional information to enhance the discriminative features of defect classification. This fusion method requires adjusting the number of channels of the two features to the same dimension.

[0117] Step S440, fusing the first fused image feature, the second fused image feature and the third fused image feature to obtain a fused image feature;

[0118] The expression of fused image features is:

[0119] S n =φ(I)+w2Ln +w3P n ;

[0120] Among them, φ(I) represents the first fused image feature, L n represents the second fused image feature, P n represents the third fused image feature, w2 represents the weight of the second fused image feature, and w3 represents the weight of the third fused image feature.

[0121] The feature fusion module in the embodiment provided by the present disclosure is located between the parallel VGG16 model and DeepBit32 model and the fully connected layer. By keeping the global image unchanged, adaptively selecting the weight of the second fused image feature and the third fused image feature, and adjusting the contrast between the defect feature and the device feature according to the actual situation, the generated fused image feature is more flexible and accurate, and can adapt to a variety of different scenarios. Figure 1 The corresponding embodiment uses the defect feature images identified in real time as sample data sets for training, so as to obtain a defect detection model that is more suitable for the current distribution network system and realize intelligent inspection of the distribution network system.

[0122] In the disclosed embodiments, based on the differentiated characteristics of typical defects in the distribution network in different processing stages such as image segmentation, feature extraction, and defect recognition, a fusion recognition is performed for broken and scattered wire strands and ablation of insulators, lightning ablation of insulators, and insulator cracks in the distribution network, giving full play to the advantages of traditional methods and deep neural network methods in each stage of image recognition and improving the recognition accuracy of different defect types.

[0123] To verify the disclosed embodiments, the CAFFE open source framework was used for training, a workstation was used to build the platform, parallel computing was achieved through the NVIDIA CUDA general computing platform, and the NVIDIA CuDNN library was used to accelerate parallel computing. When the deep learning algorithm was implemented on the CPU terminal, the programming language was C++.

[0124] After the sample data set is collected, it is input into the processing device for alignment. After obtaining the data, the processing device fuses the data and sends control instructions to the GPU. At the same time, the fused data is input into the defect detection model. After receiving the control instructions, the GPU uses the compiler to adjust the control instructions to the control instructions of the fused data, and inputs them together with the fused data of the processing device into the defect detection model for identification.

[0125] In the embodiment provided by the present disclosure, the first image feature and the second image feature constitute a bilinear vector, and the bilinear vector is processed by the classification function of the output layer to obtain a classified image.

[0126] The image features extracted by the two models are bilinearly combined to form a bilinear vector, and finally the image is classified by the classification function of the output layer. In this network structure, the VGG16 model and the DeepBit32 model work together to achieve the defect feature extraction and equipment feature extraction tasks in image recognition.

[0127] The dual-channel neural network model makes full use of the second-order statistical information of the image and uses translation invariance to model the combined interaction relationship between local features. At the same time, the network simplifies gradient calculation, making the end-to-end model easier to train.

[0128] In some embodiments, there are 35 distribution line insulator defect images and 50 conductor defect images. The sample data set is divided into a training set and a test set. The ratio of the training set to the test set is 1:4, and all image sizes are set to three types: 600*400, 256*256, and 224*224.

[0129] In the embodiments provided by the present disclosure, the image data enhancement algorithm includes a method for studying data set expansion based on traditional methods and deep learning methods, mainly studying a variety of traditional image processing methods and methods for data enhancement using generative adversarial networks. On the one hand, the transformation is performed by combining several image transformation algorithms in traditional methods (such as mirroring, rotation, scaling, cropping, noise, etc.); on the other hand, new samples are generated based on supervised information through deep neural networks to expand the sample library.

[0130] In addition, refer to Figure 3 An embodiment of the present disclosure also provides a typical defect intelligent identification system based on distribution network machine patrol image data, the system comprising: a memory 11, a processor 12, and a computer program stored in the memory 11 and executable on the processor 12.

[0131] The processor 12 and the memory 11 may be connected via a bus or other means.

[0132] The non-transient software programs and instructions required to implement the typical defect intelligent identification method based on distribution network machine patrol image data of the above embodiment are stored in the memory 11. When executed by the processor 12, the typical defect intelligent identification method based on distribution network machine patrol image data in the above embodiment is executed.

[0133] In addition, an embodiment of the present disclosure also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by a processor in the above-mentioned system embodiment, so that the above-mentioned processor can execute the typical defect intelligent identification method based on distribution network machine patrol image data in the above-mentioned embodiment.

[0134] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0135] The above is a specific description of the preferred implementation of the present disclosure, but the present disclosure is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present disclosure. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present disclosure.

Claims

1. A typical defect intelligent identification method based on distribution network machine patrol image data, characterized in that: include: Step S110, obtaining a video stream collected by a drone for monitoring the distribution network system, and extracting a key frame image from the video stream; Step S120, inputting the key frame image into a defect detection model to identify whether there are typical defects of the distribution network system in the key frame image; wherein the defect detection model is a dual-channel neural network model for detecting defect locations and defect types in the distribution network system, and the defect detection model is obtained by training the dual-channel neural network model using a sample data set, and the sample data set includes a defect feature image and a normal feature image, and the defect feature image is marked with the defect location and defect type of the typical defect of the distribution network system; Step S130, when it is identified that a typical defect of the distribution network system exists in the key frame image, the defect location and defect type of the typical defect are marked in the key frame image to obtain a marked key frame image; Step S140, displaying the marked key frame image, so as to allow manual review of whether the defect location and defect type of the typical defect in the marked key frame image have been verified; Step S150, in response to a confirmation message of passing the manual review verification, storing the marked key frame image as a defect feature image in a sample data set to retrain the dual-channel neural network model; The step S110 includes: Step S210, controlling the drone to take multi-angle photos of each location in the distribution network system, and collecting a video stream of the inspection of the distribution network system; Step S220, calling the drone SDK to obtain the video stream collected by the drone, and capturing key frame images from the video stream; Step S230, compressing the key frame image using the JPEG algorithm, encoding it into a coded image in base64 format, and sending the coded image to the processing device via the http protocol; Step S240, the processing device decodes the encoded image after receiving it to obtain a key frame image; The defect detection model is trained by the following method: Step S310, obtaining a sample data set, and dividing the sample data set into a training set and a validation set; Step S320, constructing a dual-channel neural network model; the dual-channel neural network model includes a parallel VGG16 model and a DeepBit32 model, a feature fusion module, a fully connected layer, and an output layer; Step S330, inputting the training set into the VGG16 model and the DeepBit32 model respectively, so as to extract the first image feature from the sample data set through the VGG16 model, and extract the second image feature from the sample data set through the DeepBit32 model; the first image feature is used to characterize the defect feature of the distribution network system, and the second image feature is used to characterize the equipment feature of the distribution network system; Step S340, performing feature fusion on the first image feature and the second image feature through a feature fusion module to obtain a fused image feature; Step S350, aggregating the obtained fused image features through a fully connected layer to obtain a vector, and performing vector transformation on the aggregated vector to obtain a one-dimensional image feature; Step S360, using the back propagation algorithm of the error to train the dual-channel neural network model, using the verification set to verify the one-dimensional image features obtained by the training, when the error of the verification set is lower than the set threshold, or the error of the verification set changes from gradually decreasing to gradually increasing, or reaches the set number of training iterations, stop training the dual-channel neural network model; otherwise, execute step S320; Step S370, using the trained dual-channel neural network model as a defect detection model; The feature fusion module includes a first fusion module, a second fusion module and a third fusion module, and the step S340 includes: Step S410, using a first fusion module to perform bilinear feature combination on the first image feature and the second image feature to obtain a first fused image feature representing a global image feature; Step S420, using a second fusion module to perform flexible feature combination on the first image feature and the second image feature to obtain a second fused image feature that fuses the defect feature with the device feature; Step S430, using a third fusion module to perform element-wise superposition on the first image feature and the second image feature to obtain a third fused image feature; wherein the third fused image feature is used to enhance the discriminability of defect classification by taking the device feature as additional information; Step S440, fusing the first fused image feature, the second fused image feature and the third fused image feature to obtain a fused image feature; The expression of the fused image feature is: S n =φ(I)+w2L n +w3P n ; Among them, φ(I) represents the first fused image feature, L n represents the second fused image feature, P n represents the third fused image feature, w2 represents the weight of the second fused image feature, and w3 represents the weight of the third fused image feature.

2. The typical defect intelligent identification method based on the distribution network machine patrol image data according to claim 1 is characterized in that: The dual-channel neural network model is represented by a quaternion function, which is expressed as follows: β=(F A ,F B ,C,C); Among them, F A is the feature extraction function of the VGG16 model, F B is the feature extraction function of the DeepBit32 model, Γ is the pooling function, and C is the classification function.

3. The typical defect intelligent identification method based on the distribution network machine patrol image data according to claim 1 is characterized in that: The step S330 includes: In the VGG16 model, for each convolutional layer L, a size k l *k l The convolution kernel and the output of the previous convolution layer M L-1 The feature maps are convolved and transformed by a nonlinear function to obtain the first image feature: In the DeepBit32 model, for each convolutional layer L, a size k l *k l The convolution kernel and the output of the previous convolution layer M L-1 The feature maps are convolved and the sum is transformed by a nonlinear function to obtain the second image feature.

4. A typical defect intelligent recognition system based on distribution network machine patrol image data, including: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the typical defect intelligent identification method based on distribution network machine patrol image data as described in any one of claims 1 to 3 when executing the computer program.

5. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the typical defect intelligent identification method based on distribution network machine patrol image data as described in any one of claims 1 to 3.

Citation Information

Cited By

  • Variable compute image backbones

    US12579802B1