A method for calculating mechanical properties of austenitic stainless steel using neural networks
Through Ludwik model and neural network combined with finite element simulation, a database is established and material parameters are optimized, which solves the problem of low accuracy in calculating the mechanical properties of austenitic stainless steel in the existing technology and achieves more efficient mechanical property calculations.
Patent Information
- Application Number
- CN202011427545.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-09
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-12-09
AI Technical Summary
The existing stress-strain characterization method cannot accurately describe the work hardening curve of austenitic stainless steel in the low strain stage, resulting in low accuracy in calculating the mechanical properties of 304 austenitic stainless steel.
The Ludwik model is combined with neural network and finite element simulation to establish a database and train through neural network to optimize material parameters to reduce the error between experimental observation values and simulated prediction values, and calculate the mechanical properties of austenitic stainless steel.
It improves the calculation accuracy of the mechanical properties of austenitic stainless steel, is more efficient than the existing technology, and can describe the mechanical properties of austenitic stainless steel more accurately.
Smart Images

Figure CN112597604B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of mechanical property analysis, and in particular relates to a method for calculating the mechanical properties of austenitic stainless steel by using a neural network. Background Art
[0002] For nearly a century, people have been performing indentation tests to obtain the hardness of materials. With the advancement of technology, it is now possible to measure force and indentation depth with high accuracy. Characterization stress-strain methods and finite element methods have been developed to calculate material mechanical properties from force-depth indentation curves.
[0003] The work hardening behavior of austenitic stainless steels has been an important topic for nearly a century. Austenitic stainless steels are widely used as primary structures such as nuclear reactor components due to their good mechanical properties and good weldability. In order to predict the performance of structural parts, it is necessary to have a deep understanding of the constitutive properties of structural parts. Some efforts have been made on the constitutive behavior of austenitic stainless steels, and some empirical models have been proposed. The changes and mechanisms of microstructures during deformation have been studied using the strain hardening parameters in the model. The physical meaning of these empirical constants can be related to microstructure, dislocation mean free path, precipitates, grain size, alloying elements, aging treatment, test temperature and strain rate, radiation effect, yield strength, strength ratio, fracture toughness, etc.
[0004] During plastic deformation, austenitic stainless steel deforms in different ways, which mainly depends on its composition and deformation temperature. In 301 stainless steel, the interstitial elements C and N strengthen austenite and strain-induced martensite, and strain-induced martensite plays a role in dislocation proliferation and work hardening. 316L and 316LN exhibit single slip and crystal plane slip at the beginning of deformation. As the degree of deformation increases, multiple slips appear. The stacking fault energy has only an indirect effect on the critical shear stress of grain twins, while the stacking fault density and uniform slip distance are the main factors affecting the critical shear stress of twins. The main mechanisms for work hardening of metal materials include dislocation strengthening, grain boundary strengthening, second phase particle strengthening, strain-induced phase transformation and deformation twinning. In fact, strengthening is not determined by a single mechanism. In most cases, it is the result of a combination of multiple mechanisms. The work hardening curve is the law of change of macroscopic stress with strain under certain organizational and deformation conditions of metal materials, which is usually measured by uniaxial tensile test. The uniaxial tensile curve of 304 austenitic stainless steel is shown in Figure 1 The mechanical properties of uniaxial tensile test of 304 austenitic stainless steel are shown in Table 1.
[0005] Table 1 Mechanical properties of 304 austenitic stainless steel in uniaxial tensile test
[0006] Material <![CDATA[Yield strength σ y / MPa]]> Strain hardening exponent n <![CDATA[Tensile strength σ u / MPa]]> Young's modulus E / MPa 304 315 0.49 735 192 000
[0007] The work hardening curve can be characterized by a certain mathematical model. Common metal materials usually use the model proposed by Hollomon:
[0008] σ=Kε n (1)
[0009] Where σ is the true stress, ε is the true strain, K and n are fitting constants, usually called strain hardening constant and strain hardening exponent, respectively.
[0010] The Hollomon model is able to describe the work hardening behavior of common metal materials. The stress-strain data are plotted on a double logarithmic graph and a straight line is fitted at higher strain levels to evaluate these parameters. The slope of the straight line gives the n value, and the intercept at ε = 1 gives the K value. Ideally, these two flow parameters should fully describe the shape of the true stress-strain curve. The K value indicates the strength level of the material and the amount of force required during the forming process, while the n value is related to the slope of the true stress-strain curve and characterizes the material's ability to delay localized deformation.
[0011] However, many materials do not strictly follow the Holloman model at low strains. Typically, for example, in the low strain stage, the work hardening curve of austenitic stainless steel in the double logarithmic coordinate system has a significant upward curve, such as Figure 2 As shown in Figure 2, the Holloman model cannot accurately describe the work hardening curve of 304 austenitic stainless steel.
[0012] The Ludwik model is proposed to describe the properties of austenitic stainless steel. The Ludwik model is used to describe the stress-strain data of austenitic stainless steel and can describe the warping in the double logarithmic coordinate system.
[0013] Ludwik Model:
[0014] σ=σ y +Kε n (2)
[0015] Using the existing stress-strain method, we calculated Figure 4 The indentation curve of 304 austenitic stainless steel is shown in Table 2. The calculation results of the mechanical properties characterized by the stress-strain method have a large error with the uniaxial tensile test value and the accuracy is very poor.
[0016] Table 2 Existing characterization stress-strain method for calculating mechanical properties of austenitic stainless steel
[0017] Material <![CDATA[Yield strength σ y / MPa]]> Strain hardening exponent n <![CDATA[Tensile strength σ u / MPa]]> 304 442 0.117 579 Summary of the invention
[0018] The invention provides a method for calculating the mechanical properties of austenitic stainless steel using a neural network. Finite element simulation is performed based on the Ludwik model and a database is established. The neural network is trained with a pair of randomly selected input and output vectors. Through the training process, the neural network can learn the approximate relationship between the input and output data. Then, the material parameters are found through an optimization program to minimize the error between the experimental observation value and the neural network simulation prediction value. In order to achieve the above purpose, the invention adopts the following technical solutions:
[0019] The Ludwik model was used to establish a neural network, and the force-depth indentation curve was analyzed by the neural network to calculate the mechanical properties of austenitic stainless steel.
[0020] The specific steps of the method are:
[0021] 1) Establish Ludwik model;
[0022] 2) Establishing a finite element simulation analysis database: In order to establish a neural network database, Ansys finite element software is used for simulation calculation;
[0023] 3) Create a neural network;
[0024] 4) Neural network training: The neural network is trained with a randomly selected pair of material parameter input and force-depth indentation curve output vector; through the training process, the neural network can learn the approximate relationship between the input and output data;
[0025] 5) Identify material parameters: Use an optimization program to find material parameters that minimize the error between experimental observations and neural network simulation predictions.
[0026] In the step 1), the specific steps are:
[0027] The Ludwik model is σ=σ y +Kε n , where σ is stress, σ y is the yield strength, K is the strain hardening constant, ε is the strain, and n is the strain hardening exponent. Using the above model to simulate, through σ y The three parameters , K, and n can simulate the uniaxial stress-strain curve of austenitic steel.
[0028] In the step 2), the specific method is:
[0029] Use different material parameters to establish a finite element analysis database; for a given material parameter p i , it is necessary to simulate the force-depth curve F(u,p i ) and residual indentation diameter; the relevant data are stored in a database and used to train the neural network;
[0030] The database structure is shown in Table 3; 1 ,···,u m represents m discrete depth values, p 1 ,···,p n is a set of n material parameters; each row in Table 3 represents a so-called training pattern, F(u,p i ) is the force of the corresponding mode; before training the network, it needs to be normalized, denotes the normalized value; for n parameters, they are systematically varied in k steps, performing k n finite element simulations; each simulation provides an indentation curve Ph as m versus force and depth, and finally gives mk n Training modes:
[0031] Table 3 Database structure
[0032]
[0033]
[0034] In the step 2), the specific method of normalization is: using the following formula to normalize the indentation depth u, force F and material parameter p i Normalization processing;
[0035]
[0036]
[0037]
[0038] Where L = lower limit, U = upper limit, in = standardization of input data, out = standardization of output data;
[0039] The upper and lower values for depth u, force F, input in and output out are summarized in Table 4.
[0040] Table 4 Upper and lower limits of depth u, force F, input in and output out
[0041] <![CDATA[u L ]]> <![CDATA[u U ]]> <![CDATA[F L ]]> <![CDATA[F U ]]> <![CDATA[in L ]]> <![CDATA[in U ]]> <![CDATA[out L ]]> <![CDATA[out U ]]> 0(μm) <![CDATA[d max (μm)]]> 0(N) <![CDATA[20×d max (N)]]> -0.25 0.25 0.25 0.75
[0042] In the step 3), the specific method is: the sum of the deviation matrix b and W×P is n, which is passed to the transfer function f to obtain the output matrix a of the neuron; wherein P is an input matrix with a dimension of R×1, W is a weight matrix with a dimension of S×R, and b is a deviation matrix with a dimension of S×1;
[0043] a=f(W×P+b) (6)
[0044] Matlab provides the newff function to create a neural network; using P as the parameter matrix and T as the target matrix, a single-layer network consisting of 20 neurons is created as follows:
[0045] net=newff(P,T,20) (7)
[0046] We created a three-layer neural network net 0 ,net 1 and net 2 ,
[0047] net 0 =newff(P 0 ,T 0 ,20) (8a)
[0048] net 1 =newff(P 1 ,T 1 ,20) (8b)
[0049] net 2 =newff(P 2 ,T 2 ,20) (8c)
[0050] Where: P 0 is the depth of the loaded part, P 1 Depth of unloaded section, P 2 is the depth at the beginning of the unloading point; T 0 is the loading force, T 1 is the force of the unloading part, T 2 is the contact radius;
[0051] Parameter Matrix P 0 ,P 1 , P 2 is the input matrix; the target matrix T 0 , T 1 , T 2 is the output matrix.
[0052] In the step 4), the specific method is:
[0053] 4.1) Neural network training: In Matlab, the Levenberg-Marquardt algorithm is used to solve the adjustment weight matrix W and the bias matrix b. Specifically, the training samples are divided into three parts, 60% for determining the W matrix and the b matrix, 20% for testing its accuracy, and 20% for verifying its effectiveness.
[0054] [net i,tr]=train(net i ,P i ,T i ) (9)
[0055] net.divideParam.trainRatio=0.6
[0056] net.divideParam.testRatio=0.2
[0057] net.divideParam.valRatio=0.2
[0058] Among them, P is the parameter matrix, T is the target matrix, and net is the neural network;
[0059] After pre-training the network, the results are stored in the Matlab.m file. When the Matlab function sim is called for simulation, the .m file is read to provide the trained data.
[0060] 4.2) Simulation of neural network: After training, the neural network has intelligence and can be used for simulation; the Matlab simulation function is sim, and the neural network has intelligence after training and can be used for simulation; the Matlab simulation function is sim, and the formula is
[0061] output i =sim(net i ,input i ) (10)
[0062] Among them, input is input, output is output, and net is the neural network;
[0063] In the step 5), the specific method is: the yield strength σ of the austenitic stainless steel to be solved is y , strain hardening exponent n, strain hardening constant K, elastic modulus E are used as inputs of the neural network and the force-depth curve is output;
[0064] Through dual criteria: considering both Ph indentation curve fitting and stress-strain curve matching as optimization criteria:
[0065] err=∑ min [F(h)-F'(h,p)] (11)
[0066] err=∑ min [σ r (h)-σ(h,p)] (12)
[0067] Where F(h) is the force-depth curve measured experimentally, and F'(h,p) is the force-depth curve calculated by the neural network; σ r (h) is the characteristic stress converted from the experimentally measured force-depth curve, and σ(h,p) is the intrinsic stress calculated by the neural network;
[0068] The nonlinear minimization function lsqnonlin in the Matlab optimization toolbox is used to make the sum of square errors converge to the minimum value, thereby obtaining the actual yield strength σ of austenitic stainless steel. y , strain hardening exponent n, strain hardening constant K, elastic modulus E.
[0069] Beneficial effects of the invention: Compared with the prior art, the technical solution provided by the invention has the following beneficial effects:
[0070] The invention uses a method for calculating the mechanical properties of austenitic stainless steel by using a neural network, which has the advantages of higher accuracy than the stress-strain characterization method and faster calculation speed and higher efficiency than the finite element simulation method. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] Figure 1 It is the uniaxial tensile curve of 304 austenitic stainless steel;
[0072] Figure 2 It is the stress-strain curve of 304 austenitic stainless steel in double logarithmic coordinates;
[0073] Figure 3 This is the meshing diagram of Ansys finite element simulation;
[0074] Figure 4 It is a multi-cycle indentation curve of 304 austenitic stainless steel;
[0075] Figure 5 It is a single-layer neural network creation graph;
[0076] Figure 6 It is a flowchart of the neural network training method;
[0077] Figure 7 Graph of the calculation results of the neural network method. DETAILED DESCRIPTION
[0078] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments.
[0079] The Ludwik model is used to establish a neural network, and the force-depth indentation curve is analyzed by the neural network to calculate the mechanical properties of austenitic stainless steel. The specific steps are:
[0080] 1) Establish Ludwik model;
[0081] The specific steps are: Ludwik model is σ=σ y +Kε n , where σ is stress, σ y is the yield strength, K is the strain hardening constant, ε is the strain, and n is the strain hardening exponent. Using the above model to simulate, through σ y The three parameters , K, and n can simulate the uniaxial stress-strain curve of austenitic steel.
[0082] 2) Establishing a finite element simulation analysis database: In order to establish a neural network database, Ansys finite element software is used for simulation calculation;
[0083] The specific method is: using different material parameters to establish a finite element analysis database; for a given material parameter p i , it is necessary to simulate the force-depth curve F(u,p i ) and residual indentation diameter; the relevant data are stored in a database and used to train the neural network;
[0084] The database structure is shown in Table 3; 1 ,···,u m represents m discrete depth values, p 1 ,···,p n is a set of n material parameters; each row in Table 3 represents a so-called training pattern, F(u,p i ) is the force of the corresponding mode; before training the network, it needs to be normalized, denotes the normalized value; for n parameters, they are systematically varied in k steps, performing k n finite element simulations; each simulation provides an indentation curve Ph as m versus force and depth, and finally gives mk n Training modes:
[0085] Table 3 Database structure
[0086]
[0087] The specific method of normalization is: use the following formula to normalize the indentation depth u, force F and material parameter p i Normalization processing;
[0088]
[0089]
[0090]
[0091] Where L = lower limit, U = upper limit, in = standardization of input data, out = standardization of output data;
[0092] The upper and lower values for depth u, force F, input in and output out are summarized in Table 4.
[0093] Table 4 Upper and lower limits of depth u, force F, input in and output out
[0094] <![CDATA[u L ]]> <![CDATA[u U ]]> <![CDATA[F L ]]> <![CDATA[F U ]]> <![CDATA[in L ]]> <![CDATA[in U ]]> <![CDATA[out L ]]> <![CDATA[out U ]]> 0(μm) <![CDATA[d max (μm)]]> 0(N) <![CDATA[20×d max (N)]]> -0.25 0.25 0.25 0.75
[0095] 3) Create a neural network;
[0096] The specific method is: the sum of the bias matrix b and W×P is n, which is passed to the transfer function f to obtain the output matrix a of the neuron; where P is the input matrix with a dimension of R×1, W is the weight matrix with a dimension of S×R, and b is the bias matrix with a dimension of S×1;
[0097] a=f(W×P+b) (6)
[0098] Matlab provides the newff function to create a neural network; using P as the parameter matrix and T as the target matrix, a single-layer network consisting of 20 neurons is created as follows:
[0099] net=newff(P,T,20) (7)
[0100] We created a three-layer neural network net 0 ,net 1 and net 2 ,
[0101] net 0 =newff(P 0 ,T 0 ,20) (8a)
[0102] net 1 =newff(P 1 ,T 1 ,20) (8b)
[0103] net 2 =newff(P 2 ,T 2 ,20) (8c)
[0104] Where: P 0 is the depth of the loaded part, P 1 Depth of unloaded section, P 2 is the depth at the beginning of the unloading point; T 0is the loading force, T 1 is the force of the unloading part, T 2 is the contact radius;
[0105] Parameter Matrix P 0 ,P 1 , P 2 is the input matrix; the target matrix T 0 , T 1 , T 2 is the output matrix.
[0106] 4) Neural network training: The neural network is trained with a randomly selected pair of material parameter input and force-depth indentation curve output vector; through the training process, the neural network can learn the approximate relationship between the input and output data;
[0107] The specific method is:
[0108] 4.1) Neural network training: In Matlab, the Levenberg-Marquardt algorithm is used to solve the adjustment weight matrix W and the bias matrix b. Specifically, the training samples are divided into three parts, 60% for determining the W matrix and the b matrix, 20% for testing its accuracy, and 20% for verifying its effectiveness.
[0109] [net i ,tr]=train(net i ,P i ,T i ) (9)
[0110] net.divideParam.trainRatio=0.6
[0111] net.divideParam.testRatio=0.2
[0112] net.divideParam.valRatio=0.2
[0113] Among them, P is the parameter matrix, T is the target matrix, and net is the neural network;
[0114] After pre-training the network, the results are stored in the Matlab.m file. When the Matlab function sim is called for simulation, the .m file is read to provide the trained data.
[0115] 4.2) Simulation of neural network: After training, the neural network has intelligence and can be used for simulation; the Matlab simulation function is sim, and the neural network has intelligence after training and can be used for simulation; the Matlab simulation function is sim, and the formula is
[0116] output i =sim(net i ,input i ) (10)
[0117] Among them, input is input, output is output, and net is the neural network.
[0118] 5) Identify material parameters: Use an optimization program to find material parameters that minimize the error between experimental observations and neural network simulation predictions;
[0119] The specific method is: the yield strength σ of austenitic stainless steel to be solved y , strain hardening exponent n, strain hardening constant K, elastic modulus E are used as inputs of the neural network and the force-depth curve is output;
[0120] Through dual criteria: considering both Ph indentation curve fitting and stress-strain curve matching as optimization criteria:
[0121] err=∑ min [F(h)-F'(h,p)] (11)
[0122] err=∑ min [σ r (h)-σ(h,p)] (12)
[0123] Where F(h) is the force-depth curve measured experimentally, and F'(h,p) is the force-depth curve calculated by the neural network; σ r (h) is the characteristic stress converted from the experimentally measured force-depth curve, and σ(h,p) is the intrinsic stress calculated by the neural network;
[0124] The nonlinear minimization function lsqnonlin in the Matlab optimization toolbox is used to make the sum of square errors converge to the minimum value, thereby obtaining the actual yield strength σ of austenitic stainless steel. y , strain hardening exponent n, strain hardening constant K, elastic modulus E.
[0125] Embodiment 1:
[0126] The experimental results show that Figure 4 Take the force-depth indentation curve shown in the figure as an example, the results calculated by the neural network method are as follows Figure 7 The results of the neural network method and the uniaxial test are compared, as shown in Table 3. The yield strength, tensile strength, strain hardening index and elastic modulus mechanical properties of 304 austenitic stainless steel are calculated using the neural network method. The deviation between the calculation results of the neural network method and the uniaxial tensile test results is small and the accuracy is high.
[0127] Table 5 Comparison of neural network test results and uniaxial tensile test results
[0128] Mechanical properties Uniaxial tensile test value Neural network test value error <![CDATA[Yield strength σ y / MPa]]> 315 314 -0.32% <![CDATA[Tensile strength σ u / MPa]]> 735 788 7.21% Strain hardening exponent n 0.49 0.556 5 13.57% Elastic modulus E / MPa 192 000 194 750 1.43%
Claims
1. A method for calculating the mechanical properties of austenitic stainless steel using neural networks. It is characterized in that The Ludwik model was used to establish a neural network, and the force-depth indentation curve was analyzed by the neural network to calculate the mechanical properties of austenitic stainless steel. The steps are: 1) Establish Ludwik model; The Ludwik model is σ=σ y +Kε n , where σ is stress, σ y is the yield strength, K is the strain hardening constant, ε is the strain, and n is the strain hardening exponent. Using the above model to simulate, through σ y , K, and n are three parameters that can simulate the uniaxial stress-strain curve of austenitic steel; 2) Establishing a finite element simulation analysis database: In order to establish a neural network database, Ansys finite element software is used for simulation calculation; 3) Create a neural network; 4) Neural network training: The neural network is trained with a randomly selected pair of material parameter inputs and force-depth indentation curve output vectors; through the training process, the neural network is able to learn the approximate relationship between the input and output data; 5) Identify material parameters: find material parameters through optimization program to minimize the error between experimental observations and neural network simulation predictions; the specific method is: the yield strength σ of austenitic stainless steel to be solved y , strain hardening exponent n, strain hardening constant K, and elastic modulus E are used as inputs of the neural network, and the force-depth indentation curve is output; Through dual criteria: considering both Ph indentation curve fitting and stress-strain curve matching as optimization criteria: err=∑ min [F(h)-F'(h,p)] (11) err=∑ min [s r (h)-σ(h,p)] (12) Where F(h) is the force-depth curve measured experimentally, and F'(h,p) is the force-depth curve calculated by the neural network; σ r (h) is the characteristic stress converted from the experimentally measured force-depth curve, and σ(h,p) is the intrinsic stress calculated by the neural network; The nonlinear minimization function lsqnonlin in the Matlab optimization toolbox is used to make the sum of square errors converge to the minimum value, thereby obtaining the actual yield strength σ of austenitic stainless steel. y , strain hardening exponent n, strain hardening constant K, elastic modulus E.
2. A method for calculating the mechanical properties of austenitic stainless steel using a neural network according to claim 1, It is characterized in that In the step 2), the specific method is: Use different material parameters to establish a finite element analysis database; for a given material parameter p i , it is necessary to simulate the force-depth indentation curve F(u,p i ) and residual indentation diameter; Depth u, material performance parameters p i Force-depth indentation curve F(u,p i ) are stored in the database and used to train the neural network; The database structure is shown in Table 3; Table 3 Database structure L = lower limit, U = upper limit, u 1 ,…,u m represents m discrete depth values; p 1 ,…,p n is a set of n material parameters; each row in Table 3 represents a so-called training pattern, F(u,p i ) is the force of the corresponding mode; Before training the network, normalization is required. denotes the normalized value; for n parameters, they are systematically varied in k steps, performing k n finite element simulations; each simulation provides a Ph force-depth indentation curve as m versus force and depth, and finally gives mk n Training modes.
3. A method for calculating the mechanical properties of austenitic stainless steel using a neural network according to claim 2, It is characterized in that In the step 2), the specific method of normalization is: using the following formula to normalize the indentation depth u, force F and material parameter p i Normalization processing; Table 4 Upper and lower limits of depth u, force F, input in and output out Where L = lower limit, U = upper limit, in = normalization of input data, out = normalization of output data; for depth u, force F, upper and lower limits of input in and output out are summarized in Table 4.
4. The method for calculating the mechanical properties of austenitic stainless steel using a neural network according to claim 1, It is characterized in that In the step 3), the specific method is: the sum of the deviation matrix b and W×P is n, which is passed to the transfer function f to obtain the output matrix a of the neuron; Where P is the input matrix of dimension R×1, W is the weight matrix of dimension S×R, and b is the bias matrix of dimension S×1; a=f(W×P+b)(6) Matlab provides the newff function to create a neural network; using P as the parameter matrix and T as the target matrix, a single-layer network consisting of 20 neurons is created as follows: net=newff(P,T,20) (7) Created a three-layer neural network net 0 ,net 1 and net 2 , net 0 =newff(P 0 ,T 0 ,20) (8a) net 1 =newff(P 1 ,T 1 ,20) (8b) net 2 =newff(P 2 ,T 2 ,20) (8c) Where: P 0 is the depth of the loaded part, P 1 is the depth of the unloading part, P 2 is the depth at the beginning of the unloading point; T 0 is the force of the loaded part, T 1 is the force of the unloading part, T 2 is the contact radius; Parameter Matrix P 0 ,P 1 , P 2 is the input matrix; the target matrix T 0 , T 1 , T 2 is the output matrix.
