Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-SGD›FDS commissioning #59639

SQZ_FLT automation - debugging

Marco Vardaro reported several issues spotted during long runs of the SQZ automation nodes. Below I report the problems and fixes implemented.

1. Cavity tries to lock at any cost even in hopeless cases causing log flooding and stalling other ACL processes.
Solution: assert_MINIMAL_GR_for_LOCK decorator was added to avoid exiting CONFIGURING_GR state if the GR transmission is below a threshold (currently 2. V).
The new decorator notifies by the metamedm interface about the necessity of manual cavity pre-realignment (GR lock runs immediately during the alignment when the GR transmission reaches the lock threshold).

2. assert_LFC_LOCK_FLAG_STRICT decorator does not work.
Solution: reviewed and corrected logical conditions in the decorator execution. Now it seem to work. I uncommented the decorator over the states where needed.

3. GR AA loop has a threshold higher than longitudinal lock. If it is not reached the automation does not proceed.
Solution: assert_MINIMAL_GR_for_AA decorator was added to avoid entering PREALIGNING_GR state if the GR transmission is below a threshold (currently 5. V)
The new decorator notifies by the metamedm interface about the necessity of manual cavity pre-realignment (GR AA loop runs immediately during the alignment when the GR transmission reaches the lock threshold).

4. During apparently successful relock, automation missed to engage GR AA after a brief unlock (on the 2023/04/02). This caused slow misalignment of the cavity in few hours and the unrecoverable (automatically) FLT state.
Solution: removed return True from the assert_LFC_UGF decorator. Happened an event as probable as GW detection in 2015: assert_LFC_UGF was low for one second just before the ENGAGE_GR_AA what made the automation skip this state. Improved decorator never skips states.