Switchgear state assessment method and device

Through the DBSCAN clustering algorithm and contour coefficient optimization technology, the problem of dealing with non-spherical and different-sized clusters in switch cabinet status evaluation is solved, and more scientific classification and more reasonable operation and maintenance suggestions are achieved.

CN111723862BActive Publication Date: 2024-09-06QINGYUAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010560757.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-18
Publication Date
2024-09-06
Estimated Expiration
2040-06-18

AI Technical Summary

Technical Problem

Existing switch cabinet condition assessment methods are difficult to handle non-spherical and different-sized clusters, and rely on artificially setting initial parameters, which affects the clustering effect.

Method used

The DBSCAN clustering algorithm is used to divide the state of the live detection data, and the parameters of the DBSCAN algorithm are optimized through the contour coefficient to achieve scientific classification of non-spherical and different-sized clusters.

Benefits of technology

It improves the scientificity and accuracy of switch cabinet status assessment, gives more reasonable operation and maintenance suggestions, and overcomes the problems of dealing with non-spherical clusters and clusters of different sizes in common clustering algorithms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111723862B
    Figure CN111723862B
Patent Text Reader

Abstract

The present invention discloses a switch cabinet state assessment method and device. The method includes obtaining live detection data of the switch cabinet; using the DBSCAN clustering algorithm to divide the live detection data into states to determine the state of the switch cabinet; and optimizing the parameters of the DBSCAN clustering algorithm through the silhouette coefficient. By using the DBSCAN clustering algorithm to divide the live detection data into states, the data can be classified more scientifically without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical clusters and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for the operation and maintenance personnel of the switch cabinet. Then, the parameters of the DBSCAN clustering algorithm are optimized through the silhouette coefficient, so that the clustering effect of the DBSCAN clustering algorithm can be good, and the rationality of the operation and maintenance suggestions is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the technical field of switch cabinet status assessment, and in particular, to a switch cabinet status assessment method and device. Background Art

[0002] With the continuous development of my country's power grid technology, a large number of switch cabinet equipment have been introduced into the operation of the power grid. The operation and maintenance of the switch cabinet is an important part of the operation of the power grid. Usually, the switch cabinet works under the harsh conditions of high temperature, high pressure and high humidity for a long time. The insulation material is prone to aging and corrosion. When the loss reaches a certain level, it will be broken down by the high voltage inside the switch cabinet, causing the switch cabinet to be prone to insulation failure. The overall structure of the switch cabinet is relatively complex, and its live detection data is numerous. At present, there are many state assessment methods based on the live detection data of the switch cabinet, including the more common fuzzy comprehensive evaluation method, normal cloud theory, and clustering algorithm state assessment methods.

[0003] In the clustering evaluation algorithm of switch cabinets, the state level is divided according to the Euclidean distance, but it is difficult to handle non-spherical clusters and clusters of different sizes. At the same time, in the state division evaluation of the clustering algorithm, its initial parameters generally need to be set manually, which is easy to have a certain impact on the final clustering effect. Summary of the invention

[0004] The present invention provides a switch cabinet state assessment method and device to achieve more scientific classification of data and improve clustering effect.

[0005] In a first aspect, an embodiment of the present invention provides a switch cabinet state assessment method, comprising:

[0006] Obtain live detection data of switch cabinet;

[0007] Using the DBSCAN clustering algorithm to divide the live detection data into states to determine the state of the switch cabinet;

[0008] The parameters of the DBSCAN clustering algorithm are optimized by the silhouette coefficient.

[0009] Optionally, using a DBSCAN clustering algorithm to divide the live detection data into states to determine the state of the switch cabinet includes:

[0010] Initializing a data sample and a cluster of clusters, wherein the data sample is the charged detection data, and the number of the clusters of the clusters is 0;

[0011] Determine a core object according to the data sample, and allocate a new cluster according to the core object; wherein the core object is a core object whose number of sample sets in its neighborhood is greater than or equal to MinPts; wherein the neighborhood of the core object is an open interval with the core object as the center point and a preset length as the radius, and MinPts is a preset integer greater than or equal to 1 and less than the number of data samples;

[0012] Determining a cluster of the data samples according to the core object and a sample set in its neighborhood;

[0013] The state of the switch cabinet is determined according to the clusters, wherein each cluster corresponds to a state of the switch cabinet.

[0014] Optionally, determining the cluster of the data sample according to the core object and the sample set in its neighborhood includes:

[0015] If the sample in the neighborhood of the core object has not been assigned a new cluster, assign it to the cluster of the core object;

[0016] If the sample in the neighborhood of the core object is another core object, the cluster of the core object and the cluster of the other core object are merged into a new cluster.

[0017] Optionally, determining the state of the switch cabinet according to the cluster includes:

[0018] The state of the switch cabinet is determined according to the value of the cluster center point.

[0019] Optionally, when determining the core object according to the data sample and allocating a new cluster according to the core object, the method further includes:

[0020] A noise point is determined according to the data sample, where the noise point is a sample whose number of sample sets in its neighborhood is less than MinPts.

[0021] Optionally, optimizing the parameters of the DBSCAN clustering algorithm by using the silhouette coefficient includes:

[0022] Calculating the silhouette coefficient of the DBSCAN clustering algorithm based on the clusters of the data samples;

[0023] The radius of the neighborhood and the value of the MinPts are adjusted according to the silhouette coefficient.

[0024] Optionally, calculating the silhouette coefficient of the DBSCAN clustering algorithm according to the clusters of the data samples includes:

[0025] Calculate the average distance between the sample points in the cluster and other sample points in the same cluster, which is the intra-cluster dissimilarity of the sample points in the cluster;

[0026] Calculate the average distance between the sample points in the cluster and the sample points in any other cluster, that is, the dissimilarity between the sample points in the cluster and any other cluster;

[0027] Calculating the silhouette coefficient of the sample points within the cluster according to the intra-cluster dissimilarity of the sample points within the cluster and the dissimilarity between the sample points within the cluster and any other cluster;

[0028] The average value of the silhouette coefficients of all sample points in the cluster is calculated as the silhouette coefficient of the DBSCAN clustering algorithm.

[0029] Optionally, after acquiring the live detection data of the switch cabinet, the method further includes:

[0030] Preprocessing the live detection data;

[0031] The Z-score standardization method was used to standardize the preprocessed charged detection data.

[0032] Optionally, preprocessing the charged detection data includes:

[0033] The Lagrange interpolation method is used to interpolate missing values ​​of the charged detection data.

[0034] In a second aspect, an embodiment of the present invention further provides a switch cabinet state assessment device, comprising:

[0035] A data acquisition module is used to acquire live detection data of the switch cabinet;

[0036] A state determination module, used for using a DBSCAN clustering algorithm to classify the live detection data into states to determine the state of the switch cabinet;

[0037] The parameter optimization module is used to optimize the parameters of the DBSCAN clustering algorithm through the silhouette coefficient.

[0038] The technical solution of the embodiment of the present invention can classify the data more scientifically by using the DBSCAN clustering algorithm to divide the states of the live detection data without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for the operation and maintenance personnel of the switch cabinet. Then, by optimizing the parameters of the DBSCAN clustering algorithm through the silhouette coefficient, the clustering effect of the DBSCAN clustering algorithm can be improved, further improving the rationality of the operation and maintenance suggestions. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1A flow chart of a switch cabinet state assessment method provided in Embodiment 1 of the present invention;

[0040] Figure 2 A flow chart of a switch cabinet status assessment method provided in Embodiment 2 of the present invention;

[0041] Figure 3 A flow chart of a switch cabinet state assessment method provided in Embodiment 3 of the present invention;

[0042] Figure 4 A schematic diagram of the structure of a switch cabinet state assessment device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0044] Embodiment 1

[0045] Figure 1 This is a flow chart of a switch cabinet state evaluation method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of evaluating the health state of a switch cabinet. The method can be executed by a switch cabinet state evaluation device, and specifically includes the following steps:

[0046] S110, obtaining live detection data of the switch cabinet.

[0047] Specifically, the fault of the switch cabinet is mainly an insulation fault. Therefore, when evaluating the health status of the switch cabinet, the insulation status of the switch cabinet can be mainly evaluated. At this time, the live detection data of the switch cabinet obtained mainly includes data that affects the insulation status of the switch cabinet. For example, the live detection data of the switch cabinet may include TEV detection data and ultrasonic detection data, which are used to reflect the insulation status of the switch cabinet. In addition, the TEV detection data and ultrasonic detection data may include data of measurement points at different positions of the switch cabinet, for example, including six measurement points at the top, middle and bottom of the front and back of the switch cabinet, and the maximum value of each measurement point in the TEV detection data and the ultrasonic detection data is used as the live detection data.

[0048] The live detection data of the switch cabinet may also include ambient temperature data, ambient humidity data and historical operation time data. These data have a certain influence on the insulation state of the switch cabinet and can be used to reflect the insulation state of the switch cabinet.

[0049] S120. Use the DBSCAN clustering algorithm to classify the live detection data into states to determine the state of the switch cabinet.

[0050] Specifically, live detection data is multi-source data. When the DBSCAN clustering algorithm is used to divide the state of live detection data, the area with sufficiently high density of live detection data can be divided into clusters, and clusters of arbitrary shapes can be formed. Similar state quantities can be quickly divided through clusters, and the state of the switch cabinet can be determined based on the divided similar state quantities. When the DBSCAN clustering algorithm is used to divide live detection data, compared with the fuzzy comprehensive evaluation method, it can be more scientifically classified without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for switch cabinet operation and maintenance personnel.

[0051] S130, optimizing the parameters of the DBSCAN clustering algorithm through the silhouette coefficient.

[0052] Specifically, the silhouette coefficient is used to measure the similarity between any data point and its cluster compared to other clusters. Its value range is from -1 to 1. The larger the value, the more similar the data point is to the cluster. That is, the silhouette coefficient can be used to evaluate the clustering effect of the DBSCAN clustering algorithm. When the DBSCAN clustering algorithm is used to divide the state of charged electromagnetic data, the parameters of the DBSCAN clustering algorithm are set randomly. For example, the values ​​of the neighborhood distance and the number of core objects in the DBSCAN clustering algorithm are set randomly. By optimizing the parameters of the DBSCAN clustering algorithm, when the value of the silhouette coefficient is closer and closer to 1, the clustering effect of the DBSCAN clustering algorithm is better, and the optimization of the parameters of the DBSCAN clustering algorithm is achieved, further improving the rationality of the operation and maintenance recommendations.

[0053] The technical solution of this embodiment, by using the DBSCAN clustering algorithm to divide the state of the live detection data, can classify the data more scientifically without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for the operation and maintenance personnel of the switch cabinet. Then, by optimizing the parameters of the DBSCAN clustering algorithm through the silhouette coefficient, the clustering effect of the DBSCAN clustering algorithm can be improved, further improving the rationality of the operation and maintenance suggestions.

[0054] Embodiment 2

[0055] Figure 2 This is a flow chart of a switch cabinet state assessment method provided in Embodiment 2 of the present invention. Based on the above embodiment, this embodiment includes:

[0056] S210: Obtaining live detection data of the switch cabinet.

[0057] S220, pre-processing the live detection data.

[0058] Specifically, the live detection data may include multiple data. First, a multi-dimensional feature data set is constructed for the live detection data. For example, the live detection data includes TEV detection data, ultrasonic detection data, ambient temperature data, ambient humidity data, and historical operation time data. A new data set is established for the above five state feature quantities. The data sets of these five feature quantity sets are respectively represented by k*1 order column vectors. For example, the data set of TEV detection data is U=[U (1) U (2) … U (k) ] T Similarly, the k-dimensional vectors of the remaining four sets of feature data sets are established, which are the data sets of ultrasonic detection data, Z = [Z (1) Z (2) … Z (k) ] T , the data set of environmental humidity data is H = [H (1) H (2) … H (k) ] T , the data set of ambient temperature data is T = [T (1) T (2) … T (k) ] T , and the data set of historical operation time data is S = [S (1) S (2) … S (k) ] T .

[0059] All data are cleaned and missing data are filled by interpolation. For example, the live detection data is preprocessed, including:

[0060] The Lagrange interpolation method is used to interpolate missing values ​​of live detection data.

[0061] The specific steps are as follows: select 5 data before and after the missing value (if there are missing values ​​in the data before and after, choose to skip), group the selected 10 data, and use the Lagrange polynomial difference formula to interpolate the missing data in the data set to obtain a new data set. For example, for the TEV detection data set U = [U (1) U (2) … U (k) ] T When the missing data in are interpolated, the new data set U' is obtained as follows:

[0062]

[0063]

[0064] Where x is the missing number of the switch cabinet, U k ′(x) is the interpolation result of the missing value, U (i) is a non-missing value. Similarly, the Lagrange interpolation method is used to interpolate the ultrasonic detection data set Z=[Z (1) Z (2) … Z (k) ] T , the data set of environmental humidity data H = [H (1) H (2) … H (k) ] T , the data set of environmental temperature data T = [T (1) T (2) … T (k) ] T , and the data set S of historical operation time data = [S (1) S (2) … S (k) ] T Interpolation processing of missing values ​​is performed to obtain preprocessed Z′, H′, T′, and S′, so that the data sets are all k-dimensional vectors. By interpolating the missing data in the data set, the integrity of the TEV detection data can be improved.

[0065] S230, using a Z-score standardization method to standardize the pre-processed live detection data.

[0066] Specifically, the preprocessed live detection data are all k-dimensional vectors, and then the Z-score standardization method is used to standardize the preprocessed live detection data so that the preprocessed live detection data are composite standard normal distribution. For example, the data set U' of the preprocessed TEV detection data is standardized:

[0067]

[0068] The standardized TEV detection data set U" is obtained.

[0069] Among them, U (k)″ It represents the standardized result, μ is the mean of the sample data, and σ is the standard deviation of the sample data.

[0070] Similarly, the preprocessed ultrasonic detection data set Z′, the environmental state humidity data set H′, the environmental state temperature data set T′ and the historical operation time data set S′ are standardized to obtain standardized data sets Z″, H″, T″, S″ in turn.

[0071] Then, update each data set U, Z, H, T, S to a standardized data set, establish a multidimensional feature data set, and use a k*5-order matrix to represent it:

[0072]

[0073] where the matrix [X1 X2 … X k ] T In each 1*5 order row vector X1, X2...X k Represents the monitoring status information of each switch cabinet. j ={X j ∈D|j=1,2,…,k} represents the state quantity of any switch cabinet.

[0074] S240 , initializing data samples and clusters, wherein the data samples are charged detection data, and the number of clusters is 0.

[0075] Specifically, during the initialization process, the imported data set D = (X1, X2, ..., X m ) as data samples, and initialize the clusters of clustering, so that the number of clusters is 0, and the current cluster is an empty set. Initialize the point T=D in the unprocessed data sample.

[0076] S250. Determine a core object based on the data samples, and allocate a new cluster based on the core object; wherein the core object is a neighborhood in which the number of sample sets is greater than or equal to MinPts; wherein the neighborhood of the core object is an open interval with the core object as the center point and a preset length as the radius, and MinPts is a preset integer greater than or equal to 1 and less than the number of data samples.

[0077] Specifically, for any sample X in the data sample j ∈D, its neighborhood ε is the distance from the data sample D to the sample X j The set of samples whose distance is no greater than ε. j ∈D, if the number of samples contained in its neighborhood ε is greater than or equal to MinPts, then the sample X j The core object and its neighborhood ε have sufficiently high density samples, so the core object can be divided into a cluster.

[0078] It should be noted that the neighborhood ε and MinPts of any sample in the data sample are randomly set, and their values ​​can be adjusted according to the accuracy requirements of the DBSCAN clustering algorithm.

[0079] S260: Determine a cluster of data samples based on the core object and the sample set in its neighborhood.

[0080] Specifically, after the core object is determined, the core object is divided into a cluster. Then the samples in its neighborhood ε are visited in turn, and the samples in the neighborhood ε are divided into clusters. This includes:

[0081] If the sample in the neighborhood of the core object has not been assigned a new cluster, it is assigned to the cluster of the core object;

[0082] If the sample in the neighborhood of a core object is another core object, the cluster of the core object and the cluster of the other core object are merged into a new cluster.

[0083] Specifically, when the samples in the neighborhood ε are not assigned a new cluster, the samples in the neighborhood ε are not core objects, and the distance between the samples in the neighborhood ε and the core object is within the neighborhood ε. The cluster formed by the core object and the samples in the neighborhood ε has the characteristic of high density, so the samples in the neighborhood ε can be assigned to the cluster of the core object. When the samples in the neighborhood ε are another core object, the samples in the neighborhood ε have been assigned a cluster when the core object is determined, and the cluster formed by the core object and the samples in the neighborhood ε has the characteristic of high density, so the cluster of the core object and the cluster corresponding to the samples in the neighborhood ε can be merged into a new cluster to reduce the division of clusters. In addition, when the samples in the neighborhood ε are another core object, the samples in the neighborhood ε of the other core object are visited in turn, and the process is the same as the above process and will not be repeated here. Until all the samples in the neighborhood ε of the core object are visited, the cluster corresponding to the core object is formed. When all the core objects are processed through the above process, the cluster C corresponding to the data sample can be formed. k}.

[0084] S270. Determine a state of the switch cabinet according to the clusters, wherein each cluster corresponds to a state of the switch cabinet.

[0085] Specifically, a cluster is a collection of similar state quantities in a data sample, and each cluster corresponds to a state of a switch cabinet. Determining the state of the switch cabinet according to the cluster includes:

[0086] The state of the switch cabinet is determined according to the value of the cluster center point.

[0087] The center point of the cluster is the average value of the sample set in the cluster. The switch cabinets in the cluster are divided into corresponding health states according to the specific value of the center point of the cluster.

[0088] S280. Optimize the parameters of the DBSCAN clustering algorithm through the silhouette coefficient.

[0089] The technical solution of this embodiment can effectively solve the problem of missing switch cabinet record data by preprocessing the live detection data, and improve the integrity of the data set. Then, by adopting the DBSCAN clustering algorithm to divide the state of the live detection data, it is possible to classify the data more scientifically without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for the operation and maintenance personnel of the switch cabinet. Then, by optimizing the parameters of the DBSCAN clustering algorithm through the silhouette coefficient, the clustering effect of the DBSCAN clustering algorithm can be improved, further improving the rationality of the operation and maintenance suggestions.

[0090] Optionally, continue to refer to Figure 2 , when determining the core object according to the data sample and assigning a new cluster according to the core object, it also includes:

[0091] S290. Determine noise points according to the data samples, where the noise points are samples whose number of sample sets in their neighborhood is less than MinPts.

[0092] Specifically, when determining the core object, when the sample X j ∈D, if the number of samples contained in its neighborhood ε is less than MinPts, then the sample is a noise point. Therefore, when using the DBSCAN clustering algorithm to divide the state of live detection data, the noise in the data sample can also be removed, the accuracy of the DBSCAN clustering algorithm in dividing the state can be improved, and the rationality of the operation and maintenance suggestions can be further improved.

[0093] Embodiment 3

[0094] Figure 3 This is a flow chart of a switch cabinet state assessment method provided in Embodiment 3 of the present invention. Based on the above embodiments, this embodiment includes:

[0095] S310: Obtaining live detection data of the switch cabinet.

[0096] S320, using the DBSCAN clustering algorithm to classify the live detection data into states to determine the state of the switch cabinet.

[0097] S330, calculating the silhouette coefficient of the DBSCAN clustering algorithm according to the clusters of the data samples.

[0098] Specifically, the silhouette coefficient of the DBSCAN clustering algorithm is calculated based on the clusters of data samples, including:

[0099] Calculate the average distance between the sample points within the cluster and other sample points in the same cluster, which is the intra-cluster dissimilarity of the sample points within the cluster.

[0100] Specifically, the sample point X in the cluster j The average distance to other sample points in the same cluster can be recorded as d j . Through the sample point X in the cluster j The average distance to other sample points in the same cluster represents the sample point X in the cluster. j The intra-cluster dissimilarity of .

[0101] Calculate the average distance between the sample points in the cluster and the sample points in any other cluster, which is the dissimilarity between the sample points in the cluster and any other cluster.

[0102] Specifically, calculate the sample point X within the cluster j To other cluster C k The average distance e of all sample points ij , e ij It is called the sample point X in the cluster j With cluster C k The dissimilarity of j =min{e j1 ,e j2 ,...,e jm} is the sample point X in the cluster j The dissimilarity between clusters.

[0103] The silhouette coefficient of the sample points within the cluster is calculated based on the dissimilarity within the cluster and the dissimilarity between the sample points within the cluster and any other clusters.

[0104] Specifically, according to the sample point X in the cluster j The intra-cluster dissimilarity d j and the inter-cluster dissimilarity e j , define the sample point X in the cluster j The silhouette coefficient is as follows:

[0105]

[0106] Among them, d j is the sample point X in the cluster j The average distance to other samples in the same cluster, e j is x j The minimum average distance to all samples in other clusters.

[0107] Calculate the average of the silhouette coefficients of all sample points in the cluster as the silhouette coefficient of the data sample.

[0108] Specifically, calculate the average value of all sample points s(j) at this time is the silhouette coefficient of the DBSCAN clustering algorithm:

[0109]

[0110] S340. Adjust the radius of the neighborhood and the value of MinPts according to the silhouette coefficient.

[0111] Specifically, the neighborhood radius and MinPts of the DBSCAN clustering algorithm are adjusted according to the value of the silhouette coefficient so that the value of the silhouette coefficient tends to 1. When the value of the silhouette coefficient tends to 1, the distance effect of the DBSCAN clustering algorithm is better, and the operation and maintenance suggestions given by the DBSCAN clustering algorithm are more reasonable.

[0112] Embodiment 4

[0113] Embodiment 4 of the present invention further provides a switch cabinet state assessment device. Figure 4 This is a schematic diagram of the structure of a switch cabinet state assessment device provided by the fourth embodiment of the present invention. Figure 4 As shown, the device comprises:

[0114] The data acquisition module 10 is used to acquire the live detection data of the switch cabinet.

[0115] The state determination module 20 is used to use the DBSCAN clustering algorithm to classify the state of the live detection data to determine the state of the switch cabinet.

[0116] The parameter optimization module 30 is used to optimize the parameters of the DBSCAN clustering algorithm through the silhouette coefficient.

[0117] The technical solution of this embodiment uses the DBSCAN clustering algorithm to divide the state of the live detection data through the state determination module, which can classify the data more scientifically without relying on subjective weights. Moreover, the DBSCAN clustering algorithm can have a good division of non-spherical and clusters of different sizes, overcoming the problem that the common mean clustering algorithm is difficult to handle non-spherical clusters and clusters of different sizes, and can provide more scientific and reasonable operation and maintenance suggestions for the operation and maintenance personnel of the switch cabinet. Then the parameter optimization module optimizes the parameters of the DBSCAN clustering algorithm through the silhouette coefficient, which can make the clustering effect of the DBSCAN clustering algorithm good, and further improve the rationality of the operation and maintenance suggestions.

[0118] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A switch cabinet status assessment method, characterized in that: include: Obtain live detection data of switch cabinet; Using the DBSCAN clustering algorithm to divide the live detection data into states to determine the state of the switch cabinet; Optimizing the parameters of the DBSCAN clustering algorithm by using the silhouette coefficient; After obtaining the live detection data of the switch cabinet, it also includes: Preprocessing the live detection data; The Z-score standardization method was used to standardize the pre-processed live detection data; The live detection data is classified into states using a DBSCAN clustering algorithm to determine the state of the switch cabinet, including: Initializing a data sample and a cluster of clusters, wherein the data sample is the charged detection data, and the number of the clusters of the clusters is 0; Determine a core object according to the data sample, and allocate a new cluster according to the core object; wherein the core object is a core object whose number of sample sets in its neighborhood is greater than or equal to MinPts; wherein the neighborhood of the core object is an open interval with the core object as the center point and a preset length as the radius, and MinPts is a preset integer greater than or equal to 1 and less than the number of data samples; Determining a cluster of the data samples according to the core object and a sample set in its neighborhood; Determining a state of the switch cabinet according to the clusters, wherein each cluster corresponds to a state of the switch cabinet; Determining the cluster of the data sample according to the core object and the sample set in its neighborhood includes: If the sample in the neighborhood of the core object has not been assigned a new cluster, assign it to the cluster of the core object; If the sample in the neighborhood of the core object is another core object, merging the cluster of the core object and the cluster of the other core object into a new cluster; Determining the state of the switch cabinet according to the cluster includes: Determining the state of the switch cabinet according to the value of the cluster center point; The parameters of the DBSCAN clustering algorithm are optimized by the silhouette coefficient, including: Calculating the silhouette coefficient of the DBSCAN clustering algorithm based on the clusters of the data samples; The radius of the neighborhood and the value of the MinPts are adjusted according to the silhouette coefficient.

2. The switch cabinet status assessment method according to claim 1, characterized in that: When determining the core object according to the data sample and allocating a new cluster according to the core object, the method further includes: A noise point is determined according to the data sample, where the noise point is a sample whose number of sample sets in its neighborhood is less than MinPts.

3. The switch cabinet status assessment method according to claim 1, characterized in that: Calculating the silhouette coefficient of the DBSCAN clustering algorithm according to the clusters of the data samples includes: Calculate the average distance between the sample points in the cluster and other sample points in the same cluster, which is the intra-cluster dissimilarity of the sample points in the cluster; Calculate the average distance between the sample points in the cluster and the sample points in any other cluster, that is, the dissimilarity between the sample points in the cluster and any other cluster; Calculating the silhouette coefficient of the sample points within the cluster according to the intra-cluster dissimilarity of the sample points within the cluster and the dissimilarity between the sample points within the cluster and any other cluster; The average value of the silhouette coefficients of all sample points in the cluster is calculated as the silhouette coefficient of the DBSCAN clustering algorithm.

4. The switch cabinet status assessment method according to claim 1, characterized in that: Preprocessing the live detection data includes: The Lagrange interpolation method is used to interpolate missing values ​​of the charged detection data.

5. A switch cabinet state assessment device, used to execute the method according to any one of claims 1 to 4, characterized in that: include: A data acquisition module is used to acquire live detection data of the switch cabinet; A data processing module is used to pre-process the live detection data and standardize the pre-processed live detection data using a Z-score standardization method; a state determination module is used to classify the live detection data using a DBSCAN clustering algorithm to determine the state of the switch cabinet; The parameter optimization module is used to optimize the parameters of the DBSCAN clustering algorithm through the silhouette coefficient.