원시데이터 수집 시스템
선정목록으로

A physics-inspired neural network to solve partial differential equations – application in diffusion-induced stress

관련 수소연료전지 · (7) MEA(막전극접합체)

기본 정보

저자
  1. Xue Yuan — Jiangsu Key Laboratory of Engineering Mechanics, School of Civil Engineering, Southeast University, Nanjing, Jiangsu 210096, China
  2. Yong Li — Jiangsu Key Laboratory of Engineering Mechanics, School of Civil Engineering, Southeast University, Nanjing, Jiangsu 210096, China
  3. Kai Zhang — School of Aerospace Engineering and Applied Mechanics, Tongji University, Shanghai 200092, China
  4. Fuqian Yang — Materials Program, Department of Chemical and Materials EngineeringUniversity of Kentucky, Lexington, KY 40506, USA
DOI
10.1039/d1cp04893g
저널
Physical Chemistry Chemical Physics
발행년도
2022
발행기관
Royal Society of Chemistry
피인용수
14
라이선스
cc-by-nc
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1039/d1cp04893g
토픽
Fuel Cells and Related Materials
OpenAlex ID
W4214815364

평가 내용

관련도
관련
사업분야
수소연료전지 · (7) MEA(막전극접합체)
부 분야
–
R&D 측면
분석·모델링
확신도
0.90
근거 용어
diffusion-induced stress, lithium-ion batteries, physics-inspired neural network, electrochemical cycling, mechanical equilibrium
판단 근거
이 논문은 리튬 이온 배터리 전극 내에서 발생하는 확산 유도 응력(DIS)을 물리 기반 신경망(PINN)을 통해 예측하는 수치 해석 모델을 다룹니다. 이는 코오롱인더스트리의 수소연료전지 및 배터리 관련 소재의 구조적 내구성과 열화 메커니즘을 분석하는 데 직접적인 참고 가치가 있습니다.
R&D 활용 포인트
배터리 및 연료전지용 전극/막 소재의 충·방전 과정 중 발생하는 기계적 응력과 변형을 시뮬레이션하여, 소재의 수명 및 내구성을 예측하는 디지털 트윈/모델링 기술로 활용 가능함.
평가 입력
섹션 본문 31,869자 중 30,032자 발췌

초록

Analyzing and predicting diffusion-induced stress are of paramount importance in understanding the structural durability of lithium- and sodium-ion batteries, which generally require solving initial-boundary value problems, involving partial differential equations (PDEs) for mechanical equilibrium and mass transport. Due to the complexity and nonlinear characteristics of the initial-boundary value problems, numerical methods, such as finite difference, finite element, spectral analysis, and so forth, have been used. In this work, we propose two whole loss functions as the sum of the residuals of the PDEs, initial conditions and boundary conditions for the problems with decoupling and coupling between diffusion and stress, respectively, and apply a physics-inspired neural network under the framework of DeepXDE to solve diffusion-induced stress in an elastic sphere in contrast to traditional numerical methods. Using time-space coordinates as inputs and displacement and the solute concentration as outputs of artificial neural networks, we solve the spatiotemporal evolution of the displacement and the solute concentration in the elastic sphere for both the decoupling and coupling problems. The numerical results from the physics-inspired neural network are validated by analytical solutions and a finite element simulation using the COMSOL package. The method developed in this work opens an approach to analyze the stress evolution in electrodes due to electrochemical cycling.

본문 34,391자

본문 펼치기
Analyzing and predicting diffusion-induced stress are of paramount importance in understanding the structural durability of lithium-and sodium-ion batteries, which generally require solving initial-boundary value problems, involving partial differential equations (PDEs) for mechanical equilibrium and mass transport. Due to the complexity and nonlinear characteristics of the initial-boundary value problems, numerical methods, such as finite difference, finite element, spectral analysis, and so forth, have been used. In this work, we propose two whole loss functions as the sum of the residuals of the PDEs, initial conditions and boundary conditions for the problems with decoupling and coupling between diffusion and stress, respectively, and apply a physics-inspired neural network under the framework of DeepXDE to solve diffusion-induced stress in an elastic sphere in contrast to traditional numerical methods. Using time-space coordinates as inputs and displacement and the solute concentration as outputs of artificial neural networks, we solve the spatiotemporal evolution of the displacement and the solute concentration in the elastic sphere for both the decoupling and coupling problems. The numerical results from the physics-inspired neural network are validated by analytical solutions and a finite element simulation using the COMSOL package. The method developed in this work opens an approach to analyze the stress evolution in electrodes due to electrochemical cycling. Introduction Lithium-ion batteries (LIBs), as one of the world's most promising clean energy storage devices, have attracted great attention due to their higher energy density, larger capacity, and longer life span. Diffusion-induced stress (DIS) due to the concentration gradient during mass transport and/or the deformation of active materials during charging and discharging has been proven to be one of the most important factors contributing to the failure of LIBs. 1,2 DIS can be calculated generally from partial differential equations (PDEs) for mechanical equilibrium and mass transport, in which mechanical equations consist of constitutive equations and equilibrium equations and the mass transport equation is the diffusion equation. The methods to solve such a set of PDEs can follow the techniques in thermo-elasticity, as used first by Prussin. 3 For instance, Li 4 studied DIS in elastic structures of different geometries (e.g., cylindrical, spherical and thin plate) and obtained analytical solutions for each geometry by substituting the analytical solution of the corresponding diffusion equation with the analytical solution for the corresponding thermoelastic problem. Following the thermal analogy method, Yang 5 incorporated diffusion-induced bending in analyzing DIS in an elastic hollow cylinder, in which the analytical forms of resultant axial stress and hoop stress were formulated. Hao et al. 6 investigated the effects of surface stress on DIS in solid and hollow nanowire electrode particles and obtained analytical solutions since the surface stress was used in the boundary conditions. Ostadhossein et al. 7 studied stress effects on the initial lithiation of crystalline silicon nanowires in LIBs based on ReaxFF. Hong et al. 8 used the numerical simulation in analyzing the DIS evolution in Sn micropillars. Introduction It is very difficult to obtain analytical solutions due to the coupling between diffusion and stress with stress-assisted diffusion 9 and/or a concentration-dependent elastic modulus 10 being included in the DIS analysis. Similarly, it is very difficult to obtain analytical solutions when a large deformation, [11][12][13] plastic flow, 14,15 phase transition, 16,17 chemical reaction, 18,19 dislocation motion, 20,21 and mechanical contact 22 are considered in calculating the DIS in host materials of LIBs. Numerical methods, such as the finite difference method and the finite element method, are generally used to obtain numerical results. The increasing demand for fast charging has led to the observation of some critical experimental behaviors during the charging and discharging of LIBs, 23,24 which require the development of numerical modeling and simulation of DIS in LIBs. However, as numerical modeling and simulation of diffusion-induced stress become more and more complex, the traditional numerical methods used to solve related PDEs may face the issues of numerical convergence and computational cost, resulting in great hindrance to research and development. Hence, there is a great need to develop new numerical methods in DIS research. Introduction In the last decade, explosive growth of data occurred in all fields, and there has been great progress in computer-related technologies. All of these have provided the conditions needed for the development and applications of machine learning. Deep learning [25][26][27] has become an active area in the field of machine learning and has made remarkable achievements in machine translation, 28 language processing, 29 visual recognition 30 and other related fields. It is now convenient to use the chain rule to differentiate compositions of functions by automatic differentiation in machine learning packages, such as TensorFlow 31 and PyTorch, 32 i.e. neural networks have become promising and efficient tools for solving PDEs. Introduction In industrial applications of deep learning, a feedforward neural network is one of the simplest, most widely used and most rapidly developed artificial neural networks. The feedforward neural network was designed to approximate target functions, making it possible to solve PDEs by deep learning. Raissi et al. 33 provided a deep learning framework, which is referred to as physics-informed neural networks (PINNs), to solve both forward problems with initial and boundary conditions and inverse problems with some additional information for nonlinear problems. Lu et al. 34 proposed a deep learning library of DeepXDE and introduced a residual-based adaptive refinement method to improve the training efficiency of PINNs. Reformulating PDEs with backward stochastic differential equations, Han et al. 35 targeted on solving nonlinear PDEs with hundreds and potentially thousands of dimensions. Bar-Sinai et al. 36 introduced a data-driven discretization method to resolve spatiotemporal issues over large length and time scales, and their results suggested that the accuracy of the proposed method is in accordance with finite difference methods. Introduction Solving the PDEs, which consist of geometrical equations, constitutive equations and equilibrium equations, is generally an effective way to understand the deformation and stress fields in a solid. Recently, a deep learning strategy has been used to solve mechanical problems using the strain energy of a solid as a loss function for a deep neural network. 37 In analyzing the Föppl-von Kármán equation, Li et al. 38 compared the differences of numerical accuracies for three differnt methods with a loss function, i.e. purely data-driven, PDE-based and energy-based. These studies suggest that deep learning likely has broad potential in solving mechanical problems and can also be applied to solve chemomechanical coupling prblems, such as DIS in LIBs. Introduction In this work, we propose two loss functions associated with mass transport and diffusion-induced stress for decoupling and coupling between diffusion and stress, respectively, and use the loss functions in a neural network to numerically solve DIS in an elastic sphere. Such an approach is different from traditional deep learning, which needs the exact solution or reference solution at the corresponding coordinates in the training. This paper is organized as follows. In part 2, we introduce mathematical formulations for DIS and mass transport in the elastic sphere. In part 3, we briefly introduce some basic theory of deep learning and design a physics-inspired neural network, which is also referred to as the deep neural network (DNN), to solve the PDEs in part 2. In part 4, we develop three DNNs with different parameters and compare the numerical results from deep learning with analytical solutions. In part 5, we further test the robustness and capability of the DNN by analyzing DIS in the elastic sphere with stress-limited diffusion and compare the results with the results from the finite element simulation. Finally, we conclude the work. Mathematical formulations for diffusion-induced stress in an elastic sphere Consider a classical case, i.e. the DIS in an isotropic, spherical particle of an initial radius R. The deformation of the sphere is linearly elastic. Since the velocity of the elastic wave is generally much faster than the diffusion rate, mechanical deformation can be regarded as quasi-static. There are only three non-zero stress components, i.e. the radial stress component s r and tangential stress components s y = s j due to the spherical symmetry of the problem. Mathematical formulations for diffusion-induced stress in an elastic sphere Without any body force, the differential equation for the mechanical equilibrium in the elastic sphere in the framework of linear elasticity 39 is @s r @r þ 2 s r À s y r ¼ 0: Mathematical formulations for diffusion-induced stress in an elastic sphere Similar to linear thermoelasticity, 3,40 the constitutive relationship between stress and strain can be written as Mathematical formulations for diffusion-induced stress in an elastic sphere where E and n are the Young's modulus and Poisson's ratio, respectively, and C and O are the molar concentration and the partial molar volume of diffusive atoms. e r and e y are the radial and tangential strain components, respectively, which can be calculated from the non-zero radial displacement u as Mathematical formulations for diffusion-induced stress in an elastic sphere Substituting eqn (2) and (3) in eqn (1), we obtain the differential equation of mechanical equilibrium in terms of the radial displacement u and the solute concentration C as Mathematical formulations for diffusion-induced stress in an elastic sphere For the traction-free condition on the surface of the spherical particle, the initial and boundary conditions are u(r,0) = 0, u(0,t) = 0, s r (R,t) = 0 Mathematical formulations for diffusion-induced stress in an elastic sphere Without the stress effects on diffusion, the differential equation for mass transport is Mathematical formulations for diffusion-induced stress in an elastic sphere where D is the diffusion coefficient. Under a constant flux J 0 into the surface of the spherical particle, the initial and boundary conditions are Mathematical formulations for diffusion-induced stress in an elastic sphere In this work, we use time-space coordinates as the DNN inputs and the concentration and displacement as the DNN outputs. Note that there is a convergence issue for a nanosized spherical particle when the chain rule is used to differentiate the function composition via the automatic differentiation of spatial coordinates. To improve the training precision and efficiency, dimensionless variables are introduced as follows: Mathematical formulations for diffusion-induced stress in an elastic sphere Using the dimensionless variables, eqn (4) and (6) are rewritten as Mathematical formulations for diffusion-induced stress in an elastic sphere and the initial and boundary conditions as Mathematical formulations for diffusion-induced stress in an elastic sphere C Ã x; 0 ð Þ ¼ 0; @C Ã ð1; tÞ @x ¼ 1 and @C Ã ð0; tÞ @x ¼ 0; Mathematical formulations for diffusion-induced stress in an elastic sphere with x A [0, 1], which can improve the efficiency as well the accuracy during the training process. Deep neural networks for solving PDEs DNNs include an input layer, several hidden layers and an output layer. As one of the most basic DNNs, the feedforward neural network (FNN) is easy to be trained to solve problems in most cases. In this work, we mainly use the FNN to solve the above PDEs. Detailed information is presented in Appendix. Deep neural networks for solving PDEs In previous studies, 35,36 most researchers had adopted a 'data driven' method to solve PDEs by deep learning. In the DIS analysis, using the 'data driven' method to deal with PDEs requires the coordinate r and time t as the inputs of a neural network and the numerical solutions of the displacement u and the concentration C as the outputs. A key part of the neural network to evaluate the results is the loss function, which can be expressed in the 'data driven' method as Deep neural networks for solving PDEs where N tra is the number of training points, and û i and Ĉ i are the exact solution or reference solution at the corresponding coordinates, which need to be known in advance. As given by eqn (14), the loss function for the data-driven model can be minimized only when the solution field of a sufficiently large number of sample points can be observed. However, for the PDEs in the DIS analysis, exact solutions or reference solutions are generally difficult to derive and/or obtain. Hence, it is necessary to develop new loss functions to obtain the solutions. Deep neural networks for solving PDEs To use DNNs to solve the DIS problems, the outputs of the DNN must satisfy the PDs of (10) and (11) and the corresponding initial and boundary conditions of (12) and (13). Following the work by Lu et al., 34 we construct a whole loss function of the PDEs for the DIS in the spherical sphere as the sum of the residuals of the PDEs and the initial and boundary conditions in analyzing the discrepancy between the DNN and constraints. Deep neural networks for solving PDEs Let L PDEs be the residuals from the two PDEs as Deep neural networks for solving PDEs where (x i , t i ) are the residual points that are sampled in the solution domain, and N d is the number of the sample points. L equi and L diff represent the losses of the equilibrium equation and the mass transport equation, respectively. Deep neural networks for solving PDEs The boundary conditions for mechanical deformation include the traction and displacement conditions, and both can be regarded as the Dirichlet boundary condition. For the mass-transport equation, the boundary conditions are the Neumann boundary conditions. The loss function of the initial conditions can be treated as the ones similar to the Dirichlet boundary condition in DNNs. Thus, the loss functions for the four boundary conditions L BCs and two initial conditions L ICs are constructed, respectively, as Deep neural networks for solving PDEs Here, (0, t i ),(1, t i ) and (x i , 0) are the residual points sampled randomly on the boundary (i.e., x = 0 and x = 1) at the initial time (i.e., t = 0). N BCs is the number of points sampled on the left and right boundaries, and N ICs is the number of points sampled at initial time. Deep neural networks for solving PDEs The whole loss function is then constructed as Deep neural networks for solving PDEs where l is the weight of loss. Note that the finite difference is used in the calculation of the derivatives in eqn (16) during the numerical calculation. The minimization of the total loss L DIS is performed to determine the appropriate whole weight matrix and bias vector h* = [W, b] in the DNN, which is used to obtain the numerical solution of the corresponding PDEs for the given initial and boundary conditions for a pre-determined error limit e. When the whole loss function is smaller than the error limit, the DNN stops training and establishes the whole weight matrix and bias vector. The flow chart of the DNN with the loss functions to solve the PDEs for the DIS in the elastic sphere is shown in Fig. 1, and some parameters and optimizers used in the DNN are listed in Table 1. Note that we can pre-determine an iteration number as the stop signal instead of the error tolerance for optimization. The open-source machine learning libraries Tensorflow 31 and DeepXDE 34 were used in the DNN to obtain related parameters. Deep neural networks for solving PDEs According to eqn (18), the training data in this work are different from those used in the traditional 'data driven' method 36 and possess the following pivotal features. Deep neural networks for solving PDEs The dataset does not contain exact solutions (reference solutions). Deep neural networks for solving PDEs The dataset only relies on the coordinates in the solution domain, which indicates that the number of training points can be infinite theoretically. Deep neural networks for solving PDEs The training sample can be arbitrary and can be adjusted during the training process. Deep neural networks for solving PDEs Generally, the validation and test processes are important to DNNs; 41,42 however, the DNN used in this work can be regarded as a computation tool in solving the PDEs rather than training a ''universal'' model to find the solution of any PDE. Since the dataset can be sampled arbitrarily, we only used sample 2000 points to test during iterations. Meanwhile, it should be noted that once the training is completed for the given coordinates of any point, the DNN can give the corresponding solutions. Thus, DISs in the elastic sphere without stress-limited diffusion The procedure for solving the PDEs by deep learning is summarized here. First, we construct a neural network û = (y;h*) as a surrogate of the solution u(y), which takes the input y = [x, s] and the output vector with the same dimension as u. Second, two training sets for the PDEs and initial/boundary conditions are specified. A loss function consisting of the summation of the weighted L 2 norm of both the PDE equations and initial/ boundary conditions is established to measure the discrepancy between the neural network û(y;h*) and constraints. Finally, the minimization of the loss function of the DNN allows for the determination of the parameter h*, which is referred to as the ''training'' process. It should be noted that there is no guarantee for a unique solution because of the nonconvex optimization problem. A common strategy is to perform random initialization a few times for the training process and choose the final solution from the solutions with the smallest training loss. In this work, all the training tasks are handled using a Nvidia Titan Rtx GPU. According to the reports in the literature, 39 the number of training points and the weights of loss may heavily affect the final results. Based on the loss weights and the number of training points, we adopted three DNNs with different parameters to investigate the effects of the number of the sample points on the stress distribution and mass transport. We set the first DNN with All the properties of the material used in the loss function of eqn (18) are listed in Table 2, which are the material properties of the electrode material Mn 2 O 4 used in LIBs. 40 After completing the training, the DNN, we can obtain the DNN solutions of the dimensionless displacement and the concentration for the given initial and boundary conditions. DISs in the elastic sphere without stress-limited diffusion The numerical results obtained from the DNN with the proposed architecture and loss function are compared to the analytical solution of the corresponding problem. Without the stress-limited diffusion, the concentration distribution in the elastic sphere in a dimensionless form is 45 DISs in the elastic sphere without stress-limited diffusion where z n (n = 1, 2, 3. . .) are the positive roots of the equation tan(z n ) = z n . DISs in the elastic sphere without stress-limited diffusion To visualize the accuracy of the prediction and analyze the error, we sampled 2000 points uniformly at several fixed times (e.g., t = 0.01, 0.1, 0.2 and 0.4) and then plotted the DNN solutions under different parameters. For comparison, the results from the analytical solutions at these typical dimensionless times are also shown in Fig. 2. Here, the red solid lines represent the spatial distribution of the solute concentration and the displacement obtained from the analytical solutions at different dimensionless times, and the blue dashed lines, green dashed-dot lines and yellow dotted lines represent, respectively, the numerical results obtained from three different DNNs at different dimensionless times. To more intuitively compare the differences between different DNN solutions and the analytical solutions, we enlarge the plots at some key dimensionless time nodes in Fig. 2. DISs in the elastic sphere without stress-limited diffusion The L 2 relative error between the DNN results and the analytical solutions is calculated as DISs in the elastic sphere without stress-limited diffusion and the L 2 relative error correlation coefficient a is DISs in the elastic sphere without stress-limited diffusion Here, y exact and y pred correspond to the results obtained from the analytical solutions and the DNN solutions, and N is the number of points selected in computing the L 2 relative error. It should be noted that the accuracies of both the dimensionless concentration and dimensionless displacement are measured by the L 2 relative error of eqn (20). We uniformly sampled 100 points from x = 0.01 to 1.0 (i.e. 0.01, 0.02, . . ., 0.99, 1.0), which is used to quantitatively calculate the L 2 relative error between the exact solutions and DNN solutions. All the correlation coefficients of the L 2 relative error under different DNN solutions are listed in Table 3. Table 3, as the correlation coefficients of the L 2 relative error for the dimensionless concentration at different dimensionless times are approximately equal to 1. According to Fig. 2d, the red solid lines, blue dashed lines, green dash-dot lines and yellow dotted lines at dimensionless times t = 0.01 and 0.4 nearly overlap; however, According to Fig. 2 and Table 3, we can conclude that the DNN solution with N d = 10 000 and l = 1.0 gave the best results with the least training time and the DNN solution with N d = 20 000 and l = 1.0 took the longest training time and had the worst results. For the DNN solution with N d = 20 000 and l = 1.0 at t = 0.01, the relative error of the dimensionless displacement is very large because the exact dimensionless displacement is close to 0. In fact, this is a common behavior in the training process of the DNN, which is referred to as ''overfitting''. 46 The analytical solutions of the radial and hoop stresses are calculated from the theory of elasticity 39 with eqn (10) and the initial/boundary conditions (12). Using eqn (19), we have the DIS in the elastic sphere as Note that the dimensionless concentration and dimensionless displacement are the outputs of the DNN solutions. We used the dimensionless concentration, the dimensionless displacement and the constitutive relationship to calculate the DIS in the elastic sphere. The dimensionless stresses in the elastic sphere are DISs in the elastic sphere without stress-limited diffusion In the following discussion, we use the dimensionless concentration and dimensionless displacement obtained from the DNN solution with N d = 10 000 and l = 1.0. Fig. 3 shows the spatial distribution of the dimensionless radial and hoop stresses at four dimensionless times t = 0.01, 0.1, 0.2 and 0.4. Solid lines represent the numerical results from the analytical solution, and dashed lines represent the numerical results obtained from the DNN solution. It is evident that the solid lines and the dashed lines nearly overlap at different dimensionless times, suggesting that the DNN solution exhibits a high accuracy in calculating the DIS in the elastic sphere. DISs in the elastic sphere without stress-limited diffusion It needs to be pointed out that the numerical results obtained from the DNN solution exhibit sharp increases for the radial and hoop stresses at the spherical center. In the numerical calculation, the term u/r (hoop strain) will numerically approach infinity as r approaches 0, leading to the sharp increase of the spatial distribution of radial and hoop stresses near the electrode center. In general, the numerical results obtained from the DNN solution are in good accordance with the results from the analytical solution. The difference between the numerical results obtained from the DNN solution and the results from the analytical solution decreases with an increase in the diffusion time, which indicates that the DNN gradually 'learns' how to solve the PDEs. DISs in the elastic sphere with stress-limited diffusion One of the important features of the DNN is the capability of solving nonlinear problems. In this section, we incorporate the stress-limited diffusion in mass transport. 47 Yang 9 reviewed the interaction between chemical stress and diffusion, which includes hydrostatic stress in the chemical potential. In an ideal solid solution, chemical potential m can be expressed as DISs in the elastic sphere with stress-limited diffusion where m 0 is the constant, R g is the gas constant, T is the absolute temperature, and s h = 1/3(s r + s y + s j ) is the hydrostatic stress that can be computed by eqn (2) as DISs in the elastic sphere with stress-limited diffusion The species flux J can be calculated as DISs in the elastic sphere with stress-limited diffusion Substituting eqn (26) in (28) yields DISs in the elastic sphere with stress-limited diffusion According to the mass conservation, there is DISs in the elastic sphere with stress-limited diffusion Substituting eqn (29) in (30), we have @C @t DISs in the elastic sphere with stress-limited diffusion Finally, the diffusion equation considering the effect of hydrostatic stress can be obtained by substituting eqn (27) in (31). @C @t Similar to the case of Fick's diffusion under the galvanostatic operation with a constant flux J 0 at the surface of the spherical particle, the initial and boundary conditions take the forms C(r, 0) = 0 (33) @C @t Jð0; tÞ ¼ ÀD @Cð0; tÞ @r À OCð0; tÞ R g T @s h ð0; tÞ @r ¼ 0; @C @t JðR; tÞ ¼ ÀD @CðR; tÞ @r À OCðR; tÞ R g T @s h CðR; tÞ @r @C @t Here, we set T = 300 K in the calculation. Other material parameters used in this section are listed in Table 2. @C @t The effect of the stress-limited diffusion is explicitly expressed in the differential equation for the mass transport, as revealed in eqn (31) and the corresponding boundary conditions of (32). Using the same dimensionless variables in eqn (8), eqn (32)- (35) are expressed as Similar to the case of Fick's diffusion, the whole loss function of PDEs is calculated as the sum of the residuals of the PDEs and initial and boundary conditions, L DIS = L PDEs + l(L BCs + L ICs ), with L ICs the same as the case without the stresslimited diffusion and @C @t The procedure for solving the PDEs with the stress-limited diffusion by the DNN is similar to that discussed in Section 4, except the change of the whole loss function with eqn (40) and (41). Three DNNs with the same parameters as Fick's diffusion are used. The numerical results obtained from the DNN solutions are compared to the numerical results from the finite element simulation (FEM) to evaluate the accuracy of the DNN solutions. The PDE module in the commercial multi-physics software of COMSOL was used in the finite element simulation. The 2-node linear element with an element length of R 0 /1000 was used to ensure the convergence and accuracy of the FEM results. Note that there is no analytical solution for the nonlinear diffusion eqn (32) with the initial and boundary conditions (33)- (35). Fig. 4 shows the spatial distributions of the dimensionless concentration and dimensionless displacement at four dimensionless times t = 0.01, 0.1, 0.2 and 0.4. The red solid lines represent the spatial distribution of the FEM results of the dimensionless concentration and dimensionless displacement at different dimensionless times, and the blue dashed lines, green dashed-dot lines and yellow dotted lines represent the numerical results obtained from three DNNs with different parameters at different dimensionless times. The correlation coefficients of the L 2 relative error, as listed in Table 4, are also used to analyze the accuracy of the numerical results obtained from the DNN solutions. @C @t According to Fig. 4, the red solid lines, blue dashed lines, green dashed-dot lines and yellow dotted lines at different dimensionless times nearly overlap, suggesting that the DNN solutions successfully obtain the spatial distributions of the solute concentration and the displacement. As listed in Table 4, the L 2 relative error of the dimensionless concentration at different dimensionless times increases slightly with the increase of the dimensionless time and are larger than the corresponding one without the coupling effect. Such a trend in the L 2 relative error of the dimensionless concentration is likely due to the coupling between stress and diffusion, leading to the increase in the numerical error. A similar conclusion can be drawn from the L 2 relative error of the dimensionless displacement at different dimensionless times, i.e. the accuracy is lower than the corresponding one without the coupling effect. @C @t For three different DNN solutions, the DNN solution with N d = 20 000 and l = 1.0 provides the best results in contrast to the case without coupling. Note that the accuracy may increase slightly if we use more training points (e.g., 50 000 points in the solution domain). However, this will significantly increase the @C @t C*(r, 0) = 0 (37) calculated from the DNN solutions. According to Fig. 5, the numerical results from the DNN solutions exhibit sharp increases of the radial and hoop stresses at the spherical center, the same as the case without the coupling. Also, the dashed lines deviate slightly from the solid lines at different dimensionless times near the surface of the elastic sphere in contrast to the case without the coupling. This behavior reveals that the coupling between stress and diffusion introduces a slightly larger error than the case without the coupling. Conclusions In summary, we have demonstrated the feasibility of using DNNs to solve the DIS problems in a spherical electrode of LIBs with two whole loss functions for the cases with and without the coupling between stress and diffusion, respectively. The two whole loss functions were developed under the framework of linear elasticity for DIS in an elastic sphere. Three different DNNs with different parameters were used in the training of the DNN, and the numerical results obtained from the DNN solutions were compared to those from the exact solutions and the FEM results, respectively. The results reveal that we can use the DNN and the whole loss functions to analyze the DIS present in the elastic sphere during electrochemical cycling. Conclusions DNNs have the following advantages over traditional numerical methods in solving the DIS problems in elastic materials. Conclusions The DNN is a mesh-free method that can reduce the error introduced by meshing to ensure a certain accuracy. Conclusions The DNN can handle two PDEs in DIS problems simultaneously, which can limit the errors introduced in the substitution process. Conclusions Once the DNN for solving the PDEs in DIS problems has been designed, we only need to change some parameters (e.g., boundary conditions and initial conditions) to solve similar problems, which saves the calculation time. Conclusions Compared with the traditional DNN method -'data driven', the method presented in this work does not rely on any exact solution, which means it can be implemented to solve the practical DIS problems because the exact solutions are very difficult to obtain. It needs to be pointed out that more training points are needed to reduce the ''overfitting'' behavior and increase the accuracy. However, there is only a slight increase in the accuracy with increasing the training. There is a great need to design DNNs with less training time, strong adaptability and high accuracy. Author contributions Yuan Xue performed the deep learning calculation and wrote the manuscript; Yong Li contributed to the conception of the study; Kai Zhang performed data analyses; Fuqian Yang helped in performing the analysis with constructive discussion. Conflicts of interest There are no conflicts to declare. Appendix. Structure of neural networks The FNN is also referred to as a multilayer perceptron (MLP) because it has multiple hidden layers. Consider an L-layer neural network or an (L -1) hidden-layer neural network with S l neurons in the l-th layer. Let S n m be the m-th neuron in the nth layer, which can be regarded as one of the outputs of the upper layer that can be obtained by applying an activation function at the upper layer S nÀ1 as S n m ¼ s Appendix. Structure of neural networks where s() is the activation function, which avoids the outputs of each neuron to be unbounded. The common activation functions (e.g., a logistic sigmoid function and a rectified linear unit) are shown in Fig. 6. W im and b n j are the weight and bias between the corresponding neurons, respectively. The whole neural network is presented as Appendix. Structure of neural networks with W = [W ij ] A R SlÀ1ÂSl and b l = [b j l ] A R Sl as the weight matrix and bias vector, and S l as the whole neuron matrix. Appendix. Structure of neural networks We set x and t as the inputs of the neural network in the DNN and u* and C* as the outputs. The hyperbolic (tan h) function is used as the activation function in the calculation. The whole neural network used to solve the PDEs can be simply expressed as Input layer: S 0 (y) = [x, t] A R 2 (44) Hidden layers: S l (y) = s(W T S lÀ1 (y) +b l ) A R Sl , for 1 rl r L À1 Appendix. Structure of neural networks Output layer: S L (y) = [u*, C*] A R 2 Appendix. Structure of neural networks The training process is essentially to find the most appropriate weights and bias of the whole neural network by minimizing the loss function. To achieve this purpose, backpropagation 48 is an important step, in which the most commonly used method is the gradient descent method. 49 In addition, some common optimizers, such as stochastic gradient descent (SGD), Adam, 43 and L-BFGS, 44 are adopted in most cases as well.

섹션 본문 74문단 · 31,339자

(제목 없음)

1Analyzing and predicting diffusion-induced stress are of paramount importance in understanding the structural durability of lithium-and sodium-ion batteries, which generally require solving initial-boundary value problems, involving partial differential equations (PDEs) for mechanical equilibrium and mass transport. Due to the complexity and nonlinear characteristics of the initial-boundary value problems, numerical methods, such as finite difference, finite element, spectral analysis, and so forth, have been used. In this work, we propose two whole loss functions as the sum of the residuals of the PDEs, initial conditions and boundary conditions for the problems with decoupling and coupling between diffusion and stress, respectively, and apply a physics-inspired neural network under the framework of DeepXDE to solve diffusion-induced stress in an elastic sphere in contrast to traditional numerical methods. Using time-space coordinates as inputs and displacement and the solute concentration as outputs of artificial neural networks, we solve the spatiotemporal evolution of the displacement and the solute concentration in the elastic sphere for both the decoupling and coupling problems. The numerical results from the physics-inspired neural network are validated by analytical solutions and a finite element simulation using the COMSOL package. The method developed in this work opens an approach to analyze the stress evolution in electrodes due to electrochemical cycling.

Introduction

2Lithium-ion batteries (LIBs), as one of the world's most promising clean energy storage devices, have attracted great attention due to their higher energy density, larger capacity, and longer life span. Diffusion-induced stress (DIS) due to the concentration gradient during mass transport and/or the deformation of active materials during charging and discharging has been proven to be one of the most important factors contributing to the failure of LIBs. 1,2 DIS can be calculated generally from partial differential equations (PDEs) for mechanical equilibrium and mass transport, in which mechanical equations consist of constitutive equations and equilibrium equations and the mass transport equation is the diffusion equation. The methods to solve such a set of PDEs can follow the techniques in thermo-elasticity, as used first by Prussin. 3 For instance, Li 4 studied DIS in elastic structures of different geometries (e.g., cylindrical, spherical and thin plate) and obtained analytical solutions for each geometry by substituting the analytical solution of the corresponding diffusion equation with the analytical solution for the corresponding thermoelastic problem. Following the thermal analogy method, Yang 5 incorporated diffusion-induced bending in analyzing DIS in an elastic hollow cylinder, in which the analytical forms of resultant axial stress and hoop stress were formulated. Hao et al. 6 investigated the effects of surface stress on DIS in solid and hollow nanowire electrode particles and obtained analytical solutions since the surface stress was used in the boundary conditions. Ostadhossein et al. 7 studied stress effects on the initial lithiation of crystalline silicon nanowires in LIBs based on ReaxFF. Hong et al. 8 used the numerical simulation in analyzing the DIS evolution in Sn micropillars.

3It is very difficult to obtain analytical solutions due to the coupling between diffusion and stress with stress-assisted diffusion 9 and/or a concentration-dependent elastic modulus 10 being included in the DIS analysis. Similarly, it is very difficult to obtain analytical solutions when a large deformation, [11][12][13] plastic flow, 14,15 phase transition, 16,17 chemical reaction, 18,19 dislocation motion, 20,21 and mechanical contact 22 are considered in calculating the DIS in host materials of LIBs. Numerical methods, such as the finite difference method and the finite element method, are generally used to obtain numerical results. The increasing demand for fast charging has led to the observation of some critical experimental behaviors during the charging and discharging of LIBs, 23,24 which require the development of numerical modeling and simulation of DIS in LIBs. However, as numerical modeling and simulation of diffusion-induced stress become more and more complex, the traditional numerical methods used to solve related PDEs may face the issues of numerical convergence and computational cost, resulting in great hindrance to research and development. Hence, there is a great need to develop new numerical methods in DIS research.

4In the last decade, explosive growth of data occurred in all fields, and there has been great progress in computer-related technologies. All of these have provided the conditions needed for the development and applications of machine learning. Deep learning [25][26][27] has become an active area in the field of machine learning and has made remarkable achievements in machine translation, 28 language processing, 29 visual recognition 30 and other related fields. It is now convenient to use the chain rule to differentiate compositions of functions by automatic differentiation in machine learning packages, such as TensorFlow 31 and PyTorch, 32 i.e. neural networks have become promising and efficient tools for solving PDEs.

5In industrial applications of deep learning, a feedforward neural network is one of the simplest, most widely used and most rapidly developed artificial neural networks. The feedforward neural network was designed to approximate target functions, making it possible to solve PDEs by deep learning. Raissi et al. 33 provided a deep learning framework, which is referred to as physics-informed neural networks (PINNs), to solve both forward problems with initial and boundary conditions and inverse problems with some additional information for nonlinear problems. Lu et al. 34 proposed a deep learning library of DeepXDE and introduced a residual-based adaptive refinement method to improve the training efficiency of PINNs. Reformulating PDEs with backward stochastic differential equations, Han et al. 35 targeted on solving nonlinear PDEs with hundreds and potentially thousands of dimensions. Bar-Sinai et al. 36 introduced a data-driven discretization method to resolve spatiotemporal issues over large length and time scales, and their results suggested that the accuracy of the proposed method is in accordance with finite difference methods.

6Solving the PDEs, which consist of geometrical equations, constitutive equations and equilibrium equations, is generally an effective way to understand the deformation and stress fields in a solid. Recently, a deep learning strategy has been used to solve mechanical problems using the strain energy of a solid as a loss function for a deep neural network. 37 In analyzing the Föppl-von Kármán equation, Li et al. 38 compared the differences of numerical accuracies for three differnt methods with a loss function, i.e. purely data-driven, PDE-based and energy-based. These studies suggest that deep learning likely has broad potential in solving mechanical problems and can also be applied to solve chemomechanical coupling prblems, such as DIS in LIBs.

7In this work, we propose two loss functions associated with mass transport and diffusion-induced stress for decoupling and coupling between diffusion and stress, respectively, and use the loss functions in a neural network to numerically solve DIS in an elastic sphere. Such an approach is different from traditional deep learning, which needs the exact solution or reference solution at the corresponding coordinates in the training. This paper is organized as follows. In part 2, we introduce mathematical formulations for DIS and mass transport in the elastic sphere. In part 3, we briefly introduce some basic theory of deep learning and design a physics-inspired neural network, which is also referred to as the deep neural network (DNN), to solve the PDEs in part 2. In part 4, we develop three DNNs with different parameters and compare the numerical results from deep learning with analytical solutions. In part 5, we further test the robustness and capability of the DNN by analyzing DIS in the elastic sphere with stress-limited diffusion and compare the results with the results from the finite element simulation. Finally, we conclude the work.

Mathematical formulations for diffusion-induced stress in an elastic sphere

8Consider a classical case, i.e. the DIS in an isotropic, spherical particle of an initial radius R. The deformation of the sphere is linearly elastic. Since the velocity of the elastic wave is generally much faster than the diffusion rate, mechanical deformation can be regarded as quasi-static. There are only three non-zero stress components, i.e. the radial stress component s r and tangential stress components s y = s j due to the spherical symmetry of the problem.

9Without any body force, the differential equation for the mechanical equilibrium in the elastic sphere in the framework of linear elasticity 39 is @s r @r þ 2 s r À s y r ¼ 0:

10Similar to linear thermoelasticity, 3,40 the constitutive relationship between stress and strain can be written as

11where E and n are the Young's modulus and Poisson's ratio, respectively, and C and O are the molar concentration and the partial molar volume of diffusive atoms. e r and e y are the radial and tangential strain components, respectively, which can be calculated from the non-zero radial displacement u as

12Substituting eqn (2) and (3) in eqn (1), we obtain the differential equation of mechanical equilibrium in terms of the radial displacement u and the solute concentration C as

13For the traction-free condition on the surface of the spherical particle, the initial and boundary conditions are u(r,0) = 0, u(0,t) = 0, s r (R,t) = 0

14Without the stress effects on diffusion, the differential equation for mass transport is

15where D is the diffusion coefficient. Under a constant flux J 0 into the surface of the spherical particle, the initial and boundary conditions are

16In this work, we use time-space coordinates as the DNN inputs and the concentration and displacement as the DNN outputs. Note that there is a convergence issue for a nanosized spherical particle when the chain rule is used to differentiate the function composition via the automatic differentiation of spatial coordinates. To improve the training precision and efficiency, dimensionless variables are introduced as follows:

17Using the dimensionless variables, eqn (4) and (6) are rewritten as

18and the initial and boundary conditions as

19C Ã x; 0 ð Þ ¼ 0; @C Ã ð1; tÞ @x ¼ 1 and @C Ã ð0; tÞ @x ¼ 0;

20with x A [0, 1], which can improve the efficiency as well the accuracy during the training process.

Deep neural networks for solving PDEs

21DNNs include an input layer, several hidden layers and an output layer. As one of the most basic DNNs, the feedforward neural network (FNN) is easy to be trained to solve problems in most cases. In this work, we mainly use the FNN to solve the above PDEs. Detailed information is presented in Appendix.

22In previous studies, 35,36 most researchers had adopted a 'data driven' method to solve PDEs by deep learning. In the DIS analysis, using the 'data driven' method to deal with PDEs requires the coordinate r and time t as the inputs of a neural network and the numerical solutions of the displacement u and the concentration C as the outputs. A key part of the neural network to evaluate the results is the loss function, which can be expressed in the 'data driven' method as

23where N tra is the number of training points, and û i and Ĉ i are the exact solution or reference solution at the corresponding coordinates, which need to be known in advance. As given by eqn (14), the loss function for the data-driven model can be minimized only when the solution field of a sufficiently large number of sample points can be observed. However, for the PDEs in the DIS analysis, exact solutions or reference solutions are generally difficult to derive and/or obtain. Hence, it is necessary to develop new loss functions to obtain the solutions.

24To use DNNs to solve the DIS problems, the outputs of the DNN must satisfy the PDs of (10) and (11) and the corresponding initial and boundary conditions of (12) and (13). Following the work by Lu et al., 34 we construct a whole loss function of the PDEs for the DIS in the spherical sphere as the sum of the residuals of the PDEs and the initial and boundary conditions in analyzing the discrepancy between the DNN and constraints.

25Let L PDEs be the residuals from the two PDEs as

26where (x i , t i ) are the residual points that are sampled in the solution domain, and N d is the number of the sample points. L equi and L diff represent the losses of the equilibrium equation and the mass transport equation, respectively.

27The boundary conditions for mechanical deformation include the traction and displacement conditions, and both can be regarded as the Dirichlet boundary condition. For the mass-transport equation, the boundary conditions are the Neumann boundary conditions. The loss function of the initial conditions can be treated as the ones similar to the Dirichlet boundary condition in DNNs. Thus, the loss functions for the four boundary conditions L BCs and two initial conditions L ICs are constructed, respectively, as

28Here, (0, t i ),(1, t i ) and (x i , 0) are the residual points sampled randomly on the boundary (i.e., x = 0 and x = 1) at the initial time (i.e., t = 0). N BCs is the number of points sampled on the left and right boundaries, and N ICs is the number of points sampled at initial time.

29The whole loss function is then constructed as

30where l is the weight of loss. Note that the finite difference is used in the calculation of the derivatives in eqn (16) during the numerical calculation. The minimization of the total loss L DIS is performed to determine the appropriate whole weight matrix and bias vector h* = [W, b] in the DNN, which is used to obtain the numerical solution of the corresponding PDEs for the given initial and boundary conditions for a pre-determined error limit e. When the whole loss function is smaller than the error limit, the DNN stops training and establishes the whole weight matrix and bias vector. The flow chart of the DNN with the loss functions to solve the PDEs for the DIS in the elastic sphere is shown in Fig. 1, and some parameters and optimizers used in the DNN are listed in Table 1. Note that we can pre-determine an iteration number as the stop signal instead of the error tolerance for optimization. The open-source machine learning libraries Tensorflow 31 and DeepXDE 34 were used in the DNN to obtain related parameters.

31According to eqn (18), the training data in this work are different from those used in the traditional 'data driven' method 36 and possess the following pivotal features.

32The dataset does not contain exact solutions (reference solutions).

33The dataset only relies on the coordinates in the solution domain, which indicates that the number of training points can be infinite theoretically.

34The training sample can be arbitrary and can be adjusted during the training process.

35Generally, the validation and test processes are important to DNNs; 41,42 however, the DNN used in this work can be regarded as a computation tool in solving the PDEs rather than training a ''universal'' model to find the solution of any PDE. Since the dataset can be sampled arbitrarily, we only used sample 2000 points to test during iterations. Meanwhile, it should be noted that once the training is completed for the given coordinates of any point, the DNN can give the corresponding solutions. Thus,

DISs in the elastic sphere without stress-limited diffusion

36The procedure for solving the PDEs by deep learning is summarized here. First, we construct a neural network û = (y;h*) as a surrogate of the solution u(y), which takes the input y = [x, s] and the output vector with the same dimension as u. Second, two training sets for the PDEs and initial/boundary conditions are specified. A loss function consisting of the summation of the weighted L 2 norm of both the PDE equations and initial/ boundary conditions is established to measure the discrepancy between the neural network û(y;h*) and constraints. Finally, the minimization of the loss function of the DNN allows for the determination of the parameter h*, which is referred to as the ''training'' process. It should be noted that there is no guarantee for a unique solution because of the nonconvex optimization problem. A common strategy is to perform random initialization a few times for the training process and choose the final solution from the solutions with the smallest training loss. In this work, all the training tasks are handled using a Nvidia Titan Rtx GPU. According to the reports in the literature, 39 the number of training points and the weights of loss may heavily affect the final results. Based on the loss weights and the number of training points, we adopted three DNNs with different parameters to investigate the effects of the number of the sample points on the stress distribution and mass transport. We set the first DNN with All the properties of the material used in the loss function of eqn (18) are listed in Table 2, which are the material properties of the electrode material Mn 2 O 4 used in LIBs. 40 After completing the training, the DNN, we can obtain the DNN solutions of the dimensionless displacement and the concentration for the given initial and boundary conditions.

37The numerical results obtained from the DNN with the proposed architecture and loss function are compared to the analytical solution of the corresponding problem. Without the stress-limited diffusion, the concentration distribution in the elastic sphere in a dimensionless form is 45

38where z n (n = 1, 2, 3. . .) are the positive roots of the equation tan(z n ) = z n .

39To visualize the accuracy of the prediction and analyze the error, we sampled 2000 points uniformly at several fixed times (e.g., t = 0.01, 0.1, 0.2 and 0.4) and then plotted the DNN solutions under different parameters. For comparison, the results from the analytical solutions at these typical dimensionless times are also shown in Fig. 2. Here, the red solid lines represent the spatial distribution of the solute concentration and the displacement obtained from the analytical solutions at different dimensionless times, and the blue dashed lines, green dashed-dot lines and yellow dotted lines represent, respectively, the numerical results obtained from three different DNNs at different dimensionless times. To more intuitively compare the differences between different DNN solutions and the analytical solutions, we enlarge the plots at some key dimensionless time nodes in Fig. 2.

40The L 2 relative error between the DNN results and the analytical solutions is calculated as

41and the L 2 relative error correlation coefficient a is

42Here, y exact and y pred correspond to the results obtained from the analytical solutions and the DNN solutions, and N is the number of points selected in computing the L 2 relative error. It should be noted that the accuracies of both the dimensionless concentration and dimensionless displacement are measured by the L 2 relative error of eqn (20). We uniformly sampled 100 points from x = 0.01 to 1.0 (i.e. 0.01, 0.02, . . ., 0.99, 1.0), which is used to quantitatively calculate the L 2 relative error between the exact solutions and DNN solutions. All the correlation coefficients of the L 2 relative error under different DNN solutions are listed in Table 3. Table 3, as the correlation coefficients of the L 2 relative error for the dimensionless concentration at different dimensionless times are approximately equal to 1. According to Fig. 2d, the red solid lines, blue dashed lines, green dash-dot lines and yellow dotted lines at dimensionless times t = 0.01 and 0.4 nearly overlap; however, According to Fig. 2 and Table 3, we can conclude that the DNN solution with N d = 10 000 and l = 1.0 gave the best results with the least training time and the DNN solution with N d = 20 000 and l = 1.0 took the longest training time and had the worst results. For the DNN solution with N d = 20 000 and l = 1.0 at t = 0.01, the relative error of the dimensionless displacement is very large because the exact dimensionless displacement is close to 0. In fact, this is a common behavior in the training process of the DNN, which is referred to as ''overfitting''. 46 The analytical solutions of the radial and hoop stresses are calculated from the theory of elasticity 39 with eqn (10) and the initial/boundary conditions (12). Using eqn (19), we have the DIS in the elastic sphere as Note that the dimensionless concentration and dimensionless displacement are the outputs of the DNN solutions. We used the dimensionless concentration, the dimensionless displacement and the constitutive relationship to calculate the DIS in the elastic sphere. The dimensionless stresses in the elastic sphere are

43In the following discussion, we use the dimensionless concentration and dimensionless displacement obtained from the DNN solution with N d = 10 000 and l = 1.0. Fig. 3 shows the spatial distribution of the dimensionless radial and hoop stresses at four dimensionless times t = 0.01, 0.1, 0.2 and 0.4. Solid lines represent the numerical results from the analytical solution, and dashed lines represent the numerical results obtained from the DNN solution. It is evident that the solid lines and the dashed lines nearly overlap at different dimensionless times, suggesting that the DNN solution exhibits a high accuracy in calculating the DIS in the elastic sphere.

44It needs to be pointed out that the numerical results obtained from the DNN solution exhibit sharp increases for the radial and hoop stresses at the spherical center. In the numerical calculation, the term u/r (hoop strain) will numerically approach infinity as r approaches 0, leading to the sharp increase of the spatial distribution of radial and hoop stresses near the electrode center. In general, the numerical results obtained from the DNN solution are in good accordance with the results from the analytical solution. The difference between the numerical results obtained from the DNN solution and the results from the analytical solution decreases with an increase in the diffusion time, which indicates that the DNN gradually 'learns' how to solve the PDEs.

DISs in the elastic sphere with stress-limited diffusion

45One of the important features of the DNN is the capability of solving nonlinear problems. In this section, we incorporate the stress-limited diffusion in mass transport. 47 Yang 9 reviewed the interaction between chemical stress and diffusion, which includes hydrostatic stress in the chemical potential. In an ideal solid solution, chemical potential m can be expressed as

46where m 0 is the constant, R g is the gas constant, T is the absolute temperature, and s h = 1/3(s r + s y + s j ) is the hydrostatic stress that can be computed by eqn (2) as

47The species flux J can be calculated as

48Substituting eqn (26) in (28) yields

49According to the mass conservation, there is

50Substituting eqn (29) in (30), we have @C @t

51Finally, the diffusion equation considering the effect of hydrostatic stress can be obtained by substituting eqn (27) in (31).

@C @t

52Similar to the case of Fick's diffusion under the galvanostatic operation with a constant flux J 0 at the surface of the spherical particle, the initial and boundary conditions take the forms C(r, 0) = 0 (33)

53Jð0; tÞ ¼ ÀD @Cð0; tÞ @r À OCð0; tÞ R g T @s h ð0; tÞ @r ¼ 0;

54JðR; tÞ ¼ ÀD @CðR; tÞ @r À OCðR; tÞ R g T @s h CðR; tÞ @r

55Here, we set T = 300 K in the calculation. Other material parameters used in this section are listed in Table 2.

56The effect of the stress-limited diffusion is explicitly expressed in the differential equation for the mass transport, as revealed in eqn (31) and the corresponding boundary conditions of (32). Using the same dimensionless variables in eqn (8), eqn (32)- (35) are expressed as Similar to the case of Fick's diffusion, the whole loss function of PDEs is calculated as the sum of the residuals of the PDEs and initial and boundary conditions, L DIS = L PDEs + l(L BCs + L ICs ), with L ICs the same as the case without the stresslimited diffusion and

57The procedure for solving the PDEs with the stress-limited diffusion by the DNN is similar to that discussed in Section 4, except the change of the whole loss function with eqn (40) and (41). Three DNNs with the same parameters as Fick's diffusion are used. The numerical results obtained from the DNN solutions are compared to the numerical results from the finite element simulation (FEM) to evaluate the accuracy of the DNN solutions. The PDE module in the commercial multi-physics software of COMSOL was used in the finite element simulation. The 2-node linear element with an element length of R 0 /1000 was used to ensure the convergence and accuracy of the FEM results. Note that there is no analytical solution for the nonlinear diffusion eqn (32) with the initial and boundary conditions (33)- (35). Fig. 4 shows the spatial distributions of the dimensionless concentration and dimensionless displacement at four dimensionless times t = 0.01, 0.1, 0.2 and 0.4. The red solid lines represent the spatial distribution of the FEM results of the dimensionless concentration and dimensionless displacement at different dimensionless times, and the blue dashed lines, green dashed-dot lines and yellow dotted lines represent the numerical results obtained from three DNNs with different parameters at different dimensionless times. The correlation coefficients of the L 2 relative error, as listed in Table 4, are also used to analyze the accuracy of the numerical results obtained from the DNN solutions.

58According to Fig. 4, the red solid lines, blue dashed lines, green dashed-dot lines and yellow dotted lines at different dimensionless times nearly overlap, suggesting that the DNN solutions successfully obtain the spatial distributions of the solute concentration and the displacement. As listed in Table 4, the L 2 relative error of the dimensionless concentration at different dimensionless times increases slightly with the increase of the dimensionless time and are larger than the corresponding one without the coupling effect. Such a trend in the L 2 relative error of the dimensionless concentration is likely due to the coupling between stress and diffusion, leading to the increase in the numerical error. A similar conclusion can be drawn from the L 2 relative error of the dimensionless displacement at different dimensionless times, i.e. the accuracy is lower than the corresponding one without the coupling effect.

59For three different DNN solutions, the DNN solution with N d = 20 000 and l = 1.0 provides the best results in contrast to the case without coupling. Note that the accuracy may increase slightly if we use more training points (e.g., 50 000 points in the solution domain). However, this will significantly increase the

60C*(r, 0) = 0 (37) calculated from the DNN solutions. According to Fig. 5, the numerical results from the DNN solutions exhibit sharp increases of the radial and hoop stresses at the spherical center, the same as the case without the coupling. Also, the dashed lines deviate slightly from the solid lines at different dimensionless times near the surface of the elastic sphere in contrast to the case without the coupling. This behavior reveals that the coupling between stress and diffusion introduces a slightly larger error than the case without the coupling.

Conclusions

61In summary, we have demonstrated the feasibility of using DNNs to solve the DIS problems in a spherical electrode of LIBs with two whole loss functions for the cases with and without the coupling between stress and diffusion, respectively. The two whole loss functions were developed under the framework of linear elasticity for DIS in an elastic sphere. Three different DNNs with different parameters were used in the training of the DNN, and the numerical results obtained from the DNN solutions were compared to those from the exact solutions and the FEM results, respectively. The results reveal that we can use the DNN and the whole loss functions to analyze the DIS present in the elastic sphere during electrochemical cycling.

62DNNs have the following advantages over traditional numerical methods in solving the DIS problems in elastic materials.

63The DNN is a mesh-free method that can reduce the error introduced by meshing to ensure a certain accuracy.

64The DNN can handle two PDEs in DIS problems simultaneously, which can limit the errors introduced in the substitution process.

65Once the DNN for solving the PDEs in DIS problems has been designed, we only need to change some parameters (e.g., boundary conditions and initial conditions) to solve similar problems, which saves the calculation time.

66Compared with the traditional DNN method -'data driven', the method presented in this work does not rely on any exact solution, which means it can be implemented to solve the practical DIS problems because the exact solutions are very difficult to obtain. It needs to be pointed out that more training points are needed to reduce the ''overfitting'' behavior and increase the accuracy. However, there is only a slight increase in the accuracy with increasing the training. There is a great need to design DNNs with less training time, strong adaptability and high accuracy.

Author contributions

67Yuan Xue performed the deep learning calculation and wrote the manuscript; Yong Li contributed to the conception of the study; Kai Zhang performed data analyses; Fuqian Yang helped in performing the analysis with constructive discussion.

Conflicts of interest

68There are no conflicts to declare.

Appendix. Structure of neural networks

69The FNN is also referred to as a multilayer perceptron (MLP) because it has multiple hidden layers. Consider an L-layer neural network or an (L -1) hidden-layer neural network with S l neurons in the l-th layer. Let S n m be the m-th neuron in the nth layer, which can be regarded as one of the outputs of the upper layer that can be obtained by applying an activation function at the upper layer S nÀ1 as S n m ¼ s

70where s() is the activation function, which avoids the outputs of each neuron to be unbounded. The common activation functions (e.g., a logistic sigmoid function and a rectified linear unit) are shown in Fig. 6. W im and b n j are the weight and bias between the corresponding neurons, respectively. The whole neural network is presented as

71with W = [W ij ] A R SlÀ1ÂSl and b l = [b j l ] A R Sl as the weight matrix and bias vector, and S l as the whole neuron matrix.

72We set x and t as the inputs of the neural network in the DNN and u* and C* as the outputs. The hyperbolic (tan h) function is used as the activation function in the calculation. The whole neural network used to solve the PDEs can be simply expressed as Input layer: S 0 (y) = [x, t] A R 2 (44) Hidden layers: S l (y) = s(W T S lÀ1 (y) +b l ) A R Sl , for 1 rl r L À1

73Output layer: S L (y) = [u*, C*] A R 2

74The training process is essentially to find the most appropriate weights and bias of the whole neural network by minimizing the loss function. To achieve this purpose, backpropagation 48 is an important step, in which the most commonly used method is the gradient descent method. 49 In addition, some common optimizers, such as stochastic gradient descent (SGD), Adam, 43 and L-BFGS, 44 are adopted in most cases as well.

참고문헌 41건

  1. Learning representations by back-propagating errors Nature · Nature Portfolio · 1986 10.1038/323533a0
  2. Large Plastic Deformation in High‐Capacity Lithium‐Ion Batteries Caused by Charge and Discharge Journal of the American Ceramic Society · Wiley · 2011 10.1111/j.1551-2916.2011.04432.x
  3. Effect of local solid reaction on diffusion-induced stress Journal of Applied Physics · American Institute of Physics · 2010 10.1063/1.3374471
  4. Interaction between diffusion and chemical stresses Materials Science and Engineering A · Elsevier BV · 2005 10.1016/j.msea.2005.05.117
  5. Diffusion-induced stresses of electrode nanomaterials in lithium-ion battery: The effects of surface stress Journal of Applied Physics · American Institute of Physics · 2012 10.1063/1.4767913
  6. Interface-reaction controlled diffusion in binary solids with applications to lithiation of silicon in lithium-ion batteries Journal of the Mechanics and Physics of Solids · Elsevier BV · 2012 10.1016/j.jmps.2012.11.001
  7. Stress effects on the initial lithiation of crystalline silicon nanowires: reactive molecular dynamics simulations using ReaxFF Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2014 10.1039/c4cp05198j
  8. Physical chemistry of some microstructural phenomena Metallurgical Transactions A · Springer Science+Business Media · 1978 10.1007/bf02661808
  9. A Limited Memory Algorithm for Bound Constrained Optimization SIAM Journal on Scientific Computing · Society for Industrial and Applied Mathematics · 1995 10.1137/0916069
  10. Generation and Distribution of Dislocations by Solute Diffusion Journal of Applied Physics · American Institute of Physics · 1961 10.1063/1.1728256
  11. Diffusion-Induced Stresses of Spherical Core-Shell Electrodes in Lithium-Ion Batteries: The Effects of the Shell and Surface/Interface Stress Journal of The Electrochemical Society · Institute of Physics · 2013 10.1149/2.054304jes
  12. Learning Deep Architectures for AI 2009 10.1561/9781601982957
  13. Effect of diffusion-induced bending on diffusion-induced stress near the end faces of an elastic hollow cylinder Mechanics Research Communications · Elsevier BV · 2013 10.1016/j.mechrescom.2013.05.006
  14. A Cahn–Hilliard-type phase-field theory for species diffusion coupled with large elastic deformations: Application to phase-separating Li-ion electrode materials Journal of the Mechanics and Physics of Solids · Elsevier BV · 2014 10.1016/j.jmps.2014.05.001
  15. A finite deformation stress-dependent chemical potential and its applications to lithium ion batteries Journal of the Mechanics and Physics of Solids · Elsevier BV · 2012 10.1016/j.jmps.2012.03.008
  16. Adaptive Stochastic Gradient Descent Optimisation for Image Registration International Journal of Computer Vision · Springer Science+Business Media · 2008 10.1007/s11263-008-0168-y
  17. Representation Learning: A Review and New Perspectives IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2013 10.1109/tpami.2013.50
  18. A simple model for diffusion-induced dislocations during the lithiation of crystalline materials Theoretical and Applied Mechanics Letters · Elsevier BV · 2014 10.1063/2.1405101
  19. Interaction between diffusion and stresses in composition-gradient electrodes Solid State Ionics · Elsevier BV · 2015 10.1016/j.ssi.2015.10.011
  20. Voltage hysteresis of lithium ion batteries caused by mechanical stress Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2016 10.1039/c5cp06179b
  21. Phase-field model for the two-phase lithiation of silicon Journal of the Mechanics and Physics of Solids · Elsevier BV · 2016 10.1016/j.jmps.2016.04.020
  22. Solving high-dimensional partial differential equations using deep learning Proceedings of the National Academy of Sciences · National Academy of Sciences · 2018 10.1073/pnas.1718942115
  23. Learning data-driven discretizations for partial differential equations Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1814058116
  24. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations Journal of Computational Physics · Elsevier BV · 2018 10.1016/j.jcp.2018.10.045
  25. A defect-based viscoplastic model for large-deformed thin film electrode of lithium-ion battery International Journal of Plasticity · Elsevier BV · 2018 10.1016/j.ijplas.2018.12.001
  26. The mathematics of diffusion Annals of Nuclear Energy · Elsevier BV · 1977 10.1016/0306-4549(77)90072-x
  27. Deep learning Nature · Nature Portfolio · 2015 10.1038/nature14539
  28. Effect of Li concentration-dependent material properties on diffusion induced stresses of a Sn anode Physical Chemistry Chemical Physics · Royal Society of Chemistry · 2019 10.1039/c9cp00559e
  29. Challenges and opportunities towards fast-charging battery materials Nature Energy · Nature Portfolio · 2019 10.1038/s41560-019-0405-3
  30. Mechanical contact in composite electrodes of lithium-ion batteries Journal of Power Sources · Elsevier BV · 2019 10.1016/j.jpowsour.2019.227115
  31. An energy approach to the solution of partial differential equations in computational mechanics via machine learning: Concepts, implementation and applications Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2020 10.1016/j.cma.2019.112790
  32. A Free Volume-Based Viscoplastic Model for Amorphous Silicon Electrode of Lithium-Ion Battery Journal of The Electrochemical Society · Institute of Physics · 2020 10.1149/1945-7111/ab75c0
  33. Coupling effects of self-limiting lithiation, reaction front evolution and free volume evolution on chemical stress in amorphous wire-based electrodes Journal of Power Sources · Elsevier BV · 2020 10.1016/j.jpowsour.2020.228016
  34. DeepXDE: A Deep Learning Library for Solving Differential Equations SIAM Review · Society for Industrial and Applied Mathematics · 2021 10.1137/19m1274067
  35. A physics-guided neural network framework for elastic plates: Comparison of governing equations-based and energy-based approaches Computer Methods in Applied Mechanics and Engineering · Elsevier BV · 2021 10.1016/j.cma.2021.113933
  36. Predicting the components and types of kerogen in shale by combining machine learning with NMR spectra Fuel · Elsevier BV · 2020 10.1016/j.fuel.2020.120006
  37. Li-ion distribution and diffusion-induced stress calculations of particles using an image-based finite element method Mechanics of Materials · Elsevier BV · 2021 10.1016/j.mechmat.2021.103843
  38. Generalized Theory for Diffusion-Induced Stress Journal of The Electrochemical Society · Institute of Physics · 2021 10.1149/1945-7111/abf411
  39. Stress-Regulated Protocols for Fast Charging and Long Cycle Life in Lithium-Ion Batteries: Modeling and Experiments Journal of The Electrochemical Society · Institute of Physics · 2021 10.1149/1945-7111/ac0bf4
  40. Defining kerogen maturity from orbital hybridization by machine learning Fuel · Elsevier BV · 2021 10.1016/j.fuel.2021.122250
  41. Deep Learning: Methods and Applications Foundations and Trends® in Signal Processing · Now Publishers · 2014 10.1561/2000000039