Upload
zihna
View
40
Download
0
Embed Size (px)
DESCRIPTION
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. LCLS Magnet Control. Thank-yous. - PowerPoint PPT Presentation
Citation preview
Debbie Rogind
LCLS Magnet Control [email protected]
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
Debbie Rogind
LCLS Magnet Control [email protected]
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
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
LCLS Conceptual Diagram
SLAC linac tunnel research yard
Linac-1L 9 m
Linac-2L 330 m
Linac-3L 550 m
BC-1L 6 m
BC-2L 22 m LTU
L =275 m
undulator21-3b21-3b24-6d24-6d
25-1a25-1a30-8c30-8c
L0-A,B
L0-A,B
rfgun
XXT
-Cav
T-C
av
T-Cav
T-Cav
Dump
21-1b21-1b21-1d21-1d
Spect.Spect.
January 2007 Commissioning:
~ 90 Magnets Mostly all new
existing linacexisting linac
Debbie Rogind
LCLS Magnet Control [email protected]
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
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
How do we integrate the legacy system with the new EPICS controlled system?
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Proxy
SLC - VMS
CA Clients
Legacy and New Magnet Subsystem Architectures
SCP
Ethernet
CAMAC
SLC Micro(RMX)
SLAC EthernetPS Controller
Legacy
SLC net
CAServer
HL Apps
SCOR
Bulk PSPS PSBulk PS
Large PSController
MCOR
Ethernet
New
Any OS SCP
PEP-IISLC Micro
(RMX)
IOCMVME 6100 RTEMS 4.7
EPICS R.14.8.2
EDM
CACA
PEP-IIVME//VXI
IOC
New HL Apps
DB
EPICS Control-
Alpha
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
CA Clients
Answer: SLC-Aware IOC
SCP
Ethernet (LCLSnet)
CAMAC
SLC Micro(RMX)
SLAC EthernetPS Controller
SLC net
SLC - VMS
CAServer
HL Apps
SCOR
Bulk PSPS PSBulk PS
Large PSController
MCOR
(LEBnet)
Any OS SCP
VME Crate (RTEMS)
EDM
CA
New HL Apps
DB
SLC-Aware IOC
EPICS Control- Proxy
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Magnet SLC-Aware IOC Architecture
libCom + libCom OSI
libraries
Runtime DB Access
Debbie Rogind
LCLS Magnet Control [email protected]
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?
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
SLC-Aware DB Synchronization
Monitors
EPICS setpoints / readbacks
Periodic comparison
SLC setpoints/ readbacks
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
EPICS Databases
Per devicePolynomial Coefficients (provided by MMF)B field settings: user, feedback, HLApps;
tolerance, limits settings; B->I conversionsRaw Current settings; I->B conversionsPower Supply Controller I/Fs: interlocks, setpoints, readbacksControl 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
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Sequencer SNLs
Per device, handles -“More complicated” control functions
Trim, Calibrate, Standardize,…
Transitions between steady statesTimeoutsUser AbortError conditions and message reporting
Per IOC -Multi-select devices/functions, abort
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Magnet Device SNL for:
- Trim- Calibration- Standardize
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
EPICS Magnet Facility- Record Processing / SNL
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Displays – for January 2007 Commissioning
Legacy SLC SCP DisplaysControl and monitor all magnetsCorrelation plots, orbit fit, orbit display, orbit correction, bump calculation, power steering, multi-knobs, …
EPICS EDM DisplaysControl and monitor new magnets; monitor existingPerform more than one function at a time More status available
Legacy and EDM overlap functionalityStatus color code maintained SLC Status, SLC DB maintainedMagnet functions controlled similarly, except for multi-functionSLC DB name annotations are on EDM
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
SCP – All UnitsSample legacystatusdisplay
Debbie Rogind
LCLS Magnet Control [email protected]
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
Debbie Rogind
LCLS Magnet Control [email protected]
June 15, 2006
Thank-you for being a magnetic audience!