K.Furukawa, Apr.2005. EPICS at KEKB Injector EPICS-ness at KEKB Injector Kazuro Furukawa, KEK. KEKB Injector and Legacy Controls Network Controllers EPICS.

Slides:



Advertisements
Similar presentations
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
Advertisements

Current Status of Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda,
Kazuro Furukawa, KEK, May Event System and Embedded IOCs EPICS Meeting, Vancouver 1 Event System and Embedded IOCs at KEK Recent Activities at KEK.
Accelerator control at iThemba LABS. Some background No formal reliability procedures Cost considerations SSC operational 24/7 Shutdown total of 2 months/year.
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.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
K.Furukawa, Apr EPICS at KEKB Injector EPICS-ness at KEKB Injector Kazuro Furukawa, KEK. KEKB Injector and Legacy Controls Network Controllers EPICS.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
K.Furukawa, Apr , Super B-factory Workshop SuperKEKB Injector Linac 1 Injector Linac Kazuro Furukawa, for e – /e + Linac Group Present Status Upgrade.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
EPICS on TPS RF System Yu-Hang Lin Radio Frequency Group NSRRC.
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.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
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,
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.
Ralph Lange: OPC Gateway (Device Support) OPC Gateway (Device Support) Ralph Lange – EPICS Collaboration Meeting March SSRF.
Beam diagnostics control for J-PARC LINAC Guobao SHEN J-PARC Center Japan Atomic Energy Agency Mar
Real-time Performance Improvement of “EPICS on F3RP61” Yokogawa Electric Corporation.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
ICALEPCS 2007, Knoxville, Tennessee, October 15-19, 2007 Present Status of VEPP-5 Control System D.Yu.Bolkhovityanov, A.Yu.Antonov, R.E.Kuskov The Budker.
Virtual Accelerator at J-PARC 3 GeV Rapid Cycling Synchrotron H. Harada*, K. Shigaki (Hiroshima University in Japan), H. Hotchi, F. Noda, H. Sako, H. Suzuki,
Status of EPICS at KEK Tatsuro NAKAMURA KEK Jun
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
K.Furukawa, Nov Database and Simulation Codes 1 Simple thoughts Around Information Repository and Around Simulation Codes K. Furukawa, KEK Nov.
Kazuro Furukawa, KEK, Jul KEK Linac Operation and Stability Linac Mini-Workshop 2006, IHEP, Beijing 1 KEK Linac Operation (Some Experiences) Kazuro.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Eugenia Hatziangeli Beams Department Controls Group CERN, Accelerators and Technology Sector E.Hatziangeli - CERN-Greece Industry day, Athens 31st March.
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Timing Requirements for Spallation Neutron Sources Timing system clock synchronized to the storage ring’s revolution frequency. –LANSCE: MHz.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Content: Introduction Architecture Future.
Present Status of EPICS Development at the 3GeV Proton Beam Transport Facility Control System in J-PARC JAERI Motoki OiTetuya KaiSinichiro Meigo Sinichi.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Kazuro Furukawa, KEK, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Event System at KEK Kazuro Furukawa, KEK KEKB and Linac.
NICA control system, beam diagnostics V.Andreev, E.Gorbachev, A.Kirichenko, D. Monakhov, S. Romanov, G.Sedykh, T. Rukoyatkina, V.Volkov VBLHEP, JINR, Dubna.
WELCOME TO IHEP. RF Phase Control for BEPCII Linac Accelerator Wenchun Gao.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
1 KEKB Archiving Dec Tatsuro KEK.
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,
ICALEPCS 2007 The Evolution of the Elettra Control System The evolution of the Elettra Control Sytem C. Scafuri, L. Pivetta.
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)
EPICS and LabVIEW Tony Vento, National Instruments
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Project X RD&D Plan Controls Jim Patrick AAC Meeting February 3, 2009.
4. Operations and Performance M. Lonza, D. Bulfone, V. Forchi’, G. Gaio, L. Pivetta, Sincrotrone Trieste, Trieste, Italy A Fast Orbit Feedback for the.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Wojciech Jalmuzna, Technical University of Lodz, Department of Microelectronics and Computer.
JLab Accelerator Controls Matt Bickley MaRIE discussion April 26, 2016.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Outline: Introduction Architecture Future.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
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,
AMOEBA study of distributed system
Accelerator control at iThemba LABS
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
ATF/ATF2 Control System
SLS Timing Master Timo Korhonen, PSI.
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
Fill-pattern Control System for KEKB
< kek.jp > Measurement and Data Acquisition for Accelerator Controls at KEK (Beam Position Monitor at Linac) Kazuro Furukawa < kazuro.
LAL meeting on e+ studies, Oct. 2010
EPICS: Experimental Physics and Industrial Control System
EPICS status and future at KEK Control Group / Commissioning Group e-/e+ Injector Linac, KEK, Japan Masanori Satoh.
Presentation transcript:

K.Furukawa, Apr EPICS at KEKB Injector EPICS-ness at KEKB Injector Kazuro Furukawa, KEK. KEKB Injector and Legacy Controls Network Controllers EPICS Gateways Timing System

K.Furukawa, Apr EPICS at KEKB Injector Control Systems at KEK  There are several Control systems in KEK, Some of them employ EPICS recently EPICS Group J-PARC KEKB PF-AR PS ATF e + /e – Linac PF

K.Furukawa, Apr EPICS at KEKB Injector Linac in KEKB Collider Complex  8GeV Electron + 3.5GeV Positron for KEKB  2.5GeV Electron for PF  3.0GeV Electron for PF-AR  600m Linac with 59 S-band rf Stations with SLED  Double Sub-Harmonic Bunchers for 10ps & 10nC  2-bunch in a Pulse and Continuous (Top-up) Injection

K.Furukawa, Apr EPICS at KEKB Injector Performance of KEKB Staffs in Linac are always Interested in performances in KEKB/Belle Here is the KEKB daily Performance Page updated Every minute

K.Furukawa, Apr EPICS at KEKB Injector Linac Controls  KEKB = Factory Machine => Reliable Operation  Controls should be Robust and Flexible  ~1000 devices and ~10000 signals  Frequent Beam Mode Switches; Four very Different Beam Modes, 300 times/day  Precise Controls of Beam Parameters, Energy, Orbit, Emittance, Charge, Energy spread, Timing, etc.

K.Furukawa, Apr EPICS at KEKB Injector History and Design Concept  History  : Construction of First Computer-controlled System with 8 mini-computers, >200 micro-computers, >30 optical loop networks  : Design of the next system  : Installation and expansion for KEKB  Design Concept  Use of International and/or de-facto Standards  Use of Optical IP Networks for every Device controllers  No new field Networks, only IP Network (to be inherited by J-PARC)  Both of above should make future upgrade easier  (EPICS was not available widely at that time)

K.Furukawa, Apr EPICS at KEKB Injector Physical Structure  Multi-tier, Multi-hardware, Multi-client, …

K.Furukawa, Apr EPICS at KEKB Injector Multi-tier Logical Structure

K.Furukawa, Apr EPICS at KEKB Injector 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 How-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 and SADscript/Tk

K.Furukawa, Apr EPICS at KEKB Injector Recent Development  Application software for Two-bunch in a Pulse  Application software for Continuous Injection  C-band Acceleration Project (for future SuperKEKB)  More PLC adaptation, mainly by hardware groups  Many slow feedback loops, including energy spread  Slow Positron Facility inside Linac (60MeV e-)  Intel-Linux-VME with Linac software and EPICS IOCcore  CC/Net (embeded Linux CAMAC CC) for possible replace of Hytec (sorry)  Evaluation of fast Waveform Digitizers  Especially for 50Hz data acquisition  Network connected RAS module, etc.  Upgrade of EPICS gateway

K.Furukawa, Apr EPICS at KEKB Injector Simple Ethernet Interface - 50Hz Monitor  Timing signals of ~150 TD4/TD4V/TD4R used in linac  If a signal is missing beam loss and possible damage to devices  There was a problem in comparators in TD4/TD4V  A monitor module was built to monitor specific timing requirement  PIC processors and a X-Port from Lantronics  Monitored over Ethernet  Now two other kinds of modules were developed

K.Furukawa, Apr EPICS at KEKB Injector VME RAS Module with Ethernet Interface  For reliability of VME crates (~25)  Currently Hardwired modules are used: wiring issues  Ethernet/IP connectivity is preferable  Power voltage, temperature, fan  Watchdog timers  Four RS232C ports for CPU, Network, etc  TTL inputs/outputs  VME reset  Firmware environment  Micro-iTRON, or Linux  SH4, 16MB RAM  peripherals over I2C  Interface to EPICS  TCP communication with IOCs  Possible Embedded EPICS on iTRON or Linux

K.Furukawa, Apr EPICS at KEKB Injector Why EPICS in my case  We made too much effort on duplicate development on many control systems  Our goal is to achieve high performance in the accelerator and the physics experiments  Reuse of available resources is preferable  Devices in Linac have been modernized, and development of EPICS device supports became possible  Anyway we need interface to down-stream accelerators esp. KEKB  Want to merge several archive formants in Linac  May expect (?) man-power from other groups  May contribute to world-wide EPICS collaboration

K.Furukawa, Apr EPICS at KEKB Injector Building EPICS Gateway  Common Control System at the Top (of Linac and Ring)  Needs too much resources  Port EPICS onto our VME/OS9-LynxOS  Failed to get support/budget for LynxOS at Linac  (EPICS Maintenance with an unsupported Platform ?)  Special Gateway Software, which interfaces to both the Linac Controls and EPICS IOCs as a Client  Built to ensure the feasibility at 1995  Portable Channel Access Server  Implemented with EPICS 3.12 and being used on HP-UX since 1996  It is being used for several application software including Alarm display  Software IOC  Being used and being extended on Linux since 2003

K.Furukawa, Apr EPICS at KEKB Injector Use of Existing EPICS IOC (Gateway IOC)  Software availability  Portable Channel Access Server was not available at around 1995  Channel Access Server Emulation with Available Software Components  New gateway software which is clients to the both Linac and EPICS, and group of EPICS soft records  Real-time Operation is possible both ways using Monitors  Tested for Magnet Controls  MEDM panels were written Gateway

K.Furukawa, Apr EPICS at KEKB Injector Portable Channel Access Server (PCAS)  Protocol Conversion  Client to Linac Controls with Home-grown RPC and Cache Memory, Interface to Upper-level Servers (not directly to Lower-level Hardware Servers)  Server to EPICS environment, with some Name wrapping  Implemented for Linac in  for Magnets, RF, Beam Instrumentations  >4000 Records are available  Write-access Possible, normally Read-only  Still used for KEKB Unified Alarm, Operation Status, etc. CA Server

K.Furukawa, Apr EPICS at KEKB Injector Soft IOC  IOCcore is available on Unix in EPICS 3.14  We have Tru64unix, Linux, HP-UX  Simple  IOCcore hides the complexity of Channel Access, etc  We design the device support to Upper-level Linac Servers, as we access to hardware in normal IOC  All standard EPICS facilities are available  Alarms, Operation Limits, Links, Periodic processing, Monitors, etc.  Implemented for Linac on Linux since 2003  For RF, Beam Instrumentation, Vacuum, etc.  >2200 Records are available and extending  All the records are archived in Channel Archiver and KBlog  KBlog is used to analyze correlations between Linac/Ring  Developing Java viewer of the archive

K.Furukawa, Apr EPICS at KEKB Injector General Comparisons  Symmetry  Gateway IOC is Symmetric between outside and inside of EPICS  Accessing from/to EPICS goes thru the same Gateway  Others are (somewhat) asymmetric  Name Resolution  PCAS can resolve names dynamically (at run-time)  Consumes less memory (?)  SoftIOC has to be prepared with static database  May be expected to give better response  Can be impossible for a large installations  Database processing and associate fields  SoftIOC provides EPICS database Facilities like Limits, Alarms, Links, etc.  If we archive them, Archive Deadband is most necessary  Implementation of Gateway  SoftIOC is relatively straight forward  Simply adding device supports

K.Furukawa, Apr EPICS at KEKB Injector Application software  All the records from the Linac Soft IOC are archived both in Channel Archiver and in KBlog  KBlog is used to analyze correlations between Linac/Ring  (Developing Java viewer of the archive)  KEKB Alarm is connected to Linac PCAS  May migrate to Linac SoftIOC at Summer Shutdown (Linac PCAS is currently based on EPICS 3.12)  Some other applications utilize PCAS as well  (Many others access Linac Controls directly now)  Small number of Records are going thru Gateway IOC, historically

K.Furukawa, Apr EPICS at KEKB Injector KEKB Alarm Panel  Below is the KEKB Alarm Main Panel, which covers Linac Alarms as well. Detailed alarm information/history is available in a separate panel Linac Ring

K.Furukawa, Apr EPICS at KEKB Injector Beam Optics Panels in SAD  Beam Optics Matching and Optimization Panels in SADscript  Some Parameters goes thru EPICS Gateways, others directly to Linac

K.Furukawa, Apr EPICS at KEKB Injector Performance  EPICS Gateway and Channel Archiver  are Running on Linux (Redhat) with Intel Xeon 2.4GHz and Memory of 2GB  About 10% of CPU usage  Monitors/Archives all of ~2200 Channels (partial in Kblog)  Can process 5400~6600 Channel Access Requests over Network  Archive size is about 400MB/day (300MB/day in Kblog)  Both Channel Archiver and KBlog collect Data

K.Furukawa, Apr EPICS at KEKB Injector Timing  Beam timing, 2 locations 4 signals  loosely synchlonized to power line within 500 micro seconds  Possible pulse-to-pulse interlace between clients  for KEKB, 2 signals  synchronized to MHz (common frequency for 2856,571,114,509)  < 3 ps jitter now, < 1 ps near future  1Hz to 50Hz, any pattern  for PF, 1 signal  synchronized to bunch selected 500MHz  1Hz to 25Hz, any pattern  for PF-AR, 1 signal  synchronized to bunch selected 508MHz  1Hz to 25Hz, any pattern

K.Furukawa, Apr EPICS at KEKB Injector Timing  Streak camera at 3 locations, 3 signal  synchronized to beam timing within < 1 pico seconds  beam pulse selection  Most Beam monitors (90bpm, 14ws, 31rf) 27 locations 27 signals 40m each  synchronized to beam timing within 1 nano seconds  1Hz, 5Hz, 50Hz, and selected beam pulse timing, etc.  rf (69Klystron) stations 14 locations 101 signals 10m each  synchronized to beam timing within 5 ns  always 50Hz  Septum/Kicker  for KEKB, PF, PF-AR  synchronized to beam timing within 1 ns  Beam pulse or 25Hz fixed

K.Furukawa, Apr EPICS at KEKB Injector Timing  Pulse-to-pulse changes  rf system (phase and timing), pulse magnet (on/off) switching  should send beam type just after previous beam timing to switch those equipment parameters  pattern decision can be static  pre-program only for now, no dynamic change at the beginning

K.Furukawa, Apr EPICS at KEKB Injector Summary  Slow transition towards EPICS  At Top  At Bottom

K.Furukawa, Apr EPICS at KEKB Injector