Mechanical Engineering for Society and Industry

Articles

Smart vibration sensing and predictive analytics for intelligent textile manufacturing: An IoT-edge and machine learning method

Deni Kurnia , Agus Sutanto , Hanif Fakhrurroja , Lovely Son

Abstract

This study aimed to propose an IoT-Edge method for detecting vibration abnormalities in Textile Manufacturing, specifically on Draw Texturing Yarn (DTY) machines using an ADXL345 sensor and a Machine Learning Algorithm. The proposed system incorporated wireless sensor nodes, the MQTT protocol, Fast Fourier Transform (FFT) analysis, and a tuned Random Forest (RF) classifier to enable real-time monitoring as well as predictive maintenance. During the analysis, vibration data were collected from 13 spindles, with features extracted in both time as well as frequency domains to distinguish between normal and abnormal machine conditions. The RF model, optimized through hyperparameter tuning, achieved an accuracy of 97%, significantly outperforming the Support Vector Machine (SVM) baseline, which reached 71%. Major results showed the effectiveness of energy and centroid features in fault detection, with the Z-axis vibration proving to be a good indicator of yarn defects. The system presented low latency (average 20.37 ms) in data transmission using the MQTT protocol, ensuring practical deployability. This study offered a scalable and cost-effective solution for industrial vibration monitoring, bridging gaps in real-time processing and seamless IoT incorporation to support predictive maintenance in textile manufacturing.

Keywords

IoT; DTY Machine; ADXL345; MQTT; Random forest; Hyperparameter tuning

References

  1. [1] N. Jamil, M. F. Hassan, S. K. Lim, and A. R. Yusoff, “Predictive maintenance for rotating machinery by using vibration analysis,” Journal of Mechanical Engineering and Sciences, vol. 15, no. 3, pp. 8289–8299, Sep. 2021, doi: 10.15282/jmes.15.3.2021.07.0651.
  2. [2] M. Romanssini, P. C. C. de Aguirre, L. Compassi-Severo, and A. G. Girardi, “A Review on Vibration Monitoring Techniques for Predictive Maintenance of Rotating Machinery,” Eng, vol. 4, no. 3, pp. 1797–1817, Jun. 2023, doi: 10.3390/eng4030102.
  3. [3] D. Jung, Z. Zhang, and M. Winslett, “Vibration Analysis for IoT Enabled Predictive Maintenance,” in 2017 IEEE 33rd International Conference on Data Engineering (ICDE), IEEE, Apr. 2017, pp. 1271–1282. doi: 10.1109/ICDE.2017.170.
  4. [4] M. Iliyas Ahmad, Y. Yusof, M. E. Daud, K. Latiff, A. Z. Abdul Kadir, and Y. Saif, “Machine monitoring system: a decade in review,” The International Journal of Advanced Manufacturing Technology, vol. 108, no. 11–12, pp. 3645–3659, Jun. 2020, doi: 10.1007/s00170-020-05620-3.
  5. [5] V. J. F. Alexandre, W. P. Boshoff, and R. Combrinck, “Damage evaluation and mechanisms of textile reinforced concrete during telescopic failure,” Construction and Building Materials, vol. 403, p. 133055, Nov. 2023, doi: 10.1016/j.conbuildmat.2023.133055.
  6. [6] Afzeri, D. Kurnia, M. N. Hakim, and I. S. Nurmala, “Implementation of FFT in Industrial Induction Motor Monitoring via Mobile Phone,” Journal of Applied Science and Advanced Engineering, vol. 1, no. 1, pp. 5–10, Jan. 2023, doi: 10.59097/jasae.v1i1.8.
  7. [7] D. Goyal, A. Choudhary, B. S. Pabla, and S. S. Dhami, “Support vector machines based non-contact fault diagnosis system for bearings,” Journal of Intelligent Manufacturing, vol. 31, no. 5, pp. 1275–1289, Jun. 2020, doi: 10.1007/s10845-019-01511-x.
  8. [8] L. Yuan, D. Lian, X. Kang, Y. Chen, and K. Zhai, “Rolling Bearing Fault Diagnosis Based on Convolutional Neural Network and Support Vector Machine,” IEEE Access, vol. 8, pp. 137395–137406, 2020, doi: 10.1109/ACCESS.2020.3012053.
  9. [9] Q. Hu, X.-S. Si, Q.-H. Zhang, and A.-S. Qin, “A rotating machinery fault diagnosis method based on multi-scale dimensionless indicators and random forests,” Mechanical Systems and Signal Processing, vol. 139, p. 106609, May 2020, doi: 10.1016/j.ymssp.2019.106609.
  10. [10] G. Guo, X. Cui, and B. Du, “Random-Forest Machine Learning Approach for High-Speed Railway Track Slab Deformation Identification Using Track-Side Vibration Monitoring,” Applied Sciences, vol. 11, no. 11, p. 4756, May 2021, doi: 10.3390/app11114756.
  11. [11] F. A. D. N. Setúbal, S. de S. Custódio Filho, N. S. Soeiro, A. L. A. Mesquita, and M. V. A. Nunes, “Force Identification from Vibration Data by Response Surface and Random Forest Regression Algorithms,” Energies, vol. 15, no. 10, p. 3786, May 2022, doi: 10.3390/en15103786.
  12. [12] X. Zhao and M. Jia, “A novel unsupervised deep learning network for intelligent fault diagnosis of rotating machinery,” Structural Health Monitoring, vol. 19, no. 6, pp. 1745–1763, Nov. 2020, doi: 10.1177/1475921719897317.
  13. [13] G. Toh and J. Park, “Review of Vibration-Based Structural Health Monitoring Using Deep Learning,” Applied Sciences, vol. 10, no. 5, p. 1680, Mar. 2020, doi: 10.3390/app10051680.
  14. [14] Y. Zou, Y. Zhang, and H. Mao, “Fault diagnosis on the bearing of traction motor in high-speed trains based on deep learning,” Alexandria Engineering Journal, vol. 60, no. 1, pp. 1209–1219, Feb. 2021, doi: 10.1016/j.aej.2020.10.044.
  15. [15] A. Kumar, G. Vashishtha, C. P. Gandhi, Y. Zhou, A. Glowacz, and J. Xiang, “Novel Convolutional Neural Network (NCNN) for the Diagnosis of Bearing Defects in Rotary Machinery,” IEEE Transactions on Instrumentation and Measurement, vol. 70, pp. 1–10, 2021, doi: 10.1109/TIM.2021.3055802.
  16. [16] N. V. S. Shankar, V. S. N. Venkata Ramana, A. Sravani, P. Sreenivasulu, and K. Sriram Vikas, “IoT for vibration measurement in engineering research,” Materials Today: Proceedings, vol. 59, pp. 1792–1796, 2022, doi: 10.1016/j.matpr.2022.04.380.
  17. [17] M. Babiuch, P. Foltynek, and P. Smutny, “Using the ESP32 Microcontroller for Data Processing,” in 2019 20th International Carpathian Control Conference (ICCC), IEEE, May 2019, pp. 1–6. doi: 10.1109/CarpathianCC.2019.8765944.
  18. [18] S. Quincozes, T. Emilio, and J. Kazienko, “MQTT Protocol: Fundamentals, Tools and Future Directions,” IEEE Latin America Transactions, vol. 17, no. 09, pp. 1439–1448, Sep. 2019, doi: 10.1109/TLA.2019.8931137.
  19. [19] Y. Liu, Y. Wang, and J. Zhang, “New Machine Learning Algorithm: Random Forest,” in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 7473 LNCS, 2012, pp. 246–252. doi: 10.1007/978-3-642-34062-8_32.
  20. [20] M. Hasibuzzaman, A. Shufian, R. K. Shefa, R. Raihan, J. Ghosh, and A. Sarker, “Vibration Measurement & Analysis Using Arduino Based Accelerometer,” in 2020 IEEE Region 10 Symposium (TENSYMP), IEEE, 2020, pp. 508–512. doi: 10.1109/TENSYMP50017.2020.9230668.
  21. [21] A. Sutanto, D. Kurnia, H. Fakhrurroja, and N. Roni Wibowo, “Real-Time Identification of Yarn Irregularities on DTY Machine Through Vibration Monitoring,” Jurnal Polimesin, vol. 22, no. 6, p. 693, Dec. 2024, doi: 10.30811/jpl.v22i6.5847.
  22. [22] O. Khouili, M. Hanine, M. Louzazni, and W. J. Obidallah, “Smart solar power prediction using an FFT-Infused ShuffleNet regressor: A high-accuracy lightweight framework,” International Journal of Electrical Power & Energy Systems, vol. 172, p. 111240, Nov. 2025, doi: 10.1016/j.ijepes.2025.111240.
  23. [23] R. Tanious and R. Manolov, “Violin plots as visual tools in the meta-analysis of Single-Case Experimental Designs,” Methodology, vol. 18, no. 3, pp. 221–238, Sep. 2022, doi: 10.5964/meth.9209.
  24. [24] J. Camacho, J. Picó, and A. Ferrer, “Data understanding with PCA: Structural and Variance Information plots,” Chemometrics and Intelligent Laboratory Systems, vol. 100, no. 1, pp. 48–56, Jan. 2010, doi: 10.1016/j.chemolab.2009.10.005.
  25. [25] H. A. Salman, A. Kalakech, and A. Steiti, “Random Forest Algorithm Overview,” Babylonian Journal of Machine Learning, vol. 2024, pp. 69–79, Jun. 2024, doi: 10.58496/BJML/2024/007.
  26. [26] G. Biau and E. Scornet, “A random forest guided tour,” TEST, vol. 25, no. 2, pp. 197–227, Jun. 2016, doi: 10.1007/s11749-016-0481-7.
  27. [27] J.-M. Nguyen et al., “Random forest of perfect trees: concept, performance, applications and perspectives,” Bioinformatics, vol. 37, no. 15, pp. 2165–2174, Aug. 2021, doi: 10.1093/bioinformatics/btab074.
  28. [28] V. Jakkula, “Tutorial on Support Vector Machine (SVM),” School of EECS, Washington State University, 2011.
  29. [29] Y. Zhang, “Support Vector Machine Classification Algorithm and Its Application,” in Communications in Computer and Information Science, vol. 308 CCIS, no. PART 2, 2012, pp. 179–186. doi: 10.1007/978-3-642-34041-3_27.
  30. [30] S. Salcedo‐Sanz, J. L. Rojo‐Álvarez, M. Martínez‐Ramón, and G. Camps‐Valls, “Support vector machines in engineering: an overview,” WIREs Data Mining and Knowledge Discovery, vol. 4, no. 3, pp. 234–267, May 2014, doi: 10.1002/widm.1125.
  31. [31] Y. Zhao, W. Zhang, and X. Liu, “Grid search with a weighted error function: Hyper-parameter optimization for financial time series forecasting,” Applied Soft Computing, vol. 154, p. 111362, Mar. 2024, doi: 10.1016/j.asoc.2024.111362.
  32. [32] F. Budiman, “SVM-RBF Parameters Testing Optimization Using Cross Validation and Grid Search to Improve Multiclass Classification,” Scientific Visualization, vol. 11, no. 1, pp. 80–90, 2019, doi: 10.26583/sv.11.1.07.
  33. [33] S. S. Patil and J. A. Gaikwad, “Vibration analysis of electrical rotating machines using FFT: A method of predictive maintenance,” in 2013 Fourth International Conference on Computing, Communications and Networking Technologies (ICCCNT), IEEE, Jul. 2013, pp. 1–6. doi: 10.1109/ICCCNT.2013.6726711.
  34. [34] B. Mishra, B. Mishra, and A. Kertesz, “Stress-testing mqtt brokers: A comparative analysis of performance measurements,” Energies, vol. 14, no. 18, pp. 1–20, 2021, doi: 10.3390/en14185817.
  35. [35] L. Dong, X. Li, M. Xu, and Q. Li, “Comparisons of random forest and Support Vector Machine for predicting blasting vibration characteristic parameters,” Procedia Engineering, vol. 26, pp. 1772–1781, 2011, doi: 10.1016/j.proeng.2011.11.2366.
  36. [36] M. Daviran, A. Maghsoudi, R. Ghezelbash, and B. Pradhan, “A new strategy for spatial predictive mapping of mineral prospectivity: Automated hyperparameter tuning of random forest approach,” Computers and Geosciences, vol. 148, no. May 2020, p. 104688, 2021, doi: 10.1016/j.cageo.2021.104688.
  37. [37] Y. Deng, Y. Zhao, H. Ju, T.-H. Yi, and A. Li, “Abnormal data detection for structural health monitoring: State-of-the-art review,” Developments in the Built Environment, vol. 17, p. 100337, Mar. 2024, doi: 10.1016/j.dibe.2024.100337.
  38. [38] S. Liu et al., “Multi-feature fusion for fault diagnosis of rotating machinery based on convolutional neural network,” Computer Communications, vol. 173, pp. 160–169, May 2021, doi: 10.1016/j.comcom.2021.04.016.
  39. [39] A. Kafeel et al., “An Expert System for Rotating Machine Fault Detection Using Vibration Signal Analysis,” Sensors, vol. 21, no. 22, p. 7587, Nov. 2021, doi: 10.3390/s21227587.
  40. [40] A. R. Alkhafajee, A. M. A. Al-Muqarm, A. H. Alwan, and Z. R. Mohammed, “Security and Performance Analysis of MQTT Protocol with TLS in IoT Networks,” in 2021 4th International Iraqi Conference on Engineering Technology and Their Applications (IICETA), IEEE, Sep. 2021, pp. 206–211. doi: 10.1109/IICETA51758.2021.9717495.
  41. [41] J. Shi, G. Si, S. Li, B. Oresanya, and Y. Zhang, “Feature extraction based on the fractional Fourier transform for vibration signals with application to measuring the load of a tumbling mill,” Control Engineering Practice, vol. 84, pp. 238–246, Mar. 2019, doi: 10.1016/j.conengprac.2018.11.012.
  42. [42] S. L. Ullo and G. R. Sinha, “Advances in Smart Environment Monitoring Systems Using IoT and Sensors,” Sensors, vol. 20, no. 11, p. 3113, May 2020, doi: 10.3390/s20113113.
  43. [43] R. Kumar, K. S. Sangwan, C. Herrmann, R. Ghosh, and M. Sangwan, “Development and comparison of machine-learning algorithms for anomaly detection in 3D printing using vibration data,” Progress in Additive Manufacturing, vol. 9, no. 2, pp. 529–541, Apr. 2024, doi: 10.1007/s40964-023-00472-1.