Leakage Detection in Pneumatic Systems with Machine Learning and Upstream Single-Point Signals

Chunpu Zhang, Zhiwen Wang, Lei Yu, Zheng Zhao, Fei Wang, Wei XiongInternational Journal of Fluid Power 2025

TL;DR

Researchers have developed a machine learning framework that can detect and precisely locate 11 different types of internal and external leakages in a pneumatic system using only a single upstream sensor. By combining 1D Convolutional Neural Networks (CNNs) with "exergy" data—a fusion of pressure and flow—the system achieves nearly 90% accuracy in identifying faults that are traditionally difficult and expensive to find.

What Problem Does This Paper Address?

Pneumatic systems are the workhorses of modern manufacturing, but they have a glaring weakness: they are incredibly "leaky." It is estimated that 10% to 40% of the energy used in these systems is wasted through air leaks.

While external leaks (hissing pipes) are annoying, internal leaks (damaged piston seals) are silent killers that degrade performance without being easily visible. Current solutions are often a "pick your poison" scenario: you can either buy expensive ultrasonic detectors that can't find internal leaks, or you can clutter your system with dozens of cheap sensors, which increases complexity, cost, and points of failure. The authors tackle the "holy grail" of pneumatic maintenance: How do we detect and locate multiple specific leak points using the absolute minimum number of sensors?

Methods

The researchers built a test rig featuring two pneumatic cylinders and two control valves. They simulated 11 different leakage scenarios (9 external, 2 internal) and one "normal" state.

The core of their approach is a two-stage machine learning pipeline:

  1. Feature Extraction via 1D CNN: Instead of manually picking features (like peak pressure or average flow), they used a one-dimensional Convolutional Neural Network. This allows the model to automatically learn the "shape" of the pressure and flow waves that characterize specific leaks.
  2. Classification: They tested six different "heads" for their model: Gaussian Process Classification (GPC), Support Vector Machines (SVM), k-Nearest Neighbors (KNN), Decision Trees (CART), Multi-Layer Perceptrons (MLP), and Random Forests (RF).
  3. The "Exergy" Signal: Rather than just looking at raw pressure or flow, they calculated Exergy—a thermodynamic measure that combines both signals into a single value representing the "available work" in the air.

To make the "black box" of AI more transparent, they used Class Activation Mapping (CAM), a visualization technique that highlights exactly which parts of the sensor data the model is looking at to make its decision.

Datasets

The study used a custom-generated dataset from their experimental rig:

  • Conditions: 12 total (1 Normal + 11 Leakage positions).
  • Sample Size: For each condition, they collected 200 training samples, 10 validation samples, and 40 test samples.
  • Data Structure: Each "sample" consists of one 4-second cycle (400 data points at 100Hz).
  • Validation: They performed independent repeated experiments to ensure the test data was truly separate from the training data.

Key Insights and Ideas

  • Exergy is King: The most significant "aha moment" was that models trained on exergy data consistently outperformed those trained on raw pressure or flow alone. Because exergy captures the relationship between pressure and flow, it provides a richer "fingerprint" of the system's state.
  • The Upstream "Ear": The paper proves that a single sensor placed upstream can "hear" the signature of a leak occurring far downstream, even if that leak is internal to a cylinder.
  • AI vs. Human Intuition: Through CAM analysis, the researchers found that the CNN was focusing on the "bottom flat regions" of the signal curves. Interestingly, human engineers usually focus on the peaks. This suggests the AI found subtle diagnostic information in the "recovery" phase of the pneumatic cycle that humans typically ignore.
  • Simplicity Wins: While deep learning is flashy, the "simpler" classifiers like SVM and Random Forest performed exceptionally well once the 1D CNN had extracted the right features, whereas the complex MLP (Multi-Layer Perceptron) struggled significantly.

Key Results

  • High Accuracy: Using the SVM classifier with exergy data, the system achieved an average diagnostic accuracy of 89.48%.
  • Classifier Comparison: GPC, SVM, KNN, CART, and RF all hovered between 86% and 89% accuracy. In contrast, the MLP performed poorly, with accuracies often falling below 60%.
  • Internal Leak Success: The model successfully distinguished between internal piston leaks and external line leaks, a task that is notoriously difficult with traditional maintenance tools.

Limitations and Future Work

The authors are transparent about several hurdles:

  • Single Fault Assumption: The current model assumes only one leak happens at a time. In a real factory, you might have three small leaks occurring simultaneously, which would likely confuse the current classifier.
  • Fixed Leakage Rates: The experiments used set leakage rates (15 L/min for external, 0.6 L/min for internal). Future work needs to determine if the model can still locate a leak if the size of the hole changes.
  • Data Splitting Errors: The CAM analysis actually revealed a "tiny phase difference" in some samples, suggesting a slight mistake in how the original data was split into cycles. The authors noted this as an area for optimization.
  • Scaling Up: The test rig had two cylinders. Modern assembly lines have dozens. Scaling this "single-point" approach to a massive manifold remains a significant challenge.

Summary updated

Abstract

Pneumatic systems are widely utilized in industrial manufacturing plants. Leakage is the most common fault and the dominating way of energy waste in pneumatic systems. Due to the low investment cost and high reliability of pneumatic systems, it is significant to detect leakage faults with a minimal number of cheap sensors. In this study, the feasibility of locating the leakages in 11 positions of a typical pneumatic system is verified with machine learning methods and the measured signal at a single point upstream. Both external and internal leakages of different pneumatic components are considered. Feature extraction is conducted using a one-dimensional convolutional neural network (1D CNN). Various machine learning classifiers, including GPC (Gaussian Process Classification), SVM (Support Vector Machine), KNN (k-Nearest Neighbour), CART (Classification and Regression Tree), MLP (Multi-Layer Perceptron), and RF (Random Forest) are used for fault classification and comparison. Class Activation Mapping (CAM) is calculated for the visualization of decision-making processes. The results show that it is feasible and convenient to detect and locate the multipoint leakages in a pneumatic system by analysing signal measured at a sole upstream point with the help of machine learning methods. The methodology can be extrapolated to and applied in more complex pneumatic systems.
BibTeX
@article{zhang2025leakage,
  author = {Chunpu Zhang and Zhiwen Wang and Lei Yu and Zheng Zhao and Fei Wang and Wei Xiong},
  title = {{Leakage Detection in Pneumatic Systems with Machine Learning and Upstream Single-Point Signals}},
  journal = {International Journal of Fluid Power},
  year = {2025},
  doi = {10.13052/ijfp1439-9776.2611},
}
Figure