← Latest papers
⚡ electrical engineering

Multi-scale closed-loop melt pool control for LPBF via policy optimization

This paper presents a dual-loop, data-driven control strategy for laser powder bed fusion that combines policy gradient-optimized in-layer feedback with layer-to-layer feedforward control to achieve robust, near-optimal temperature stabilization and significantly reduce tracking errors and constraint violations without requiring manual tuning.

Original authors: Junan Lin, Riccardo Zuliani, Baris Kavas, Markus Bambach, John Lygeros, Efe C. Balta

Published 2026-07-21
📖 7 min read🧠 Deep dive

Original authors: Junan Lin, Riccardo Zuliani, Baris Kavas, Markus Bambach, John Lygeros, Efe C. Balta

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine a factory where robots build complex metal objects not by cutting them out of a block, but by painting them with a super-hot laser, one microscopic layer of powder at a time. This process, called Laser Powder Bed Fusion (LPBF), is like a high-tech version of 3D printing, but instead of plastic, it uses molten steel or titanium. The magic happens when a laser beam melts a tiny spot of powder, fusing it to the layer below. If the laser is too weak, the metal doesn't stick together (a defect called "lack of fusion"). If it's too strong, it boils the metal, creating tiny bubbles or even cracking the part (a defect called "keyholing").

The problem is that this process is incredibly sensitive. As the robot prints, the metal gets hotter and hotter, like a pan on a stove that never cools down. If the robot doesn't adjust the heat instantly, the part warps, cracks, or turns into a useless lump. Traditionally, engineers have to manually tune the robot's settings, guessing the right balance of power and speed. It's a slow, expensive game of trial and error, especially for complex shapes. This paper tackles that headache by teaching the robot to "feel" the heat and adjust itself in real-time, using a smart, two-part control system that learns from mistakes and adapts to chaos.


The Two-Brain Solution for Melting Metal

The researchers at ETH Zürich and inspire AG have developed a clever new way to control this melting process, acting like a dual-brain system for the 3D printer. Instead of just reacting to the heat as it happens, their system has two distinct "brains" working together: one that thinks fast (in-layer control) and one that thinks strategically (layer-to-layer control).

The Fast Brain: Reacting in the Moment
Imagine you are driving a car on a bumpy road. Your reflexes are the "fast brain." When you hit a pothole, you instantly steer or brake to keep the car steady. In the printer, this is the in-layer controller. As the laser scans across a single layer of powder, a high-speed sensor (a pyrometer) measures the temperature thousands of times a second. If the metal gets too hot, this controller instantly dials back the laser power; if it's too cold, it cranks it up.

However, tuning these reflexes is tricky. If you set them too sensitive, the laser might jitter wildly; too slow, and the part burns. The authors used a method called policy optimization (a type of artificial intelligence training) to find the perfect "reflexes." They didn't just guess; they ran thousands of simulations in a computer, throwing in random errors and noise to see what worked best. They found a set of rules that allows the printer to stay stable even when the real world doesn't perfectly match the computer model.

The Strategic Brain: Learning from Past Layers
Now, imagine you are driving that same car, but you also have a map of the road ahead. You know a steep hill is coming, so you slow down before you hit it. This is the layer-to-layer controller. In 3D printing, once a layer is finished, the robot waits for a new layer of powder to be spread. This pause gives the "strategic brain" time to think. It looks at how the previous layer turned out. Did it get too hot? Did the metal swell up? It then calculates a new "plan" for the next layer, adjusting the baseline laser power to compensate for the heat that built up.

This part of the system uses a technique called Iterative Learning Control (ILC). It's like a student taking a test, getting a grade, and then studying the mistakes to do better on the next one. By combining this long-term planning with the fast reflexes of the first brain, the system creates a "closed-loop" that is incredibly robust.

What They Found: Smoother Melts and Fewer Mistakes

The team tested their idea in two ways: first, in a detailed computer simulation, and second, on a real metal 3D printer in a lab.

In the Simulation:
They simulated printing six layers of metal with a "square-spiral" path, which is notoriously difficult because the laser has to stop and turn sharply at the corners, causing heat to pile up. They tested their dual-brain system against two other methods: one that only had the fast brain (in-layer only) and one that only had the strategic brain (layer-to-layer only).
The results were clear. The single-brain systems struggled. The "fast brain" alone couldn't stop the heat from accumulating over multiple layers, and the "strategic brain" alone was too slow to fix sudden temperature spikes. But the dual-loop controller kept the temperature steady, hovering within about 20 Kelvin of the target temperature, even when they introduced significant errors into the simulation to mimic real-world messiness.

In the Real World:
Moving to the physical machine, the researchers had to simplify their system because the actual printer hardware couldn't change settings as fast as the computer simulation could. They adapted the system to use a standard "PI controller" (a common type of industrial controller) with a fixed "feedforward" plan. They tuned this simplified version using their AI method, but only using data from a single, uncontrolled test print.

When they printed actual metal wedges (a shape designed to get very hot), the results were impressive:

  • Better Accuracy: Their method reduced the average tracking error (how far off the temperature was from the target) by 3.4% compared to a state-of-the-art method called Bayesian Optimization (BO).
  • Fewer Dangerous Spikes: Most importantly, they reduced the average "input-constraint violation" by 47.5%. This means the laser power stayed much closer to the safe zone. In the BO method, the laser power frequently jumped too high (risking keyholing) or too low (risking lack of fusion). Their controller kept the laser in the "Goldilocks" zone much more often.
  • Smoother Surfaces: When they looked at the printed metal under a microscope, they saw something fascinating. The uncontrolled prints and the BO prints showed "vector head swelling"—a bulge at the start of every laser line where the metal piled up. Their controller almost eliminated this swelling, resulting in parts that looked much more like the original digital design.

A Surprising Discovery: The Power of "Jitter"

One of the most playful and unexpected findings came when they tested a version of their controller that didn't penalize rapid changes in the laser power. This caused the laser to oscillate (jitter) at a very high frequency, between 2 and 4 kHz.

Usually, engineers try to keep laser power smooth and steady. But here, the "jittery" laser actually reduced the swelling at the start of the lines even more than the smooth version. The authors suggest that these rapid fluctuations might be messing with the fluid dynamics of the molten metal, preventing it from piling up at the start of the scan. While they don't fully understand the physics behind this yet, it opens a new door: maybe a little bit of controlled chaos is exactly what a melting metal pool needs to stay calm.

The Bottom Line

This paper demonstrates that you don't need a massive amount of real-world data to teach a metal printer how to behave. By using a smart simulation to train the controller and then transferring that knowledge to the real machine, the researchers achieved results that match or beat the best existing methods. They proved that combining a fast-reacting reflex with a slow-thinking strategy creates a system that is not only accurate but also robust against the messy, unpredictable nature of melting metal.

While the "jittery" laser effect is still a mystery waiting to be solved, the main takeaway is clear: a dual-brain approach to controlling heat can make 3D printed metal parts stronger, more precise, and less likely to fail. It's a step toward printers that don't just follow instructions, but actually understand the physics of the material they are building with.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →