A method and system for diagnosing encoder faults
By collecting and analyzing the encoder operating status data, extracting multi-dimensional fault characteristics and combining them with historical data to generate evaluation values of fault diagnosis results, it solves the problems of inaccurate and untimely fault diagnosis in traditional methods and achieves more efficient fault identification and early warning. , improving the stability and efficiency of the production line.
Patent Information
- Application Number
- CN202410559525.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-08
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-05-08
AI Technical Summary
Traditional encoder fault diagnosis methods have limitations in real-time performance, accuracy and early fault detection capabilities, making it difficult to accurately identify complex fault modes, especially in the early stages of faults.
By collecting encoder operating status data, we extract multi-dimensional fault feature texture images and input them into the pre-built fault diagnosis model. Combined with historical fault data and maintenance data, we generate an evaluation value of fault diagnosis results. If it is lower than the preset value, manual review is performed. and model optimization, and generate early warning reports.
It improves the accuracy, real-time and reliability of encoder fault diagnosis, reduces production line stagnation time and risk of equipment damage, and improves production efficiency and equipment stability.
Smart Images

Figure CN118408583B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of encoder fault diagnosis, and in particular to an encoder fault diagnosis method and system. Background Art
[0002] With the continuous improvement of industrial automation, encoders, as precision measurement and control equipment, play a vital role in various mechanical systems and automated production lines. However, encoders may fail during operation due to a variety of reasons, such as electrical failure, mechanical wear, external interference, etc. These failures will not only affect the normal operation of the encoder, but may also cause stagnation of the entire production process and damage to the equipment.
[0003] Traditional encoder fault diagnosis methods mainly rely on the experience of professionals or simple logical alarms of single sensors. Although this method is intuitive, it has limitations in real-time performance, accuracy and early fault detection capabilities. It is difficult to accurately identify complex fault modes, especially in the early stages of encoder failure. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides an encoder fault diagnosis method and system which can effectively improve the accuracy, real-time and reliability of encoder fault diagnosis, thereby reducing production line downtime and equipment damage risk, and improving production efficiency and equipment stability.
[0005] In a first aspect, the present invention provides a method for diagnosing encoder faults, the method comprising:
[0006] Collecting encoder operating status data information, wherein the encoder operating status data information includes electrical signal data, vibration signal data, operating environment data and equipment operating condition data;
[0007] Extract fault identification features from the encoder operation status data information to obtain a multi-dimensional fault feature texture image of the encoder;
[0008] Inputting the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity;
[0009] Obtain historical fault data information, historical maintenance data information, and actual performance indicators of the encoder, and perform quantification processing to obtain an encoder fault impact parameter vector;
[0010] Inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value;
[0011] If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed and the encoder fault diagnosis model is iteratively optimized;
[0012] If the encoder fault diagnosis result shows that the encoder has a potential fault and the encoder fault diagnosis result evaluation value reaches the preset evaluation value, an early warning report is generated to notify maintenance personnel to perform inspection and repair.
[0013] Furthermore, the mathematical formula of the encoder fault diagnosis result evaluation model is:
[0014]
[0015] Where E represents the evaluation value of the encoder fault diagnosis result, F is the quantitative value of the fault type, S is the quantitative value of the fault severity, and W is the F is the weight value corresponding to the fault type, α is an adjustment coefficient between 0 and 1, which is used to adjust the relative importance of the fault type and the encoder fault influencing parameter vector in the evaluation value of the encoder fault diagnosis result; P i represents the parameter affected by the i-th encoder fault, Represents the weight value of the parameter affecting the i-th encoder fault.
[0016] Furthermore, the method for constructing the encoder fault diagnosis result evaluation model includes:
[0017] Collect historical encoder operation status data information, and pre-process the historical encoder operation status data information, including data cleaning, feature selection and normalization;
[0018] Extract effective features that can reflect the encoder fault condition from the processed data, and divide the extracted features into a training set and a validation set;
[0019] Selecting a deep learning model as the basic architecture of the encoder fault diagnosis result evaluation model, wherein the deep learning model includes a regression model, a classification model, and an integrated learning model;
[0020] The encoder fault diagnosis result evaluation model is trained using the training set; the encoder fault diagnosis result evaluation model is evaluated using the validation set to verify the generalization ability and prediction performance of the encoder fault diagnosis result evaluation model;
[0021] After the model is validated and achieves the expected performance, it is deployed to the actual production environment.
[0022] Furthermore, the method for acquiring the encoder multi-dimensional fault feature texture image includes:
[0023] Perform frequency domain analysis on the collected electrical signal data and vibration signal data to extract spectrum features;
[0024] Extract statistical features of encoder signals, including mean, standard deviation, peak, kurtosis, and skewness;
[0025] Perform multi-scale analysis on the signal to extract the local features of the signal, including instantaneous frequency, instantaneous amplitude and instantaneous phase;
[0026] Perform spectrum envelope analysis on vibration signals and extract envelope spectrum features, including envelope frequency, envelope amplitude and envelope spectrum shape;
[0027] Extracting statistical features of encoder operation status data, including correlation coefficient, autocorrelation function and cross-correlation function;
[0028] The extracted features are combined to form a multi-dimensional fault feature texture image of the encoder.
[0029] Furthermore, the method for obtaining the encoder fault impact parameter vector includes:
[0030] Standardize and normalize the collected data;
[0031] Based on historical fault data and historical maintenance data, construct indicators that reflect fault frequency, mean repair time, and fault interval time; at the same time, combine actual performance indicators to construct performance degradation rate and stability coefficient characteristics;
[0032] Assign reasonable weights to each feature based on its impact on the fault;
[0033] The processed data and features are organized to form an encoder fault impact parameter vector.
[0034] Furthermore, methods for manually reviewing encoder fault diagnosis results include expert intervention, multi-dimensional verification, comparative analysis, and comprehensive judgment.
[0035] Furthermore, the influencing factors for setting the preset evaluation value include production demand and safety requirements, fault impact degree and equipment importance, maintenance cost and maintenance cycle, historical data and experience.
[0036] On the other hand, the present application also provides an encoder fault diagnosis system, the system comprising:
[0037] A data acquisition module is used to collect encoder operation status data information, wherein the encoder operation status data information includes electrical signal data, vibration signal data, operation environment data and equipment working condition data;
[0038] The feature extraction and analysis module is used to extract fault identification features from the encoder operation status data information and obtain a multi-dimensional fault feature texture image of the encoder;
[0039] A fault diagnosis module is used to input the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity;
[0040] The historical data analysis module is used to obtain the historical fault data information, historical maintenance data information and actual performance indicators of the encoder, and perform quantitative processing to obtain the encoder fault impact parameter vector;
[0041] A diagnosis result evaluation module, used for inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value;
[0042] The decision feedback and optimization module is used to compare the evaluation value of the encoder fault diagnosis result with the preset evaluation value. If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed and the encoder fault diagnosis model is iteratively optimized. If the encoder fault diagnosis result shows that the encoder has a potential fault and the evaluation value of the encoder fault diagnosis result reaches the preset evaluation value, an early warning report is generated to notify maintenance personnel to conduct inspection and repair.
[0043] In a third aspect, the present application provides an electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and the computer program, when executed by the processor, implements the steps of any one of the above methods.
[0044] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in any one of the above-mentioned methods when executed by a processor.
[0045] Compared with the prior art, the present invention has the following beneficial effects: the method can fully understand the working condition of the encoder by collecting the encoder running status data information, so as to perform fault diagnosis more accurately;
[0046] By extracting fault identification features from the encoder's operating status data information, a multi-dimensional fault feature texture image of the encoder can be obtained, which improves the ability to identify complex fault modes.
[0047] The multi-dimensional fault feature texture image is input into the pre-built encoder fault diagnosis model, and the encoder fault diagnosis result is automatically obtained through the model, which reduces the dependence on the experience of professionals and improves the accuracy and real-time performance of the diagnosis.
[0048] The encoder's historical fault data, maintenance data and actual performance indicators are used for quantitative processing to obtain the encoder fault impact parameter vector, which enhances the fault assessment capability.
[0049] The fault diagnosis result and the fault influencing parameter vector are input into the encoder fault diagnosis result evaluation model to generate the encoder fault diagnosis result evaluation value, and intelligent decision-making is made based on the evaluation value, including manual review or generation of early warning reports, which improves the timeliness and effectiveness of fault handling; if the fault diagnosis result evaluation value is lower than the preset evaluation value, the fault diagnosis model is iteratively optimized to continuously improve the accuracy and efficiency of diagnosis;
[0050] In summary, this method combines the functions of data acquisition, feature extraction, model diagnosis, historical data analysis, intelligent decision-making and iterative optimization, which can effectively improve the accuracy, real-time and reliability of encoder fault diagnosis, thereby reducing production line downtime and equipment damage risks, and improving production efficiency and equipment stability. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 is a flow chart of the present invention;
[0052] Figure 2 is a flow chart of a method for constructing an encoder fault diagnosis result evaluation model;
[0053] Figure 3 It is a structural diagram of an encoder fault diagnosis system. DETAILED DESCRIPTION
[0054] In the description of the present application, those skilled in the art should know that the present application can be implemented as a method, an apparatus, an electronic device, and a computer-readable storage medium. Therefore, the present application can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), a combination of hardware and software. In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.
[0055] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, flash memories, optical fibers, optical disc read-only memories, optical storage devices, magnetic storage devices, or any combination of the above. In the present application, computer-readable storage media can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.
[0056] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws.
[0057] The present application describes the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.
[0058] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.
[0059] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.
[0060] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0061] The present application is described below in conjunction with the drawings in the present application.
[0062] Embodiment 1: Figure 1 to Figure 2 As shown, a method for diagnosing encoder faults of the present invention specifically comprises the following steps:
[0063] S1. Collecting encoder operation status data information, wherein the encoder operation status data information includes electrical signal data, vibration signal data, operation environment data and equipment working condition data;
[0064] The S1 step can not only monitor the running status of the encoder in real time, but also capture weak abnormal signals at the early stage of a fault, providing the possibility for early fault warning and accurate diagnosis. Compared with the traditional method of relying on a single sensor alarm, this greatly improves the comprehensiveness and accuracy of fault identification, and is the basis for realizing intelligent and preventive maintenance. The following is a detailed introduction to the S1 step:
[0065] Electrical signal data, including encoder output electrical signals, power supply voltage stability, and current consumption, used to assess the electrical health of the encoder;
[0066] Vibration signal data, collected by a vibration sensor attached to an encoder, vibration frequency spectrum analysis can reveal mechanical problems such as bearing damage, imbalance, and misalignment;
[0067] Operating environment data, monitoring the temperature, humidity, dust concentration, and electromagnetic interference level of the encoder's working environment. Harsh environments will accelerate encoder aging;
[0068] Equipment operating data, including equipment operating hours, load changes, and speed fluctuations, which reflect the performance of the encoder under actual operating conditions;
[0069] The method for collecting encoder operation status data information includes:
[0070] High-precision sensor deployment, select high-sensitivity and high-stability sensors to ensure the accuracy of data collection;
[0071] Multi-point synchronous acquisition: For large-scale mechanical equipment, it is necessary to synchronously collect data at multiple key locations around the encoder in order to comprehensively analyze the root cause of the fault from different angles;
[0072] Data preprocessing: filtering and denoising the original collected data to ensure the effectiveness of subsequent analysis;
[0073] Real-time transmission and storage: data is transmitted to the central processing unit in real time using reliable communication protocols, and stored under the premise of ensuring data integrity, providing an instant data source for subsequent analysis.
[0074] In this step, by collecting electrical signal and vibration signal data, the operating status of the encoder can be monitored in real time; not only can any abnormalities in normal operation be detected, but also weak abnormal signals at the initial stage of a fault can be captured; early fault warning can help take necessary maintenance measures before the fault worsens to avoid equipment damage; the traditional single sensor alarm method is difficult to fully understand the operating status and fault characteristics of the encoder; and collecting multiple data types can provide more comprehensive fault characteristics; multi-dimensional data analysis can increase the accuracy and reliability of fault diagnosis; through real-time monitoring and multi-dimensional data analysis, the intelligent diagnosis of encoder faults can be realized; based on the collected data, predictive maintenance can be achieved, faults can be prevented in time, and the reliability and efficiency of the production line can be improved; high-precision sensor deployment and multi-point synchronous acquisition ensure the accuracy and stability of the collected data; the filtering and denoising operation in the data preprocessing stage further improves the quality of the data, ensuring the effectiveness and reliability of subsequent analysis and diagnosis; the use of reliable communication protocols for real-time data transmission ensures the timeliness of fault information; real-time storage of data not only provides a historical record of the time when the fault occurs, but also provides a data basis for subsequent analysis and model optimization;
[0075] In summary, the selection of the encoder operating status data information collection method and data type in step S1, as well as the relevant data processing and transmission measures, provide a comprehensive, accurate and reliable basis for encoder fault diagnosis and support the realization of intelligent and preventive maintenance.
[0076] S2. Extract fault identification features from the encoder operation status data information to obtain a multi-dimensional fault feature texture image of the encoder;
[0077] Step S2 effectively converts complex and messy raw data into a feature set with high diagnostic value, providing input for subsequent fault diagnosis models and improving the accuracy and efficiency of diagnosis;
[0078] The method for obtaining the encoder multi-dimensional fault feature texture image includes:
[0079] S21. Perform frequency domain analysis on the collected electrical signal data and vibration signal data to extract spectrum features, including main frequency, harmonic frequency and spectrum energy distribution; help identify frequency component changes caused by electrical faults and resonant frequency features caused by mechanical faults;
[0080] S22. Use time series analysis methods to extract the statistical characteristics of encoder signals, including mean, standard deviation, peak value, kurtosis and skewness; capture the dynamic changes and periodic characteristics of the signal, and detect electrical faults and mechanical motion anomalies;
[0081] S23. Use wavelet transform to perform multi-scale analysis on the signal and extract local features of the signal, including instantaneous frequency, instantaneous amplitude and instantaneous phase; wavelet analysis can simultaneously capture the time-frequency information of the signal, making it easier to detect frequency changes and instantaneous amplitude anomalies;
[0082] S24, performing spectrum envelope analysis on the vibration signal to extract envelope spectrum features, including envelope frequency, envelope amplitude and envelope spectrum shape; spectrum envelope analysis can effectively detect changes in vibration amplitude caused by wear and failure of mechanical parts;
[0083] S25, extracting statistical features of the encoder operation status data, including correlation coefficients, autocorrelation functions, and cross-correlation functions; these statistical features can reflect the correlation and periodicity of the signal and help identify abnormal situations;
[0084] S26. Combining the above-extracted features to form a multi-dimensional fault feature texture image of the encoder.
[0085] In this step, the original complex and messy encoder operating status data is converted into a feature set with high diagnostic value, so that the subsequent fault diagnosis model can process and analyze the data more easily; by extracting multi-dimensional fault features, especially features extracted from different angles and scales, it is possible to capture the possible fault modes and abnormal behaviors of the encoder more comprehensively, thereby improving the accuracy of fault diagnosis; by extracting features from the encoder operating status data, the dimension of the data set can be greatly reduced while retaining key diagnostic information; the computational cost and time cost of the fault diagnosis model will be greatly reduced, thereby improving the efficiency of diagnosis; the feature extraction method can not only identify obvious signs of faults, but also capture some potential fault signals that have not yet shown obvious symptoms; it helps to carry out early warning and preventive maintenance before the fault occurs, avoiding stagnation and equipment damage in the production process; by continuously monitoring and extracting features from the encoder operating status data, it can help to timely discover and eliminate potential faults, improve the stability and reliability of the production system, and ensure the continuity and stability of the production process;
[0086] In summary, the feature extraction process in step S2 provides an effective basis for encoder fault diagnosis, enabling the subsequent diagnostic model to more accurately and efficiently judge the health status of the encoder, thereby improving the stability and production efficiency of the production line.
[0087] S3, inputting the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity;
[0088] The S3 step is a key step to transform the results of feature engineering into actual diagnostic capabilities based on advanced artificial intelligence algorithms. It not only requires the efficiency and accuracy of the algorithm, but also emphasizes the process of model training and optimization. It is the core of realizing intelligent fault diagnosis.
[0089] The method for constructing the encoder fault diagnosis model includes:
[0090] S31. Collect historical operating status data of the encoder, including electrical signal data, vibration signal data, operating environment data, and equipment condition data; pre-process the historical operating status data, including data cleaning, denoising, and normalization, to ensure data quality and consistency;
[0091] S32, extracting features that can reflect the running status and fault characteristics of the encoder from the processed data, and dividing the extracted features into a training set and a verification set;
[0092] S33, selecting a deep learning model as the basic architecture of the model, wherein the deep learning model includes a support vector machine, a logistic regression, a decision tree, a random forest, and a convolutional neural network;
[0093] S34, train the model using the training set data and adjust the model parameters to make it fit the data better; evaluate the model using the validation set to evaluate the performance of the model; optimize the model based on the evaluation results;
[0094] S35. After model training and optimization are completed, the model is deployed to the actual production environment for application.
[0095] In this step, advanced artificial intelligence algorithms are used to transform the results of feature engineering into actual diagnostic capabilities. The model can not only identify the type of fault, but also accurately assess the severity of the fault, providing more accurate guidance for fault handling. The efficiency and accuracy of the algorithm are emphasized. By carefully selecting and optimizing the algorithm, the accuracy and efficiency of the fault diagnosis process can be ensured, thereby improving the stability and reliability of the production line. The model training and optimization process is the core of realizing intelligent fault diagnosis. By training the model with training set data and evaluating the model performance with validation sets, the model can be continuously optimized to better adapt to the data and conditions in the actual production environment. After the model is deployed in the actual production environment for application, fast and accurate fault diagnosis can be achieved, helping the production line maintain efficient operation. Timely detection and processing of encoder faults can reduce production line downtime and improve production efficiency and output.
[0096] In summary, the beneficial effects of step S3 include improving the intelligence level of fault diagnosis, improving the accuracy and efficiency of diagnosis, and promoting the stable operation of the production line and the improvement of production efficiency.
[0097] S4, obtaining historical fault data information, historical maintenance data information and actual performance indicators of the encoder, and performing quantification processing to obtain an encoder fault impact parameter vector;
[0098] The historical fault data information includes the time when the fault occurred, the fault type, the fault duration, and the signal changes before and after the fault; these data are helpful to identify the repeatability and periodicity of the fault mode;
[0099] The historical maintenance data information records the details of each maintenance, including the maintenance time, maintenance content, replaced parts and equipment performance after maintenance; it helps to evaluate the impact of maintenance activities on the long-term health of the equipment;
[0100] The actual performance indicators refer to the performance data of the encoder during normal operation, including accuracy, response time and stability indicators; these data reflect the baseline performance level of the equipment;
[0101] The method for obtaining the encoder fault impact parameter vector includes:
[0102] S41. Standardize and normalize the collected data so that data from different sources and magnitudes can be compared and analyzed comprehensively;
[0103] S42. Based on historical fault data information and historical maintenance data information, construct indicators reflecting fault frequency, mean repair time, and fault interval time; at the same time, combine actual performance indicators to construct performance degradation rate and stability coefficient characteristics;
[0104] S43. Allocate reasonable weights to each feature according to its different impact on the fault;
[0105] S44. The processed data and features are organized to form an encoder fault impact parameter vector; this vector combines historical experience and lessons with the actual performance of the current equipment to provide input for subsequent evaluation models.
[0106] In this step, by obtaining the historical fault data information and historical maintenance data information of the encoder, a comprehensive analysis of the encoder's past fault conditions and maintenance records can be performed; it is helpful to identify the repeatability and periodicity of fault modes, providing an important reference for subsequent fault prediction and prevention; recording the details of each maintenance helps to evaluate the impact of maintenance activities on the long-term health of the equipment; it can help managers formulate more reasonable maintenance plans and budgets to maximize the reliability and availability of equipment; the actual performance indicators provide the performance data of the encoder during normal operation, which reflects the baseline performance level of the equipment and provides a reference standard for diagnosing faults; the encoder fault influence parameter vector is constructed using standardized and normalized data, which integrates historical fault data, maintenance data and actual performance indicators; the vector reflects the comprehensive evaluation of the impact of different factors on encoder failures, providing an important basis for subsequent fault diagnosis and evaluation;
[0107] In summary, the beneficial effects of step S4 include comprehensive historical data analysis, maintenance activity evaluation, understanding of baseline performance levels, and comprehensive analysis of fault-affecting parameter vectors, which provide reliable data support and reference basis for encoder fault diagnosis;
[0108] S5, inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value;
[0109] Step S5 can not only make decisions based on the current fault status, but also combine historical information and equipment performance trends to provide more comprehensive and accurate fault handling suggestions;
[0110] The method for constructing the encoder fault diagnosis result evaluation model includes:
[0111] S51, collecting historical encoder operation status data information, and preprocessing the historical encoder operation status data information, including data cleaning, feature selection and normalization, to ensure data quality and consistency;
[0112] S52, extracting effective features that can reflect the encoder fault condition from the processed data, and dividing the extracted features into a training set, a test set, and a verification set;
[0113] S53, selecting a deep learning model as the infrastructure of the encoder fault diagnosis result evaluation model, wherein the deep learning model includes a regression model, a classification model, and an integrated learning model;
[0114] S54, using the training set to train the encoder fault diagnosis result evaluation model, adjusting the encoder fault diagnosis result evaluation model parameters by learning the relationship between the data, and accurately predicting the encoder fault condition to the greatest extent; using the validation set to evaluate the encoder fault diagnosis result evaluation model, and verifying the generalization ability and prediction performance of the encoder fault diagnosis result evaluation model;
[0115] S55. After the model is verified and achieves the expected performance, it is deployed in the actual production environment and applied to the encoder fault diagnosis task;
[0116] The mathematical formula of the encoder fault diagnosis result evaluation model is:
[0117]
[0118] Among them, represents the evaluation value of the encoder fault diagnosis result, is the quantized value of the fault type, is the quantized value of the fault severity, is the weight value corresponding to the fault type, is an adjustment coefficient between 0 and 1, and is used to adjust the relative importance of the fault type and the encoder fault influencing parameter vector in the evaluation value of the encoder fault diagnosis result; represents the i-th encoder fault influencing parameter, and represents the weight value of the i-th encoder fault influencing parameter.
[0119] In this step, combining the historical encoder operating status data information and the current fault status can more comprehensively evaluate the encoder's fault condition; help identify potential fault modes and predict the severity of the fault, so that timely measures can be taken to avoid stagnation of the production line and damage to the equipment; the encoder fault diagnosis result evaluation model constructed based on models such as deep learning can improve the accuracy and reliability of fault handling by learning the relationship between a large amount of data and features; can reduce misjudgments and missed diagnoses and improve the accuracy of fault diagnosis; by real-time acquisition of encoder operating status data information and combining historical data for model training and evaluation, real-time monitoring and prediction of encoder faults can be achieved; and then signs of faults can be discovered in time, and preventive measures can be taken in advance to avoid the impact of faults on the production process; based on the output of the encoder fault diagnosis result evaluation model, more detailed and accurate fault handling suggestions can be provided to maintenance personnel; according to the evaluation value of the model, the maintenance plan and strategy can be adjusted, and the maintenance cycle and maintenance method of the equipment can be optimized to reduce maintenance costs and improve equipment reliability;
[0120] In summary, the encoder fault diagnosis result evaluation model constructed in step S5 can comprehensively consider historical information and current status, improve the accuracy of fault handling, realize real-time monitoring and prediction, and optimize maintenance strategies, thereby effectively reducing the impact of encoder faults on the production process and improving production efficiency and equipment reliability.
[0121] S6. If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed, and the encoder fault diagnosis model is iteratively optimized;
[0122] Methods for manually reviewing encoder fault diagnosis results include:
[0123] Expert intervention: When the results of the system's automatic diagnosis are unreliable, experienced engineers and technicians are required to intervene; these experts conduct a detailed analysis of the encoder's fault symptoms based on their rich field experience and in-depth equipment knowledge;
[0124] Multi-dimensional verification: manual review is not limited to data analysis, but also includes actual physical inspection of encoders, operation log review, and communication with operators to obtain direct feedback on equipment operation to obtain more comprehensive fault clues;
[0125] Comparative analysis: experts will compare the current fault characteristics with historical fault cases to find similarities, while also paying attention to eliminating misjudgments caused by changes in the environment or operating conditions;
[0126] Comprehensive judgment: Based on the above review information, the expert will comprehensively judge the true cause, type and severity of the fault, and decide whether immediate maintenance or adjustment of production plans is required to avoid further damage;
[0127] The method for iteratively optimizing the encoder fault diagnosis model includes:
[0128] Feedback data collection: the correct diagnostic results confirmed after manual review will be collected as standard data to calibrate and optimize the existing fault diagnosis model;
[0129] Feature importance reassessment: Based on the manual review results, the role of features in fault identification is reassessed to improve the recognition capability of the model;
[0130] Model parameter adjustment: using the parameter tuning technology of machine learning algorithms to adjust model hyperparameters to achieve better prediction performance;
[0131] Model retraining: Retrain the diagnostic model based on the latest fault data and accurate labels after manual review to ensure that the model can adapt to new fault modes and operating conditions;
[0132] Cross-validation and testing: After adjusting the model, cross-validation is used to ensure the generalization ability of the model and to verify the improvement effect on an independent test set to prevent overfitting.
[0133] Continuous monitoring and evaluation: redeploy the updated model, continuously monitor its diagnostic performance, and regularly collect new feedback data to support future model iterations.
[0134] The influencing factors for setting the preset evaluation value include:
[0135] Production needs and safety requirements. The setting of the preset evaluation value needs to take into account the needs of the production process and the potential safety hazards caused by equipment failure. If the failure of the encoder will cause the production line to downtime for too long or increase the safety risk, the preset evaluation value will be set lower accordingly to detect and deal with potential failures in time.
[0136] The degree of impact of the fault and the importance of the equipment. Different types of encoders have different importance in the production system, and the fault will have different degrees of impact on the production system; therefore, the setting of the preset evaluation value needs to take into account the degree of impact of the encoder fault on the entire production system and the importance of the encoder in the production system;
[0137] Maintenance cost and maintenance cycle. The setting of the preset evaluation value also needs to take into account the maintenance cost and maintenance cycle. If the encoder fault requires a longer maintenance cycle or the maintenance cost is high, the preset evaluation value will be set lower accordingly, so that potential faults can be discovered and handled in time to avoid further losses.
[0138] Historical data and experience are used to refer to and adjust the preset evaluation values based on past encoder failure data and maintenance experience. If the diagnostic accuracy of encoder failures in the past is low, or the failures have had a greater impact on the production system, the preset evaluation values will be set lower accordingly to improve the timeliness and accuracy of fault diagnosis.
[0139] In this step, through manual review, the experience and knowledge of professional engineers and technicians can be introduced into the fault diagnosis process, and the automatic diagnosis results can be verified and corrected, thereby improving the accuracy and reliability of fault diagnosis; manual review is not limited to data analysis, but also includes actual physical inspection of the equipment, operation log review, and communication with operators, so as to obtain more comprehensive fault clues and help discover the root causes of faults hidden behind the data; standard data collected through manual review results can be used to calibrate and optimize existing fault diagnosis models, re-evaluate the importance of features, adjust model parameters, and retrain models to improve the diagnostic ability and generalization ability of models; timely fault diagnosis and maintenance can reduce the downtime of production systems and avoid production losses; at the same time, through manual review and model optimization, the efficiency and accuracy of fault diagnosis can be improved, and the maintenance cost and maintenance cycle can be reduced; through continuous monitoring and evaluation, the continuously collected new feedback data will be used to support future model iterations, so that the fault diagnosis system can be continuously improved and optimized to adapt to the ever-changing production environment and failure modes, thereby improving the stability and reliability of the production system; greatly improving the efficiency and accuracy of encoder fault diagnosis.
[0140] S7. If the encoder fault diagnosis result shows that the encoder has a potential fault and the encoder fault diagnosis result evaluation value reaches a preset evaluation value, an early warning report is generated to notify maintenance personnel to perform inspection and repair;
[0141] Step S7 is the decision-making and response link in the entire fault diagnosis process. When the system determines that the encoder has a potential fault and the diagnostic result reaches the preset reliability threshold after evaluation, a series of warnings and maintenance actions will be triggered; the following is a detailed description of step S7:
[0142] Automatically generate a detailed early warning report based on the encoder fault diagnosis results and fault impact parameter vectors. The report contains a detailed description of the fault, including the fault code, the affected system part, and possible cause analysis. It also predicts the fault development trend and its potential impact on the production process based on historical data and current working conditions.
[0143] In order to facilitate maintenance personnel to quickly understand, the report usually includes a graphical display of fault characteristics, including a time series graph to show the changing trend of the fault signal, a three-dimensional image to show the multi-dimensional fault feature texture portrait, and a thermal map of the fault impact, so that the fault characteristics are clear at a glance;
[0144] Automatically set the priority of the fault according to its severity and impact on the production process, and guide the rational allocation of subsequent maintenance resources;
[0145] Early warning reports are sent via email, SMS, or directly pushed to the maintenance management system to ensure that the responsible person is notified immediately; the notification content briefly summarizes the fault situation and recommended actions;
[0146] Arrange maintenance tasks according to the priority of the fault and the availability of maintenance resources, including assigning the appropriate maintenance team, arranging the maintenance time window, and preparing the required tools and spare parts;
[0147] In the notification, links are provided to relevant troubleshooting manuals and past successful repair cases in the internal knowledge base to provide immediate technical support and reference for maintenance personnel;
[0148] The maintenance management system records the entire process from receiving an early warning to completing maintenance, including the time of arrival at the site, the start and end time of maintenance, the maintenance measures taken, and the information of the replaced parts, ensuring transparent management of maintenance activities;
[0149] After the repair is completed, the maintenance personnel are required to provide feedback on the actual cause of the failure, the measures taken and the repair results. This feedback information is used to verify the accuracy of the initial diagnosis and serves as the data basis for future model iteration and optimization to continuously improve the effectiveness of the diagnostic system.
[0150] In this step, by automatically triggering the early warning and responding immediately when the preset evaluation value is reached, the time from fault discovery to response is significantly shortened, and the processing efficiency is improved. At the same time, detailed fault feature analysis and prediction enhance the accuracy of diagnosis and help take measures before the fault expands. Automated priority setting and maintenance task scheduling reasonably allocate maintenance resources according to the actual impact of the fault and the current resource status, avoiding resource waste, ensuring that key equipment is repaired in time, and maintaining the continuous operation of the production line. Comprehensive recording and tracking of the maintenance process provides management with a transparent view of maintenance activities, which helps to evaluate maintenance efficiency and optimize management decisions. The closed-loop mechanism of maintenance feedback further ensures the fundamental solution of the problem and the accumulation of experience. The feedback of maintenance personnel is integrated back into the fault diagnosis model, which promotes the self-learning and iterative optimization of the model. In the long run, it can continuously improve the accuracy of the diagnosis system and cover more complex fault modes, forming a virtuous circle. By linking the internal knowledge base, maintenance personnel can quickly obtain targeted fault solutions and past successful cases, accelerate problem solving, and also promote the effective inheritance of maintenance experience and knowledge within the organization.
[0151] In summary, the S7 procedure not only achieves rapid response and effective management of potential encoder faults, but also continuously promotes the advancement of fault diagnosis capabilities through an integrated learning and feedback mechanism, providing a solid guarantee for the stable operation and continuous optimization of industrial automation systems.
[0152] Embodiment 2: Figure 3 As shown, an encoder fault diagnosis system of the present invention specifically includes the following modules;
[0153] A data acquisition module is used to collect encoder operation status data information, wherein the encoder operation status data information includes electrical signal data, vibration signal data, operation environment data and equipment working condition data;
[0154] The feature extraction and analysis module is used to extract fault identification features from the encoder operation status data information and obtain a multi-dimensional fault feature texture image of the encoder;
[0155] A fault diagnosis module is used to input the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity;
[0156] The historical data analysis module is used to obtain the historical fault data information, historical maintenance data information and actual performance indicators of the encoder, and perform quantitative processing to obtain the encoder fault impact parameter vector;
[0157] A diagnosis result evaluation module, used for inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value;
[0158] The decision feedback and optimization module is used to compare the evaluation value of the encoder fault diagnosis result with the preset evaluation value. If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed and the encoder fault diagnosis model is iteratively optimized. If the encoder fault diagnosis result shows that the encoder has a potential fault and the evaluation value of the encoder fault diagnosis result reaches the preset evaluation value, an early warning report is generated to notify maintenance personnel to conduct inspection and repair.
[0159] The system collects a variety of encoder operating status data information through the data acquisition module, and the comprehensive analysis is more comprehensive, which can more accurately reflect the actual working status of the encoder;
[0160] The feature extraction and analysis module can extract fault identification features from multi-dimensional data to form a multi-dimensional fault feature texture image of the encoder, thereby describing the encoder's fault condition more representatively and accurately;
[0161] The fault diagnosis module performs fault diagnosis based on the pre-built encoder fault diagnosis model, which can automatically identify the encoder fault type and severity, reducing the reliance on professional experience and improving the accuracy and real-time nature of the diagnosis;
[0162] The historical data analysis module can use the encoder's historical fault data information, maintenance data information and performance indicators to perform quantitative processing and generate fault impact parameter vectors. By combining them with the fault diagnosis results, the ability to evaluate encoder faults is improved.
[0163] The diagnostic result evaluation module can compare the fault diagnosis results with the preset evaluation values and make intelligent decisions based on the evaluation results, so as to take corresponding maintenance measures in time, reducing the risk of production interruption and equipment damage caused by encoder failure;
[0164] In summary, the system can identify encoder faults more accurately and timely by comprehensively utilizing multidimensional data information, model-based fault diagnosis, and intelligent decision-making optimization, thereby improving the stability, efficiency, and safety of the production system.
[0165] The various variations and specific embodiments of the encoder fault diagnosis method in the aforementioned embodiment 1 are also applicable to the encoder fault diagnosis system of this embodiment. Through the aforementioned detailed description of the encoder fault diagnosis method, those skilled in the art can clearly know the implementation method of the encoder fault diagnosis system in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.
[0166] In addition, the present application also provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned method for controlling output data is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0167] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for diagnosing encoder faults, It is characterized in that The method comprises: Collecting encoder operating status data information, wherein the encoder operating status data information includes electrical signal data, vibration signal data, operating environment data and equipment operating condition data; Extract fault identification features from the encoder operation status data information to obtain a multi-dimensional fault feature texture image of the encoder; Inputting the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity; Obtain historical fault data information, historical maintenance data information, and actual performance indicators of the encoder, and perform quantification processing to obtain an encoder fault impact parameter vector; Inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value; If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed and the encoder fault diagnosis model is iteratively optimized; If the encoder fault diagnosis result shows that the encoder has a potential fault and the encoder fault diagnosis result evaluation value reaches the preset evaluation value, an early warning report is generated to notify maintenance personnel to perform inspection and repair.
2. A method for diagnosing encoder faults as claimed in claim 1, It is characterized in that The mathematical formula of the encoder fault diagnosis result evaluation model is: Where E represents the evaluation value of the encoder fault diagnosis result, F is the quantitative value of the fault type, S is the quantitative value of the fault severity, and W is the F is the weight value corresponding to the fault type, α is an adjustment coefficient between 0 and 1, which is used to adjust the relative importance of the fault type and the encoder fault influencing parameter vector in the evaluation value of the encoder fault diagnosis result; P i represents the parameter affected by the i-th encoder fault, Represents the weight value of the parameter affecting the i-th encoder fault.
3. A method for diagnosing encoder faults as claimed in claim 2, It is characterized in that The method for constructing the encoder fault diagnosis result evaluation model includes: Collect historical encoder operation status data information, and pre-process the historical encoder operation status data information, including data cleaning, feature selection and normalization; Extract effective features that can reflect the encoder fault condition from the processed data, and divide the extracted features into a training set and a validation set; Selecting a deep learning model as the basic architecture of the encoder fault diagnosis result evaluation model, wherein the deep learning model includes a regression model, a classification model, and an integrated learning model; The encoder fault diagnosis result evaluation model is trained using the training set; the encoder fault diagnosis result evaluation model is evaluated using the validation set to verify the generalization ability and prediction performance of the encoder fault diagnosis result evaluation model; After the encoder fault diagnosis result evaluation model is verified and achieves the expected performance, it is deployed in the actual production environment.
4. A method for diagnosing encoder faults as claimed in claim 1, It is characterized in that The method for obtaining the encoder multi-dimensional fault feature texture image includes: Perform frequency domain analysis on the collected electrical signal data and vibration signal data to extract spectrum features; Extract statistical features of encoder signals, including mean, standard deviation, peak, kurtosis, and skewness; Perform multi-scale analysis on the signal to extract the local features of the signal, including instantaneous frequency, instantaneous amplitude and instantaneous phase; Perform spectrum envelope analysis on vibration signals and extract envelope spectrum features, including envelope frequency, envelope amplitude and envelope spectrum shape; Extracting statistical features of encoder operation status data, including correlation coefficient, autocorrelation function and cross-correlation function; The extracted features are combined to form a multi-dimensional fault feature texture image of the encoder.
5. A method for diagnosing encoder faults as claimed in claim 1, It is characterized in that The method for obtaining the encoder fault impact parameter vector includes: Standardize and normalize the collected data; Based on historical fault data and historical maintenance data, construct indicators that reflect fault frequency, mean repair time, and fault interval time; at the same time, combine actual performance indicators to construct performance degradation rate and stability coefficient characteristics; Assign reasonable weights to each feature based on its impact on the fault; The processed data and features are organized to form an encoder fault impact parameter vector.
6. A method for diagnosing encoder faults as claimed in claim 1, It is characterized in that Methods for manual review of encoder fault diagnosis results include expert intervention, multi-dimensional verification, comparative analysis and comprehensive judgment.
7. A method for diagnosing encoder faults as claimed in claim 1, It is characterized in that The influencing factors for setting the preset evaluation value include production demand and safety requirements, the degree of impact of the failure and the importance of the equipment, the maintenance cost and maintenance cycle, historical data and experience.
8. An encoder fault diagnosis system, It is characterized in that The system comprises: A data acquisition module is used to collect encoder operation status data information, wherein the encoder operation status data information includes electrical signal data, vibration signal data, operation environment data and equipment working condition data; The feature extraction and analysis module is used to extract fault identification features from the encoder operation status data information and obtain a multi-dimensional fault feature texture image of the encoder; A fault diagnosis module is used to input the encoder multi-dimensional fault feature texture image into a pre-built encoder fault diagnosis model to obtain an encoder fault diagnosis result, wherein the encoder fault diagnosis result includes the encoder fault type and the encoder fault severity; The historical data analysis module is used to obtain the historical fault data information, historical maintenance data information and actual performance indicators of the encoder, and perform quantitative processing to obtain the encoder fault impact parameter vector; A diagnosis result evaluation module, used for inputting the encoder fault diagnosis result and the encoder fault influencing parameter vector into a pre-built encoder fault diagnosis result evaluation model to obtain an encoder fault diagnosis result evaluation value; The decision feedback and optimization module is used to compare the evaluation value of the encoder fault diagnosis result with the preset evaluation value. If the evaluation value of the encoder fault diagnosis result is lower than the preset evaluation value, the encoder fault diagnosis result is manually reviewed and the encoder fault diagnosis model is iteratively optimized. If the encoder fault diagnosis result shows that the encoder has a potential fault and the evaluation value of the encoder fault diagnosis result reaches the preset evaluation value, an early warning report is generated to notify maintenance personnel to conduct inspection and repair.
9. An encoder fault diagnosis electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus. It is characterized in that When the computer program is executed by the processor, the steps in the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.
