The issue of the SPRB local control channels has been solved: there was an error in the gateway Pr configuration.
The packets sent to the DAC need to be "interleaved": each packet contains the values for the 8 DAC channels. If the channel has a sampling frequency higher than the packet frequency (which was the case, 100 kHz vs 10 kHz), the values must be ordered to have one value per channel, then one second value per channel, etc... On the contrary, the data from the ADC are in general not interleaved.
As error in the gateway, the packets sent to the SPRB local control DAC (secondary LVDT coils) were not interleaved. The consequence was some strange signals, with structures looking as aliasing in the FFTs of the ADC data sensing the DAC outputs, see first plot, right canvas. Things are now back to normal situation and the SPRB local control signals could be plugged back to the ADC and DAC mezzanines to tune them.
In the 2nd plot, two "pipelines" are compared:
-
channel BL_H
- some noise up to 50 Hz is generated on a Pr running at 2 kHz and sent to a gateway rtpc
- the data are read in the gateway Pr process at 10 kHz (some extension is made here without filtering)
- the data are low-pass filtered at 1 kHz (4th order Butterworth) and extended up to 100 kHz
- the data are sent to a DAC and acquired on an ADC
- the ADC chip digitizes the signal at 100 kHz and sends them to the gateway rtpc
- the signal is low-pass filtered at 20 kHz (4th order Butterworth) and decimated down to 50 kHz
-
channel FR_V
- some noise up to 50 Hz is generated on a Pr running at 10 kHz and sent to a gateway rtpc
- the data are read in the gateway Pr process at 10 kHz
- the data are low-pass filtered at 5 kHz (4th order Butterworth) and extended up to 100 kHz
- the data are sent to a DAC and acquired on an ADC
- the ADC chip digitizes the signal at 100 kHz and sends them to the gateway rtpc
- the signal is low-pass filtered at 20 kHz (4th order Butterworth) and decimated down to 50 kHz
Some imaging is visible around (n x 2 kHz). It is not unexpected for the BL_H channel which is initially generated at 2 kHz. It is strange for the FR_V channel where frequencies used along the pipeline are 5 kHz, 10 kHz, 50 kHz and 100 kHz. Investigation is on-going. The cause may be lost data packets in the data exchanged between the two rtpcs which are quite crowded.