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

Optimization of Process Parameters in Laser Powder Bed Fusion of SS 316L Parts Using Artificial Neural Networks

관련 산업용 섬유 · (10) 아라미드

기본 정보

저자
  1. Sumanth Theeda — Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, TX 75080, USA
  2. Shweta Hanmant Jagdale — Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, TX 75080, USA
  3. Bharath Bhushan Ravichander — Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, TX 75080, USA
  4. Golden Kumar — Department of Mechanical Engineering, The University of Texas at Dallas, Richardson, TX 75080, USA
DOI
10.3390/met13050842
저널
Metals
발행년도
2023
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
31
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/met13050842
토픽
Injection Molding Process and Properties
OpenAlex ID
W4366987155

평가 내용

관련도
관련
사업분야
산업용 섬유 · (10) 아라미드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 아라미드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Additive manufacturing is rapidly evolving and revolutionizing the fabrication of complex metal components with tunable properties. Machine learning and neural networks have emerged as powerful tools for process–property optimization in additive manufacturing. These techniques work well for the prediction of a single property but their applicability in optimizing multiple properties is limited. In the present work, an exclusive neural network is developed to demonstrate the potential of a single neural network in optimizing multiple part properties. The model is used to identify the optimal process parameter values for laser power, scan speed, and hatch spacing for the required surface roughness, relative density, microhardness, and dimensional accuracy in stainless steel parts. In-house-generated experimental data are used to train the model. The model has seven neurons in the hidden layer, which are selected using hyperparameter optimization. K-fold cross-validation is performed to ensure the robustness of the model, which results in a mean squared error of 0.0578 and R2 score of 0.59. The developed model is then used to predict the optimal process parameters corresponding to the user-required part properties. The model serves as a significant pre-processing step to identify the best parameters before printing, thus saving time and costs for repeated part fabrication. The study provides more insights into the usage of a single artificial neural network for the optimization of multiple properties of printed metal parts.

본문 37,651자

본문 펼치기
Additive manufacturing is rapidly evolving and revolutionizing the fabrication of complex metal components with tunable properties.Machine learning and neural networks have emerged as powerful tools for process-property optimization in additive manufacturing.These techniques work well for the prediction of a single property but their applicability in optimizing multiple properties is limited.In the present work, an exclusive neural network is developed to demonstrate the potential of a single neural network in optimizing multiple part properties.The model is used to identify the optimal process parameter values for laser power, scan speed, and hatch spacing for the required surface roughness, relative density, microhardness, and dimensional accuracy in stainless steel parts.In-house-generated experimental data are used to train the model.The model has seven neurons in the hidden layer, which are selected using hyperparameter optimization.K-fold cross-validation is performed to ensure the robustness of the model, which results in a mean squared error of 0.0578 and R 2 score of 0.59.The developed model is then used to predict the optimal process parameters corresponding to the user-required part properties.The model serves as a significant pre-processing step to identify the best parameters before printing, thus saving time and costs for repeated part fabrication.The study provides more insights into the usage of a single artificial neural network for the optimization of multiple properties of printed metal parts. Introduction Additive manufacturing (AM) is an emerging field that has been a topic of interest to many researchers in metal processing as it offers flexibility in the designing and fabrication of intricate geometries.AM uses data from computer-aided design (CAD) software to fabricate precise shapes layer-by-layer.Laser powder bed fusion (LPBF) or selective laser melting (SLM) is an attractive manufacturing technique for aerospace, automotive, and biomedical applications [1] due to its ability to produce complex geometries, energy efficiency, and minimal waste [2].Despite the flexibility, LPBF has limitations in process repeatability [3,4], surface quality, and dimensional accuracy, which are critical for the part performance.The complex nature of LPBF, involving multiscale and multiphysics [5], makes the comprehensive understanding of the processing-structureproperties-performance (PSPP) challenging.Process parameters in LPBF can be classified as preprocessing, in-process, and postprocess [6].The in-process parameters involve laser power, scan speed, hatch spacing, and layer thickness, which are of great interest when PSPP modeling is considered.Numerous studies have reported the influence of process parameters on the mechanical properties and the need for process optimization to obtain a desired property [7][8][9][10][11][12]. Introduction Many studies have performed the optimization of SLM process parameters by applying statistical techniques such as the design of experiments (DoE) [13], response surface methodology (RSM) [14], and Taguchi design methods [15].DoE is used to plan, conduct, and analyze the experiments to identify the relationships between the variables.The goal of DoE is to find the most important factor that affects the part performance.RSM is a combination of statistical and mathematical techniques that aims at finding an optimal combination of inputs that will produce the best outcome.It involves the fitting of a response surface to the experimental data to model the relationship.Strano et al. [16] developed a new mathematical model to predict the surface roughness at sloping angles using SLM process parameters.Cao et al. [17] introduced a surrogate model to predict the surface roughness and dimensional accuracy by integrating the whale optimization algorithm and kriging model.Despite modeling the input-output relationship for the best input parameters, the statistical methods lack in establishing a combined effect of the input parameters. Introduction With the advent of machine learning (ML), the use of computational data techniques significantly increased in process parameter optimization.Artificial neural networks (ANN) are a subset of deep learning algorithms that can analyze a large amount of data and identify the patterns and relationship between the input variables and the output.The development of pre-built libraries and frameworks, continuous advancements in techniques, and ease of deployment made ML algorithms versatile tools in solving a wide range of problems.In additive manufacturing, ML algorithms have been used for tasks such as topology optimization [18,19], in-situ process monitoring [20][21][22], and process parameter optimization [23][24][25][26][27][28][29][30][31][32][33][34][35][36][37][38][39].ML algorithms have been employed in understanding the PSPP relationships through exploring the feasible process design space and its optimization, which is challenging through experimentation [23].One of the earliest works using neural networks in process parameter optimization was reported by Shen et al. [24].They developed an ANN model to predict the part density for a nylon-12 polymer and suggested that the training of the network can be accelerated using batch training.Wang et al. [25] modeled the effects of process parameters on the density of HBI (composite of polystyrene) parts prepared by SLM using ANN and demonstrated the capability of neural networks in modeling the PSPP relationship.Rong-Ji et al. [26] extended the modeling using a neural network combined with genetic algorithm (GA) to identify the optimal process parameters, such as layer thickness, hatch spacing, laser power, scanning speed, work surrounding temperature, interval time, and scanning mode, to obtain minimal shrinkage in HBI alloys.Nguyen et al. [27] developed an optimization system to find optimal process parameters for Ti-6Al-4V in SLM with an as-built part density close to 98%.Lo et al. [28] employed ANNs coupled with numerical simulations to create process maps relating the melt pool temperature and melt pool depth to hatch spacing and scan length for SS 316L and verified their optimality through validation experiments.Srinivasan et al. [29] developed a procedure coupling the physics-based process modeling with ML and optimization to find a suitable AM processing space for Ti-6Al-4V alloys.Many researchers have extended the use of ML algorithms for the prediction of one or two properties [30][31][32] and compared the performance of different ML algorithms, such as support vector machines (SVM), random forest (RF), k-nearest neighbors (KNN), and XGBoost [33][34][35][36][37][38][39]. Introduction Most of the studies modeled the effect of the process parameters individually on the part properties.Chia et al. [40] demonstrated that AM is effectively a multi-objective optimization problem and the key issue in multi-objective optimization is the lack of accurate PSPP models that describe the response outputs as a function of the input variable.There is a need to obtain an optimal process window for multiple properties of as-built parts without restricting this to a combination of one or two.Fe-Perdomo et al. [41] analyzed various ML approaches for surface roughness and other mechanical properties such as hardness, tensile strength, and relative density.They developed different ML models with hyperparameter optimization for each property, which is tedious and time-consuming.Many studies listed above are restricted to the combination of one or two output properties while modeling the effect of process parameters, thus indicating a need for extension to multiple part properties.In this study, we develop an exclusive ANN model to optimize process parameters such as laser power, scan speed, and hatch spacing for multiple part properties such as relative density, surface roughness, microhardness, and dimensional error with a single neural network.The developed model is then used to predict the above properties for a feasible design space of processing parameters. Experimental Setup For this study, 23 sets of process parameters are selected based on a literature review [42] to fabricate the specimens.Table 1 shows the selected values of laser power, scan speed, and hatch spacing for each set.However, the layer thickness was maintained constant at 30 µm and the energy density for each set was calculated as Experimental Setup where E v (J/mm 3 ) is the volumetric energy density (VED), LP (W) is the laser power, SS (mm/s) is the scan speed, HS (µm) is the hatch spacing, and LT (µm) is the layer thickness.[43].The printer had a workspace of 125 mm × 125 mm × 125 mm and used a 400 W laser heat source.Each specimen's dimensions were 8 mm × 8 mm × 6 mm. Experimental Setup A wire electric discharge machine was used to separate the printed specimens from the build plate and the parts were sonicated in isopropyl alcohol to remove any lose unmelted powder.The relative density of the specimens was calculated using the Archimedes principle as reported by Guzman et al. [44] using a precision balance.For surface roughness measurement, an optical microscope (Keyence Corporation of America, Itasca, IL, USA) was used.To ensure consistent measurements, a sample holder was used to align the edges for each specimen.Area surface roughness (S a ) was measured four times and the mean Metals 2023, 13, 842 4 of 14 values are reported for each specimen.Figure 1 shows the optical microscopy images of two representative samples (No. 4 and 10) and the corresponding roughness maps used for the calculation of roughness values.The un-melted powder particles can be clearly seen on the surfaces of samples.Similar images were recorded for all samples and the surface roughness values were computed.The microstructure of 3D-printed stainless steel has been extensively studied as a function of the processing conditions [1,45,46]. Experimental Setup A wire electric discharge machine was used to separate the printed specimens from the build plate and the parts were sonicated in isopropyl alcohol to remove any lose unmelted powder.The relative density of the specimens was calculated using the Archimedes principle as reported by Guzman et al. [44] using a precision balance.For surface roughness measurement, an optical microscope (Keyence Corporation of America, Itasca, IL, USA) was used.To ensure consistent measurements, a sample holder was used to align the edges for each specimen.Area surface roughness (Sa) was measured four times and the mean values are reported for each specimen.Figure 1 shows the optical microscopy images of two representative samples (No. 4 and 10) and the corresponding roughness maps used for the calculation of roughness values.The un-melted powder particles can be clearly seen on the surfaces of samples.Similar images were recorded for all samples and the surface roughness values were computed.The microstructure of 3D-printed stainless steel has been extensively studied as a function of the processing conditions [1,45,46].A Vickers microhardness tester (Pace Technologies, Tucson, AZ, USA) was used to measure the microhardness values of as-built specimens.Dimensional error for each specimen was measured using a micrometer (Mitutoyo America Corporation, Aurora, IL, USA).The absolute difference between the measured and the designed value (8 mm) was measured three times and mean values are reported in Table 1. Experimental Setup Figure 2 shows the scatter plots of each property with respect to VED.All the results with corresponding process parameters were tabulated and saved in a csv file for feeding into the ANN model.A Vickers microhardness tester (Pace Technologies, Tucson, AZ, USA) was used to measure the microhardness values of as-built specimens.Dimensional error for each specimen was measured using a micrometer (Mitutoyo America Corporation, Aurora, IL, USA).The absolute difference between the measured and the designed value (8 mm) was measured three times and mean values are reported in Table 1. Experimental Setup Figure 2 shows the scatter plots of each property with respect to VED.All the results with corresponding process parameters were tabulated and saved in a csv file for feeding into the ANN model. Artificial Neural Network Artificial neural networks (ANNs) are deep learning algorithms modeled after the structure and function of the human brain.ANNs consist of interconnected nodes, called neurons, which work together to process information, recognize patterns and relationships in input data, and make predictions or decisions.In this research, an ANN with a single hidden layer was developed using the Keras library in the tensorflow framework [47].The architecture of the ANN is shown in Figure 3.The input layer consists of 3 neurons for our inputs: laser power, scan speed, and hatch spacing.The output layer consists of 4 neurons, which give the output for surface roughness, microhardness, relative density, and dimensional error.The data fed to the neural network are within different ranges and Metals 2023, 13, 842 5 of 14 are normalized to simplify the training process.Therefore, all inputs and outputs to the network are transformed using the transformation Artificial Neural Network where X t is the transformed value, X is the original value, and X min and X max are the minimum and maximum values in that class.The ANN consists of 7 neurons in the hidden layer, which are found using parameter optimization.The activation function applies transformation to the output from neurons before propagating it to the next layer.The Rectified Linear Unit (ReLU) activation function is chosen as it is widely used to predict continuous variables as in regression [48].It can be expressed as Artificial Neural Network During the training of the ANN, the mean squared error (MSE) is used as a loss function.It is one of the most used error metrics in regression problems.The loss function is used with the Adam optimizer algorithm [49].The loss function is calculated using Artificial Neural Network where E loss is the loss, ŷ is the predicted value, y is the actual value, and N is the total number of samples. Artificial Neural Network Artificial neural networks (ANNs) are deep learning algorithms modeled after the structure and function of the human brain.ANNs consist of interconnected nodes, called neurons, which work together to process information, recognize patterns and relationships in input data, and make predictions or decisions.In this research, an ANN with a single hidden layer was developed using the Keras library in the tensorflow tion.It is one of the most used error metrics in regression problems.The loss function is used with the Adam optimizer algorithm [49].The loss function is calculated using Artificial Neural Network where is the loss, is the predicted value, is the actual value, and N is the total number of samples.The error metrics used in the study are the MSE and R 2 score.The MSE for the model is obtained during the training and testing of the network as it is used as a loss function.The R 2 w is a measure of the fitting of a model.It is a robust metric in evaluating the performance of any statistical model.For better performance, any model should produce a lower MSE with an R 2 score close to 1.The MSE can never be negative as it is a square of deviations, but the R 2 can be negative, indicating a poor fit to the data.The R 2 score is calculated using the equation The error metrics used in the study are the MSE and R 2 score.The MSE for the model is obtained during the training and testing of the network as it is used as a loss function.The R 2 w is a measure of the fitting of a model.It is a robust metric in evaluating the performance of any statistical model.For better performance, any model should produce a lower MSE with an R 2 score close to 1.The MSE can never be negative as it is a square of deviations, but the R 2 can be negative, indicating a poor fit to the data.The R 2 score is calculated using the equation Hyperparameter Optimization and K-Fold Cross-Validation Hyperparameter optimization refers to the process of tuning the parameters of a neural network model to achieve optimal performance.This is done by experimenting with different combinations of hyperparameters, such as the number of hidden layers, the number of neurons per layer, the learning rate, and the regularization term, to find the best set of values for a particular problem.In this study, the hyperparameter optimization is done for the number of neurons in the hidden layer. Hyperparameter Optimization and K-Fold Cross-Validation K-fold cross-validation, on the other hand, is a model evaluation technique that helps to prevent overfitting.In k-fold cross-validation, the original dataset is divided into k smaller subsets, or folds, and the model is trained on k-1 of these folds and evaluated on the remaining one.This process is repeated k times, with each fold used as the evaluation set once.The performance across all k-folds is then averaged as an estimate of the model's performance on unseen data [50].Seven-fold cross-validation (7 folds give 80% as training data and 20% testing data for every fold) is applied in the current study to produce a more robust model. Hyperparameter Optimization and K-Fold Cross-Validation By combining hyperparameter optimization with k-fold cross-validation, researchers can more accurately evaluate the performance of a neural network and ensure that it generalizes well to new data. Process Parameter Optimization Algorithm For process parameter optimization, an algorithm is developed as shown in Figure 4. First, an ANN with a single hidden layer is developed and trained using the experimental data.The performance of the ANN is evaluated.The ANN is then used to make predictions on generated test data created by combining different levels of processing parameters where the laser power range is from 150 to 290 W, scan speed from 650 to 890 mm/s, and hatch spacing from 111 to 129 µm.Based on user-required properties, the predictions of relative density, surface roughness, microhardness, and dimensional error from the ANN are filtered and are compared with the user requirements.The index of the satisfied data is noted from the prediction set and the optimal process parameter set is found by indexing the generated test data set with the index obtained. Hyperparameter Optimization and K-Fold Cross-Validation The hyperparameter selected for the current study is the number of neurons in the hidden layer.The neurons are varied from 4 to 14 and are cross-validated using sevenfold cross validation.Figure 5 shows the hyperparameter optimization and seven-fold cross-validation results for the model.In Figure 5a, the MSE values during training and validation are reported for each set of hyperparameters.As the number of neurons increased, the training loss decreased, indicating that the model was able to learn the training data by reducing the error.However, if closely examine the validation error, it was Hyperparameter Optimization and K-Fold Cross-Validation The hyperparameter selected for the current study is the number of neurons in the hidden layer.The neurons are varied from 4 to 14 and are cross-validated using seven-fold cross validation.Figure 5 shows the hyperparameter optimization and seven-fold cross-validation results for the model.In Figure 5a, the MSE values during training and validation are reported for each set of hyperparameters.As the number of neurons increased, the training loss decreased, indicating that the model was able to learn the training data by reducing the error.However, if closely examine the validation error, it was reduced initially until seven neurons and then started to increase.This indicates that our model is overfitting the training data after seven neurons.An overfit model has a low training error as it memorizes the training data and a high validation error as it behaves poorly on the validation set.The R 2 score obtained was 0.594 at seven neurons, indicating this as the optimal number of neurons in the hidden layer. Performance of the ANN Once the model is hyperparameter-optimized along with cross-validation, the model is saved to preserve the weights.From the experimental data, 20% is randomly selected to test the model.Predictions are made for relative density, roughness, dimensional error, and microhardness, and their corresponding comparisons with actual values are reported in Figure 6.From Figure 6a, only for sample 3, the predicted value of relative density closely matches with the actual value.The remaining three samples showed a deviation from their actual density values.For relative densities of more than 99%, the ANN model predicted closer values than the densities that were less than 98% and this could be attributed to the limited availability of process parameter data points corresponding to densities less than 98%. Figure 6b shows the predictions for surface roughness, indicating close predicted values to the actual values.sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the cross-validation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization [27]. Performance of the ANN Once the model is hyperparameter-optimized along with cross-validation, the model is saved to preserve the weights.From the experimental data, 20% is randomly selected to test the model.Predictions are made for relative density, roughness, dimensional error, and microhardness, and their corresponding comparisons with actual values are reported in Figure 6.From Figure 6a, only for sample 3, the predicted value of relative density closely matches with the actual value.The remaining three samples showed a deviation from their actual density values.For relative densities of more than 99%, the ANN model predicted closer values than the densities that were less than 98% and this could be attributed to the limited availability of process parameter data points corresponding to densities less than 98%. Figure 6b shows the predictions for surface roughness, indicating close predicted values to the actual values.6d.Only sample 2 had a predicted value close to the actual value from [42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations. Optimization of Process Parameters and Performance The developed exclusive neural network is used to predict the optimal process parameters by making predictions on the generated test data.The model parameters for the ANN are saved after cross-validation and the same model is used to make the predictions on the generated test data.To assess the performance of our model, the predicted data are compared with experimental data from the literature.Table 2 shows the comparison of the predicted results from the model and the literature data.For relative density, the deviation (%) was much lower than the experimental value in the literature [35], indicating that the model can predict relative densities close to 99% accurately, as mentioned earlier. Optimization of Process Parameters and Performance The predicted values of surface roughness had a deviation of 2.68% from the experimental literature value [51] and can be fairly used to estimate the property.Microhardness prediction had a 3.07% deviation from the literature [11].As discussed in the previous section, microhardness values of more than 254 HV had significant deviations, indicating a need 6d.Only sample 2 had a predicted value close to the actual value from [42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations. Optimization of Process Parameters and Performance The developed exclusive neural network is used to predict the optimal process parameters by making predictions on the generated test data.The model parameters for the ANN are saved after cross-validation and the same model is used to make the predictions on the generated test data.To assess the performance of our model, the predicted data are compared with experimental data from the literature.Table 2 shows the comparison of the predicted results from the model and the literature data.For relative density, the deviation (%) was much lower than the experimental value in the literature [35], indicating that the model can predict relative densities close to 99% accurately, as mentioned earlier. Optimization of Process Parameters and Performance The predicted values of surface roughness had a deviation of 2.68% from the experimental literature value [51] and can be fairly used to estimate the property.Microhardness prediction had a 3.07% deviation from the literature [11].As discussed in the previous section, microhardness values of more than 254 HV had significant deviations, indicating a need for more data in this region.The predictions from the model are saved and plots are generated for the required parameters to understand their effects and obtain the optimal processing parameters.The user requirement is set to have an as-built part relative density of more than 99% with acceptable ranges for surface roughness, dimensional error, and microhardness.The predicted data are filtered using the above user requirements.The index of filtered data satisfying the user requirements is indexed in the generated input data set for the optimal process parameters.Hatch spacing was held at 127.5 µm and a variation in laser power and scan speed was considered to generate the optimal processing window.The contour plots (Figure 7) show the effects of the processing parameters on the individual property.The optimal processing window is found by plotting the contour lines of all user-required properties on a single plot.Figure 8 shows the optimal processing region (shaded area) that satisfies all the user requirements.This region satisfies the user requirements for a part density more than 99%, roughness less than 10.5 µm, dimensional error less than 20 µm, and microhardness more than 260 HV. Conclusions To find the optimal process parameters for user-required part properties in laser powder bed fusion, an optimization model based on experimental data is developed using artificial neural networks.An exclusive neural network is developed to optimize the laser power, scan speed, and hatch spacing with the desired relative density, surface roughness, dimensional error, and microhardness.It was found that the developed model resulted in a decent R 2 score of 0.59.The predicted values were compared to the experimental values in the literature and indicated a close match.The results demonstrate the ability of an exclusive neural network in modeling the process parameter-property relationships for multiple properties.The developed model can find the optimal processing parameters that satisfy the user requirement for customized part properties.Thus, it reduces the preprocessing time and cost significantly.The following conclusions are drawn based on the current study. Conclusions 1. Hyperparameter optimization and cross-validation are crucial steps in developing a robust prediction model.The combination can reduce the model loss and enhance the performance on unseen data.2. Neural networks are highly sensitive to the training data.To have comparable performance for every property, training data must contain inclusive data points within the range.Having less data in the given range would affect the performance of the predictions.3. Finding the optimal parameters for the laser powder bed fusion process requires an understanding of the combined effect of the process parameters on the part properties.ANN is a powerful tool in modeling the combined relationship and obtaining the optimal process parameters in the given range of data. Conclusions To find the optimal process parameters for user-required part properties in laser powder bed fusion, an optimization model based on experimental data is developed using artificial neural networks.An exclusive neural network is developed to optimize the laser power, scan speed, and hatch spacing with the desired relative density, surface roughness, dimensional error, and microhardness.It was found that the developed model resulted in a decent R 2 score of 0.59.The predicted values were compared to the experimental values in the literature and indicated a close match.The results demonstrate the ability of an exclusive neural network in modeling the process parameter-property relationships for multiple properties.The developed model can find the optimal processing parameters that satisfy the user requirement for customized part properties.Thus, it reduces the preprocessing time and cost significantly.The following conclusions are drawn based on the current study. 1. Hyperparameter optimization and cross-validation are crucial steps in developing a robust prediction model.The combination can reduce the model loss and enhance the performance on unseen data. 2. Neural networks are highly sensitive to the training data.To have comparable performance for every property, training data must contain inclusive data points within the range.Having less data in the given range would affect the performance of the predictions. 3. Finding the optimal parameters for the laser powder bed fusion process requires an understanding of the combined effect of the process parameters on the part properties.ANN is a powerful tool in modeling the combined relationship and obtaining the optimal process parameters in the given range of data. Figure 1 . Figure 1.Optical microscopy images and surface roughness maps of (a) sample 4 and (b) sample 10. Figure 1 . Figure 1.Optical microscopy images and surface roughness maps of (a) sample 4 and (b) sample 10. Metals 2023 , 16 Figure 2 . Figure 2. Scatter plots of properties against VED.(a) Relative density, (b) surface roughness, (c) dimensional error, and (d) microhardness. Figure 2 . Figure 2. Scatter plots of properties against VED.(a) Relative density, (b) surface roughness, (c) dimensional error, and (d) microhardness. Figure 3 . Figure 3. Artificial neural network with a single hidden layer. Figure 3 . Figure 3. Artificial neural network with a single hidden layer. Figure 3 . Metals 2023, 13, x FOR PEER REVIEW 8 of 16 Figure 4 . Figure 4. Algorithm for obtaining optimal process parameters. Figure 4 . Figure 4. Algorithm for obtaining optimal process parameters. Metals 2023 , 16 Figure 5 . Figure 5. (a) MSE values during training and validation with respect to number of neurons in hidden layer for hyperparameter optimization; (b) 7-fold cross-validation. Figure 5b shows the Figure5bshows the seven-fold cross-validation of the developed ANN model.In each fold, the model is trained on the training set, which reduces the training error gradually with epochs.The validation error is initially high as it is unseen data and gradually reduces as the model learns the relationship from the training data and minimizes the error.When a new fold of data is introduced to the model, both training and validation errors show a sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the crossvalidation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization[27]. Figure 5 . Figure 5. (a) MSE values during training and validation with respect to number of neurons in hidden layer for hyperparameter optimization; (b) 7-fold cross-validation. Figure Figure5bshows the seven-fold cross-validation of the developed ANN model.In each fold, the model is trained on the training set, which reduces the training error gradually with epochs.The validation error is initially high as it is unseen data and gradually reduces as the model learns the relationship from the training data and minimizes the error.When a new fold of data is introduced to the model, both training and validation errors show a sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the cross-validation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization[27]. Figure 6 . Figure 6.Model performance for (a) relative density, (b) surface roughness, (c) dimensional error, (d) microhardness.Triangles represent the actual values and circles represent the predicted values. Figure Figure 6c compares the values of dimensional error.The predicted values are close to the measured values for three samples.Sample 3 had a significant deviation from the actual value.Microhardness values are plotted in Figure 6d.Only sample 2 had a predicted value close to the actual value from[42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations. Figure 6 . Figure 6.Model performance for (a) relative density, (b) surface roughness, (c) dimensional error, (d) microhardness.Triangles represent the actual values and circles represent the predicted values. Figure Figure 6c compares the values of dimensional error.The predicted values are close to the measured values for three samples.Sample 3 had a significant deviation from the actual value.Microhardness values are plotted in Figure6d.Only sample 2 had a predicted value close to the actual value from[42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations. Metals 2023 , 16 Figure 7 . Figure 7. Contour plots showing the effect of laser power and scan speed on (a) relative density (%), (b) surface roughness (μm), (c) dimensional error (μm), and (d) microhardness (HV). Figure 7 . Figure 7. Contour plots showing the effect of laser power and scan speed on (a) relative density (%), (b) surface roughness (µm), (c) dimensional error (µm), and (d) microhardness (HV). Figure 8 . Figure 8. Contour plots showing the effect of laser power and scan speed on the required properties with optimal processing region (in orange). Author Contributions: Conceptualization, S.T., S.H.J., and B.B.R.; methodology, S.T.; formal analysis, S.T., S.H.J., and B.B.R.; resources, G.K.; writing-original draft preparation, S.T.; writing-review and editing, S.T., S.H.J., and B.B.R.; supervision, G.K.; project administration, G.K.; funding acquisition, G.K. All authors have read and agreed to the published version of the manuscript.Funding: This research was funded by a University of Texas System STARs award. Figure 8 . Figure 8. Contour plots showing the effect of laser power and scan speed on the required properties with optimal processing region (in orange). Table 1 . List of process parameters and corresponding experimental values. Table 2 . Comparison of model predictions and experimental values in literature.

섹션 본문 59문단 · 36,333자

(제목 없음)

1Additive manufacturing is rapidly evolving and revolutionizing the fabrication of complex metal components with tunable properties.Machine learning and neural networks have emerged as powerful tools for process-property optimization in additive manufacturing.These techniques work well for the prediction of a single property but their applicability in optimizing multiple properties is limited.In the present work, an exclusive neural network is developed to demonstrate the potential of a single neural network in optimizing multiple part properties.The model is used to identify the optimal process parameter values for laser power, scan speed, and hatch spacing for the required surface roughness, relative density, microhardness, and dimensional accuracy in stainless steel parts.In-house-generated experimental data are used to train the model.The model has seven neurons in the hidden layer, which are selected using hyperparameter optimization.K-fold cross-validation is performed to ensure the robustness of the model, which results in a mean squared error of 0.0578 and R 2 score of 0.59.The developed model is then used to predict the optimal process parameters corresponding to the user-required part properties.The model serves as a significant pre-processing step to identify the best parameters before printing, thus saving time and costs for repeated part fabrication.The study provides more insights into the usage of a single artificial neural network for the optimization of multiple properties of printed metal parts.

Introduction

2Additive manufacturing (AM) is an emerging field that has been a topic of interest to many researchers in metal processing as it offers flexibility in the designing and fabrication of intricate geometries.AM uses data from computer-aided design (CAD) software to fabricate precise shapes layer-by-layer.Laser powder bed fusion (LPBF) or selective laser melting (SLM) is an attractive manufacturing technique for aerospace, automotive, and biomedical applications [1] due to its ability to produce complex geometries, energy efficiency, and minimal waste [2].Despite the flexibility, LPBF has limitations in process repeatability [3,4], surface quality, and dimensional accuracy, which are critical for the part performance.The complex nature of LPBF, involving multiscale and multiphysics [5], makes the comprehensive understanding of the processing-structureproperties-performance (PSPP) challenging.Process parameters in LPBF can be classified as preprocessing, in-process, and postprocess [6].The in-process parameters involve laser power, scan speed, hatch spacing, and layer thickness, which are of great interest when PSPP modeling is considered.Numerous studies have reported the influence of process parameters on the mechanical properties and the need for process optimization to obtain a desired property [7][8][9][10][11][12].

3Many studies have performed the optimization of SLM process parameters by applying statistical techniques such as the design of experiments (DoE) [13], response surface methodology (RSM) [14], and Taguchi design methods [15].DoE is used to plan, conduct, and analyze the experiments to identify the relationships between the variables.The goal of DoE is to find the most important factor that affects the part performance.RSM is a combination of statistical and mathematical techniques that aims at finding an optimal combination of inputs that will produce the best outcome.It involves the fitting of a response surface to the experimental data to model the relationship.Strano et al. [16] developed a new mathematical model to predict the surface roughness at sloping angles using SLM process parameters.Cao et al. [17] introduced a surrogate model to predict the surface roughness and dimensional accuracy by integrating the whale optimization algorithm and kriging model.Despite modeling the input-output relationship for the best input parameters, the statistical methods lack in establishing a combined effect of the input parameters.

4With the advent of machine learning (ML), the use of computational data techniques significantly increased in process parameter optimization.Artificial neural networks (ANN) are a subset of deep learning algorithms that can analyze a large amount of data and identify the patterns and relationship between the input variables and the output.The development of pre-built libraries and frameworks, continuous advancements in techniques, and ease of deployment made ML algorithms versatile tools in solving a wide range of problems.In additive manufacturing, ML algorithms have been used for tasks such as topology optimization [18,19], in-situ process monitoring [20][21][22], and process parameter optimization [23][24][25][26][27][28][29][30][31][32][33][34][35][36][37][38][39].ML algorithms have been employed in understanding the PSPP relationships through exploring the feasible process design space and its optimization, which is challenging through experimentation [23].One of the earliest works using neural networks in process parameter optimization was reported by Shen et al. [24].They developed an ANN model to predict the part density for a nylon-12 polymer and suggested that the training of the network can be accelerated using batch training.Wang et al. [25] modeled the effects of process parameters on the density of HBI (composite of polystyrene) parts prepared by SLM using ANN and demonstrated the capability of neural networks in modeling the PSPP relationship.Rong-Ji et al. [26] extended the modeling using a neural network combined with genetic algorithm (GA) to identify the optimal process parameters, such as layer thickness, hatch spacing, laser power, scanning speed, work surrounding temperature, interval time, and scanning mode, to obtain minimal shrinkage in HBI alloys.Nguyen et al. [27] developed an optimization system to find optimal process parameters for Ti-6Al-4V in SLM with an as-built part density close to 98%.Lo et al. [28] employed ANNs coupled with numerical simulations to create process maps relating the melt pool temperature and melt pool depth to hatch spacing and scan length for SS 316L and verified their optimality through validation experiments.Srinivasan et al. [29] developed a procedure coupling the physics-based process modeling with ML and optimization to find a suitable AM processing space for Ti-6Al-4V alloys.Many researchers have extended the use of ML algorithms for the prediction of one or two properties [30][31][32] and compared the performance of different ML algorithms, such as support vector machines (SVM), random forest (RF), k-nearest neighbors (KNN), and XGBoost [33][34][35][36][37][38][39].

5Most of the studies modeled the effect of the process parameters individually on the part properties.Chia et al. [40] demonstrated that AM is effectively a multi-objective optimization problem and the key issue in multi-objective optimization is the lack of accurate PSPP models that describe the response outputs as a function of the input variable.There is a need to obtain an optimal process window for multiple properties of as-built parts without restricting this to a combination of one or two.Fe-Perdomo et al. [41] analyzed various ML approaches for surface roughness and other mechanical properties such as hardness, tensile strength, and relative density.They developed different ML models with hyperparameter optimization for each property, which is tedious and time-consuming.Many studies listed above are restricted to the combination of one or two output properties while modeling the effect of process parameters, thus indicating a need for extension to multiple part properties.In this study, we develop an exclusive ANN model to optimize process parameters such as laser power, scan speed, and hatch spacing for multiple part properties such as relative density, surface roughness, microhardness, and dimensional error with a single neural network.The developed model is then used to predict the above properties for a feasible design space of processing parameters.

Experimental Setup

6For this study, 23 sets of process parameters are selected based on a literature review [42] to fabricate the specimens.Table 1 shows the selected values of laser power, scan speed, and hatch spacing for each set.However, the layer thickness was maintained constant at 30 µm and the energy density for each set was calculated as

7where E v (J/mm 3 ) is the volumetric energy density (VED), LP (W) is the laser power, SS (mm/s) is the scan speed, HS (µm) is the hatch spacing, and LT (µm) is the layer thickness.[43].The printer had a workspace of 125 mm × 125 mm × 125 mm and used a 400 W laser heat source.Each specimen's dimensions were 8 mm × 8 mm × 6 mm.

8A wire electric discharge machine was used to separate the printed specimens from the build plate and the parts were sonicated in isopropyl alcohol to remove any lose unmelted powder.The relative density of the specimens was calculated using the Archimedes principle as reported by Guzman et al. [44] using a precision balance.For surface roughness measurement, an optical microscope (Keyence Corporation of America, Itasca, IL, USA) was used.To ensure consistent measurements, a sample holder was used to align the edges for each specimen.Area surface roughness (S a ) was measured four times and the mean Metals 2023, 13, 842 4 of 14 values are reported for each specimen.Figure 1 shows the optical microscopy images of two representative samples (No. 4 and 10) and the corresponding roughness maps used for the calculation of roughness values.The un-melted powder particles can be clearly seen on the surfaces of samples.Similar images were recorded for all samples and the surface roughness values were computed.The microstructure of 3D-printed stainless steel has been extensively studied as a function of the processing conditions [1,45,46].

9A wire electric discharge machine was used to separate the printed specimens from the build plate and the parts were sonicated in isopropyl alcohol to remove any lose unmelted powder.The relative density of the specimens was calculated using the Archimedes principle as reported by Guzman et al. [44] using a precision balance.For surface roughness measurement, an optical microscope (Keyence Corporation of America, Itasca, IL, USA) was used.To ensure consistent measurements, a sample holder was used to align the edges for each specimen.Area surface roughness (Sa) was measured four times and the mean values are reported for each specimen.Figure 1 shows the optical microscopy images of two representative samples (No. 4 and 10) and the corresponding roughness maps used for the calculation of roughness values.The un-melted powder particles can be clearly seen on the surfaces of samples.Similar images were recorded for all samples and the surface roughness values were computed.The microstructure of 3D-printed stainless steel has been extensively studied as a function of the processing conditions [1,45,46].A Vickers microhardness tester (Pace Technologies, Tucson, AZ, USA) was used to measure the microhardness values of as-built specimens.Dimensional error for each specimen was measured using a micrometer (Mitutoyo America Corporation, Aurora, IL, USA).The absolute difference between the measured and the designed value (8 mm) was measured three times and mean values are reported in Table 1.

10Figure 2 shows the scatter plots of each property with respect to VED.All the results with corresponding process parameters were tabulated and saved in a csv file for feeding into the ANN model.A Vickers microhardness tester (Pace Technologies, Tucson, AZ, USA) was used to measure the microhardness values of as-built specimens.Dimensional error for each specimen was measured using a micrometer (Mitutoyo America Corporation, Aurora, IL, USA).The absolute difference between the measured and the designed value (8 mm) was measured three times and mean values are reported in Table 1.

11Figure 2 shows the scatter plots of each property with respect to VED.All the results with corresponding process parameters were tabulated and saved in a csv file for feeding into the ANN model.

Artificial Neural Network

12Artificial neural networks (ANNs) are deep learning algorithms modeled after the structure and function of the human brain.ANNs consist of interconnected nodes, called neurons, which work together to process information, recognize patterns and relationships in input data, and make predictions or decisions.In this research, an ANN with a single hidden layer was developed using the Keras library in the tensorflow framework [47].The architecture of the ANN is shown in Figure 3.The input layer consists of 3 neurons for our inputs: laser power, scan speed, and hatch spacing.The output layer consists of 4 neurons, which give the output for surface roughness, microhardness, relative density, and dimensional error.The data fed to the neural network are within different ranges and Metals 2023, 13, 842 5 of 14 are normalized to simplify the training process.Therefore, all inputs and outputs to the network are transformed using the transformation

13where X t is the transformed value, X is the original value, and X min and X max are the minimum and maximum values in that class.The ANN consists of 7 neurons in the hidden layer, which are found using parameter optimization.The activation function applies transformation to the output from neurons before propagating it to the next layer.The Rectified Linear Unit (ReLU) activation function is chosen as it is widely used to predict continuous variables as in regression [48].It can be expressed as

14During the training of the ANN, the mean squared error (MSE) is used as a loss function.It is one of the most used error metrics in regression problems.The loss function is used with the Adam optimizer algorithm [49].The loss function is calculated using

15where E loss is the loss, ŷ is the predicted value, y is the actual value, and N is the total number of samples.

16Artificial neural networks (ANNs) are deep learning algorithms modeled after the structure and function of the human brain.ANNs consist of interconnected nodes, called neurons, which work together to process information, recognize patterns and relationships in input data, and make predictions or decisions.In this research, an ANN with a single hidden layer was developed using the Keras library in the tensorflow tion.It is one of the most used error metrics in regression problems.The loss function is used with the Adam optimizer algorithm [49].The loss function is calculated using

17where is the loss, is the predicted value, is the actual value, and N is the total number of samples.The error metrics used in the study are the MSE and R 2 score.The MSE for the model is obtained during the training and testing of the network as it is used as a loss function.The R 2 w is a measure of the fitting of a model.It is a robust metric in evaluating the performance of any statistical model.For better performance, any model should produce a lower MSE with an R 2 score close to 1.The MSE can never be negative as it is a square of deviations, but the R 2 can be negative, indicating a poor fit to the data.The R 2 score is calculated using the equation The error metrics used in the study are the MSE and R 2 score.The MSE for the model is obtained during the training and testing of the network as it is used as a loss function.The R 2 w is a measure of the fitting of a model.It is a robust metric in evaluating the performance of any statistical model.For better performance, any model should produce a lower MSE with an R 2 score close to 1.The MSE can never be negative as it is a square of deviations, but the R 2 can be negative, indicating a poor fit to the data.The R 2 score is calculated using the equation

Hyperparameter Optimization and K-Fold Cross-Validation

18Hyperparameter optimization refers to the process of tuning the parameters of a neural network model to achieve optimal performance.This is done by experimenting with different combinations of hyperparameters, such as the number of hidden layers, the number of neurons per layer, the learning rate, and the regularization term, to find the best set of values for a particular problem.In this study, the hyperparameter optimization is done for the number of neurons in the hidden layer.

19K-fold cross-validation, on the other hand, is a model evaluation technique that helps to prevent overfitting.In k-fold cross-validation, the original dataset is divided into k smaller subsets, or folds, and the model is trained on k-1 of these folds and evaluated on the remaining one.This process is repeated k times, with each fold used as the evaluation set once.The performance across all k-folds is then averaged as an estimate of the model's performance on unseen data [50].Seven-fold cross-validation (7 folds give 80% as training data and 20% testing data for every fold) is applied in the current study to produce a more robust model.

20By combining hyperparameter optimization with k-fold cross-validation, researchers can more accurately evaluate the performance of a neural network and ensure that it generalizes well to new data.

Process Parameter Optimization Algorithm

21For process parameter optimization, an algorithm is developed as shown in Figure 4. First, an ANN with a single hidden layer is developed and trained using the experimental data.The performance of the ANN is evaluated.The ANN is then used to make predictions on generated test data created by combining different levels of processing parameters where the laser power range is from 150 to 290 W, scan speed from 650 to 890 mm/s, and hatch spacing from 111 to 129 µm.Based on user-required properties, the predictions of relative density, surface roughness, microhardness, and dimensional error from the ANN are filtered and are compared with the user requirements.The index of the satisfied data is noted from the prediction set and the optimal process parameter set is found by indexing the generated test data set with the index obtained.

Hyperparameter Optimization and K-Fold Cross-Validation

22The hyperparameter selected for the current study is the number of neurons in the hidden layer.The neurons are varied from 4 to 14 and are cross-validated using sevenfold cross validation.Figure 5 shows the hyperparameter optimization and seven-fold cross-validation results for the model.In Figure 5a, the MSE values during training and validation are reported for each set of hyperparameters.As the number of neurons increased, the training loss decreased, indicating that the model was able to learn the training data by reducing the error.However, if closely examine the validation error, it was

23The hyperparameter selected for the current study is the number of neurons in the hidden layer.The neurons are varied from 4 to 14 and are cross-validated using seven-fold cross validation.Figure 5 shows the hyperparameter optimization and seven-fold cross-validation results for the model.In Figure 5a, the MSE values during training and validation are reported for each set of hyperparameters.As the number of neurons increased, the training loss decreased, indicating that the model was able to learn the training data by reducing the error.However, if closely examine the validation error, it was reduced initially until seven neurons and then started to increase.This indicates that our model is overfitting the training data after seven neurons.An overfit model has a low training error as it memorizes the training data and a high validation error as it behaves poorly on the validation set.The R 2 score obtained was 0.594 at seven neurons, indicating this as the optimal number of neurons in the hidden layer.

Performance of the ANN

24Once the model is hyperparameter-optimized along with cross-validation, the model is saved to preserve the weights.From the experimental data, 20% is randomly selected to test the model.Predictions are made for relative density, roughness, dimensional error, and microhardness, and their corresponding comparisons with actual values are reported in Figure 6.From Figure 6a, only for sample 3, the predicted value of relative density closely matches with the actual value.The remaining three samples showed a deviation from their actual density values.For relative densities of more than 99%, the ANN model predicted closer values than the densities that were less than 98% and this could be attributed to the limited availability of process parameter data points corresponding to densities less than 98%. Figure 6b shows the predictions for surface roughness, indicating close predicted values to the actual values.sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the cross-validation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization [27].

25Once the model is hyperparameter-optimized along with cross-validation, the model is saved to preserve the weights.From the experimental data, 20% is randomly selected to test the model.Predictions are made for relative density, roughness, dimensional error, and microhardness, and their corresponding comparisons with actual values are reported in Figure 6.From Figure 6a, only for sample 3, the predicted value of relative density closely matches with the actual value.The remaining three samples showed a deviation from their actual density values.For relative densities of more than 99%, the ANN model predicted closer values than the densities that were less than 98% and this could be attributed to the limited availability of process parameter data points corresponding to densities less than 98%. Figure 6b shows the predictions for surface roughness, indicating close predicted values to the actual values.6d.Only sample 2 had a predicted value close to the actual value from [42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations.

Optimization of Process Parameters and Performance

26The developed exclusive neural network is used to predict the optimal process parameters by making predictions on the generated test data.The model parameters for the ANN are saved after cross-validation and the same model is used to make the predictions on the generated test data.To assess the performance of our model, the predicted data are compared with experimental data from the literature.Table 2 shows the comparison of the predicted results from the model and the literature data.For relative density, the deviation (%) was much lower than the experimental value in the literature [35], indicating that the model can predict relative densities close to 99% accurately, as mentioned earlier.

27The predicted values of surface roughness had a deviation of 2.68% from the experimental literature value [51] and can be fairly used to estimate the property.Microhardness prediction had a 3.07% deviation from the literature [11].As discussed in the previous section, microhardness values of more than 254 HV had significant deviations, indicating a need 6d.Only sample 2 had a predicted value close to the actual value from [42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations.

28The developed exclusive neural network is used to predict the optimal process parameters by making predictions on the generated test data.The model parameters for the ANN are saved after cross-validation and the same model is used to make the predictions on the generated test data.To assess the performance of our model, the predicted data are compared with experimental data from the literature.Table 2 shows the comparison of the predicted results from the model and the literature data.For relative density, the deviation (%) was much lower than the experimental value in the literature [35], indicating that the model can predict relative densities close to 99% accurately, as mentioned earlier.

29The predicted values of surface roughness had a deviation of 2.68% from the experimental literature value [51] and can be fairly used to estimate the property.Microhardness prediction had a 3.07% deviation from the literature [11].As discussed in the previous section, microhardness values of more than 254 HV had significant deviations, indicating a need for more data in this region.The predictions from the model are saved and plots are generated for the required parameters to understand their effects and obtain the optimal processing parameters.The user requirement is set to have an as-built part relative density of more than 99% with acceptable ranges for surface roughness, dimensional error, and microhardness.The predicted data are filtered using the above user requirements.The index of filtered data satisfying the user requirements is indexed in the generated input data set for the optimal process parameters.Hatch spacing was held at 127.5 µm and a variation in laser power and scan speed was considered to generate the optimal processing window.The contour plots (Figure 7) show the effects of the processing parameters on the individual property.The optimal processing window is found by plotting the contour lines of all user-required properties on a single plot.Figure 8 shows the optimal processing region (shaded area) that satisfies all the user requirements.This region satisfies the user requirements for a part density more than 99%, roughness less than 10.5 µm, dimensional error less than 20 µm, and microhardness more than 260 HV.

Conclusions

30To find the optimal process parameters for user-required part properties in laser powder bed fusion, an optimization model based on experimental data is developed using artificial neural networks.An exclusive neural network is developed to optimize the laser power, scan speed, and hatch spacing with the desired relative density, surface roughness, dimensional error, and microhardness.It was found that the developed model resulted in a decent R 2 score of 0.59.The predicted values were compared to the experimental values in the literature and indicated a close match.The results demonstrate the ability of an exclusive neural network in modeling the process parameter-property relationships for multiple properties.The developed model can find the optimal processing parameters that satisfy the user requirement for customized part properties.Thus, it reduces the preprocessing time and cost significantly.The following conclusions are drawn based on the current study.

311. Hyperparameter optimization and cross-validation are crucial steps in developing a robust prediction model.The combination can reduce the model loss and enhance the performance on unseen data.2. Neural networks are highly sensitive to the training data.To have comparable performance for every property, training data must contain inclusive data points within the range.Having less data in the given range would affect the performance of the predictions.3. Finding the optimal parameters for the laser powder bed fusion process requires an understanding of the combined effect of the process parameters on the part properties.ANN is a powerful tool in modeling the combined relationship and obtaining the optimal process parameters in the given range of data.

32To find the optimal process parameters for user-required part properties in laser powder bed fusion, an optimization model based on experimental data is developed using artificial neural networks.An exclusive neural network is developed to optimize the laser power, scan speed, and hatch spacing with the desired relative density, surface roughness, dimensional error, and microhardness.It was found that the developed model resulted in a decent R 2 score of 0.59.The predicted values were compared to the experimental values in the literature and indicated a close match.The results demonstrate the ability of an exclusive neural network in modeling the process parameter-property relationships for multiple properties.The developed model can find the optimal processing parameters that satisfy the user requirement for customized part properties.Thus, it reduces the preprocessing time and cost significantly.The following conclusions are drawn based on the current study.

1.

33Hyperparameter optimization and cross-validation are crucial steps in developing a robust prediction model.The combination can reduce the model loss and enhance the performance on unseen data.

2.

34Neural networks are highly sensitive to the training data.To have comparable performance for every property, training data must contain inclusive data points within the range.Having less data in the given range would affect the performance of the predictions.

3.

35Finding the optimal parameters for the laser powder bed fusion process requires an understanding of the combined effect of the process parameters on the part properties.ANN is a powerful tool in modeling the combined relationship and obtaining the optimal process parameters in the given range of data.

Figure 1 .

36Figure 1.Optical microscopy images and surface roughness maps of (a) sample 4 and (b) sample 10.

37Figure 1.Optical microscopy images and surface roughness maps of (a) sample 4 and (b) sample 10.

Metals 2023 , 16 Figure 2 .

38Figure 2. Scatter plots of properties against VED.(a) Relative density, (b) surface roughness, (c) dimensional error, and (d) microhardness.

Figure 2 .

39Figure 2. Scatter plots of properties against VED.(a) Relative density, (b) surface roughness, (c) dimensional error, and (d) microhardness.

Figure 3 .

40Figure 3. Artificial neural network with a single hidden layer.

41Figure 3. Artificial neural network with a single hidden layer.

42Metals 2023, 13, x FOR PEER REVIEW 8 of 16

Figure 4 .

43Figure 4. Algorithm for obtaining optimal process parameters.

44Figure 4. Algorithm for obtaining optimal process parameters.

Metals 2023 , 16 Figure 5 .

45Figure 5. (a) MSE values during training and validation with respect to number of neurons in hidden layer for hyperparameter optimization; (b) 7-fold cross-validation.

Figure 5b shows the

46Figure5bshows the seven-fold cross-validation of the developed ANN model.In each fold, the model is trained on the training set, which reduces the training error gradually with epochs.The validation error is initially high as it is unseen data and gradually reduces as the model learns the relationship from the training data and minimizes the error.When a new fold of data is introduced to the model, both training and validation errors show a sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the crossvalidation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization[27].

Figure 5 .

47Figure 5. (a) MSE values during training and validation with respect to number of neurons in hidden layer for hyperparameter optimization; (b) 7-fold cross-validation.

Figure

48Figure5bshows the seven-fold cross-validation of the developed ANN model.In each fold, the model is trained on the training set, which reduces the training error gradually with epochs.The validation error is initially high as it is unseen data and gradually reduces as the model learns the relationship from the training data and minimizes the error.When a new fold of data is introduced to the model, both training and validation errors show a sharp increase and slowly start to decrease, which indicates that the model is learning the new data in the new fold.The same process is seen in subsequent folds, where the model's training and validation errors reduce and converge at the end.However, at the end of the third and fifth folds, the validation error was more than the training error, indicating overfitting of the network.Despite overfitting in two folds, in the remaining folds of validation, the error between the training and the validation is negligible and the error can be averaged to produce an acceptable value.The average MSE of the cross-validation is found to be 0.058, indicating the fair performance of the model on the experimental data.Overfitting can be addressed using techniques such as early stopping, dropout, and regularization[27].

Figure 6 .

49Figure 6.Model performance for (a) relative density, (b) surface roughness, (c) dimensional error, (d) microhardness.Triangles represent the actual values and circles represent the predicted values.

Figure

50Figure 6c compares the values of dimensional error.The predicted values are close to the measured values for three samples.Sample 3 had a significant deviation from the actual value.Microhardness values are plotted in Figure 6d.Only sample 2 had a predicted value close to the actual value from[42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations.

Figure 6 .

51Figure 6.Model performance for (a) relative density, (b) surface roughness, (c) dimensional error, (d) microhardness.Triangles represent the actual values and circles represent the predicted values.

Figure

52Figure 6c compares the values of dimensional error.The predicted values are close to the measured values for three samples.Sample 3 had a significant deviation from the actual value.Microhardness values are plotted in Figure6d.Only sample 2 had a predicted value close to the actual value from[42].The rest of them had deviations from the actual values.However, the deviations below 253 are smaller and those above 254 are much higher.Overall, the model accurately predicted the surface roughness and gave decent predictions in dimensional error.Relative densities above 99% and microhardness values below 253 had less deviations.

Metals 2023 , 16 Figure 7 .

53Figure 7. Contour plots showing the effect of laser power and scan speed on (a) relative density (%), (b) surface roughness (μm), (c) dimensional error (μm), and (d) microhardness (HV).

Figure 7 .

54Figure 7. Contour plots showing the effect of laser power and scan speed on (a) relative density (%), (b) surface roughness (µm), (c) dimensional error (µm), and (d) microhardness (HV).

Figure 8 .

55Figure 8. Contour plots showing the effect of laser power and scan speed on the required properties with optimal processing region (in orange).

Author Contributions:

56Conceptualization, S.T., S.H.J., and B.B.R.; methodology, S.T.; formal analysis, S.T., S.H.J., and B.B.R.; resources, G.K.; writing-original draft preparation, S.T.; writing-review and editing, S.T., S.H.J., and B.B.R.; supervision, G.K.; project administration, G.K.; funding acquisition, G.K. All authors have read and agreed to the published version of the manuscript.Funding: This research was funded by a University of Texas System STARs award.

Figure 8 .

57Figure 8. Contour plots showing the effect of laser power and scan speed on the required properties with optimal processing region (in orange).

Table 1 .

58List of process parameters and corresponding experimental values.

Table 2 .

59Comparison of model predictions and experimental values in literature.

참고문헌 48건

  1. Optimizing process parameters for selective laser sintering based on neural network and genetic algorithm The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2008 10.1007/s00170-008-1669-0
  2. Surface roughness analysis, modelling and prediction in selective laser melting Journal of Materials Processing Technology · Elsevier BV · 2012 10.1016/j.jmatprotec.2012.11.011
  3. The Effect of Manufacturing Defects on the Fatigue Behaviour of Ti-6Al-4V Specimens Fabricated Using Selective Laser Melting Advanced materials research · Trans Tech Publications · 2014 10.4028/www.scientific.net/amr.891-892.1519
  4. ANN model for the prediction of density in Selective Laser Sintering International Journal of Manufacturing Research · Inderscience Publishers · 2009 10.1504/ijmr.2009.026579
  5. Potential of Conformal Cooling Channels in Rapid Heat Cycle Molding: A Review Advances in Polymer Technology · Wiley · 2013 10.1002/adv.21381
  6. Multiscale Modeling of Powder Bed–Based Additive Manufacturing Annual Review of Materials Research · Annual Reviews · 2016 10.1146/annurev-matsci-070115-032158
  7. Advances in Neural Networks – ISNN 2004 Lecture notes in computer science · Springer Science+Business Media · 2004 10.1007/b99834
  8. Optimization and Simulation of SLM Process for High Density H13 Tool Steel Parts Physics Procedia · Elsevier BV · 2016 10.1016/j.phpro.2016.08.004
  9. Influences of processing parameters on surface roughness of Hastelloy X produced by selective laser melting Additive manufacturing · Elsevier BV · 2016 10.1016/j.addma.2016.10.010
  10. Additive manufacturing of metals: a brief review of the characteristic microstructures and properties of steels, Ti-6Al-4V and high-entropy alloys Science and Technology of Advanced Materials · Taylor & Francis · 2017 10.1080/14686996.2017.1361305
  11. A hybrid machine learning approach for additive manufacturing design feature recommendation Rapid Prototyping Journal · Emerald Publishing Limited · 2017 10.1108/rpj-03-2016-0041
  12. Common defects and contributing parameters in powder bed fusion AM process and their classification for online monitoring and control: a review The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2017 10.1007/s00170-017-1172-6
  13. Optimisation of process parameters to address fundamental challenges during selective laser melting of Ti-6Al-4V: A review International Journal of Machine Tools and Manufacture · Elsevier BV · 2018 10.1016/j.ijmachtools.2018.01.003
  14. Laser Direct Metal Deposition of 2024 Al Alloy: Trace Geometry Prediction via Machine Learning Materials · Multidisciplinary Digital Publishing Institute · 2018 10.3390/ma11030444
  15. Porosity prediction: Supervised-learning of thermal history for direct laser deposition Journal of Manufacturing Systems · Elsevier BV · 2018 10.1016/j.jmsy.2018.04.001
  16. In situ monitoring of selective laser melting using plume and spatter signatures by deep belief networks ISA Transactions · Elsevier BV · 2018 10.1016/j.isatra.2018.07.021
  17. Effects of Selective Laser Melting additive manufacturing parameters of Inconel 718 on porosity, microstructure and mechanical properties Materials Science and Engineering A · Elsevier BV · 2018 10.1016/j.msea.2018.08.037
  18. Comparison of Stainless Steel 316L Parts Made by FDM- and SLM-Based Additive Manufacturing Processes JOM · Springer Science+Business Media · 2018 10.1007/s11837-018-3207-3
  19. Using machine learning to identify in-situ melt pool signatures indicative of flaw formation in a laser powder bed fusion additive manufacturing process Additive manufacturing · Elsevier BV · 2018 10.1016/j.addma.2018.11.010
  20. Neural networks for topology optimization Russian Journal of Numerical Analysis and Mathematical Modelling · De Gruyter · 2019 10.1515/rnam-2019-0018
  21. Effect of energy density and scanning strategy on densification, microstructure and mechanical properties of 316L stainless steel processed via selective laser melting Materials Science and Engineering A · Elsevier BV · 2019 10.1016/j.msea.2019.138455
  22. Optimized hatch space selection in double-scanning track selective laser melting process The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2019 10.1007/s00170-019-04456-w
  23. A review of critical repeatability and reproducibility issues in powder bed fusion Materials & Design · Elsevier BV · 2019 10.1016/j.matdes.2019.108346
  24. Optimization of selective laser melting process parameters for Ti-6Al-4V alloy manufacturing using deep learning Journal of Manufacturing Processes · Elsevier BV · 2020 10.1016/j.jmapro.2020.04.014
  25. Selective laser melting (SLM) of AISI 316L—impact of laser power, layer thickness, and hatch spacing on roughness, density, and microhardness at constant input energy density The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2020 10.1007/s00170-020-05510-8
  26. Study on the Effect of Powder-Bed Fusion Process Parameters on the Quality of as-Built IN718 Parts Using Response Surface Methodology Metals · Multidisciplinary Digital Publishing Institute · 2020 10.3390/met10091180
  27. Laser Powder Bed Fusion Parameter Selection via Machine-Learning-Augmented Process Modeling JOM · Springer Science+Business Media · 2020 10.1007/s11837-020-04383-2
  28. Modeling process–structure–property relationships in metal additive manufacturing: a review on physics-driven versus data-driven approaches Journal of Physics Materials · IOP Publishing · 2020 10.1088/2515-7639/abca7b
  29. Laser powder bed fusion parameters to produce high-density Ti–53%Nb alloy using irregularly shaped powder from hydride-dehydride (HDH) process Journal of Materials Research and Technology · Elsevier BV · 2020 10.1016/j.jmrt.2020.12.084
  30. Comparative evaluation of supervised machine learning algorithms in the prediction of the relative density of 316L stainless steel fabricated by selective laser melting The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2021 10.1007/s00170-021-06596-4
  31. Collaborative Optimization on Density and Surface Roughness of 316L Stainless Steel in Selective Laser Melting 2020 10.20944/preprints202002.0225.v1
  32. Optimization of surface roughness and dimensional accuracy in LPBF additive manufacturing Optics & Laser Technology · Elsevier BV · 2021 10.1016/j.optlastec.2021.107246
  33. A Prediction Model for Additive Manufacturing of Inconel 718 Superalloy Applied Sciences · Multidisciplinary Digital Publishing Institute · 2021 10.3390/app11178010
  34. A Comparative Study of Machine Learning Methods for Computational Modeling of the Selective Laser Melting Additive Manufacturing Process Applied Sciences · Multidisciplinary Digital Publishing Institute · 2022 10.3390/app12052324
  35. Comparative analysis and experimental validation of statistical and machine learning-based regressors for modeling the surface roughness and mechanical properties of 316L stainless steel specimens produced by selective laser melting Journal of Manufacturing Processes · Elsevier BV · 2022 10.1016/j.jmapro.2022.06.021
  36. Multi phenomena melt pool sensor data fusion for enhanced process monitoring of laser powder bed fusion additive manufacturing Materials & Design · Elsevier BV · 2022 10.1016/j.matdes.2022.110919
  37. Density Prediction in Powder Bed Fusion Additive Manufacturing: Machine Learning-Based Techniques Applied Sciences · Multidisciplinary Digital Publishing Institute · 2022 10.3390/app12147271
  38. Optimized XGBoost Model with Small Dataset for Predicting Relative Density of Ti-6Al-4V Parts Manufactured by Selective Laser Melting Materials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ma15155298
  39. A review of machine learning techniques for process and performance optimization in laser beam powder bed fusion additive manufacturing Journal of Intelligent Manufacturing · Springer Science+Business Media · 2022 10.1007/s10845-022-02012-0
  40. Optimization of Parameters in Laser Powder Bed Fusion TA15 Titanium Alloy Using Taguchi Method Crystals · Multidisciplinary Digital Publishing Institute · 2022 10.3390/cryst12101385
  41. Prediction of Metal Additively Manufactured Surface Roughness Using Deep Neural Network Sensors · Multidisciplinary Digital Publishing Institute · 2022 10.3390/s22207955
  42. Selective Laser Melting and Mechanical Properties of Stainless Steels Materials · Multidisciplinary Digital Publishing Institute · 2022 10.3390/ma15217575
  43. A comprehensive investigation on application of machine learning for optimization of process parameters of laser powder bed fusion-processed 316L stainless steel The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2022 10.1007/s00170-022-10331-y
  44. Optimization of Process Parameters for Powder Bed Fusion Additive Manufacturing Using a Linear Programming Method: A Conceptual Framework Metals · Multidisciplinary Digital Publishing Institute · 2022 10.3390/met12111976
  45. Process parameter optimization of metal additive manufacturing: a review and outlook Journal of Materials Informatics · OAE Publishing Inc. · 2022 10.20517/jmi.2022.18
  46. Property-Graded Stainless Steel 316L by Selective Laser Melting: Characterization & Design Journal of Manufacturing Science and Engineering · ASM International · 2023 10.1115/1.4056825
  47. Optimization of Laser Process Parameters Using Machine Learning Algorithms and Performance Comparison Texas Digital Library (University of Texas) · The University of Texas at Austin · 2023 10.26153/tsw/44547
  48. Surface Morphology and Hardness of Powder Bed Fused Ss316l as a Function of Process Parameters Texas Digital Library (University of Texas) · The University of Texas at Austin · 2023 10.26153/tsw/44546