中国机械工程 ›› 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   

  1. 1.北京信息科技大学现代测控技术教育部重点实验室, 北京, 100192
    2.北京信息科技大学机电工程学院, 北京, 100192
  • 收稿日期:2025-09-22 出版日期:2026-09-25 发布日期:2026-10-21
  • 通讯作者: 刘秀丽
  • 作者简介:乔万,男,1998年生,硕士研究生。主要研究方向为基于深度学习的机电装备故障诊断与健康管理。E-mail: 993409074@ qq.com
    刘秀丽*( 通信作者),女,1986年生,博士、副研究员。主要研究方向为可解释深度学习、机电装备健康管理。 E-mail: liuxiulilw@ 163.com。
  • 基金资助:
    国家自然科学基金(62303065)

Unsupervised Cross-domain Fault Diagnosis Method under Small Sample Conditions

QIAO Wan1,2(), LIU Xiuli1,2(), LI Yijian1,2, WU Guoxin1,2   

  1. 1.Key Laboratory of Modern Measurement and Control Technology,Ministry of Education,Beijing Information Science and Technology University,Beijing,100192
    2.College of Mechanical and Electrical Engineering,Beijing Information Science and Technology University,Beijing,100192
  • Received:2025-09-22 Online:2026-09-25 Published:2026-10-21
  • Contact: LIU Xiuli

摘要:

针对故障诊断中小样本条件下的数据标注缺失及跨域应用中的域偏移问题,提出了一种融合对比学习的域适应策略。通过层级化特征对齐机制,联合优化域级对抗适应与类级对比学习,兼顾域不变特征迁移与类判别性保持,提高目标域故障分类精度。构建一维域共享卷积神经网络提取源域和目标域数据的共性特征,结合无监督域判别损失与梯度反转层优化域级适配,增强域不变特性的可迁移性。设计无监督对比损失函数优化类特定信息,在特征空间内约束类内紧凑性与类间可分性,实现有限样本下类级对齐,有效抑制类边界误识别。在搭建的行星齿轮箱试验台数据集和公开轴承数据集上的跨工况无监督实验结果表明,在多个跨工况迁移任务中,诊断准确率普遍超过95%。所提方法相较于几种无监督域适应方法取得了明显的性能改进,验证了该方法在小样本无监督跨工况故障诊断中的有效性与优越性。

关键词: 故障诊断, 对比学习, 小样本, 无监督域适应

Abstract:

To address the issues of data annotation scarcity under small-sample conditions and domain shift in cross-domain applications in fault diagnosis, a domain adaptation strategy integrating contrastive learning was proposed. First, a hierarchical feature alignment mechanism was adopted to jointly optimize domain-level adversarial adaptation and class-level contrastive learning. This mechanism balanced the transfer of domain-invariant features and the preservation of class discriminability, thereby improving the fault classification accuracy in the target domain. Second, a one-dimensional domain-shared convolutional neural network(CNN) was constructed to extract the common features of data from the source domain and target domain. By combining the unsupervised domain discriminative loss with a gradient reversal layer to optimize domain-level adaptation, the transferability of domain-invariant characteristics was enhanced. Finally, an unsupervised contrastive loss function was designed to optimize class-specific information. This function constrains the intra-class compactness and inter-class separability in the feature space, enabling class-level alignment under limited samples and effectively suppressing misidentification of class boundaries. The cross-condition unsupervised experimental results on both the constructed planetary gearbox test rig dataset and the public bearing dataset show that the diagnostic accuracy generally exceeds 95% in multiple cross-condition transfer tasks. Compared with several unsupervised domain adaptation methods, the proposed method achieves a significant performance improvement, validating its effectiveness and superiority in small-sample unsupervised cross-condition fault diagnosis.

Key words: fault diagnosis, contrastive learning, small sample, unsupervised domain adaptation

中图分类号: