November 12, 2008 Controls Software D. Fairley LCLS Feedback.

Slides:



Advertisements
Similar presentations
Epics Configuration Management Steve Hunt v1.0. Goals Maximize control system availability Minimize development cycle time Reduce risk.
Advertisements

Global MP3 Geoffrey Beers Deborah Ford Mike Quinn Mark Ridao.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
LCLS Control System Overview Mike Zelazny SLAC ICD Software Department Accelerator Directorate.
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
Software Delivery. Software Delivery Management  Managing Requirements and Changes  Managing Resources  Managing Configuration  Managing Defects 
Team: Maya Zalcberg Diana Attar Levona Hershtik Academic advisor: Prof. Ehud Gudes ADD Presentation.
Patrick Krejcik LCLS April 16-17, 2007 Breakout Session: Controls Controls Commissioning Experience.
Ernest L. Williams Jr. Controls Commissioning October 2007 Controls Commissioning Facility Advisory Committee.
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.
June 17, 2008 LCLS FAC D. Fairley MATLAB Feedback Phase II Commissioning.
Mike Zelazny FAC April 17 th, 2007 Matlab Applications Image Management Bunch Length Measurement Feedback Software Engineers.
Diane Fairley High Level October 24-28, 2005 High Level Physics Applications LCLS Week / FAC October 24-28, 2005.
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.
Hamid Shoaee LCLS FAC Controls June 17, LCLS Control System Personnel Linac & BC2 Controls progress LTU, Dump Controls.
Hamid Shoaee LCLS FAC Review – October Control System Overview Hamid Shoaee Controls System Manager Injector control system commissioning & Support.
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.
Patrick Krejcik LCLS November 11-12, 2008 SLAC National Accelerator Laboratory 1 Post-commissioning Controls Enhancements.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
Automatic Software Testing Tool for Computer Networks ARD Presentation Adi Shachar Yaniv Cohen Dudi Patimer
London April 2005 London April 2005 Creating Eyeblaster Ads The Rich Media Platform The Rich Media Platform Eyeblaster.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Capabilities of Software. Object Linking & Embedding (OLE) OLE allows information to be shared between different programs For example, a spreadsheet created.
ATF2 Mover Software 19 June 2008 Janice Nelson, Doug McCormick (SLAC) Glen White (LAL/SLAC) Justin May (no longer at SLAC)
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
EPICS Application Development At The Canadian Light Source Glen Wright.
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.
1 Franz-Josef Decker 1 Multi-Bunch Operation for LCLS Franz-Josef Decker March 17, Definitions and goals multi-bunch within.
The recent history and current state of the linac control system Tom Himel Dec 1,
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
Stephanie Allison SLC-Aware April 5, 2005 Introduction Description Issues Progress Plans for 2005 SLC-Aware IOC LCLS Collaboration,
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
1 1999/Ph 514: Lab #1 : CA Clients EPICS Lab #1 CA Clients.
LCLS Control Group FAC – 06 Installation October 27/28, Plans for 2006 Installation October 27, 2005 Installation.
2/20/2016J-PARC1 Virtual Accelerator An Accelerator Simulator.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
Robert C. Sass Sheng Peng LCLS Upgrade Review June IOC Requirements 1 LCLS Phase I Upgrade; IOC CAMAC Support Requirements Robert C. Sass Sheng.
Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.
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.
ESS Integrated Control System Software Core Components S.Gysin
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
Stephanie Allison LCLS IOC Meeting Jul 18, 2008, Jan 21, 2011 Beam Synchronous Acquisition for IOC Engineers Definition/Requirements.
Unit 3 Computer Systems. What is software? unlike hardware it can’t be physically touched it’s the missing link between the computer hardware and the.
LCLS Commissioning & Operations High Level Software
Operations Machine Simulator.
SLC-Aware IOC LCLS Collaboration Jan 26, 2005
Automation and Feedbacks
LLRF and feedback Outline Scope LLRF Requirements
LCLS Commissioning & Operations High Level Software
LCLS Event System - Software
Phase II Commissioning
OCELOT orbit correction and optimizer
High Level applications development status
High Level Physics Applications for LCLS Commissioning
Beam Synchronous Acquisition on IOC
SLC-Aware IOC Magnet Functional Requirements
High Level Physics Applications Lehman Review February 7 - 9, 2006
Presentation transcript:

November 12, 2008 Controls Software D. Fairley LCLS Feedback

November 12, 2008 Controls Software D. Fairley Topics MATLAB Feedback Where we are now Still to do Fast Feedback Plans The Team The Work Types of feedbacks Proposed Feedback Architecture Major subprojects The Schedule

November 12, 2008 Controls Software D. Fairley MATLAB:Where we are now 13 Feedback loops in operation Bunch charge 5 Launch loops 7 configurations of Longitudinal feedback

November 12, 2008 Controls Software D. Fairley

November 12, 2008 Controls Software D. Fairley MATLAB: Still to do Still to do New Launch feedbacks Additional Longitudinal configurations Smart Longitudinal Feedback Time-slot awareness

November 12, 2008 Controls Software D. Fairley Still to do: Launch Feedbacks L3 Launch BSY Launch LTU Launch Undulator Launch NOTE: Launch feedbacks are fairly easy to create and deploy, as long as all devices are EPICS controlled.

November 12, 2008 Controls Software D. Fairley Still to do: Longitudinal Feedback Longitudinal Feedback RF Control in L2 and L3 Want to try out ‘Energy’ and ‘Chirp’ PVs as actuators for L2 need to add similar control for L3 Add DL2 energy (or BSY energy) to Longitudinal Must calculate the new ‘Energy’ measurement two different ways, depending on beam destination. One Shift – test L2 control One Shift – test L3 control + BPM measurements at DL2 One Shift – test 6x6 Feedback Make Longitudinal a single, smart feedback

November 12, 2008 Controls Software D. Fairley Smart Longitudinal Feedback Why do this? It’s already difficult to keep track of which longitudinal should run, and to remember to change it when beam conditions change. With the addition of DL2 energy, the number of longitudinal feedbacks to choose between, increases from 7 to 13+. The feedbacks do not respond to chicane on/off and there are no feedbacks that work with BC1 Off / BC2 On scenario. We can add this capability. Each longitudinal feedback has its own set of archived PVs – when switching from one longitudinal to another, the archiver also changes PVs. When looking back at archive, the user needs to look at all 7 (13+) sets of PVs or know which feedback was running at the time of interest. A new, smart Longitudinal feedback will have only one set of PVs. The feedbacks do not respond to online/offline devices right now. We can add this capability, and use it in a smart way.

November 12, 2008 Controls Software D. Fairley

November 12, 2008 Controls Software D. Fairley Time-Slot Aware in MATLAB Measurement by Time-slot System eDefs already have time-slot info. For example, we can set F1 for TS1 and F2 for TS4. Actuators by Time-slot Not available now. Ideally, an actuator PV per time-slot would work best for feedback, eg: BDES_TS1, BDES_TS4 For two time-slots, double the number of feedbacks in their configuration files use the Time-slot specific names for measurement, actuator, state PVs. In the soft IOC, double the number of states and state setpoints PVs, storage PVs, status PVs etc… Therefore, with Actuator enhancements, MATLAB feedback can work with two time-slots.

November 12, 2008 Controls Software D. Fairley Fast Feedback Plans The Team The Work Types of feedbacks Proposed Feedback Architecture Major subprojects The Schedule

November 12, 2008 Controls Software D. Fairley The Team Project Manager: Patrick Krejcik Software Lead: Diane Fairley Network Software Stephen Norum Till Straughman (consulting) Sheng Peng (consulting) Coordinating with Photon Diagnostics Group Timing: Stephanie Allison IOC Software (controller, actuators, measurements) Diane Fairley Debbie Rogind Stephanie Allison (consulting) IOC Software Group member Configuration Application HLA team member(s)

November 12, 2008 Controls Software D. Fairley Types of Feedbacks Bunch Charge Feedback Longitudinal Feedback Multiple Transverse Feedbacks More added in the future… NOTE: the bunch charge and longitudinal feedbacks are unique. The transverse feedback type needs to be easily created and configured

November 12, 2008 Controls Software D. Fairley Major Subprojects 1.Dedicated Network 2.Feedback Controller IOC Application 3.Actuator IOC Application 4.Measurement IOC Application 5.Feedback Configuration Application Includes automated creation of new feedbacks

November 12, 2008 Controls Software D. Fairley Proposed Fast Feedback Architecture

November 12, 2008 Controls Software D. Fairley Dedicated Network A dedicated network must be developed and installed to support the required 120Hz data throughput Additional hardware is required for each actuator, measurement and controller IOC. Interface layer(s) of software must be developed for each of these IOCs as well: Generic network management, send & receive layer Layer for packaging, sending, recieving data specific to each feedback controller.

November 12, 2008 Controls Software D. Fairley Controller IOC Application Runs on an IOC; one instance per feedback Provides a user interface to the running loop via EDM screens and PVs Is Timing driven (loop wakes up on a timing event) Runs the actual feedback loop; reads setpoints, on/off, gains, matrices, beam and device conditions from PVs; Gets measurements and actuator readbacks from devices via dedicated network checks beam and device conditions, If conditions good, calculates states and new actuator values, sends actuator commands via dedicated network stores all measurement, actuator, and calculated state values to PVs on IOC to meet post-mortem requirement Outputs feedback parameter data (BLD to Photon group) via the FF network Energy, launch parameters (x,x’,y,y’), peak current at the end of the linac

November 12, 2008 Controls Software D. Fairley Actuator IOC application Runs on the actuator IOCs LLRF, Magnets, Laser Power and/or Manages interface to dedicated FF network Accepts actuator commands from controller via dedicated FF network. Support multiple time-slots. The actuators are set per timeslot. Actuator commands from FF network are applied within one pulse rep. interval. Readback values are sent back to controller via FF network on the next pulse interval. Readback data includes device name, value, quality, timestamp, timeslot

November 12, 2008 Controls Software D. Fairley Measurement IOC Application Runs on the measurement device IOCs BPMs, BLENs, TOROs Sends each pulse measurement to feedback controllers via the dedicated FF network Measurement data includes device name, value, quality, timeslot, timestamp Send measurement data for all devices in IOC?

November 12, 2008 Controls Software D. Fairley Configuration Application Written in HLA java framework Runs on the OPI Allows user to choose feedback devices, and configure limits, gains, matrices, setpoints, reference orbits Allows user to load a configuration to the Feedback Controller IOC (and possibly to the Actuator and Measurement IOCs) Allows user to save configurations to the RBD Supports the automated creation of new feedbacks

November 12, 2008 Controls Software D. Fairley Fast Feedback Architecture Issues Ethernet is the preferred solution (it is multi-source and cost effective), but reflective memory appears to be the only solution that works within our schedule and staffing constraints. Where will the Controller IOC Application run? On a single feedback IOC? Multiple feedback IOCs? On each actuator IOC? What devices will be on the fast feedback network? At what rates will the feedback itself operate? 1Hz, 10Hz, 30Hz, Full Rate – like the EDEFs? What data does the Photon Group need? (BLD data) Energy, launch parameters (x,x’,y,y’), peak current at the end of the linac How can we automate creation of a new feedback? (database driven)

November 12, 2008 Controls Software D. Fairley Proposed Schedule Network Preliminary Design -- Jan This allows us to begin on networking Detailed design & review of subprojects -- Spring 2009 Timeslot control of feedback actuators – Spring 2009 Network established -- Summer 2009 Provide 120Hz Photon data link -- Fall 2009 First Fast Feedback loop -- January 2010

November 12, 2008 Controls Software D. Fairley Reference:Creating a new feedback in general Current general process for creating new Feedback loops If necessary, create up to three new MATLAB scripts for the feedback: getMatrix function, loop init function, loop algorithm. Currently there are three versions of each of these, one for each feedback ‘type’. Add EPICS DB template for each new feedback and re-build the softIOC * Create a configuration file for the feedback * Create EDM screens for the new feedback * Update ChannelWatcher config Add Alarms for the feedback Archive new feedback PVs Most time is spent updating support applications – alarm handler, channelwatcher, archiver, and particularly EDM displays. How to ‘automate’ these? The ability to dynamically create PVs with relevant names would be an awesome thing. At this time, auto-creating feedbacks requires pre-loading the feedback IOC with generic named records that can be assigned on the fly. Is this a problem? * Usually done by copy and edit