During the 25/05/2023 calibration shift we did only "delay" injection which is measurement of the transfer fonction between CAL_*_Z_CORR and Sc_*_Z_CORR channels.
THe analysis of those injections showed the following :
Signal Sc_NI_MIR_Z_CORR always set to 0 during our injection (14h05 UTC) and see plot 1
and we have observed that this signal is also at 0 each time ITF is locked in LN2, see plot 2
For WE MIR, WE MAR and PR MIR we observed an additional delay of 50 μs : when fitting the transfer function between CAL_{WE,PR}_MIR_Z_CORR and Sc_{WE,PR}_MIR_Z_CORR we find a delay of 462 μs while for NE or BS we find 412 μs.
Observed delay of 50 μs between CAL_*_Z_CORR and Sc_*_Z_CORR for WE MIR and MAR and PR MIR
In plot 3 is a DMS playback that shows 3 Cal red flags (Cal_WE, Cal_NE and Cal_PR) when the ITF is locked in LN2
Those red flags are linked either to the Sc_NI_MIR_Z_CORR set to 0 or to 50 μs additional delays which imply the wrong phase between Cal and Sc at 2012.5 Hz.
It would help a lot if these problems are fixed before the next Cal shift of 01/06/2023.
7 comments
From the LSC side , the data are transmitted in the following order to the Suspension DSPs : NE, WE, BS, PR, SR, NI and WI .
As the additionnal delay is only for the WE and PR DSPs anf not for the BS one : It seems difficult to justify that the delays observed come from the Timing part of the ISC rtpc
After Paolo has fixed a flag in the NI DSP, the calibration injections properly reach the DSP and are seen in Sc_NI_MIR_Z_CORR. The associated flag in the DMS indicate no problem in the CAL to Sc data exchange/delays, with the expected delay.
From the DMS this morning, it seems that not only WE MIR,MAR and PR MIR are not as we expect, but also NE MIR,MAR.
From the DMS values, we estimated the following offsets in the delay (compared to what we expect and what we add before the WI shutdown):
One should probably resynchronize the NE, WE and PR DSPs doing a re-synchronization of the DSP cards w.r.t. the timing system?
In order to further investigate the measured delay from CAl to Sc channel, we can look at the channels as TFMoni_NEMIR_CALtoSc_2012Hz_Phase,Coherence : they contain the results of the TF (coherence, modulus, phase) measured at the 2012.Hz line injected on all the CAL_*_MIR_Z_CORR and read back on all the Sc_*_MIR_Z_CORR.
As shown in figure 2 from this night, the coherence is very good when the suspensions are on local controls. The WI mirror received signal because the W arm was locked last night.
Figure 1 shows the coherence, modulus and phase for all the TFMoni_*MIR_CALtoSc_2012Hz_* channels. If we expect the communication/transfer function to behave as before the shutdown (and as during O3), the expected values are 0.94 in modulus and +0.487 rad in phase (when the coherence is ~1).
This is the case for the WI, NI, SR and BS mirrors, but this is not the case for what concerns the phase for NE, WE and PR mirrors:
Note that these values have been stable since last week.
The same checks can be done on the TFMoni MAR channels, but the expected phase value is around -0.145 rad.
-> such channels can be looked at when the suspensions are under local controls after the DSP is re-synchronized to validate it.
On Friday, around 13h34 UTC, Valerio has recynchronized the NE mirror DSP board (not the master board that was already re-synchronized the day after the electrical blackout).
This is clearly seen on the channel that monitors the CAL to Sc delay at 2012.5 Hz, as shown in the figure 1 (plot TFMoni_NEMIR_CALtoSc_2012Hz_phase) where the phase has jumped from 0.804 rad to 0.487 rad : it indeed came back at the expected level, the same as before the blackout.
Looking at the monitoring channels for the marionettes, figure 2, one can see that :
When the NE mirror DSP board has been resynchronized last Friday, it fixed the extra-delay of NE mirror CAL to Sc, but not the extra-delay of NE marionette CAL to Sc.
To conclude, probably the following boards must be resynchronized (assuming that the master boards are properly synchronized):
Study of CAL to Sc delays after resynchronization of DSP boards on June 13
On Tuesday evening, Valerio has resynchronized the DSP boards: 13 June, around 14-17 h UTC. Some delays from CAL to Sc have moved to their expected values, but not all:
Study of CAL to Sc delays during some tests in the communication from the RTPC to the DSPs
Alain made some tests yesterday morning, June 14, from 6h to 6h40 UTC (see logbook 60548) , delaying the time when the packets are sent from the RTPC to the suspension DSPs by steps of 2 µs.
We expect that the delay from CAL to Sc channels increases by steps, either of multiple steps of 25 µs EITHER of a single step of 100 µs (depending on how the DSP input packets are taken into account).
In this case, there is an effect (close to expected one) on the mirrors and marionettes with the correct delay from CAL to Sc, while there is no effect on the ones with a incorrect delay (MAR NE and MAR WE):
Proposed further actions
The figure 1 shows the phase of the TFMoni mirror and marionette channels during the scan made by Alain yesterday.
CORRECTION to previous entry: Looking more closely at the phase jumps during the scan made by Alain yesterday, the jumps have an amplitude of 100 µs for NE, WE and BS mirrors (for which the duration after the jump is enough so that TFMoni (time averaged) channels converge towards a stable value after the jump).
ANOTHER VERY IMPORTANT CORRECTION:
Figure 2 shows a zoom around the jump of NE and WE mirror phase. We see that the jump (100 µs in total) is made of 2 or 3 smaller jumps (smoothed by TFMoni averaging). They happen at the time when Alain increased by 2 µs the time to send the packets from the RTPC to the DSPs. And the time window of 3-4 minutes when they happen corresponds to the time window when Alain has seen lower coherence between the channel sent from the RTPC and the channel sent back by the NE,WE DSPs. This happens for scanned values in a range of 6 µs of the time to send Tolm packets.
In order to understand these behaviors, the explanation we have when everything is well synchronized is the following:
This explains well the observations by Alain and by the CAltoSc measurements for the mirrors and the marionettes which are properly synchronized.
For the NE and WE marionettes which are not properly synchronized, a possible explanation is sketched in figure 3 (case of NE MAR DSP, with an offset of 25 µs currently). The figure shows the clock ticks of different components. The MIR DSP (in blue, which receives the TOLM packets), is in synch with the Master/DAQ DSP (in gray) and the TOLM packets (in red). Probably the MAR DSP has its owns "10 kHz clock" (in green) delayed by 25 µs from the MIR DSP.
for the marionette data, since the scan did not reach the "big 100 µs tick" in green, there is no effect: this must explain why we did not see any extra 100 µs delay in the CALtoSc signals of NE marionette.Yesterday June 16, around 12h50, broad-band noise injections were done to measure the response from CAL to Sc of all actuators. The following figures show the different measurements (blue) and the models inred (two poles fixed at 8174 Hz, and free gain and delay) with residuals.
The fitted gains are delays are the following (tower level(MIR or MAR) gain (V/V) error_gain delay (s) error_delay:
GPS 1370954893
NE MIR 0.999936 0.000000 0.000412 0.000000
WE MIR 0.999936 0.000000 0.000412 0.000000
NI MIR 0.995537 0.000000 0.000420 0.000000
WI MIR 0.995260 0.000001 0.000421 0.000000
BS MIR 0.999872 0.000000 0.000413 0.000000
PR MIR 0.999801 0.000000 0.000420 0.000000
SR MIR 0.999945 0.000000 0.000413 0.000000
GPS 1370955014
NE MAR 0.995457 0.000000 0.000470 0.000000
WE MAR 0.995457 0.000000 0.000470 0.000000
NI MAR 0.995457 0.000000 0.000470 0.000000
WI MAR 0.995457 0.000000 0.000470 0.000000
BS MAR 0.994671 0.000002 0.000472 0.000000
All the delays from CAL_MIR,MAR_Z_CORR to Sc_MIR,MAR_Z_CORR channels are close to 412 µs for the mirrors and 470 µs for the marionettes (close to the value we were using during O3: 412 µs and 466 µs respectively)
It confirms that the DSPs are properly synchronized, as we found yesterday from the monitoring channels.