Following the complains about the robustness of CARM to MC engagement, a study of its open loop transfer function has been carried on. A measurement performed at gps 1376128316, 80s, is shown if fig 1. It is done at the end of the step 'LOCKED CARM MC IR', at 40 mW of cavity power, which correspond to a quite different CARM OFFSET with respect to the setting of CARM to MC engagement. A better characterization of the loop soon after the engagement would require a custom re-definition of the step.
Anyway, this measurement says clearly that the loop has a very narrow margin of stability: less than 10 deg of phase at the UGF.
The open loop TF can be fitted, as shown in fig 1, adding a model of CARM optical response to the MC mechanical plant, plus an additional delay. The fitted optical response is a double pole (as expected) with a negative Q (a bit strange for me). The best parameters I found are f_POLE = 10 Hz; q_pole = -10, with a big uncertainty because the measurement at low frequency is bad. Anyway the model is accurate enough at the UGF region and at high frequency, to allow a study of some improvement.
The control filter is based on the RFC control filter, plus a compensation of the optical response. The compensation in use at the beginning is: zeroes @ 30 Hz, Q=2; poles @ 1000 Hz, Q = 1. Comparing it to the fitted optical response, one could think that it is too different, but we should consider that the 'perfect' compensation does not exist, because it needs to cover a certain range of CARM OFFSET, and the pole in the optical response depends strongly on it. In the way towards CARM NULL, at a certain point the compensation is changed, moving the zero to 15 Hz. Those values have been choosen because they gave an acceptable rate of success.
Several tests have been performed recently, trying the engagement with a modified compensation. First of all, some attempts to use a negative Q have been performed, but always the engagement failed for not understood reasons. Other tests have been done, simply moving back the zero and increasing the Q (a way to add phase at higher frequency), obtaining some unlock due to an oscillation in the region of the zero. It means that the loop is critical also at low frequency, a region where a precise model based on measurements is more difficult to be done.
At the end, I decided to start improving the things at high frequency, leaving everything as it is at low frequency. One more reason is shown in fig 2: the correction at the moment of the engagement is quite high (the blue curve is a normal engagement; the red is the new one, after the modification I'm going to explain). Looking at several failed engagements, in few of them the correction starts already saturated.
I started from the RFC control filter. The first, simple modification concerns the resonant gain at 150 Hz, needed to reduce the frequency noise rms and allow a clean acquisition of the arm lock. The structure was:
poles @ 150 Hz, Q = 500
zeros @ 149 Hz, Q = 100
As shown in fig 3 and fig 4, this is not the best choice concerning the phase: moving the Q of the zeros from 100 to 200 the phase stays higher after the poles and the reduction of the gain is negligible. For RFC loop itself, shown here, this fine tuning is not required because the phase margin is huge. For CARM to MC, where the phase is very low, we will see that it helps.
Then I ran a script for optimizing the roll-off, obtaining a certain decrease of high frequency correction with a low cost in terms of phase (fig 5, fig 6). The modification was:
zeros @ 450 Hz, Q = 0.7 --> 528 Hz, Q = 0.622
poles @ 1500 Hz, Q = 0.6 --> 1323 Hz, Q = 0.629
poles @ 1600 Hz, Q = 0.6 --> 1644 Hz, Q = 0.593
Finally I worked on CARM to MC compensation filter. Using the same script, I modified the high frequency part of the compensation. Instead of the poles at 1000 Hz, I found those better coefficients:
poles @ 750 Hz, Q = 1.391
zeros @ 1036 Hz, Q = 0.74
poles @ 1231 Hz, Q = 1.133
In fig 7 one can see a lower correction above 1 kHz and a phase margin slightly improved (more details about the phase are shown in fig 8). The improvement of the correction in time domain has already been shown in fig 2.
The model has been confirmed by a new measurement of the open loop TF (fig 9), done at the same step described at the beginning. Comparing the two OLTF, one can see that the phase increased from 9 deg to 14 deg and the zero phase crossing increased from 210 Hz to 220 Hz.
A further improvement can be tried acting on the low frequency part of the compensation, but I would do it only by small steps and only if the robustness of the engagement is still too low.
The figure of merit for PRCL INPUT set point adjustments should be B2 DC SSFS LINE instead of DARM SSFS LINE. So that PRCL is tuned to avoid frequency noise to amplitude noise conversion at the input of the interferometer. The needed PRCL offset will be about an order of magnitude than the steps tried (of the order of a few units of PRCL).