Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-INJ›Beam Pointing Control #53107

Communication between DSP boards

We made progresses with debugging communication between DSP boards at input beam pointing control (BsX).

Since September 2nd at about 12:40 (local time) we have a probe monitoring communication between the two DSP boards. DSPA (in slot 3) sends a sine wave to DSPB (slot 1). DSPB echoes the signal back to DSPA which compares it with sent signal delayed by 4 cycles. The difference between sent signal and delayed echo is sent to DAQ (V1:BsX_sin_back). A difference not equal to zero identifies a communication problem between the two DSPs. Communication is via Serial RapidIO protocol with 4 lanes at 5 Gbps on chassis backplane and through a RapidIO switch.

During last 7 days we counted 12 failures. All failures we were able to debug (last 5) are due to a decoding error on communication between DSPA and RapidIO switch. Such error is compatible with contamination due to an external EM disturbance.

Corrupted packet triggered a bad behavior of communication path blocking all signals for about 5.9 seconds. Effect can be seen in figure 1 where on top we can see the signal sent to DAC going to zero (V1:BsX_PZT_UHC) while V1:BsX_sin_back is not equal to zero. That bad behavior was found to be due to a wrong parameter in RapidIO switch configuration. The value of the Port Link Timeout Control register was found set to 0xFFFFFF corresponding to a timeout of 5.9 s instead of nominal value of 0x8E corresponding to a 50 us timeout. After correcting that value (actually we set it to 10 us) situation in case of failure is the one shown in figure 2 and zoomed in figure 3. Corrupted packet is dropped with the ‘keep sample’ mechanism that was already used (with 1ms time constant). Apparently in this case, we had 2 missed packets and effect on DAC input signal was a 350mV glitch lasting 100us. Effect on beam alignment is to be verified. Glitch amplitude can be reduced increasing keep sample time constant.

Since we use exactly the same switch with exactly the same firmware version in all 21 chassis and in particular the beam pointing switch was not touched since at least February 2017, we did not expect such a problem. We checked all installed switched and all were set correctly except switch at West Input top (now corrected).

3 comments

chiummo, Ruggi · 9 Sep 2021 · 18:38 #53114

After the work carried on by A. Gennai and D. Passuelo on the communication between DSP boards, we gave another try to the full-bandwidth BPC (fBPC).

The aim was to check that in the current configuration the fBPC loop could survive a possible DSP-comm glitch without steering the beam out of the quadrants as happened before. So at 12:16:40 UTC we switched the BPC to full bandwidth (see plot: first row are the 4 steering signals for the input beam - x dof was slightly tuned by hand after the switch).

"Unfortunately", we did not experience glitches up to now so we still cannot certify that the issue of the fBPC against DSP hiccups is solved, although we did have at least one PMC unlock which was not disruptive wrt the fBPC loop.

BPC has been switched back to the original drift control mode for the night at 17:36:12 UTC. The experiment could be repeated tomorrow during daytime.

spinicelli · 10 Sep 2021 · 09:02 #53121

As suggested by Antonino, we re-engaged the full-bandwidth for the BPC at 7:50 UTC. 
We will monitor the behavior during the day. 

chiummo · 17 Sep 2021 · 15:05 #53180

Finally we fished a glitch in DSP communication about BsX cards while BPC was in full bandwidth (BPC_DC_ON = 0).

First plot: the glitch is reported in the BsX_sin_back signal and is well visible on the BPC angular d.o.f. Anyway, no dramatic consequence on the loop, it just recovered after the event, so the BPC could be left in full bandwidth as a standard state even when unattended.

Second plot: zoom in of the behavior of frequency corrections related to DSP card during the communication glitch. No apparent effect on the actuation.