Deep Learning for Melt Pool Depth Contour Prediction From Surface Thermal Images via Vision Transformers

Francis Ogoke, Peter Myung-Won Pak, Alexander Myers, Guadalupe Quirarte, Jack L. Beuth, Jonathan Malen, Amir Barati FarimaniAdditive 2024 · DOI

Abstract

Insufficient overlap between the melt pools produced during Laser Powder Bed Fusion (L-PBF) can lead to lack-of-fusion defects and deteriorated mechanical and fatigue performance. In-situ monitoring of the melt pool subsurface morphology requires specialized equipment that may not be readily accessible or scalable. Therefore, we introduce a machine learning framework to correlate in-situ two-color thermal images observed via high-speed color imaging to the two-dimensional profile of the melt pool cross-section. Specifically, we employ a hybrid CNN-Transformer architecture to establish a correlation between single bead off-axis thermal image sequences and melt pool cross-section contours measured via optical microscopy. In this architecture, a ResNet model embeds the spatial information contained within the thermal images to a latent vector, while a Transformer model correlates the sequence of embedded vectors to extract temporal information. Our framework is able to model the curvature of the subsurface melt pool structure, with improved performance in high energy density regimes compared to analytical melt pool models. The performance of this model is evaluated through dimensional and geometric comparisons to the corresponding experimental melt pool observations.

Introduction

In Laser Powder Bed Fusion (L-PBF), a high-energy laser selectively melts layers of metal powder to create complex 3D geometries. A persistent challenge in this process is the occurrence of "lack-of-fusion" defects, which arise when the melt pool does not penetrate deeply enough to fuse with the underlying layer. While surface-level monitoring using high-speed cameras is common, the critical subsurface geometry of the melt pool remains invisible during production. Traditionally, verifying melt pool depth requires destructive post-process analysis, such as sectioning and microscopy, which is time-consuming and precludes real-time quality control. This paper proposes a deep learning framework to bridge this gap, predicting 2D subsurface contours from surface thermal video sequences.

Methodology

The proposed framework utilizes a hybrid CNN-Transformer architecture designed to capture both the spatial features of individual melt pool frames and the temporal dynamics of the melting process.

Architecture

  1. Spatial Encoding: A ResNet backbone processes individual frames from the thermal video, compressing high-dimensional image data into latent tokens.
  2. Temporal Correlation: These tokens are fed into a Transformer encoder. Unlike standard CNNs, the Transformer uses self-attention to analyze the sequence of frames, capturing the complex oscillations and temporal "rhythm" of the melt pool.
  3. Shape Representation: The model predicts a Signed Distance Function (SDF), which allows for the reconstruction of the entire 2D contour of the melt pool cross-section.
Overview of the hybrid CNN-Transformer framework for melt pool depth prediction.

Data and Training

The model was trained on 316L Stainless Steel single-bead tracks printed on a TruPrint 3000 system, with off-axis thermal images captured at 22,500 FPS. To address the scarcity of experimental ground truth, a transfer learning approach was used. The model was first pre-trained on synthetic data generated from high-fidelity FLOW-3D multiphysics simulations and low-fidelity Eagar-Tsai analytical models before being fine-tuned on physical experimental data.

Results and Discussion

The hybrid model demonstrated high fidelity in predicting melt pool geometry, achieving an Intersection-over-Union (IoU) score of 0.77 and an area correlation ($R^2$) of 0.87. The predicted contours deviated from ground truth microscopy by an average of only 10 \mu m.

Comparison of surface thermal images, experimental cross-sections, and predicted melt pool contours across varying laser parameters.

Key insights from the study include:

  • Temporal Importance: The inclusion of temporal data via the Transformer significantly improved accuracy over single-frame models, as it allows the system to account for the physical evolution of the melt pool.
  • Ratiometric Imaging: Using two-color thermal imaging provided more robust features for the model than monochromatic data.
  • Sim-to-Real Efficiency: Pre-training on high-fidelity simulations (FLOW-3D) allowed the model to achieve high accuracy with 50% less experimental data compared to training from scratch or using simpler analytical models.

Conclusion

This research establishes a robust method for in-situ monitoring of subsurface melt pool geometry in L-PBF. By leveraging a hybrid CNN-Transformer architecture and transfer learning from high-fidelity simulations, the framework can accurately predict potential defects from surface observations. Future research will focus on extending this capability to powder-based printing and integrating these real-time predictions into closed-loop control systems for autonomous process optimization.

Summary updated

BibTeX
@inproceedings{ogoke2024deep,
  author = {Francis Ogoke and Peter Myung-Won Pak and Alexander Myers and Guadalupe Quirarte and Jack L. Beuth and Jonathan Malen and Amir Barati Farimani},
  title = {{Deep Learning for Melt Pool Depth Contour Prediction From Surface Thermal Images via Vision Transformers}},
  booktitle = {Additive},
  year = {2024},
  doi = {10.1016/j.addlet.2024.100243},
}
Figure