-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
As a SANS2D scientist, I want IBEX to respect the minimum permissable distances (intervals) between the detectors and baffles, so that the detectors and baffles do not collide.
Acceptance Criteria
- Front Detector-Front Baffle Interval: minimum is 1050 mm.
- Front Baffle-Rear Baffle Interval: minimum is 210 mm.
- Rear Baffle-Rear Detector Interval: minimum is 350 mm.
- The IBEX GUI should warn me if I set detector/baffle to positions which violate these limits.
- the intervals should be calculated from the detector & baffle positions
- I can use the IBEX GUI to set the detector & baffles positions in any order.
- Note: in SECI the detector & baffles positions have to be entered in a specific order (which confuses users).
- The interval limits should be configurable, but this is not an action often required. i.e. having a PV that we can put a new value into, which is autosaved is probably a good solution
- There should be 6 rules which stop a detector moving if:
- interval between the object and the next object is less than the minimum
- AND the direction of travel will make the interval smaller (i.e. we allow movement from a distance which is too small to one which is too large) An important test is put 3 objects closer than the minimum distance I should only be able to move the end ones away from the others. I should not be able to move the middle one.
- rules are stop 1 if 1<->2 is too small, stop 2 if 1<->2 is too small, stop 2 if 2<->3 is too small, stop 3 if <2-3> is too small etc.
- See notes below for a suggested algorithm.
- Using manager mode I can turn off the automatic stopping in case I get into a position that I can't get out of for some reason.
- CAM should not be used but there is documentation of why it couldn't be used.
Notes
- For the avoidance of doubt, this ticket is all about preventing clashes between baffles and detector trolleys.
- the solution described above has been used on SECI for some time and works well, we should reproduce it in IBEX, because it is proven and the scientists are familiar with it.
- yes, we do have the CAM system, but the solution described above is simpler; a solution based on the CAM system can be considered at a later date.
- This ticket is a sub-ticket of SANS2D: Control of Vacuum Tank (EPIC) #4576.
- The distances defined above have been measured on SANS2D. It has been confirmed that they prevent collisions.
- While it will be useful to define the minimum distances as configurable items, the expectation is that they will not change frequently.
- Scientists prefer to enter all the detector/baffle positions, check that the intervals are valid (i.e. do not violate the minimum values) and only then press the "Move All" button (see SANS2D: Vacuum Tank OPI #4577).
- Check the paragraph describing the Clash Prevention in the Beam_line_descriptors document.
- Note: take special note of the comments about speed, acceleration, deceleration & homing of the detector & baffle trolleys.
- Here is a suggested algorithm for managing the movement of the baffles & detectors.