MicroTCA LLRF Controller w/ EPICS< kazuro.furukawa @ kek.jp >MicroTCA-based LLRF Controller at KEK

Kazuro Furukawa
for RF Groups (cERL/STF, SuperKEKB)LLRF Controlerand for Control Group (SuperKEKB)EPICS IOC< kazuro.Furukawa @ kek.jp >October 13, 2010.
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

1

MicroTCA LLRF Controller w/ EPICS

LLRF Controlers at KEK

RF Group J-PARC
 CompactPCI-based DSP/FPGA system
 Communication to PLC-based Power supply controllers
 Since ~2003

 ILC and STF development
 Started with CompactPCI-based controller Based on J-PARC experiences Ten 16bit ADC, two 14bit DAC, Virtex2pro

 ATCA-based controller (being developed) For ILC “baseline” design Large card (14bit ADC x “32”, 16bit DAC x4, FPGA, etc)
 Reliability for large number of components

 Choice of bus was difficult
 VME was old
 No good standard was available for cPCI with PCIeEPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

2

MicroTCA LLRF Controller w/ EPICS

RF Group

ATCA LLRF card as an example

EPICS Collaboration Meeting / BNLKazuro Furukawa, KEK, Oct.2010.

3

MicroTCA LLRF Controller w/ EPICS

LLRF Controlers at KEKRF Group ATCA development in ILC collaboration
 DESY chose AMC cards on ATCA
 AMC == Advanced Mezzanine Card

 cERL CW, under construction, for ERL nearer future
 AMC or MicroTCA-based LLRF Controller Future stability of 0.01% in amplitude, 0.01degree in phase For now, 0.1% in amplitude, 0.1degree in phase, 1µs loop delay SuperKEKB
 CW, under designing, starting part of construction
 Synergy between projects - MicroTCA

 STF/ILC for S1 global
 New RF system configuration , “DRFS” design
 ATCA > MicroTCA

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

4

MicroTCA LLRF Controller w/ EPICS

MicroTCA (µTCA)
 ATCA (2003)
 New computing standard for telecommunication and industry
 After CompactPCI (1993), for reliability with higher performance Many serial interconnects on backplane 2.5Gbps each (10Gbps in the future)»One card covers all phones in a small city with a certain implementation

 IPMI surveillance/remote-management for reliability AMC (Advanced Mezzanine Card for ATCA)
 Serial interconnects, IPMI, good part of ATCA
 Like IP-module to VME, PMC to cPCI MicroTCA (2008)
 AMC card itself is powerful Direct slot-in AMC cards in a Box
 Commercial I/O cards for industry are available
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

5

MicroTCA LLRF Controller w/ EPICS

Accelerator Controls
VME + Unix (1990~)
 Standard EPICS configuration
 With many third layer field networks

Every controller on network (1993~)
 Single layer in physical, two layer in logicalEvery controller with EPICS IOC (2005~)
 Channel Access everywhere For longer term maintenance

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

6

MicroTCA LLRF Controller w/ EPICS

Standard EPICS
CA as “Software bus”

CAIOC

IOC

EPICS Collaboration Meeting / BNL

IOC

IOC

Kazuro Furukawa, KEK, Oct.2010.

MicroTCA LLRF Controller w/ EPICS

Channel Access on MicroTCA Backplane
CA on Hardware “bus”

CAGbEther
IOCIOCIOC

IOC

MicroTCA
Picture by J.Odagiri
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

8

MicroTCA LLRF Controller w/ EPICS

Let’s employ Channel Access on µTCABackplane !
Let’s embed EPICS IOC on to Each µTCA/AMC Card !

Miura and Furukawa
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

9

MicroTCA LLRF Controller w/ EPICS

IOC on MicroTCA
Natural to put IOC on µTCA LLRF Controller
 And on ATCA LLRF Controller

Chose GbEthernet as a main media on thebackplane interconnect
 Somewhat unique Some other institutes chose PCIe as the media

Chose PowerPC core on Virtex5
 ML507 of Xilinx as a good referenceLinux on PowerPC No realtime processing is necessary
 In the future, we may use realtime (<100µs) feature of LinuxEPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

10

MicroTCA LLRF Controller w/ EPICS

RF Group

MicroTCA based LLRF Controller Single-width full-height module Without physics experiment extension (we started earlier) Front-panel connectors (rather busy)

 Digital part and Analog part are separate
 ADC 16bit, 130Msps, x4
 DAC 16bit, 500Msps, x4
 Virtex5 with PPC440
 RAM 640MB, Flash 64MB
 Also monitor card with the same digital part
 ADC 14bit, 400Msps, 1.4GHz, x2

 Fabrication subcontracted
 Mitsubishi Electric Tokki System Windriver Linux (ML507 is supported)
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

11

MicroTCA LLRF Controller w/ EPICS

RF Group
Mitsubishi

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

12

MicroTCA LLRF Controller w/ EPICS

EPICS IOC on MicroTCA LLRF Controller
 Linux 2.6 on Virtex5
 Boot from Flash EPICS from NFS, or from Flash Slight difficulties because …
 Lack or experiences Difference (memory size etc.) between ML507 and the real card Relatively straight forward

 EPICS 3.14.9 for now Driver to FPGA (with mmap)
 Scalar values directly, and waveforms through ringbuffer Channel access on backplane interconnect
 Directly connected to outside at first Possible to install gateway at local CPU if necessary
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

13

MicroTCA LLRF Controller w/ EPICS

Slow control with PLC
 Embedded IOC

MPS with FPGA/PPC Embedded IOC

EPICS Collaboration Meeting / BNLKazuro Furukawa, KEK, Oct.2010.

MicroTCA LLRF Controller w/ EPICS

Under Evaluation

RF GroupPreliminary I/Q control stability results
 Much better than the specification
 ~0.022% in amplitude, ~0.016degree in phase

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

15

MicroTCA LLRF Controller w/ EPICS

More development
FPGA controller is ready (Sep.2010)
EPICS IOC and local display application
 With EDM under development

µTCA management capabilities over IPMI
Commissioning in 2011 for STF and cERL
 Slightly later for SuperKEKB

Future Comparison to ATCA
 Move out of Windriver Linux (?)
 Redundant System (?)
…
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

16

MicroTCA LLRF Controller w/ EPICSConclusion
Collaboration between RF group, Mitsubishi
Elec. Tokki System, and Control group went well
All components embed EPICS IOC
 µTCA FPGA controller, PLC controller, MPS controller

Performance test was acceptableShowed µTCA capability
Controls Have Interface to Every System
 We can Enjoy Accelerators
 With Phronesis (Ability to understand the Universal Truth)
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

17

MicroTCA LLRF Controller w/ EPICS

Thank you

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

18