SuperKEKB Controls and Timing< kazuro.furukawa @ kek.jp >Control and Timing System

Kazuro Furukawa(Control Group, SuperKEKB Ring/Linac)
February 21, 2012.

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

1KEKB

SuperKEKB Controls and Timing

Main features of controls at KEKBuEPICS as Main control Software Toolkit
vProvided a robust basis of equipment controlsvReduced software design efforts muchuScripting Languages for Operational SoftwarevSADscript/Tk, Python/Tk, Tcl/Tk used much
³Especially, SADscript as a bridge btw. Accelerator simulation,
Numeric manipulation, Graphic interface and EPICS controlsvBright new idea in the morning meeting could make theoperation much advanced in the evening³Great tool to optimize the operation

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

2KEKB

SuperKEKB Controls and Timing

Change in Operation Modes at KEKB
Belle/KEK

May.2000
Apr.2003
Dual Bunch e+Feb.2005
ContinuousInjections
Dec.2008
Crab Cavities andSimultaneous Injection
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

3

SuperKEKB

SuperKEKB Controls and Timing

SuperKEKB ControlsuInherit Good part of KEKB ControlsvEPICSvScripting languages

uTwo Additional ConceptsvChannel Access EverywherevDual-layer ControlsuAnd Other Miscellaneous ImprovementsvRejuvenation of software / hardware
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

4

SuperKEKB

SuperKEKB Controls and Timing

1st: CA EverywhereuEPICS Channel Access (CA) EverywherevEmbed EPICS control software (IOC) everywhere
possiblevReduce efforts on protocol design, testing, etc

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

5

CA EverywhereSuperKEKB Controls and Timing

Overview of controls at KEKuVME + Unix (1990~)vStandard model (later EPICS) configuration³With several fieldbusesuEvery controller on IP network (1993~)v2-layer physical, 3-layer in logical (Linac, J-PARC)uEvery controller with EPICS IOC (2005~)vChannel Access everywhere (CA Everywhere)³Good for rapid development and smooth maintenancew May need some consideration on network management
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

6

CA EverywhereSuperKEKB Controls and Timing

Embedded EPICS IOCs at SuperKEKB
uThe same software framework on everycontroller³ Rapid development and smooth maintenancevµTCA LLRF module: Linux/FPGA (Odagiri…)vYokogawa PLC: Linux CPU (Odagiri…)vOscillo. 50Hz measurement: Windows (Satoh…)
OPIvMPS management :Linux/FPGA (Akiyama…)
CAvTiming TDC: Linux/Arm (Kusano…)vPower modulator: Linux/FPGA (Kusano…)
IOCvLibera BPM at 50Hz: Linux/FPGA (Satoh…)
CAvNI cRIO : CAS/FPGA (Odagiri…)
DeviceIOCvMany more…
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

7

CA EverywhereSuperKEKB Controls and Timing

Simpler PLC Usage under EPICS
Conventional PLC usage
OPI"
CA Clients"

with asynchronous access"IOC"(Logics)"

OPI"
CA Clients"

LadderCPU"(Logics)"

FAM3 PLC"
I/O Modules"

F3RP61"
IOC"

FAM3 PLC"
I/O Modules"

If necessary, we can combine"
OPI"
CA Clients"

F3RP61"IOC"

LadderCPU"

FAM3 PLC"
I/O Modules"

Logics are confined in PLC, and management is easier"Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

8

SuperKEKB

SuperKEKB Controls and Timing

2nd: Dual-layer ControlsuAnother layer in addition to EPICS/CAvEvent system helps EPICS with another channelvAdditional functionality, synchronization and speed

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

9Dual-layer Controls

SuperKEKB Controls and Timing

Dual-layer ControlsuIOC controls via Conventional EPICS CA³Above 1ms, ordered controlsuFast FPGA controls via SFP/Fiber³10ps ~ 100ms, 114MHz synchronous controls
OPIChannel Access
IOCIOCIOCIOC

EVG

EVR

EVR

EVR

FPGA/SFP
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

10

Dual-layer Controls

SuperKEKB Controls and Timing

Fast, Global, and Synchronous Controlsu MRF’s series-230 Event Generator / Receiversu114.24MHz event rate,u VME64x and VxWorks v5.5.1
50Hz fiducialu EPICS R3.14.9 with DevSup v2.4.1
uMore than hundredu 17 event receivers for now
50Hz-analog/timing param.
Central"Event Generator"uMulti/single-mode fiberuTiming precision is < 10ps.
SH_A1"
KL_B5/B6"

SB_B"

Injection"

SB_A"e­	  Gun!
ARC!

v < 1ps with external module.
96ns

e– BT (PF: 2.5GeV, 0.1nC)!

>100nsCont-ABC"
KL_51/52"
SB_C"

SB_1"

SB_2"

SB_3"

SB_4"

SB_5"

e+ BT (KEKB: 3.5GeV, 2nC)!	  

e+	  Target
Cont-1"

Cont-2"96ns
Cont-3"Cont-4"Cont-5"

Event Receivers"Accelerator Review>100nse– BT (KEKB: 8GeV, 2nC, !
PFAR: 3.0GeV, 0.1nC)!

Kazuro Furukawa, KEK, Feb.2012.

11

SuperKEKB Controls and Timing

Event System UpgradeuMore event receivers requiredvMostly VMEs, and some PLCs
³PLC module under development at SINAP/ShanghaiuShould have more modern softwarevOS, EPICS driver, FPGA firmware³Collaboration in EPICS communityuTiming monitorsvTDC were developeduLLRF monitors

CCPPUU  EEVVGG  EEVVRR  
OOpptt..  FFaannoouutt  vUnder development by RF group
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

12

Dual-layer Controls

SuperKEKB Controls and Timing

One Machine, Multiple Virtual Accelerators (VAs)u Independent parameter set for each VA, one of VAs is active at a timee− GunARC

PF Injection�

e– (2.5GeV)

e− GunKEKB-LER Injection�

ARC

Event-basedControl System

Primary e– (3.5GeV)

e+ (4GeV)

e+ Targete− GunARC

KEKB-HER Injection�
e– (7GeV)e− GunARC

PF-AR Injection�
e+ Target

Accelerator Review

e– / e+ (4 / 6.5GeV)

Kazuro Furukawa, KEK, Feb.2012.

13

Dual-layer ControlsSuperKEKB Controls and Timing

Multiple Closed Loop Controls Overlappedu Closed loops can be installed on each VA independentlyv Tested at KEKB

e− Gun!

e– BT (PF: 2.5GeV, 0.1nC)!

PF Injection�

ARC!

e+ Target"e− Gun!

Event-based
Control System

ARC!

KEKB-LER Injection�

Primary e– (4GeV, 10nC)

e+ BT (KEKB: 3.5GeV, 0.6nC)!

e+ Target"e− Gun!
ARC!

KEKB-HER Injection�
e+ Target"e– BT (KEKB: 8GeV, 1.2nC)!

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

14

SuperKEKB Controls and TimingEvent and Timing SystemuBeam mode should be modulated pulse bypulsevSomewhat tricky in controls and timing

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

15

Dual-layer Controls

SuperKEKB Controls and Timing

Example of Beam Mode Pattern : e+ 50Hzu Extract e+ (bunch selected at MR), Inject e+ (bunch selected at DR)
e− GunARC
Primary e– (3.5GeV)

e+ (4GeV)

e+ Target
20ms
e− GunARC
Primary e– (3.5GeV)

e+ (4GeV)

e+ Target
20ms
e− GunARC
Primary e– (3.5GeV)

e+ (4GeV)

e+ Target
20msu Simple (?) beam juggling needed. Pulses are coupled tightly
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

16Dual-layer Controls

SuperKEKB Controls and Timing

Example of Beam Mode Pattern : e+ 25Hz / e– 25Hzu Interleaved e+ and e-, dependency between pulses mostly decouplede− GunARC
Primary e– (3.5GeV)

e+ (4GeV)

e+ Target

20ms

e− GunARCe– (7GeV)
20ms
e− GunARC
Primary e– (3.5GeV)

e+ (4GeV)

e+ Target

20ms

e− GunARCe– (7GeV)
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

17

SuperKEKB Controls and Timing

Bucket SelectionuSmall challengevBucket bunch current equalization at MRvBucket spacing at DR for Inj./ext. kickers
vAt least, Linac after DR should have RF phasemodulated every pulsevAlso, DR will have RF phase modulated every pulse³Recommended by the last review committee³That relax the pulse-to-pulse coupling conditionvMore stability monitors are installed³Timing monitors (TDC), LLRF monitors³Linac long distance clock monitor tested
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

18SuperKEKB Controls and Timing

PF-AR Injection with e+uSmall challengevCommon BT line between SuperKEKB and PF-AR e+vIndependent circumference compensation³RF frequency change independentlyw KEKB ~ 4x10-7, PF/PF-AR ~ 4~20x10-6 (depth dependent)vDamping ring will use SuperKEKB MR frequency³DR 508.9MHz vs PF-AR 508.6MHzuPF-AR will fix RF frequency at InjectionvTo maintain the injection phase synchronizationvNear future PF-AR will have direct 6.5GeV einjection, and the situation will be relaxed
Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

19

SuperKEKB Controls and Timing

Other Upgrades (1)uRejuvenation of basic control components³On-going year-by-yearvComputer / file servervRedundant control networkvConsolevPower line, power supplyvRack fan, filtervSeminars, trainingvetc.

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

20

SuperKEKB Controls and Timing

Other Upgrades (2)u Control System Studio (CSS)vIn addition to scripting languagesvMore robustvDevelopment and runtime environment are unifiedvActively developed in EPICS communityvInvited Kay Kasemir from ORNL/SNSvAsk Cosylab to tailor to our environmentu Several operation software under CSS are underevaluationvAt Linac and PF-ARvChannel archiver, Alarm handler, Synoptic display manager, etcAccelerator Review

Kazuro Furukawa, KEK, Feb.2012.

21

SuperKEKB Controls and Timing

Other Upgrades (3)u Linac Beam Position Monitorsv10-micron resolution required³ wakefield compensationv50Hz pulse-to-pulse modulationvTwo bunches in a pulse (96-ns separation)vAttenuator controls (~100-times)³ Libera/i-Tech or local companyu Linac-BT Wire Scannersv50Hz pulse-to-pulse modulationvTwo bunches in a pulse (96-ns separation)vPossible correction by near-by BPMs
vReplacing old CAMAC, etc³ Collaboration with VECC/IndiaAccelerator Review

Kazuro Furukawa, KEK, Feb.2012.

22

SuperKEKB Controls and Timing

ConclusionuSteady Improvements/Developments areunderwayvWith additional concepts of CA everywhere (or embedded EPICScontroller) and dual-layer controls (or event-based synchronouscontrols)uInternational Collaboration is also ProceedinguWith Phronesis (Greek: Practical wisdom, Ability tounderstand the Universal Truth), we believe we canachieve the goal

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

23

SuperKEKB Controls and Timing

Mt. Tsukuba

Thank you
PF-AR

SuperKEKB
dual rings

PF
Linac

Accelerator Review

Kazuro Furukawa, KEK, Feb.2012.

24