System and method for automatically identifying equipment defects based on K-means clustering analysis

Through the K-means cluster analysis system, equipment defects are automatically identified, which solves the problem of traditional methods relying on manual inspection and lack of self-learning ability, achieving efficient and accurate equipment defect detection and early warning, and is suitable for a variety of equipment and sensor data.

CN118779682APending Publication Date: 2024-10-15SHANXI SIJI TECH CO LTD
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410922896.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

Traditional equipment defect identification methods rely on manual inspection, which is inefficient and inconsistent, making it difficult to detect internal defects early. Moreover, traditional automatic inspection systems lack self-learning capabilities and cannot adapt to new situations.

Method used

Adopt a system based on K-means cluster analysis to automatically identify equipment defects through data collection, processing, feature extraction, cluster analysis and defect identification modules, combine historical maintenance records and fault databases, mark and verify abnormal clusters, and establish early warnings system that enables automation and real-time data processing.

Benefits of technology

It improves the accuracy and efficiency of defect identification, reduces the demand for human resources, can detect problems in real time, adapts to different equipment and multiple sensor data, has self-learning capabilities, reduces false positives and false negatives, and is suitable for continuous production lines and high-voltage systems. load equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118779682A_ABST
    Figure CN118779682A_ABST
Patent Text Reader

Abstract

The invention discloses a system for automatically identifying equipment defects based on K-means clustering analysis, particularly relates to the field of automatic detection, and comprises a data acquisition module, a data processing module, a feature extraction and selection module, a K-means clustering execution module, a defect identification module and a result output and application module. According to the invention, a data acquisition module is responsible for collecting various sensor data generated during normal operation of equipment; secondly, the data processing module preprocesses the collected original data; then, a feature extraction and selection module extracts key features capable of representing the state of the equipment from the processed data according to the specific type and operation features of the equipment, a K-means clustering module is executed to determine the clustering number K and determine the optimal clustering number, so that the data is grouped and analyzed into clustering groups different from the normal operation state of the known equipment, and the clustering groups are classified into clustering groups; and querying the abnormal and defect states of the characterization equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automatic identification technology, and more specifically, to a system and method for automatically identifying equipment defects based on K-means clustering analysis. Background Art

[0002] With the development of big data technology and artificial intelligence, machine learning technology, especially cluster analysis, has shown great potential in automatically identifying and predicting equipment defects. Clustering algorithms such as K-means can automatically group data and identify abnormal patterns in the data, which are usually related to potential defects in the equipment. Through the application of these advanced technologies, the accuracy and efficiency of defect identification can be significantly improved, and a smarter equipment maintenance strategy can be achieved. The introduction of this technology can not only reduce dependence on manual labor, but also intervene in the early stages of the problem, thereby avoiding greater economic losses and potential safety risks.

[0003] In the field of manufacturing and equipment maintenance, the operating efficiency and safety of equipment are crucial to the continuity of production and the economic benefits of the enterprise. Timely discovery and repair of equipment defects can significantly reduce unexpected downtime and maintenance costs, while also preventing potential safety accidents.

[0004] However, traditional equipment defect identification methods face multiple challenges and limitations, such as the limitations of manual inspection: manual inspection relies on the experience and subjective judgment of technicians, which is not only inefficient but also prone to inconsistent results due to different inspectors; manual inspection makes it difficult to detect defects at an early stage, and internal defects that are not easily observed from the outside; the shortcomings of traditional automatic detection systems, which usually make fault judgments based on preset rules. These rules are based on historical data and experience and do not have the ability to self-learn and adapt to new situations. Summary of the invention

[0005] In order to overcome the above-mentioned defects of the prior art, the embodiments of the present invention provide a system and method for automatically identifying equipment defects based on K-means clustering analysis to solve the problems raised in the above-mentioned background technology.

[0006] To achieve the above object, the present invention provides the following technical solutions: Data acquisition module: used to collect various sensor data generated by the equipment during normal operation; Data processing module: used to process the raw data collected in the data acquisition module; Feature extraction and selection module: used to extract key features that can represent the status of the equipment from the processed data according to the specific type and operating characteristics of the equipment; and select features with high contribution to random forest clustering analysis; Execute the K-means clustering module: Determine the number of clusters K: Determine the number of clusters based on business requirements and data characteristics; Defect identification module: used to analyze clusters that are different from the normal operating status of known equipment based on clustering results, and query the abnormal or defective status of the equipment; combined with the historical maintenance records of the equipment, fault database and other information, to mark and verify the clusters of suspected defects; Result output and application module: The clustering and identification results are organized into reports and output to the equipment management and maintenance team; the results can be used to directly guide maintenance decisions, the formulation of preventive maintenance plans, or as the basis for further fault diagnosis and analysis.

[0007] Preferably, sensors are used to collect various sensor data, including device temperature, device vibration frequency, pressure value inside the device, current value connected to the device, and decibels of sound generated by the device; the sensors include temperature sensors, vibration sensors, pressure sensors, current sensors, and sound sensors.

[0008] Preferably, in the data processing module, data processing includes removing outliers, filling missing values ​​and data standardization.

[0009] Preferably, in the feature extraction and selection module, key features that can represent the status of the equipment are extracted from the processed data according to the equipment type and operating characteristics; among which, frequency components, peak amplitude, and spectrum density features can be extracted for vibration signal data; average temperature and temperature change trend features can be extracted for temperature data; pressure difference features can be extracted for pressure data; decibel values ​​and decibel differences are extracted from sound data; and input current, output current, and current change values ​​are extracted from current data.

[0010] Preferably, the K-means clustering module includes the following units: Determine the number of clustering units K: Evaluate the clustering effects of different K values ​​by using the elbow rule and select an optimal K value; Cluster analysis unit: Apply K-means algorithm to cluster the selected features. K-means algorithm optimizes the cluster center through an iterative process and assigns data points to the nearest cluster center until the convergence condition is met or the set number of iterations is reached; Clustering result evaluation unit: Analyze the characteristics of each cluster and evaluate the compactness and separation of clusters through the mean and median statistics of the distance within the cluster.

[0011] Preferably, in the defect identification module, the cluster group marking and verification method is specifically: Integrate data: Integrate cluster analysis results with historical maintenance records, fault databases and other information of the equipment to establish a comprehensive data set; Marking abnormal clusters: Based on the known abnormal conditions in the historical maintenance records and fault database, clusters similar to these abnormal conditions are marked as abnormal clusters; these clusters represent potential defects or abnormal conditions of the equipment; Verify the marking results: Verify the marked abnormal clusters through manual review and professional verification; Marking feedback: Update the marked abnormal clusters according to the results of expert verification; mark the verified abnormal clusters as real equipment abnormalities or defect states for subsequent analysis and processing; Data analysis and interpretation: Use data analysis tools to conduct further data mining and feature analysis on abnormal clusters to find common features and patterns of abnormal clusters; Establish an early warning system: Based on the results of marking and verification, establish an equipment status monitoring and early warning system; when abnormal clustering is detected, the system can promptly issue an alarm and take corresponding maintenance measures to ensure the normal operation and reliability of the equipment.

[0012] Preferably, the result output and application module formulates a regular inspection and maintenance plan based on the above abnormal clustering identification results to ensure that the equipment is in normal operating condition; establishes a preventive maintenance plan to reduce the risk of equipment failure; uses the abnormal clustering identification results to carry out further fault diagnosis and analysis to formulate a more accurate maintenance plan.

[0013] Technical effects and advantages of the present invention: 1. Improve recognition efficiency: The method of the present invention uses the K-means clustering algorithm to automatically process and analyze a large amount of sensor data, without the need for manual inspection item by item, which significantly reduces the demand for human resources and the error rate; the improvement of the degree of automation makes the defect detection process faster and more continuous, and is particularly suitable for application in continuous production lines and high-load equipment.

[0014] 2. Real-time data processing: Due to the high efficiency of the K-means algorithm on modern computing platforms, this method can receive and process data in real time while the equipment is running, detect problems in time, and avoid potential delays and further damage caused by them.

[0015] 3. Improve recognition accuracy: K-means cluster analysis can identify patterns of different operating states by grouping data into multiple clusters with similar characteristics; these patterns help distinguish normal operating conditions from potential defect conditions and reduce false positives and negatives.

[0016] 4. Self-learning and optimization: As time goes by and data accumulates, the clustering algorithm can continuously optimize its cluster center, improve its adaptability to new conditions and recognition accuracy; in addition, it can be combined with supervised learning methods to further correct and optimize the recognition effect, so that the model can more accurately reflect the specific fault characteristics of the equipment.

[0017] 5. Easy to expand: This method is not limited to a specific type of equipment, but can be widely applied to various types of mechanical and electronic equipment in different industries. Simply by adjusting the data input and clustering parameters, it can easily meet the monitoring needs of different equipment.

[0018] 6. Adaptability to a variety of sensor data: Whether it is temperature, pressure, vibration, sound or current data, the method of the present invention can effectively process it; this multi-data source processing capability makes the method more adaptable and extensive, and can achieve accurate defect detection in more complex systems. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of system module connection of the present invention.

[0020] Figure 2 It is a schematic diagram of the method flow of the present invention. DETAILED DESCRIPTION

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

[0022] See also Figure 1 As shown, the present invention relates to a system for automatically identifying equipment defects based on K-means clustering analysis, which includes a data acquisition module, a data processing module, a feature extraction and selection module, a K-means clustering execution module, a defect identification module, and a result output and application module.

[0023] The data acquisition module is connected to the data processing module, the data processing module is connected to the feature extraction and selection module, the feature extraction and selection module is connected to the execution K-means clustering module, the execution K-means clustering module is connected to the defect recognition module, and the defect recognition module is connected to the result output and application module.

[0024] The data acquisition module is used to collect various sensor data generated by the device during normal operation; In the data acquisition module, sensors are used to collect various sensor data, including device temperature, device vibration frequency, pressure value inside the device, current value connected to the device, and decibels of sound generated by the device; The sensors include temperature sensors, vibration sensors, pressure sensors, current sensors, and sound sensors; the installation steps of the sound sensors are as follows: Fix the sensor: Use screws to install the sound sensor at the location where the sound source is generated, ensuring that the sensor is firmly installed at the location that needs to be monitored; Connect the power supply: According to the power requirements of the sound sensor, connect the sound sensor to a power supply with rated current and voltage to ensure the normal operation of the sensor; Connect to data acquisition equipment: Connect the output of the sound sensor to the input port of the microcontroller and transmit the collected sound signal to the data acquisition system for processing and analysis; Debugging and testing: After the sound sensor is installed, debug and test it; send known sound signals and observe the output of the sensor to ensure that the sensor works properly and accurately collects sound data; Adjust parameters: According to actual needs, adjust the sensor's sampling frequency, gain and other parameters to optimize the collection effect and adapt to different environments and application scenarios.

[0025] Fix the cables: After testing and debugging, make sure the power and data cables of the sensor are firmly fixed to avoid loosening or disconnection during use; Regular maintenance: Regularly check the working status of the sensor, clean the dust and dirt on the sensor surface, and maintain the normal operation and collection accuracy of the sensor.

[0026] The specific steps for installing the vibration sensor are as follows: Select the installation location: Select a suitable installation location based on the specific conditions of the equipment and the vibration range that needs to be monitored; the suitable installation location is to install it at a part of the equipment with a high vibration frequency.

[0027] Clean the installation location: Make sure the vibration sensor installation location is clean and free of debris or dirt to avoid affecting the accuracy and stability of the sensor; Fix the vibration sensor: Fix the vibration sensor at a location with high vibration frequency on the equipment, and use screws to firmly fix the vibration sensor on the equipment to ensure that the sensor will not loosen or fall off during operation; Connect the cable: Connect the vibration sensor cable to the data acquisition system equipment, ensuring that the connection is firm and reliable to prevent data transmission interruption or distortion; Debugging and calibration: After installation, debug and calibrate the sensor; test the sensor with a vibration tester to ensure that the sensor works properly and can accurately monitor the vibration of the equipment; Monitoring data: After installation, monitor the vibration data obtained by the sensor; regularly check the working status of the sensor to ensure normal operation of the sensor and data accuracy.

[0028] Determine the installation location: Install the pressure sensor inside the equipment according to the source of the pressure signal to be monitored and the monitoring requirements; Design support structure: Install the pressure sensor inside the equipment, and design and make a support bracket according to the particularity of the installation location to ensure that the pressure sensor can be firmly installed at the location and can effectively transmit the pressure signal; Protect the sensor: Due to the high temperature and corrosive liquid factors in the installation environment, design corresponding protection measures, including the use of waterproof, dustproof and high temperature resistant materials for packaging and protection; Connect the circuit and data acquisition system: According to the circuit requirements of the pressure sensor, connect the sensor to the appropriate power supply and data acquisition system to ensure that the sensor works normally and can output accurate data; Debugging the sensor: After installation, calibrate and debug the pressure sensor to ensure that the pressure sensor can accurately monitor and output pressure signals in a special installation position; Testing and verification: Perform a series of testing and verification work, send a known pressure signal to the sensor, observe whether the output data meets expectations, and adjust the sensor parameters as needed; Regular maintenance: Regularly check the environment of the installation location and the working status of the sensor to ensure that the sensor can operate normally, and clean up the protective measures in time to maintain the accuracy and stability of the sensor; Safety considerations: Safety factors need to be considered during the installation process, especially potential safety hazards in unconventional locations, to ensure the safety of personnel and equipment during the installation process.

[0029] The data processing module is used to process the raw data collected by the data collection module; In the data processing module, data processing includes removing outliers, filling missing values ​​and data standardization; Among them, outlier removal refers to detecting and eliminating outliers in the data, and using the Z-score statistical method to identify, remove and correct outliers in the data; The steps to use the Z-score statistical method to identify, remove and correct outliers in the data are as follows: Step A1: For each data point in the data set, calculate its Z-score value; Z-score represents the degree of deviation of a data point from the mean of the data set and is a standardized method for measuring the degree of abnormality of a data point; the specific method for calculating Z-score is: , where Z represents the position of the data point relative to the data set and W represents the value of the data point. is the mean value of the data set, Expressed as the standard deviation of the data set, Step A2: a threshold m is set, and data points with a Z-score absolute value greater than m are considered outliers; wherein the threshold m is set by professionals in the field and is not specifically limited; Step A3: Check the calculated Z-score value, determine which data points have a Z-score absolute value greater than the set threshold, and mark these values ​​as outliers; Step A5: Remove the identified outliers directly from the data set; Step A7: Iterate the above steps multiple times until there are no outliers in the data set.

[0030] Among them, filling missing values ​​means filling the missing data with appropriate methods, such as using the average or median of the previous and next data or through interpolation methods.

[0031] The method of using forward filling technology to complete the missing data points is as follows: Step B1: Scan the data set to identify the locations where data points have missing values; Step B2: Select the forward filling method: Forward filling is a simple and commonly used method for dealing with missing values, that is, using the last known valid value before the missing value to fill the missing value; Step B3: For the missing values ​​identified, use the last known valid value before the missing value to fill it; for example, if a data point is missing, use its previous valid value to fill it.

[0032] Step B4: Verify the filled data set to ensure that the filled data is consistent with the original data in terms of overall trends and features; verification can be performed by recalculating statistical features and drawing charts.

[0033] Step B5: When performing forward filling, you need to handle the boundary cases of the data set, that is, how to deal with the situation when there are missing values ​​in the first data point; choose to discard these missing values ​​or use other methods to handle them.

[0034] Step B6: The filling operation will have an impact on the data, so it is necessary to record the filling operation steps and methods in order to trace the data processing process.

[0035] Step B7: According to the changes in data and different requirements, flexibly adjust the filling method and parameters to obtain better completion effect.

[0036] Among them, data standardization is because the measurement range and unit of different sensors may be different, so the data needs to be normalized or standardized to eliminate the dimension effect and make the data comparable.

[0037] The specific method of data standardization is: Step C1: Determine the data that needs to be standardized based on the collected data, and select the Min-Max standardization method; wherein the Min-Max standardization scales the data to a fixed range; Step C2: Execute the Min-Max standardization method. The specific calculation method of Min-Max standardization is: , where Y is the original data vector, is the normalized data vector, is the smallest value in the original data volume. is the largest value in the original data volume; the Min-Max normalization formula subtracts the minimum value from each element in the original data vector and then divides it by the maximum value minus the minimum value, thereby scaling all elements to within the range; Step C3: Verify the standardized data to ensure that the mean and range of the data meet expectations; Step C4: During the standardization process, special cases are specially handled according to the actual situation to ensure the accuracy and reliability of the standardization results; the special cases include extreme values ​​or abnormal data; Step C5: Record standardized methods and parameters to facilitate traceability of data processing.

[0038] Feature extraction and selection module: used to extract key features that can represent the status of the equipment from the processed data according to the specific type and operating characteristics of the equipment; and select features with high contribution to random forest clustering analysis; In the feature extraction and selection module, key features that can represent the state of the equipment are extracted from the processed data according to the equipment type and operation characteristics; among them, the frequency component, peak amplitude, and spectrum density features can be extracted from the vibration signal data; the average temperature and temperature change trend features can be extracted from the temperature data; the pressure difference feature can be extracted from the pressure data; the decibel value and decibel difference can be extracted from the sound data; the input current, output current, and current change value can be extracted from the current data; The random forest feature importance evaluation method is as follows: Prepare data: Prepare the data for building the forest model, and separate the features from the labels. The random forest algorithm is a supervised learning algorithm, so labeled data is required as the training target of the model. Build a random forest model: Use the prepared dataset to build a random forest model; a random forest is an ensemble learning model consisting of multiple decision trees, each of which is trained based on a different subset of random features.

[0039] Training model: Use the prepared dataset to train the random forest model; the model will learn the relationship between features and calculate the contribution of each feature to the model performance; calculate feature importance. After training, the importance score of each feature is calculated through the model's built-in permutation importance calculation method; Feature Importance Sorting: Sort the features according to the calculated feature importance scores, arranging the importance of features from high to low.

[0040] Select features with higher importance: According to the feature importance score, select features with higher importance as the most representative and contributing features. Usually, a threshold can be set to select features with importance scores higher than the threshold.

[0041] Verify the selection results: Retrain the model using the selected features with higher importance and evaluate whether the model performance has improved. At the same time, use methods such as cross-validation to verify the stability and reliability of the selection results.

[0042] Execute the K-means clustering module: Determine the number of clusters K: Determine the number of clusters based on business requirements and data characteristics; The K-means clustering module includes the following units: Determine the number of clustering units K: Evaluate the clustering effects of different K values ​​by using the elbow rule and select an optimal K value; The calculation method of the elbow rule is as follows: Initialize the range of K value: First determine the range of K value, you can choose K from a to b; Calculate the total variance corresponding to each K value: For each K value, run the K-means algorithm and calculate the sum of the squares of the distances from each data point to the center of its cluster, i.e. the total variance; the specific method for calculating the total variance is: For each data point , calculate its distance to the cluster center The specific method of Euclidean distance is: , where n represents the feature dimension of the data point, Represents data points The value of the kth feature, Represents the cluster center The value of the kth feature; , where m represents the number of data points and k represents the number of cluster centers. Represents data points The value of the kth feature, Represents the cluster center The value of the kth feature, Expressed as total variance; Draw a graph of K value and total variance: Draw a graph of K value and corresponding total variance value; the horizontal axis is K value and the vertical axis is the corresponding WCSS value.

[0043] Find the "elbow" point: In the K value and WCSS curve, look for an "elbow" point, that is, a steep inflection point; the elbow point is where the curve has an inflection point; at this point, the rate of decrease of the total variance slows down sharply, which means that adding more cluster centers does not significantly reduce the total variance.

[0044] Select the best K value: Determine the K value based on the elbow point, and select the K value corresponding to the elbow point as the final number of clusters. This K value uses as few cluster centers as possible while maintaining a low total variance.

[0045] Cluster analysis unit: Apply K-means algorithm to cluster the selected features. K-means algorithm optimizes the cluster center through an iterative process and assigns data points to the nearest cluster center until the convergence condition is met or the set number of iterations is reached; The steps of cluster analysis are specifically as follows: Assign data points: For each data point, calculate its distance to each cluster center and assign it to the cluster with the nearest cluster center; Update cluster centers: Calculate the mean of all data points in each cluster and use the mean as the new cluster center; repeat steps 2 and 3 until the convergence condition is met or the set number of iterations is reached; Convergence conditions: the cluster center no longer changes and the change in the sum of squared errors after several consecutive iterations is less than a threshold; Finally, we get K clusters, each of which contains a set of data points that are assigned to the cluster corresponding to the nearest cluster center to which they belong.

[0046] Clustering result evaluation unit: Analyze the characteristics of each cluster and evaluate the compactness and separation of clusters through the mean and median statistics of the distance within the cluster.

[0047] Defect identification module: used to analyze clusters that are different from the normal operating status of known equipment based on clustering results, and query the abnormal or defective status of the equipment; combined with the historical maintenance records of the equipment, fault database and other information, to mark and verify the clusters of suspected defects; In the defect identification module, the cluster group marking and verification method is specifically as follows: Integrate data: Integrate cluster analysis results with historical maintenance records, fault databases and other information of the equipment to establish a comprehensive data set; Marking abnormal clusters: Based on the known abnormal conditions in the historical maintenance records and fault database, clusters similar to these abnormal conditions are marked as abnormal clusters; these clusters represent potential defects or abnormal conditions of the equipment; Verify the marking results: Verify the marked abnormal clusters through manual review and professional verification; Marking feedback: Update the marked abnormal clusters according to the results of expert verification; mark the verified abnormal clusters as real equipment abnormalities or defect states for subsequent analysis and processing; Data analysis and interpretation: Use data analysis tools to conduct further data mining and feature analysis on abnormal clusters to find common features and patterns of abnormal clusters; Establish an early warning system: Based on the results of marking and verification, establish an equipment status monitoring and early warning system; when abnormal clustering is detected, the system can promptly issue an alarm and take corresponding maintenance measures to ensure the normal operation and reliability of the equipment.

[0048] Result output and application module: used to organize clustering and identification results into reports and output them to equipment management and maintenance teams; the results can be used to directly guide maintenance decisions, the formulation of preventive maintenance plans, or as the basis for further fault diagnosis and analysis; The result output and application module formulates regular inspection and maintenance plans based on the above abnormal clustering identification results to ensure that the equipment is in normal operating condition; establishes preventive maintenance plans to reduce the risk of equipment failure; and uses the abnormal clustering identification results to carry out further fault diagnosis and analysis to formulate more accurate maintenance plans.

[0049] See also Figure 2 As shown, in this embodiment, it should be specifically explained that the present invention provides a method for automatically identifying equipment defects based on K-means cluster analysis, comprising the following steps: Step S1: Collect various sensor data generated by the device during normal operation; Step S2: Processing the raw data collected in the data acquisition module; Step S3: extract key features that can represent the status of the equipment from the processed data according to the specific type and operation characteristics of the equipment; and select features with high contribution from random forest cluster analysis; Step S4: Determine the number of clusters K: Determine the number of clusters according to business requirements and data characteristics; Step S5: Based on the clustering results, analyze the cluster groups that are different from the normal operating state of the known equipment, and query the abnormal or defective state of the equipment; combine the historical maintenance records of the equipment, the fault database and other information to mark and verify the cluster groups suspected of defects; Step S6: Organize the clustering and identification results into a report and output it to the equipment management and maintenance team; the results can be used to directly guide maintenance decisions, the formulation of preventive maintenance plans, or serve as the basis for further fault diagnosis and analysis.

[0050] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A system for automatically identifying equipment defects based on K-means cluster analysis, characterized in that: include: Data acquisition module: used to collect various sensor data generated by the equipment during normal operation; Data processing module: used to process the raw data collected in the data acquisition module; Feature extraction and selection module: used to extract key features that can represent the status of the equipment from the processed data according to the specific type and operating characteristics of the equipment; and select features with high contribution to random forest clustering analysis; Execute the K-means clustering module: Determine the number of clusters K: Determine the number of clusters based on business requirements and data characteristics; Defect identification module: used to analyze clusters that are different from the normal operating status of known equipment based on clustering results, and query the abnormal or defective status of the equipment; combined with the historical maintenance records of the equipment, fault database and other information, to mark and verify the clusters of suspected defects; Result output and application module: used to organize the clustering and identification results into reports and output them to the equipment management and maintenance team; the results can be used to directly guide maintenance decisions, the formulation of preventive maintenance plans, or as the basis for further fault diagnosis and analysis.

2. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: In the data acquisition module, sensors are used to collect various sensor data, including device temperature, device vibration frequency, pressure value inside the device, current value connected to the device, and decibels of sound generated by the device; the sensors include temperature sensors, vibration sensors, pressure sensors, current sensors, and sound sensors.

3. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: In the data processing module, data processing includes removing outliers, filling missing values ​​and data standardization.

4. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: In the feature extraction and selection module, key features that can represent the status of the equipment are extracted from the processed data according to the equipment type and operating characteristics; among them, frequency components, peak amplitude, and spectrum density features can be extracted from vibration signal data; average temperature and temperature change trend features can be extracted from temperature data; pressure difference features can be extracted from pressure data; decibel values ​​and decibel differences can be extracted from sound data; and input current, output current, and current change values ​​can be extracted from current data.

5. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 4 is characterized in that: The random forest feature importance evaluation method is as follows: Prepare data: Prepare the data for building the forest model, and separate the features from the labels. The random forest algorithm is a supervised learning algorithm, so labeled data is required as the training target of the model. Build a random forest model: Use the prepared dataset to build a random forest model; a random forest is an ensemble learning model consisting of multiple decision trees, each of which is trained based on a different subset of random features; Training model: Use the prepared dataset to train the random forest model; the model will learn the relationship between features and calculate the contribution of each feature to the model performance; Calculate feature importance After training is completed, the importance score of each feature is obtained through the model's built-in permutation importance calculation method; Feature Importance Sorting: Sort the features according to the calculated feature importance scores, arranging the importance of features from high to low; Select features with higher importance: According to the feature importance score, select features with higher importance as the most representative and contributing features. Usually, a threshold can be set to select features with importance scores higher than the threshold. Verify the selection results: Retrain the model using the selected features with higher importance and evaluate whether the model performance has improved. At the same time, use methods such as cross-validation to verify the stability and reliability of the selection results.

6. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: The K-means clustering module includes the following units: Determine the number of clustering units K: Evaluate the clustering effects of different K values ​​by using the elbow rule and select an optimal K value; The calculation method of the elbow rule is as follows: Initialize the range of K value: First determine the range of K value, you can choose K from a to b; Calculate the total variance corresponding to each K value: For each K value, run the K-means algorithm and calculate the sum of the squares of the distances from each data point to the center of its cluster, i.e. the total variance; the specific method for calculating the total variance is: For each data point , calculate its distance to the cluster center The specific method of Euclidean distance is: , where n represents the feature dimension of the data point, Represents data points The value of the kth feature, Represents the cluster center The value of the kth feature; , where m represents the number of data points and k represents the number of cluster centers. Represents data points The value of the kth feature, Represents the cluster center The value of the kth feature, Expressed as total variance; Draw a graph of K value and total variance: Draw a graph of K value and the corresponding total variance value; the horizontal axis is K value, and the vertical axis is the corresponding WCSS value; Find the "elbow" point: In the K value and WCSS curve, find an "elbow" point, that is, a steep inflection point; the elbow point is where the curve has an inflection point; at this point, the rate of decrease of the total variance slows down sharply, which means that adding more cluster centers will not significantly reduce the total variance; Select the best K value: Determine the K value based on the elbow point, and select the K value corresponding to the elbow point as the final number of clusters; this K value uses as few cluster centers as possible while maintaining a low total variance.

7. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 6 is characterized in that: Cluster analysis unit: Apply K-means algorithm to cluster the selected features; K-means algorithm optimizes the cluster center through an iterative process and assigns data points to the nearest cluster center until the convergence condition is met or the set number of iterations is reached; The steps of cluster analysis are specifically as follows: Assign data points: For each data point, calculate its distance to each cluster center and assign it to the cluster with the nearest cluster center; Update cluster centers: Calculate the mean of all data points in each cluster and use the mean as the new cluster center; repeat steps 2 and 3 until the convergence condition is met or the set number of iterations is reached; Convergence conditions: the cluster center no longer changes and the change in the sum of squared errors after several consecutive iterations is less than a threshold; Finally, we get K clusters, each of which contains a set of data points, which are assigned to the cluster corresponding to the nearest cluster center to which they belong; Clustering result evaluation unit: Analyze the characteristics of each cluster and evaluate the compactness and separation of clusters through the mean and median statistics of the distance within the cluster.

8. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: In the defect identification module, the cluster group marking and verification method is specifically as follows: Integrate data: Integrate cluster analysis results with historical maintenance records, fault databases and other information of the equipment to establish a comprehensive data set; Mark abnormal clusters: Based on the known abnormal conditions in the historical maintenance records and fault database, mark the clusters similar to these abnormal conditions as abnormal clusters; These clusters represent potential defects or abnormal states of the equipment; Verify the marking results: Verify the marked abnormal clusters through manual review and professional verification; Marking feedback: Update the marked abnormal clusters according to the results of expert verification; mark the verified abnormal clusters as real equipment abnormalities or defect states for subsequent analysis and processing; Data analysis and interpretation: Use data analysis tools to conduct further data mining and feature analysis on abnormal clusters to find common features and patterns of abnormal clusters; Establish an early warning system: Establish an equipment status monitoring and early warning system based on the results of marking and verification; When abnormal clustering is detected, the system can issue an alarm in time and take corresponding maintenance measures to ensure the normal operation and reliability of the equipment.

9. The system for automatically identifying equipment defects based on K-means cluster analysis according to claim 1, characterized in that: The result output and application module formulates regular inspection and maintenance plans based on the above abnormal clustering identification results to ensure that the equipment is in normal operating condition; establishes preventive maintenance plans to reduce the risk of equipment failure; and uses the abnormal clustering identification results to carry out further fault diagnosis and analysis to formulate more accurate maintenance plans.

10. The method for automatically identifying equipment defects based on K-means cluster analysis according to any one of claims 1 to 9, characterized in that: Step S1: Collect various sensor data generated by the device during normal operation; Step S2: Processing the raw data collected in the data acquisition module; Step S3: extract key features that can represent the status of the equipment from the processed data according to the specific type and operation characteristics of the equipment; and select features with high contribution from random forest cluster analysis; Step S4: Determine the number of clusters K: Determine the number of clusters according to business requirements and data characteristics; Step S5: Based on the clustering results, analyze the cluster groups that are different from the normal operating state of the known equipment, and query the abnormal or defective state of the equipment; combine the historical maintenance records of the equipment, the fault database and other information to mark and verify the cluster groups suspected of defects; Step S6: Organize the clustering and identification results into a report and output it to the equipment management and maintenance team; the results can be used to directly guide maintenance decisions, the formulation of preventive maintenance plans, or serve as the basis for further fault diagnosis and analysis.

Citation Information

Cited By

  • Audio and video data management system and method based on Internet of Things

    CN119251739A

  • Roadbed surface temperature control method and system for roadbed anti-freezing experiment

    CN119396223A

  • Mutual inductor operation and maintenance method based on improved K-means

    CN119598238A

  • Intelligent fault diagnosis and alarm system for high-temperature and high-pressure dyeing machine

    CN119781448A

  • Edge computing system for monitoring energy consumption of agricultural machinery

    CN119917299A