Presentazione, 2021, ENG

Overview of the TCV digital real time plasma control system and its applications

Galperti C.; Felici F.; Vu T.; Sauter O.; Carpanese F.; Kong M.; Marceca G.; Merle A.; Pau A.; Pesamosca F.; Baquero-Ruiz M.; Coda S.; Decker J.; Duval B.; Mateusz G.;Karpushov A.; Marletaz B.; Carnevale D:; Ferron N.; Koenders J.; Kook B.; Manduchi G.; Maraschek M.; Peter M.; Cabrita Neto A.; Perek A.; Poli E.; Ravensberger T.; Reich M.; Rispoli N.

Ecole Polytechnique Fédérale de Lausanne (EPFL), Swiss Plasma Center (SPC), Lausanne, Switzerland; CCFE, UKAEA; Ecole Politechnique Fédérale de Lausanne (EPFL), Centre de Recherches en Physique des Plasmas (CRPP), Lausanne, Switzerland; Universita' Roma Tor Vergata, Dipartimento di Ing. Civile ed Ing. Informatica, Italy; Consorzio RFX (CNR, ENEA, INFN, Università di Padova, Acciaierie Venete SpA), Padova - CNR ISTP, Istituto per la Scienza e Tecnologia dei Plasmi, Sede di Padova, Italy; Dutch Institute for Fundamental Energy Research - the Netherlands; Max-Planck Institute for Plasma Physics, Garching, Germany; D-TACQ Solutions Ltd, Scotland; Fusion for Energy, Spain; ITER Organization, France; Institute for Plasma Science and Technology, ISTP CNR, Milano, Italy.

TCV has a flexible, digital, distributed control system for testing experimental control algorithms, acquiring data from hundreds of diagnostic channels and controlling all magnetic, heating and fueling actuators. We present the state of the system, focusing on the latest upgrades, and the key control capabilities enabled by the system. The control algorithm code is developed and maintained in MATLAB/Simulink and run-time code is generated automatically using code generation. The previously used practice of just-in-time code generation and compilation before every shot has been abandoned in favor of a more reliable and efficient method where the run-time code is able to load parameters and waveforms from plant databases. The ability to simulate the control code is guaranteed by an object-oriented simulation framework in MATLAB/Simulink that reads parameters and waveforms from the same databases w.r.t. the real-time environment. This approach still allows very rapid development and deployment cycles with new algorithms deployed on TCV usually within a few days from the completion of their testing in simulation. The control algorithm software is managed through a DevOps methodology with extensive unit and regression tests as well as Continuous Integration / Deployment practices. The real-time environment has been completely replaced by the F4E MARTe2 framework, greatly improving standardization, modularity, maintainability and extensibility. The intrinsic data-driven application runtime buildup of the MARTe2 framework has naturally yet rigorously allowed the integration of the inter-shot tunable parameters and waveforms in the control code. The framework has also greatly enhanced interfaces between the real-time computers and the rest of TCV IT infrastructure, notably with its databases for shot configuration and control data acquisition. From the point of view of the hardware, the systems responsible for primary plasma controls (magnetic control and density control) have been upgraded with new ADC/DAC modules connected to two real time computers operable in parallel on the same discharge. This arrangement allows to use one control computer for the primary (released) main plasma controller while the second one can be used as a live test stand for plasma algorithms in state of testing or development. Also, a new EtherCAT real time industrial network has been laid down to operate distributed low I/O count subsystems boosting system flexibility at low additional cost and high speed of commissioning. This overhauling process has already granted a number of experimental advances on the machine, the foremost ones being: SAMONE a comprehensive real-time plasma supervision, off-normal event handling and actuator management system, plasma event detectors based on neural networks, novel linear controllers for improved vertical control for the formation and stabilization of doublet. Finally a number of existing realtime codes have already been ported to this new approach allowing them to be run seamlessly on every TCV discharge in real-time; notably they comprise RT-LIUQE, the real-time magnetic equilibrium reconstruction of TCV, coupled with real-time transport calculations; RT-MHD, the comprehensive real-time MHD analysis algorithms set and real time divertor radiation front control with multispectral 2D imaging diagnostics (MANTIS). Other applications include runaway and profile control.

13th Technical Meeting on Plasma Control Systems, Data Management and Remote Experiments in Fusion Research, Virtual Event Europe/Vienna timezone, 5-8 July 2021

Keywords

TCV, Digital Real Time Plasma Control System, Distributed Control System

CNR authors

Rispoli Natale, Manduchi Gabriele

CNR institutes

ISTP – Istituto per la Scienza e Tecnologia dei Plasmi

ID: 454695

Year: 2021

Type: Presentazione

Creation: 2021-06-14 12:29:21.000

Last update: 2022-02-24 14:30:42.000

External IDs

CNR OAI-PMH: oai:it.cnr:prodotti:454695