中国机械工程 ›› 2026, Vol. 37 ›› Issue (9): 2081-2091.DOI: 10.3969/j.issn.1004-132X.2026.09.001
• 智能诊断与运维专栏 •
乔万1,2(
), 刘秀丽1,2(
), 栗祎健1,2, 吴国新1,2
收稿日期:2025-09-22
出版日期:2026-09-25
发布日期:2026-10-21
通讯作者:
刘秀丽
作者简介:乔万,男,1998年生,硕士研究生。主要研究方向为基于深度学习的机电装备故障诊断与健康管理。E-mail: 993409074@ qq.com基金资助:
QIAO Wan1,2(
), LIU Xiuli1,2(
), LI Yijian1,2, WU Guoxin1,2
Received:2025-09-22
Online:2026-09-25
Published:2026-10-21
Contact:
LIU Xiuli
摘要:
针对故障诊断中小样本条件下的数据标注缺失及跨域应用中的域偏移问题,提出了一种融合对比学习的域适应策略。通过层级化特征对齐机制,联合优化域级对抗适应与类级对比学习,兼顾域不变特征迁移与类判别性保持,提高目标域故障分类精度。构建一维域共享卷积神经网络提取源域和目标域数据的共性特征,结合无监督域判别损失与梯度反转层优化域级适配,增强域不变特性的可迁移性。设计无监督对比损失函数优化类特定信息,在特征空间内约束类内紧凑性与类间可分性,实现有限样本下类级对齐,有效抑制类边界误识别。在搭建的行星齿轮箱试验台数据集和公开轴承数据集上的跨工况无监督实验结果表明,在多个跨工况迁移任务中,诊断准确率普遍超过95%。所提方法相较于几种无监督域适应方法取得了明显的性能改进,验证了该方法在小样本无监督跨工况故障诊断中的有效性与优越性。
中图分类号:
乔万, 刘秀丽, 栗祎健, 吴国新. 小样本无监督跨域故障诊断方法[J]. 中国机械工程, 2026, 37(9): 2081-2091.
QIAO Wan, LIU Xiuli, LI Yijian, WU Guoxin. Unsupervised Cross-domain Fault Diagnosis Method under Small Sample Conditions[J]. China Mechanical Engineering, 2026, 37(9): 2081-2091.
| 网络层 | 通道 | 核尺寸 | 激活函数 |
|---|---|---|---|
| Input | 1 | ||
| Convolution 1 | 32 | 12 | ReLU |
| Batch Norm | 32 | ||
| MaxPooling 1 | 2 | ||
| Convolution 2 | 64 | 3 | ReLU |
| Batch Norm | 64 | ||
| MaxPooling 2 | 2 | ||
| Convolution 3 | 64 | 3 | ReLU |
| Batch Norm | 64 | ||
| MaxPooling 3 | 2 | ||
| Adaptive AvgPooling | 64 |
表1 特征提取器的网络结构设计
Tab.1 Network structure design of feature extractor
| 网络层 | 通道 | 核尺寸 | 激活函数 |
|---|---|---|---|
| Input | 1 | ||
| Convolution 1 | 32 | 12 | ReLU |
| Batch Norm | 32 | ||
| MaxPooling 1 | 2 | ||
| Convolution 2 | 64 | 3 | ReLU |
| Batch Norm | 64 | ||
| MaxPooling 2 | 2 | ||
| Convolution 3 | 64 | 3 | ReLU |
| Batch Norm | 64 | ||
| MaxPooling 3 | 2 | ||
| Adaptive AvgPooling | 64 |
| 齿轮 | 齿数 | 模数/mm | 压力角/(°) |
|---|---|---|---|
| 行星轮 | 44(3) | 0.5 | 20 |
| 太阳轮 | 18 | 0.5 | 20 |
| 内齿圈 | 108 | 0.5 | 20 |
表2 行星齿轮箱齿数参数
Tab.2 Planetary gearbox tooth number parameters
| 齿轮 | 齿数 | 模数/mm | 压力角/(°) |
|---|---|---|---|
| 行星轮 | 44(3) | 0.5 | 20 |
| 太阳轮 | 18 | 0.5 | 20 |
| 内齿圈 | 108 | 0.5 | 20 |
| 型号 | 滚动体直径d/mm | 节圆直径D/mm | 滚动体数量 | 接触角λ/(°) |
|---|---|---|---|---|
| HK0610 | 1 | 8 | 8 | 0 |
表3 行星轮轴承参数
Tab.3 Planetary gear bearing parameters
| 型号 | 滚动体直径d/mm | 节圆直径D/mm | 滚动体数量 | 接触角λ/(°) |
|---|---|---|---|---|
| HK0610 | 1 | 8 | 8 | 0 |
| 数据集 | 工况 | 转速/负载 | 数据长度 | 故障种类 |
|---|---|---|---|---|
| 行星齿轮箱 | A | 1140 r/min | 1024 | 7 |
| B | 1260 r/min | 1024 | 7 | |
| C | 1380 r/min | 1024 | 7 | |
| CWRU轴承 | A | 0 kW | 1024 | 10 |
| B | 0.7355 kW | 1024 | 10 | |
| C | 1.471 kW | 1024 | 10 | |
| D | 3.6775 kW | 1024 | 10 |
表4 不同工况下的数据集
Tab.4 Dataset under different working conditions
| 数据集 | 工况 | 转速/负载 | 数据长度 | 故障种类 |
|---|---|---|---|---|
| 行星齿轮箱 | A | 1140 r/min | 1024 | 7 |
| B | 1260 r/min | 1024 | 7 | |
| C | 1380 r/min | 1024 | 7 | |
| CWRU轴承 | A | 0 kW | 1024 | 10 |
| B | 0.7355 kW | 1024 | 10 | |
| C | 1.471 kW | 1024 | 10 | |
| D | 3.6775 kW | 1024 | 10 |
| 模型 | 描述 |
|---|---|
| UCNN | 骨干网络 |
| UCLN | 骨干网络+对比学习模块 |
| UDAN[ | 骨干网络+域判别模块 |
| MMD[ | 采用最大均值差异最小化源域和目标域特征分布差异 |
| CORAL[ | 对齐源域和目标域的协方差矩阵 |
| AdaMatch[ | 伪标签+一致性约束 |
表5 对比模型结构说明
Tab.5 Explanation of comparative model structures
| 模型 | 描述 |
|---|---|
| UCNN | 骨干网络 |
| UCLN | 骨干网络+对比学习模块 |
| UDAN[ | 骨干网络+域判别模块 |
| MMD[ | 采用最大均值差异最小化源域和目标域特征分布差异 |
| CORAL[ | 对齐源域和目标域的协方差矩阵 |
| AdaMatch[ | 伪标签+一致性约束 |
| 工况 | A→B | A→C | B→A | B→C | C→A | C→B | |
|---|---|---|---|---|---|---|---|
平均 准确率% | UCNN | 88.54 | 82.64 | 87.63 | 83.59 | 75.23 | 83.51 |
| UCLN | 95.96 | 85.97 | 91.10 | 96.03 | 78.80 | 81.22 | |
| DAN | 96.05 | 84.28 | 90.52 | 88.57 | 75.97 | 82.74 | |
| MMD | 89.26 | 78.51 | 80.09 | 86.41 | 74.47 | 82.20 | |
| CORAL | 92.87 | 69.94 | 81.89 | 81.45 | 69.02 | 80.99 | |
| AdaMatch | 92.98 | 77.18 | 85.40 | 93.37 | 76.05 | 88.67 | |
| UCTLN | 97.54 | 93.90 | 91.11 | 97.92 | 87.89 | 89.14 | |
表6 行星齿轮箱不同工况间迁移学习测试集诊断准确率
Tab.6 Diagnostic accuracy rate of the test set for transfer learning between different working conditions of planetary gearboxes
| 工况 | A→B | A→C | B→A | B→C | C→A | C→B | |
|---|---|---|---|---|---|---|---|
平均 准确率% | UCNN | 88.54 | 82.64 | 87.63 | 83.59 | 75.23 | 83.51 |
| UCLN | 95.96 | 85.97 | 91.10 | 96.03 | 78.80 | 81.22 | |
| DAN | 96.05 | 84.28 | 90.52 | 88.57 | 75.97 | 82.74 | |
| MMD | 89.26 | 78.51 | 80.09 | 86.41 | 74.47 | 82.20 | |
| CORAL | 92.87 | 69.94 | 81.89 | 81.45 | 69.02 | 80.99 | |
| AdaMatch | 92.98 | 77.18 | 85.40 | 93.37 | 76.05 | 88.67 | |
| UCTLN | 97.54 | 93.90 | 91.11 | 97.92 | 87.89 | 89.14 | |
| 工况 | A→B | A→C | A→D | B→A | B→C | B→D | |
|---|---|---|---|---|---|---|---|
平均 准确率/% | UCNN | 95.82 | 90.46 | 78.33 | 92.79 | 99.99 | 90.73 |
| UCLN | 99.46 | 98.12 | 83.82 | 99.86 | 100 | 89.98 | |
| DAN | 96.10 | 90.54 | 80.96 | 93.84 | 100 | 92.39 | |
| MMD | 98.51 | 88.60 | 81.27 | 98.53 | 100 | 88.58 | |
| CORAL | 99.05 | 88.33 | 79.90 | 98.79 | 99.99 | 86.48 | |
| AdaMatch | 91.77 | 90.52 | 80.88 | 92.96 | 100 | 83.61 | |
| UCTLN | 99.78 | 100 | 84.80 | 99.98 | 100 | 99.69 | |
| 工况 | C→A | C→B | C→D | D→A | D→B | D→C | |
平均 准确率/% | UCNN | 88.48 | 96.25 | 94.42 | 77.38 | 81.01 | 91.92 |
| UCLN | 98.72 | 99.96 | 99.62 | 83.83 | 84.44 | 99.61 | |
| DAN | 88.97 | 98.36 | 99.11 | 81.54 | 83.01 | 97.05 | |
| MMD | 93.81 | 98.31 | 97.84 | 78.79 | 79.34 | 95.49 | |
| CORAL | 90.41 | 97.99 | 99.28 | 78.76 | 80.13 | 92.31 | |
| AdaMatch | 88.99 | 98.94 | 95.96 | 78.99 | 80.04 | 95.36 | |
| UCTLN | 99.68 | 99.98 | 99.94 | 84.23 | 96.28 | 99.90 | |
表7 CWRU不同工况间迁移学习测试集诊断准确率
Tab.7 Diagnostic accuracy rate of the test set for transfer learning between different working conditions of CWRU
| 工况 | A→B | A→C | A→D | B→A | B→C | B→D | |
|---|---|---|---|---|---|---|---|
平均 准确率/% | UCNN | 95.82 | 90.46 | 78.33 | 92.79 | 99.99 | 90.73 |
| UCLN | 99.46 | 98.12 | 83.82 | 99.86 | 100 | 89.98 | |
| DAN | 96.10 | 90.54 | 80.96 | 93.84 | 100 | 92.39 | |
| MMD | 98.51 | 88.60 | 81.27 | 98.53 | 100 | 88.58 | |
| CORAL | 99.05 | 88.33 | 79.90 | 98.79 | 99.99 | 86.48 | |
| AdaMatch | 91.77 | 90.52 | 80.88 | 92.96 | 100 | 83.61 | |
| UCTLN | 99.78 | 100 | 84.80 | 99.98 | 100 | 99.69 | |
| 工况 | C→A | C→B | C→D | D→A | D→B | D→C | |
平均 准确率/% | UCNN | 88.48 | 96.25 | 94.42 | 77.38 | 81.01 | 91.92 |
| UCLN | 98.72 | 99.96 | 99.62 | 83.83 | 84.44 | 99.61 | |
| DAN | 88.97 | 98.36 | 99.11 | 81.54 | 83.01 | 97.05 | |
| MMD | 93.81 | 98.31 | 97.84 | 78.79 | 79.34 | 95.49 | |
| CORAL | 90.41 | 97.99 | 99.28 | 78.76 | 80.13 | 92.31 | |
| AdaMatch | 88.99 | 98.94 | 95.96 | 78.99 | 80.04 | 95.36 | |
| UCTLN | 99.68 | 99.98 | 99.94 | 84.23 | 96.28 | 99.90 | |
| [1] | WANG Xin, MAO Dongxing, LI Xiaodong. Bearing Fault Diagnosis Based on Vibro-acoustic Data Fusion and 1D-CNN Network[J]. Measurement, 2021, 173: 108518. |
| [2] | BAI Ruxue, XU Quansheng, MENG Zong, et al. Rolling Bearing Fault Diagnosis Based on Multi-channel Convolution Neural Network and Multi-scale Clipping Fusion Data Augmentation[J]. Measurement, 2021, 184: 109885. |
| [3] | LI Weihua, CHEN Zhuyun, HE Guolin. A Novel Weighted Adversarial Transfer Network for Partial Domain Fault Diagnosis of Machinery[J]. IEEE Transactions on Industrial Informatics, 2021, 17(3): 1753-1762. |
| [4] | CHEN Xiaohan, YANG Rui, XUE Yihao, et al. Deep Transfer Learning for Bearing Fault Diagnosis: a Systematic Review since 2016[J]. IEEE Transactions on Instrumentation and Measurement, 2023, 72: 3508221. |
| [5] | 潘林. 频谱分析法在齿轮故障诊断中的应用[J]. 石油化工设备技术, 2019, 40(1): 19-21. |
| PAN Lin. Application of Spectral Analysis Method in Gear Fault Diagnosis[J]. Petrochemical Equipment Technology, 2019, 40(1): 19-21. | |
| [6] | ZHOU Peng, CHEN Shiqian, HE Qingbo, et al. Rotating Machinery Fault-induced Vibration Signal Modulation Effects: a Review with Mechanisms, Extraction Methods and Applications for Diagnosis[J]. Mechanical Systems and Signal Processing, 2023, 200: 110489. |
| [7] | GAWDE S, PATIL S, KUMAR S, et al. Multi-fault Diagnosis of Industrial Rotating Machines Using Data-driven Approach: a Review of Two Decades of Research[J]. Engineering Applications of Artificial Intelligence, 2023, 123: 106139. |
| [8] | YANG Bin, LEI Yaguo, JIA Feng, et al. A Polynomial Kernel Induced Distance Metric to Improve Deep Transfer Learning for Fault Diagnosis of Machines[J]. IEEE Transactions on Industrial Electronics, 2020, 67(11): 9747-9757. |
| [9] | Pin LYU, CHENG Yihong, ZHANG Ming, et al. GPSC-GAN: a Data Enhanced Model for Intelligent Fault Diagnosis[J]. IEEE Transactions on Instrumentation and Measurement, 2024, 73: 3532116. |
| [10] | TIAN He, LIANG Chao, MA Wenpeng, et al. Fault Diagnosis of Magnetically Controlled On-column Circuit Breaker Based on Small Sample Condition[J]. IEEE Access, 2025, 13: 18457-18469. |
| [11] | 张笑璐, 邹益胜, 曾大懿, 等. 样本不均衡下的DCGAN轴承故障诊断方法[J]. 机械科学与技术, 2022, 41(1): 9-15. |
| ZHANG Xiaolu, ZOU Yisheng, ZENG Dayi, et al. DCGAN Bearing Fault Diagnosis Method under Unbalanced Samples[J]. Mechanical Science and Technology for Aerospace Engineering, 2022, 41(1): 9-15. | |
| [12] | SUN Shilin, HU Wenyang, LIU Yuekai, et al. Matching Contrastive Learning: an Effective and Intelligent Method for Wind Turbine Fault Diagnosis with Imbalanced SCADA Data[J]. Expert Systems with Applications, 2023, 223: 119891. |
| [13] | PENG Peng, LU Jiaxun, XIE Tingyu, et al. Open-set Fault Diagnosis via Supervised Contrastive Learning with Negative Out-of-distribution Data Augmentation[J]. IEEE Transactions on Industrial Informatics, 2023, 19(3): 2463-2473. |
| [14] | LE-KHAC P H, HEALY G, SMEATON A F. Contrastive Representation Learning: a Framework and Review[J]. IEEE Access, 2020, 8: 193907-193934. |
| [15] | CUI Long, TIAN Xincheng, WEI Qingzhe, et al. A Self-attention Based Contrastive Learning Method for Bearing Fault Diagnosis[J]. Expert Systems with Applications, 2024, 238: 121645. |
| [16] | ZHANG Weiwei, CHEN Deji, XIAO Yang, et al. Semi-supervised Contrast Learning Based on Multiscale Attention and Multitarget Contrast Learning for Bearing Fault Diagnosis[J]. IEEE Transactions on Industrial Informatics, 2023, 19(10): 10056-10068. |
| [17] | SHANG Ronghua, KONG Jiarui, FENG Jie, et al. Feature Selection via Non-convex Constraint and Latent Representation Learning with Laplacian Embedding[J]. Expert Systems with Applications, 2022, 208: 118179. |
| [18] | 乔万, 刘秀丽, 吴国新, 等. 时变小样本条件下基于对比学习的故障诊断[J]. 电子测量与仪器学报 2024, 38(8): 113-123. |
| QIAO Wan, LIU Xiuli, WU Guoxin, et al. Fault Diagnosis Based on Contrastive Learning under Time-varying Small Sample Conditions[J]. Journal of Electronic Measurement and Instrumentation, 2024, 38(8): 113-123. | |
| [19] | QIAO Wan, LIU Xiuli, HUANG Jinpeng, et al. A Prior Knowledge Embedding Contrastive Attention Learning Network for Variable Working Conditions Bearing Fault Diagnosis with Small Samples[J]. IEEE Sensors Journal, 2024, 24(23): 39967-39980. |
| [20] | CHEN Ting, KORNBLITH S, NOROUZI M, et al. A Simple Framework for Contrastive Learning of Visual Representations[C]∥International Conference on Machine Learning. Online, 2020: 1597-1607. |
| [21] | YAN Ruqiang, SHEN Fei, SUN Chuang, et al. Knowledge Transfer for Rotary Machine Fault Diagnosis[J]. IEEE Sensors Journal, 2020, 20(15): 8374-8393. |
| [22] | DI Ziyang, SHAO Haidong, XIANG Jiawei. Ensemble Deep Transfer Learning Driven by Multisensor Signals for the Fault Diagnosis of Bevel-gear Cross-operation Conditions[J]. Science China Technological Sciences, 2021, 64(3): 481-492. |
| [23] | LI Weihua, HUANG Ruyi, LI Jipu, et al. A Perspective Survey on Deep Transfer Learning for Fault Diagnosis in Industrial Scenarios: Theories, Applications and Challenges[J]. Mechanical Systems and Signal Processing, 2022, 167: 108487. |
| [24] | GANIN Y, LEMPITSKY V S. Unsupervised Domain Adaptation by Backpropagation[C]∥Proceedings of the 31st International Conference on Machine Learning. Beijing, 2014: 867-874. |
| [25] | TZENG E, HOFFMAN J, ZHANG Ning, et al. Deep Domain Confusion: Maximizing for Domain Invariance[C]∥Advances in Neural Information Processing Systems. Montreal, 2014: 1-9. |
| [26] | SUN Baochen, SAENKO K. Deep CORAL: Correlation Alignment for Deep Domain Adaptation[C]∥Computer Vision – ECCV 2016 Workshops. Amsterdam, 2016: 443-450. |
| [27] | BERTHELOT D, ROELOFS R, SOHN K, et al. AdaMatch: a Unified Approach to Semi-supervised Learning and Domain Adaptation[C]∥International Conference on Learning Representations.Online, 2022:1-50. |
| [1] | 罗洁思, 于德介, 史美丽. 基于SVD和线调频小波路径追踪的转速波动齿轮箱故障诊断 [J]. J4, 201016, 21(16): 1947-1951. |
| [2] | 梁强, 徐彬源, 徐永航, 胡开群, 陈伟灵, 陈红. 基于小样本数据驱动的H13钢表面激光硬化及抛光工艺参数优化[J]. 中国机械工程, 2026, 37(8): 1917-1927. |
| [3] | 鲍宏, 杨硕, 姚航, 李亚鹏. 小样本下基于比能值和ELM-AdaBoost的数控铣削能效优化模型构建方法[J]. 中国机械工程, 2026, 37(4): 821-830. |
| [4] | 胡坤, 陈卓, 韩信, 蒋浩, 牛杰. 基于NSST4-SVD-DBN的带式输送机托辊轴承故障诊断方法[J]. 中国机械工程, 2026, 37(3): 656-667. |
| [5] | 高学金, 王璇, 姜渴鑫, 高慧慧, 齐咏生. 基于多尺度域生成网络的冷水机组故障诊断[J]. 中国机械工程, 2026, 37(3): 688-696. |
| [6] | 仝兆景, 王鹏超, 樊永奎, 韩广洋, 王自奇. 基于改进精细复合多尺度样本熵与贝叶斯网络的滚动轴承故障诊断方法[J]. 中国机械工程, 2025, 36(12): 2952-2959. |
| [7] | 胡新宇, 张骏巍, 艾佳, 李云翎, 严爽. 一种自适应目标区域提取的小样本丝印字符缺陷检测方法[J]. 中国机械工程, 2025, 36(12): 2968-2977. |
| [8] | 张雄, 董乐聪, 王文强, 渠伟瀅, 万书亭. 融合二维卷积与门控循环神经网络的滚动轴承多故障诊断方法[J]. 中国机械工程, 2025, 36(12): 2978-2985. |
| [9] | 冯思茜, 王家序, 张新, 黄欣玥. 基于共振解调新方法的滚动轴承故障诊断[J]. 中国机械工程, 2025, 36(09): 2022-2031. |
| [10] | 陈剑, 严明辉, 陈品. 基于贝叶斯优化多尺度DenseNet的离心泵声信号故障诊断方法[J]. 中国机械工程, 2025, 36(09): 2032-2038. |
| [11] | 杨康1, 陈学军1, 2, 张磊3, 刘烽3. 基于联合子域对比对齐的轴承跨域故障诊断[J]. 中国机械工程, 2025, 36(05): 1065-1073. |
| [12] | 焦华超, 孙文磊, 王宏伟. 基于类小波辅助分类生成对抗网络的轴承故障数据生成方法[J]. 中国机械工程, 2025, 36(03): 546-557. |
| [13] | 李继猛, 王泽, 史清心, 孟宗. 基于图正则化约束频域组稀疏模型的风电机组滚动轴承故障诊断[J]. 中国机械工程, 2024, 35(11): 1909-1919. |
| [14] | 郭海宇1, 邹圣公1, 张晓光2, 3, 4, 陆凡凡2, 陈洋2, 王涵2, 徐新志2. 基于多源小波变换神经网络的旋转机械轴承故障诊断[J]. 中国机械工程, 2024, 35(11): 2026-2034. |
| [15] | 李灿1, 2, 王广斌2, 1, 赵树标1, 2, 钟志贤1, 张慧1, 2. 采用集约化开放集差异分布对齐策略的轴承故障诊断方法[J]. 中国机械工程, 2024, 35(09): 1622-1633. |
| 阅读次数 | ||||||
|
全文 |
|
|||||
|
摘要 |
|
|||||