1 Introduction

Laser powder bed fusion (LPBF), also known as selective laser melting or direct metal laser melting, is an additive manufacturing (AM) technology utilising a high power-density laser beam to selectively melt and fuse metallic powders together to build near-net-shape parts [1]. This technology has characteristics in providing a high degree of freedom for design and achieving complex geometries without additional cost, which are the common advantages of AM technologies over conventional manufacturing technologies. More importantly, the LPBF technology enables the fabrication of metallic components with near full density and high strength and stiffness. This makes it a very promising metal AM technology for producing functional components in industry [2,3,4,5,6].

Using the LPBF technology to produce a part involves a set of activities, where design is an important one [7]. In this activity, the variables related to material, structure, and process are optimised to improve part quality and to satisfy other lifecycle requirements [8, 9]. Among all optimised variables, process parameters are crucial factors that have an important effect on the quality of produced part [10]. In practice, LPBF part builds generally use certain sets of optimised process parameters empirically developed by the original equipment manufacturers of LPBF systems. Because there are infinite possibilities for part design, functional requirements, and lifecycle considerations, it is not possible to have complete sets of optimised process parameters. This means that using the recommended process parameters could produce parts that cannot meet quality requirements [11].

To provide practical process parameter optimisation methods, a lot of studies have been conducted within academia [12, 13]. Many of these studies focus on improving mechanical performance and a few of them consider surface quality. While mechanical properties are critical to part quality, surface quality can also be important in some applications, since it can influence the part accuracy, post-processing, and part functionality. As one example, in aerospace application, a certain surface roughness is required to avoid premature failure from surface-initiated cracking. As another example, in biomedical application, the surface topography with certain roughness can enhance bone-to-implant contact and provide strong bonding capability [14].

Optimisation of process parameters for improving surface quality requires an accurate and efficient prediction model and a robust optimisation method. So far, there have been a number of models for predicting the surface quality of an LPBF part. One of the most common models is an analytical model based on theoretical calculation [15]. In this model, surface roughness is estimated via layer thickness and surface inclination angle. A limitation of the model is that it only considers the staircase effect. Another representative model is an empirical model based on actual measurement [16]. This model was established using the measured roughness data of a set of inclined surfaces, based on which the roughness of a surface with a specific inclination angle is calculated via numerical interpolation. To take advantage of both the analytical and empirical strategies, a few hybrid models were presented in the literature [17,18,19]. The model in [17] predicts the surface roughness of 316L parts through layer thickness, surface inclination angle, and particle presence. This model is calibrated by the measured roughness data. It not only considers the staircase effect, but also the effect of partially bonded particles on a surface. The model in [18] estimates the surface roughness of Ti6Al4V parts using a linear function, which was established according to an experimental study of the average surface roughness of samples in different build orientations and with a constant layer thickness. The model in [19] predicts the surface roughness of AlSi10Mg parts via staircase effect and defects of the powder used. According to the experimental studies in [20,21,22,23,24], apart from staircase effect, the process parameters to build an LPBF part also have an important influence on the surface quality of the as-built part. However, the existing analytical, empirical, and hybrid models do not consider them in the analysis of surface inclination angle.

In addition to the models above, a category of recently popular models is those based on machine learning [25,26,27,28,29,30,31]. Akhil et al. [25] built five mappings from laser power, scanning speed, and hatch spacing to three roughness parameters (\(S_a\), \(S_q\), and \(S_t\)), respectively using linear regression, polynomial regression, support vector regression, Gaussian process regression, and artificial neural network. The five models were trained and tested using the surface images of 59 printed Ti6Al4V specimens and the measured roughness parameters of the specimens. The testing and comparison results suggest that the Gaussian process regression model provides the best prediction for all the three roughness parameters. Hertlein et al. [26] related four process parameters and five part quality indicators via a hybrid Bayesian network. The four parameters are layer thickness, laser power, scanning speed, and hatch spacing. The five indicators include density, hardness, top surface roughness, ultimate tensile strength in the build orientation, and ultimate tensile strength perpendicular to the build orientation. The network was trained, validated, and tested using the data collected or converted from 13 publications including physical 316L builds. The testing results show that the model has satisfying accuracy on predicting the hardness and ultimate tensile strength in the build orientation. The accuracy on predicting other indicators is unknown because of limited available data. Fotovvati and Chou [27] established a relationship between four process parameters, including layer thickness, laser power, scanning speed, and hatch spacing, and two roughness parameters (\(S_a\) and \(S_v\)) through an artificial neural network. The network was trained and tested using the data sets constructed from 25 Ti6Al4V samples, which were built under 25 combinations of the four process parameters, and was compared to a linear regression model in terms of mean square error and correlation coefficient. The comparison results suggest that the network outperforms the linear regression model at both aspects. Soler et al. [28] related two manufacturing parameters and seven blasting and electropolishing parameters and the surface roughness of finished parts via an artificial neural network. The network was trained, validated, and tested using 429 historical Ti6Al4V specimens. The model was used to determine the optimal parameters to improve the surface roughness during blasting and electropolishing. Zhang et al. [29] established a relationship between three process parameters, including laser power, scanning speed, and hatch spacing, and top surface roughness through a back propagation neural network. The network was trained and tested using the data obtained from 48 316L samples, which were built under 48 combinations of the three process parameters. La Fé-Perdomo et al. [30] predicted the roughness of the top surfaces of 316L parts using a multilayer perceptron and an adaptive neuro-fuzzy inference system. The input variables of each model include laser power, scanning speed, and hatch spacing. The two models were trained, tested, and compared using the data collected from three publications including physical 316L builds. The comparison results show that the latter model has better accuracy than the former. Maitra et al. [31] built six mappings from seven process parameters to surface roughness, respectively using Gaussian process regression, support vector regression, regression tree, ensemble of trees, neural network, and multiple linear regression. The seven parameters include layer thickness, laser power, scanning speed, hatch spacing, energy density, average particle size, and variance. The six models were trained, tested, and compared using the data collected from 27 publications including physical Ti6Al4V builds. The comparison results show that the Gaussian process regression and neural network models underperform other four models at the aspect of root mean square error. Compared to the analytical, empirical, and hybrid models, machine learning-based models take into account some key process parameters. However, the existing models are trained and tested using the roughness data of the surfaces with specific inclination angles (e.g., top surface, front surface, side surface). They may not be capable to provide accurate prediction results for a surface of an arbitrary part, because the inclination angle of the surface may be different from the inclination angles of the surfaces used for training.

Table 1 A comparison of existing methods to optimise process parameters for improving surface quality

To optimise the process parameters with an objective of improving surface quality, a variety of methods have been developed in the literature [32]. In [33], the influence of re-melting parameters for post-processing the surface quality of LPBF parts was investigated. A set of 316L samples with varying inclination angles were printed. Laser re-melting was performed on the samples to investigate surface roughness via optimisation of laser power, scanning speed, and hatch spacing based on statistical analysis within a design of experiments framework. In [34], a set of Ti6Al4V printing experiments were designed to investigate the variance of surface roughness with respect to powder size distribution, powder packing fraction, and process by-product generation. A rational design of experiments was adopted to optimise laser power, scanning speed, and contour offset to improve the quality of inclined surfaces. In [35], the effect of laser power, scanning speed, and hatch spacing on the porosity level, surface roughness, elastic modulus, and compressive strength of Ti6Al4V samples was investigated using response surface methodology. Analysis of variance was applied to optimise the three process parameters. In [36], the relationship between laser power, scanning speed, and hatch spacing and the surface roughness of Ti6Al4V parts was experimentally studied. Response surface methodology was adopted to obtain the optimal process parameters for minimising the roughness of top and vertical side surfaces. In [37], the effect of laser power, scanning speed, overlap rate, and hatch spacing on the front surface roughness and side surface roughness of AlSi10Mg parts was investigated. The influence of laser power was explored empirically. Analysis of variance was adopted to determine the best level of laser power. Regression analysis was carried out to establish a prediction model for optimising scanning speed, overlap rate, and hatch spacing to obtain minimum surface roughness. In [38], response surface methodology was applied to investigate the effect of laser power, scanning speed, and hatch spacing on the relative density and top surface roughness of 316L parts. The quadratic response surface models for relative density and top surface roughness were established based on analysis of variance. A multi-objective collaborative optimisation was performed to optimise the investigated process parameters with respect to relative density and top surface roughness. In [39], a data-driven framework was built to optimise layer thickness, laser power, and scanning speed for improving the surface quality and dimensional accuracy of 316L parts. A Gaussian process regression model was trained to predict top surface roughness and dimensional accuracy. Based on this model, a whale optimisation algorithm was applied to search the optimal combination of the three process parameters. In [40], the effect of laser power and scanning speed on the surface hardness, top surface roughness, and side surface roughness of Ti6Al4V specimens was experimentally studied. Response surface methodology was applied to optimise the two process parameters for improving surface quality. In [41], central composite design was applied to systematically investigate the influence of layer thickness, laser power, scanning speed, and hatch spacing on the relative density and surface roughness of Inconel 718 components. The prediction models for relative density and side surface roughness were built based on response surface methodology and analysis of variance. Based on these models, three multi-objective optimisation methods were developed to simultaneously optimise relative density and surface roughness. In [42], an optimisation framework based on machine learning was established to relate layer thickness, laser power, scanning speed, and hatch spacing and the density ratio and surface roughness of Ti6Al4V components. A deep neural network was trained and applied to recommend the optimal process parameters for maximisation of density ratio and minimisation of top surface roughness. Based on these descriptions, a qualitative comparison of the existing methods is shown in Table 1. As can be seen from the table, the existing methods differ in a number of aspects, which mainly include the applied techniques, experiment material, number of data points, optimised process parameters, and considered responses. There is no doubt that each of these methods can work well in its specific context. It is difficult to conclude that one method is better than others. However, the methods may not be capable to generate satisfying optimisation results for an arbitrary component, since a component may contain a number of surfaces that have different inclination angles, while the methods were built on a few special surfaces (e.g., top surface, front surface, side surface). In addition, some applications may require simultaneous improvement of the quality of multiple critical surfaces of a part, but the methods do not take this requirement into account.

In this paper, an approach for optimising process parameters to simultaneously improve the quality of multiple critical surfaces of an arbitrary LPBF part is proposed. This method is based on an idea of transforming an infinite solution space into a finite one and selecting the optimal solution from the finite solution space. The transformation and selection are carried out using Taguchi optimisation [43] and a three-way technique for order of preference by similarity to ideal solution (TOPSIS) [44]. Taguchi method is a statistical methodology for finding the minimum number of experiments to be conducted within the permissible limit of factors and levels. In this method, a modified or standard design of experiments is adopted to identify a certain number of parametric combinations of the control factors for improving the quality of manufactured products. The results generated by the Taguchi method may not be optimal, but there is no doubt that product quality can be improved when these results are implemented. The three-way TOPSIS was developed on the basis of TOPSIS [45] and the three-way decision model [46]. TOPSIS is a multi-attribute decision-making (MADM) method that ranks the alternatives according to their geometric distances from the best and worst solutions. It has been widely used in the field of AM because of its simplicity and efficiency [47]. The three-way decision model is a granular computing technique for MADM. It is more flexible and advantageous than traditional MADM methods because it can effectively avoid premature classification of the alternatives at the edge of acceptance and rejection. This feature makes the model very suitable for the MADM problems in metal AM where replacement of inappropriate decisions is costly [48].

The remainder of the paper is organised as follows: Sect. 2 describes the details of the proposed approach. A case study is presented to demonstrate the approach in Sect. 3. Section 4 ends the paper with a conclusion.

2 The proposed approach

In this section, the proposed approach for optimising process parameters to improve the surface quality of an LPBF part is described in detail. A general flow of this approach is depicted in Fig. 1. The main process of the approach consists of two stages: optimisation, build, and measurement (OBM) and MADM. In the first stage, a small number of alternative combinations of the process parameters to be optimised for the part and the quality indicator values of a certain number of critical surfaces under each alternative combination are obtained via Taguchi optimisation and actual build and measurement. In the second stage, the optimal combination of process parameters is selected from the obtained alternatives via MADM based on three-way TOPSIS. The details of the two stages are explained below.

Fig. 1
figure 1

A general flow of the proposed approach

2.1 Optimisation, build, and measurement

There are three steps in this stage. The first step is to generate a small number of alternative combinations of the process parameters to be optimised for an arbitrary LPBF part. According to the existing experimental studies [20,21,22,23,24], a number of process parameters, mainly including layer thickness, laser power, scanning speed, hatch spacing, point distance, and exposure time, have influence on surface quality. The process parameters to be optimised can be determined based on this. In general, each adjustable process parameter for an LPBF system has a specific range recommended by the original equipment manufacturers of the system. Even so, it is still difficult to find a combination of process parameters that will achieve the best surface quality, as there are still infinite possible combinations of process parameters in this case. To deal with this difficulty, the Taguchi method was introduced to generate a small number of alternative combinations of process parameters [43].

According to the Taguchi method, the level values of each process parameter to be optimised are listed based on the recommended range of this parameter and practical experience. Then, a surface quality indicator is selected from a set of parameters (e.g., \(R_a\), \(S_a\), \(S_q\), and \(S_t\)) defined in the international standards ISO 21920-2:2021 and ISO 25178-2:2021. Design of experiments analysis based on the selected surface quality indicator and a specific orthogonal array is carried out to generate a small number of (let m denote the number) alternative combinations of process parameters. The reason for adopting design of experiments is that it can produce a reduced variance for the experiment process to obtain the best surface quality under the optimal settings of process parameters.

The second step is to conduct an actual build experiment using an LPBF system and an LPBF material. In this experiment, the three-dimensional model of the LPBF part is input to the LPBF system to build m parts under the generated m alternative combinations of process parameters. It is worth noting that apart from the process parameters to be optimised, all other conditions to build the m parts are the same. After the experiment, m as-built parts are obtained.

The third step is to measure the selected quality indicator of specific critical surfaces of each as-built part. The critical surfaces (let n denote their number) are generally identified on the basis of actual functional requirements. Surface quality inspection mainly includes the measurement of profile and areal topographies. Profile topography measurement is generally conducted using a contact stylus. Instruments for areal topography measurement are more diverse, which mainly include focus variation microscopy, conoscopic holography, atomic force microscopy, elastomeric sensor, confocal microscopy, and coherence scanning interferometry [49].

2.2 Multi-attribute decision-making

An \(m \times n\) data table consisting of m rows and n columns of the measurement data of the selected surface quality indicator is obtained after the first stage. The purpose is to select a combination of process parameters from the m alternatives that can simultaneously optimise the quality of the n critical surfaces. It is obvious that the infinite process parameter optimisation problem is transformed into a finite multi-objective optimisation problem, i.e., an MADM problem. So far, there have been many methods available for solving an MADM problem in the AM domain [47]. This stage adopts a three-way TOPSIS method [44].

Let \(C_1, C_2,..., C_m\) be the m alternative combinations of process parameters, \(S_1, S_2,..., S_n\) be the n critical surfaces, \(a_{i,j}\) (\(i = 1, 2,..., m; j = 1, 2,..., n\)) be the value of the quality indicator of \(S_j\) under \(C_i\), \({\varvec{A}}\) = \([a_{i,j}]_{m \times n}\) be a decision matrix for the process parameter optimisation problem, and \(w_j\) be the weight of \(S_j\) such that \(0 \le w_j \le 1\) and \(\Sigma _{j=1}^n w_j = 1\). Using the three-way TOPSIS method, the optimal combination of process parameters can be determined via the following steps:

  1. (1)

    Normalise the decision matrix. Normalisation of the values of \(a_{i,j}\) is required since they are of incongruous dimensions. This can be carried out using the following ratio model:

    $$\begin{aligned} b_{i,j} = \frac{a_{i,j}}{\sqrt{\sum \nolimits _{i=1}^{m}a_{i,j}^2}} \end{aligned}$$
    (1)

    Through the normalisation, a normalised decision matrix is obtained as \({\varvec{B}}\) = \([b_{i,j}]_{m \times n}\).

  2. (2)

    Calculate a weighted normalised decision matrix. Based on the normalised decision matrix and the weights of critical surfaces, a weighted normalised decision matrix is established as \({\varvec{X}} = [X_{i,j}]_{m \times n}\), where \(X_{i,j}\) is calculated using the following equation:

    $$\begin{aligned} X_{i,j} = w_jb_{i,j} \end{aligned}$$
    (2)
  3. (3)

    Determine the best, mean, and worst combinations. Based on the weighted normalised decision matrix, the best, mean, and worst combinations are respectively determined as follows:

    $$\begin{aligned} \mathbb {B}= & {} (Y_{\mathbb {B},1}, Y_{\mathbb {B},2},..., Y_{\mathbb {B},n}) \nonumber \\= & {} \big (\big \langle \max \nolimits _{i=1}^{m}\big \{X_{i,j} \mid j \in J_+\big \} \big \rangle , \nonumber \\{} & {} \big \langle \min \nolimits _{i=1}^{m}\big \{X_{i,j} \mid j \in J_-\big \} \big \rangle \big )\end{aligned}$$
    (3)
    $$\begin{aligned} \mathbb {M}= & {} (Y_{\mathbb {M},1}, Y_{\mathbb {M},2},..., Y_{\mathbb {M},n})\\= & {} \big (\textrm{avg}_{i=1}^{m}\big \{X_{i,1}\big \}, \textrm{avg}_{i=1}^{m}\big \{X_{i,2}\big \},..., \textrm{avg}_{i=1}^{m}\big \{X_{i,n}\big \}\big )\nonumber \end{aligned}$$
    (4)
    $$\begin{aligned} \mathbb {W}= & {} (Y_{\mathbb {W},1}, Y_{\mathbb {W},2},..., Y_{\mathbb {W},n}) \nonumber \\= & {} \big (\big \langle \min \nolimits _{i=1}^{m}\big \{X_{i,j} \mid j \in J_+\big \} \big \rangle , \nonumber \\{} & {} \big \langle \max \nolimits _{i=1}^{m}\big \{X_{i,j} \mid j \in J_-\big \} \big \rangle \big ) \end{aligned}$$
    (5)

    where \(J_+\) is a set of the subscripts of positive attributes (attributes that have a positive impact on the decision-making result, i.e., the larger their values, the more favourable the decision-making result), \(J_-\) is a set of the subscripts of negative attributes (attributes that have a negative impact on the decision-making result, i.e., the smaller their values, the more favourable the decision-making result), and \(\textrm{avg}\) is the averaging function.

  4. (4)

    Calculate the distances from each alternative combination to the best, mean, and worst combinations. According to the Euclidean distance formula, the Euclidean distances between \(C_i\) and \(\mathbb {B}\), between \(C_i\) and \(\mathbb {M}\), and between \(C_i\) and \(\mathbb {W}\) are respectively calculated using the following equations:

    $$\begin{aligned} d(C_i, \mathbb {B})= & {} \sqrt{\sum \nolimits _{j=1}^{n}(X_{i,j} - Y_{\mathbb {B},j})^2}\end{aligned}$$
    (6)
    $$\begin{aligned} d(C_i, \mathbb {M})= & {} \sqrt{\sum \nolimits _{j=1}^{n}(X_{i,j} - Y_{\mathbb {M},j})^2}\end{aligned}$$
    (7)
    $$\begin{aligned} d(C_i, \mathbb {W})= & {} \sqrt{\sum \nolimits _{j=1}^{n}(X_{i,j} - Y_{\mathbb {W},j})^2} \end{aligned}$$
    (8)
  5. (5)

    Divide the alternative combinations into two segments. For each alternative combination \(C_i\), if the number of \(X_{i,j}\) such that \(X_{i,j} \ge Y_{\mathbb {M},j}\) (when the quality indicator of \(S_j\) is a positive attribute) and \(X_{i,j} \le Y_{\mathbb {M},j}\) (when the quality indicator of \(S_j\) is a negative attribute) is greater than n/2, then \(C_i\) is classified to a segment \(\mathbb {B}-\mathbb {M}\); otherwise, \(C_i\) is classified to a segment \(\mathbb {M}-\mathbb {W}\). It is obvious that the alternative combinations in \(\mathbb {B}-\mathbb {M}\) are superior to the alternative combinations in \(\mathbb {M}-\mathbb {W}\).

  6. (6)

    Calculate the similarity to the worst condition for each alternative combination. If \(C_i\) is in \(\mathbb {B}-\mathbb {M}\), then the similarity to the worst condition for it is calculated via

    $$\begin{aligned} s_i = \frac{d(C_i, \mathbb {M})}{d(C_i, \mathbb {M}) + d(C_i, \mathbb {B})} \end{aligned}$$
    (9)

    If \(C_i\) is in \(\mathbb {M}-\mathbb {W}\), then the similarity to the worst condition for it is calculated via

    $$\begin{aligned} s_i = \frac{d(C_i, \mathbb {W})}{d(C_i, \mathbb {W}) + d(C_i, \mathbb {M})} \end{aligned}$$
    (10)
  7. (7)

    Rank the alternative combinations in each segment. The alternative combinations in \(\mathbb {B}-\mathbb {M}\) are ranked according to their similarities to the worst condition: The larger the similarity of an alternative combination, the higher its ranking. The alternative combinations in \(\mathbb {M}-\mathbb {W}\) are ranked by the same rule.

  8. (8)

    Obtain a ranking of all alternative combinations. According to the rule that the alternative combinations in \(\mathbb {B}-\mathbb {M}\) are superior to the alternative combinations in \(\mathbb {M}-\mathbb {W}\), a ranking of all alternative combinations is obtained via combining the ranking results for the two segments.

  9. (9)

    Determine the optimal combination. According to the obtained ranking, the optimal combination of process parameters is determined.

Fig. 2
figure 2

A sketch of an LPBF part

Table 2 Level (L) values of the process parameters to be optimised

3 Case study

In this section, a case study extended from [43] is presented to demonstrate the proposed approach. This case study aims to optimise five contour process parameters, including layer thickness, laser power, hatch spacing, point distance, and exposure time, to improve the surface quality of an LPBF part. A sketch of this part is given in Fig. 2. The part will be built using Renishaw AM400 and 316L. According to the proposed approach, the optimisation can be performed below.

According to the ranges of the five process parameters to be optimised recommended by the Renishaw AM400 system and practical experience, the level values of the five process parameters were listed and are shown in Table 2. Then, the roughness parameter \(S_a\) was selected to quantify the quality of surfaces and design of experiments analysis based on this parameter, and the orthogonal array of L25 was performed using Minitab 19. The results of this analysis are listed in Table 3, where LT stands for layer thickness, LP stands for laser power, HS stands for hatch spacing, PD stands for point distance, and ET stands for exposure time. Using Renishaw AM400 and 316L stainless steel powder supplied by Renishaw, 25 hexagon parts were built under the generated 25 alternative combinations of process parameters in Table 3. A picture of the 25 as-built parts is given in Fig. 3. The critical surfaces of each part were identified as the top, side, upfacing, and downfacing surfaces. To capture the areal topography of the critical surfaces of each part, Alicona G5 infinite focus variation measurement system was applied. The configurations were a magnification lens of 10\(\times \), an illumination type of ring light, a lateral resolution of 2 \(\mathrm {\mu m}\), a vertical resolution of 1 \(\mathrm {\mu m}\), a sampling distance of 0.8780 \(\mathrm {\mu m}\) (x and y directions), and a measurement size of 8 mm \(\times \) 8 mm (stitched). For example, the areal topography of the four critical surfaces of the first as-built part is shown in Figs. 4, 5, 6, and 7, respectively. DigitalSurf MountainMaps was adopted to analyse the surface topographical data. Only levelling was applied, and no other filtration operations were performed to avoid losing surface information. The analysed data was used to generate the \(S_a\) values of the four critical surfaces of the 25 as-built parts. The results are also listed in Table 3, where TS stands for top surface, SS stands for side surface, US stands for upfacing surface, and DS stands for downfacing surface.

Table 3 Results of design of experiments analysis and actual measurements
Fig. 3
figure 3

A picture of the 25 as-built LPBF parts

Now, the infinite process parameter optimisation problem is transformed into an MADM problem, which aims to select a combination of process parameters that can simultaneously minimise the \(S_a\) values of the four critical surfaces from the 25 alternatives. Let \(C_1, C_2,..., C_{25}\) be the 25 alternative combinations of process parameters, \(S_1\), \(S_2\), \(S_3\), and \(S_4\) be the four critical surfaces, \(a_{i,j}\) (\(i = 1, 2,..., 25; j = 1, 2, 3, 4\)) be the \(S_a\) value of \(S_j\) under \(C_i\), \({\varvec{A}} = [a_{i,j}]_{25 \times 4}\) be a decision matrix for the process parameter optimisation problem whose elements are listed in Table 3, and \(w_j\) be the weight of \(S_j\) such that \(0 \le w_j \le 1\) and \(\Sigma _{j=1}^n w_j = 1\). Assume \([w_1, w_2, w_3, w_4] = [0.2, 0.2, 0.3, 0.3]\). Then, the optimal combination of process parameters is determined through the following steps:

  1. (1)

    Normalise the decision matrix. According to the ratio model in Eq. (1), the decision matrix \({\varvec{A}}\) is normalised and a normalised decision matrix is obtained as \({\varvec{B}} = [b_{i,j}]_{25 \times 4}\), where the values of \(b_{i,j}\) are listed in Table 4.

  2. (2)

    Calculate a weighted normalised decision matrix. According to the normalised decision matrix, the given weights, and Eq. (2), a weighted normalised decision matrix is established as \({\varvec{X}} = [X_{i,j}]_{25 \times 4}\), where the values of \(X_{i,j}\) are also listed in Table 4.

  3. (3)

    Determine the best, mean, and worst combinations. Based on the weighted normalised decision matrix, the best, mean, and worst combinations are respectively determined as \(\mathbb {B} = (0.0087, 0.0190, 0.0111, 0.0339)\), \(\mathbb {M} = (0.0314, 0.0372, 0.0484, 0.0529)\), and \(\mathbb {W} = (0.1035, 0.0705, 0.1342, 0.1296)\).

  4. (4)

    Calculate the distances from each alternative combination to the best, mean, and worst combinations. According to Eqs. (6), (7), and (8), the Euclidean distances between \(C_i\) and \(\mathbb {B}\), between \(C_i\) and \(\mathbb {M}\), and between \(C_i\) and \(\mathbb {W}\) are respectively calculated and listed in Table 5.

  5. (5)

    Divide the alternative combinations into two segments. According to the classification rules, the 25 alternative combinations are divided into two segments \(\mathbb {B}-\mathbb {M} = \{C_2, C_3, C_4, C_8, C_9, C_{10}, C_{13}, C_{14}, C_{15},\! C_{17}, C_{18},\! C_{19},\)\( C_{20}, C_{22}, C_{23}, C_{24}, C_{25}\}\) and \(\mathbb {M}-\mathbb {W} =\! \{C_1, C_5, C_6, C_7,\)\( C_{11}, C_{12}, C_{16}, C_{21}\}\).

  6. (6)

    Calculate the similarity to the worst condition for each alternative combination. According to Eqs. (9) or (10), the similarity to the worst condition for each alternative combination is respectively calculated and also listed in Table 5.

  7. (7)

    Rank the alternative combinations in each segment. According to the ranking rule, the alternative combinations in \(\mathbb {B}-\mathbb {M}\) and \(\mathbb {M}-\mathbb {W}\) are ranked as \(C_{18} \succ C_{19} \succ C_{25} \succ C_{15} \succ C_{24} \succ C_{10} \succ C_{17} \succ C_8 \succ C_3 \succ C_9 \succ C_{22} \succ C_{14} \succ C_4 \succ C_{23} \succ C_{20} \succ C_2 \succ C_{13}\) and \(C_7 \succ C_{12} \succ C_5 \succ C_{16} \succ C_1 \succ C_6 \succ C_{11} \succ C_{21}\), respectively.

  8. (8)

    Obtain a ranking of all alternative combinations. Through combining the two rankings, a ranking of all alternative combinations is obtained as \(C_{18} \succ C_{19} \succ C_{25} \succ C_{15} \succ C_{24} \succ C_{10} \succ C_{17} \succ C_8 \succ C_3 \succ C_9 \succ C_{22} \succ C_{14} \succ C_4 \succ C_{23} \succ C_{20} \succ C_2 \succ C_{13} \succ C_7 \succ C_{12} \succ C_5 \succ C_{16} \succ C_1 \succ C_6 \succ C_{11} \succ C_{21}\).

  9. (9)

    Determine the optimal combination. According to the obtained ranking, the optimal combination of process parameters is determined as \(C_{18}\), which corresponds to a layer thickness of 60 \(\mathrm {\mu m}\), a laser power of 175 W, a hatch spacing of 75 \(\mathrm {\mu m}\), a point distance of 20 \(\mathrm {\mu m}\), and an exposure time of 160 \(\mathrm {\mu s}\).

Fig. 4
figure 4

Areal topography of the top surface of the first as-built part

Fig. 5
figure 5

Areal topography of the side surface of the first as-built part

Fig. 6
figure 6

Areal topography of the upfacing surface of the first as-built part

Fig. 7
figure 7

Areal topography of the downfacing surface of the first as-built part

Table 4 Elements of the normalised decision matrix and weighted normalised decision matrix
Table 5 Distances, segments, and similarities

4 Conclusion

In this paper, an approach for optimising process parameters to improve the surface quality of an LPBF part is presented. The main process of this approach consists of an OBM stage and an MADM stage. In the OBM stage, design of experiments analysis, build experiments, and measurement experiments are successively conducted to obtain a certain number of alternative combinations of the process parameters to be optimised for an LPBF part and quality indicator values of critical surfaces of the part under each alternative combination. In the MADM stage, a three-way TOPSIS is adopted to select the optimal combination of process parameters from the obtained alternatives. The paper also introduces a case study to demonstrate the presented approach.

A main feature of the presented approach is that it requires a small amount of experimental data and considers the simultaneous improvement of the quality of multiple critical surfaces of an arbitrary part. As described in the introduction, many existing approaches are based on machine learning. They generally need a large amount of experimental data to achieve satisfying results. Compared to these approaches, the presented approach only requires the experimental data under a small number of alternative combinations of process parameters. In addition, the existing approaches may not be capable to generate satisfying results for an arbitrary part and do not consider the simultaneous improvement of the quality of multiple critical surfaces, while the presented approach is free of such limitations. Of course, the shortcoming of the presented approach is easy to imagine. That is, the quality of its optimal solution may be worse than that of the existing approaches based on machine learning. To this end, an approach based on machine learning is preferred when the experimental data is sufficient. Otherwise, the presented approach can be a candidate.

Future work will be devoted to extending the presented approach by adding optimisation of build orientation. The authors have conducted studies on characterising the surface topography of an LPBF part [50], analysing the status of build orientation optimisation [51], investigating the impact of build orientations on the resultant surface textures of an LPBF part [52], and optimising build orientation to reduce the surface roughness of an LPBF part [53, 54]. In the next step, a combination of these studies and the presented approach to simultaneously optimise build orientation and process parameters to improve the surface quality of an LPBF part will be considered. Further, it would be of necessity to include improvement of the mechanical properties of an LPBF part to the presented approach, as both surface quality and mechanical properties are critical to part performance.