Presentation is loading. Please wait.

Presentation is loading. Please wait.

Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system.

Similar presentations


Presentation on theme: "Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system."— Presentation transcript:

1 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system with the new” Subsystem architecture Magnet IOC Design Interface to legacy control system - SLC EPICS Record Processing EPICS SNL (EPICS device/driver support) Displays

2 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Thank-yous Interface to legacy SLC control system: Stephanie Allison, Diane Fairley, Ron Chestnut and group, Ron McKenzie Magnet Control: Kristi Luchini, Stephanie Allison

3 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 LCLS Conceptual Diagram SLAC linac tunnel research yard Linac-1 L  9 m Linac-2 L  330 m Linac-3 L  550 m BC-1 L  6 m BC-2 L  22 m LTU L =275 m undulator 21-3b24-6d25-1a30-8c L0-A,B rf gun X T-Cav T-Cav Dump 21-1b21-1d Spect. January 2007 Commissioning: ~ 90 Magnets Mostly all new existing linac

4 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Design Issues At least in the “short term”, LCLS wants to leverage the usage of legacy SLC control system high level physics applications … 1.New magnets must be controlled and monitored from legacy SLC – with minimal code modification to SLC (VMS, Fortran, assembly etc) 2.New magnets will use EPICS for control

5 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 How do we integrate the legacy system with the new EPICS controlled system?

6 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Proxy SLC - VMS CA Clients Legacy and New Magnet Subsystem Architectures SCP Ethernet CAMAC SLC Micro (RMX) SLAC Ethernet PS Controller Legacy SLC net CA Server HL Apps SCOR Bulk PSPS Bulk PS Large PS Controller MCOR Ethernet New Any OS SCP PEP-II SLC Micro (RMX) IOC MVME 6100 RTEMS 4.7 EPICS R.14.8.2 EDM CA PEP-II VME//VXI IOC New HL Apps DB EPICS Control- Alpha

7 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 CA Clients Answer: SLC-Aware IOC SCP Ethernet (LCLSnet) CAMAC SLC Micro (RMX) SLAC Ethernet PS Controller SLC net SLC - VMS CA Server HL Apps SCOR Bulk PSPS Bulk PS Large PS Controller MCOR (LEBnet) Any OS SCP VME Crate (RTEMS) EDM CA New HL Apps DB SLC-Aware IOC EPICS Control- Proxy

8 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Magnet SLC-Aware IOC Architecture libCom + libCom OSI libraries Runtime DB Access

9 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Design Issues 1,2, Solved: Communication bridges in place between the old and the new 3. There are two distinct databases: SLC EPICS How to synchronize?

10 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 SLC-Aware DB Synchronization Monitors EPICS setpoints / readbacks Periodic comparison SLC setpoints/ readbacks

11 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 EPICS Databases Per device Polynomial Coefficients (provided by MMF) B field settings: user, feedback, HLApps; tolerance, limits settings; B->I conversions Raw Current settings; I->B conversions Power Supply Controller I/Fs: interlocks, setpoints, readbacks Control functions Master Control DB (incl. on/off, reset, zero current) Supporting DBs: Trim, Standardize, Calibrate, Feedback Status – SLC, EPICS, and Summaries Per IOC - Multi-selection of devices; multi-function, (new!) Template and substitution files using macros

12 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Sequencer SNLs Per device, handles - “More complicated” control functions Trim, Calibrate, Standardize,… Transitions between steady states Timeouts User Abort Error conditions and message reporting Per IOC - Multi-select devices/functions, abort

13 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Magnet Device SNL for: - Trim - Calibration - Standardize

14 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 EPICS Magnet Facility- Record Processing / SNL

15 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Displays – for January 2007 Commissioning Legacy SLC SCP Displays Control and monitor all magnets Correlation plots, orbit fit, orbit display, orbit correction, bump calculation, power steering, multi-knobs, … EPICS EDM Displays Control and monitor new magnets; monitor existing Perform more than one function at a time More status available Legacy and EDM overlap functionality Status color code maintained SLC Status, SLC DB maintained Magnet functions controlled similarly, except for multi-function SLC DB name annotations are on EDM

16 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Sample legacy control display

17 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 SCP – All Units Sample legacy status display

18 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Sample EDM displays …

19 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006

20 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Conclusions SLC-Aware IOC will pay off for LCLS Integrates legacy system to new Allows usage of a rich set of existing legacy HLApps Buys time Made possible by the EPICS OSI libraries Endian issues were a pain Users are excited for EPICS controlled magnets Better GUIs Multi-function magnet control

21 Debbie Rogind LCLS Magnet Controldrogind@slac.stanford.edu June 15, 2006 Thank-you for being a magnetic audience!


Download ppt "Debbie Rogind LCLS Magnet June 15, 2006 LCLS Magnet Control Challenging Design Issues “How to integrate the legacy system."

Similar presentations


Ads by Google