Next Article in Journal
Factors Affecting Energy Consumption in Hydrogen Liquefaction Plants
Previous Article in Journal
Ultra-Short-Term Wind Power Prediction with Multi-Scale Feature Extraction Under IVMD
Previous Article in Special Issue
GIS Disconnector Mechanism Jamming Fault Diagnosis Method Based on Sideband Information Enhancement in Power System
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
Article

A Diffusion Model-Empowered CNN-Transformer for Few-Shot Fault Diagnosis in Natural Gas Wells

1
No.1 Gas Production Plant, PetroChina Xinjiang Oilfield Company, Karamay 834000, China
2
I3Lab, Department of Automation, China University of Petroleum, Beijing 102249, China
*
Author to whom correspondence should be addressed.
Processes 2025, 13(8), 2608; https://doi.org/10.3390/pr13082608
Submission received: 12 July 2025 / Revised: 6 August 2025 / Accepted: 14 August 2025 / Published: 18 August 2025
(This article belongs to the Special Issue Progress in Design and Optimization of Fault Diagnosis Modelling)

Abstract

Natural gas wells operate under complex conditions with frequent environmental disturbances. Fault types vary significantly and often present weak signals, affecting both safety and efficiency. This paper proposes an intelligent fault-diagnosis method based on a CNN-Transformer model using real-time wellsite data. A time series diffusion model is applied to enhance small-sample data by generating synthetic fault samples, and the CNN-Transformer model extracts both local and global features from time series inputs to improve fault recognition in complex scenarios. Validation on a real-world dataset demonstrates that the proposed method achieves a macro F1-Score of 99.52% in multi-class fault diagnosis, significantly outperforming baseline models (1D-CNN: 95.83%, LSTM: 93.54%, GRU: 94.98%). Quantitative analysis confirms the diffusion model’s superiority in data augmentation, with lower Earth Mover’s Distance (0.087), KL Divergence (0.245), and Mean Squared Error (0.298) compared to GAN and VAE variants. Ablation studies show that removing diffusion-based augmentation leads to a 14.96% drop in F1-Score, highlighting its critical role in mitigating class imbalance. Results validate the diffusion model’s effectiveness for data augmentation and the CNN-Transformer’s superior ability to capture complex time series patterns, providing theoretical support and practical tools for intelligent monitoring and maintenance in natural gas well systems.
Keywords: natural gas wells; fault diagnosis; diffusion modeling; CNN; transformer; time series natural gas wells; fault diagnosis; diffusion modeling; CNN; transformer; time series

Share and Cite

MDPI and ACS Style

Wang, C.; Li, Y.; Wang, J.; Wang, Y.; Liu, Y.; Han, L.; Yang, F.; Gao, X. A Diffusion Model-Empowered CNN-Transformer for Few-Shot Fault Diagnosis in Natural Gas Wells. Processes 2025, 13, 2608. https://doi.org/10.3390/pr13082608

AMA Style

Wang C, Li Y, Wang J, Wang Y, Liu Y, Han L, Yang F, Gao X. A Diffusion Model-Empowered CNN-Transformer for Few-Shot Fault Diagnosis in Natural Gas Wells. Processes. 2025; 13(8):2608. https://doi.org/10.3390/pr13082608

Chicago/Turabian Style

Wang, Chuanping, Yudong Li, Jiajia Wang, Yuzhe Wang, Yufeng Liu, Ling Han, Fan Yang, and Xiaoyong Gao. 2025. "A Diffusion Model-Empowered CNN-Transformer for Few-Shot Fault Diagnosis in Natural Gas Wells" Processes 13, no. 8: 2608. https://doi.org/10.3390/pr13082608

APA Style

Wang, C., Li, Y., Wang, J., Wang, Y., Liu, Y., Han, L., Yang, F., & Gao, X. (2025). A Diffusion Model-Empowered CNN-Transformer for Few-Shot Fault Diagnosis in Natural Gas Wells. Processes, 13(8), 2608. https://doi.org/10.3390/pr13082608

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Article metric data becomes available approximately 24 hours after publication online.
Back to TopTop