Experimental Physics and
| |||||||||||||||||
|
The calculations are put into a layer of EPICS records that uses the hardware layer records as inputs and outputs. That is similar to the approach I took. PVs for beam energy (MeV), quad focusing strength (m^-2), betatron tune shift, orbit correction (mrad), undulator K/gamma, etc. are the PVs which are available at the operator interface layer (e.g. medm). The logic for translating this to engineering units (e.g. power supply Amps) is all contained in the EPICS database layer. In most cases, it is not a one-to-one mapping. For instance, the betatron tune shift knob drives 9 families of quadrupoles involving 16 (if I recall correctly) power supplies. The wiggler knob drives even more power supplies with built in feed-forward compensation for orbit shifts and tune shifts. And the beam energy knob touches nearly every magnet power supply (with the quadrupoles, for instance, maintaining the same effective focusing strength for the different energy beam). Within the EPICS database, it is basically an ao record for a high-level parameter, a bunch of calc, calcout and fanout records, breakpoint records (for non-linear mapping), and then to ao records to drive the hardware, with event records used for synchronization.
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |