Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›automation #50701

Description of the ALS_NARM node (v1)

In this entry we are going to explain in more detail the first version of the ALS_NARM node (see Entry 50699). In the attachment there is the current states layout. Here is the description of the node:

  • Currently, ALS_NARM talks to the Acl processes NEB_ALS (not used for now), NEB_ALS_fast, NEB_ALS_BPC and LSC_Acl; it does not drive any SUS DSP;
  • ALS_NARM does not manage any node;
  • Here is the description for each STATE (index):
    • DOWN (1): this is the safe state: lock is disabled, scan is disabled (dac_offset set to -1), drift control is off, reallocation is turned off, ALS DSP filters are reset: then, nothing is done: it is safe to do things manually in this state;
    • SCAN (10): the ramp object dac_offset is set (frequency, amplitude, offset) but is still set to -1, so the full scan is continuously going on; this is notified on the Metatron GUI; it is safe to do things manually in this state;
    • LOCKING (15): the DC triggers are set, loop gain is set, ALS DSP filters are reset, ALS DSP Flt0 is selected, lock is engaged (dac_offset set to 1);
    • LOCKED (20): lock has been achieved, nothing is done here except the check that we are still locked; the usual cycle through DOWN and back here again is done in case of unlock;
    • LOCKING_REALLOCATION (25): before actually entering the state a decorator will be executed, which checks if the usual IR control loop is engaged by looking at the manual flag LSC_NArm_ENABLE: if it is set to 1, the node will do nothing and, instead, will move back to LOCKED and will also self-request the LOCKED state, so it will not bounce back and forth but stay there; if the IR control is not engaged, the node interacts with LSC_Acl: sensing, loop gain and driving matrix for the reallocation on the mirrors are set; then, the lock is enabled;
    • LOCKED_REALLOCATION (30): target state, the reallocation is engaged, nothing is done except checking that we are actually locked;
    • ENGAGING_DRIFT_CONTROL (35): here we set up the drift control (currently only on the beam pointing, later on also on the cavity mirrors): we set gains, we turn on the dithering lines, then we turn the loop on;
    • LOCKED_REALLOC_DRIFT_ON (40): target state, reallocation and drift control are engaged, nothing is done except checking that we are actually locked; this is the final state as of now.
  • What is missing/what are the next steps in the development:
    • Beam Pointing Control: as of now, the "static" BPC is taken for granted: we will have to add checks that the BPC is actually behaving correctly before doing some or all of the above;
    • Drift Control: we may want to save the new positions obtained by the Drift Control (in a similar way to what we do with the SUS nodes for the standard Drift Control);
    • VCO Working Point: add an alternative path between SCAN and LOCKED: upon request and/or upon failure of acquiring the lock, we would want to go in another state which does a bigger scan of the VCO in order to find a better working point, then save it in the configuration file and use it to acquire the lock; failure of such procedure will trigger the jump to a new ALS_FAULT state, which could be also the target state in case of failure of the BPC (see two bullet points ago).
  • Consequences on NARM_LOCK: in a similar way to the LOCKING_REALLOCATION state described above, we added a check in the ACQUIRE state of NARM_LOCK: if the ALS reallocation is active and someone tries to lock the IR beam, this will be forbidden and NARM_LOCK will jump to DOWN and self-request to DOWN, so it will not move away from there again.
  • ALS_WARM: as the ALS lock is not available now, we left the node empty and unused; we could think about having a common code basis among the two (as it happens for all the SUS nodes) but it is not completely straightforward, we will see if the nodes diverge when we will have both of them; in any case, the safety check on WARM_LOCK has already been added;
  • General comments:
    • all the numeric parameters are stored in the configuration file and hopefully they should be pretty self-explanatory;
    • given that, historically, the change of locking filters was poorly documented over time, we started to set the locking filters in a different way: they are stored directly in the configuration file (so they should be much easier to track), and they are applied with the PROCESS.FILTER_OUT.filter = string directive; mind that, as with the usual cm_send command, no spaces are allowed in the string and  no quotes are needed, as ConfigParser automatically treats the input as a string; a wrong string will make Acl complain about it (in the VPM log) and discard the whole filter change request;
    • we have now two Automation nodes per arm, which for the time being are to be driven manually; major points of failure should already be addressed, but the ALS nodes know nothing about the state of the SUS nodes, so some care should be given.
  • We tried several cycles of the whole sequence and everything seems to work fine; also, the interaction betweem the ALS_ and the usual _LOCK nodes seems fine, but please notify any corner case as they happen.

1 comment

bersanetti, valentini · 16 Feb 2021 · 00:02 #50781

During the afternoon shift we enabled the drift control state (LOCKED_REALLOC_DRIFT_ON) also for ALS_WARM. Please restart any ALS_WARM GUI you have already open.