Repository navigation
Description
Feature: Electromagnetic insertion devices
Description, motivation and use case
Implementation subissue of #509 for current-driven electromagnetic IDs, without requiring fictitious gap or phase coordinates.
Proposed solution
Implement the shared ID interface using named current drives, with SOLEIL HU640 and HU256 as representative cases.
- Support multiple current coordinates with explicit units, limits, distinguishable setpoints/readbacks and read/write capability discovery.
- Follow pyAML's accessor conventions, including bounded
set_and_wait(value)with backend-defined completion and readback tolerances. - Support optional operating modes. Leave coupled power-supply sequencing, interlocks and transition restrictions to the control system and propagate its errors.
- Allow optional FFWD flags/services and references to existing pyAML correctors, reusing current/strength calibration interfaces.
- Link to a fixed-operating-point
at.InsertionDeviceKickMap, recording the relevant currents and mode. Keep model settings distinct from hardware readbacks and reject settings not represented by the model. Model-only ON/OFF switches between kickmap tracking and a same-length drift without changing hardware.
FFWD measurements/table handling, low-level power-supply control logic and continuously variable electromagnetic modelling are outside this subissue.
Describe alternatives you've considered
Forcing electromagnetic IDs into a gap/phase interface misrepresents their controls; one generic current channel cannot describe devices with several independently named supplies.
Example
HU640 uses currentPS1, currentPS2 and currentPS3; HU256 uses currentBZP, currentBX1 and currentBX2, with facility-specific coordination. These are backend bindings, not mandatory public channel names.
Additional context
Follow the shared configuration, identity, capability-discovery and model contracts in #509. Cover multiple current drives without gap/phase, limits, completion/timeouts, propagated control-system errors and fixed-model behaviour.
Checklist
- I've assigned this issue to a project
- I've @-mentioned relevant people
Activity