I tried to recover the filter cavity locking with both length control and frequency control loop.
1. Adjusted the demodulation phase
After the shutdown, we didn't check the demod phase of the error signal for the frequency control loop. The demod phase noise is 1.93.
2. Close the intermedia loop
Then I tried to close the intermedia loop with LFC gain of 1 and PLL loop gain of 0.2. The amplitude of the error signal and correction signal seems to be as before.
3. Check the UGF of the intermedia loop
Then I did a noise injection for above 100Hz, from 22:13:30 UTC for 5min. The TF is shown in pic 1, the UGF of the loop seems to be around 410Hz, which is also what we used to have.
4. Swap the filters to the final loop
As usual, by using the FLT_SWAP function, I managed to move to the final loop configuration. Just to be noted, in order to do the change step by step, now Rthe FLT_SWAP function only contains the swap of the filters. After swapping the filter, to increase the gain for both loops, I put this part in the function called FLT_IG.
With the final loop configuration and optimal gain, I could reach 1.2Hz of RMS in the simulated IR error signal from the green(pic 2). Most of the RMS was accumulated around 1.2kHz.
But I was only able to engage the final loop configuration once, in the other attempts I found that the SQZ_CC_Ctrl process kept showing warnings and the color of the process was jumping between green and blue, maybe we need to check if everything was fine with this process