In-situ Controller Autotuning by Bayesian Optimization for Closed-loop Feedback Control of Laser Powder Bed Fusion Process

Baris Kavas, Efe C. Balta, Michael R. Tucker, Raamadaas Krishnadas, Alisa Rupenyan, John Lygeros, Markus Bambach

This paper, recently published by researchers at ETH Zürich and ZHAW, introduces a way to automate the "black magic" of controller tuning in metal 3D printing. By using Bayesian Optimization, the team successfully tuned in-layer controllers to mitigate overheating in Laser Powder Bed Fusion (LPBF), demonstrating a path toward more robust, autonomous additive manufacturing.

TL;DR

The authors present a sample-efficient method using Bayesian Optimization (BO) to automatically tune in-layer PI controllers for metal 3D printing. Their approach significantly reduces overheating in complex geometries and provides the first-ever microstructural analysis of parts produced under such high-speed, closed-loop control.

What Problem Does This Paper Address?

Laser Powder Bed Fusion (LPBF) is a leading metal 3D printing technology, but it usually operates in "open-loop"—meaning the laser follows a fixed set of instructions regardless of what’s actually happening in the melt pool. This often leads to defects like overheating, especially in thin sections or sharp corners where heat accumulates.

While closed-loop control (using sensors to adjust laser power in real-time) can solve this, these controllers (typically PI or PID) require precise "tuning" of their gain parameters. Traditionally, this is a manual, trial-and-error process performed by experts. Because every machine and material behaves differently, a tuning set that works for one setup might fail on another. The authors sought an algorithmic way to find these optimal settings without human intervention.

Methods

The researchers implemented an in-layer control loop using a pyrometer to monitor melt pool emission and an FPGA to adjust laser power at a staggering 100kHz (a 10 $\mu$s delay).

Figure 1: Implemented control loop in Aconity Midi+

To tune this controller, they employed Bayesian Optimization (BO). BO is a "black-box" optimization technique that builds a probabilistic model (a Gaussian Process) of the system and uses it to decide which parameters to test next to minimize a "cost function."

The authors compared two tuning strategies:

  1. Offline Tuning: Performed on a bare steel plate. It’s fast and saves powder but might not perfectly represent the actual printing process.
  2. Online Tuning: Performed directly on the powder bed during the start of a real print job. This leverages the repetitive nature of 3D printing (layer-by-layer) to refine settings iteratively.
Figure 3: Schematic for online and offline controller tuning procedures

Datasets

The study did not use a pre-existing external dataset. Instead, the "dataset" was generated in-situ:

  • Tuning Data: 200 iterations of single-vector laser exposures for both online (316L stainless steel powder) and offline (S304 steel plate) settings.
  • Validation Data: Prints of 28° and 55° wedge geometries, specifically chosen because their tapering shapes are notorious for inducing in-layer heat build-up.

Key Insights and Ideas

  • Sample Efficiency is King: BO reached optimal parameters in roughly 74 iterations for online tuning and 112 for offline. In the context of 3D printing, where every test costs time and material, this efficiency is critical.
  • Powder Changes the Math: Online tuning converged faster than offline tuning. The authors suggest that the presence of powder increases the "strength" of the relationship between laser power and pyrometer signal, making the optimization landscape easier for the algorithm to navigate.
  • The Control Paradox: While the controller successfully stopped the parts from melting into a puddle (overheating), it introduced a new problem. To keep the temperature stable in hot zones, the controller turned the laser power down so low that it fell below the "stable process window," leading to lack-of-fusion porosity.

Key Results

  • Successful Autotuning: BO effectively found PI gains that stabilized the melt pool. The online-tuned controller achieved a slightly lower error value than the offline-tuned one.
  • Overheating Mitigation: Both tuned controllers significantly outperformed uncontrolled prints, maintaining a stable pyrometer signal even as the geometry became more prone to heat accumulation.
  • Microstructural Evidence: This is the first study to provide a detailed look at the "insides" of parts controlled this way. The results showed that while the surface looked better, the controller's aggressive power reduction caused internal pores (lack-of-fusion) when the power dropped below ~140W.

Limitations and Future Work

The biggest limitation identified is the use of a static reference value. The controller tried to keep the melt pool at one specific "brightness" regardless of the local geometry. The authors suggest that future systems should use dynamic reference values that change depending on where the laser is, ensuring power stays within a safe window.

Additionally, the study used a PI controller because the Derivative (D) term was too sensitive to sensor noise. Future work could involve better signal filtering or more advanced sensors (like high-speed cameras) to enable full PID control or even more complex "cooling-based" strategies where the laser waits for a section to cool down before continuing.

Summary updated

BibTeX
@misc{kavas2024situ,
  author = {Baris Kavas and Efe C. Balta and Michael R. Tucker and Raamadaas Krishnadas and Alisa Rupenyan and John Lygeros and Markus Bambach},
  title = {{In-situ Controller Autotuning by Bayesian Optimization for Closed-loop Feedback Control of Laser Powder Bed Fusion Process}},
  year = {2024},
  eprint = {2406.19096},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.19096},
}
Figure