Length Sensing and Control›Full ITF locking
#29507
Integrators in DSP and numerical noise
This morning we continued the work to implement one of the DARM and CARM integrators in the DSP, following what already reported in Moving one integrator from Gc to DSP.
The motivation is that when a large correction is needed in both DARM and CARM, the noise floor visible in Gc_DARM_z and Gc_CARM_z increases significantly. The additonal noise in DARM is then coupled to dark fringe, as reported in Noise due to DC level of locking correction. We suspected arithmetic noise in the GC filters. The first trials to solve the problem were to improve the way integrators are computed: first using first order stages, then implementing a simple round-ff error recovery algorithm. These efforts gave no result. We finally understood that the noise was likely due to the fact that GC corrections are sent to both DAQ and DSP in single precision. Plot 1 shows a Matlab simulation of the effect of rounding to single precision the correction. The CARM correction is converted to double, low passed, truncated again to single. The high frequency noise obtained in this way correspond to the measured one.
Moving one of the two integrators of DARM and CARM inside the DSP cna reduce the dynamic range of corrections sent as single precision to the DSP, thus improving the issue of round-off errors.
This morning we managed to move one of the integrators to the DSP. With respect to the previous trials (Moving one integrator from Gc to DSP) we put back the nominal integrator gains in the DSP and modified the step 1 filter gains (previous one were not computed correctly). In this way we could easily lock up to step 10. The ITF unlocked when switching to low noise. We finally understood that the reason was a small error in the DSP logic (the integrator used before re-allocating to the marionette was switched off when re-allocating, but the output not reset and still connected to zCorr). It was then possible to reach step 12.
We also had to compensate the missing integrator in alpha and beta, adding there a derivator. In this way we could recover a standard working condition for alpha and beta. The only difference with respect to the previously measured budget is a larger coupling of MICH and PRCL noise around 40 Hz. To be further investigated.
In this way the correction sent by GC to the DSP has a much reduced range, see plot 2.
We tried to repeat the experiment of inducing a large offset in the correction, see plot 3. The offsets was very large (5 V) but the change in B1_ACp was very small with respect to the past.
Therefore we can conclude that the effect we were seeing was really of numerical nature and that it is now solved.
We are leaving this configuration running. GcLocking version is v2r13p3 (to be archived). DSP cards are named test_int.hrd. Initial filters in the database Gc/Locking/Filtering/Onfly_Filtering v1.33.