Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning

Direct verification of the geometric accuracy of machined parts cannot be performed simultaneously with active machining operations, as it usually requires subsequent inspection with measuring devices such as coordinate measuring machines (CMMs) or optical 3D scanners. This sequential approach incre...

Full description

Saved in:
Bibliographic Details
Main Authors: Lucijano Berus, Jernej Hernavs, David Potocnik, Kristijan Sket, Mirko Ficko
Format: Article
Language:English
Published: MDPI AG 2024-12-01
Series:Sensors
Subjects:
Online Access:https://www.mdpi.com/1424-8220/25/1/169
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1841548943715991552
author Lucijano Berus
Jernej Hernavs
David Potocnik
Kristijan Sket
Mirko Ficko
author_facet Lucijano Berus
Jernej Hernavs
David Potocnik
Kristijan Sket
Mirko Ficko
author_sort Lucijano Berus
collection DOAJ
description Direct verification of the geometric accuracy of machined parts cannot be performed simultaneously with active machining operations, as it usually requires subsequent inspection with measuring devices such as coordinate measuring machines (CMMs) or optical 3D scanners. This sequential approach increases production time and costs. In this study, we propose a novel indirect measurement method that utilizes motor current data from the controller of a Computer Numerical Control (CNC) machine in combination with machine learning algorithms to predict the geometric accuracy of machined parts in real-time. Different machine learning algorithms, such as Random Forest (RF), k-nearest neighbors (k-NN), and Decision Trees (DT), were used for predictive modeling. Feature extraction was performed using Tsfresh and ROCKET, which allowed us to capture the patterns in the motor current data corresponding to the geometric features of the machined parts. Our predictive models were trained and validated on a dataset that included motor current readings and corresponding geometric measurements of a mounting rail later used in an engine block. The results showed that the proposed approach enabled the prediction of three geometric features of the mounting rail with an accuracy (MAPE) below 0.61% during the learning phase and 0.64% during the testing phase. These results suggest that our method could reduce the need for post-machining inspections and measurements, thereby reducing production time and costs while maintaining required quality standards.
format Article
id doaj-art-b6578f09f2c14c638916f014db712604
institution Kabale University
issn 1424-8220
language English
publishDate 2024-12-01
publisher MDPI AG
record_format Article
series Sensors
spelling doaj-art-b6578f09f2c14c638916f014db7126042025-01-10T13:21:06ZengMDPI AGSensors1424-82202024-12-0125116910.3390/s25010169Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine LearningLucijano Berus0Jernej Hernavs1David Potocnik2Kristijan Sket3Mirko Ficko4Intelligent Manufacturing Laboratory, Production Engineering Institute, Faculty of Mechanical Engineering, University of Maribor, Smetanova ulica 17, 2000 Maribor, SloveniaIntelligent Manufacturing Laboratory, Production Engineering Institute, Faculty of Mechanical Engineering, University of Maribor, Smetanova ulica 17, 2000 Maribor, SloveniaIntelligent Manufacturing Laboratory, Production Engineering Institute, Faculty of Mechanical Engineering, University of Maribor, Smetanova ulica 17, 2000 Maribor, SloveniaIntelligent Manufacturing Laboratory, Production Engineering Institute, Faculty of Mechanical Engineering, University of Maribor, Smetanova ulica 17, 2000 Maribor, SloveniaIntelligent Manufacturing Laboratory, Production Engineering Institute, Faculty of Mechanical Engineering, University of Maribor, Smetanova ulica 17, 2000 Maribor, SloveniaDirect verification of the geometric accuracy of machined parts cannot be performed simultaneously with active machining operations, as it usually requires subsequent inspection with measuring devices such as coordinate measuring machines (CMMs) or optical 3D scanners. This sequential approach increases production time and costs. In this study, we propose a novel indirect measurement method that utilizes motor current data from the controller of a Computer Numerical Control (CNC) machine in combination with machine learning algorithms to predict the geometric accuracy of machined parts in real-time. Different machine learning algorithms, such as Random Forest (RF), k-nearest neighbors (k-NN), and Decision Trees (DT), were used for predictive modeling. Feature extraction was performed using Tsfresh and ROCKET, which allowed us to capture the patterns in the motor current data corresponding to the geometric features of the machined parts. Our predictive models were trained and validated on a dataset that included motor current readings and corresponding geometric measurements of a mounting rail later used in an engine block. The results showed that the proposed approach enabled the prediction of three geometric features of the mounting rail with an accuracy (MAPE) below 0.61% during the learning phase and 0.64% during the testing phase. These results suggest that our method could reduce the need for post-machining inspections and measurements, thereby reducing production time and costs while maintaining required quality standards.https://www.mdpi.com/1424-8220/25/1/169smart production machinesdata-driven manufacturingmachine learning algorithmsCNC controller datageometrical accuracy
spellingShingle Lucijano Berus
Jernej Hernavs
David Potocnik
Kristijan Sket
Mirko Ficko
Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
Sensors
smart production machines
data-driven manufacturing
machine learning algorithms
CNC controller data
geometrical accuracy
title Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
title_full Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
title_fullStr Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
title_full_unstemmed Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
title_short Enhancing Manufacturing Precision: Leveraging Motor Currents Data of Computer Numerical Control Machines for Geometrical Accuracy Prediction Through Machine Learning
title_sort enhancing manufacturing precision leveraging motor currents data of computer numerical control machines for geometrical accuracy prediction through machine learning
topic smart production machines
data-driven manufacturing
machine learning algorithms
CNC controller data
geometrical accuracy
url https://www.mdpi.com/1424-8220/25/1/169
work_keys_str_mv AT lucijanoberus enhancingmanufacturingprecisionleveragingmotorcurrentsdataofcomputernumericalcontrolmachinesforgeometricalaccuracypredictionthroughmachinelearning
AT jernejhernavs enhancingmanufacturingprecisionleveragingmotorcurrentsdataofcomputernumericalcontrolmachinesforgeometricalaccuracypredictionthroughmachinelearning
AT davidpotocnik enhancingmanufacturingprecisionleveragingmotorcurrentsdataofcomputernumericalcontrolmachinesforgeometricalaccuracypredictionthroughmachinelearning
AT kristijansket enhancingmanufacturingprecisionleveragingmotorcurrentsdataofcomputernumericalcontrolmachinesforgeometricalaccuracypredictionthroughmachinelearning
AT mirkoficko enhancingmanufacturingprecisionleveragingmotorcurrentsdataofcomputernumericalcontrolmachinesforgeometricalaccuracypredictionthroughmachinelearning