Magnet Functional Requirements - EPICS

advertisement
SLAC Aware IOC
EPICS Magnet Functional Requirements
Introduction
Magnet Functions
Displays
Database
EPICS Channel Access Applications
Phase II
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Introduction
Alpha, Unix and EPICS IOC
Dataflow
What will be supported
What won’t be supported
Later additions after Phase I
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Supported
Magnet Functions
Trim – Adjusting DAC to attempt to fit BACT to BDES
Perturb – Open loop setting of magnet to the desired B-field used for knobs and
changes smaller than TOLS. The ADC is not read.
Calibrate – A calibration procedure measures magnet current as a function of
DAC setting, and calculates a linear fit used by the other magnet control
functions.
Standardize – Cycle ps between zero and max current several times, leaving ps
at a predefined set point. This restores the magnet to a condition under which
its magnet field as a function of current was measured. This allows the magnet
to be set reliably to a new desired BDES.
Mini-Standardize – Maintain standardization when trimming or perturbing a
magnet in a direction opposite to standardization. Move magnet 5% above
desired set point and then move magnet in direction of standardization to
desired set point. Device cannot be shunted or boosted.
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Supported
Magnet functions
Zero – Set magnet ps dac to zero.
Hardware Knobs – Assign a prim,micr,unit to a knob box and move a the device
(perturb)
Software Knobs - Allows several magnets to be moved together as a group
(perturb)
Touchup – Set (pertub) a ps when it is out of tolerance.
IACT to IDES – Set desired current to actual current
Calibrate Diagnostics - Calibrate function that allows setting of the number of
steps and wait time. Additional diagnostic information is returned which the user
can display.
Degauss – Cycle ps between min and max currents to remove residual field by
This can be done for bipolar supplies only.
On/Off – Turn power supplies on or off
Reset Interlocks – Clear Interlocks
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Unsupported
Magnet Functions
Check function
Diagnostic knobs
Direct Module I/O (VME or CAMAC)
Control of SLC Magnets (in phase I)
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Displays
Monitor only for magnets by sector
Monitor & Control for magnets by sector a w/ the exception of SLC
controlled magnets. Will be listed but not controllable.
All units displays (xcor, ycor, quad, bend, solenoids)
Single Unit display
Status color coding same as SCP (green, yellow, magenta)
Z-Plot
B vs. I
History – data from Channel Archive and not History Buffers on SLC
Bad Units, Lost Standardize, Tripped Units, Bad RMS, Offline Units
Diagnostic Displays (decoding status bits in hsta/stat)
Diagnostic Calibrate
Many but not all standard displays
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Database
Using SLC High Level Applications requires duplicate DB information in
EPICS and SLC. This will be done for the Injector, Linac and BSY. In
such cases the EPICS DB will be the considered the master.
Save/Restore will be done on EPICS DB. New values for supertype 2 &
3 pushed to SLC DB.
Phase I will provide not control of SLC controllable magnets from
EPICS
Naming convention for EPICS DB
<PRIM>:<MICR>:<UNIT>:<SECN>
Example) QUAD:LM21:201:BDES
Naming convention for SLC DB
<PRIM>.<MICR>.<UNIT>
Example) QUAD.LM21.201
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
EPICS Channel Access
Applications
Save/Restore
Restore values on boot
Gold and Configuration Files
Channel Archive
Channel Watcher
Alarm Handler
Strip Tool
EDM – EPICS Display Tool
CMLOG
Matlab
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Phase II
Change BDES for SLC controlled Magnet
Modeling – XAL
KMOD to BDES
Steering
Correlation Plots
Diagnostics
Move SLC Controlled Magnets to VME
July 1, 2005
LCLS Controls , SLAC
K. Luchini
luchini@slac.stanford.edu
Download