Next Article in Journal
Federated Learning-Based Framework: A New Paradigm Proposed for Supply Chain Risk Management
Previous Article in Journal
Performance of a Single-Flicker SSVEP BCI Using Single Channels
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

A Predictive Self-Healing Model for Optimizing Production Lines: Integrating AI and IoT for Autonomous Fault Detection and Correction †

by
Salah Eddine Ayoub El Ahmadi
* and
Laila El Abbadi
Engineering Sciences Laboratory, National School of Applied Sciences, Ibn Tofail University, Kenitra 14000, Morocco
*
Author to whom correspondence should be addressed.
Presented at the 1st International Conference on Smart Management in Industrial and Logistics Engineering (SMILE 2025), Casablanca, Morocco, 16–19 April 2025.
Eng. Proc. 2025, 97(1), 6; https://doi.org/10.3390/engproc2025097006
Published: 6 June 2025

Abstract

:
The increasing complexity of the new generation of production lines necessitates the development of intelligent, autonomous, and adaptable systems that are capable of self-diagnosis and recovery from failures and errors. A “self-healing production line” refers to a production system that integrates artificial intelligence (AI), the Internet of Things (IoT), and advanced mathematical models to identify anomalies, forecast potential failures that can occur, and implement corrective measures with minimal or no human oversight. This manuscript offers a comprehensive examination of self-healing mechanisms, encompassing IoT-enabled sensors, AI-driven predictive maintenance, and Markov Decision Processes (MDPs) for the optimization of decision-making. Also, it includes an exploration of practical implementation strategies and an automotive case study that illustrates significant enhancements in operational uptime and cost-effectiveness.

1. Introduction

Industry 4.0 has revolutionized traditional and classical manufacturing by introducing intelligent and automated production lines [1,2]. Smart factories utilize advanced technologies like AI, IoT, and cyber-physical systems for performance optimization and real-time decision-making. Nevertheless, these production lines still face risks of unforeseen breakdowns, inefficiencies, and expensive downtimes that hinder continuity and diminish profitability [3].
To find effective solutions to these challenges, self-healing production lines have been proposed as a solution. These systems integrate the following solutions: AI, smart sensors, digital twins, and also mathematical optimization to detect and resolve faults and errors in autonomous way, without any human action [4]. The objective is to switch from reactive and preventive maintenance types to predictive and autonomous correcting maintenance [5].
This manuscript explores the role of self-healing production lines in the new industry, and it is structured in five sections:
  • Section 1 introduces the concept of self-healing production lines and details the technologies used.
  • Section 2 formulates the problem of the minimization of downtime and operational costs in self-healing production lines.
  • Section 3 presents mathematical models proposed for self-healing and decision-making and includes Markov Decision Processes and cost-optimization formulations.
  • Section 4 presents the implementation strategies required to make self-healing lines, including real-time data acquisition, cybersecurity, and AI architecture.
  • Section 5 presents a case study from the automobile industry that illustrates how much downtime can be eliminated with self-healing lines, as well as other improvements in productivity realized by using self-healing lines.

2. The Concept of Self-Healing Production Lines

The evolution of artificial intelligence (AI) is changing all the industries around the world, with no exception. Production lines, which were once dominated by manual labor and human operators [6,7], are now becoming autonomous systems that use AI systems in order to enhance efficiency, accuracy, and productivity [3,8,9].
Recent studies have explored the integration of self-healing techniques in traditional manufacturing lines within Industry 4.0. Research into predictive maintenance focuses on the use of artificial intelligence (AI) and the Internet of Things (IoT) to enable systems that detect anomalies and errors in an autonomous way and undertake corrective actions without any human action [10]. The concept of self-healing production lines is supported by many studies on digital twin technology, which involves real-time system monitoring [11]. Also, the implementation of adaptive control mechanisms has shown good results in terms of minimizing downtime and improving system resilience. These results underscore the need for mathematical modeling of self-healing behaviors in order to systematically optimize maintenance strategies and fault recovery [12].
  • IoT-enabled Smart Sensors: These sensors continuously monitor machine health and process efficiency [4].
  • AI-driven Predictive Maintenance: Machine learning algorithms analyze sensor data to predict and prevent failures [5].
  • Automated Control Systems: Embedded AI systems make real-time adjustments to keep operations running smoothly [13].
  • Digital Twin Technology: Virtual models of production lines simulate different scenarios and suggest optimal solutions for faults [14].
  • Edge Computing: Processing data at the edge reduces latency and enhances real-time decision-making capabilities [15].

3. Problem Statement

Notwithstanding advances in automation and predictive maintenance, production lines continue to encounter challenges related to unanticipated machine failures, inefficient fault detection, and suboptimal maintenance strategies. Conventional maintenance methodologies, encompassing reactive and preventive approaches, frequently result in protracted periods of downtime, escalated operational expenditures, and diminished resource efficiency.
The problem that this paper seeks to address is the development of an intelligent, self-healing production system that is capable of minimizing downtime, optimizing maintenance schedules, and reducing operational costs while ensuring maximum efficiency. The central objective of this study is to provide answers to the following key questions:
The following question is posed for discussion: What methods can be utilized to predict machine failures before they occur using artificial intelligence (AI) techniques?
The objective of this study is to ascertain which mathematical models provide the most accurate representation of the decision-making process for self-healing production lines.
The following question is posed for consideration: what is the potential for automated fault detection and response mechanisms to enhance production efficiency?
The purpose of this study is to ascertain the cost implications of implementing self-healing strategies in comparison to traditional maintenance approaches.
The formulation of this problem in mathematical terms will facilitate the development of robust models to optimize decision-making in self-healing production lines.

4. Mathematical Model for Self-Healing Mechanisms

In order to mathematically represent a self-healing production system, it is necessary to consider a Markov Decision Process (MDP), which models decision-making in uncertain environments. The selection of a Markov Decision Process (MDP) as the core mathematical framework for modeling self-healing production lines is based on its suitability for representing sequential decision-making under uncertainty [16]. In such systems, machine states evolve over time due to stochastic events such as component degradation or unexpected failures. MDPs provide a methodical approach to modeling these dynamics by capturing the probabilistic transitions between system states and enabling optimal action selection based on long-term cost and reward objectives [17]. This finding is consistent with the self-healing paradigm, wherein real-time decisions regarding repair, recalibration, or continued operation must be made under uncertainty to optimize operational efficiency and reduce maintenance costs. Although there are alternative models, such as Petri Nets, Bayesian Networks, and hybrid discrete-event/continuous models, Markov Decision Processes (MDPs) offer a robust equilibrium between analytical tractability and decision-optimization capabilities. This renders them particularly well-suited for autonomous control in the dynamic and uncertain environments that are characteristic of Industry 4.0 production systems [2,11,12,18].
We start with defining the structure of the proposed self-healing mathematical model. The inputs include the following:
-
The current operational situation of each machine of the production line (normal, degraded, failed);
-
Available corrective actions (repair, replace, recalibrate, or continue);
-
System-specific parameters like transition probabilities between states and associated costs (maintenance, failure, downtime).
The outputs of the model are the actions that must be taken for each decision. The objective of the model is to find a strategy that minimizes the expected long-term cost associated with maintenance and failures, while maximizing uptime and production efficiency and resilience. This objective will be obtained by modeling the mathematical problem as a Markov Decision Process (MDP).
Let
  • S = { s 1 , s 2 , …, s n } be the set of states that represents the machine conditions (normal, degraded, failed);
  • A = { a 1 , a 2 , …, a m } be the set of actions (repair, replace, recalibrate, continue operation);
  • P(s’|s, a) be the transition probability to move from a state s to a state s’, given an action a;
  • R(s, a) be the reward function that calculates the benefit of applying an action a in a state s.
The objective is to find an optimal strategy π(s) that can minimize the long-term cost of maintenance while maximizing the production uptime. The Bellman equation for the optimal value function V(s) is given by
V s = m a x a A R s ,   a + γ s S P s s , a V ( s )
where γ is the discount factor (0 < γ ≤ 1), which determines the importance of future rewards. The optimal strategy π(s) is obtained by using reinforcement learning techniques such as Q-learning or deep learning-based approximations.
To improve and complete the decision-making framework that is provided by the Markov Decision Process (MDP), we propose a Reliability-Centered Maintenance (RCM) model that works on cost optimization based on system reliability techniques [19]. While the MDP only models the dynamics of machine states and determines optimal actions under uncertainty [16], the RCM model also provides an evaluation based on the cost of maintenance strategies over time [20]. Specifically, it quantifies the trade-off between preventive maintenance and the probability of failure, using reliability functions to estimate the occurrence of each. The objective is to minimize the total expected maintenance and failure costs throughout the production horizon. This model strengthens the MDP by supplying a grounded cost structure—where maintenance and failure costs, along with their associated probabilities, can be used as parameters in the MDP reward function.
M o p t = m i n t = 0 T ( C m P m t + ( C f P f t )
where
  • M o p t is the optimized maintenance cost;
  • C m and C f are the costs of maintenance and failure, respectively;
  • P m ( t ) and P f ( t ) are the probabilities of maintenance and failure at time t.

5. Implementation Strategies

In order to implement a self-healing production system, the following strategies must be given full consideration:
-
The acquisition of data in real time is of paramount importance. The integration of IoT devices facilitates continuous monitoring and data collection.
-
The utilization of artificial intelligence to facilitate the identification of system failures. The utilization of machine learning models for the analysis of patterns and the prediction of failures prior to their occurrence.
-
Automated response mechanisms: the integration of artificial intelligence (AI)-driven controllers represents a significant advancement in the field of automation, with the capability of autonomously adjusting machine parameters or initiating repairs.
-
The cloud-based infrastructure is a system that is hosted on the internet and accessed remotely. The implementation of cloud computing solutions facilitates the processing of voluminous data sets and the enhancement of decision-making processes.

6. Case Study and Potential Impact

A practical implementation of self-healing production lines was conducted in an automotive manufacturing facility that produces around 1200 vehicles daily. The research concentrated on a vital section of the final assembly line, which comprised 15 interconnected workstations, including robotic arms, conveyor systems, and automated fastening units [21]. A comprehensive layout of the production line was created to pinpoint critical nodes vulnerable to failures. A diagram of the production line architecture was developed to illustrate the data flow among machines, IoT devices, and AI controllers. The AI system was composed of two primary components: (1) a predictive maintenance module utilizing supervised learning models (random forests and LSTM networks) trained on historical failure logs from 2020 to 2022, and (2) an autonomous decision module employing reinforcement learning to determine optimal responses (such as recalibration, deceleration, or bypassing) based on the anticipated failure probability and system status. The case study assessed data gathered from January 2022 to December 2024, with parameters including machine-level failure rates, maintenance expenses, the mean time between failures (MTBF), and the downtime duration.
To illustrate the reduction in unplanned downtime, we present in Figure 1 a graph showing the ratio of unplanned downtime before and after implementing the self-healing mechanisms. The graph shows a good decrease in the downtime of around 30% in the studied period, which confirms the efficiency gains achieved through predictive maintenance and automated fault detection.

7. Conclusions

Self-healing production lines represent a very positive advancement in intelligent manufacturing and advanced industries, by using artificial intelligence in combination with the Internet of Things to create autonomous systems. The use of mathematical concepts such as Markov Decision Processes can allow informed choices to be made autonomously in order to maintain seamless operations. The effectiveness of the proposed mathematical models was demonstrated by a 30% reduction in unexpected downtime, underscoring the power of AI-driven predictive maintenance and automated response mechanisms. As technology progresses, it is anticipated that self-repairing systems will advance further, leading to unmatched efficiency and reliability in industrial production. Future research should prioritize the investigation of advanced AI models, hybrid approaches, and improved connections to sustainability efforts in order to enhance self-repair capabilities in complex manufacturing environments.

Author Contributions

Conceptualization, S.E.A.E.A. and L.E.A.; methodology, L.E.A.; validation, L.E.A.; formal analysis, S.E.A.E.A.; investigation, S.E.A.E.A.; resources, S.E.A.E.A.; data curation, L.E.A.; writing—original draft preparation, S.E.A.E.A. and L.E.A.; writing—review and editing, S.E.A.E.A. and L.E.A.; visualization, S.E.A.E.A. and L.E.A.; supervision, L.E.A.; project administration, L.E.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Manti, S.E.; Abbadi, L.E. Visual Management in the New Environment Industry 4.0: Analysis, Benefits and Challenges. Int. J. Eng. Trends Technol. 2024, 72, 256–259. [Google Scholar] [CrossRef]
  2. Mouhib, H.; Amar, S.; Elrhanimi, S.; Abbadi, L.E. An Extended Review of the Manufacturing Transition Under the Era of Industry 5.0. In Proceedings of the 2023 7th IEEE Congress on Information Science and Technology (CiSt), Agadir-Essaouira, Morocco, 16–22 December 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 709–714. [Google Scholar] [CrossRef]
  3. Castro, H.; Câmara, E.; Ávila, P.; Cruz-Cunha, M.; Ferreira, L. Artificial Intelligence Models: A literature review addressing Industry 4.0 approach. Procedia Comput. Sci. 2024, 239, 2369–2376. [Google Scholar] [CrossRef]
  4. Ferrer-Cid, P.; Barcelo-Ordinas, J.M.; Garcia-Vidal, J. A review of graph-powered data quality applications for IoT monitoring sensor networks. J. Netw. Comput. Appl. 2025, 236, 104116. [Google Scholar] [CrossRef]
  5. Saif, Z.; Ashraf, S.; Hameed, M.S.; Kousar, M.; Simic, V.; Aydin, N. AI-driven predictive maintenance using an enhanced TOPSIS approach for complex fuzzy information with Z-numbers. Appl. Soft Comput. 2025, 171, 112759. [Google Scholar] [CrossRef]
  6. El Ahmadi, S.E.A.E.; El Abbadi, L.; Elrhanimi, S. Efficiency Improvement of Automotive Assembly Lines Using Simple Assembly Line Balancing Problem Type-E. Logforum 2023, 19, 183–193. [Google Scholar] [CrossRef]
  7. El Ahmadi, S.E.A.; El Abbadi, L. Reducing Flow Time in an Automotive Asynchronous Assembly Line—An application from an automotive factory. Manag. Prod. Eng. Rev. 2022, 13, 99–106. [Google Scholar] [CrossRef]
  8. Abdullah, A.A.H.; Almaqtari, F.A. The impact of artificial intelligence and Industry 4.0 on transforming accounting and auditing practices. J. Open Innov. Technol. Mark. Complex. 2024, 10, 100218. [Google Scholar] [CrossRef]
  9. El Ahmadi, S.E.A.; El Abbadi, L. Impact of covid-19 pandemic on the effectiveness of automotive production lines-case study. Suranaree J. Sci. Technol. 2023, 30, 010215. [Google Scholar] [CrossRef]
  10. Van Dinter, R.; Tekinerdogan, B.; Catal, C. Predictive maintenance using digital twins: A systematic literature review. Inf. Softw. Technol. 2022, 151, 107008. [Google Scholar] [CrossRef]
  11. Mallioris, P.; Aivazidou, E.; Bechtsis, D. Predictive maintenance in Industry 4.0: A systematic multi-sector mapping. CIRP J. Manuf. Sci. Technol. 2024, 50, 80–103. [Google Scholar] [CrossRef]
  12. Ammar, M.; Haleem, A.; Javaid, M.; Bahl, S.; Verma, A.S. Implementing Industry 4.0 technologies in self-healing materials and digitally managing the quality of manufacturing. Mater. Today Proc. 2022, 52, 2285–2294. [Google Scholar] [CrossRef]
  13. Tiribelli, S.; Giovanola, B.; Pietrini, R.; Frontoni, E.; Paolanti, M. Embedding AI ethics into the design and use of computer vision technology for consumer’s behaviour understanding. Comput. Vis. Image Underst. 2024, 248, 104142. [Google Scholar] [CrossRef]
  14. Melesse, T.Y. Digital twin-based applications in crop monitoring. Heliyon 2025, 11, e42137. [Google Scholar] [CrossRef] [PubMed]
  15. Gao, Z.; Yan, W. The real-time data processing framework for blockchain and edge computing. Alex. Eng. J. 2025, 120, 50–61. [Google Scholar] [CrossRef]
  16. Alexandre, R.E.A.; Fragoso, M.D.; Filho, V.J.M.F.; Arruda, E.F. Solving Markov decision processes via state space decomposition and time aggregation. Eur. J. Oper. Res. 2025, 324, 155–167. [Google Scholar] [CrossRef]
  17. Borkar, V.S. Some big issues with small noise limits in Markov decision processes. Syst. Control Lett. 2025, 196, 105972. [Google Scholar] [CrossRef]
  18. Belomestny, D.; Schoenmakers, J.; Zorina, V. Weighted mesh algorithms for general Markov decision processes: Convergence and tractability. J. Complex. 2025, 88, 101932. [Google Scholar] [CrossRef]
  19. Yang, X.; He, Y.; Liao, R.; Cai, Y.; Dai, W. Mission reliability-centered opportunistic maintenance approach for multistate manufacturing systems. Reliab. Eng. Syst. Saf. 2024, 241, 109693. [Google Scholar] [CrossRef]
  20. Piasson, D.; Bíscaro, A.A.P.; Leão, F.B.; Mantovani, J.R.S. A new approach for reliability-centered maintenance programs in electric power distribution systems based on a multiobjective genetic algorithm. Electr. Power Syst. Res. 2016, 137, 41–50. [Google Scholar] [CrossRef]
  21. Ahmadi, S.E.A.E.; Abbadi, L.E.; Elrhanimi, S. Improvement of an Algorithm for Resilient Assembly Line Balancing in Automotive Sector. In Proceedings of the 2023 9th International Conference on Optimization and Applications (ICOA), AbuDhabi, United Arab Emirates, 5–6 October 2023; IEEE: Piscataway, NJ, USA, 2023; pp. 1–5. [Google Scholar] [CrossRef]
Figure 1. Unplanned downtime ratio improvement.
Figure 1. Unplanned downtime ratio improvement.
Engproc 97 00006 g001
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

El Ahmadi, S.E.A.; El Abbadi, L. A Predictive Self-Healing Model for Optimizing Production Lines: Integrating AI and IoT for Autonomous Fault Detection and Correction. Eng. Proc. 2025, 97, 6. https://doi.org/10.3390/engproc2025097006

AMA Style

El Ahmadi SEA, El Abbadi L. A Predictive Self-Healing Model for Optimizing Production Lines: Integrating AI and IoT for Autonomous Fault Detection and Correction. Engineering Proceedings. 2025; 97(1):6. https://doi.org/10.3390/engproc2025097006

Chicago/Turabian Style

El Ahmadi, Salah Eddine Ayoub, and Laila El Abbadi. 2025. "A Predictive Self-Healing Model for Optimizing Production Lines: Integrating AI and IoT for Autonomous Fault Detection and Correction" Engineering Proceedings 97, no. 1: 6. https://doi.org/10.3390/engproc2025097006

APA Style

El Ahmadi, S. E. A., & El Abbadi, L. (2025). A Predictive Self-Healing Model for Optimizing Production Lines: Integrating AI and IoT for Autonomous Fault Detection and Correction. Engineering Proceedings, 97(1), 6. https://doi.org/10.3390/engproc2025097006

Article Metrics

Back to TopTop