融合物理知识驱动与大语言模型推理的轴系故障诊断方法

A Fault Diagnosis Method for Shafting Systems Integrating Physics-Driven Knowledge and Large Language Model Reasoning

  • 摘要:目的】 针对船舶推进轴系故障诊断中故障类型可识别但故障设备难定位的问题,提出一种融合数据驱动与知识推理的智能诊断方法。【方法】构建ShaftAgent三层架构诊断框架:机理建模层提取设备级振动与辅助系统特征;可解释分析层采用XGBoost实现故障分类,并提出设备级SHAP归因聚合方法实现故障设备自动定位;知识增强推理层构建“设备-现象-机理-故障”层次化知识图谱,结合多阶段提示词工程驱动大语言模型生成诊断报告,通过一致性校验机制确保输出符合物理规律。【结果】 实验结果表明,ShaftAgent故障分类准确率达96.8%,设备定位准确率达94.2%,诊断报告专家综合评分为4.70分。消融实验验证了各模块的有效性,案例分析展示了从多源振动信号到可操作诊断报告的完整过程。【结论】ShaftAgent有效解决了传统方法设备级定位能力不足与可解释性欠缺的问题,验证了知识图谱约束下大语言模型应用于工业故障诊断的可行性,为船舶轴系智能运维提供了新的技术途径。

     

    Abstract: Objective To address the critical challenge in marine propulsion shafting fault diagnosis, where fault types are identifiable but specific faulty components remain difficult to locate, this study proposes a novel intelligent diagnostic framework that integrates data-driven analytics with knowledge-based reasoning. Methods The proposed framework, termed ShaftAgent, is established upon a three-layer architecture. First, the Mechanism Modeling Layer extracts high-dimensional features from component-level vibration signals and auxiliary systems. Second, the Interpretable Analysis Layer employs XGBoost for robust fault classification and introduces a component-level SHAP attribution aggregation method to achieve automated fault localization. Finally, the Knowledge-Enhanced Reasoning Layer constructs a hierarchical “Equipment-Phenomenon-Mechanism-Fault” knowledge graph. By leveraging multi-stage prompt engineering, this layer drives a Large Language Model (LLM) to generate comprehensive diagnostic reports, while a consistency verification mechanism ensures that all outputs strictly adhere to physical laws. Results Experimental validation demonstrates that ShaftAgent achieves a fault classification accuracy of 96.8% and a component localization accuracy of 94.2%. Furthermore, diagnostic reports generated by the framework received an average expert score of 4.70. Ablation studies confirm the indispensable contribution of each functional module, and representative case analyses illustrate the end-to-end diagnostic workflow from raw multi-source vibration signals to actionable maintenance recommendations.Conclusion ShaftAgent effectively overcomes the limitations of traditional diagnostic methods regarding insufficient localization precision and poor interpretability. The findings validate the feasibility of employing knowledge-graph-constrained LLMs for industrial fault diagnosis, offering a transformative technical paradigm for the intelligent operation and maintenance of marine propulsion systems.

     

/

返回文章
返回