Control systems for experimental physics, such as the Plasma Control System (PCS), demand constant modification of control algorithms to test new theories. This need for agile development often conflicts with the critical requirement of maintaining data consistency across heterogeneous system components, such as user interfaces and databases. This paper introduces a lightweight, eXtensible Markup Language (XML)based, model-driven approach designed to resolve this conflict within the Lingshu PCS framework. At its core is a simple, human-readable data model that serves as the Single Source of Truth (SSoT) for all algorithm-related data. Coupled with a dedicated toolchain, our approach automates the generation of crucial engineering artifacts, including C++ code skeletons and user interface templates, directly from the model. This method ensures end-to-end data consistency, streamlines the development cycle, and provides a pragmatic, low-overhead approach tailored to the integration of control algorithms. • A lightweight, XML-based, model-driven approach for improving algorithm integration in PCS. • A human-readable data model serves as the single source of truth(SSoT) for all algorithm data. • An automated toolchain generates code from the model; PCS artifacts (e.g., GUI) can read the model to improve end-to-end consistency. • This approach offers a more pragmatic and low-overhead solution for specified domain compared to the heavyweight MBSE framework.
Huang et al. (Mon,) studied this question.