Alloy ultimate tensile hardness prediction method based on deep learning

By combining deep learning and whale optimization algorithms with traditional machine learning models, the high cost and low efficiency problems of the trial and error method in the design of nickel-based superalloys are solved, and high-precision prediction of the ultimate tensile strength and composition ratio of the alloy is achieved, improving Improve the performance of nickel-based high-temperature alloys.

CN118760957APending Publication Date: 2024-10-11GENESIS ALLOYS (NINGBO) LTD +1

Patent Information

Application Number
CN202410646597.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

The traditional nickel-based superalloy design method relies on the trial and error method, which results in high cost and long waiting time, and it is difficult to accurately find the optimal component ratio. Deep learning is not applied deeply enough in the analysis of alloy ultimate tensile strength and component ratio. There are accuracy issues with forecast results.

Method used

A method based on deep learning is used to clean the data set through the isolation forest algorithm, MI mutual information screens key features, builds a BPNN neural network model, and introduces the whale optimization algorithm to optimize hyperparameters, combining random forest, K neighbor, gradient boosting decision tree and support Vector machine model predicts the optimal composition ratio of alloys.

Benefits of technology

It improves the accuracy of prediction of the ultimate tensile strength of the alloy and the accuracy of the component ratio, reduces design costs and time, provides high-precision optimal component ratio, and improves the performance of nickel-based high-temperature alloys.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760957A_ABST
    Figure CN118760957A_ABST
Patent Text Reader

Abstract

The invention provides an alloy ultimate tensile hardness prediction method based on deep learning. The alloy ultimate tensile hardness prediction method comprises the steps that S1, a data set about the tensile hardness of a target alloy is collected and cleaned, and a cleaned data set is obtained; s2, pre-processing to obtain pre-processed characteristic values, and screening to obtain key characteristics; s3, respectively and sequentially inputting the key features into a random forest model, a K proximity model, a gradient boosting decision tree model and a support vector machine model to predict the ultimate tensile hardness; s4, introducing deep learning and machine learning algorithms, taking each key feature as input, taking each ultimate tensile hardness as output, constructing a BPNN neural network model, and then introducing a whale optimization algorithm to screen and optimize hyper-parameters to obtain a WOA-BPNN neural network model; and S5, predicting by using a WOA-BPNN neural network model to obtain an optimal component ratio of each key feature in the target alloy. The method has the beneficial effect that the prediction accuracy of the ultimate tensile strength and the component proportion of the alloy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of alloy hardness analysis, and in particular to a method for predicting the ultimate tensile hardness of an alloy based on deep learning. Background Art

[0002] Nickel-based high-temperature alloys are widely used in high-temperature equipment and components in the fields of aerospace, petrochemicals, energy, etc. due to their excellent comprehensive properties of high strength, creep resistance, fatigue resistance and corrosion resistance. Nickel-based high-temperature alloys usually contain more than 8 nickel-based high-temperature alloy elements. Nickel-based high-temperature alloys are mainly composed of FCC-Ni matrix phase (γ) and L12-Ni3Al precipitation phase (γ′) obtained by solid phase transformation. Through different strengthening elements, such as chromium, tungsten, molybdenum, aluminum, etc., the ultimate tensile strength mechanical properties of nickel-based high-temperature alloys can be further improved through solid solution strengthening, precipitation strengthening, etc., making it more suitable for use in extreme high temperature environments. Therefore, different elements and different compositions have different improvements on the performance of nickel-based high-temperature alloys. Traditional nickel-based high-temperature alloy design is mainly a trial-and-error method. Such a nickel-based high-temperature alloy design method has the disadvantages of high cost and long time, and often cannot accurately find the optimal nickel-based high-temperature alloy composition.

[0003] Recently, with the rise of artificial intelligence and the advent of the big data era, data-driven assisted nickel-based high-temperature alloy design and development has become a focus. Machine learning, deep learning, transfer learning and other artificial intelligence models have been introduced to quickly and accurately predict the performance of nickel-based high-temperature alloys and develop and design new nickel-based high-temperature alloys, which not only reduces the time cost, but also ultra-high prediction accuracy has become a key factor. Duan et al. established a quantitative relationship model between factors such as temperature, time, elemental composition of nickel-based high-temperature alloys and the oxidation resistance of nickel-based high-temperature alloys through the machine learning GBDT model, indicating that Ti, Cr and Al are the main elements affecting the oxidation resistance of nickel-based high-temperature alloys. The coupling effect of Cr and Al makes nickel-based high-temperature alloys have good oxidation resistance. Xu et al. constructed a nonlinear relationship between elemental composition and yield stress through a machine learning model, and introduced a genetic algorithm to find the nickel-based high-temperature alloy component ratio corresponding to the maximum yield stress.

[0004] However, traditional machine learning models have certain risks and uncertainties in processing high-dimensional samples. Deep learning is superior to processing large data set samples. Deep learning is an artificial intelligence technology based on multi-layer neural networks. Through training with large amounts of data, it automatically learns and extracts complex feature representations of data to solve various complex nonlinear problems. However, in the current models for analyzing and predicting the ultimate tensile strength and composition ratio of alloys, the application of deep learning methods is not in-depth enough, and the model prediction results still have accuracy problems. Summary of the invention

[0005] The technical problem to be solved by the present invention is to improve the prediction accuracy of the ultimate tensile strength and composition ratio of the alloy. In order to overcome the defects of the above-mentioned prior art (or related technology), the present invention provides a method for predicting the ultimate tensile hardness of the alloy based on deep learning.

[0006] The present invention provides a method for predicting the ultimate tensile hardness of an alloy based on deep learning, comprising:

[0007] Step S1, for a target alloy, collecting a data set about the tensile hardness of the target alloy, and using an isolation forest algorithm to clean the data set to obtain a cleaned data set;

[0008] Step S2, preprocessing each eigenvalue in the cleaned data set to obtain a plurality of preprocessed eigenvalues, and using MI mutual information screening to obtain a plurality of key features affecting the tensile hardness of the target alloy in each of the preprocessed eigenvalues;

[0009] Step S3, inputting each of the key features into a random forest model, a K-nearest neighbor model, a gradient boosting decision tree model and a support vector machine model in turn to predict the corresponding ultimate tensile hardness;

[0010] Step S4, introducing deep learning and machine learning algorithms, taking each of the key features as input, taking each of the ultimate tensile hardnesses as output, constructing and training a BPNN neural network model, and then introducing a whale optimization algorithm to screen and optimize the hyperparameters of the BPNN neural network model to obtain a WOA-BPNN neural network model;

[0011] Step S5, using the WOA-BPNN neural network model to predict the optimal composition ratio of each key feature in the target alloy, so as to guide the production of the target alloy with better tensile hardness.

[0012] Compared with the prior art, the present invention discloses a method for predicting the ultimate tensile hardness of an alloy based on deep learning, which has the following advantages: the present invention collects and acquires data sets for the target and gold in advance, and then cleans them through the isolation forest algorithm to improve the rationality of the data sets, and screens out the key features affecting the tensile hardness of the target alloy through MI mutual information, introduces deep learning and machine learning algorithms, and builds a multidimensional nonlinear relationship between the target alloy element composition, test temperature and ultimate tensile strength based on the preprocessed eigenvalues, introduces the whale optimization algorithm to find the BPNN back-propagation neural network hyperparameters, and builds a high-precision WOA-BPNN neural network model, and obtains the high-precision optimal component ratio predicted by the WOA-BPNN neural network model to improve accuracy.

[0013] In a possible implementation, in step S2, normalization is used as a preprocessing method, and each characteristic value in the cleaned data set is normalized by the following calculation formula:

[0014]

[0015] in,

[0016] X norm represents the normalized eigenvalue;

[0017] X represents any one of the characteristic values;

[0018] X max represents the maximum value among the eigenvalues;

[0019] X min represents the minimum value among the eigenvalues.

[0020] In a possible implementation, in step S2, the mutual information between any two preprocessed eigenvalues ​​is obtained by the following calculation formula:

[0021]

[0022] in,

[0023] I(X, Y) represents the mutual information between any two preprocessed eigenvalues;

[0024] X represents one of the preprocessed eigenvalues;

[0025] Y represents another preprocessed eigenvalue;

[0026] P(x, y) represents the probability that one of the preprocessed eigenvalues ​​takes the value x and the other preprocessed eigenvalue takes the value y;

[0027] p(x) represents the marginal probability of one of the preprocessed eigenvalues;

[0028] p(y) represents the marginal probability of another preprocessed eigenvalue.

[0029] In a possible implementation, in step S2, a random forest model or a K-nearest neighbor model or a gradient boosting decision tree model or a support vector machine model is selected, and each of the preprocessed eigenvalues ​​is input to predict the corresponding multiple ultimate tensile hardnesses, and the corresponding determination coefficient is obtained according to the sample number of each preprocessed eigenvalue, each preprocessed eigenvalue and each ultimate tensile hardness, and the multiple key features are screened according to the determination coefficient.

[0030] In a possible implementation, each of the preprocessed feature values ​​includes multiple preprocessed element features and multiple preprocessed tensile hardnesses. In the step S2, each of the preprocessed element features is sequentially input into the random forest model or the K-nearest neighbor model or the gradient boosting decision tree model or the support vector machine model in order of mutual information from large to small, and the corresponding determination coefficient is obtained after each input of the preprocessed element feature. When one of the determination coefficients tends to be stable compared to the previous determination coefficient, each of the preprocessed element features input before the preprocessed element feature corresponding to one of the determination coefficients is used as each of the key features.

[0031] In a possible implementation, in step S2, the determination coefficient is obtained by the following calculation formula:

[0032]

[0033] in,

[0034] R 2 represents the determination coefficient;

[0035] n represents the number of samples of each preprocessed feature value input into the model;

[0036] y i represents the tensile hardness after the i-th pretreatment;

[0037] represents the i-th said ultimate tensile hardness;

[0038] It represents the mean value of the tensile hardness after each pretreatment.

[0039] In a possible implementation manner, the step S4 further includes:

[0040] The mean square error loss of the BPNN neural network model is obtained according to each of the ultimate tensile hardnesses and each of the pre-processed eigenvalues ​​to guide the adjustment and optimization of the BPNN neural network model.

[0041] Compared with the prior art, the above technical solution can help to more intuitively understand the accuracy of the model prediction results obtained by the BPNN neural network model, and the smaller the mean square error loss, the smaller the difference between the model prediction results of the BPNN neural network model and the actual value.

[0042] In a possible implementation, in step S4, the mean square error loss is obtained by the following calculation formula:

[0043]

[0044] in,

[0045] MSE represents the mean square error loss;

[0046] n represents the number of samples of each preprocessed feature value input into the model;

[0047] represents the i-th said ultimate tensile hardness;

[0048] y i represents the tensile hardness after the i-th pretreatment.

[0049] In a possible implementation, in step S4, the hyperparameter results of the WOA-BPNN neural network model screened and optimized are:

[0050] The WOA-BPNN neural network model has two hidden layers, the number of neurons in the first hidden layer is 62, the number of neurons in the second hidden layer is 65, the number of neurons in the input layer is 8, and the activation function adopts the Relu function.

[0051] In a possible implementation manner, the step S5 further includes:

[0052] SHAP and Pearson coefficient are introduced to analyze the influence of each key feature on the optimal ingredient ratio for use by operators.

[0053] Compared with the existing technology, the above technical solution can help to more intuitively see the specific influence of each key feature on the optimal composition ratio of the output, and provide reference value for the final preparation of the alloy. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 is a flow chart of the steps of the present invention;

[0055] Figure 2 It is the MI coefficient ranking diagram of 22 characteristics of the present invention;

[0056] Figure 3 A comparison chart of the coefficient of determination of four machine learning models of the present invention;

[0057] Figure 4 It is a structural diagram of the WOA-BPNN neural network model of the present invention;

[0058] Figure 5 It is a scatter plot of the training set and the test set of the WOA-BPNN neural network model of the present invention;

[0059] Figure 6It is a characteristic analysis diagram of SHAP and Pearson correlation coefficient of the present invention;

[0060] Figure 7 Schematic diagram of the novel ultimate tensile strength design process framework of the present invention. DETAILED DESCRIPTION

[0061] First, those skilled in the art should understand that these implementations are only used to explain the technical principles of the embodiments of the present application, and are not intended to limit the protection scope of the embodiments of the present application. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.

[0062] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0063] See also Figure 1 The present application embodiment discloses a method for predicting the ultimate tensile hardness of an alloy based on deep learning, comprising:

[0064] Step S1, for a target alloy, a data set about the tensile hardness of the target alloy is collected, and an isolation forest algorithm is used to clean the data set to obtain a cleaned data set;

[0065] Step S2, preprocessing each eigenvalue in the cleaned data set to obtain a plurality of preprocessed eigenvalues, and using MI mutual information screening to obtain a plurality of key features affecting the tensile hardness of the target alloy in each preprocessed eigenvalue;

[0066] Step S3, inputting each key feature into the random forest model, K-nearest neighbor model, gradient boosting decision tree model and support vector machine model in turn to predict the corresponding ultimate tensile hardness;

[0067] Step S4, introducing deep learning and machine learning algorithms, taking each key feature as input and each ultimate tensile hardness as output, constructing and training a BPNN neural network model, and then introducing a whale optimization algorithm to screen and optimize the hyperparameters of the BPNN neural network model to obtain a WOA-BPNN neural network model;

[0068] Step S5, using the WOA-BPNN neural network model to predict the optimal composition ratio of each key feature in the target alloy, so as to guide the production of a target alloy with better tensile hardness.

[0069] Continue to see Figure 1 In this embodiment, the target alloy is a nickel-based high-temperature alloy. In step S1, a data set about tensile strength is collected from literature, public data sets, and the Chinese Nickel-Based High-Temperature Alloy Handbook. The data set is cleaned using the isolation forest algorithm, and the missing value data is deleted using sparsity to ensure the integrity and accuracy of the data set.

[0070] Continue to see Figure 1 In step S2, the eigenvalues ​​are preprocessed to screen out the key features that affect the tensile strength, delete some invalid features, and improve the prediction accuracy of the model. Furthermore, in this step, the eigenvalue preprocessing includes:

[0071] S21, normalize the features, map the range of each feature value to the interval of 0-1, improve the model calculation speed, and accelerate the model convergence;

[0072] S22. In order to find the influence of different features in the data set on its ultimate tensile strength, mutual information (MI) is used to measure the degree of mutual dependence between two random variables, which can effectively screen out the importance of features to the output;

[0073] Specifically, the MI coefficient ranking diagram of the 22 features is as follows: Figure 2 As shown in Table 1, the MI coefficients are arranged from large to small:

[0074] Table 1 Characteristic MI coefficient table

[0075]

[0076] The larger the MI coefficient is, the greater the impact on the output value is. This key feature should be retained, and then further feature screening should be performed. The more features there are, the more complex the deep learning model will be. The accuracy of multidimensional data and the interpretability of the model are often poor, so it is necessary to reduce the dimension of the feature. The MI coefficients corresponding to the 22 pre-processed element features are imported into the model training in descending order, and the determination coefficient (R 2 ) to evaluate the error between the predicted value and the actual value.

[0077] See also Figure 3 , after introducing the 8th preprocessed element feature, the determination coefficient R 2 It tends to a stable state, indicating that the first eight element features after pretreatment contain the explanatory power of the entire data set and are the key features affecting the ultimate tensile strength, namely: Ti, Mo, Ni, Al, Cr, Co, C, and TT, where TT is the test temperature.

[0078] Continue to see Figure 1 ,In step S4, deep learning and machine learning algorithms are introduced, with key features as input and ultimate tensile strength as output, to construct and train a BPNN neural network model;

[0079] Specifically, four machine learning models are first introduced in step S3 to train the processed data set samples, which are RF (random forest model), KNN (K neighbor model), GBDT (gradient boosting decision tree model) and SVM (support vector machine model). The eight key features Ti, Mo, Ni, Al, Cr, Co, C, and TT are used as the input of the model, and the ultimate tensile strength is used as the output of the model. Each model uses grid search to find the optimal hyperparameters, and performs 10 cross validations (CV=10). The optimal hyperparameters of the four models are shown in Table 2 below:

[0080] Table 2 Optimal hyperparameters of four machine learning models

[0081]

[0082] The predicted ultimate tensile hardness was split into 8:2, with 80% as the training set and 20% as the test set. The determination coefficient R 2 Evaluate four machine learning models in R 2 The scores are: RF is 0.855, KNN is 0.729, GBDT is 0.88, and SVM is 0.54. It can be seen that the model accuracy is not high.

[0083] Therefore, the present invention introduces a deep learning model for training, introduces BPNN (back propagation neural network) based on deep learning to build a data set, compiles the model in Python language based on tensorflow and keras libraries, and the input layer is 8 neurons, corresponding to 8 key features, and the output layer is a layer of ultimate tensile strength. A preliminary model is built, and its R 2 The score is 0.904, which shows that the deep learning model is more suitable for this sample data. The traditional machine learning model is built on the existing algorithm, and the algorithm is a fixed algorithm. However, for the data set, the multidimensional nonlinear relationship of the 8 key features is difficult to build with traditional machine learning. Deep learning can learn the characteristics of the data set and build an optimal relationship suitable for this sample by itself. Based on this, the deep learning model is used in step S4.

[0084] Continue to see Figure 1 ,In step S4, the whale optimization algorithm is introduced to screen and optimize the hyperparameters of the BPNN neural network model;

[0085] BPNN (Backpropagation Neural Network) is a common artificial neural network model, which consists of multiple neurons and usually includes an input layer, a hidden layer and an output layer. The training process of the BPNN neural network model mainly relies on the back propagation algorithm, which can effectively adjust the weights and biases in the network to minimize the error between the model prediction results and the actual values. During the training process, the error between the model prediction results and the actual values ​​is back propagated back to the network, and the weights and biases of each layer are adjusted according to the error, so that the model prediction results of the BPNN neural network model gradually approach the actual values. Through multiple iterative training, the BPNN neural network model can learn the complex relationship between the input data, thereby achieving effective prediction and regression tasks.

[0086] However, building a BPNN neural network model requires determining the learning rate, number of hidden layers, number of neurons in each hidden layer, and type of activation function. These hyperparameters will directly affect the accuracy of the model. However, the traditional method of finding hyperparameters is mainly empirical. For example, the number of neurons in the hidden layer can be set according to the following formula:

[0087]

[0088] Among them, Nh represents the number of neurons in the hidden layer, Ni represents the number of neurons in the input layer, No represents the number of neurons in the output layer, α is a self-selected value, and 2≤α≤10.

[0089] Traditional rules of thumb can cause large errors. Therefore, the present invention introduces an intelligent algorithm WOA (Whale Optimization Algorithm) to screen the hyperparameters of the BPNN neural network model. The whale optimization algorithm is derived from the bionics research on the behavior of whale groups. It performs optimization search by simulating the predation behavior of whales. It combines deterministic and random movement strategies, and can achieve a balance between global search and local search, so as to find the optimal solution for the hyperparameters of the BPNN neural network model. By optimizing the back propagation neural network hyperparameters, the mean square error evaluation loss function is introduced.

[0090] The hidden layer of the WOA-BPNN neural network model is determined to be two layers. The number of neurons in the first hidden layer is 62, and the number of neurons in the second hidden layer is 65. The input layer is 8 neurons, which are 8 key features selected by feature engineering. The output layer is the extreme resistance corresponding to different components. The activation function uses the Relu function. During back propagation, the Relu function can avoid the gradient disappearance problem, making the neural network easier to train. Such a four-layer back propagation neural network structure is as follows Figure 4 As shown, this structure R 2 The score is as high as 0.93, which is compared with the accuracy of other traditional machine learning models. Figure 3 , by comparison, we can obtain the ultimate tensile strength predicted by the WOA-BPNN neural network model. Figure 5 It is a scatter plot of the model training set and test set. The training set R 2 is 0.97, the test set R 2 It is 0.93, the WOA-BPNN neural network model does not have the phenomenon of overfitting, and the data points are basically concentrated on the diagonal, indicating that this WOA-BPNN neural network model has a high prediction accuracy.

[0091] Continue to see Figure 1 ,In step S5, SHAP and Pearson coefficient analysis are introduced to discuss the specific impact of key features on the output;

[0092] Specifically, SHAP (SHapley Additive exPlanations) is a method for explaining the prediction process of machine learning models. It uses the concept of Shapley value in cooperative game theory to evaluate the influence of each key feature on the model prediction results. By analyzing the contribution of each key feature to the model prediction results, SHAP can provide a clear explanation for each sample and reveal the role of key features in the data. SHAP can not only explain a single prediction result, but also analyze the model behavior of the entire data set.

[0093] See also Figure 5 a. It is obvious that when the Ti and Al elements have larger characteristic values, their contribution to the output is positive, indicating that the Ti and Al elements can effectively improve the ultimate tensile strength. Both Ti and Al elements are bottom strengthening elements. The Al element forms the γ' (Ni3Al) phase, and the Ti element can enter the γ' phase, thereby achieving precipitation strengthening and effectively improving the ultimate tensile strength. On the contrary, higher C content and TT will have a negative impact on the output.

[0094] In order to further analyze the impact of features on output, the Pearson correlation coefficient is introduced based on the WOA-BPNN neural network model. It is a statistic that measures the degree of linear correlation between two variables. It measures the strength and direction of the relationship between two variables. The value range is -1 to 1. When the correlation coefficient is 1, it means that the two variables are completely positively correlated, that is, when one variable increases, the other variable also increases; when the correlation coefficient is -1, it means that the two variables are completely negatively correlated, that is, when one variable increases, the other variable decreases. The calculation formula of the Pearson correlation coefficient is as follows:

[0095]

[0096] Where ρX,Y is the Pearson correlation coefficient between variables X and Y, cov(X,Y) is the covariance of variables X and Y, and σX and σY are the standard deviations of variables X and Y, respectively.

[0097] See also Figure 5 b. Not only can we clearly see the specific influence of each key feature on the model prediction results, but the coupling effect between the two key features can also be observed. The Co element also has a positive effect on the ultimate tensile strength. On the contrary, the Cr element and the Mo element have little effect on the ultimate tensile strength. However, since Cr and Mo elements are corrosion-resistant elements, they are also indispensable in the design of nickel-based high-temperature alloys.

[0098] Continue to see Figure 1 In step S5, the WOA-BPNN neural network model is used to predict the optimal composition ratio of each key feature in the target alloy;

[0099] Specifically, the traditional nickel-based high-temperature alloy development and design method is a trial-and-error method, which has the disadvantages of high cost and time-consuming. The present invention provides a new nickel-based high-temperature alloy design process framework, such as Figure 7 As shown, first, according to the above Pearson coefficient and SHAP value, the search space of 8 key features is set. Al and Ti, as precipitation strengthening elements, can greatly improve the high-temperature tensile strength of nickel-based materials, and increasing the Ti / Al ratio can improve the strength by improving EAPB. The lower limit of the Ti / Al ratio is defined as 0.4, so the search ranges of Ti and Al are 0-10 and 0-25, respectively. Co, Mo, and Cr are solid solution strengthening elements. The 3d layer of Ni atoms is almost full, which is conducive to the solid solution of nickel-based high-temperature alloying elements. Such a nickel-based high-temperature alloying system will cause lattice distortion and increase the resistance to dislocation movement, thereby improving the strength and hardness of the material. Although Cr and Mo elements do not contribute much to the output in the Pearson coefficient and SHAP value, high-performance corrosion resistance is also extremely important, so the search ranges of the three elements are set to 0-5. For the remaining C element, a small amount of carbides can hinder the obstruction and deformation of grain boundaries and improve toughness, so the C element is set to 0-2.

[0100] According to the search range of 1%, the intelligent algorithm GA genetic algorithm is introduced to screen all nickel-based high-temperature alloy component combinations. The genetic algorithm is an optimization algorithm inspired by natural selection and genetics theory. It simulates the evolutionary process of natural organisms and uses genetic operations (such as selection, crossover and mutation) to search for solutions in the optimal solution space. Combined with the model prediction results of the WOA-BPNN neural network model, the optimal component ratio of the nickel-based high-temperature alloy predicted by the model is quickly found, which is a new component ratio. In addition, the feature search range can also be reasonably adjusted according to different situations, working conditions, and requirements. Combined with the high-precision neural network model, the nickel-based high-temperature alloy that meets the needs can be designed quickly and accurately.

[0101] The method is not limited to nickel-based high-temperature alloys. The present invention provides a method for designing alloys, and the method can also be applied to the development and design of other alloys.

[0102] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "in the present embodiment", "specific example", or "some examples" etc. means that the specific features, mechanisms, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, mechanisms, materials or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0103] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for predicting the ultimate tensile hardness of alloys based on deep learning, characterized in that: The following steps are involved: Step S1, for a target alloy, collecting a data set about the tensile hardness of the target alloy, and using an isolation forest algorithm to clean the data set to obtain a cleaned data set; Step S2, preprocessing each eigenvalue in the cleaned data set to obtain a plurality of preprocessed eigenvalues, and using MI mutual information screening to obtain a plurality of key features affecting the tensile hardness of the target alloy in each of the preprocessed eigenvalues; Step S3, inputting each of the key features into a random forest model, a K-nearest neighbor model, a gradient boosting decision tree model and a support vector machine model in turn to predict the corresponding ultimate tensile hardness; Step S4, introducing deep learning and machine learning algorithms, taking each of the key features as input, taking each of the ultimate tensile hardnesses as output, constructing and training a BPNN neural network model, and then introducing a whale optimization algorithm to screen and optimize the hyperparameters of the BPNN neural network model to obtain a WOA-BPNN neural network model; Step S5, using the WOA-BPNN neural network model to predict the optimal composition ratio of each key feature in the target alloy, so as to guide the production of the target alloy with better tensile hardness.

2. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: In step S2, normalization is used as a preprocessing method, and each characteristic value in the cleaned data set is normalized by the following calculation formula: in, X norm represents the normalized eigenvalue; X represents any one of the characteristic values; X max represents the maximum value among the eigenvalues; X min represents the minimum value among the eigenvalues.

3. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: In step S2, the mutual information between any two pre-processed eigenvalues ​​is obtained by the following calculation formula: in, I(X,Y) represents the mutual information between any two preprocessed eigenvalues; X represents one of the preprocessed eigenvalues; Y represents another preprocessed eigenvalue; P(x, y) represents the probability that one of the preprocessed eigenvalues ​​takes the value x and the other preprocessed eigenvalue takes the value y; p(x) represents the marginal probability of one of the preprocessed eigenvalues; p(y) represents the marginal probability of another preprocessed eigenvalue.

4. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: In step S2, a random forest model, a K-nearest neighbor model, a gradient boosting decision tree model, or a support vector machine model is selected, and each of the preprocessed eigenvalues ​​is input to predict the corresponding multiple ultimate tensile hardnesses. The corresponding determination coefficient is obtained according to the number of samples of each preprocessed eigenvalue, each preprocessed eigenvalue, and each ultimate tensile hardness, and the multiple key features are screened according to the determination coefficient.

5. The method for predicting the ultimate tensile hardness of an alloy according to claim 4, characterized in that: Each of the preprocessed feature values ​​includes multiple preprocessed element features and multiple preprocessed tensile hardnesses. In the step S2, each of the preprocessed element features is sequentially input into the random forest model or the K-nearest neighbor model or the gradient boosting decision tree model or the support vector machine model in descending order of mutual information, and the corresponding determination coefficient is obtained after each input of the preprocessed element feature. When one of the determination coefficients tends to be stable compared with the previous determination coefficient, each of the preprocessed element features input before the preprocessed element feature corresponding to one of the determination coefficients is used as each of the key features.

6. The method for predicting the ultimate tensile hardness of an alloy according to claim 5, characterized in that: In step S2, the determination coefficient is obtained by the following calculation formula: in, R 2 represents the determination coefficient; n represents the number of samples of each preprocessed feature value input into the model; y i represents the tensile hardness after the i-th pretreatment; represents the i-th said ultimate tensile hardness; It represents the mean value of the tensile hardness after each pretreatment.

7. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: The step S4 further includes: The mean square error loss of the BPNN neural network model is obtained according to each of the ultimate tensile hardnesses and each of the pre-processed eigenvalues ​​to guide the adjustment and optimization of the BPNN neural network model.

8. The method for predicting the ultimate tensile hardness of an alloy according to claim 7, characterized in that: In step S4, the mean square error loss is obtained by the following calculation formula: in, MSE represents the mean square error loss; n represents the number of samples of each preprocessed feature value input into the model; represents the i-th said ultimate tensile hardness; y i represents the tensile hardness after the i-th pretreatment.

9. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: In step S4, the hyperparameter results of the WOA-BPNN neural network model screened and optimized are: The WOA-BPNN neural network model has two hidden layers, the number of neurons in the first hidden layer is 62, the number of neurons in the second hidden layer is 65, the number of neurons in the input layer is 8, and the activation function adopts the Relu function.

10. The method for predicting the ultimate tensile hardness of an alloy according to claim 1, characterized in that: The step S5 further includes: SHAP and Pearson coefficient are introduced to analyze the influence of each key feature on the optimal ingredient ratio for use by operators.

Citation Information

Patent Citations

  • Welding quality prediction and evaluation method based on FOA-BPNN and real-time data monitoring

    CN117454175A

  • Method for determining converter alloy adding amount by fusing differential evolution and whale algorithm

    CN117877617A

  • Machine learning-based method for designing high-strength high-toughness steel

    US20220335182A1

Cited By

  • Steel cutting quality inspection device for ship steel structure machining

    CN119065318A

  • Titanium alloy microstructure prediction method based on deep learning

    CN119445574A

  • Laser cladding powder proportioning hardness prediction method, storage medium and electronic equipment

    CN119517215A

  • Cervical intraepithelial neoplasia risk prediction model and construction method thereof, electronic equipment and storage medium

    CN119650049A

  • Amorphous alloy design method based on random forest and SHAP analysis

    CN119785940A