用AI自动配置工业设备参数,省时又准确。
RAG-Based Auto-Configuration for Industrial Fieldbus Devices
- 构建混合检索系统,从手册中精准定位配置信息。
- 生成的配置在28个测试中平均准确率87%,3次实测全成功。
- 适合需要快速部署工业设备的工程师和自动化团队。
工业设备调试需工程师手动从异构PDF手册中提取数百个协议特定参数并录入监控系统,耗时且易出错。本文提出SysName,一个面向生产环境的端到端自动化配置管道,支持Modbus RTU、OPC-UA、Profibus DP和CANopen。系统基于ECLASS、AAS和SOSA/SSN构建本体图谱,采用BGE-M3编码器与交叉编码器重排序器构建混合稠密-稀疏检索索引,精准定位手册相关段落。本地大模型(温度T=0.1)通过协议专用提示词与四步修复流程生成符合本体的JSON-LD配置。双阶段拒答门控机制结合重排序分数阈值与IRI解析率,阻止不安全调用并过滤低覆盖率配置,再经SHACL验证。在28个现场级查询的黄金数据集上,混合检索器达到0.96的HitRate@10,重排序器将MRR@10从0.56提升至0.63,且得分分离完美用于拒答。生成器在场级任务中达成F1=0.87,12次运行中有9次完全匹配。单设备端到端处理在H100 GPU上耗时2.6–6.6秒,零危险写入,五设备基准下零静默失败,所有失败均被拒答或部署验证捕获。组件评估定位到仅有的系统性故障源于OPC-UA生成,仅端到端指标无法察觉。案例研究使用未修改的254页厂商手册(含8页寄存器列表,496个分块)完成通用机器人UR5e的物理仿真部署,三次运行中场级F1达1.0,经读回与关节一致性验证。消融实验及与五个工业级大模型系统的对比完成分析。
原文摘要 · Abstract (English)
Industrial device commissioning requires engineers to manually extract hundreds of protocol-specific parameters from heterogeneous PDF manuals and transcribe them into supervisory control systems, a time-intensive, error-prone workflow. This paper presents SysName, a production-oriented pipeline that automates device configuration end-to-end for Modbus RTU, OPC-UA, Profibus DP, and CANopen. It builds a hybrid dense-sparse retrieval index augmented by an ontology graph derived from ECLASS, AAS, and SOSA/SSN, using a BGE-M3 encoder with a cross-encoder reranker to surface relevant manual passages. A local LLM (T=0.1) generates ontology-aligned JSON-LD configurations via protocol-specific prompts and a four-step repair pipeline. A two-stage abstention gate, combining a reranker-score threshold and an IRI resolution ratio, blocks unsafe LLM invocations and filters low-coverage configurations before SHACL validation. On a gold set of 28 field-level queries, the hybrid retriever reaches 0.96 HitRate@10, and the reranker raises MRR@10 from 0.56 to 0.63 with perfect score separation for abstention. The generator attains field-level F1=0.87 with exact match on 9 of 12 runs. End-to-end runs on an H100 GPU complete in 2.6-6.6s per device with zero unsafe writes and zero silent failures on a five-device benchmark; every unsuccessful run is flagged by abstention or deployment verification. Component-wise evaluation localises the single systematic failure to OPC-UA generation, invisible to end-to-end metrics alone. A case study commissions a physics-simulated Universal Robots UR5e robot from unmodified vendor documentation (254-page manual, 8-page register list, 496 chunks), reaching field-level F1=1.0 over three runs with read-back and joint-consistency verification. An ablation study and comparison with five industrial-LLM systems complete the analysis.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。