Sensor-based monitoring systems form the backbone of modern industrial and safety-critical infrastructures. Failures in sensors can cause unexpected downtime, economic loss, and hazardous conditions in automated environments. This research proposes a hybrid machine learning framework for predictive maintenance that integrates regression, classification, and clustering techniques to estimate the Remaining Useful Life (RUL) of sensors, predict maintenance requirements, and detect anomalies. The developed model leverages supervised learning for RUL and maintenance prediction, combined with K-Means clustering for unsupervised anomaly detection. A user-centric Streamlit dashboard enables real-time visualization and operational decision-making. The system functions completely offline, ensuring data privacy in restricted environments. Experiments on a balanced simulated dataset demonstrate accurate anomaly detection and effective predictive insights, highlighting the framework’s potential for adoption in real-world industrial systems.
Introduction
In Industry 4.0, sensors are vital for data collection, process optimization, automation, and safety. However, sensor degradation and drift can lead to inaccurate readings, causing operational downtime, financial loss, and safety risks. Traditional reactive or preventive maintenance strategies are inefficient, prompting the adoption of predictive maintenance, which uses machine learning to forecast failures and schedule timely interventions.
This study proposes a hybrid predictive maintenance framework combining regression, classification, and clustering models to:
Predict Remaining Useful Life (RUL) of sensors,
Classify maintenance needs,
Detect anomalies via K-Means clustering,
Provide an interactive offline Streamlit dashboard for visualization and decision support.
The methodology includes comprehensive data preprocessing (handling missing values, scaling, outlier retention, feature engineering), and a model architecture where:
Regression predicts RUL,
Classification flags sensors needing maintenance,
Clustering identifies anomalous behavior,
A hybrid rule fuses outputs for robust anomaly detection.
The framework integrates data acquisition, preprocessing, model inference, hybrid evaluation, and visualization in a seamless workflow, using a three-tier architecture: data layer, business logic layer, and presentation layer. This approach enhances reliability, interpretability, and proactive maintenance compared to traditional threshold-based systems.
Conclusion
This research demonstrates a complete predictive maintenance framework that leverages machine learning for sensor anomaly detection and Remaining Useful Life (RUL) prediction. By integrating regression, classification, and clustering models within a Streamlit-based dashboard, the system bridges predictive intelligence with usability.
The results indicate that the framework achieves a balanced trade-off between accuracy, interpretability, and offline functionality. It provides a scalable foundation for integrating real sensor data in future industrial implementations.
References
[1] V. Gupta, A. Sharma, and N. Singh, “Machine Learning Approaches for Predictive Maintenance in Industrial Systems,” IEEE Access, vol. 9, pp. 75689–75703, 2021.
[2] A. Javed, M. I. Malik, and T. Rehman, “Remaining Useful Life Prediction using Random Forest for Sensor-Driven Systems,” Sensors, vol. 22, no. 4, pp. 1351–1360, 2022.
[3] R. Kumar and D. Singh, “Deep Neural Network-Based Fault Detection for Turbine Sensors,” International Journal of Prognostics and Health Management, vol. 11, no. 2, pp. 88–98, 2020.
[4] M. Thirunavukarasu, P. Sundaram, and K. Rajan, “Unsupervised Anomaly Detection in Industrial Equipment using Clustering Techniques,” IEEE Transactions on Industrial Informatics, vol. 16, no. 12, pp. 7589–7597, 2020.
[5] A. Ucar, M. Karakose, and N. K?r?mça, “Artificial Intelligence for Predictive Maintenance Applications: Key Components, Trustworthiness, and Future Trends,” Applied Sciences, vol. 14, no. 2, article 898, 2024.
[6] P. Ghosh, A. Banerjee, and L. Dey, “Explainable Predictive Maintenance Models using SHAP for Sensor Fault Analysis,” Expert Systems with Applications, vol. 198, 2023.
[7] A. Saxena and S. Goebel, “PHM08 Challenge Data Set for Remaining Useful Life Estimation,” NASA Ames Prognostics Data Repository, 2008.
[8] S. Bahl and R. Choudhary, “Hybrid Learning Models for Predictive Maintenance of IoT Sensors,” Procedia Computer Science, vol. 218, pp. 547–555, 2023.
[9] L. Zhao, F. Wang, and T. Liu, “Anomaly Detection in Sensor Networks using K-Means Clustering,” IEEE Sensors Journal, vol. 21, no. 17, pp. 19462–19471, 2021.
[10] P. Mallioris, et al., “Predictive Maintenance in Industry 4.0: A Systematic Multi-Case Review,” Procedia CIRP, 2024.