Device support for VMIVME-5565 and its usage at KEK

Slides:



Advertisements
Similar presentations
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
Advertisements

Dirk Zimoch for Babak Kalantari, EPICS Collaboration Meeting October SLS F illing P attern F eedback (FPF) system Charge Distribution Control in.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 PSI-XFEL Challenges and Developments.
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.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
EtherIP Driver Kay Kasemir, July 2009.
Booster Cogging Teststand Progress Update Kiyomi Seiya, Alex Waller, Craig Drennan August 22, 2012.
LCLS-II Linac LLRF Control System – L1, BC1 Zheqiao Geng Final Design Review May 7, 2012.
EPICS IOC Diagnostics Tools Jeff Hill. Overview 4 EPICS built-in diagnostic tools 4 solutions to specific problems.
Power Supply Controller Architecture
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.
Pohang Accelerator Laboratory POSTECH EPICS Collaboration Meeting RICOTTI, Tokai, JAPAN The status of PLS EPICS application EPICS collaboration.
Experience of Developing BEPCII Control System Jijiu ZHAO IHEP, Beijing October 18, 2007.
1 Progress of the Controls for BEPCII EPICS Seminar Presented by J. Zhao 20 August, 2002.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
8 May 2001EPICS Group3 Carl Lionberger1 EPICS Support for Group3 Control System Carl Lionberger Group3™ optical-fiber-connected I/O Software and operational.
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.
Status of BEPCII Timing System Presented by Ge Lei IMAC 2006.
ICS – Software Engineering Group 1 The PCI Record EPICS Collaboration Meeting l May 2002 at BESSY, Germany May 2002 at BESSY, Germany David.
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
High Performance Network Virtualization with SR-IOV By Yaozu Dong et al. Published in HPCA 2010.
Digital Phase Control System for SSRF LINAC C.X. Yin, D.K. Liu, L.Y. Yu SINAP, China
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Fast Fault Finder A Machine Protection Component.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
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, Jan Accelerator Controls at KEK EPICS Workshop 2009, RRCAT, India 1 Event System at KEK Kazuro Furukawa, KEK KEKB and Linac.
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
Work-packages CLIC for the Drive Beam BJ, 23 feb 2010 Beam Dyn Meeting 2/23/11Beam Dyn meeting1.
ICALEPCS 2007 The Evolution of the Elettra Control System The evolution of the Elettra Control Sytem C. Scafuri, L. Pivetta.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
BEPC II TIMING SYSTEM EPICS Seminar Presented by Ma zhenhan IHEP 20.August 2002.
Bunch by bunch feedback systems for KEKB Makoto Tobiyama KEK Accelerator Laboratory.
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg May 21-23, SLAC EPICS Projects Yesteryear, Today, and Tomorrow.
Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 A generic driver for Data Buffer of MRF Timing System Babak Kalantari Paul Scherrer Institute Switzerland.
Design of BEPC Ⅱ Bunch Current Monitor System Zhanglei Beam Instrumentation Group.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
The use of EPICS as a C&I tool for the RFQ accelerator facility at Necsa Mr M. Matabane.
The BaBar Online Detector Control System Upgrade Matthias Wittgen, SLAC.
Project X RD&D Plan Controls Jim Patrick AAC Meeting February 3, 2009.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Status Report of the PC-Based PXD-DAQ Option Takeo Higuchi (KEK) 1Sep.25,2010PXD-DAQ Workshop.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
Bunch by bunch feedback systems for KEKB Makoto Tobiyama KEK Accelerator Laboratory.
Experience of Developing BEPCII Control System
Operations Machine Simulator.
Plan to use EPICS in home security service
Beam-Synchronous Data Acquisition (BS-DAQ)
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
ATF/ATF2 Control System
SLS Timing Master Timo Korhonen, PSI.
CS 286 Computer Organization and Architecture
HAPS Controls Glen White ATF2 Software Review Workshop, LAL, June 2008
Table 1: The specification of the PSICM and the ePSICM Prototypes
LLRF and Beam-based Longitudinal Feedback Readiness
Fill-pattern Control System for KEKB
Timing System GSI R. Bär / U. Krause 15. Feb. 2008
< 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
LAL meeting on e+ studies, Oct. 2010
Computer System Design Lecture 10
Plan for controls with the digital platform
Beam Synchronous Acquisition on IOC
EPICS status and future at KEK Control Group / Commissioning Group e-/e+ Injector Linac, KEK, Japan Masanori Satoh.
EPICS APPLICATION DEVELOPMENT
Commissioning the European XFEL cryogenic system and best practice
Presentation transcript:

Device support for VMIVME-5565 and its usage at KEK Hiroshi Kaji (KEK) Yuichi Iitsuka (EJIT)

Motivation for Distributed Shared Memory For Rapid and reliable communication among accelerators complex at KEK Timing of the injector is controlled from Main Ring (CCB) in 50Hz (frequently) to select injection RF-bucket to equalize charges of all bunches Main Ring Injector Main Timing Station Central Control Building We used the other distributed shared memory for KEKB era (1999-2010) We are using the reflective memory, VMIVME-5565, for SuperKEKB (2016-)

VMIVME-5565 and Dedicated Optical Connection Distributed Shared Memory in the VME type. Data written on memory are synchronized on those of all other nodes. Totally 255 nodes are possible. VME-5565 VME-5565 VME-5565 TX RX In our case, the network is configured with three nodes (show them later).

We developed the EPICS device/driver support. VMIVME-5565 Standard 6U module with distributed shared memory https://www.abaco.com/products/vme-5565-reflective-memory Up to 128MB memory Transfer rate ~174MB/s Up to 256 nodes Network interruption VMEbus DMA support Two LC connectors (TX and RX) single/multi modes possible We developed the EPICS device/driver support.

EPICS Records for Data Synchronization The “flexo” record read from the reflective memory. The “flexi” record write to the reflective memory. Node: N Node: M record(flexo,"PV name") { field(DTYP, "flexo5565") field(FTVL, "YYY") field(OUT, "#C0 S0 @0xXXXX") } record(flexi,"PV name") { field(DTYP, "flexi5565") field(FTVL, "YYY") field(INP, "#C0 S0 @0xXXXX") } The memory address to be read/write is set on “OUT”/“INP” field as offset address. All types of data except for “STRING” can be set on the “FTVL” field.

Network Interruption The network interruption is launched by one set of “inttx” and “intrx” records. The “intrx” is processed when the “inttx” on the other node is processed. Node: N Node: M record(inttx, "PV name") { field(DTYP, "inttx5565") field(OUT, "#C0 SX @") field(NID, "M") field(VAL, "Y") } record(intrx, "PV name") { field(DTYP, "intrx5565") field(SCAN, "I/O Intr") field(INP, "#C0 SX @") field(VAL, "Y") field(FLNK, "PV name") } The four kinds of network interruptions can be defined with X = 1-4. The node to be interruted is set on the “NID” field. If M>255, all other nodes are interrupted. The “VAL” field can be copied when the interruption is launched. This can be used as the interruption ID.

Software Release Plan We developed device/driver support and confirmed stability with EPICS ver 3.14.12.1 (possibly works in other versions). We plan to release software and manual soon. (I hope before next collaboration meeting).

Injection Bucket Control at KEK D7 Main Ring Injector We start operation in Feb 2016. No trouble for injection control for 4 months. Main Timing Station Central Control Building Interaction Point CPU BCM e+ BCM e– IOC Main Timing Station Adjust injection timing for selecting RF-bucket IOC Central Control Indicate injection RF-bucket IOC D7 Measure charge of individual bunches Optical Cable EVG EVR RM

Time chart One turn of network interruptions in every 20ms (50Hz) Injector ⇒ Main Ring ⇒ Injector Injector Linac Node Central Control Node ①Write data into reflective memory (put values on flexo records) AC50Hz phase Ring: e+ or e– and so on … ②Network interruption (process inttx records) ⑥Set delay to EVG (processed by intrx record) (using information in flexi record) ③Decide injection bucket (processed by intrx record) (using information in flexi record) ④Write data into reflective memory (put values on flexo records) delays of LINAC operation and so on … ⑤Network interruption

Summary We utilize VMIVME-5565 for injection control in the KEK accelerators complex. We develop device support for EPICS. - data synchronization - network interruption We confirmed stable operation for 4 months: - EPICS: 3.14.12.1 - CPU: MVME5500 and MVME6100 - OS: VxWorks6.8.3 We plan to release software and manual. We hope we can announce soon.