Font Size: a A A

Research And Design Of Algorithm Integrated Development Platform For CFETR Plasma Control System

Posted on:2023-04-23Degree:DoctorType:Dissertation
Country:ChinaCandidate:L L YanFull Text:PDF
GTID:1522306902955709Subject:Nuclear science and engineering
Abstract/Summary:PDF Full Text Request
The Plasma Control System(PCS)is one of the key subsystem of the tokamak device,controlling the entire process of plasma discharge and providing the first protection of device safety.As one of the key R&D tasks of CFETR,China Fusion Engineering Testing Reactor(CFETR)PCS is in the detailed design stage currently.CFETR PCS is composed of real-time control infrastructure and specific control algorithms.It meets the high-parameter operation control requirements of the device by developing and integrating complex and rich control algorithms in the real-time framework.The traditional control algorithm development method based on plain text and command requires developers to be familiar with the overall PCS framework and master algorithm integration rules.Therefore,this development method is not friendly enough for physicists,who cannot focus on the realization of control functions and logic,and it is difficult to meet the needs of efficient development and integration for algorithms in physical experiments.Based on the above background,combined with the structural characteristics of control algorithm and the role requirements of the algorithm based on the real-time framework,the idea of constructing an auxiliary platform for algorithm development and integration was proposed,and the CFETR PCS algorithm integrated development platform has been successfully developed.The platform abstracts the control algorithm data and maps the model data into specific visual graphic elements to represent the transformation process of the algorithm data,it shields the programming details and framework usage details and can be reused for other plasma control systems with different characteristics.The platform realizes a transparent and convenient development integration mode for algorithm developers,which ultimately improves the development and integration efficiency of the algorithm.The main work and contributions of this paper are as follows:1.Visual interactive environment research and development.Following the MVC design idea,based on the Eclipse platform and its plug-in mechanism,the visual interactive environment for algorithm development is customized.According to the characteristics of the plasma control algorithm,a series of common functional components of the algorithm are developed,such as waveform input,decoupling matrix,PID controller,etc.,which realizes the WYSIWYG drag-and-drop development method.Editor,algorithm wizard,CDT,visual version management,help and other plug-ins are expanded,all plug-ins are integrated in the Eclipse platform seamlessly.The environment is crossplatform and extensible,it replaces text programming with easy-to-operate graphical elements and shields the programming details for developers.At the same time,these components can be reused continuously,reducing redundant development,It finally realizes an efficient,convenient and intuitive interactive environment.2.Algorithms automatically integrate solutions.Constructed the CFETR PCS algorithm component framework template,analyzed the input data source of the algorithm,combined with the publish-subscribe mechanism of framework data engine,the code generation technology is used to generation algorithm components and algorithm input data interface,the automatic integration of the algorithms are realized.This method shields the details of framework usage and data source for developers,reduces the difficulty of algorithm development,and shortens the system development cycle.3.Data heterogeneous solutions in the process of automatic algorithm integration.Interface Definition Language(IDL)is proposed to describe the algorithm preset data interface objects uniformly.Automatic code generation technology IS used to compile the IDL into the executable C++ code and Python code required by the framework and functional components.The method avoids the repetitive definition of the algorithm preset data interface objects and the inconsistency of syntax and semantics caused by cross-component and cross-language transmission,finally provides a guarantee for the efficient management of interface objects.4.Platform testing and validation.In order to verify the feasibility and reliability of the platform,the algorithm integrated development platform was deployed in EAST PCS.The coil current control algorithm and density control algorithm were developed and integrated,The calculation results were compared with historical data,the results were consistent.The overall logic of the algorithm is correct.The verification in EAST PCS,which not only improves the current EAST PCS software development efficiency and development experience,but also lays a foundation for the future application of CFETR PCS.
Keywords/Search Tags:Tokamak, Plasma Control System, Integrated Development Platform, Visual programming, Eclipse plugin, Automatic code generation
PDF Full Text Request
Related items