Abstract
Under Industry 4.0, the increasing complexity of industrial automation systems is driving demand for data-driven and intelligent maintenance solutions. This paper presents an Internet of Things (IoT)-enabled predictive maintenance prototype for detecting mechanical faults and estimating the nominal pneumatic supply pressure of the Handling Station in a Festo MPS 500 modular production system. Gripper transit times between three proximity sensors were acquired from a Siemens PLC through a Node-RED (FlowFuse) pipeline. The supply pressure was set manually to four levels (3.5–6 bar) and monitored using an analog manometer. This process resulted in four direction-specific datasets, each containing 421–424 samples, with deliberately introduced faults. Random Forest and Gradient Boosting were evaluated alongside a decision tree, an SVM and a small neural network. With records split at random, Random Forest achieved fault classification accuracies of 89.4–94.1% and estimated the set pressure level from transit time alone, achieving values of 0.70–0.88. When entire recording runs were withheld from training, accuracy decreased to 86–91% for three segments, and to 62% for the fourth, while the pressure estimation error increased to 0.55–0.73 bar in three segments. Gradient Boosting achieved comparable performance. Six bar was identified almost exactly, while 3.5, 4 and 5 bar were only partially separated. Predictions were transmitted via MQTT to a prototype Node-RED dashboard and mobile application, demonstrated using simulated telemetry.
1. Introduction
Modern industrial systems depend on continuous machine operation, yet all machinery is subject to eventual degradation and failure without adequate maintenance [1,2]. Organizations typically adopt one of several maintenance strategies to manage this risk. Reactive maintenance—operating equipment until failure and then repairing it—minimizes upfront costs but has the risk of catastrophic damage to expensive components and increases the likelihood of safety hazards occurring in critical systems [3]. Preventive maintenance strategies mitigate this risk through scheduled inspections and servicing at fixed intervals; however, since the failure timing cannot be precisely predicted, maintenance schedules are typically conservative, wasting usable machine life and incurring unnecessary costs [3]. Predictive maintenance (PdM) has emerged as a third paradigm that addresses these limitations by forecasting failures before they occur, allowing maintenance to be scheduled only when necessary [4]. The growth of Industry 4.0 technologies—Industrial Internet of Things (IIoT), real-time data acquisition, and machine learning, among others—has made PdM increasingly practical for deployment on real production systems, as detailed in Section 2. However, transforming PdM concepts into affordable end-to-end systems that combine reliable data acquisition, interpretable machine learning models, and real-time operator-facing dashboards remains an active engineering challenge, particularly for small-scale or resource-constrained deployments.
This paper addresses this challenge through a case study on the Handling Station of a Festo MPS 500 modular production system. An end-to-end IoT-enabled PdM pipeline is developed that acquires time-series sensor data from a Siemens PLC via Node-RED, applies Random Forest and Gradient Boosting models to perform binary classification of mechanical faults and estimation of the pneumatic pressure level. The real-time predictions are published via MQTT to both a web-based dashboard and a mobile application. This work has a threefold contribution: (1) an empirical evaluation and a comparison of ensemble learning methods for simultaneous fault classification and pressure level estimation on a physical pneumatic actuator testbed; (2) a fully implemented IIoT architecture built mainly from open-source tools (Node-RED, MQTT), which integrates PLC data acquisition, cloud logging, MQTT messaging, and real-time visualization; and (3) a transparent assessment of the current limitations—in particular, the four discrete pressure levels tested, the internal-only validation on a single testbed, the collection of data in blocks per pressure level, and the cross-validation–test gap on some segments—that identifies concrete directions for future work.
Node-RED, MQTT and ensemble learning are each established tools, and novelty is not claimed for them individually. The main contribution of this study lies in the integration and joint evaluation of these technologies on a physical pneumatic actuator testbed in which (i) the only sensing used is the three proximity sensors already installed on the station, from which transit times are derived, so that no additional sensors are needed; (ii) the pressure level estimation is based on the same transit times, without a need for a pressure sensor, while fault classification uses these times together with the nominal pressure setting; and (iii) the results are reported together with their limitations, including the fact that they are internal-validation estimates on data collected in blocks. Table 1 positions the work against closely related predictive-maintenance studies.
Table 1.
Closest related studies compared with the present work.
The remainder of this paper is organized as follows. Section 2 provides a review of related work in PdM and IIoT and formalizes the problem statement. Section 3 describes the experimental testbed and dataset. The machine learning methodologies and results are presented in Section 4. Section 5 details the real-time integration and visualization architecture. The directions for future work are discussed in Section 6, and Section 7 concludes the paper.
2. Literature Review
PdM has become a central research topic within Industry 4.0, driven by its ability to decrease unplanned downtime and maintenance costs while extending equipment lifespans, compared to time-based or reactive strategies [2,11]. This shift towards condition-based intervention has been enabled by three developments: the IIoT, which provides the infrastructure for sensing and connectivity for continuous data acquisition; advancements in machine learning (ML), which allow complex relationships between sensor signals and failure modes to be learned directly from data; and the increasing availability of reasonably priced, modular automation hardware that makes such systems viable even in constrained research and small-enterprise settings [12,13]. PdM research spans several interconnected fields relevant to the system developed in this paper: the machine learning algorithms used for fault detection and prognosis, the IIoT platforms that enable data acquisition and monitoring, and the practical challenges such as data scarcity, cost, and explainability which continue to limit the adoption of PdM in industrial settings. Systematic reviews of this literature stress the need for integration across disciplines [2] and for implementing the proposed frameworks in real industrial environments [14]; comparatively few studies report end-to-end systems that pair fault detection or prognosis models with a live data-acquisition pipeline and an operator-facing interface. This gap motivates the system architecture and experimental evaluation presented in this paper. This section reviews recent work in each of these fields. Section 2.1 discusses machine learning approaches used for fault classification and prognostic regression, with a particular focus on ensemble tree-based methods. Section 2.2 provides a review of the IIoT platforms and architectures used for real-time condition monitoring. Section 2.3 discusses the main challenges in deployment, and Section 2.4 formalizes the problem statement.
2.1. Machine Learning Approaches for Fault Detection and Regression
Ensemble tree-based methods, particularly Random Forest and Gradient Boosting, have become widely adopted for fault detection and prognostic regression in PdM, due to their robustness to noisy sensor data, their ability to model nonlinear relationships without extensive feature engineering, and their capacity to quantify feature importance [15]. Random Forest classifiers have been applied successfully in a range of industrial fault-diagnosis tasks. A Random Forest-based condition-monitoring framework was deployed on operational automotive transfer presses using twelve months of field vibration and encoder data, where Random Forest outperformed five competing classifiers—including SVM, k-NN, and Naive Bayes—achieving diagnostic accuracy and allowing component-level localization of damaged gear teeth under real production conditions [7]. In rotating-machinery fault detection, similar advantages of Random Forest over alternative classifiers have been reported more broadly: ensemble methods have consistently ranked among the top-performing approaches for distinguishing normal from faulty operating states, based on time-domain sensor features [16].
In addition to classification, ensemble methods have also been applied to regression-based prognostic tasks, most notably remaining useful life (RUL) estimation. Random Forest and Gradient Boosting regressors are directly compared for the prediction of the RUL of rolling element bearings from time-domain vibration features, ranking feature importance via decision-tree-based selection prior to training. Both ensemble techniques provided accurate RUL estimates, with the comparative evaluation highlighting the trade-offs between the two approaches in terms of stability and sensitivity to hyperparameter choices [17]. This direct algorithmic comparison closely parallels the approach adopted in the present study, in which Random Forest and Gradient Boosting are evaluated in parallel for both fault classification and pressure level estimation tasks, allowing their relative strengths to be assessed on the same dataset.
In the field of pneumatic systems, recent journal studies have mainly addressed leakage and air-loss faults. Zhang et al. detected leakage in a pneumatic system from the signal at a single upstream point and compared classical classifiers (Gaussian process classification, SVM, and k-NN) with a one-dimensional convolutional network [8]. Barakat et al. detected air leaks from speed profiles and reached 88.4% accuracy with a three-model ensemble on limited data [9]. Both studies focus on leakage detection from the process signals themselves; the present work instead uses transit times between the three proximity sensors that are already installed on the station, and links the models to an IIoT pipeline and an operator dashboard.
Despite the substantial body of research work, to the best of our knowledge, comparatively few studies apply ensemble learning to pneumatic actuator systems specifically, or combine binary fault classification with estimation of the level of a physical process variable–such as the supply pressure–within a single jointly evaluated framework. The majority of existing applications of Random Forest and Gradient Boosting in PdM address classification or regression separately, typically on rotating machinery (such as bearings, motors, and gears) rather than pneumatic linear actuators, and are rarely coupled with a live data-acquisition pipeline integrated with an IIoT architecture of the kind described in this paper. Simultaneous fault classification and the pressure-level estimation of pneumatic system data evaluated within an end-to-end IIoT architecture constitutes a distinguishing feature of the approach presented in this work.
2.2. IIoT Platforms and Real-Time Monitoring
Because of its ability to provide continuous data collection and real-time condition monitoring, the IIoT plays an important role in enabling PdM at the system level. In [18], a modular IIoT software platform, called TIP4.0, was introduced; it streamlines sensor data acquisition and processing to support real-time condition monitoring in heterogeneous industrial equipment. Ref. [19] shows that performing inference locally, instead of transmitting raw sensor data to a centralized server, substantially reduces latency and improves real-time responsiveness in fault classification for smart manufacturing. This consideration is directly relevant to the edge-deployment directions discussed in Section 6.3.
In this context, Node-RED has become a broadly accepted low-code platform to implement IIoT and SCADA data pipelines, due to its flow-based visual programming model, native support for MQTT, OPC UA and HTTP protocols, and seamless connectivity with industrial controllers and cloud services [6,20]. Previous studies have confirmed its effectiveness for PdM: in [5], an IIoT- and machine-learning-based PdM methodology is presented in which Node-RED processes historical sensor data stored in a database for visualization and predictive analysis, including RUL estimation, in a case study on a wastewater treatment plant. Similarly, in [6], an open-source SCADA architecture based on Node-RED is demonstrated for real-time monitoring and fault-alert generation in a hybrid renewable power system. Other recent work uses MQTT for IIoT-based PdM as well: Kazmi et al. proposed an IIoT sensor node that sends data over MQTT to local and main brokers, with machine-learning fault prediction and a web dashboard for induction motors [10]. Refs. [5,6] use Node-RED as the integration and visualization layer, as in the Node-RED/FlowFuse pipeline used in this study. The MQTT protocol is the leading option in IIoT systems for communication among distributed systems, thanks to its efficient publish–subscribe design, which is suitable for constrained bandwidth and high-latency conditions [21].
PLC-embedded intelligence has been investigated as a complementary approach to cloud-based IIoT systems, enabling sensing and decision-making closer to the controller, rather than relying solely on cloud infrastructure. Computer vision was embedded directly into a CODESYS PLC to enable object identification without external servers [22], and machine vision was coupled with PLC-based commands to automate the quality control of bottle-labeling in [23], together demonstrating the feasibility of tightly integrating sensing, control, and decision-making within the PLC. These studies underscore a trend toward distributing intelligence across the PLC, edge, and cloud layers, rather than relying on a single centralized processing platform.
Taken together, these studies identify the building blocks of PdM architectures, including modular IIoT platforms, Node-RED flow programming, MQTT communication, and embedded PLC-based intelligence. To the best of our knowledge, few studies report fully integrated PdM pipelines that couple PLC sensing, cloud logging, machine-learning inference, and visualization on web and mobile platforms, such as the architecture described in Section 5.
2.3. Challenges in PdM Deployment
Despite notable progress on both the algorithmic and architectural fronts, persistent practical barriers constrain the widespread deployment of PdM in industrial applications. The first challenge relates to model explainability and trustworthiness. AI-based fault detection models, particularly deep learning approaches, are often criticized for limited interpretability, which undermines stakeholder confidence in safety-critical industrial applications where maintenance decisions have operational and safety consequences [24]. In their review, Ucar et al. examined current efforts to strengthen the reliability of AI-based PdM, stressing that explainability, rather than accuracy alone, is often decisive in operator adoption [24]. To address this concern, the present study employs ensemble tree-based methods—Random Forest and Gradient Boosting—which provide built-in feature-importance estimation (Section 4.2.1) and offer improved interpretability relative to deep neural networks.
A second challenge is the scarcity of high-quality labeled data to train reliable PdM models. Since equipment failures are normally rare in well-maintained industrial systems, obtaining adequate labeled data on faulty operation is inherently challenging without artificially inducing faults, which is typically impractical or unsafe in production environments. The reviews by Nieminen et al. and Shafiee highlight synthetic data generation, particularly digital twin simulation, as a solution to limited fault data and model robustness issues while emphasizing that accurate twin development requires detailed system modeling often unavailable in real-world contexts [25,26]. This trade-off is relevant for the present study, where mechanical faults were intentionally induced on the physical Festo MPS 500 testbed to generate a labeled training dataset (Section 3.3), rather than relying on a digital twin, for the reasons described in Section 3.1.
Another challenge lies in the expense and resource requirements of PdM adoption, which tend to weigh more heavily on small and medium-sized enterprises. In their review, Mahale et al. examined data-driven PdM methods and data-quality concerns, highlighting that the infrastructure and expertise required for PdM can hinder adoption by resource-constrained organizations and suggested affordable pathways for SMEs to implement PdM gradually [4]. The architecture described in this paper addresses this constraint by using open-source software (Node-RED, version 5.0.9), a hosted FlowFuse instance, a freely accessible cloud spreadsheet (Google Sheets), and a public MQTT broker, instead of using proprietary SCADA infrastructure. The hosted services are not open source and a cost analysis is left to Section 6.7; Section 6.2 further discusses the security and reliability trade-offs.
These three challenges—explainability, data scarcity, and cost—are interrelated and directly influence the algorithmic and architectural choices discussed in Section 2.1 and Section 2.2. The problem statement formalized in the next section integrates all three threads to justify the design choices made in this study.
2.4. Problem Statement
The literature reviewed in Section 2.1, Section 2.2 and Section 2.3 indicates that the individual elements of PdM (ensemble ML methods for fault detection and prognosis, IIoT platforms for real-time data acquisition and monitoring, and approaches to address data scarcity, cost, and explainability) are each well established independently [2,4,13,14,24,25,26]. However, their integration into a single, end-to-end system that is evaluated on a physical testbed rather than in simulation, with transparent evaluation of both its achievements and limitations, remains comparatively underexplored.
This study is motivated by three gaps. First, many PdM studies remain confined to algorithmic demonstrations, without addressing how predictions reach operators [2]. Node-RED-based systems have been reported for PdM of industrial equipment [5], hybrid power systems [6] and induction motors [10]. Recent machine-learning studies address pneumatic leakage [8,9], but to the best of our knowledge, these two lines of work have not been combined for a pneumatic actuator in a single, evaluated system (Table 1). Second, solutions that are evaluated on large, curated or simulated datasets may not transfer well to SME settings or academic testbeds. Data scarcity can be addressed by synthetic data [25,26], and by data augmentation [27,28], which are discussed as future work in Section 6.5 and Section 6.6. Third, the explainability challenges highlighted by Ucar et al. [24] indicate that the choice of the model, beyond prediction accuracy, determines whether a PdM strategy is trusted, which motivates the use of interpretable ensemble methods over opaque deep learning approaches.
This study addresses these three gaps by designing, implementing, and evaluating an IoT-based PdM framework on the Handling Station of the Festo MPS 500 modular production system. More specifically, this work: (1) develops a labeled dataset of mechanical faults and pneumatic pressure states from a physical actuator, addressing the challenge of data scarcity through deliberate, controlled fault induction rather than relying on simulation; (2) assesses interpretable ensemble approaches—Random Forest and Gradient Boosting—for concurrent fault classification and pressure level estimation, addressing the explainability concerns discussed in Section 2.3 directly; and (3) realizes the complete data pipeline—from PLC-based sensor acquisition through Node-RED, MQTT, and cloud logging to real-time visualization on both web dashboards and mobile applications—by employing mainly open-source components, consistent with the accessibility constraints identified in [4]. The equipment, dataset, and methodology underlying this system are described in Section 3 and Section 4, while the integration and visualization architecture are presented in Section 5.
3. Equipment and Dataset
The project was conducted on a modular production system, specifically the Festo MPS 500 (Figure 1). The Festo MPS 500 (Modular Production System) serves as a multifunctional training platform that simulates automation processes representative of real production lines, supporting scenarios in component transportation, sorting, processing and quality control. This versatility has made the platform suitable for research and development in Industry 4.0, PdM, digital manufacturing, robotics, and the IIoT. This platform has previously been used at Nazarbayev University to investigate the development of digital twins [29] and the integration of collaborative robotic manipulators [30].
Figure 1.
Festo MPS 500 modular production system.
The Handling Station (Figure 2) is equipped with a Pneumatic Linear Drive (Figure 3a) with a movable modular gripper. Upon receiving a signal indicating workpiece arrival, the Handling Station’s gripper is lowered vertically to the workpiece to pick it up and remove it from the carrier. It then travels horizontally along the pneumatic linear drive from the Downstream Station toward the End Position (Upstream Station), passing through an intermediate Sorting Position. The gripper transfers the workpiece to the Processing Station and releases it at the designated endpoint. It then returns to the Upstream Station and waits for the Processing Station’s end signal before returning the workpiece to the carrier.
Figure 2.
Handling Station with trolley, control console and PLC board.
Figure 3.
Actuator and sensing hardware: (a) Pneumatic linear drive with gripper; (b) Electrical proximity switch, Type SME-8.
The Handling Station is controlled by a Siemens PLC (CPU 314C-2 PN/DP). The workflow of the pneumatic linear actuator is defined by three proximity sensors (Figure 3b) located along the gripper path. Their positions are labeled A, B, and C in Figure 4 as follows:
Figure 4.
Pneumatic linear drive with labeled sensor points. A, B and C are starting, intermediate and ending points, respectively.
- Point A (starting point) corresponds to the Downstream Station;
- Point C (intermediate point) corresponds to the Sorting Position;
- Point B (ending point) corresponds to the Upstream Station.
The timestamps are recorded each time the gripper crosses sensor positions, in both forward and backward directions, and the time intervals between adjacent points are computed from them. These intervals form the primary features of the training dataset. The intervals A–C and C–B are computed for forward direction, while the intervals B–C and C–A are computed for the reverse direction.
Because the system relies on a pneumatic actuator, the air supply pressure—manually adjusted via a supply valve and monitored by an analog manometer—is a critical operating parameter. The normal operating pressure is 5 bar; any deviation from this value is treated as a potential fault in the system. Pressure deviations from the nominal 5 bar are of interest because they may indicate an air leak (reduced pressure) or accelerate the movement and stress the actuator (excessive pressure). According to the recorded data, however, the transit time is clearly shorter only at 6 bar, while the times measured at 3.5, 4 and 5 bar are largely overlapping (Table 2).
Table 2.
Dataset scenarios for forward direction (A to B).
The supply pressure was set by hand at the supply valve and read on the analog manometer. It was not measured by the PLC. The pressure column of the dataset is the nominal level set by the operator and not a continuous sensor reading. A PLC-connected pressure transmitter, which would allow continuous reading, is listed as future work (Section 6.1).
Figure 4 further identifies two segments of interest, mech_1 and mech_2, delineating the regions between closely positioned sensors used to determine the presence or absence of mechanical faults. Under typical conditions, the transit from A to C takes approximately 4 s; however, mechanical wear, jamming, or similar issues cause the gripper to traverse the same distance at a markedly reduced speed. Because the absence of a fault in one direction (e.g., forward) does not guarantee its absence in the opposite direction, fault predictions are made independently for each direction.
Mechanical faults were artificially introduced during data collection to emulate realistic failure conditions. In industrial operation, such faults may arise from a damaged gripper sliding mechanism, worn guides, contamination of the linear actuator, or general pneumatic system deterioration.
Fault conditions were physically simulated by manually applying resistance to the gripper to simulate scenarios such as wear of the bearings, gripper rail damage, and improper lubrication of the components. The fault severity was not varied, and only a single fault-present condition was used. The same fault type was applied in the forward and backward directions. Each segment was labeled at acquisition: the label of a segment is 1 when the fault condition was active on that segment during the cycle and 0 otherwise. The labels of mech_1 and mech_2 are independent, so a fault can be present in one segment, in both, or in neither.
3.1. Use of Synthetic Data and Digital Twin Limitations
Synthetic data generation offers clear advantages for improving the generalization and robustness of machine learning models. Digital twins—virtual replicas of physical systems—are commonly used to generate such synthetic data, enabling a wide range of operating scenarios to be simulated without disrupting actual production. However, developing a comprehensive digital twin of the Festo MPS 500 was beyond the scope of the present study, due to the complexity involved and the absence of a sufficiently detailed and readily available system model. A digital twin of a related subsystem of the same platform has previously been developed for the Automatic Storage and Retrieval Station [29], and future work could build on this foundation to extend the digital twin coverage to the Handling Station studied here. Although synthetic data and digital twins can improve predictive capability, developing a comprehensive and validated digital twin of the entire Handling Station remains an important direction for future research (Section 6.6).
3.2. System Architecture and Data Acquisition
The complete architecture of the proposed PdM solution is depicted in Figure 5. The raw signals from the Festo MPS 500 sensors are first captured by a Siemens PLC and then forwarded to a Node-RED instance hosted on FlowFuse. The collected data undergo pre-filtering and time-stamping before being archived in a Google Sheets cloud table that serves as the primary repository for the time series. After accessing the historical dataset, the machine learning model generates predictions of mechanical fault status and pneumatic pressure, which are transmitted back to Node-RED in JSON format over MQTT. Real-time predictions are visualized on the Remote-RED mobile app and a web dashboard, ensuring that operators have instant access to system status for proactive maintenance. Node-RED, an open-source tool for flow-based visual programming, has been used to design event-driven applications in IoT domains [20,31]. Developed by IBM on Node.js, the browser-based interface provides a drag-and-drop environment to connect hardware, APIs, and web services [6]. Due to its low-code framework, Node-RED supports the efficient implementation of PdM workflows, allowing rapid prototyping and streamlined integration of sensor data with downstream systems. The suitability of the platform for industrial automation and smart factory applications is strengthened by its extensibility, native support for MQTT and HTTP, and a vibrant developer community [20].
Figure 5.
System architecture of the proposed IoT-enabled PdM framework.
The implementation utilized the Node-RED platform in combination with the Siemens industrial PLC. A visual flow diagram of the data acquisition implementation in FlowFuse is shown in Figure 6. S7 nodes (Figure 7) were used to establish the connection, granting real-time access to the PLC data. The configuration of topic parameters and signal addresses was carried out in the Siemens TIA Portal environment, which enabled access to controller variables.
Figure 6.
Node-RED flow on FlowFuse illustrating data acquisition and preprocessing.
Figure 7.
The S7 in nodes Downstream Station, Sorting Position and Upstream Station read signals from their respective positions on the production line.
The signals are directed to the Carrier2TestingStation and TestingStation2Carrier function nodes (Figure 8), where the timestamp processing is performed. Each node calculates the time intervals between key stages of the gripper’s motion: Carrier2TestingStation determines the differences between the Downstream, Sorting, and Upstream Stations’ timestamps to compute the elapsed time in milliseconds for movement from point A to point B, while TestingStation2Carrier applies equivalent logic in the reverse direction. This process generates the time series that underpins the machine learning training dataset.
Figure 8.
The function node enables users to write custom JavaScript to transform, filter, or enrich messages and implement logic that built-in nodes alone cannot handle.
The Node-RED system was linked to Google Sheets via the GSheet node, enabling the storage of data in time-series format (Figure 9). This integration relies on a service account configured in Google Cloud Console, with access to the spreadsheet authorized using a corresponding JSON key. Google Sheets offers efficient, centralized storage and organization of controller data, including computed time intervals, facilitating subsequent processing, analysis, and model training, while ensuring compatibility with external visualization and processing tools.
Figure 9.
GSheet node integrates Node-RED with Google Sheets via the Google Sheets API, allowing flows to programmatically read from and write to cloud-based spreadsheets.
3.3. Dataset Description
To train and evaluate the PdM model, a custom dataset was created using measurements collected at the Festo MPS 500 Handling Station. The dataset is organized into four files: forward_AC.csv (424 records) and forward_CB.csv (422 records), backward_BC.csv and backward_CA.csv (421 records each). They correspond to the forward and backward movements of the gripper. Each file contains three recorded variables: pressure, a time interval, and a binary indicator of mechanical faults. The Pressure variable represents the nominal pressure level of the pneumatic system set manually at the supply valve, a primary indicator of operating condition; under nominal settings, it is maintained at 5 bar. The Time variable (AC_time and CB_time in the forward files; CA_time and BC_time in the backward files) records the interval, in milliseconds, during which the gripper moves between the three sensor waypoints (Downstream Station (A), Sorting Position (C), and Upstream Station (B)) and represents the main dynamic feature of the dataset.
The binary features mech_1 and mech_2 denote the presence (1) or absence (0) of a mechanical fault during the corresponding segment of gripper motion, serving as target labels for the fault-classification task. mech_1 refers to the region between sensors A and C and mech_2 to the region between sensors C and B (Figure 4); Table 3 shows which file contains which label. The pressure in the pneumatic system was adjusted manually under four conditions: 3.5 bar and 4 bar (simulating a leak), 5 bar (normal operation) and 6 bar (overpressure).
Table 3.
Correspondence between data files, motion segments and fault labels.
For each pressure level, a number of motion cycles was collected after the system was warmed up (the totals per pressure level are given in Table 4). The data were collected in consecutive blocks, with one block per pressure level. Table 4 reports the distribution of the samples by class and pressure level.
Table 4.
Distribution of samples (normal/fault) per dataset, pressure level and partition.
The faults make up 38–40% of each dataset (39.6%, 38.6%, 39.7% and 38.0% for forward_AC, forward_CB, backward_CA and backward_BC) and 41–50% of the test sets, so the two classes are moderately imbalanced rather than severely so. The fault share differs between pressure levels, however: it is 52% at 3.5 bar, 57–61% at 4 bar, only 16–19% at 5 bar (the nominal level, where most cycles were recorded) and 44–49% at 6 bar. The pressure is therefore not independent of the fault label in these data, which is taken into account when the contribution of Pressure to the classifier is interpreted (Section 4.2.1).
This structure supports analysis of deviations in time intervals under both normal and abnormal conditions while also capturing the influence of pressure on motion dynamics, thus providing representative coverage of operating scenarios for both pressure level estimation and binary classification tasks in this study.
Table 2 presents representative scenarios for the forward direction (A→B) by combining the AC_time and CB_time segments in a single view for clarity; in the source files, each segment is stored separately, as detailed above and shown in Table 5.
Table 5.
Structure and sample content of forward_AC.csv. The fault column of this file is mech_1; forward_CB.csv contains mech_2.
The complete dataset comprises four directional movement logs:
- forward_AC.csv: Gripper movement from Sensor A to Sensor C;
- forward_CB.csv: Gripper movement from Sensor C to Sensor B;
- backward_CA.csv: Gripper movement from Sensor C to Sensor A;
- backward_BC.csv: Gripper movement from Sensor B to Sensor C.
Data were separated into four distinct files rather than combined into a single table to enhance model precision: traversal time for a given segment varies with travel direction (e.g., AC_time differs from CA_time), and maintaining separate files ensures that each directional model is trained on homogeneous, direction-specific dynamics.
The structure of each file is shown in Table 5 for the representative case of forward_AC.csv, where each record contains a single time measurement together with the corresponding pressure and fault label.
The dataset variables are specified as follows:
- Pressure: nominal air pressure (bar) set for the pneumatic gripper system during the movement cycle;
- Time: duration (ms) of the corresponding motion segment (e.g., the time taken to move from A to C);
- mech_1/mech_2: binary fault indicator representing the presence (1) or absence (0) of a mechanical fault during the given movement segment.
The dates and the order in which the blocks were recorded were not logged and therefore there is no session identifier available. A run identifier could be recovered: the original acquisition spreadsheets hold one file per pressure level and fault condition, and every record was matched to these files. Each segment thus consists of 16 recording runs (4 pressure levels × 4 combinations of the mech_1 and mech_2 labels) with 10 to 114 records each. The run identifier is the finest grouping unit available and is used for run-wise validation in Section 4.4. The forward_CB file used here contains 422 records; the earlier 424-record file had two further 6 bar normal records that could not be matched to the raw recordings and were removed. The raw backward_BC recording contains one further 3.5 bar faulty cycle that is absent from the training file; the training file was used unchanged.
4. Methodology
This section describes the machine learning pipeline used to detect mechanical faults and estimate pneumatic pressure from the gripper’s transit-time data. Since gripper dynamics differ between forward and backward motion (Section 3.3), a separate model was trained for each of the four motion segments (forward_AC, forward_CB, backward_CA, and backward_BC), each on its own 424, 422, 421 or 421 samples. Two tasks were addressed for every segment: the binary classification of mechanical faults and estimation of the set pneumatic pressure level (pressure level estimation). Each task was handled with two ensemble tree-based methods, Random Forest and Gradient Boosting. All models were tuned with grid search and 5-fold cross-validation in a training set ( of the data) and evaluated on a holdout test set (). The samples were shuffled randomly before the split (random seed 42). Because a single 64-sample test set is a noisy estimate, the main comparisons were repeated with repeated, nested cross-validation, once with the records split at random and once with whole recording runs withheld from training (Section 4.4). All estimates are internal-validation estimates from a single testbed. Section 4.1 describes the input features. Section 4.2 presents the Random Forest and Gradient Boosting models and their results for fault classification and pressure level estimation, Section 4.3 compares the two model families, and Section 4.4 reports repeated cross-validation, additional baselines, ablation of the input features, and sensitivity analyses.
4.1. Feature Selection
The fault classifiers use two input features, Time and Pressure. Time is the duration, in milliseconds, of the gripper movement between two sensors (e.g., A to C), capturing the dynamic response of the mechanical system. Pressure is the nominal supply pressure set by the operator in bar. The pressure level estimators use Time as the only input, with the set Pressure as the target (Section 4.2.3); neither the fault label nor the Pressure column is used as an input to these estimators. The contribution of each input to the fault classifiers is quantified in Section 4.2.1.
4.2. Machine Learning Model Selection
Random Forest was used as the primary model and Gradient Boosting as a comparison model. Each one is described below for both classification and regression.
4.2.1. Random Forest Classifier and Regression
For detecting mechanical faults (mech_1, mech_2), a Random Forest classifier was used [16]. The algorithm constructs an ensemble of decision trees, each trained on a random subsample of observations and features [15]. Averaging across trees reduces the variance of individual decision trees, thus reducing the risk of overfitting and ensuring stable performance even with noisy or correlated features. Random Forest also produces estimates of the importance of the features, indicating which inputs (time interval or pressure) contribute the most to fault detection.
Each dataset was divided into a training set of 360 (forward_AC), 358 (forward_CB) and 357 (backward_CA and backward_BC) samples (85%) and a test set of 64 samples (15%). To assess generalization, a test set that was not seen during training was reserved for evaluation. The features were standardized using StandardScaler (sklearn.preprocessing) because the Time (milliseconds) and the Pressure (bar) differ by orders of magnitude. Tree-based models are invariant to monotonic feature scaling, so standardization was applied primarily to maintain consistency in the preprocessing pipeline across models.
Hyperparameters are not learned during training but have a strong influence on model quality. They were selected using GridSearchCV and 5-fold cross-validation in the training set, evaluated by accuracy. The grid search explored the number of trees (n_estimators), the maximum tree depth (max_depth), and the minimum number of samples required to split an internal node (min_samples_split), as shown in Listing 1. Cross-validation is particularly critical in PdM since both false alarms and missed detections carry operational consequences.
| Listing 1. Hyperparameter tuning setup using GridSearchCV. |
![]() |
As shown in Figure 10, Time was consistently the dominant feature, accounting for between 85.5% and 90.4% of the total importance in all four models. Changes in movement duration are therefore far more strongly linked to mechanical faults than variations in pressure.
Figure 10.
Random Forest feature importance for fault classification (Time vs. Pressure), where Time is AC_time, CB_time, CA_time, and BC_time, respectively: (a) forward_AC; (b) forward_CB; (c) backward_CA; (d) backward_BC.
Feature importance is not an ablation, so the Random Forest classifier was trained with Time only and with Pressure only, with the same split, hyperparameter grid and cross-validation (Table 6). Removing the Pressure lowered the test accuracy by 1.6, 7.8, 3.1, and 10.9 percentage points (pp) and changed the cross-validation accuracy by +0.3, −9.2, −3.9, and −6.4 pp in forward_AC, forward_CB, backward_CA and backward_BC, respectively. Pressure therefore adds an increment of 3–11 pp to Time, except in forward_AC. Pressure alone is close to the majority-class rate (60.3–62.0% of the samples): 54.7–60.9% test accuracy. Time carries most of the diagnostic information.
Table 6.
Ablation of the input features of the Random Forest fault classifier (cross-validation/test accuracy, %; same split and grid for all rows).
This increment must be read carefully. The fault share differs between pressure levels (Section 3.3), because the data were collected in blocks, so Pressure partly identifies the block. In addition, Pressure is a nominal setting that the PLC does not measure, so a deployed classifier would need a pressure transmitter (Section 6.1) or would have to rely on Time only.
Beyond fault classification, a Random Forest regressor was implemented to estimate the set pneumatic pressure level (Section 4.2.3). The regressor is intended to allow the system to detect pressure deviations, which are often early indicators of performance degradation in pneumatic mechanisms.
4.2.2. Evaluation Metrics
Classifier performance was evaluated with confusion matrices (Figure 11) and per-class classification reports (Table 7). The confusion matrix gives the number of true positives (correctly identified faults), true negatives (correctly identified normal operation), false positives (false alarms), and false negatives (missed faults).
Table 7.
Classification reports for the four models.
- forward_AC (Figure 11a, Table 7): cross-validation accuracy was 94.72% and test accuracy 92.19% (gap 2.53 percentage points) with n_estimators = 100, max_depth = None, and min_samples_split = 10. The model made 1 false positive and 4 false negatives out of 64 test samples, with fault-class precision 0.96 and recall 0.85. This is the best-balanced segment and serves as a benchmark for evaluation.
- forward_CB (Figure 11b, Table 7): cross-validation accuracy was 91.06% and test accuracy 84.38% (gap 6.68 pp) with 50 trees and min_samples_split = 5. The model made 1 false positive and 9 false negatives (fault precision 0.96, recall 0.72). The model does not adapt sufficiently to the more variable temporal profile of this segment, which is also the segment with the lowest accuracy when whole recording runs are withheld (Section 4.4). Threshold adjustment, class weighting, or additional trees could improve fault recall.
- backward_CA (Figure 11c, Table 7): cross-validation accuracy was 95.51% and test accuracy 84.38% (gap 11.13 pp) with 50 trees and min_samples_split = 5. The model made 3 false positives and 7 false negatives (fault precision 0.88, recall 0.76). Repeated cross-validation with records split at random (Section 4.4) gives 94.1 ± 2.6% for this segment, so the single test accuracy lies at the low end of that range; with whole recording runs withheld, it is 86.4%.
- backward_BC (Figure 11d, Table 7): cross-validation accuracy was 92.99% and test accuracy 90.62% (gap 2.37 pp) with 100 trees and min_samples_split = 5. The model made 2 false positives and 4 false negatives (fault precision 0.93, recall 0.87), indicating balanced behavior with slightly more missed faults than false alarms.
The metrics reported are defined as follows:
- Precision: the proportion of correctly identified positive cases among all predicted positives;
- Recall: the proportion of correctly identified positive cases among all actual positives;
- F1-score: the harmonic mean of precision and recall, particularly useful when class frequencies are imbalanced;
- Support: the number of actual occurrences of each class in the test set;
- Accuracy: the overall proportion of correctly classified instances;
- Macro avg: the unweighted mean of per-class precision, recall, and F1-score;
- Weighted avg: the mean of per-class metrics weighted by class support;
- False-alarm rate (FAR): the proportion of normal samples classified as faults, FP/(FP + TN).
Table 8 provides the fault recall, precision and false-alarm rate of Random Forest classifiers.
Table 8.
Additional test-set metrics (64 test samples per dataset).
Figure 11.
Confusion matrices of the Random Forest classifiers on the test sets, using the best hyperparameters for each dataset (Table 9): (a) forward_AC; (b) forward_CB; (c) backward_CA; (d) backward_BC. The color intensity represents the number of samples in each cell, with darker shades of blue indicating higher counts. Color intensity is scaled independently for each confusion matrix.
Table 9.
Performance overview of the Random Forest classifiers across all scenarios.
4.2.3. Pressure Level Estimation (Random Forest Regressor)
To estimate the set pneumatic pressure level, a Random Forest Regressor was employed. The target is the pressure in bar, which takes only four values (3.5, 4, 5 and 6 bar) in the data, and the only input is Time. Hyperparameters were chosen using GridSearchCV and 5-fold cross-validation on the training sample over the following grid:
- n_estimators (number of trees): [50, 100, 200];
- max_depth (maximum depth): [None, 10, 20];
- min_samples_split (minimum samples to split a node): [2, 5, 10].
The error was measured with , the root-mean-square error (RMSE) and the mean absolute error (MAE), both in bar, and with the level accuracy, i.e., the share of test samples whose prediction is closest to the correct one of the four levels (Table 10). A model that always predicts the mean training pressure has an RMSE of 0.99 bar on these test sets.
Table 10.
Pressure level estimation with Random Forest regressors using Time as the only input (test set, 64 samples).
Regression performance varied by motion segment. The strongest result was obtained for backward_BC (, RMSE 0.33 bar), followed by forward_AC (0.826), forward_CB (0.805) and backward_CA (0.785). ranged from 0.79 to 0.89, and the RMSE (0.33–0.46 bar) was less than half of that of the mean predictor.
The error is not uniform over the four levels (Table 11). At 6 bar, the mean absolute error is 0–0.10 bar, because the transit times are much shorter (Table 2). At 3.5, 4 and 5 bar, whose transit times overlap, the mean absolute error is 0.19–0.50 bar, and the nearest level is identified for only 53–72% of all test samples. The estimator therefore detects over-pressure reliably, while it separates the three lower levels only partially; the leakage-related levels (3.5 and 4 bar) in particular are not reliably distinguished from the nominal 5 bar.
Table 11.
Mean absolute error (bar) of the Random Forest pressure level estimator at each set pressure (test set; number of samples: 3.5/4/5/6 bar = 19/9/19–20/16–17).
There are two important caveats to note. First, pressure was set at only four discrete levels, so these metrics reflect the model’s ability to discriminate between those levels rather than to interpolate between them, or to extrapolate beyond them. Second, backward_CA is the segment with the largest cross-validation–test gap in fault classification and the weakest pressure level estimate, whereas backward_BC is among the best in both tasks.
A four-class classifier could also be used instead of an estimator, since the target takes only four values; no advantage of the estimation formulation over it is claimed. The estimator is kept since it is ordinal, so that an error of one level costs less than an error of three levels, and since it directly returns a value in bar for the gauge of the dashboard. A four-class Random Forest classifier was compared with the estimators under the repeated cross-validation protocol (Section 4.4). For this reason, the task is called pressure level estimation throughout the paper.
4.2.4. Gradient Boosting Regression and Classifier
Following the Random Forest evaluation, the Gradient Boosting Classifier and Regressor models were introduced as complementary ensembles, consistent with the RF–GB strategy used in the prediction of bearing life [17]. Gradient Boosting was chosen for its strong performance on structured data and its capacity to reduce bias through sequential learning when properly tuned. The evaluation of the models was conducted using the same four datasets and train/test partitions applied to Random Forest. Hyperparameters were selected with GridSearchCV and 5-fold cross-validation, and performance was assessed by cross-validation score, test accuracy (GBC), and regression error metrics (GBR).
For forward_AC, GBC showed balanced performance across classes, with fault-class precision of 0.92, recall of 0.85, and test accuracy of 90.62% (weighted F1 0.91), as shown in Table 12).
Table 12.
Classification report for the forward_AC dataset (GBC).
In the case of forward_CB, GBC reached a test accuracy of 84.38% (cross-validation of 89.66%). Recall was 1.00 for normal samples and 0.69 for faulty samples, with a macro F1-score of 0.84, as detailed in Table 13.
Table 13.
Classification report for the forward_CB dataset (GBC).
On backward_CA, GBC reached a cross-validation accuracy of 95.51% but a test accuracy of only 82.81% (gap 12.70 pp), with fault-class precision of 0.91 and recall of 0.69 (Table 14).
Table 14.
Classification report for the backward_CA dataset (GBC).
For backward_BC, GBC achieved 89.06% test accuracy with balanced precision and recall (about 0.89 for both classes), as expressed in Table 15.
Table 15.
Classification report for the backward_BC dataset (GBC).
An overview of the performance of GBC across all datasets is shown in Table 16.
Table 16.
Performance overview across the four datasets (GBC).
For pressure level estimation, the Gradient Boosting regressor used the same input (Time only), target (pressure in bar), split and cross-validation as the Random Forest regressor. The grid search selected the same configuration (learning rate 0.05, depth 3, 100 estimators) for all four datasets (Table 17).
Table 17.
Pressure level estimation with Gradient Boosting regressors using Time as the only variable (test set, 64 samples; learning rate 0.05, depth 3, 100 estimators in all datasets).
The of the Gradient Boosting regressors ranged from 0.73 to 0.89. The pattern across levels was the same as for Random Forest: the mean absolute error was 0.01–0.17 bar at 6 bar and 0.14–0.55 bar at the lower levels.
Regression metrics are defined as follows:
- Test : the coefficient of determination on the test set, indicating generalization to unseen samples;
- RMSE and MAE: the root-mean-square error and the mean absolute error, in bar;
- Level accuracy: the share of test samples whose prediction is closest to the correct one of the four pressure levels.
4.3. Comparative Evaluation: Random Forest vs. Gradient Boosting
This subsection compares the two ensemble methods on the same four motion-segment datasets, using the results reported in Section 4.2.1, Section 4.2.2, Section 4.2.3 and Section 4.2.4. For fault classification, Table 18 compares the cross-validation and test accuracy of the Random Forest classifier (RFC) and the Gradient Boosting classifier (GBC). For pressure level estimation, Table 19 compares the test of the Random Forest regressor (RFR) and the Gradient Boosting regressor (GBR). The two methods are compared separately for each task, since a model that is stronger at classification is not necessarily stronger at regression.
Table 18.
Performance comparison between Random Forest (RFC) and Gradient Boosting (GBC) classifiers.
Table 19.
Pressure level estimation: test (RMSE in bar) of the Random Forest (RFR) and Gradient Boosting (GBR) regressors with Time as the only input.
Classification. As Table 18 shows, the two classifiers perform similarly. Random Forest achieved a test accuracy equal to or higher than Gradient Boosting in all segments (92.19% vs. 90.62% in forward_AC, 84.38% for both in forward_CB, 84.38% vs. 82.81% in backward_CA and 90.62% vs. 89.06% in backward_BC), but each difference corresponds to a single test sample. Cross-validation accuracies were close, with Random Forest equal or higher in every case (by 0–1.4 percentage points). Fault-class recall, the most operationally critical metric, was equal for the two models in forward_AC (0.85) and backward_BC (0.87), higher for Random Forest in forward_CB (0.72 vs. 0.69) and backward_CA (0.76 vs. 0.69).
Both models showed a notable gap between cross-validation and test accuracy on backward_CA (11.1 pp for RFC, 12.7 pp for GBC), although repeated cross-validation gives 94.1 ± 2.6% for the Random Forest in this segment (Section 4.4), so the single split is probably a harder sample. Each test set contains only 64 samples, so one misclassified sample changes accuracy by about 1.6 pp. The one-to-two-sample differences between the two classifiers should therefore be read cautiously. The test metrics also come from a single 85/15 split; repeated, nested cross-validation is reported in Section 4.4. The two classifiers are best regarded as comparable, with Random Forest holding a small and fairly consistent edge.
Pressure level estimation. As Table 19 shows, the two models are comparable. Gradient Boosting was slightly ahead in forward_AC (by 0.007) and forward_CB (by 0.021), Random Forest in backward_CA (by 0.054) and backward_BC (by 0.005); the largest difference is 0.05 in and 0.06 bar in RMSE. With 64 samples and with the fold-to-fold spread reported in Section 4.4, these differences are not meaningful.
Overall. Random Forest and Gradient Boosting performed similarly for both tasks on this dataset. Random Forest was equal or higher in single-split test accuracy in every segment for fault classification, by one test sample at most, whereas Gradient Boosting was marginally better for pressure level estimation in two segments. Neither method can be declared superior on these data.
4.4. Repeated Cross-Validation, Run-Wise Validation, Baselines and Sensitivity Analyses
The comparisons above rely on a single 85/15 split whose test sets contain 64 samples, so one misclassified sample changes the accuracy by 1.6 pp, and the records of one recording run can fall on both sides of the split. Two additional protocols were therefore run on the same four datasets. In random-row validation, stratified 5-fold cross-validation was repeated three times (15 outer folds), stratifying on the combination of pressure level and fault label. In run-wise validation, whole recording runs were withheld: the 16 runs of each segment were divided into 3 outer folds, repeated 3 times (9 test folds), and it was verified for all folds that no run contributes records to both the training and the test part. Four or five outer folds are not possible with 16 runs, because some test folds would contain no faulty run. In both protocols, the hyperparameters were selected inside each training fold with 3-fold cross-validation (macro F1-score for fault classification, RMSE in bar for pressure level estimation), all preprocessing was fitted on the training folds only, the random seed was 407, and all models used the same folds. Besides Random Forest and Gradient Boosting, the comparison includes a majority-class or mean predictor, logistic regression (ridge regression for pressure), a decision tree, and SVM (SVR for pressure) and a multilayer perceptron (MLP) with one hidden layer of 16 neurons, each with a small predeclared hyperparameter grid. The standard deviations are descriptive: the folds overlap, and in run-wise validation the three repeats of a 16-run partition give only a few distinct splits, so the standard deviations understate the true uncertainty. Some MLP fits (51 in the run-wise analysis) did not converge within the iteration limit; the MLP results should be read with this in mind.
Random rows versus whole runs. With the records split at random, the accuracy of the Random Forest was 94.2%, 89.2%, 93.8% and 93.4% in forward_AC, forward_CB, backward_CA and backward_BC (Table 20, same settings in both columns). When whole runs were withheld, it fell to 90.9%, 62.1%, 87.1% and 89.7%, i.e., by 3.3, 27.0, 6.7, and 3.7 pp. The drop in forward_CB is large and unstable (fold accuracies between 20% and 98%). Run-wise validation is also a demanding test, because each run holds a single pressure and label and a test fold can therefore withhold a whole pressure-label combination; the chance level is no longer the majority rate, and the majority-class predictor scores only 33–44%. The random-row numbers should therefore be read as an upper bound and the run-wise numbers as a lower bound of what can be expected on new recordings.
Table 20.
Random Forest fault accuracy (% mean ± SD over nine test folds) with the records split at random and with whole recording runs withheld (fixed hyperparameters, same fold counts).
Fault classification. With random rows, Random Forest reached 89.4–94.1% accuracy and Gradient Boosting 87.8–92.9% (Table 21), compared with 60.3–62.0% for the majority class. The differences between Random Forest, Gradient Boosting and the decision tree are mostly about 2 pp or less, comparable to the fold-to-fold standard deviation of 2–3.5 pp; the SVM is 5.1 pp lower in forward_CB and the neural network 4.3 pp lower in backward_BC. Logistic regression, which cannot model the interaction between Time and Pressure, was far lower (60.4–79.0%). When whole runs were withheld (Table 22), the ranking changed. Random Forest reached 90.9%, 62.5%, 86.4% and 89.2% and Gradient Boosting 90.6%, 60.3%, 85.1% and 84.2%, but the SVM was best in forward_AC (91.6%) and backward_CA (89.8%) and the decision tree in forward_CB (72.0%), and the standard deviations reached 26 pp. In forward_CB, the Random Forest raised a false alarm for 40% of the normal cycles (Table 23). These data therefore do not show a robust accuracy advantage of the ensemble methods over simpler models; the reasons to prefer them are rather their robustness to the validation protocol on three of four segments and their feature-importance output.
Table 21.
Fault classification, random-row validation: accuracy (%mean ± SD over 15 outer folds; stratified 5-fold cross-validation repeated 3 times with nested 3-fold tuning.)
Table 22.
Fault classification, run-wise validation: accuracy (%mean ± SD over 9 test folds; whole recording runs withheld; 3 outer folds repeated 3 times with nested 3-fold tuning.)
Table 23.
Fault recall/false-alarm rate (mean over the folds of each protocol): random rows | whole runs withheld.
Feature ablation. With random rows (Table 24), removing Pressure lowered the Random Forest accuracy by 3.6–6.7 pp in backward_CA, forward_CB, and backward_BC, whereas, in forward_AC, it made no difference (93.9% vs. 93.5%). The paired difference in macro F1-score between the two inputs and Time alone was 0.072 ± 0.034, 0.051 ± 0.024, 0.039 ± 0.021 in backward_BC, forward_CB and backward_CA. With whole runs withheld, Pressure helped only in backward_BC (+0.079 ± 0.030) and forward_CB (+0.050 ± 0.053); in backward_CA and forward_AC, the difference was not positive (−0.019 ± 0.082 and −0.005 ± 0.043). Pressure alone gave 63.7–66.7% accuracy with random rows, close to the majority-class rate, and 32–48% with whole runs withheld. As discussed in Section 4.2.1, a predictive contribution of Pressure is not evidence of a causal diagnostic role, because Pressure also identifies the run.
Table 24.
Ablation of the input features of the Random Forest fault classifier: accuracy (%), random rows | whole runs withheld.
Pressure level estimation. With random rows (Table 25), Random Forest and Gradient Boosting reached of 0.70–0.88 and 0.71–0.88, with RMSE of 0.32–0.49 bar. The decision tree (0.70–0.86) was close, SVR (0.64–0.85) and the neural network (0.59–0.80) were lower, and ridge regression was lowest (0.59–0.77); the mean predictor has an RMSE of 0.91 bar. The ensemble methods are not distinguishable given the fold-to-fold standard deviations. With whole runs withheld (Table 26), the Random Forest RMSE was 0.66, 0.55, 0.73 and 0.31 bar and the Gradient Boosting RMSE 0.62, 0.51, 0.69 and 0.30 bar, against 0.86–0.87 bar for the mean predictor. Only backward_BC remained accurate ( = 0.87–0.88); in the other three segments the mean of the ensemble models was negative, because a test fold with few pressure levels or a level that is nearly absent from the training runs gives a poorly defined , and the RMSE is a more informative metric. A four-class Random Forest classifier trained on the pressure levels identified the correct level for 69–83% of the samples with random rows, but only for 47–78% with whole runs withheld (RMSE 0.38–0.77 bar), and its RMSE was higher than that of the regressors in both protocols.
Table 25.
Pressure level estimation from Time only, random-row validation: (mean ± SD over 15 folds) and RMSE in bar (in parentheses).
Table 26.
Pressure level estimation from Time only, run-wise validation: RMSE in bar (mean ± SD over 9 folds).
Unseen pressure levels. No measurements at intermediate or unseen pressures are available. As a computational diagnostic, each pressure level was withheld in turn from the training data of the Random Forest estimator and predicted (Table 27). The mean absolute error was 0.29–0.60 bar for the withheld 4 bar level, 1.05–1.19 bar for 5 bar, 0.76–0.99 bar for 3.5 bar and 1.00–1.42 bar for 6 bar. Tree ensembles cannot extrapolate beyond the target range of their training data, and the estimator cannot interpolate to a level that it has not seen. This diagnostic withholds only a setting; it does not replace measurements at intermediate pressures, which were not possible for this study.
Table 27.
Leave-one-pressure-level-out diagnostic: mean absolute error (bar) of the Random Forest estimator on the withheld level, which is absent from the training data (3.5 and 6 bar are extrapolations; 4 and 5 bar lie between observed levels).
5. Integration and Visualization
This section describes how the trained models are connected to the operator. The predictions are published over MQTT (Section 5.1), processed in Node-RED on the FlowFuse platform (Section 5.2), and presented in a web dashboard (Section 5.3) and a mobile application (Section 5.4).
The dashboard is a functional prototype built to demonstrate the monitoring and visualization architecture. The telemetry shown in the screenshots below includes simulated data sequences used to verify the interface. The figures therefore illustrate the architecture and are not performance results. The performance of the model is reported in Section 4.
End-to-end latency, prediction update frequency, and message-delivery reliability were not measured in this work; these quantities are therefore not reported, and the term “real-time” in this paper refers to the architecture, not to a measured response time (see Section 6.2 and Section 7).
5.1. Publishing Predictions via MQTT
Predictions are sent from the machine learning model to Node-RED using the Message Queuing Telemetry Transport (MQTT) protocol. MQTT is a lightweight publish–subscribe protocol designed for constrained-bandwidth and high-latency networks. It is widely used in IoT architectures that need a fast and reliable transmission of small payloads between devices and servers [21].
Messages are routed through an MQTT broker, which manages delivery between publishers and subscribers. In this implementation, the public broker test.mosquitto.org was used on port 1883. Node-RED subscribes to the topic mps512/feedback0202 to receive the model outputs. The Python (version 3.13.18) model outputs each prediction as a dictionary with the structure shown in Listing 2.
| Listing 2. Sample JSON payload generated by the prediction model. |
{ "mech_1": 0, "mech_2": 0, "pressure_prediction": 5 } |
The fields mech_1 and mech_2 take binary values (0 or 1) and indicate the absence or presence of a mechanical fault in the corresponding motion sections. The field pressure_prediction is the estimated system pressure in bar. The dictionary is serialized in JSON format prior to transmission and published with the paho-mqtt library (Listing 3).
| Listing 3. Payload transmission using the paho-mqtt client. |
| mqtt_client.publish(MQTT_TOPIC, payload) |
The payload is immediately available in Node-RED through an mqtt in node (Figure 12), where it can be displayed on the dashboard, logged for analysis, or used in decision logic.
Figure 12.
Configuration node for establishing a connection to the MQTT Broker.
Using a public broker simplifies the architecture and avoids broker-hosting costs. However, port 1883 on this broker is neither authenticated nor encrypted, so any client that knows the topic name can read or publish to it. This is acceptable for a laboratory prototype, but not for production. A deployed system would require a private broker with authentication and TLS encryption, as discussed in Section 6.2.
5.2. Message Processing in Node-RED on FlowFuse
After the model generates a prediction, the result reaches the Node-RED instance on FlowFuse through the mqtt in node (MQTT_CONNECTION). The JSON message is passed to several function nodes for processing and conversion (Figure 13). The Pressure Output, Mech_1 Output, and Mech_2 Output of ML Model nodes extract the relevant fields from the payload and format them for the dashboard UI nodes.
Figure 13.
Node-RED flow enabling communication with the user dashboard.
The pressure value is passed through a numeric input node (Pressure input Bar) and a function node (Converting Pressure output), which applies the necessary offset and scaling before the value is rendered on a gauge widget (Pressure managing). The boolean states of mech_1 and mech_2 are sent to a text widget (Possible Mechanical Malfunction LABEL), which displays the fault status as “Yes“ or “No”. Separate conversion nodes prepare the data for the forward and backward time-series charts.
This arrangement enables the machine-learning outputs to be processed and displayed with minimal custom code, so operators can respond to deviations and make preventive maintenance decisions promptly.
5.3. Dashboard Interface
The web dashboard implemented on the FlowFuse platform is the central monitoring panel for the Festo MPS 500 Handling Station (Figure 14). It is organized into five functional modules:
- Control Unit (Top-Left): station control triggers (RESET, START, STOP) and access-management actions (BLOCK OPERATOR, ACCESS OPERATOR) for controlling user access privileges;
- Monitoring Panel (Top-Center): real-time operational status through sensor indicators and camera images of the gripper movement and component positions. Each image has a Boolean state label (True/False) showing the active stage;
- Pressure Managing (Top-Right): a radial gauge and digital readout of the pneumatic system pressure (in bar), which makes deviations from the nominal 5 bar easy to see;
- Time-Series Analytics (Bottom-Left/Center): two real-time line charts of the gripper transit durations between sensors in the forward and backward directions. Separate RESET buttons let the operator clear the history and restart data collection;
- Mechanical Malfunction Prediction (Bottom-Right): the predicted fault status of the Mech_1 (Downstream–Sorting) and Mech_2 (Sorting–Upstream) motion segments, shown as explicit ”Yes”/”No” indicators for fast fault diagnosis.
Figure 14.
Dashboard interface for real-time station monitoring and PdM analytics (prototype; simulated telemetry).
5.4. Mobile Dashboard
The dashboard can also be reached from mobile devices through the Remote-RED application, which is available for iOS and Android (Figure 15). Remote access is configured through a dedicated node, where the connection parameters are specified: the communication protocol (typically HTTP), the port number (1880), the base URL (/ui), and the server location (e.g., Europe, Germany). Once this is configured, Node-RED generates a unique QR code. Scanning it connects the mobile device to the Node-RED server.
Figure 15.
Remote access node configuration for connecting Node-RED with mobile devices via the Remote-RED application.
The mobile interface reproduces the main monitoring components of the PC dashboard in a layout adapted to small screens (Figure 16). A Pressure Managing gauge shows the current predicted air pressure and makes deviations from the nominal 5 bar easy to see. Below, the Possible Mechanical Malfunction Status panel reports the fault state of the two motion segments, Mech_1 (Downstream–Sorting) and Mech_2 (Sorting–Upstream), as ”Yes”/”No” labels. At the bottom, two line charts (Time-series line (Forward) and Time-series line (Backward)) show how gripper transit durations change in real time in both directions, each with a RESET button to clear the log and restart tracking.
Figure 16.
Mobile dashboard interface layout: (a) primary monitoring screen; (b) secondary analytics screen.
Operators can therefore follow the state of the pneumatic actuator, the current pressure, and the mechanical fault status from any location, which improves accessibility and operational flexibility. Moving from this prototype to a production-grade deployment requires live data streaming, private-broker security, and communication-health monitoring, which are addressed in Section 6.
6. Future Directions
The results and limitations of this study suggest several directions for future work. The most immediate are a larger and more varied dataset with stronger validation (Section 6.1) and hardening the monitoring pipeline for production use (Section 6.2). Further directions extend the system’s capabilities: local inference on edge hardware (Section 6.3), RUL estimation (Section 6.4), data augmentation and deep sequence models (Section 6.5), digital-twin-based synthetic data (Section 6.6) and a cost analysis (Section 6.7).
6.1. Dataset Expansion and Validation
The most significant constraint of this dataset is the extent of its coverage. Each directional dataset contains 421–424 samples, collected at four discrete pressure levels (3.5, 4, 5, and 6 bar), with mechanical faults deliberately introduced (Section 3.3). The pressure level estimation results (Section 4.2.3) demonstrate that the models separate 6 bar from the lower levels, but only partly separate 3.5, 4 and 5 bar, and the leave-one-level-out diagnostic (Table 27) shows that they can neither interpolate nor extrapolate. The gap between cross-validation and test accuracy in forward_CB and backward_CA should not be read as overfitting alone. With random rows, repeated cross-validation gives 89.4% and 94.1% for these segments, whereas withholding whole recording runs lowers them to 62.5% and 86.4% (Section 4.4); the result of a single 64-sample split therefore depends strongly on how the records of each run are distributed between training and test sets. Run identifiers were recovered for this study, but the acquisition dates and session order are still unknown. Future acquisition should log a session identifier, the block order and a cycle counter, and each pressure and fault combination should be recorded in several independent runs, so that a session-wise (leave-one-session-out) validation becomes possible.
To strengthen the dataset, future collection should include intermediate values in the 3–7 bar range, diverse response times, and stages of mechanical wear. Long-term telemetry from normal operation with controlled stress tests within safe limits, such as introducing artificial pressure leaks or mechanical friction, can be combined to enrich the dataset. Recommended scenarios include:
- Adding a PLC-connected pressure transmitter, so that the pressure is recorded continuously with each cycle;
- Beginning motion sequences using an unloaded tray;
- Managing parts with irregular dimensions or atypical mass distributions;
- Performing continuous bidirectional cycles without pause intervals;
- Running repeated motion along identical trajectories to capture wear accumulation.
Incorporating such scenarios can improve detection performance on infrequent but critical events, while minimizing both false positives and missed detections.
Stronger validation is also required. Because the test metrics are derived from a single 85/15 split with 64 samples, shifts of one or two samples (1.6–3.1 pp) fall within the noise margin. Repeated, nested cross-validation and run-wise validation are reported in Section 4.4, but each pressure and fault combination was recorded in only two runs per segment; a test set collected in separate sessions from the training data, and confidence intervals from independent repetitions, would produce more robust estimates. Adjusting thresholds or applying class weighting could improve fault recall, as indicated by the forward_CB outcomes in Section 4.2.2. Expanding the binary fault label to differentiate multiple fault categories would provide richer diagnostic information.
6.2. Production-Ready Dashboard, Security, and Reliability
Currently, the dashboard shows simulated telemetry as a demonstration of the interface (Section 5). Moving to a production environment requires streaming live data (system pressure, mech_1 and mech_2 fault states, and the model’s time-series output) through the MQTT pipeline to the dashboard widgets (mqtt in, chart, and gauge nodes), which handle JSON deserialization, timestamp binding, and automatic chart updates. To ensure continuity, missing or delayed messages must be handled without gaps, and transient spikes should be reduced using smoothing methods such as moving averages or low-pass filters. To validate the claim of real-time monitoring, latency should be assessed throughout the pipeline, from PLC input through cloud logging and inference to dashboard output.
Another significant gap lies in security. The prototype uses the public broker test.mosquitto.org on port 1883, which is neither authenticated nor encrypted (Section 5.1). For a deployed system, a private broker with client authentication, TLS encryption, and fine-grained topic access control is essential. This principle extends to the remaining components: the Google Sheets service account key must be restricted to minimal permissions and safeguarded appropriately, remote access to the dashboard must be protected by authentication, and any control actions exposed through the dashboard (such as START and STOP) should be restricted by operator role.
Unauthorized message injection is a considerable risk for the present prototype. Because the broker is public and the topic name is published in this document, any unauthorized client can read the predictions or publish false predictions that the dashboard would display. In addition to a private broker with authentication, TLS and topic-level access control lists (such that only the model publisher can write to the prediction topic), a deployed system should use a non-guessable topic namespace and validate each payload in Node-RED (based on the schema, value range, timestamp, and sequence number). Furthermore, it should discard malformed, replayed, or implausible messages, apply rate limits, and optionally sign messages (for example, with an HMAC). None of these measures is implemented in the current prototype.
Finally, transmission-channel health should be continuously checked. Continuous verification of the MQTT connection can be achieved through heartbeat messages or by leveraging the protocol’s keep-alive and last-will features. Missed heartbeats, consecutive missed acknowledgments, or connection loss should trigger a fallback mode with a clear visual alert (e.g., red indicator) while preserving the latest valid telemetry. Implementing these measures would transform the prototype into a monitoring system capable of distinguishing model faults from communication faults.
6.3. Deployment on Edge Devices
Deploying trained models on edge devices such as Raspberry Pi, Jetson Nano, or TinyML-enabled microcontrollers (e.g., ESP32) can reduce prediction latency and network load [19,32]. By running inference locally, the device would transmit only outcomes (e.g., alarms) rather than raw data to the cloud. Even if the connection to the central server is lost, the system could continue to operate. Given that the models are relatively lightweight—tree ensembles with 50–200 trees and only two input features—local inference appears practical. Both memory usage and inference latency should be evaluated on the deployment hardware.
6.4. Remaining Useful Life Prediction
The system currently distinguishes between normal and faulty gripper conditions. RUL prediction would instead estimate how many cycles or how much time remain before failure, allowing maintenance to be scheduled more precisely and unplanned downtime to be reduced. RUL prediction is commonly approached with regression models such as Weibull analysis and gradient boosting, as well as deep learning methods such as recurrent neural networks (LSTM), each offering different strengths in capturing degradation patterns and uncertainty [33]. Direct comparisons between Random Forest and Gradient Boosting have been conducted for RUL estimation of rolling-element bearings [17]. This approach relies on degradation data absent from the current dataset, which contains only deliberate static faults rather than evolving trajectories. Collecting run-to-failure or accelerated-wear data, such as the repeated-trajectory scenario in Section 6.1, would therefore be a prerequisite.
6.5. Data Augmentation and Deep Learning for Time-Series Analysis
Small industrial time-series datasets are better served first by data augmentation than by larger models. Reviews of fault-diagnosis data augmentation [27,28] describe noise injection, amplitude scaling, interpolation between neighboring samples (SMOTE-style [34]) and bootstrap resampling. In the current dataset, the inputs are only the segment transit time and the nominal pressure, so the most suitable techniques are small random perturbations of Time within the measured spread of each pressure level and class, and interpolation between samples of the same pressure level and class. Augmentation must be applied to the training folds only, after the split, since synthetic samples generated before the split would leak into the test set. The perturbations must stay within physically reasonable limits, and the benefit must be confirmed on measured held-out data, preferably from separate sessions. Augmentation of this kind would address class imbalance within pressure levels (Table 4) but cannot create the unseen operating conditions discussed in Section 6.1. It is complementary to the digital-twin approach of Section 6.6, which can generate fault and pressure conditions that are not available on the physical setup. No augmentation was used in the current experiments.
Where more data are available, recurrent networks such as long short-term memory (LSTM) and gated recurrent unit (GRU) networks and temporal convolutional network (TCNs) can effectively capture extended temporal dependencies and subtle nonlinearities in the dynamics of transit times and pressure [35]. In contrast to tree ensembles that depend on engineered features such as segment durations, these models are capable of learning directly from raw sequences [33]. Two important caveats apply: deep models require substantially more data than the 421–424 samples per segment available here (hence the expansion of the dataset in Section 6.1), and they are less interpretable than tree ensembles, motivating the use of the latter in this study (Section 2.3). Their adoption would necessitate explainability methods to maintain operator trust.
6.6. Digital Twin and Synthetic Data
As discussed in Section 3.1, building a validated digital twin of the Handling Station was beyond the scope of this work. Such a digital twin could produce synthetic fault and pressure data that are impractical or unsafe to obtain physically, thus mitigating the data-scarcity issue noted in Section 2.3 [25,26]. A digital twin of the Automatic Storage and Retrieval Station on the same platform has already been developed [29] and could serve as a starting point. Before training, synthetic data must be validated against measured data, since discrepancies between simulation and the physical system could affect model performance.
6.7. Cost Analysis
No formal cost analysis was carried out in this work. A next step would be to perform a cost and total-cost-of-ownership comparison of the present stack (PLC interface, FlowFuse hosting, cloud storage, MQTT broker, engineering time) with commercial SCADA and IIoT solutions, including the sensors that a production version would need. The comparison should also consider that FlowFuse and Google Sheets are hosted services with their own usage terms and limits.
7. Conclusions
This study designed and implemented an IoT-enabled PdM prototype for the Handling Station of the Festo MPS 500. Gripper transit times supplied by a Siemens PLC were processed in Node-RED on the FlowFuse platform and logged on Google Sheets, giving four direction-specific datasets (421–424 samples) with pressure set at four levels (3.5, 4, 5, and 6 bar) and mechanical faults introduced deliberately. Random Forest and Gradient Boosting models were trained for fault classification and pressure level estimation, and the predictions are published over MQTT to a web dashboard and a mobile application.
Fault classification. Random Forest reached 84.4–92.2% test accuracy on a single 64-sample split and 89.4–94.1% in repeated cross-validation with random rows. When whole recording runs were withheld, the accuracy was 90.9%, 62.5%, 86.4% and 89.2% in forward_AC, forward_CB, backward_CA and backward_BC. Gradient Boosting, a decision tree, an SVM and a small neural network gave results within a few percentage points of Random Forest under random rows, and none was robustly best when runs were withheld. Transit time was the dominant input; the nominal pressure added up to 7 pp with random rows, except in forward_AC, and little when runs were withheld.
Pressure level estimation. From the transit time alone, Random Forest explained 70%–88% of the variance with random rows ( 0.79–0.89 on the single split), and Gradient Boosting was equivalent. The estimator identified 6 bar almost exactly, but separated 3.5, 4 and 5 bar only partly, and it did not interpolate to levels that it had not seen. With the whole runs withheld, the RMSE rose to 0.55–0.73 bar in three segments, against 0.86–0.87 bar for a mean predictor, and only backward_BC (0.31 bar) held up.
Limitations. The data come from a single testbed with deliberately induced faults and were collected in blocks per pressure level, and contain only two runs per pressure and fault combination and no acquisition dates. The random-row figures are therefore upper bounds and the run-wise figures, which are a demanding test, lower bounds of the performance on new recordings. The dashboard was demonstrated with simulated telemetry, no end-to-end latency was measured, and the prototype relies on a public, unauthenticated MQTT broker.
Future work. The priorities are a broader dataset (continuous pressures of 3–7 bar, session identifiers, several independent runs per condition, diverse loads and progressive wear) with session-wise validation, a PLC-connected pressure transmitter, and production readiness (live streaming, a private authenticated broker with TLS, and latency measurement). Because no formal cost analysis was made, a total-cost-of-ownership comparison with commercial SCADA/IIoT solutions is a specific next step (Section 6.7); edge deployment, RUL estimation, data augmentation, deep sequence models and digital twins follow (Section 6).
Author Contributions
Conceptualization, T.A. and A.F.; methodology, A.Y., Z.B., B.A. and T.A.; data acquisition, A.Y. and Z.B.; software, validation, and visualization, A.Y. and Z.B.; writing—original draft preparation, A.Y. and Z.B.; writing—review and editing, supervision, T.A., A.F. and B.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.
Informed Consent Statement
Not applicable.
Data Availability Statement
The datasets, the analysis scripts that produced all tables in this paper, and the Node-RED flows are available at https://github.com/zhalgasbolatbayev/Data-Driven-Predictive-Maintenance-for-Industry-4.0 (accessed on 20 November 2026).
Acknowledgments
Artificial intelligence tools (specifically, Claude (Anthropic), Opus 5.5) were used during the preparation of this manuscript. Their role was limited to reviewing the draft prior to submission, improving the structure of the paper, enhancing clarity, grammar checking and rephrasing sentences in order to improve readability. No AI tools were employed to generate scientific content, perform data analysis, or make conclusions. All research problem design, data interpretation, and intellectual contributions remain the responsibility of the authors.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Lu, B.; Durocher, D.B.; Stemper, P. Predictive Maintenance Techniques. IEEE Ind. Appl. Mag. 2009, 15, 52–60. [Google Scholar] [CrossRef] [Scilit]
- Zonta, T.; da Costa, C.A.; da Rosa Righi, R.; de Lima, M.J.; da Trindade, E.S.; Li, G.P. Predictive Maintenance in the Industry 4.0: A Systematic Literature Review. Comput. Ind. Eng. 2020, 150, 106889. [Google Scholar] [CrossRef] [Scilit]
- Molęda, M.; Małysiak-Mrozek, B.; Ding, W.; Sunderam, V.; Mrozek, D. From Corrective to Predictive Maintenance—A Review of Maintenance Approaches for the Power Industry. Sensors 2023, 23, 5970. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mahale, Y.; Kolhar, S.; More, A.S. A Comprehensive Review on Artificial Intelligence-Driven Predictive Maintenance in Vehicles: Technologies, Challenges and Future Research Directions. Discov. Appl. Sci. 2025, 7, 243. [Google Scholar] [CrossRef] [Scilit]
- Abd Elhaleem, S.; Zanfal, A.; Hamdy, M. Predictive Maintenance Based on IIoT and Machine Learning Aligned with Industry 4.0: A Case Study in Waste-Water Treatment Plant. Neural Comput. Appl. 2025, 37, 20383–20407. [Google Scholar] [CrossRef] [Scilit]
- Omidi, S.A.; Baig, M.J.A.; Iqbal, M.T. Design and Implementation of Node-Red Based Open-Source SCADA Architecture for a Hybrid Power System. Energies 2023, 16, 2092. [Google Scholar] [CrossRef] [Scilit]
- Oner, A.E.; Bayraktar, M. Comparative Evaluation of Machine Learning Algorithms for Fault Diagnosis in Automotive Press Lines. Sensors 2026, 26, 5058. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Zhang, C.; Wang, Z.; Yu, L.; Zhao, Z.; Wang, F.; Xiong, W. Leakage Detection in Pneumatic Systems with Machine Learning and Upstream Single-Point Signals. Int. J. Fluid Power 2025, 26, 1–24. [Google Scholar] [CrossRef] [Scilit]
- Barakat, N.; Hajeir, L.; Alattal, S.; Hussein, Z.; Awad, M. Air Leaks Fault Detection in Maintenance Using Machine Learning. J. Qual. Maint. Eng. 2024, 30, 391–408. [Google Scholar] [CrossRef] [Scilit]
- Kazmi, M.; Shoaib, M.T.; Aziz, A.; Khan, H.R.; Qazi, S.A. An Efficient IIoT-Based Smart Sensor Node for Predictive Maintenance of Induction Motors. Comput. Syst. Sci. Eng. 2023, 47, 255–272. [Google Scholar] [CrossRef] [Scilit]
- Alhuqayl, S.O.; Alenazi, A.T.; Alabduljabbar, H.A.; Haq, M.A. Improving Predictive Maintenance in Industrial Environments via IIoT and Machine Learning. Int. J. Adv. Comput. Sci. Appl. 2024, 15, 627–640. [Google Scholar] [CrossRef] [Scilit]
- Al Shahrani, A.M.; Alomar, M.A.; Alqahtani, K.N.; Basingab, M.S.; Sharma, B.; Rizwan, A. Machine Learning-Enabled Smart Industrial Automation Systems Using Internet of Things. Sensors 2023, 23, 324. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Malaiyappan, J.N.A.; Krishnamoorthy, G.; Jangoan, S. Predictive Maintenance Using Machine Learning in Industrial IoT. Int. J. Innov. Sci. Res. Technol. 2024, 9, 984. [Google Scholar] [CrossRef] [Scilit]
- Dalzochio, J.; Kunst, R.; Pignaton, E.; Binotto, A.; Sanyal, S.; Favilla, J.; Barbosa, J. Machine Learning and Reasoning for Predictive Maintenance in Industry 4.0: Current Status and Challenges. Comput. Ind. 2020, 123, 103298. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]
- Elkateb, S.; Métwalli, A.; Shendy, A.; Abu-Elanien, A.E.B. Machine Learning and IoT-Based Predictive Maintenance Approach for Industrial Applications. Alex. Eng. J. 2024, 88, 298–309. [Google Scholar] [CrossRef] [Scilit]
- Patil, S.; Patil, A.; Handikherkar, V.; Desai, S.; Phalle, V.M.; Kazi, F.S. Remaining Useful Life (RUL) Prediction of Rolling Element Bearing Using Random Forest and Gradient Boosting Technique. In Proceedings of the ASME 2018 International Mechanical Engineering Congress and Exposition, Pittsburgh, PA, USA, 9–15 November 2018; Volume 13, p. V013T05A019. [Google Scholar] [CrossRef] [Scilit]
- Resende, C.; Folgado, D.; Oliveira, J.; Franco, B.; Moreira, W.; Oliveira-Jr., A.; Cavaleiro, A.; Carvalho, R. TIP4.0: Industrial Internet of Things Platform for Predictive Maintenance. Sensors 2021, 21, 4676. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lazzaro, A.; D’Addona, D.M.; Merenda, M. A Detailed Study on Algorithms for Predictive Maintenance in Smart Manufacturing: Chip Form Classification Using Edge Machine Learning. IEEE Open J. Ind. Electron. Soc. 2024, 5, 1190–1205. [Google Scholar] [CrossRef] [Scilit]
- Ortiz, G.; Castillo, I.; Garcia-de-Prado, A.; Boubeta-Puig, J. Evaluating a Flow-Based Programming Approach as an Alternative for Developing CEP Applications in IoT. IEEE Internet Things J. 2022, 9, 11489–11499. [Google Scholar] [CrossRef] [Scilit]
- Mishra, B.; Mishra, B.; Kertesz, A. Stress-Testing MQTT Brokers: A Comparative Analysis of Performance Measurements. Energies 2021, 14, 5817. [Google Scholar] [CrossRef] [Scilit]
- Filimonov, D.; Onabek, A.; Smolyarchuk, K.; Alizadeh, T. Integrating Computer Vision in a CODESYS PLC to Enable Intelligent Object Identification. In Proceedings of the 2024 9th International Conference on Mechatronics Engineering (ICOM), Kuala Lumpur, Malaysia, 15–17 July 2024; pp. 65–70. [Google Scholar] [CrossRef] [Scilit]
- Akhmetov, M.; Kanymkulov, D.; Amirov, A.; Askhatova, A.; Alizadeh, T. Integrated Machine Vision and PLC Commanding for Efficient Bottle Label Detection in Industrial Processes: A Unified Approach for Quality Control. In Proceedings of the 2024 10th International Conference on Control, Automation and Robotics (ICCAR), Singapore, 13–15 April 2024; pp. 66–70. [Google Scholar] [CrossRef] [Scilit]
- Ucar, A.; Karakose, M.; Kırımça, N. Artificial Intelligence for Predictive Maintenance Applications: Key Components, Trustworthiness, and Future Trends. Appl. Sci. 2024, 14, 898. [Google Scholar] [CrossRef] [Scilit]
- Nieminen, W.; Gebreweld, H.; Liuha, A.; Nissinen, M.; Verdugo, M.; Mikkola, A.; Kutvonen, A. Synthetic Data for Predictive Maintenance: A Systematic Review and Framework for Industry 4.0 Applications. J. Intell. Manuf. 2026, 1–23. [Google Scholar] [CrossRef] [Scilit]
- Shafiee, S. Synthetic Data Generation in Manufacturing: A Review of Methods, Domains, and Emerging Trends. Procedia CIRP 2026, 139, 440–445. [Google Scholar] [CrossRef] [Scilit]
- Ju, Z.; Chen, Y.; Qiang, Y.; Chen, X.; Ju, C.; Yang, J. A Systematic Review of Data Augmentation Methods for Intelligent Fault Diagnosis of Rotating Machinery under Limited Data Conditions. Meas. Sci. Technol. 2024, 35, 122004. [Google Scholar] [CrossRef] [Scilit]
- Lyu, P.; Zhang, H.; Yu, W.; Liu, C. A Novel Model-Independent Data Augmentation Method for Fault Diagnosis in Smart Manufacturing. Procedia CIRP 2022, 107, 949–954. [Google Scholar] [CrossRef] [Scilit]
- Serik, A.; Zhetpissov, Y.; Mosadeghzad, M.; Alizadeh, T. Digital Twins Development of Automatic Storage and Retrieval Station in a Production Line and an Integrated Robotic Manipulator. In Robot Intelligence Technology and Applications; Lecture Notes in Networks and Systems; Springer: Cham, Switzerland, 2022; Volume 429, pp. 210–223. [Google Scholar] [CrossRef] [Scilit]
- Mosadeghzad, M.; Kalym, D.; Kaliyanurov, Z.; Alizadeh, T. Towards Enhancing Modular Production Systems by Integrating a Collaborative Robotic Manipulator. In Proceedings of the 2019 IEEE International Conference on Mechatronics and Automation (ICMA), Tianjin, China, 4–7 August 2019; pp. 1750–1755. [Google Scholar] [CrossRef] [Scilit]
- Sicari, S.; Rizzardi, A.; Coen-Porisini, A. How to Evaluate an Internet of Things System: Models, Case Studies, and Real Developments. Softw. Pract. Exp. 2019, 49, 1663–1685. [Google Scholar] [CrossRef] [Scilit]
- Chen, M.; Wei, Z.; Li, L.; Zhang, K. Edge Computing-Based Proactive Control Method for Industrial Product Manufacturing Quality Prediction. Sci. Rep. 2024, 14, 1288. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Serradilla, O.; Zugasti, E.; Rodriguez, J.; Zurutuza, U. Deep Learning Models for Predictive Maintenance: A Survey, Comparison, Challenges and Prospects. Appl. Intell. 2022, 52, 10934–10964. [Google Scholar] [CrossRef] [Scilit]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic Minority Over-sampling Technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef] [Scilit]
- Pour, M.A.; Karimi, M.S.; Mazloumi, A.H. Temporal Convolutional and Fusional Transformer Model With Bi-LSTM Encoder-Decoder for Multi-Time-Window Remaining Useful Life Prediction. IEEE Access 2025, 13, 203705–203722. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
















