Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-ISC›Sensing and control implementation #58539

Double-Cavity Pole frequency monitor

During Saturday's shift the code of the new implementation for the DCP frequency monitor was updated; this should reproduce online in Acl the same routine that is used offline in Matlab to measure the DCP frequency without the need of a noise injection. Still, the calibration would be non-adaptive, so some update of it over time would be needed.

As mentioned in the original entry, the monitor now did not produce non-sensical numbers anymore, but it was still far from replicating the offline monitor's results (Fig. 1).

On Monday a bug was found in the online implementation, but the LSC_Acl_Moni process could not be restarted, as such action usually triggers an unlock, which we did not want; in the meantime I checked the bugfix the other way around: the bug was replicated offline in Matlab using an offline reconstruction of the online signal, reproducing the same kind of behaviour (Fig. 2).

Tuesday 24th at 09:40:55 UTC the process was restarted, so from then on the bug is supposedly fixed.

In Figure 3 there is a comparison of the current situation, using the beginning of Tuesday's first lock, in order to see some bigger evolution over time than simply steady-state data (and also checking accuracy for low/high poles, which may be different): in blue there is the online monitor's final output, LSC_DCP_FREQ; in red we have the offline reconstruction done in Matlab, which just takes LSC_DARM_CORR_raw (loop output, before subtractions) and LSC_DARM_ERR, and computes everything from there; the two algorithms and calibrations are in principle identical line by line (possibly not in internal implementation), but there is still some discrepancy in their output, which may look as an offset.

However, that isn't completely the case: in Figure 4 there are the same traces, with the following additions: in yellow, for comparison, the current simplified online monitor (LSC_DCP_moni_mad_cal, which is known to overestimate the pole's frequency for high values); in green, an offline reconstruction which starts halfway through the chain, while the "red" one starts from the very beginning (CORR, ERR), as stated above: in the green trace the resonant gains, the 90deg dephasings and the demodulations are applied online, then the data is acquired in Matlab and the low-passing and the rest of the algorithm is executed there. Despite the trend being very similar, there is some difference with respect to both the "unmixed" algorithms.

In Figure 5 there are the same four traces, normalized by the red one (pure Matlab): there we can see how the different computations under/over-estimate the DCP frequency when the pole is low or high; it is also clear in this plot that the sheer discrepancy online/offline from Figure 3 is not just an offset.

The analysis will continue.