The present invention relates to a prediction device, a prediction method, and a prediction program for predicting a thermodynamic equilibrium state.
A calculation of phase diagram and thermodynamics (CALPHAD) method is known as a computer simulation method of predicting thermodynamic equilibrium states of alloys, ceramics, aqueous solutions, chemical reactions, and the like (e. g., Patent Document 1).
[Patent Document 1] Japanese Laid-open Patent Application Publication No. 2014-48208
The CALPHAD method is a simulation method that searches for a state of providing minimal Gibbs energy as an equilibrium state, and takes a long time for the calculation. To perform a thermodynamic equilibrium calculation for a single material composition to predict a phase diagram, the CALPHAD method can be performed within a realistic time, but it is too time consuming and impractical to predict phase diagrams and perform screening for a large number of material compositions. For an alloy material, for example, it would take about 250 hours in total to calculate phase diagrams of all alloy compositions to screen 10,000 explanatory variables (i.e., sets of compositions and manufacturing conditions) because it takes about 90 seconds to calculate for each set.
It is an object of the present invention to provide a prediction device, a prediction method, and a prediction program for predicting the thermodynamic equilibrium state in a short time.
The present invention has the following configuration.
[1] A prediction device for predicting a thermodynamic equilibrium state of a target material, including a model configured to output target variables related to the thermodynamic equilibrium state based on input explanatory variables related to design conditions of the target material, a training data generating unit configured to generate training data including inputs related to predetermined design conditions and outputs related to the thermodynamic equilibrium state that may occur based on the predetermined design conditions, a model training unit configured to perform machine learning by using the training data generated by the training data generating unit so that an input-output relation of the model approaches an input-output relation of the training data, an explanatory variable setting unit configured to set predictive explanatory variables that are used to predict the thermodynamic equilibrium state of the target material, and a prediction unit configured to output predictive target variables from the model, based on the predictive explanatory variables, wherein the predictive explanatory variables are input into the model on which the machine learning has been performed by the model training unit, and wherein the predictive target variables are predicted results of the thermodynamic equilibrium state
[2] The prediction device as described in [1], further comprising a phase diagram display unit configured to generate and display a phase diagram of the thermodynamic equilibrium state based on the predictive target variables output from the prediction unit
[3] The prediction device as described in [1] or [2], wherein the model is a multi-layer neural network and the model training unit trains the model by using deep learning
[4] The prediction device as described in [3], wherein the target variables that are output from the model are phase fractions of the target material in the thermodynamic equilibrium state, and wherein a softmax function is used for neurons in an output layer of the multi-layer neural network
[5] The prediction device as described in any one of [1] to [4], wherein the training data generating unit generates explanatory variables including a combination of predetermined ranges of the design conditions, calculates the target variables by using a CALPHAD method, and generates the training data including the generated explanatory variables and the calculated target variables
[6] The prediction device as described in any one of [1] to [5], wherein the target material is an aluminum alloy, the explanatory variables include a composition and a manufacturing condition of the aluminum alloy, and the target variables include phase fractions of the aluminum alloy in the theiniodynamic equilibrium state
[7] A prediction method for predicting a thermodynamic equilibrium state of a target material, including a training data generating step of generating training data including inputs related to predetermined design conditions and outputs related to the thermodynamic equilibrium state that may occur based on the predetermined design conditions, for a model configured to output target variables related to the thermodynamic equilibrium state based on input explanatory variables related to design conditions of the target material, a model training step of performing machine learning by using the training data generated by the training data generating step so that an input-output relation of the model approaches an input-output relation of the training data, an explanatory variable setting step of setting predictive explanatory variables that are used to predict the thermodynamic equilibrium state of the target material, and a prediction step of outputting predictive target variables from the model, based on the predictive explanatory variables, wherein the predictive explanatory variables are input into the model on which the machine learning has been perfoLmed by the model training step, and wherein the predictive target variables are predicted results of the thermodynamic equilibrium state
[8] A prediction program for predicting a thermodynamic equilibrium state of a target material, the prediction program causing a computer to achieve functions including a training data generating function of generating training data including inputs related to predetermined design conditions and outputs related to the thermodynamic equilibrium state that may occur based on the predetermined design conditions, for a model configured to output target variables related to the thermodynamic equilibrium state based on input explanatory variables related to design conditions of the target material, a model training function of performing machine learning by using the training data generated by the training data generating function so that an input-output relation of the model approaches an input-output relation of the training data, an explanatory variable setting function of setting predictive explanatory variables that are used to predict the thermodynamic equilibrium state of the target material, and a prediction function of outputting predictive target variables from the model, based on the predictive explanatory variables, wherein the predictive explanatory variables are input into the model on which the machine learning has been performed by the model training function, and wherein the predictive target variables are predicted results of the thermodynamic equilibrium state
According to the present invention, a prediction device, a prediction method, and a prediction program, for predicting the thermodynamic equilibrium, that calculate the thermodynamic equilibrium state in a short time can be provided.
In the following, an embodiment will be described with reference to the accompanying drawings. In order to facilitate the understanding of the description, the same elements in each drawing are referenced by the same reference signs to the extent possible, and the overlapping description is omitted.
Referring to
As illustrated in
The model 2 outputs target variables related to the thermodynamic equilibrium state (i.e., phase fractions of compounds in the thermodynamic equilibrium state) based on input explanatory variables related to design conditions of the target material (a composition and a manufacturing condition of the aluminum alloy). The model 2 is a supervised learning model, and as a preliminary step for predicting the thermodynamic equilibrium state, machine learning is performed by the model training unit 4 to learn a correspondence relation between the explanatory variables and the target variables, that is, an input-output relation of the model 2.
In the present embodiment, the model 2 is a multi-layer neural network including an input layer, multiple intermediate layers, and an output layer, as illustrated in
For the output layer of the multi-layer neural network of the model 2, a softmax function is used. That is, each of the multiple outputs of the model 2 is in a range from 0 to 1, and the total sum of the multiple outputs is 1. As described above, in the present embodiment, the output of model 2 is the phase fraction of each compound in the thermodynamic equilibrium state. Therefore, by using the softmax function in the output layer, the output value of the model 2 can be used as the phase fraction with no additional operation, thereby reducing the calculation cost.
The training data generating unit 3 generates training data of the model 2. The training data includes inputs related to predetermined design conditions and outputs related to the thermodynamic equilibrium state that may occur based on the design conditions. The training data generating unit 3 generates explanatory variables including a combination of predetermined ranges of the design conditions (i.e., a composition and a manufacturing condition) of the aluminum alloy, calculates target variables by using a CALPHAD method, and generates training data including the generated explanatory variables and the calculated target variables.
The percentages by weight of the elements Si, Cu, and Mg, which are explanatory variables, are, for example, all combinations of value groups of the respective elements. For example, the value groups of the respective elements are generated by selecting values of the respective elements within predetermined ranges. Values of the temperature of the explanatory variable are a group of values selected within a predetermined temperature range (e.g., 0 to 1000° C.). Each of all combinations of these compositions is combined with each of the group of values of the temperature to generate a set of explanatory variables. The number of compounds in the target variables is deteLmined in accordance with contents of the compositions included in the explanatory variables.
Here, kinds of compositions to be included in the explanatory variables are not limited to the above described three kinds of the additive elements, eight kinds of the additive elements, and the like, and any kind and any number can be set. Additionally, items of the manufacturing conditions to be included in the explanatory variables may be conditions other than the temperature, and the gas atmosphere may be included.
The model training unit 4 performs machine learning so that the input-output relation of the model 2 approaches the input-output relation of the training data by using the training data generated by the training data generating unit 3. In the present embodiment, the model training unit 4 performs machine learning on the model 2 by using deep learning.
The machine learning performed by the model training unit 4 on the model 2 may be configured to be performed so as to reduce the output error of each data set of the training data, or may be configured to be performed so that the phase diagram based on the outputs of the model 2 illustrated in
The explanatory variable setting unit 5 sets predictive explanatory variables that are used to predict the thermodynamic equilibrium state of the. target material. For example, the explanatory variable setting unit 5 can set the explanatory variables by displaying an input screen of various design conditions on a GUI of a display device and prompting a designer to input the explanatory variables.
The prediction unit 6 outputs predictive target variables, which are predicted results of the thermodynamic equilibrium state, from the model 2, by inputting the predictive explanatory variables, set by the explanatory variable setting unit 5, into the model 2 on which the machine learning has been performed by the model training unit 4.
The phase diagram display unit 7 generates and displays a phase diagram of the thermodynamic equilibrium state of the target material based on the predictive target variables output from the prediction unit 6.
Each function of the prediction device 1 illustrated in
The prediction program of the present embodiment is stored, for example, in a storage device provided in the computer. The prediction program may be configured such that a portion or an entirety of the prediction program is transmitted through a transmission medium such as a communication line and received and recorded (including installed) by the communication module 106 or the like provided in the computer. The prediction program may be configured to. be recorded (including installed) in the computer from a state in which a portion or an entirety of the prediction program is stored in a portable storage medium such as a CD-ROM, a DVD-ROM, or a flash memory.
In step S1, the training data for the model 2 is generated by the training data generating unit 3 (i.e., a training data generating step). The training data generating unit 3 generates a set of explanatory variables so as to, in accordance with an input of ranges of the compositions and the manufacturing conditions (i.e., temperature and the like) that are specified by a designer, cover the ranges, calculate the target variables by using a CALPHAD method using the set of all the generated explanatory variables, and generate, for example, the training data of the four-component system and the nine-component system illustrated in
In step S2, the model training unit 4 performs the machine learning on the model 2 by using the training data generated in step S1 (i.e., a model training step). The model training unit 4 trains the model by adjusting weights between layers of a multi-layer neural network so that, in response to the explanatory variables of the training data being input, outputs match the target variables linked with the explanatory variables of the learning data. The model training unit 4 trains the model 2 by using, for example, deep learning.
In step S3, the explanatory variable setting unit 5 sets predictive explanatory variables used for predicting the thermodynamic equilibrium state of the target material (i.e., an explanatory variable setting step).
In step S4, the prediction unit 6 predicts the thermodynamic equilibrium state of the target material by using the trained model 2 (i.e., a prediction step). The prediction unit 6 inputs the explanatory variables set in step S3 into the model 2 on which the machine learning has been performed in step S2, and acquires predictive target variables that are predicted results of the thermodynamic equilibrium state output from the model 2.
In step S5, the phase diagram display unit 7 generates and displays a phase diagram of the thermodynamic equilibrium state of the target material based on the predictive target variables output from the prediction unit 6.
The effect of the present embodiment will be described. The prediction device of the present embodiment includes the model 2 that outputs target variables related to the thermodynamic equilibrium state based on input explanatory variables related to design conditions of a target material, a training data generating unit 3 that generates training data including inputs related to predetermined design conditions and outputs related to a thermodynamic equilibrium state that may occur based on the design conditions, a model training unit 4 that performs machine learning by using the training data generated by the training data generating unit 3 so that an input-output relation of the model 2 approaches an input-output relation of the training data, an-explanatory. variable setting unit 5 that sets predictive explanatory variables that are used to predict the thermodynamic equilibrium state of the target material, and a prediction unit 6 that outputs, from the model 2, predictive target variables that are predicted results of the thermodynamic equilibrium state based on the input predictive explanatory variables that are input to the model 2 on which the mechanical learning is performed by the model training unit 4.
With this configuration, by simply inputting the predictive target variables into the trained model 2, the predictive target variables that are the predicted results of the thermodynamic equilibrium state corresponding to the target variables are output from the model 2, so that the cost of calculating the target variables is greatly reduced in comparison with a conventional CALPHAD simulation, thereby calculating the thermodynamic equilibrium state in a shorter period of time. For example, if a phase diagram of all compositions is calculated to screen 10,000 sets of explanatory variables (i.e., sets of compositions and manufacturing conditions), in a simulation, it takes about 90 seconds to calculate for each set, so about 250 hours would be required in total. However, in the embodiment of the present invention, it takes about 3 milliseconds to calculate for each set, so about 30 seconds are required in total.
With this configuration, appropriate predictive target variables with respect to unknown inputs that are different from the explanatory variables of the training data can be output by using a generalization capability of the trained model 2, thereby accurately predicting the thermodynamic equilibrium state. That is, in a conventional simulation method, a simulation operation is required to be performed again in a case of unknown inputs, but, in the present embodiment, if the trained model 2 is acquired, appropriate outputs can be obtained with respect to unknown inputs without performing additional training of the model 2. This enables comprehensive analysis of compositions to be performed in a short period of time and with high accuracy, so that a large amount of compositions that would be unrealistic to screen using conventional simulations can be screened, thereby extracting more optimum design conditions.
The prediction device 1 according to the present embodiment includes the phase diagram display unit 7 that generates and displays a phase diagram in the thermodynamic equilibrium state based on the predictive target variables that are output from the prediction unit 6. With this configuration, predicted results of the thermodynamic equilibrium state of the target material can be visually presented to a designer, so that the designer can easily understand the predicted results.
In the prediction device 1 according to the present embodiment, the model 2 is a multi-layer neural network, and the model training unit 4 trains the model using deep learning. Therefore, training can be performed at a high speed and with high accuracy, and the thermodynamic equilibrium state can be predicted with greater accuracy.
In the prediction device 1 according to the present embodiment, the target variables that are the outputs of the model 2 are phase fractions of the target material in the thermodynamic equilibrium state, and neurons in an output layer of the multi-layer neural network of the model 2 calculate output values based on a softmax function. With this configuration, the sum of the outputs can be always maintained at 1, so that, in the embodiment in which the phase fractions are the outputs of the model 2, each output can be used as the phase fraction without change, thereby further reducing the calculation cost.
Further, in the prediction device 1 according to the present embodiment, the training data generating unit 3 generates explanatory variables and calculates target variables by using a CALPHAD method to generate the training data. Therefore, the target variables can be accurately calculated, and the accuracy of the training data can be improved.
As described above, the present embodiment has been described with reference to the specific examples. However, the present disclosure is not limited to these specific examples. Examples, to which design modifications have been appropriately made by a person having an ordinary skill in the art, are also included in the present disclosure as long as the feature of the present disclosure is provided. The elements provided in each of the embodiments described above, and the arrangement, conditions, shape, and the like thereof are not limited to the examples, and may be appropriately modified. The combination of the elements provided by each of the above-described specific examples may be appropriately modified, as long as a technical inconsistency does not occur.
In the above-described embodiment, although an aluminum alloy is the target material of which the thermodynamic equilibrium state is predicted by the prediction device 1, an alloy system other than an aluminum alloy may be used as the target material. Examples of such alloy systems include Fe alloys, Cu alloys, Ni alloys, Co alloys, Ti alloys, Mg alloys, Mn alloys, Zn alloys, and the like. In addition to alloys, ceramics, aqueous solutions, chemical reactions, or the like may be used as the target material.
In the above-described embodiment, a multi-layer neural network is exemplified as the model 2, and deep learning is exemplified as a machine learning technique of the model 2. However, the model 2 and the learning technique are not limited thereto, and other supervised learning models, such as genetic algorithms, and other machine learning techniques, such as random forest regression and kernel ridge regression, can be used.
In the above-described embodiment, a configuration in which the training data generating unit 3 calculates and generates the training data for the model 2 by using a CALPHAD method is exemplified. However, a configuration, in which the training data is generated by using experimental results instead of simulation results in which the thermodynamic calculation or the like is performed, may be used. For example, a method, in which various alloy materials manufactured by changing compositions are maintained at various temperatures to reach equilibrium states, and then rapidly cooled to a low temperature to freeze the equilibrium states, to determine types and phase fractions of compounds in the various alloy materials by using various analyses, may be considered. As methods of the analyses, for example, a method of determining types of compounds from peak positions acquired by X-ray diffraction measurement and calculating phase fractions from the peak intensity ratio, and a method of performing energy dispersive X-ray spectrometry (EDS) on an observed object field in electron microscopic. observation, such as scanning electron microscope (SEM) and transmission electron microscope (TEM), to determine types of phases and calculate phase fractions from total area ratios of particles of respective phases in the observed image, may be considered.
In the above-described embodiment, a configuration, in which the prediction device 1 ultimately outputs a phase diagram of the thermodynamic equilibrium state at the phase diagram display unit 7, is exemplified. However, a configuration, in which the prediction device 1 outputs numerical values of predicted results output from the prediction unit 6 and does not output a phase diagram, may be used.
In the above embodiment, a configuration, in which the outputs of the model 2 are phase fractions of the compounds in the thermodynamic equilibrium state, is exemplified, but the outputs of the model 2 may be other than phase fractions as long as the outputs of the model 2 are information related to the thermodynamic equilibrium state.
The present international application is based on and claims priority to Japanese. Patent Application No. 2018-206017, filed on Oct. 31, 2018, the entire contents of which are hereby incorporated herein by reference.
| Number | Date | Country | Kind |
|---|---|---|---|
| 2018-206017 | Oct 2018 | JP | national |
| Filing Document | Filing Date | Country | Kind |
|---|---|---|---|
| PCT/JP2019/041716 | 10/24/2019 | WO | 00 |