Construction method and device of continuous casting billet constitutive model, medium and computer equipment
The neural network model optimized through deep learning and particle swarm algorithm solves the shortcomings of the phenomenological model in modeling complex nonlinear relationships, improves the accuracy and robustness of the continuous casting billet constitutive model, and reduces the modeling cost. .
Patent Information
- Application Number
- CN202410232856.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-01
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, the phenomenological model in finite element simulation lacks the ability to model nonlinear relationships of complex cell parameters, resulting in different steel types requiring different models and correction parameters, increasing resource and time consumption, and making it difficult to take into account the constitutive model. accuracy and modeling cost.
The deep learning method is used to train the neural network model using thermal compression experimental data, and the particle swarm algorithm is used to optimize the initial weight and bias parameters to improve the convergence and robustness of the model and establish a prediction model that can handle different steel types.
It improves the modeling ability of complex nonlinear relationships, enhances the accuracy and robustness of prediction models, reduces the risk of falling into local minima, and reduces modeling costs.
Smart Images

Figure CN118734464A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of metallurgical technology, and in particular to a method, device, medium and computer equipment for constructing a continuous casting billet constitutive model. Background Art
[0002] At present, metallurgical workers often use finite element simulation to predict the thermo-mechanical behavior of the billet during continuous casting, and guide actual production based on the simulation results to formulate a reasonable and effective reduction process. Among them, the constitutive model describes the relationship between the stress and strain, strain rate, temperature and other factors of the continuous casting billet, and its correctness directly affects the accuracy of the finite element simulation results.
[0003] In related technologies, phenomenological models are used to describe the high-temperature rheological behavior of continuous casting billets. Since the expression form and modeling method of phenomenological models are usually based on specific observation data and measurement results, they only focus on describing and explaining the phenomenon itself. In finite element simulation, phenomenological models lack the ability to model the value range of complex unit cell parameters or the nonlinear relationship of parameter combinations. For different steel grades, different phenomenological models are often required, and even additional correction parameters need to be introduced to achieve better prediction accuracy, but this will also consume a lot of resources and time. Summary of the invention
[0004] In view of this, the present application provides a method, device, storage medium and computer equipment for constructing a constitutive model of a continuous casting billet, the main purpose of which is to solve the technical problem of not being able to take into account both the accuracy of the constitutive model and the modeling cost.
[0005] According to a first aspect of the present application, a method for constructing a continuous casting billet constitutive model is provided, the method comprising:
[0006] Acquiring hot compression experimental data of the continuous casting billet, wherein the hot compression experimental data includes training data;
[0007] Processing the training data to determine a target neural network model;
[0008] Configuring target initial weights and target bias parameters of the target neural network model based on a particle swarm algorithm;
[0009] According to the initial weights and the bias parameters, the target neural network model is optimized and trained to obtain a prediction model;
[0010] The target experimental parameters are input into the prediction model to obtain the constitutive model of the continuous casting billet.
[0011] Furthermore, the processing of the training data to determine the target neural network model includes:
[0012] Processing first training data to determine a target neural network model, wherein the first training data includes thermal compression experimental data with a thermal compression temperature of a first preset temperature;
[0013] The thermal compression experimental data includes inspection data. Before inputting the target experimental parameters into the prediction model, the method further includes:
[0014] Inputting the experimental parameters in the first test data into the prediction model to obtain interpolation test data, wherein the first test data includes thermal compression experimental data with a thermal compression temperature of a second preset temperature, and the second preset temperature is different from the first preset temperature;
[0015] Determining the first inspection result according to a comparison result between the interpolation inspection data and the first inspection data;
[0016] When the first test result is failed, the constitutive model is retrained according to the interpolation test data.
[0017] Furthermore, the processing of the training data to determine the target neural network model includes:
[0018] Processing the second training data to determine a target neural network model, wherein the second training data includes thermal compression experimental data where the thermal compression temperature is within a preset temperature range;
[0019] The thermal compression experimental data includes inspection data. Before inputting the target experimental parameters into the prediction model, the method further includes:
[0020] Inputting the experimental parameters in the second test data into the prediction model to obtain the extrapolated test data, wherein the second test data includes the thermal compression test data whose thermal compression temperature is less than the minimum value of the preset temperature interval and the thermal compression test data whose thermal compression temperature is greater than the maximum value of the preset temperature interval;
[0021] Determining the second test result according to a comparison result between the extrapolated test data and the second test data;
[0022] In the case where the second test result is a failure, the constitutive model is retrained according to the extrapolated test data.
[0023] Furthermore, configuring the target initial weight and target bias parameters of the target neural network model based on the particle swarm algorithm includes:
[0024] Initialize the particle swarm with initial weight and bias parameters as particle positions;
[0025] Determining the fitness function of the initialized particle swarm according to the mean square error between the predicted value and the actual value of the training data;
[0026] Calculating the fitness values of the particles in the particle swarm according to the fitness function, and determining the individual optimal solution and the group optimal solution of the particles;
[0027] According to the individual optimal solution and the group optimal solution of the particle, the particle swarm is updated until the global optimal solution of the particle swarm satisfies the iteration end condition;
[0028] According to the particle swarm parameters corresponding to the global optimal solution, the target initial weight and target bias parameters of the target neural network model are determined.
[0029] Furthermore, the processing of the training data to determine the target neural network model includes:
[0030] Search for a network topology structure that meets the target hyperparameters based on the preset topology evaluation indicators;
[0031] Dividing the training data into a training set, a validation set, and a test set;
[0032] Training the network topology structure according to the training set, and adjusting the hyperparameters of the network topology structure according to the validation set to obtain a candidate neural network model;
[0033] The test set is input into the candidate neural network model, and the target neural network model is determined according to the prediction accuracy of the test set.
[0034] Furthermore, the method for constructing the continuous casting billet constitutive model also includes:
[0035] The thermal compression test data are normalized.
[0036] Furthermore, the step of obtaining the hot compression experimental data of the continuous casting billet comprises:
[0037] Acquire the hot compression test data based on the hot compression test of the continuous casting billet; or,
[0038] The preset experimental parameters are input into a preset simulation model to obtain the hot compression experimental data, wherein the preset simulation model is obtained by training a phenomenological model based on the historical hot compression experimental data of the continuous casting billet.
[0039] According to a second aspect of the present application, a device for constructing a constitutive model of a continuous casting billet is provided, comprising:
[0040] An acquisition module, used for acquiring hot compression experimental data of the continuous casting billet, wherein the hot compression experimental data includes training data;
[0041] A learning module, used to process the training data and determine a target neural network model;
[0042] An optimization module, configured to configure the target initial weight and target bias parameter of the target neural network model based on a particle swarm algorithm; and, based on the initial weight and the bias parameter, perform optimization training on the target neural network model to obtain a prediction model;
[0043] The prediction module is used to input the target experimental parameters into the prediction model to obtain the constitutive model of the continuous casting billet.
[0044] Furthermore, the learning module is specifically used to process first training data to determine a target neural network model, wherein the first training data includes thermal compression experimental data whose thermal compression temperature is a first preset temperature;
[0045] The hot compression test data includes test data, and the device for constructing the continuous casting billet constitutive model also includes:
[0046] a first inspection module, configured to input experimental parameters in the first inspection data into the prediction model to obtain interpolated inspection data, wherein the first inspection data includes thermal compression experimental data whose thermal compression temperature is a second preset temperature, and the second preset temperature is different from the first preset temperature; and determine the first inspection result according to a comparison result between the interpolated inspection data and the first inspection data;
[0047] The optimization module is further used to retrain the constitutive model based on the interpolation test data when the first test result is failed.
[0048] Furthermore, the learning module is specifically used to process the second training data to determine the target neural network model, wherein the second training data includes thermal compression experimental data whose thermal compression temperature is within a preset temperature range;
[0049] The hot compression test data includes test data, and the device for constructing the continuous casting billet constitutive model also includes:
[0050] A second inspection module is configured to input the experimental parameters in the second inspection data into the prediction model to obtain the extrapolated inspection data, wherein the second inspection data includes thermal compression experimental data whose thermal compression temperature is less than a minimum value of a preset temperature interval and thermal compression experimental data whose thermal compression temperature is greater than a maximum value of a preset temperature interval; and determine the second inspection result according to a comparison result between the extrapolated inspection data and the second inspection data;
[0051] The optimization module is further used to retrain the constitutive model based on the extrapolated test data when the second test result is failed.
[0052] Furthermore, the optimization module is specifically used to initialize a particle swarm using initial weights and bias parameters as particle positions; determine a fitness function of the initialized particle swarm based on the mean square error of the predicted value and the actual value of the training data; calculate the fitness value of the particles in the particle swarm based on the fitness function, and determine the individual optimal solution and the group optimal solution of the particles; update the particle swarm based on the individual optimal solution and the group optimal solution of the particles until the global optimal solution of the particle swarm meets the iteration end condition; determine the target initial weight and target bias parameters of the target neural network model based on the particle swarm parameters corresponding to the global optimal solution.
[0053] Furthermore, the learning module is specifically used to search for a network topology structure that meets the target hyperparameters based on preset topology evaluation indicators; divide the training data into a training set, a validation set and a test set; train the network topology structure based on the training set, and adjust the hyperparameters of the network topology structure based on the validation set to obtain a candidate neural network model; input the test set into the candidate neural network model, and determine the target neural network model based on the prediction accuracy of the test set.
[0054] Furthermore, the device for constructing the continuous casting billet constitutive model further comprises:
[0055] The preprocessing module is used to perform normalization processing on the thermal compression test data.
[0056] Furthermore, the acquisition module is specifically used to acquire the hot compression test data based on the hot compression test of the continuous casting billet.
[0057] Furthermore, the acquisition module is specifically used to input preset experimental parameters into a preset simulation model to obtain the hot compression experimental data, wherein the preset simulation model is obtained by training a phenomenological model based on historical hot compression experimental data of the continuous casting billet.
[0058] According to a third aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for constructing the constitutive model of the continuous casting billet is implemented.
[0059] According to a fourth aspect of the present application, a computer device is provided, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned method for constructing a constitutive model of a continuous casting billet when executing the program.
[0060] By means of the above technical scheme, the present application provides a method, device, medium and computer equipment for constructing a constitutive model of a continuous casting billet. On the one hand, the deep learning method is introduced into the field of constitutive modeling of metals, the hot compression experimental data of metals are used to train the neural network, the experimental data under different strain rates are fully utilized, and the prediction model of different steel grades is established using the neural network, which improves the prediction model's ability to model more complex and nonlinear relationships. On the other hand, through the particle swarm algorithm, the initial weights and biases of the deep learning neural network model are optimized, which greatly improves the convergence and robustness of the optimized neural model, overcomes the problem of extremely poor convergence of the neural network, effectively prevents the situation of falling into the local minimum, and improves the accuracy of the prediction model.
[0061] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0063] Figure 1 A schematic flow chart of a method for constructing a continuous casting billet constitutive model provided in an embodiment of the present application is shown;
[0064] Figure 2 A schematic diagram of a loss function curve of a prediction model and a target neural network model provided in an embodiment of the present application is shown;
[0065] Figure 3 One of the true stress-strain curve schematic diagrams provided in the embodiment of the present application is shown;
[0066] Figure 4 The second schematic diagram of the true stress-strain curve provided in the embodiment of the present application is shown;
[0067] Figure 5 The third schematic diagram of the true stress-strain curve provided in the embodiment of the present application is shown;
[0068] Figure 6 The fourth schematic diagram of the true stress-strain curve provided in the embodiment of the present application is shown;
[0069] Figure 7 The fifth schematic diagram of the true stress-strain curve provided in the embodiment of the present application is shown;
[0070] Figure 8The sixth true stress-strain curve schematic diagram provided in the embodiment of the present application is shown;
[0071] Fig. 9 The seventh true stress-strain curve schematic diagram provided in the embodiment of the present application is shown;
[0072] Fig.10 The eighth true stress-strain curve schematic diagram provided in the embodiment of the present application is shown;
[0073] Fig.11 A schematic structural diagram of a device for constructing a continuous casting billet constitutive model provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0074] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.
[0075] In this embodiment, a method for constructing a continuous casting billet constitutive model is provided. Figure 1 As shown, the method includes:
[0076] Step 101, obtaining hot compression test data of the continuous casting billet.
[0077] The thermal compression test data includes true stress-strain curves under different thermal compression deformation conditions. Furthermore, the thermal compression test data can be divided into two parts: training data and test data, which are used for training the neural model and testing the neural model respectively.
[0078] It is understandable that hot compression test data can be collected based on the hot compression test of the continuous casting billet; and the preset test parameters can be input into the preset simulation model obtained by training the phenomenological model based on the historical hot compression test data of the continuous casting billet to predict the required hot compression test data. It should be noted that the preset test parameters can be reasonably set according to the types of different steel alloys, and the embodiments of this application do not specifically limit them.
[0079] Taking the hot compression test of GCr15 bearing steel as an example, first take the continuous casting billet at the position 1 / 4 of the surface, and process it into a Φ8mm×12mm cylinder for hot compression test. All samples are heated to 750℃~1250℃ at a heating rate of 8℃ / s~15℃ / s and a heating interval of 50℃, and kept warm for 200s~500s to make the sample temperature uniform. Then, at a constant temperature, heat it for 0.1s -1 、0.01s -1 、0.001s -1 The sample was compressed to a true strain of 0.7 at a strain rate to obtain a true stress-strain curve, which was used as the hot compression test data.
[0080] Taking the hot compression experiment of high titanium steel as an example, first take the continuous casting billet of high titanium steel at 1 / 4 of the distance from the surface of the billet in the thickness direction, and process it into a Φ8×12mm cylinder for hot compression experiment. All samples are heated to 1300℃ at a rate of 10℃ / s and kept warm for 20 seconds to eliminate the temperature gradient between the two ends and the middle of the continuous casting billet sample, and obtain the continuous casting billet sample after rapid heating. The continuous casting billet samples after rapid heating are heated to 1425℃~1450℃ at 1℃ / s respectively and kept warm for five seconds. Then the samples after keeping warm are heated at 0.1s -1 , 1s -1 、5s -1 The compression deformation was performed until the strain reached 0.04, and the true stress-strain curve was taken as the hot compression test data.
[0081] Furthermore, after step 101, the method for constructing the continuous casting billet constitutive model further includes: normalizing the hot compression test data.
[0082] In this embodiment, due to the different measurement units of data such as temperature, strain, and strain rate, the data obtained from the hot compression experiment is normalized. The input and output data are normalized to dimensionless data to eliminate the influence of similarities between different data, facilitate machine learning understanding, thereby reducing the complexity of the data and helping to improve the convergence speed and accuracy of the neural network.
[0083] Specifically, the normalization method is as follows:
[0084]
[0085] In the formula, y n is the normalized value; y is the experimental data; y max and min are the maximum and minimum values of y respectively.
[0086] Step 102, processing the training data to determine the target neural network model.
[0087] In this embodiment, the target neural network model is trained using the training data from the actual hot compression test data, so that the deep learning technology can be used to perform constitutive predictions for different steel grades, thereby introducing the deep learning method into the field of constitutive modeling of metals. This not only avoids overfitting and achieves better generalization performance, but also improves the prediction model's ability to model more complex and nonlinear relationships, especially in scenarios where large-scale and high-dimensional data are processed, and the accuracy of data processing efficiency can be improved.
[0088] In a specific application scenario, step 102, that is, processing the training data to determine the target neural network model, specifically includes the following steps:
[0089] Step 102-1, searching for a network topology structure that meets the target hyperparameters based on a preset topology evaluation index.
[0090] Among them, the topological structure of the neural network includes the number of network layers, the number of features in each layer, and the connection method between each layer.
[0091] Specifically, the preset topology evaluation index is used to characterize the evaluation rules of different hyperparameters, and the target hyperparameters include but are not limited to at least one of the following: the number of hidden layers, the number of neurons, the number of iterations, the activation function, the learning rate, etc.
[0092] In this embodiment, different topological structures are evaluated by using topological structure evaluation indicators, so that a suitable network structure can be effectively searched out, which is beneficial to improving the adaptive adjustment capability of neural network structure search.
[0093] Step 102-2, divide the training data into a training set, a validation set, and a test set.
[0094] Step 102-3, train the network topology structure according to the training set, and adjust the hyperparameters of the network topology structure according to the validation set to obtain a candidate neural network model.
[0095] Step 102-4, input the test set into the candidate neural network model, and determine the target neural network model based on the prediction accuracy of the test set.
[0096] In this embodiment, after constructing the network topology of the neural network model, the training set is loaded into the network topology for training. During the training process, the validation set is loaded for verification, the loss function value at the current stage is calculated, and then the hyperparameters of the neural network are adjusted in turn according to the loss function value obtained by calculation, and the cycle is repeated until the specified conditions are reached, and at least one candidate neural network model is output. After the training is completed, the performance of the trained neural network model is tested by the data in the test set. By judging whether the predicted data and the actual data in the test set are the same, the prediction accuracy of the training set can be calculated as the basic indicator for further adjusting the neural network model, and the candidate neural network model with the highest prediction accuracy of the test set is retained as the target neural network model. Thus, the hyperparameters of the neural network model are optimized through the validation set, and the validity and accuracy of the neural network model are finally verified by the test set, so that the established neural network model can be applied to complex data groups or cell parameter value range processing scenarios, so that the prediction model can maintain high accuracy when predicting location data.
[0097] For example, we first set up an equal-size network and optimize the number of hidden layers. Then, based on the optimal number of layers, we design different numbers of neurons in each hidden layer to find the optimal network topology. We then optimize different hyperparameters, such as activation function, learning rate, batch size, etc. For the neural network with a determined structure and hyperparameters, we divide the hot compressed data set into three subsets: training set, validation set, and test set, with a ratio of 8:1:1. The training set is used to train models with different hyperparameters, and the validation set is used to select the optimal network topology and hyperparameters. Then, we combine the training set and the validation set to retrain the selected neural network, and finally use the test set to evaluate the performance of the model, and then select the optimal target neural network model.
[0098] Step 103, configuring the target initial weight and target bias parameters of the target neural network model based on the particle swarm algorithm.
[0099] In a specific application scenario, step 103, that is, configuring the target initial weight and target bias parameters of the target neural network model based on the particle swarm algorithm, specifically includes the following steps:
[0100] Step 103-1, initializing the particle swarm with initial weights and bias parameters as particle positions.
[0101] Step 103-2, determining the fitness function of the initialized particle swarm according to the mean square error between the predicted value and the actual value of the training data.
[0102] It should be noted that the predicted value of the training data is the predicted data obtained after inputting the experimental parameters in the training data into the target neural network model.
[0103] Step 103-3, calculate the fitness value of the particles in the particle swarm according to the fitness function, and determine the individual optimal solution and the group optimal solution of the particles.
[0104] Step 103-4, updating the particle swarm according to the individual optimal solution and the group optimal solution of the particle, until the global optimal solution of the particle swarm meets the iteration end condition.
[0105] Step 103-5, determining the target initial weight and target bias parameters of the target neural network model based on the particle swarm parameters corresponding to the global optimal solution.
[0106] In this embodiment, the fitness function of each particle in the particle swarm is adjusted according to the mean square error of the predicted value and the actual value of the training data to eliminate the influence of random initialization. And by continuously updating the position and speed of the particle swarm, the parameter space can be effectively explored and adaptive parameter adjustment can be achieved. According to the changes in the individual optimal solution and the group optimal solution, the trade-off between global search and local exploration is balanced, and a better combination of initial weights and bias parameters is found. Thereby, the optimization efficiency can be improved, the local optimum can be avoided, the global search capability can be possessed, and a better combination of parameters can be obtained, which helps to accelerate the convergence speed of the neural network and improve its performance.
[0107] For example, the parameters that need to be adjusted in the neural network structure (initial weights and bias parameters) are used as the particle positions in the particle swarm algorithm, and the mean square error between the predicted value and the actual value of the training data is used as the fitness function of the particle swarm algorithm. After multiple iterations, the optimal particle position is found. The optimal solution output by the particle swarm algorithm is used as the initial weight and bias of the neural network, and then the neural network is trained.
[0108] Specifically, the particle swarm algorithm is expressed as follows:
[0109]
[0110] Where v is the particle velocity; is the individual's optimal position; is the optimal position of the group; i is the particle number; d is the particle dimension number; k is the number of iterations; w is the inertia weight; c 1 is the individual learning factor; c 2 is the group learning factor; r 1 , r 2 is a random number in the interval [0,1]. The standard particle swarm algorithm usually takes w = 0.8, c 1 =c 2 =2.
[0111] Step 104, optimizing and training the target neural network model based on the initial weights and bias parameters to obtain a prediction model.
[0112] It should be noted that the prediction model refers to a neural network used to predict the constitutive model of continuous casting billets. The constitutive model is also called the mechanical constitutive equation of the material or the stress-strain model of the material, which is a mathematical expression that describes the mechanical properties of the material (stress-strain-strength-time relationship).
[0113] Step 105: input the target experimental parameters into the prediction model to obtain the constitutive model of the continuous casting billet.
[0114] By applying the technical solution of this embodiment, a continuous casting billet prediction model is established based on PSO-DNN. On the one hand, the deep learning method is introduced into the field of metal constitutive modeling, the hot compression experimental data of metal is used to train the neural network, the experimental data under different strain rates are fully utilized, and the prediction model of different steel grades is established using the neural network, which improves the prediction model's modeling ability for more complex and nonlinear relationships. On the other hand, through the particle swarm algorithm, the initial weights and biases of the deep learning neural network model are optimized, which greatly improves the convergence and robustness of the optimized prediction model, overcomes the problem of extremely poor convergence of the neural network, effectively prevents the situation of falling into the local minimum, and improves the accuracy of the prediction constitutive model.
[0115] For example, Figure 2 As shown in Figure 2, the PSO-DNN prediction model optimized by the particle swarm algorithm is compared with the target neural network model that is not optimized by the particle swarm algorithm. The particle swarm algorithm can effectively prevent the neural network from falling into the local minimum during the training process. Figure 3 , Figure 4 , Figure 5 As shown, in the temperature range of 1023K-1523K, 0.1s -1 、0.01s -1 、0.001s -1 At the strain rate of , the average relative error AARE calculated by the PSO-DNN prediction model is 2.63%, 2.67%, and 2.91%, respectively. This shows that the particle swarm algorithm can reduce the training time and improve the accuracy of the model. The PSO-DNN prediction model is then compared with six phenomenological prediction models (JC model, modified JC model, modified ZA model, Arrhenius model, Arrhenius simplified model, and Arrhenius modified model) with the same input parameters, as shown in Table 1. It can be seen from the table that the constructed PSO-DNN prediction model has the highest prediction accuracy.
[0116] Table 1
[0117] Model AARE / % JC Model 18.05 Modified JC model 8.12 Modified ZA model 7.27 Arrhenius Model 5.76 Arrhenius simplified model 7.7 Arrhenius Modification Model 6.68 PSO-DNN prediction model 2.74
[0118] Furthermore, before step 105, the method for constructing the continuous casting billet constitutive model further includes:
[0119] Step 201 : performing interpolation test and / or extrapolation test on the prediction model according to the test data in the thermal compression test data.
[0120] It should be noted that the interpolation test tests the model's ability to interpolate within the existing data range, while the extrapolation test tests the model's ability to extrapolate to the unseen data range. The test result is determined by calculating the error between the predicted result and the actual result.
[0121] In this embodiment, the prediction model uses known data to predict unknown data for interpolation and extrapolation tests. If the test results of the interpolation and extrapolation tests are passed, it means that the model established under the limited data set can be accurately used on the invisible data, and the prediction model can be used to predict the constitutive model of the continuous casting billet. On the contrary, based on the difference between the obtained prediction results and the actual results, targeted adjustments and optimizations are made to improve the generalization ability and performance of the prediction model. In this way, the performance of the prediction model is comprehensively evaluated, and the model performance is further optimized, which helps to improve the reliability of the predicted constitutive model.
[0122] In a specific application scenario, for interpolation testing. Step 102 specifically includes: processing the first training data to determine the target neural network model. Step 201 specifically includes: inputting the experimental parameters in the first test data into the prediction model to obtain interpolation test data; determining the first test result based on the comparison result between the interpolation test data and the first test data; if the first test result fails, retraining the constitutive model based on the interpolation test data.
[0123] Among them, the first training data includes hot compression test data with a hot compression temperature of a first preset temperature, and the first test data includes hot compression test data with a hot compression temperature of a second preset temperature, and the second preset temperature is different from the first preset temperature. The first preset temperature and the second preset temperature can be reasonably set according to the hot pressing temperature required by the type of steel alloy. For example, hot compression data at 800°C, 900°C, 1000°C, 1100°C, and 1200°C are used as training data to train the prediction model, and 850°C, 950°C, 1050°C, and 1150°C are used as the model as test data to let the PSO-DNN prediction model make predictions, so as to test the interpolation performance of the prediction model. The strain rate is 0.1s -1 、0.01s -1 、0.001s -1 Based on the model prediction, the prediction results at 850℃, 950℃, 1050℃, 1150℃, i.e. 1123K, 1223K, 1323K, and 1423K are as follows: Figure 6 , Figure 7 , Figure 8 As shown by Figures 6 to 8 It can be seen that the relative errors (ARRE) of the predicted temperatures of 850℃, 950℃, 1050℃, and 1150℃ are small, which means that the constructed PSO-DNN prediction model has good interpolation ability, indicating that the model established under a limited data set can be accurately used on unseen data, and the scope of use of the model has been expanded.
[0124] In this embodiment, the prediction model is trained based on the training data of the specified temperature, and the interpolation test data obtained by running the prediction model at a temperature different from the training data is compared with the first test data to obtain a first test result. By comparing the difference between the two, the performance of the prediction model in interpolation ability can be objectively evaluated. If the error between the interpolation test data and the first test data is small, it means that the difference between the predicted value and the true value is not large, the prediction model can accurately perform interpolation prediction, and has good interpolation ability, and it can be determined that the test has passed. Otherwise, it is determined that the test has failed and retraining is performed. This helps to discover the defects of the model within the existing data range, and to adjust and optimize the prediction model in a targeted manner.
[0125] In a specific application scenario, for the extrapolation test, step 102 specifically includes: processing the second training data to determine the target neural network model. Step 201 specifically includes: inputting the experimental parameters in the second test data into the prediction model to obtain the extrapolated test data; determining the second test result based on the comparison result between the extrapolated test data and the second test data; if the second test result fails, retraining the constitutive model based on the extrapolated test data.
[0126] Among them, the second training data includes hot compression test data whose hot compression temperature is within the preset temperature range, and the second test data includes hot compression test data whose hot compression temperature is less than the minimum value of the preset temperature range and hot compression test data whose hot compression temperature is greater than the maximum value of the preset temperature range. The preset temperature range can be reasonably set according to the hot pressing temperature required by the type of steel alloy. For example, hot compression data of 800℃, 850℃, 900℃, 950℃, 1000℃, 1050℃, 1100℃, 1150℃, and 1200℃ are used as model training data to train the prediction model, and 750℃ and 1250℃ are used as test data for the model to predict, so as to test the extrapolation ability of the prediction model. The prediction results at 750℃ and 1250℃ obtained based on model prediction at different strain rates are as follows. Fig. 9 and Fig.10 As shown by Fig. 9 and Fig.10 It can be seen that the relative error of the predictions under different temperatures and strain rates is small, and the constructed PSO-DNN prediction model has good extrapolation ability, which means that the model established under a limited data set can be accurately used on unseen data, and the scope of use of the model has been expanded.
[0127] In this embodiment, the training data within the specified temperature range is used as the basic training prediction model, and the extrapolated test data obtained by running the prediction model at a temperature outside the temperature range is compared with the second test data to obtain a second test result. By comparing the difference between the two, the performance of the prediction model in terms of extrapolation ability can be objectively evaluated. If the error between the extrapolated test data and the second test data is small, it means that the model can accurately perform extrapolation predictions and has good prediction capabilities, which can be used for accurate predictions of the constitutive model, otherwise training will continue. This helps to discover defects in the model outside the existing data range, and to adjust and optimize the prediction model in a targeted manner.
[0128] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0129] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a device for constructing a constitutive model of a continuous casting billet, such as Fig.11 As shown, the device includes: an acquisition module 31, a learning module 32, an optimization module 33 and a prediction model 34.
[0130] Specifically, the acquisition module 31 is used to acquire thermal compression experimental data, wherein the thermal compression experimental data includes training data;
[0131] A learning module 32, used to process the training data and determine the target neural network model;
[0132] The optimization module 33 is used to configure the target initial weight and target bias parameters of the target neural network model based on the particle swarm algorithm; and, based on the initial weight and bias parameters, optimize the target neural network model to obtain a prediction model;
[0133] The prediction module 34 is used to input the target experimental parameters into the prediction model to obtain the constitutive model of the continuous casting billet.
[0134] Furthermore, the hot compression experimental data includes test data, and the learning module 32 is specifically used to process the first training data to determine the target neural network model, wherein the first training data includes hot compression experimental data with a hot compression temperature of a first preset temperature; the construction device of the continuous casting billet constitutive model also includes: a first test module (not shown in the figure), the first test module is used to input the experimental parameters in the first test data into the prediction model to obtain interpolation test data, wherein the first test data includes hot compression experimental data with a hot compression temperature of a second preset temperature, and the second preset temperature is different from the first preset temperature; and, based on the comparison result of the interpolation test data and the first test data, determine the first test result; the optimization module 33 is also used to retrain the constitutive model based on the interpolation test data when the first test result fails.
[0135] Furthermore, the hot compression experimental data includes test data, and the learning module 32 is specifically used to process the second training data to determine the target neural network model, wherein the second training data includes hot compression experimental data whose hot compression temperature is within a preset temperature range; the construction device of the continuous casting billet constitutive model also includes: a second test module (not shown in the figure), the second test module is used to input the experimental parameters in the second test data into the prediction model to obtain extrapolated test data, wherein the second test data includes hot compression experimental data whose hot compression temperature is less than the minimum value of the preset temperature range and hot compression experimental data whose hot compression temperature is greater than the maximum value of the preset temperature range; and, based on the comparison result of the extrapolated test data and the second test data, determine the second test result; the optimization module 33 is also used to retrain the constitutive model based on the extrapolated test data when the second test result fails.
[0136] Furthermore, the optimization module 33 is specifically used to initialize the particle swarm with initial weights and bias parameters as particle positions; determine the fitness function of the initialized particle swarm based on the mean square error of the predicted value and the actual value of the training data; calculate the fitness value of the particles in the particle swarm based on the fitness function, and determine the individual optimal solution and the group optimal solution of the particles; update the particle swarm based on the individual optimal solution and the group optimal solution of the particles until the global optimal solution of the particle swarm meets the iteration end condition; determine the target initial weight and target bias parameters of the target neural network model based on the particle swarm parameters corresponding to the global optimal solution.
[0137] Furthermore, the learning module 32 is specifically used to search for a network topology structure that meets the target hyperparameters based on preset topology evaluation indicators; divide the training data into a training set, a validation set and a test set; train the network topology structure based on the training set, and adjust the hyperparameters of the network topology structure based on the validation set to obtain a candidate neural network model; input the test set into the candidate neural network model, and determine the target neural network model based on the prediction accuracy of the test set.
[0138] Furthermore, the apparatus for constructing the constitutive model of the continuous casting billet further includes: a preprocessing module (not shown in the figure), which is used for normalizing the hot compression test data.
[0139] Furthermore, the acquisition module 31 is specifically used to acquire hot compression test data based on the hot compression test of the continuous casting billet.
[0140] Furthermore, the acquisition module 31 is specifically used to input preset experimental parameters into a preset simulation model to obtain hot compression experimental data, wherein the preset simulation model is obtained by training a phenomenological model based on historical hot compression experimental data of continuous casting billets.
[0141] It should be noted that for other corresponding descriptions of the functional units involved in the device for constructing a continuous casting billet constitutive model provided in the embodiment of the present application, reference can be made to Figure 1 The corresponding description in will not be repeated here.
[0142] Based on the above Figure 1 The method shown in the embodiment of the present application accordingly provides a storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned Figure 1 The construction method of the continuous casting billet constitutive model is shown in FIG.
[0143] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0144] Based on the above Figure 1 The method shown, and Fig.11 In order to achieve the above-mentioned purpose, the embodiment of the present application further provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figure 1 The construction method of the continuous casting billet constitutive model is shown in FIG.
[0145] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.
[0146] Those skilled in the art will appreciate that the computer device structure provided in this embodiment does not limit the computer device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0147] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and saves the hardware and software resources of the computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components inside the storage medium, and communication with other hardware and software in the physical device.
[0148] Through the description of the above implementation methods, the technicians in this field can clearly understand that the present application can be implemented by means of software plus necessary general hardware platforms, or by hardware to obtain the hot compression experimental data of the continuous casting billet, wherein the hot compression experimental data includes training data; the training data is processed to determine the target neural network model; the target initial weight and target bias parameters of the target neural network model are configured based on the particle swarm algorithm; according to the initial weight and bias parameters, the target neural network model is optimized and trained to obtain a prediction model; the target experimental parameters are input into the prediction model to obtain the constitutive model of the continuous casting billet. In the embodiment of the present application, on the one hand, the deep learning method is introduced into the field of constitutive modeling of metals, the hot compression experimental data of metals are used to train the neural network, the experimental data under different strain rates are fully utilized, and the prediction models of different steel grades are established by using the neural network, which improves the modeling ability of the prediction model for more complex and nonlinear relationships. On the other hand, through the particle swarm algorithm, the initial weights and biases of the deep learning neural network model are optimized, which greatly improves the convergence and robustness of the optimized prediction model, overcomes the problem of extremely poor convergence of the neural network, effectively prevents the situation of falling into the local minimum, and improves the accuracy of the model.
[0149] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.
[0150] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.
Claims
1. A method for constructing a constitutive model of a continuous casting billet, characterized in that: The method comprises: Acquiring hot compression experimental data of the continuous casting billet, wherein the hot compression experimental data includes training data; Processing the training data to determine a target neural network model; Configuring target initial weights and target bias parameters of the target neural network model based on a particle swarm algorithm; According to the initial weights and the bias parameters, the target neural network model is optimized and trained to obtain a prediction model; The target experimental parameters are input into the prediction model to obtain the constitutive model of the continuous casting billet.
2. The method according to claim 1, characterized in that The processing of the training data to determine the target neural network model includes: Processing first training data to determine a target neural network model, wherein the first training data includes thermal compression experimental data with a thermal compression temperature of a first preset temperature; The thermal compression experimental data includes inspection data. Before inputting the target experimental parameters into the prediction model, the method further includes: Inputting the experimental parameters in the first test data into the prediction model to obtain interpolation test data, wherein the first test data includes thermal compression experimental data with a thermal compression temperature of a second preset temperature, and the second preset temperature is different from the first preset temperature; Determining the first inspection result according to a comparison result between the interpolation inspection data and the first inspection data; When the first test result is failed, the constitutive model is retrained according to the interpolation test data.
3. The method according to claim 1, characterized in that The processing of the training data to determine the target neural network model includes: Processing the second training data to determine a target neural network model, wherein the second training data includes thermal compression experimental data where the thermal compression temperature is within a preset temperature range; The thermal compression experimental data includes inspection data. Before inputting the target experimental parameters into the prediction model, the method further includes: Inputting the experimental parameters in the second test data into the prediction model to obtain the extrapolated test data, wherein the second test data includes the thermal compression test data whose thermal compression temperature is less than the minimum value of the preset temperature interval and the thermal compression test data whose thermal compression temperature is greater than the maximum value of the preset temperature interval; Determining the second test result according to a comparison result between the extrapolated test data and the second test data; When the second test result is failure, the constitutive model is retrained based on the extrapolated test data.
4. The method according to claim 1, characterized in that The target initial weight and target bias parameters of the target neural network model are configured based on the particle swarm algorithm, including: Initialize the particle swarm with initial weight and bias parameters as particle positions; Determining the fitness function of the initialized particle swarm according to the mean square error between the predicted value and the actual value of the training data; Calculating the fitness values of the particles in the particle swarm according to the fitness function, and determining the individual optimal solution and the group optimal solution of the particles; According to the individual optimal solution and the group optimal solution of the particle, the particle swarm is updated until the global optimal solution of the particle swarm satisfies the iteration end condition; According to the particle swarm parameters corresponding to the global optimal solution, the target initial weight and target bias parameters of the target neural network model are determined.
5. The method according to claim 1, characterized in that The processing of the training data to determine the target neural network model includes: Search for a network topology structure that meets the target hyperparameters based on the preset topology evaluation indicators; Dividing the training data into a training set, a validation set, and a test set; Training the network topology structure according to the training set, and adjusting the hyperparameters of the network topology structure according to the validation set to obtain a candidate neural network model; The test set is input into the candidate neural network model, and the target neural network model is determined according to the prediction accuracy of the test set.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: The thermal compression test data are normalized.
7. The method according to any one of claims 1 to 5, characterized in that The step of obtaining the hot compression experimental data of the continuous casting billet comprises: Acquire the hot compression test data based on the hot compression test of the continuous casting billet; or, The preset experimental parameters are input into a preset simulation model to obtain the hot compression experimental data, wherein the preset simulation model is obtained by training a phenomenological model based on the historical hot compression experimental data of the continuous casting billet.
8. A device for constructing a constitutive model of a continuous casting billet, characterized in that: The device comprises: An acquisition module, used for acquiring hot compression experimental data of the continuous casting billet, wherein the hot compression experimental data includes training data; A learning module, used to process the training data and determine a target neural network model; An optimization module, used for configuring the target initial weight and target bias parameters of the target neural network model based on a particle swarm algorithm; and According to the initial weights and the bias parameters, the target neural network model is optimized and trained to obtain a prediction model; The prediction module is used to input the target experimental parameters into the prediction model to obtain the constitutive model of the continuous casting billet.
9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method for constructing a continuous casting billet constitutive model according to any one of claims 1 to 7 is implemented.
10. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, characterized in that: When the processor executes the program, the method for constructing a continuous casting billet constitutive model according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
PVA film gas permeability intelligent detection method based on machine learning
CN119147435A
