Today we changed the automation logic by which we check if the interferometer is locked by checking that the LSC_ENABLE flag, based on a threshold on B7_DC, did not drop to 0. This is in order to become more robust against unlocks caused by framebuilder errors (which I've been told they affect only data on memory/disk, and not data flowing around via Tolm).
Up to now we were checking whether such flag, in each 1 second long data stretch, had its minimum below 0.5; the first proposed solution was to double check this by also checking SNEB_B7_DC and compare the two (not LSC_B7_DC which suffers from the same Fb problem). This means some additional reading/writing in several nodes, so Franco proposed another solution as a first approach: we keep just checking the flag, but we changed it to checking the mean over 1 second, with "> 0.95" as condition; given that the flag is a 0-1 relay, it means that we accept 500 samples to be zero in case of a fast hiccup of the flag. This may have the side effect of delaying any unlock detection based on META_ITF_LOCK_index by one second, to be verified.
However, I checked a few events (attached), and in all of them we have more than 1 DAQ cycle of missing data, so I am not sure this will work; we'll see if we have any chance of testing it anyway tonight, but tomorrow I may implement the new strategy already. In particular, two additional observations arise:
- each event lasts two full integer seconds (two cycles) plus whatever is left of the cycle when the event starts;
- LSC_ENABLE actually goes to zero (for real) much later after ITF_LOCK goes to DOWN; this problem was already reported a long time ago by N. Arnaud but I did not find an explanation at the time, and I don't know whether it went away and came back, never left, or it is an uncorrelated effect of the issue at hand. Either case, I will look into it again.
2 comments
Today the more proper check was implemented:
We already locked once at least to when we start to use the functionality, no issues have been spotted so far; the monitoring will continue, as well as the check on the effectiveness of this in case of a Fb error.
There was an ISC_Fb event the 2023-09-09-11h22m53-UTC
2023-09-09-11h22m53-UTC>ERROR..-[TolmFrameBuilder::FrontEnd] Rtai DAQ FIFO overrun -> acquisition is reset
Thank to the new logic implemented by Diego and Franco for the LSC_ENABLE_tripped function, the ITF doesn't unlocked due to this event and remained locked to unlock one minute later. (see plot)