Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-ISC›Commissioning up to first full interferometer lock #42550

New Metatron state (TUNE_PHASES) to tune the demodulation phases

Yesterday we have finished to implement and test a new metatron state (TUNE_PHASES), within the ITF_LOCK node, which allows to calculate automatically the demodulation phase of: B7 6MHz, B8 6MHz, B2 8MHz and B1p 56MHz.

This state puts the ITF in the good configuration for each phase and then it uses the lock trigger to identify the correct resonance. Then it finds the first zero crossing just after the trigger and selects a linear zone on the right of the zero-crossing (not too close to the zero). Finally it calculates the atan between Q and I of the corresponding error signal for the whole interval, eliminate any data point outside twice the standard deviation band around data mean value, and it makes the average. The final value is written in an .ini file (TUNE_PHASES.ini). Notice that the phase calculated is a DELTA_PHI with respect to the present one in radians. The sign is not garanteed, it might be necessay to add PI rad to the final phase.

We have tried to build the alghorithm (embedded into the calc_phase_fast function) in the most generic way possible, so that it can be used to tune the phase of any cavity. It is necessary a DC channel, a TRIG channel and the error signal I / Q. Then there are several parameters concerning the time window to be considered that are given as input of the function, that allow us to adapt to each particular case. For the moment the parameters are fixed for the present configuration. They may be added to the ITF_LOCK.ini config file in the future.

The state can be requested from ITF_LOCK node, calculated DELTA_PHI will be shown in the log window than written into the TUNE_PHASES.ini file.