Today we worked on the integration of the squeezing system in the Automation and in the lock acquisition. For more details on the squeezing Automation itself we refer to the dedicated entry.
We adapted the old code from O3 for the new squeezing and the lock acquisition; the squeezing is injected after LOW_NOISE_3, leading to the LOW_NOISE_3_SQZ state (index 140). Going more into detail:
- SQZ_MAIN is now managed by ITF_LOCK, and cannot be operated manually anymore; SQZ_MAIN does not manage SQZ_FLT, but there is a softer degree of interaction;
- ITF_LOCK has many changes implemented:
- we reintroduced the
sqz_debugboolean variable in the[ITF_LOCK]section of the .ini file (default =False); this is used to prevent trying to engage the squeezing when troubleshooting it; its scope is narrower with respect to the past, as we don't have a rest position, but it can be useful anyway; - in the DOWN state, it asks SQZ_MAIN to go in DOWN, then already in LOCKED_PLL_SC; in this way, even if the ITF stays DOWN, the PLLs remain locked; SQZ_MAIN will look at INJ_MAIN by itself, so when we are going to do the FmodErr tuning it will go back to DOWN, then again to LOCKED_PLL_SC once finished;
- nothing happens until LOW_NOISE_2 included;
- at the beginning of ACQUIRE_LOW_NOISE_3 we also ask SQZ_MAIN to go almost all the way through, up to SQZ_LOCKED_NO_FC; we are not waiting for SQZ_MAIN to "arrive" at the requested state, as it does not impact the lock acquisition, and we may still need some changes here due to the problematic SR_TY misalignment routine;
- LOW_NOISE_3 is unaffected;
- above LOW_NOISE_3 there are several new states which handle SQZ_MAIN in both directions:
- CHECKING_SQZ (idx = 137): it checks if SQZ_MAIN is in the SQZ_LOCKED_NO_FC state; if it is, ITF_LOCK will go to ENGAGING_SQZ, otherwise it waits for 30 s for SQZ_MAIN to catch up and, if it doesn't happen, it goes to DISENGAGING_SQZ;
- ENGAGING_SQZ (idx = 139): it asks SQZ_MAIN to go to SQZ_INJECTED_NO_FC, making it to open the shutter and close the CC loop; if everything goes well, we reach LOW_NOISE_3_SQZ;
- DISENGAGING_SQZ (idx = 136): this makes the ITF to fall back to the usual LOW_NOISE_3, by making SQZ_MAIN to just go back to SQZ_LOCKED_NO_FC directly, if possible, or cycling though DOWN and then all the way up; there is a partial drawback to this: the new channel DQ_META_ITF_LN3_NOMINAL channel will briefly go back to 0, as the whole state is executed again, but in a couple of seconds it will go back to 1;
- LOW_NOISE_3_SQZ (idx = 140): this is the new (and final) Science Mode state of the ITF; nothing happens here as well, and SQZ is at this point injected into the ITF;
- both the configuration files of ITF_STATUS and ITF_EVENTS have been updated to reflect the changes and the nodes reloaded; a double check should be done anyway, and also the DMS will be updated later to acknowledge the new states;
- when moving from LOW_NOISE_3 to LOW_NOISE_3_SQZ (in either direction), we always go to CHECKING_SQZ, which then chooses whether to ENGAGE or DISENGAGE the squeezing, and then goes to the corresponding Science state;
- LOW_NOISE_3_SQZ is not requestable yet from the drop-down menu of ITF_LOCK and can be accessed only from the
allmenu; - we can fall back from LOW_NOISE_3_SQZ to standard LOW_NOISE_3 either automatically, thanks to the Metatron management, or also manually: in both cases, the same path going through CHECKING_SQZ will be selected; a zoom of the last states of ITF_LOCK is attached, together with the full state layout (LOW_NOISE_3_SQZ will become dark blue once requestable from the menu);
- we did several tests of engagement/disengagement of the squeezing, also inducing a few misbehaviours of the squeezing, and the logic always kept the lock and fell back to LOW_NOISE_3.
- we reintroduced the
1 comment
We left the system in LOW_NOISE_3_SQZ. We want to test the stability of the SQZ injection and the automation.
To disengage the squeezing you should request LOW_NOISE_3 then you can proceed to close the SQB1_Shutter
Remember that this SQZ_INJECTION is performed simultaneously a RH ETMs step.