Abstract

Plasma Control Systems (PCS) that contain various functions and algorithms are applied in different tokamak devices. A real-time framework which allows various control functions and algorithms to be developed and deployed is very important to a PCS. A modular-based Multi-thread Real-time Framework (MRTF) is developed by HL-2A for this purpose. A multi-thread scheduling solution is provided by the framework to run the modules in PCS, and also to synchronize the modules and make them shared with each other. CPU affinity has been made for every thread in MRTF. In order to integrate control modules, an abstraction interface for PCS functions is defined by the framework. Several tests have been made to assess the performance of the real-time framework. A plasma real-time equilibrium reconstruction module is developed and integrated in MRTF. The module can calculate the flux distribution of plasma profile by the grid of 129*129 within 700 us on HL-2A experiment. The framework has been implemented in HL-2A experiment and achieved expectations. More control functions and strategies of PCS will be integrated by the framework in the future.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call