Equipment quality state grading method and system based on clustering algorithm

Through the clustering algorithm, a multi-layer clustering structure is constructed, which solves the shortcomings of equipment status monitoring and fault diagnosis in the existing technology, and achieves the fine division of complex equipment status and the accuracy of fault warning. It supports the Intelligent and refined equipment health management.

CN118965038APending Publication Date: 2024-11-15NAVAL AVIATION UNIV

Patent Information

Application Number
CN202411071435.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing equipment status monitoring and fault diagnosis methods are difficult to efficiently integrate multimodal data when facing complex working conditions and multiple fault modes, and it is difficult to accurately divide the equipment operating status levels, resulting in limited early warning accuracy and timeliness of fault diagnosis.

Method used

Using a clustering algorithm-based method, multi-modal feature fusion network is constructed by collecting multi-source data for preprocessing, and a spectral clustering algorithm is used to construct a weighted similarity matrix and Laplace matrix, and the corresponding second largest eigenvalue is The eigenvector obtains clustering labels, and builds a multi-level clustering structure, establishes state level mapping rules, and divides equipment state levels.

Benefits of technology

It realizes the refined division of complex equipment status, improves the accuracy of fault warning and the timeliness of diagnosis, and provides a comprehensive and accurate equipment status level classification solution to support the intelligence and refinement of equipment health management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965038A_ABST
    Figure CN118965038A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment quality state grading method and system based on a clustering algorithm, and relates to the technical field of equipment quality state grading. Comprising the following steps: collecting multi-source data of equipment, and preprocessing the collected multi-source data; based on the preprocessed multi-source data, constructing a multi-modal feature fusion network to realize multi-modal feature mapping; constructing a weighted similarity matrix and a Laplacian matrix by adopting a spectral clustering algorithm on the basis of mapping of multi-modal features, and obtaining a clustering label through a feature vector corresponding to a second large feature value; according to the clustering labels, a multi-layer clustering structure is constructed, a state level mapping rule is established, and equipment state levels are divided. According to the invention, by integrating multi-modal data processing, deep learning and advanced clustering technologies, a set of comprehensive and accurate equipment state grading solution is provided, and powerful technical support is provided for realizing intelligence and refinement of equipment health management.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a method and a system for classifying equipment quality status based on a clustering algorithm, and belongs to the technical field of classifying equipment quality status. Background Art

[0002] Traditional equipment condition monitoring and fault diagnosis methods mainly rely on the analysis of single sensor data, such as vibration monitoring, temperature control, etc., but these methods seem to be powerless when faced with complex working conditions and multiple failure modes. In recent years, the integrated application of multi-source information fusion and advanced algorithms has gradually become a key path to improve equipment health management capabilities. Among them, clustering algorithms, as an unsupervised learning method, have demonstrated powerful pattern recognition and anomaly detection capabilities in processing large-scale, multi-dimensional data, and are widely used in the field of condition monitoring and fault warning. However, how to efficiently integrate multimodal data and accurately classify the equipment operating status level is still a technical challenge that needs to be solved urgently.

[0003] At present, although there have been studies that attempt to combine multiple sensor data for equipment status assessment, most of them focus on the application of a single algorithm, such as K-means clustering. These methods are easily affected by initial conditions when processing high-dimensional, nonlinear data, and it is difficult to effectively integrate different types of data features. In addition, most studies fail to fully utilize the spatiotemporal characteristics of equipment operation data, and lack a systematic strategy for multi-level and refined division of equipment status, resulting in limited early warning accuracy and timeliness of fault diagnosis. Summary of the invention

[0004] The present invention provides a method and system for classifying equipment quality status based on a clustering algorithm to solve the problem that the prior art is unable to cope with complex working conditions and multiple failure modes and is insufficient in handling complex equipment status monitoring and failure warning.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0006] The equipment quality status classification method based on a clustering algorithm of the present invention is characterized in that it comprises the following steps:

[0007] Step 1: Collect multi-source data of equipment and pre-process the collected multi-source data;

[0008] Step 2: Based on the preprocessed multi-source data, a multimodal feature fusion network is constructed to achieve multimodal feature mapping;

[0009] Step 3: Based on the mapping of multimodal features, the spectral clustering algorithm is used to construct the weighted similarity matrix and the Laplace matrix, and the clustering label is obtained through the eigenvector corresponding to the second largest eigenvalue;

[0010] Step 4: Based on the clustering labels, build a multi-level clustering structure, establish status level mapping rules, and divide the equipment status levels.

[0011] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, wherein: the multi-source data collection of equipment in step 1 includes the following steps:

[0012] Deploy high-precision sensors, high-definition industrial cameras, and high-sensitivity microphone arrays evenly distributed in key components and potential failure areas;

[0013] Deploy high-precision sensors including triaxial accelerometers and thermocouples. Triaxial accelerometers are used for vibration detection and collection of vibration signals, while thermocouples are used to monitor temperature changes and collect temperature data.

[0014] High-definition industrial cameras are used for image acquisition, real-time recognition of visual anomalies such as cracks and wear on the equipment surface, and image data is obtained;

[0015] High-sensitivity microphone array is used for sound recording and collecting voice signals;

[0016] According to the equipment operation cycle and fault frequency, set a reasonable data collection frequency, and use timestamp synchronization technology to ensure that all sensor data are accurately aligned in time.

[0017] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, the preprocessing in step 2 includes the following steps:

[0018] Identify and remove outliers in sensor data and use Z-score standardization to process continuous numerical data;

[0019] Median filtering was used to remove salt and pepper noise from the image data. OpenCV was used to perform brightness adjustment, contrast enhancement, rotation and translation image enhancement operations. The first few layers of the pre-trained VGG16 model were used as feature extractors. The input size was adjusted to 224x224 pixels, and a 4096-dimensional feature vector was extracted.

[0020] The background noise of the speech signal is removed by spectral subtraction, and 13-dimensional MFCC features are extracted by librosa, plus the first-order and second-order derivatives, a total of 39-dimensional features.

[0021] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, wherein: the construction of the multimodal feature fusion network described in step 2 includes the following steps:

[0022] The multimodal feature fusion network includes an image branch, a speech branch, and a numerical data branch;

[0023] Define the image branch, use ResNet50 as the backbone network, remove the top classification layer, and output a 2048-dimensional feature vector;

[0024] Define the speech branch, the LSTM layer accepts MFCC features, extracts time series features through a multi-layer LSTM structure, and flattens them into a fixed-length vector;

[0025] Define a numerical data branch, directly process the vibration and temperature data through a fully connected layer and convert them into high-dimensional feature vectors;

[0026] The output vectors of the image branch, speech branch, and numerical data branch are mapped to the same dimension using a fully connected layer, which is set to 1024 dimensions.

[0027] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, wherein: the use of spectral clustering algorithm in step 3 includes the following steps:

[0028] Define a data set X, containing n samples, each sample has m features, expressed as,

[0029] X={x1,x2,…,x i , ..., x j , ..., x n}

[0030] Among them, each sample x i (i=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as:

[0031] x i =[x i1 , x i2 , ..., x ik , ..., x im ] T

[0032] Among them, x ik Represents the value of the i-th sample on the k-th feature;

[0033] Among them, each sample x j (j=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as:

[0034] x j =[x j1 , x j2 , ..., x jk , ..., x jm ] T

[0035] Among them, x jkRepresents the value of the jth sample on the kth feature;

[0036] The feature vectors are weighted to construct a weighted similarity matrix W, which is used to represent the weighted similarity matrix between all samples in the data set, expressed as,

[0037]

[0038] Among them, each element w ij (i=1,2,……,n;j=1,2,……,n) is used to quantify the similarity between the feature vectors of the i-th sample and the j-th sample after the feature weight w is adjusted. The expression is:

[0039]

[0040] in, represents the feature vector of the i-th sample after being weighted by the feature weight w, represents the feature vector of the jth sample after being weighted by the feature weight w, It represents the square of the Euclidean distance between the feature vectors of the i-th sample and the j-th sample after being weighted by the feature weight w. b is the Gaussian kernel width, which is used to control the speed at which the similarity decays with increasing distance.

[0041] Construct the degree matrix D, D ii It is the diagonal element of the degree matrix D, which represents the degree of the ith sample, that is, the sum of the similarities with all its adjacent samples. The expression is,

[0042]

[0043] Where n is the number of samples, w ij is an element in the weighted similarity matrix, indicating the similarity between samples i and j;

[0044] Based on the weighted similarity matrix W, the Laplace matrix L is constructed, and the expression is:

[0045] L=DW

[0046] Among them, L is the Laplace matrix, W is the weighted similarity matrix, and D is the degree matrix;

[0047] Use the eigenvectors of the Laplacian matrix to cluster and find the eigenvector equal to the number of clusters, that is, the eigenvector corresponding to the second largest eigenvalue, and use it as the preliminary representation of the cluster label;

[0048] The number of clusters to be found is specified as 3, cluster label 0 corresponds to "normal", cluster label 1 corresponds to "warning", and cluster label 2 corresponds to "fault".

[0049] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, the construction of a multi-level clustering structure in step 4 includes the following steps:

[0050] Define any two samples x in the data set X i and x j The Euclidean distance d between ij , the expression is,

[0051]

[0052] Among them, m is the dimension of the feature, x ik represents the value of the i-th sample on the k-th feature, x jk Represents the value of the jth sample on the kth feature;

[0053] Calculate the Euclidean distance d between all samples ij (i≠j), each pair of samples is calculated once to obtain the average value AverageDistance, which is expressed as,

[0054]

[0055] The average value Average Distance multiplied by 0.5 is used as the initial distance threshold InitialThreshold for hierarchical clustering. The expression is:

[0056] Initial Threshold=0.5×Average D istanCe

[0057] The Ward minimum variance method is used as the clustering criterion. The merging strategy that determines the merging order is determined by minimizing the total variance increment each time the clusters are merged. Starting with the initial distance threshold, the hierarchical clustering is agglomerated.

[0058] The threshold is increased by 5% in each iteration, and the two clusters with the closest distance are merged until the initial threshold is reached or exceeded, forming a multi-level clustering structure.

[0059] As a preferred solution of the equipment quality status classification method based on clustering algorithm described in the present invention, the establishment of status level mapping rules in step 4 includes the following steps:

[0060] The centroid of each cluster is extracted as the representative feature vector. The centroid is the feature mean of all samples in the cluster. When calculating the distance between clusters, the centroid of each cluster is regarded as a point in the multidimensional space. The Euclidean distance calculation formula between the centers of two clusters is:

[0061]

[0062] in, Represents the centroid vectors of the two clusters, m is the dimension of the feature, C 1k and c 2k Respectively represent the values ​​of the two centroids on the kth feature;

[0063] Based on the inter-cluster distance, take the centroid of the "normal" cluster as the reference point, and sort all clusters according to their distance from the reference point, with the cluster with the farthest distance at the first and the cluster with the closest distance at the end;

[0064] Calculate the mean μ, the expression is,

[0065]

[0066] Among them, d i represents the distance between each cluster centroid and the reference point, and N is the number of cluster centroids;

[0067] Calculate the standard deviation σ, the expression is,

[0068]

[0069] Among them, d i represents the distance between each cluster centroid and the reference point, N is the number of cluster centroids, and μ is the mean;

[0070] Based on the mean and standard deviation, the status level is defined according to the following principles according to the sorting results:

[0071] When i When >μ+2σ, the top cluster in the sorting list is the cluster with the farthest distance. The operating parameters of these equipment are far away from the fault characteristics, indicating that the operating state is the healthiest and closest to the ideal state, which is marked as the "normal" state;

[0072] When μ+2σ>d i When >μ-σ, the cluster in the middle of the sorted list is the middle distance cluster. Although these equipments have not yet reached the failure level, they have shown potential signs of problems and are marked as "warning" status;

[0073] When i When <μ-σ, the cluster at the bottom of the sorted list is the closest distance cluster. The characteristics of these devices are closest to the known failure modes and are marked as "failure" status.

[0074] The present invention provides an equipment quality status grading system based on a clustering algorithm, which is special in that it comprises: a data collection module, a multimodal feature fusion network construction module, a spectrum clustering application module and an equipment status grading module.

[0075] The data collection module is used to collect multi-source data of equipment and pre-process the collected multi-source data;

[0076] The multimodal feature fusion network construction module is used to construct a multimodal feature fusion network based on the preprocessed multi-source data to achieve multimodal feature mapping;

[0077] The spectral clustering application module is used for mapping based on multimodal features, adopting a spectral clustering algorithm, constructing a weighted similarity matrix and a Laplace matrix, and obtaining a clustering label through an eigenvector corresponding to the second largest eigenvalue;

[0078] The equipment status level classification module is used to construct a multi-level clustering structure based on clustering labels, establish status level mapping rules, and classify equipment status levels.

[0079] The present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, wherein: when the computer program is executed by the processor, any step of the equipment quality status level classification method based on a clustering algorithm as described in the first aspect of the present invention is implemented.

[0080] An embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein: when the computer program is executed by a processor, any step of the method for classifying equipment quality status based on a clustering algorithm as described in the first aspect of the present invention is implemented.

[0081] The beneficial effects of the present invention are as follows: the present invention provides a comprehensive and accurate equipment status level classification solution by integrating multimodal data processing, deep learning and advanced clustering technology, and provides strong technical support for realizing intelligent and refined equipment health management. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0083] Figure 1 This is a flow chart of the equipment quality status level classification method based on clustering algorithm in Example 1.

[0084] Figure 2 This is a flow chart of the equipment quality status classification system based on clustering algorithm in Example 1. DETAILED DESCRIPTION

[0085] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the accompanying drawings.

[0086] Example 1

[0087] Reference Figure 1 and Figure 2 , which is the first embodiment of the present invention, and provides a method for classifying equipment quality status based on a clustering algorithm, comprising the following steps:

[0088] S1. Collect multi-source data of equipment and pre-process the collected multi-source data.

[0089] Furthermore, collecting multi-source data of equipment includes the following steps:

[0090] Deploy high-precision sensors, high-definition industrial cameras, and high-sensitivity microphone arrays evenly distributed in key components and potential failure areas;

[0091] Deploy high-precision sensors including triaxial accelerometers and thermocouples. Triaxial accelerometers are used for vibration detection and collection of vibration signals, while thermocouples are used to monitor temperature changes and collect temperature data.

[0092] High-definition industrial cameras are used for image acquisition, real-time recognition of visual anomalies such as cracks and wear on the equipment surface, and image data is obtained;

[0093] High-sensitivity microphone array is used for sound recording and collecting voice signals;

[0094] According to the equipment operation cycle and fault frequency, set a reasonable data collection frequency, and use timestamp synchronization technology to ensure that all sensor data are accurately aligned in time.

[0095] It should be noted that by deploying multiple types of sensors (such as vibration, temperature sensors, high-definition cameras and microphone arrays) in key components and potential fault areas, this step ensures that real-time status information of equipment operation is captured in an all-round and multi-dimensional manner.

[0096] Furthermore, the preprocessing includes the following steps:

[0097] Identify and remove outliers in sensor data and use Z-score standardization to process continuous numerical data;

[0098] Median filtering was used to remove salt and pepper noise from the image data. OpenCV was used to perform brightness adjustment, contrast enhancement, rotation and translation image enhancement operations. The first few layers of the pre-trained VGG16 model were used as feature extractors. The input size was adjusted to 224x224 pixels, and a 4096-dimensional feature vector was extracted.

[0099] The background noise of the speech signal is removed by spectral subtraction, and 13-dimensional MFCC features are extracted by librosa, plus the first-order and second-order derivatives, a total of 39-dimensional features.

[0100] It should be noted that for vibration signals and temperature data, the mean and standard deviation of each sensor data were calculated, and the Z-score formula was applied to each data point for standardization; all data points with Z-score>3 were identified, marked as abnormal and removed or replaced.

[0101] It should be noted that the preprocessing stage improves data quality by identifying and eliminating outliers, standardizing continuous numerical data, removing image noise and extracting features, and reducing speech signal noise and extracting features, providing a clean and standardized data foundation for subsequent analysis.

[0102] It should also be noted that this process significantly enhances the reliability of data and the accuracy of analysis, and reduces misjudgments caused by data quality issues. Through timestamp synchronization technology, the consistency and timeliness of multi-source data are ensured, providing solid data support for the comprehensive evaluation of equipment status.

[0103] It should also be noted that the innovative deployment of high-precision sensor networks covers key parts of equipment and potential fault areas to ensure the comprehensiveness and accuracy of data collection. The frequency of data collection is adaptively adjusted in combination with the operating cycle and fault frequency, and the use of timestamp synchronization technology solves the problem of multi-source data synchronization, laying a solid foundation for subsequent analysis.

[0104] S2. Based on the preprocessed multi-source data, a multimodal feature fusion network is constructed to realize multimodal feature mapping.

[0105] Furthermore, constructing a multimodal feature fusion network includes the following steps:

[0106] The multimodal feature fusion network includes an image branch, a speech branch, and a numerical data branch;

[0107] Define the image branch, use ResNet50 as the backbone network, remove the top classification layer, and output a 2048-dimensional feature vector;

[0108] Define the speech branch, the LSTM layer accepts MFCC features, extracts time series features through a multi-layer LSTM structure, and flattens them into a fixed-length vector;

[0109] Define a numerical data branch, directly process the vibration and temperature data through a fully connected layer and convert them into high-dimensional feature vectors;

[0110] The output vectors of the image branch, speech branch, and numerical data branch are mapped to the same dimension using a fully connected layer, which is set to 1024 dimensions.

[0111] It should be noted that the designed multimodal feature fusion network effectively integrates feature information (image, voice, numerical data) from different sensors. Through the architecture of ResNet50, LSTM and fully connected layer, the image, voice and numerical data are processed separately, and then mapped to a unified dimension through the fully connected layer, realizing the deep fusion of cross-modal information; effectively integrating image, voice and numerical data, extracting feature vectors with high representation ability, overcoming the limitations of traditional methods in processing heterogeneous data.

[0112] It should also be noted that this fusion strategy significantly improves the ability to capture the complex characteristics of equipment status, breaks the limitations of a single data source, enables the system to understand the equipment operating status from a broader perspective, and improves the comprehensiveness and accuracy of fault feature identification.

[0113] S3. Based on the mapping of multimodal features, the spectral clustering algorithm is used to construct the weighted similarity matrix and the Laplace matrix, and the clustering label is obtained through the eigenvector corresponding to the second largest eigenvalue.

[0114] Furthermore, the spectral clustering algorithm includes the following steps:

[0115] Define a data set X, containing n samples, each sample has m features, expressed as,

[0116] X={x1,x2,…,x i , ..., x j , ..., x n}

[0117] Among them, each sample x i (i=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as:

[0118] x i =[x i1 , x i2 , ..., x ik , ..., x im ] T

[0119] Among them, x ik Represents the value of the i-th sample on the k-th feature;

[0120] Among them, each sample x j (j=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as:

[0121] x j =[x j1 , x j2 , ..., xjk , ..., x jm ] T

[0122] Among them, x jk Represents the value of the jth sample on the kth feature;

[0123] The feature vectors are weighted to construct a weighted similarity matrix W, which is used to represent the weighted similarity matrix between all samples in the data set, expressed as,

[0124]

[0125] Among them, each element w ij (i=1,2,……,n;j=1,2,……,n) is used to quantify the similarity between the feature vectors of the i-th sample and the j-th sample after the feature weight w is adjusted. The expression is:

[0126]

[0127] in, represents the feature vector of the i-th sample after being weighted by the feature weight w, represents the feature vector of the jth sample after being weighted by the feature weight w, It represents the square of the Euclidean distance between the feature vectors of the i-th sample and the j-th sample after being weighted by the feature weight w. b is the Gaussian kernel width, which is used to control the speed at which the similarity decays with increasing distance.

[0128] Construct the degree matrix D, D ii It is the diagonal element of the degree matrix D, which represents the degree of the ith sample, that is, the sum of the similarities with all its adjacent samples. The expression is,

[0129]

[0130] Where n is the number of samples, w ij is an element in the weighted similarity matrix, indicating the similarity between samples i and j;

[0131] Based on the weighted similarity matrix W, the Laplace matrix L is constructed, and the expression is:

[0132] L=DW

[0133] Among them, L is the Laplace matrix, W is the weighted similarity matrix, and D is the degree matrix;

[0134] Use the eigenvectors of the Laplacian matrix to cluster and find the eigenvector equal to the number of clusters, that is, the eigenvector corresponding to the second largest eigenvalue, and use it as the preliminary representation of the cluster label;

[0135] The number of clusters to be found is specified as 3, cluster label 0 corresponds to "normal", cluster label 1 corresponds to "warning", and cluster label 2 corresponds to "fault".

[0136] It should be noted that, through the spectral clustering algorithm, this step performs cluster analysis on the fused multimodal features, and the constructed weighted similarity matrix and Laplace matrix strengthen the expression of the relationship between data points, especially using the eigenvector corresponding to the second largest eigenvalue to divide the clusters, which effectively avoids local optimal solutions and improves the robustness and discrimination of clustering.

[0137] It should be noted that the use of spectral clustering algorithm and carefully designed weighted similarity matrix improves the adaptability of clustering algorithm to complex data structures, especially when dealing with high-dimensional and nonlinear data sets. It can more accurately reveal the inherent structure of equipment status and provide a scientific basis for status level classification.

[0138] It should also be noted that this strategy not only improves the stability of clustering, but also can better discover the hidden structure in the data, making the classification of equipment status more refined and accurate, which helps to discover potential failure modes at an early stage and provides an important basis for preventive maintenance.

[0139] S4. Based on the clustering labels, a multi-level clustering structure is constructed, and status level mapping rules are established to divide the equipment status levels.

[0140] Furthermore, constructing a multi-level clustering structure includes the following steps:

[0141] Define any two samples x in the data set X i and x j The Euclidean distance d between ij , the expression is,

[0142]

[0143] Among them, m is the dimension of the feature, x ik represents the value of the i-th sample on the k-th feature, x jk Represents the value of the jth sample on the kth feature;

[0144] Calculate the Euclidean distance d between all samples ij (i≠j), each pair of samples is calculated once to obtain the average value AverageDistance, which is expressed as,

[0145]

[0146] The average value Average Distance multiplied by 0.5 is used as the initial distance threshold InitialThreshold for hierarchical clustering. The expression is:

[0147] Initial Threshold=0.5×Average Distance

[0148] The Ward minimum variance method is used as the clustering criterion. The merging strategy that determines the merging order is determined by minimizing the total variance increment each time the clusters are merged. Starting with the initial distance threshold, the hierarchical clustering is agglomerated.

[0149] The threshold is increased by 5% in each iteration, and the two clusters with the closest distance are merged until the initial threshold is reached or exceeded, forming a multi-level clustering structure.

[0150] Furthermore, establishing the state level mapping rule includes the following steps:

[0151] The centroid of each cluster is extracted as the representative feature vector. The centroid is the feature mean of all samples in the cluster. When calculating the distance between clusters, the centroid of each cluster is regarded as a point in the multidimensional space. The Euclidean distance calculation formula between the centers of two clusters is:

[0152]

[0153] in, Represents the centroid vectors of the two clusters, m is the dimension of the feature, c 1k and c 2k Respectively represent the values ​​of the two centroids on the kth feature;

[0154] Based on the inter-cluster distance, take the centroid of the "normal" cluster as the reference point, and sort all clusters according to their distance from the reference point, with the cluster with the farthest distance at the first and the cluster with the closest distance at the end;

[0155] Calculate the mean μ, the expression is,

[0156]

[0157] Among them, d i represents the distance between each cluster centroid and the reference point, and N is the number of cluster centroids;

[0158] Calculate the standard deviation σ, the expression is,

[0159]

[0160] Among them, d i represents the distance between each cluster centroid and the reference point, N is the number of cluster centroids, and μ is the mean;

[0161] Based on the mean and standard deviation, the status level is defined according to the following principles according to the sorting results:

[0162] When i When >μ+2σ, the top cluster in the sorting list is the cluster with the farthest distance. The operating parameters of these equipment are far away from the fault characteristics, indicating that the operating state is the healthiest and closest to the ideal state, which is marked as the "normal" state;

[0163] When μ+2σ>d i When >μ-σ, the cluster in the middle of the sorted list is the middle distance cluster. Although these equipments have not yet reached the failure level, they have shown potential signs of problems and are marked as "warning" status;

[0164] When i When <μ-σ, the cluster at the bottom of the sorted list is the closest distance cluster. The characteristics of these devices are closest to the known failure modes and are marked as "failure" status.

[0165] It should be noted that, based on the clustering obtained in the previous step, a multi-level clustering structure is formed through further hierarchical clustering optimization; through the gradually refined hierarchical clustering strategy, combined with the dynamically adjusted threshold control, the meticulousness and accuracy of the state level division are ensured. At the same time, according to the distance between clusters and the distance to the reference point, combined with the "normal", "warning" and "fault" state level mapping rules, the operating status of the equipment is systematically divided, and the accurate assessment of the health status of the equipment is achieved, which enhances the pertinence and effectiveness of maintenance decisions.

[0166] It should also be noted that this step not only refines the classification of equipment status, but also improves the resolution and reliability of status identification through multi-level cluster analysis. The clear division of status levels provides equipment managers with an intuitive and easy-to-understand basis for maintenance decision-making, which helps to take corresponding measures in a timely manner, reduce unplanned downtime, extend equipment life, and ultimately achieve the beneficial effects of improving production efficiency and reducing maintenance costs.

[0167] The present embodiment also provides an equipment quality status grade classification system based on a clustering algorithm, comprising a data collection module, a multimodal feature fusion network construction module, a spectral clustering application module and an equipment status grade classification module, wherein the data collection module is used to collect multi-source data of equipment and pre-process the collected multi-source data; the multimodal feature fusion network construction module is used to construct a multimodal feature fusion network based on the pre-processed multi-source data to achieve multimodal feature mapping; the spectral clustering application module is used to construct a weighted similarity matrix and a Laplace matrix based on the mapping of multimodal features, using a spectral clustering algorithm, and obtaining a clustering label through an eigenvector corresponding to the second largest eigenvalue; the equipment status grade classification module is used to construct a multi-level clustering structure based on the clustering label, establish a status grade mapping rule, and classify the equipment status grade.

[0168] This embodiment also provides a computer device, which is suitable for the equipment quality status level classification method based on clustering algorithm, including: a memory and a processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the file encryption method proposed in the above embodiment.

[0169] The computer device may be a terminal, and the computer device includes a processor, a memory, a communication interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covering the display screen, or a key, trackball or touchpad provided on the housing of the computer device, or an external keyboard, touchpad or mouse, etc.

[0170] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, the method for classifying equipment quality status based on a clustering algorithm as proposed in the above embodiment is implemented; the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as a static random access memory (Static Random Access Memory, SRAM for short), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM for short), an erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM for short), a programmable read-only memory (Programmable Red-Only Memory, PROM for short), a read-only memory (Read-Only Memory, ROM for short), a magnetic storage device, a flash memory, a disk or an optical disk.

[0171] Example 2

[0172] Referring to Table 1 and Table 2, which are the second embodiment of the present invention, in order to further verify the advancement of the present invention, experimental simulation data of the equipment quality status level classification method based on the clustering algorithm are provided.

[0173] Simulating a monitoring environment for a complex set of industrial equipment, this embodiment covers the entire process from data collection, preprocessing, multimodal feature fusion, spectral clustering analysis to state level classification, through comparison with the traditional single sensor monitoring method.

[0174] First, high-precision sensors, high-definition cameras and microphone arrays were installed on a complex industrial machine, covering key components such as gearboxes, bearings, and transmissions. During the one-month monitoring period, data was collected every 10 minutes according to the equipment operation cycle and historical fault data, and timestamp synchronization technology was used to maintain data consistency.

[0175] Secondly, in the preprocessing stage, we identified and removed outliers in the data, performed Z-score normalization on the vibration signal and temperature data, performed median filtering and enhancement on the image data, and used spectral subtraction to reduce noise on the speech signal and extract MFCC features.

[0176] Next, a multimodal feature fusion network was constructed to fuse the numerical data of vibration and temperature, the image feature vector (4096 dimensions), and the MFCC features of speech (39 dimensions) into a unified 1024-dimensional feature vector, effectively integrating multi-source information.

[0177] Thirdly, based on the fusion features, the spectral clustering algorithm was used to construct the weighted similarity matrix and the Laplace matrix to obtain the clustering labels, and the equipment status was divided into three levels: "normal", "warning" and "fault".

[0178] Finally, through hierarchical clustering, the state division was optimized according to the inter-cluster distance and the set threshold strategy to ensure the accuracy and reliability of the state level.

[0179] The details are shown in the following table:

[0180] Table 1 Test data table

[0181] Test subjects Equipment A-1 Device B-2 Equipment C-3 Device D-4 <![CDATA[Vibration amplitude (m / s 2 )]]> 0.32 0.58 0.89 0.51 Temperature(℃) 58 65 72 61 Image feature strength 0.78 0.85 0.92 0.81 Voice feature strength 0.23 0.35 0.78 0.30 Status Level (Traditional) normal Early Warning Fault normal Status level (present invention) normal Early Warning Fault Early Warning

[0182] By comparing the "Status Level (Traditional)" and "Status Level (Invention)" columns, it can be seen that the invention embodies significant innovation and advantages in the following aspects:

[0183] Improved accuracy of fault warning: For example, device D-4 is judged as "normal" in traditional methods, but the multimodal fusion analysis method of the present invention correctly classifies it as "warning" state, revealing the potential fault risk. This is due to the fusion analysis of multi-dimensional data, which makes the judgment of the device status more delicate and accurate.

[0184] Reduced false positives and false negatives: The present invention avoids the false positives and false negatives that may be caused by single-dimensional analysis through multi-level cluster analysis and optimized cluster label allocation strategy. For example, by accurately classifying devices A-1 and B-2, the system's ability to distinguish between normal and warning states is verified, reducing unnecessary maintenance costs.

[0185] Improved reliability of state recognition: By introducing the joint strategy of spectral clustering and hierarchical clustering, the present invention performs better in processing complex data structures and nonlinear relationships. In the case of device C-3, even if a single indicator may not have exceeded the threshold, the comprehensive multimodal feature analysis still accurately judged that it was in a "fault" state, highlighting the system's advantage in complex fault mode recognition.

[0186] In summary, this embodiment not only verifies the effectiveness and superiority of the present invention in equipment status monitoring and fault warning, but also highlights the significant contributions of multimodal data fusion, spectral clustering analysis, and multi-level clustering strategies in improving monitoring accuracy, reducing false alarms and missed alarms, and improving maintenance efficiency. This methodological innovation is expected to provide a more intelligent and efficient solution for equipment health management.

[0187] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for classifying equipment quality status based on clustering algorithm, characterized in that: include: Step 1: Collect multi-source data of equipment and pre-process the collected multi-source data; Step 2: Based on the preprocessed multi-source data, a multimodal feature fusion network is constructed to achieve multimodal feature mapping; Step 3: Based on the mapping of multimodal features, the spectral clustering algorithm is used to construct the weighted similarity matrix and the Laplace matrix, and the clustering label is obtained through the eigenvector corresponding to the second largest eigenvalue; Step 4: Based on the clustering labels, build a multi-level clustering structure, establish status level mapping rules, and divide the equipment status levels.

2. The equipment quality status classification method based on clustering algorithm according to claim 1, characterized in that: Collecting multi-source data of equipment in step 1 includes the following steps: Deploy high-precision sensors, high-definition industrial cameras, and high-sensitivity microphone arrays evenly distributed in key components and potential failure areas; Deploy high-precision sensors including triaxial accelerometers and thermocouples. Triaxial accelerometers are used for vibration detection and collection of vibration signals, while thermocouples are used to monitor temperature changes and collect temperature data. High-definition industrial cameras are used for image acquisition, real-time recognition of visual anomalies such as cracks and wear on the equipment surface, and image data is obtained; High-sensitivity microphone array is used for sound recording and collecting voice signals; According to the equipment operation cycle and fault frequency, set a reasonable data collection frequency, and use timestamp synchronization technology to ensure that all sensor data are accurately aligned in time.

3. The equipment quality status classification method based on clustering algorithm according to claim 2 is characterized in that: The pretreatment described in step 2 comprises the following steps: Identify and remove outliers in sensor data and use Z-score standardization to process continuous numerical data; Median filtering was used to remove salt and pepper noise from the image data. OpenCV was used to perform brightness adjustment, contrast enhancement, rotation and translation image enhancement operations. The first few layers of the pre-trained VGG16 model were used as feature extractors. The input size was adjusted to 224x224 pixels, and a 4096-dimensional feature vector was extracted. The background noise of the speech signal is removed by spectral subtraction, and 13-dimensional MFCC features are extracted by librosa, plus the first-order and second-order derivatives, a total of 39-dimensional features.

4. The equipment quality status classification method based on clustering algorithm according to claim 1, characterized in that: The construction of the multimodal feature fusion network described in step 2 includes the following steps: The multimodal feature fusion network includes an image branch, a speech branch, and a numerical data branch; Define the image branch, use ResNet50 as the backbone network, remove the top classification layer, and output a 2048-dimensional feature vector; Define the speech branch, the LSTM layer accepts MFCC features, extracts time series features through a multi-layer LSTM structure, and flattens them into a fixed-length vector; Define a numerical data branch, directly process the vibration and temperature data through a fully connected layer and convert them into high-dimensional feature vectors; The output vectors of the image branch, speech branch, and numerical data branch are mapped to the same dimension using a fully connected layer, which is set to 1024 dimensions.

5. The equipment quality status classification method based on clustering algorithm according to claim 1, characterized in that: The use of the spectral clustering algorithm described in step 3 includes the following steps: Define a data set X, containing n samples, each sample has m features, expressed as, X={x1,x2,...,x i ,...,x j ,...,x n } Among them, each sample x i (i=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as: x i =[x i1 ,x i2 ,…,x ik ,…,x im ] T Among them, x ik Represents the value of the i-th sample on the k-th feature; Among them, each sample x j (j=1, 2, ..., n) is an m-dimensional vector, which can be further expressed as: x j =[x j1 ,x j2 ,…,x jk ,…,x jm ] T Among them, x jk Represents the value of the jth sample on the kth feature; The feature vectors are weighted to construct a weighted similarity matrix W, which is used to represent the weighted similarity matrix between all samples in the data set, expressed as: Among them, each element w ij (i=1, 2, ..., n; j=1, 2, ..., n) is used to quantify the similarity between the feature vectors of the i-th sample and the j-th sample after the feature weight w is adjusted. The expression is: in, represents the feature vector of the i-th sample after being weighted by the feature weight w, represents the feature vector of the jth sample after being weighted by the feature weight w, It represents the square of the Euclidean distance between the feature vectors of the i-th sample and the j-th sample after being weighted by the feature weight w. b is the Gaussian kernel width, which is used to control the speed at which the similarity decays with increasing distance. Construct the degree matrix D, D ii It is the diagonal element of the degree matrix D, which represents the degree of the i-th sample, that is, the sum of the similarities with all its adjacent samples. The expression is, Where n is the number of samples, w ij is an element in the weighted similarity matrix, indicating the similarity between samples i and j; Based on the weighted similarity matrix W, the Laplace matrix L is constructed, and the expression is: L=DW Among them, L is the Laplace matrix, W is the weighted similarity matrix, and D is the degree matrix; Use the eigenvectors of the Laplacian matrix to cluster and find the eigenvector equal to the number of clusters, that is, the eigenvector corresponding to the second largest eigenvalue, and use it as the preliminary representation of the cluster label; The number of clusters to be found is specified as 3, cluster label 0 corresponds to "normal", cluster label 1 corresponds to "warning", and cluster label 2 corresponds to "fault".

6. The equipment quality status classification method based on clustering algorithm according to claim 5 is characterized in that: The construction of a multi-level clustering structure described in step 4 includes the following steps: Define any two samples x in the data set X i and x j The Euclidean distance d between ij , the expression is, Among them, m is the dimension of the feature, x ik represents the value of the i-th sample on the k-th feature, x jk Represents the value of the jth sample on the kth feature; Calculate the Euclidean distance d between all samples ij (i≠j), each pair of samples is calculated once to obtain the average value AverageDistance, which is expressed as, The average value Average Distance multiplied by 0.5 is used as the initial distance threshold InitialThreshold for hierarchical clustering. The expression is: Initial Threshold=0.5×Average Distance The Ward minimum variance method is used as the clustering criterion. The merging strategy that determines the merging order is determined by minimizing the total variance increment each time the clusters are merged. Starting with the initial distance threshold, the hierarchical clustering is agglomerated. The threshold is increased by 5% in each iteration, and the two clusters with the closest distance are merged until the initial threshold is reached or exceeded, forming a multi-level clustering structure.

7. The equipment quality status classification method based on clustering algorithm according to claim 6 is characterized in that: The establishment of the state level mapping rule in step 4 includes the following steps: The centroid of each cluster is extracted as the representative feature vector. The centroid is the feature mean of all samples in the cluster. When calculating the distance between clusters, the centroid of each cluster is regarded as a point in the multidimensional space. The Euclidean distance calculation formula between the centers of two clusters is: in, Represents the centroid vectors of the two clusters, m is the dimension of the feature, c 1k and c 2k Respectively represent the values ​​of the two centroids on the kth feature; Based on the inter-cluster distance, take the centroid of the "normal" cluster as the reference point, and sort all clusters according to their distance from the reference point, with the cluster with the farthest distance at the first place and the cluster with the closest distance at the end; Calculate the mean μ, the expression is, Among them, d i represents the distance between each cluster centroid and the reference point, and N is the number of cluster centroids; Calculate the standard deviation σ, the expression is: Among them, d i represents the distance between each cluster centroid and the reference point, N is the number of cluster centroids, and μ is the mean; Based on the mean and standard deviation, the status level is defined according to the following principles according to the sorting results: When i When >μ+2σ, the top cluster in the sorting list is the cluster with the farthest distance. The operating parameters of these equipment are far away from the fault characteristics, indicating that the operating status is the healthiest and closest to the ideal state, which is marked as "normal" state; When μ+2σ>d i When >μ-σ, the cluster in the middle of the sorting list is the middle distance cluster. Although these equipment have not yet reached the failure level, they have shown potential signs of problems and are marked as "warning" status; When i When <μ-σ, the cluster at the bottom of the sorted list is the closest distance cluster. The characteristics of these devices are closest to the known failure modes and are marked as "fault" status.

8. An equipment quality status classification system based on a clustering algorithm according to any one of claims 1 to 7, characterized in that: It includes data collection module, multimodal feature fusion network construction module, spectrum clustering application module and equipment status classification module. The data collection module is used to collect multi-source data of equipment and pre-process the collected multi-source data; The multimodal feature fusion network construction module is used to construct a multimodal feature fusion network based on the preprocessed multi-source data to achieve multimodal feature mapping; The spectral clustering application module is used for mapping based on multimodal features, adopting a spectral clustering algorithm, constructing a weighted similarity matrix and a Laplace matrix, and obtaining a clustering label through an eigenvector corresponding to the second largest eigenvalue; The equipment status level classification module is used to construct a multi-level clustering structure based on clustering labels, establish status level mapping rules, and classify equipment status levels.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the equipment quality status classification method based on the clustering algorithm described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the equipment quality status classification method based on a clustering algorithm described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Product quality grading evaluation standard design method and system

    CN112241832A

  • Multi-modal deep learning-based power generation equipment abnormity integrated identification method and equipment

    CN114463594A

Cited By

  • Instruction conversion method of cross-chip platform

    CN119292671A

  • Power equipment fault diagnosis method and system based on large power model

    CN120849925A

  • Network threat knowledge automatic extraction method, electronic equipment and storage medium

    CN120930756A