Machine Learning G-Code Optimization

G-codes are essential in CNC systems, providing crucial instructions for controlling machine parameters and operations in manufacturing, including 3D printing. They may contain errors affecting product quality and increasing resource consumption. This research applies the K-means machine learning cl...

Full description

Saved in:
Bibliographic Details
Main Authors: Héctor Lasluisa-Naranjo, David Rivas-Lalaleo, Joaquín Vaquero-López, Christian Cruz-Moposita
Format: Article
Language:English
Published: MDPI AG 2024-11-01
Series:Engineering Proceedings
Subjects:
Online Access:https://www.mdpi.com/2673-4591/77/1/32
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:G-codes are essential in CNC systems, providing crucial instructions for controlling machine parameters and operations in manufacturing, including 3D printing. They may contain errors affecting product quality and increasing resource consumption. This research applies the K-means machine learning clustering algorithm to optimize G-code parameters such as extruder and heated bed temperature, deposition speed, and flow control. The objective is to reduce manufacturing time and material usage while maintaining surface quality. A line-by-line analysis and rewriting of the G-code resulted in an average 24.36% reduction in time and 5% in material use, with minimal impact on quality, validated with the Taguchi method.
ISSN:2673-4591