A New Implementation of Data Process in J-TEXT Real-Time Framework

Y. Li,M. Zhang,W. Zheng,G. Z. Zheng,M. Chen,Y. Pan
DOI: https://doi.org/10.1016/j.fusengdes.2018.02.060
IF: 1.905
2018-01-01
Fusion Engineering and Design
Abstract:J-TEXT real-time framework (JRTF) is the latest development in real-time technology for developing plasma control system and other real-time applications on tokamaks by J-TEXT. It is powered by Linux open source software, fully embraced the object-oriented programming technology, and the modular design makes it a promising candidate for developing the prototype of PCS of China Fusion Engineering Test Reactor (CFETR). However, the data sharing between different application blocks (AB) could be time-consuming that brings in un-deterministic performance. In this paper, we first introduce the framework and the test device J-TEXT. After that, new data sharing method based on the mutex and double buffering are designed. Note that, kernel module programming which runs directly from Linux kernel space is also introduced to try to find some deterministic performance solutions to real-time data sharing process. In addition, in order to handle data more systematisms with searching from all the logs emitted by many ABs efficiently, data logging based on databases technology and a produce-consume model is lead into. This is also a key to solve simultaneously problem which may have an influence on the real-time performance. Then, an integration testing has been conducted to verify the realistic performance after bringing such method of data process to guarantee that data process can satisfy nowadays real-time and non-real-time needs in fusion aspects. Several comparing experiments also reveal the advantages and disadvantages of such process.
What problem does this paper attempt to address?