AdV-COM›AdV commissioning (1st part)
#36052
Preliminary unity gain frequency monitor
We implemented a preliminary UGF monitor for the DARM degree of freedom, similar to what was done in the past in Alp_LOCK for the gain servos. The way it works is to inject a line to the error point of the loop. This line is then demodulated in the standard way with ACL_DEMOD with a decimation filter with a cut-off frequency of 2 Hz. The I, Q and magnitude outputs of the demodulation block are then averaged with an even slower filter at 20 mHz. Comparing the average of the 'instantaneous' magnitude with the magnitude computed with the average of I and Q, you can compute a coherence. The demodulation is is done both before and after the addition point, from which the open loop transfer function can be obtained at the frequency of the line. An overall 'coherence' is calculated as the product of the two coherence before and after, which can be used as a quality flag for the validity of the UGF estimate. Some temporary signals are DARM_LINE_OLTF, DARM_LINE_COH, DARM_PRE_COH and DARM_POST_COH.
We did some quick tests with a line at 71.1 Hz. We increased and decreased DARM_GAIN by some tens of percent, which is clearly visible in the measured TF. After that, we lowered the amplitude of the line in several steps. As expected, the estimated coherence becomes smaller, the measured TF becomes noisier, and finally goes to unity when the line is totally switched off, see attached figure.
Todo:
-more tests
-convert the current code to a 'template' that can be reused for all the degrees of freedom
-lower the sampling frequency of the signals stored to the DAQ, it is overkill to store signals that are low passed so much at 10 kHz.
-determine the calibration factors that convert the OLTF at the line frequency to an (approximate) value for the UGF.
-use the measured UGF as error signals for a UGF servo. TBD if this should be done in LSC itself, or via slow Python script, either solution could work.