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

Thermal control of laser powder bed fusion using deep reinforcement learning

관련 엔지니어링 플라스틱 · (23) 컴파운드

기본 정보

저자
  1. Francis Ogoke — Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh 15213, PA, USA
  2. Amir Barati Farimani — Department of Mechanical Engineering, Carnegie Mellon University, Pittsburgh 15213, PA, USA|||Department of Chemical Engineering, Carnegie Mellon University, Pittsburgh 15213, PA, USA|||Machine Learning Department, Carnegie Mellon University, Pittsburgh 15213, PA, USA
DOI
10.1016/j.addma.2021.102033
저널
Additive manufacturing
발행년도
2021
발행기관
Elsevier BV
피인용수
84
라이선스
cc-by-nc-nd
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1016/j.addma.2021.102033
토픽
Laser Material Processing Techniques
OpenAlex ID
W3167824474

평가 내용

관련도
관련
사업분야
엔지니어링 플라스틱 · (23) 컴파운드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '엔지니어링 플라스틱 > 컴파운드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Powder-based additive manufacturing techniques provide tools to construct intricate structures that are difficult to manufacture using conventional methods. In Laser Powder Bed Fusion, components are iteratively built by selectively melting specific areas of the powder bed to form the two-dimensional cross section of the specific part. However, the high occurrence of defects impact the adoption of this method for precision applications. Therefore, a control policy for dynamically altering process parameters to avoid phenomena that lead to defect occurrences is necessary. A Deep Reinforcement Learning (DRL) framework that derives a versatile control strategy for minimizing the likelihood of these defects is presented. The generated control policy alters either the velocity or power of the laser during the melting process to ensure the consistency of the melt pool and reduce overheating in the generated product. The control policy is trained and validated on efficient simulations of the continuum temperature distribution of the powder bed layer under various laser trajectories.

본문 41,417자

본문 펼치기
## THERMAL CONTROL OF LASER POWDER BED FUSION USING DEEP REINFORCEMENT LEARNING A PREPRINT Francis Ogoke Department of Mechanical Engineering Carnegie Mellon University Pittsburgh, PA 15213 Amir Barati Farimani Department of Mechanical Engineering Carnegie Mellon University Pittsburgh, PA 15213 February 8, 2021 ABSTRACT Powder-based additive manufacturing techniques provide tools to construct intricate structures that are difficult to manufacture using conventional methods. In Laser Powder Bed Fusion, components are built by selectively melting specific areas of the powder bed, to form the two-dimensional cross section of the specific part. However, the high occurrence of defects impact the adoption of this method for precision applications. Therefore, a control policy for dynamically altering process parameters to avoid phenomena that lead to defect occurrences is necessary. A Deep Reinforcement Learning (DRL) framework that derives a versatile control strategy for minimizing the likelihood of these defects is presented. The generated control policy alters the velocity of the laser during the melting process to ensure the consistency of the melt pool and reduce overheating in the generated product. The control policy is trained and validated on efficient simulations of the continuum temperature distribution of the powder bed layer under various laser trajectories. _K_ eywords Deep Reinforcement Learning _·_ Additive Manufacturing _·_ Powder Bed Fusion 1 Introduction Additive Manufacturing (AM) enables the construction of three-dimensional parts that are difficult to make using traditional machining methods. These methods enable complex part production while decreasing material waste, and allow for local control of materials and mass customization [1]. Laser Powder Bed Fusion is a subcategory of AM, which creates a molten product by using a heat source to fuse layers of metallic powder together. Powder Bed Fusion methods have been used to construct complex lattice products from alloys of iron and titanium, and have seen heavy usage in the biomedical and aerospace industries. However, challenges lie in the widespread adoption of these methods, due to the tendency for PBF-produced parts to develop defects and inferior physical properties due to residual stresses that may lead to failure in these specific applications [2–5].These defects include poor surface finish, increased porosity, delamination, cracking, and residual stresses, leading to inferior mechanical properties and poor geometric conformity. Previous experimental studies have shown that the characteristics of the molten area associated with the scanning process are significant contributors to the formation of defects in the finished product. The melt pool can produce keyhole porosities, while the temperature gradients produced during melting can also influence the microstructure that forms and lead to cracks [6–8]. To avoid defects due to adverse melt pool behavior during the scan path as well as overheating, one would ideally be able to adjust the process parameters to the changing temperature distribution during the scan trajectory. Powder Bed Fusion is an inherently complex multiscale process, as physical effects that occur at both the powder and continuum scales determine the properties of the final material. This work will focus on effects at the continuum scale, neglecting convection and radiation heat transfer of the heat source to consider on the effect of heat conduction on the resulting temperature field. This abstraction creates the necessary speed-ups required to run relatively data-intensive DRL algorithms. A PREPRINT - FEBRUARY 8, 2021 Figure 1: The simulation of the continuum heat distribution using the Repeated Use of Stored Line Solutions Method. (a) The Eagar-Tsai model solves the heat conduction Partial Differential Equation for ∆ _t_, describing the temperature distribution of a moving heat source represented by a Gaussian function on the surface of the domain. (b) To advance the simulation by ∆ _t_ using the RUSLS method, a Gaussian blur is applied to the solution _T_ ( _x, y, z, t −_ ∆ _t_ ) to represent the heat diffusion far away from the heat source, and then the solution for the ET model for ∆ _t_ and a given set of process parameters is superimposed on the domain to correspond to the laser’s position at time _t_ . (c) The solution using the RUSLS method in combination with the ET model, at time _t_ = 1500 _µs_ . The maximum scale of the colorbar represents the melting point of the powder. Classical optimization methods have been used in the past to produce control strategies to reduce the occurrence of mechanical defects. However, these methods require severe model order reductions, and are restricted in the amount of data that they are able to process due to computational expense. Evolutionary algorithms, such as deep reinforcement learning, show promise in adapting to previously unseen process parameters and dynamically changing conditions. Purely statistical methods have also been used to model the AM process, such as analysis of variance, ANN, and response surface methodology, though these data driven approaches are restricted due to a lack of physical insight. Previous work has been done applying classical control strategies to dynamically change process parameters during the melting process [9–19]. In [20], a model-based feedforward closed-loop control method is presented to limit temperature deviations, using an FPGA based controller. In [19], an open-loop control mechanism for limiting the deviation of the melt-pool area during the melting process is developed using PID methods. However, the use of PID controllers requires extensive parameter tuning, and open-loop control is unable to dynamically change the process parameters in response to feedback from the system. Deep Reinforcement Learning methods are able to automatically learn a control policy that minimizes the error signal with minimal manual tuning required. Previous attempts of addressing the instability in the melt pool depth have used classical optimization techniques, such as greedy heuristics, but rely on model reductions, with assumptions that may not be satisfied with arbitrary scan paths [21]. In response to these challenges, data-driven optimization techniques have seen recent adoption in the field of Additive Manufacturing [22–24]. [25] used Convolutional Neural Networks to predict characteristics of the melt pool depth given an image of the melt pool itself, while [26] uses Physics Informed Machine Learning to analyze the mechanics of pore generation. Deep Reinforcement Learning (DRL) has emerged in recent years as a method of addressing complex control scenarios in relatively high-dimensional spaces [27–30]. DRL is a semi-supervised learning method that iteratively improves on an initially random control policy by collecting experience and feedback from the simulated environment. DRLbased methods have been successful in transport phenomena and process control applications, such as the control of self-propelled swimmers [27], and the control of Rayleigh-Bernard Convection [28]. These advances show promise in its ability to perform optimization for complex, high dimensional state spaces. Here, we present a DRL framework to create a sophisticated control policy that addresses a key mechanism of defect formation, the variation of the melt pool dimensions during the melting process, with minimal manual parameter searching. 2 Methodology 2.1 Simulation Description In this work, we consider the heat conduction of a moving heat source in a rectangular domain. To create an efficient simulation that is computationally feasible for Reinforcement Learning, the complex multiscale effects of Powder Bed Fusion are abstracted to the continuum temperature distribution of the material. The process is modeled as the two 2 A PREPRINT - FEBRUARY 8, 2021 dimensional conduction associated with a moving heat source on a rectangular plate, with the governing equation given by the following Partial Differential Equation _<u>∂T</u>_ _∂t_ <sup>=</sup> <sup>_D∇_</sup> <sup>2</sup> <sup>_T_</sup> <sup>(</sup> <sup>x</sup> <sup>_, t_</sup> <sup>) + Θ((</sup> <sup>_x_</sup> <sup>)</sup> <sup>_, t_</sup> <sup>)</sup> (1) where _D_ = _ρckp_ <sup>is the thermal diffusivity and Θ =</sup> _ρcQp_ <sup>The process is modeled as having uniform thermal properties</sup> with parameters listed in Table 1. When Equation 1 is solved using the Green’s function for heat conduction in an infinite medium, Equation 2 is produced, describing the temperature field _T_ ( _x, t_ ). Equation 2 can be decomposed into two separate contributions to the temperature solution, the first term representing the contribution of the heat source _TQ_ <sup>(</sup> <sup>_i_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>) and the second term representing the history of heat diffusion</sup> <sup>_T i_</sup> _D_ <sup>(</sup> <sup>_x_</sup> <sup>).</sup> _Q_ <sup>(</sup> <sup>_i_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>) and the second term representing the history of heat diffusion</sup> <sup>_T i_</sup> _D_ <sup>_i_</sup> _D_ <sup>(</sup> <sup>_x_</sup> <sup>).</sup> _T_ ( _x, t_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) = _T_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ( _x_ ) = _TQ_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>(</sup> _D_ <sup>_i_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>)</sup> _Q_ <sup>(</sup> <sup>_i_</sup> <sup>)(</sup> <sup>_x_</sup> <sup>) +</sup> <sup>_T_</sup> <sup>(</sup> _D_ <sup>_i_</sup> <sup>)</sup> The contribution of the heat source can be modelled by the Eagar-Tsai solution for the conduction, Equation (3), while the diffusion history implementation will be discussed in section 2.3. The method of images is used to implement the boundary conditions. The general solution, after applying the Green’s function solution method is Ω _T_ ( _x, t_ ) = - _t_ _t_ 0 _G_ ( x _−_ x <sup>_′_</sup> _, t −_ _τ_ )Θ( x <sup>_′_</sup> _, τ_ ) _d_ x <sup>_′_</sup> _dτ_ + Ω _G_ ( x _−_ x <sup>_′_</sup> _, t −_ _t_ 0) _T_ ( x <sup>_′_</sup> _, t_ 0) _d_ x <sup>_′_</sup> (2) where _G_ ( _x_ ) is the Green’s function given by <u>1</u> _G_ ( x _−_ x <sup>_′_</sup> _, t −_ _τ_ ) = [4 _πD_ ( _t −_ _τ_ )] <sup>3</sup> <sup>_/_</sup> <sup>2</sup> <sup>exp</sup> _−_ <sup>_<u>||x′ −</u>_</sup> <sup>_<u>x||</u>_</sup> <sup>2</sup> 4 _D_ ( _t −_ _τ_ ) (3) The heat source can be parameterized as a Gaussian distribution moving on the surface of the plate, in Eq (4). _<u>AP</u>_ _θ_ ( _x, y, z, t_ ) = exp 2 _πσ_ <sup>2</sup> _ρcp_ - _−_ <sup><u>(</u></sup> <sup>_<u>x −</u>_</sup> <sup>_<u>V t</u>_</sup> <sup><u>)2 +</u></sup> <sup>_<u>y</u>_</sup> <sup>2</sup> 2 _σ_ <sup>2</sup> _δ_ ( _z_ ) (4) This leads to the formulation of the Eagar-Tsai model of transient heat conduction, Equation 4, representing the temperature distribution induced by a moving heat source for some ∆ _t_ at velocity _V_ in the _x_ -direction. <sup><u>+</u></sup> <sup>_<u>V</u>_</sup> <sup><u>¯</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>y</u>_</sup> <sup>2</sup> _−_ _<u>z</u>_ <sup>2</sup> 2 _σ_ <sup>2</sup> + 4 _Dτ_ ¯ 4 _D_ 4 _Dτ_ ¯ _<u>AP</u>_ _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> = _~~√~~_ _Tl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _ρcp_ _~~√~~_ - ∆ _t_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> 0 _<u>τ</u>_ <sup>_−_</sup> <sup>1</sup> <sup>_/_</sup> <sup>2</sup> _σ_ <sup>2</sup> + 2 _Dτ_ ¯ <sup>exp</sup> - _−_ <sup><u>(</u></sup> <sup>_<u>x</u>_</sup> <sup><u>+</u></sup> <sup>_<u>V</u>_</sup> <sup><u>¯</u></sup> <sup>_<u>τ</u>_</sup> <sup><u>) +</u></sup> <sup>_<u>y</u>_</sup> <sup>2</sup> _dτ_ ¯ (5) _×_ 4 _π_ <sup>3</sup> _D_ The authors of [31] make use of the method of Repeated Use of Stored Line Solutions to increase the efficiency of the solution process. While fully analytical methods using finite-element methods solve the Eagar-Tsai model for the entire domain, the RUSLS method solves the Eagar-Tsai model for a small line trajectory and reuses the solution to generate the heat distribution in the immediate wake of the laser, after making modifications to account for the geometry of the problem. The solution for the Eagar-Tsai model for a moving point source, from time _t_ = 0 to time _t_ = ∆ _t_ is given by Equation (5), which can be appropriately translated and rotated, to represent motion starting in a given location ( _x, y_ ) and travelling at an angle _θ_ [32]. This solution _Tl_ ( _i_ ) is translated and rotated to the the starting point of the laser (moving from point (0 _,_ 0) to point ( _x, y_ ), and added to the existing temperature distribution, _T_ <sup>_′_</sup> ( _x, y_ ) to form the temperature distribution at time _t_ . To continue advancing the laser where there is an existing temperature distribution present, the heat diffusion from time _t_ to time t + ∆ _t_ is modeled to form _T_ <sup>_′_</sup> ( _x, y_ ) _t_ and the line solution _Tl_ ( _i_ ) is once again oriented to the correct location and added to _T_ <sup>_′_</sup> ( _x, y_ ) to form _T_ ( _x, y_ ). Using these simulations, it is now feasible to iterate over many candidate control policies in a relatively short amount of time, reducing the computational expenses associated with standard Finite Element Analysis methods. 2.2 Convolution and Boundary Conditions Near the boundary of the domain, the Eagar-Tsai model must be modified to produce the appropriate line solutions. If the laser approaches a distance of 4�2 <sup><u>2</u></sup> _ρc_ <sup>_<u>k</u>_</sup> <sup><u>∆</u></sup> _p_ <sup>_<u>t</u>_</sup> <sup>from the boundary of the domain, the method of images is used to account</sup> 3 A PREPRINT - FEBRUARY 8, 2021 for the effect of the boundary on the heat distribution [31]. Specifically, a virtual heat source is simulated at the same distance away on the other side of the boundary during the computation of the line solution. Therefore, edge solutions and corner solutions can be computed by mirroring the normal solution across the relevant boundaries to account for the interaction that the boundary has with the regular dynamics. This virtual heat source is implemented by modifying the dimension integrals in equation (6). _<u>AP</u>_ _l_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ( _x, y, z_ ) = _π_ <sup>3</sup> <sup>_×_</sup> _Tl_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> _~~√~~_ 2 _πσ_ <sup>2</sup> _ρcp_ - ∆ _t_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> (4 _Dτ_ ¯) <sup>_−_</sup> <sup>3</sup> <sup>_/_</sup> <sup>2</sup> _X_ <sup>ˆ</sup> ( _x,_ ¯ _τ_ ) _Y_ <sup>ˆ</sup> ( _y,_ ¯ _τ_ ) _Z_ <sup>ˆ</sup> ( _z,_ ¯ _τ_ ) _dτ_ ¯ (6) 0 In order to account for the history of heat diffusion for the existing temperature distribution on the plate, the second term of Eq. 2 is implemented as a convolution operation. Since the Laplacian of a given vector field acts as a local averaging operator, it can be approximated by applying a convolution filter with weights determined by a Gaussian distribution. This operation can be viewed as a Gaussian blur, with strength of the Gaussian blur determined by the thermal properties of the material, the timescale over which diffusion occurs, and the strength of the laser. _TD_ <sup>(</sup> <sup>_i_</sup> <sup>)(</sup> <sup>x</sup> <sup>) =</sup> Ω _G_ ( x _−_ x <sup>_′_</sup> _,_ ∆ _t_ <sup>(</sup> <sup>_i_</sup> <sup>)</sup> ) _T_ <sup>(</sup> <sup>_i−_</sup> <sup>1)</sup> ( x <sup>_′_</sup> ) _d_ x <sup>_′_</sup> (7) _TD_ <sup>(</sup> <sup>_i_</sup> <sup>)(</sup> <sup>x</sup> <sup>) = [</sup> <sup>_G_</sup> <sup>(</sup> <sup>_i_</sup> <sup>)</sup> <sup>_∗_</sup> <sup>_T_</sup> <sup>(</sup> <sup>_i−_</sup> <sup>1)]</sup> (8) As the the convolution filter is carried out by a weighted average of temperature values in an equi-spaced square grid for each pixel in the domain, special considerations must be made near the boundaries where the convolution filter may extend over the boundary of the mesh. In cases where the boundary condition is constrained to be adiabatic, the domain is artificially extended by the size of the convolution filter. The values in this extended section are taken as the mirror image of the temperature values near the boundary. In cases where the boundary condition is constrained to be a specific temperature value, this extended section is populated by the reference temperature value subtracted by the mirror image of the temperature distribution near the boundary. The meltpool depth is used as a metric for gauging the success of the model, and is calculated by interpolating the temperature field along the y-axis and to find the position with the highest surface temperature, then interpolating along the z-axis to find the point at the temperature below the surface first becomes greater than the melting temperature of the material. This is done by using a root finding algorithm to minimize the distance between the temperature and the melting point of the material based on the current mesh discretization. 2.3 Reinforcement Learning Framework In Reinforcement Learning, a policy selects the optimal control action to take, based on input from the environment. This action subsequently influences the environment, and the effect of this influence on the problem that is solved is quantified by a reward. Specifically, a state space S is defined to act as a low-dimensional representation of the current state of the environment, an action space A is defined to represent the potential actions available to the agent, and the reward quantifies the success of the action(s) taken in the previous step at achieving the prescribed goal. The reinforcement learning optimization paradigm seeks to maximize the reward collected during an episode. This is done by generating a policy, _π_, that will select an action based on the current state, in order to maximize the future expected reward generated from the remainder of the episode. The future expected return of a given state while acting according to policy _π_ is termed the _value function_, _V_ <sup>_π_</sup> ( _s_ ) and the future expected return of a given state after taking a specific action _a_ and thereafter acting with policy _π_ is the _action-value function_, _Q_ <sup>_π_</sup> ( _s, a_ ). The policy is iteratively optimized to find the optimal policy _π_ <sup>_∗_</sup> which maximizes the value of _Q_ <sup>_π_</sup> ( _s, a_ ). (9) _Q_ <sup>_π_</sup> ( _s, a_ ) = E _s_ <sup>_′_</sup> _∼P_ _r_ ( _s, a_ ) + _γ_ E _a_ <sup>_′_</sup> _∼_ E _a_ <sup>_′_</sup> _∼π_ <sup>[</sup> <sup>_Qπ_</sup> <sup>(</sup> <sup>_s′, a′_</sup> <sup>)]</sup> _V_ <sup>_π_</sup> ( _s_ ) = _a_ E _∼π_ _s_ <sup>_′_</sup> _∼P_ [ _r_ ( _s, a_ ) + _γV_ <sup>_π_</sup> ( _s_ <sup>_′_</sup> )] (10) The state space is defined as the observations of the temperature field in specific views and orientations in this formulation. The state space is passed to the policy network as nine 2-D heat maps of the local temperature distribution surrounding the current position of the laser in the domain. A 160 _µm ×_ 160 _µm_ area is defined around the laser, centered on the laser in the x-y cross-sections, and extending downwards from the surface of the domain in the y-z and x-z cross-sections. These three cross-sectional snapshots of the temperature field are concatenated with the two previous 4 A PREPRINT - FEBRUARY 8, 2021 Figure 2: An illustration of the scan paths used to evaluate the performance of the Deep Reinforcement Learning framework. (a) The horizontal cross-hatching scan path. The laser starts at the bottom of the domain, traverses the entire length of the domain, 1 _._ 25 _mm_ horizontally, advances upwards by 0 _._ 125 _mm_, and then traverses the domain in the other direction. (b) The heat distribution taken at _t_ = 9200 _µs_ during the trajectory. The boundary near the laser induces overheating, as energy builds up due to the laser changing direction and is unable to dissipate due to the adiabatic boundary condition. (c) The concentric triangular scan path. The laser starts at the bottom of the domain, moves horizontally for 75% of the length of the domain, then makes a 60 <sup>_◦_</sup> pivot and travels 75 % of the distance it did previously. (d) The heat distribution taken at _t_ = 1500 _µs_ during the concentric triangular trajectory. Overheating is induced when the laser changes direction, and gradually as the residual heat from the tightly packed oscillations begins to build in the center of the domain. sets of snapshots observed during the episode trajectory. Furthermore, the temperature values are whitened, subtracting the mean and dividing by the standard deviation of the state space to approximate a standard normal distribution for the data. The action space is defined as the process parameter updates that are made to the laser characteristics to alter the behavior of the melting process. Specifically, the velocity of the laser in traveling from one pre-specified point in the trajectory to the next is specified. The actions are also rescaled to lie within [-1, 1], to avoid the issue of vanishing gradients that are common with certain activation functions. _vi_ +1 = _ai_ +1 _×_ ( _vmax −_ _vmin_ ) + _vmin_ (11) The reward function quantifies the performance of a control policy on an episode. The reward is defined as the absolute error between the target melt depth and the current depth, combined with a regularization term that avoids "cheating" - where the agent exploits the reward function to produce unwanted behavior. The regularization term penalizes the distance between the minimum and maximum melt depth observed during the episode, avoiding abnormal strategies that may cause sudden spikes in the melt depth that are averaged out in the overall reward for an episode. _<u>Dtarget −</u>_ _<u>Dmelt</u>_ 1 _−_ ���� 0 _._ 5 _× Dtarget_ _Dmelt −_ min _Dmelt_ ) (12) ���� _−_ (max _t_ _t_ _Dmelt −_ min ���� _−_ (max _t_ _t_ _rt_ = _t_ 5 A PREPRINT - FEBRUARY 8, 2021 Figure 3: The Deep Reinforcement Learning framework. (a) In Reinforcement Learning, an agent selects an action, based on the current state _s_ and the policy _π_ mapping each state to an action. The action is deployed in the environment and the action moves to a different state, influencing the environment and producing a reward based on this influence. The policy is updated based on reward, with the end goal of maximizing the observed reward. (b) The state is represented by cross sections of the domain in the x-y, y-z, and x-z planes near the location of the laser, for the three previous timesteps of the simulation. (c) The policy network is a fully connected neural network that takes in the state space matrix, and predicts an action with the aim of maximizing the expected reward. The Policy Network is implemented as a two layer multi-layer perceptron with hyperbolic tangent activation functions and 64 neurons per hidden layer. 2.4 Proximal Policy Optimization In order to optimize the policy network, we use the algorithm Proximal Policy Optimization (PPO) [33], a subcategory of Policy Gradient methods. Policy Gradient methods search probabilistically for optimal policies by gradient ascent. The policy is optimized based on the _advantage function_, _A_ <sup>_π_</sup> which represents the specific increase or decrease in expected reward generated by pursuing an action in relation to the expected future reward seen on average proceeding from a given state. _A_ <sup>_π_</sup> ( _s, a_ ) = _Q_ <sup>_π_</sup> ( _s, a_ ) _−_ _V_ <sup>_π_</sup> ( _s, a_ ) (13) Proximal Policy Optimization, inspired by a related method, Trust Region Policy Optimization, limits the maximum size of the gradient ascent step based on the relative increase in expected reward that will be observed by the new policy. This particular method was selected because it is much simpler than Trust Region Policy Optimization, and requires less hyper-parameter tuning than comparable Reinforcement Learning methods such as Deep Q-Learning and Actor-Critic optimization. Additionally, it is better suited for continuous control problems, where the potential action space is not discretized into a finite number of separate actions. Policy Gradient methods are episodic, as the policy network is updated after the completion of an episode based on the accumulated reward. In this setting, each episode is defined as the laser completing an entire pass through the entire scan path. A vectorized version of Proximal Policy Optimization is implemented for this project wherein multiple agents are deployed in parallel to collect streams of experience and update the same policy network. Vectorizing the PPO implementation reduces the time taken for the algorithm to gather the requisite amount of experience to learn an optimal policy. _L_ <sup>_CLIP_</sup> ( _θ_ ) = _E_ <sup>ˆ</sup> _t_ [ _min_ ( _rt_ ( _θ_ ) _A_ <sup>ˆ</sup> _t, clip_ ( _rt_ ( _θ_ ) _,_ 1 _−_ _ϵ,_ 1 + _ϵ_ )) _A_ <sup>ˆ</sup> _t_ ] (14) 6 A PREPRINT - FEBRUARY 8, 2021 Table 1: Thermal and Process Parameters of the SLM case studied. Parameters Values Units Absorptivity, _A_ 0.3 Thermal Conductivity, _k_ 21.5 _W/mK_ Heat Capacity, _cp_ 505 _J/kgK_ Mesh discretization, _dx_ 20 _µm_ Diameter of laser, _σ_ 13.75 _µm_ Initial temperature of powder bed layer, _T_ 0 300 _K_ 3 Results and Discussion We apply the PPO-enabled Deep Reinforcement Learning algorithm described above to optimize the depth of the melt pool formed during a single layer of the manufacturing process. The method is applied to two different trajectories, a horizontal cross-hatching strategy that is commonly used in industrial applications of Laser Powder Bed Fusion (Figure 2a), and a series of concentric triangles that exaggerates the overheating phenomena that occurs in sub-optimal laser trajectories or confined sections of the powder bed (Figure 2c. As the DRL algorithm will discover a policy that changes the process parameters over time, we compare the performance of each control policy to the melt pool depths that result if the process parameters were held constant during the entire melting process. Figure 4: (a) The discovered control policy for the horizontal cross-hatching scan path. The velocity increases as the laser reverses directions near the boundaries to reduce the accumulation of thermal energy in these areas. (b) The melt depth achieved for the concentric triangular scan path following the derived control policy. (c) The melt depth achieved for the horizontal cross hatching scan path following the derived control policy. (d) The derived control policy for the concentric triangular path. The velocity increases when the laser changes directions, and the average velocity gradually increases as the laser approaches the center of the scan path. The Proximal Policy Optimization algorithm is trained for 15,000 episodic updates. The policy network that is used to map states to their corresponding actions consists of two hidden layers, each with 64 neurons and hyperbolic tangent activation functions. The algorithm is trained in parallel on eight environments, and experience from these parallel environments are used to update the model in a synchronous manner. Control actions are taken at predefined intervals of the trajectory of 50 micrometers each, with each of these intervals defined as a single step iteration of the DRL 7 A PREPRINT - FEBRUARY 8, 2021 framework. The target melt pool depth that the agent is trained to maintain is 55 _µm_ .The parameters describing the thermal properties of the medium, as well as the dimensions of the laser heat source are listed in Table 1. Figure 4 displays the discovered control policy for the horizontal cross-hatching trajectory, when strictly controlling the velocity of the laser during the melting process. In the case where the same velocity is used throughout the entire trajectory, there are noticeable peaks in the melt depth at each quarter interval of the trajectory. In these areas, the melt pool depth increases by as much as 20 _µm_ . The increase in melt depth observed occurs due to the accumulation of energy at the locations at which the laser changes direction, as well as the adiabatic boundary conditions preventing thermal energy from escaping the domain. However, the DRL algorithm successfully optimizes a control policy to limit these effects by modifying the velocity at certain points along the trajectory. As the laser approaches the edges of the domain, the velocity of the laser is increased to decrease the amount of energy transferred to the domain, avoiding spikes in the maximum melt depth due to reduced ability for the heat to diffuse. When compared to the performance of a constant laser velocity, the learned control policy is able to achieve a much smaller variation in the melt pool depth than the constant process parameter scenario. While the melt depth slightly undershoots the target melt depth at points during the melting process, the range that the melt depth occupies is much narrower than the range observed in the uncontrolled scenario. Therefore, assuming that the area of the melt pool can be correlated with the depth of the melt pool at any given point along the trajectory, applying velocity control results in a much more consistent melt pool area that is significantly less susceptible to keyhole formation. Figure 5: (a) The melt depth generated by the control policy compared to the melt depth generated by a constant velocity for the horizontal cross-hatching scan path. The melt pool depth is more stable when compared to a constant velocity applied throughout the entire melting process. (b) The melt depth generated by the control policy compared to the melt depth generated by a constant velocity for the concentric triangular scan path. The melt pool depth is more stable when compared to a constant velocity applied throughout the entire melting process. Training the algorithm on the concentric triangular trajectory, the control policy is also able to learn a suitable policy by modifying the velocity of the laser as it approaches the center of the domain. In the uncontrolled case, there are large increases in the melt pool depth at each time the laser reverses direction to complete the concentric triangular path. Additionally, towards the end of the trajectory, thermal energy accumulates in the center of the path, due to the overlapping segments of the trajectory and the increased frequency of direction reversal. This thermal energy accumulation can also be seen in the melt pool depth in the last 20% of the trajectory, where there is a sudden increase of 40 _µm_ . When compared to this constant process parameter case, the learned policy is able to avoid the large jump in melt depth that occurs towards the end of the trajectory. When the laser changes the direction of travel, the velocity increases, similarly to the horizontal cross-hatching scan path. Also, the average velocity of the laser increases as it approaches the center of the scan path, at which point the velocity is held constant at the maximum possible value to 8 A PREPRINT - FEBRUARY 8, 2021 Figure 6: (a) A histogram of the melt depth generated by the control policy compared to a histogram the melt depth generated by a constant velocity for the horizontal cross-hatching scan path. The mean of the melt pool depths generated during the melting process is closer to the target melt pool depth, and the standard deviation is smaller. (b) A histogram of the melt depth generated by the control policy compared to the melt depth generated by a constant velocity for the concentric triangular scan path. The mean of the melt pool depths generated during the melting process is closer to the target melt pool depth, and the standard deviation is smaller. reduce overheating. Maximum bounds on velocity can be imposed to avoid the formation of other defects not examined in this work. For instance, spatter can be caused by a high value of jerk in the laser’s motion [34]. 4 Conclusion A Deep Reinforcement Learning method for improving the quality of laser powder bed fusion products is presented. By iteratively optimizing a policy network to maximize the expected reward during the melting process, a control policy to reduce defect formation can be derived through Proximal Policy Optimization. The success of this method is demonstrated through the discovery of effective control policies to reduce the melt pool variability observed in different scan paths in simulation. Specifically, a velocity-based control method is discovered by the that reduces the degree of overheating experienced due to the geometry of the domain and trajectory of the laser, and decreases the variation of the melt pool depth. By observing the reward generated for specific velocity selections during the melting process, the derived policy intuitively learns to increase the velocity at areas where heat may accumulate. In doing so, the likelihood of phenomena that lead to defect formation is reduced. Additionally, this framework enables closed-loop control, and is generalizable to different trajectories and boundary conditions without requiring domain specific modifications. Extensions of this work can be potentially applied to experimental control, by using deep networks that incorporate physical effects not accounted for in Eagar-Tsai model to create a computationally feasible accurate reinforcement learning environment. References [1] Matthias Markl and Carolin Körner. Multiscale modeling of powder bed–based additive manufacturing. _Annual_ _Review of Materials Research_, 46:93–123, 2016. [2] Ross Cunningham, Andrea Nicolas, John Madsen, Eric Fodran, Elias Anagnostou, Michael D Sangid, and Anthony D Rollett. Analyzing the effects of powder and post-processing on porosity and properties of electron 9 A PREPRINT - FEBRUARY 8, 2021 beam melted ti-6al-4v. _Materials Research Letters_, 5(7):516–525, 2017. [3] Todd M Mower and Michael J Long. Mechanical behavior of additive manufactured, powder-bed laser-fused materials. _Materials Science and Engineering:_ _A_, 651:198–213, 2016. [4] Adriaan B Spierings, Thomas L Starr, and Konrad Wegener. Fatigue performance of additive manufactured metallic parts. _Rapid prototyping journal_, 2013. [5] John J Lewandowski and Mohsen Seifi. Metal additive manufacturing: a review of mechanical properties. _Annual_ _review of materials research_, 46, 2016. [6] Mahesh Mani, Shaw Feng, Brandon Lane, Alkan Donmez, Shawn Moylan, and Ronnie Fesperman. Measurement science needs for real-time control of additive manufacturing powder bed fusion processes. 2015. [7] Lawrence E Murr, Sara M Gaytan, Diana A Ramirez, Edwin Martinez, Jennifer Hernandez, Krista N Amato, Patrick W Shindo, Francisco R Medina, and Ryan B Wicker. Metal fabrication by additive manufacturing using laser and electron beam melting technologies. _Journal of Materials Science & Technology_, 28(1):1–14, 2012. [8] SS Al-Bermani, ML Blackmore, W Zhang, and I Todd. The origin of microstructural diversity, texture, and mechanical properties in electron beam melted ti-6al-4v. _Metallurgical and materials transactions a_, 41(13):3422– 3434, 2010. [9] Sankhya Mohanty, Cem Celal Tutum, and Jesper Henri Hattel. Cellular scanning strategy for selective laser melting: evolution of optimal grid-based scanning path and parametric approach to thermal homogeneity. In _Laser-based Micro- and Nanopackaging and Assembly VII_, volume 8608, page 86080M. SPIE, mar 2013. [10] Ho Yeung, Brandon Lane, and Jason Fox. Part geometry and conduction-based laser power control for powder bed fusion additive manufacturing. _Additive Manufacturing_, 30:100844, dec 2019. [11] Alexios Papacharalampopoulos, Panagiotis Stavropoulos, and John Stavridis. Adaptive Control of Thermal Processes: Laser Welding and Additive Manufacturing Paradigms. In _Procedia CIRP_, volume 67, pages 233–237. Elsevier B.V., jan 2018. [12] Tom Craeghs, Florian Bechmann, Sebastian Berumen, and Jean Pierre Kruth. Feedback control of Layerwise Laser Melting using optical sensors. In _Physics Procedia_, volume 5, pages 505–514. Elsevier B.V., jan 2010. [13] Jinkun Lee and Vittaldas Prabhu. Simulation modeling for optimal control of additive manufacturing processes. _Additive Manufacturing_, 12:197–203, oct 2016. [14] Shukri Afazov, Annestacy Okioga, Adam Holloway, Willem Denmark, Andrew Triantaphyllou, Sean Anthony Smith, and Liam Bradley-Smith. A methodology for precision additive manufacturing through compensation. _Precision Engineering_, 50:269–274, oct 2017. [15] Shukri Afazov, Willem A.D. Denmark, Borja Lazaro Toralles, Adam Holloway, and Anas Yaghi. Distortion prediction and compensation in selective laser melting. _Additive Manufacturing_, 17:15–22, oct 2017. [16] C. L. Druzgalski, A. Ashby, G. Guss, W. E. King, T. T. Roehling, and M. J. Matthews. Process optimization of complex geometries using feed forward control for laser powder bed fusion additive manufacturing. _Additive_ _Manufacturing_, 34, aug 2020. [17] S. Clijsters, T. Craeghs, S. Buls, K. Kempen, and J. P. Kruth. In situ quality control of the selective laser melting process using a high-speed, real-time melt pool monitoring system. _International Journal of Advanced_ _Manufacturing Technology_, 75(5-8):1089–1101, oct 2014. [18] R. K. Ganeriwala, M. Strantza, W. E. King, B. Clausen, T. Q. Phan, L. E. Levine, D. W. Brown, and N. E. Hodge. Evaluation of a thermomechanical model for prediction of residual stress during laser powder bed fusion of Ti-6Al-4V. _Additive Manufacturing_, 27:489–502, may 2019. [19] Qian Wang, Panagiotis (Pan) Michaleris, Abdalla R. Nassar, Jeffrey E. Irwin, Yong Ren, and Christopher B. Stutzman. Model-based feedforward control of laser powder bed fusion additive manufacturing. _Additive_ _Manufacturing_, 31:100985, jan 2020. [20] Volker Renken, Lutz Lübbert, Hendrik Blom, Axel von Freyberg, and Andreas Fischer. Model assisted closed-loop control strategy for selective laser melting. _Procedia CIRP_, 74:659–663, 2018. [21] Robert Forslund, Anders Snis, and Stig Larsson. A greedy algorithm for optimal heating in powder-bed-based additive manufacturing. _arXiv preprint arXiv:1901.10884_, 2019. [22] Jingran Li, Ran Jin, and Hang Z. Yu. Integration of physically-based and data-driven approaches for thermal field prediction in additive manufacturing. _Materials and Design_, 139:473–485, feb 2018. 10 A PREPRINT - FEBRUARY 8, 2021 [23] Edwin J. Schwalbach, Sean P. Donegan, Michael G. Chapman, Kevin J. Chaput, and Michael A. Groeber. A discrete source model of powder bed fusion additive manufacturing thermal history. _Additive Manufacturing_, 25:485–498, jan 2019. [24] Gustavo Tapia, Saad Khairallah, Manyalibo Matthews, Wayne E. King, and Alaa Elwany. Gaussian process-based surrogate modeling framework for process planning in laser powder-bed fusion additive manufacturing of 316L stainless steel. _International Journal of Advanced Manufacturing Technology_, 94(9-12):3591–3603, feb 2018. [25] Zhuo Yang, Yan Lu, Ho Yeung, and Sundar Krishnamurty. Investigation of deep learning for real-time melt pool classification in additive manufacturing. In _2019 IEEE 15th International Conference on Automation Science and_ _Engineering (CASE)_, pages 640–647. IEEE, 2019. [26] Rui Liu, Sen Liu, and Xiaoli Zhang. A physics-informed machine learning model for porosity analysis in laser powder bed fusion additive manufacturing. _arXiv preprint arXiv:2101.05605_, 2021. [27] Siddhartha Verma, Guido Novati, and Petros Koumoutsakos. Efficient collective swimming by harnessing vortices through deep reinforcement learning. _Proceedings of the National Academy of Sciences_, 115(23):5849–5854, 2018. [28] Gerben Beintema, Alessandro Corbetta, Luca Biferale, and Federico Toschi. Controlling rayleigh-b _\_ ’enard convection via reinforcement learning. _arXiv preprint arXiv:2003.14358_, 2020. [29] Jean Rabault and Alexander Kuhnle. Accelerating deep reinforcement learning strategies of flow control through a multi-environment approach. _Physics of Fluids_, 31(9):094105, 2019. [30] Feng Ren, Jean Rabault, and Hui Tang. Applying deep reinforcement learning to active flow control in turbulent conditions. _arXiv preprint arXiv:2006.10683_, 2020. [31] Alexander J Wolfer, Jeremy Aires, Kevin Wheeler, Jean-Pierre Delplanque, Alexander Rubenchik, Andy Anderson, and Saad Khairallah. Fast solution strategy for transient heat conduction for arbitrary scan paths in additive manufacturing. _Additive Manufacturing_, 30:100898, 2019. [32] TW Eagar, NS Tsai, et al. Temperature fields produced by traveling distributed heat sources. _Welding journal_, 62(12):346–355, 1983. [33] John Schulman, Filip Wolski, Prafulla Dhariwal, Alec Radford, and Oleg Klimov. Proximal policy optimization algorithms. _arXiv preprint arXiv:1707.06347_, 2017. [34] Saad A. Khairallah, Andrew T. Anderson, Alexander Rubenchik, and Wayne E. King. Laser powder-bed fusion additive manufacturing: Physics of complex melt flow and formation mechanisms of pores, spatter, and denudation zones. _Acta Materialia_, 108:36–45, apr 2016. 11

섹션 본문

섹션 본문이 없습니다.

참고문헌 40건

  1. Penetration control in laser welding of sheet metal Journal of Laser Applications · Laser Institute of America · 2002 10.2351/1.1493764
  2. Metal Fabrication by Additive Manufacturing Using Laser and Electron Beam Melting Technologies Journal of Material Science and Technology · Elsevier BV · 2012 10.1016/s1005-0302(12)60016-4
  3. Fatigue performance of additive manufactured metallic parts Rapid Prototyping Journal · Emerald Publishing Limited · 2013 10.1108/13552541311302932
  4. In situ quality control of the selective laser melting process using a high-speed, real-time melt pool monitoring system The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2014 10.1007/s00170-014-6214-8
  5. Cellular scanning strategy for selective laser melting: evolution of optimal grid-based scanning path and parametric approach to thermal homogeneity Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE · SPIE · 2013 10.1117/12.2004256
  6. Feedback control of Layerwise Laser Melting using optical sensors Physics Procedia · Elsevier BV · 2010 10.1016/j.phpro.2010.08.078
  7. The Origin of Microstructural Diversity, Texture, and Mechanical Properties in Electron Beam Melted Ti-6Al-4V Metallurgical and Materials Transactions A · Springer Science+Business Media · 2010 10.1007/s11661-010-0397-x
  8. Mechanical behavior of additive manufactured, powder-bed laser-fused materials Materials Science and Engineering A · Elsevier BV · 2015 10.1016/j.msea.2015.10.068
  9. Metal Additive Manufacturing: A Review of Mechanical Properties Annual Review of Materials Research · Annual Reviews · 2016 10.1146/annurev-matsci-070115-032024
  10. Laser powder-bed fusion additive manufacturing: Physics of complex melt flow and formation mechanisms of pores, spatter, and denudation zones Acta Materialia · Elsevier BV · 2016 10.1016/j.actamat.2016.02.014
  11. Multiscale Modeling of Powder Bed–Based Additive Manufacturing Annual Review of Materials Research · Annual Reviews · 2016 10.1146/annurev-matsci-070115-032158
  12. Simulation modeling for optimal control of additive manufacturing processes Additive manufacturing · Elsevier BV · 2016 10.1016/j.addma.2016.05.002
  13. A methodology for precision additive manufacturing through compensation Precision Engineering · Elsevier BV · 2017 10.1016/j.precisioneng.2017.05.014
  14. Measurement science needs for real-time control of additive manufacturing powder-bed fusion processes CRC Press eBooks · Informa · 2017 10.1201/9781315119106-34
  15. Analyzing the effects of powder and post-processing on porosity and properties of electron beam melted Ti-6Al-4V Materials Research Letters · Taylor & Francis · 2017 10.1080/21663831.2017.1340911
  16. Distortion prediction and compensation in selective laser melting Additive manufacturing · Elsevier BV · 2017 10.1016/j.addma.2017.07.005
  17. Integration of physically-based and data-driven approaches for thermal field prediction in additive manufacturing Materials & Design · Elsevier BV · 2017 10.1016/j.matdes.2017.11.028
  18. A Comprehensive Comparison of the Analytical and Numerical Prediction of the Thermal History and Solidification Microstructure of Inconel 718 Products Made by Laser Powder-Bed Fusion Engineering · Elsevier BV · 2017 10.1016/j.eng.2017.05.023
  19. Phase field simulation of powder bed-based additive manufacturing Acta Materialia · Elsevier BV · 2017 10.1016/j.actamat.2017.11.033
  20. Adaptive Control of Thermal Processes: Laser Welding and Additive Manufacturing Paradigms Procedia CIRP · Elsevier BV · 2018 10.1016/j.procir.2017.12.205
  21. Implementation of Advanced Laser Control Strategies for Powder Bed Fusion Systems Procedia Manufacturing · Elsevier BV · 2018 10.1016/j.promfg.2018.07.112
  22. Model assisted closed-loop control strategy for selective laser melting Procedia CIRP · Elsevier BV · 2018 10.1016/j.procir.2018.08.053
  23. A discrete source model of powder bed fusion additive manufacturing thermal history Additive manufacturing · Elsevier BV · 2018 10.1016/j.addma.2018.12.004
  24. Evaluation of a thermomechanical model for prediction of residual stress during laser powder bed fusion of Ti-6Al-4V Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2019.03.034
  25. Efficient collective swimming by harnessing vortices through deep reinforcement learning arXiv (Cornell University) · Cornell University · 2018 10.1073/pnas.1800923115
  26. Melt pool geometry and morphology variability for the Inconel 718 alloy in a laser powder bed fusion additive manufacturing process Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2019.100830
  27. Part geometry and conduction-based laser power control for powder bed fusion additive manufacturing Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2019.100844
  28. Temperature fields produced by traveling distributed heat sources Welding Journal · American Welding Society · 1983
  29. Investigation of Deep Learning for Real-Time Melt Pool Classification in Additive Manufacturing 2022 IEEE 18th International Conference on Automation Science and Engineering (CASE) · 2019 10.1109/coase.2019.8843291
  30. Accelerating deep reinforcement learning strategies of flow control through a multi-environment approach Physics of Fluids · American Institute of Physics · 2019 10.1063/1.5116415
  31. Fast solution strategy for transient heat conduction for arbitrary scan paths in additive manufacturing Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2019.100898
  32. Model-based feedforward control of laser powder bed fusion additive manufacturing Additive manufacturing · Elsevier BV · 2019 10.1016/j.addma.2019.100985
  33. Process optimization of complex geometries using feed forward control for laser powder bed fusion additive manufacturing Additive manufacturing · Elsevier BV · 2020 10.1016/j.addma.2020.101169
  34. Controlling crack formation and porosity in laser powder bed fusion: Alloy design and process optimisation Additive manufacturing · Elsevier BV · 2020 10.1016/j.addma.2020.101360
  35. Controlling Rayleigh–Bénard convection via reinforcement learning Journal of Turbulence · Taylor & Francis · 2020 10.1080/14685248.2020.1797059
  36. Accelerating deep reinforcement learning strategies of flow control through a multi-environment approach Physics of Fluids · American Institute of Physics · 2019 10.1063/1.5116415
  37. Numerical Evaluation of Advanced Laser Control Strategies Influence on Residual Stresses for Laser Powder Bed Fusion Systems Integrating materials and manufacturing innovation · Springer Nature · 2020 10.1007/s40192-020-00191-3
  38. A physics-informed machine learning model for porosity analysis in laser powder bed fusion additive manufacturing The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2021 10.1007/s00170-021-06640-3
  39. Applying deep reinforcement learning to active flow control in weakly turbulent conditions Physics of Fluids · American Institute of Physics · 2021 10.1063/5.0037371
  40. Measurement Science Needs for Real-time Control of Additive Manufacturing Powder Bed Fusion Processes 2015 10.6028/nist.ir.8036