A quality control data processing method based on MES system

By deploying sensors and monitoring equipment in the MES system to collect and analyze data in real time and automatically adjust production parameters, it solves the problem of lack of real-time data analysis and automatic adjustment in traditional production management, achieves efficient quality control and fault prevention, and improves efficiency. Production efficiency and product quality.

CN118226825BActive Publication Date: 2024-09-20SUZHOU FORCAST INFORMATION TECHNOLOGY CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410649486.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-24
Publication Date
2024-09-20
Estimated Expiration
2044-05-24

AI Technical Summary

Technical Problem

Traditional production process management lacks real-time data analysis and automatic adjustment capabilities, making it difficult to maintain optimal production line efficiency and product quality, and the impact of environmental factors on production quality and equipment performance cannot be adjusted in a timely manner.

Method used

Based on the quality control data processing method of the MES system, it collects environmental and equipment data in real time by deploying sensors and monitoring equipment, implements intelligent dynamic data management, performs data analysis and fault prediction, automatically adjusts production parameters, and generates production reports and exception handling guidance. Achieve continuous optimization and feedback learning.

Benefits of technology

It improves equipment failure prevention capabilities, reduces unplanned downtime, optimizes production parameters, improves product quality and output, and enhances the responsiveness and market competitiveness of the manufacturing system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118226825B
    Figure CN118226825B
Patent Text Reader

Abstract

The present invention relates to the technical field of production equipment control, and in particular to a quality control data processing method based on an MES system, comprising the following steps: S1, environmental factors and data acquisition: real-time acquisition of environmental parameters; S2, intelligent dynamic data management: creation of a centralized database; S3, data analysis and fault prediction: analysis of integrated data; S4, real-time quality adjustment: automatic adjustment of operating parameters of relevant equipment in the MES system; S5, production report generation: automatic generation of production quality reports; S6, abnormality handling and maintenance guidance: automatic triggering of alarms when production quality deviations or equipment failures are detected; S7, continuous optimization and feedback learning: continuous optimization of operating procedures and production control strategies. The present invention ensures the accuracy and timeliness of data, provides solid data support for production decisions, and can make more accurate decisions based on comprehensive and real-time production data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of production equipment control, and in particular to a quality control data processing method based on a MES system. Background Art

[0002] In modern manufacturing, maintaining the operating efficiency and quality control of production equipment is crucial. Traditional production process management usually relies on regular equipment inspection and maintenance plans. This approach has certain limitations, especially when facing highly automated and complex equipment. These devices often require real-time monitoring and rapid fault response to prevent production interruptions and increased maintenance costs.

[0003] In addition, traditional production process management often lacks real-time data analysis and automatic adjustment capabilities. Without real-time feedback and automatic adjustment, it is difficult to maintain the efficiency and product quality of the production line at the optimal state. In addition, the impact of environmental factors such as temperature, humidity and vibration on production quality and equipment performance is often overlooked, resulting in the inability to adjust production conditions in a timely manner to adapt to these changes.

[0004] Currently, although some manufacturing execution systems (MES) have begun to adopt a data-driven approach to monitor and control production lines, these systems often require a lot of initial setup and maintenance, and still need to be improved in terms of data integration, real-time and intelligent decision support. Summary of the invention

[0005] Based on the above purpose, the present invention provides a quality control data processing method based on the MES system.

[0006] A quality control data processing method based on an MES system comprises the following steps:

[0007] S1, Environmental factors and data collection: deploy sensors and monitoring equipment to collect environmental parameters in real time, and record the collected environmental data, equipment operation data, and production process data together;

[0008] S2, intelligent dynamic data management: create a centralized database to provide data support for production decisions, implement context-aware mechanisms, and dynamically update database content based on changes in production environment and equipment status;

[0009] S3, data analysis and fault prediction: Analyze the integrated data to identify potential production efficiency bottlenecks and quality problems, predict equipment failures, implement preventive maintenance, and reduce unplanned downtime;

[0010] S4, real-time quality adjustment: based on data analysis and fault prediction results, automatically adjust the operating parameters of related equipment in the MES system, including speed, temperature and pressure, to optimize the production process;

[0011] S5, production report generation: automatically generate production quality reports, including production efficiency data and quality control results, and provide reports to production managers through the MES system interface to support better decision making;

[0012] S6, abnormality handling and maintenance guidance: when production quality deviation or equipment failure is detected, alarms are automatically triggered to guide the maintenance team to perform maintenance and repairs;

[0013] S7, continuous optimization and feedback learning: Utilize continuous monitoring results and production feedback data to continuously optimize operating procedures and production control strategies, and improve the accuracy and response speed of predictions and the effectiveness of the adjustment process through feedback learning.

[0014] Furthermore, the environmental factors and data collection in S1 include:

[0015] S11, deploy sensors and monitoring equipment on production equipment to monitor and record environmental parameters in real time, including temperature, humidity and vibration;

[0016] S12, transmitting the environmental parameter data collected from sensors and monitoring equipment to the MES system via a wireless network;

[0017] S13, collecting the operation data of each device on the production line and the relevant data of the entire production process. The operation data of the equipment includes speed, temperature and pressure. The relevant data of the production process includes raw material batch information, product qualification rate, production rhythm and employee operation records;

[0018] S14, integrating and storing the collected environmental parameter data, equipment operation data, and relevant data of the production process, to ensure that the recorded data reflects the current production status, which includes environmental conditions and equipment operation conditions;

[0019] S15, uses the collected data for comprehensive analysis to evaluate the direct impact of environmental parameter changes on production quality and equipment performance, thereby supporting the data needs of the MES system when making production decisions and quality control.

[0020] Furthermore, the intelligent dynamic data management in S2 includes:

[0021] S21, Comprehensive data management architecture: Create a centralized database to store information including historical production data, equipment operation data, environmental monitoring data, equipment maintenance logs, and adjacent equipment operation data. Design the database to support a variety of data types and formats, process information from different production links, and perform queries and analysis.

[0022] S22, context-aware data update mechanism: implement a context-aware mechanism to automatically sense changes in the production environment and production process through sensors and monitoring equipment, and dynamically update data in the database based on the sensed context information;

[0023] S23, Intelligent Data Completion and Matching Technology: Analyzes data in the database, automatically identifies and fills in missing or inconsistent data, and intelligently matches data sent by production equipment;

[0024] S24, Quality Assurance and Continuous Improvement Feedback: Utilize the data support provided by the database to implement continuous quality monitoring, evaluate and optimize the production process by comparing actual production results with expectations, establish a feedback mechanism, and continuously improve the database management strategy and data analysis based on production quality results.

[0025] Furthermore, the context-aware data update mechanism in S22 includes:

[0026] S221, Implement context-aware mechanisms: Implement context-aware mechanisms in the MES system, using data collected by deployed sensors and monitoring devices to automatically detect changes in the environment or production process, identify patterns or anomalies in the data, and thus trigger corresponding data update processes;

[0027] S222, dynamically updating database content: automatically updating database-related data records in the MES system based on information identified by the context-aware mechanism, including adjusting stored environmental parameters, updating equipment status records, or modifying production process data;

[0028] S223, Continuously optimize data response: The MES system will continuously learn and adapt to changes in the production environment, and optimize the response strategy and data processing flow of the context-aware mechanism.

[0029] Furthermore, the context-aware mechanism includes:

[0030] Data preprocessing: Reduce the impact of environmental noise and equipment fluctuations on the data, apply a combination of high-pass and low-pass filters to filter out frequency fluctuations, and the calculation formula is:

[0031] ;

[0032] in, is the input data at the current moment, is the output data after filtering, , and are the coefficients of the filter;

[0033] Feature extraction: Extracting features from processed data that are informative for predicting equipment status and production quality;

[0034] Dynamic pattern recognition and anomaly detection: Real-time identification of abnormal patterns in the production process, rapid response to potential production problems, use the K-means algorithm to cluster feature data and identify abnormal data points. The calculation formula is:

[0035] For each point ;

[0036] in, is the nearest cluster center, is the set of all cluster centers;

[0037] Context-aware dynamic data update: Update database records based on detected data changes, automatically adjust records in the database, and update related equipment status or production parameters. The calculation formula is:

[0038] ;

[0039] in, is the original data in the database. is the newly observed data, is the learning rate.

[0040] Furthermore, the intelligent data improvement and matching technology in S23 includes:

[0041] S231, Identification of data inconsistencies and filling in missing data: Use the K-nearest neighbor (KNN) algorithm to identify inconsistencies in the data and estimate missing values. The calculation formula is:

[0042] For missing data points , find its Nearest neighbors: ;

[0043] Compute the mean to fill in missing values: ;

[0044] in, is the estimated value to fill in the missing data, yes No. The nearest neighbor observations;

[0045] S232, data matching: Use the K-nearest neighbor (KNN) algorithm to match the new data points sent by the production equipment to determine whether the data points are consistent with the existing data pattern. The calculation formula is:

[0046] For new data points , calculate the distance to each point in the existing data and find the nearest points, and calculate the average value as the reference matching value: ;

[0047] Use the average of the nearest neighbors as a reference for matching: ;

[0048] in, Is a new data point With existing data points The Euclidean distance between is the reference value used for matching, is the dimension of the feature.

[0049] Furthermore, the data analysis and fault prediction in S3 include:

[0050] S31, integrated data analysis: obtaining pre-processed and improved integrated data from the results of intelligent dynamic data management;

[0051] S32, Identify potential problems: Use time series analysis to analyze integrated data to identify patterns and trends that affect production efficiency and product quality;

[0052] S33, fault prediction model: using the fault prediction model to analyze equipment operation and maintenance data and predict equipment failures;

[0053] S34, Preventive maintenance planning: Develop a preventive maintenance plan based on the output of the fault prediction model, aiming to reduce unplanned downtime caused by failures and maintain production continuity.

[0054] Furthermore, the time series analysis includes:

[0055] Data Collection: Collect continuous time series data about production processes and equipment status, including machine operating hours, failure rates, maintenance records, and quality control indicators;

[0056] Data preprocessing: Process time series data to ensure data quality. The calculation formula is:

[0057] ;

[0058] in, It's time point The smoothed data value of is the original data value at the adjacent time point, is the width of the smoothing window;

[0059] Trend and seasonality analysis: Identify trends and seasonal patterns in the data using a time series decomposition method, calculated as:

[0060] ;

[0061] in, It's time point The observed value of is the trend component, It is a seasonal ingredient. It is the remaining ingredient;

[0062] Establish a forecasting model: Based on historical data, build an ARIMA model to predict future production data. The ARIMA model is expressed as:

[0063] ;

[0064] in, is the lag operator, is the difference order, and are the orders of the autoregressive term and the moving average term, respectively. is the autoregressive coefficient, is the moving average coefficient, is the white noise error term;

[0065] Failure prediction and preventive maintenance: Use ARIMA models to predict potential failures and maintenance needs, thereby scheduling preventive maintenance and reducing unplanned downtime.

[0066] Furthermore, the fault prediction model adopts a support vector machine SVM, and the support vector machine SVM includes:

[0067] Data preparation: Collect and prepare equipment operation and maintenance data, perform feature engineering, and calculate the formula as follows:

[0068] ;

[0069] in, is the original feature, is the normalized feature;

[0070] Selection and optimization of kernel function: According to the characteristics of the data, the radial basis function (RBF) kernel is selected to deal with nonlinear problems. The calculation formula is:

[0071] ;

[0072] in, and are two eigenvectors, are the parameters of the kernel function;

[0073] Cost-sensitive learning: Introducing a cost-sensitive factor to assign different costs to different types of errors in the fault prediction model, especially to distinguish between fault and non-fault events in an unbalanced data set. The model of the cost-sensitive SVM is expressed as:

[0074] ;

[0075] in, and is the cost of misclassification, corresponding to the positive class (such as fault) and the negative class (such as non-fault), and Represent the labels of positive and negative classes respectively, and is the slack variable, is the weight vector, is the bias term;

[0076] Model training: Use the selected radial basis function (RBF) kernel function and the set parameters to train the SVM classifier, and make the final classification decision through the decision function, which is expressed as:

[0077] ;

[0078] in, is a sign function;

[0079] Model verification and evaluation: Verify the performance of the SVM model and use precision, recall, and F1 score for evaluation. The calculation formula is:

[0080] ;

[0081] Among them, precision is the accuracy and recall is the recall rate.

[0082] Furthermore, the real-time quality adjustment in S4 includes:

[0083] S41, operating parameter adjustment decision: based on the output of the fault prediction model, automatically identify the operating parameters that need to be adjusted, including the speed, temperature and pressure of the equipment, and determine the optimal adjustment direction and amplitude of each parameter to deal with the predicted production risks;

[0084] S42, automatic parameter adjustment: Through the MES system interface, the adjusted operating parameters are automatically fed back and parameter adjustments are implemented. Parameter adjustments include increasing or decreasing speed, increasing or decreasing temperature, and increasing or decreasing pressure to optimize the production process and prevent failures.

[0085] S43, effect monitoring and feedback: continue to monitor the operating data of the adjusted equipment, analyze whether the effect of the adjustment meets expectations and the actual impact on production quality, and fine-tune operating parameters based on effect feedback to achieve continuous optimization of the production process.

[0086] Beneficial effects of the present invention:

[0087] The present invention improves the ability to prevent equipment failures and reduces the occurrence of unplanned downtime through real-time quality control and fault prediction. Through integrated data analysis and intelligent fault prediction models, the system can timely identify potential equipment failures and production efficiency bottlenecks, which not only makes maintenance work more timely and targeted, but also solves possible failure problems in advance through preventive maintenance planning, avoiding expensive equipment repairs and production delays, thereby maintaining the continuous operation and high efficiency of the production line.

[0088] The present invention automatically adjusts key operating parameters of the equipment, such as speed, temperature and pressure, through real-time data analysis results. This real-time automatic adjustment can optimize production parameters according to instant changes in production status, ensuring that the production process is carried out under optimal conditions. The automated parameter adjustment not only improves the flexibility and adaptability of the production process, but also improves product quality and output and reduces resource waste by precisely controlling production conditions.

[0089] The present invention ensures the accuracy and timeliness of data through context-aware mechanisms and intelligent data improvement technologies. This dynamic data management provides solid data support for production decisions, enabling production managers to make more accurate decisions based on comprehensive and real-time production data. In addition, the system's continuous optimization and feedback learning functions enable continuous improvement of the production process, enhancing the entire manufacturing system's ability to respond to market changes and production needs, thereby improving the overall efficiency and market competitiveness of the production system. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0091] Figure 1 A schematic diagram of a processing method according to an embodiment of the present invention;

[0092] Figure 2 Schematic diagram of intelligent dynamic data management according to an embodiment of the present invention. DETAILED DESCRIPTION

[0093] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments.

[0094] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0095] like Figure 1-Figure 2 As shown, a quality control data processing method based on the MES system includes the following steps:

[0096] S1, Environmental factors and data collection: deploy sensors and monitoring equipment to collect environmental parameters in real time. Environmental parameters may directly affect production quality and equipment performance. The collected environmental data, equipment operation data and production process data are recorded together to ensure that the data obtained fully reflects the production status;

[0097] S2, intelligent dynamic data management: create a centralized database to provide data support for production decisions, implement a context-aware mechanism, dynamically update database content according to changes in production environment and equipment status, and ensure data accuracy and timeliness;

[0098] S3, data analysis and fault prediction: Analyze the integrated data to identify potential production efficiency bottlenecks and quality problems, predict equipment failures, implement preventive maintenance, and reduce unplanned downtime;

[0099] S4, real-time quality adjustment: based on data analysis and fault prediction results, automatically adjust the operating parameters of related equipment in the MES system, including speed, temperature and pressure, to optimize the production process;

[0100] S5, production report generation: automatically generate production quality reports, including production efficiency data and quality control results, and provide reports to production managers through the MES system interface to support better decision making;

[0101] S6, abnormality handling and maintenance guidance: when production quality deviation or equipment failure is detected, the alarm is automatically triggered to guide the maintenance team to perform maintenance and repair to ensure stable operation of the equipment;

[0102] S7, continuous optimization and feedback learning: Utilize continuous monitoring results and production feedback data to continuously optimize operating procedures and production control strategies, and improve the accuracy and response speed of predictions and the effectiveness of adjustment processes through feedback learning;

[0103] Through the above steps, not only can key data be collected and analyzed in real time to predict and prevent equipment failures, but production parameters can also be automatically adjusted to optimize production processes. In addition, automated quality control reports and timely exception handling further improve production efficiency and product quality, significantly reduce maintenance costs and downtime, which provides an efficient and accurate production quality monitoring solution for the manufacturing industry.

[0104] Environmental factors and data collection in S1 include:

[0105] S11, deploy sensors and monitoring equipment on production equipment to monitor and record environmental parameters in real time, including temperature, humidity and vibration;

[0106] S12, transmitting the environmental parameter data collected from sensors and monitoring equipment to the MES system via a wireless network;

[0107] S13, collecting the operation data of each device on the production line and the relevant data of the entire production process. The operation data of the equipment includes speed, temperature and pressure. The relevant data of the production process includes raw material batch information, product qualification rate, production rhythm and employee operation records;

[0108] S14, integrating and storing the collected environmental parameter data, equipment operation data, and relevant data of the production process, to ensure that the recorded data reflects the current production status, which includes environmental conditions and equipment operation conditions;

[0109] S15, using the collected data for comprehensive analysis to evaluate the direct impact of environmental parameter changes on production quality and equipment performance, thereby supporting the data needs of the MES system in making production decisions and quality control;

[0110] Through the above steps, it describes in detail how to deploy sensors and monitoring equipment, and ensure the optimal performance of the production system through efficient data collection and management processes, thereby improving production quality and equipment operation efficiency.

[0111] Intelligent dynamic data management in S2 includes:

[0112] S21, Comprehensive data management architecture: Create a centralized database to store information including historical production data, equipment operation data, environmental monitoring data, equipment maintenance logs, and operation data of adjacent equipment, to capture the full picture of the production process and provide decision support. Design the database to support a variety of data types and formats, process information from different production links, and perform queries and analysis;

[0113] S22, context-aware data update mechanism: implement a context-aware mechanism to automatically sense changes in the production environment and production process through sensors and monitoring equipment, and dynamically update data in the database based on the sensed context information;

[0114] S23, Intelligent Data Improvement and Matching Technology: Analyze the data in the database, automatically identify and fill in the missing or inconsistent data, and intelligently match the data sent by the production equipment to ensure that the data used is highly matched with the current production conditions and equipment status, so as to improve the effectiveness and accuracy of data use;

[0115] S24, Quality Assurance and Continuous Improvement Feedback: Using the data support provided by the database, implement continuous quality monitoring, evaluate and optimize the production process by comparing actual production results with expectations, establish a feedback mechanism, and continuously improve the database management strategy and data analysis based on production quality results;

[0116] Through intelligent dynamic data management, it can be ensured that the data always reflects the latest production environment and equipment status, thereby providing accurate and timely data support for the manufacturing execution system. This not only enhances the practicality and access efficiency of the data, but also improves the efficiency and accuracy of the entire manufacturing system in the data-driven decision-making process.

[0117] The context-aware data update mechanism in S22 includes:

[0118] S221, Implement context-aware mechanisms: Implement context-aware mechanisms in the MES system, using data collected by deployed sensors and monitoring devices to automatically detect changes in the environment or production process, identify patterns or anomalies in the data, and thus trigger corresponding data update processes;

[0119] S222, dynamically updating database content: automatically updating database-related data records in the MES system based on information identified by the context-aware mechanism, including adjusting stored environmental parameters, updating equipment status records, or modifying production process data, to ensure that the database content reflects the latest production status;

[0120] S223, Continuously optimize data response: The MES system will continuously learn and adapt to changes in the production environment, optimize the response strategy and data processing flow of the context-aware mechanism, and ensure that the data update mechanism is effective and efficient throughout the production cycle;

[0121] Through the above steps, a highly automated and responsive data update mechanism is implemented, which can ensure that the data in the MES system is always kept up to date and accurate, thereby providing solid data support for production decisions. This mechanism significantly improves the adaptability of the production process and the quality of decision-making.

[0122] Context-aware mechanisms include:

[0123] Data preprocessing: Reduce the impact of environmental noise and equipment fluctuations on the data and improve the accuracy of analysis. Apply a combination of high-pass and low-pass filters to filter out atypical frequency fluctuations. The calculation formula is:

[0124] ;

[0125] in, is the input data at the current moment, is the output data after filtering, , and are the coefficients of the filter;

[0126] Feature extraction: Extracting features from processed data that are informative for predicting equipment status and production quality;

[0127] Dynamic pattern recognition and anomaly detection: Real-time identification of abnormal patterns in the production process, rapid response to potential production problems, use the K-means algorithm to cluster feature data, and identify abnormal data points. The calculation formula is:

[0128] For each point ;

[0129] in, is the nearest cluster center, is the set of all cluster centers;

[0130] Context-aware dynamic data update: Update database records based on detected data changes, automatically adjust records in the database, and update related equipment status or production parameters. The calculation formula is:

[0131] ;

[0132] in, is the original data in the database. is the newly observed data, is the learning rate;

[0133] Through the above steps, the sensitivity and responsiveness of the MES system to changes in the production environment are enhanced, enabling the MES system to more accurately control the production process and quickly adapt to various changes, thereby improving the efficiency of the entire production system and product quality.

[0134] Intelligent data completion and matching technologies in S23 include:

[0135] S231, Identification of data inconsistencies and filling in missing data: Use the K-nearest neighbor (KNN) algorithm to identify inconsistencies in the data and estimate missing values. The calculation formula is:

[0136] For missing data points , find its Nearest neighbors: ;

[0137] Compute the mean to fill in missing values: ;

[0138] in, is the estimated value to fill in the missing data, yes No. The nearest neighbor observations;

[0139] S232, data matching: Use the K-nearest neighbor (KNN) algorithm to match the new data points sent by the production equipment to determine whether the data points are consistent with the existing data pattern. The calculation formula is:

[0140] For new data points , calculate the distance to each point in the existing data and find the nearest points, and calculate the average value as the reference matching value: ;

[0141] Use the average of the nearest neighbors as a reference for matching: ;

[0142] in, Is a new data point With existing data points The Euclidean distance between is the reference value used for matching, is the dimension of the feature;

[0143] Through the above steps, the intelligent data completion and matching technology of the present invention can efficiently identify and fill in missing or inconsistent data in the data set, and ensure that the newly collected data closely matches the existing production status, providing strong data support for maintaining a continuous high-quality production process.

[0144] Data analysis and fault prediction in S3 include:

[0145] S31, integrated data analysis: obtaining pre-processed and improved integrated data from the results of intelligent dynamic data management;

[0146] S32, Identify potential problems: Use time series analysis to analyze integrated data to identify patterns and trends that affect production efficiency and product quality;

[0147] S33, fault prediction model: using the fault prediction model to analyze equipment operation and maintenance data and predict equipment failures;

[0148] S34, Preventive maintenance planning: Develop a preventive maintenance plan based on the output of the fault prediction model, aiming to reduce unplanned downtime caused by failures and maintain production continuity;

[0149] By following the above steps, existing data can be used to provide insights into the future performance of equipment and enhance the effectiveness of preventive maintenance programs, thereby reducing the risk of unplanned downtime and maintaining production continuity and efficiency.

[0150] Time series analysis includes:

[0151] Data Collection: Collect continuous time series data about production processes and equipment status, including machine operating hours, failure rates, maintenance records, and quality control indicators;

[0152] Data preprocessing: Process time series data to ensure data quality. The calculation formula is:

[0153] ;

[0154] in, It's time point The smoothed data value of is the original data value at the adjacent time point, is the width of the smoothing window, is the total number of time points considered, It's time point The number of time points considered before and after;

[0155] Trend and seasonality analysis: Identify trends and seasonal patterns in the data using a time series decomposition method, calculated as:

[0156] ;

[0157] in, It's time point The observed value of is the trend component, It is a seasonal ingredient. It is the remaining ingredient;

[0158] Establish a forecasting model: Based on historical data, build an ARIMA model to predict future production data. The ARIMA model is expressed as:

[0159] ;

[0160] in, is the lag operator, is the difference order, and are the orders of the autoregressive term and the moving average term, respectively. is the autoregressive coefficient, is the moving average coefficient, is the white noise error term;

[0161] Failure prediction and preventive maintenance: Use ARIMA models to predict potential failures and maintenance needs, thereby scheduling preventive maintenance and reducing unplanned downtime;

[0162] Through the above-mentioned time series analysis, the present invention can predict possible problems in production and take measures before the problems occur, thereby improving production efficiency, improving product quality, and reducing production downtime caused by equipment failure. This method provides a systematic way to use historical data to improve future production processes.

[0163] The fault prediction model uses support vector machine SVM, which includes:

[0164] Data preparation: Collect and prepare equipment operation and maintenance data, perform feature engineering, and calculate the formula as follows:

[0165] ;

[0166] in, is the original feature, is the normalized feature;

[0167] Selection and optimization of kernel function: According to the characteristics of the data, the radial basis function (RBF) kernel is selected to deal with nonlinear problems. The calculation formula is:

[0168] ;

[0169] in, and are two eigenvectors, are the parameters of the kernel function;

[0170] Cost-sensitive learning: Introducing a cost-sensitive factor to assign different costs to different types of errors in the fault prediction model, especially to distinguish between fault and non-fault events in an unbalanced data set. The model of the cost-sensitive SVM is expressed as:

[0171] ;

[0172] in, and is the cost of misclassification, corresponding to the positive class (such as fault) and the negative class (such as non-fault), and Represent the labels of positive and negative classes respectively, and is a slack variable used to handle the case of incomplete separability. is the weight vector, is the bias term;

[0173] Model training: Use the selected radial basis function (RBF) kernel function and the set parameters to train the SVM classifier, and make the final classification decision through the decision function, which is expressed as:

[0174] ;

[0175] in, is a symbolic function used for subsequent data classification;

[0176] Model verification and evaluation: Verify the performance of the SVM model and use precision, recall, and F1 score for evaluation. The calculation formula is:

[0177] ;

[0178] Among them, precision is the accuracy and recall is the recall rate;

[0179] Support vector machines will improve the accuracy of fault prediction in specific production environments. By introducing cost-sensitive factors, the fault prediction model can better handle rare fault events that have a greater impact on production. In addition, the use of appropriate kernel functions can handle the nonlinear characteristics of data, which is crucial for complex equipment status patterns. By building a fault prediction model, potential downtime can be prevented and the operating efficiency of equipment can be improved.

[0180] Real-time quality adjustments in S4 include:

[0181] S41, operating parameter adjustment decision: based on the output of the fault prediction model, automatically identify the operating parameters that need to be adjusted, including the speed, temperature and pressure of the equipment, and determine the optimal adjustment direction and amplitude of each parameter to deal with the predicted production risks;

[0182] S42, automatic parameter adjustment: Through the MES system interface, the adjusted operating parameters are automatically fed back and parameter adjustments are implemented. Parameter adjustments include increasing or decreasing speed, increasing or decreasing temperature, and increasing or decreasing pressure to optimize the production process and prevent failures.

[0183] S43, effect monitoring and feedback: continue to monitor the operating data of the adjusted equipment, analyze whether the effect of the adjustment meets expectations and the actual impact on production quality, and fine-tune the operating parameters based on the effect feedback to achieve continuous optimization of the production process;

[0184] Through the above steps, the MES system can respond to various changes in the production process in real time and automatically optimize equipment operating parameters, thereby improving production efficiency, reducing failure rates and ensuring product quality.

[0185] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present invention is limited to these examples. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0186] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A quality control data processing method based on MES system, It is characterized in that The following steps are involved: S1, Environmental factors and data collection: deploy sensors and monitoring equipment to collect environmental parameters in real time, and record the collected environmental data, equipment operation data, and production process data together; S2, intelligent dynamic data management: create a centralized database to provide data support for production decisions, implement context-aware mechanisms, and dynamically update database content based on changes in production environment and equipment status; S3, data analysis and fault prediction: Analyze the integrated data to identify potential production efficiency bottlenecks and quality problems, predict equipment failures, implement preventive maintenance, and reduce unplanned downtime; S4, real-time quality adjustment: based on data analysis and fault prediction results, automatically adjust the operating parameters of related equipment in the MES system, including speed, temperature and pressure, to optimize the production process; S5, production report generation: automatically generate production quality reports, including production efficiency data and quality control results, and provide the reports to production managers through the MES system interface; S6, abnormality handling and maintenance guidance: when production quality deviation or equipment failure is detected, alarms are automatically triggered to guide the maintenance team to perform maintenance and repairs; S7, continuous optimization and feedback learning: Utilize continuous monitoring results and production feedback data to continuously optimize operating procedures and production control strategies, and improve the accuracy and response speed of predictions and the effectiveness of adjustment processes through feedback learning; The environmental factors and data collection in S1 include: S11, deploy sensors and monitoring equipment on production equipment to monitor and record environmental parameters in real time, including temperature, humidity and vibration; S12, transmitting the environmental parameter data collected from sensors and monitoring equipment to the MES system via a wireless network; S13, collecting the operation data of each device on the production line and the relevant data of the entire production process. The operation data of the equipment includes speed, temperature and pressure. The relevant data of the production process includes raw material batch information, product qualification rate, production rhythm and employee operation records; S14, integrating and storing the collected environmental parameter data, equipment operation data, and relevant data of the production process, to ensure that the recorded data reflects the current production status, which includes environmental conditions and equipment operation conditions; S15, using the collected data for comprehensive analysis to evaluate the direct impact of environmental parameter changes on production quality and equipment performance, thereby supporting the data needs of the MES system in making production decisions and quality control; The intelligent dynamic data management in S2 includes: S21, Comprehensive data management architecture: Create a centralized database to store information including historical production data, equipment operation data, environmental monitoring data, equipment maintenance logs, and adjacent equipment operation data. Design the database to support a variety of data types and formats, process information from different production links, and perform queries and analysis. S22, context-aware data update mechanism: implement a context-aware mechanism to automatically sense changes in the production environment and production process through sensors and monitoring equipment, and dynamically update the data in the database based on the sensed context information; S23, Intelligent Data Completion and Matching Technology: Analyzes data in the database, automatically identifies and fills in missing or inconsistent data, and intelligently matches data sent by production equipment; S24, Quality Assurance and Continuous Improvement Feedback: Using the data support provided by the database, implement continuous quality monitoring, evaluate and optimize the production process by comparing actual production results with expectations, establish a feedback mechanism, and continuously improve the database management strategy and data analysis based on production quality results; The context-aware data updating mechanism in S22 includes: S221, Implement context-aware mechanisms: Implement context-aware mechanisms in the MES system, using data collected by deployed sensors and monitoring devices to automatically detect changes in the environment or production process, identify patterns or anomalies in the data, and thus trigger corresponding data update processes; S222, dynamically updating database content: automatically updating database-related data records in the MES system based on information identified by the context-aware mechanism, including adjusting stored environmental parameters, updating equipment status records, or modifying production process data; S223, Continuously optimize data response: The MES system will continuously learn and adapt to changes in the production environment, and optimize the response strategy and data processing flow of the context-aware mechanism; The context-aware mechanism includes: Data preprocessing: Reduce the impact of environmental noise and equipment fluctuations on the data, apply a combination of high-pass and low-pass filters to filter out frequency fluctuations, and the calculation formula is: y(t)=b 0 x(t)+b 1 x(t-1)-a 1 y(t-1); Among them, x(t) is the input data at the current moment, y(t) is the output data after filtering, and b 0 、b 1 and a 1 are the coefficients of the filter; Feature extraction: Extracting features from processed data that are informative for predicting equipment status and production quality; Dynamic pattern recognition and anomaly detection: Real-time identification of abnormal patterns in the production process, rapid response to potential production problems, use the K-means algorithm to cluster feature data and identify abnormal data points. The calculation formula is: For each pointx,d(x,μ k )=min μ∈C ‖x-μ‖; Among them, μ k is the nearest cluster center, and C is the set of all cluster centers; Context-aware dynamic data update: Update database records based on detected data changes, automatically adjust records in the database, and update related equipment status or production parameters. The calculation formula is: D new =D old +α(x-D old ); Among them, D old is the original data in the database, x is the newly observed data, and α is the learning rate; The intelligent data improvement and matching technology in S23 includes: S231, Identification of data inconsistencies and filling missing data: Use the K-nearest neighbor algorithm to identify inconsistencies in the data and estimate missing values. The calculation formula is: For a missing data point x, find its k nearest neighbors: N k (x) = {x 1 ,x 2 ,...,x k }; Compute the mean to fill in missing values: Among them, x fill is the estimated value to fill in the missing data, x i is the observed value of the ith nearest neighbor of x; S232, data matching: Use the K-nearest neighbor algorithm to match the new data points sent by the production equipment to determine whether the data points are consistent with the existing data pattern. The calculation formula is: For a new data point x, calculate the distance to each point in the existing data, find the nearest k points, and calculate the average as the reference matching value: Use the average of the nearest neighbors as a reference for matching: Among them, d(x,x i ) is the difference between the new data point x and the existing data point x i The Euclidean distance between match is the reference value used for matching, and n is the dimension of the feature; The data analysis and fault prediction in S3 include: S31, integrated data analysis: obtaining pre-processed and improved integrated data from the results of intelligent dynamic data management; S32, Identify potential problems: Use time series analysis to analyze integrated data to identify patterns and trends that affect production efficiency and product quality; S33, fault prediction model: using the fault prediction model to analyze equipment operation and maintenance data and predict equipment failures; S34, Preventive maintenance planning: Develop a preventive maintenance plan based on the output of the fault prediction model, aiming to reduce unplanned downtime caused by failures and maintain production continuity; The time series analysis includes: Data Collection: Collect continuous time series data about production processes and equipment status, including machine operating hours, failure rates, maintenance records, and quality control indicators; Data preprocessing: Process time series data to ensure data quality. The calculation formula is: in, is the smoothed data value at time point x, X t+i is the original data value of the adjacent time points, and v is the width of the smoothing window; Trend and seasonality analysis: Identify trends and seasonal patterns in the data using a time series decomposition method, calculated as: X t =T t +S t +R t ; Among them, X t is the observed value at time point t, T t is the trend component, S t is the seasonal component, R t It is the remaining ingredient; Establish a forecasting model: Based on historical data, build an ARIMA model to predict future production data. The ARIMA model is expressed as: Where L is the lag operator, d is the difference order, p and q are the orders of the autoregressive term and the moving average term, respectively. is the autoregressive coefficient, θ i is the moving average coefficient, ∈ t is the white noise error term; Failure prediction and preventive maintenance: Use ARIMA models to predict potential failures and maintenance needs, thereby scheduling preventive maintenance and reducing unplanned downtime; The fault prediction model adopts a support vector machine SVM, and the support vector machine SVM includes: Data preparation: Collect and prepare equipment operation and maintenance data, perform feature engineering, and calculate the formula as follows: Among them, x is the original feature, and x′ is the normalized feature; Selection and optimization of kernel function: According to the characteristics of the data, the radial basis function kernel is selected to deal with nonlinear problems. The calculation formula is: K(x g ,x h )=exp(-γ||x g -x h || 2 ); Among them, x g and x h are two eigenvectors, γ is the parameter of the kernel function; Cost-sensitive learning: A cost-sensitive factor is introduced to assign different costs to different types of errors in the fault prediction model, and to distinguish between fault and non-fault events in an unbalanced data set. The model of the cost-sensitive SVM is expressed as: Among them, C + and C - is the cost of classification error, corresponding to positive and negative classes, y g and h denote the labels of positive and negative classes respectively, ξ g and h is the slack variable, w is the weight vector, and b is the bias term; Model training: Use the selected radial basis function kernel function and the set parameters to train the SVM classifier, and make the final classification decision through the decision function, which is expressed as: f(x):=sgn(w·x+b); Where sgn is the sign function; Model verification and evaluation: Verify the performance of the SVM model and use precision, recall, and F1 score for evaluation. The calculation formula is: Among them, precision is the accuracy and recall is the recall rate; The real-time quality adjustment in S4 includes: S41, operating parameter adjustment decision: based on the output of the fault prediction model, automatically identify the operating parameters that need to be adjusted, including the speed, temperature and pressure of the equipment, and determine the optimal adjustment direction and amplitude of each parameter to deal with the predicted production risks; S42, automatic parameter adjustment: Through the MES system interface, the adjusted operating parameters are automatically fed back and parameter adjustments are implemented. Parameter adjustments include increasing or decreasing speed, increasing or decreasing temperature, and increasing or decreasing pressure to optimize the production process and prevent failures. S43, effect monitoring and feedback: continue to monitor the operating data of the adjusted equipment, analyze whether the effect of the adjustment meets expectations and the actual impact on production quality, and fine-tune operating parameters based on effect feedback to achieve continuous optimization of the production process.

Citation Information

Patent Citations

  • Intelligent linen production management system and method

    CN112650153A

  • MES-based quality tracing method and system

    CN113888480A

  • Mobile edge cache optimization method based on federated learning

    CN114595632A

  • Production management and control system and method based on automation

    CN117270465A

  • MES-based workshop equipment data acquisition system

    CN117519005A