Share Email Print

Proceedings Paper

MatLab script to C code converter for embedded processors of FLASH LLRF control system
Author(s): K. Bujnowski; A. Siemionczyk; P. Pucyk; J. Szewiński; K. T. Pożniak; R. S. Romaniuk
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper Abstract

The low level RF control system (LLRF) of FEL serves for stabilization of the electromagnetic (EM) field in the superconducting niobium, resonant, microwave cavities and for controlling high power (MW) klystron. LLRF system of FLASH accelerator bases on FPGA technology and embedded microprocessors. Basic and auxiliary functions of the systems are listed as well as used algorithms for superconductive cavity parameters identification. These algorithms were prepared originally in Matlab. The main part of the paper presents implementation of the cavity parameters identification algorithm in a PowerPC processor embedded in the FPGA circuit VirtexIIPro. A construction of a very compact Matlab script converter to C code was presented, referred to as M2C. The application is designed specifically for embedded systems of very confined resources. The generated code is optimized for the weight. The code should be transferable between different hardware platforms. The converter generates a code for Linux and for stand-alone applications. Functional structure of the program was described and the way it is acting. FLEX and BIZON tools were used for construction of the converter. The paper concludes with an example of the M2C application to convert a complex identification algorithm for superconductive cavities in FLASH laser.

Paper Details

Date Published: 28 December 2007
PDF: 8 pages
Proc. SPIE 6937, Photonics Applications in Astronomy, Communications, Industry, and High-Energy Physics Experiments 2007, 69370N (28 December 2007); doi: 10.1117/12.784574
Show Author Affiliations
K. Bujnowski, Warsaw Univ. of Technology (Poland)
A. Siemionczyk, Warsaw Univ. of Technology (Poland)
P. Pucyk, Warsaw Univ. of Technology (Poland)
DESY (Germany)
J. Szewiński, Warsaw Univ. of Technology (Poland)
K. T. Pożniak, Warsaw Univ. of Technology (Poland)
R. S. Romaniuk, Warsaw Univ. of Technology (Poland)

Published in SPIE Proceedings Vol. 6937:
Photonics Applications in Astronomy, Communications, Industry, and High-Energy Physics Experiments 2007
Ryszard S. Romaniuk, Editor(s)

© SPIE. Terms of Use
Back to Top
Sign in to read the full article
Create a free SPIE account to get access to
premium articles and original research
Forgot your username?