Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous.

Slides:



Advertisements
Similar presentations
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Advertisements

Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
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*
Peter Chochula, January 31, 2006  Motivation for this meeting: Get together experts from different fields See what do we know See what is missing See.
S. Smith LCLS Facility Advisory April 16, BPMs and Toroids Facility Advisory Committee April 16, 2007 System overview.
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.
Stephanie Allison Facility Advisory Committee Meeting Apr 16, 2007 Timing and Event System S. Allison, M. Browne, B. Dalesio, J.
Hamid Shoaee High Level Physics 20 April 2006 High Level Physics Applications Update on Plans, New Directions Fairley,
Patrick Krejcik LCLS June 16-18, 2008 High Level Applications Facility Advisory Committee Meeting June 17, 2008 Applications Team.
Stephanie Allison LCLS Integration with SLC October 12, 2004 Integration with SLC LCLS Facility Advisory Committee Oct 12, 2004 Introduction.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
Dayle Kotturi LCLS Diagnostics and Commissioning Workshop September 23, 2004 LCLS Controls and Data Acquisition September 23, 2004.
Debbie Rogind & Greg White High Level Applications October High Level Applications.
Stephanie Allison Integration with the SLC Control Oct 27, Introduction Demo SLC-Aware IOC Plans for Next 12 Months.
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.
Oct. 30, 2007 LCLS FAC D. Fairley MATLAB Feedback Phase II Commissioning.
Henrik Loos High Level 17 June 2008 High Level Physics Applications for LCLS Commissioning Henrik Loos.
Diane Fairley High Level October High Level Applications FAC Review October 12, 2006 High Level Applications.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
IceCube DAQ Mtg. 10,28-30 IceCube DAQ: “DOM MB to Event Builder”
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
DC12 Commissioning Status GOALS: establish operating conditions, determine initial calibration parameters and measure operating characteristics for the.
Dayle Kotturi Lehman Review May 10-12, 2005 LCLS Timing Outline Scope SLC Master Pattern Generator Introducing the PNET VME receiver.
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,
K. Luchini LCLS Controls, July 1, 2005 SLAC Aware IOC EPICS Magnet Functional Requirements Introduction Magnet Functions.
17-Aug-00 L.RistoriCDF Trigger Workshop1 SVT: current hardware status CRNowFinal Hit Finders64242 Mergers31616 Sequencers2312 AMboards4624 Hit Buffers21212.
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.
EPICS Collaboration Meeting Timing Workshop April 24, 2012.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
LCLS Control Group EPICS Collaboration April 27, 2005 Controls Overview April 27, 2005 Outline Goals Status update.
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. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
LCLS Control Group FAC – 06 Installation October 27/28, Plans for 2006 Installation October 27, 2005 Installation.
TBPM Front-End Software Design Review L.Piccoli April
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
Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.
Controls Test Stand Test stand proposal document review - Dayle. The activities can be prioritized according to which measurements we need to do first.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues Subsystem architecture, or… “How.
LCLS MPS Upgrade Gasper Jansa, Luciano Piccoli, Jeff Olsen, Garth Brown, Sonya Hoobler, Stephen Norum, Stephanie Allison, Kim Kukhee Adding BSA.
K. Luchini LCLS Lehman Review - Controls Breakout, May 11th 2005 Magnet Power Supplies K. Luchini Overview Hardware Software.
S. Smith LCLS Facility Advisory October 12, Beam Position Monitors Facility Advisory Committee October 12, 2006.
Stephanie Allison LCLS IOC Meeting Jul 18, 2008, Jan 21, 2011 Beam Synchronous Acquisition for IOC Engineers Definition/Requirements.
LCLS Commissioning & Operations High Level Software
Beam-Synchronous Data Acquisition (BS-DAQ)
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
LCLS Timing Software and Plan
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
LCLS Commissioning & Operations High Level Software
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
SLC-Aware IOC Review 2 Cluster Status and Test Service Feb 23, 2005
Timing and Event System for the LCLS Electron Accelerator
Beam Synchronous Acquisition on IOC
Timing and Event System S. Allison, M. Browne, B. Dalesio, J
EVG-to-EVR Data Transfer (Dayle Kotturi)
Breakout Session: Controls
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
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC* Facility Requirements Review *Beam Synchronous Acquisition & Control

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review Overall Assumptions BSAC Block Diagram BSAC Use Cases SLC Use Cases EPICS Use Cases BSAC Facility Functionality SLC-Aware BPM Facility Requirements EPICS BSACFacility Requirements SLC BPM Facility Interfaces EPICS BSAC Facility Interfaces

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Overall Assumptions There will be no interleaving of straight-ahead beams from the CID injector with LCLS operation. Straight-ahead beams only run when LCLS is not operating If straight-ahead beams are sent the BPMS in sectors will be required to measure beam position using the LCLS processors and the straight-ahead beam code. LCLS processors are NOT required to read simultaneous electrons and positrons on a single machine pulse SLC-aware IOCs will be present in the injector and linac parts of the LCLS beam line The LTU and Undulator may not require SLC-aware IOCs, as the EPICS control may be complete by the time of LTU commissioning. There will be only one calibration setup at one time BPM modules will be acquiring and buffering LCLS beam synchronous data continuously GADCs and TORO modules may do so as well - TBD

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Block Diagram

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review Overall Assumptions BSAC Block Diagram BSAC Use Cases SLC Use Cases EPICS Use Cases BSAC Facility Functionality SLC-Aware BPM Facility Interfaces EPICS BSAC Facility Interfaces

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 BSAC Facility Use Cases SLC Use Cases SCP SLC High Level Software Applications SLC Diagnostics SLC Standalone Applications SLC Hardware Configuration and Status EPICS Use Cases Calibration Fast Feedback Diagnostics Hardware Configuration and Status EPICS Clients High Level Software Applications – starting this year

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Use Cases Table of High Level Applications Required for LCLS Refer to document

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Table of Application to Function Code Refer to document

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Random Thoughts on SLC Use Cases High level Apps, Diagnostics, Standalone Apps All work through an API that uses a small subset of the defined BPMO message function codes HW Status and Configuration In the SLC database SLC Use Cases are well defined We must try to make new LCLS devices and acquisition “fit in” with minimal changes to the SLC system Must assure that “ignored” function codes do not cause errors (ex: calibration)

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Epics Use Cases Fast Feedback IOC to IOC EDM displays for Configuration and Diagnostics Calibration Implemented in EPICS only Status reported to SLC via HSTA / status bits SLC “lock out” during calibration (if necessary) Diagnostics Displayed in EDM Includes fault-trip data – possibly dumped to file BPM Timing diagnostics included here HW Status Shared by SLC and EPICS – last one to change wins Log or indicate via alarms when out-of-synch New High level Apps. Can we use any SLC support records for future LCLS High Level Apps? Other EPICS clients

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 EPICS Use Cases Not well defined Still need to create requirements down to the next level?

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review Overall Assumptions BSAC Block Diagram BSAC Use Cases SLC Use Cases EPICS Use Cases BSAC Facility Functionality SLC-Aware BPM Facility Requirements EPICS BSAC Facility Requirements SLC-Aware BPM Facility Interfaces EPICS BSAC Facility Interfaces

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Intro to BSAC Facility Functionality At a high level, the BSAC Facility is required to: Accept SLC data requests for beam synchronous data acquisition for all devices listed in this document to support SLC applications Return beam synchronous data to the SLC Control system in the expected reply structure. Return beam synchronous data to LCLS EPICS Clients. Support calibration of hardware Share calibration status between the SLC control system and the LCLS EPICS system Share hardware status between the SLC control system and the LCLS EPICS system Support Fast Feedback functionality, control, and diagnostics Provide diagnostics from BSAC Facility

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 BSAC Facility Functionality The division of labor between the SLC-aware BPM Facility and the EPICS BSAC Facility is a design issue, but some goals for this design are: The SLC-aware threads should act as a “pass-through” facility as much as possible, placing most of the work into EPICS database records and device support. Maintain a clean division between SLC-aware-only functionality and functionality that supports the short and long-term EPICS interface. The SLC-aware-only code will eventually be stripped out. Minimize changes required to SLC interfaces

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review 3) BSAC Facility Functionality SLC-Aware BPM Facility Requirements EPICS BSA Facility Requirements 4) SLC-Aware BPM Facility Interfaces 5) EPICS BSAC Facility Interfaces * BSA = Beam Synchronous Acquistion & Control

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, ) BSAC Facility Functionality 3.1) Data Flow Timing SLC Aware BPM Facility Requirements EPICS BSAC Facility Requirements

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, ) BSAC Facility Functionality Data Flow 3.2) Timing SLC Aware BPM Facility Requirements EPICS BSAC Facility Requirements

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, ) BSAC Facility Functionality Data Flow Timing 3.3) SLC Aware BPM Facility Requirements EPICS BSAC Facility Requirements

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware BPM Facility Requirements Accept subset of message function codes from SCP Validate message contents (DB inconsistancies…) send immediate reply “yes/no” Data Acquisition Request: Store user criteria (to EPICS BSA Facility) YY, PP, inclusion/exclusion masks, navg, nrpos, active Track course level) unsatisfied user request Package/send Data Acq Reply upon signal “done” from EPICS BSAC Facility Comply to VMS format Clear one/all user criteria upon request from SCP Package/send all user criteria back to SCP upon request Monitors :State of calibration, shared state of HW Error Logging

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, ) BSAC Facility Functionality Data Flow Timing SLC Aware BPM Facility Requirements 3.4) EPICS BSAC Facility Requirements

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 EPICS BSAC Facility Requirements Accept and store user request criteria for up to X users Determine, <1/360 sec when EB pattern matches any user criteria Collect matching data into X user collection buffers from all gated devices involved, < 1/120 sec Acquired data must be associated w TS and pulse id from matching EB pattern (or current EB) Indicate to BPM Facility when user data collection complete Provide access to collected data Indicate errors encountered Provide HW config/stat/cal state sharable with BPM Facility

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 EPICS BSAC Facility Requirements Provide access to any sharable SLC DB fields EPICS PVs in SLC-Aware IOC must map to the expected PRIM:MICRO:UNIT:SECN names in SLC Database for that SLC-Aware IOC. Phase II Provide acquired data to EDM displays via CA Provide diagnostics data to EDM displays via CA Support fast feedback functionality Support data collection for future LCLS high-level applications

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review BSAC Facility Functionality SLC-Aware BPM Facility Requirements EPICS BSAC Facility Requirements 5) SLC-Aware BPM Facility Interfaces EPICS BSAC Facility Interfaces * BSA = Beam Synchronous Acquistion

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC-Aware BPM Facility Interfaces SLC Database Service Interface SLC Message Service Interface EPICS BSAC Facility Interface RT DB Access

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Database Service I/F Refer to Document (5.1) for: Devices (Primaries) supported/ not supported Secondaries supported/not supported Any EPICS PVs in SLC-Aware IOC must map to the expected PRIM:MICRO:UNIT:SECN names in SLC Database for that SLC-Aware IOC. SLC Database configuration work ahead !

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Message Service I/F Refer to Document (5.2) for: Function codes supported / not supported Message contents supported / not supported Requests from SCP Replies to SCP

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Runtime DB Access to EPICS BSAC Facility (4.3) I/F Tentative, depending on BPM Facility / EPICS BSAC Facility division of labor: Provide EPICS DB for X number of user criteria Signal X number of EPICS user collection buffers of acquired, time stamped, pulse id’ed data Indicate any error conditions Indicate state of hardware /calibration Provide access for any SLC DB fields

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 SLC Aware IOC BSAC Facility Requirements Review BSAC Facility Functionality SLC-Aware BPM Facility Requirements EPICS BSAC Facility Requirements SLC-Aware BPM Facility Interfaces 6) EPICS BSAC Facility Interfaces * BSA = Beam Synchronous Acquistion and Control

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 EPICS BSAC Facility Interfaces 5.1) EVR Interface 5.2) BPM Module Interface 5.3) GADC Module Interface and DUGADC (WIRE, ARRY) 5.4) TORO Module Interface

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 EVR Interface Provide data access (RT DB) to EB data EB must provide all bits of PNET YY PP Beamcode Inclusion/exclusion bits Pulse id – need 17-bit EB must include time stamp EB must be buffered EB pattern matching user criteria comes (3) 360Hz timing fiducials before beam pulse

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 BPM Module Interface Provide data access (RT DB) to Acquired data HW status Cal status? Data must be stored in circular buffer for consecutive pulse retrieval User initiated Fault trip Data must be time stamped (EPICS)

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 General Interface with all BSAC Modules Provide data access to acquired data and status Data must be EPICS time stamped GADC: Current Stepper Motor position must be available each step to correlate with acquired data for wire scans

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 BPM Data Requirements SLC Requires: x float (x rms) y float (y rms) Tmit float (tmit rms) qraw[4] unsigned short status (stat) on ea pulse unsigned short For SCP/LCLS diagnostics SCP defines certain bits; these can change HSTA state goodmeas unsigned short x, y, tmit RMS values, goodmeas, HSTA state for SCP BPM or EPICS BSA Facility could do this

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 WIRE Data Requirements Does LCLS require current (i) data from wire scan? SLC requires, for scanning wire: Data array [max_wire_chan=3] of float (& RMS) Status array [3] of unsigned short For SCP/LCLS diagnostics SCP defines certain bits; these can change HSTA state Position of SMC per step goodmeas array [3] of unsigned short RMS, goodmeas, HSTA state values for SCP BPM or EPICS BSA Facility

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 ARRY Data Requirements SLC requires: Data array [max_arry_chan=12] of float (&RMS) Raw array [12] of unsigned short Status array [12] of unsigned short For SCP/LCLS diagnostics SCP defines certain bits; these can change HSTA state (BPM Facility could do this) goodmeas array [12] of unsigned short Data RMS, goodmeas values for SCP – BPM or EPICS BSA Facility

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 TORO Data Requirements SLC requires: tmit float (tmit RMS) qraw unsigned short status unsigned short For SCP/LCLS diagnostics SCP defines certain bits; these can change HSTA state qraw unsigned short goodmeas unsigned short tmit RMS, goodmeas, HSTA state for SCP BPM or EPICS BSA Facility

Debbie Rogind Diane Fairley SLC-Aware BSAC Facility Requirements Review May 26, 2005 Pulse Id data requirements SCP user can ask for associated pulse id data to accompany the acquired data Pulse id (retrieved from PNET) Time stamp (17-bit; from EVR?)