The COMPASS tokamak has began operation at the IPP Prague in December 2008. A new control system has been built using an ATCA-based real-time system developed at IST Lisbon.
The control software is implemented on top of the MARTe real-time framework attaining control cycles as short as 50 mu s, with a jitter of less than 1 mu s. The controlled parameters, important for the plasma performance, are the plasma current, position of the plasma current center, boundary shape and horizontal and vertical velocities.
These are divided in two control cycles: slow at 500 mu s and fast at 50 mu s. The project has two phases.
First, the software implements a digital controller, similar to the analog one used during the COMPASS-D operation in Culham. In the slow cycle, the plasma current and position are measured and controlled with PID and feedforward controllers, respectively, the shaping magnetic field is preprogrammed.
The vertical instability and horizontal equilibrium are controlled with the faster 50-mu s cycle PID controllers. The second phase will implement a plasma-shape reconstruction algorithm and controller, aiming at optimized plasma performance.
The system was designed to be as modular as possible by breaking the functional requirements of the control system into several independent and specialized modules. This splitting enabled tuning the execution of each system part and to use the modules in a variety of applications with different time constraints.
This paper presents the design and overall performance of the COMPASS control software.