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

Integration of SQZ_MAIN in the Metatron framework

Tonight we integrated the SQZ_MAIN node in the Metatron framework:

  • SQZ_MAIN is now managed by ITF_LOCK, and cannot be operated manually anymore; given the more isolated nature of the SQZ system, it may be worth to develop something that can allow a more convenient commissioning/troubleshooting, we will think about that and implement it in time;
  • SQZ_MAIN is largely unaffected by the integration, we only removed a couple of decorators that checked the state of ITF_LOCK, while now it works the other way around, as for the other managed nodes;
  • ITF_LOCK has many changes implemented:
    • in the DOWN state, it asks SQZ_MAIN to go in DOWN, then in SQZ_REST_POSITION; this is very similar, and done concurrently with what happens to INJ_MAIN which is requested to go to DOWN/IMC_RESTORED; while SQZ_MAIN is in SQZ_REST_POSITION it is possible to check the Mach-Zender drifts;
    • nothing happens until LOW_NOISE_1 included;
    • at the beginning of LOCKING_OMC1_B1s2_DC, as we ask DET_MAIN to open the slow shutter, we also ask SQZ_MAIN to go almost all the way through, up to SQZ_LOCKED; we are not waiting for SQZ_MAIN to "arrive" at the requested state for two reasons:
      • it does not impact lock acquisition and it needs some time to do everything, which is easily found during the lock of the OMCs;
      • to preserve the life time of the OPA PPKTP crystal, SQZ_MAIN stays in SQZ_SLOW_AA until LOW_NOISE_2, then it goes in SQZ_LOCKED (this is the only check bottom-to-top we left);
    • LOW_NOISE_3 is unaffected and is still a Science Mode state; now nothing happens in this state and this should be enforced;
    • above LOW_NOISE_3 there are several new states which handle SQZ_MAIN in both directions:
      • CHECKING_SQZ (idx = 165): it checks if SQZ_MAIN is in the SQZ_LOCKED state; if it is, it goes 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 = 167): it asks SQZ_MAIN to go to SQZ_INJECTED, making it to open the shutter, close the CC loop, move the alignment from the cameras to the dithering control and close the slow phase loop; if everything goes well, we reach LOW_NOISE_3_SQZ;
      • DISENGAGING_SQZ (idx = 163): this makes the ITF to fall back to the usual LOW_NOISE_3, by making SQZ_MAIN to just go back to SQZ_LOCKED directly, if possible, or cycling though DOWN and then all the way up;
      • LOW_NOISE_3_SQZ (idx = 170): 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;
    • 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 obviously requestable from the drop-down menu of ITF_LOCK (close and re-open any instance of ITF_LOCK currently running!); given that we are out of space in the menu, we removed the state LOCKED_PRITF_DF, as LOW_NOISE_1 is a better place to be for RF readout;
    • 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;
    • 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.

1 comment

bersanetti, vardaro · 28 Mar 2019 · 17:58 #45442

After the integration performed yesterday it is not possible to manage manually the SQZ_MAIN node to go in SQZ_REST_POSITION. This caused the impossibility to perform operation to the squeezing source with the SQZ FAST shutter closed.

Today we added a flag in the ITF_LOCK.ini file (at the beginning of the file): sqz_debug 

  • sqz_debug = False: the Squeezer, Itf mutual behaviour is the same described yesterday night
  • sqz_debug = True: After LN1 the SQZ_MAIN is kept in SQZ_REST_POSITION and not asked to go to SQZ_LOCKED.

Procedures:

1. ITF_LOCK state = LOW_NOISE_3_SQZ  to perform operation on the squeezer:

  1. ask to ITF_LOCK LOW_NOISE_3
  2. in the configuration file set sqz_debug = True
  3. ask to ITF_LOCK LOW_NOISE_3_SQZ
  4. ITF_LOCK goes in SQZ_ENGAGING and send the squeezer in SQZ_REST_POSITION 
  5.  ITF_LOCK will return automatically in LOW_NOISE_3

2. ITF_LOCK state = LOW_NOISE_3: the work on the squeezer is finished. To re-engage the squeezer you have to:

  1. set the flag sqz_debug = False in ITF_LOCK.ini file
  2. require the ITF_LOCK state LOW_NOISE_3_SQZ
  3. the system willt try to re-engage the squeezer and after 30s will fail (because the squeezer node is in SQZ_REST_POSITION)
  4. after the fail the itf lock returns in LOW_NOISE_3 and sends the SQZ_MAIN node in SQZ_LOCKED
  5. wait that SQZ_MAIN arrives in SQZ_LOCKED
  6. require the ITF_LOCK state LOW_NOISE_3_SQZ
  7. if any problem on SQZ_MAIN will not occur the squeezer will engaged correctly

3. ITF_LOCK_STATE between DOWN and LOW NOISE 1 someone want perform actions on the squeezer source

  1. SQZ_MAIN is in rest position
  2. set the sqz_debug = True in the ITF_LOCK.ini file

4. ITF_LOCK_STATE between LOW_NOISE_1 and LOW_NOISE_3 and someone want perform actions on the squeezer source

  1. wait LOW_NOISE_3
  2. follow instructions of point 2.

When the operation on the squeezer are finished set sqz_debug = False.