Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›AdV commissioning (1st part) Comment on #37942 #37946

Comment to Strange behavior tuning the modulation frequency

These glitches seem to happen every time that the measured phase of the 56 MHz LNFS signal wraps around at +-pi. The wrapping in itself is not a problem, but the fact that this signal is low-passed filtered (since ASC runs at 2 kHz) is. Offending lines are in the SDB2_Quadrants process: # name - fltType, order, attDb@fCut, fCut, nNotch/fBand ACL_FILTER_BUTTERWORTH "flt_QD_Sensing_RF" "lowpass" 4 3 1000 0 ACL_ADC_CH LNFS_56MHz_phi "" 1 LOOP_FREQ DAQ_LNFS_56MHz_phi 0 1 "flt_QD_Sensing_RF" The proper way to up/down sample signals that wrap around is to do it in the complex plane: calculate cos(phi)/sin(phi), which do not show any discontinuities, up/down-sample these, and then calculate the phase with atan2. Exactly the same problem was observed with the SSFS signals, but in that case it was up-sampling, not down-sampling. It is time to fix these bugs once and for all, to avoid wasting more time.