A fast classification and recognition method for insulators based on an improved AlexNet network

By improving the AlexNet network, replacing the fully connected layer with a global average pooling layer and adding a convolution layer, combined with the cross-entropy loss function, the problem of background interference in insulator classification and recognition is solved, the recognition accuracy and speed are improved, and the UAV is provided. Power inspection provides better theoretical support.

CN114494867BActive Publication Date: 2024-10-29PINGXIANG ANYUANHONG ELECTRIC PORCELAIN MFG CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210058008.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-19
Publication Date
2024-10-29
Estimated Expiration
2042-01-19

AI Technical Summary

Technical Problem

Existing insulator classification and recognition neural networks are prone to background interference in practical applications, resulting in poor classification and recognition results, and it is difficult to accurately identify different types of insulators in complex environments.

Method used

Improve the AlexNet network by replacing the fully connected layer with a global average pooling layer, adding a convolutional layer before the last average pooling layer, using a pixel classification output layer, and using the cross-entropy loss function to build a lightweight and low-parameter network. Neural network,applied to insulator data sets collected by drones.

Benefits of technology

It improves the accuracy of insulator classification and recognition and the speed of image detection, enhances the recognition ability under complex interference, and provides a theoretical basis for UAV power inspection. The accuracy is increased by 2.15%, and the number of images processed per second is increased by 8.39. open.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114494867B_ABST
    Figure CN114494867B_ABST
Patent Text Reader

Abstract

The present invention relates to power device technology, and in particular to a method for fast classification and identification of insulators using an improved AlexNet network, comprising the following steps: collecting an insulator data set, and randomly dividing the insulator data set into a training set and a test set in a ratio of 7:3; improving the AlexNet network, and establishing an improved insulator classification and identification network model; training the improved AlexNet network, and obtaining a trained insulator classification and identification model; and obtaining an insulator classification result using a test set. The identification method can better classify and identify different types of insulators. The accuracy of insulator classification and identification and the rapidity of image detection under complex interference are improved, and a theoretical basis is provided for UAV power inspection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of power devices, and in particular relates to an insulator fast classification and recognition method based on an improved AlexNet network. Background Art

[0002] Insulators are important components in power systems, and they play the role of electrical insulation and line support in transmission lines. With the use of drones in power inspections, more and more researchers are applying neural networks to insulator identification. Accurate identification of insulator types can provide a theoretical basis for drone power inspections.

[0003] However, in real situations, the classification and recognition of insulators is easily affected by background interference, and many classification and recognition neural networks do not work well in practical applications and are prone to false detection. Different types of insulators show different color characteristics and shape characteristics. Summary of the invention

[0004] In view of the problems existing in the background technology, the present invention provides a method for fast classification and identification of insulators based on an improved AlexNet network.

[0005] In order to solve the above technical problems, the present invention adopts the following technical solution: a method for fast classification and identification of insulators based on an improved AlexNet network, comprising the following steps:

[0006] Step 1: Based on the defective insulator dataset collected by the drone, the defective insulator dataset is randomly divided into a training set and a test set in a ratio of 7:3;

[0007] Step 2: Improve the AlexNet network; replace all fully connected layers in the network with global average pooling layers, add a convolutional layer before the last average pooling layer, and replace the original classification output layer with a pixel classification output layer; the network uses a cross entropy loss function;

[0008] Step 3: train the improved AlexNet network, input the training set into the improved AlexNet network, set the experimental parameters and conduct the experiment to obtain the trained insulator classification and recognition model;

[0009] Step 4: Input the test set into the trained insulator classification and recognition model to perform insulator classification and recognition to obtain the insulator classification result.

[0010] In the above-mentioned improved AlexNet network insulator fast classification and identification method, the defective insulator data set includes ceramic pin insulators, ceramic post insulators, ceramic butterfly insulators, glass high-voltage insulator strings, ceramic high-voltage insulator strings and composite suspension insulator strings.

[0011] In the above improved AlexNet network insulator fast classification and recognition method, the cross entropy loss function Loss in step 2 is:

[0012]

[0013] Among them, N is the number of samples, K is the number of categories, and w i is the weight of the ith class, t ni is the indicator that the nth sample belongs to the i-th category, y ni is the probability that the network associates the nth input with the i-th class.

[0014] In the above-mentioned improved AlexNet network fast classification and recognition method for insulators, the improved AlexNet network training experiment described in step 3 is run on a CPU of AMD Ryzen 7 5800H with Radeon Graphics 3.20GHz, a GPU of NVIDIA GeForce RTX3060 and Window10.

[0015] Compared with the prior art, the invention has the following beneficial effects: using the improved AlexNet aerial photography insulator classification and recognition method, a new network is constructed, which can better classify and recognize different types of insulators. The accuracy of insulator classification and recognition under complex interference and the rapidity of image detection are improved, providing a theoretical basis for UAV power inspection. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flow chart of a method for fast classification and identification of insulators using an improved AlexNet network according to an embodiment of the present invention;

[0017] FIG. 2( a ) is a diagram showing the CPI classification results of the ceramic pin insulator according to an embodiment of the present invention;

[0018] FIG2( b ) is a diagram showing the CHI classification results of a ceramic high voltage insulator string according to an embodiment of the present invention;

[0019] FIG2( c ) is a diagram showing the CBI classification results of the ceramic butterfly insulator according to an embodiment of the present invention;

[0020] FIG2( d ) is a diagram showing the GHI classification results of the glass high voltage insulator string according to an embodiment of the present invention;

[0021] FIG2( e ) is a diagram showing the CSI classification results of a composite suspension insulator string according to an embodiment of the present invention;

[0022] FIG2( f ) is a diagram showing the CCI classification results of the ceramic post insulator according to an embodiment of the present invention;

[0023] Figure 3It is a curve diagram of the relationship between the number of iterations and accuracy of different networks in the embodiment of the present invention. DETAILED DESCRIPTION

[0024] The technical solutions in the embodiments of the present invention will be described clearly and completely below in combination with the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0026] The present invention will be further described below in conjunction with specific embodiments, but the present invention is not limited thereto.

[0027] This implementation builds a new network based on AlexNet to better classify and identify different types of insulators. This embodiment is implemented through the following technical solutions, a method for fast classification and identification of insulators based on an improved AlexNet network, comprising the following steps:

[0028] S1. Collect insulator dataset: defective insulator dataset collected by drone. There are six types of insulators, namely Ceramic pin insulator (CPI), Ceramic cylindrical insulator (CCI), Ceramic butterfly insulator (CBI), Glass high voltage insulator string (GHI), Ceramic high voltage insulator string (CHI) and Composite suspension insulator string (CSI). The insulator dataset is randomly divided into training set and test set in a ratio of 7:3.

[0029] S2. Establish an improved insulator classification and recognition network model: A neural network with the characteristics of being lightweight and having few parameters requires less communication with the server in multi-computer and multi-graphics card training, and is easier to deploy on hardware devices with limited memory. Therefore, in order to reduce the number of parameters of the AlexNet network and improve the accuracy of the AlexNet network in insulator classification and recognition, the AlexNet network was improved. The main improvement is to replace all fully connected layers in the network with a global average pooling layer, then add a convolutional layer before the last average pooling layer, and finally replace the original classification output layer with a pixel classification output layer, and the network uses a cross entropy loss function.

[0030] S3. Training the improved AlexNet network: The training experiment of the improved AlexNet network was run on a CPU of AMD Ryzen 75800H with Radeon Graphics 3.20GHz, a GPU of NVIDIA GeForce RTX3060, and Window 10. The training set was input into the improved AlexNet network, and the experiment was conducted after setting the experimental parameters to obtain the trained insulator classification and recognition model.

[0031] S4. Use the test set to obtain the insulator classification result: add the test set to the trained network to perform insulator classification and identification to obtain the insulator classification result.

[0032] Verify the advancedness of the improved AlexNet network: input the training set into other classification networks for comparison, and finally obtain a comparison table of the accuracy of insulator classification recognition and the number of images processed per second of different classification networks, and draw a curve chart of the relationship between the number of iterations and accuracy of different networks.

[0033] When implementing it, Figure 1 As shown, the implementation steps are as follows:

[0034] 1. Collect insulator data sets: Collect insulator data sets: defective insulator data sets collected by drones. After sorting, there are 250 pictures of ceramic pin insulators, 300 pictures of ceramic column insulators, 130 pictures of ceramic butterfly insulators, 150 pictures of glass high-voltage insulator strings, 120 pictures of ceramic high-voltage insulator strings, and 600 pictures of composite suspension insulator strings, a total of 1550 pictures of six types of insulators. The insulator data set is randomly divided into training and test sets in a ratio of 7:3, with 1085 pictures in the training set and 465 pictures in the test set.

[0035] 2. Establish an insulator classification and recognition network model: A neural network with the characteristics of being lightweight and having few parameters requires less communication with the server during multi-computer and multi-graphics card training, and is easier to deploy on hardware devices with limited memory. The fully connected layer parameters in the AlexNet network are redundant, so in order to reduce the number of parameters of the AlexNet network and improve the accuracy of the AlexNet network in insulator classification and recognition, the AlexNet network was improved. The main improvement is to replace all fully connected layers in the network with a global average pooling layer, then add a convolutional layer before the last average pooling layer, and finally replace the original classification output layer with a pixel classification output layer. The network uses a cross entropy loss function. The cross entropy loss function Loss is:

[0036]

[0037] Among them, N is the number of samples, K is the number of categories, and w i is the weight of the ith class, t ni The indicator that the nth sample belongs to the i-th class, y ni is the probability that the network associates the nth input with the ith class. The results of the improved network are shown in Table 1.

[0038] Table 1 Improved AlexNet network structure

[0039]

[0040]

[0041] From Table 1, we can see that the number of parameters of the improved AlexNet is about 2.35M, which is 58.65M less than the original 61.0M.

[0042] 3. Training the improved AlexNet network: The above experiments were run on AMD Ryzen 7 5800H with RadeonGraphics 3.20GHz CPU, NVIDIA GeForce RTX3060 GPU and Window 10. The training set was input into the improved AlexNet network, and the experiment was conducted after setting the experimental parameters to obtain the trained model insulator classification and recognition model. The number of training rounds was 50, the number of training samples in each round was 16, the learning rate was 0.0001, and the sgdm optimizer was used.

[0043] 4. Use the test set to obtain the insulator classification results: Add the test set to the trained network to classify and identify insulators and obtain the insulator classification results. Some of the classification results are shown in Figure 2.

[0044] Verify the advancedness of the improved AlexNet network: Input the training set into other classification networks for comparison, and finally obtain a comparison table of the accuracy of insulator classification recognition and the number of images processed per second of different classification networks, as shown in Table 2. And draw a curve chart of the relationship between the number of iterations and accuracy of different networks, as shown in Figure 3 shown.

[0045] Table 2 Improved AlexNet network structure

[0046]

[0047] Table 2 shows the experimental results of the test. Compared with the original AlexNet network, the improved AlexNet network has an accuracy improvement of 2.15% and an increase of 8.39 images processed per second.

[0048] This embodiment solves the problem of parameter redundancy of the fully connected layer in the AlexNet network and the low accuracy of insulator classification and the number of images processed per second by changing the structure of the AlexNet network; the parameter volume of the improved AlexNet network is about 2.35M, which has the characteristics of lightweight and small parameter volume. In multi-computer and multi-graphics card training, it requires less communication with the server and is easier to deploy on hardware devices with limited memory. Compared with the original AlexNet network, the improved AlexNet network has an accuracy improvement of 2.15% and an increase of 8.39 images processed per second; and compared with the four classification networks of ResNet50, ShuffleNet, MobileNetV2 and SqueezeNet, the improved AlexNet network has a classification accuracy of 91.18% and a number of images processed per second of 10.55, which is more advantageous than the other four classification networks and can meet the needs of insulator classification and recognition.

[0049] The above are only preferred embodiments of the present invention, and are not intended to limit the implementation methods and protection scope of the present invention. Those skilled in the art should be aware that all solutions obtained by equivalent substitutions and obvious changes made using the contents of the specification of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for fast classification and identification of insulators based on an improved AlexNet network, characterized in that: The following steps are involved: Step 1: Based on the defective insulator dataset collected by the drone, the defective insulator dataset is randomly divided into a training set and a test set in a ratio of 7:3; Step 2: Improve the AlexNet network; replace all fully connected layers in the network with global average pooling layers, add a convolutional layer before the last average pooling layer, and replace the original classification output layer with a pixel classification output layer; the network uses a cross entropy loss function; The cross entropy loss function Loos is: in, N is the number of samples, K is the number of categories, w i It is i The weight of the class, t ni For the n The samples belong to i Class indicators, y ni The network will n The input and i The probability of class association; Step 3: train the improved AlexNet network, input the training set into the improved AlexNet network, set the experimental parameters and conduct the experiment to obtain the trained insulator classification and recognition model; Step 4: Input the test set into the trained insulator classification and recognition model to perform insulator classification and recognition to obtain the insulator classification result.

2. The insulator rapid classification and identification method based on the improved AlexNet network according to claim 1 is characterized by: The defective insulator dataset includes data on ceramic pin insulators, ceramic post insulators, ceramic butterfly insulators, glass high-voltage insulator strings, ceramic high-voltage insulator strings, and composite suspension insulator strings.

3. The insulator rapid classification and identification method based on the improved AlexNet network according to claim 1 is characterized by: The improved AlexNet network training experiment described in step 3 was run on a CPU of AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz, a GPU of NVIDIA GeForce RTX3060, and Window 10.

Citation Information

Patent Citations

  • Insulator spontaneous explosion identification method based on AlexNet network

    CN111079645A