Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›AdV commissioning (1st part) #34360

Automatic tuning of demodulation phase

We already use various Python scripts to initialize e.g. the LSC server before a lock, but so far these scripts were just sending commands in the blind. Somewhere in future, we should have a more sophisticated automation that can change its actions based on feedback from the interferometer (similar to the old AlpMain, or LIGO's Guardian), but this is still work in progress. To have something working already today, I added some new code to PythonVirgoTools, which can be used by scripts to get live data in a way similar to 'connect online' in dataDisplay. As a first tests, we used this system to automatically tune the phase of the B2_6MHz photodiode. This was always done by hand by reading off some values of dataDisplay, calculating the phase and sending a Cm command. Attached script does the same all by itself. Using 10 seconds of data from a free-swinging PR-NI cavity, the phase is measured with a repeatability of around 0.5 degrees. Attached plot shows that the signal is almost perfectly in I with nothing in Q. Some day in future, this code should end up in a Guardian state.