Abstract
3D printing is an emerging technology that converts digital models directly into physical objects. However, abnormal vibrations during the 3D printing process significantly affect the product quality, and also lead to possible failures of the printer components. This paper aims at developing machine-learning algorithms for anomaly detection or abnormal behavior of a 3D printer using vibration data. The proposed algorithms utilize vibration data from a sensor mounted on the printer. Data are then trained and validated developing four machine-learning algorithms to detect anomalies due to the structural or mechanical defects of the printer. Performances of the proposed four algorithms were evaluated and compared. It was found that the proposed long short-term memory (LSTM) algorithm has the best accuracy of 97.17% as compared to other algorithms. The novelty of the present work lies in detecting anomalies with high accuracy due to structural or mechanical faults in 3D printers using a low-cost sensor. The significance of the current work lies in its ability to achieve error-free 3D printing, resulting in less material waste, reduced human intervention and costs, and improved product quality by detecting potential anomalies during printing. The proposed algorithm terminates the printing if any anomaly is detected.
Similar content being viewed by others
Data availability
The datasets generated and/or analysed during the current study are available upon reasonable request from the corresponding author.
References
Fu Y, Downey A, Yuan L, Pratt A, Balogun Y (2021) In situ monitoring for fused filament fabrication process: a review. Addit Manuf 38:101749. https://doi.org/10.1016/J.ADDMA.2020.101749
Xames MD, Torsha FK, Sarwar F (2022) A systematic literature review on recent trends of machine learning applications in additive manufacturing. J Intell Manuf. https://doi.org/10.1007/s10845-022-01957-6
Sandanamsamy L et al (2022) A comprehensive review on fused deposition modeling of polylactic acid. Prog Addit Manuf. https://doi.org/10.1007/s40964-022-00356-w
Yen C-T, Chuang P-C (2022) Application of a neural network integrated with the internet of things sensing technology for 3D printer fault diagnosis. Microsyst Technol 28(1):13–23. https://doi.org/10.1007/s00542-019-04323-4
Khusheef AS, Shahbazi M, Hashemi R (2022) Investigation of long short-term memory networks for real-time process monitoring in fused deposition modeling. Prog Addit Manuf. https://doi.org/10.1007/s40964-022-00371-x
Kammerer K, Hoppenstedt B, Pryss R, Stökler S, Allgaier J, Reichert M (2019) Anomaly detections for manufacturing systems based on sensor data—insights into two challenging real-world production settings. Sensors. https://doi.org/10.3390/s19245370
Delli U, Chang S (2018) Automated process monitoring in 3D printing using supervised machine learning. Procedia Manuf 26:865–870. https://doi.org/10.1016/j.promfg.2018.07.111
Oleff A, Küster B, Stonis M, Overmeyer L (2021) Process monitoring for material extrusion additive manufacturing: a state-of-the-art review. Prog Addit Manuf 6(4):705–730. https://doi.org/10.1007/s40964-021-00192-4
Parvanda R, Kala P (2022) Trends, opportunities, and challenges in the integration of the additive manufacturing with Industry 4.0. Prog Addit Manuf. https://doi.org/10.1007/s40964-022-00351-1
Goh GD, Sing SL, Yeong WY (2021) A review on machine learning in 3D printing: applications, potential, and challenges. Artif Intell Rev 54(1):63–94. https://doi.org/10.1007/s10462-020-09876-9
Hiruta T, Maki K, Kato T, Umeda Y (2021) Unsupervised learning based diagnosis model for anomaly detection of motor bearing with current data. Procedia CIRP. https://doi.org/10.1016/j.procir.2021.01.113
Paraskevoudis K, Karayannis P, Koumoulos EP (2020) Real-time 3D printing remote defect detection (stringing) with computer vision and artificial intelligence. Processes. https://doi.org/10.3390/pr8111464
Farhan Khan M et al (2021) Real-time defect detection in 3D printing using machine learning. Mater Today Proc 42:521–528. https://doi.org/10.1016/j.matpr.2020.10.482
Chen WJ, Ho J-H, Mustapha KB, Chai T-Y (2019) A Vision Based System for Anomaly Detection and Classification in Additive Manufacturing. In 2019 IEEE Conference on Sustainable Utilization and Development in Engineering and Technologies (CSUDET)., pp. 87–92. doi: https://doi.org/10.1109/CSUDET47057.2019.9214635
Li Y, Zhao W, Li Q, Wang T, Wang G (2019) In-situ monitoring and diagnosing for fused filament fabrication process based on vibration sensors. Sensors. https://doi.org/10.3390/s19112589
Becker P, Roth C, Roennau A, Dillmann R (2020) Acoustic Anomaly Detection in Additive Manufacturing with Long Short-Term Memory Neural Networks. In 2020 IEEE 7th International Conference on Industrial Engineering and Applications (ICIEA). pp. 921–926. doi: https://doi.org/10.1109/ICIEA49774.2020.9102002.
Rao PK, (Peter) Liu J, Roberson D, (James) Kong Z, Williams C (2015) Online real-time quality monitoring in additive manufacturing processes using heterogeneous sensors. J Manuf Sci Eng. https://doi.org/10.1115/1.4029823
Mishra R, Powers WB, Kate K (2022) Comparative study of vibration signatures of FDM 3D printers. Prog Addit Manuf. https://doi.org/10.1007/s40964-022-00323-5
Tlegenov Y, Hong GS, Lu WF (2018) Nozzle condition monitoring in 3D printing. Robot Comput Integr Manuf 54:45–55. https://doi.org/10.1016/j.rcim.2018.05.010
Gomathi K, Ganesh T, Bharanidharan J, Prajathkar APA, Aravinthan R (2021) Condition monitoring of 3D printer using micro accelerometer. IOP Conf Ser Mater Sci Eng 1055(1):12035. https://doi.org/10.1088/1757-899X/1055/1/012035
Iwaniec M, Holovatyy A, Teslyuk V, Lobur M, Kolesnyk K, Mashevska M (2017) Development of vibration spectrum analyzer using the Raspberry Pi microcomputer and 3-axis digital MEMS accelerometer ADXL345. In 2017 XIIIth International Conference on Perspective Technologies and Methods in MEMS Design (MEMSTECH). pp. 25–29. doi: https://doi.org/10.1109/MEMSTECH.2017.7937525
Original Prusa i3 MK3S+ 3D printer: Technical Parameters. https://www.prusa3d.com/product/original-prusa-i3-mk3s-3d-printer-3/#specs. Accessed 10 Apr 2023
Lee G, Gommers R, Waselewski F, Wohlfahrt K, O’Leary A (2019) PyWavelets: a python package for wavelet analysis. J Open Source Softw 4(36):1237. https://doi.org/10.21105/joss.01237
Mendia I, Gil-Lopez S, Grau I, Del Ser J (2022) A novel approach for the detection of anomalous energy consumption patterns in industrial cyber-physical systems. Expert Syst. https://doi.org/10.1111/exsy.12959
Hürkamp A, Gellrich S, Dér A, Herrmann C, Dröder K, Thiede S (2021) Machine learning and simulation-based surrogate modeling for improved process chain operation. Int J Adv Manuf Technol 117(7):2297–2307. https://doi.org/10.1007/s00170-021-07084-5
Reddy DJP, Gunasekaran M, Sundari KKS (2022) An Effective Approach for the Prediction of Car Loan Default Based-on Accuracy, Precision, Recall Using Extreme Logistic Regression Algorithm and K-Nearest Neighbors Algorithm on Financial Institution Loan Dataset. In 2022 International Conference on Cyber Resilience (ICCR). pp. 1–5. doi: https://doi.org/10.1109/ICCR56254.2022.9995969
What is supervised learning? https://www.ibm.com/topics/supervised-learning. Accessed 30 Dec 2022
Kumar R, Ghosh R, Malik R, Sangwan KS, Herrmann C (2022) Development of machine learning algorithm for characterization and estimation of energy consumption of various stages during 3D printing. Procedia CIRP 107:65–70. https://doi.org/10.1016/j.procir.2022.04.011
Acknowledgements
This research is part of the project “JInGAS-Joint Indo-German Academy toward Sustainability in Engineering, Education and Entrepreneurship,” a joint project between Technische Universität Braunschweig and Birla Institute of Technology and Science Pilani, funded by the German Academic Exchange Service (DAAD) under Grant No. 57515043. The authors are thankful for the funding and support.
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
On behalf of all authors, the corresponding author states that there is no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Kumar, R., Sangwan, K.S., Herrmann, C. et al. Development and comparison of machine-learning algorithms for anomaly detection in 3D printing using vibration data. Prog Addit Manuf 9, 529–541 (2024). https://doi.org/10.1007/s40964-023-00472-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40964-023-00472-1