View
18
Download
0
Category
Preview:
DESCRIPTION
LCLS Phase I Upgrade; IOC CAMAC Support Requirements. Robert C. Sass Sheng Peng. Overview. General Database Camac I/O Supported Camac Modules 360Hz Processing Crate Management Analog Inputs and Outputs Digital Inputs & Outputs Klystron Support Timing Support BPM Support - PowerPoint PPT Presentation
Citation preview
Robert C. SassSheng PengLCLS Upgrade Review
June19 20081
IOC Requirements
LCLS Phase I Upgrade; IOC CAMAC Support Requirements
Robert C. SassSheng Peng
Robert C. SassSheng PengLCLS Upgrade Review
June19 20082
IOC Requirements
Overview
GeneralDatabaseCamac I/OSupported Camac Modules360Hz ProcessingCrate ManagementAnalog Inputs and OutputsDigital Inputs & OutputsKlystron SupportTiming SupportBPM SupportMagnet SupportRemote Camac OperationUnresolved Issues
Robert C. SassSheng PengLCLS Upgrade Review
June19 20083
IOC Requirements
General
No support for SLC message service or database
No support for powerfail recovery of a crateA reboot is necessary if a crate fails and is brought back online
No support for the old MPS systemWe assume that the new MPS will be fully functional
Support only for the following micros:LI20-LI30
CA01, CA11 MC00, AB01, CB00, FB31?
Robert C. SassSheng PengLCLS Upgrade Review
June19 20084
IOC Requirements
Database
Mostly automated tool to translate relevant SLC database primaries for supported micros to EPICS database records.
All relevant crates and supported modules must be translated for each micro.
PV names preserved for HLA when underlying hardware changes.EPICS database records will receive data from Camac I/O.Asynchronous records for output processing.
Robert C. SassSheng PengLCLS Upgrade Review
June19 20085
IOC Requirements
Camac I/O
Existing CAM* routines updated for the FECC project.Thread safeAll 32 bit pointersGCC compatible
Using them is the required implementation.Some Camac modules have special I/O “needs”All micro code made GCC compatible as part of the FECC projectMuch existing micro Camac code can be used with minimal change
Take advantage of new PCSD featuresThree priorities; use highest for 360HzOptional interruptsChangeable timeoutActual package execution time available
Robert C. SassSheng PengLCLS Upgrade Review
June19 20086
IOC Requirements
Supported Camac Modules
IDIM/LDIM – Isolated/Latching Digital Input Module.IDOM – Isolated Digital Output Module.SAM – Smart Analog Monitor.DAC – Digital to Analog Converter.PDU – Programmable Delay Unit.BPM – Linac Beam Position Monitor (remaining EP-BPMs replaced)PPOM – Pulsed Power Output Module.PIOP – Parallel Input/Output Processor.SBI – Subbooster Interface.PSC II – Power supply controllerSMC Stepping Motor ControllerCV - Crate Verifier (optional).
Robert C. SassSheng PengLCLS Upgrade Review
June19 20087
IOC Requirements
360Hz Processing
Only support PDU timing device.
Use high priority request of the PCSD sans interrupt.
Provide user callback mechanism at defined set of fiducial sub-harmonics.
120Hz, 60Hz, 30Hz, 10Hz, 5Hz, 1Hz, 0.5Hz
Selectable callback priority.
Robert C. SassSheng PengLCLS Upgrade Review
June19 20088
IOC Requirements
Crate Management
All crates initialized at IOC boot/reboot.Similar to what micro crate job does
Special initialization for individual modules:PDU, IDOM, SAM, PIOP
PIOP image and tmatrix available as files
No access by other threads until crate is initialized.
No access to PDU, IDOM, SAM and PIOP until they have been initialized.
Periodic crate operational check.
Robert C. SassSheng PengLCLS Upgrade Review
June19 20089
IOC Requirements
Analog Inputs and Outputs
Only the SAM is supported for analog inputs.Process all analog inputs at 1Hz.Support for the following E.U conversions:
Linear.Logarithmic.Polynomial.Ion Guage.Phase Mixer.Parabolic Interpolation. See VMS ref_rmx_anlg:polyint.f86Thermocouples. See VMS ref_rmx_anlg:thermist.f86
Calculated values.Dynamic Disk Loaded Waveguide dynamic tolerance adjustment.Interpret E.U. tolerances in two ways:
1. E.U. = Lim1 +/- Lim22. Lim1 <= E.U. <= Lim2
Analog outputs are done by each job. What conversions are needed?
Robert C. SassSheng PengLCLS Upgrade Review
June19 200810
IOC Requirements
Digital Inputs & Outputs
IDIM, LDIM and IDOM are the only digital modules supported
Process all digital inputs at 1Hz.
Process digital outputs on demand.
Robert C. SassSheng PengLCLS Upgrade Review
June19 200811
IOC Requirements
Klystron Support
Implement both types of FTP reads:OrdinarySystem Volt
Periodic status checks and trim phase.Implement all functions that update the PIOP
KLYS_UPDATE_PIOP - General PIOP updateKLYS_UPDATE_PIOP_PADONLY - Update PAD block KLYS_UPDATE_PIOP_MK2ONLY - Update MK2 blockKLYS_UPDATE_PIOP_NEWPHASE – Set new phaseKLYS_TRIM_SLED – Move SLED to position in databaseKLYS_TRIM_PHASE – Move Fox shifter within tolerance of designated phaseKLYS_PTRB_PHASE - Perturb phase by requested amountKLYS_FOXHOME - Set Fox phase shifter to home
Robert C. SassSheng PengLCLS Upgrade Review
June19 200812
IOC Requirements
Timing Support
Update of single PDU value.
Update of modulo-36 time slot counter.
May support diagnostic readout of PDU status registers and memory.
Robert C. SassSheng PengLCLS Upgrade Review
June19 200813
IOC Requirements
Individual BPM Display
Robert C. SassSheng PengLCLS Upgrade Review
June19 200814
IOC Requirements
BPM Support
No private calibrations.
PVs to support Beam Synchronous Acquisition (BSAC) functions in IOC for BPMs.
Public CalibrationSet x & y offsets attenuator and pedestal
Pulse based readout resulting in X, Y and tmit
Standard Linac BPMs map into EPICS BSACApplication PVs.
Robert C. SassSheng PengLCLS Upgrade Review
June19 200815
IOC Requirements
Magnet Support – LCLS Display
Robert C. SassSheng PengLCLS Upgrade Review
June19 200816
IOC Requirements
Magnet – Individual Magnet
Robert C. SassSheng PengLCLS Upgrade Review
June19 200817
IOC Requirements
Magnet Support
Existing EPICS magnet functionSupport PSC II and SMC for EPICS magnet functions.No support for self test.PSC II is complicated
Analog output for setpoint2 Analog inputs for shunts or transductors8 bits of digital input6 bits of digital outputSelectable ramping ratesSome “special” code required e.g. set mode before ADC read, delay when switching analog inputs etc.Kristi assures me that these will map into EPICS PVs for magnet support
SMC is fairly simpleSet number of stepsStart/stopRead status and counterFront panel adjustments for acceleration and frequency
Robert C. SassSheng PengLCLS Upgrade Review
June19 200818
IOC Requirements
Remote Camac Operation
Support execution of a Camac package originating outside of the IOC.
This means rebuilding the package to use PCSD dual-ported memory.
Only accept requests and return results via Channel Access.
Should support repeated execution of a package for diagnostic purposes.
Robert C. SassSheng PengLCLS Upgrade Review
June19 200819
IOC Requirements
Unresolved Issues
FB31 Energy loop needed?
Not all PSCs in linac are needed. Can they be replaced with EPICS H/W?
Supported output conversions?
Recommended