高级检索+

基于融合图卷积网络与大语言模型的农机故障诊断

Agricultural machinery fault diagnosis with fusion of graph convolutional networks and large language models

  • 摘要: 现有农机故障诊断方法多为单层次独立变量监测,难以获得变量之间的联动关系,存在“只判断,不解释”的问题。为探究故障诱发机理与演化规律,该研究提出融合图卷积网络(graph convolutional networks,GCN)与大语言模型(large language model,LLM)的农机故障诊断方法。首先,构建时空融合图,根据GCN刻画多源传感参数的空间与时序依赖,结合图信号处理提取异常特征,为系统状态判定提供关键特征依据;其次,区别于上述侧重时空依赖特征提取的时空融合图,构建工况图全局关联模型,通过GCN量化变量关系与拓扑特性,以因果链条驱动故障定位,动态捕捉连锁故障;最后搭建LLM作为故障分析与知识增强模块,基于结构化信息生成自然语言故障解释与维修建议,形成“诊断-决策”闭环。基于拖拉机运行数据的验证试验结果表明,该方法的故障诊断准确率达98.5%,较传统支持向量机(准确率80.6%)、一维卷积神经网络(准确率87.6%)等方法的诊断性能明显提升;同时,LLM模块生成的故障解释与实际场景一致性达92%,经农机维修工程师评估平均得分为4.32分,语义一致性与实用性较好,可为复杂工况下农机智能故障诊断与知识增强型诊断提供理论支撑,具有良好的工业应用前景。

     

    Abstract: Agricultural machinery can operate under harsh and complex environments in fields. Adverse factors can easily induce component loosening, corrosion, or aging, seriously endangering operational stability, such as high-frequency vibrations, variable loads, high humidity, and excessive dust. However, existing fault diagnosis can suffer from two limitations: 1) Single-level monitoring of independent variables cannot effectively simulate the spatial topological correlations and temporal coupling relationships among multi-source sensor parameters; 2) Binary “normal/abnormal” judgments cannot provide the semantic explanations of fault causes, propagation paths, or available maintenance suggestions, thus resulting in the “detection without interpretation” to hinder efficient operation and maintenance. Some graph neural networks (GNNs) can be constructed to simulate the parameter correlations from a single dimension. Meanwhile, large language models (LLMs) have been applied in industrial diagnosis. However, it is still lacking in the agricultural machinery under specific scenarios, leading to hallucinations from large language models. In this study, a fault diagnosis was proposed for agricultural machinery. A closed-loop workflow of fault detection, localization, interpretation, and decision was also established using GNN and LLMs. Three procedures were included: firstly, a spatial-temporal fusion graph was constructed to determine multi-parameter relationships. Nodes in the STFG followed a "system-component-parameter" three-level mapping. Five subsystems were obtained in the agricultural machinery. 20 parameters were arranged into each node corresponding to one physical component. Edge information was then integrated with workflow topology and time sequence graph edges. Secondly, an anomaly extraction module was designed on a graph spectral sequence using GCN feature learning. Network structures were compared with 1-5 layers. A 3-layer GCN was adopted after comparison. High-dimensional node embeddings were generated and then projected into the graph Laplacian spectral domain after neighborhood feature aggregation. Low-frequency energy corresponded to the global steady-states of the system (e.g., slow speed adjustments caused by engine load), whereas the high-frequency energy was characterized by the local anomalies (e.g., torque mutations induced by fuel injection faults). A steady-state filter was designed to retain global trends, while an adaptive filter was designed to amplify local disturbances. The anomaly score was calculated as the ratio of high-frequency abnormal energy to low-frequency steady-state energy. Historical data were normalized to enhance comparability over time windows. Finally, an LLM maintenance decision module was constructed under agricultural machinery scenarios. Once the anomaly score exceeded a dynamic threshold, the structural information (including abnormal nodes, propagation paths, and parameter trends) was converted into prompts, which were input to the DeepSeek-R1 model fine-tuned via low-rank adaptation to reduce computational costs. Meanwhile, a mechanistic consistency verification was incorporated to suppress model hallucinations. Agricultural machinery’s physical topology and typical faults were output to align with engineering reality for the actionable maintenance suggestions. Experimental data were collected from a 35-horsepower Shifeng tractor during ridge sowing in Wudalianchi, Heilongjiang Province, in May 2025. Over 24 hours of continuous data were sampled on three types of natural faults at 100 Hz. The dataset was then divided into training, validation, and test sets at a ratio of 7:2:1 (using time-slice division to avoid data leakage). The results show that an accuracy of 98.5% and an F1-score of 0.970 were achieved with an average detection delay of 0.028 s, compared with support vector machine (accuracy 80.6%, F1-score 0.798), 1D-convolutional neural network (87.6%, 0.848), standalone GCN (92.8%, 0.863), and graph attention network (95.7%, 0.927). The accuracy decreased by less than 3% under noisy conditions (signal-to-noise ratio not less than 15 dB), compared with the conventional method by 10%-15%. The LLM module was also evaluated by six agricultural machinery maintenance engineers. An average score of 4.32 was obtained with 92% consistency between fault cause explanations and actual scenarios. The fault tracing time was reduced by 40% after evaluation. Edge deployment showed that the total delay of the diagnostic process was not more than 250 ms, suitable for the deployment on agricultural machinery embedded systems. The conventional "detection without interpretation" was avoided to effectively enhance the sensitivity to weak and coupled faults. The finding can also provide a practical technical route for intelligent maintenance in agricultural machinery, particularly with its high reliability and efficiency.

     

/

返回文章
返回