100 likes | 200 Views
High Level Physics Applications Update on Plans, New Directions Fairley, Rogind, Allison, Zelazny, Chevtsov, Laznovsky. Outline Required High Level Applications for Injector Commissioning Interim deliverables Long-term plans. High Level Physics Applications for Injector Commissioning.
E N D
High Level Physics ApplicationsUpdate on Plans, New DirectionsFairley, Rogind, Allison, Zelazny, Chevtsov, Laznovsky Outline Required High Level Applications for Injector Commissioning Interim deliverables Long-term plans
High Level Physics Applications for Injector Commissioning • The original plan for high level applications called for making use of both the XAL and SLC applications suites • The XAL use included: • Emittance application • On-line Model to provide model parameters to the Emittance application • Energy spread application • Bunch Length Measurement application
High Level Physics Applications for Injector Commissioning • All other required applications were to be provided by the SCP • Orbit Applications • Orbit display • Orbit fitting • Orbit corrections • Bump calculation • Power steering • These applications require CAMAC magnet control • will not be available via EPICS before injector commissioning, so the SLC system and SLC-aware IOCs will provide orbit apps during first commissioning.
High Level Applications – Change in Direction • The applications group has been temporarily re-assigned to other tasks • Supporting Timing System, Fast Feedback, Magnet control, etc. • The new plan for Injector commissioning calls for… • Making heavy use of MATLAB for application development • Providing access to most control subsystems from MATLAB • Enlisting the support of accelerator physicists in developing some of the required applications • The Applications Group to provide the MATLAB interface to the accelerator data and the supporting infrastructure • To migrate the applications to the XAL environment at a later date • The critical Bunch Length Measurement application will be first prototyped it in MATLAB by the applications group • The physics group will develop prototype Emittance / Energy spread applications in MATLAB
Low-level control of all LCLS-specific devices will be through EPICS • Some applications require an interface to wire scanners and screens (OTRs/YAGs) • The control for these and other new LCLS-specific devices will be available only through EPICS • These applications will request scans or images via channel access from EPICS IOCs • The applications will receive raw data and/or calculated parameters (beam sizes, etc.) from IOCs
Injector commissioning will make heavy use of the SLC control software • Supporting software • Online model; transfer matrices and twiss parameters • SLC on-line model for orbit applications • XAL on-line model used for emittance and energy spread calculations • Buffered acquisition - SLC • Correlation plots - SLC • Multiknob facility - SLC • Configuration management - SLC • Golden orbits, user set-points, constants • Applications not listed here are not required for commissioning • They will be attended to once commissioning apps are complete
High Level Applications Requirements(PRD - by Patrick Krejcik) • The following applications are being prototyped in MATLAB, using LabCA to access IOC PVs, Aida to access LCLS Model data from SLC. • Bunch Length Measurement application (including the Transverse Deflector Cavity Feedback) - Mike Z., and Sergei C. with Paul Emma • Emittance application - Debbie R. with Henrik Loos • Energy / Energy Spread - Debbie R. with Henrik Loos • All other HLA will be provided by the SCP, using the SLC-aware IOCs to interface to Magnets, RF, BPMs and other measurement devices.
High Level Applications Requirements(PRD - by Patrick Krejcik) • The LCLS online model will be implemented through the SLC database and the modeling facility • integration and test of SLC-aware IOC with real hardware - Diane F. and Debbie R. • The general approach for the MATLB prototype application development is to: • have software engineers set up the LabCA and Aida interfaces to the IOCs and SLC model data • identify the PVs required • structure the application and help develop simulations to be used until actual devices are ready. • The physicists and software engineers will collaborate on creating a usable MATLAB application in each case.
Fast Feedback Requirements PRD by Paul Emma • Feedback loops will be prototyped in MATLAB, using LabCA to access IOC PVs, Aida to access LCLS Model data from SLC. • MATLAB limits feedback loops to about 1Hz rate • We will use the same prototyping approach described above. We are currently working on a soft IOC "simulator" to support feedback development. • The following loops are currently under development • Bunch Charge - Diane F. , Sheng P. , physicists • Injector Launch - Diane F. and Juhao W.* • DL1 Energy - Diane F. and Juhao W. • Spectrometer Energy - Diane F. and Juhao W. • DL1 Energy + BC1 Energy + Bunch Length - Diane F. and Juhao W. • Transverse Deflecting Cavity - Mike Z., Sergei C., and Paul Emma • The Injector Launch feedback loop will also be prototyped in an Epics soft IOC. This will give us a chance to prototype what will be the long-term design of the Fast Feedback loops for LCLS.
Long-Term Goals for HLAPPS & Fast Feedback • Long Term Priorities for high level applications • RDB support for XAL • XAL online model • XAL PVLogger • All application developments in XAL • Long Term Priorities for Fast Feedback • Decision point - use state-space or classical (PID) formalism? • Decision point - interface for fast feedback communications: Front-runner - custom raw Ethernet interface on second Ethernet port. • Implement a driver for this dedicated interface • Formal design of a general Fast Feedback system, and implement in EPICS (based on SLC Fast Feedback architecture)