Robert C. Sass Sheng Peng LCLS Upgrade Review June19 2008 IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.

Slides:



Advertisements
Similar presentations
XTCAV X-Band Transverse Deflecting Cavity Project Overview Patrick Krejcik Yuantao Ding, Joe Frisch.
Advertisements

26-Sep-11 1 New xTCA Developments at SLAC CERN xTCA for Physics Interest Group Sept 26, 2011 Ray Larsen SLAC National Accelerator Laboratory New xTCA Developments.
Data Acquisition Risanuri Hidayat.
Update of EXT Stripline BPM Electronics with LCLS-style Digital BPM Processors Glen White, with slides by Steve Smith 15 December 2009 ATF2.
Stephanie Allison Integration with the SLC Control April 7, 2005 Introduction PNET Receiver VME Module SLC-Aware IOC Existing.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Tom Himel Linac Controls Upgrade Nov SLAC National Accelerator Laboratory 1 Linac Controls Upgrade Status Tom Himel.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Chapter 7 Interupts DMA Channels Context Switching.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Midterm Tuesday October 23 Covers Chapters 3 through 6 - Buses, Clocks, Timing, Edge Triggering, Level Triggering - Cache Memory Systems - Internal Memory.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
1 Tom Himel 1 Status of the Linac Controls Upgrade LCLS FAC review Status of the Linac Controls Upgrade Tom Himel June 8, 2009.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
Dayle Kotturi SLC April 29, 2004 Outline Motivation Key Components Status Update SLC / EPICS Timing Software Tasks Hardware.
November 12, 2008 Controls Software D. Fairley LCLS Feedback.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
ICS – Software Engineering Group 1 SNS Power Supply Control Sheng Peng.
Group 7 Jhonathan Briceño Reginal Etienne Christian Kruger Felix Martinez Dane Minott Immer S Rivera Ander Sahonero.
Stanford Linear Accelerator Center Next Linear Collider Test Accelerator EPICS Support S. Allison, R. Chestnut, M. Clausen, K. Luchini.
INPUT-OUTPUT ORGANIZATION
Status of mTCA Stripline BPM Development June 4-5, 2012 Dan Van Winkle for BPM team: Sonya Hoobler, Tom Himel, Jeff Olsen, Steve Smith, Till Straumann,
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
SPEAR Insertion Device Controls Upgrade Status Arturo Alarcon January, 2014.
MICROPROCESSOR INPUT/OUTPUT
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.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
ATF2 Mover Software 19 June 2008 Janice Nelson, Doug McCormick (SLAC) Glen White (LAL/SLAC) Justin May (no longer at SLAC)
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.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
FECC/SAIOC/RTEMS Making Lemonade. FECC “Slow” Code (in PC) –Ported iRMX code –By Bob Sass and Tony –As little hand work as possible –EPICS OSI layer –Dual.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
The Main Injector Beam Position Monitor Front-End Software Luciano Piccoli, Stephen Foulkes, Margaret Votava and Charles Briegel Fermi National Accelerator.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
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.
The recent history and current state of the linac control system Tom Himel Dec 1,
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
Stephen Norum LCLS Oct. 12, LCLS Machine Protection System Outline Overview of interim MPS Update on the interim MPS.
Stanford Linear Accelerator Center Ron Chestnut EPICS Collaboration Mtg May 21-23, SLAC EPICS Projects Yesteryear, Today, and Tomorrow.
K. Luchini LCLS Injector /BC1 Magnet PS Final Design Review, March 30, Injector and BC1 Magnet PS Controls K. Luchini.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
Magnet Low Current PS Upgrade Kristi Luchini,Sandeep Babel, Till Straumann, Mitch D’Ewart, Briant Lam, Dave MacNair May 19, 2016 VME to Emedded Industrial.
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
ATF2 Mover Software 15 December 2008
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
Introduction to Microprocessors and Microcontrollers
Event Displays for EVR IOCs
A Portion of the SCP RF Control System LCLS Related
SLC Aware IOC BSAC* Facility Design Review July 14, 2005
LCLS Event System - Software
Next Linear Collider Test Accelerator and EPICS
Power Supply Control for BEPCII
Timing and Event System Status DOE Review of the LCLS Project SC5 - Controls Systems Breakout Session S. Allison, M. Browne, B. Dalesio, J. Dusatko,
SLC-Aware IOC Magnet Functional Requirements
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng Peng

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 2 Overview General Database Camac I/O Supported Camac Modules 360Hz Processing Crate Management Analog Inputs and Outputs Digital Inputs & Outputs Klystron Support Timing Support BPM Support Magnet Support Remote Camac Operation Unresolved Issues

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 3 General No support for SLC message service or database No support for powerfail recovery of a crate A reboot is necessary if a crate fails and is brought back online No support for the old MPS system We assume that the new MPS will be fully functional Support only for the following micros: LI20-LI30 CA01, CA11 MC00, AB01, CB00, FB31?

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 4 Database Mostly automated tool to translate relevant SLC database primaries for supported micros to EPICS database records. All relevant crates and supported modules must be translated for each micro. PV names preserved for HLA when underlying hardware changes. EPICS database records will receive data from Camac I/O. Asynchronous records for output processing.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 5 Camac I/O Existing CAM* routines updated for the FECC project. Thread safe All 32 bit pointers GCC compatible Using them is the required implementation. Some Camac modules have special I/O “needs” All micro code made GCC compatible as part of the FECC project Much existing micro Camac code can be used with minimal change Take advantage of new PCSD features Three priorities; use highest for 360Hz Optional interrupts Changeable timeout Actual package execution time available

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 6 Supported Camac Modules IDIM/LDIM – Isolated/Latching Digital Input Module. IDOM – Isolated Digital Output Module. SAM – Smart Analog Monitor. DAC – Digital to Analog Converter. PDU – Programmable Delay Unit. BPM – Linac Beam Position Monitor (remaining EP-BPMs replaced) PPOM – Pulsed Power Output Module. PIOP – Parallel Input/Output Processor. SBI – Subbooster Interface. PSC II – Power supply controller SMC Stepping Motor Controller CV - Crate Verifier (optional).

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 7 360Hz Processing Only support PDU timing device. Use high priority request of the PCSD sans interrupt. Provide user callback mechanism at defined set of fiducial sub-harmonics. 120Hz, 60Hz, 30Hz, 10Hz, 5Hz, 1Hz, 0.5Hz Selectable callback priority.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 8 Crate Management All crates initialized at IOC boot/reboot. Similar to what micro crate job does Special initialization for individual modules: PDU, IDOM, SAM, PIOP PIOP image and tmatrix available as files No access by other threads until crate is initialized. No access to PDU, IDOM, SAM and PIOP until they have been initialized. Periodic crate operational check.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 9 Analog Inputs and Outputs Only the SAM is supported for analog inputs. Process all analog inputs at 1Hz. Support for the following E.U conversions: Linear. Logarithmic. Polynomial. Ion Guage. Phase Mixer. Parabolic Interpolation. See VMS ref_rmx_anlg:polyint.f86 Thermocouples. See VMS ref_rmx_anlg:thermist.f86 Calculated values. Dynamic Disk Loaded Waveguide dynamic tolerance adjustment. Interpret E.U. tolerances in two ways: 1.E.U. = Lim1 +/- Lim2 2.Lim1 <= E.U. <= Lim2 Analog outputs are done by each job. What conversions are needed?

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 10 Digital Inputs & Outputs IDIM, LDIM and IDOM are the only digital modules supported Process all digital inputs at 1Hz. Process digital outputs on demand.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 11 Klystron Support Implement both types of FTP reads: Ordinary System Volt Periodic status checks and trim phase. Implement all functions that update the PIOP KLYS_UPDATE_PIOP - General PIOP update KLYS_UPDATE_PIOP_PADONLY - Update PAD block KLYS_UPDATE_PIOP_MK2ONLY - Update MK2 block KLYS_UPDATE_PIOP_NEWPHASE – Set new phase KLYS_TRIM_SLED – Move SLED to position in database KLYS_TRIM_PHASE – Move Fox shifter within tolerance of designated phase KLYS_PTRB_PHASE - Perturb phase by requested amount KLYS_FOXHOME - Set Fox phase shifter to home

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 12 Timing Support Update of single PDU value. Update of modulo-36 time slot counter. May support diagnostic readout of PDU status registers and memory.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 13 Individual BPM Display

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 14 BPM Support No private calibrations. PVs to support Beam Synchronous Acquisition (BSAC) functions in IOC for BPMs. Public Calibration Set x & y offsets attenuator and pedestal Pulse based readout resulting in X, Y and tmit Standard Linac BPMs map into EPICS BSAC Application PVs.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 15 Magnet Support – LCLS Display

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 16 Magnet – Individual Magnet

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 17 Magnet Support Existing EPICS magnet function Support PSC II and SMC for EPICS magnet functions. No support for self test. PSC II is complicated Analog output for setpoint 2 Analog inputs for shunts or transductors 8 bits of digital input 6 bits of digital output Selectable ramping rates Some “special” code required e.g. set mode before ADC read, delay when switching analog inputs etc. Kristi assures me that these will map into EPICS PVs for magnet support SMC is fairly simple Set number of steps Start/stop Read status and counter Front panel adjustments for acceleration and frequency

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 18 Remote Camac Operation Support execution of a Camac package originating outside of the IOC. This means rebuilding the package to use PCSD dual-ported memory. Only accept requests and return results via Channel Access. Should support repeated execution of a package for diagnostic purposes.

Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 19 Unresolved Issues FB31 Energy loop needed? Not all PSCs in linac are needed. Can they be replaced with EPICS H/W? Supported output conversions?