Yesterday we have improved the computation of the FmodErr signal in PrISYS.
Up to now the demodulated signal, at 6MHz, was acquired, normalized over the IMC TRA power and demodulated at 1111Hz (the frequency of the audio modulation that detunes the IMC length) inside PrISYS with a fixed demodulation phase.
We have noted that at each restart of ISYS_Pr the optimal demodulation phase, that it is currently measured as INJ_alpha_meas = atan2(INJ_FmodErr_P/INJ_FmodErr_Q), changes. In Figure 1 the measured phase has been measured as 2.2 rad. and then after the restart of ISYS_Pr the correct value is 2.35 rad. The excitation at 1111Hz is set using PR_SINEWAVE_CH, and the demodulation is performed using PR_DEMOD_1I_LINE. Apparently the relative phase between the excitation and the demodulation is not fixed and changes (slightly) at each restart of the process.
For this reason we have implemented an automatic phase correction as
PR_OP alpha "alpha_meas" * "mo"
PR_ROTATE FmodErr_ROT FmodErr_P FmodErr_Q alpha
where mo = -1. Also note that the rotation matrix used by PR_ROTATE is apparently the transverse of the convention.
In Figure 2 the INJ_FmodErr_P/Q signals coming from the demodulation are shown in the upper plot, before the phase rotation, while in the bottom plot the alpha measured is shown.
Due to the 180 deg phase wrapping of the atan2 function, see Figure 2, we have used a trick to flip the sign on the rotated signals, INJ_FmodErr_ACp/q, when the alpha changes sign the signal signs will be flipped.
The rotated signals are shown in figure 3 and all the signal is correctly in ACp.
The INJ_FmodErr_ACp signal sensitivity is improved (1.8e-5/Hz) with respect to what has been measured in 33324 (1.6-5/Hz) for which the demodulation phase was optimized (the today data have been flipped in sign to get a better eye comparison). The gain of this new strategy is the fact that the change of phase, due to ISYS_Pr restart, will be compensated having always the best signal sensitivity.
The new optimal position is zL0 = -244
Until the air conditioning troubles, the injection system was quite stable.
For DetChar people interested to look at the data, good data can be found between May 6th, 20.00 UTC and May 8th, 12.00 UTC.