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

Segmenting spatter particles on additively manufactured surfaces using deep learning

관련 모빌리티 소재 · (2) 샤무드(인공피혁)

기본 정보

저자
  1. Hwee Ping Ng — Advanced Remanufacturing & Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR), 3 CleanTech Loop, #01-01 CleanTech Two, Singapore, 637143, Singapore
  2. Qijian Chan — Advanced Remanufacturing & Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR), 3 CleanTech Loop, #01-01 CleanTech Two, Singapore, 637143, Singapore
  3. Zheng Jie Tan — Advanced Remanufacturing & Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR), 3 CleanTech Loop, #01-01 CleanTech Two, Singapore, 637143, Singapore
  4. Ronnie Ssebaggala — Advanced Remanufacturing & Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR), 3 CleanTech Loop, #01-01 CleanTech Two, Singapore, 637143, Singapore|||EPSRC Future Advanced Metrology Hub, Centre for Precision Technologies, School of Computing and Engineering, University of Huddersfield, Huddersfield HD1 3DH, United Kingdom
  5. Joseph Lifton — Advanced Remanufacturing & Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR), 3 CleanTech Loop, #01-01 CleanTech Two, Singapore, 637143, Singapore|||Mechanical Engineering, Faculty of Engineering and Physical Sciences, University of Southampton, Southampton, SO17 1BJ, United Kingdom
DOI
10.1088/2051-672x/ada6e1
저널
Surface Topography Metrology and Properties
발행년도
2025
발행기관
IOP Publishing
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1088/2051-672x/ada6e1
토픽
Electron and X-Ray Spectroscopy Techniques
OpenAlex ID
W4406462676

평가 내용

관련도
관련
사업분야
모빌리티 소재 · (2) 샤무드(인공피혁)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '모빌리티 소재 > 샤무드(인공피혁)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Abstract Metal additively manufactured (AM) surfaces do not exhibit the same surface features as machined surfaces. Rather than cutting marks, the additive surface may display surface features such as spatter particles, weld tracks, cracks, and surface breaking pores. These features are not well described by surface height parameters that were developed for machined surfaces. Therefore, an AM specific surface characterisation approach is required; feature based surface characterisation is a promising approach, but it requires surface features to be manually segmented which is a subjective process. In this work, a U-Net spatter particle segmentation algorithm is developed that removes the subjectivity of manual surface feature segmentation. A U-Net model is trained to segment spatter particles from optical measurements of 20 different metal AM samples. The performance of the U-Net segmentation algorithm is compared to segmenting the spatter particles using manual thresholding. The results show that the U-Net segmentation approach outperforms manual segmentations for 2 of 3 test samples considered. It is found that for 2 of 3 samples, the U-Net segmentation algorithm detects spatter particles that are missed by the manual segmentation approach. It is concluded that further training of the U-Net approach is required before it can fully supersede manual segmentation. In the future, it may be possible to replace human operators that subjectively segment surface features with robust machine learning-based surface feature segmentation algorithms. This novel application of U-Net for AM surface feature segmentation has the potential to automate surface characterisation for metal AM process optimisation, and for quality control in production environments.

본문 23,249자

본문 펼치기
Metal additively manufactured (AM) surfaces do not exhibit the same surface features as machined surfaces.Rather than cutting marks, the additive surface may display surface features such as spatter particles, weld tracks, cracks, and surface breaking pores.These features are not well described by surface height parameters that were developed for machined surfaces.Therefore, an AM specific surface characterisation approach is required; feature based surface characterisation is a promising approach, but it requires surface features to be manually segmented which is a subjective process.In this work, a U-Net spatter particle segmentation algorithm is developed that removes the subjectivity of manual surface feature segmentation.A U-Net model is trained to segment spatter particles from optical measurements of 20 different metal AM samples.The performance of the U-Net segmentation algorithm is compared to segmenting the spatter particles using manual thresholding.The results show that the U-Net segmentation approach outperforms manual segmentations for 2 of 3 test samples considered.It is found that for 2 of 3 samples, the U-Net segmentation algorithm detects spatter particles that are missed by the manual segmentation approach.It is concluded that further training of the U-Net approach is required before it can fully supersede manual segmentation.In the future, it may be possible to replace human operators that subjectively segment surface features with robust machine learning-based surface feature segmentation algorithms.This novel application of U-Net for AM surface feature segmentation has the potential to automate surface characterisation for metal AM process optimisation, and for quality control in production environments. Introduction Additive manufacturing (AM) enables the fabrication of intricate metal components, however, the assessment of the surface quality of AM components remains challenging.When compared to machined surfaces, AM surfaces tend to have higher roughness and very different surface features, making traditional methods of surface roughness characterisation less meaningful.Therefore, there is a need for new approaches to characterise AM surface quality and relating it to the intended function of the surface.Traditional surface roughness characterisation methods assume a random surface height distribution, which does not align well with AM surfaces.It is apparent that a feature-based characterisation approach would be more logical and insightful, such an approach involves segmenting individual surface features and evaluating their dimensional and spatial attributes.Currently, segmenting surface features in AM components relies on human operators who select threshold values or employ subjective segmentation algorithms like watershed segmentation [1].This subjectivity introduces variability in the surface characterisation and hampers the reliability of the assessment.Therefore, there is a need for a non-subjective feature segmentation approach.In our work, we explore the implementation of a convolutional neural network based segmentation algorithm to achieve a less subjective approach to assessing the surface quality of AM components. Introduction Feature-based surface characterisation is a wellestablished approach to surface texture metrology.It involves the isolation and dimensional evaluation of pertinent topographic formations.This method diverges from techniques that offer a broad statistical overview of the surface, instead providing a more comprehensive understanding of individual features.These features can encompass elements such as peaks, valleys, ridges, and furrows, contingent on the surface's nature.Each feature is quantified based on its geometric properties (e.g., area, width, height) and an entire surface can be characterised by the statistical properties of feature aggregations [2].By concentrating on individual features, a more detailed comprehension of the surface texture can be achieved.Patterns and structures that might be overlooked by a basic statistical analysis can be detected.This is particularly beneficial in areas like additive manufacturing where minor variations in surface texture can significantly impact a part's performance, such as the presence of a partially fused particle, or a surface breaking crack. Introduction Segmentation, an essential step in feature-based characterisation, involves dividing the measured surface topography into regions to separate the targeted features from their surroundings [3].The precision of defining the geometric boundaries of each feature directly influences the calculation of the feature's geometric properties [4].Previous work has investigated the use of morphologic segmentation algorithms for segmenting and characterising individual surface features [5], however, such an approach requires an expert user to select the segmentation parameters, which introduces subjectivity to the segmentation process.This subjectivity can be overcome by using a machine learning segmentation approach, where no human judgement is required to segment surface features. Introduction Machine learning is increasingly used in additive manufacturing process control: from establishing correlations between process parameters and surface texture measurements [6], predicting a material's properties based on print parameters [7], isolating spattered material during the AM process [8], segmenting particles from shadowgraphs [9], segmenting particles from mineral samples acquired with micro-CT [10], classifying spatter using acoustic signals during the AM process [11], and predicting the porosity of AM parts [12].In this study, we employ the U-Net deep learning architecture to segment and subsequently characterise spatter particles from areal surface topography data of AM samples.We choose to focus on the segmentation of spatter particles as they are a well-defined metal AM surface feature that have a direct impact on the overall surface quality and mechanical properties of a component [13]. Introduction U-Net, originally designed for biomedical image segmentation [14], offers a tailored architecture optimised for discerning intricate shapes and fine details in image segmentation tasks.The U-Net architecture has been applied for identifying layer-wise porosity defects in metal AM processes [15], however it has not yet been used for segmenting spatter particles for AM surface quality assessment.This novel application of U-Net for segmenting spatter particles is expected to overcome the subjectivity associated with manual surface feature segmentation, leading to improved surface quality assessment that can be used for quality assurance in production environments, or for AM process parameter optimisation. Methods The methodology adopted is as follows: a set of metal AM samples are fabricated with varying degrees of surface roughness (section 2.1); the AM surfaces are measured optically (section 2.2); a method for segmenting spatter particles manually is presented in section 2.3, and the U-Net segmentation model is described in section 2.4; results of the U-Net spatter particle segmentation method are presented in section 3 and compared to the manual segmentation approach. Test samples A total of 23 10 × 10 × 10 mm 3 test cubes are fabricated, an example test cube is shown in figure 1.The cubes are produced using an EOS M290 laser powder bed fusion system (EOS GmbH from Germany) and EOS AlSi10 Mg powder. Test samples During the printing of the test cubes, five key print parameters are varied: infill laser power, infill scan speed, infill hatch distance, contour laser power, and contour scan speed.Here, we use the contour laser power and contour scan speed to influence the surface quality.Surface texture improves when laser power is increased towards an optimal value as the higher laser power gives rise to a wider melt pool [16][17][18], but deteriorates past the optimal laser power due to hump formation [17].Higher scan speeds past an optimal value results in porosity, discontinuities and cracks, resulting in a rougher surface [16,18].The infill exposure parameter is also varied so that the cubes can be reused for further porosity studies, but this should not affect the surface quality.The full exposure parameters are presented for completeness in the table of print settings in the appendix. Test samples Three out of the 23 fabricated cubes are designated for testing the trained U-Net model, note that the surfaces of the 3 test cubes are not used to train the U-Net model.The test surfaces exhibit distinct features from one another, enabling a comprehensive evaluation of the model's performance.The selected surfaces are from the cubes: I11, I9, and G1. Optical measurement of surfaces The test cubes′ surfaces are measured using the Alicona Infinite Focus G4 optical focus variation microscope (Bruker Alicona Imaging GmbH, Austria).This high-precision system records the 3D surface height data which is then stored as a text file of x y z , , surface coordinates.These datasets are used to create surface images for manual spatter segmentation and the U-Net model training. Optical measurement of surfaces The optical measurement settings are as follows: 10 μm lateral resolution, 1 μm vertical resolution, 5× magnification utilising coaxial illumination.A measurement area of 7 mm by 7 mm is extracted per scanned surface for analysis. Spatter particle segmentation using manual thresholding Spatter particle segmentation employing manual thresholding encompasses a series of data processing steps.Initial preprocessing involves cropping the surface data into a square region of 6 mm by 6 mm.Following this, a leveling operation is executed by fitting a least squares plane and subtracting it from the surface.A high pass filter is then applied to remove form and waviness.Subsequently, the data undergoes a thresholding process based on the z height of the surface; this operation isolates predominant particle features, yielding a binary mask wherein pixel values indicate spatter particle presence or absence.In a subsequent stage of processing, blob detection is used to remove particles smaller than 3 × 3 pixels, it is assumed that the lateral sampling resolution of the surface measurement is insufficient to resolve such particles.Furthermore, particles with a circularity lower than 0.5 to 0.7 are removed, this is done based on the assumption that spatter particles are approximately circular in shape.The workflow for segmenting spatter particles using manual thresholding is shown in figure 2. Spatter particle segmentation using U-Net The U-Net model undergoes training using 20 of the manually segmented datasets.The measured surface data is converted into a 16-bit greyscale image and then split into 100 × 100-pixel sub images.The particle masks generated from the manual segmentation are also split into 100 × 100-pixel sub masks.Thus, the U-Net model is trained on the sub-images and corresponding sub-masks.Through the training process the U-Net model learns patterns and features in order to distinguish spatter particles in the surface Spatter particle characterisation The particle segmentation mask generated by the U-Net model enables the evaluation of individual particle characteristics alongside statistics of the particle characteristics for the entire surface.Individual particle characteristics include area, volume, height and diameter, statistics include min, max, mean, standard deviation.These statistics and particle characteristics are evaluated from the particle segmentation mask using a contour finding algorithm in OpenCV [19]. Results A comparison between manual segmentation and the developed U-Net based segmentation of spatter particles for the 3 test samples is given. Results Figure 5 shows the segmentation results for the first test sample.The surface data is shown in Figure 6(a) shows the surface of the first test sample as a colourmap.The U-Net particle segmentation mask is used to remove the particles from the surface, the result is shown in figure 6(b).Removing the particles reveals surface details that were previously overshadowed by the particles, for example, the weldtracks of the surface become easier to visualise.Figure 6(c) shows the segmented spatter particles only, plotted as a heightmap, this is a useful visualisation of particle height, size, and spatial distribution. Results Other than facilitating visual inspection of the surface, particle segmentation allows particle statistics to be evaluated.Particle statistics for surface I11 segmented using the U-Net algorithm are given in table 1, whist the characteristics for I11 using manual segmentation are given in table 2, note that an additional 41 spatter particles were detected using the U-Net algorithm.It is possible to evaluate many more particle statistics than those given, but a selection is provided as an example of how the segmentation tool might be used to inform engineering decisions about the quality of the AM surface. Results Figure 7(a) shows the surface of the second test sample.As for the first sample, the U-Net segmentation detects particles that are missed by the manual approach, as highlighted by the many blue coloured particles in figure 7 and particles only 8(c).As before, this visualisation reveals greater detail of the weld-tracks when the particles are removed.Table 3 lists the characteristics of surface I9 segmented using the U-Net algorithm, whilst table 4 lists the characteristics of I9 segmented using manual segmentation, note that an additional 112 spatter particles were detected using the U-Net algorithm.Comparing the values in tables 3 and 4 to tables 1 and 2, it is seen that the surface I9 has more particles than I11, leading to to the total particle area for the I9 surface being much larger.Removing the particles using the mask is not as effective for the third surface as for the previous two, as shown in figures 10(a) and (b).This is again due to the large particle in the bottom left of the surface; even after being removed, its base is still high in comparison to other surface features, thus not as much additional surface detail is revealed when compared the previous two surfaces.The feature statistics for the third surface (G1) are given in tables 5 and 6 for the U-Net segmentation and manual segmentation, respectively.Note that the manual and U-Net segmented particle characteristics are very similar, unlike the first two surfaces, and that the U-Net algorithm detected 2 fewer particles then the manual approach.The surface has the fewest number of particles when segmented using U-Net, however it does not have the smallest total particle area, this is because the mean particle area of the third surface is larger than the first, indicating that the third surface has fewer, but larger particles than the first surface; this kind of feature based characterisation is expected to be very useful to engineers working on optimising the quality of additively manufactured surfaces by varying process parameters. Discussion A U-Net based spatter particle segmentation algorithm has been developed for characterising metal additively manufactured surfaces.The results show that for 2 of 3 samples tested, the developed approach can successfully segment spatter particle features that are otherwise missed by a manual, subjective segmentation approach.However, for one of the considered samples, the U-Net approach missed some obvious particles, thus there is room for improvement.The appeal of the developed approach is that once trained, the segmentation algorithm does not require any variables to be adjusted by subjective human operators.This means that two operators with different levels of experience and skill can process the same data and arrive at the same result, whist for the manual segmentation approach used here, the operator must select a high-pass filter wavelength, a height threshold, and a circularity threshold, a slight change in these parameters will influence the segmentation result. Discussion The disadvantage of the proposed approach is the need for sufficient, good quality training data.Generating good quality training data is a labour-intensive process, and having sufficient training data is sometimes difficult due to limited resources. Discussion It is desirable to determine the accuracy of the developed method for segmenting and characterising spatter particles, however, this would require developing an AM sample with calibrated spatter particles.This is beyond the scope of the present work, but developing AM samples with calibrated surface features is highly desirable as it will allow interlaboratory comparisons of measurement instruments, this will be considered in future work. Discussion In future work, we will continue to train the developed U-Net model and use it with a view to characterise AM surface roughness as a function of print parameters, we expect to then be able to select print parameters that yield the surface characteristics that we desire.For example, minimising the number of spatter particles, and the total particle area, alongside minimising the mean particle height.Future work could also include developing segmentation algorithms for different surface features, such as cracks, or surface breaking pores. Conclusions It can be concluded that a U-Net based spatter particle segmentation algorithm can detect AM surface features that are not be detectable using a manual segmentation approach.The results showed that the implemented U-Net algorithm detected 43 and 112 additional spatter particles for samples 1 and 2 respectively, however, for sample 3 the U-Net algorithm missed 2 spatter particles.Based on these results we recommend further training of the U-Net approach is required before it can fully supersede manual segmentation. Conclusions This work demonstrates that machine learning based segmentation algorithms are well-suited for the segmentation of additively manufactured surfaces, since these surfaces have well-defined and reproduceable surface features, such as spatter particles.The disadvantage of a machine learning approach is the need for a sufficient number of high-quality training data sets; generating such training data is a manual timeconsuming process. Conclusions This work demonstrates that the U-Net segmentation algorithm can be used to minimise user influence in feature-based surface characterisation; users simply need to input the surface data and the algorithm will segment the surface automatically.Subsequent characterisation of the segmentation result can also be automated, thus removing the human operator from the entire surface characterisation process.Such an approach could be adopted to automate a quality control process in a production environment, or to automate process optimisation in a research and development environment. Figure 1 . Figure 1.An example of the AM samples used to test the developed machine learning spatter particle segmentation method. Figure 2 . Figure 2. Pipeline for segmenting spatter particles on AM surfaces using manual thresholding. Figure 3 . Figure 3. Steps taken to train the U-Net model using optical measurements of 20 AM samples, alongside using the trained model to segment optical measurements of 3 AM samples not used in the training step. Figure 4 . Figure 4.The U-Net architecture adopted in the machine learning based spatter particle segmentation method. Figure 5 . Figure 5.Comparison of segmentation result for sample I11 using the manual segmentation method and the U-Net based segmentation method.(a) surface image of sample I11, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only. Figure 6 . Figure 6.(a) I11 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated. figure 5 ( figure 5(a).A comparison of the manual and U-Net segmentation is shown in figure 5(b): red indicates particles detected by both approaches, blue indicates particles detected using the U-Net approach only, white indicates particles detected using the manual approach only.The manual segmentation result is shown in figure 5(c) and exhibits limitations in capturing intricate features, as evidenced by 3 undetected spatter particles highlighted in the figure, these 3 particles are however successfully detected by the U-Net approach shown in figure 5(d).Figure 6(a) shows the surface of the first test sample as a colourmap.The U-Net particle segmentation mask is used to remove the particles from the surface, the result is shown in figure 6(b).Removing the Figure 7 . Figure 7.Comparison of segmentation result for sample I9 using the conventional manual segmentation method and the U-Net based segmentation method.(a) surface image of sample I9, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only. Figure 7 . (b).A side-by-side comparison of the segmentation results is given in figures 7(c) and (d). Figure 7 . Figure 8(a) shows the surface as a height map, alongside the surface with the particles removed 8(b) Figure 8 . Figure 8.(a) I9 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated. Figure 9 presents a scenario where the U-Net segmentation has missed some particles despite successfully capturing intricate features in the previous examples.The third surface is shown in figure 9(a), the particles missed by the U-Net segmentation are coloured white in figure 9(b).A side-by-side comparison of the segmentation results is given in figures 9(c) and (d).The lower performance of the U-Net segmentation may be due to the presence of a very large particle in the bottom left of the surface, perhaps this large particle causes smaller particles to be overshadowed and missed by U-Net due to the limited bandwidth of the 16-bit data type used to represent the surface data. Figure 9 . Figure 9.Comparison of segmentation result for sample G1 using a manual segmentation method and a U-Net based segmentation method.(a) surface image of sample G1, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only. Figure 10 . Figure 10.(a) G1 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated. Table 1 . Statistics of detected spatter particles on the I11 surface using the U-Net based segmentation method. Table 2 . Statistics of detected spatter particles on the I11 surface using the manual segmentation method. Table 3 . Statistics of detected spatter particles on the I9 surface using the U-Net based segmentation method. Table 4 . Statistics of detected spatter particles on the I9 surface using the manual segmentation method. Table 5 . Statistics of detected spatter particles on the G1 surface using the U-Net based segmentation method. Table 6 . Statistics of detected spatter particles on the G1 surface using the manual segmentation method.

섹션 본문 46문단 · 22,570자

(제목 없음)

1Metal additively manufactured (AM) surfaces do not exhibit the same surface features as machined surfaces.Rather than cutting marks, the additive surface may display surface features such as spatter particles, weld tracks, cracks, and surface breaking pores.These features are not well described by surface height parameters that were developed for machined surfaces.Therefore, an AM specific surface characterisation approach is required; feature based surface characterisation is a promising approach, but it requires surface features to be manually segmented which is a subjective process.In this work, a U-Net spatter particle segmentation algorithm is developed that removes the subjectivity of manual surface feature segmentation.A U-Net model is trained to segment spatter particles from optical measurements of 20 different metal AM samples.The performance of the U-Net segmentation algorithm is compared to segmenting the spatter particles using manual thresholding.The results show that the U-Net segmentation approach outperforms manual segmentations for 2 of 3 test samples considered.It is found that for 2 of 3 samples, the U-Net segmentation algorithm detects spatter particles that are missed by the manual segmentation approach.It is concluded that further training of the U-Net approach is required before it can fully supersede manual segmentation.In the future, it may be possible to replace human operators that subjectively segment surface features with robust machine learning-based surface feature segmentation algorithms.This novel application of U-Net for AM surface feature segmentation has the potential to automate surface characterisation for metal AM process optimisation, and for quality control in production environments.

Introduction

2Additive manufacturing (AM) enables the fabrication of intricate metal components, however, the assessment of the surface quality of AM components remains challenging.When compared to machined surfaces, AM surfaces tend to have higher roughness and very different surface features, making traditional methods of surface roughness characterisation less meaningful.Therefore, there is a need for new approaches to characterise AM surface quality and relating it to the intended function of the surface.Traditional surface roughness characterisation methods assume a random surface height distribution, which does not align well with AM surfaces.It is apparent that a feature-based characterisation approach would be more logical and insightful, such an approach involves segmenting individual surface features and evaluating their dimensional and spatial attributes.Currently, segmenting surface features in AM components relies on human operators who select threshold values or employ subjective segmentation algorithms like watershed segmentation [1].This subjectivity introduces variability in the surface characterisation and hampers the reliability of the assessment.Therefore, there is a need for a non-subjective feature segmentation approach.In our work, we explore the implementation of a convolutional neural network based segmentation algorithm to achieve a less subjective approach to assessing the surface quality of AM components.

3Feature-based surface characterisation is a wellestablished approach to surface texture metrology.It involves the isolation and dimensional evaluation of pertinent topographic formations.This method diverges from techniques that offer a broad statistical overview of the surface, instead providing a more comprehensive understanding of individual features.These features can encompass elements such as peaks, valleys, ridges, and furrows, contingent on the surface's nature.Each feature is quantified based on its geometric properties (e.g., area, width, height) and an entire surface can be characterised by the statistical properties of feature aggregations [2].By concentrating on individual features, a more detailed comprehension of the surface texture can be achieved.Patterns and structures that might be overlooked by a basic statistical analysis can be detected.This is particularly beneficial in areas like additive manufacturing where minor variations in surface texture can significantly impact a part's performance, such as the presence of a partially fused particle, or a surface breaking crack.

4Segmentation, an essential step in feature-based characterisation, involves dividing the measured surface topography into regions to separate the targeted features from their surroundings [3].The precision of defining the geometric boundaries of each feature directly influences the calculation of the feature's geometric properties [4].Previous work has investigated the use of morphologic segmentation algorithms for segmenting and characterising individual surface features [5], however, such an approach requires an expert user to select the segmentation parameters, which introduces subjectivity to the segmentation process.This subjectivity can be overcome by using a machine learning segmentation approach, where no human judgement is required to segment surface features.

5Machine learning is increasingly used in additive manufacturing process control: from establishing correlations between process parameters and surface texture measurements [6], predicting a material's properties based on print parameters [7], isolating spattered material during the AM process [8], segmenting particles from shadowgraphs [9], segmenting particles from mineral samples acquired with micro-CT [10], classifying spatter using acoustic signals during the AM process [11], and predicting the porosity of AM parts [12].In this study, we employ the U-Net deep learning architecture to segment and subsequently characterise spatter particles from areal surface topography data of AM samples.We choose to focus on the segmentation of spatter particles as they are a well-defined metal AM surface feature that have a direct impact on the overall surface quality and mechanical properties of a component [13].

6U-Net, originally designed for biomedical image segmentation [14], offers a tailored architecture optimised for discerning intricate shapes and fine details in image segmentation tasks.The U-Net architecture has been applied for identifying layer-wise porosity defects in metal AM processes [15], however it has not yet been used for segmenting spatter particles for AM surface quality assessment.This novel application of U-Net for segmenting spatter particles is expected to overcome the subjectivity associated with manual surface feature segmentation, leading to improved surface quality assessment that can be used for quality assurance in production environments, or for AM process parameter optimisation.

Methods

7The methodology adopted is as follows: a set of metal AM samples are fabricated with varying degrees of surface roughness (section 2.1); the AM surfaces are measured optically (section 2.2); a method for segmenting spatter particles manually is presented in section 2.3, and the U-Net segmentation model is described in section 2.4; results of the U-Net spatter particle segmentation method are presented in section 3 and compared to the manual segmentation approach.

Test samples

8A total of 23 10 × 10 × 10 mm 3 test cubes are fabricated, an example test cube is shown in figure 1.The cubes are produced using an EOS M290 laser powder bed fusion system (EOS GmbH from Germany) and EOS AlSi10 Mg powder.

9During the printing of the test cubes, five key print parameters are varied: infill laser power, infill scan speed, infill hatch distance, contour laser power, and contour scan speed.Here, we use the contour laser power and contour scan speed to influence the surface quality.Surface texture improves when laser power is increased towards an optimal value as the higher laser power gives rise to a wider melt pool [16][17][18], but deteriorates past the optimal laser power due to hump formation [17].Higher scan speeds past an optimal value results in porosity, discontinuities and cracks, resulting in a rougher surface [16,18].The infill exposure parameter is also varied so that the cubes can be reused for further porosity studies, but this should not affect the surface quality.The full exposure parameters are presented for completeness in the table of print settings in the appendix.

10Three out of the 23 fabricated cubes are designated for testing the trained U-Net model, note that the surfaces of the 3 test cubes are not used to train the U-Net model.The test surfaces exhibit distinct features from one another, enabling a comprehensive evaluation of the model's performance.The selected surfaces are from the cubes: I11, I9, and G1.

Optical measurement of surfaces

11The test cubes′ surfaces are measured using the Alicona Infinite Focus G4 optical focus variation microscope (Bruker Alicona Imaging GmbH, Austria).This high-precision system records the 3D surface height data which is then stored as a text file of x y z , , surface coordinates.These datasets are used to create surface images for manual spatter segmentation and the U-Net model training.

12The optical measurement settings are as follows: 10 μm lateral resolution, 1 μm vertical resolution, 5× magnification utilising coaxial illumination.A measurement area of 7 mm by 7 mm is extracted per scanned surface for analysis.

Spatter particle segmentation using manual thresholding

13Spatter particle segmentation employing manual thresholding encompasses a series of data processing steps.Initial preprocessing involves cropping the surface data into a square region of 6 mm by 6 mm.Following this, a leveling operation is executed by fitting a least squares plane and subtracting it from the surface.A high pass filter is then applied to remove form and waviness.Subsequently, the data undergoes a thresholding process based on the z height of the surface; this operation isolates predominant particle features, yielding a binary mask wherein pixel values indicate spatter particle presence or absence.In a subsequent stage of processing, blob detection is used to remove particles smaller than 3 × 3 pixels, it is assumed that the lateral sampling resolution of the surface measurement is insufficient to resolve such particles.Furthermore, particles with a circularity lower than 0.5 to 0.7 are removed, this is done based on the assumption that spatter particles are approximately circular in shape.The workflow for segmenting spatter particles using manual thresholding is shown in figure 2.

Spatter particle segmentation using U-Net

14The U-Net model undergoes training using 20 of the manually segmented datasets.The measured surface data is converted into a 16-bit greyscale image and then split into 100 × 100-pixel sub images.The particle masks generated from the manual segmentation are also split into 100 × 100-pixel sub masks.Thus, the U-Net model is trained on the sub-images and corresponding sub-masks.Through the training process the U-Net model learns patterns and features in order to distinguish spatter particles in the surface

Spatter particle characterisation

15The particle segmentation mask generated by the U-Net model enables the evaluation of individual particle characteristics alongside statistics of the particle characteristics for the entire surface.Individual particle characteristics include area, volume, height and diameter, statistics include min, max, mean, standard deviation.These statistics and particle characteristics are evaluated from the particle segmentation mask using a contour finding algorithm in OpenCV [19].

Results

16A comparison between manual segmentation and the developed U-Net based segmentation of spatter particles for the 3 test samples is given.

17Figure 5 shows the segmentation results for the first test sample.The surface data is shown in Figure 6(a) shows the surface of the first test sample as a colourmap.The U-Net particle segmentation mask is used to remove the particles from the surface, the result is shown in figure 6(b).Removing the particles reveals surface details that were previously overshadowed by the particles, for example, the weldtracks of the surface become easier to visualise.Figure 6(c) shows the segmented spatter particles only, plotted as a heightmap, this is a useful visualisation of particle height, size, and spatial distribution.

18Other than facilitating visual inspection of the surface, particle segmentation allows particle statistics to be evaluated.Particle statistics for surface I11 segmented using the U-Net algorithm are given in table 1, whist the characteristics for I11 using manual segmentation are given in table 2, note that an additional 41 spatter particles were detected using the U-Net algorithm.It is possible to evaluate many more particle statistics than those given, but a selection is provided as an example of how the segmentation tool might be used to inform engineering decisions about the quality of the AM surface.

19Figure 7(a) shows the surface of the second test sample.As for the first sample, the U-Net segmentation detects particles that are missed by the manual approach, as highlighted by the many blue coloured particles in figure 7 and particles only 8(c).As before, this visualisation reveals greater detail of the weld-tracks when the particles are removed.Table 3 lists the characteristics of surface I9 segmented using the U-Net algorithm, whilst table 4 lists the characteristics of I9 segmented using manual segmentation, note that an additional 112 spatter particles were detected using the U-Net algorithm.Comparing the values in tables 3 and 4 to tables 1 and 2, it is seen that the surface I9 has more particles than I11, leading to to the total particle area for the I9 surface being much larger.Removing the particles using the mask is not as effective for the third surface as for the previous two, as shown in figures 10(a) and (b).This is again due to the large particle in the bottom left of the surface; even after being removed, its base is still high in comparison to other surface features, thus not as much additional surface detail is revealed when compared the previous two surfaces.The feature statistics for the third surface (G1) are given in tables 5 and 6 for the U-Net segmentation and manual segmentation, respectively.Note that the manual and U-Net segmented particle characteristics are very similar, unlike the first two surfaces, and that the U-Net algorithm detected 2 fewer particles then the manual approach.The surface has the fewest number of particles when segmented using U-Net, however it does not have the smallest total particle area, this is because the mean particle area of the third surface is larger than the first, indicating that the third surface has fewer, but larger particles than the first surface; this kind of feature based characterisation is expected to be very useful to engineers working on optimising the quality of additively manufactured surfaces by varying process parameters.

Discussion

20A U-Net based spatter particle segmentation algorithm has been developed for characterising metal additively manufactured surfaces.The results show that for 2 of 3 samples tested, the developed approach can successfully segment spatter particle features that are otherwise missed by a manual, subjective segmentation approach.However, for one of the considered samples, the U-Net approach missed some obvious particles, thus there is room for improvement.The appeal of the developed approach is that once trained, the segmentation algorithm does not require any variables to be adjusted by subjective human operators.This means that two operators with different levels of experience and skill can process the same data and arrive at the same result, whist for the manual segmentation approach used here, the operator must select a high-pass filter wavelength, a height threshold, and a circularity threshold, a slight change in these parameters will influence the segmentation result.

21The disadvantage of the proposed approach is the need for sufficient, good quality training data.Generating good quality training data is a labour-intensive process, and having sufficient training data is sometimes difficult due to limited resources.

22It is desirable to determine the accuracy of the developed method for segmenting and characterising spatter particles, however, this would require developing an AM sample with calibrated spatter particles.This is beyond the scope of the present work, but developing AM samples with calibrated surface features is highly desirable as it will allow interlaboratory comparisons of measurement instruments, this will be considered in future work.

23In future work, we will continue to train the developed U-Net model and use it with a view to characterise AM surface roughness as a function of print parameters, we expect to then be able to select print parameters that yield the surface characteristics that we desire.For example, minimising the number of spatter particles, and the total particle area, alongside minimising the mean particle height.Future work could also include developing segmentation algorithms for different surface features, such as cracks, or surface breaking pores.

Conclusions

24It can be concluded that a U-Net based spatter particle segmentation algorithm can detect AM surface features that are not be detectable using a manual segmentation approach.The results showed that the implemented U-Net algorithm detected 43 and 112 additional spatter particles for samples 1 and 2 respectively, however, for sample 3 the U-Net algorithm missed 2 spatter particles.Based on these results we recommend further training of the U-Net approach is required before it can fully supersede manual segmentation.

25This work demonstrates that machine learning based segmentation algorithms are well-suited for the segmentation of additively manufactured surfaces, since these surfaces have well-defined and reproduceable surface features, such as spatter particles.The disadvantage of a machine learning approach is the need for a sufficient number of high-quality training data sets; generating such training data is a manual timeconsuming process.

26This work demonstrates that the U-Net segmentation algorithm can be used to minimise user influence in feature-based surface characterisation; users simply need to input the surface data and the algorithm will segment the surface automatically.Subsequent characterisation of the segmentation result can also be automated, thus removing the human operator from the entire surface characterisation process.Such an approach could be adopted to automate a quality control process in a production environment, or to automate process optimisation in a research and development environment.

Figure 1 .

27Figure 1.An example of the AM samples used to test the developed machine learning spatter particle segmentation method.

Figure 2 .

28Figure 2. Pipeline for segmenting spatter particles on AM surfaces using manual thresholding.

Figure 3 .

29Figure 3. Steps taken to train the U-Net model using optical measurements of 20 AM samples, alongside using the trained model to segment optical measurements of 3 AM samples not used in the training step.

Figure 4 .

30Figure 4.The U-Net architecture adopted in the machine learning based spatter particle segmentation method.

Figure 5 .

31Figure 5.Comparison of segmentation result for sample I11 using the manual segmentation method and the U-Net based segmentation method.(a) surface image of sample I11, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only.

Figure 6 .

32Figure 6.(a) I11 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated.

figure 5 (

33figure 5(a).A comparison of the manual and U-Net segmentation is shown in figure 5(b): red indicates particles detected by both approaches, blue indicates particles detected using the U-Net approach only, white indicates particles detected using the manual approach only.The manual segmentation result is shown in figure 5(c) and exhibits limitations in capturing intricate features, as evidenced by 3 undetected spatter particles highlighted in the figure, these 3 particles are however successfully detected by the U-Net approach shown in figure 5(d).Figure 6(a) shows the surface of the first test sample as a colourmap.The U-Net particle segmentation mask is used to remove the particles from the surface, the result is shown in figure 6(b).Removing the

Figure 7 .

34Figure 7.Comparison of segmentation result for sample I9 using the conventional manual segmentation method and the U-Net based segmentation method.(a) surface image of sample I9, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only.

35(b).A side-by-side comparison of the segmentation results is given in figures 7(c) and (d).

36Figure 8(a) shows the surface as a height map, alongside the surface with the particles removed 8(b)

Figure 8 .

37Figure 8.(a) I9 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated.

Figure 9

38presents a scenario where the U-Net segmentation has missed some particles despite successfully capturing intricate features in the previous examples.The third surface is shown in figure 9(a), the particles missed by the U-Net segmentation are coloured white in figure 9(b).A side-by-side comparison of the segmentation results is given in figures 9(c) and (d).The lower performance of the U-Net segmentation may be due to the presence of a very large particle in the bottom left of the surface, perhaps this large particle causes smaller particles to be overshadowed and missed by U-Net due to the limited bandwidth of the 16-bit data type used to represent the surface data.

Figure 9 .

39Figure 9.Comparison of segmentation result for sample G1 using a manual segmentation method and a U-Net based segmentation method.(a) surface image of sample G1, (b) combination of the manual threshold and U-Net segmentation results, (c) manual threshold result only, (d) U-Net segmentation result only.

Figure 10 .

40Figure 10.(a) G1 surface with particles included, (b) surface without particles, and (c) surface with the particles isolated.

Table 1 .

41Statistics of detected spatter particles on the I11 surface using the U-Net based segmentation method.

Table 2 .

42Statistics of detected spatter particles on the I11 surface using the manual segmentation method.

Table 3 .

43Statistics of detected spatter particles on the I9 surface using the U-Net based segmentation method.

Table 4 .

44Statistics of detected spatter particles on the I9 surface using the manual segmentation method.

Table 5 .

45Statistics of detected spatter particles on the G1 surface using the U-Net based segmentation method.

Table 6 .

46Statistics of detected spatter particles on the G1 surface using the manual segmentation method.

참고문헌 19건

  1. U-Net: Convolutional Networks for Biomedical Image Segmentation Lecture notes in computer science · Springer Science+Business Media · 2015 10.1007/978-3-319-24574-4_28
  2. Morphologic segmentation algorithms for extracting individual surface features from areal surface topography maps Surface Topography Metrology and Properties · IOP Publishing · 2013 10.1088/2051-672x/1/1/015005
  3. Comparison of segmentation techniques to determine the geometric parameters of structured surfaces Surface Topography Metrology and Properties · IOP Publishing · 2014 10.1088/2051-672x/2/4/044004
  4. Feature-based characterisation of signature topography in laser powder bed fusion of metals Measurement Science and Technology · IOP Publishing · 2017 10.1088/1361-6501/aa9e19
  5. Comparison and validation of surface topography segmentation methods for feature-based characterisation of metal powder bed fusion surfaces Surface Topography Metrology and Properties · IOP Publishing · 2019 10.1088/2051-672x/ab520a
  6. Focus Variation Measurement and Prediction of Surface Texture Parameters Using Machine Learning in Laser Powder Bed Fusion Journal of Manufacturing Science and Engineering · ASM International · 2019 10.1115/1.4045415
  7. Influence of laser processing parameters on the surface characteristics of 316L stainless steel manufactured by selective laser melting Materials Today Proceedings · Elsevier BV · 2020 10.1016/j.matpr.2019.12.061
  8. Watershed segmentation of topographical features on freeform surfaces and its application to additively manufactured surfaces Precision Engineering · Elsevier BV · 2020 10.1016/j.precisioneng.2020.02.005
  9. Machine learning shadowgraph for particle size and shape characterization Measurement Science and Technology · IOP Publishing · 2020 10.1088/1361-6501/abae90
  10. Neural network based image segmentation for spatter extraction during laser-based powder bed fusion processing Optics & Laser Technology · Elsevier BV · 2020 10.1016/j.optlastec.2020.106347
  11. Machine learning shadowgraph for particle size and shape characterization Measurement Science and Technology · IOP Publishing · 2020 10.1088/1361-6501/abae90
  12. Deep Learning Based Monitoring of Spatter Behavior by the Acoustic Signal in Selective Laser Melting Sensors · Multidisciplinary Digital Publishing Institute · 2021 10.3390/s21217179
  13. The mechanism of process parameters influencing the AlSi10Mg side surface quality fabricated via laser powder bed fusion Rapid Prototyping Journal · Emerald Publishing Limited · 2021 10.1108/rpj-11-2020-0266
  14. A Review of Spatter in Laser Powder Bed Fusion Additive Manufacturing: In Situ Detection, Generation, Effects, and Countermeasures Micromachines · Multidisciplinary Digital Publishing Institute · 2022 10.3390/mi13081366
  15. Optimization of Wire Arc Additive Manufacturing Process Parameters for Low‐Carbon Steel and Properties Prediction by Support Vector Regression Model steel research international · Wiley · 2023 10.1002/srin.202300369
  16. Deep learning based porosity prediction for additively manufactured laser powder-bed fusion parts Journal of Materials Research and Technology · Elsevier BV · 2023 10.1016/j.jmrt.2023.11.130
  17. ParticleSeg3D: A scalable out-of-the-box deep learning segmentation solution for individual particle characterization from micro CT images in mineral processing and recycling Powder Technology · Elsevier BV · 2023 10.1016/j.powtec.2023.119286
  18. Melt Pool characteristics on surface roughness and printability of 316L stainless steel in laser powder bed fusion Rapid Prototyping Journal · Emerald Publishing Limited · 2024 10.1108/rpj-02-2024-0078
  19. Deep learning-based image segmentation for defect detection in additive manufacturing: an overview The International Journal of Advanced Manufacturing Technology · Springer Science+Business Media · 2024 10.1007/s00170-024-14191-6