SlideServe
Menu
Préférences
© SlideServe · v2026

Control servers for ATCA based LLRF system

thais avatar
16 diapositives · 366 Views · Sep 02, 2014

Control servers for ATCA based LLRF system. Piotr Pucyk - DESY , Warsaw University of Technology Jaroslaw Szewinski – Warsaw University of Technology. Agenda. Requirements LLRF servers classification ATCA computation power for LLRF servers Servers topology in ATCA based LLRF system

Control servers for ATCA based LLRF system - slide 1
01 / 16Control servers for ATCA based LLRF system
1 / 17

Télécharger la présentation

Control servers for ATCA based LLRF system
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw Szewinski – Warsaw University of Technology

  2. Agenda • Requirements • LLRF servers classification • ATCA computation power for LLRF servers • Servers topology in ATCA based LLRF system • Possible control systems • Development environment • Time schedule and summary

  3. Requirements • What servers should do ? • Should make possible remote access to the applications (update parameters, readout data, etc.) • Should support hardware in computation with given timing constraints (recalculate tables between pules, etc.) • Servers should guarantee reliable data transfers to the history storage • Should provide, for local applications, interface and interaction with external systems (other servers, foreign hardware, etc.) • Should provide management, control and synchronization of multiple subsystems (procedures, FSMs, automation)

  4. What control software do we need? GUI, external apps • Finite state machines for automation • Front-end servers for hardware maintenance, configuration and diagnostics • Front-end servers for controller and low level applications (execution nodes for state machines) • Middle layer servers for high level applications • DAQ servers or interfaces to DAQ • GUI panels, interfaces to Matlab, C, etc. DAQ High level apps, FSM End-node for FSM, controller server Diagnostics maintenance

  5. Different CPUs in ATCA based LLRF system Embedded processors AMC module processors mainframes ATCA blades Computation power - Low processing power - FPGA resources + close to the hardware • + serious processing power - uses AMC slot on carrier + PCIe, GbE • + server class processing power • No PCIe until now • Huge processing power • DAQ, storage • Post processing • GbE

  6. ATCA Carrier board ATCA CPU blade Mainframe blades AMC CPU CPU CPU CPU CPU CPU CPU CPU CPU CPU IO AMC (FPGA) CPU CPU CPU CPU CPU CPU CPU CPU CPU FPGA FPGA embedded CPU Possible topology of LLRF servers Front-end middle layer Simple FSM FSM, DAQ GbE PCIe Middle layer FSM Front-end Front-end GbE

  7. Possible control systems • DOOCS • Used for the FLASH control • EPICS • Widely used, low hardware requirements • TINE • Heterogeneous/portable, runs on different platforms (DOS, Windows, various UNIXes, VxWorks, etc), can use different network protocols (TCP/IP, IPX/SPX, etc.) • Dedicated software • custom servers, often embedded • Hybrid configurations • Standard control system server (on ATCA CPU board) as gateway for small, lightweight custom embedded servers in different ATCA facilities (AMC, Carrier, etc.)

  8. What we can reuse, what we have to develop • Reuse • Old communication scheme (one software interface – many hardware drivers), memory description map • Tools for debugging and configuration • Some existing server’s source code • New development • Diagnostics, maintenance interfaces (inc. IPMI, crate management) • FSM framework for high level apps • New communication channels

  9. Development environment & tools • Platforms - preferred free, open systems like Linux or FreeBSD. Linux is widely used on various systems (from embedded to mainframe and cluster – can run in different facilities of ATCA). It has good hardware support - excellent platform for development. • Usage of real time (commercial) systems (like VxWorks) – only where Linux can not be used. • Technologies - 'keep it simple when possible ' - preferred well known, widely portable technologies like: • C/C++ • BSD sockets + TCP/IP • Pthreads • etc.

  10. Schedule, manpower • Before we start: • Development environment, control system, communication libraries, FSM framework. • Development schedule strongly depends on other tasks • Configuration and maintenance servers (when carrier board and at least one AMC is debugged and ready for firmware implementation - 3-5.2008 ?) • Finite state machines and procedures – starting from 1.2008 ? • Controller server, and low level applications interface servers (parallel to controller development and low level applications) • Minimum Manpower • 1 fulltime programmer for front-ends, 1 fulltime for FSM and high level apps, 1-2 students for help • A lot of support from MCS group !!!

  11. Backup slides

  12. Development & Design guidelines • Usage open-source, free tools when possible • Projects organized by Makefiles, to enable automatic build of all sub-components, including cross-builds for different targets (CPUs on AMCs, DSPs, PPCs in FPGA, ATCA CPU boards, etc.) • Codes organized by version control tools (CVS, SVN) • Codes documented by tools like Doxygen • Common coding conventions & policy • Separated mechanism (platform dependent) and policy (platform independent) • Avoid platform depended, hardly portable solutions • Avoid fancy external tools/libraries/technologies which development or support my be stopped one day.

  13. TCP Server TCP/IP FPGA Internal Interface LPT VME Memory map description File / parser Eth ??? Other Applications Hardware Channels Engine User Applications Old System Scheme

  14. Client on remote machine TCP/IP Virtex II PRO Linux on PPC User mode TCP server Kernel mode driver Hardware FPGA II Core Internal Interface bus Linux on PowerPC • User applications access hardware through the driver • Kernel mode driver has access to the FPGA • FPGA has defined hardware interface

  15. DOOCS patterns http://flash.desy.de/sites/site_vuvfel/content/e403/e1644/e1136/e1137/infoboxContent1796/tesla2006-10.pdf

  16. DOOCS patterns (2)