Real-time injection molding machine yield prediction and early warning system based on virtual measurement
Through virtual measurement technology, a real-time yield prediction and early warning system for injection molding machines is built, which solves the problems of detection errors and lacks early warning systems of injection molding machines, realizes high-accuracy detection and real-time early warning of products of different structures and sizes, and improves production Efficiency and quality control.
Patent Information
- Application Number
- CN202410815339.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-11-01
AI Technical Summary
When testing product quality of existing injection molding machines, the machine vision system cannot flexibly adapt to products of different structures and sizes, resulting in large detection errors and lack of a complete early warning system based on virtual measurements, so it is impossible to effectively utilize timing and non-timing. Data are accurately predicted.
A real-time yield rate prediction and early warning system for injection molding machines based on virtual measurement was designed. By running data acquisition, data preprocessing, virtual measurement and monitoring early warning modules, it collects and processes timing and non-timing data to build a prediction model. Realize real-time monitoring and early warning of the operating status of the injection molding machine.
Improve the accuracy and early warning capability of product quality inspection of injection molding machines, reduce the time and cost of manual inspection, can flexibly adapt to products of different structures and sizes, reduce detection errors, and provide real-time early warning through virtual measurement to help adjust production parameter.
Smart Images

Figure CN118885931A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of injection molding machine operation monitoring, and in particular to a real-time yield rate prediction and early warning system for an injection molding machine. Background Art
[0002] The injection molding machine is a device that can melt and compress plastic particles, and inject the molten plastic into the mold for cooling and molding with the help of the screw. It is mainly composed of injection system, mold clamping system, hydraulic system, electrical control system, lubrication system, water system, etc. In the actual production process, affected by factors such as hardware, materials, and manual operation, the physical indicators of each system of the injection molding machine (such as pressure, temperature, etc.) are fluctuating in different molds, and the fluctuation of each indicator may eventually affect the structure of the finished product, thereby affecting the product yield and production progress.
[0003] Although existing injection molding machines are equipped with alarm systems to warn of abnormal conditions during the production process, the alarm types are mostly concentrated on mechanical failures (such as motor overload, clutch failure, etc.), and the warnings for physical indicators are mostly limited to simple threshold limits (such as high temperature and low pressure warnings). Since the feedback accuracy obtained from the above warnings is difficult to use to judge the quality of the final product, most injection molding machine systems now have introduced machine vision systems, which use smart cameras to capture digital images of each product, and use image analysis to detect the size, color, angle and other data of the finished product, and finally determine whether the finished product is qualified. The application of machine vision systems in the injection molding industry has reduced the time and labor costs brought by manual inspection to a certain extent, but it cannot flexibly adapt to products of different structures and sizes on various production lines. For products with more complex structures, it is even more difficult to capture every detail, and there are large errors in the detection of qualified rates.
[0004] In order to improve the quality inspection and early warning capabilities of injection molded products, some existing studies consider using the specific parameters and physical indicators of the injection molding machine during operation to predict the product size, angle and other data of each mold, and use the results of virtual measurement to estimate the quality of the final product. Since the data involved in virtual measurement includes time series data with different fluctuations and various non-time series single numerical data, and considering that the prediction model only receives regular data of the same structure, existing studies mostly use unified analysis and regularization of all data to adapt to the model interface, and do not fully consider the nature and characteristics of time series data and non-time series data. There are obvious defects in information mining and the final prediction accuracy. In addition, in existing related research, there is also a lack of a complete injection molding machine production early warning system based on virtual measurement. Summary of the invention
[0005] To solve the above problems, the present invention provides a real-time yield prediction and early warning system for injection molding machines based on virtual measurement, which can effectively utilize various data features to perform virtual measurement of product indicators, and then use the virtual measurement results to estimate the operating status of the injection molding machine. When the abnormal status exceeds the threshold, it can promptly issue an early warning reminder, providing a reference for subsequent parameter adjustments of the injection molding machine.
[0006] The present invention comprises four modules, namely, "operation data collection", "data preprocessing", "virtual measurement" and "monitoring and early warning".
[0007] The running data acquisition module is responsible for collecting and recording the sensor timing characteristics and other non-time-series single numerical characteristics of each mold production process of the injection molding machine, and performing actual measurement and collection of observation indicators for model training data as the prediction target of the subsequent model.
[0008] The time series features to be collected include: pressure inside the mold, temperature inside the mold, clamping force, screw speed, water flow of the mold temperature controller, cold water temperature of the mold temperature controller, hot water temperature of the mold temperature controller, return water temperature of the mold temperature controller, male mold temperature, and female mold temperature, a total of 10 parameters. Record and store the data of each mold: i ':{t1:v i1 ,t2:v i2 ,t3:v i3 …}}}, where ID represents the current module number, S i represents sensor number i, t i Represents the relative time difference between the data collection time and the start time of this module, v ij Represents sensor S i In t j The data collected at the time point. The sampling frequency and starting relative time (i.e. t i ) need to be consistent.
[0009] The non-sequential single numerical features to be collected include: mold cycle time, mold opening position, ejector position, cable withdrawal position, melt end point, injection starting point, injection maximum pressure, mold locking low pressure, mold locking high pressure, ejector pressure, melt time, mold closing time, mold opening time, ejection time, ejection time, neutron in time, neutron withdrawal time, filling time, holding time, front loose time, back loose time, seat in time, seat withdrawal time, barrel average temperature, hot runner average temperature, seat end pressure, a total of 26 parameters. Record and store the data of each mold: {'ID':[v1,v2,v3,…v 22 ]}, where ID represents the current module number, v i Represents the value of the i-th parameter in the above parameters.
[0010] The data preprocessing module is responsible for preprocessing the collected data to adapt to the model interface and improve the data quality. The specific steps are as follows:
[0011] 1) From the perspective of parameter indicators, the parameter indicators that have not changed in all modules are eliminated; from the perspective of modules, for module data with large deviations between the data acquisition timestamp and the standard timestamp, or missing or abnormal data due to sensor failure, all data of the module (including time series and non-time series data) are eliminated;
[0012] 2) Extract all types of time series feature data of all modules, align them according to timestamps, and generate a time series data set A = {'ID1':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],'ID2':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],}; Synchronously extract the non-time series data of all modules, align them according to the parameter order, and generate a non-time series data set B = {'ID1':[v1,v2,v3,…v 22 ],'ID2':[v1,v2,v3,…v 22 ],...}; randomly shuffle the data set A according to the module dimension, sort the module data order of data set B according to the module order of data set A, and keep the module order between data sets A and B corresponding;
[0013] 3) Analyze the data differences of the same sensor at the same timestamp in the time series data of all modules. For data with fluctuation times less than 0.5% of the total modules, use the formula Normalize. max(v ij ),min(v ij ) represent the maximum and minimum values of all the modal data of the i-th sensor at the j-th time stamp in the data set A. Similarly, for non-time series data, if the total number of fluctuations of a parameter value in all modalities is less than 0.5% of the total modalities, normalization is performed.
[0014] The virtual measurement module is responsible for deep feature extraction and building a prediction model to predict the target observation value of each module product. The specific steps are as follows:
[0015] 1) Extract the time series features. The extraction steps are as follows:
[0016] i) Taking the module as the aggregation unit, extract the maximum x for each timing parameter max , minimum value x min , mean x mean , median x median , margin factor x CLF , kurtosis factor x KUF , where the margin factor Kurtosis factor That is, each set of time series is converted into (x max ,x min ,x mean ,x median ,x CLF ,x KUF );
[0017] ii) Taking the module as the aggregation unit, the statistical prediction of the Arima model is performed on each set of time series data, and the prediction step value is 3, and the Arima analysis value (x ari1 ,x ari2 ,x ari3 );
[0018] 2) Align and splice the temporal feature extraction value obtained in step 1 with the non-temporal feature;
[0019] 3) Build an independent virtual measurement model for each prediction target. The model adopts the Bagging integration method, integrating 5 groups of XGBoost and 5 groups of LightGBM models, a total of 10 groups of models;
[0020] 4) Randomly extract 80% of the data from the training data as the training set Train, and the remaining data as the test set Test;
[0021] 5) For each group of sub-models in the integrated model, randomly select 80% of the data in the Train set to train it;
[0022] 6) Take the mean of the prediction results of each group of sub-models in the integrated model as the final prediction result to verify its accuracy in the Test set.
[0023] The monitoring and early warning module is responsible for monitoring abnormal situations in the real-time production process and providing early warning reminders. The specific steps are as follows:
[0024] 1) Set the qualified range for each prediction indicator 1p ,e 1q ],[e 2p ,e 2q],...], the number of monitoring modules per round T, the threshold of abnormal monitoring times H, where e ip represents the qualified lower limit of the i-th prediction indicator, e iq Represents the qualified upper limit value of the i-th prediction indicator, and the accuracy range can be set according to different prediction indicators;
[0025] 2) reset the abnormal module cumulative value h to zero and reset the current round module t to zero;
[0026] 3) Increase the current module t by 1; if t>T, the number of abnormal statistics in this round is within the threshold range, no alarm processing is performed, and steps 2 to 7 are repeated, otherwise continue with step 4;
[0027] 4) Collect the real-time data produced by the current module t, and perform data preprocessing according to step 3 of the preprocessing module;
[0028] 5) Use the model obtained in step 3 of the virtual measurement module to make real-time predictions of various indicators;
[0029] 6) Determine the predicted value e of each indicator in turn i Is it within the qualified range? ip ,e iq ], if any indicator appears e i <e ip or e i >e iq , then record the abnormal index, judge the current module as an abnormal module, and increase the number of abnormal modules h by 1;
[0030] 7) If h<=H, continue to repeat steps 3 to 7; if h>H, an abnormal production alarm of the injection molding machine is issued, and the staff adjusts the machine parameters and continues to repeat steps 2 to 7. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a system module flow chart of the present invention.
[0032] Figure 2 Prediction flow chart for virtual measurement model.
[0033] Figure 3 It is the prediction performance of each group of sub-models and the integrated model in the virtual measurement model on the test set.
[0034] Figure 4 This is the flow chart of the monitoring and early warning module. DETAILED DESCRIPTION
[0035] The present invention will be further described below in conjunction with the accompanying drawings and specific implementation examples.
[0036] Reference Figure 1As shown, the present invention is a real-time yield prediction and early warning system for injection molding machines based on virtual measurement, which includes four modules: "operation data acquisition", "data preprocessing", "virtual measurement" and "monitoring and early warning".
[0037] The specific implementation process is described below using the relay housing as the test product.
[0038] The running data acquisition module is responsible for collecting and recording the sensor timing characteristics and other non-time-series single numerical characteristics of each mold production process of the injection molding machine, and performing actual measurement and collection of observation targets for model training data as the prediction target of the subsequent model.
[0039] The time series features to be collected include: pressure inside the mold, temperature inside the mold, clamping force, screw speed, water flow of the mold temperature controller, cold water temperature of the mold temperature controller, hot water temperature of the mold temperature controller, return water temperature of the mold temperature controller, male mold temperature, and female mold temperature, a total of 10 parameters. Record and store the data of each mold: i ':{t1:v i1 ,t2:v i2 ,t3:v i3 …}}}, where ID represents the current module number, S i represents sensor number i, t i Represents the relative time difference between the data collection time and the start time of this module, v ij Represents sensor S i In t j The data collected at the time point. The sampling frequency and starting relative time (i.e. t i ) need to be consistent.
[0040] The non-sequential single numerical features to be collected include: mold cycle time, mold opening position, ejector position, cable withdrawal position, melt end point, injection starting point, injection maximum pressure, mold locking low pressure, mold locking high pressure, ejector pressure, melt time, mold closing time, mold opening time, ejection time, ejection time, neutron in time, neutron withdrawal time, filling time, holding time, front loose time, back loose time, seat in time, seat withdrawal time, barrel average temperature, hot runner average temperature, seat end pressure, a total of 26 parameters. Record and store the data of each mold: {'ID':[v1,v2,v3,…v 22 ]}, where ID represents the current module number, v i Represents the value of the i-th parameter in the above parameters.
[0041] In practical applications, the setting points of sensors should focus on locations where it is difficult to glue or where defects are likely to occur. In addition, the collection of time-series feature data can be appropriately increased or decreased according to the type and number of sensors equipped with the injection molding machine, and there is no limit on the number of sequences collected for each feature; for example, if the injection molding machine is equipped with three sets of membrane pressure detection sensors at different points in actual production, three sets of time-series feature data on membrane pressure can be recorded simultaneously for virtual measurement.
[0042] This case uses the "mouth concave deformation value (unit: mm)" of the relay housing as the observation target data, and uses a combination of manual and automatic image measuring instruments to actually measure and record each experimental product.
[0043] The data preprocessing module is responsible for preprocessing the collected data to adapt to the model interface and improve the data quality. The specific steps are as follows:
[0044] 1) From the perspective of parameter indicators, the parameter indicators that have not changed in all modules are eliminated; from the perspective of modules, for module data with large deviations between the data acquisition timestamp and the standard timestamp, or missing or abnormal data due to sensor failure, all data of the module (including time series and non-time series data) are eliminated;
[0045] 2) Extract all types of time series feature data of all modules, align them according to timestamps, and generate a time series data set A = {'ID1':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],'ID2':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],}; Synchronously extract the non-time series data of all modules, align them according to the parameter order, and generate a non-time series data set B = {'ID1':[v1,v2,v3,…v 22 ],'ID2':[v1,v2,v3,…v 22 ],...}; Randomly shuffle the data set A according to the module dimension, sort the module data order of data set B according to the module order of data set A, and keep the module order between data sets A and B corresponding.
[0046] 3) Analyze the data differences of the same sensor at the same timestamp in the time series data of all modules. For data with fluctuation times less than 0.5% of the total modules, use the formula Normalize. max(v ij ),min(v ij ) represent the maximum and minimum values of all the modal data of the i-th sensor at the j-th time stamp in the data set A. Similarly, for non-time series data, if the total number of fluctuations of a parameter value in all modalities is less than 0.5% of the total modalities, normalization is performed.
[0047] The virtual measurement module is responsible for deep feature extraction and building a prediction model to predict the target observation value of each model product. Figure 2 As shown, the specific steps are as follows:
[0048] 1) Extract the time series features. The extraction steps are as follows:
[0049] i) Taking the module as the aggregation unit, extract the maximum x for each timing parameter max , minimum value x min , mean x mean , median x median , margin factor x CLF , kurtosis factor x KUF , where the margin factor Kurtosis factor That is, each set of time series is converted into (x max ,x min ,x mean ,x median ,x CLF ,x KUF );
[0050] ii) Taking the module as the aggregation unit, the statistical prediction of the Arima model is performed on each set of time series data, and the prediction step value is 3, and the Arima analysis value (x ari1 ,x ari2 ,x ari3 );
[0051] iii) In the actual production process, other time series feature values can be added according to the actual situation, such as variance, quantiles in different intervals, etc.; if the experimental results of the subsequent added features are more accurate than the experimental results of the basic features, the added features are retained, otherwise the above-mentioned basic features are used as experimental features.
[0052] 2) Align and splice the temporal feature extraction value obtained in step 1 with the non-temporal feature;
[0053] 3) Build an independent virtual measurement model for each prediction target. The model adopts the Bagging integration method, integrating 5 groups of XGBoost and 5 groups of LightGBM models, a total of 10 groups of models;
[0054] 4) Randomly extract 80% of the data from the training data as the training set Train, and the remaining data as the test set Test;
[0055] 5) For each group of sub-models in the integrated model, randomly select 80% of the data in the Train set to train it;
[0056] 6) Take the mean of the prediction results of each group of sub-models in the integrated model as the final prediction result to verify its accuracy in the Test set.
[0057] Reference Figure 3 As shown in the figure, using XGBoost and LightGBM alone can control the MSE error within 7.63e-05, while the error of using the integrated model for prediction is about 5.79e-05, which is smaller than the error of each group of single models; the mean square error MSE calculation formula is: Among them, n represents the number of samples, y i Represents the true indicator value, Represents the predicted value.
[0058] The monitoring and early warning module is responsible for monitoring abnormal situations in the real-time production process and issuing early warning reminders. Figure 4 As shown, the specific steps are as follows:
[0059] 1) Set the qualified range for each prediction indicator 1p ,e 1q ],[e 2p ,e 2q ],...], the number of monitoring modules per round T, the threshold of abnormal monitoring times H, where e ip represents the qualified lower limit of the i-th prediction indicator, e iq Represents the qualified upper limit value of the i-th prediction indicator, and the accuracy range can be set according to different prediction indicators;
[0060] 2) reset the abnormal module cumulative value h to zero and reset the current round module t to zero;
[0061] 3) Increase the current module t by 1; if t>T, the number of abnormal statistics in this round is within the threshold range, no alarm processing is performed, and steps 2 to 7 are repeated;
[0062] 4) Collect the real-time data produced by the current module t, and perform data preprocessing according to step 3 in the preprocessing module;
[0063] 5) Use the model obtained in step 3 of the virtual measurement module to make real-time predictions of various indicators;
[0064] 6) Determine the predicted value e of each indicator in turn i Is it within the qualified range? ip ,e iq ], if any indicator appears e i <e ip or e i >e iq , then record the abnormal index, and judge this mold as an abnormal mold, and increase the number of abnormal molds h by 1, otherwise continue to repeat steps 3 to 7; for this case, the inner concave deformation value of the relay mouth is qualified within 0.15mm, so the qualified range of this index can be set to [0,0.15] (unit: mm); 7) If h<=H, continue to repeat steps 3 to 7; if h>H, the injection molding machine production abnormality alarm is issued, and the staff adjusts the machine parameters and continues to repeat steps 2 to 7.
Claims
1. A real-time yield prediction and early warning system for injection molding machines based on virtual measurement, characterized in that: The system comprises: Run the data acquisition module, which is responsible for collecting and recording the characteristic data of each mold production process of the injection molding machine, and performing actual measurement and collection of observation indicators for model training data as the prediction target of the subsequent model; The data preprocessing module is responsible for preprocessing the collected data to adapt to the model interface and improve the data quality; The virtual measurement module is responsible for deep feature extraction and building a prediction model to predict the target observation value of each module product; The monitoring and early warning module is responsible for monitoring abnormal situations in the real-time production process and providing early warning reminders.
2. The real-time yield prediction and early warning system for injection molding machines based on virtual measurement according to claim 1 is characterized in that: The operation data acquisition module needs to record and collect the sensor timing characteristics and other non-timing single numerical characteristics during each module production process; Record and store the time series data features of each module: {'ID':{'S i ':{t1:v i1 ,t2:v i2 ,t3:v i3 …}}}, where ID represents the current module number, S i represents sensor number i, t i Represents the relative time difference between the data collection time and the start time of this module, v ij Represents sensor S i In t j The data collected at the time point. The sampling frequency and starting relative time (i.e. t i ) need to be consistent; For each module, a single non-sequential numerical feature is recorded and stored: {'ID':[v1,v2,v3,…v 22 ]}, where ID represents the current module number, v i Represents the value of the i-th parameter in the above parameters.
3. The real-time yield prediction and early warning system for injection molding machines based on virtual measurement according to claim 1 is characterized in that: The data preprocessing module comprises the following steps: 1) From the perspective of parameter indicators, the parameter indicators that have not changed in all modules are eliminated; from the perspective of modules, for module data with large deviations between the data acquisition timestamp and the standard timestamp, or missing or abnormal data due to sensor failure, all data of the module (including time series and non-time series data) are eliminated; 2) Extract all types of time series feature data of all modules, align them according to timestamps, and generate a time series data set A = {'ID1':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],'ID2':[[v 11 ,v 12 ,v 13 ,...],[v 21 ,v 22 ,v 23 ,...],...],}; Synchronously extract the non-time series data of all modules, align them according to the parameter order, and generate a non-time series data set B = {'ID1':[v1,v2,v3,…v 22 ],'ID2':[v1,v2,v3,…v 22 ],...}; randomly shuffle the data set A according to the module dimension, sort the module data order of data set B according to the module order of data set A, and keep the module order between data sets A and B corresponding; 3) Analyze the data differences of the same sensor at the same timestamp in the time series data of all modules. For data with fluctuation times less than 0.5% of the total modules, use the formula Normalization is performed; similarly, for non-time series data, if the total number of fluctuations of a parameter value in all modes is less than 0.5% of the total modes, normalization is performed.
4. The real-time yield prediction and early warning system for injection molding machines based on virtual measurement according to claim 1 is characterized in that: The virtual measurement module constructs an independent virtual measurement model for each prediction target (i.e., each indicator for determining whether a product is qualified). The model adopts the Bagging integration method, integrating 5 groups of XGBoost models and 5 groups of LightGBM models; the input of the model is the various data features processed by the steps in claim 3, among which the time series feature sequence needs to be additionally extracted.
5. The real-time yield prediction and early warning system for injection molding machines based on virtual measurement according to claim 4 is characterized in that: The feature extraction steps of the time series feature sequence are as follows: 1) Taking the module as the aggregation unit, extract the maximum x for each timing parameter max , minimum value x min , mean x mean , median x median , margin factor x CLF , kurtosis factor x KUF , where the margin factor Kurtosis factor That is, each set of time series is converted into (x max ,x min ,x mean ,x median ,x CLF ,x KUF ); 2) Taking the module as the aggregation unit, the statistical prediction of the Arima model is performed on each set of time series data, and the prediction step value is 3, and the Arima analysis value (x ari1 ,x ari2 ,x ari3 ); 3) In the actual production process, other time series feature values can be added according to the actual situation, such as variance, quantiles in different intervals, etc.; if the experimental results of the subsequent added features are more accurate than the experimental results of the basic features, the added features are retained, otherwise the above-mentioned basic features are used as experimental features.
6. The real-time yield prediction and early warning system for injection molding machines based on virtual measurement according to claim 1 is characterized in that: The specific steps of the monitoring and early warning module are as follows: 1) Set the qualified range for each prediction indicator 1p ,e 1q ],[e 2p ,e 2q ],...], the number of monitoring modules per round T, the threshold of abnormal monitoring times H, where e ip represents the qualified lower limit of the i-th prediction indicator, e iq Represents the qualified upper limit value of the i-th prediction indicator, and the accuracy range can be set according to different prediction indicators; 2) reset the abnormal module cumulative value h to zero and reset the current round module t to zero; 3) Increase the current module t by 1; if t>T, the number of abnormal statistics in this round is within the threshold range, no alarm processing is performed, and steps 2 to 7 are repeated; 4) Collect the real-time data produced by the current module t, and perform data preprocessing according to step 3 in the preprocessing module; 5) Use the model obtained in step 3 of the virtual measurement module to make real-time predictions of various indicators; 6) Determine the predicted value e of each indicator in turn i Is it within the qualified range? ip ,e iq ], if any indicator appears e i <e ip or e i >e iq , then record the abnormal index, and judge the current module as an abnormal module, and increase the number of abnormal modules h by 1, otherwise continue to repeat steps 3 to 7; 7) If h<=H, continue to repeat steps 3 to 7; if h>H, an abnormal production alarm of the injection molding machine is issued, and the staff adjusts the machine parameters and continues to repeat steps 2 to 7.
Citation Information
Patent Citations
Injection molding product size prediction method based on user-defined LightGBM model loss
CN114239378A
Injection molding workpiece size prediction method based on virtual measurement model
CN114701135A
Self-adaptive robust virtual measurement method
CN114970356A
Product quality prediction method for mass customization
US20180188717A1
Cited By
Injection molding machine processing parameter optimization method, server, medium and product
CN122353870A
