Goal of the shift was to test the PR macro script that automatically does the fine alignment of the PR mirror when attempting to lock the CITF.
The alignment script works by monitoring the height of the flashes in B4_DC and B4_12MHz in three different positions: the current position, 0.2 mrad below the current position and 0.2 mrad above the current position. It picks the next position based on a normalized combination of B4_DC and B4_12MHz. At each position, it takes 12 seconds of data and the PR_TX and PR_TY DoFs are alternated.
In the several tests we ran the script managed to converge to a position in which the CITF could be locked by itself. We ran tests were we manually put an offset on the PR_TX and PR_TY DoFs and even in the case where both DoFs are misaligned by 1 mrad, the script still manages to converge to a position where the CITF could be locked, albeit rather slow. The locking procedure currently takes anywhere from a few min to at most 15 min, depending on how misaligned both DoFs are.
Since the script was working robustly, we added it to the automation. The script is now automatically engaged when the DRMI node goes into the LOCKING_DRMI_1F state and is automatically disengaged when the CITF lock is achieved. It furthermore also turns automatically back on when we lose the CITF lock after more than 10 seconds. These functionalities have all been tested and verified to be working accordingly.
Attached is a plot of the automatic alignment test when both TX and TY were misaligned by 0.7 mrad. The locking procedure took roughly 10 min.