Example image of the 3D printer nozzle used by the machine learning algorithm to detect and correct errors in real time.

Engineers have created intelligent 3D printers that can quickly detect and correct errors, even in previously unseen designs, or unfamiliar materials like ketchup and mayonnaise, by learning from the experiences of other machines.

Once trained, the algorithm can figure out just by looking at an image which setting is correct and which is wrong

Sebastian Pattinson

探花直播engineers, from the 探花直播 of Cambridge, developed a machine learning algorithm that can detect and correct a wide variety of different errors in real time, and can be easily added to new or existing machines to enhance their capabilities. 3D printers using the algorithm could also learn how to print new materials by themselves. of their low-cost approach are reported in the journal Nature Communications.

3D printing has the potential to revolutionise the production of complex and customised parts, such as aircraft components, personalised medical implants, or even intricate sweets, and could also transform听manufacturing supply chains. However, it is also vulnerable to production errors, from small-scale inaccuracies and mechanical weaknesses through to total build failures.

Currently, the way to prevent or correct these errors is for a skilled worker to observe the process. 探花直播worker must recognise an error (a challenge even for the trained eye), stop the print, remove the part, and adjust settings for a new part. If a new material or printer is used, the process takes more time as the worker learns the new setup. Even then, errors may be missed as workers cannot continuously observe multiple printers at the same time, especially for long prints.

鈥3D printing is challenging because there's a lot that can go wrong, and so quite often 3D prints will fail,鈥 said from Cambridge鈥檚 Department of Engineering, the paper鈥檚 senior author. 鈥淲hen that happens, all of the material and time and energy that you used is lost.鈥

Engineers have been developing automated 3D printing monitoring, but existing systems can only detect a limited range of errors in one part, one material and one printing system.

鈥淲hat鈥檚 really needed is a 鈥榙riverless car鈥 system for 3D printing,鈥 said first author , also from the Department of Engineering. 鈥淎 driverless car would be useless if it only worked on one road or in one town 鈥 it needs to learn to generalise across different environments, cities, and even countries. Similarly, a 鈥榙riverless鈥 printer must work for multiple parts, materials, and printing conditions.鈥

Brion and Pattinson say the algorithm they鈥檝e developed could be the 鈥榙riverless car鈥 engineers have been looking for.

鈥淲hat this means is that you could have an algorithm that can look at all of the different printers that you're operating, constantly monitoring and making changes as needed 鈥 basically doing what a human can't do,鈥 said Pattinson.

探花直播researchers trained a deep learning computer vision model by showing it around 950,000 images captured automatically during the production of 192 printed objects. Each of the images was labelled with the printer鈥檚 settings, such as the speed and temperature of the printing nozzle and flow rate of the printing material. 探花直播model also received information about how far those settings were from good values, allowing the algorithm to learn how errors arise.

鈥淥nce trained, the algorithm can figure out just by looking at an image which setting is correct and which is wrong 鈥 is a particular setting too high or too low, for example, and then apply the appropriate correction,鈥 said Pattinson. 鈥淎nd the cool thing is that printers that use this approach could be continuously gathering data, so the algorithm could be continually improving as well.鈥

Using this approach, Brion and Pattinson were able to make an algorithm that is generalisable 鈥 in other words, it can be applied to identify and correct errors in unfamiliar objects or materials, or even in new printing systems.

鈥淲hen you鈥檙e printing with a nozzle, then no matter the material you鈥檙e using 鈥 polymers, concrete, ketchup, or whatever 鈥 you can get similar errors,鈥 said Brion. 鈥淔or example, if the nozzle is moving too fast, you often end up with blobs of material, or if you鈥檙e pushing out too much material, then the printed lines will overlap forming creases.

鈥淓rrors that arise from similar settings will have similar features, no matter what part is being printed or what material is being used. Because our algorithm learned general features shared across different materials, it could say 鈥極h, the printed lines are forming creases, therefore we are likely pushing out too much material鈥.鈥

As a result, the algorithm that was trained using only one kind of material and printing system was able to detect and correct errors in different materials, from engineering polymers to even ketchup and mayonnaise, on a different kind of printing system.

In future, the trained algorithm could be more efficient and reliable than a human operator at spotting errors. This could be important for quality control in applications where component failure could have serious consequences.

With the support of Cambridge Enterprise, the 探花直播鈥檚 commercialisation arm, Brion has formed , a spin-out company that will develop the technology for commercial applications.

鈥淲e鈥檙e turning our attention to how this might work in high-value industries such as the aerospace, energy, and automotive sectors, where 3D printing technologies are used to manufacture high-performance and expensive parts,鈥 said Brion. 鈥淚t might take days or weeks to complete a single component at a cost of thousands of pounds. An error that occurs at the start might not be detected until the part is completed and inspected. Our approach would spot the error in real time, significantly improving manufacturing productivity.鈥

探花直播research was supported by the Engineering and Physical Sciences Research Council, Royal Society, Academy of Medical Sciences, and the Isaac Newton Trust.

探花直播 used to train the AI is freely available online.听

Reference:
Douglas A J Brion & Sebastian W Pattinson. 鈥.鈥 Nature Communications (2022). DOI: 10.1038/s41467-022-31985-y



探花直播text in this work is licensed under a . Images, including our videos, are Copyright 漏 探花直播 of Cambridge and licensors/contributors as identified.听 All rights reserved. We make our image and video content available in a number of ways 鈥 as here, on our main website under its Terms and conditions, and on a range of channels including social media that permit your use and sharing of our content under their respective Terms.