KEK and SuperKEKB< kazuro.furukawa @ kek.jp >Recent progress at KEKand Plans for SuperKEKB
Kazuro Furukawa
for Control Groups at KEK< kazuro.Furukawa @ kek.jp >October 11, 2010.

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

1

KEK and SuperKEKB

Accelerators at KEK
Mt. Tsukuba
J-PARC(at Tokai Site)(Super)KEKB
PF-AR

ATF

STF
cERL

PF
Linac

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

2

KEK and SuperKEKB

Yamamoto/Kamikubota

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

3KEK and SuperKEKB

BeamPower�[kW]ビーム出力�[kW]2010 Operational Highlights
100Yamamoto/Kamikubota

Beam Power history of 30GeVMR
Feb. 24, 2010
First Neutrino Event from J-PARCobserved at Super Kamiokande

8060
40
200

2月�
Feb

3月�
Mar

4月�
April

5月�
May

6月�
June

7月�
July

Delivers beam at 50KW to Nu. Exp.

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

4KEK and SuperKEKB

Plan for Future

Yamamoto/Kamikubota

Plan for MR Beam Power forNu Exp.
・Linac 400 MeV upgrade forHigher RCS beam power
・Higher MR rep. rate

ACS: Acceleration Structurefor 400MeV Linac Upgrade
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

5KEK and SuperKEKB

Data Archiving in J-PARC MR control system
Yamamoto/Kamikubota

Overview of J-PARC MR data archive system:“cadump” is a program storing snapshot data,
including waveform, into disk system. ROOT andSAD data formats are supported. It also use datacompression, after Feb. 2010.
From “DATA ARCHIVE SYSTEM FOR J-PARC MAIN RING” by N. Kamikubota et al.,Proceedings of IPAC’10, Kyoto, JapanEPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

6KEK and SuperKEKB

Control Systems at KEK/Tsukuba (1) SuperKEKB
 Will inherit resources from KEKB (and TRISTAN)
 Partial budget for positron was approved (?)

 Linac (electron/positron) Inject beam to (Super)KEKB, PF, PF-AR Pulse-to-pulse beam modulation

 PF (Photon Factory)
 Moved to EPICS environment
 Mainly with Linux-VME

 PF-AR (Photon Factory Advanced Ring) Mostly the same environment as KEKB Many CAMAC installations

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

7KEK and SuperKEKB

Control Systems at KEK/Tsukuba (2)ATF (Accelerator Test Facility)
 Vista Controls environment with CAMAC
 Linux and socket environment with some EPICS devices

STF (Superconducting RF Test Facility) Test facility for ILC
 EPICS with Linux, ATCA test, PLC, …

cERL (Compact ERL)
 Being built for ERL development
 May share the resources with other accelerators

Sharing resources as much as possible
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

8

KEK and SuperKEKB

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

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

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

9KEK and SuperKEKB

Transition of Controls
Mini
Computer

Unix

Unix

Unix

VME

VME/IOCIOC

Field
Networks

TCP/IP

ChannelAccessDeviceController

DeviceController

DeviceIOC

Mini
ComputerDeviceController

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

10

KEK and SuperKEKB

Embedded IOC in Yokogawa’s PLC
More than 150 PLCs were employed at Linac
 All through TCP/IP network since 1993
 Successful to reduce resource consumption

Now Linux CPU is available (2008~)
 533MHz PPC, 128MB RAM, 2xEthernet, USB Utilize realtime feature of Kernel 2.6 (J. Odagiri et al) EPICS PV response time <150µsec (incl. module delay)

Ladder sequence CPU can coexist
 Variable sharing possible

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

11

KEK and SuperKEKBSimpler PLC Usage under EPICS
Conventional PLC usageOPICA Clientswith asynchronous access
IOC(Logics)

OPICA Clients

LadderCPU(Logics)

FAM3 PLC
I/O Modules

F3RP61
IOC

FAM3 PLC
I/O Modules

If necessary, we can combine
OPICA Clients

F3RP61IOC

LadderCPU

FAM3 PLC
I/O Modules

Logics are confined in PLC, and management is easier
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

12KEK and SuperKEKB

Many medium-speed
controllers implemented
 KEKB, Linac, J-PARC, PF,
cERL, …, Taiwan/TLS,(Korea/PAL, Beijing/IHEP)Image processing module available
Discussing on EVR module with SSRF/Shanghai
<http://www-linac.kek.jp/cont/epics/f3rp61/>
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

13

KEK and SuperKEKB

BPM at Linac and BT
 BPM need only 0.1mm
resolution
 Using ~30 coefficients per BPM

 Many signals are combined
into one waveform digitizer Again reduction of resources Recent Embedded IOC Solution
 Much helped by Dr. Yong Hu
100 BPMs

24 x DPO7104

Clients

 Old configuration
100 BPMs

19 x TDS680B

EPICS Collaboration Meeting / BNL

19 VMEs~5 Unix

Clients
Kazuro Furukawa, KEK, Oct.2010.

14

KEK and SuperKEKB

BPM DAQ Tektronix DPO7104 can acquire data at >50Hz.
 With embedded EPICS, under pulse-to-pulse beam modulation

 Beam modes are recognized by events through CA network.
 Missed less than once in million times

 Clients can monitor data of an interested beam mode.
 24 oscilloscopes are installed for Linac, and 4 for BT.
 200 BPMs are synchronized for Linac and BT.

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

15

KEK and SuperKEKB

Many other Embedded IOC
Other oscilloscope-based IOCs For pulsed device monitors (M. Satoh et al)TDC/Linac with Linux/ARM (Armadillo) Timing consistency surveillance (S. Kusano et al)

MPS manager with Linux/FPGA (Suzaku)
 For J-PARC and cERL, etc (A. Akiyama et al)Magnet PS with Linux/ARM(or FPGA) Two prototypes for SuperKEKB (T. Nakamura et al)

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

16

KEK and SuperKEKB

KEKB Operation Improvement (base of SuperKEKB)
Belle/KEK

May.2000
Apr.2003
Dual Bunch e+Feb.2005
ContinuousInjections
Dec.2008
Crab Cavities andSimultaneous Injection
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

17

KEK and SuperKEKB

SuperKEKB Plan (1) For nano-beam scheme with 40-times higher luminosity
 Many new facilities should be required Start based on the existent environment
 With additional concept of CA everywhere

 Help device groups to have better global controls
 Replacement of old installations such as CAMAC
 Solutions not only VME but also other types of controllers,
embedded EPICS if possible

 Faster networks for the groups who can buildcontrollers by themselves
 Better connection to operational environments
 Keeping SAD environment, etc
 Monitoring at offices
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

18

KEK and SuperKEKB

SuperKEKB Plan (2) Archiving scheme and viewer
 Maybe existing KEKBlog and channel archivers
 New viewer should be developed Alarm handler
 CSS or Python (to simulate KEKBalarm) Should evaluate soon Operational Log
 In house, two versions with different origins
 Postgres + (Python/Zope and Flash/Flex)

 Scripts
 SADscript/Tk, Python/Tk, (decreasing Tcl/Tk)

 Displays Edm and/or CSS
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

19

KEK and SuperKEKB

SuperKEKB Plan (3)Interviews to each device groups Planning to have monthly meeting and training
 To collect user requirements

 Partially successful for old hardware replacements
 Not yet effective for new functionalities Whether both sides do not have experiencesex. Global orbit feedback We don’t need to stabilize the orbit other than the collision point Monitor group is basically responsible for this Under development with several candidates But they still need some data path
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

20

KEK and SuperKEKB

Simultaneous Injection
SuperKEKB injections with shorter lifetime
PF top-up injection for higher quality experiments
Enjoyed Hardware and Software Installation One by one
Reduced the Beam Switch Time from 10-120 seconds to20ms
Beam currents are kept within 1mA (~0.05% for KEKB),
0.05mA (~0.01%, PF)Much more complicated with bucket selections at dampingring and main ring
Should add PF-AR as well (4rings! with different beams)
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

21KEK and SuperKEKB

Event System for Simultaneous Injection
 MRF’s series-230 Event Generator / Receivers
114.24MHz event rate, VME64x and VxWorks v5.5.1
50Hz fiducials
 EPICS R3.14.9 with DevSup v2.4.1
More than hundred 17 event receivers up to now
50Hz-Analog/Timing data
CentralEvent Generator
Multi/single-mode fiber
Timing precision is < 10ps.
SH_A1
KL_B5/B6

SB_BInjection

SB_Ae­ GunARC

 < 1ps with external module.
96nse– 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-296ns
Cont-3Cont-4Cont-5

Event Receivers
EPICS Collaboration Meeting / BNL>100nse– BT (KEKB: 8GeV, 2nC,
PFAR: 3.0GeV, 0.1nC)

Kazuro Furukawa, KEK, Oct.2010.

22

KEK and SuperKEKB

Parameters
Parameters switched via event system
LLRF phase/timing : 14x4
Overall energy profile, dual-bunch energy equalization, final energy adjustment

HP RF timing : ~60
Energy profile and backup management

Gun voltages, picosecond delay : 4
Beam charge selection, dual bunch selection, bunchingPulsed magnets/solenoid : 14
Beam transport selection, orbit controls, positron focusing

Injection phase interface : 2
Bucket selection interface : 2
BPM : ~100x3

Sufficient for fast beam mode switchingIntegrity monitors soon
EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

23

KEK and SuperKEKB

Three Virtual Accelerators
 Controls and instrumentations are essentially mode-dependent, andmutually independent Selecting a real machine out of three virtual machines Managing three parameter sets (four under SuperKEKB environment)e− Gune– BT (PF: 2.5GeV, 0.1nC)

PF Injection�

ARC

e+ Target

Event-based
Control Systeme− GunARC

KEKB-LER Injection�

Primary e– (4GeV, 10nC)

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

e+ Targete− GunARC

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

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

24

KEK and SuperKEKB

Three-fold Independent Closed Loops Feedback loop software act on one of three virtual machines Managing independent parameter setse− Gune– BT (PF: 2.5GeV, 0.1nC)

PF Injection�

ARCe+ Target

Event-basedControlSysteme− GunKEKB-LERInjection�
Primary e (4GeV, 10nC)

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

e+ Targete− GunARC

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

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

25

KEK and SuperKEKB

Summary
Controls Have Interface to Every System inAccelerators
 We can Enjoy Accelerator

There should be Room to Establish FurtherControls Utilizing Beam Monitors, RFMonitors, and More With Phronesis, Ability to understand the Universal
Truth

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

26

KEK and SuperKEKB

Thank you

EPICS Collaboration Meeting / BNL

Kazuro Furukawa, KEK, Oct.2010.

27