This morning the IMC was unlocked and the MC mirror F0 Z corrections were satured.
This was due to the fact that the SSFS corrections were not correctly reset even if the SSFS switch was correctly to 0, see Figure 1. To be investigated
This morning the IMC was unlocked and the MC mirror F0 Z corrections were satured.
This was due to the fact that the SSFS corrections were not correctly reset even if the SSFS switch was correctly to 0, see Figure 1. To be investigated
3 comments
This is a long standing issue of the SSFS: the switch is correctly set to 0, so new corrections are not computed. But something (integrator's memory? digital noise? something else?) is still there, and it grows with time. When the CARM_DARM_LOCK node goes to DOWN, it calls the CARM_DARM_reset function (see at the top of the Python file), which takes care of resetting everything that is needed, but somehow Acl or cm do not behave as expected, as resetting the DSP filters (the polite way) or resetting the whole SSFS_Ctrl process (the less polite way) still do not succeed: they do everything else they are supposed to, but this "memory" is often not reset. Notice that such reset is the only command that is sent to SSFS_Ctrl in that function... For safety, there is another call to the same single reset command just after the CARM_TO_MC state, which for unknown reasons seem to work properly, but obviously this is hardly the way to do it, as it just makes sure the next relock is fine, while the post-unlock offloading is still not reliable. I've been trying several configurations and placements of such commands, with no success so far.
EDIT:
I looked a bit more deeply into this matter: the command we were told to use to reset only the filters (the polite way) was the following:
cm_send('SSFS_Ctrl','AcDspChFltReset','B4_DSP', 2, 'apply')which, according to documentation, should reset filter bank 2. Strangely enough, such command triggers the following warning while using the Automation:
2017-02-24-18h25m17-UTC>WARNING-AcDspChCmFilterSelect> B4_DSP - missing arguments:cmType "AcDspChFltSelect" -t <dsp_name> -i <filter_id(0|1)>while it works with no warning when used from a Python shell, so I always assumed the command was right and something was happening with cm or the timing (but this is not ruled out completely yet).
Anyway, using two commands but with '0' and '1' as filter banks seems to be working more often than the old command, but not every time... Therefore more tests are needed, given the witchcraft involved; why the ReloadConfig command behaves in the same way is still a mystery to me.
The place where the commands are in CARM_DARM_LOCK.py are lines 167-168, while the backup reset commands are at lines 803-804.
Note also that now the B4_GAIN is set to 1.0 in SSFS_Ctrl configuration file, as it is needed to make the error signal always available.
As I see people doing this often, a reminder: interrupting any DOWN state (but this is valid for all states) by requesting too soon another state can stop the execution of whatever exists in such state, therefore preventing a proper reset of things.
I dug a bit deeper in the documentation, and in the "Quick Cm Message syntaxes" there is an additional information, which says that when using the command
cm_send('SSFS_Ctrl','AcDspChFltReset','B4_DSP', 2, 'apply')the '2' means all filter banks, so this reduces the confusion. Now it seems that the actual problem is that sometimes Acl or cm do not understand that '2' means all filter banks, and instead they expect the actual filter bank, 0 or 1, to be selected. What is still not understood and under investigation is the fact that sometimes this happens, but all these occurences happen when the command is issued with Metatron and never when the command is issued by a iPython shell. We tried to reproduce the exact Python environment that Metatron uses (library versions, etc...) and send such command from there, but we still never encounter the issue while doing the command manually.