Kazuro Furukawa, KEK, Jan.2009. Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Event System at KEK Kazuro Furukawa, KEK KEKB and Linac.

Slides:



Advertisements
Similar presentations
01/11/2002SNS Software Final Design Review1 V123S Event Link Encoder, Transmission System and PLL Receiver Thomas M. Kerner (BNL) SNS Global Controls.
Advertisements

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)
Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 1 Event System and Embedded IOCs at KEK Recent Activities at KEK.
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
Stephanie Allison/John Dusatko EPICS Collaboration Meeting May 1, Timing and Event System for the LCLS Electron Accelerator*
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.
Data Acquisition System for 2D X-Ray Detector Beijing Synchrotron Radiation Facility (BSRF) located at Institute of High Energy Physics is the first synchrotron.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
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.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
The TIMING System … …as used in the PS accelerators.
LCLS-II Linac LLRF Control System – L1, BC1 Zheqiao Geng Final Design Review May 7, 2012.
Kazuro Furukawa, KEK, Oct EPICS Collaboration Meeting / BNL KEK and SuperKEKB 1 Recent progress at KEK and Plans for SuperKEKB Kazuro Furukawa for.
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.
Electronics for PS and LHC transformers Grzegorz Kasprowicz Supervisor: David Belohrad AB-BDI-PI Technical student report.
1 KEK e-/e+ Linac and EPICS Channel Access Servers – EPICS Training – K.Furukawa – Mar EPICS KEK e - /e + Linac and EPICS CA Servers Kazuro Furukawa,
Experience of Developing BEPCII Control System Jijiu ZHAO IHEP, Beijing October 18, 2007.
K.Furukawa, Feb Controls Activity at KEK Controls Activities at KEK Issues for ILC Kazuro Furukawa, KEK.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
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.
John Dusatko 2012 EPICS Timing Workshop The SLAC Timing System April 24, The Accelerator Timing System at SLAC: Experiences, Ideas & Future Plans.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Micro-Research Finland Oy Timing System Modules Jukka Pietarinen EPICS Collaboration Meeting, Argonne, June 2006.
Micro-Research Finland Oy MRF Timing System Jukka Pietarinen Timing Workshop CERN February 2008.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS-I/LCLS-II Timing System Low Level Kukhee Kim for LCLS Timing Team ICD Software,
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.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Issues in Accelerator Control Bob Dalesio, December 23, 2002.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
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.
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.
The recent history and current state of the linac control system Tom Himel Dec 1,
BIC Issues Alan Fisher PEP-II Run-4 Post-Mortem Workshop 2004 August 4–5.
Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Accelerator Controls at KEK Mainly KEKB and Linac Evolution.
Real time performance estimates of the LHC BPM and BLM system SL/BI.
BEPC II TIMING SYSTEM EPICS Seminar Presented by Ma zhenhan IHEP 20.August 2002.
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg May 21-23, SLAC EPICS Projects Yesteryear, Today, and Tomorrow.
Timing System R+D for the NLC Josef Frisch. NLC and PEPII Phase and Timing Requirements (approximate)
Managed by UT-Battelle for the Department of Energy Kay Kasemir Jan Experimental Physics and Industrial Control System.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
ORNL is managed by UT-Battelle for the US Department of Energy Low Level RF Status and Development Activities at the Spallation Neutron Source Mark Crofford.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
SLAC I&C Division / EE Department
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
ATF/ATF2 Control System
SLS Timing Master Timo Korhonen, PSI.
LCLS Timing Software and Plan
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
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
EPICS: Experimental Physics and Industrial Control System
SLS & Diamond Timing System update
EPICS status and future at KEK Control Group / Commissioning Group e-/e+ Injector Linac, KEK, Japan Masanori Satoh.
Device support for VMIVME-5565 and its usage at KEK
Presentation transcript:

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Event System at KEK Kazuro Furukawa, KEK KEKB and Linac Control Groups Jan

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 2 Linac; Original Physical Structure  Multi-tier, Multi-hardware, Multi-client, … Linac Controls

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 3 Linac; Original Software Architecture  Base control software structure for Multi-platform  any Unix, OS9, LynxOS (Realtime), VMS, DOS, Windows, MacOS  TCP - UDP General Communication Library  Shared-Memory, Semaphore Library  Simple Home-grown RPC (Remote Procedure Call) Library  Memory-resident Hash Database Library  Control Server software  Lower-layer servers (UDP-RPC) for control hardware  Upper-layer server (TCP-RPC) for accelerator equipment  Read-only Information on Distributed Shared Memory  Works redundantly on multiple servers  Client Applications  Established applications in C language with RPC  Many of the beam operation software in scripting language,  Tcl/Tk  SADscript/Tk Linac Controls

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 4 Network with only IP/Ethernet  The policy chosen when we upgrade Linac in 1993  Make network management simpler  Faster switches, routing, network-booting, etc.  Avoid Hardware failure and analysis effort with old field network  Home-grown field networks need much dedicated man-power  Cost for optical Ethernet went down at around 1995  Linac has high-power modulator stations, noise source  Nowadays many facilities have this policy with GbE  J-PARC controls basically followed this  More and more intelligent network devices  ex. Oscilloscopes with Windows/3GHz-Pentium built-in  Even EPICS IOC, MATLAB, or others can be embedded  Network components can be replaced one-by-one  Security consideration will be more and more important Available Technologies

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 5 Communication Network at Linac  Fiber-optic Networks (1982~)  Because of High-power modulators for rf systems  ~30 Loops to connect many equipment controllers  However, the fiber-optic Technology was not mature enough yet  Often Failed and Loop Topology made it difficult to identify the trouble  All IP network (1993~)  Still all Fiber-optic  (Faster Ethernet enables shorter packets and less failures)  Inherited at J-PARC Controls as well  Gradual Transition of Technologies  From FDDI + 10Base-FL to 1000Base-LX + 100Base-Fx  Redundancy (1996~)  At more than 40 Ethernet links  Helped continuous operation in spite of a failure at night  Redundant Transceivers, then Rapid Spanning-tree and HSRP/VRRP Linac Network

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 6 Equipment Controllers at Linac  1982~(1997) (1st generation)  300 microprocessor-based controllers  Linked together with home-grown fiber-optic network  1993~now (upgrade of controls)  150 PLCs (programmable logic controller)  Linked via only Fiber-optic Ethernet/IP  Control communication with servers and program development  1995~now (upgrade for KEKB)  Direct Fiber-optic Ethernet/IP to each Controllers  30 VXI for rf measurement  7 VME / 10 CAMAC for Timing (will retire soon)  20 VME for Beam monitors (will retire soon)  2007~ (upgrade for 50Hz beam switching)  13 (increasing) VME for “event” handling, timing, llrf controls, etc.  24 Oscilloscopes with WindowsXP IOC for 100 BPMs  10Gs/s, 50Hz acquisition, local processing with 20 calibration parameter/BPM Linac Controller

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 7 EPICS Transition at Linac  Home-grown RPC at Linac (1990~/1993~)  Bad timing but no choice because of end of old mini-computer support  No real transition to EPICS yet at Linac  There are middleware and applications  LynxOS Transition was developed (1994~1996)  To cover both RPC and EPICS with pthread, posix  Mostly working, Failed to get funding for Hardware/Software upgrade  Gateways to EPICS in several ways  Software-only IOC and Gateway (Clients to both RPC/CA)  Portable Channel Access Server of EPICS-3.12 (1995~)  Soft-IOC with device support to Linac RPC (2002~)  Real IOCs are increasing  PLC(rf,vacuum,magnet) and Linux, Oscilloscope(bpm) with Windows, VME(llrf and timing)  RPC servers read EPICS IOCs, EPICS gateways read RPC servers EPICS at Linac

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 8 Recent Improvements  PLCs with Embedded EPICS (Linux)  from Ethernet-only to Channel-Access-only  Event system introduction  Single fiber to distribute synchronized, 10ps timing, 50Hz interrupts, data, etc  EPICS-embedded Oscilloscopes (Windows)  FPGA-based EPICS-embedded controllers (Linux)  Zlog operation log improvements  Used also at J-PARC, RIKEN, and BINP  Reliability improvement studies  Redundant IOC, ATCA and EPICS, Test systems

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 9 Linac & PF & KEKB  Simultaneous Continuous Injection to PF, KEKB-HER and KEKB-LER  50Hz Beam Pulses are Shared between 3 Rings  With very different Beam Properties, in Energy, Charge, etc.  50Hz Beam Instrumentation (Beam Position Monitor)  Only Passive Components other than Oscilloscope (Tek-DPO7104)  Windows-embedded (3GHz Intel), EPICS , VC++  One Oscilloscope reads 2-5 BPMs, 24 Oscilloscopes Installed  Synchronized 100-BPM Read-out  Introduction of Event System, EVG230-EVR230RF from MRF  10 EVR’s Installed, 1/3 of Old Timing Stations Replaced  VxWorks-5.5.1, EPICS , (Gave-up with RTEMS)  Event drives Low-level RF in VME, BPM Oscilloscopes over Network  Gun Parameters, Pulsed Magnets, Kickers, etc are Controlled 50Hz  Beam Pattern Rules on Client Script, can be Downloaded every second  More Development Needed  Flavoured Beam Feedback Systems  Event System Integrity Monitor EVG & Timing EVR & LLRF

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 10 Event System  Quasi-simultaneous Injection  to KEKB-HER, KEKB-LER, and PF  2.5GeV to 8GeV, 0.1nC to 10nC  Stable stored beam current at three rings  Should improve collision tuning with Crab cavities  Should improve the quality of experimental data at PF  Fast switching of many device parameters  In 20ms / 50Hz  Should be reliable because beam power is much different  MRF Series 230 Event Generator / Receiver  VxWorks 5.5.1, MVME5500, (Originally with RTEMS but…)  Timing precision less than 10ps (TD4 provides 3ps)  Multi-mode fiber and single-mode fiber for longer distance

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 11 Event System  Many accelerator system require timing signals and accompanying information (event)  Several facilities combined and used at KEKB and Linac  Fast Timing signals are provided with delay module TD4/TD4V  Need timing trigger and rf clock  (Slow) Events are provided in another facility  Combining Hardware and Software  Event/Timing Systems which distribute the both timing and event are developed at Argonne/SLS/Diamond, and are employed at many institutes (Event Generator/Receiver)  Fast Timing, rf clock, Hardware event, Software Interrupt, can be handled in one combined system with a single fiber cable  Especially in EPICS, event can be connected EPICS Event directly, so record/database programming is possible Event generator Event code Coax Cable or Optical fiber link Event receiver Fanout Event receiver Rf AC or trigger Output/Input

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 12 Event System  Distribution mechanism of timing with data/information  Developed based on experiences at several accelerator institutes  APS at Argonne (ANL/APS)  Swiss Light Source (PSI/SLS)  New Event System (EVG/EVR-200/230)  Employment at many accelerator institutes  DIAMOND, SLS, BEPCII, LCLS, Shanghai, KEK-Linac, Australia, …  (SNS), (LANL), (BNL), …  Many functionalities  Bit rate up to 2.5Gbps, Event rate MHz, ~10ps precision,  8bit signal, 2kbyte data buffer, EPICS support The stimulus to send an event can be: -pulse on a hardware input -software event (write to a register) -an entry in an event playback RAM When an event code is received the receiver can: -output a pulse, of specified delay and width -trigger a software action (process an EPICS record) Each event receiver can be programmed to respond in a different way to the same event code. Event generator Event code Optical fiber links Event receiver Fanout Event receiver  DIAMOND  (TRISTAN, KEKB, Linac) Rf AC or trigger Output/Input

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 13 Basic synchronization outside of EVG Control

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 14 Event system configuration, autumn 2008

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 15 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.  About 50 event codes are defined.  Some events correspond to many functions, and others to specific devices.  Beam pattern buffer length (n) can be 2 to 500 (20ms x 500 = 10 seconds).  A new pattern is 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.

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 16 Beam mode pattern generation Manual pattern designerA version for current operation

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 17 LLRF  Timing and analog signals are essential for absolute energy, energy spread, and dual-bunch energy equalization.  Signals can be switched pulse-by-pulse.  Driver klystrons (SB), energy tuner klystron (KL), and sub-harmonic bunchers (SH) are managed by the event system.

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 18 BPM  DPO7104 can acquire data in 50Hz.  Beam modes are recognized by events through network.  Clients can monitor data of an interested beam mode.  100 BPMs are synchronized.

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 19 Parameters  Parameters switching via Event system  RF Timing x~35  LLRF x~11  Gun voltages, fast delays, x4  Pulsed magnets x~12  Injection system x~4  BPM over channel access x~100  Basically sufficient for fast beam mode switching  More parameters next year  Integrity monitors  Improved slow beam feedback, fast feedback, etc.

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 20 Thank you

Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 21 Thank you