Today we were told about some "strange" unlocks that the morning crew witnessed during their shift: it appeared that, by looking at the unlock data (Figure 1, GPS=1168351876, Figure 2, GPS = 1168344799), the manual WArm_ENABLE went below 1 (~0.9975), and that triggered a logical "and" operation to be "False", therefore killing the lock.
We looked at the data on the DAQ, the log of the LSC_Acl process and the logs of all the Metatron nodes involved (ITF_LOCK -> CARM_DARM_LOCK -> WARM_LOCK), and we concluded the following:
- nothing came up in the log files of both Acl and Metatron but what we expected;
- one thing which is sub-optimal in our locking scheme, especially for the arms (in their several configuration along the lock acquisition path), is the presence of different checks done at the level of Acl and Metatron (namely, the locking threshold of the transmitted power under which the arm is treated as it lost lock); we will reduce this kind of duplication in order to have a single robust check used to assess the status of the lock of the arm. Note that none of the existing conditions is actually wrong, but they may lead to confusion.
- the lockloss reported here was triggered as the B8_DC power went under the Metatron threshold of 0.1, which is ~30% of the transmitted power in good locking conditions; this check can be loosened a bit, but the logic behind is working as expected;
- the lockloss triggered the WARM_LOCK to go to the DOWN state, as expected; in this state we shut down the correction, the driving matrix and the manual ENABLE which triggered our discussion;
-
the weird effect which was reported can then be explained in the following way:
- the WArm_ENABLE channel is brought to 0 with a 1 second ramp;
- such channel is written to the DAQ with a 1Hz sampling frequency;
- therefore, by looking the DAQ, in the timescale of two samples the transition is completed;
- given that the cm commands are actually executed at the beginning of every given second, the effect seen is the very beginning of the 1 -> 0 ramp, starting at one integer second;
- in the following sample, we are already observing the end of the transition, WArm_ENABLE = 0.
One additional proof of this behaviour is the opposite situation, which is when we ask one arm to lock: looking at Figure 3, we can see the opposite transition of the WArm_ENABLE from 0 to 1: in the first sample of the transition (again, at an integer second), we can see the beginning of the ramp, and in the following sample the ramp has finished.
Therefore, it seems that this behaviour is not due to bugs either at Acl or Metatron level; we will however review the checks and assertions done at the several layers of the global control, in order to reduce duplication and ensure a robust, possibly unique, check that is done to assess the locked status of some DOF.