-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
As a SANS2D scientist, I want IBEX to provide me with two detector position controls, so that I can independently adjust the position of either detector (front/rear).
Acceptance Criteria
- The IBEX GUI provides one position control per detector array (to allow each detector array to be moved independently of the other)
- Motion is disabled/enabled if the detector array CAEN high-voltage PSU is on/off.
- If the CAEN high-voltage PSU is on/off, the PS Energised LED should be lit/unlit
- If motion is enabled,
- I can move each detector array along the z-axis (i.e. parallel to the beam) using the IBEX GUI or genie_python.
- I can move each detector array along the x-axis (i.e. horizontally across the beam) using the IBEX GUI or genie_python.
- I can rotate the front detector array about its axis of rotation using the IBEX GUI or genie_python.
- In the IBEX GUI, each detector array position control should:
- allow the user to define the z-axis position setpoint of the detector array
- reflect the z-axis position of the detector array in a readback field
- allow the user to define the x-axis position setpoint of the detector array
- reflect the x-axis position of the detector array in a readback field
- For the front detector array only:
- allow the user to define the rotation setpoint of the detector array
- reflect the rotation of the detector array in a readback field
- If motion is disabled, I am unable to move the relevant detector array. The detector array position control is disabled in the IBEX GUI; genie_python reports that it cannot move the relevant axis.
- Detector array trolley motors are de-energised when motion is complete.
1. The detector position controls operate with the "Move All" button (see SANS2D: Vacuum Tank OPI #4577), so that the user can enter new positions but the detector doesn't move until the "Move All" is pressed.(No long required, see SANS2D (and others): Delayed move #5499 (comment)) - IBEX provides the same level of functionality as the existing LabVIEW VIs
Notes
- This ticket is a sub-ticket of SANS2D: Control of Vacuum Tank (EPIC) #4576.
- The front and rear detector arrays are physically mounted on trolleys sharing a single set of rails parallel to the z-axis.
- the trolleys are free to move along the entire length of the rails, constrained only by the front and rear baffle trolleys respectively.
- there is a risk that the detector trolleys could collide with the baffle trolleys.
- there is a risk that when the front detector array is rotated, it could collide with the front baffle.
- in the event of a collision between detectors & baffles, there are routines in the Galil controller(s) which initiate a rapid deceleration to avoid (or at least minimise) damage to devices.
- See ticket SANS2D: Minimum Baffle/Detector Intervals #4587 for minimum distances (to prevent collisions).
- Because the motors that drive the detector array trolleys operate in a vacuum, they should be de-energised when a move is complete (otherwise they are at risk of over-heating).
- Note: do not confuse energising of the motors with energising of the CAEN power supplies.
- Note the homing of detectors:
- on both detectors all directions of motion have encoders and a home position.
- on the front detector, the z-direction home must start in a forwards direction (i.e. towards the sample position).
- on the rear detector, the z-direction home must start in a backwards direction (i.e. towards the rear of the tank).
- The detector trolleys are driven (in the z-direction) by belts. Belts are not as precise as direct drive, so positioning can be tricky. Motion correction on these axes is switched off for this reason.
- There are schematic diagrams showing the operation of the SANS2D vacuum tank.
- There are schematic diagrams showing the how the SANS2D vacuum tank User OPI and Advanced OPI could look.
- The LabVIEW VI for the SANS2D vacuum tank is located at:
C:\LabVIEW Modules\Instruments\SANS2D\Sans2d Tank(for more details see theS2d Tank - Front Panel.viin the fileSans2d Tank - System Functions.llb) - Check the paragraphs describing the Front and Rear Detectors in the Beam_line_descriptors document.