Intelligent fault diagnosis system for EDM machine

By introducing modules such as behavioral characteristic analysis, status difference quantification and fault mode matching into the intelligent fault diagnosis system of EDM machines, the problem of inaccurate fault diagnosis in complex environments is solved, efficient fault warning and prevention are achieved, and the system is improved. self-optimization ability.

CN118504794BActive Publication Date: 2024-10-18NANTONG GEMEI IND CNC EQUIP CO LTD

Patent Information

Application Number
CN202410963512.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-18
Estimated Expiration
2044-07-18

AI Technical Summary

Technical Problem

The existing intelligent fault diagnosis system for EDM machines is difficult to accurately identify changes in equipment behavior and working conditions in complex and changeable operating environments, resulting in inaccurate fault prediction and diagnosis, and the case database lacks dynamic update and intelligent processing capabilities. Limits the timeliness and accuracy of troubleshooting.

Method used

Adopting a system including behavioral characteristic analysis module, status difference quantification module, policy generation and execution module, fault mode matching module, abnormal behavior identification module, response strategy optimization module and knowledge base update and optimization module, through data collection, normalization, Feature extraction, difference analysis, preventive control strategy setting, fault mode matching, abnormal behavior identification and response strategy optimization and other technologies realize intelligent fault diagnosis and early warning of EDM machines.

Benefits of technology

The system can more accurately identify small changes and potential deviations in equipment operation, quickly adapt to complex environments, improve the accuracy and efficiency of fault diagnosis, take preventive measures in advance, reduce the risk of equipment shutdown, and improve the fault diagnosis process through continuous learning and self-optimization. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504794B_ABST
    Figure CN118504794B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of fault diagnosis technology, specifically to an intelligent fault diagnosis system for an electric spark forming machine, the system comprising a behavior feature analysis module, a state difference quantification module, a strategy generation and execution module, a fault pattern matching module, an abnormal behavior identification module, a response strategy optimization module, and a knowledge base update and optimization module. In the present invention, through the behavior feature analysis module and the state difference quantification module, the system can more accurately identify minor changes and potential deviations in the operation of the equipment, and quickly adapt to complex and changeable operating environments. Ensure that the equipment can operate in the optimal state, while greatly advancing the time for fault warning and reducing the risk of unexpected downtime. Through the fault pattern matching module and the abnormal behavior identification module, the system can use the historical case database for deep learning, thereby improving the accuracy and efficiency of fault diagnosis. Through the analysis and application of historical fault data by intelligent algorithms, the current fault mode can be quickly matched and identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of fault diagnosis, and in particular to an intelligent fault diagnosis system for an electric spark forming machine. Background Art

[0002] The field of fault diagnosis technology is the field of using diagnostic technology to detect, analyze and solve problems and failures that occur in the operation of mechanical or electronic equipment. By using various sensors, data acquisition equipment and intelligent algorithms, the working status of the equipment can be monitored in real time, and potential signs of failure can be discovered in time, so that maintenance or repairs can be carried out in advance to avoid production delays and economic losses caused by sudden equipment shutdown.

[0003] Among them, the intelligent fault diagnosis system for EDM machines is a diagnostic system that integrates intelligent technology and is specifically designed to detect, analyze and process operating faults of EDM machines. The system monitors the operating parameters and status of the EDM machines in real time, uses intelligent algorithms to analyze data, and accurately and quickly diagnoses the types and locations of possible faults in the machines. It minimizes production interruptions caused by equipment failures and improves production efficiency and equipment reliability. It achieves early warning and rapid processing of EDM machine failures, thereby reducing maintenance time, reducing maintenance costs and improving the overall operating efficiency of the production line.

[0004] Although existing technologies have the effect of real-time monitoring and fault diagnosis, there are still problems with recognition and adaptability when dealing with complex and changing operating environments. It is difficult for the system to accurately recognize and adapt to the rapid changes in equipment behavior and working conditions, resulting in inaccurate fault prediction and diagnosis. In addition, although existing technologies provide certain diagnostic support, the timeliness and accuracy of fault handling are also limited by the lack of dynamic update and intelligent processing capabilities of the case database. At the same time, in a complex and changing production environment, it is difficult for the system to accurately determine which data patterns truly indicate potential failures, limiting the effectiveness of the early warning system. Summary of the invention

[0005] The purpose of the present invention is to solve the shortcomings in the prior art and to propose an intelligent fault diagnosis system for an electric spark forming machine.

[0006] In order to achieve the above-mentioned object, the present invention adopts the following technical scheme: an intelligent fault diagnosis system for an EDM forming machine, the system comprising a behavior feature analysis module, a state difference quantification module, a strategy generation and execution module, a fault pattern matching module, an abnormal behavior identification module, a response strategy optimization module, and a knowledge base update and optimization module;

[0007] The behavior feature analysis module collects the operation data of the EDM machine, normalizes the data, extracts key operation features, including temperature curves and pressure changes, constructs a descriptor set for the specified operation mode of the equipment, and obtains a behavior feature description information set;

[0008] The state difference quantification module compares the behavior feature description information set with the preset normal operation mode parameters, calculates the deviation value between each key feature using the difference analysis technology, constructs the deviation index mapping, and generates the state deviation analysis result;

[0009] The strategy generation and execution module pre-sets preventive measures according to the state deviation analysis results, including pre-adjustment of machine parameters, pre-setting of alarm levels and pre-arrangement of maintenance activities, to obtain a preventive control strategy;

[0010] The fault mode matching module uses the fault information in the preventive control strategy to match the existing fault case database, evaluates the similarity, selects the historical case with the highest matching degree, and obtains the matched fault mode information;

[0011] The abnormal behavior identification module monitors the real-time operation data of the equipment, performs abnormal mode analysis in combination with the matched fault mode information, determines whether the system has unknown abnormal behavior by setting a threshold, identifies potential fault points, and generates abnormal behavior indicators;

[0012] The response strategy optimization module adjusts and optimizes the parameters in the preventive control strategy according to the abnormal behavior indicators, redefines the alarm level and the maintenance response process, and establishes an optimized response strategy;

[0013] The knowledge base update and optimization module feeds back the implementation results and effects of the optimized response strategy to the system database, updates the fault case library and repair strategy, and constructs an updated system knowledge base.

[0014] The present invention has improvements in that the behavior feature description information set includes normalized operation cycles, key performance parameters, and machine operation status indicators; the state deviation analysis results include standard deviation values ​​of key operation characteristics, parameter items outside the normal operation range, and timestamps of operation anomalies; the preventive control strategy includes set upper and lower limits of machine operation parameters, preset alarm triggering conditions, and priority ranking of maintenance plans; the matched fault mode information includes identifiers of historical fault modes, solutions to similar faults, and time limits for solving historical cases; the abnormal behavior indicators include types of abnormal behaviors, frequency of abnormal occurrence, and locations of potential fault points; the optimized response strategy includes adjusted alarm levels, updated maintenance response processes, and improved machine parameter settings; the updated system knowledge base includes newly added fault case descriptions, updated repair strategies, and improved fault diagnosis processes.

[0015] The present invention is improved in that the behavior feature analysis module includes a data collection submodule, a data normalization submodule, and a feature extraction submodule;

[0016] The data collection submodule collects the operating data of the EDM machine, including temperature readings, pressure values, timestamps and device status, records the operating time and environmental conditions, and generates a raw data set;

[0017] The data normalization submodule performs data cleaning on the original data set, removes outliers and irrelevant information, and applies normalization technology to convert all parameters into a unified measurement standard to obtain a standard data set;

[0018] The feature extraction submodule extracts key indicators from the standard data set, including temperature peak value, pressure fluctuation frequency, and time series analysis of variables, describes the operating status of the equipment, and obtains a behavioral feature description information set.

[0019] The present invention is improved in that the state difference quantification module includes a feature comparison submodule, a difference calculation submodule, and a deviation mapping submodule;

[0020] The feature comparison submodule compares the real-time collected operation features with the preset normal operation mode parameters of the equipment based on the behavior feature description information set, identifies the deviation between the actual operation state and the standard operation mode, and the variation of key parameters, and obtains the feature difference comparison results;

[0021] The difference calculation submodule calculates the deviation of key operating characteristics based on the feature difference comparison results, adopts statistical analysis methods, quantifies the degree of difference between the operating status and the expected standard, and generates a deviation value calculation result;

[0022] The deviation mapping submodule creates a deviation index mapping table based on the deviation value calculation results, converts the deviation values ​​of various operating characteristics into intuitive evaluation indexes, and obtains state deviation analysis results.

[0023] The present invention is improved in that the strategy generation and execution module includes a preventive measures setting submodule, a parameter adjustment preset submodule, and a maintenance activity planning submodule;

[0024] The preventive measures setting submodule formulates preventive measures based on the state deviation analysis results, comprehensively refers to the equipment operation status and historical data, and obtains the initial preventive control strategy;

[0025] The parameter adjustment preset submodule adjusts the operating parameters of the EDM machine based on the initial preventive control strategy, sets the operating range, matches various working conditions, and generates a parameter adjustment preset scheme;

[0026] The maintenance activity planning submodule adjusts preset schemes based on parameters, plans regular and irregular maintenance activities, and obtains preventive control strategies.

[0027] The present invention is improved in that the fault pattern matching module includes a fault information analysis submodule, a case database matching submodule, and a matching case selection submodule;

[0028] The fault information analysis submodule analyzes the current equipment status and potential fault information based on the preventive control strategy, identifies the key factors that lead to performance degradation or failure, conducts a comprehensive risk assessment, and obtains the fault information analysis results;

[0029] The case database matching submodule searches for similar fault modes in the existing fault case database based on the fault information analysis results, applies the cosine similarity algorithm to refer to the fault type, occurrence environment and impact results, performs similarity analysis and correlation evaluation, and generates a fault association list;

[0030] The cosine similarity algorithm follows the formula:

[0031] Formula I

[0032] Calculate the cosine similarity between the fault information after adjusting the weight and the historical fault data set to generate a fault association list;

[0033] in, is the cosine similarity value, is the weight coefficient of the current fault vector, is the weight coefficient of the historical case vector, which is set according to the same attributes of the historical fault cases. is the current fault information vector, which is composed of multiple eigenvalues ​​of the current fault. is a historical fault case vector, which consists of multiple feature values ​​of the same type of historical faults recorded in the database. is the current fault vector after weight adjustment, is the weight-adjusted historical fault case vector, They represent the modulus lengths of the current fault vector and the historical fault case vector after adjusting the weights;

[0034] The matching case selection submodule selects the case closest to the current fault condition based on the fault association list, and obtains matching fault mode information with reference to the success rate of fault handling and the adaptability of the countermeasures.

[0035] The present invention is improved in that the abnormal behavior identification module includes a real-time data monitoring submodule, an abnormal pattern analysis submodule, and a potential fault identification submodule;

[0036] The real-time data monitoring submodule continuously collects the real-time operation data of the equipment based on the operation environment of the EDM machine, and integrates the matching fault mode information to generate a real-time monitoring data set;

[0037] The abnormal pattern analysis submodule uses data analysis technology based on real-time monitoring data sets to monitor and analyze the equipment operation status in real time, identify abnormal data patterns, use historical fault data for comparison, select abnormal behaviors, and generate abnormal pattern analysis results;

[0038] The potential fault identification submodule uses the isolation forest algorithm to evaluate the severity and frequency of abnormal behavior based on the abnormal pattern analysis results, identifies the potential fault points of the equipment using preset thresholds and indicators, and obtains abnormal behavior indicators;

[0039] The isolation forest algorithm follows the formula:

[0040] Formula II

[0041] Calculate the adjusted anomaly score to generate an abnormal behavior indicator;

[0042] in, is the data point to be evaluated, For decision tree, is the sample subset size of each tree, is the total number of trees constructed, for exist The path length in The dataset size is The average path length when is the global scaling factor, is the weight coefficient, which is determined by analyzing historical failure data and normal operation data. For data points The distance between its nearest neighbor, For data points The coefficient of variation of any characteristic associated.

[0043] The present invention is improved in that the response strategy optimization module includes a parameter adjustment optimization submodule, an alarm level setting submodule, and a response process update submodule;

[0044] The parameter adjustment and optimization submodule analyzes the operating status of the current equipment based on abnormal behavior indicators, compares historical and standard operating parameters, resets and optimizes parameters for potential fault points, and generates optimized parameter settings;

[0045] The alarm level setting submodule redefines the alarm level, sets the alarm conditions and response measures, and generates an adjusted alarm level setting based on the optimized parameter settings and the severity and impact of each potential fault point;

[0046] The response process update submodule updates the maintenance response process based on the adjusted alarm level setting, including fault response time, scheduling of the maintenance team and implementation of emergency maintenance measures, and establishes an optimized response strategy.

[0047] The present invention is improved in that the knowledge base update and optimization module includes a strategy effect feedback submodule, a fault case update submodule, and a repair strategy optimization submodule;

[0048] The strategy effect feedback submodule collects the implementation results and effects of the optimized response strategy, evaluates the strategy execution impact and performance improvement, and generates strategy effect feedback data;

[0049] The fault case update submodule identifies new fault modes and successful repair instances based on the strategy effect feedback data, updates the fault case library in the system, and constructs an updated fault case set;

[0050] The repair strategy optimization submodule utilizes the updated fault case set to review and adjust the current repair strategy, improve the strategy based on new data and fault cases, and establish an updated system knowledge base.

[0051] Compared with the prior art, the advantages and positive effects of the present invention are:

[0052] In the present invention, through the behavior feature analysis module and the state difference quantification module, the system can more accurately identify small changes and potential deviations in the operation of the equipment, and quickly adapt to complex and changeable operating environments. Ensure that the equipment can operate in the optimal state, while greatly advancing the time of fault warning, reducing the risk of unexpected downtime. Through the fault pattern matching module and the abnormal behavior identification module, the system can use the historical case database for deep learning, thereby improving the accuracy and efficiency of fault diagnosis. Through the analysis and application of historical fault data by intelligent algorithms, not only can the current fault mode be quickly matched and identified, but also potential fault trends can be predicted, so that preventive measures can be taken in advance. Finally, through the response strategy optimization module and the knowledge base update and optimization module, the system is provided with the ability of continuous learning and self-optimization. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 The module diagram of the intelligent fault diagnosis system of the EDM machine proposed by the present invention;

[0054] Figure 2 The system framework diagram of the intelligent fault diagnosis system for EDM machine proposed by the present invention;

[0055] Figure 3 A schematic diagram of a behavior feature analysis module in an intelligent fault diagnosis system for an EDM machine proposed by the present invention;

[0056] Figure 4 A schematic diagram of a state difference quantification module in an intelligent fault diagnosis system for an EDM forming machine proposed by the present invention;

[0057] Figure 5 A schematic diagram of a strategy generation and execution module in an intelligent fault diagnosis system for an EDM machine proposed by the present invention;

[0058] Figure 6 A schematic diagram of a fault mode matching module in an intelligent fault diagnosis system for an EDM machine proposed by the present invention;

[0059] Figure 7 A schematic diagram of an abnormal behavior recognition module in an intelligent fault diagnosis system for an EDM machine proposed by the present invention;

[0060] Figure 8 A schematic diagram of a response strategy optimization module in an intelligent fault diagnosis system for an EDM machine proposed by the present invention;

[0061] Fig. 9 The present invention provides a schematic diagram of a knowledge base update and optimization module in an intelligent fault diagnosis system for an EDM forming machine. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0063] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating positions or positional relationships, are based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined. Example

[0064] See also Figure 1,The present invention provides a technical solution: an intelligent fault diagnosis system for an EDM forming machine, the system includes a behavior feature analysis module, a state difference quantification module, a strategy generation and execution module, a fault pattern matching module, an abnormal behavior identification module, a response strategy optimization module, and a knowledge base update and optimization module;

[0065] The behavior feature analysis module collects the operation data of the EDM machine, normalizes the data, extracts key operation features, including temperature curve and pressure change, constructs a descriptor set for the specified operation mode of the equipment, and obtains a behavior feature description information set;

[0066] The state difference quantitative module compares the behavior feature description information set with the preset normal operation mode parameters, calculates the deviation value between each key feature using the difference analysis technology, constructs the deviation indicator mapping, and generates the state deviation analysis results;

[0067] The strategy generation and execution module pre-sets preventive measures based on the state deviation analysis results, including pre-adjustment of machine parameters, pre-setting of alarm levels, and pre-arrangement of maintenance activities to obtain preventive control strategies;

[0068] The fault pattern matching module uses the fault information in the preventive control strategy to match the existing fault case database, evaluates the similarity, selects the historical case with the highest matching degree, and obtains the matching fault pattern information;

[0069] The abnormal behavior identification module monitors the real-time operation data of the equipment, performs abnormal mode analysis in combination with the matching fault mode information, and uses the set threshold method to determine whether the system has unknown abnormal behavior, identify potential fault points, and generate abnormal behavior indicators;

[0070] The response strategy optimization module adjusts and optimizes the parameters in the preventive control strategy based on abnormal behavior indicators, redefines the alarm level and maintenance response process, and establishes an optimized response strategy;

[0071] The knowledge base update and optimization module feeds back the implementation results and effects of the optimized response strategy to the system database, updates the fault case library and repair strategy, and builds an updated system knowledge base.

[0072] The behavioral characteristic description information set includes the normalized operating cycle, key performance parameters, and machine operating status indicators. The status deviation analysis results include the standard deviation values ​​of key operating characteristics, parameter items outside the normal operating range, and timestamps of operating abnormalities. The preventive control strategy includes the set upper and lower limits of machine operating parameters, preset alarm trigger conditions, and priority ranking of maintenance plans. The matched failure mode information includes identifiers of historical failure modes, solutions to similar failures, and the time limit for solving historical cases. Abnormal behavior indicators include the type of abnormal behavior, the frequency of abnormal occurrence, and the location of potential failure points. The optimized response strategy includes adjusted alarm levels, updated maintenance response processes, and improved machine parameter settings. The updated system knowledge base includes newly added failure case descriptions, updated repair strategies, and improved fault diagnosis processes.

[0073] See also Figure 2 and Figure 3 ,The behavior feature analysis module includes a data collection submodule, a data normalization submodule, and a feature extraction submodule;

[0074] The data collection submodule collects the operating data of the EDM machine, including temperature readings, pressure values, timestamps, and equipment status, and records the operating time and environmental conditions. The specific process of generating the original data set is as follows:

[0075] The data collection submodule is based on the real-time monitoring system of the EDM machine. It executes the read_csv command of the Pandas library in the Python programming language to collect temperature readings, pressure values, timestamps, and equipment status. It also combines the datetime library to record operating time and environmental conditions, and integrates all collected information into the DataFrame structure to ensure structured storage of data and generate the original data set.

[0076] The data normalization submodule performs data cleaning on the original data set, removes outliers and irrelevant information, and applies normalization technology to convert all parameters into a unified measurement standard. The specific process of obtaining the standard data set is as follows:

[0077] The data normalization submodule performs data cleaning based on the original data set, using the dropna function of the Pandas library to remove missing values ​​and the drop_duplicates function to remove duplicate records. Then, the MinMaxScaler method in the Scikit-learn library is applied to standardize all numerical parameters to the range of 0 to 1. This method rescales the feature values ​​in the data set to maintain the consistency of the numerical size and generate a standard data set.

[0078] The feature extraction submodule extracts key indicators from the standard data set, including temperature peak, pressure fluctuation frequency, and time series analysis of variables to describe the operating status of the equipment. The specific process of obtaining the behavior feature description information set is as follows:

[0079] The feature extraction submodule is based on the standard data set and uses the NumPy library for numerical calculations. The temperature peak is extracted through the max function, the pressure fluctuation frequency is extracted by applying Fourier transform numpy.fft.fft to the pressure value, and the pandas.Series.rolling method is applied to the data to implement time series analysis, so that the data is converted into a format more suitable for analysis, thereby describing the operating status of the equipment and generating a behavioral feature description information set.

[0080] See also Figure 2 and Figure 4 ,The state difference quantification module includes a feature comparison submodule, a difference calculation submodule, and a deviation mapping submodule;

[0081] Based on the behavioral feature description information set, the feature comparison submodule compares the real-time collected operating features with the preset normal operating mode parameters of the equipment, identifies the deviation between the actual operating state and the standard operating mode, and the variation of key parameters. The specific process of obtaining the feature difference comparison results is as follows:

[0082] The feature comparison submodule compares the real-time operation features with the preset normal operation mode parameters of the device based on the behavioral feature description information set. This operation is performed through matrix operations using the Numpy library in Python to compare the differences between each real-time parameter and the preset parameter. At the same time, conditional statements are used to identify data points that exceed the predetermined range, record deviations and corresponding key parameter variations, and generate feature difference comparison results.

[0083] The difference calculation submodule uses statistical analysis methods based on the feature difference comparison results to calculate the deviation of key operating characteristics and quantify the degree of difference between the operating status and the expected standard. The specific process of generating the deviation value calculation result is as follows:

[0084] The difference calculation submodule uses statistical analysis methods based on the feature difference comparison results. It uses statistical functions in Python's Scipy library, such as mean and std, to calculate the mean and standard deviation of each key running feature. This quantifies the difference between the real-time value of each feature and its preset value, and summarizes the difference value into a comprehensive deviation score. This operation generates a standardized deviation value for each detection point and generates a deviation value calculation result.

[0085] The deviation mapping submodule creates a deviation index mapping table based on the deviation value calculation results, converts the deviation values ​​of various operating characteristics into intuitive evaluation indexes, and obtains the specific process of state deviation analysis results as follows:

[0086] The deviation mapping submodule creates a deviation index mapping table based on the deviation value calculation results, plots the deviation value of each feature on the chart through Python's Matplotlib library, converts the numerical data into a visual evaluation index chart, and classifies different levels of deviation by setting the threshold range of each deviation value, so that the various deviation values ​​of the running features can be intuitively displayed on a mapping chart to obtain the state deviation analysis results.

[0087] See also Figure 2 and Figure 5 ,The strategy generation and execution module includes a preventive measure setting submodule, a parameter adjustment preset submodule, and a maintenance activity planning submodule;

[0088] The preventive measures setting submodule formulates preventive measures based on the state deviation analysis results, comprehensively refers to the equipment operation status and historical data, and obtains the specific process of the initial preventive control strategy as follows:

[0089] The preventive measures setting submodule formulates preventive measures based on the state deviation analysis results. By comparing real-time data with standard performance parameters, it uses conditional statements in Python to check whether each parameter exceeds the normal range. It also determines appropriate preventive measures based on the actual operation of the equipment and historical data, including setting safety thresholds for temperature and pressure, adjusting the equipment operation mode, and generating an initial preventive control strategy.

[0090] The parameter adjustment preset submodule adjusts the operating parameters of the EDM machine based on the initial preventive control strategy, sets the operating range, matches various working conditions, and generates the specific process of the parameter adjustment preset scheme as follows:

[0091] The parameter adjustment preset submodule adjusts the operating parameters of the EDM machine based on the initial preventive control strategy, including using Python scripts and the Pandas library for data analysis, and performing numerical calculations in combination with the NumPy library according to the upper and lower limits of the parameters defined in the control strategy to determine the optimal setting range of each operating parameter. It also considers different working conditions such as ambient temperature and machine load to generate a parameter adjustment preset plan.

[0092] The maintenance activity planning submodule adjusts the preset plan based on parameters, plans regular and irregular maintenance activities, and obtains the specific process of the preventive control strategy as follows:

[0093] The maintenance activity planning submodule adjusts preset plans based on parameters, plans regular and irregular maintenance activities, uses project management tools such as Microsoft Excel to arrange maintenance plans, determines the maintenance schedule and required resources, takes into account the equipment's usage intensity and historical maintenance records, arranges regular inspections and emergency repairs, and generates preventive control strategies.

[0094] See also Figure 2 and Figure 6 ,The fault pattern matching module includes a fault information analysis submodule, a case database matching submodule, and a matching case selection submodule;

[0095] The fault information analysis submodule analyzes the current equipment status and potential fault information based on the preventive control strategy, identifies the key factors that lead to performance degradation or failure, and conducts a comprehensive risk assessment. The specific process of obtaining the fault information analysis results is as follows:

[0096] The fault information analysis submodule is based on the preventive control strategy and adopts data analysis frameworks such as Pandas to organize and preliminarily analyze the data. It sorts, filters and aggregates the data of the current equipment status, identifies data points that deviate from the norm, and then uses statistical functions such as mean and standard deviation to estimate the deviation between the normal range of each operating parameter and the actual reading. It then analyzes the type of fault that the deviation may point to, conducts a comprehensive risk assessment, and records the results in a log file to generate fault information analysis results.

[0097] Based on the fault information analysis results, the case database matching submodule searches for similar fault modes in the existing fault case database, and uses the cosine similarity algorithm to refer to the fault type, occurrence environment and impact results to perform similarity analysis and correlation evaluation. The specific process of generating a fault association list is as follows:

[0098] The case database matching submodule uses Python libraries such as Scikit-learn to implement the cosine similarity algorithm based on the fault information analysis results. The fault information is vectorized and the cosine similarity with each case in the historical fault data set is calculated. This process involves data standardization and the construction of a vector space model to ensure that each fault data can be compared with the case in the database under the same metric. The cases are ranked according to the similarity scores and the cases with the highest scores are selected. This is used as the basis for similarity analysis and correlation evaluation to generate a fault association list.

[0099] The cosine similarity algorithm follows the formula:

[0100] Formula I

[0101] Calculate the cosine similarity between the fault information after adjusting the weight and the historical fault data set to generate a fault association list;

[0102] in, is the cosine similarity value, which indicates the similarity between the current fault information vector and the historical fault case vector after adjusting the weight. is the weight coefficient of the current fault vector, which is set according to the specific attributes of the current fault, such as severity, impact scope, and recovery difficulty, and reflects the importance of the current fault characteristics. is the weight coefficient of the historical case vector, which is set according to the similar attributes of the historical fault cases, such as solution effect, occurrence frequency and expert evaluation, reflecting the importance of the historical case characteristics. It is the current fault information vector, which is composed of multiple characteristic values ​​of the current fault (such as temperature, pressure, timestamp, etc.) and is used for comparison with historical data after vectorization. It is a historical fault case vector, which consists of multiple feature values ​​of the same type of historical faults recorded in the database and is used for comparison with the current fault data. The current fault vector after weight adjustment is obtained by multiplying each eigenvalue by the corresponding weight coefficient , adjust the influence of each feature in the similarity calculation. is the weight-adjusted historical fault case vector, and each eigenvalue is multiplied by the corresponding weight coefficient , adjust the contribution of each feature in the similarity comparison. They represent the modulus of the current fault vector and the historical fault case vector after adjusting the weights, and are used to standardize the cosine similarity calculation to ensure that the result is between -1 and 1.

[0103] The execution process is as follows:

[0104] Extract current fault information and historical fault cases from the fault database, including but not limited to parameters such as temperature, pressure, and operation time. Convert the information into vector form , .

[0105] Assign weights to the current fault vector based on specific attributes of the fault, such as severity, scope of impact, ease of recovery, etc. , assign weights to each historical case vector based on the resolution effect, occurrence frequency, user feedback, etc. of historical fault cases ,The weight can be determined through expert experience, historical data analysis or ,fault handling feedback.

[0106] Adjust the weights of the current fault information vector and the historical fault case vector to obtain and .

[0107] Formula I is used to calculate the similarity between the weighted vectors.

[0108] The similarity scores of all historical fault cases and the current fault are ranked to identify the historical cases that are most similar to the current fault condition. The case with the highest score is selected based on the ranking and is considered as the most relevant reference to the current fault condition.

[0109] The matching case selection submodule selects the case closest to the current fault situation based on the fault association list, and obtains the matching fault mode information by referring to the success rate of fault handling and the adaptability of the countermeasures. The specific process is as follows:

[0110] The matching case selection submodule is based on the fault association list and uses a decision tree algorithm to evaluate the degree of match between each case in the list and the current fault condition. The decision tree selects branches by examining attributes such as fault type, occurrence environment, and impact results, and ultimately locates the optimal historical case that matches the current fault condition. This process involves constructing various decision points of the decision tree and pruning the tree to avoid overfitting, thereby ensuring that the selected cases are highly relevant and applicable, and generating matching fault mode information.

[0111] See also Figure 2 and Figure 7 ,The abnormal behavior identification module includes a real-time data monitoring submodule, an abnormal pattern analysis submodule, and a potential fault identification submodule;

[0112] The real-time data monitoring submodule continuously collects the real-time operation data of the equipment based on the operating environment of the EDM machine, and integrates the matching fault mode information to generate the real-time monitoring data set. The specific process is as follows:

[0113] The real-time data monitoring submodule is based on the operating environment of the EDM machine and executes the real-time data acquisition process. It uses Python scripts to call data acquisition interfaces such as Modbus or OPC UA to periodically read sensor data such as temperature readings and pressure values, and record the timestamp and device status of each data acquisition. It combines the real-time clock module to synchronize the operating time and environmental conditions to ensure the time consistency and integrity of the data and generate a real-time monitoring data set.

[0114] The abnormal pattern analysis submodule uses data analysis technology based on real-time monitoring data sets to monitor and analyze the equipment operation status in real time, identify abnormal data patterns, use historical fault data for comparison, select abnormal behaviors, and generate abnormal pattern analysis results. The specific process is as follows:

[0115] The abnormal pattern analysis submodule performs data flow anomaly detection based on the real-time monitoring data set, uses Python's Pandas library to perform sliding window processing on the data, calculates the statistical characteristics of the data in the window, such as moving average and standard deviation, and applies the NumPy library to achieve fast numerical operations. It compares the difference between current data and historical fault patterns, identifies data patterns that deviate from the normal range, and uses the matplotlib library for data visualization to assist in judging the severity of abnormal patterns and generate abnormal pattern analysis results.

[0116] The potential fault identification submodule uses the isolation forest algorithm to evaluate the severity and frequency of abnormal behavior based on the abnormal pattern analysis results, and uses the preset thresholds and indicators to identify the potential fault points of the equipment. The specific process of obtaining the abnormal behavior indicators is as follows:

[0117] The potential fault identification submodule adopts the isolation forest algorithm based on the abnormal pattern analysis results and uses the Scikit-learn library to implement the application of the algorithm. It independently identifies outliers in the data set by constructing a random forest for each data point and evaluating its path length. It sets algorithm parameters such as the number of trees and sample subset size to adapt to specific data characteristics, sorts the identified abnormal behaviors according to their degree of deviation from normal behaviors, uses preset thresholds and indicators to determine potential fault points, and generates abnormal behavior indicators.

[0118] The isolation forest algorithm follows the formula:

[0119] Formula II

[0120] Calculate the adjusted anomaly score to generate an abnormal behavior indicator;

[0121] in, is the data point to be evaluated, For decision tree, is the sample subset size of each tree, is the total number of trees constructed, for exist The path length in The dataset size is The average path length when is a global scaling factor used to adjust the range of the overall anomaly score. is the weight coefficient, which is determined by analyzing historical failure data and normal operation data. For data points The distance between its nearest neighbor, For data points The coefficient of variation of any characteristic associated.

[0122] The execution process is as follows:

[0123] Setting parameters The value of is optimized through cross validation.

[0124] For each data point Construct paths in random forests and calculate their path lengths , and calculate the coefficient of variation of the data point The distance to its nearest neighbor .

[0125] Substitute the calculated value into Formula II to obtain the adjusted anomaly score for each data point, sort the data points according to the score, and identify potential anomalies or fault points.

[0126] See also Figure 2 and Figure 8 ,The response strategy optimization module includes a parameter adjustment optimization submodule, an alarm level setting submodule, and a response process updating submodule;

[0127] The parameter adjustment and optimization submodule analyzes the current operating status of the equipment based on abnormal behavior indicators, compares historical and standard operating parameters, and resets and optimizes parameters for potential fault points. The specific process of generating optimized parameter settings is as follows:

[0128] The parameter adjustment and optimization submodule performs parameter analysis based on abnormal behavior indicators, uses Python language combined with the Pandas library to perform statistical analysis on the operating status data, compares the standard deviation of real-time parameters with historical parameters, and identifies potential fault points where parameter fluctuations exceed the normal range. Then, the MinMaxScaler method in the Scikit-learn library is used to reset the operating range of the parameters to match the actual working conditions of the current equipment, ensure the adaptability and rationality of the parameters, and generate optimized parameter settings.

[0129] The alarm level setting submodule redefines the alarm level based on the optimized parameter settings, according to the severity and impact of each potential fault point, sets the alarm conditions and response measures, and generates the specific process of the adjusted alarm level settings as follows:

[0130] The alarm level setting submodule analyzes the data of each potential fault point based on the optimized parameter settings, uses conditional judgment statements to determine the impact level of each fault point, and redefines the alarm level according to the severity of the fault and the possible impact, including three levels: minor, moderate and severe. Different alarm trigger conditions and early warning information are set for each level to ensure the responsiveness and accuracy of the alarm system and generate adjusted alarm level settings.

[0131] The response process update submodule updates the maintenance response process based on the adjusted alarm level settings, including fault response time, maintenance team scheduling, and implementation of emergency maintenance measures. The specific process for establishing an optimized response strategy is as follows:

[0132] The response process update submodule develops a new maintenance response process based on the adjusted alarm level settings. It uses flowchart design software such as Visio to develop a clear flowchart, including the immediate response steps after a fault occurs, the notification mechanism for the maintenance team, and the specific operating steps for emergency repairs. It integrates the new process with the equipment management system to achieve automatic triggering and tracking of the process, ensure that each step can be executed within the appropriate time, and establish an optimized response strategy.

[0133] See also Figure 2 and Figure 8 ,The knowledge base update and optimization module includes a ,strategy effect feedback submodule, a fault case update submodule, and a repair ,strategy optimization submodule;

[0134] The strategy effect feedback submodule collects the implementation results and effects of the optimized response strategy, evaluates the impact of strategy execution and performance improvement, and generates the strategy effect feedback data in the following specific process:

[0135] The strategy effect feedback submodule executes the data collection process based on the optimized response strategy, uses SQL query statements to extract the operating data after the strategy implementation from the database, uses Python scripts combined with the Pandas library to summarize and analyze the data, compares the operating status before and after the strategy implementation, identifies the changing trends of performance indicators, determines the actual impact of the strategy by calculating the performance differences before and after implementation, records the analysis process and results, and generates strategy effect feedback data.

[0136] The fault case update submodule identifies new fault modes and successful repair instances based on the policy effect feedback data, updates the fault case library in the system, and builds an updated fault case set. The specific process is as follows:

[0137] The fault case update submodule executes the fault case analysis process based on the strategy effect feedback data, uses text analysis methods to extract new fault modes and repair information from the feedback data, and uses JSON format to store structured fault information, including fault description, cause, solution and effect evaluation. It uses SQL commands to update the fault case library in the database to ensure the correctness and completeness of the newly added cases, maintain the latest status of the database, and generate an updated set of fault cases.

[0138] The repair strategy optimization submodule uses the updated fault case set to review and adjust the current repair strategy, improve the strategy based on new data and fault cases, and establish an updated system knowledge base. The specific process is as follows:

[0139] The repair strategy optimization submodule uses the updated fault case set to execute the repair strategy review process, uses logistic regression analysis to determine the relationship between fault cases and repair success rate, uses Python scripts and Scikit-learn library to adjust the parameters of the existing repair strategy, and redefines the fault handling process and steps based on new fault data and success cases to ensure the adaptability and effectiveness of the repair strategy, record the adjustment history and reasons of the repair strategy, and generate an optimized system knowledge base.

[0140] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.

Claims

1. Intelligent fault diagnosis system for EDM machine, characterized by: The system includes a behavior feature analysis module, a state difference quantification module, a strategy generation and execution module, a fault pattern matching module, an abnormal behavior identification module, a response strategy optimization module, and a knowledge base update and optimization module; The behavior feature analysis module collects the operation data of the EDM machine, normalizes the data, extracts key operation features, including temperature curves and pressure changes, constructs a descriptor set for the specified operation mode of the equipment, and obtains a behavior feature description information set; The state difference quantification module compares the behavior feature description information set with the preset normal operation mode parameters, calculates the deviation value between each key feature using the difference analysis technology, constructs the deviation index mapping, and generates the state deviation analysis result; The strategy generation and execution module pre-sets preventive measures according to the state deviation analysis results, including pre-adjustment of machine parameters, pre-setting of alarm levels and pre-arrangement of maintenance activities, to obtain a preventive control strategy; The fault mode matching module uses the fault information in the preventive control strategy to match the existing fault case database, evaluates the similarity, selects the historical case with the highest matching degree, and obtains the matched fault mode information; The fault pattern matching module includes a fault information analysis submodule, a case database matching submodule, and a matching case selection submodule; The fault information analysis submodule analyzes the current equipment status and potential fault information based on the preventive control strategy, identifies the key factors that lead to performance degradation or failure, conducts a comprehensive risk assessment, and obtains the fault information analysis results; The case database matching submodule searches for similar fault modes in the existing fault case database based on the fault information analysis results, applies the cosine similarity algorithm to refer to the fault type, occurrence environment and impact results, performs similarity analysis and correlation evaluation, and generates a fault association list; The cosine similarity algorithm follows the formula: Formula I Calculate the cosine similarity between the fault information after adjusting the weight and the historical fault data set to generate a fault association list; in, is the cosine similarity value, is the weight coefficient of the current fault vector, is the weight coefficient of the historical case vector, which is set according to the same attributes of the historical fault cases. is the current fault information vector, which is composed of multiple eigenvalues ​​of the current fault. is a historical fault case vector, which consists of multiple feature values ​​of the same type of historical faults recorded in the database. is the current fault vector after weight adjustment, is the weight-adjusted historical fault case vector, They represent the modulus lengths of the current fault vector and the historical fault case vector after adjusting the weights; The matching case selection submodule selects the case closest to the current fault condition based on the fault association list, and obtains matching fault mode information by referring to the success rate of fault handling and the adaptability of the countermeasures; The abnormal behavior identification module monitors the real-time operation data of the equipment, performs abnormal mode analysis in combination with the matched fault mode information, determines whether the system has unknown abnormal behavior by setting a threshold, identifies potential fault points, and generates abnormal behavior indicators; The abnormal behavior identification module includes a real-time data monitoring submodule, an abnormal pattern analysis submodule, and a potential fault identification submodule; The real-time data monitoring submodule continuously collects the real-time operation data of the equipment based on the operation environment of the EDM machine, and integrates the matching fault mode information to generate a real-time monitoring data set; The abnormal pattern analysis submodule uses data analysis technology based on real-time monitoring data sets to monitor and analyze the equipment operation status in real time, identify abnormal data patterns, use historical fault data for comparison, select abnormal behaviors, and generate abnormal pattern analysis results; The potential fault identification submodule uses the isolation forest algorithm to evaluate the severity and frequency of abnormal behavior based on the abnormal pattern analysis results, identifies the potential fault points of the equipment using preset thresholds and indicators, and obtains abnormal behavior indicators; The isolation forest algorithm follows the formula: Formula II Calculate the adjusted anomaly score to generate an abnormal behavior indicator; in, is the data point to be evaluated, For decision tree, is the sample subset size of each tree, is the total number of trees constructed, for exist The path length in The dataset size is The average path length when is the global scaling factor, is the weight coefficient, which is determined by analyzing historical failure data and normal operation data. For data points The distance between its nearest neighbor, For data points The coefficient of variation of any characteristic of the association; The response strategy optimization module adjusts and optimizes the parameters in the preventive control strategy according to the abnormal behavior indicators, redefines the alarm level and the maintenance response process, and establishes an optimized response strategy; The knowledge base update and optimization module feeds back the implementation results and effects of the optimized response strategy to the system database, updates the fault case library and repair strategy, and constructs an updated system knowledge base.

2. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The behavior feature description information set includes normalized operation cycles, key performance parameters, and machine operation status indicators; the state deviation analysis results include standard deviation values ​​of key operation characteristics, parameter items outside the normal operation range, and timestamps of operation anomalies; the preventive control strategy includes set upper and lower limits of machine operation parameters, preset alarm trigger conditions, and priority ranking of maintenance plans; the matched fault mode information includes identifiers of historical fault modes, solutions to similar faults, and time limits for solving historical cases; the abnormal behavior indicators include types of abnormal behaviors, frequency of abnormalities, and locations of potential fault points; the optimized response strategy includes adjusted alarm levels, updated maintenance response processes, and improved machine parameter settings; the updated system knowledge base includes newly added fault case descriptions, updated repair strategies, and improved fault diagnosis processes.

3. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The behavior feature analysis module includes a data collection submodule, a data normalization submodule, and a feature extraction submodule; The data collection submodule collects the operating data of the EDM machine, including temperature readings, pressure values, timestamps and device status, records the operating time and environmental conditions, and generates a raw data set; The data normalization submodule performs data cleaning on the original data set, removes outliers and irrelevant information, and applies normalization technology to convert all parameters into a unified measurement standard to obtain a standard data set; The feature extraction submodule extracts key indicators from the standard data set, including temperature peak value, pressure fluctuation frequency, and time series analysis of variables, describes the operating status of the equipment, and obtains a behavioral feature description information set.

4. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The state difference quantification module includes a feature comparison submodule, a difference calculation submodule, and a deviation mapping submodule; The feature comparison submodule compares the real-time collected operation features with the preset normal operation mode parameters of the equipment based on the behavior feature description information set, identifies the deviation between the actual operation state and the standard operation mode, and the variation of key parameters, and obtains the feature difference comparison results; The difference calculation submodule calculates the deviation of key operating characteristics based on the feature difference comparison results, adopts statistical analysis methods, quantifies the degree of difference between the operating status and the expected standard, and generates a deviation value calculation result; The deviation mapping submodule creates a deviation index mapping table based on the deviation value calculation results, converts the deviation values ​​of various operating characteristics into intuitive evaluation indexes, and obtains state deviation analysis results.

5. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The strategy generation and execution module includes a preventive measures setting submodule, a parameter adjustment preset submodule, and a maintenance activity planning submodule; The preventive measures setting submodule formulates preventive measures based on the state deviation analysis results, comprehensively refers to the equipment operation status and historical data, and obtains the initial preventive control strategy; The parameter adjustment preset submodule adjusts the operating parameters of the EDM machine based on the initial preventive control strategy, sets the operating range, matches various working conditions, and generates a parameter adjustment preset scheme; The maintenance activity planning submodule adjusts preset schemes based on parameters, plans regular and irregular maintenance activities, and obtains preventive control strategies.

6. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The response strategy optimization module includes a parameter adjustment optimization submodule, an alarm level setting submodule, and a response process update submodule; The parameter adjustment and optimization submodule analyzes the operating status of the current equipment based on abnormal behavior indicators, compares historical and standard operating parameters, resets and optimizes parameters for potential fault points, and generates optimized parameter settings; The alarm level setting submodule redefines the alarm level, sets the alarm conditions and response measures, and generates an adjusted alarm level setting based on the optimized parameter settings and the severity and impact of each potential fault point; The response process update submodule updates the maintenance response process based on the adjusted alarm level setting, including fault response time, scheduling of the maintenance team and implementation of emergency maintenance measures, and establishes an optimized response strategy.

7. The intelligent fault diagnosis system for EDM according to claim 1 is characterized in that: The knowledge base update and optimization module includes a strategy effect feedback submodule, a fault case update submodule, and a repair strategy optimization submodule; The strategy effect feedback submodule collects the implementation results and effects of the optimized response strategy, evaluates the strategy execution impact and performance improvement, and generates strategy effect feedback data; The fault case update submodule identifies new fault modes and successful repair instances based on the strategy effect feedback data, updates the fault case library in the system, and constructs an updated fault case set; The repair strategy optimization submodule utilizes the updated fault case set to review and adjust the current repair strategy, improve the strategy based on new data and fault cases, and establish an updated system knowledge base.

Citation Information

Patent Citations

  • Electrical discharge machine and failure determining method

    CN107617798A

  • Remote data acquisition and analysis system for numerically-controlled machine tool

    CN108762193A

  • Electric spark machining stability and energy consumption state optimization decision-making system and method based on deep learning

    CN109396576A

  • Intelligent optimization method and system for machining parameters of numerical control electric spark machine tool

    CN114491839A

  • Abnormality detection method for fine chemical production process

    CN117113250A

Cited By

  • Electric spark forming machine fault data analysis method and system based on cross-equipment migration

    CN121658787A