1 Introduction

Additive manufacturing, also called rapid prototyping, has come to a position where different types of plastic and metallic materials are used with technological developments, which has led to the development of different production methods [1]. Additive manufacturing is used in the manufacture of parts used in the medical, automobile, and aerospace industries [2]. Selective laser melting (SLM) is an advanced engineering application in metal-based additive manufacturing and is a preferred technology among LPBF methods. In this technology, metal powder is locally melted with a locally focused laser beam. The SLM method stands out with its ability to produce parts with complex structures, good surface quality, and excellent mechanical properties [3]. In addition, the SLM method is also suitable for mass production without the need for molds and production equipment, as in casting technology. Studies have also been carried out to produce materials that are superior in terms of microstructural and mechanical properties using the LPBF method [4,5,6]. The powder content and morphology used in metal-based additive manufacturing are very important in terms of product quality. In the literature, it has been stated that the homogeneity of the powder size contributes to obtaining a homogeneous layer thickness when spreading the powder on the manufacturing platform, and the fluidity of the powder has a significant effect on the spread of the powders on the manufacturing platform [7]. In addition, various powder shapes (irregular, angular, spherical, porous, rod-like, etc.) are also formed in powder production. It was reported that only spherical-shaped powder particles can provide high fluidity due to the minimum contact area of irregular powder particles with other powder particles [8]. Many materials have been used in additive manufacturing methods, and successful results have been obtained with a small number of material types. AlSi10Mg alloy is one of the materials where successful results are obtained in the process of reaching the final product in metal-based additive manufacturing [9]. AlSi10Mg alloy is the preferred material in many sectors due to its high casting ability, thermal conductivity, high specific strength, good electrical conductivity, and lightness [10, 11].

AlSi10Mg alloy parts produced in LPBF systems exhibit better mechanical properties than those produced by the traditional method (casting) [12]. However, there are important problems in terms of product geometry in the production of AlSi10Mg alloy parts. These problems arise from size, shape, direction, and location deviations on the part. If these deviations are too large, the usability of the part will be reduced. Therefore, in order for the produced part to function, these deviations must be as small as possible or within an acceptable value range. Geometric tolerances are especially important in the production of parts that form mechanisms that work with each other. Because parts that are not produced within the desired tolerance range will cause negative effects such as vibration and friction, which will reduce the usage time of the system. In this case, additional operations are required to reach the desired tolerance values, and additional operations cause loss of time and additional costs [13]. In this context, the subject is very important, and in-depth research needs to be done.

In order to improve the dimensional quality of parts produced by additive manufacturing, the variables that affect the physical process and cause defects must be well known [14]. In the studies, it has been stated that scanning speed, laser power, layer thickness, hatching distance, and overlap ratio are important parameters that affect the surface quality and dimensional accuracy of the parts produced with laser-based technologies [15,16,17]. In additive manufacturing, since the interaction between the energy given to the system and the material causes shrinkage, microstructure changes, and residual stresses in the final product, deviations in the nominal geometry of the part are likely [18]. Changes in manufacturing parameters lead to changes in the cooling time and accompanying changes in the microstructure. This result affects the geometric accuracy due to the variability of the stresses in the parts. Researchers have conducted experimental and statistical studies to observe the impact of manufacturing parameters on dimensional accuracy. The effects of laser power, layer thickness, and scanning speed parameters on the relative density and Z direction shrinkage in the additive manufacturing of 316-L stainless steel material with the SLM method were investigated. It has been stated that the most effective parameter for the shrinkage rate is laser power, followed by scanning speed and layer thickness, respectively. It is emphasized that the size and shape accuracy of the produced parts in the Z direction can be improved by size compensation [19]. In another study, the effect of energy density on the dimensional deviation of 316-L stainless steel parts produced by the SLM method was investigated. As a result of the study, it was reported that dimensional deviation (height, diameter, and cylindricity) was greater at high-energy densities [20]. In another study, a theoretical model was proposed to estimate the accuracy obtained in horizontal measurements using the SLM method. It has been stated that the deviation in horizontal dimensions is the shrinkage that occurs during solidification due to the scanning mode and scanning range. To verify the model, parts were produced with Ti6Al4V material, and the created model was compared with experimental results. It has been reported that the model is in agreement with the experimental results and that thin-walled parts can be produced with a deviation of less than 20 µm using this model [21]. In another study, the effect of different scanning strategies on the dimensional accuracy of the internal structure in the production of Ti6Al4V powder material by the SLM method was examined. The dimensional accuracy of the internal structure gave better results in samples produced in the direction of scanning than in samples produced perpendicular to the scanning direction. Finite element analysis was used to verify this result, and it was said that the measurement accuracy increased with the uniform temperature distribution in the scanning direction. It was determined that the best results were obtained in the samples produced with the interlayer scanning angle change strategy [22]. In an experimental study, the dimensional accuracy and tolerance values of parts produced with three different additive manufacturing methods (LPBF, EBM, and LMD) were compared. It has been stated that different manufacturing methods may result in different dimensional accuracy at the same manufacturing parameters. Additionally, it was concluded that manufacturing parameters have an impact on dimensional accuracy and surface quality [18]. In another experimental study, the effects of manufacturing platform layout, temperatures, and part geometries on dimensional change and residual stresses of parts produced with SLM were investigated. Part production was made in different geometries using Ti6Al4V powder material at fixed manufacturing parameters. It has been determined that the most effective parameters for residual stresses and dimensional changes are sudden cross-section changes, rapid cooling, and part height. It has been determined that the problems occurring in the parts can be reduced by 70% with additional coolants [23]. In another study, the effects of manufacturing parameters on part quality in additive manufacturing of AlSi10Mg alloy using the SLM method were investigated. It has been observed that while dimensional tolerances vary between large values such as 0.15–0.195 mm, the desired tolerance values can be obtained with higher hatching distances and scanning speeds [24]. In a study on additive manufacturing of Inconel 718 superalloy, the effect of layer thicknesses on dimensional accuracy was investigated. It has been stated that higher dimensional accuracy and density are achieved with lower layer thickness [15]. In another experimental study, the reason for the low accuracy in the Z direction in the additive manufacturing process was investigated. As a result of the study, it was concluded that the pressure loads applied to the layer stack may cause the layers to slide downwards. It has been reported that higher accuracy is achieved with appropriate-sized powder (23 μm) [25]. In another study, the effect of production parameters on geometric accuracy (flatness, circularity, cylindricity, and thickness) in parts produced by the FDM (Fused Deposition Modeling) method using ABS material was examined. As a result of the study, it was said that the filling ratio had a significant effect on geometric integrity [26]. Variable approaches have been used in tolerance analysis applied to non-traditional manufacturing processes such as metal-based additive manufacturing. In LPBF studies, dimensional accuracy is evaluated on final components [27, 28] or benchmark artifacts [29, 30]. The goal of experimental techniques based on geometric benchmark test artifacts, or GBTAs [31, 32], is to yield quantitative data on different geometric tolerance features. The properties of the GBTAs produced are used to characterize different dimensional and geometric tolerances [33,34,35]. The manufacturing parameter optimization and ranking that impact geometric tolerances come after the GBTA tests. The purpose of this information is to optimize these parameters for the real production process. Shahrain et al. varied 13 process parameters of a fused deposition modeling printer and, based on the experimental results for flatness and cylindricity, the parameters were ranked and optimized to meet the required geometric tolerance of subsequent prints [36]. In order to determine the features of the geometric tolerances needed for the additive manufacturing process, several researchers have reported their experimental findings utilizing geometric benchmark test artifacts (GBTA) [37, 38]. In multi-response systems, the parameters that give the optimum result may vary. In this regard, it becomes difficult to determine the optimum parameters. Multi-criteria decision-making (MCDM) approaches are used to solve such problems [39]. One of these approaches is the gray relational analysis (GRA) method. The GRA method has been widely used to solve multi-output problems with high accuracy. Research shows that the GRA method can be used to find the most ideal alternative quickly and easily [40,41,42].

When the studies are examined, it is seen that the effects of manufacturing parameters on product quality and dimensional accuracy in additive manufacturing processes are investigated. In order to determine the features of the geometric tolerances needed for the additive manufacturing process, several researchers have reported their experimental findings utilizing geometric benchmark test artifacts (GBTA). However, since geometric tolerances are one of the most important factors affecting the usability of metal-based parts, further studies should be carried out to determine the optimum parameters. In this study, in addition to the literature, we focused on the effect of laser power and scanning speed on geometric tolerances in the additive manufacturing of AlSi10Mg alloy and evaluated its performance properties together. In addition, manufacturing parameters are simultaneously optimized for performance features such as hole diameter change (DC), deviation from angularity (AD), deviation from perpendicularity (PD), deviation from flatness (FD), and deviation from parallelism (PAD). In this context, it is aimed at determining the manufacturing parameters that provide the best alternative using the gray relational analysis method.

2 Material and method

2.1 Production of parts and determination of tolerance values

The parts used in this study were produced according to the manufacturing parameters given in Table 1. Firstly, the ideal volumetric energy density for additive manufacturing of AlSi10Mg alloy was investigated in determining the fabrication parameters. In this context, preliminary studies on mechanical properties and surface roughness were carried out, and the ideal volumetric energy density for this alloy was determined to be 55.82 J/mm3 [43]. It has been stated in the literature that the main parameters affecting the dimensional accuracy of metal-based additive manufacturing methods are laser power, scanning speed, print orientation, and build direction [44]. Since the study focuses on volumetric energy density, laser power and scanning speed were used as variable parameters. Then, parts were produced at this volumetric energy density using different laser power and scanning speeds, a fixed hatching distance, layer thickness, and a 67° variable angle scanning strategy. In addition, 0.1 mm laser beam focus diameter, 1 laser, 30 °C manufacturing platform temperature, and 25–35 °C manufacturing room temperature were used in the production of the parts. The AlSi10Mg alloy produced by the gas atomization method was used in the production of its parts. The chemical composition of the AlSi10Mg alloy is presented in Table 2. The size distribution of the powder material used in part production is in the range of 5–55 µm, and its details are given in Table 3. The morphology of this powder alloy was examined by scanning electron microscopy, and it was determined that it had a spherical morphology (Fig. 1). A Concept Lazer-M2 CUSING brand printer with an SLM system was used in the production of the parts. The printer has a wavelength of 1070 nm and a 400W Ytterbium (Yb) fiber laser. The manufacturing process was carried out in an argon atmosphere to prevent oxidation.

Table 1 Experimental design used in the production of parts
Table 2 Chemical composition of AlSi10Mg alloy [45]
Table 3 Powder size distribution of AlSi10Mg alloy according to ASTM B822 [45]
Fig. 1
figure 1

Morphology of AlSi10Mg alloy

Prismatic parts were produced to ASME 14.5 standards to investigate the effect of scanning speed and laser power on geometric tolerances [46]. The dimensions of the produced part and the location of the tolerances on the part are given in Fig. 2. The flow chart followed in the experimental study is shown in Fig. 3. In addition, detailed explanations of geometric tolerances are given in Fig. 4. Diameter measurement change, deviation from angularity, perpendicularity, flatness, and parallelism were used in the investigation of geometric tolerances. Hole number 3 was taken into consideration for diameter change, and angle number 1 was taken into consideration for deviation from angularity.

Fig. 2
figure 2

Technical drawing of the part produced for geometric tolerances

Fig. 3
figure 3

Flowchart used in the research experiment

Fig. 4
figure 4

Detailing of geometric tolerances (https://www.gdandtbasics.com/gdt-symbols)

Geometric tolerance values were obtained using a Hexagon brand Coordinate Measuring Machine (CMM) device with a 2-mm diameter probe. The measurement accuracy of this device is 1 µm. Three measurements were taken for the investigated features, and experimental results were obtained by calculating the average of these measurements. Figure 5 shows the visual of measuring part 2 with the CMM device. Hole images on the parts were obtained with an AM413ZT Polarizing Digital Microscope at 16 × magnification. Deviation values were calculated to observe the change of measured values compared to nominal values (Eq. 1).

Fig. 5
figure 5

Preparation for measurement of part 2 with CMM

$$Deviation\;value=|nominal\;value - measured\;value|$$
(1)

2.2 Gray relational analysis

The optimal combination of parameters is very important in obtaining the required result with the minimum use of resources. The parameter set that is appropriate for a particular output may not be suitable for other outputs. In this regard, MCDM methods are needed to determine the optimum parameter set. Among MCDM methods, GRA is widely used in solving MCDM problems. The aim of this study is to determine the manufacturing parameters that give the best alternative in terms of geometric tolerances using the GRA method. In the GRA method, the deviation values first obtained are normalized. The purpose of normalization is to eliminate variability and bring deviation values into a comparable range of 0–1. The most important factor to consider in normalization is which approach will be used. In this study, since the deviation values were desired to be small in terms of product quality, the lower the better approach was used in the normalization process. Deviation values were obtained by subtracting the normalized values from 1. Gray relational coefficients (GRC) were then calculated. Finally, gray relational degrees (GRG) were created by averaging the gray relational coefficient. The equations used in making the calculations are given below [47,48,49].

The normalization process can be carried out in three different ways according to benefit, cost, and optimal situations (Eqs. 24).

In the case of the larger the better, the original sequence can be normalized as follows:

$${x}_{i}\left(k\right)=\frac{{x}_{i}^{0}\left(k\right)-min{x}_{i}^{0}(k)}{max{x}_{i}^{0}-min{x}_{i}^{0}(k)}$$
(2)

In the case of the smaller the better, the original sequence can be normalized as follows:

$${x}_{i}\left(k\right)=\frac{max{x}_{i}^{0}\left(k\right)-{x}_{i}^{0}(k)}{max{x}_{i}^{0}-min{x}_{i}^{0}(k)}$$
(3)

In the case of the nominal the better, the original sequence can be normalized as follows:

$${x}_{i}\left(k\right)=1-\frac{{x}_{i}^{0}\left(k\right)-{x}^{0})}{max{x}_{i}^{0}-{x}^{0})}$$
(4)

\({x}_{i}^{0}\left(k\right)\) original value at i series k. row, xi (k) after normalization value at i series k. row, min \({x}_{i}^{0}\left(k\right)\) is the minimum value at i series, max \({x}_{i}^{0}\left(k\right)\) is the maximum value at i series, and x0 denotes the desired ideal value. k denotes the k. row in the series at n length. \(\varepsilon ({x}_{0}\left(k\right),{x}_{i}(k))\) is the gray relational coefficient at k. point, and is given in Eqs. 58.

$$\varepsilon \left({x}_{0}\left(k\right),{x}_{i}\left(k\right)\right)=\frac{\Delta min+\xi\Delta max}{{\Delta }_{0i}\left(k\right)+\xi\Delta max}$$
(5)
$${\Delta }_{0i}\left(k\right)=\left|{x}_{0}\left(k\right)-{x}_{j}(k)\right|$$
(6)
$${\Delta }_{min}={min}_{j}\;{min}_{k}\left|{x}_{0}\left(k\right)-{x}_{j}(k)\right|$$
(7)
$${\Delta }_{max}={max}_{j}\;{max}_{k}\left|{x}_{0}\left(k\right)-{x}_{j}(k)\right|$$
(8)

ξ ∈ is a value between (0,1). j = 1, 2, …, m; k = 1, 2, …, n. ξ function arranges the difference between ∆0i and ∆max. Studies show the ξ function does not affect the post-gray relation degree order [50]. In the last step, the gray relational degree is calculated by Eq. 9.

$$\gamma \left({x}_{0},{x}_{i}\right)=\frac{1}{n}\sum \nolimits_{k=1}^{n}\varepsilon ({x}_{0}\left(k\right),{x}_{i}(k))$$
(9)

\(\gamma \left({x}_{0},{x}_{i}\right)\) is a measure of geometric similarity between the xi and x0 reference series in a gray system. The size of the gray relational degree shows a strong relationship between xi and x0. If the series being compared are the same, the gray relationship degree is 1. The gray relational degree demonstrates how the compared series is similar to the reference series.

3 Result and discussion

In this study, AlSi10Mg alloy parts were produced by the SLM method using different laser power and scanning speed parameters. The effect of parameters on geometric tolerances on the produced parts was investigated. The results obtained from the experimental study are given in Table 4.

Table 4 Results obtained depending on manufacturing parameters

When the results were examined, the diameter value was found to be smaller than the nominal value. The angularity and perpendicularity values were obtained higher than the nominal value. Deviation values were calculated by subtracting the obtained results from the nominal values (Table 5). The calculated deviation values were evaluated separately by creating graphs of diameter change, deviation from angularity, deviation from perpendicularity, deviation from flatness, and deviation from parallelism, depending on the manufacturing parameters.

Table 5 Deviation and normalized values

3.1 Evaluation of diameter change

The variation of diameter change depending on laser power and scanning speed parameters in additive manufacturing of AlSi10Mg alloy is given in Fig. 6. For hole number 3, the minimum amount of deviation from the diameter was obtained at the 290/911 laser power/scanning speed combination. This value is the middle value of the manufacturing parameters. As this value increases and decreases, the amount of deviation from the nominal value increases.

Fig. 6
figure 6

Diameter change according to manufacturing parameters

When the hole diameter change is evaluated in terms of the specified tolerance range, hole size number 3 was obtained within the tolerance value range in the 6th part. In the SLM method, the powder material is heated locally and rapidly above its melting temperature and then allowed to solidify and cool to form a dense geometry. Thus, internal stresses and distortions occur in the parts produced due to the nature of the process. One of the most common approaches used to reduce these negative effects on the part is optimizing manufacturing parameters [51]. The main parameters affecting the dimensional accuracy of metal-based additive manufacturing methods are laser power and scanning speed [44]. Studies have shown that accuracy tends to decrease as laser power increases and that dimensional accuracy can be increased to some extent if high scanning speeds are used [21, 52]. The smaller diameter variation at intermediate values of the manufacturing parameter can be attributed to the formation of small melt pools, leading to lower shrinkage effects and therefore higher dimensional accuracy. Also, the hole images taken from the parts are given in Fig. 7.

Fig. 7
figure 7

Hole images taken from parts

3.2 Evaluation of deviation from angularity and perpendicularity

The variation of angularity and perpendicularity deviation depending on laser power and scanning speed parameters in the additive manufacturing of AlSi10Mg alloy is given in Fig. 8. When the angularity deviation graph given in Fig. 8a is examined, the lowest amount of deviation was obtained at the 290/911 laser power/scanning speed combination. These values, like the hole diameter values, are the middle values of the manufacturing parameters. When the deviation from angularity is evaluated in terms of the specified tolerance range, angle value number 1 was obtained within the tolerance value range in part number 6. Angularity values generally result in high deviation at high and low values of the scan power/scan speed combination. When the deviation from perpendicularity graph in Fig. 8b is examined, the lowest amount of deviation was obtained at the 310/974 laser power/scanning speed combination. When the deviation from the perpendicularity was evaluated in terms of the specified tolerance range, the desired tolerance value range was obtained in parts 5 and 8.

Fig. 8
figure 8

Variation of deviation from angularity and perpendicularity according to manufacturing parameters

Dimensional change mainly occurs due to shrinkage due to heat energy applied during the sintering process [53]. Shrinkage causes internal stress, which affects the deformation of its parts [54]. Studies have shown that thin structures and layers are more effective on geometric accuracy, and that the production of these structures can be achieved with a smaller melting pool, and that problems in the part can be reduced by optimizing the laser parameters [55]. It has been noted that low energy input and a short scan line cause smaller residual stress in the parts [56]. In an experimental study, it was stated that as the energy input increased, higher residual stress occurred in 316-L stainless steel parts [55]. It can be said that high deviations in angularity and steepness are caused by dimensional deviations resulting from residual stresses that occur at high values of manufacturing parameters. Deviations occurring at low values of manufacturing parameters can be explained by the formation of defects due to a lack of fusion.

3.3 Evaluation of deviation from flatness and parallelism

The variation of deviation from planarity and parallelism in additive manufacturing of AlSi10Mg alloy depending on laser power and scanning speed parameters is given in Fig. 9. When the deviation from the planarity graph given in Fig. 9a is examined, the lowest amount of deviation was obtained at the 290/911 laser power/scanning speed combination. This value is also within the middle range of manufacturing parameters that are ideal for other performance outcomes evaluated. Flatness values generally increased at high and low values of the scanning power/scanning speed combination. However, it did not result in high amounts of deviation as in other performance outcomes. When the deviation from flatness was evaluated in terms of the specified tolerance range, it was found that it did not exceed the desired tolerance value in all parts, and low deviation values were obtained in all combinations of manufacturing parameters. When the deviation from the parallelism graph given in Fig. 9b is examined, the lowest amount of deviation was obtained at the 270/848 laser power/scanning speed combination. Parallelism values generally increased at high and low values of the scanning power/scanning speed combination. This tendency to deviate from parallelism exhibited similar behavior to planarity. When the deviation from parallelism was evaluated in terms of the specified tolerance range, it was found that it did not exceed the desired tolerance value in all parts, as in the deviation from planarity values, and low deviation values were obtained in all combinations of manufacturing parameters. In metal-based additive manufacturing, surface roughness largely depends on laser processing parameters and melt pool control [57].

Fig. 9
figure 9

Variation of deviation from flatness and parallelism according to manufacturing parameters

It has been emphasized that at very high values of laser power, excessive energy density in the melt pool causes dust spattering, which can lead to a relatively poor surface quality [58]. In addition, low surface quality is achieved by the formation of partially melted powder particles on the part surface with low energy input [59]. Deviation values from flatness and parallelism can be explained by the surface roughness that occurs at high and low values of manufacturing parameters.

3.4 General evaluation of geometric deviations

The performance features of diameter change, deviation from angularity, deviation from perpendicularity, deviation from flatness, and deviation from parallelism have been evaluated separately in the previous sections. As a result of this evaluation, it was observed that the optimum manufacturing parameters varied among the performance features. The minimum deviation in angularity, flatness, and diameter change was achieved at the 290/911 laser power/scanning speed combination. On the other hand, deviation from parallelism occurred at 270/848 laser power/scanning speed, while deviation from perpendicularity was obtained at 310/974 laser power/scanning speed combination. Therefore, optimum manufacturing parameters need to be determined by a multi-criteria decision-making method.

3.5 Evaluating the experimental results with gray relational analysis

In this part of the study, the geometric tolerance indicator values obtained after additive manufacturing of the AlSi10Mg alloy were optimized according to manufacturing parameters. Deviation values were used in the optimization process. All calculations were made using Eqs. 29, and the results are given in Tables 5 and 6.

Table 6 Deviation sequence, coefficients, GRG, and order values

As a first step, each deviation value was normalized. Since the deviation values were aimed at being low, the lower the better approach was used in the normalization process. In the next step, the gray relational coefficients (GRC) of each geometric tolerance indicator were determined, and the gray relational degrees (GRG) were calculated. The GRG value being equal to or close to 1 presents ideal operating conditions. According to GRG values, the most ideal alternative was obtained in piece number 6, with a value of 0.8692. The optimum manufacturing parameters in terms of geometric tolerances were determined as a 290/911 laser power/scanning speed combination.

4 Conclusions

In this study, the effects of laser power and scanning speed on geometric tolerances in the additive manufacturing of AlSi10Mg alloy were investigated. The optimal manufacturing parameters were tried to be determined by the multi-criteria decision-making method for all geometric tolerance indicators. In this context, the gray relational analysis method was used. The results obtained in this study are given below.

  • The minimum deviation in angularity, flatness, and diameter change was achieved at the 290/911 laser power/scanning speed combination. It has been observed that the deviation tends to increase at low and high values of manufacturing parameters.

  • Deviation from parallelism was achieved at a minimum level at the 270/848 laser power/scanning speed combination. The amount of deviation increased with increasing and decreasing values of this combination.

  • The minimum deviation in steepness was achieved at a laser power/scanning speed combination of 310/974. As with other performance features, the amount of deviation increased with decreasing and increasing values of manufacturing parameters.

  • With the gray relational analysis method, the optimum manufacturing parameters for geometric tolerances were obtained as a 290/911 laser power/scanning speed combination.

  • It has been revealed that laser power and scanning speed parameters are critical for product quality in the additive manufacturing of AlSi10Mg alloy.