CN115588470A - Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network - Google Patents

Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network Download PDF

Info

Publication number
CN115588470A
CN115588470A CN202211332683.1A CN202211332683A CN115588470A CN 115588470 A CN115588470 A CN 115588470A CN 202211332683 A CN202211332683 A CN 202211332683A CN 115588470 A CN115588470 A CN 115588470A
Authority
CN
China
Prior art keywords
groups
stress
crystal
neural network
true
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202211332683.1A
Other languages
Chinese (zh)
Inventor
管志平
王帅帅
郁咏森
李金钊
宋家旺
贾红杰
管晓芳
任明文
赵泼
王桂英
高丹
马品奎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jilin University
Original Assignee
Jilin University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jilin University filed Critical Jilin University
Priority to CN202211332683.1A priority Critical patent/CN115588470A/en
Publication of CN115588470A publication Critical patent/CN115588470A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16CCOMPUTATIONAL CHEMISTRY; CHEMOINFORMATICS; COMPUTATIONAL MATERIALS SCIENCE
    • G16C20/00Chemoinformatics, i.e. ICT specially adapted for the handling of physicochemical or structural data of chemical particles, elements, compounds or mixtures
    • G16C20/70Machine learning, data mining or chemometrics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/23Design optimisation, verification or simulation using finite element methods [FEM] or finite difference methods [FDM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2119/00Details relating to the type or aim of the analysis or the optimisation
    • G06F2119/14Force analysis or force optimisation, e.g. static or dynamic forces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Medical Informatics (AREA)
  • Geometry (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Databases & Information Systems (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Crystallography & Structural Chemistry (AREA)
  • Chemical & Material Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Molecular Biology (AREA)
  • Mathematical Physics (AREA)
  • Complex Calculations (AREA)

Abstract

The invention provides a crystal plasticity constitutive parameter calibration method based on a two-channel convolutional neural network, which comprises the following steps: firstly, establishing a magnesium alloy model by using Neper software, then establishing a magnesium alloy model with a texture by using MTEX, and then establishing a crystal plasticity simulation file by using Python; inputting the crystal plasticity simulation file into DAMASK simulation software for simulation to obtain an IPF (intrinsic stress) -true strain coordinate data and an IPF diagram; then cutting the IPF graph to obtain the IPF S Drawing (1) toDrawing a true stress-true strain curve graph by using true stress-true strain coordinate data; then carrying out normalization processing on constitutive parameters; IPF S The method comprises the steps of taking a graph and a true stress-true strain curve graph as input, taking normalized constitutive parameters as output, and establishing a universal two-channel convolution neural network model for calibrating crystal plastic constitutive parameters through training, wherein the degree of fitting between the parameters calibrated by the model and the parameters measured by experiments is more than 99%; the method provided by the invention has high efficiency and good accuracy, and is superior to the traditional algorithm.

Description

基于双通道卷积神经网络的晶体塑性本构参数标定方法Calibration Method of Crystal Plastic Constitutive Parameters Based on Dual-Channel Convolutional Neural Network

技术领域technical field

本发明属于金属材料性能检测领域,具体涉及基于双通道卷积神经网络的晶体塑性本构参数标定方法。The invention belongs to the field of performance detection of metal materials, and in particular relates to a method for calibrating constitutive parameters of crystal plasticity based on a double-channel convolutional neural network.

背景技术Background technique

晶体塑性是晶体材料变形的重要计算工具,可模拟介观尺度的金属变形过程,包括晶粒取向、晶粒扭转、织构变化等,在材料研究领域应用越来越广泛。但是由于晶体塑性涉及材料本构参数众多,其参数识别与标定具有难度和挑战性。晶体塑性本构参数传统识别方法主要采用遗传算法、粒子群算法、模拟退火等优化方法,优化工作耗时长、效率低、试错成本高,需要操作人员对优化算法具有较深的理解和一定的使用经验。因此,亟需建立一种针对晶体塑性本构参数的标定方法,能够显著减小优化算法工作量,提高优化效率。Crystal plasticity is an important calculation tool for the deformation of crystalline materials. It can simulate the metal deformation process at the mesoscopic scale, including grain orientation, grain twist, texture change, etc. It is more and more widely used in the field of material research. However, since crystal plasticity involves many constitutive parameters of materials, its parameter identification and calibration are difficult and challenging. The traditional identification methods of crystal plastic constitutive parameters mainly use genetic algorithm, particle swarm algorithm, simulated annealing and other optimization methods. The optimization work takes a long time, low efficiency, and high trial and error costs. Operators need to have a deep understanding of the optimization algorithm and certain Experience. Therefore, it is urgent to establish a calibration method for crystal plastic constitutive parameters, which can significantly reduce the workload of optimization algorithms and improve optimization efficiency.

发明内容Contents of the invention

基于此,本发明提供了一种基于双通道卷积神经网络的晶体塑性本构参数标定方法,它包括以下步骤:Based on this, the present invention provides a method for calibrating constitutive parameters of crystal plasticity based on dual-channel convolutional neural network, which includes the following steps:

(1)使用Neper软件建立镁合金模型:向Neper软件输入m组参数x和y,其中x和y分别代表晶粒的随机分布和晶粒圆整度,m的取值范围为100-100000且为整数,x的取值范围为0-1,y的取值范围为0.3-1.0,获得m组镁合金模型,记为m组(x,y),每组(x,y)的模型如矩阵1所示;(1) Use Neper software to establish a magnesium alloy model: input m group parameters x and y to Neper software, wherein x and y represent the random distribution of grains and the roundness of grains respectively, and the value range of m is 100-100000 and is an integer, the value range of x is 0-1, and the value range of y is 0.3-1.0, and the magnesium alloy model of group m is obtained, which is recorded as group m (x, y), and the model of each group (x, y) is as follows Shown in matrix 1;

矩阵1matrix 1

Figure BDA0003914194790000011
Figure BDA0003914194790000011

Figure BDA0003914194790000012
Figure BDA0003914194790000012

Figure BDA0003914194790000013
Figure BDA0003914194790000013

i为1、2或3中的一种;i is one of 1, 2 or 3;

(2)使用Matlab的工具箱MTEX建立添加织构的镁合金模型:设立m组d,e,f,g,h,k参数,d,e,f,g,h,k分别代表步骤(1)中所述镁合金的六种不同织构强度,d,e,f,g,h,k的取值范围均为0-1,且d+e+f+g+h+k=1;将m组d,e,f,g,h,k参数和步骤(1)获得的m组(x,y)输入到MTEX中,通过MTEX的Bunge公式运算,获得m组添加织构的镁合金模型(d,e,f,g,h,k)(x,y),记为m组(d,e,f,g,h,k)(x,y),每组(d,e,f,g,h,k)(x,y)数据模型如矩阵2所示;(2) Use the toolbox MTEX of Matlab to establish the magnesium alloy model with added texture: set up m group d, e, f, g, h, k parameters, d, e, f, g, h, k represent steps (1 ) of the six different texture strengths of magnesium alloys, the value ranges of d, e, f, g, h, k are all 0-1, and d+e+f+g+h+k=1; Input the m group d, e, f, g, h, k parameters and the m group (x, y) obtained in step (1) into MTEX, and use the Bunge formula of MTEX to obtain the m group added texture magnesium alloy Model (d, e, f, g, h, k) (x, y), recorded as m groups (d, e, f, g, h, k) (x, y), each group (d, e, The data model of f, g, h, k)(x, y) is shown in matrix 2;

矩阵2Matrix 2

Figure BDA0003914194790000021
Figure BDA0003914194790000021

(3)使用Python获得m组晶体塑性模拟文件:选取晶体塑性本构16个参数:基面滑移临界分切应力T1、柱面滑移临界分切应力T2、锥面<a>滑移临界分切应力T3、锥面<c+a>滑移临界分切应力T4、基面滑移饱和滑移分切应力T5、柱面滑移饱和滑移分切应力T6、锥面<a>滑移饱和滑移分切应力T7、锥面<c+a>滑移饱和滑移分切应力T8、拉伸孪晶临界分切应力T9、压缩孪晶临界分切应力T10、孪生与孪生的初始硬化模量T11、滑移与滑移的初始硬化模量T12、滑移和孪生的初始硬化模量T13、滑动应变率敏感参数T14、孪生应变率敏感性参数T15、滑移硬化参数T16;T1的范围为5-80,T2的范围为10-150,T3的范围为20-200,T4的范围为50-500,T5的范围为10-160,T6的范围为20-300,T7的范围为40-400,T8的范围为100-1000,T9的范围为5-250,T10的范围为10-400,T11的范围为10-500,T12的范围为50-3000,T13的范围为50-1200,T14的范围为1-15,T15的范围为5-80,T16的范围为0.5-10;在上述范围内设计m组T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,将每一组T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16通过Python添加到步骤(2)的一组镁合金模型(d,e,f,g,h,i)(x,y)中后,获得一组晶体塑性模拟文件,最终获得m组晶体塑性模拟文件,每组晶体塑性模拟文件形式如矩阵3所示;(3) Use Python to obtain m groups of crystal plasticity simulation files: select 16 parameters of crystal plasticity constitutive: basal plane slip critical shear stress T1, cylinder slip critical shear stress T2, conical surface <a> slip critical Slitting stress T3, critical slitting stress T4 of conical surface <c+a> slip, basal surface slip saturated slip slitting stress T5, cylindrical slip saturated slip slitting stress T6, conical surface <a> slip Saturated slip shear stress T7, cone surface <c+a> slip saturated slip shear stress T8, tensile twin critical shear stress T9, compression twin critical shear stress T10, initial twinning and twinning Hardening modulus T11, initial hardening modulus T12 of slip and slip, initial hardening modulus T13 of slip and twinning, sliding strain rate sensitive parameter T14, twinning strain rate sensitive parameter T15, slip hardening parameter T16; T1 The range of T2 is 5-80, the range of T2 is 10-150, the range of T3 is 20-200, the range of T4 is 50-500, the range of T5 is 10-160, the range of T6 is 20-300, the range of T7 40-400, the range of T8 is 100-1000, the range of T9 is 5-250, the range of T10 is 10-400, the range of T11 is 10-500, the range of T12 is 50-3000, and the range of T13 is 50 -1200, the range of T14 is 1-15, the range of T15 is 5-80, and the range of T16 is 0.5-10; within the above range design m groups T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, each group T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, After T16 is added to a set of magnesium alloy models (d, e, f, g, h, i) (x, y) in step (2) through Python, a set of crystal plasticity simulation files is obtained, and finally m sets of crystal plasticity are obtained Simulation files, the form of each group of crystal plasticity simulation files is shown in matrix 3;

矩阵3Matrix 3

Figure BDA0003914194790000022
Figure BDA0003914194790000022

(4)通过模拟获得IPF图和模拟的真应力-真应变坐标数据:采用DAMASK作为晶体塑性有限元模拟软件,输入步骤(3)获得的晶体塑性模拟文件进行晶体塑性有限元模拟,将步骤(3)中m组晶体塑性模拟文件输入到DAMASK软件中进行m组模拟,DAMASK模拟遵循晶体塑性本构方程组,模拟完成后获得m组模拟结果,使用Python对m组模拟结果进行后处理,获得m组镁合金的IPF图和m组模拟的真应力-真应变坐标数据;(4) Obtain the IPF diagram and the simulated true stress-true strain coordinate data through simulation: DAMASK is used as the crystal plasticity finite element simulation software, and the crystal plasticity simulation file obtained in step (3) is input for the crystal plasticity finite element simulation, and the step ( 3) Input the m group of crystal plasticity simulation files into DAMASK software for m group simulation. DAMASK simulation follows the crystal plasticity constitutive equations. After the simulation is completed, the m group simulation results are obtained. Use Python to post-process the m group simulation results to obtain The IPF diagram of group m magnesium alloy and the simulated true stress-true strain coordinate data of group m;

所述的晶体塑性本构方程组:The described crystal plasticity constitutive equations:

Figure BDA0003914194790000031
Figure BDA0003914194790000031

Figure BDA0003914194790000032
Figure BDA0003914194790000032

Figure BDA0003914194790000033
为晶体塑性剪切速率,值为1,
Figure BDA0003914194790000033
is the crystal plastic shear rate, the value is 1,

Figure BDA0003914194790000034
为初始剪切速率,值为0.001,
Figure BDA0003914194790000034
is the initial shear rate, the value is 0.001,

n为拉伸和压缩孪晶的初始硬化模量,n为T9,T10中的一种,n is the initial hardening modulus of tension and compression twins, n is one of T9 and T10,

Figure BDA0003914194790000035
为临界分切应力,
Figure BDA0003914194790000036
代表4个不同滑移系的临界分切应力,
Figure BDA0003914194790000037
为T1,T2,T3,T4中的一种,
Figure BDA0003914194790000035
is the critical shear stress,
Figure BDA0003914194790000036
represents the critical shear stress of four different slip systems,
Figure BDA0003914194790000037
One of T1, T2, T3, T4,

h0为3个不同的滑移系之间、滑移系与孪生系之间的初始硬化模量值,h0为T11,T12,T13中的一种,h 0 is the initial hardening modulus value between three different slip systems, between slip systems and twin systems, h 0 is one of T11, T12, T13,

Figure BDA0003914194790000038
为4个不同滑移系的饱和滑移分切应力,
Figure BDA0003914194790000039
为T5,T6,T7,T8中的一种,
Figure BDA0003914194790000038
is the saturated slip shear stress of four different slip systems,
Figure BDA0003914194790000039
One of T5, T6, T7, T8,

qαβ是不同的滑移系α和β之间的系数,qαβ为T14,T15,T16中的一种,q αβ is the coefficient between different slip systems α and β, q αβ is one of T14, T15, T16,

Hαβ为总硬化模量;H αβ is the total hardening modulus;

(5)使用Python获得IPFs图和真应力-真应变曲线图,并且对晶体塑性本构参数进行归一化:将步骤(3)中的m组16个晶体塑性本构参数T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16分别进行归一化获得m组归一化后的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,使用Python将步骤(4)中的m组模拟的真应力-真应变坐标数据绘制为m组真应力-真应变曲线图,将步骤(4)中的m组IPF图裁剪为标准50x50像素的m组标准IPF图,记为m组IPFs图;最终获得m组晶体塑性数据集,所述的每组数据集为:IPFs图、真应力-真应变曲线图以及归一化后的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16;(5) Use Python to obtain the IPFs diagram and the true stress-true strain curve diagram, and normalize the crystal plastic constitutive parameters: the m group of 16 crystal plastic constitutive parameters T1, T2, T3 in step (3) , T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 are normalized respectively to obtain m group normalized t1, t2, t3, t4, t5, t6 , t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, use Python to draw the m sets of simulated true stress-true strain coordinate data in step (4) as m sets of true stress-true strain Curve diagram, the m group IPF figure in the step (4) is cut into the m group standard IPF figure of standard 50x50 pixel, is recorded as the m group IPFs figure; finally obtains the m group crystal plasticity data set, and each described data set is : IPFs diagram, true stress-true strain curve diagram and normalized t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16;

所述的归一化公式为:The normalization formula described is:

Figure BDA00039141947900000310
Figure BDA00039141947900000310

Wnorm为t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16参数中的一种,W norm is one of t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16 parameters,

W为T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16参数中的一种,W is one of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 parameters,

Wmin为m组参数中最小数,W min is the smallest number in the m group of parameters,

Wmax为m组参数中最大数;W max is the largest number in the m group of parameters;

由此,建立了IPFs图和真应力-真应变曲线图与对应归一化本构参数的大数据样本;As a result, IPFs diagrams, true stress-true strain curve diagrams and large data samples of corresponding normalized constitutive parameters were established;

(6)训练双通道卷积神经网络模型:将步骤(5)所述的m组IPFS图和真应力-真应变曲线图作为训练双通道卷积神经网络模型的输入,将步骤(5)所述m组的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16作为神经网络的输出,制作双通道卷积神经网络模型,以5:1-30:1比例随机分成p组训练集和q组验证集;所述的双通道卷积神经网络模型包括:5层alxnet模型卷积层,3个全连接层;所述的卷积层为:将训练集中的p组IPFS图和真应力-真应变曲线图输入到卷积层中,经过卷积层的卷积运算后,将图像抽象为特征图,p组IPFS图经过5层卷积层处理后获得p组特征图1,p组真应力-真应变曲线图经过5层卷积层处理后获得p组特征图2,将p组特征图1和p组特征图2合并输入全连接层处理;所述的全连接层处理为:通过含有权值和偏置的正向传播公式计算获得p组输出值,所述的权值和偏置是随机的,其中权值的范围为1-2,偏置的范围为10-20,其中每组输出值为:t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’,然后计算p组t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’与训练集中的p组t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16之间的整体误差;然后根据整体误差重新计算权值和偏置,再重新采用正向传播公式进行计算,往复循环,直至整体误差在0.2%-1%后结束训练,获得训练完成的双通道卷积神经网络模型;其中所述双通道卷积神经网络模型的初始学习率设置为0.00001-0.01,学习次数为1000-3000次;训练完成的双通道卷积神经网络模型对于p组训练集的整体误差为0.2%-1%,训练完成的双通道卷积神经网络模型对于q组验证集的整体误差为0.4%-1.1%;(6) training dual-channel convolutional neural network model: with the m group IPF S figure and true stress-true strain curve figure described in step (5) as the input of training dual-channel convolutional neural network model, step (5) The t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16 of the m group are used as the output of the neural network to make a dual-channel convolutional neural network model , be randomly divided into p group training set and q group verification set with 5:1-30:1 ratio; Described dual-channel convolutional neural network model comprises: 5 layers of alxnet model convolution layers, 3 fully connected layers; Described The convolutional layer is: input p groups of IPF S diagrams and true stress-true strain curves in the training set into the convolutional layer, after the convolution operation of the convolutional layer, the image is abstracted into a feature map, p groups of IPF After the S map is processed by 5 layers of convolutional layers, the characteristic map 1 of group p is obtained, and the true stress-true strain curve of group p is processed by 5 layers of convolutional layers to obtain the characteristic map 2 of group p. Feature map 2 merges input fully connected layer processing; described fully connected layer processing is: obtain p group of output values by calculating the forward propagation formula containing weights and offsets, the weights and offsets are random, The range of weight is 1-2, the range of bias is 10-20, and the output value of each group is: t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16', then calculate p groups t1', t2', t3', t4', t5', t6', t7', t8 ', t9', t10', t11', t12', t13', t14', t15', t16' with p groups t1, t2, t3, t4, t5, t6, t7, t8, t9, t10 in the training set , the overall error between t11, t12, t13, t14, t15, and t16; then recalculate the weight and bias according to the overall error, and then recalculate using the forward propagation formula, and reciprocate until the overall error is 0.2%- Finish training after 1%, obtain the dual-channel convolutional neural network model that training is completed; Wherein the initial learning rate of described dual-channel convolutional neural network model is set to 0.00001-0.01, and the number of learning is 1000-3000 times; The dual-channel convolutional neural network model that training is completed The overall error of the channel convolutional neural network model for the p-group training set is 0.2%-1%, and the overall error of the trained dual-channel convolutional neural network model for the q-group verification set is 0.4%-1.1%;

所述的整体误差公式为:The overall error formula is:

Figure BDA0003914194790000041
Figure BDA0003914194790000041

p为训练集组数,p is the number of training set groups,

σ为整体误差,σ is the overall error,

ν为正整数,取值为1-16,ν is a positive integer, the value is 1-16,

t′v为t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’中的一种,t' v for t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16 one of ',

tv为t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16中的一种,t v is one of t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16,

所述整体误差与权值、偏置计算公式:The overall error, weight, and offset calculation formula:

σ=WT+bσ= WT +b

σ为整体误差,σ is the overall error,

W为权值,W is the weight,

T为转置符号,T is the transpose symbol,

b为偏置。b is the bias.

进一步地,所述的镁合金为AZ31、AZ61、AZ91、ZK60或AM60中的一种;Further, the magnesium alloy is one of AZ31, AZ61, AZ91, ZK60 or AM60;

本发明的有益效果:Beneficial effects of the present invention:

机器学习在机器视觉、语音识别等宏观领域得到应用,但少见关于其在微观领域的应用,本发明采用机器学习中的卷积神经网络作为解决非线性问题的工具,利用其较高的效率与智能优势,借用当前机器学习的先进算法,基于大数据建立晶体塑性本构参数标定的卷积神经网络模型,有效改变当前晶体塑性本构参数标定的低效率获取和依赖优化算法状况等问题。Machine learning is applied in the macroscopic fields such as machine vision and speech recognition, but it is rarely used in the microscopic field. The present invention adopts the convolutional neural network in machine learning as a tool for solving nonlinear problems, and utilizes its higher efficiency and Intelligent advantages, borrowing the current advanced algorithm of machine learning, based on big data to establish a convolutional neural network model for the calibration of crystal plastic constitutive parameters, effectively changing the current problems of low-efficiency acquisition and reliance on optimization algorithms for crystal plastic constitutive parameter calibration.

本发明通过构建IPFs图和真应力-真应变曲线图与对应归一化本构参数的大数据样本,使用IPFs图和真应力-真应变曲线图作为输入,归一化本构参数作为输出训练双通道卷积神经网络,训练完成的神经网络模型对于训练集的误差为0.2%-1%,对于验证集的误差为0.4%-1.1%;将本发明神经网络模拟获得的镁合金各向异性系数R’、断面缩减率和实验获得的镁合金各向异性系数R、断面缩减率进行对比分析,本发明获得的相关参数与实验获得的参数拟合程度为99.1-99.7%;相比于传统的遗传算法、粒子群算法、模拟退火等方法,本发明的优势在于能够一次性标定16个晶体塑性本构参数,标定速度快,标定准确率高,训练完成后的神经网络模型普适性高,能够适用于整个镁合金体系的晶体塑性本构参数的标定。The present invention uses the IPFs diagram and the true stress-true strain curve diagram as input and the normalized constitutive parameter as the output training by constructing the IPFs diagram and the true stress-true strain curve diagram and the large data samples corresponding to the normalized constitutive parameters Dual-channel convolutional neural network, the error of the trained neural network model for the training set is 0.2%-1%, and the error for the verification set is 0.4%-1.1%; the magnesium alloy anisotropy obtained by simulating the neural network of the present invention Coefficient R', section reduction rate and magnesium alloy anisotropy coefficient R, section reduction rate obtained by experiment are comparatively analyzed, and the relative parameter obtained by the present invention and the parameter fitting degree of experiment acquisition are 99.1-99.7%; Compared with traditional Genetic algorithm, particle swarm algorithm, simulated annealing and other methods, the advantage of the present invention is that it can calibrate 16 crystal plastic constitutive parameters at one time, the calibration speed is fast, the calibration accuracy is high, and the neural network model after training is highly universal , which can be applied to the calibration of crystal plastic constitutive parameters of the whole magnesium alloy system.

附图说明Description of drawings

图1为实施例1中步骤S6使用的双通道卷积神经网络模型图。FIG. 1 is a diagram of a dual-channel convolutional neural network model used in step S6 in Example 1.

具体实施方法Specific implementation method

下面结合具体实施例及附图对本发明作进一步说明。The present invention will be further described below in combination with specific embodiments and accompanying drawings.

实施例1Example 1

选择AZ31镁合金,通过建立双通道卷积神经网络标定AZ31镁合金晶体塑性本构参数的方法,包括以下步骤:Selecting the AZ31 magnesium alloy, the method of calibrating the crystal plastic constitutive parameters of the AZ31 magnesium alloy by establishing a dual-channel convolutional neural network includes the following steps:

S1、使用Neper软件建立AZ31镁合金模型,向Neper软件输入10000组参数x和y,其中x和y分别代表晶粒的随机分布和晶粒圆整度,x的取值范围为0.1-0.8,y的取值范围为0.3-0.9,获得10000组镁合金模型,记为10000组(x,y),每组(x,y)的模型如矩阵1所示;S1. Use Neper software to build an AZ31 magnesium alloy model, and input 10,000 sets of parameters x and y to the Neper software, where x and y represent the random distribution of grains and the roundness of grains, and the value range of x is 0.1-0.8, The value range of y is 0.3-0.9, and 10,000 sets of magnesium alloy models are obtained, which are recorded as 10,000 sets (x, y), and the model of each set (x, y) is shown in matrix 1;

矩阵1matrix 1

Figure BDA0003914194790000061
Figure BDA0003914194790000061

Figure BDA0003914194790000062
Figure BDA0003914194790000062

Figure BDA0003914194790000063
Figure BDA0003914194790000063

i为1、2或3中的一种;i is one of 1, 2 or 3;

S2、使用Matlab的工具箱MTEX建立添加织构的AZ31镁合金模型:设立10000组d,e,f,g,h,k参数,d,e,f,g,h,k分别代表步骤S1中所述镁合金的六种不同织构强度,d,e,f,g,h,k的取值范围均为0-1,且d+e+f+g+h+k=1;将10000组d,e,f,g,h,k参数和步骤S1获得的10000组(x,y)输入到MTEX中,通过MTEX的Bunge公式运算,获得10000组添加织构的镁合金模型(d,e,f,g,h,k)(x,y),记为10000组(d,e,f,g,h,k)(x,y),每组(d,e,f,g,h,k)(x,y)数据模型如矩阵2所示;S2. Use the toolbox MTEX of Matlab to establish the AZ31 magnesium alloy model with added texture: set up 10000 groups of d, e, f, g, h, k parameters, d, e, f, g, h, k respectively represent the steps in S1 The six different texture strengths of the magnesium alloy, the value ranges of d, e, f, g, h, k are all 0-1, and d+e+f+g+h+k=1; 10000 Group d, e, f, g, h, k parameters and 10000 groups (x, y) obtained in step S1 are input into MTEX, and 10000 groups of magnesium alloy models with added texture (d, e, f, g, h, k) (x, y), recorded as 10000 groups (d, e, f, g, h, k) (x, y), each group (d, e, f, g, h, k)(x, y) data model is shown in matrix 2;

矩阵2Matrix 2

Figure BDA0003914194790000064
Figure BDA0003914194790000064

S3、使用Python获得10000组晶体塑性模拟文件:选取晶体塑性本构16个参数:基面滑移临界分切应力T1、柱面滑移临界分切应力T2、锥面<a>滑移临界分切应力T3、锥面<c+a>滑移临界分切应力T4、基面滑移饱和滑移分切应力T5、柱面滑移饱和滑移分切应力T6、锥面<a>滑移饱和滑移分切应力T7、锥面<c+a>滑移饱和滑移分切应力T8、拉伸孪晶临界分切应力T9、压缩孪晶临界分切应力T10、孪生与孪生的初始硬化模量T11、滑移与滑移的初始硬化模量T12、滑移和孪生的初始硬化模量T13、滑动应变率敏感参数T14、孪生应变率敏感性参数T15、滑移硬化参数T16;T1的范围为5-40,T2的范围为10-100,T3的范围为20-100,T4的范围为50-250,T5的范围为10-100,T6的范围为20-150,T7的范围为40-200,T8的范围为100-500,T9的范围为5-150,T10的范围为10-200,T11的范围为10-250,T12的范围为50-1500,T13的范围为50-600,T14的范围为1-10,T15的范围为5-40,T16的范围为0.5-8;在上述范围内设计10000组T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16,将每一组T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16通过Python添加到步骤S2的一组镁合金模型(d,e,f,g,h,i)(x,y)中后,获得一组晶体塑性模拟文件,最终获得10000组晶体塑性模拟文件,每组晶体塑性模拟文件形式如矩阵3所示;S3. Use Python to obtain 10,000 sets of crystal plastic simulation files: select 16 parameters of the crystal plastic constitutive: basal plane slip critical shear stress T1, cylindrical slip critical shear stress T2, conical surface <a> slip critical split Shear stress T3, cone surface <c+a> slip critical shear stress T4, basal surface slip saturated slip shear stress T5, cylindrical slip saturated slip shear stress T6, cone surface <a> slip Saturated slip shear stress T7, cone surface <c+a> slip saturated slip shear stress T8, tensile twin critical shear stress T9, compression twin critical shear stress T10, initial hardening of twins and twins Modulus T11, initial hardening modulus T12 of slip and slip, initial hardening modulus T13 of slip and twinning, sliding strain rate sensitive parameter T14, twinning strain rate sensitive parameter T15, slip hardening parameter T16; The range is 5-40, the range of T2 is 10-100, the range of T3 is 20-100, the range of T4 is 50-250, the range of T5 is 10-100, the range of T6 is 20-150, and the range of T7 is 40-200, the range of T8 is 100-500, the range of T9 is 5-150, the range of T10 is 10-200, the range of T11 is 10-250, the range of T12 is 50-1500, and the range of T13 is 50- 600, the range of T14 is 1-10, the range of T15 is 5-40, and the range of T16 is 0.5-8; design 10000 groups of T1, T2, T3, T4, T5, T6, T7, T8, T9 within the above range , T10, T11, T12, T13, T14, T15, T16, each group T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 After adding to a set of magnesium alloy models (d, e, f, g, h, i) (x, y) in step S2 through Python, a set of crystal plasticity simulation files is obtained, and finally 10,000 sets of crystal plasticity simulation files are obtained, The format of each group of crystal plasticity simulation files is shown in matrix 3;

矩阵3Matrix 3

Figure BDA0003914194790000071
Figure BDA0003914194790000071

S4、通过模拟获得IPF图和模拟的真应力-真应变坐标数据:采用DAMASK作为晶体塑性有限元模拟软件,输入步骤S3获得的晶体塑性模拟文件进行晶体塑性有限元模拟,将步骤S3中10000组晶体塑性模拟文件输入到DAMASK软件中进行10000组模拟,DAMASK模拟遵循晶体塑性本构方程组,模拟完成后获得10000组模拟结果,使用Python对10000组模拟结果进行后处理,获得10000组镁合金的IPF图和10000组模拟的真应力-真应变坐标数据;S4. Obtain the IPF diagram and simulated true stress-true strain coordinate data through simulation: use DAMASK as the crystal plasticity finite element simulation software, input the crystal plasticity simulation file obtained in step S3 to carry out the crystal plasticity finite element simulation, and convert the 10000 groups in step S3 The crystal plasticity simulation file is input into DAMASK software for 10,000 sets of simulations. The DAMASK simulation follows the crystal plasticity constitutive equations. After the simulation is completed, 10,000 sets of simulation results are obtained. Python is used to post-process the 10,000 sets of simulation results to obtain 10,000 sets of magnesium alloys. IPF diagram and 10,000 sets of simulated true stress-true strain coordinate data;

所述的晶体塑性本构方程组:The described crystal plasticity constitutive equations:

Figure BDA0003914194790000072
Figure BDA0003914194790000072

Figure BDA0003914194790000073
Figure BDA0003914194790000073

Figure BDA0003914194790000081
为晶体塑性剪切速率,值为1,
Figure BDA0003914194790000081
is the crystal plastic shear rate, the value is 1,

Figure BDA0003914194790000082
为初始剪切速率,值为0.001,
Figure BDA0003914194790000082
is the initial shear rate, the value is 0.001,

n为拉伸和压缩孪晶的初始硬化模量,n为T9,T10中的一种,n is the initial hardening modulus of tension and compression twins, n is one of T9 and T10,

Figure BDA0003914194790000083
为临界分切应力,
Figure BDA0003914194790000084
代表4个不同滑移系的临界分切应力,
Figure BDA0003914194790000085
为T1,T2,T3,T4中的一种,
Figure BDA0003914194790000083
is the critical shear stress,
Figure BDA0003914194790000084
represents the critical shear stress of four different slip systems,
Figure BDA0003914194790000085
One of T1, T2, T3, T4,

h0为3个不同的滑移系之间、滑移系与孪生系之间的初始硬化模量值,h0为T11,T12,T13中的一种,h 0 is the initial hardening modulus value between three different slip systems, between slip systems and twin systems, h 0 is one of T11, T12, T13,

Figure BDA0003914194790000086
为4个不同滑移系的饱和滑移分切应力,
Figure BDA0003914194790000087
为T5,T6,T7,T8中的一种,
Figure BDA0003914194790000086
is the saturated slip shear stress of four different slip systems,
Figure BDA0003914194790000087
One of T5, T6, T7, T8,

qαβ是不同的滑移系α和β之间的系数,qαβ为T14,T15,T16中的一种,q αβ is the coefficient between different slip systems α and β, q αβ is one of T14, T15, T16,

Hαβ为总硬化模量;H αβ is the total hardening modulus;

S5、使用Python获得IPFs图和真应力-真应变曲线图,并且对晶体塑性本构参数进行归一化:将步骤S3中的10000组16个晶体塑性本构参数T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16分别进行归一化获得10000组归一化后的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,使用Python将步骤S4中的10000组模拟的真应力-真应变坐标数据绘制为10000组真应力-真应变曲线图,将步骤S4中的10000组IPF图裁剪为标准50x50像素的10000组标准IPF图,记为10000组IPFs图;最终获得10000组晶体塑性数据集,所述的每组数据集为:IPFs图、真应力-真应变曲线图以及归一化后的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16;S5. Use Python to obtain the IPFs diagram and the true stress-true strain curve diagram, and normalize the crystal plastic constitutive parameters: the 10000 groups of 16 crystal plastic constitutive parameters T1, T2, T3, T4 in step S3, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 were normalized to obtain 10000 groups of normalized t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, use Python to draw the 10,000 sets of simulated true stress-true strain coordinate data in step S4 as 10,000 sets of true stress-true strain curves, and step The 10,000 sets of IPF images in S4 are cut into 10,000 sets of standard IPF images of standard 50x50 pixels, which are recorded as 10,000 sets of IPFs images; finally, 10,000 sets of crystal plasticity data sets are obtained, and each set of data sets is: IPFs images, true stress- True strain curve and normalized t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16;

所述的归一化公式为:The normalization formula described is:

Figure BDA0003914194790000088
Figure BDA0003914194790000088

Wnorm为t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16参数中的一种,W norm is one of t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16 parameters,

W为T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16参数中的一种,W is one of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 parameters,

Wmin为10000组参数中最小数,W min is the minimum number among 10000 groups of parameters,

Wmax为10000组参数中最大数;W max is the largest number among 10000 groups of parameters;

由此,建立了IPFs图和真应力-真应变曲线图与对应归一化本构参数的大数据样本;As a result, IPFs diagrams, true stress-true strain curve diagrams and large data samples of corresponding normalized constitutive parameters were established;

S6、训练双通道卷积神经网络模型:将步骤S5所述的10000组IPFS图和真应力-真应变曲线图作为训练双通道卷积神经网络模型的输入,将步骤S5所述10000组的t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16作为神经网络的输出,制作双通道卷积神经网络模型,以9:1比例随机分成9000组训练集和1000组验证集;所述的双通道卷积神经网络模型包括:5层alxnet模型卷积层,3个全连接层;所述的卷积层为:将训练集中的9000组IPFS图和真应力-真应变曲线图输入到卷积层中,经过卷积层的卷积运算后,将图像抽象为特征图,9000组IPFS图经过5层卷积层处理后获得9000组特征图1,9000组真应力-真应变曲线图经过5层卷积层处理后获得9000组特征图2,将9000组特征图1和9000组特征图2合并输入全连接层处理;所述的全连接层处理为:通过含有权值和偏置的正向传播公式计算获得9000组输出值,所述的权值和偏置是随机的,其中权值的范围为1-2,偏置的范围为10-20,其中每组输出值为:t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’,然后计算9000组t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’与训练集中的9000组t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16之间的整体误差;然后根据整体误差重新计算权值和偏置,再重新采用正向传播公式进行计算,往复循环,直至整体误差在0.2%-1%后结束训练,获得训练完成的双通道卷积神经网络模型Z;其中所述双通道卷积神经网络模型Z的初始学习率设置为0.00001,学习次数为3000次;训练完成的双通道卷积神经网络模型Z对于9000组训练集的整体误差为0.2%-0.8%,训练完成的双通道卷积神经网络模型Z对于1000组验证集的整体误差为0.4%-0.9%;S6, training dual-channel convolutional neural network model: 10000 groups of IPF S diagrams and true stress-true strain curves described in step S5 are used as the input of training dual-channel convolutional neural network model, and the 10000 groups described in step S5 are t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16 are used as the output of the neural network, making a two-channel convolutional neural network model, with a ratio of 9:1 The ratio is randomly divided into 9000 groups of training sets and 1000 groups of verification sets; the two-channel convolutional neural network model includes: 5 layers of alxnet model convolution layers, 3 fully connected layers; the convolution layer is: the training set The 9,000 sets of IPF S maps and true stress-true strain curves are input into the convolutional layer. After the convolution operation of the convolutional layer, the image is abstracted into a feature map. The 9,000 sets of IPF S maps are processed by 5 layers of convolutional layers. Finally, 9000 sets of feature maps 1 are obtained, and 9000 sets of true stress-true strain curves are processed by 5 layers of convolutional layers to obtain 9000 sets of feature maps 2, and 9000 sets of feature maps 1 and 9000 sets of feature maps 2 are combined and input into the fully connected layer for processing ; The process of the fully connected layer is: 9000 sets of output values are obtained by calculating the forward propagation formula containing weights and offsets, the weights and offsets are random, and the range of weights is 1-2 , the range of bias is 10-20, where the output value of each group is: t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16', then calculate 9000 sets of t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11 ', t12', t13', t14', t15', t16' with 9000 groups t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, The overall error between t15 and t16; then recalculate the weight and bias according to the overall error, and then recalculate using the forward propagation formula, repeating the cycle until the overall error is 0.2%-1% and the training ends, and the training is completed The dual-channel convolutional neural network model Z of the dual-channel convolutional neural network model Z; wherein the initial learning rate of the dual-channel convolutional neural network model Z is set to 0.00001, and the number of studies is 3000 times; the training completed dual-channel convolutional neural network model Z is for 9000 groups of training The overall error of the set is 0.2%-0.8%, and the overall error of the trained dual-channel convolutional neural network model Z for 1000 sets of verification sets is 0.4%-0.9%;

所述的整体误差公式为:The overall error formula is:

Figure BDA0003914194790000091
Figure BDA0003914194790000091

σ为整体误差,σ is the overall error,

ν为正整数,取值为1-16,ν is a positive integer, the value is 1-16,

t′v为t1’,t2’,t3’,t4’,t5’,t6’,t7’,t8’,t9’,t10’,t11’,t12’,t13’,t14’,t15’,t16’中的一种,t' v for t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16 one of ',

tv为t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16中的一种,t v is one of t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16,

所述整体误差与权值、偏置计算公式:The overall error, weight, and offset calculation formula:

σ=WT+bσ= WT +b

σ为整体误差,σ is the overall error,

W为权值,W is the weight,

T为转置符号,T is the transpose symbol,

b为偏置。b is the bias.

实施例2Example 2

通过实验验证实施例1中训练得到的双通道卷积神经网络模型Z的普适性;The universality of the dual-channel convolutional neural network model Z obtained by training in Example 1 is verified by experiments;

S1、选择实验室常用镁合金:AZ91,拍摄EDSD图,选取镁合金IPF图,使用Python将IPF图裁剪为标准50×50像素的IPFs图,通过实验获得AZ91镁合金的各向异性系数R、断面缩减率,然后对材料进行单轴拉伸实验获得真应力-真应变坐标数据,通过Python将真应力-真应变坐标数据绘制为真应力-真应变曲线图;S1. Select the magnesium alloy commonly used in the laboratory: AZ91, take the EDSD map, select the magnesium alloy IPF map, use Python to cut the IPF map into a standard 50×50 pixel IPFs map, and obtain the anisotropy coefficient R, Section reduction rate, and then perform uniaxial tensile experiments on the material to obtain the true stress-true strain coordinate data, and draw the true stress-true strain coordinate data as a true stress-true strain curve through Python;

S2、将步骤S1中获得的IPFs图和真应力-真应变曲线图输入到实施例1训练完成的双通道卷积神经网络模型Z中,神经网络输出标定的一组t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,t11,t12,t13,t14,t15,t16,通过反归一化方法把神经网络输出标定值换算成16个晶体塑性本构参数:T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16;S2. Input the IPFs diagram and the true stress-true strain curve diagram obtained in step S1 into the dual-channel convolutional neural network model Z trained in Example 1, and the neural network outputs a set of t1, t2, t3, t4 for calibration , t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, the neural network output calibration value is converted into 16 crystal plastic constitutive parameters by denormalization method: T1, T2 , T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16;

S3、将步骤S2获得的神经网络标定的16个晶体塑性本构参数T1,T2,T3,T4,T5,T6,T7,T8,T9,T10,T11,T12,T13,T14,T15,T16和步骤S1中通过实验得到的IPFs图建立晶体塑性模拟文件,将晶体塑性模拟文件输入到DAMASK模拟软件中进行晶体塑性模拟,获得模拟结果,通过Python对模拟结果进行处理获得模拟的AZ91镁合金各向异性系数R’、断面缩减率;S3. The 16 crystal plastic constitutive parameters T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16 and In step S1, the crystal plasticity simulation file is established through the IPFs diagram obtained by the experiment, and the crystal plasticity simulation file is input into the DAMASK simulation software for crystal plasticity simulation, and the simulation result is obtained, and the simulation result is processed by Python to obtain the simulated AZ91 magnesium alloy isotropic Anisotropy coefficient R', section reduction rate;

S4、将步骤S3得到的模拟的AZ91镁合金各向异性系数R’、断面缩减率和步骤S1实验获得的AZ91镁合金各向异性系数R、断面缩减率进行误差分析,结果显示:参数拟合程度在99.5-99.7%,由此说明本发明采用双通道卷积神经网络标定16个晶体塑性本构参数的准确性和普适性。S4. Perform an error analysis on the simulated AZ91 magnesium alloy anisotropy coefficient R' and area reduction rate obtained in step S3 and the AZ91 magnesium alloy anisotropy coefficient R and area reduction rate obtained in the step S1 experiment, and the results show: parameter fitting The degree is 99.5-99.7%, which shows that the present invention adopts the dual-channel convolutional neural network to calibrate the accuracy and universality of 16 crystal plastic constitutive parameters.

综上:本发明将宏观领域使用的卷积神经网络运用在微观晶体结构参数标定领域,获得的双通道卷积神经网络能够准确地一次性同步标定晶体塑性本构的16个参数,标定的速度和准确率都优于现有技术公开的标定方法。此外,本发明训练成功的神经网络模型具有普适性,可适用于镁合金体系,能够准确一次性同步标定镁合金体系的各种镁合金的晶体塑性本构参数,无需重复建立模型数据库和重复训练卷积神经网络,简化了计算过程。In summary: the present invention applies the convolutional neural network used in the macroscopic field to the field of microscopic crystal structure parameter calibration, and the obtained dual-channel convolutional neural network can accurately and synchronously calibrate 16 parameters of the crystal plastic constitutive at one time, and the calibration speed Both the accuracy and accuracy are better than the calibration methods disclosed in the prior art. In addition, the successfully trained neural network model of the present invention has universality and is applicable to the magnesium alloy system, and can accurately and synchronously calibrate the crystal plastic constitutive parameters of various magnesium alloys in the magnesium alloy system at one time, without the need to repeatedly establish a model database and repeatedly Training convolutional neural networks simplifies the computational process.

Claims (2)

1. A crystal plasticity constitutive parameter calibration method based on a two-channel convolution neural network is characterized by comprising the following steps: it comprises the following steps:
(1) The magnesium alloy model was established using the Neper software: inputting m groups of parameters x and y into Neper software, wherein x and y respectively represent the random distribution and the crystal grain roundness of crystal grains, the value range of m is 100-100000 and is an integer, the value range of x is 0-1, the value range of y is 0.3-1.0, m groups of magnesium alloy models are obtained and are marked as m groups (x, y), and the model of each group (x, y) is shown as a matrix 1;
matrix 1
Figure FDA0003914194780000011
Figure FDA0003914194780000012
Figure FDA0003914194780000013
i is one of 1, 2 or 3;
(2) A magnesium alloy model with added texture was established using Matlab kit MTEX: setting m groups of d, e, f, g, h and k parameters, d, e, f, g, h and k respectively representing six different texture strengths of the magnesium alloy in the step (1), wherein the numeric area of d, e, f, g, h and k is 0-1, and d + e + f + g + h + k =1; inputting m groups of d, e, f, g, h and k parameters and m groups of (x, y) obtained in the step (1) into MTEX, and obtaining m groups of magnesium alloy models (d, e, f, g, h and k) (x, y) with texture added through the Bunge formula operation of MTEX, wherein the m groups of magnesium alloy models are marked as m groups of (d, e, f, g, h and k) (x, y), and data models of each group of (d, e, f, g, h and k) (x, y) are shown as a matrix 2;
matrix 2
Figure FDA0003914194780000014
(3) Using Python to obtain m sets of crystal plastic simulation files: selecting 16 parameters of a crystal plasticity constitutive structure: basal plane slippage critical slitting stress T1, cylindrical surface slippage critical slitting stress T2, conical surface < a > slippage critical slitting stress T3, conical surface < c + a > slippage critical slitting stress T4, basal plane slippage saturated slippage slitting stress T5, cylindrical surface slippage saturated slippage slitting stress T6, conical surface < a > slippage saturated slippage slitting stress T7, conical surface < c + a > slippage saturated slippage slitting stress T8, stretching twin crystal critical slitting stress T9, compressing twin crystal critical slitting stress T10, twin and twin initial hardening modulus T11, slippage and slippage initial hardening modulus T12, slippage and twin initial hardening modulus T13, sliding strain rate sensitive parameter T14, twin strain rate sensitive parameter T15 and sliding hardening parameter T16; t1 ranges from 5 to 80, T2 ranges from 10 to 150, T3 ranges from 20 to 200, T4 ranges from 50 to 500, T5 ranges from 10 to 160, T6 ranges from 20 to 300, T7 ranges from 40 to 400, T8 ranges from 100 to 1000, T9 ranges from 5 to 250, T10 ranges from 10 to 400, T11 ranges from 10 to 500, T12 ranges from 50 to 3000, T13 ranges from 50 to 1200, T14 ranges from 1 to 15, T15 ranges from 5 to 80, and T16 ranges from 0.5 to 10; designing m groups of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16 in the range, adding each group of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16 to the group of magnesium alloy models (d, e, f, g, h, i) (x and y) in the step (2) through Python to obtain a group of crystal plastic simulation files, and finally obtaining m groups of crystal plastic simulation files, wherein each group of crystal plastic simulation files is in a form shown in a matrix 3;
matrix 3
Figure FDA0003914194780000021
(4) IPF plots and simulated true stress-true strain coordinate data were obtained by simulation: adopting DAMASK as crystal plasticity finite element simulation software, inputting the crystal plasticity simulation file obtained in the step (3) to perform crystal plasticity finite element simulation, inputting m groups of crystal plasticity simulation files in the step (3) into the DAMASK software to perform m groups of simulation, following the crystal plasticity constitutive equation set in the DAMASK simulation, obtaining m groups of simulation results after the simulation is completed, and performing post-processing on the m groups of simulation results by using Python to obtain an IPF (in-plane stress) -true strain coordinate data of m groups of magnesium alloys and m groups of simulated true stress-true strain coordinate data;
the crystal plasticity constitutive equation set is as follows:
Figure FDA0003914194780000022
Figure FDA0003914194780000023
Figure FDA0003914194780000024
is the crystal plastic shear rate, with a value of 1,
Figure FDA0003914194780000025
an initial shear rate, value of 0.001,
n is the initial hardening modulus of the tensile and compressive twins, n is one of T9 and T10,
Figure FDA0003914194780000026
in order to obtain the critical value of the slitting stress,
Figure FDA0003914194780000027
representing the critical part stress of 4 different slip systems,
Figure FDA0003914194780000028
is one of T1, T2, T3 and T4, h 0 The initial hardening modulus values between 3 different slip systems, between slip system and twin system, h 0 Is one of T11, T12 and T13,
Figure FDA0003914194780000029
is the saturated sliding cutting stress of 4 different sliding systems,
Figure FDA00039141947800000210
is one of T5, T6, T7 and T8,
q αβ is a coefficient between the different slip systems alpha and beta, q αβ Is one of T14, T15 and T16,
H αβ total hardening modulus;
(5) IPFs plots and true stress-true strain plots were obtained using Python and the crystal plasticity constitutive parameters were normalized: respectively normalizing the m groups of 16 crystal plasticity constitutive parameters T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16 in the step (3) to obtain m groups of normalized T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16, drawing the m groups of simulated true stress-true strain coordinate data in the step (4) into m groups of true stress-true strain graphs by using Python, and cutting the m groups of IPF graphs in the step (4) into m groups of standard IPF graphs of standard 50x50 pixels, and marking the m groups of standard IPF graphs as m groups of IPFs graphs; finally obtaining m groups of crystal plasticity data sets, wherein each group of data sets comprises: IPFs diagrams, true stress-true strain graphs, and normalized t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16;
the normalization formula is as follows:
Figure FDA0003914194780000031
W norm is one of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16 parameters, W is one of T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15 and T16 parameters,
W min is the smallest number of the m sets of parameters,
W max in m sets of parametersMaximum number;
therefore, an IPFs graph, a true stress-true strain curve graph and a big data sample corresponding to the normalized constitutive parameters are established;
(6) Training a two-channel convolutional neural network model: subjecting the m sets of IPFs of step (5) to S Taking the graph and a true stress-true strain graph as input of a training dual-channel convolutional neural network model, taking t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15 and t16 of the m groups in the step (5) as output of the neural network, manufacturing the dual-channel convolutional neural network model, and randomly dividing the model into p training sets and q verification sets according to a proportion of 5-30; the two-channel convolution neural network model comprises: 5 layers of alxnet model convolution layer, 3 full connection layers; the convolution layer is as follows: grouping p IPFs in a training set S Inputting the graph and the real stress-real strain curve graph into the convolution layer, abstracting the image into a characteristic graph after convolution operation of the convolution layer, and p groups of IPFs S P groups of characteristic diagrams 1 are obtained after 5 layers of convolution layer processing, p groups of real stress-real strain graphs obtain p groups of characteristic diagrams 2 after 5 layers of convolution layer processing, and the p groups of characteristic diagrams 1 and the p groups of characteristic diagrams 2 are merged and input into full connection layer processing; the full connection layer treatment comprises the following steps: p groups of output values are obtained through calculation of a forward propagation formula containing weights and biases, wherein the weights and the biases are random, the range of the weights is 1-2, the range of the biases is 10-20, and each group of output values is as follows: the overall error between the p groups t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16' is then calculated, and the p groups t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16' and the p groups t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16 in the training set; then, recalculating the weight and the bias according to the integral error, then, recalculating by adopting a forward propagation formula again, and performing reciprocating circulation until the integral error is 0.2-1%, and finishing training to obtain a trained dual-channel convolution neural network model; wherein an initial learning rate of the two-channel convolutional neural network model is set to0.00001-0.01, and the learning times are 1000-3000; the overall error of the trained dual-channel convolutional neural network model to the p groups of training sets is 0.2% -1%, and the overall error of the trained dual-channel convolutional neural network model to the q groups of verification sets is 0.4% -1.1%;
the overall error formula is as follows:
Figure FDA0003914194780000041
p is the number of training set groups,
the sigma is the overall error of the signal,
nu is a positive integer and takes the value of 1-16,
t′ v is one of t1', t2', t3', t4', t5', t6', t7', t8', t9', t10', t11', t12', t13', t14', t15', t16',
t v is one of t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15 and t16,
the integral error and weight value and bias calculation formula is as follows:
σ=W T +b
the sigma is the overall error of the signal,
w is a weight value,
t is the transposed symbol and is the symbol,
b is an offset.
2. The method for calibrating the crystal plasticity constitutive parameters based on the dual-channel convolutional neural network as claimed in claim 1, wherein: the magnesium alloy is one of AZ31, AZ61, AZ91, ZK60 or AM 60.
CN202211332683.1A 2022-10-28 2022-10-28 Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network Withdrawn CN115588470A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211332683.1A CN115588470A (en) 2022-10-28 2022-10-28 Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211332683.1A CN115588470A (en) 2022-10-28 2022-10-28 Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network

Publications (1)

Publication Number Publication Date
CN115588470A true CN115588470A (en) 2023-01-10

Family

ID=84782078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211332683.1A Withdrawn CN115588470A (en) 2022-10-28 2022-10-28 Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network

Country Status (1)

Country Link
CN (1) CN115588470A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117877642A (en) * 2024-01-16 2024-04-12 华中科技大学 Weld joint crystal plastic model constitutive parameter calibration method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117877642A (en) * 2024-01-16 2024-04-12 华中科技大学 Weld joint crystal plastic model constitutive parameter calibration method and system

Similar Documents

Publication Publication Date Title
Sun et al. Fast implementation of DeLong’s algorithm for comparing the areas under correlated receiver operating characteristic curves
US20210132904A1 (en) Apparatus and methods for neural network operations supporting floating point numbers of short bit length
CN110414349A (en) Siamese Convolutional Neural Network Face Recognition Algorithm Introducing Perceptual Model
CN101482925B (en) Photograph generation method based on local embedding type hidden Markov model
CN106339753A (en) Method for effectively enhancing robustness of convolutional neural network
CN103237320B (en) Wireless sensor network quantizes based on mixing the method for tracking target that Kalman is merged
CN107133640A (en) Image classification method based on topography&#39;s block description and Fei Sheer vectors
CN110942106A (en) A pooled convolutional neural network image classification method based on square mean
CN115588470A (en) Crystal plasticity constitutive parameter calibration method based on two-channel convolutional neural network
CN103427791B (en) A kind of signal separating method based on particle group optimizing
CN117077579B (en) Airfoil flow field prediction method, device, equipment and storage medium
CN117058166A (en) Remote sensing image real-time semantic segmentation method based on dual-path structure
CN108960326B (en) Point cloud fast segmentation method and system based on deep learning framework
CN110619311A (en) Data classification method based on EEMD-ICA-SVM
CN107133626A (en) Medical image classification method based on partial average stochastic optimization model
CN116504253A (en) Bird voice recognition method and system based on frequency dynamic convolution model
CN112115837A (en) Target detection method based on YoloV3 and dual-threshold model compression
CN113486202B (en) Method for classifying small sample images
CN114240899A (en) A method and system for modal tracking of guided wave dispersion curves based on image registration
CN113989567A (en) Garbage picture classification method and device
CN105654138A (en) Orthogonal projection and dimensionality reduction classification method and system for multidimensional data
CN115100307B (en) A metallographic microstructure image generation method based on improved generative adversarial network
CN106446840B (en) Color face recognition method based on canonical correlation multi-kernel learning
CN110955961B (en) Immune injury analysis method
CN114418087A (en) Model quantification method, device and equipment based on optimized kl divergence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230110