control servers for atca based llrf system

15
ATCA based LLRF system design review 3.12.2007 DESY Control servers for ATCA based LLRF Control servers for ATCA based LLRF system system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw Szewinski – Warsaw University of Technology

Upload: dennis-mcclain

Post on 30-Dec-2015

44 views

Category:

Documents


5 download

DESCRIPTION

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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Control servers for ATCA based LLRF system

ATCA based LLRF system design review

3.12.2007 DESY

Control servers for ATCA based LLRF Control servers for ATCA based LLRF system system

Piotr Pucyk - DESY, Warsaw University of Technology

Jaroslaw Szewinski – Warsaw University of Technology

Page 2: Control servers for ATCA based LLRF system

2ATCA based LLRF system design review

3.12.2007 DESY

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

Page 3: Control servers for ATCA based LLRF system

3ATCA based LLRF system design review

3.12.2007 DESY

Requirements

• What servers should do and should not do ?

Missing contribution from Jaroslaw Szewinski

Page 4: Control servers for ATCA based LLRF system

4ATCA based LLRF system design review

3.12.2007 DESY

What control software do we need?

• 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.

Diagnostics maintenance

Diagnostics maintenance

End-node for FSM, controller server

End-node for FSM, controller server

High level apps, FSM

High level apps, FSM

DAQ

GUI, external apps

GUI, external apps

Page 5: Control servers for ATCA based LLRF system

5ATCA based LLRF system design review

3.12.2007 DESY

Different CPUs in ATCA based LLRF systemEmbedded processors

AMC module processors

ATCA blades mainframes

Computation power

• Huge processing power

• DAQ, storage

• Post processing

• GbE

+ server class processing power

- No PCIe until now

+ serious processing power

- uses AMC slot on carrier

+ PCIe, GbE

- Low processing power

- FPGA resources

+ close to the hardware

Page 6: Control servers for ATCA based LLRF system

6ATCA based LLRF system design review

3.12.2007 DESY

FPGA

Possible topology of LLRF servers

AMC CPU

IO AMC (FPGA)

FPGA embedded

CPU

ATCA Carrier board

CPU

ATCA CPU blade

CPU

Mainframe blades

CPU CPU CPU CPU

CPU CPU CPU CPU

CPU CPU CPU CPU

CPU CPU CPU CPU

PCIe

GbE

GbE

Front-end middle layerSimple FSM

Front-end middle layerSimple FSM

Front-end

Front-end

Middle layer FSMFront-end

Middle layer FSMFront-end

FSM, DAQ

FSM, DAQ

Page 7: Control servers for ATCA based LLRF system

7ATCA based LLRF system design review

3.12.2007 DESY

Possible control systems

• DOOCS• EPICS• TINE• Dedicated software

Missing contribution from Jaroslaw Szewinski

Page 8: Control servers for ATCA based LLRF system

8ATCA based LLRF system design review

3.12.2007 DESY

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

Page 9: Control servers for ATCA based LLRF system

9ATCA based LLRF system design review

3.12.2007 DESY

Development environment & tools

• Linux platform• Language parsers, server wizards• Scripting languages• …

Missing contribution from Jaroslaw Szewinski

Page 10: Control servers for ATCA based LLRF system

10ATCA based LLRF system design review

3.12.2007 DESY

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 !!!

Page 11: Control servers for ATCA based LLRF system

11ATCA based LLRF system design review

3.12.2007 DESY

Backup slides

Page 12: Control servers for ATCA based LLRF system

12ATCA based LLRF system design review

3.12.2007 DESY

Old System Scheme

FPGA

LPT

VME

???

Memory map descriptionFile / parser

TCP Server

Hardware Channels EngineUser

Applications

Inte

rnal In

terfa

ce

Eth

OtherApplication

s

TCP/IP

Page 13: Control servers for ATCA based LLRF system

13ATCA based LLRF system design review

3.12.2007 DESY

Linux on PowerPC

User applications access hardware through the driver

Kernel mode driver has access to the FPGA

FPGA has defined hardware interface

Virtex II PRO

Linuxon PPC

Hardware

FPGA II Core

Client onremote

machine

Kernelmode

Internal Interface bus

driver

Usermode

TCPserver

TC

P/IP

Page 14: Control servers for ATCA based LLRF system

14ATCA based LLRF system design review

3.12.2007 DESY

DOOCS patterns

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

Page 15: Control servers for ATCA based LLRF system

15ATCA based LLRF system design review

3.12.2007 DESY

DOOCS patterns (2)