journal article·2026-04-22

Machine learning-based detection of layer-shifting in FFF 3D printing using MEMS vibration and acoustic sensors

Anil Ansoliya, Vivek V. Bhandarkar, Vijay Kumar Gupta

Publisher page

Abstract

Purpose Layer shifting is one of the most critical machine-induced defects in fused filament fabrication (FFF) three-dimensional (3D) printing, primarily caused by belt drive slippage along the x-axis. This defect leads to dimensional inaccuracies and structural misalignments in printed parts. The present study aims to develop a machine learning (ML)-based framework supported by sensor data to detect layer shifting at an early stage of the printing process. Design/methodology/approach A Cartesian FFF 3D printer was equipped with two low-cost MEMS sensors, an ADXL335 accelerometer and a MAX4466 microphone, mounted near the x-axis stepper motor to capture vibration and acoustic signals under normal and faulty conditions. Using a Taguchi L9 design, 54 specimens were printed with controlled variations. The acquired signals were sampled at 1,600 Hz, and five time-domain features (Root Mean Square, Mean, Standard Deviation, Peak-to-Peak and Crest Factor) were extracted. Eight ML classifiers (SVM, RF, GB, LR, DT, KNN, NB and XGBoost) were trained and evaluated for both sensor data sets using accuracy, precision, recall, F1 score and ROC-AUC. Findings Among the models tested, Random Forest demonstrated superior performance on accelerometer data with 97.43% accuracy, 97.71% precision, 97.31% F1 score and a ROC-AUC of 0.9951, indicating high fault detection reliability. Originality/value This study presents a novel approach that combines vibration and acoustic sensing with ML-based classification to identify machine-related defects in FFF printing. It further proposes a conceptual real-time feedback framework for future integration into intelligent, fault-tolerant 3D printing systems.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Additive Manufacturing and 3D Printing Technologies · Advanced Sensor and Energy Harvesting Materials · Industrial Vision Systems and Defect Detection

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

PDPM Indian Institute of Information Technology, Design and Manufacturing Machine Dynamics and Vibration Lab, Mechanical Engineering Discipline, , Jabalpur,

PDPM Indian Institute of Information Technology, Design and Manufacturing deLOGIC Lab, Mechanical Engineering Discipline, , Jabalpur,

Funding

Science and Engineering Research Board (SERB), India · Department of Science and Technology (DST), Government of India

References (37)

Show source-provided references
1. A study on acoustic signals from an electret microphone in 3D printing10.1016/J.PROCIR.2024.08.282 ↗
2. A comparative analysis of fault detection and process diagnosis methods based on a signal processing paradigm10.1007/S42452-024-06390-3 ↗
3. Nozzle clogging detection in FFF 3D printing using machine learning approach: a comparative investigation10.1007/S12541-025-01284-9 ↗
4. The use of random forests to support the decision-making process for sustainable manufacturing10.1088/1742-6596/2198/1/012006 ↗
5. Failures and flaws in fused deposition modeling (FDM) additively manufactured polymers and composites10.3390/JCS6070202 ↗
6. Multivariate sensor data analysis for fault detection toward feedback loop-based continuous learning in FFF 3D printer10.1007/S00170-024-13709-2 ↗
7. Vibration signal analysis for intelligent rotating machinery diagnosis and prognosis: a comprehensive systematic literature review10.3390/VIBRATION7040054 ↗
8. Defect detection in 3D-printed polymer parts using deep learning models: a comparative investigation10.1108/RPJ-09-2024-0395 ↗
9. Warpage detection in 3D printing of polymer parts: a deep learning approach10.1007/S10845-024-02414-2 ↗
10. An overview of traditional and advanced methods to detect part defects in additive manufacturing processes10.1007/S10845-024-02483-3 ↗
11. Understanding and resolving 3D printing challenges: a systematic literature review10.3390/PR13061772 ↗
12. A comprehensive survey on support vector machine classification: applications, challenges and trends10.1016/J.NEUCOM.2019.10.118 ↗
13. Enhancing induction machine fault detection through machine learning: time and frequency analysis of vibration signals10.1016/J.MEASUREMENT.2024.116023 ↗
14. Logistic regression and artificial neural network classification models: a methodology review10.1016/S1532-0464(03)00034-0 ↗
15. Minimizing warpage for Macro-Size fused deposition modeling parts10.32604/CMC.2021.016064 ↗
16. Evolutionary algorithm for improving decision tree with global discretization in manufacturing10.3390/S21082849 ↗
17. Deep learning-based multi-sensor fusion for process monitoring: application to fused deposition modeling10.1007/S13369-023-08340-4 ↗
18. Development of data-driven in-situ monitoring and diagnosis system of fused deposition modeling (FDM) process based on support vector machine algorithm10.1007/S40684-018-0051-4 ↗
19. Evaluation of time-frequency representations for deep learning-based rotating machinery fault diagnosis10.46604/IJETI.2024.14774 ↗
20. Development and comparison of machine-learning algorithms for anomaly detection in 3D printing using vibration data10.1007/S40964-023-00472-1 ↗
21. An overview of design and development of biomimetic bone scaffolds using heterogeneous TPMS lattice structures10.1007/S11831-024-10212-5 ↗
22. A study on the errors of 2D circular trajectories generated on a 3D printer10.3390/APP112411695 ↗
23. Spectral features analysis for print quality prediction in additive manufacturing: an acoustics-based approach10.3390/S24154864 ↗
24. Fault detection in 3D-printing with deep learning10.1109/ICCE59016.2024.10444198 ↗
25. AutoML-driven diagnostics of the feeder motor in fused filament fabrication machines from direct current signals10.1007/S10845-024-02332-3 ↗
26. Acoustic emission technique for battery health monitoring: comprehensive literature review10.3390/BATTERIES11010014 ↗
27. Analysis of multiple print-head displacement mechanisms in 3D space for material extrusion machine10.1089/3DP.2023.0096 ↗
28. Distribution of temperature and residual stresses in GMA-DED based wire-arc additive manufacturing10.1108/RPJ-01-2023-0032 ↗
29. A review of naive bayes and decision tree methods for predicting particle size distribution in pharmaceutical manufacturing
30. Identifying flow defects in amorphous alloys using machine learning outlier detection methods10.1016/J.SCRIPTAMAT.2020.05.038 ↗
31. Comparative performance analysis of K-nearest neighbour (KNN) algorithm and its different variants for disease prediction10.1038/s41598-022-10358-x ↗
32. In-Situ analysis of vibration and acoustic data in additive manufacturing10.1109/SOUTHEASTCON52093.2024.10500055 ↗
33. Optimization of laser additive manufacturing process based on XGBoost algorithm10.1007/S40032-024-01119-Y ↗
34. Study on dynamic behaviour in FFF 3D-printing with crossed gantry kinematic10.1016/J.PROCIR.2023.09.244 ↗
35. Detecting defects in fused deposition modeling based on improved YOLO v410.1088/2053-1591/acf6f9 ↗
36. Fused filament fabrication: a state-of-the-art review of the technology, materials, properties and defects10.1007/S12008-022-01026-5 ↗
37. Novel indicators for monitoring bearing condition using frequency-domain dictionary learning10.1007/S00170-025-16534-3 ↗