Digital twin modeling method for mold manufacturing
Through the digital twin modeling method, sensors and machine learning technology are used to solve the problems of low efficiency and difficulty in ensuring accuracy of traditional mold manufacturing methods, achieve an efficient and accurate mold manufacturing process, improve product consistency and repeatability, and Reduced production costs.
Patent Information
- Application Number
- CN202410750556.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-09-17
AI Technical Summary
Traditional mold manufacturing methods rely on the experience and intuition of engineers, resulting in low efficiency, difficulty in ensuring accuracy, and poor product consistency and repeatability, which limits the development of the mold manufacturing industry.
The digital twin modeling method for mold manufacturing is used to collect equipment operating status and environmental data through sensors, and combines machine learning to establish a product shape prediction model to build a three-dimensional digital twin model to achieve real-time monitoring and optimization of the mold processing process.
Improved production efficiency and accuracy, enhanced product consistency and repeatability, reduced production costs, and provided more accurate and real-time decision support.
Smart Images

Figure CN118657877A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of three-dimensional simulation technology, and in particular to a digital twin modeling method for mold manufacturing. Background Art
[0002] With the continuous development of the global economy and the rapid progress of science and technology, intelligent manufacturing has become the core development trend of today's manufacturing industry. Especially with the advent of the Industrial 4.0 era, digitalization, networking and intelligence have become the key directions for the transformation of the manufacturing industry. Mold manufacturing, as an important link in the industrial production chain, plays a vital role in improving product quality, optimizing production processes, reducing costs and shortening product development cycles.
[0003] However, traditional mold manufacturing methods have many limitations. These methods are often highly dependent on engineers' experience and intuition, and are manually adjusted and monitored. Although this method can meet production needs to a certain extent, it is inefficient, difficult to ensure accuracy, and the consistency and repeatability of products are poor. In the highly competitive market environment, these limitations have become a bottleneck restricting the further development of the mold manufacturing industry. To this end, we propose a digital twin modeling method for mold manufacturing. Summary of the invention
[0004] The purpose of the present invention is to provide a digital twin modeling method for mold manufacturing to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solution: a digital twin modeling method for mold manufacturing, the specific steps of the method include: Step I: Data collection and transmission: Use sensor technology to collect real-time operating status data of mold processing equipment, including the vibration frequency, operating temperature and working pressure of the equipment; at the same time, monitor and record real-time temperature and humidity data in the working environment; Collect relevant data of raw materials, including material type, hardness value and elastic modulus; Step II: Data analysis and machine learning prediction: Preprocess the collected data, including data cleaning and normalization operations, to eliminate outliers and dimensional differences between different features; The interquartile range (IQR) is used to identify outliers in a data set. The specific algorithm is as follows: in, is the upper quartile, The lower quartile defines the upper and lower limits of outliers: Indicates the upper limit of the data value. Indicates the lower limit of the data value. Data exceeding the upper and lower limits are considered as outliers and deleted. In order to eliminate the dimensional differences between different features, the data normalization method is used to map the data to the same scale. The specific algorithm is: in, is the normalized value, is the original value, and are the minimum and maximum values in the data set, respectively; Using machine learning algorithms, the preprocessed data is trained to establish a product form prediction model; the real-time collected data is input into the trained prediction model, and the twin modeling product form prediction data is obtained through model operation, and the product form prediction data includes the physical structure and size of the product; Step III: Build a digital twin model: Based on the input data, use 3D modeling technology to build a digital virtual model of the mold processing equipment, which accurately reflects the physical characteristics and dynamic behavior of the equipment; integrate the operation simulation function of the equipment into the virtual model to reproduce the working status of the equipment in actual production; Step IV: Digital twin modeling and visualization: The predicted product morphology data is integrated with the digital twin model to generate a realistic three-dimensional visualization product model. The predicted product morphology under different parameter combinations is displayed on the digital twin platform, so that production personnel can intuitively understand the appearance and structural characteristics of the product. According to actual needs, the operating status data, working environment data and related data of raw materials of the mold processing equipment are adjusted, and the change trend of the three-dimensional model of the prediction results is observed to provide a reference for production decisions.
[0006] Preferably, a linear regression algorithm is used to construct and train a product morphology prediction model, and the specific steps are as follows: S1: Data collection, using sensor technology to collect real-time data on the operating status of mold processing equipment, working environment data, and collect relevant data on raw materials; S2: Data preprocessing, cleaning and normalizing the collected data to eliminate outliers and dimensional differences between different features to form a regular data set; S3: Dataset division: divide the preprocessed dataset into training set, validation set and test set; S4: Model selection, linear regression algorithm is selected as the basis of product morphology prediction model; S5: model parameter initialization, setting initial parameters for the linear regression model; S6: Model training: using the training set data, the model is trained through a linear regression algorithm, and the model parameters are adjusted to minimize the difference between the predicted product morphology data and the actual data; S7: Model verification and optimization: Use the verification set data to verify the trained model and optimize the model parameters based on the verification results; S8: Model evaluation: Use the test set data to evaluate the optimized model to ensure the accuracy of the model prediction; S9: Model preservation and deployment: Save the trained, verified and evaluated linear regression model and deploy it to the digital twin modeling system for real-time prediction of product form.
[0007] Preferably, in the process of training the product morphology prediction model, the linear regression model is trained using the training set data, and the model parameters, including the regression coefficient and the intercept, are iteratively adjusted through the optimization algorithm to minimize the difference between the predicted product morphology data and the actual data; the trained model is verified using the validation set data, and the model parameters are further optimized and adjusted based on the verification results, including adjusting the learning rate, number of iterations and regularization parameters. After multiple iterations and optimizations, the final model parameters are determined so that the model achieves the best prediction effect on the validation set.
[0008] Preferably, the method for evaluating the performance of the product morphology prediction model is: a. Prepare test set data: Extract test set data from the preprocessed and divided data set. The test set data includes known input features and corresponding actual product form data; b. Model prediction: Input the input features of the test set data into the trained and optimized linear regression model to obtain the product shape data predicted by the model; c. Error calculation: Compare the product shape data predicted by the model with the actual product shape data in the test set, and calculate the prediction error through the error calculation method of mean square error and mean absolute error; d. Evaluation standard setting: Set the evaluation standard according to actual needs and set an error threshold; e. Evaluation result determination: Compare the prediction error calculated in step c with the evaluation criteria set in step d, and determine whether the model meets the prediction accuracy requirements based on the comparison results.
[0009] Preferably, the digital twin model constructed in step III has an interactive operation function, allowing the user to simulate the operation of the mold processing equipment through the digital twin platform to observe the response and performance of the equipment under different operating conditions.
[0010] Preferably, during the mold manufacturing process, the digital twin model is used to monitor the operating status of the equipment and the manufacturing progress of the product in real time, and optimization and adjustment are performed based on the real-time monitoring data.
[0011] Preferably, in step S1, the specific method of data cleaning is: collect original data, including operating status data of mold processing equipment, working environment data and related data of raw materials; perform preliminary inspection on the original data, identify and remove data records containing missing values, abnormal values and duplicate values; fill missing values with the mean method; use the threshold setting method to filter out abnormal data that exceeds a reasonable range; for duplicate data records, deduplicate data records are deduplicated according to the timestamp of the data; the cleaned data will serve as the basis for subsequent data normalization and model training.
[0012] Preferably, in step S1, the specific method of data normalization is: i) Select the cleaned data set as the normalized processing object; ii) For each type of feature in the data set, calculate its minimum value min and maximum value max respectively; iii) Use the linear transformation formula to convert each feature value x in the data set into a normalized value x'. The transformation formula is: x' = (x - min) / (max - min), so that the converted data range is between [0,1]; iv) For the categorical features in the data set, One-Hot Encoding is used for conversion. The normalized data set will be used as the standard input for subsequent model training and prediction.
[0013] Compared with the prior art, the present invention has the following beneficial effects: 1. Improve production efficiency and precision: By collecting the operating status data, working environment data and relevant data of raw materials of mold processing equipment in real time, the present invention can more accurately simulate and predict the mold manufacturing process, help reduce the number of trial and error, optimize the production process, thereby improving production efficiency and ensuring the high precision of the product.
[0014] 2. Enhance product consistency and repeatability: Through the digital twin modeling method, the mold manufacturing process can be standardized, reducing the interference of human factors, so that each batch of products can maintain a high degree of consistency and repeatability, meeting the market demand for product quality stability.
[0015] 3. Reduce production costs: By accurately predicting the product form through the prediction model, the present invention can find potential problems before production and make adjustments, thereby avoiding unnecessary material waste and production costs. At the same time, optimizing the production process can further reduce manufacturing costs.
[0016] 4. Improve the accuracy and real-time performance of decision support: The present invention uses a three-dimensional visualized product model to enable production personnel to intuitively understand the appearance and structural characteristics of the product, adjust relevant parameters according to actual needs, and observe the change trend of the three-dimensional model of the predicted results. This provides more accurate and real-time support for production decisions. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is the work flow chart of the method of the present invention; Figure 2 Flowchart for building and training a product shape prediction model; Figure 3 Flowchart for data normalization processing. DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] See also Figure 1-3 The present invention provides a technical solution: a digital twin modeling method for mold manufacturing, referring to the attached Figure 1 , the specific steps of the method include: Step I: Data collection and transmission: Use sensor technology to collect real-time operating status data of mold processing equipment, including the vibration frequency, operating temperature and working pressure of the equipment; at the same time, monitor and record real-time temperature and humidity data in the working environment.
[0020] Collect data about raw materials, including material type, hardness value, and elastic modulus.
[0021] The purpose of this step is to use sensor technology to collect real-time operating status data and working environment data of mold processing equipment, and collect relevant data of raw materials to provide basic data support for subsequent digital twin modeling.
[0022] Step II: Data analysis and machine learning prediction: Preprocess the collected data, including data cleaning and normalization operations, to eliminate outliers and dimensional differences between different features.
[0023] The interquartile range (IQR) is used to identify outliers in a data set. The specific algorithm is as follows: in, is the upper quartile, The lower quartile defines the upper and lower limits of outliers: Define the identification limit of outliers. The upper limit is Q3 plus 1.5 times IQR, that is, UpperLimit = Q3 + 1.5 × IQR. The lower limit is Q1 minus 1.5 times IQR, that is, Lower Limit = Q1 - 1.5 × IQR.
[0024] All data outside the above bounds are considered outliers and removed from the dataset.
[0025] In order to eliminate the dimensional differences between different features, the data normalization method is used to map the data to the same scale. The specific algorithm is: in, is the normalized value, is the original value, and are the minimum and maximum values in the data set, respectively. Through normalization, we can ensure that all data are on the same scale, which is convenient for subsequent machine learning model processing and analysis.
[0026] The preprocessed data is trained using a machine learning algorithm to establish a product morphology prediction model. The real-time collected data is input into the trained prediction model, and the twin modeling product morphology prediction data is obtained through model calculation. The product morphology prediction data includes the physical structure and size of the product.
[0027] This step aims to pre-process the various types of collected data and train them using machine learning algorithms to establish an accurate product morphology prediction model.
[0028] Step III: Build a digital twin model: Based on the input data, use 3D modeling technology to build a digital virtual model of the mold processing equipment, which accurately reflects the physical characteristics and dynamic behavior of the equipment; integrate the equipment's operation simulation function into the virtual model to reproduce the equipment's working status in actual production.
[0029] The purpose of this step is to build a digital virtual model of the mold processing equipment based on the input data using 3D modeling technology and integrate the operation simulation function of the equipment.
[0030] Step IV: Digital twin modeling and visualization: The predicted product morphology data is integrated with the digital twin model to generate a realistic three-dimensional visualization product model. The predicted product morphology under different parameter combinations is displayed on the digital twin platform, so that production personnel can intuitively understand the appearance and structural characteristics of the product. According to actual needs, the operating status data, working environment data and related data of raw materials of the mold processing equipment are adjusted, and the change trend of the three-dimensional model of the prediction results is observed to provide a reference for production decisions.
[0031] The purpose of this step is to fuse the predicted product morphology data with the digital twin model and generate a realistic three-dimensional visual product model.
[0032] The working principle of this method is based on digital twin technology. By building a digital virtual model corresponding to the real mold processing equipment, the physical world and the virtual world are closely connected. First, sensor technology is used to collect data on the operating status, working environment, and raw materials of the mold processing equipment in real time. Then, these data are trained through machine learning algorithms to establish a product morphology prediction model. Finally, the predicted data is integrated with the digital twin model to generate a realistic three-dimensional visual product model to provide a reference for production decisions.
[0033] This aspect will be further described below in conjunction with Examples 1 to 3: Embodiment 1: The linear regression algorithm is used to build and train the product morphology prediction model. First, the operating status, working environment and raw material data of the mold processing equipment are collected in real time through sensors. After preprocessing, these data are used to train the linear regression model. The model learns how to predict the product morphology based on the input equipment operation, environment and raw material data through training. During the training process, the model parameters are continuously adjusted to minimize the difference between the predicted and actual morphology. Once the model training is completed and verified and optimized, it can be deployed to the digital twin modeling system. In the system, the model can receive real-time equipment operation, environment and raw material data, and quickly and accurately predict the corresponding product morphology, thereby providing an important reference for production decisions and realizing intelligent and precise control of mold manufacturing.
[0034] As attached Figure 2 As shown, the specific steps are: S1: Data collection, through the sensors installed on the mold processing equipment, the operating status data of the equipment is collected in real time, such as temperature, pressure, vibration frequency, etc. At the same time, environmental monitoring equipment is used to collect working environment data, such as temperature, humidity, etc. In addition, it is also necessary to collect relevant data of raw materials, including but not limited to material, hardness, elastic modulus, etc. These data will be centrally stored through the data transmission system for subsequent processing and analysis.
[0035] S2: Data preprocessing: The collected raw data is preprocessed. First, outliers and noise are removed by data cleaning, such as using the mean method to identify and remove data points that are obviously deviated from the normal range. Next, the data is normalized to eliminate the dimensional differences between different features so that each feature has the same weight in the model. Normalization can be achieved through linear transformation or other mathematical methods to ensure that all data are converted to the same numerical range, such as the [0,1] interval.
[0036] S3: Dataset division: divide the preprocessed dataset into training set, validation set and test set according to a certain ratio (e.g. 70%:15%:15%). The training set is used to train the model, the validation set is used to adjust the model parameters and prevent overfitting during the training process, and the test set is used to evaluate the final performance of the model.
[0037] S4: Model selection, according to the characteristics of the problem and the nature of the data, the linear regression algorithm is selected as the basis of the product morphology prediction model. The linear regression algorithm can establish a linear relationship between independent variables (such as equipment operating status, working environment, raw material data, etc.) and dependent variables (product morphology data).
[0038] S5: Model parameter initialization, setting the initial parameters for the linear regression model, including regression coefficients and intercepts. These parameters can be set randomly or based on prior knowledge. The initialization parameters are the starting point of model training and have a certain impact on the convergence speed and final performance of the model.
[0039] S6: Model training, using the training set data, the model is trained through a linear regression algorithm. During the training process, the model parameters are continuously adjusted through the least squares method or other optimization algorithms to minimize the difference (such as mean square error) between the predicted product form data and the actual data. The training process is iterative until the stopping condition is met (such as reaching a preset number of iterations or error threshold).
[0040] S7: Model verification and optimization, use the verification set data to verify the trained model. The performance of the model is evaluated by calculating the prediction error on the verification set. According to the verification results, the model parameters can be further optimized and adjusted, such as adjusting the learning rate, increasing the number of iterations, etc., to improve the generalization ability of the model.
[0041] S8: Model evaluation, use the test set data to evaluate the optimized model. By calculating the prediction error and other evaluation indicators (such as accuracy, recall, etc.) on the test set, the prediction accuracy of the model is comprehensively evaluated. The evaluation results can be used as a basis for whether the model meets the application requirements.
[0042] S9: Model preservation and deployment, save the trained, verified and evaluated linear regression model as a file or database record. Subsequently, the model is deployed to the digital twin modeling system to predict the product form in real time during the actual production process. During the deployment process, it is necessary to ensure the compatibility of the model with the system and set up appropriate interfaces for data input and output.
[0043] The following is a code example of building and training a product shape prediction model using Python as the programming language: In this code, we first import the necessary libraries, then create a simple dataset as an example (in actual applications, you need to load a real dataset), then separate the features and target variables, and divide the dataset into training and test sets. Then we initialize the linear regression model and train it with the training data. Finally, we evaluate the model with the test set and print out the coefficients and intercept of the model.
[0044] In the process of training the product shape prediction model, the following steps can be taken to train and optimize the linear regression model: 1. Model training: a. Use the training set data to initialize the linear regression model. The training set contains multiple samples, each of which consists of a series of features (such as equipment operating status, working environment data, raw material data, etc.) and target product morphology data.
[0045] b. During the training process, optimization algorithms (such as gradient descent) are used to iteratively adjust the model parameters, mainly including regression coefficients and intercepts. These parameters determine how the model predicts product form based on input features.
[0046] c. The goal of the optimization algorithm is to minimize the difference between the predicted product shape data and the actual data. This difference is usually measured by a loss function (such as mean square error). In each iteration, the algorithm updates the model parameters based on the gradient information of the loss function in the hope of reducing the prediction error in the next iteration.
[0047] 2. Model verification and optimization: a. After training is completed, the trained model is verified using the validation set data. The validation set is a data set independent of the training set and is used to evaluate the performance of the model on unseen data.
[0048] b. By calculating the prediction error of the model on the validation set, we can get a preliminary evaluation of the model performance. If the prediction error is large, it means that the model may have overfitting or underfitting problems and needs further optimization.
[0049] c. Based on the validation results, further optimize the model parameters. This may include adjusting the learning rate (controlling the step size of parameter updates), increasing or decreasing the number of iterations (to find more suitable model parameters), and adjusting the regularization parameters (to prevent overfitting and improve the generalization ability of the model).
[0050] d. The optimization process is an iterative process that requires repeated model validation and parameter adjustment until the model achieves the best prediction effect on the validation set. This is usually manifested as the prediction error on the validation set being minimized or meeting the predetermined performance requirements.
[0051] 3. Determine the final model parameters: a. After multiple iterations and optimizations, the final model parameters are determined. These parameters are the parameter combinations that perform best on the training set and the validation set.
[0052] b. Once the final parameters are determined, the model can be saved and deployed to the digital twin modeling system for real-time product shape prediction.
[0053] Through the above steps, a linear regression model can be successfully trained and optimized to accurately predict product morphology based on the input equipment operating status, working environment, and raw material data.
[0054] Embodiment 2: The method for evaluating the performance of the product shape prediction model includes the following steps: Prepare test set data: Extract test set data from the preprocessed and divided complete data set.
[0055] Ensure that the test set data contains two parts: known input features (such as equipment parameters, environmental variables, etc.) and corresponding product form actual data. These data will be used to verify the prediction accuracy of the model.
[0056] Model prediction: Load the trained and optimized linear regression model. Input the input features of the test set data into the model. The model will make predictions based on the input features and output the predicted product form data.
[0057] Error calculation: Get the product form data predicted by the model and compare these predicted data with the actual product form data in the test set. Use two error calculation methods, Mean Squared Error (MSE) and Mean Absolute Error (MAE), to quantify the difference between the predicted data and the actual data, and record the calculated mean squared error and mean absolute error values.
[0058] Evaluation criteria setting: Set an acceptable error threshold based on business needs or industry standards. This threshold represents the maximum allowable error range of the model prediction. Ensure that the set evaluation criteria are meaningful and can reflect the performance requirements of the model in actual applications.
[0059] Evaluation result determination: Compare the calculated mean square error and mean absolute error with the set error threshold. If the prediction error is lower than the set threshold, the prediction accuracy of the model is considered to meet the requirements. If the prediction error is higher than the set threshold, it is necessary to review the model training and optimization process, or consider adjusting the evaluation criteria. Based on the evaluation results, you can decide whether to deploy the model to the production environment or whether further model improvement and optimization work is needed.
[0060] In the mold manufacturing process, the digital twin model is used to monitor the operating status of the equipment and the manufacturing progress of the product in real time, and optimization and adjustment are made based on the real-time monitoring data. The interactive operation function of the digital twin model in step III is implemented as follows: 1. Build an interactive interface: Design an intuitive and easy-to-use user interface to ensure that users can easily interact with the digital twin model through the interface. Integrate various operation buttons, sliders, input boxes and other controls in the interface so that users can enter or adjust various parameters and operating conditions of the mold processing equipment.
[0061] 2. Realize the simulation operation function: Use digital twin technology to map the actual operation logic and physical characteristics of mold processing equipment into the digital model. Through programming, the digital model's response mechanism to user input is realized, so that when the user operates through the interface, the digital model can simulate the actual operation status and response of the equipment accordingly.
[0062] 3. Observation and performance analysis: On the digital twin platform, the operating status and performance data of mold processing equipment under simulated operation are displayed in real time. Data visualization tools such as curve charts and bar charts are provided to help users intuitively understand the performance of the equipment under different operating conditions. Integrated performance analysis tools are used to monitor and analyze key performance indicators in the simulated operation process in real time to provide users with optimization suggestions.
[0063] The digital twin model constructed in step III will have powerful interactive operation functions, allowing users to simulate the operation of mold processing equipment through the digital twin platform and observe the response and performance of the equipment under different operating conditions. This will help users better understand the characteristics of the equipment, optimize the operation process, and improve production efficiency.
[0064] Embodiment 3: In step S1, the specific method of data cleaning is: 1. Collect raw data: Collect raw data from mold processing equipment, working environment monitoring system and raw material management system. Ensure that the collected data includes the operating status data of mold processing equipment (such as temperature, pressure, vibration, etc.), working environment data (such as temperature, humidity, air pressure, etc.) and relevant data of raw materials (such as material, specification, batch, etc.).
[0065] 2. Preliminary inspection and data removal: Perform a preliminary inspection on the collected raw data to identify missing values, abnormal values, and duplicate values in the data. For data records containing missing values, if key information (such as equipment operating status or raw material data) is missing, the data record will be removed. For data records containing abnormal values, such as sudden changes in equipment operating status or values that exceed the normal operating range of the equipment, mark them and remove them. When duplicate data records are found, mark them for subsequent processing.
[0066] 3. Missing value filling: For missing values of non-critical information in the data, the mean method is used to fill them. That is, the mean of other valid records in the field is calculated and the missing value is replaced by the mean. Ensure that the filled data is within a reasonable range and does not affect the overall distribution and characteristics of the data.
[0067] 4. Abnormal value filtering: Set reasonable thresholds based on the normal operating range and working environment parameters of the mold processing equipment. Traverse the data and filter out abnormal data that exceeds the set threshold. Ensure that the filtered data can truly reflect the actual situation of the mold processing process.
[0068] 5. Duplicate data removal: For duplicate data records marked in the preliminary inspection, perform deduplication based on the data timestamp. Keep the record with the earliest or latest timestamp and delete the remaining duplicate records. Ensure that each record in the deduplicated data set is unique.
[0069] 6. Post-cleaning data processing: Organize the cleaned data to ensure the integrity and accuracy of the data. Use the cleaned data as the basis for subsequent data normalization and model training, and record the key steps and parameters in the cleaning process for subsequent analysis and optimization.
[0070] Through the above steps, the cleaning of mold processing related data can be completed, providing a high-quality data foundation for subsequent data analysis and model training.
[0071] As attached Figure 2 As shown, in step S1, the specific method of data normalization is: i) Select the cleaned data set: 1. Get the cleaned dataset from the output of the data cleaning step.
[0072] 2. Make sure that the dataset has removed missing values, outliers, and duplicate values, and that all numerical features are complete.
[0073] ii) Calculate the minimum and maximum values of each type of feature: 1. Traverse each column (feature) in the data set, and for numeric features, calculate the minimum (min) and maximum (max) values of the column.
[0074] 2. Store these minimum and maximum values for subsequent use.
[0075] iii) Normalize using the linear transformation formula: 1. Go through each column in the dataset again and apply the linear transformation formula for numerical features: x' = (x -min) / (max - min), where x is the original feature value, min and max are the minimum and maximum values of the feature.
[0076] 2. Replace the corresponding feature value in the original data set with the calculated normalized value x'.
[0077] 3. Ensure that all numerical features are converted to values in the range [0,1].
[0078] iv) One-hot encoding of categorical features: 1. Identify categorical features (non-numerical features) in the dataset.
[0079] 2. For each categorical feature, create a new binary column to represent the possible values of that feature.
[0080] 3. Use One-Hot Encoding technique to convert these categorical features into binary form.
[0081] 4. Add the converted binary columns to the normalized dataset, replacing the original categorical features.
[0082] v) Output the normalized data set: 1. Make sure all numerical features have been normalized to the range [0,1].
[0083] 2. Make sure all categorical features have been converted to one-hot encoding.
[0084] 3. Output the normalized data set, which will be used as the standard input for subsequent model training and prediction.
[0085] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0086] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A digital twin modeling method for mold manufacturing, characterized in that: The specific steps of the method include: Step I: Data collection and transmission: Use sensor technology to collect real-time operating status data of mold processing equipment, including the vibration frequency, operating temperature and working pressure of the equipment; at the same time, monitor and record real-time temperature and humidity data in the working environment; Collect relevant data of raw materials, including material type, hardness value and elastic modulus; Step II: Data analysis and machine learning prediction: Preprocess the collected data, including data cleaning and normalization operations, to eliminate outliers and dimensional differences between different features; The interquartile range (IQR) is used to identify outliers in a data set. The specific algorithm is as follows: in, is the upper quartile, The lower quartile defines the upper and lower limits of outliers: Indicates the upper limit of the data value. Indicates the lower limit of the data value. Data exceeding the upper and lower limits are considered as outliers and deleted. In order to eliminate the dimensional differences between different features, the data normalization method is used to map the data to the same scale. The specific algorithm is: in, is the normalized value, is the original value, and are the minimum and maximum values in the data set, respectively; Using machine learning algorithms, the preprocessed data is trained to establish a product morphology prediction model; the real-time collected data is input into the trained prediction model, and the twin modeling product morphology prediction data is obtained through model operation, and the product morphology prediction data includes the physical structure and size of the product; Step III: Build a digital twin model: Based on the input data, use 3D modeling technology to build a digital virtual model of the mold processing equipment, which accurately reflects the physical characteristics and dynamic behavior of the equipment; integrate the operation simulation function of the equipment into the virtual model to reproduce the working status of the equipment in actual production; Step IV: Digital twin modeling and visualization: The predicted product morphology data is integrated with the digital twin model to generate a realistic three-dimensional visualization product model. The predicted product morphology under different parameter combinations is displayed on the digital twin platform, so that production personnel can intuitively understand the appearance and structural characteristics of the product. According to actual needs, the operating status data, working environment data and related data of raw materials of the mold processing equipment are adjusted, and the change trend of the three-dimensional model of the prediction results is observed to provide a reference for production decisions.
2. The digital twin modeling method for mold manufacturing according to claim 1 is characterized in that: The linear regression algorithm is used to build and train the product shape prediction model. The specific steps are as follows: S1: Data collection, using sensor technology to collect real-time data on the operating status of mold processing equipment, working environment data, and collect relevant data on raw materials; S2: Data preprocessing, cleaning and normalizing the collected data to eliminate outliers and dimensional differences between different features to form a regular data set; S3: Dataset division: divide the preprocessed dataset into training set, validation set and test set; S4: Model selection, linear regression algorithm is selected as the basis of product morphology prediction model; S5: model parameter initialization, setting initial parameters for the linear regression model; S6: Model training: using the training set data, the model is trained through a linear regression algorithm, and the model parameters are adjusted to minimize the difference between the predicted product morphology data and the actual data; S7: Model verification and optimization: Use the verification set data to verify the trained model and optimize the model parameters based on the verification results; S8: Model evaluation: Use the test set data to evaluate the optimized model to ensure the accuracy of the model prediction; S9: Model preservation and deployment: Save the trained, verified and evaluated linear regression model and deploy it to the digital twin modeling system for real-time prediction of product form.
3. The digital twin modeling method for mold manufacturing according to claim 2 is characterized in that: During the product form prediction model training process, the linear regression model is trained using the training set data, and the model parameters, including the regression coefficient and the intercept, are iteratively adjusted through the optimization algorithm to minimize the difference between the predicted product form data and the actual data; the trained model is verified using the validation set data, and the model parameters are further optimized and adjusted based on the verification results, including adjusting the learning rate, number of iterations, and regularization parameters. After multiple iterations and optimizations, the final model parameters are determined so that the model achieves the best prediction effect on the validation set.
4. The digital twin modeling method for mold manufacturing according to claim 3 is characterized in that: The method to evaluate the performance of the product shape prediction model is: a. Prepare test set data: Extract test set data from the preprocessed and divided data set. The test set data includes known input features and corresponding actual product form data; b. Model prediction: Input the input features of the test set data into the trained and optimized linear regression model to obtain the product shape data predicted by the model; c. Error calculation: Compare the product shape data predicted by the model with the actual product shape data in the test set, and calculate the prediction error through the error calculation method of mean square error and mean absolute error; d. Evaluation standard setting: Set the evaluation standard according to actual needs and set an error threshold; e. Evaluation result determination: Compare the prediction error calculated in step c with the evaluation criteria set in step d, and determine whether the model meets the prediction accuracy requirements based on the comparison results.
5. The digital twin modeling method for mold manufacturing according to claim 4 is characterized in that: The digital twin model constructed in step III has interactive operation functions, allowing users to simulate the operation of mold processing equipment through the digital twin platform to observe the response and performance of the equipment under different operating conditions.
6. The digital twin modeling method for mold manufacturing according to claim 5 is characterized in that: During the mold manufacturing process, the digital twin model is used to monitor the operating status of the equipment and the manufacturing progress of the product in real time, and optimization and adjustment are made based on the real-time monitoring data.
7. The digital twin modeling method for mold manufacturing according to claim 6 is characterized in that: In step S1, the specific method of data cleaning is as follows: collect original data, including the operating status data of the mold processing equipment, the working environment data and the relevant data of the raw materials; conduct a preliminary check on the original data, identify and remove data records containing missing values, abnormal values and duplicate values; use the mean method to fill the missing values; use the threshold setting method to filter out abnormal data that exceeds the reasonable range; for duplicate data records, perform deduplication processing according to the timestamp of the data; The cleaned data will serve as the basis for subsequent data normalization and model training.
8. The digital twin modeling method for mold manufacturing according to claim 7, characterized in that: In step S1, the specific method of data normalization is: i) Select the cleaned data set as the normalized processing object; ii) For each type of feature in the data set, calculate its minimum value min and maximum value max respectively; iii) Use the linear transformation formula to convert each feature value x in the data set into a normalized value x'. The transformation formula is: x' = (x - min) / (max - min), so that the converted data range is between [0,1]; iv) For the categorical features in the data set, One-Hot Encoding is used for conversion. The normalized data set will be used as the standard input for subsequent model training and prediction.
Citation Information
Cited By
Deformation prediction method and system for automobile injection molding parts
CN118862371A
Building material product quality detection intelligent management and control method and system
CN119228220A
Digital-real fusion test method for aerospace equipment under extreme working condition
CN119514384A
Data cleaning method and system for digital twin data transmission of power transmission and transformation equipment
CN119622211A
Data cleaning method and system for power transmission and transformation equipment digital twin data transmission
CN119622211B
