Kazuro Furukawa, KEK, May.2009. Event System and Embedded IOCs EPICS Meeting, Vancouver 1 Event System and Embedded IOCs at KEK Recent Activities at KEK.

Slides:



Advertisements
Similar presentations
RTEMS and Linux at the Canadian Light Source Tony Wilson Canadian Light Source University of Saskatchewan.
Advertisements

01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
K.Furukawa, Apr EPICS at KEKB Injector EPICS-ness at KEKB Injector Kazuro Furukawa, KEK. KEKB Injector and Legacy Controls Network Controllers EPICS.
Dayle Kotturi Facility Advisory Committee Meeting October 12, 2004 Injector/Linac Controls An overview of the status of each of.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
Kazuro Furukawa, KEK, Jun EPICS Collaboration Meeting / NSRRC SuperKEKB Controls 1 Recent developments towards SuperKEKB controls Kazuro Furukawa.
Kazuro Furukawa, KEK, Oct EPICS Collaboration Meeting / BNL KEK and SuperKEKB 1 Recent progress at KEK and Plans for SuperKEKB Kazuro Furukawa for.
Single Board Computers and Industrial PC Hardware at the CLS
BPM DAQ for KEK Linac EPICS IOC using WindowsXP-based Oscilloscope for BPM DAQ System in KEK e-/e+ Linac Masanori Satoh (KEK Linac) June 13-16, 2011 EPICS.
INTRODUCE OF SINAP TIMING SYSTEM
Overview of SINAP Timing System Electronics Group Beam Diagnostics & Control Division SINAP.
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
K.Furukawa, Feb Controls Activity at KEK Controls Activities at KEK Issues for ILC Kazuro Furukawa, KEK.
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
Beam diagnostics control for J-PARC LINAC Guobao SHEN J-PARC Center Japan Atomic Energy Agency Mar
EPICS at APS in June.2006, n.kami, KEK J-PARC Status N. Kamikubota, KEK and J-PARC Control members * Try to enhance updates in the last 1 year.
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
Status of BEPCII Timing System Presented by Ge Lei IMAC 2006.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
Status of EPICS at KEK Tatsuro NAKAMURA KEK Jun
K.Furukawa, Apr EPICS at KEKB Injector EPICS-ness at KEKB Injector Kazuro Furukawa, KEK. KEKB Injector and Legacy Controls Network Controllers EPICS.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
1 Timo Korhonen PSI 1. Concepts revisited…again 3. New (Diamond) cards features and status 4. EPICS interface 5. Conclusions SLS & Diamond Timing System.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
Stephanie Allison LCLS Controls Software Meeting Dec 6, 2007 How To Set Up for the Event System on an IOC with an EVR(s) Assumes.
1 Current Status of The Control System for J-PARC Accelerator Complex Hiroshi YOSHIKAWA J-PARC Center at KEK/JAEA October 16, 2007 ICALEPCS2007 at Knoxville.
Injector Commissioning Masanori Satoh (Accelerator Laboratory, KEK) for the Injector Linac Commissioning Group The 20th KEKB Accelerator Review Committee,
Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Event System at KEK Kazuro Furukawa, KEK KEKB and Linac.
Kazuro Furukawa, KEK, Jun EPICS Collaboration Meeting / NSRRC SuperKEKB Event / Timing Controls 1 Timing system towards SuperKEKB controls Kazuro.
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Accelerator Controls at KEK Mainly KEKB and Linac Evolution.
BEPC II TIMING SYSTEM EPICS Seminar Presented by Ma zhenhan IHEP 20.August 2002.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
Bunch Numbering P. Baudrenghien AB/RF for the LHC/RF team.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
Design of New LLRF System for the SPring-8 Storage Ring T. Ohshima on behalf of RF team of SPring-8-II project LLRF Workshop Shanghai.
ESS (vacuum) control system Daniel Piso Controls Division February 20, 2013.
ICS interfaces Timo Korhonen ICS Apr 22, 2015.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
ATF/ATF2 Control System
SLS Timing Master Timo Korhonen, PSI.
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
Table 1: The specification of the PSICM and the ePSICM Prototypes
Fill-pattern Control System for KEKB
LCLS Event System - Software
< kek.jp > Measurement and Data Acquisition for Accelerator Controls at KEK (Beam Position Monitor at Linac) Kazuro Furukawa < kazuro.
Timing and Event System for the LCLS Electron Accelerator
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
SLS & Diamond Timing System update
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
EPICS status and future at KEK Control Group / Commissioning Group e-/e+ Injector Linac, KEK, Japan Masanori Satoh.
Breakout Session: Controls
Device support for VMIVME-5565 and its usage at KEK
Timing and Event System Status DOE Review of the LCLS Project SC5 - Controls Systems Breakout Session S. Allison, M. Browne, B. Dalesio, J. Dusatko,
Channel Access Concepts
Presentation transcript:

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 1 Event System and Embedded IOCs at KEK Recent Activities at KEK MRF Event System for 50Hz Beam Switching F3RP61, PLC-Embedded IOCs, etc ATCA/  TCA for LLRF Kazuro Furukawa For KEKB and Linac Control Groups May

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 2 Simultaneous Injection Requirements  Linac clients  KEKB 8-GeV e– 1nC x2 3.5-GeV e+ 1nC x2 (with 10nC primary e–)  PF 2.5-GeV e– 0.1nC  (PF-AR 3-GeV e– 0.2nC)  At first simultaneous top-up injections to three rings at KEKB and PF  Switching beams at 50Hz  For stable operation and higher quality exp. results Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 3 Event System Configuration  MHz event rate, 50Hz fiducials  More than hundred 50Hz-Analog/Timing PVs  Multi/single-mode fiber  Timing precision is < 10ps.  < 1ps with external module. ARC e + Target e + BT (KEKB: 3.5GeV, 2nC) e – BT (KEKB: 8GeV, 2nC, PFAR: 3.0GeV, 0.1nC) e – BT (PF: 2.5GeV, 0.1nC) Event Receivers Event Generator e − Gun Cont-1 KL_51/52 SB_5 SB_4 SB_3 Cont-5 Cont-4 Cont-3 Cont-2 SB_2 KL_B5/B6 SH_A1 SB_B Central Cont-ABC  MRF’s series-230 Event Generator / Receivers.  VME64x and VxWorks v  EPICS R with DevSup v  13 event receivers for now. Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 4 Synchronization Scheme  Synchronization Req.  KEKB : < 30ps  PF : < 300~700ps  Linac rf is Synchronized to KEKB rf  Event Clock is MHz  We have to manage  Circumference compensation  Bucket selection  Injection phase controls Rubidium SG 10 MHz HER/LER Injection Phase Control SG MHz MHz 2856 MHz MHz SHB1 Phase Control SHB2 Phase Control KEKB HER/LER Circumference Correction Acc. Phase, Timing Control kHz HER/LER Bucket Selection HER/LER Bucket Selection Event System MHz Flip-flop PF Revolution PF Circumference Correction Bucket Selection Flip- flop 50Hz AC Line Sync. 1.6 MHz Event System MHz Linac SHB KEKB Revolution x 5 X 49 ÷ 275 ÷ 5120 for KEKB Clock Fiducial for PF Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 5 Beam Mode Pattern Generation  Every pulse (every 20ms) corresponds to a beam mode.  10 different beam modes are defined (for KEKB e+, etc).  One beam mode may contain many event codes.  At least one main code and a preparation code for the next pulse.  Beam pattern buffer length (n) can be 2 to 500 (20ms x 500 = 10 seconds).  A new pattern can be loaded at the end of the previous pattern.  Otherwise, the pattern repeats forever.  Pattern generator software arbitrates requests from downstream rings.  There are many pattern rules due to pulse device features and limitations.  Pattern generator software is written in scripting languages to meet daily changes during the commissioning stage. Beam Mode 1 Beam Mode 2 Beam Mode 3 ……… Beam Mode n Pulse 1Pulse 2Pulse 3Pulse n Main event code for ‘n’ Preparation event code for ‘n+1’ Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 6 Beam Mode Pattern Generators  There are several versions  Because we were commissioning new pulsed hardware equipment, the beam optics schemes, event system itself, etc, since autumn 2008  One of them is mostly used, remote or human controllable, automatic- prioritized arbitrated, etc Remote controlled automatic pattern arbitrator Manual pattern generator  Typical operation in Apr  ~25Hz for KEKB LER  ~12.5Hz for KEKB HER  ~0.5Hz for PF Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 7 LLRF  LLRF Timing/analog signals are essential for absolute energy, energy spread, and dual-bunch energy equalization.  Signals are switched pulse-by-pulse.  Value changes are triggered by a preparation event. Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 8 BPM  Tektronix DPO7104 can acquire data at 50Hz.  With embedded EPICS  Beam modes are recognized by events through CA network.  Clients can monitor data of an interested beam mode.  26 oscilloscopes are installed.  100 BPMs are synchronized. (100 BPMs at BT as well soon) Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 9 Linac Event System  Satisfies the requirements  Event rate : MHz  Fiducial rate : 50Hz  Timing jitter (Short term) : ~8ps  No. of defined events : ~50  No. of receiver stations (now) : 13  No. of Fast parameters (now) : ~120  Beam currents are kept within  KEK 2mA (improving)  PF 0.1mA (in 450mA) CPU EVG EVR Opt. Fan-out Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 10 KEKB Operation Improvement May.2000 Apr.2003 Dual Bunch e + Feb.2005 Continuous Injections Dec.2008 Crab Cavities and Quasi-simultaneous Injection Belle/KEK Event System

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 11 (Initial) PLC usage at KEK  At e–/e+ Linac  We enforced that all the new controllers should be connected over IP/Ethernet since 1993 (instead of other field networks)  PLC was much cost-effective compared with VME  if the speed requirement allows  Products from OMRON, Mitsubishi, Yokogawa, etc. were installed  Only Yokogawa (FAM3) remained and others were removed, because maintenance capability over network was better  Ladder software downloadable over IP/Ethernet, etc.  (Recently Mitsubishi also added that feature)  170 PLCs (with Ethernet) used for RF, Magnets, Vacuum, (Safety), etc  At J-PARC  Many installations with the same reasons as e-Linac  At KEKB  Used indirectly at many devices, over serial or GPIB links  Even custom hardware modules can be designed (I/O Open) PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 12 Software management with PLCs  Ideal at the beginning  Separate software development at control group, at equipment group, or at industrial company  Later, integration test with IP/Ethernet  Logic management, however  Same logics could be placed at ladder software, in EPICS database/squencer (or in high-level applications)  Speed requirement  Closed loop over Ethernet was slow, sometimes un-reliable  Interrupts were possible, but slow and complicated  Thus, hoped to run EPICS on PLC PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 13 EPICS on PLC  VxWorks CPU was available on PLC (Yokogawa, Mitsubishi)  Besides normal sequence / ladder CPU  However, license management of vxWorks …  Yokogawa starts to provide Linux (2.6) on PLC CPU (F3RP61)  Brave enough to choose open source environment  We negotiate with Yokogawa to remove any license issues  Odagiri/KEK, Uchiyama/SHI-RIKEN, Yamada/KEK made much effort to realize the implementation, (but no need for asynchronous records)  Takuya-Nakamura/MSC-KEK tailored the environment for KEKB  Procserv, pcmon, NFS, …  Three new IOCs are used in KEKB operation  Since September 2008, and another later, four in total  Beam mask controllers and Pulsed-quad controllers  No trouble at all, they run more than 6 months  ~20 new IOCs are also used in J-PARC operation now PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 14 F3RP61 (e-RT3 2.0) Linux PPC 533MHz 128Mbyte RAM 100BaseTx x 2 USB IEEE1394 Serial PCI I/O Bus for FAM3 Module Interface can access to mature FAM3 I/O Modules Can be combined with conventional ladder CPU Software development environment (ELDK) KEKB Beam mask controller PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 15 Simple Usage under EPICS Conventional PLC usage with asynchronous access FAM3 PLC I/O Modules FAM3 PLC I/O Modules F3RP61 IOC F3RP61 IOC FAM3 PLC I/O Modules FAM3 PLC I/O Modules Ladder CPU (Logics) Ladder CPU (Logics) OPI Clients OPI Clients IOC (Logics) IOC (Logics) PLC usage with F3RP61 with only synchronous access and maybe with sequencer OPI Clients OPI Clients FAM3 PLC I/O Modules FAM3 PLC I/O Modules F3RP61 IOC F3RP61 IOC If necessary, we can combine OPI Clients OPI Clients Ladder CPU PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 16 Device Support  No need for asynchronous access  Direct access to all I/O modules  Can access to registers on ladder CPU  If necessary  Interrupts also possible  Logics can be database links or sequencers  Did extend the number of EPICS developers  Source code and documents   Local development, PREEMPT_RT realtime (Yamada, et al) PLC embedded IOC

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 17 Other Developments at KEK  By A. Akiyama, et al  Embedded IOC on FPGA controller  By M. Satoh, et al  Embedded IOC on oscilloscopes  By A. Kazakov, et al  Redundant IOC (RIOC with OSI supports)  Redundant Gateway  ATCA IOC with HPI/SAF support for RIOC  ATCA for STF/ILC-LLRF and  TCA for ERL-LLRF  Automatic test system environment  By Klemen Zagar, et al  Wireshark protocol analyzer for CA

Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 18 Thank you