Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-COM›AdV commissioning (1st part) #36328

Metatron update: lock acquisition sequence up to MICH_SET = 0.1, QPDs and Automatic Alignment

Tonight I updated all the main Metatron nodes, and ITF_LOCK as well. Here is the summary of the update with a reminder of the updates that were already done earlier today, just to have all the information in one place:


META_library:

  • I added the MC DSP, which is used to handle part of the SSFS logic; remember that if you have to ramp some change, you can do it by DSP.rampattribute(GNAME,value,ramptime)

CARM_DARM_LOCK:

  • I revised the already present LOCKED_CARM_SLOW path with the updated configuration; this is a follow-up state to both LOCKED_CARM_ON_MC and LOCKED_CARM_SSFS; if using this node manually (but this is a general rule) look at the graph and remember that the shortest path will always be preferred;
  • I added the LOCKED_DARM_B1p_6MHz path in preparation for the near future
  • I changed a bit the reset sequence in case of an unlock, in the hope it will help to track down some bugs I found recently in the Acl -> cm -> Python -> Metatron chain;

MICH_LOCK:

  • earlier today it was added a follow-up state for the MICH path used in the lock acquisition; this LOCKED_HF_B1p_B4_FINAL state has a negative low threshold for B1p_DC, to avoid unlocks due to untriggering;

PRCL_LOCK:

  • I restored the coherence between states and error signals; now it is explicit that we are using the B2_18MHz_I_PNORM error signal; this is not merely aesthetic, as using a different state was changing a different demodulation phase...
  • I added a similar LOCKED_PRITF_HF_B2_18_FINAL state which is requested at the same time as the MICH one;

ITF_LOCK:

  • things that now happen in the DOWN state:
    • as before, the main ENABLE is set to 0, the managed nodes are requested to go to DOWN and the B7 and B8 photodiodes are switched to PD1;
    • in addition, the UGF servos are turned off, the UGF lines are shut down, and the Automatic Alignment loops are opened;
  • nothing is different up to LOCKING_SSFS; here it was added the check of the QPDs' Vbias, as it is a rather slow operation done via telnet so it's best to engage it a little earlier than when they are actually needed;
  • the CARM_SLOW path has been added to the main sequence; beware it is still optional for the time being, so if you directly request a state further along the chain, it will be skipped as it would make the path longer;
  • the CHECK_QUADRANTS state is added just before the PRITF path; this is not requestable, but it will be passed through automatically; this is both because it does nothing interesting if one doesn't go to PRITF, and because the states' list has a (low) maximum number of states which is 15; anyway, opening the full states' list with the "all" button should make this available as well;
  • in the LOCKED_PRITF state (no more "_HF" as it is not actually Half Fringe but 0.7), after PRCL is locked the loop gains are adjusted, the driving matrix for MICH_CORR is set, and the galvos are enabled; at the end, both the PR and BS loops for Automatic Alignment are engaged;
  • then, the PRITF_MICH_OFFSET_0_5 asks for the transition at half fringe; we go through the REDUCING_MICH_OFFSET_0_5 state, which actually does the transition to half fringe, settings gains, changing UGF line amplitudes, turning on the UGF servos and requesting the FINAL states for MICH and PRCL; at the end, we fall in the PRITF_MICH_OFFSET_0_5 state; this is the same LOCKING/LOCKED logic which is present in all nodes, which makes clear that the transition is completed when we actually enter (i.e. it becomes green) a state where nothing is done; otherwise it would be possible to ask for following states way too early, given the rather slow ramps we do at this point; beware that due to some complexity, the aforementioned LOCKED_PRITF state does not follow this logic yet!
  • the stop at half fringe can be skipped by requesting directly PRITF_MICH_OFFSET_0_3; the logic is exaclty the same as before, and the same applies for the other pairs for fringe offsets 0.2 and 0.1; not all the pairs do the same things (gain, lines, etc...) but they are coded as a "template", where the unneeded parts are commented in both the Python script and the configuration file; I extensively tested the transition directly from MICH_SET 0.7 to 0.3, and the configuration file is already set to skip half fringe (basically it is a matter of ramptime);
  • between the 0.3 and 0.2 steps there is the already known B7B8_PD_SWITCH state, which switches B7 and B8 from PD1 to PD2; this is also not requestable, for the same reasons as CHECK_QUADRANTS;
  • the PRITF_MICH_OFFSET_0_1 is the last state automated for now, and I reached it reliably during all the tests;
  • all numerical parameters, aside from one or two rather immutable ramptimes, are stored in the ITF_LOCK.ini configuration file; the structure of the sections now is:
    • B7_B8_CALI contains the weights for PD1 and PD2 of B7 and B8, and the ramptime for the switch;
    • UGF_SERVOS contains the target UGFs for the loops and the initial line amplitudes;
    • PRITF contains the parameters used to lock PRCL at MICH_SET = 0.7, gains and driving matrix weights;
    • all the PRITF_SET_0_* sections contains essentially the same parameters (loop gains, UGF line amplitudes, etc..); the commented ones are the ones unmodified from the previous steps; this works as a reminder to uncomment the corresponding part in the Python code.

 

Please close and reopen any of the nodes that have been modified that you have in your sessions, as the states' lists have changed!

1 comment

narnaud · 2 Feb 2017 · 16:40 #36337

PyItfStatus has been updated to reflect these changes and restarted around 15:20 LT.