Journal of Jilin University(Engineering and Technology Edition) ›› 2026, Vol. 56 ›› Issue (7): 1787-1797.doi: 10.13229/j.cnki.jdxbgxb.20241268

Previous Articles    

Fault diagnosis method for gearbox with few samples based on diffusion model and DenseNet

Jie CAO1,2(),Zhi-feng CHEN1,Jin-hua WANG1,3(),Li CHEN2   

  1. 1.College of Electrical and Information Engineering,Lanzhou University of Technology,Lanzhou 730050,China
    2.School of Information Engineering,Lanzhou City University,Lanzhou 730070,China
    3.Gansu Engineering Technology Research Center for Manufacturing Informatization,Lanzhou 730050,China
  • Received:2024-11-12 Online:2026-07-01 Published:2026-08-12
  • Contact: Jin-hua WANG E-mail:caoj@lut.edu.cn;wjh0615@lut.edu.cn

Abstract:

Aiming at the problem of few samples in the fault diagnosis of rotating machinery, a fault diagnosis method for planetary gearboxes based on a diffusion model is proposed. The time-frequency diagrams of fault samples are used as the representation of fault features for fault classification. Firstly, the continuous wavelet transform is used to convert the one-dimensional vibration signals of the gearbox into time-frequency diagrams as training samples. Secondly, the diffusion model is optimized and improved to enable it to fully learn the fault features of the training samples and generate high-quality fault samples. Finally, a classifier based on a dense convolutional network is constructed, which combines the attention mechanism to enhance the performance of the classifier. The performance of the classifier is tested using a test set containing multiple fault types. The results show that the diagnostic accuracy of the proposed method is close to that under the condition of sufficient samples, reaching over 99%, and experimental comparisons with existing methods have been carried out. In addition, ablation experiments on the optimization settings of the wavelet transform method and the classifier are conducted to verify their effectiveness.

Key words: diffusion model, fault diagnosis, gears, small sample, attention mechanism

CLC Number: 

  • TH132.425

Fig.1

Overall framework of diagnostic method"

Fig.2

Training Sindiffusion model with multiple samples"

Fig.3

Classifier model"

Table 1

Network model parameters"

模型

输出

尺寸

网络结构
卷积层64×647×7conv,步长2
池化层32×323×3最大池化,步长2
EMA分支132×1沿高H维度平均池化,保留宽度1
1×32沿宽W维度平均池化,保留高度1
32×321×1conv,通道64,分组16,每组4通道
32×32组归一化,每组4通道
EMA分支232×323×3conv,通道数保64
融合分支1、232×32
密集层132×321×13×3×6
过渡层132×321×1conv
16×162×2平均池化,步长2
密集层216×161×13×3×12
过渡层216×161×1conv
8×82×2平均池化,步长2
密集层38×81×13×3×48
过渡层38×81×1conv
4×42×2平均池化,步长2
密集层44×41×13×3×32
分类层1×17×7全局平均池化
5Softmax

Fig.4

Fault diagnosis process"

Fig.5

Transmission system test stand"

Fig.6

Schematic diagram of gear fault status"

Table 2

Planetary gearbox parameters"

参 数数 值
太阳轮28
环形齿轮100
行星齿轮齿数(数量)36(4)
啮合频率(175/8)fr
太阳轮故障频率(25/8)fr

Table 3

Labels and types of faults"

标签损伤种类标签损伤种类
1齿轮断齿4齿根裂纹
2健康状态5齿轮磨损
3缺齿

Fig.7

Time domain diagram of fault data"

Fig.8

Time frequency diagram of fault samples"

Table 4

Similarity between real sample images and generated sample images"

标签FIDLPIPSMMD
平均值49.894 70.186 10.144 8
154.775 20.264 60.200 7
247.824 50.144 20.138 9
346.171 40.149 70.125 9
445.745 40.124 90.113 2
554.957 20.247 20.145 4

Table 5

Sample quality generated by different methods"

方 法FIDMMD
WGAN?GP150.210.214
AVAEGAN26113.410.181
UDWGAN2770.210.148
本文方法49.890.145

Fig.9

Training loss curves under different mixing ratios"

Table 6

Diagnosis results of different sample sizes"

实验

序号

真实样本数量生成样本数量测试样本数量准确率/%
14001 00098.074
240201 00098.872
340401 00099.240
440601 00099.120
540801 00099.370
63001 00096.748
730201 00097.300
830401 00098.466
930601 00098.108
1030801 00099.098
112001 00096.072
1220201 00098.216
1320401 00096.962
1420601 00096.902
1520801 00098.228
161001 00089.666
1710201 00094.192
1810401 00096.404
1910601 00096.066
2010801 00097.354

Fig.10

Confusion matrix of diagnostic results for samples with different proportions"

Table 7

Values of different evaluation indicators"

标签精准率召回率Specificity
10.9960.9990.999
20.9960.9990.999
30.9980.981.0
40.9840.9960.996
51.01.01.0

Table 8

Hyperparameter settings for different models"

模 型学习率批量大小参数量/Mb
Res Net0.000 13225.6
ResNeXt0.000 13225
Dense Net0.000 1327.98
SE?Dense Net0.000 1328.2
本文方法0.000 1328.1

Fig.11

Classification accuracy of different methods"

Fig.12

Visualization of t-SNE output from the last layer of model"

Fig.13

Influence of attention mechanism"

[1] Peng H, Zhang H, Fan Y S, et al. A review of research on wind turbine bearings' failure analysis and fault diagnosis[J]. Lubricants, 2023, 11(1): No.14.
[2] Su Y, Meng L, Kong X, et al. Small sample fault diagnosis method for wind turbine gearbox based on optimized generative adversarial networks[J]. Engineering Failure Analysis, 2022, 140: No.106573.
[3] Shen C, Wang J, Chen J, et al. Gearbox fault diagnosis for wind turbines based on data augmentation using improved generative adversarial networks[J]. Proceedings of the International Conference on Electrical Materials and Power Equipment(ICEMPE), Chongqing, China, 2021.
[4] 张玺君, 尚继洋, 余光杰, 等. 基于注意力的多尺度卷积神经网络轴承故障诊断[J]. 吉林大学学报:工学版, 2024, 54(10): 3009-3017.
Zhang Xi-jun, Shang Ji-yang, Yu Guang-jie, et al. Bearing fault diagnosis based on attention for multi-scale convolutional neural network[J]. Journal of Jilin University(Engineering and Technology Edition), 2024, 54(10): 3009-3017.
[5] Misbah I, Lee C K M, Keung K L. Fault diagnosis in rotating machines based on transfer learning: literature review[J]. Knowledge-Based Systems, 2024, 283: No.111158.
[6] 邵海东, 李伟, 刘翊, 等. 时变转速下基于双阈值注意力生成对抗网络和小样本的转子-轴承系统故障诊断[J]. 机械工程学报, 2023, 59(12): 215-224.
Shao Hai-dong, Li Wei, Liu Yi, et al. Fault diagnosis of rotor-bearing system under time-varying speeds by using dual-threshold attention-embedded GAN and small samples[J]. Journal of Mechanical Engineering, 2023, 59(12): 215-224.
[7] Xie S, Cheng W, Nie Z, et al. Intelligent fault diagnosis of bearings under variable working conditions and small samples with generative adversarial network[C]∥Prognostics and Health Management Conference, London, United Kingdom, 2022: 162-168.
[8] Liang P, Deng C, Yuan X, et al. A deep capsule neural network with data augmentation generative adversarial networks for single and simultaneous fault diagnosis of wind turbine gearbox[J]. ISA Transactions, 2023, 135: 462-475.
[9] Goodfellow I, Pouget-Abadie J, Mirza M, et al. Generative adversarial nets[C]∥Advances in Neural Information Processing Systems, Montreal,Canda, 2014.
[10] Ho J, Jain A, Abbeel P. Denoising diffusion probabilistic models[C]∥Advances in Neural Information Processing Systems, Online, 2020: 6840-6851.
[11] Song J, Meng C, Ermon S. Denoising diffusion implicit models[J/OL].[2020-12-20]. .
[12] Chen P, Xu C, Ma Z, et al. A mixed samples-driven methodology based on denoising diffusion probabilistic model for identifying damage in carbon fiber composite structures[J]. IEEE Transactions on Instrumentation and Measurement, 2023, 72: 1-11.
[13] Huang T, Gao Y, Li Z, et al. A hybrid deep learning framework based on diffusion model and deep residual neural network for defect detection in composite plates[J]. Applied Sciences, 2023, 13(10): No.5843.
[14] Yang X, Ye T, Yuan X, et al. A novel data augmentation method based on denoising diffusion probabilistic model for fault diagnosis under imbalanced data[J]. IEEE Transactions on Industrial Informatics, 2024,20(5): 7820-7831.
[15] Croitoru F A, Hondru V, Ionescu R T, et al. Diffusion models in vision: a survey[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2023, 45(9): 10850-10869.
[16] 刘子昌, 白永生, 李思雨, 等. 基于小波时频图与Swin Transformer的柴油机故障诊断方法[J]. 系统工程与电子技术, 2023, 45(9): 2986-2998.
Liu Zi-chang, Bai Yong-sheng, Li Si-yu, et al. Diesel engine fault diagnosis method based on wavelet time-frequency diagram and Swin Transformer[J]. Systems Engineering and Electronics, 2023, 45(9): 2986-2998.
[17] Ye C, Wang J, Peng C, et al. Novel cross-domain fault diagnosis method based on model-agnostic meta-learning embedded in adaptive threshold network[J]. Measurement, 2023, 222: No.113677.
[18] Wang W, Bao J, Zhou W, et al. SinDiffusion: learning a diffusion model from a single natural image[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2025,47(5):3412-3423.
[19] Lv H, Chen J, Pan T, et al. Attention mechanism in intelligent fault diagnosis of machinery: a review of technique and application[J]. Measurement, 2022, 199: No.111594.
[20] Ouyang D, He S, Zhang G, et al. Efficient multi-scale attention module with cross-spatial learning[C]∥IEEE International Conference on Acoustics, Speech and Signal Processing(ICASSP), Rhodes Island, Greece, 2023: 1-5.
[21] Huang G, Liu Z, Van Der Maaten L, et al. Densely connected convolutional networks[C]∥IEEE Conference on Computer Vision and Pattern Recognition, Hawaii State, America, 2017: 4700-4708.
[22] 徐浩, 沙刚刚, 李腾腾, 等. 基于二维连续小波变换与数据融合技术的 逆有限元法-伪激励法结构损伤识别方法[J]. 复合材料学报, 2021, 38(10): 3554-3562.
Xu Hao, Sha Gang-gang, Li Teng-teng, et al. Structure damage identification method of inverse finite element method-pseudo-excitation method based on 2D continuous wavelet transform and data fusion technology[J]. Acta Materiae Compositae Sinica, 2021, 38(10) :3554-3562.
[23] 陈佛计, 朱枫, 吴清潇, 等. 生成对抗网络及其在图像生成中的应用研究综述[J]. 计算机学报, 2021, 44(2): 347-369.
Chen Fu-ji, Zhu Feng, Wu Qing-xiao, et al. A survey about image generation with generative adversarial nets[J]. Chinese Journal of Computers, 2021, 44(2): 347-369.
[24] Ibrahem H, Salem A, Kang H S. Exploration of semantic label decomposition and dataset size in semantic indoor scenes synthesis via optimized residual generative adversarial networks[J]. Sensors, 2022,22(21): No.8306.
[25] Liu D, Cui L, Cheng W. A review on deep learning in planetary gearbox health state recognition: Methods, applications, and dataset publication[J]. Measurement Science and Technology, 2023,35(1): No. 012002.
[26] Wang X, Jiang H, Wu Z, et al. Adaptive variational autoencoding generative adversarial networks for rolling bearing fault diagnosis[J]. Advanced Engineering Informatics, 2023, 56: No.102027.
[27] Meng Z, He H, Cao W, et al. A novel generation network using feature fusion and guided adversarial learning for fault diagnosis of rotating machinery[J]. Expert Systems with Applications, 2023, 234: No.121058.
[1] Xin-hui LIU,Zhuo-qun CHEN,Yan LYU. Review of industrial fault diagnosis based on deep learning [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(7): 1759-1779.
[2] Jun MIAO,Jie YAN,Rong-hua DU,Lei LI,Jun CHU. A bidirectional feature fusion method for object position estimation [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(2): 523-532.
[3] Qiu-zhan ZHOU,Xin-meng LI,Hao-qing-zi SHEN,Hui-nan WU,Yuan-yuan LI,Jing RONG,Chun-hua HU,Ping-ping LIU. Non-intrusive load decomposition of unbalanced data based on attention mechanism [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(1): 239-246.
[4] Zhi-gang FENG,Meng-yuan REN,Bing DONG,Ming-yue YU. Rolling bearing fault diagnosis based on multi-band feature map and improved SqueezeNet [J]. Journal of Jilin University(Engineering and Technology Edition), 2026, 56(1): 96-108.
[5] Wei LAN,Zheng ZHOU,Guan-yu WANG,Wei WANG,Miao-miao ZHANG. Intelligent fitting method for vehicle design based on machine learning [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(9): 2858-2863.
[6] Zhen HUO,Li-sheng JIN,Qiang HUA, HEYang. Edge feature⁃guided semantic segmentation method for intelligent vehicle [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(9): 3032-3041.
[7] Chang-zhao LIU,Jian SONG,Zheng-qi LI,Tie ZHANG,Lei WANG. Multi-objective optimization of high-speed thin-walled gears considering dynamic performance [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(8): 2487-2500.
[8] Qing-lin AI,Yuan-xiao LIU,Jia-hao YANG. Small target swmantic segmentation method based MFF-STDC network in complex outdoor environments [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(8): 2681-2692.
[9] Yan PIAO,Ji-yuan KANG. RAUGAN:infrared image colorization method based on cycle generative adversarial networks [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(8): 2722-2731.
[10] Shan-na ZHUANG,Jun-shuai WANG,Jing BAI,Jing-jin DU,Zheng-you WANG. Video-based person re-identification based on three-dimensional convolution and self-attention mechanism [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(7): 2409-2417.
[11] Zhi-gang FENG,Shou-qi WANG,Ming-yue YU. Rolling bearing fault diagnosis based on variational mode extraction and lightweight network [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(6): 1883-1891.
[12] Ya-li XUE,Tong-an YU,Shan CUI,Li-zun ZHOU. Infrared small target detection based on cascaded nested U-Net [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(5): 1714-1721.
[13] He-shan ZHANG,Meng-wei FAN,Xin TAN,Zhan-ji ZHENG,Li-ming KOU,Jin XU. Dense small object vehicle detection in UAV aerial images using improved YOLOX [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(4): 1307-1318.
[14] Hua CAI,Yu-yao WANG,Qiang FU,Zhi-yong MA,Wei-gang WANG,Chen-jie ZHANG. Semantic segmentation network based on attention mechanism and feature fusion [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(4): 1384-1395.
[15] Yang LI,Xian-guo LI,Chang-yun MIAO,Sheng XU. Low⁃light image enhancement algorithm based on dual branch channel prior and Retinex [J]. Journal of Jilin University(Engineering and Technology Edition), 2025, 55(3): 1028-1036.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!