Next Article in Journal
The Effect of Bi Addition on the Electromigration Properties of Sn-3.0Ag-0.5Cu Lead-Free Solder
Previous Article in Journal
Drimia maritima as a New Green Inhibitor for Al-Si Alloy, SAE Steel and Pure Al Samples in 0.5 M NaCl Solution: Polarization and Electrochemical Impedance Analyses
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Experimental Study and Random Forest Machine Learning of Surface Roughness for a Typical Laser Powder Bed Fusion Al Alloy

1
Department of Materials Science and Engineering, Southern University of Science and Technology, Shenzhen 518055, China
2
Ji Hua Laboratory, Institute of Advanced Additive Manufacturing, Foshan 528010, China
*
Authors to whom correspondence should be addressed.
Metals 2024, 14(10), 1148; https://doi.org/10.3390/met14101148
Submission received: 24 August 2024 / Revised: 4 October 2024 / Accepted: 7 October 2024 / Published: 8 October 2024
(This article belongs to the Section Additive Manufacturing)

Abstract

:
Surface quality represents a critical challenge in additive manufacturing (AM), with surface roughness serving as a key parameter that influences this aspect. In the aerospace industry, the surface roughness of the aviation components is a very important parameter. In this study, a typical Al alloy, AlSi10Mg, was selected to study its surface roughness when using Laser Powder Bed Fusion (LPBF). Two Random Forest (RF) models were established to predict the upper surface roughness of printed samples based on laser power, laser scanning speed, and hatch distance. Through the study, it is found that a two-dimensional (2D) RF model is successful in predicting surface roughness values based on experimental data. The best and minimum surface roughness is 2.98 μm, which is the minimum known without remelting. More than two-thirds of the samples had a surface roughness of less than 7.7 μm. The maximum surface roughness is 11.28 μm. And the coefficient of determination (R2) of the model was 0.9, also suggesting that the surface roughness of 3D-printed Al alloys can be predicted using ML approaches such as the RF model. This study helps to understand the relationship between printing parameters and surface roughness and helps print components with better surface quality.

1. Introduction

Additive manufacturing (AM), more commonly known as 3D printing, is a novel processing approach distinct from traditional manufacturing. Compared to traditional machining, its processing method is more flexible and rapid, and it can achieve rapid printing and manufacturing without mold, thereby garnering considerable favor within industries. AM has been extensively utilized in aerospace, medical, and other domains [1]. Some automotive engineers are also studying how to replace conventional cast metal parts and stamped parts with parts produced by AM, which can help reduce mold costs, reduce upfront trial production costs, improve material utilization, and shorten production cycles [2].
Compared to traditional manufacturing, AM also has certain disadvantages. For instance, compared to traditional machining, the precision of the parts produced by AM is lower, which not only affects the quality of the parts themselves but also the assembly of different parts, strength, sealing performance, etc. of the entire system. Some characteristics of AM processing, such as the need to add a support structure during processing, will also affect its surface accuracy. An important parameter for measuring accuracy is surface roughness. Surface roughness refers to the micro-geometric characteristics composed of small spacing and peaks and valleys on the machined surface. It is a micro-geometric error, also known as micro-unevenness. By using turning, grinding, and/or other processing methods, the surface roughness can be reduced to less than 0.01 µm [3]. The surface roughness of additively manufactured samples varies widely, ranging from 2 µm to 90 µm, which is mainly related to the process parameters used, the materials used, and the settings of the surface optimization parameters. In many kinds of additive manufacturing, Laser Powder Bed Fusion (L-PBF) has the lowest accuracy and the lowest surface roughness of the parts produced [4,5]. Gao et al. [6] have successfully reduced the surface roughness of Al-Si alloy parts printed by selective laser melting to 2 µm, which is the lowest known surface roughness of additively manufactured metal parts. Based on the results of their experiments, it was also noticed that the printing parameters are the most influential factors on the surface roughness of homogeneous metal parts.
To solve the specific relationship between the printing parameters and the surface roughness, artificial intelligence such as machine learning (ML) is preferred because too many variables are involved. ML is also capable of predicting based on obtained experimental results, where it represents the behavior of a computer that adapts its own computational aspects through experience gained from cyclic computing [7].
Several researchers have used ML models to predict the surface roughness of samples for AM. For instance, in order to predict the surface roughness of Ti-6Al-4V alloy samples printed by L-PBF, Fotovvati and Chou [8] studied the influence of various L-PBF process parameters on samples’ surface roughness; their results show that laser power has the greatest influence on the surface roughness of a sample. Li et al. [9] predicted the surface roughness of as-printed polylactic acid fabricated from fused deposition modeling. Yang et al. [10] developed an artificial neural network model to predict the surface roughness of printed 316L stainless steel samples in order to predict and improve the surface quality. They investigated the ensemble machine learning models to predict the mechanical properties of the 3D-printed Polylactic Acid (PLA) specimens. Deb et al. [11] used a variety of ML methods to predict the tensile strength and surface roughness of 3D-printed PLA based on process parameters. The experimental results show that the surface roughness of printed samples can be improved by adjusting the process parameters. Chen et al. [12] propose a machine learning method based on Gaussian process regression to construct a model between the Wire Arc Additive Manufacturing (WAAM) process parameters and top surface roughness. Experimental results demonstrate that the proposed method achieves less than 50 μm accuracy in surface roughness prediction. Gogulamudi et al. [13], to study the surface roughness of L-PBF aluminum alloy, developed a model to predict the optimal process parameters for producing AlSi10Mg components with desired surface roughness and Vickers microhardness.
Existing research covers a variety of approaches to ML and AM. This brings some inspiration to our research, but at the same time, there are several problems. For example, the vast majority of studies print a small number of experimental samples, in most cases fewer than 100 samples. Moreover, the surface roughness of the printed samples in most experiments is too large, which means that the printed parts may have surface defects and thus affect the surface roughness. This creates noisy labels in the data. These factors affect the predictions of ML models. Therefore, this experiment increased the number of experimental samples and reduced the surface defects of samples by controlling the range of process parameters to improve the accuracy and generality of ML predictions.
There are various types of ML models. In order to make it easy to give a suitable formula for predicting the process parameters’ effects on the surface roughness, Random Forest (RF) regression was selected to use in this study. RF is an integrated learning based on a decision tree algorithm. The decision trees approach is an important classification and regression method in data mining techniques [14], which is a predictive analytic model expressed in the form of binary and multinomial trees [15]. In the RF, each decision tree is independent and trained on a randomly selected subsample, which effectively reduces the risk of overfitting [16]. RF obtains the final regression results by averaging or weighted averaging the predictions of multiple decision trees [17]. Furthermore, according to the different number of feature values corresponding to each set of data, RF can be classified into different categories, such as one-dimensional (1D) RF regression models, two-dimensional (2D) RF regression, and so on. Descriptors are vectors used to depict the features of the data, which are mainly used to help ML models understand the data features [18]. A model with one descriptor for a piece of data is a 1D RF model, and a model with two descriptors for a piece of data is a 2D RF model.
To sum up, the aim of this study is to discover the relationship between surface roughness and process parameters for L-PBF. To achieve this, several groups of experimental samples were printed, a database was constructed, a RF model was established to predict the surface roughness of the printed samples according to the printing parameters, and the regression equations of both were given. The typical alloy selected in this experiment is AlSi10Mg, which is one of the most commonly used alloys in L-PBF. Its surface quality, however, is relatively poor, and its surface roughness is high [19], which is because Al alloys tend to have low fluidity [20], high thermal conductivity, and high laser reflectivity [21]. Improvement of its surface roughness can enhance its surface quality and can help avoid the necessity and cost of subsequent machining. Compared with the existing experiments, the parameter setting range in this study is more reasonable, and there are more experimental data. Machine learning has a larger database and a lower noise value of the data. The prediction results are more accurate and reasonable.

2. Experimental

2.1. Materials and Methods

The instrument used for printing was an FS273M printer (Farsoon Technologies, Changsha, China), and the surface roughness instrument used for the experiment was the Surftest SJ-310 measuring instrument (Mitutoyo, Suzhou, China). Each sample was measured three times, with each measurement taken at a distance of 0.8 μm. The three measurement lines and the edge of the sample were parallel to each other. Measurement lines 1 and 3 were 2 mm from the edge, respectively, and measurement line 2 was located in the center of the sample. In the process of measurement, some references were made to reduce measurement errors. [22,23] The surface profile of some samples was measured by the Countor GT K 3D profiler (Bruker, Berlin, Germany). Laser energy density, B, was used to describe the overall experimental parameters, as shown in the following formula (Equation (1)) [4]:
B = P v t h
where P is the laser power (W), v is the scanning speed (mm/s), h is the hatch distance (µm), and t is the layer thickness (µm).
During the printing process, both too low and too high energy densities increase the surface roughness during printing. If the energy density is too low, it may lead to incomplete melting of the powder and make defects on the surface of the sample; if the energy density is too high, it may lead to splashing of the liquid metal and affect the surface roughness of the part [24,25]. The selected experimental variables were laser power, laser scanning speed, and hatch distance; see Table 1. The basic parameters were the commonly used AlSi10Mg printing parameters provided by the printer equipment manufacturer. On this basis, the research articles on AlSi10Mg should be referred to [26,27]. The range of parameter variation was given. In the experiment, the process parameters of sample 1 were set as the basic parameters, and the remaining sample parameters were determined by random selection. There was no replication of experimental data. Since the thickness of the powder layer cannot be adjusted during printing, we have standardized the powder layer thickness for all parts to 30 μm, as this is the most commonly used thickness for this aluminum alloy. For printing, the sample placement is shown in the following figure (Figure 1). A total of 144 different sets of experimental samples were designed. The samples were rectangles 1.2 cm in width by 1 cm in height. We conducted all sample prints at once, set all parts to the same scanning strategy, and eliminated the remelting process to minimize the influence of extraneous factors. Furthermore, the chosen printer was equipped with a dynamic focusing function that mitigates deviations in the laser incidence angle caused by varying positions of components on the substrate.

2.2. Random Forest Regression

As mentioned above, the RF regression is an algorithm based on bootstrap aggregation (bagging). Multiple decision trees are predicted in parallel, and the average predicted value of all decision trees is ultimately given [28]. The operation principle is also shown in Figure 2.
The RF model randomly extracts multiple samples from the original data set and generates multiple subsets of data. For each subset of data, a regression tree is constructed using the decision tree algorithm. When each node splits, some features are randomly selected, and the best features (laser power, laser scanning speed, and hatch distance) are selected for splitting. After all trees are trained, each decision tree is used to predict the newly input data points, and then all the predicted results are averaged to obtain the final predicted value. The equations for the RF model are as follows (Equation (2)) [29]:
y = 1 N n = 1 N y n
where y is the average prediction result, N is the number of decision trees, and y n is the prediction result given by n-numbered decision trees (1 < n < N). The specific process of each tree in the experiment is shown in Figure 3.
After the prediction result is obtained, the regression equation can be obtained by non-linear regression according to the split way of the decision tree. The regression method is the least squares method. The equation for the least squares method is expressed as follows (Equation (3)) [7]:
m i n i = 1 n w | y i y i ^ | 2
where y i   denotes the true observation, y i ^ denotes the predicted value, w denotes precision, and n denotes the number of decision trees.
In this experiment, there were 144 sets of data in total, where the eigenvalues were the printing parameters, and the three eigenvalues were the laser power, scanning speed, and scanning spacing. The target variable was surface roughness. For a better regression, a part of the data with a large noise value was removed, and the remaining data was set up as a database. The number of decision trees was set to 1000. The depth of each tree was set to 0. A 1D RF regression model and a 2D RF regression model were chosen to compare the regression equations and prediction accuracy given by the two models. The software used in this experiment was Anaconda (version 2.3.2). An RF model was built in Python (version 3.7.0).
The method of obtaining the regression equation was the standard equation method, which aims to obtain the parameter θ that minimizes the value of the cost function. The cost function formula was as follows:
To determine the prediction accuracy, some parameters, namely the mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), and determination coefficient (R2), were used, and they are described below [11].
The formula for R2 is as follows (Equation (4)):
R 2 = 1 i = 1 n ( y i y i ^ ) 2 i = 1 n ( y i y ¯ ) 2  
where y i denotes the true observation, y i ^ denotes the predicted value, y ¯ denotes the mean of the true observation, and n denotes the number of observations.
The formulas for MSE and RMSE are as follows (Equations (5) and (6)):
M S E = 1 n i = 1 n ( y i y i ^ ) 2
R M S E = 1 n i = 1 n ( y i y i ^ ) 2
where   y i   denotes the true observation, y i ^ denotes the predicted value, and n denotes the number of observations.
The equation for MAE is expressed as follows (Equation (7)):
M A E = 1 n i = 1 n y i y i ^
where y i   denotes the true observation, y i ^ denotes the predicted value, and n denotes the number of observations.

3. Results

3.1. Experimental Result

The surface morphology and surface roughness of the printed parts were measured. The surface morphology of some parts was shown in Figure 4.
It can be seen from the surface profiles of some extracted samples that the surface profiles of the samples are relatively smooth, without major surface defects, and will not affect the measurement of surface roughness.
The printing parameters of the experimental samples were set in Table 2. After printing, the surface roughness values of all samples were measured and organized into a histogram (Figure 5). From the histogram, it can be seen that the surface roughness values ranged from 2.90 µm to 11.30 µm. Most of the samples had surface roughness values clustered between 4.10 µm and 7.70 µm. We set the lower limit at 2.9 μm and the upper limit at 11.3 μm, dividing the range into seven equal intervals, each with a width of 1.2 μm. The printing parameters of the five best samples are organized in Table 3, and the rest of the data are included in Appendix A.
Two points can be found in Table 3: Firstly, the energy density of several points with the lowest roughness is very high, e.g., ~130–150 J/mm3. Secondly, the best hatch distance is around 0.12 µm. This means that a combination of high laser power, low scanning speed, high laser energy density, and suitable hatch distance can reduce the surface roughness of the printed AlSi10Mg samples.
To further compare the relationship between surface roughness and laser energy density, the corresponding laser energy density and surface roughness of all 144 samples were counted and prepared as a scatter plot (Figure 6). The R2 for this linear fit is 0.22. It can be seen from the figure that the laser energy density is indeed inversely proportional to the surface roughness as a whole, and the higher the laser energy density, the lower the surface roughness of the sample. The relationship between them is weakly and inversely correlated. However, the relationship between laser energy density and surface roughness is very complex, so this part is only a simple reasoning of the relationship between the two. The relationship between process parameters, laser energy density, and surface roughness also needs to be inferred from the ML prediction results.
Meanwhile, from the corresponding linear fitting, some data distribution is relatively discrete. This is most likely because of uncontrollable factors during the printing process. For example, the airflow field can impact the roughness of the printed parts [30]. The printer’s blower device can blow up fine spray powder during printing, which may splash onto other nearby sample surfaces, affecting surface forming and roughness. The surface roughness of individual samples fluctuates within a range of 1–2 μm, making predictions challenging when the surface roughness is excessively low. This leads to training data that is noisy, which affects the prediction results of the model [31]. To reduce errors in the regression prediction and improve the accuracy of the machine learning model, data that are too discrete are removed, and the remaining data are used as a database for the following ML regression.

3.2. Prediction Results and Regression Equations of the RF Regression Model (1D)

A 1D RF prediction model was run with a corresponding descriptor for each eigenvalue. The model is used to predict the training set and test set, respectively. The training set is used to estimate the parameters in the model so that the model reflects reality, while the test set is used to evaluate the predictive performance of the model. The comparison table between the predicted value and the real value is also sorted out, and part of the data are shown in Table 4.
In the regression, the first 100 sets of data are used as the test set, and the last 20 sets of data are used as the training set. The data, including the real values and predicted values, as well as the corresponding eigenvalue of each data, are included in Appendix Table A2 The predicted and true values given by the model were sorted into graphs for the training set and the test set, respectively (Figure 7).
The formula for the regressed surface roughness, R, is as follows (Equation (8)):
R = ln ( 1752.6 a b 2 ) + 0.6
where a is the laser scanning speed (mm/s), and b is the laser power (W). The image of the equation is shown in Figure 8. According to the established equation, the surface roughness is proportional to laser scanning speed and inversely proportional to laser power, suggesting that the higher the laser power, the lower the scanning speed, the lower the surface roughness, and the better the surface performance of the printed sample. This is consistent with previous experimental findings that surface roughness is inversely proportional to laser energy density.
The regression equation does not contain all the features, which indicates that there are some problems in the pruning process of the decision tree, resulting in a lack of features. To solve this phenomenon, it is necessary to add data descriptors so that the RF model can understand the data more accurately and make the model more complex to avoid the influence of single decision tree pruning errors.

3.3. Prediction Results and Regression Equations of Random Forest Regression Model (2D)

Table 5 compares some of the experimental and predicted values in the 2D RF model. The complete data of the samples, as well as the eigenvalues corresponding to each data point, are listed in Appendix Table A3.
Furthermore, the predicted values and experimental values given by the model on the training set and the test set were organized into line plots and scatter plots, respectively, see Figure 9.
The regressed surface roughness, R, using the 2D RF model is as follows (Equation (9)):
R = 5.786 ln ( b 4 c ) + 0.0187 a c sin ( ln b ) + 141.138
where a is the laser scanning speed (mm/s), b is the laser power (W), and c is the hatch distance (µm). It can be seen that the regression equation given by the 2D RF regression model is different from that of the 1D model. Since there are three variables in this regression equation, it is not possible to draw the function diagram directly. After setting the hatch distance to 0.01 µm, the function diagram is presented in Figure 10.
By checking the regression equation, it can be found that the value of sin ( ln b ) in the equation has a small change (0.097–0.105) in the laser power range (270 W–420 W) given in this experiment, which can be regarded as a constant. Based on this, the surface roughness of the printed samples shows a tendency of decreasing with the increase in laser power and increasing with the increase in laser scanning speed, while the relationship between the surface roughness and the hatch distance depends on the specific parameters.

4. Discussion

By comparing the prediction accuracy of the two different models, the reference coefficients for the 1D and 2D RF models are sorted in Table 6. From the table, it can be seen that, in comparison, the 2D RF regression model has lower values of MSE, RMSE, and MAE, and its R2 is closer to 1. All four evaluation parameters are better than the 1D RF regression model, indicating that the 2D RF regression model gives a more accurate prediction.
Based on the regression equations obtained above, it was found that the two equations have similar resulting images and patterns of change, but the regression equation given by the 2D RF regression model includes the variable of hatch distance. This is because by adding a descriptor, the ML process learns more features, which helps understand the relationship between the input features and the real observations. A more reasonable regression equation is therefore realized by the 2D RF regression; also, the regression equation given by the 2D RF regression model contains all the eigenvalue variables. Based on the 2D RF regression equation, it can be observed that surface roughness decreases as laser power increases and increases as scanning speed increases. Additionally, the relationship between surface roughness and hatch distance varies based on the specific value of the hatch distance. Similar patterns can also be derived from the 1D RF regression equation. As laser power increases, scanning speed decreases, leading to an increase in laser energy density and a decrease in surface roughness. The conclusion aligns with our findings at the end of Chapter 3.1. However, it is important to note that this conclusion may not hold true when the process parameters fall outside the range specified in this experiment. Additionally, the surface roughness could be impacted by uncontrollable external factors, leading to a small margin of error. By further comparing the results of this study with previous studies (Table 7), it is evident that our results are among the best ones, achieving a minimum surface roughness of below 3 μm [6,13]. The experimental results show that surface defects have less impact, leading to more accurate predictions. Additionally, the machine learning database used in this study is larger, allowing for a wider range of predictions. This experiment also obtained regression equations for AlSi10Mg surface roughness and process parameters, a first in known research. This contributes to a better understanding of the relationship between surface roughness and process parameters.

5. Conclusions and Outlook

5.1. Conclusions

The main results obtained in this study are summarized as follows:
(1)
In order to study the correlation between the surface roughness of a typical Al alloy and the printing parameters, experiments were designed in which a total of 144 sets of samples were printed to study changes in surface roughness under the influence of key printing parameters. The lowest surface roughness achieved was 2.95 μm, indicating that it is possible to print Al alloys with a good surface quality by process optimization without using remelting.
(2)
Based on the obtained experimental data, Random Forest regression was built to regress and predict the results. After optimizing the model, a 2D prediction model was developed with high prediction accuracy. The R2 of the model is 0.907, with an MSE of 0.255, RMSE of 0.505, and MAE of 0.464. The specific relationship equation between the key printing parameters and surface roughness was also derived. A 2D RF model can maintain high prediction accuracy on both the training set and test set. The experimental parameters in the training set and test set cover the range of printing parameters of AlSi10Mg. This proves that the obtained ML model can provide accurate prediction results for the indicated roughness study of the aluminum alloy.

5.2. Outlook

In comparison to existing experimental results, this experiment collected a larger amount of data, with a total of 144 groups of experimental data being designed. The surface roughness of the samples was also lower. The experiment used the common printing parameter interval for AlSi10Mg. The average prediction error was less than 0.5 μm, indicating higher prediction accuracy across a wider range of applications. The regression equation between process parameters and surface roughness was also proposed in this experiment, which helps us to understand the relationship between the two. However, there are some drawbacks to this experiment. Even though the data set used for machine learning in this experiment was already much larger than the data set in the existing research results, to predict the results more accurately, it is still necessary to build a data set containing more experimental data. If a data set of more than a thousand printed parts can be included, then the prediction accuracy of the model will surpass all known results.

Author Contributions

Conceptualization, X.S. and C.G.; methodology, X.S. and C.G.; software, X.S.; validation, X.S.; formal analysis, X.S.; investigation, J.H.R. and M.W.; resources, C.G., J.H.R., M.Y., and Y.B.; data curation, M.W.; writing—original draft, X.S.; writing—review and editing, M.Y.; visualization, X.S.; supervision, M.Y. and Y.B.; project administration, Y.B. All authors have read and agreed to the published version of the manuscript.

Funding

This work is supported by the Guangdong Basic Applied Basic Research Foundation, China (2023B1515120100), the Key Research and Development Program of Jiangsu Province (K22251901), the National Natural Science Foundation of China (52271032), and the Shenzhen Science and Technology Innovation Commission (JCYJ20220818100612027). The authors would also like to acknowledge the technical support of SUSTech CRF.

Data Availability Statement

The original contributions presented in the study are included in the article, further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Table A1. Process parameters and surface roughness of the printed sample.
Table A1. Process parameters and surface roughness of the printed sample.
Sample NumberLaser Power (W)Laser Scanning Speed (mm/s)Hatch Distance (µm)Surface Roughness (µm)
134011000.155.72
232512510.086.95
332112810.158.40
434810910.146.00
534311760.086.42
637513300.085.44
73999170.114.17
83989120.164.78
93178100.135.13
102928820.126.62
114119380.094.14
1233012390.126.63
1335410500.155.19
143609270.123.26
153308870.085.32
1636611720.167.01
1727011280.129.57
182888690.127.61
1934310470.125.69
2032813820.18.18
2137711200.085.33
2237610700.155.36
2335310480.124.92
2435710420.124.84
2537211500.166.49
2639510730.133.95
2740911330.125.13
283528610.124.41
2931111150.087.14
3030010130.147.24
312739550.128.13
323228390.14.92
333829590.154.23
3430310610.126.71
3537710170.095.20
363249890.16.71
373748520.084.70
3828613580.0811.28
3933812110.146.80
4038111880.094.91
4140810480.15.95
4237010620.084.88
4336410740.085.03
444148610.123.15
4532712440.157.67
4634313020.086.60
4728512360.099.31
4841410790.093.76
4938510530.165.50
5035611670.086.09
512848070.118.28
5235611240.115.36
5337411390.124.84
5427510730.0810.81
553638950.084.64
5639013170.085.72
5736710500.125.01
584098960.164.23
593968410.114.23
604038540.125.71
6135510630.14.78
6228412440.128.92
632918040.155.65
6434313450.127.20
6541112360.095.26
663319400.15.14
6730210800.158.24
6833811720.146.67
693919870.113.65
7035411840.145.64
7132913110.128.22
722859830.159.63
7327510790.1210.42
743059930.087.77
753729200.144.71
763048910.097.54
773258360.086.42
783439570.155.47
7939312690.14.90
803188100.085.81
813219350.125.48
8233912170.087.64
8333112750.157.14
8435111650.095.34
8535310530.114.91
863739330.124.94
8739713700.138.37
882759830.119.46
8939111840.157.10
9037013470.097.51
9134313860.087.70
9227211750.159.92
933479390.094.37
9427111510.139.59
954138910.114.06
9641912260.125.07
972919590.088.98
9827811900.099.88
993358680.097.79
1002958030.17.84
10140213030.126.47
10227810200.138.15
10329810510.117.11
10433110620.126.54
10536811080.085.51
10640413180.119.23
10732310900.147.36
10829411770.119.78
1093288580.125.37
1103548720.124.70
11139510350.14.77
11233411420.088.11
11337811470.097.29
11434810400.15.26
11540513480.117.38
1164159170.12.90
11730013680.127.54
11831713870.127.31
11932412590.126.77
1203358360.16.91
12136613370.16.84
1223829550.145.66
12335311320.154.83
12433010830.125.20
12528811870.0910.01
12631611550.129.21
12728110230.0910.18
12829213350.1210.85
1293008090.087.40
13032311090.116.45
13139311820.116.00
13240812080.15.43
13328013870.110.57
1343778720.124.97
13537613960.117.33
13635912590.089.95
1374128300.163.67
13837912910.086.11
13937812260.086.21
14041113960.17.06
1412858280.148.46
14240812920.127.92
14339812360.085.98
14432813280.127.96
Table A2. Random Forest Regression(1D) prediction results. Note: groups 1–100 are the training set data, and groups 101–120 are the test set data.
Table A2. Random Forest Regression(1D) prediction results. Note: groups 1–100 are the training set data, and groups 101–120 are the test set data.
Sample NumberSurface Roughness (µm)Predicted Value (µm)Error (%)Descriptor
15.726.6516%3.45 × 10−3
26.957.8613%4.15 × 10−3
38.408.153%4.31 × 10−3
46.006.356%3.28 × 10−3
56.426.897%3.59 × 10−3
65.446.5120%3.38 × 10−3
74.174.252%2.09 × 10−3
84.784.2511%2.08 × 10−3
95.135.7813%2.96 × 10−3
106.627.239%3.79 × 10−3
114.144.111%2.01 × 10−3
126.637.6215%4.01 × 10−3
135.195.9815%3.07 × 10−3
147.016.1760%3.18 × 10−3
159.579.8710%5.30 × 10−3
167.617.3112%3.83 × 10−3
175.696.303%3.25 × 10−3
188.188.284%4.38 × 10−3
195.335.6611%2.89 × 10−3
205.365.471%2.78 × 10−3
214.926.006%3.08 × 10−3
224.845.852%3.00 × 10−3
236.495.9122%3.03 × 10−3
245.134.9621%2.49 × 10−3
254.415.059%2.54 × 10−3
267.147.7927%4.11 × 10−3
277.247.703%4.06 × 10−3
288.138.6314%4.59 × 10−3
294.925.819%2.97 × 10−3
304.234.826%2.41 × 10−3
316.717.846%4.14 × 10−3
325.205.2118%2.63 × 10−3
336.716.6314%3.44 × 10−3
344.704.4517%2.20 × 10−3
3511.2810.140%5.45 × 10−3
366.807.211%3.78 × 10−3
374.915.825%2.98 × 10−3
384.885.5910%2.85 × 10−3
395.035.806%2.97 × 10−3
403.153.6919%1.77 × 10−3
417.677.7522%4.09 × 10−3
426.607.4114%3.89 × 10−3
439.319.6115%5.15 × 10−3
443.764.6517%2.31 × 10−3
455.505.171%2.61 × 10−3
466.096.4412%3.34 × 10−3
478.287.043%3.68 × 10−3
485.366.2524%3.23 × 10−3
494.845.816%2.98 × 10−3
5010.819.276%4.95 × 10−3
514.644.9515%2.49 × 10−3
525.726.0617%3.12 × 10−3
535.015.6120%2.86 × 10−3
544.233.9614%1.92 × 10−3
554.233.937%1.90 × 10−3
568.929.716%5.20 × 10−3
575.656.7112%3.49 × 10−3
587.207.576%3.98 × 10−3
595.265.297%2.68 × 10−3
605.146.1226%3.15 × 10−3
618.247.999%4.22 × 10−3
626.677.0419%3.68 × 10−3
633.654.745%2.37 × 10−3
645.646.571%3.41 × 10−3
658.227.9619%4.20 × 10−3
6610.429.303%4.97 × 10−3
677.777.386%3.87 × 10−3
684.714.8630%2.43 × 10−3
697.546.7917%3.54 × 10−3
706.425.693%2.91 × 10−3
715.475.8411%2.99 × 10−3
724.905.825%2.98 × 10−3
735.815.753%2.94 × 10−3
745.486.4310%3.33 × 10−3
757.647.2011%3.77 × 10−3
767.147.737%4.07 × 10−3
775.346.5819%3.42 × 10−3
784.916.021%3.10 × 10−3
794.944.9017%2.46 × 10−3
808.376.066%3.12 × 10−3
819.468.718%4.63 × 10−3
827.105.5623%2.83 × 10−3
837.516.7123%3.49 × 10−3
847.707.731%4.07 × 10−3
859.9210.028%5.38 × 10−3
864.375.6211%2.87 × 10−3
879.599.940%5.34 × 10−3
884.063.861%1.86 × 10−3
898.987.7829%4.10 × 10−3
909.889.764%5.23 × 10−3
917.846.545%3.39 × 10−3
926.475.720%2.93 × 10−3
938.158.7913%4.68 × 10−3
947.118.011%4.23 × 10−3
956.546.7712%3.52 × 10−3
965.515.848%3.00 × 10−3
977.367.1913%3.77 × 10−3
985.375.734%2.93 × 10−3
994.705.066%2.55 × 10−3
1004.774.872%2.44 × 10−3
1018.117.049%3.68 × 10−3
1027.385.807%2.97 × 10−3
1037.318.758%4.66 × 10−3
1046.777.932%4.19 × 10−3
1056.846.8016%3.54 × 10−3
10610.019.211%4.92 × 10−3
10710.188.6515%4.60 × 10−3
1087.406.398%3.31 × 10−3
1096.457.2910%3.82 × 10−3
1106.005.5013%2.80 × 10−3
1115.435.268%2.66 × 10−3
11210.5710.613%5.71 × 10−3
1137.336.710%3.49 × 10−3
1143.673.5710%1.70 × 10−3
1156.116.268%3.23 × 10−3
1166.216.053%3.11 × 10−3
1177.065.812%2.98 × 10−3
1187.925.553%2.83 × 10−3
1195.985.587%2.85 × 10−3
1207.968.061%4.26 × 10−3
Table A3. Random Forest Regression(2D) prediction results. Note: groups 1–100 are the training set data, and groups 101–120 are the test set data.
Table A3. Random Forest Regression(2D) prediction results. Note: groups 1–100 are the training set data, and groups 101–120 are the test set data.
Sample NumberSurface Roughness (µm)Predicted Value (µm)Error (%)Descriptor 1Descriptor 2
15.726.259%2.14 × 101−3.76 × 102
26.957.8012%2.06 × 101−2.09 × 102
38.407.886%2.12 × 101−3.92 × 102
46.005.911%2.14 × 101−3.66 × 102
56.426.735%2.08 × 101−2.18 × 102
65.446.2916%2.12 × 101−3.05 × 102
74.173.819%2.17 × 101−3.48 × 102
84.784.535%2.21 × 101−4.99 × 102
95.135.609%2.10 × 101−2.10 × 102
106.627.508%2.06 × 101−1.86 × 102
114.143.828%2.17 × 101−3.23 × 102
126.637.178%2.11 × 101−3.19 × 102
135.195.6020%2.16 × 101−3.92 × 102
147.016.586%2.18 × 101−5.05 × 102
159.579.843%2.03 × 101−2.14 × 102
167.617.701%2.05 × 101−1.79 × 102
175.695.751%2.12 × 101−2.92 × 102
188.187.884%2.09 × 101−2.94 × 102
195.335.330%2.12 × 101−2.61 × 102
205.365.554%2.18 × 101−4.64 × 102
214.925.4511%2.13 × 101−3.11 × 102
224.845.3010%2.14 × 101−3.17 × 102
236.496.421%2.18 × 101−5.16 × 102
245.135.7813%2.19 × 101−5.11 × 102
254.414.451%2.13 × 101−2.54 × 102
267.148.1414%2.04 × 101−1.73 × 102
277.247.352%2.08 × 101−2.59 × 102
288.139.0211%2.03 × 101−1.84 × 102
294.926.0423%2.08 × 101−1.72 × 102
304.234.6410%2.19 × 101−4.34 × 102
316.717.5913%2.07 × 101−2.36 × 102
325.204.768%2.13 × 101−2.66 × 102
336.716.523%2.08 × 101−2.05 × 102
344.704.279%2.12 × 101−1.94 × 102
3511.2810.329%2.01 × 101−1.85 × 102
366.806.891%2.13 × 101−3.82 × 102
374.915.5213%2.14 × 101−3.20 × 102
384.885.298%2.11 × 101−2.35 × 102
395.035.5410%2.11 × 101−2.28 × 102
403.153.5412%2.20 × 101−4.06 × 102
417.677.492%2.13 × 101−3.94 × 102
426.607.179%2.08 × 101−2.42 × 102
439.319.785%2.02 × 101−1.89 × 102
443.764.7526%2.17 × 101−3.82 × 102
455.505.693%2.20 × 101−5.20 × 102
466.096.182%2.10 × 101−2.35 × 102
478.287.974%2.04 × 101−1.50 × 102
485.365.778%2.13 × 101−3.11 × 102
494.845.5815%2.16 × 101−3.89 × 102
5010.8110.364%1.99 × 101−1.39 × 102
514.644.875%2.11 × 101−1.89 × 102
525.726.005%2.13 × 101−3.38 × 102
535.015.122%2.15 × 101−3.42 × 102
544.234.6410%2.22 × 101−5.39 × 102
554.233.3022%2.17 × 101−3.11 × 102
568.929.385%2.05 × 101−2.52 × 102
575.656.7519%2.08 × 101−2.11 × 102
587.207.311%2.12 × 101−3.75 × 102
595.265.749%2.17 × 101−4.25 × 102
605.145.9816%2.09 × 101−2.03 × 102
618.247.558%2.09 × 101−2.99 × 102
626.676.660%2.13 × 101−3.69 × 102
633.654.3419%2.17 × 101−3.51 × 102
645.646.3913%2.15 × 101−4.12 × 102
658.227.558%2.11 × 101−3.36 × 102
6610.429.3310%2.03 × 101−2.09 × 102
677.778.155%2.04 × 101−1.49 × 102
684.714.299%2.17 × 101−3.62 × 102
697.547.550%2.05 × 101−1.49 × 102
706.426.511%2.06 × 101−1.40 × 102
715.475.244%2.15 × 101−3.33 × 102
724.906.0023%2.16 × 101−4.17 × 102
735.816.8318%2.05 × 101−1.30 × 102
745.486.1212%2.10 × 101−2.29 × 102
757.647.048%2.08 × 101−2.21 × 102
767.147.566%2.13 × 101−4.13 × 102
775.346.2216%2.10 × 101−2.56 × 102
784.915.4912%2.13 × 101−2.86 × 102
794.944.2813%2.16 × 101−3.16 × 102
808.377.757%2.19 × 101−6.04 × 102
819.469.193%2.03 × 101−1.75 × 102
827.106.725%2.20 × 101−5.74 × 102
837.516.4914%2.12 × 101−3.36 × 102
847.707.463%2.08 × 101−2.57 × 102
859.929.643%2.05 × 101−2.81 × 102
864.375.4625%2.10 × 101−2.01 × 102
879.599.741%2.04 × 101−2.38 × 102
884.063.6410%2.19 × 101−3.82 × 102
898.988.960%2.02 × 101−1.34 × 102
909.8810.112%2.01 × 101−1.76 × 102
917.847.524%2.04 × 101−1.43 × 102
926.476.978%2.19 × 101−5.53 × 102
938.158.778%2.05 × 101−2.18 × 102
947.117.9712%2.06 × 101−2.09 × 102
956.546.284%2.11 × 101−2.75 × 102
965.515.541%2.11 × 101−2.42 × 102
977.366.699%2.11 × 101−3.15 × 102
985.375.431%2.11 × 101−2.19 × 102
994.704.446%2.14 × 101−2.60 × 102
1004.774.555%2.16 × 101−3.45 × 102
1018.117.028%2.07 × 101−2.01 × 102
1027.387.025%2.18 × 101−5.38 × 102
1037.318.3414%2.09 × 101−3.32 × 102
1046.777.4911%2.10 × 101−3.14 × 102
1056.846.594%2.13 × 101−3.60 × 102
10610.019.456%2.02 × 101−1.84 × 102
10710.189.447%2.01 × 101−1.53 × 102
1087.407.968%2.03 × 101−1.18 × 102
1096.456.917%2.09 × 101−2.52 × 102
1106.005.646%2.17 × 101−4.27 × 102
1115.435.756%2.17 × 101−4.50 × 102
11210.5710.352%2.02 × 101−2.30 × 102
1137.336.975%2.15 × 101−4.43 × 102
1143.673.988%2.23 × 101−5.12 × 102
1156.116.041%2.12 × 101−3.05 × 102
1166.215.777%2.12 × 101−2.87 × 102
1177.067.151%2.18 × 101−5.34 × 102
1187.927.0811%2.19 × 101−5.77 × 102
1195.985.538%2.14 × 101−3.38 × 102
1207.967.674%2.11 × 101−3.39 × 102

References

  1. Debroy, T.; Wei, H.L.; Zuback, J.S.; Mukherjee, T.; Elmer, J.W.; Milewski, J.O.; Beese, A.M.; Wilson-Heid, A.; De, A.; Zhang, W. Additive manufacturing of metallic components—Process. structure and properties. Prog. Mater. Sci. 2018, 12, 112–224. [Google Scholar] [CrossRef]
  2. Wang, K.; Xie, G.Q.; Xiang, J.Y.; Li, T.; Peng, Y.; Wang, J.; Zhang, H.H. Materials selection of 3D printed polyamide-based composites at different strain rates: A case study of automobile front bumpers. J. Manuf. Process. 2022, 84, 1449–1462. [Google Scholar] [CrossRef]
  3. Yan, H.; Zhang, J.Z.P.L.; Yu, Z.S.; Li, C.G.; Xu, P.Q.; Lu, Y.L. Laser cladding of Co-based alloy/TiC/CaF2 self-lubricating composite coatings on copper for continuous casting mold. Surf. Coat. Technol. 2013, 232, 362–369. [Google Scholar] [CrossRef]
  4. Ponnusamy, P.; Rashid, R.A.R.; Masood, S.H.; Ruan, D.; Palanisamy, S. Mechanical Properties of SLM-Printed Aluminium Alloys: A Review. Materials 2020, 13, 4301. [Google Scholar] [CrossRef]
  5. Cottam, R.; Palanisamy, S.; Jarvis, T.; Cuiuri, D.; Leary, M.; Singh, M.; Rashid, R.A.R. Post-processing and machining of Ti6Al4V coupons fabricated using various metal additive manufacturing technologies. Compr. Mater. Process. 2024, 9, 132–147. [Google Scholar] [CrossRef]
  6. Gao, C.; Tang, H.; Zhang, S.; Ma, Z.; Bi, Y.; Rao, J.-H. Process Optimization for Up-Facing Surface Finish of AlSi10Mg Alloy Produced by Laser Powder Bed Fusion. Metals 2022, 12, 2053. [Google Scholar] [CrossRef]
  7. Xie, X.Y.; Ho, J.W.K.; Murphy, C.; Kaiser, G.; Xu, B.W.; Chen, T.Y. Testing and validating machine learning classifiers by metamorphic testing. J. Syst. Softw. 2011, 84, 544–558. [Google Scholar] [CrossRef]
  8. Fotovvati, B.; Chou, K. Build surface study of single-layer raster scanning in selective laser melting: Surface roughness prediction using deep learning. Manuf. Lett. 2022, 33, 701–711. [Google Scholar] [CrossRef]
  9. Li, Z.X.; Zhang, Z.Y.; Shi, J.C.; Wu, D.Z. Prediction of surface roughness in extrusion-based additive manufacturing with machine learning. Robot. Comput. Integr. Manuf. 2019, 57, 488–495. [Google Scholar] [CrossRef]
  10. Yang, D.H.; MA, L.; Huang, W.D. Component′s Surface Quality Predictions by Laser Rapid Forming Based on Artificial Neural Networks. Chin. J. Lasers 2011, 38, 83–88. [Google Scholar] [CrossRef]
  11. Deb, J.; Chowdhury, S.; Ali, N.M. An investigation of the ensemble machine learning techniques for predicting mechanical properties of printed parts in additive manufacturing. Decis. Anal. J. 2024, 12, 100492. [Google Scholar] [CrossRef]
  12. Chen, H.; Yaseer, A.; Zhang, Y. Top Surface Roughness Modeling for Robotic Wire Arc Additive Manufacturing. J. Manuf. Mater. Process. 2022, 6, 39. [Google Scholar] [CrossRef]
  13. Gogulamudi, B.; Bandlamudi, R.K.; Bhanavathu, B.; Guttula, V.S.K. A Prediction Model for Additive Manufacturing of AlSi10Mg Alloy. Trans. Indian Inst. Met. 2023, 76, 571–579. [Google Scholar] [CrossRef]
  14. Loreti, D.; Visani, G. Parallel approaches for a decision tree-based explainability algorithm. Future Gener. Comput. Syst. 2024, 158, 308–322. [Google Scholar] [CrossRef]
  15. Antoniadis, A.; Lambert-Lacroix, S.; Poggi, J.M. Random forests for global sensitivity analysis: A selective review. Reliab. Eng. Syst. Saf. 2020, 206, 107312. [Google Scholar] [CrossRef]
  16. Dorian, V.; Louis, G.; Elodie, C.; Louise, T.-M.; Sébastien, D. Machine Learning Based Fault Anticipation for 3D Printing. IFAC-PapersOnLine 2023, 56, 2927–2932. [Google Scholar] [CrossRef]
  17. Lu, Y.X.; Rai, R.W.; Nitin, N. Image-based assessment and machine learning-enabled prediction of printability of polysaccharides-based food ink for 3D printing. Food Res. Int. 2023, 173, 113384. [Google Scholar] [CrossRef]
  18. Huang, H.; Liu, J.H.; Liu, S.L.; Wu, T.Y.; Jin, P. A method for classifying tube structures based on shape descriptors and a random forest classifier. Measurement 2020, 158, 107705. [Google Scholar] [CrossRef]
  19. Huang, J.W.; Zhang, H.O.; Li, R.S.; Zhao, X.S.; Lin, H.; Zhai, W.Z.; Wang, G.L.; Fu, Y.H. Hybrid in-situ hot rolling and wire arc additive manufacturing of Al-Si alloy: Microstructure. mechanical properties and strengthening mechanism. J. Manuf. Process. 2024, 127, 328–339. [Google Scholar] [CrossRef]
  20. Bisht, M.S.; Gaur, V.; Singh, I.V. On mechanical properties of L-PBF Al–Si alloy: Role of heat treatment-induced evolution of silicon morphology. Mater. Sci. Eng. A 2022, 858, 144157. [Google Scholar] [CrossRef]
  21. Olakanmi, E.O. Selective laser sintering/melting (SLS/L-PBF) of pure Al; Al–Mg, and Al–Si powders: Effect of processing conditions and powder properties. J. Mater. Process. Technol. 2013, 213, 1387–1405. [Google Scholar] [CrossRef]
  22. Pawlus, P.; Reizer, R.; Wieczorowski, M.; Krolczyk, G.M. Study of surface texture measurement errors. Measurement 2023, 210, 112568. [Google Scholar] [CrossRef]
  23. Podulka, P.; Macek, W.; Branco, R.; Kubit, A. Laser-textured cross-hatched surface topography analysis with evaluation of high-frequency measurement noise. Measurement 2024, 235, 114988. [Google Scholar] [CrossRef]
  24. Brudler, S.; Medvedev, A.E.; Pandelidi, C.; Piegert, S.; Illston, T.; Qian, M.; Brandt, M. Systematic investigation of performance and productivity in Laser Powder Bed Fusion of Ti6Al4V up to 300 µm layer thickness. J. Mater. Process. Technol. 2024, 330, 118450. [Google Scholar] [CrossRef]
  25. Wang, Y.H.; Hu, Q.; Zhang, J.H.; Liu, Y.J.; Sheng, Y.W.; Zhao, X.M. Influencing factors on the tensile properties of selective laser melting 3D printing AlSi10Mg. Powder Metall. Technol. 2022, 40, 152–158. [Google Scholar] [CrossRef]
  26. Gong, D.L.; Bian, H.K.; Pan, D.; Xu, S.H.; Yang, X.; Yang, H.P. Research advances in powder bed fusion additive manufacturing AlSi10Mg alloy. Chin. J. Nonferrous Met. 2024, 34, 1091–1112. [Google Scholar] [CrossRef]
  27. Leis, A.; Traunecker, D.; Weber, R.; Graf, T. Tuning the Hardness of Produced Parts by Adjusting the Cooling Rate during Laser-Based Powder Bed Fusion of AlSi10Mg by Adapting the Process Parameters. Metals 2022, 12, 2000. [Google Scholar] [CrossRef]
  28. Zhang, X.J.; Chu, D.M.; Zhao, X.Y.; Gao, C.Y.; Lu, L.X.; He, Y.; Bai, W.J. Machine learning-driven. Appl. Mater. Today 2024, 39, 102306. [Google Scholar] [CrossRef]
  29. Geng, S.Y.; Mei, L.; Cheng, B.Y.; Luo, Q.L.; Xiong, C.; Long, W.J. Revolutionizing 3D concrete printing: Leveraging RF model for precise printability and rheological prediction. J. Build. Eng. 2024, 88, 109127. [Google Scholar] [CrossRef]
  30. Zhang, W.H.; Ma, H.L.; Zhang, Q.; Fan, S.Q. Prediction of powder bed thickness by spatter detection from coaxial optical images in selective laser melting of 316L stainless steel. Mater. Des. 2022, 213, 110301. [Google Scholar] [CrossRef]
  31. Lacy, F.; Ruiz-Reyes, A.; Brescia, A. Machine learning for low signal-to-noise ratio detection. Pattern Recognit. Lett. 2024, 179, 115–122. [Google Scholar] [CrossRef]
Figure 1. The way the samples were placed during printing.
Figure 1. The way the samples were placed during printing.
Metals 14 01148 g001
Figure 2. Development procedure for the RF regression model.
Figure 2. Development procedure for the RF regression model.
Metals 14 01148 g002
Figure 3. Decision tree prediction process.
Figure 3. Decision tree prediction process.
Metals 14 01148 g003
Figure 4. Surface profiles of the experimental samples: (a,b) show the surface profile of sample 1; (c,d) show the surface profile of sample 2.
Figure 4. Surface profiles of the experimental samples: (a,b) show the surface profile of sample 1; (c,d) show the surface profile of sample 2.
Metals 14 01148 g004
Figure 5. Surface roughness histogram.
Figure 5. Surface roughness histogram.
Metals 14 01148 g005
Figure 6. Scatter plot for surface roughness–laser energy density.
Figure 6. Scatter plot for surface roughness–laser energy density.
Metals 14 01148 g006
Figure 7. Comparison of the surface roughness prediction results given by one-dimensional Random Forest Regression: (a,b) are the predicted surface roughness values and the real observed values in the training set; (c,d) are the predicted surface roughness values and the real observed values in the test set.
Figure 7. Comparison of the surface roughness prediction results given by one-dimensional Random Forest Regression: (a,b) are the predicted surface roughness values and the real observed values in the training set; (c,d) are the predicted surface roughness values and the real observed values in the test set.
Metals 14 01148 g007aMetals 14 01148 g007bMetals 14 01148 g007c
Figure 8. Regression equation of the surface roughness using the 1D RF model.
Figure 8. Regression equation of the surface roughness using the 1D RF model.
Metals 14 01148 g008
Figure 9. Comparison of surface roughness prediction results given by 2D RF: (a,b) are the predicted surface roughness values for the training set; (c,d) are the predicted surface roughness values for the test set.
Figure 9. Comparison of surface roughness prediction results given by 2D RF: (a,b) are the predicted surface roughness values for the training set; (c,d) are the predicted surface roughness values for the test set.
Metals 14 01148 g009aMetals 14 01148 g009b
Figure 10. Regression equation of the surface roughness using the RF 2D model.
Figure 10. Regression equation of the surface roughness using the RF 2D model.
Metals 14 01148 g010
Table 1. Printing parameters were used in this study.
Table 1. Printing parameters were used in this study.
ParameterBasic ParameterRange of Variable
Laser power340 W270~420 W
Laser scanning speed1100 mm/s800~1400 mm/s
Hatch distance0.15 µm0.08~0.16 µm
Table 2. Process parameters of the samples (part).
Table 2. Process parameters of the samples (part).
Sample NumberLaser Power (W)Laser Scanning Speed (mm/s)Hatch Distance (µm)Laser Energy Density (J/mm3)
134011000.1568.7
232512510.08108.2
332112810.1555.7
434810910.1475.9
534311760.08121.5
637513300.08117.5
73999170.11131.9
83989120.1690.9
93178100.13100.3
102928820.1292
114119380.09162.3
1233012390.1274
1335410500.1574.9
143609270.12107.9
153308870.08155
1636611720.1665.1
1727011280.1266.5
182888690.1292.1
1934310470.1291
2032813820.179.1
Table 3. The best printing parameters and corresponding surface roughness (see Appendix Table A1 for the complete table).
Table 3. The best printing parameters and corresponding surface roughness (see Appendix Table A1 for the complete table).
Sample NumberSurface Roughness (µm)Laser Power (W)Laser Scanning Speed (mm/s)Hatch Distance (µm)Laser Energy Density (J/mm3)
143.263609270.12107.9
263.9539510730.1394.4
443.154148610.12133.6
483.7641410790.09142.1
1162.984159170.1150.9
Table 4. Random Forest Regression (1D) prediction results (part).
Table 4. Random Forest Regression (1D) prediction results (part).
Sample NumberSurface Roughness (µm)Predicted Value (µm)Error (%)Descriptor
15.726.6516%3.45 × 10−3
26.957.8613%4.15 × 10−3
38.408.153%4.31 × 10−3
46.006.356%3.28 × 10−3
56.426.897%3.59 × 10−3
65.446.5120%3.38 × 10−3
74.174.252%2.09 × 10−3
84.784.2511%2.08 × 10−3
95.135.7813%2.96 × 10−3
106.627.239%3.79 × 10−3
114.144.111%2.01 × 10−3
126.637.6215%4.01 × 10−3
135.195.9815%3.07 × 10−3
143.265.2060%2.63 × 10−3
155.325.8410%3.00 × 10−3
167.016.1712%3.18 × 10−3
179.579.873%5.30 × 10−3
187.617.314%3.83 × 10−3
195.696.3011%3.25 × 10−3
208.188.281%4.38 × 10−3
Table 5. Random Forest Regression (2D) prediction results (part).
Table 5. Random Forest Regression (2D) prediction results (part).
Sample NumberSurface Roughness (µm)Predicted Value (µm)Error (%)Descriptor 1Descriptor 2
15.726.259%2.14 × 101−3.76 × 102
26.957.8012%2.06 × 101−2.09 × 102
38.407.886%2.12 × 101−3.92 × 102
46.005.911%2.14 × 101−3.66 × 102
56.426.735%2.08 × 101−2.18 × 102
65.446.2916%2.12 × 101−3.05 × 102
74.173.819%2.17 × 101−3.48 × 102
84.784.535%2.21 × 101−4.99 × 102
95.135.609%2.10 × 101−2.10 × 102
106.627.508%2.06 × 101−1.86 × 102
114.143.828%2.17 × 101−3.23 × 102
126.637.178%2.11 × 101−3.19 × 102
135.195.6020%2.16 × 101−3.92 × 102
147.016.576%2.18 × 101−5.05 × 102
159.569.843%2.03 × 101−2.14 × 102
167.607.701%2.05 × 101−1.79 × 102
175.695.751%2.12 × 101−2.92 × 102
188.177.884%2.09 × 101−2.94 × 102
195.335.330%2.12 × 101−2.61 × 102
205.3595.554%2.18 × 101−4.64 × 102
Table 6. Comparison of evaluation parameters between the 1D model and 2D model.
Table 6. Comparison of evaluation parameters between the 1D model and 2D model.
Evaluation ParameterR2MSERMSEMAE
Argument (1D model)0.8650.3500.5920.582
Argument (2D model)0.9070.2550.5050.464
Table 7. Surface roughness results obtained in this study and other references [4,23].
Table 7. Surface roughness results obtained in this study and other references [4,23].
Reference StudyOur Study
Minimum surface roughness2.5 μm [6]
8.67 μm [13]
2.95 μm
Machine learning modelDeep learning [13]Random forest
Regression equationExcludedContained
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Shan, X.; Gao, C.; Rao, J.H.; Wu, M.; Yan, M.; Bi, Y. Experimental Study and Random Forest Machine Learning of Surface Roughness for a Typical Laser Powder Bed Fusion Al Alloy. Metals 2024, 14, 1148. https://doi.org/10.3390/met14101148

AMA Style

Shan X, Gao C, Rao JH, Wu M, Yan M, Bi Y. Experimental Study and Random Forest Machine Learning of Surface Roughness for a Typical Laser Powder Bed Fusion Al Alloy. Metals. 2024; 14(10):1148. https://doi.org/10.3390/met14101148

Chicago/Turabian Style

Shan, Xuepeng, Chaofeng Gao, Jeremy Heng Rao, Mujie Wu, Ming Yan, and Yunjie Bi. 2024. "Experimental Study and Random Forest Machine Learning of Surface Roughness for a Typical Laser Powder Bed Fusion Al Alloy" Metals 14, no. 10: 1148. https://doi.org/10.3390/met14101148

APA Style

Shan, X., Gao, C., Rao, J. H., Wu, M., Yan, M., & Bi, Y. (2024). Experimental Study and Random Forest Machine Learning of Surface Roughness for a Typical Laser Powder Bed Fusion Al Alloy. Metals, 14(10), 1148. https://doi.org/10.3390/met14101148

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop