Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Data Acquisition and Global Control #33306

DAC/ADC connections to test DAC delays and more

The ADC and DAC channels of the secondary LVDTs of SPRB have been disconnected from the LVDTs for the time being.

The following connections have been done between DAC and ADC mezzanines of the two SPRB daqbox in the DAQroom in order to test DAC delays and make other consistency checks:

dbox 25 - mez2 (DAC 04)     ch2 --->    dbox 23 - mez 2 (ADC51) -- ch2
                                                  ch5 ---->   dbox 23 - mez 0 (ADC50)  -- ch5
                                                  ch7 ---->   dbox 25 - mez 3 (ADC15)  -- ch7

dbox 23 - mez1 (DAC16)      ch0  ---->  dbox 23 - mez 0 (ADC50) -- ch0
                                                   ch1  ---->  dbox 23 - mez 0 (ADC50) -- ch1
                                                   ch3  ---->  dbox 25 - mez 3 (ADC15) -- ch3
                                                   ch7  ---->  dbox 23 - mez 2 (ADC51) -- ch7

3 comments

rolland & masserot · 8 Mar 2016 · 13:44 #33356

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.

rolland, masserot · 8 Mar 2016 · 15:58 #33363

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.

rolland · 17 Mar 2016 · 14:35 #33406

The SPRB secondary coils have been connected back to the ADC and DAC channels. All the sensors/actuators for SPRB local controls should now be available.

Some DAC to ADC connections have been done to check the DAC outputs and are available for tests if needed:

  • SBE DaqBox #25 (SPRB): DAC #04 channel 7 to ADC #15 channel 7.
  • SBE DaqBox #24 (SIB2):   DAC #09 channel 7 to ADC #57 channel 7.
  • SBE DaqBox#27 (SDB2):  DAC #22 channel 7 to ADC7674 board #44 channel 15.
  • SNEB:
  • TCS DaqBox#31:                DAC #43 channel 7 to ADC7674 board #43 channel 15 (TCS DAC not yet connected)