Today we carried on with the migration of the Alignment code from the DSP to Acl, and we worked on the PR loops:
- from the physics/control point of view nothing should be changed, these are mostly logic changes that will allow easier future changes directly from Acl;
- the PR is peculiar, meaning that in addition to the usual TX and TY degrees of freedom, it also has the X and Y ones which control the shift of the beam with the PR suspension;
- for this reason it has two include files, one for each set of DOFs;
-
the naming scheme and the strategy between the DSP and Acl is the same as the one already implemented for the BS, with the only differences being:
- the "position" DOFs, X and Y, are the ones used for the dithering control (DSP flags AAX_FLAG and AAY_FLAG = 0) and, once in LOW_NOISE_1, the drift control using B2_QD2_8MHz_I (DSP flags AAX_FLAG and AAY_FLAG = 1); both can only be engaged when the ASC flags PR_[DOF]_ENBL are set to 1 (as the last thing);
- the "angular" DOFs, TX and TY, are the ones used for the drift control during Variable Finesse (DSP flags AATX_FLAG and AATY_FLAG = 0) and, once in LOW_NOISE_1 the full bandwidth loop using B5_QD2_56MHz_I (DSP flags AATX_FLAG and AATY_FLAG = 1); again, everything needs the Acl flags PR_[DOF]_ENBL to be set to 1 as the last thing;
- concerning the sensing, the only thing that we already changed in ASC_Acl is that now the normalization is done before the sensing matrix by generating new signals, as it is done in LSC_Acl since a long time ago; this avoids hidden normalizations in the loops and it eases spotting any kind of signal issues by just looking at the sensing matrix signals (e.g., PR_TX_INPUT and the like);
- in principle we should be sending from ASC_Acl to the PR DSP twice the alignment signals w.r.t. the other towers; in reality we are not sending the NOISE channels for the "position" DOFs, as they involve also the F0/F7; moreover, and for the same reason, for these DOFs we will always only send the unfiltered error signals; the final channels have the same naming scheme as the others for both consistency reasons and the fact that we needed to condition such signals with flags;
- as we already do in LSC_Acl, the sensing matrix is hardcoded empty to avoid any leftovers; this is more important here as we have a single sensing matrix and the ACL_MATRIX_CH objects do not have a .reset() method; in principle it should be trivial to implement, as such keys are essentially ACL_SUM_CH ones;
- from now on each signal has the supposed name, given the aforementioned scheme; finally, the "DIFFm" days are over...
- after some debug we relocked in LOW_NOISE_3; the correct reset in DOWN is already checked, some statistics for the full bandwidth loops is still needed.