The goal of the shift was to test and verify the new diagonalisation method.
The algorithm has been manually tested, i.e. by computing the weights manually in MATLAB and setting them manually through python, rather than using the PyDiag process.
At 15:15:00 UTC we managed to get a stable lock in CARM Null 1f which lasted a little over 2.5 hours. 5 iterations of weight updates were succesfully applied at respectively 15:15:00, 15:23:45, 15:31:45, 15:40:00 and 15:49:00. Figure 1 shows a trend plot of the LSC__ channels for the CITF DoFs. In the beginning there are significant transients of the lock and the diagonalisation manages to reduce the couplings significantly. It worsens the coupling slightly at some updates due to the transients but after half an hour into the lock it manages to updates the weights and minimize all couplings without fluctuating. The difference with the old algorithm is that now also the MICH2PRCL, SRCL2PRCL and MICH2SRCL couplings can be reduced significantly, which was not possible with the old algorithm.
In figure 2, the frequency response function for the CITF DoFs is shown with the red curves no decoupling, blue the old decoupling method and green the new decoupling method. The new decoupling method performs significantly better and actually manages to reduce all off-diagonal terms, compared to the old algorithm which only reduced PRCL2MICH and SRCL2MICH. Note that the LSC__ channels are basically a single frequency bin (corresponding to the frequency of the input line) of the off-diagonal frequency response function terms.
The FRF has been obtained using noise injections of the CITF DoFs with the following timestamps:
Noise injections with diagonalisation off
MICH: 16:16:15 + 2 min
PRCL: 16:19:15 + 2 min
SRCL: 16:22:15 + 2 min
Noise injections using new diagonaisation method
MICH: 16:39:15 + 2 min (mag = 2e4)
PRCL: 16:42:00 + 2 min (mag = 2e3);
SRCL: 16:44:45 + 2 min (mag = 2e4)
Noise injections using old diagonalisation method
MICH: 17:08:45 + 2 min (mag = 2e4)
PRCL: 17:11:30 + 2 min (mag = 2e3);
SRCL: 17:14:15 + 2 min (mag = 2e4)
During the next shift the python code of the PyDiag process will be updated with this new algorithm and tested.
After that some small tests were performed (e.g. lowering SRCL/MICH line and shifting them) for the non-linearity detection.
The shift ended around 22:20 local time due to the passing of an earthquake which caused an unlock.
The data has been explored in order to find more events of data loss from Sc_PR. In fact there are many of that, but all are characterized by only 1 sample lost, while the one which procured the unlock lasted 353 samples (0.035 ms).
In the latest 20 days the rate of events is constantly about 2 per day; the total number is 47. Fig 1 shows the interval between two events in seconds.
In 22 cases PRCL was locked. The lock was lost soon after the event just in 2 cases: the one reported yesterday (gps 1374852158) and another one at gps 1373557500 (Jul 16). In the second case the unlock seems not due to PRCL, but more to DARM: I would say that it occurred so close to the PR data loss just by chance. Fig 2 shows the unlock of yesterday, very likely due to PR CORR glitch, and the other one, in which PRCL remains stable for 1 s after the glitch.
PRCL behaviour during the glitch of 1 sample has been more deeply analized looking at a second event occurred yesterday, with the ITF locked (gsp 1374826133). PRCL spectrogram in fig 3 shows that the glitch has a small effect: it excitates a peak which could be a resonance, and something smaller around. In fig 4 we can see that the peak is at 53.7 Hz, which seems a value quite low to be excited by a kick on the mirror, but I don't have any other explanation.
More investigation is required to say when the problem started, but at least one very old event has been found (gps 1366379368, April 24, fig 5), which looks like the recent ones.
The issues related to the lost samples in Sc_PR signals (PRLS) are heavier than imagined in the previous entry. I wrote that one lock loss was in coincidence with a PRLS just by chance, but I was wrong: as one can see in fig 1, the event triggered a misalignment of PR_TX, compromising the sidebands and the lock stability.
Similar events are happening often lately. Fig 2 and fig 3 show two of them, happened last Saturday and Sunday. Fig 4 shows a PRSL which did not lead to a lock loss, but nevertheless generated a sideband instability. Also the category of persistent lost samples is present in the recent data (fig 5).
The statistics of PRSL regarding the latest 3 days is reported in fig 6: 10 events in total; just 1 sample in 6 cases; 2 samples in 2 cases; 350 samples in 2 cases. Observing one by one the events, one can see that, over 9 cases of ITF locked, 4 produced the lock loss.
There is more: observing several lock losses of the latest days, one can find the same pattern generated by one PRSL, even without the lost sample (fig 7, fig 8). The loss of samples in the data seems just an occasional witness of something else happening in the DSP, or in ASC, or in the communication between ACL and DSP.
To be better investigated, possibly as soon as possible, because currently this is the first cause of lock loss in the periods when the lock could work for hours, as it was this weekend.
More details one the events reported by Paolo
Event 2023-08-28-13h12m46-UTC
Event 2023-08-03h41m11-UTC
Event 2028-08-27-14h28m44-UTC
Event 2023-08-26-23h54m12-UTC
Looking better into the data, one can find several smaller glitches in the correction, like the one shown in fig 1.
The correction can be reconstructed starting from ASC error signal (ASC_PR_TX_CORR). Doing exactly what the DSP does is not straightforward, because ASC data are at 2 kHz, Sc data are at 10 kHz and the DSP runs at 40 kHz. Anyway, I managed to obtain a good recostruction adding a hole in ASC data (3 samples at 10 kHz), as shown in fig 2 and its zoom, fig 3.
A few debugging probes are required in order to see in which passage the zeroes are overwritten.
We check the TolmFrameBuilder code , there is a warning message only if there is missing samples , in this case the missing samples are expected to be filled with zero.
This means that if there is no message from the TolmFrameBuilder , all the data were received and sometime their contents are equal to zero
After monitornig data flow at PR payload control along the whole day, I found communication errors related to slot #1 processor that received few 'retry' from RapidIO switch #0 and processor in slot #4 that received few 'NoACK' from same switch. These errors could be explained by operations on any of PR payload processors (for example new download or heavy monitornig via ethernet) but could of course be an ageing effect on processors and/or switches. 'Retry' could be generated by busy receiver. 'NoACK' is more worring since associated to 8b/10b deconding errors.
If problem persists we shall consider some processor and switch replacement/relocation
During last 18 hours additional problems were detected on traffic between the two SRIO switches ('Retry' on interlink #2)