Since last night a test code designed to monitor demodulation phases is running. Currently it follows 3 demodulation phases: B4_6MHz, B7_6MHz and B8_6MHz. The corresponding DAQ channels are V1:LSC_phi0_est_B{4/7/8}_6MHz. They are updated every few seconds. Basic checks (RFC, IMC and cavity powers) have been implemented to try to assess whether optimizing the demodulation phases using data from a given frame makes sense or not, but they cannot cover all possible situations. Therefore, it is up to the shifters to decide whether the phases selected by the optimization algorithm are to be trusted or not. And one should always check whether an "optimized" demodulation phase does indeed decrease the quadrature signal...
As an optimal demodulation phase is only defined modulo pi, the convention currently used is that the optimal phase is within the same [-pi/2 + k*pi ; pi/2 + k*pi[ range than the current demodulation phase. Others conventions could be used upon request:
- always return a phase in the range [-pi/2 ; pi/2[
- return a phase in a range of width pi, centered on the current demodulation phase value
- ...
Feedbacks are more than welcome about the usefulness / non-usefulness / bugs of the current code. Additional phases could be added as well.
Two pictures are attached to this entry.
- The first one (name ending by "raw") shows the evolution of the three demodulation phases during last night (top row, first 3 plots) while the two arms were locked. The black curves curve show the LSC Acl phases while the red ones show the optimized ones. Small drifts can be seen in all three cases -- note the different y-scales in the 3 plots.
- The second picture is the result of a job running offline over 3.5 days (from Friday night until this morning). The parameters of the demodulation phase optimization algorithm are slightly different (more data used to perform one optimization, optimization performed less often) but otherwise the same (perfectible) code is used. In addition to last night, common drifts are visible on Saturday night and Sunday morning.