We checked that indeed there were some lost packets in the exchanged between rtpc06 (doing the local control calculation, generating the injected noise in the current tests) and the SPRB gateway rtpc. Stopping some process on rtpc06 (SIB2 local control Pr process), there is no more lost packets.
In this case, the data sen to to the DAC and read by the ADC are much cleaner. See attached figure:
- plot1: data sent by the DAC and read by the ADC
- plot2: noise generated at 10 kHz on rtpc06 by the Pr process (noise up to 50 Hz, generated at 10 kHz)
- plot3: noise extended up to 100 kHz and low-pass filtered (at 5 kHz) on the gateway rtpc. This is the channel which is sent to the DAC mezzanine.
On the plot3, some aliasing is visible around 10 kHz and 20 kHz, which is not unexpected. There is no more the plateau as we had before when some TOLM packets were lost between the rtpcs. The plot1 confirms that the acquired ADC data are clean, with the noise well visible below 50 Hz, and the DAC noise (+ ADC noise lower contribution) limiting the measurement above ~100 Hz.
The SIB2 local control Pr process is stopped for the time being to prevent the lost packet issue.