Get the latest updates on the Coronavirus impact on engineers.Click Here
AI and Machine Learning

Making 3D printing smarter with machine learning

Researchers at USC are making 3D printing software by using artificial intelligence and machine learning to reduce error, which will benefit manufacturers and medical device companies.

By Greta Harrison February 9, 2020
Courtesy: USC Viterbi

3D printing is often touted as the future of manufacturing. It allows us to directly build objects from computer-generated designs, meaning industry can manufacture customized products in-house, without outsourcing parts. However, 3D printing has a high degree of error, such as shape distortion. Each printer is different and the printed material can shrink and expand in unexpected ways. Manufacturers often need to try many iterations of a print before they get it right.

What happens to the unusable print jobs? They must be discarded, presenting a significant environmental and financial cost to industry.

A team of researchers from the Daniel J. Epstein Department of Industrial and Systems Engineering at USC is tackling this problem, with a set of machine learning algorithms and a software tool called PrintFixer. The software is designed to improve 3D printing accuracy by 50% or more, making the process vastly more economical and sustainable by using uses a process called “convolution modeling of 3D printing.”

The team, led by Qiang Huang, associate professor of industrial and systems engineering, chemical engineering and materials science, along with Ph.D. students Yuanxiang Wang, Nathan Decker, Mingdong Lyu, Weizhi Lin, and Christopher Henson, has so far received $1.4M funding support, including a recent $350,000 NSF grant. Their objective is to develop an AI model that accurately predicts shape deviations for all types of 3D printing and make 3D printing smarter.

“What we have demonstrated so far is that in printed examples the accuracy can improve around 50% or more,” Huang said. “In cases where we are producing a 3D object similar to the training cases, overall accuracy improvement can be as high as 90%.”

“It can actually take industry eight iterative builds to get one part correct, for various reasons,” Huang said, “and this is for metal, so it’s very expensive.”

Every 3D printed object results in some slight deviation from the design, whether this is due to printed material expanding or contracting when printed, or due to the way the printer behaves.

PrintFixer uses data gleaned from past 3D printing jobs to train its AI to predict where the shape distortion will happen, in order to fix print errors before they occur.

Huang said the research team had aimed to create a model that produced accurate results using the minimum amount of 3D printing source data.

“From just five to eight selected objects, we can learn a lot of useful information,” Huang said. “We can leverage small amounts of data to make predictions for a wide range of objects.”

The team has trained the model to work with the same accuracy across a variety of applications and materials – from metals for aerospace manufacturing, to thermal plastics for commercial use. The researchers are also working with a dental clinic in Australia on the 3D printing of dental models.

“So just like a when a human learns to play baseball, you’ll learn softball or some other related sport much quicker,” said Decker, who leads the software development effort development in Huang’s group. “In that same way, our AI can learn much faster when it has seen it a few times. So you can look at it, and see where there are going to be areas that are greater than your tolerances, and whether you want to print it.”

A screenshot from PrintFixer shows the predicted variations in a printed shape, with expanded areas highlighted in red and smaller areas marked in blue. Courtesy: USC Viterbi

A screenshot from PrintFixer shows the predicted variations in a printed shape, with expanded areas highlighted in red and smaller areas marked in blue. Courtesy: USC Viterbi

He said users could opt to print with a different, higher-quality printer and use the software to predict whether that would provide a better result.

“But if you don’t want to change the printer, we also have incorporated functionality into the software package allowing the user to compensate for the errors and change the object’s shape – to take the parts that are too small and increase their size, while decreasing the parts that are too big,” Decker said. “And then, when they print, they should print with the correct size the first time.”

The team’s objective is for the software tool to be available to everyone, from large scale commercial manufacturers to 3D printing hobbyists. Users from around the world will also be able to contribute to improving the software AI through sharing of print output data in a database.

“Say I’m working with a MakerBot 3D printer using PLA (a bioplastic used in 3D printing), I can put that in the database, and somebody using the same model and material could take my data and learn from it,” Decker said. “Once we get a lot of people around the world using this, all of a sudden, you have a really incredible opportunity to leverage a lot of data, and that could be a really powerful thing.”

– Edited by Chris Vavra, associate editor, Control Engineering, CFE Media and Technology, cvavra@cfemedia.com.


Greta Harrison
Author Bio: Greta Harrison, USC Viterbi School of Engineering