Detailed Information

Cited 0 time in webofscience Cited 0 time in scopus
Metadata Downloads

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

Authors
Hwang, HyoseongKang, JongguJoe, Inwhee
Issue Date
Nov-2026
Publisher
ELSEVIER SCIENCE INC
Keywords
PLC; IEC 61131-3; Large language model; Maritime control system; Retrieval-augmented generation
Citation
JOURNAL OF SYSTEMS AND SOFTWARE, v.241, pp 1 - 11
Pages
11
Indexed
SCIE
SCOPUS
Journal Title
JOURNAL OF SYSTEMS AND SOFTWARE
Volume
241
Start Page
1
End Page
11
URI
https://scholarworks.bwise.kr/hanyang/handle/2021.sw.hanyang/218032
DOI
10.1016/j.jss.2026.112991
ISSN
0164-1212
1873-1228
Abstract
The growing complexity of shipboard automation and the expanding scale of IEC 61131-3 control logic have increased the demand for systematic engineering workflows. Traditional practices rely on manual interpretation of Function Design Specifications and expert-driven mapping of field I/O signals to vendor-specific Function Blocks (FBs), resulting in variability in logic quality and significant development effort. While recent advances in large language models (LLMs) have improved general code generation, existing approaches remain insufficient for industrial control systems because they overlook FB semantics, hardware constraints, and ship-specific structural relationships. This study presents a domain-aware framework that integrates LLMs with retrieval-augmented domain knowledge to automatically generate FB-based PLC logic for maritime systems. The framework embeds FB manuals and normalized I/O descriptions into vector stores and incorporates graph-based relational knowledge capturing FB selection rules, cooperation patterns, and symmetry and grouping structures in I/O configurations. Using these structured representations, the pipeline performs FB type selection, instance estimation, parameter assignment, and I/O mapping, after which a rule-based generator produces IEC 61131-3 compliant Structured Text to ensure syntactic and structural correctness. Experiments using control narratives, FB manuals, and I/O datasets from operational ship projects show that relational knowledge significantly improves planning accuracy, enhancing FB identification, instance estimation, and I/O mapping across model scales. The framework produces deployable FB-based logic without model fine-tuning, relying solely on in-context knowledge injection. These results demonstrate that domain-grounded LLM workflows can reduce engineering variability and provide a practical, scalable approach for automating control-logic development in maritime systems.
Files in This Item
Go to Link
Appears in
Collections
서울 공과대학 > 서울 컴퓨터소프트웨어학부 > 1. Journal Articles

qrcode

Items in ScholarWorks are protected by copyright, with all rights reserved, unless otherwise indicated.

Altmetrics

Total Views & Downloads

BROWSE