KEKB and Super KEKB Controls kazuro furukawa kek
KEKB and Super. KEKB Controls < kazuro. furukawa @ kek. jp > Control System Achievement at KEKB and Upgrade Design for Super. KEKB K. Furukawa, A. Akiyama, E. Kadokura, T. Kudou, M. Kurashina, S. Kusano, K. Mikawa, F. Miyahara, T. T. Nakamura, J. Odagiri, T. Okazaki, M. Satoh, T. Suwada, K. Yoshii (Control Group, Super. KEKB Ring/Linac) October 2011. Kazuro Furukawa, KEK, Oct. 2011. 1
KEKB and Super. KEKB Controls Earthquake in March – Thanks u. Thank you so much for your warm messages from all over the world. u. Operation will be normal soon. Kazuro Furukawa, KEK, Oct. 2011. 2
KEKB and Super. KEKB Controls 1998 - 2010 u. EPICS as Main control Software Toolkit v Became one of de-facto standard at 1995 v Several fieldbuses were incorporated ³ VME, VXI, CAMAC, Arc. Net, GPIB, etc v Reduced software design efforts much u. Scripting Languages for Operational Software v SADscript/Tk, Python/Tk, Tcl/Tk used much ³ Especially, SADscript as a bridge btw. Accelerator simulation, Numeric manipulation, Graphic interface and EPICS controls v Bright new idea in the morning meeting could make the operation much advanced in the evening ³ Great tool to optimize the operation Kazuro Furukawa, KEK, Oct. 2011. 3
KEKB and Super. KEKB Controls SADscripts/Tk u. Many machine diagnostic and correction/feedback tools should be provided u. Hundred of 1% improvements will provide twice better performance, rapidness is important Kazuro Furukawa, KEK, Oct. 2011. 4
KEKB and Super. KEKB Controls Change in Operation Modes at KEKB Belle/KEK ba an sis d fle of r Co ob xi n tro bl u st e ls ev o ol pe pro May. 2000 ut ra vi io de t i o n n f Apr. 2003 or en Dual Bunch e da vi ro i l y Feb. 2005 n ad me Continuous va nt Injections nc es Dec. 2008 + Crab Cavities and Simultaneous Injection Kazuro Furukawa, KEK, Oct. 2011. 5
Super. KEKB and Super. KEKB Controls Super. KEKB u. Electron-positron asymmetric collider v Based on a decade of successful operation at KEKB u. Aims at 40 -times higher luminosity v 8 x 1035 cm-2 s-1 for further flavor physics studies v 7 Ge. V / 2. 6 A electron, 4 Ge. V / 3. 6 A positron v by* ~ 0. 3 mm, ex /ey ~ 4 nm/9 pm, sy ~ 50 nm, sz ~ 6 mm v Ante chamber, longer bend, damping ring, rf gun, etc Kazuro Furukawa, KEK, Oct. 2011. 6
Super. KEKB and Super. KEKB Controls u. Inherit Good part of KEKB Controls v EPICS v Scripting languages v With simple rejuvenation of software/hardware u. Two Additional Concepts Kazuro Furukawa, KEK, Oct. 2011. 7
Super. KEKB and Super. KEKB Controls 1 st: CA Everywhere u. EPICS Channel Access (CA) Everywhere v Embed EPICS control software (IOC) everywhere possible v Reduce efforts on protocol design, testing, etc Kazuro Furukawa, KEK, Oct. 2011. 8
CA Everywhere KEKB and Super. KEKB Controls Transition of Architecture Mini Computer Devices 1990~ 1993~ 2005~ Unix OPI TCP/RPC /CA Channel Access VME/IOC Field Networks TCP/IP Channel Access Device Controller Device IOC Kazuro Furukawa, KEK, Oct. 2011. 9
CA Everywhere KEKB and Super. KEKB Controls Overview of controls at KEK u. VME + Unix (1990~) v Standard model (later EPICS) configuration ³ With several fieldbuses u. 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 maintenance ³ May need some consideration on network management Kazuro Furukawa, KEK, Oct. 2011. 10
CA Everywhere KEKB and Super. KEKB Controls Embedded EPICS IOCs at (Super)KEKB u. Not only information server, but also the same software framework on every controller ³ Rapid development and smooth maintenance v m. TCA LLRF module: Linux/FPGA (Odagiri…) THDAULT 05 v Yokogawa PLC: Linux CPU (Odagiri…) v Oscillo. 50 Hz measurement: Windows (Satoh…) OPI v MPS management : Linux/FPGA (Akiyama…) CA v Timing TDC: Linux/Arm (Kusano…) v Power modulator: Linux/FPGA (Kusano…) IOC v Libera BPM at 50 Hz: Linux/FPGA (Satoh…) CA v NI c. RIO : CAS/FPGA (Odagiri…) Device IOC v Many more… Kazuro Furukawa, KEK, Oct. 2011. 11
CA Everywhere KEKB and Super. KEKB Controls Simpler PLC Usage under EPICS Conventional PLC usage OPI CA Clients with asynchronous access IOC (Logics) OPI CA Clients Ladder CPU (Logics) FAM 3 PLC I/O Modules F 3 RP 61 IOC FAM 3 PLC I/O Modules If necessary, we can combine OPI CA Clients F 3 RP 61 IOC Ladder CPU FAM 3 PLC I/O Modules Logics are confined in PLC, and management is easier Kazuro Furukawa, KEK, Oct. 2011. 12
Super. KEKB and Super. KEKB Controls 2 nd: Dual-layer Controls u. Another layer in addition to EPICS/CA v Event system helps EPICS with another channel v Additional functionality, synchronization and speed Kazuro Furukawa, KEK, Oct. 2011. 13
Dual-layer Controls KEKB and Super. KEKB Controls Dual-layer Controls u. IOC controls via Conventional EPICS CA ³ Above 1 ms, ordered controls u. Fast FPGA controls via SFP/Fiber ³ 10 ps ~ 100 ms, 114 MHz synchronous controls OPI Channel Access IOC IOC EVG EVR EVR FPGA/SFP Kazuro Furukawa, KEK, Oct. 2011. 14
Dual-layer Controls KEKB and Super. KEKB Controls Fast Global Synchronous Controls u MRF’s series-230 Event Generator / Receivers u 114. 24 MHz event rate, u VME 64 x and Vx. Works v 5. 5. 1 50 Hz fiducials u EPICS R 3. 14. 9 with Dev. Sup v 2. 4. 1 u. More than hundred u 17 event receivers up to now 50 Hz-analog/timing param. Event Generator Central u. Multi/single-mode fiber u. Timing precision is < 10 ps. SH_A 1 KL_B 5/B 6 SB_B Injection SB_A e− Gun ARC v < 1 ps with external module. 96 ns e– BT (PF: 2. 5 Ge. V, 0. 1 n. C) >100 ns Cont-ABC KL_51/52 SB_C SB_1 SB_2 SB_3 SB_4 SB_5 e+ BT (KEKB: 3. 5 Ge. V, 2 n. C) e+ Target Cont-1 Cont-2 >100 ns 96 ns Cont-3 Cont-4 Cont-5 Event Receivers e– BT (KEKB: 8 Ge. V, 2 n. C, PFAR: 3. 0 Ge. V, 0. 1 n. C) Kazuro Furukawa, KEK, Oct. 2011. 15
Dual-layer Controls KEKB and Super. KEKB Controls Event Manipulation Human Operator Injection Programs Flexible with script and reliable/fast with FPGA. Arbitrate and Generate Beam Mode Pattern (in Python. Tk) considering priorities of the ring accelerators equalizing pulsed power supply interval in arrays of length 2 (40 ms) to 500 (10 s) each element corresponds to a 20 -ms time slot and a beam mode Generate Events for the Next 20 -ms Time Slot (in Event Generator) reading two consecutive elements from the beam mode pattern generate several events for the next pulse generate preparation events for the next after next Generate Signals based on Received Events (in Event Receiver) generate pulsed signals as prepared in the previous time slot program the signals (analog value, delays, etc) for the next start to generate analog signals for the next Kazuro Furukawa, KEK, Oct. 2011. 16
Dual-layer Controls KEKB and Super. KEKB Controls One Machine, Multiple Virtual Accelerators (VAs) u Control/Monitor are carried dependent on a VA v Mostly independent between VAs u Independent parameter set for each VA, one of the VAs is controlled at a time v VAs for Injections (HER (e-), LER (e+), PF-AR) and Linac-only in Super. KEKB project e− Gun ARC e– BT (PF: 2. 5 Ge. V, 0. 1 n. C) PF Injection e+ Target Event-based Control System e− Gun ARC KEKB-LER Injection e+ BT (KEKB: 3. 5 Ge. V, 0. 6 n. C) Primary e– (4 Ge. V, 10 n. C) e+ Target e− Gun ARC KEKB-HER Injection e+ Target e– BT (KEKB: 8 Ge. V, 1. 2 n. C) Kazuro Furukawa, KEK, Oct. 2011. 17
Dual-layer Controls KEKB and Super. KEKB Controls Multiple Closed Loop Controls Overlapped u Closed loops can be installed on each VA independently v Tested at KEKB e− Gun ARC e– BT (PF: 2. 5 Ge. V, 0. 1 n. C) PF Injection e+ Target e− Gun Event-based Control System ARC KEKB-LER Injection Primary e– (4 Ge. V, 10 n. C) e+ BT (KEKB: 3. 5 Ge. V, 0. 6 n. C) e+ Target e− Gun ARC KEKB-HER Injection e+ Target e– BT (KEKB: 8 Ge. V, 1. 2 n. C) Kazuro Furukawa, KEK, Oct. 2011. 18
KEKB and Super. KEKB Controls Towards Super. KEKB u. Upgrade of controllers for each type of device v Discussions with device groups, for aging controllers u. Base software components, OS, EPICS, CSS, (Scripting) Languages v Especially EPICS Collaboration-based software u. Operational software v Archiver, Archive viewer, Alarm, e-Log, etc u. Information sharing to offices v More Web based application software u. Seminar and training u. IP Networking, Wireless LAN, Console Desk, etc Kazuro Furukawa, KEK, Oct. 2011. 19
KEKB and Super. KEKB Controls Accelerator Controls u. It’s a fan to interact with all the components of the accelerator through control hardware and software u. It’s a fan to interact with all the staff members of the project in order to design and improve controls u. We can contribute to the machine performance and the results even without realizing it Kazuro Furukawa, KEK, Oct. 2011. 20
KEKB and Super. KEKB Controls Conclusion u. Control efforts have contacts with all activities in the particle accelerator. We are at the privileged position to enjoy it. u. Based on existent KEKB controls, “CA Everywhere” and “Dual-layer Controls” should be enforced. u. With some Phronesis (Greek: practical wisdom, ability to understand the universal truth), we believe we can achieve the target. Kazuro Furukawa, KEK, Oct. 2011. 21
KEKB and Super. KEKB Controls Mt. Tsukuba Thank you Super. KEKB dual rings PF-AR PF Linac Kazuro Furukawa, KEK, Oct. 2011. 22
KEKB and Super. KEKB Controls Thank you Kazuro Furukawa, KEK, Oct. 2011. 23
KEKB and Super. KEKB Controls Backup Kazuro Furukawa, KEK, Oct. 2011. 24
KEKB and Super. KEKB Controls u. Many medium-speed controllers implemented v KEKB, Linac, J-PARC, PF, c. ERL, RIKEN, NSRRC, (Korea/PAL, Beijing/IHEP) u. Image processing module available u. Discussing on EVR module production with SINAP/Shanghai <http: //www-linac. kek. jp/cont/epics/f 3 rp 61/> Kazuro Furukawa, KEK, Oct. 2011. 25
KEKB and Super. KEKB Controls Event Receiver Development Collaboration with SSRF u For PLC (F 3 RP 61 Linux CPU) u Under fabrication u Many more synchronous controls at a reduced cost Kazuro Furukawa, KEK, Oct. 2011. 26
KEKB and Super. KEKB Controls Event-based Timing and Fast Global Synchronous Controls u. Several Stable RF Frequencies (RF group) v 114, 509, 571, 1298, 2856 MHz, Rubidium-based u. Independent Circumference Correction and Bucket Selection v KEKB: ~4 x 10 -7, PF-AR: 4~20 x 10 -6 u. Super. KEKB Injection Timing < 30 ps v PF, PF-AR Injection with accidental sync. ~300 ps u 4 -ring Simultaneous Injection v Exchange energy, charge, sync. every 20 ms v With damping ring (≧ 20 ms) further complexity u. LLRF control and monitor are important Kazuro Furukawa, KEK, Oct. 2011. 27
KEKB and Super. KEKB Controls Event System Consideration for Super. KEKB u. Possibly Cascaded Event Systems v. For damping ring, main ring and other sub-systems u. New firmware with new register map v. For newer device support software in EPICS community ³Several local modification already, want to synchronize with other institutes v. Several institutes in Asia may use Compact. PCI as well ³Whether PLC version can use the same environment? ? u. Several fast control projects for Super. KEKB v. Several embedded systems with PLC EVRs for RF stations v. Bucket selection to cover both damping and main rings ³In KEKB, separate system was used and selection signal was used as AC to EVG v. Fast feedbacks in Linac and in main ring u. Several others Kazuro Furukawa, KEK, Oct. 2011. 28
KEKB and Super. KEKB Controls Super. KEKB Plan (1) u For nano-beam scheme with 40 -times higher luminosity v Many new facilities should be required u Will start based on the existent environment v With additional concept of CA everywhere u Help device groups to have better global controls v Replacement of old installations such as CAMAC v Solutions not only VME but also other types of controllers, embedded EPICS if possible u Faster networks for the groups who can build controllers by themselves u Better connection to operational environments v Keeping SAD environment, etc v Monitoring at offices Kazuro Furukawa, KEK, Oct. 2011. 29
KEKB and Super. KEKB Controls Super. KEKB Plan (2) u Archiving scheme and viewer v Maybe existing KEKBlog and channel archivers ³ New viewer should be developed u Alarm handler v CSS or Python (to simulate KEKBalarm) ³ Evaluating u Operational Log v In house, two versions with different origins ³ Postgres + (Python/Zope and Flash/Flex) u Scripts v SADscript/Tk, Python/Tk, (decreasing Tcl/Tk) u Displays v CSS and MEDM/EDM Kazuro Furukawa, KEK, Oct. 2011. 30
KEKB and Super. KEKB Controls Super. KEKB Plan (3) u. Interviews to each device groups v Planning to have meetings and trainings ³ To collect user requirements, etc v Partially successful for old hardware replacements ³ Not yet effective for new functionalities w Whether both sides do not have experiences u. Additional controls v ex. Global orbit feedback ³ May provide EPICS interface, middle-speed feedback, etc Kazuro Furukawa, KEK, Oct. 2011. 31
KEKB and Super. KEKB Controls u. EPICS as basic environment v As standard software configuration as of 1997 v Several field networks, CAMAC, Arc. Net, etc u. Scripting languages for operational tools v SADscript, Python/Tk, Tcl/Tk v Rapid modifications based on daily meetings v Any operators should be able to manipulate beams, and so on Kazuro Furukawa, KEK, Oct. 2011. 32
KEKB and Super. KEKB Controls Vacuum Controls With Hisamatsu et al. u. CAMAC, GPIB, VME, PLC, … u. Compact. RIO(? ) and Yokogawa-PLC, … v with possibly embedded EPICS IOC/CA-server v Joined in developments in vacuum group v Component software for Super. KEKB is ready v Application software requirement is being analyzed Kazuro Furukawa, KEK, Oct. 2011. 33
KEKB and Super. KEKB Controls Magnet Controls With Tokuda et al. u. Several options in the past v Analysis of ARCnet-based controllers v Versions of Ethernet-based controllers u. Decided to develop new ARCnet system v Power-supply control card v ARCnet Hub v VME interface card v Fabrication in FY 2011, Evaluation in FY 2012 Kazuro Furukawa, KEK, Oct. 2011. 34
KEKB and Super. KEKB Controls Beam monitor with Tobiyama et al. u. Provide VME basis and networks v VME “is” slow, as you know ³ Part of issues was resolved ³ VME extension (64 bit, serial-bus) is possible, but modification to I/O cards necessary ³ Micro. TCA with physics extension? v Gb. E IP networks to devices, 1 G or 10 G for backbone v Dark fiber for direct feedback communication? Kazuro Furukawa, KEK, Oct. 2011. 35
KEKB and Super. KEKB Controls Protection systems u. Personnel protection system with Mimashi et al. v EPICS interface to safety system based on Yokogawa PLCs v Provide help for CSS user interfaces, archivers, … u. Machine protection system with Suetake et al. v Maybe as it is v Possible to provide replacement with FPGA-based controller (, which is used at J-PARC and STF, c. ERL) Kazuro Furukawa, KEK, Oct. 2011. 36
KEKB and Super. KEKB Controls Timing requirement at Super. KEKB u Stable multiple frequencies (114, 571, 1298, 2856, 509 MHz) v Beam bunching for large-current positron single-bunch generation v Need integer relations (common freq. 10. 38 MHz) u Injection timing precision of 30 picoseconds v Integer relation to (Super)KEKB for aperture at IP ³ Accidental coincidence for PF and PF-AR with less severe condition u Independent Circumference corrections at KEKB, PF-AR v KEKB changes 4 x 10 -7, PF and PF-AR changes 4~20 x 10 -6 u 2 bunches in a single pulse (50 Hz) v Separated by 96 ns (common freq. 10. 38 MHz) u Simultaneous top-up injections to 4 rings Super. KEKB HER/LER, PF and PF-AR, thru damping ring v Common beam transport to KEKB and PF-AR will be upgraded Kazuro Furukawa, KEK, Oct. 2011. 37
- Slides: 37