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_NARMtalks to the Acl processesNEB_ALS(not used for now),NEB_ALS_fast,NEB_ALS_BPCandLSC_Acl; it does not drive any SUS DSP; ALS_NARMdoes 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_offsetset 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 objectdac_offsetis 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 DSPFlt0is selected, lock is engaged (dac_offsetset to 1);LOCKED(20): lock has been achieved, nothing is done here except the check that we are still locked; the usual cycle throughDOWNand 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 flagLSC_NArm_ENABLE: if it is set to 1, the node will do nothing and, instead, will move back toLOCKEDand will also self-request theLOCKEDstate, so it will not bounce back and forth but stay there; if the IR control is not engaged, the node interacts withLSC_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
SCANandLOCKED: 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 newALS_FAULTstate, 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 theLOCKING_REALLOCATIONstate described above, we added a check in theACQUIREstate ofNARM_LOCK: if the ALS reallocation is active and someone tries to lock the IR beam, this will be forbidden andNARM_LOCKwill jump toDOWNand self-request toDOWN, 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 onWARM_LOCKhas 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 = stringdirective; mind that, as with the usualcm_sendcommand, 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 makeAclcomplain 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_LOCKnodes seems fine, but please notify any corner case as they happen.
1 comment
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.