Skip to content

SANS2D: Detector Position Controls #4586

@kjwoodsISIS

Description

@kjwoodsISIS

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

  1. The IBEX GUI provides one position control per detector array (to allow each detector array to be moved independently of the other)
  2. Motion is disabled/enabled if the detector array CAEN high-voltage PSU is on/off.
  3. If the CAEN high-voltage PSU is on/off, the PS Energised LED should be lit/unlit
  4. If motion is enabled,
    1. I can move each detector array along the z-axis (i.e. parallel to the beam) using the IBEX GUI or genie_python.
    2. I can move each detector array along the x-axis (i.e. horizontally across the beam) using the IBEX GUI or genie_python.
    3. I can rotate the front detector array about its axis of rotation using the IBEX GUI or genie_python.
    4. In the IBEX GUI, each detector array position control should:
      1. allow the user to define the z-axis position setpoint of the detector array
      2. reflect the z-axis position of the detector array in a readback field
      3. allow the user to define the x-axis position setpoint of the detector array
      4. reflect the x-axis position of the detector array in a readback field
      5. For the front detector array only:
        1. allow the user to define the rotation setpoint of the detector array
        2. reflect the rotation of the detector array in a readback field
  5. 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.
  6. 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))
  7. IBEX provides the same level of functionality as the existing LabVIEW VIs

Notes

  1. This ticket is a sub-ticket of SANS2D: Control of Vacuum Tank (EPIC) #4576.
  2. The front and rear detector arrays are physically mounted on trolleys sharing a single set of rails parallel to the z-axis.
    1. the trolleys are free to move along the entire length of the rails, constrained only by the front and rear baffle trolleys respectively.
    2. there is a risk that the detector trolleys could collide with the baffle trolleys.
    3. 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.
    4. See ticket SANS2D: Minimum Baffle/Detector Intervals #4587 for minimum distances (to prevent collisions).
  3. 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.
  4. Note the homing of detectors:
    1. on both detectors all directions of motion have encoders and a home position.
    2. on the front detector, the z-direction home must start in a forwards direction (i.e. towards the sample position).
    3. on the rear detector, the z-direction home must start in a backwards direction (i.e. towards the rear of the tank).
  5. 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.
  6. There are schematic diagrams showing the operation of the SANS2D vacuum tank.
  7. There are schematic diagrams showing the how the SANS2D vacuum tank User OPI and Advanced OPI could look.
  8. The LabVIEW VI for the SANS2D vacuum tank is located at: C:\LabVIEW Modules\Instruments\SANS2D\Sans2d Tank (for more details see the S2d Tank - Front Panel.vi in the file Sans2d Tank - System Functions.llb)
  9. Check the paragraphs describing the Front and Rear Detectors in the Beam_line_descriptors document.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions