Today we performed a few investigations of loops and other things:
- We tuned a broadband filter for MICH OLTF transfer function measurements (LSC_MICHband) and measured the MICH loop. It is as expected: UGF of 10Hz, 45deg phase margin, but not much gain margin (maybe 2x) due to the rolloff at 40Hz.
- We measured the MICH noise on an RF dark fringe lock with the arms, a DC half fringe lock with the arms, and a DC half fringe lock without the arms. The RF lock is noisier -- this is a little surprising. The DC lock without the arms is quieter above 100Hz, so this is where MICH is frequency noise limited. But the peak of the control signal rms is around 40Hz, and this is the same with or without the arms. Not sure where this is coming from, the noise appears to be stationary to it's hard to imagine scattering or diffuse light.
- We tested the MICH loop stability to fast transients, by rapidly changing the loop setpoint. The loop is very robust. So, loop instabilities do not explain the MICH unlocks as we align the PR.
- We aligned the PR, and verified that the BS marionette reallocation tends to misalign and unlock the west arm when the PR is about 10urad away from the aligned position.
- We disabled the BS marionette reallocation, and aligned the PR to within 7urad. At this point there are good flashes of the PRC, and the beam is on the B2 photodiode. But MICH loses lock. We didn't try to lock PRCL.
- We added the B1p 119MHz signals to the LSC_Acl process, and locked MICH on dark fringe with this signal (normalized to B1p_DC). This signal is somewhat quieter than the B1p_6MHz RF lock on dark fringe.
- We worked on the B7B8 --> CARMDARM transition in the ITF_LOCK metatron. This isn't working yet, there's something wrong with the driving matrix lines. they are loaded too quickly. The settings for DARM and CARM work, and you can run the driving matrix lines by hand from the command line. We switched to the DARM/CARM basis a few times by hand without problems.
- We measured the balance of the NE and WE actuation, using the CARM/DARM basis. I'm not sure if anyone had measured this before, but the actuation is balanced to within 1%, or is limited by the balance of the CARM/DARM sensing.
- It would be interesting to quantify the DARM --> MICH coupling in the half-fringe state and see if it matches expectations. When driving a line in the DARM basis, the excitation is very large in the MICH_ERR signal. Should be a straightforward measurement to make.
- The ITF_LOCK.ini file is read-only, I've emailed Diego to ask if he can chmod it remotely. We really need to fix these permission issues that are associated with the different 'groups' that each user belongs to in the filesystem.
- The ITF_LOCK metatron node does not recognize when the MICH_LOCK node changes state, and it still has problems with the managed nodes stalling on lock-loss. For this reason, we can't leave the ITF_LOCK node engaged overnight - it would freeze if the arms unlock.
- There are small offsets in the arm locking loops, this is obvious from the height of an injected line (which should only appear at twice the injected frequency, if we are at the peak of the fringe). I was able to minimize the height of an injected line by adding 1e-4 offsets to the NArm and WArm loops. Not sure if these are dark/electronics offsets, if they change from day to day, etc.
The plots attached are:
- The MICH correction signal while locked on DC at half fringe (purple) and RF at dark fringe (black), both with the arms locked. RF on dark fringe is noisier.
- The B1p 119MHz during a sweep of the MICH dof.
- Balance of the NE and WE actuators. I injected a 41Hz since wave into NE_Z_CORR and WE_Z_CORR, with opposite sign. To within 1%, the signal showed up in CARM, not in DARM. This means the acutation strength is very well matched.
I am leaving the arms locked and MICH at half fringe for the night. These loops are controlled independently with Metatron, so they should re-acquire after a lockloss.
4 comments
Here is a plot of the MICH transfer function measurement. The model is not a perfect fit for the measurement; there is a mismatch between the phase at the low end of the phase bubble, and I had to include a 1.2msec delay to match the phase at the high end of the phase bubble. The mismatch at the low end may be due to a difference between the correct mechanics of the BS payload and the idealized mechanics I've assumed in the model.
The start time of the measurement is 14:00:00 11/19/2016, and lasting for ten minutes.
As far as: "problems with the managed nodes stalling on lock-loss" the Guardian documentation states: "In MANAGED mode, nodes do not t automatically recover after jump transitions. This is called a stall. This allows the manager to see that there has been a jump and coordinate its recovery as needed." So there is the need, within the managing node to recover explicitly managed nodes that transition to stalled. This can be done by issuing a new state transition request like:
if nodes['SUS_NE'].stalled:
nodes['SUS_NE'] ='ALIGNED'
or issuing a revive command, which re-requests the last requested state:
for node in nodes.get_stalled_nodes():
node.revive()
If no specific logic is required while dealing with stalled nodes, the easiest way to monitor and revive them is the use of the dedicated decorators (one of them made available on the META_library module) before main and run of all states that care about the managed nodes status:
from META_library import *
@nodes.checker(fail_return='DOWN')
@unstall_nodes(nodes)
def main(self):
.......
@nodes.checker(fail_return='DOWN')
@unstall_nodes(nodes)
def run(self):
.......
The ITF_LOCK, MICH_LOCK, NARM_LOCK and WARM_LOCK nodes have been all updated with those decorators for dealing with the stall situation. We have checked that , once the arms unlock, the ITF_LOCK node is now able to recover immediatyely the MICH_LOCK, NARM_LOCK and WARM_LOCK stalls