GIS defect classification and evaluation method and system based on ultraviolet image

By combining ultraviolet imaging technology with an improved FCM algorithm based on photon density and a CNN neural network, accurate identification and severity assessment of defects in GIS equipment were achieved, overcoming the shortcomings of existing technologies in defect type identification and assessment, and ensuring the safety of the power grid.

CN117455893BActive Publication Date: 2026-11-24ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID SHANDONG ELECTRIC POWER COMPANY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311587331.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2026-11-24
Estimated Expiration
2043-11-24

AI Technical Summary

Technical Problem

Existing technologies struggle to accurately identify the types of internal defects in GIS equipment and assess their severity, leading to an increased risk of electrical safety accidents.

Method used

Images of GIS equipment are acquired using ultraviolet imaging technology. Defect areas are extracted using the photon density-modified FCM algorithm, and defect type identification is performed by combining it with a CNN neural network. The defect severity coefficient is calculated to assess the severity of the defect.

Benefits of technology

This improves the accuracy of GIS defect detection and defect assessment, ensuring the safe and reliable operation of the power grid.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117455893B_ABST
    Figure CN117455893B_ABST
Patent Text Reader

Abstract

This invention discloses a method and system for GIS defect classification and assessment based on ultraviolet (UV) images. The method includes: detecting GIS equipment using UV imaging equipment, acquiring UV images of the GIS equipment, and obtaining the number of photons in the UV images; extracting defect regions from the UV images using an improved photon density-based FCM algorithm, and acquiring defect region images; identifying the extracted defect region images using a CNN-based GIS defect classification model to determine the defect type; calculating the defect severity coefficient of the GIS equipment based on the number of photons in the UV images, the defect region area, and the defect type; and assessing the severity of the defects in the GIS equipment based on the defect severity coefficient and pre-classified levels. This invention can effectively improve the accuracy of GIS defect detection and simultaneously assess the severity of GIS defects, ensuring the safe and reliable operation of the power grid.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of GIS equipment inspection technology, and in particular to a method and system for classifying and evaluating GIS defects based on ultraviolet images. Background Technology

[0002] Gas-insulated switchgear (GIS) plays a vital role in power systems, and its safe and stable operation has a significant impact on the reliability and security of the entire power grid. During production, transportation, assembly, and operation, GIS equipment inevitably develops defects such as conductor sharpness or damage, floating potential, poor contact, free particles, and abnormal insulator surfaces. These defects are highly susceptible to partial discharge under the influence of an electric field, and over time, can lead to insulation damage or even insulation breakdown, inducing serious electrical safety accidents. Therefore, the detection and assessment of internal defects in GIS is a top priority for power operation and maintenance departments.

[0003] According to the inventors, GIS equipment is characterized by its compactness and high degree of enclosure, making it difficult to find internal defects using conventional routine power outage tests. Currently, the main methods for detecting defects in GIS equipment include ultra-high frequency (UHF) methods, ultrasonic methods, and infrared thermal diagnostics. However, the propagation characteristics of UHF electromagnetic waves and ultrasonic waves within the cavity are complex and difficult to quantify. Furthermore, both are significantly affected by the surrounding environment and the testing equipment, and can only detect very strong partial discharges and mechanical vibrations. Infrared thermal diagnostics is often used to detect overheating defects inside GIS equipment, but it often requires the defect to develop to a certain extent before detection, exhibiting a certain degree of lag.

[0004] Currently, ultraviolet (UV) detection technology, as an emerging detection technology, is gradually being applied in the field of GIS inspection. It eliminates interference from sunlight and other spectra, enabling the detection and quantification of UV photons generated during discharge. It boasts advantages such as high reliability, low false alarm rate, and strong anti-interference capability. However, in field applications, most methods only detect GIS defects based on the number of photons in UV images, resulting in limited defect information and low accuracy. Currently, there is a lack of GIS inspection methods that extract defect areas and identify defect types from UV images. Furthermore, current methods typically only detect GIS defects, lacking an assessment of the severity of these defects. However, assessing the severity of GIS defects is crucial for maintaining GIS equipment, enabling timely detection, repair, and replacement, and ensuring the safe and reliable operation of the power grid. Summary of the Invention

[0005] To address the shortcomings of existing technologies, this invention provides a method and system for GIS defect classification and assessment based on ultraviolet (UV) images. It utilizes UV imaging technology to acquire UV images of GIS equipment, employs an improved photon density-based FCM (Fuzzy C-means Clustering) algorithm to extract defect regions from the images, and uses a CNN (Convolutional Neural Network)-based GIS defect classification algorithm to identify defect types in the defect region images, effectively improving the accuracy of GIS defect detection. Simultaneously, based on the number of photons in the UV image, the area of ​​the defect region, and the defect type, the severity of GIS defects is assessed. Based on the assessment results, GIS equipment can be repaired and replaced promptly, ensuring the safe and reliable operation of the power grid.

[0006] In a first aspect, the present invention provides a GIS defect classification and assessment method based on ultraviolet images.

[0007] A GIS defect classification and assessment method based on ultraviolet imagery, comprising:

[0008] The ultraviolet imaging equipment is used to detect the GIS equipment, and the ultraviolet image of the GIS equipment is obtained to obtain the number of photons in the ultraviolet image;

[0009] The defect region is extracted from the ultraviolet image by using the FCM algorithm based on photon density, and the defect region image is obtained.

[0010] A CNN-based GIS defect classification model is used to identify the extracted defect area images and determine the defect type.

[0011] Based on the number of photons, the area of ​​the defect region, and the type of defect in the ultraviolet image, the defect severity coefficient of the GIS equipment is calculated. Based on the defect severity coefficient and the pre-classified level, the severity of the defect of the GIS equipment is evaluated.

[0012] A further technical solution, wherein the extraction of defect regions in ultraviolet images using an improved FCM algorithm based on photon density, includes:

[0013] Set the fuzzy index and initialize the membership matrix;

[0014] The initial cluster centers are determined based on the photon density in the ultraviolet image;

[0015] Based on the determined cluster centers, the membership matrix is ​​updated according to the membership matrix calculation formula;

[0016] Based on the updated membership matrix, the cluster centers are updated according to the cluster center calculation formula;

[0017] The membership matrix and cluster centers are continuously updated iteratively until the preset conditions are met, at which point the iteration terminates and the final membership matrix and its corresponding cluster centers are output.

[0018] Based on the final output membership matrix and its corresponding cluster centers, the pixels in the ultraviolet image are classified to extract multiple defect regions.

[0019] A further technical solution, wherein determining the initial cluster centers based on the photon density in the ultraviolet image, includes:

[0020] Calculate the photon density of all pixels in the ultraviolet image based on the number of photons in the image.

[0021] The pixel with the highest photon density is selected as the first cluster center;

[0022] The pixel with the highest photon density outside the neighborhood of all selected cluster centers is selected as the next cluster center. This process is repeated until the photon density outside the neighborhood of all selected cluster centers is 0, thus obtaining 1 cluster center.

[0023] Calculate the area of ​​the overlapping neighborhood between each pair of cluster centers. By comparing the calculated area with a preset value, the cluster centers are filtered out, and finally n cluster centers are obtained.

[0024] A further technical solution is that the photon density is calculated by: calculating the number of photons in the neighborhood of the current pixel as the photon density of the current pixel;

[0025] The radius of the neighborhood is 1 / 8 of the width of the ultraviolet image.

[0026] A further technical solution, wherein the step of comparing the calculated area with a preset value to filter cluster centers includes:

[0027] The calculated neighborhood overlap area between each pair of cluster centers is compared with a preset value. If the calculated area is greater than the preset value, the cluster center with the lower photon density among the two cluster centers is removed. The preset value is 75% of the total neighborhood area of ​​the two cluster centers.

[0028] By iterating through all cluster centers, we eventually obtain n cluster centers.

[0029] A further technical solution involves using a CNN-based GIS defect classification model to identify the extracted defect area image and determine the defect type, including:

[0030] The acquired defect region image is preprocessed; the preprocessing includes: first, the defect region image is converted to grayscale, the mean is removed, and normalized to obtain a grayscale image, and then the grayscale image is binarized to obtain a binary image.

[0031] The preprocessed grayscale and binary images are input into the trained CNN-based GIS defect classification model, which outputs the probability of each type of defect and selects the defect type with the highest probability as the final defect recognition result.

[0032] A further technical solution is that the CNN-based GIS defect classification model includes a first processing layer, a second processing layer, a feature selection layer, a fully connected layer, and a classification layer; wherein, the input of the first processing layer is a grayscale image, the input of the second processing layer is a binary image, the outputs of the first processing layer and the second processing layer are respectively connected to the input of the feature selection layer, the output of the feature selection layer is connected to the fully connected layer, and the output of the fully connected layer is connected to the input of the classification layer;

[0033] The first processing layer is used to extract grayscale image features, and includes a 5*5 convolutional kernel, a 3*3 convolutional kernel, and an average pooling layer connected in sequence. The second processing layer is used to extract binary image features, and includes a 5*5 convolutional kernel, a 3*3 convolutional kernel, and a max pooling layer connected in sequence. The feature selection layer is used to extract defect classification features based on grayscale image features and binary image features, and includes several pairs of 3*3 convolutional kernels and an average pooling layer connected in sequence. The fully connected layer uses the leaky ReLU activation function. The classification layer is used to output the probability of each type of defect, and is activated using the softmax activation function to output the defect type corresponding to the highest probability.

[0034] A further technical solution is that the training process of the GIS defect classification model based on convolutional neural networks includes:

[0035] A training set is constructed using multiple GIS defect area images labeled with defect types. The GIS defect classification model based on convolutional neural networks is trained using the training set. During the training process, an improved adaptive learning rate optimization algorithm is used to update the network weights and iterate the training until the loss function is minimized, thus completing the model training.

[0036] The loss function is:

[0037]

[0038] In the above formula, E represents the error between the actual output and the expected output, and t i y is the actual output of the i-th defect category. i is the expected output for the i-th defect category, c is the number of defect categories, and λ is the damping coefficient.

[0039] Secondly, the present invention provides a GIS defect classification and assessment system based on ultraviolet images.

[0040] A GIS defect classification and assessment system based on ultraviolet images, comprising:

[0041] The image acquisition module is used to detect GIS equipment using ultraviolet imaging equipment, acquire ultraviolet images of GIS equipment, and obtain the number of photons in the ultraviolet images;

[0042] The defect region image acquisition module is used to extract the defect region from the ultraviolet image and acquire the defect region image by using the FCM algorithm based on photon density improvement;

[0043] The defect type classification module is used to identify the defect type in the extracted defect area image using a CNN-based GIS defect classification model.

[0044] The defect severity assessment module is used to calculate the defect severity coefficient of GIS equipment based on the number of photons in the ultraviolet image, the area of ​​the defect region, and the defect type. Based on the defect severity coefficient and the pre-classified level, the severity of the defect of the GIS equipment is assessed.

[0045] Thirdly, the present invention also provides an electronic device, including a memory and a processor, and computer instructions stored in the memory and running on the processor, wherein the computer instructions, when executed by the processor, perform the steps of the method described in the first aspect.

[0046] Fourthly, the present invention also provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, perform the steps of the method described in the first aspect.

[0047] The above one or more technical solutions have the following beneficial effects:

[0048] 1. This invention provides a method and system for GIS defect classification and assessment based on ultraviolet images. It utilizes ultraviolet imaging technology to acquire ultraviolet images of GIS equipment, employs an improved FCM (Fuzzy C-means Clustering) algorithm based on photon density to extract defect regions from the images, and uses a CNN (Convolutional Neural Network)-based GIS defect classification algorithm to identify the defect type in the defect region images, effectively improving the accuracy of GIS defect detection. Simultaneously, based on the number of photons in the ultraviolet image, the area of ​​the defect region, and the defect type, the severity of GIS defects is assessed. Based on the assessment results, GIS equipment can be repaired and replaced in a timely manner, ensuring the safe and reliable operation of the power grid.

[0049] 2. In this invention, the FCM ultraviolet image defect extraction algorithm based on photon density is used to take the point with the maximum photon density as the initial cluster center. Compared with randomly selecting the initial cluster center, it avoids getting trapped in local minima or saddle points, improves the efficiency and accuracy of defect region extraction, and provides a good foundation for the next step of defect classification and defect assessment.

[0050] 3. The GIS defect classification algorithm based on convolutional neural networks proposed in this invention can obtain as much image feature information as possible about defects by extracting grayscale image features and binary image features of defect areas respectively, thereby improving the accuracy of defect classification. A loss function is constructed, and a damping coefficient λ is introduced to improve the problem of large error fluctuations caused by uneven sample distribution, further improving the accuracy of GIS defect classification. An improved adaptive learning rate optimization algorithm is used to update the weights of the convolutional neural network. This algorithm introduces a decay coefficient and adaptively adjusts the learning rate of the weights according to the learning rate and weights of the previous iteration, thereby quickly minimizing the loss function and improving the convergence speed of the convolutional neural network.

[0051] 4. This invention calculates the defect severity coefficient by combining the number of photons, the area of ​​the defect region, and the type of defect, and then classifies the severity of defects based on the defect severity coefficient. This avoids the shortcomings of evaluating defects by only considering the number of photons or the area of ​​the defect region, and achieves an accurate quantitative assessment of the severity of defects. Attached Figure Description

[0052] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.

[0053] Figure 1 This is a flowchart of the GIS defect classification and assessment method based on ultraviolet images described in an embodiment of the present invention;

[0054] Figure 2 This is a schematic diagram of a CNN-based GIS defect classification model in an embodiment of the present invention. Detailed Implementation

[0055] It should be noted that the following detailed descriptions are exemplary and are intended only to describe specific embodiments and to provide further explanation of the invention, and are not intended to limit the scope of exemplary embodiments of the invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. Furthermore, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0056] Example 1

[0057] To address the shortcomings of existing methods for GIS defect detection based solely on photon counts in ultraviolet (UV) images from GIS equipment, which suffer from low accuracy and inability to assess the severity of GIS defects, this embodiment provides a GIS defect classification and assessment method based on UV images. It utilizes an improved FCM (Fuzzy C-means Clustering) algorithm to extract defect regions from the image, and employs a CNN (Convolutional Neural Network)-based GIS defect classification algorithm to identify the defect type within the defect region image. Finally, based on the photon count, defect area, and defect type in the UV image, the severity of the GIS defect is assessed. Figure 1 As shown, the specific steps include:

[0058] Step S1: Use an ultraviolet imaging device to detect the GIS device, obtain an ultraviolet image of the GIS device, and obtain the number of photons in the ultraviolet image;

[0059] Step S2: Extract the defect region from the ultraviolet image using the FCM algorithm based on photon density improvement, and obtain the defect region image;

[0060] Step S3: Use a CNN-based GIS defect classification model to identify the extracted defect area image and determine the defect type;

[0061] Step S4: Calculate the defect severity coefficient of the GIS equipment based on the number of photons, the area of ​​the defect region, and the defect type in the ultraviolet image. Assess the severity of the defects of the GIS equipment based on the defect severity coefficient and the pre-classified level.

[0062] The following content provides a more detailed introduction to the GIS defect classification and assessment method based on ultraviolet images proposed in this embodiment.

[0063] In step S1, the GIS device is detected using an ultraviolet imaging device to obtain an ultraviolet image of the GIS device, and then the number of photons in the ultraviolet image is obtained.

[0064] In step S2, for the acquired ultraviolet image, the defect region in the ultraviolet image is extracted using the photon density-based improved FCM algorithm to obtain the defect region image. The specific steps of this step include:

[0065] Step S2.1: Set the fuzzy index and initialize the membership matrix. In this embodiment, the fuzzy index m = 1.6 is set, and the membership matrix is ​​initialized using random numbers between 0 and 1.

[0066] Step S2.2: Determine the initial cluster centers based on the photon density in the ultraviolet image. This step specifically includes:

[0067] Step S2.2.1: Calculate the photon density of all pixels in the ultraviolet image based on the number of photons in the image. The photon density is calculated by counting the number of photons in the neighborhood of the current pixel. In this embodiment, the radius of this neighborhood is 1 / 8 of the width of the ultraviolet image.

[0068] Step S2.2.2: Select the pixel with the highest photon density as the first cluster center, denoted as v1.

[0069] Step S2.2.3: Select the pixel with the highest photon density outside the neighborhood of all selected cluster centers as the next cluster center. Repeat this iterative process until the photon density outside the neighborhood of all cluster centers is 0, resulting in n′ cluster centers. Specifically, outside the neighborhood of the first selected cluster center v1, select the pixel with the highest photon density as the second cluster center v2. Then, outside the neighborhoods of the first cluster center v1 and the second cluster center v2, select the pixel with the highest photon density as the third cluster center v3, and so on, until the photon density outside the neighborhood of all cluster centers is 0, resulting in n′ cluster centers.

[0070] Step S2.2.4: Calculate the area of ​​the overlapping neighborhood between each pair of cluster centers. By comparing the calculated area with a preset value, cluster centers are filtered to obtain n cluster centers. Specifically, calculate the area of ​​the overlapping neighborhood between each pair of cluster centers and compare the calculated area of ​​the overlapping neighborhood between each pair of cluster centers with a preset value. If the calculated area is greater than the preset value, the cluster center with the lower photon density in these two cluster centers is removed. In this way, n cluster centers are finally obtained.

[0071] In this embodiment, the preset value is 75% of the total neighborhood area of ​​the two cluster centers. That is, if the area of ​​the overlapping part of the neighborhood of the two cluster centers is greater than 75% of the total neighborhood area, the cluster center with the lower photon density is removed, and all cluster centers are traversed to obtain the final n cluster centers.

[0072] Step S2.3: Based on the determined cluster centers, update the membership matrix according to the membership matrix calculation formula, which is:

[0073]

[0074] In the above formula, u ij d is the membership degree of the j-th pixel to the i-th cluster center. ij d is the Mahalanobis distance between the j-th pixel and the i-th cluster center. kjIt is the Mahalanobis distance between the j-th pixel and the k-th cluster center, where k ≠ i, and n is the number of cluster centers.

[0075] Step S2.4: Based on the updated membership matrix, update the cluster centers according to the cluster center calculation formula, which is:

[0076]

[0077] In the above formula, v i It is the cluster center of the i-th type, u ij x is the membership degree of the j-th pixel to the i-th cluster center. j It is the position of the j-th pixel, and D represents the number of pixels.

[0078] Step S2.5: Continuously iterate and update the membership matrix and cluster centers until a preset condition is met, then terminate the iteration and output the final membership matrix and its corresponding cluster centers. Specifically, the preset condition is: If the condition is met, the iteration terminates, and the final membership matrix and its corresponding cluster centers are output; otherwise, steps S2.3-S2.4 are repeated. In the above formula, t represents the iteration number, and U(t) is the membership matrix at the t-th iteration, i.e., all membership elements u at the t-th iteration. ij The set composed of U(t-1) is the membership matrix at the (t-1)th iteration, that is, all membership elements u at the (t-1)th iteration. ij The set formed, membership matrix n represents the number of cluster centers, and D represents the number of pixels.

[0079] Step S2.6: Based on the final output membership matrix and its corresponding cluster centers, classify the pixels in the ultraviolet image to extract multiple defect regions. Specifically, determine the maximum membership value U of the j-th pixel with respect to each cluster center. jmax Does it meet the requirements? Where D represents the number of pixels and n represents the number of clusters; if the following conditions are met, then the j-th pixel is a defective pixel and the j-th pixel belongs to the maximum membership value U. jmax The corresponding cluster center belongs to a specific class; if this condition is not met, then the j-th pixel is not a defective pixel and does not belong to any class. Traverse all pixels, grouping defective pixels belonging to the same class into a single defect region, resulting in n defect regions. Obtain images of these n defect regions.

[0080] In step S3, a CNN-based GIS defect classification model is used to identify the extracted defect area image and determine the defect type. The specific steps in this step include:

[0081] Step S3.1: Preprocess the acquired defect area image. The preprocessing includes first converting the defect area image to grayscale, removing the mean, and normalizing it to obtain a grayscale image, and then binarizing the grayscale image to obtain a binary image, thus completing the image preprocessing.

[0082] Step S3.2: Input the preprocessed grayscale image and binary image into the trained CNN-based GIS defect classification model, output the probability of each type of defect, and select the defect type corresponding to the highest probability as the final defect recognition result.

[0083] The construction and training process of the above CNN-based GIS defect classification model is as follows:

[0084] First, a GIS defect classification model based on a convolutional neural network is constructed. In this embodiment, as follows... Figure 2 As shown, the constructed convolutional neural network model includes a first processing layer, a second processing layer, a feature selection layer, a fully connected layer, and a classification layer. The input to the first processing layer is a grayscale image, and the input to the second processing layer is a binary image. The outputs of the first and second processing layers are respectively connected to the input of the feature selection layer. The output of the feature selection layer is connected to the fully connected layer, and the output of the fully connected layer is connected to the input of the classification layer.

[0085] Furthermore, the first processing layer is used to extract grayscale image features. This first processing layer includes a 5*5 convolutional kernel, a 3*3 convolutional kernel, and an average pooling layer connected in sequence. Preferably, the first processing layer also includes an activation layer placed before the average pooling layer and activated using the Sigmoid activation function. The second processing layer is used to extract binary image features. This second processing layer includes a 5*5 convolutional kernel, a 3*3 convolutional kernel, and a max pooling layer connected in sequence. Preferably, the second processing layer also includes an activation layer placed before the max pooling layer and activated using the tanh activation function. The feature selection layer is used to extract defect classification features based on grayscale image features and binary image features. This feature selection layer includes several pairs of 3*3 convolutional kernels and an average pooling layer connected in sequence. Preferably, the feature selection layer also includes an activation layer placed before the average pooling layer and activated using the ReLU activation function. The fully connected layer uses the leaky ReLU activation function. The classification layer is used to output the probability of each type of defect and is activated using the softmax activation function to output the defect type corresponding to the highest probability.

[0086] Secondly, the constructed GIS defect classification model based on convolutional neural networks is trained. A training set is constructed using multiple GIS defect area images labeled with defect types. The constructed GIS defect classification model based on convolutional neural networks is trained using this training set. During training, an improved adaptive learning rate optimization algorithm is used to update the network weights, iterating continuously until the loss function is minimized, thus completing the model training.

[0087] The formula for calculating the weights of the convolutional neural network using the improved adaptive learning rate optimization algorithm is as follows:

[0088] w t =w t-1 -η t Δw t-1 ;

[0089]

[0090] In the above formula, w t w t-1 η represents the weights of the convolutional neural network at the t-th and (t-1)-th iterations, respectively; t η t-1 These are the learning rates for the t-th and t-1-th iterations, respectively; Δw t-1 α is the gradient of the weights in the (t-1)th iteration; α is the decay coefficient, which is the difference between the first two learning rates; ε is a very small positive number, which is 0.01 in this embodiment.

[0091] The convolutional neural network is trained by minimizing a loss function, which is expressed as:

[0092]

[0093] In the above formula, E represents the error between the actual output and the expected output, and t i y is the actual output of the i-th defect category. i is the expected output of the i-th defect category, c is the number of defect categories, and λ is the damping coefficient, which is 0.25 in this embodiment.

[0094] Traditional classification methods often employ the cross-entropy loss function. However, this approach is susceptible to uneven sample distribution. To address this, this embodiment constructs the aforementioned loss function and introduces a damping coefficient λ to mitigate the significant error fluctuations caused by uneven sample distribution, thereby further improving the accuracy of GIS defect classification.

[0095] In step S3.2, the preprocessed grayscale image and binary image are input into the trained CNN-based GIS defect classification model. The grayscale image is input into the first processing layer of the model to obtain grayscale image features; the binary image is input into the second processing layer of the model to obtain binary image features; the grayscale image features and the binary image features are input into the feature selection layer to obtain defect classification features; the defect classification features are input into the fully connected layer, and then the classification layer finally outputs the probability that the defect area image belongs to each type of defect, and selects the defect type corresponding to the highest probability as the final defect recognition result.

[0096] In step S4, based on the number of photons, the area of ​​the defect region, and the type of defect in the ultraviolet image, the defect severity coefficient of the GIS equipment is calculated. Based on the defect severity coefficient and the pre-classified level, the severity of the defects in the GIS equipment is assessed. Specifically, the defect severity coefficient is calculated using the following formula:

[0097]

[0098] In the above formula, l is the number of photons in the defect region; L is the total number of photons in the ultraviolet image; s is the area of ​​the defect region; S is the total area of ​​the ultraviolet image; p is the maximum defect type probability obtained in step S3 above; λ1 and λ2 are weights, which are 0.6 and 0.4 respectively in this embodiment.

[0099] Secondly, the severity of defects is classified according to the defect severity coefficient γ. Based on the defect severity coefficient and the pre-classified level, the severity of defects in the GIS equipment is evaluated. Specifically, if γ ≤ 0.4, the defect severity is assessed as minor; if 0.4 < γ ≤ 0.7, the defect severity is assessed as moderate; and if γ > 0.7, the defect severity is assessed as severe.

[0100] The above methods enable accurate detection of GIS defects, improve the accuracy of GIS defect detection, and assess the severity of GIS defects. Based on the assessment results, GIS equipment can be repaired or replaced in a timely manner to ensure the safe and reliable operation of the power grid.

[0101] Example 2

[0102] This embodiment provides a GIS defect classification and assessment system based on ultraviolet images, including:

[0103] The image acquisition module is used to detect GIS equipment using ultraviolet imaging equipment, acquire ultraviolet images of GIS equipment, and obtain the number of photons in the ultraviolet images;

[0104] The defect region image acquisition module is used to extract the defect region from the ultraviolet image and acquire the defect region image by using the FCM algorithm based on photon density improvement;

[0105] The defect type classification module is used to identify the defect type in the extracted defect area image using a CNN-based GIS defect classification model.

[0106] The defect severity assessment module is used to calculate the defect severity coefficient of GIS equipment based on the number of photons in the ultraviolet image, the area of ​​the defect region, and the defect type. Based on the defect severity coefficient and the pre-classified level, the severity of the defect of the GIS equipment is assessed.

[0107] Example 3

[0108] This embodiment provides an electronic device, including a memory and a processor, as well as computer instructions stored in the memory and running on the processor. When the processor executes the computer instructions, it completes the steps in the GIS defect classification and assessment method based on ultraviolet images as described above.

[0109] Example 4

[0110] This embodiment also provides a computer-readable storage medium for storing computer instructions, which, when executed by a processor, complete the steps in the GIS defect classification and assessment method based on ultraviolet images as described above.

[0111] The steps and methods involved in Embodiments 2 to 4 above correspond to those in Embodiment 1. For specific implementation details, please refer to the relevant description section of Embodiment 1. The term "computer-readable storage medium" should be understood as a single medium or multiple media including one or more instruction sets; it should also be understood as including any medium capable of storing, encoding, or carrying an instruction set for execution by a processor and enabling the processor to perform any of the methods in this invention.

[0112] Those skilled in the art will understand that the modules or steps of the present invention described above can be implemented using general-purpose computer devices. Optionally, they can be implemented using computer-executable program code, thereby allowing them to be stored in a storage device for execution by a computer device, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. The present invention is not limited to any particular combination of hardware and software.

[0113] The above description is only a preferred embodiment of the present invention. Although the specific implementation of the present invention has been described in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present invention. Those skilled in the art should understand that, based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without creative effort are still within the scope of protection of the present invention.

Claims

1. A GIS defect classification and assessment method based on ultraviolet images, characterized in that, include: The ultraviolet imaging equipment is used to detect the GIS equipment, and the ultraviolet image of the GIS equipment is obtained to obtain the number of photons in the ultraviolet image; The defect region is extracted from the ultraviolet image by using the FCM algorithm based on photon density, and the defect region image is obtained. A CNN-based GIS defect classification model is used to identify the extracted defect area images and determine the defect type. Based on the number of photons, the area of ​​the defect region, and the type of defect in the ultraviolet image, the defect severity coefficient of the GIS equipment is calculated. Based on the defect severity coefficient and the pre-classified level, the severity of the defect of the GIS equipment is evaluated. The extraction of defect regions from ultraviolet images using the photon density-based improved FCM algorithm includes: Set the fuzzy index and initialize the membership matrix; The initial cluster centers are determined based on the photon density in the ultraviolet image; Based on the determined cluster centers, the membership matrix is ​​updated according to the membership matrix calculation formula; Based on the updated membership matrix, the cluster centers are updated according to the cluster center calculation formula; The membership matrix and cluster centers are continuously updated iteratively until the preset conditions are met, at which point the iteration terminates and the final membership matrix and its corresponding cluster centers are output. Based on the final output membership matrix and its corresponding cluster centers, the pixels of the ultraviolet image are classified to extract multiple defect regions. The method of using a CNN-based GIS defect classification model to identify the extracted defect area image and determine the defect type includes: The acquired defect region image is preprocessed; the preprocessing includes: first, the defect region image is converted to grayscale, the mean is removed, and normalized to obtain a grayscale image, and then the grayscale image is binarized to obtain a binary image. The preprocessed grayscale image and binary image are input into the trained CNN-based GIS defect classification model, which outputs the probability of each type of defect and selects the defect type corresponding to the highest probability as the final defect identification result. The formula for calculating the severity coefficient of the defect is as follows: ; In the above formula, It is the number of photons in the defect region; L It is the total number of photons in the ultraviolet image; s It is the area of ​​the defective region; S It is the total area of ​​the ultraviolet image; p It is the probability of the maximum defect type; , For weights.

2. The GIS defect classification and assessment method based on ultraviolet images as described in claim 1, characterized in that, The step of determining the initial cluster centers based on the photon density in the ultraviolet image includes: Based on the number of photons in the ultraviolet image, the photon density of all pixels in the ultraviolet image is calculated. The photon density is calculated by counting the number of photons in the neighborhood of the current pixel. The radius of the neighborhood is 1 / 8 of the width of the ultraviolet image. The pixel with the highest photon density is selected as the first cluster center; The pixel with the highest photon density outside the neighborhood of all selected cluster centers is chosen as the next cluster center. This process is iterated until the photon density outside the neighborhood of all selected cluster centers is 0. Cluster centers; Calculate the area of ​​the overlapping neighborhood between each pair of cluster centers. By comparing the calculated area with a preset value, the cluster centers are filtered out, and finally n cluster centers are obtained.

3. The GIS defect classification and assessment method based on ultraviolet images as described in claim 2, characterized in that, The step of comparing the calculated area with a preset value to filter cluster centers includes: The calculated neighborhood overlap area between each pair of cluster centers is compared with a preset value. If the calculated area is greater than the preset value, the cluster center with the lower photon density is removed. The preset value is 75% of the total neighborhood area of ​​the two cluster centers. By iterating through all cluster centers, we eventually obtain n cluster centers.

4. The GIS defect classification and assessment method based on ultraviolet images as described in claim 1, characterized in that, The CNN-based GIS defect classification model includes a first processing layer, a second processing layer, a feature selection layer, a fully connected layer, and a classification layer. The input of the first processing layer is a grayscale image, the input of the second processing layer is a binary image, the outputs of the first and second processing layers are respectively connected to the input of the feature selection layer, the output of the feature selection layer is connected to the fully connected layer, and the output of the fully connected layer is connected to the input of the classification layer. The first processing layer is used to extract grayscale image features. The first processing layer includes 5 sequentially connected... 5 convolution kernels, 3 3 convolutional kernels and average pooling; the second processing layer is used to extract binary image features, and the second processing layer includes 5 sequentially connected kernels. 5 convolution kernels, 3 3 convolutional kernels and max pooling; the feature selection layer is used to extract defect classification features based on grayscale image features and binary image features, and the feature selection layer includes a number of sequentially connected pairs of 3 3. Convolutional kernels and average pooling; the fully connected layer uses the leaky ReLU activation function; the classification layer is used to output the probability of various defects, and is activated using the softmax activation function to output the defect type corresponding to the highest probability.

5. The GIS defect classification and assessment method based on ultraviolet images as described in claim 1, characterized in that, The training process of the GIS defect classification model based on convolutional neural networks includes: A training set is constructed using multiple GIS defect area images labeled with defect types. The GIS defect classification model based on convolutional neural networks is trained using the training set. During the training process, an improved adaptive learning rate optimization algorithm is used to update the network weights and iterate the training until the loss function is minimized, thus completing the model training. The loss function is: ; In the above formula, E The error between the actual output and the expected output. It is the first i The actual output for each defect category It is the first i The expected output for each defect category, c It is the number of defect categories. It is the damping coefficient.

6. A GIS defect classification and assessment system based on ultraviolet images, characterized in that, include: The image acquisition module is used to detect GIS equipment using ultraviolet imaging equipment, acquire ultraviolet images of GIS equipment, and obtain the number of photons in the ultraviolet images; The defect region image acquisition module is used to extract the defect region from the ultraviolet image and acquire the defect region image by using the FCM algorithm based on photon density improvement; The defect type classification module is used to identify the defect type in the extracted defect area image using a CNN-based GIS defect classification model. The defect severity assessment module is used to calculate the defect severity coefficient of GIS equipment based on the number of photons, the area of ​​the defect region, and the defect type in the ultraviolet image, and to assess the severity of the defects of GIS equipment based on the defect severity coefficient and the pre-classified level. The extraction of defect regions from ultraviolet images using the photon density-based improved FCM algorithm includes: Set the fuzzy index and initialize the membership matrix; The initial cluster centers are determined based on the photon density in the ultraviolet image; Based on the determined cluster centers, the membership matrix is ​​updated according to the membership matrix calculation formula; Based on the updated membership matrix, the cluster centers are updated according to the cluster center calculation formula; The membership matrix and cluster centers are continuously updated iteratively until the preset conditions are met, at which point the iteration terminates and the final membership matrix and its corresponding cluster centers are output. Based on the final output membership matrix and its corresponding cluster centers, the pixels of the ultraviolet image are classified to extract multiple defect regions. The method of using a CNN-based GIS defect classification model to identify the extracted defect area image and determine the defect type includes: The acquired defect region image is preprocessed; the preprocessing includes: first, the defect region image is converted to grayscale, the mean is removed, and normalized to obtain a grayscale image, and then the grayscale image is binarized to obtain a binary image. The preprocessed grayscale image and binary image are input into the trained CNN-based GIS defect classification model, which outputs the probability of each type of defect and selects the defect type corresponding to the highest probability as the final defect identification result. The formula for calculating the severity coefficient of the defect is as follows: ; In the above formula, It is the number of photons in the defect region; L It is the total number of photons in the ultraviolet image; s It is the area of ​​the defective region; S It is the total area of ​​the ultraviolet image; p It is the probability of the maximum defect type; , For weights.

7. An electronic device, characterized in that, It includes a memory and a processor, as well as computer instructions stored in the memory and running on the processor, which, when executed by the processor, complete the steps of a GIS defect classification and assessment method based on ultraviolet images as described in any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, Used to store computer instructions, which, when executed by a processor, complete the steps of a GIS defect classification and assessment method based on ultraviolet images as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Suspension insulator discharge severity assessment method based on ultraviolet video and deep learning

    CN113807267A

  • Wind turbine generator defect evaluation method and related equipment

    CN114881997A