1
Return

Integrating domain knowledge and large language models for automatic generation of function block-based PLC logic in maritime systems

delete2026-06-08
delete0
PRE
AI
H
Hyoseong Hwang
J
Jonggu Kang *
I
Inwhee Joe *
DOI:10.1016/j.jss.2026.112991delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
• A domain-aware LLM–RAG framework is proposed to automatically generate Function Block–based PLC logic for maritime control systems without model fine-tuning. • Graph-based relational knowledge—FB selection/cooperation rules and I/O group/symmetry structures—is extracted and injected to enhance FB planning and instance estimation. • Natural-language transformation of I/O descriptions and redundancy-filtered FB embeddings significantly improve RAG retrieval performance in real ship datasets. • Structured planning combined with relationship-aware reasoning improves FB-type F1 scores and raises instance estimation accuracy to over 88% in large LLMs. • A rule-based IEC 61131-3 code generator ensures syntactic and structural validity, enabling deployable FB-based logic generation for industrial automation workflows.

Journal

Journal of Systems and Software cover
Journal of Systems and Software
IF:
4.1
Papers:
5.4K
Citations:
8.4K

Organization

S
Sungshin Women's University
Scholars:
154
Papers: 96
Citations: 0
H
hanyang university
Scholars:
2.8W
Papers: 2.7W
Citations: 36
Cited Papers

Cited Papers

Citing Papers

Citing Papers