Next Article in Journal
Network Structure Characteristics and Influencing Factors of Urban Agglomerations in China under Impact of COVID-19
Next Article in Special Issue
ODGNet: Robotic Grasp Detection Network Based on Omni-Dimensional Dynamic Convolution
Previous Article in Journal
Transportation Simulation Modeling and Location-Based Services Data Completion Based on a Data and Model Dual-Driven Approach
Previous Article in Special Issue
The Efficiency of YOLOv5 Models in the Detection of Similar Construction Details
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Using Voxelisation-Based Data Analysis Techniques for Porosity Prediction in Metal Additive Manufacturing

Laboratory for Advanced Manufacturing Simulation and Robotics, School of Mechanical and Materials Engineering, University College Dublin, D04 V1W8 Dublin, Ireland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2024, 14(11), 4367; https://doi.org/10.3390/app14114367
Submission received: 18 March 2024 / Revised: 3 May 2024 / Accepted: 13 May 2024 / Published: 22 May 2024
(This article belongs to the Special Issue Computer Vision in Automatic Detection and Identification)

Abstract

:

Featured Application

In-process porosity prediction in metal additive manufacturing.

Abstract

Additive manufacturing workflows generate large amounts of data in each phase, which can be very useful for monitoring process performance and predicting the quality of the finished part if used correctly. In this paper, a framework is presented that utilises machine learning methods to predict porosity defects in printed parts. Data from process settings, in-process sensor readings, and post-process computed tomography scans are first aligned and discretised using a voxelisation approach to create a training dataset. A multi-step classification system is then proposed to classify the presence and type of porosity in a voxel, which can then be utilised to find the distribution of porosity within the build volume. Titanium parts were printed using a laser powder bed fusion system. Two discretisation techniques based on voxelisation were utilised: a defect-centric and a uniform discretisation method. Different machine learning models, feature sets, and other parameters were also tested. Promising results were achieved in identifying porous voxels; however, the accuracy of the classification requires improvement before being applied industrially. The potential of the voxelisation-based framework for this application and its ability to incorporate data from different stages of the additive manufacturing workflow as well as different machine learning models was clearly demonstrated.

1. Introduction

Defects, such as porosity, frequently occur in metal additively manufactured (AM) prints, adding additional costs to reprint or improve the parts. Such defects are typically only identified after the part is completed, leading to scrapped material and wasted production time at best or product failure in service if not detected. Identifying defect formation early in AM printing processes and taking preventative measures to stop them could be hugely beneficial in reducing costs and increasing quality in AM. This study focuses on a specific application in this area, applying machine learning (ML) to process data to identify regions of porosity in parts produced by laser powder bed fusion (L-PBF) metal AM parts.
Porosity is one of the most prevalent and damaging defects for AM processes, with pores acting as initiation sites for crack formation and growth and contributing to drastically reduced fatigue life, among other issues [1,2,3]. There has therefore been significant research aimed at measuring and classifying porosity and other defects in AM parts and determining the raw materials properties and process parameters relating to porosity formation. Various approaches using machine learning with data from in-process sensors, cameras, process settings, or post-process analysis have been investigated for their potential to detect or predict problematic porosity [4,5,6,7,8,9,10,11,12,13,14,15]. Much of the focus has been on camera-based systems [16] and some studies have combined several different sensors; for example, Petrich et al. [17] combined signals from several different sensor types in one neural network and achieved an overall prediction accuracy of 98%, albeit from only a single part. Relatively few studies have focused on photodiode signals [18,19,20,21], like the present study. Photodiodes have some advantages in that they are relatively cheap and their data are relatively easy to process compared to cameras, for example. They are also included in some commercial printers, such as the Renishaw RenAM 500M (Wotton-under-Edge, UK) used here.
Distinct classes of pores have been identified based on their morphology and process of formation. Three important classes are lack of fusion (LOF), keyhole (KH), and gas porosity; each has different characteristics that allow them to be identified and result predominately from different material or process-related factors [2,22,23,24,25,26,27,28,29,30]. Example 3D renderings of KH and LOF pores from [31] are shown in Figure 1. Shrestha and Chou compared the characteristics of KH and LOF pores by looking at pore formation in cuboid parts printed with various energy densities. KH pores were found to have a near-spherical shape, while LOF pores were found to be elongated and to vary in size more [26,31].
Snell et al. concluded that LOF porosity is caused by a lack of input energy to the powder bed during the melting process [27]. This lower energy input then fails to fully melt the powder, which in turn leaves voids in the resultant structure. They attempted two different pore classification methods: an unsupervised ML model and a defined limits method for 2D and 3D pore models. A K-clustering ML method was found to be most effective for 3D pore data, while the defined limits method was found to be more suitable for 2D data.
KH porosity is caused by an excess of input energy, causing excessive penetration into the metal powder and leaving a pore near the bottom of the melt pool [27]. Bayat et al. [24] worked on a combined numerical and experimental investigation to study the formation of KH-induced porosities in L-PBF processes. Their study found that the cause of these pores came from a chain of multiple physical phenomena due to the occurrence of local cold zones with higher surface tension and insignificant recoil pressure [24].
While LOF and KH pores are mainly described as process-induced, the same cannot be said for gas porosity [27]. Gas porosity is the creation of spherical pores that occur due to gas entrapped in the raw metal powder particles or trapped environmental inert gas during the melting process [22]. Gas porosity is most commonly caused by the powder quality of the part or the presence of excessive gas density, making it quite difficult to reduce [32].
Applying ML to AM requires the association of data from different stages of the production process, e.g., data from the part design model, process settings, in-process sensor readings, and post-production CT scanning. Voxelisation is one technique that has been widely used. Voxelisation is the process of discretisation used to divide up data into hexahedral block elements called voxels. It is characterized as converting a three-dimensional model described initially by the surface as a mesh or by volume information in the form of a solid object into 3D elements called voxels that are used to fit the shape of the model [33]. Bacciaglia et al. conducted an in-depth study into the application of voxelisation in AM, finding that the voxel-based approach for storing localised model data was an efficient and discrete method [34]. Each voxel then represents a data point that can be used to train an ML model.
Many studies have used X-ray computed tomography (CT) scanning of finished parts to identify and characterise pores [35]. CT scanning allows a detailed 3D model of the part to be created, including internal defects. This allows one to have a complete picture of the porosity in the part, with information on the pore size, shape, volume, and distribution in the part readily available [29]. This non-destructive technique allows one to view the pores in three dimensions and is able to uncover potential contamination in powder feedstock and in the finished part, thus revealing local defects that can hardly be detected by conventional means [26]. CT scanning can only be applied after the part is finished so it cannot be used for in-process monitoring; however, it is excellent for providing the analysis of pores required to train ML models [17].
The existing literature shows the clear potential for ML applied to AM quality improvements and also that there is much research still to be carried out. This paper presents an ML tool to identify porosity in metal laser-based AM, specifically L-PBF, taking input data from the part design, process parameters, toolpath, and in-process photodiode sensors. The discretisation of these photodiode signals using the voxelisation method has not previously been reported to our knowledge. CT scanning of manufactured parts was used to identify and classify porosity, to train and test the ML models. Two-step classification was applied based on the presence of pores and whether they were LOF or KH pores. Three different classifiers were evaluated and compared along with two approaches to voxelisation and two approaches to class-balancing.

2. Materials and Methods

The experimental work was divided into two main sections. The first was the manufacture of AM parts and the characterisation of their porosity, consisting of:
  • Laser powder bed fusion (L-PBF) printing of titanium pillars under three different conditions of inert gas flow rate, namely control (31 L/h), low (26 L/h) and high (36 L/h);
  • Micro-CT scanning to create 3D models of the parts and porosity;
  • Extraction of pore characteristics;
  • Classifications of pores by type (keyhole or lack-of-fusion) and size.
The Section 2 combined data from in-process settings and measurements and post-process characterisation to create a single aligned dataset for the application of machine learning, consisting of:
  • Spatial alignment of in-process parameters and sensor readings with post-process porosity data from CT scans;
  • Spatial discretisation of the aligned dataset by voxelisation at three different voxel sizes, namely 0.5 mm, 1 mm, and 2 mm, using either a defect-centric (biased) or uniform discretisation (unbiased) approach;
  • Application of ML to classify voxels by presence, type, and size of porosity.
These steps were all carried out using MATLAB (release 2023a, The MathWorks, Inc., Natick, MA, USA).

2.1. Part Manufacturing

L-PBF part manufacturing was carried out using a Renishaw RenAM 500M equipped with a 500 W Yb:YAG ( λ = 1.07   μ m )  Gaussian profile laser and InfiniAM Spectral in situ process monitoring system. The RenAM 500M is a point-based system, in that the laser fires for a given amount of time after which it switches off and moves a defined distance, known as the point distance, to the next point location before firing again for a given time, known as the exposure time. Titanium powder (Ti6Al4V extra low interstitials-0406 grade 23, from AP and C) was used for all parts. A schematic of the process is shown in Figure 2.
Cylindrical pillars of a nominal diameter of 10 mm and height of 25 mm were produced (Figure 3). Overall, 3 sets of 17 pillars each were produced. Each set was produced in a single print run with the pillars distributed across the build plate. Each print run used a different inert gas flow rate, namely control (31 L/h), low (26 L/h) and high (36 L/h). The control flow rate represents the manufacturer’s recommended settings and the low and high flow rates were chosen due to the expectation that they would produce variations in porosity of the parts. Other print settings were left at the manufacturer’s recommended settings and values recorded for laser power, point distance, hatch distance, and duration can be found in Section 3. It was found that control and high flow rates produced very low levels of porosity, so in order to create a greater number of porous points in the dataset, more parts were printed at the low gas flow rate.

2.2. Process Data Collection

In-process data collection included process settings and sensor readings. The structure of the collected data can be seen in Table 1. After aligning the machine data and porosity data from CT scans, the voxelisation was carried out and each voxel was labelled by porosity (Yes/No) and porosity type (LOF/KH). The positional data were used only for alignment and not as inputs to the machine learning models.
Sensor values were obtained from Renishaw RenAM 500M machine sensors, namely the LaserView module and MeltView module, at a frequency of 100 kHz [36]. The LaserView module is designed to monitor the emissions from the 500W Ytterbium fibre laser. The module measures wavelengths ranging from 1050 nm to 1080 nm using a photodiode sensor. The MeltView module is designed to measure the emissions from the melt pool using two photodiode sensors with the MeltVIEWMeltPool sensor measuring the wavelengths ranging from 1090 nm to 1700 nm for the infrared spectrum and the MeltVIEWPlasma sensor measuring the emissions in the wavelength ranging from 700 nm to 1040 nm in the visible spectrum.
The sensor data were then augmented with process settings initially set by the process engineers operating the AM machine to manufacture the part. These settings were extracted from the computer-aided manufacturing (CAM) tool used to create the machine toolpath instructions for each layer. These values include the pre-set laser power, pulse duration, point distance, and hatch distance (Table 1).

2.3. µCT Scanning

µCT scanning was carried out using the General Electric (GE) Phoenix V|tome|x M240 industrial scanner (Waygate Technologies, Lewistown, PA USA). A schematic is shown in Figure 4. The scanning was performed on the test subjects at a resolution of 28 µm, with the voltage set at 130 kV and current at 200 µA with a resulting power of 26 Watts. The scan time was set at 10 min for a fast scan, generating around 3000 image slices per scan. The scan data acquisition was completed using the Phoenix datos|x software (version 2.4.0) [37]. This software package is used to combine the image slices to form the volumetric model of the object.

2.4. Porosity Characteristics and Classification

The volumetric models produced by CT scanning were analysed for porosity characteristics using the metrology software package Volume Graphics StudioMax version 3.3 [38]. This software package has a porosity-analysis software module specifically used to analyse and visualise internal defects from scans of manufactured objects. The pore analysis module presents the results in a tabulated spreadsheet with the pore characteristics including the location, volume, sphericity, compactness, and many more details of the pores. These traits were then utilised for pore classification.
The identification and classification of pores using CT and other post-manufacturing analytical methods has been studied extensively by other authors and has been covered in the literature review of this paper. This literature provides the basis for classifying porosity in the CT analysis to produce a dataset to train and test ML algorithms.
The procedure for classification was as follows:
  • A voxel was first classified as porous or non-porous depending on whether there were any pores whose centre of volume lay within it. The procedures for data alignment and voxelisation are described in Section 2.5 and Section 2.6;
  • Porous voxels were then classified as KH or LOF based on the average sphericity of the pores. Sphericity greater than 0.6 was considered KH and less than this was considered LOF. The sphericity was calculated according to Equation (2). This method has been corroborated in many research papers that were reviewed for this purpose [25,27,39,40].
The compactness (C) and sphericity (S), as calculated in Equations (1) and (2), have been previously used to define the difference between different types of pores (keyhole or LOF) [27]. Equation (2) provides the sphericity formula by utilising the knowledge of the volume (V) and surface area (A) of the pore being analysed. These values are obtained from the StudioMax software package.
C = 36 . π . V 2 A 3
S = C 1 3 =   36 . π . V 2 A 3 1 3

2.5. Data Alignment

To relate the porosity data from the CT volumetric models to the in-process data, the two datasets must be spatially aligned. Positional data are recorded in each dataset but they do not share a common reference frame. A bounding box alignment method was applied in this case. This approach focused on applying rotations to the part and then identifying the lowest bounding box around the rotating part, hence placing the part in the correct orientation. Translation could then be utilised to complete the alignment of the parts.
One limitation of this approach is that it is only applicable to asymmetric objects. If the object has symmetry, it is impossible to distinguish between orientations that are equivalent due to symmetry. In the case of the cylinders prepared here, it would not be possible to distinguish the top and bottom ends or the correct rotation of the cylinder axis. To overcome this, labels were printed on the top surface of the cylindrical pillars indicating the sample number and the printer x direction.

2.6. Discretisation through Voxelisation

Once the CT pore data and the part processing data were aligned, the dataset volume was discretised by voxelisation. Cubic voxels with sizes of 0.5 mm, 1.0 mm, and 2.0 mm were used. Three sizes were used to investigate the effect of voxel size on the accuracy of porosity prediction and to investigate the trade-off between computational processing time and spatial resolution. Smaller voxel sizes require more computational processing but provide a higher spatial resolution. Pores were included in a voxel if their centre of volume fell within the region, while a single value for each process parameter was calculated for each voxel as the arithmetic mean of all data points falling within the voxel.
Two variants of discretisation by voxelisation were applied. One approach carried out the discretisation centred around the pore centres and this approach is termed the defect-centric approach (DCA). In the other approach, discretisation was carried out uniformly on the part and this approach was termed the uniform-discretisation approach (UDA).

2.6.1. Defect-Centric Approach (DCA or Biased)

In this approach, after aligning the process monitoring data with the porosity data, cubic voxels were created with centres aligned with pore centres. These voxels were labelled as porous and the classification for type of porosity depended on the majority classification of pores contained withing the voxel. The process is illustrated in Figure 5.
Once all porous voxels had been identified in this way, the remaining data were discretised using the uniform approach described in the following Section 2.6.2.

2.6.2. Uniform Discretisation Approach (UDA or Unbiased)

In this approach, voxels were created based on a uniform grid of cubic voxels aligned with the extremities of the process data point cloud. Pores were then associated with the voxel in which their centre of volume lay. Any voxel with at least one pore was labelled as porous. The rest of the voxels are classified as non-porous. Pore type and size for the voxels were again based on the majority classification of pores in the voxel and process monitoring values based on the arithmetic mean of all data points in the voxel. The process is illustrated in Figure 6.

2.7. Machine Learning

Machine learning models were trained and tested in MATLAB using models available in the Classification Learner toolbox. Three different models were included: k-Nearest Neighbours, Bagged Decision Trees, and Neural Network. Default ‘medium’ settings for the parameters, as defined in MATLAB (version r2023a), were used and are provided in Table 2.
Two methods for class-balancing the training data were tested: the random undersampling (RUS) and the synthetic minority oversampling technique (SMOTE). RUS involves randomly removing data points from the majority class and SMOTE involves synthesising new data points of the minority class(es) using a weight combination of neighbouring data points. In each case, the classes were fully balanced, e.g., 50:50 porous:non-porous data points.
The complete dataset consisted of three separate builds of 17 cylindrical rods as described in Section 2.1. A test dataset was withheld by selecting 3 out of 17 of the rods in each build, equating to approximately 18%. Only the uniform discretisation approach was used for test data; since the defect-centric approach depends on prior knowledge of pore locations that could not be available in practice, it was considered unsuitable for test data and likely to overestimate model accuracy. The remainder of the rods were used as the training dataset. Five-fold cross-validation was used to estimate validation accuracy.
Two feature sets were tested as inputs to machine learning models: one using only the data from the three machine sensors and one using both the three sensors and the four process settings. The classifications of porosity and porosity type were carried out independently. The overall classification accuracy was used as the measure to compare performance. While this measure has limitations, especially in biased datasets like we find here, class balancing was used to mitigate this.

3. Results

3.1. Voxelised Datasets

Figure 7, Figure 8 and Figure 9 present summary distributions for each feature from the uniform discretisation approach at each voxel size, normalised by porous and non-porous conditions. Naturally, increasing voxel size leads to a decrease in the number of data points. At 0.5- and 1-mm voxel sizes, the data are highly biased towards non-porous voxels (approximately 93%), while at 2-mm voxel size, the porous and non-porous conditions are reasonably balanced.
The vast majority of data points for Hatch Spacing, Point Spacing, Duration, and Laser Power occur at fixed values of 95  μ m , 60  μ m , 70  μ s , and 200 W, respectively, with the few remaining data points at lower values. The majority of LaserVIEW is narrowly distributed at the upper end of the range. This concentration of the distributions decreases with increasing voxel size. The MeltVIEWMeltPool and MeltVIEWPlasma data have broader distributions with some visible differences between the distributions for porous and non-porous voxels.
Figure 10, Figure 11 and Figure 12 present summary distributions for each feature from the defect-centric approach at each voxel size, normalised by porous and non-porous conditions. The counts of porous and non-porous voxels are significantly different from the uniform discretisation approach. At 0.5 mm voxel size, the vast majority are non-porous, at 1.0 mm, the conditions are close to balanced, and at 2.0 mm, the vast majority of voxels are porous. Notably, the number of porous voxels is consistent irrespective of voxel size, since one data point is created for each pore, whereas the number of non-porous data points decreases as voxel size increases.
The distributions for each of the features are very similar to those already described for the uniform discretisation approach.

3.2. Random Undersampling Class Balancing

The overall accuracy results from 5-fold cross-validation and unseen test data for each model type, by number of features and discretisation approach, are shown in Figure 13, Figure 14 and Figure 15. With some exceptions, test accuracy is significantly lower than validation accuracy. With all test accuracies in the range of 60–75%, none of the variables show a dramatic impact on performance; however, some points are worth noting.
The highest test accuracy for each model type was achieved at 2.0 mm voxel size with seven features and uniform discretisation, although it is only a few percentage points higher than most other conditions. The neural network has the highest test accuracy and closest agreement between validation and test accuracy at these conditions, whereas it performed very poorly at 0.5 mm voxel size. The nearest neighbours model has very similar test and validation accuracies at 0.5 mm voxel size; as voxel size increases, the validation accuracy increases but the test accuracy does not.
The number of input features has very little effect on either test or validation accuracy. The discretisation approach also has little impact on test accuracy but has a more visible impact on validation accuracy at 1.0- and 2.0 mm voxel sizes.

3.3. SMOTE Class Balancing

The overall accuracy results from 5-fold cross-validation and unseen test data for each model type, by number of features and discretisation approach, are shown in Figure 16, Figure 17 and Figure 18.
At 0.5 mm voxel size (Figure 16), the nearest neighbours and bagged trees models achieved higher accuracies relative to random undersampling, by up to 4 and 8 percentage points for the nearest neighbours and bagged trees, respectively. However, the differences between validation and test accuracy were similar for the bagged trees and significantly increased for the nearest neighbours.
At 1.0 mm voxel size (Figure 17), the accuracies are similar between the synthetic minority oversampling and random undersampling methods for the defect-centric discretisation approach but different for the uniform discretisation approach.

3.4. Model Size, Speed, and Training Time

Ranges for model size, prediction rate, and training time are shown in Table 3. The model sizes and training time values were greatly influenced by the number of data points in the training set, so small voxel size and synthetic oversampling led to the largest models and longest times. The comparative values between models were consistent at all conditions, with the neural network having the smallest model and longest training time in all cases, the bagged trees having the largest model time, and the nearest neighbours having the fastest training time.

3.5. Pore Type Classification

Pore type classification was carried out only using the unbiased approach with seven features as well as synthetic minority oversampling, based on performance for the pore presence classification. All three classifier types and voxel sizes were tested and the results for overall accuracy for both validation and test data are shown in Table 4. The bagged trees classifier achieved significantly higher accuracy than the other models for both validation and test data; however, the accuracy in any case is not high. The training dataset contained approximately 80% of pores characterised as lack-of-fusion and 20% as keyhole, indicating that lack-of-fusion is highly dominant in this dataset. However, this result cannot be generalised as the relative likelihood of each pore type has been shown to be very dependent on process parameters, particularly energy density [9,26].

4. Discussion

Considering all of the variables together, the uniform discretisation approach with 7 input features, synthetic minority oversampling, and a voxel size of 2.0 mm is best, with consistently reasonably high accuracy compared to other conditions across the classifier types. The choice of classifier is less clear and might be made based on considerations other than accuracy or after further testing. While accuracy should be the key criterion due to the high-value nature of L-PBF parts, computational efficiency should also be considered since the ultimate aim is to achieve in situ monitoring and the adjustment of process parameters to avoid defective parts.
The maximum achieved test accuracy of around 76% is unlikely to be sufficient for practical application but suggests that the voxelisation-based framework has potential with further refinement of the parameters and expansion of the training dataset. In the histograms of Figure 7, Figure 8, Figure 9, Figure 10, Figure 11 and Figure 12, it is clear that there is significant overlap between the distributions of porous and non-porous data points for each of the features, indicating that no feature was a very strong predictor of porosity. Given that each data point represents the mean of the signal throughout a single voxel, it is possible that many voxels actually contain a combination of both porous and non-porous signals, which blurs the distinction between the two groups. However, this should then lead to higher accuracy at lower voxel size, which is not found here.
Another likely contributing factor is the inherent difficulty of predicting porosity from photodiode signals alone. The photodiodes measure the total intensity of certain wavelengths emitted from the region of the melt pool, so they may not detect smaller-scale variations within this region that would better indicate porosity.

4.1. Voxel Size

Voxel size has little impact on accuracy but this somewhat favours the 2.0 mm voxel size over 0.5 or 1.0 mm for a number of reasons. The largest voxel size correspondingly produced the smallest number of data points and therefore the smallest and fastest classifiers with the shortest training times. Metal additive manufacturing is a high-value application where the computing power required for any of these models could be justified, so none of the models should be excluded based on these criteria. However, this still represents a significant practical advantage of the larger voxel size. The downside of the larger voxel size is the reduced spatial resolution of porosity predictions; however, 2.0 mm should be sufficiently fine for many applications.
The choice of voxel size has a significant impact on the balance between porous and non-porous voxels in the dataset, which also has interactions with the discretisation approach and class-balancing approach. Pores represent a small percentage of the volume of a specimen and their distribution is fixed regardless of voxel size, so increasing the voxel size increases the probability that any given voxel will include a pore. This leads to the very biased non-porous to porous ratio seen in Figure 7 and Figure 8 compared to the more balanced ratio in Figure 9. The skew towards non-porous regions is expected and relevant to real-world applications, since manufacturer-recommended process parameters were used, which are naturally chosen to minimise porosity. However, it presents a challenge to training classifiers and some approaches such as class-balancing must be used to avoid the classifier becoming very biased towards the majority class in the training data.
The relationship between class balance and voxel size for the defect-centric discretisation approach is very different since in this approach, there is one porous data point created for each pore, regardless of voxel size. In contrast, the number of non-porous data points increases significantly as voxel size decreases, so the dataset goes from non-porous-biased at 0.5 mm voxel size to porous-biased at 2.0 mm voxel size and is quite balanced at 1.0 mm voxel size.
Another advantage of the 2.0 mm voxel size is that it achieved higher accuracy than the smaller voxel sizes. While the magnitude of the advantage varied by classifier type and other factors, the high accuracy combined with the computational advantages at this voxel size is clearly desirable. A possible reason for the improved accuracy at this voxel size is that the mean values per voxel for each of the features are calculated using more individual data points, helping to filter out noise in the sensor signals. The significant overlap between porous and non-porous classes in the histograms of Figure 7, Figure 8, Figure 9, Figure 10, Figure 11 and Figure 12 supports this.

4.2. Number of Features

The best results were obtained using both the process settings (laser power, point distance, hatch distance, and duration) and in-process photodiode features (LaserVIEW, MeltVIEWPlasma, and MeltVIEWMeltPool) as described in Section 2.2 but in most cases, equivalent accuracy was obtained using only the three in-process sensor features. This is not surprising given that the process settings show very little variation compared to the sensor readings. The number of features had a relatively small impact on the computational characteristics of the models and all seven features would be readily available in-process, so using all seven features is preferred.

4.3. Discretisation Approach

The relative performance of the uniform and defect-centric discretisation approaches varied by voxel size and class-balancing approach but showed similar trends between classifiers. In many cases, the defect-centric approach performed better on validation data but worse on test data. One explanation is that relevant test data could only be generated using the uniform discretisation approach since the defect-centric approach requires prior knowledge of the locations of pores gathered from the post-manufacturing CT scans that would not be available in real-world applications. On the other hand, the uniform discretisation approach creates training and validation data in the same way that test data are created or that in-service data are collected.
However, at 0.5 mm voxel size, the defect-centric approach performed relatively well (Figure 13), achieving higher accuracy on test data and smaller differences between test and validation accuracy. Typically, a bigger difference between validation and test accuracy suggests more overfitting of the model to the training data and therefore a reduction in the generalisation ability of the model.
At 2.0 mm voxel size, the uniform discretisation approach appears better (Figure 15 and Figure 18), with higher test accuracy and lower test/validation difference.

4.4. Class-Balancing Approach

The significance of the class-balancing approach depends on the degree of bias in the raw dataset. This, in turn, depends on the voxel size and discretisation approach as discussed in Section 4.1 and Section 4.3. Where the raw dataset is relatively balanced between classes, the class-balancing approach has less impact. In some cases, class balancing was not necessary but was applied for consistency.
At the best performing conditions, synthetic minority oversampling appears to produce small accuracy improvements compared to random undersampling. This was likely due to the much larger number of training data points available by this method; random undersampling discarded more than 90% of data points in some cases of highly biased data. However, this also led to much smaller models and faster training times for random undersampling in these cases. Given the typically high-value nature of metal additive manufacturing, it is suggested that the increased accuracy would be worth the additional computational expense of synthetic minority oversampling.

4.5. Classifier

There is no clear winner between the three classifier types tested here. While the neural network performs relatively poorly in most tests and requires very long training times, it is only 2–3 percentage points behind on test accuracy at the best performing conditions and it is easily best in terms of model size and prediction speed. Further optimisation of the model or expansion of the dataset could therefore alter the balance between classifiers.
The bagged trees model produces some very high results for validation accuracy using defect-centric discretisation but the test accuracy drops significantly, indicating overfitting on the training data and likely poor real-world performance. This model type also had the largest model size of up to 2 GB. The other two classifier types were only slightly lower on test accuracy, had smaller model sizes, and, in the case of the nearest neighbours, also had shorter training times. With further optimisation, the performance of any of the classifiers could be improved.
The three classifiers used here do not represent all possible options. However, they represent three fundamentally different approaches that are widely used and have significantly different strengths and weaknesses in terms of training requirements, speed, and model size. Given the relatively similar accuracies between these models, it is suggested that testing more model types is not the priority at this stage.

4.6. Porosity Type

Predicting the pore type in addition to the presence of porosity would be useful since different pore types should require different parameter adjustments to be eliminated. The bagged trees classifier performs better relative to the other classifiers when predicting pore type, as compared to predictions of pore presence, achieving a test accuracy of 73%. This is rather low to be useful in practice.
The pore types in the training dataset were labelled based only on sphericity, so it is possible that the labelling of the training data could be improved by considering more pore characteristics.

4.7. Limitations and Future Work

The purpose of this paper was to introduce a voxelisation-based framework for porosity prediction in metal additive manufacturing. It was not practical to attempt to conclusively cover all of the variables involved in the machine learning classification and future work could further optimise the classifiers or introduce more complex classifier architectures. Future work could also experiment with combinations of undersampling and oversampling as well as other preprocessing techniques.
It is likely that focussing on the input features during the voxelisation process is more important than the machine learning step and would be more likely to produce significant improvements. The results support this, in that none of the variables tested here showed a strong impact on accuracy, and with improved input features it is very likely that all of the tested models would be more accurate. The voxelisation approach only involved calculating the mean of each variable for each voxel and should be expanded in the future to include other features, such as standard deviation, range, etc., to produce a richer set of input features to train the machine learning models. The current work is a valuable step towards this, having developed a framework within which these tests can be carried out and have shown the viability and computational efficiency of the 2.0 mm voxel size.
The dataset was from a single production machine operating at manufacturer-recommended settings and from a small number of separate print runs with one fixed geometry. Models trained on this dataset may not generalise well to other geometries without further training; however, this was mitigated by choosing input features that were independent of the geometry or location within the print volume.
This geometric independence has further advantages for expanding the technique to other geometries. Only cylindrical shapes were tested here; however, AM is well known for its suitability for very complex shapes. The voxel-based approach used here should be very suitable.
The present work considers the binary presence or absence of porosity in a voxel and the classification of either lack-of-fusion or keyhole pore type. This is useful but predictions of porosity volume, number of pores, and more in-depth consideration of pore type will be the focus of future work. While being more useful, this may also help to increase classifier accuracy by creating better defined classes. For example, keyhole and lack-of-fusion pores are known to form under different process conditions, as discussed in the introductory section of this paper, so they might be better classified individually instead of under the single porous/non-porous classification used here. This was not tested here as the feature set should first be improved.

5. Conclusions

A framework for using machine learning to predict porosity in regions of metal-additively manufactured parts using machine learning has been presented here. The framework involves the alignment of data from different stages of the manufacturing process, followed by voxelisation to create a set of discrete data points for training and testing the machine learning model. The framework developed here has the two following goals:
  • To help engineers predict porous and non-porous regions (voxels) based on previous experimental data and in-process sensor data, with the potential to adjust the process settings to improve the manufacturing process;
  • To create a method to evaluate an in-progress print for probable porosity, potentially allowing defective prints to be aborted early to reduce waste or even to modify process settings in situ to improve quality.
Results presented in this paper show that the voxelisation approach has potential but that the classification accuracy is not yet high enough to be useful in practice. To further improve the classification accuracy and develop the feature set extracted, the voxelisation process was identified as a priority over testing alternate machine learning models due to the limited impact of model type or parameters found here.

Author Contributions

Conceptualisation, N.P. and A.G.; methodology, N.P., A.G., C.M., C.O. and K.R.; software, A.G., C.M. and C.O.; validation, K.R. and M.T.M.; investigation, A.G, C.M. and C.O.; writing—original draft preparation, A.G; writing—review and editing, N.P., K.R. and M.T.M.; supervision, N.P.; project administration, N.P.; funding acquisition, N.P. All authors have read and agreed to the published version of the manuscript.

Funding

This publication has been partially supported by a research grant from Science Foundation Ireland (SFI) under Grant Number 16/RC/3872 and is co-funded under the European Regional Development Fund and I-Form industry partners.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The raw data supporting the conclusions of this article will be made available by the authors on request.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Sercombe, T.; Jones, N.; Day, R.; Kop, A. Heat treatment of Ti-6Al-7Nb components produced by selective laser melting. Rapid Prototyp. J. 2008, 14, 300–304. [Google Scholar] [CrossRef]
  2. Shamsaei, N.; Yadollahi, A.; Bian, L.; Thompson, S.M. An overview of Direct Laser Deposition for additive manufacturing; Part II: Mechanical behavior, process parameter optimization and control. Addit. Manuf. 2015, 8, 12–35. [Google Scholar] [CrossRef]
  3. Sterling, A.J.; Torries, B.; Shamsaei, N.; Thompson, S.M.; Seely, D.W. Fatigue behavior and failure mechanisms of direct laser deposited Ti–6Al–4V. Mater. Sci. Eng. A 2016, 655, 100–112. [Google Scholar] [CrossRef]
  4. Baturynska, I.; Semeniuta, O.; Martinsen, K. Optimization of Process Parameters for Powder Bed Fusion Additive Manufacturing by Combination of Machine Learning and Finite Element Method: A Conceptual Framework. Procedia CIRP 2018, 67, 227–232. [Google Scholar] [CrossRef]
  5. Smoqi, Z.; Gaikwad, A.; Bevans, B.; Kobir, M.H.; Craig, J.; Abul-Haj, A.; Peralta, A.; Rao, P. Monitoring and prediction of porosity in laser powder bed fusion using physics-informed meltpool signatures and machine learning. J. Mater. Process. Technol. 2022, 304, 117550. [Google Scholar] [CrossRef]
  6. Zhang, B.; Liu, S.; Shin, Y.C. In-Process monitoring of porosity during laser additive manufacturing process. Addit. Manuf. 2019, 28, 497–505. [Google Scholar] [CrossRef]
  7. Egan, D.S.; Dowling, D.P. Influence of process parameters on the correlation between in-situ process monitoring data and the mechanical properties of Ti-6Al-4V non-stochastic cellular structures. Addit. Manuf. 2019, 30, 100890. [Google Scholar] [CrossRef]
  8. Ertay, D.S.; Kamyab, S.; Vlasea, M.; Azimifar, Z.; Ma, T.; Rogalsky, A.D.; Fieguth, P. Toward Sub-Surface Pore Prediction Capabilities for Laser Powder Bed Fusion Using Data Science. J. Manuf. Sci. Eng. 2021, 143, 071016. [Google Scholar] [CrossRef]
  9. Gordon, J.V.; Narra, S.P.; Cunningham, R.W.; Liu, H.; Chen, H.; Suter, R.M.; Beuth, J.L.; Rollett, A.D. Defect structure process maps for laser powder bed fusion additive manufacturing. Addit. Manuf. 2020, 36, 101552. [Google Scholar] [CrossRef]
  10. Jeon, T.; Hwang, T.; Yun, H.; Vantyne, C.; Moon, Y. Control of Porosity in Parts Produced by a Direct Laser Melting Process. Appl. Sci. 2018, 8, 2573. [Google Scholar] [CrossRef]
  11. Qin, J.; Hu, F.; Liu, Y.; Witherell, P.; Wang, C.C.L.; Rosen, D.W.; Simpson, T.W.; Lu, Y.; Tang, Q. Research and application of machine learning for additive manufacturing. Addit. Manuf. 2022, 52, 102691. [Google Scholar] [CrossRef]
  12. Scime, L.; Beuth, J. A multi-scale convolutional neural network for autonomous anomaly detection and classification in a laser powder bed fusion additive manufacturing process. Addit. Manuf. 2018, 24, 273–286. [Google Scholar] [CrossRef]
  13. Grasso, M.; Remani, A.; Dickins, A.; Colosimo, B.M.; Leach, R.K. In-situ measurement and monitoring methods for metal powder bed fusion: An updated review. Meas. Sci. Technol. 2021, 32, 112001. [Google Scholar] [CrossRef]
  14. Mireles, J.; Ridwan, S.; Morton, P.A.; Hinojos, A.; Wicker, R.B. Analysis and correction of defects within parts fabricated using powder bed fusion technology. Surf. Topogr. Metrol. Prop. 2015, 3, 034002. [Google Scholar] [CrossRef]
  15. Wang, H.; Zhang, S.; Li, B. Machine learning-assisted acoustic emission monitoring for track formability prediction of laser powder bed fusion. Mater. Today Commun. 2024, 38, 108522. [Google Scholar] [CrossRef]
  16. Taherkhani, K.; Ero, O.; Liravi, F.; Toorandaz, S.; Toyserkani, E. On the application of in-situ monitoring systems and machine learning algorithms for developing quality assurance platforms in laser powder bed fusion: A review. J. Manuf. Process. 2023, 99, 848–897. [Google Scholar] [CrossRef]
  17. Petrich, J.; Snow, Z.; Corbin, D.; Reutzel, E.W. Multi-modal sensor fusion with machine learning for data-driven process monitoring for additive manufacturing. Addit. Manuf. 2021, 48, 102364. [Google Scholar] [CrossRef]
  18. Jayasinghe, S.; Paoletti, P.; Sutcliffe, C.; Dardis, J.; Jones, N.; Green, P.L. Automatic quality assessments of laser powder bed fusion builds from photodiode sensor measurements. Prog. Addit. Manuf. 2022, 7, 143–160. [Google Scholar] [CrossRef]
  19. Coeck, S.; Bisht, M.; Plas, J.; Verbist, F. Prediction of lack of fusion porosity in selective laser melting based on melt pool monitoring data. Addit. Manuf. 2019, 25, 347–356. [Google Scholar] [CrossRef]
  20. Okaro, I.A.; Jayasinghe, S.; Sutcliffe, C.; Black, K.; Paoletti, P.; Green, P.L. Automatic fault detection for laser powder-bed fusion using semi-supervised machine learning. Addit. Manuf. 2019, 27, 42–53. [Google Scholar] [CrossRef]
  21. Bonato, N.; Sinico, M.; Zanini, F.; Dewulf, W.; Carmignato, S. Towards the improvement of high-speed laser powder bed fusion using aligned datasets obtained from process monitoring based on photodiode signal variation and post-process X-ray computed tomography. In Proceedings of the Special Interest Group Meeting on Advancing Precision in Additive Manufacturing, Leuven, Belgium, 19–21 September 2023. [Google Scholar]
  22. Kim, F.; Moylan, S. Literature Review of Metal Additive Manufacturing Defects; Advanced Manufacturing Series (NIST AMS); National Institute of Standards and Technology: Gaithersburg, MD, USA, 2018.
  23. Snow, Z.; Nassar, A.R.; Reutzel, E.W. Invited Review Article: Review of the formation and impact of flaws in powder bed fusion additive manufacturing. Addit. Manuf. 2020, 36, 101457. [Google Scholar] [CrossRef]
  24. Bayat, M.; Thanki, A.; Mohanty, S.; Witvrouw, A.; Yang, S.; Thorborg, J.; Tiedje, N.S.; Hattel, J.H. Keyhole-induced porosities in Laser-based Powder Bed Fusion (L-PBF) of Ti6Al4V: High-fidelity modelling and experimental validation. Addit. Manuf. 2019, 30, 100835. [Google Scholar] [CrossRef]
  25. Nudelis, N.; Mayr, P. A Novel Classification Method for Pores in Laser Powder Bed Fusion. Metals 2021, 11, 1912. [Google Scholar] [CrossRef]
  26. Shrestha, S.; Chou, K. Formation of keyhole and lack of fusion pores during the laser powder bed fusion process. Manuf. Lett. 2022, 32, 19–23. [Google Scholar] [CrossRef]
  27. Snell, R.; Tammas-Williams, S.; Chechik, L.; Lyle, A.; Hernandez-Nava, E.; Boig, C.; Panoutsos, G.; Todd, I. Methods for Rapid Pore Classification in Metal Additive Manufacturing. JOM 2020, 72, 101–109. [Google Scholar] [CrossRef]
  28. Sola, A.; Nouri, A. Microstructural porosity in additive manufacturing: The formation and detection of pores in metal parts fabricated by powder bed fusion. J. Adv. Manuf. Process. 2019, 1, e10021. [Google Scholar] [CrossRef]
  29. Svetlizky, D.; Das, M.; Zheng, B.; Vyatskikh, A.L.; Bose, S.; Bandyopadhyay, A.; Schoenung, J.M.; Lavernia, E.J.; Eliaz, N. Directed energy deposition (DED) additive manufacturing: Physical characteristics, defects, challenges and applications. Mater. Today 2021, 49, 271–295. [Google Scholar] [CrossRef]
  30. Wits, W.W.; Carmignato, S.; Zanini, F.; Vaneker, T.H.J. Porosity testing methods for the quality assessment of selective laser melted parts. CIRP Ann. 2016, 65, 201–204. [Google Scholar] [CrossRef]
  31. Vandecasteele, M.; Heylen, R.; Iuso, D.; Thanki, A.; Philips, W.; Witvrouw, A.; Verhees, D.; Booth, B.G. Towards material and process agnostic features for the classification of pore types in metal additive manufacturing. Mater. Des. 2023, 227, 111757. [Google Scholar] [CrossRef]
  32. Leach, R.K.; Carmignato, S. Precision Metal Additive Manufacturing; Taylor & Francis Group: Abingdon, UK, 2020. [Google Scholar]
  33. Zhou, Y.; Lu, H.; Wang, G.; Wang, J.; Li, W. Voxelization modelling based finite element simulation and process parameter optimization for Fused Filament Fabrication. Mater. Des. 2020, 187, 108409. [Google Scholar] [CrossRef]
  34. Bacciaglia, A.; Ceruti, A.; Liverani, A. A systematic review of voxelization method in additive manufacturing. Mech. Ind. 2019, 20, 630. [Google Scholar] [CrossRef]
  35. Ahsan, M.N.; Bradley, R.; Pinkerton, A.J. Microcomputed tomography analysis of intralayer porosity generation in laser direct metal deposition and its causes. J. Laser Appl. 2011, 23, 022009. [Google Scholar] [CrossRef]
  36. Renishaw Plc. InfiniAM Spectral—Energy Input and Melt Pool Emissions Monitoring for AM Systems; Renishaw Plc: Wotton-under-Edge, UK, 2017. [Google Scholar]
  37. Phoenix Datos|x—CT Data Acquisition Software. v 2.4.0. Available online: https://www.bakerhughes.com/waygate-technologies/ndt-software/phoenix-datosx-industrial-ct-scanning-software (accessed on 27 June 2023).
  38. VGSTUDIO MAX. Available online: https://www.volumegraphics.com/en/products/vgsm.html (accessed on 27 June 2023).
  39. Al-Maharma, A.Y.; Patil, S.P.; Markert, B. Effects of porosity on the mechanical properties of additively manufactured components: A critical review. Mater. Res. Express 2020, 7, 122001. [Google Scholar] [CrossRef]
  40. Poudel, A.; Yasin, M.S.; Ye, J.; Liu, J.; Vinel, A.; Shao, S.; Shamsaei, N. Feature-based volumetric defect classification in metal additive manufacturing. Nat. Commun. 2022, 13, 6369. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Three-dimensional renderings of (a) lack of fusion and (b) keyhole pores reproduced from [31].
Figure 1. Three-dimensional renderings of (a) lack of fusion and (b) keyhole pores reproduced from [31].
Applsci 14 04367 g001
Figure 2. L-PBF process.
Figure 2. L-PBF process.
Applsci 14 04367 g002
Figure 3. (a) Location of pillars on the L-PBF build plate. (b) Dimensions of each pillar and example embossing of top surface identifying an individual pillar.
Figure 3. (a) Location of pillars on the L-PBF build plate. (b) Dimensions of each pillar and example embossing of top surface identifying an individual pillar.
Applsci 14 04367 g003
Figure 4. Schematic of  μ CT scanning.
Figure 4. Schematic of  μ CT scanning.
Applsci 14 04367 g004
Figure 5. Defect-centric approach (DCA).
Figure 5. Defect-centric approach (DCA).
Applsci 14 04367 g005
Figure 6. Uniform discretisation approach (UDA).
Figure 6. Uniform discretisation approach (UDA).
Applsci 14 04367 g006
Figure 7. Distributions of features and porosity condition for the uniform discretisation approach at 0.5 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 7. Distributions of features and porosity condition for the uniform discretisation approach at 0.5 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g007
Figure 8. Distributions of features and porosity condition for the uniform discretisation approach at 1.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 8. Distributions of features and porosity condition for the uniform discretisation approach at 1.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g008
Figure 9. Distributions of features and porosity condition for the uniform discretisation approach at 2.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 9. Distributions of features and porosity condition for the uniform discretisation approach at 2.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g009
Figure 10. Distributions of features and porosity condition for the defect-centric approach at 0.5 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 10. Distributions of features and porosity condition for the defect-centric approach at 0.5 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g010
Figure 11. Distributions of features and porosity condition for the defect-centric approach at 1.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 11. Distributions of features and porosity condition for the defect-centric approach at 1.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g011
Figure 12. Distributions of features and porosity condition for the defect-centric approach at 2.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Figure 12. Distributions of features and porosity condition for the defect-centric approach at 2.0 mm voxel size. The porosity sub-figure presents the count of voxels for each condition and the other sub-figures present the normalised distribution for each porosity condition. Blue = non-porous, red = porous.
Applsci 14 04367 g012
Figure 13. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 0.5 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 13. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 0.5 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g013
Figure 14. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 1.0 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 14. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 1.0 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g014
Figure 15. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 2.0 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 15. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 2.0 mm voxel size with random undersampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g015
Figure 16. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 0.5 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 16. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 0.5 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g016
Figure 17. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 1.0 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 17. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 1.0 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g017
Figure 18. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 2.0 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Figure 18. Overall porosity prediction accuracy from 5-fold cross-validation and test data at 2.0 mm voxel size with synthetic minority oversampling for class balancing. Each model has 3 or 7 input features and uses uniform or defect-centric discretisation.
Applsci 14 04367 g018
Table 1. Summary of collected data.
Table 1. Summary of collected data.
Parameter TypeParameterDescription
Machine process settingsLaser PowerPower setting of the laser pulse in percent of maximum
Point distanceDistance in microns between successive laser pulses
Hatch distanceDistance in microns between adjacent tracks of laser pulses
DurationDuration in microseconds of the laser pulse
Machine sensor dataLaserVIEWPhotodiodes monitoring specific regions of the emission spectrum of the laser/meltpool. Details in the text
MeltVIEWPlasma
MeltVIEWMeltPool
X positionSpatial coordinates of data points used only in alignment step. Not used as inputs to machine learning models
Y position
Z position
Applied classification labelsPorosityBinary classification (porous or non-porous) using pore data obtained from CT scans
Porosity typeBinary classification (keyhole or lack-of-fusion) using pore data obtained from CT scans
Table 2. Parameters for machine learning models.
Table 2. Parameters for machine learning models.
k-Nearest NeighboursBagged Decision TreesNeural Network
k = 10
Distance metric: Euclidian
Distance weight: equal
Standardise data: yes
Ensemble method: bag
Learner type: decision tree
Max number of splits: 2 × 105
Number of learners: 30
Number of predictors: all
Fully connected layers: 1
Layer size: 25
Activation: ReLU
Iteration limit 1000
Regularisation strength: 0
Standardise data: yes
Table 3. Ranges for model size, prediction rate, and training time.
Table 3. Ranges for model size, prediction rate, and training time.
Model TypeModel Size (MB)Prediction Rate (s−1)Training Time (min)
Bagged Trees15–2000 6 × 10 4 1 × 10 5 0.25–50
Nearest Neighbours1–200 8 × 10 3 4 × 10 4 0.05–4
Neural Network0.1–14 1 × 10 6 2 × 10 6 3–280
Table 4. Accuracy of classifiers for porosity type: keyhole or lack-of-fusion.
Table 4. Accuracy of classifiers for porosity type: keyhole or lack-of-fusion.
Voxel Size (mm)Model TypeValidation Accuracy (%)Test Accuracy (%)
0.5Bagged trees69.359.8
KNN65.454.6
NN60.363.0
1.0Bagged trees67.752.6
KNN64.652.5
NN65.154.5
2.0Bagged trees78.873.0
KNN72.862.5
NN68.062.4
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

George, A.; Trevisan Mota, M.; Maguire, C.; O’Callaghan, C.; Roche, K.; Papakostas, N. Using Voxelisation-Based Data Analysis Techniques for Porosity Prediction in Metal Additive Manufacturing. Appl. Sci. 2024, 14, 4367. https://doi.org/10.3390/app14114367

AMA Style

George A, Trevisan Mota M, Maguire C, O’Callaghan C, Roche K, Papakostas N. Using Voxelisation-Based Data Analysis Techniques for Porosity Prediction in Metal Additive Manufacturing. Applied Sciences. 2024; 14(11):4367. https://doi.org/10.3390/app14114367

Chicago/Turabian Style

George, Abraham, Marco Trevisan Mota, Conor Maguire, Ciara O’Callaghan, Kevin Roche, and Nikolaos Papakostas. 2024. "Using Voxelisation-Based Data Analysis Techniques for Porosity Prediction in Metal Additive Manufacturing" Applied Sciences 14, no. 11: 4367. https://doi.org/10.3390/app14114367

APA Style

George, A., Trevisan Mota, M., Maguire, C., O’Callaghan, C., Roche, K., & Papakostas, N. (2024). Using Voxelisation-Based Data Analysis Techniques for Porosity Prediction in Metal Additive Manufacturing. Applied Sciences, 14(11), 4367. https://doi.org/10.3390/app14114367

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