One of the most important applications of sensors is feedback control, in which an algorithm is applied to data that are collected from sensors in order to drive system actuators and achieve the desired outputs of the target plant. One of the most challenging applications of this control is represented by magnetic confinement fusion, in which real-time systems are responsible for the confinement of plasma at a temperature of several million degrees within a toroidal container by means of strong electromagnetic fields. Due to the fast dynamics of the underlying physical phenomena, data that are collected from electromagnetic sensors must be processed in real time. In most applications, real-time systems are implemented in C++; however, Python applications are now becoming more and more widespread, which has raised potential interest in their applicability in real-time systems. In this study, a framework was set up to assess the applicability of Python in real-time systems. For this purpose, a reference operating system configuration was chosen, which was optimized for real time, together with a reference framework for real-time data management. Within this framework, the performance of modules that computed PID control and FFT transforms was compared for C++ and Python implementations, respectively. Despite the initial concerns about Python applicability in real-time systems, it was found that the worst-case execution time (WCET) could also be safely defined for modules that were implemented in Python, thereby confirming that they could be considered for real-time applications.
Using Python Modules in Real-Time Plasma Systems for Fusion
Ferron N.; Manduchi G.
Journal:
Sensors (Basel) 22 (18),
pp. 1 - 10
Year:
2022
ISTP Authors: Gabriele Manduchi
Keywords: Python, Real time systems
Research Activitie: JOURNAL ARTICLES
Related products
-
Trends in Environmental Analytical Chemistry 30 pp. e00121-1 - e00121-12 Year: 2021 DOI: 10.1016/j.teac.2021.e00121
Laser-Induced Breakdown Spectroscopy applied to environmental systems and their potential contaminants. An overview of advances achieved in the last few years
Goncalves D.A.; Senesi G.S.; Nicolodelli G.
-
Acta astronautica 191 pp. 178 - 192 Year: 2021 DOI: 10.1016/j.actaastro.2021.10.040
Unsteady behavior and thermochemical non equilibrium effects in hypersonic double-wedge flows
Ninni D.; Bonelli F.; Colonna G.; Pascazio G.
-
Atomic spectroscopy 42 (1), pp. 18 - 24 Year: 2021 DOI: 10.46770/AS.2020.202
Spark discharge-libs: Evaluation of one-point and multi-voltage calibration for p and al determination
Vieira A.L.; Ferreira E.C.; Junior D.S.; Senesi G.S.; Neto J.A.G.
English
Italiano