Development of real-time applications is usually associated with nonportable code targeted at specific real-time operating systems. The boundary between hardware drivers, system services, and user code is commonly not well defined, making the development in the target host significantly difficult. The Multithreaded Application Real-Time executor (MARTe) is a framework built over a multiplatform library that allows the execution of the same code in different operating systems. The framework provides the high-level interfaces with hardware, external configuration programs, and user interfaces, assuring at the same time hard real-time performances. End-users of the framework are required to define and implement algorithms inside a well-defined block of software, named Generic Application Module (GAM), that is executed by the real-time scheduler. Each GAM is reconfigurable with a set of predefined configuration meta-parameters and interchanges information using a set of data pipes that are provided as inputs and required as output. Using these connections, different GAMs can be chained either in series or parallel. GAMs can be developed and debugged in a non-real-time system and, only once the robustness of the code and correctness of the algorithm are verified, deployed to the real-time system. The software also supplies a large set of utilities that greatly ease the interaction and debugging of a running system. Among the most useful are a highly efficient real-time logger, HTTP introspection of real-time objects, and HTTP remote configuration. MARTe is currently being used to successfully drive the plasma vertical stabilization controller on the largest magnetic confinement fusion device in the world, with a control loop cycle of 50 ?s and a jitter under 1 ?s. In this particular project, MARTe is used with the Real-Time Application Interface (RTAI)/Linux operating system exploiting the new ?86 multicore processors technology.
[1]
P. C. de Vries,et al.
Recent contribution of JET to the ITER physics
,
2009
.
[2]
A. Polevoi,et al.
Chapter 1: Overview and summary
,
2007
.
[3]
R. Albanese,et al.
Plasma modelling for the control of vertical instabilities in tokamaks
,
1989
.
[4]
U. von Toussaint,et al.
Fast tomographic methods for the tokamak ISTTOK
,
2008
.
[5]
Miguel Correia,et al.
An ATCA Embedded Data Acquisition and Control System for the Compass tokamak
,
2009
.
[6]
C.A.F. Varandas,et al.
ATCA digital controller hardware for vertical stabilization of plasmas in tokamaks
,
2006
.
[7]
J. G Krom.
The evolution of control and data acquisition at JET
,
1999
.
[8]
Richard Kamendje,et al.
Overview of the JET results
,
2005
.
[9]
R. Vitelli,et al.
Linux real-time framework for fusion devices
,
2009
.
[10]
Alfredo Portone,et al.
The JET PCU project: An international plasma control project
,
2008
.
[11]
Alfredo Pironti,et al.
A flexible software for real-time control in nuclear fusion experiments
,
2006
.
[12]
F. Rademakers,et al.
ROOT — An object oriented data analysis framework
,
1997
.