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

switching arm feedback to the CARM-DARM basis

Tonight I followed up on the work of Julia, Diego, et al. on switching the arm control from the NArm-WArm basis to the CARM-DARM basis.  In the end I was able to transition the arm locking to use the CARM and DARM signal paths, and feedback to the NE and WE mirrors in a balanced way.  There were a few sign flips that I still don't understand, but the handoff works well.

As a first step, I made some changes to the code to enable the CARM_TRIG and DARM_TRIG channels to send data through the loops, and also modified the summation of the B7 and B8 6MHz_ERR_NORM signals into CARM_6MHz_ERR_NORM and DARM_6MHz_ERR_NORM.

Then I worked to balance the sensing gains and actuation for the two loops.  This is shown in the first image attached.  I changed the NArm_GAIN and WArm_GAIN so that the 1111Hz line was equal in NArm_ERR and WArm_ERR (middle panel).  Then, I adjusted the WArm_CORR --> WE_CORR matrix element so the loops were balanced (left panel).  In this state, the CARM and DARM error signals were constructed using the B7 and B8 error signals, with weights corresponding to the NArm and WArm loop gains (and sign flips where appropriate).  With this configuration, the frequency noise is in the CARM_ERR signal, and the low-frequency cavity motion is in both CARM and DARM (see the panel on the right).

From here it was easy to flip the actuation from the arm basis, {NArm_CORR, WArm_CORR} --> {NE_CORR, WE_CORR}, to the CARM-DARM basis.  Note that NE_CORR needs to have 2x more drive because of the broken magnet.  There's a funny sign flip in the actuation of the arms, for some reason CARM feeds back to the end mirrors with a sign difference, while DARM feeds back with the same sign.  You can see this in the first image, where the transfer function of the arm error signals has a relative phase of pi, even though the dirving matrix elements are all positive.  Is there a sign flip in the DSPs?  Not sure if I'm confusing myself with the loop gains.

The second figure attached demonstrates a transition.  The arms are locked with the NArm and WArm loops, then the CARM and DARM loops are turned on, the transition is made in the driving matrix, and it's possible to turn off the NArm and WArm loops while keeping the cavities locked.  I chose to zero the NArm/WArm gains, so the integrators still show up in the CORR signals, but the driving matrix elements have been zeroed.

The code to make the transition has been added to the LSC_init.py script.  The loop gains are probably going to change, but I think if things are balanced well the actuation should remain the same.  I wasn't able to use the AcMatrixSet command to switch the driving matrix, so I used a series of AcMatrixChSet commands.

We should be able to code this handoff into the automation software, and then figure out the handoff of CARM --> NE,WE to CARM-->MC.  And after that, the frequency noise will be suppressed, and everything will be beautiful...