Virgo Logbook
UTC--:--:--
GPS-
Reports
AdV-DAQ›Environmental Monitoring #33242

Antenna test: Digital vs Analog demodulation

In order to better understand the strange behavior of the antenna signals observed in 33185 we acquired the same antenna signal with two different demodulation method as it is described in File 1 and shown in Picture 2.

We have also changed the hardware gain, as we did previously, in the LNFS dbox rack cfg file and the results are shown in Figure 3, as:

  • 0XB0 (linear gain = 19) Blue curve
  • 0X40 (linear gain = 3.6) Purple curve
  • 0XE0 (linear gain  = 37) Red curve
  • 0XFF (linear gain = 50) Black curve

It is visible that we can not get good coherence between the two signals. The improvement in the coherence for the black curve is probably due to an increase of RF noise at that moment.

In order to understand this behavior we need to perform further tests such as RF noise injections.

9 comments

Fiori, Mantovani, Paoletti · 17 Feb 2016 · 17:06 #33252
This afternoon we've connected a RF signal generator to both the acquiring systems (old "analog" ENV_IER_ANTENNA and new "digital" ENV_RF_6MHz_I) previously reading the RF antenna signals. In details: - we have generated a ~6.270884 MHz signal (that is seen by the two systems as a 107Hz line, being it 107Hz over the modulation carrier frequency); - the level has been changed in 20dB steps, from a generator panel reading of -80dBm up to 0dBm (that is: from ~10uVrms up to ~100mVrms after the -6dB divider); - We also have reset the low frequency post amplifier (Stanford SR560) of the old analog chain in order to have the ~same amplitude on both readings (old vs new). - we finally have left the RF generator level unchanged (-20dBm) while sweeping the frequency (start 6270000Hz stop 6280000Hz step 20Hz 2.5s/step) We can observe that: - varying the RF level we see the same line with the same level on both systems, up to -20dBm (see fig.1); - at 0dBm the new digital system is somehow "compressing" (not saturating) the signal; it shouldn't be a saturation because we don't see any relevant harmonics (e.g. 214Hz etc.) - changing the level from -80 to -20dBm the noise level of the old analog chain remains the same (e.g. 3e-7psd), while the noise level of the new digital chain increases accordingly with the signal level (from 1e-8psd up to 1e-5psd, see fig.2) - sweeping the frequency with the RF level set at -20dBm (the maximum before any "compression" effect) we clearly see that for the 0-5kHz band the new digital acquisition system is noisier than the old one (see fig.3, vertical color scale are not the same!) We left the signal generator sweeping up and down, we'll do further tests to understand this behavior.
mantovani, fiori, paoletti · 18 Feb 2016 · 17:13 #33259

Analyzing better the data during the night we can observe that the noise floor for the digitally demodulated signal, at the same excitation line amplitude, increases as the frequency of the line increases.

This behavior is visible from figure 1, right plot, in which the low level of noise (the two blue strips) corresponds to the excitations at low frequency.

5 hours of data have been analyzed, figure 2, and the SNR as a function of the frequency has been measured.

Figure 3 shows the SNR as a function of the excitation frequency and it is visible that the SNR for the digital demodulation decreases as the frequency increases.

The SNR for the analog signal oscillates a lot due to the transients in the generator, structures visible also in Figure 1, but the maximum remains constant.

mantovani, fiori, paoletti · 19 Feb 2016 · 11:07 #33264

During the tests performed on the 17th, see logbook entry 33252, the amplitude of the RF excitation has been changed from 100mVrms to 10uVrms and the two antenna signals can be compared.

GPS start = 1139751720;

The spectra are shown in Figure 1 and it is visible that the noise floor of the digitally demodulated signal increases as the amplitude of the excitation increases.

Moreover the amplitude of the line, for the digitally demodulated signal, doesn't increases linearly whith the excitation line amplitude.

This behaviour is clearly shown in Figure 2 where in the top plot the "compression" of the digitally demodulated signal is visible while in the bottom plot the strange behaviour of the SNR is shown. The SNR indeed remains constant as a function of the line amplitude in the digitally demodulated signal while for the the analog one the behavior is correctly linear.

It is worth to be noted that for 0dBm an increase of the noise floor is present even in the analog demodulated signal but this is due to the increase of noise in the RF generator.

Paoletti · 19 Feb 2016 · 11:26 #33265
Please take note that the real signal is the one expressed in Vrms units; the dBm refer to the signal generator's output, but there is a divider in between (losses are about -6dB). All is 50 ohm loaded (I presume also the digital demodulation ADC input).
paoletti, mantovani, fiori · 23 Feb 2016 · 18:00 #33277

Yesterday we repeated the test performed 33264 changing the frequency of the excitation from 107 to 4107 Hz, since we have noticed that the noise floor for high excitation frequencies is different with respect to what we get for the low ones, see logbook entry 33259.

The spectra are shown in Figure 1 and it is visible that the noise floor of the digitally demodulated signal increases as the amplitude of the excitation and the signal for strong excitation amplitudes ( larger than 10 mVrms) is "compressed", as it happens for the 107 Hz line.

The "compression" is visible in the top plot of Figure 2 and the increase of noise with the signal amplitude is visible in the bottom plot.

It is worth to be noted that for very low signal amplitude, smaller than 0.1 mVrms, the noise floor of the digitally demodulated signal is lower than the analog one.

If we compare the 107 and 4107 Hz lines behavior, Figure 3, we can observe that the SNR for the high excitation frequency is a factor ~ 6 lower with respect to the low one.

Moreover a sweeping line from 0 to 20kHz has been injected (@ -20dBm) to measure the aliasing effect, see Figure 4, and as it is visible from Figure 5 the antialiasing in the digital path has to be improved.

letendre, mours, rolland · 24 Feb 2016 · 23:42 #33296
Following the report that the demodulation board was “compressing” the signal, we checked in Annecy that the signal acquired by a demodulation board scaled has the input analogue signal. No “compression” effect was observed, see the first and second figures (zoom of the first one), the signal is generated at 6.270784 MHz by IFR2026A up to 100 mVrms We injected also a 600mVpp signal in the RF antenna channel and again got the correct amplitude. Therefore, the reported “compression” effect seem to be due to artifact of the measurement performed, maybe the signal generator was delivering not enough signal due to the way it was connected to the demodulation board and the RF antenna. However, we did observe an excess of noise around the injected line, see the first and second figures. This excess of noise is due to a phase noise of the DAQbox clock when using the option to slave it to the 10 MHz signal. If instead of that we just slave it to the IRIG-B signal, this noise disappear as shown by the third figure (the purple cure is made with the DAQbox slaved on the IRIG-B, the black one slaved on the 10 MHz timing signal). Obviously, some tuning of the (VHDL) code adjusting the clock of the DAQbox is needed, but the board is performing as expected from the electronic point of view.
mours · 25 Feb 2016 · 08:57 #33298
The timing setting of the DAQbox reading the LNFS and RF antenna has been switch from 10MHz to IRIG-B this morning (7:52 UTC) to reduce the noise of the RF antenna readout.
Paoletti, Fiori, Mantovani · 25 Feb 2016 · 15:14 #33301

This morning we have repeated measurements on the Digital DAQbox *exactly* as in entry 33277
(BTW we found unplugged some cables in the setup we left in operation, but we were able to restore it, and we used the same signal generator, with the same settings, etc.)

We found that something has changed (hardware, or software, or maybe some internal DAQbox gain?), because *now* there is no compression effect in the digital demodulation system (DAQbox).
We can compare fig.1 (top, measurement made Tuesday 23 February 2016) with fig.2 (top, same but today, Thursday 25 February 2016):
in both figures the RED curve is the one obtained with the old analog system (our reference), while the BLACK curve is the one with the digital system (DAQbox).

We are pretty sure of the setup, because the reference channel (the analog one) gives the same response as before.

Moreover we repeated the measurement unplugging all the analog chain (the voltage divider, the mixer ...) and connecting the Signal Generator directly to the input of the DAQbox, scaling down the level in order to compensate for the losses of the (now) removed voltage divider (-6dB).
The result is the BLUE curve visible in fig.2 that perfectly overlaps on the black one.
This to exclude "...artifact of the measurement performed ... signal generator delivering not enough signal ...  etc".

It is worth noticing that now the situation is improved as far as compression is concerned, but is much *worse* for the Signal-to-Noise ratio:
as visible in fig.2 (bottom), and comparing with the previous measurement of fig.1 (bottom), we see that the S/N (black curve) has drop from 10e3 to 10e2 !

Could this behavior be explained by a change in the internal gain of the DAQbox, or something like it, between Tuesday 23 and Thursday 25?
Is there any way to check? Maybe there is a log file? It would be nice to know.
The only change reported in the logbook is (entry 33298, 25 February 2016, 7:52 UTC):
"timing setting of the DAQbox reading the LNFS and RF antenna has been switch from 10MHz to IRIG-B this morning"; we don't know if this can explain the increase in linearity and the worsening of the noise.

Conclusion:
The "compression" *was* real, so it is actually, and simply, compression (no quotes before and after).
It is not an artifact.
The proof is in the data, and it is not arguable.
Today is no more present (up to the same level of the previous measurement, say 313mV RMS), but at the same time the Signal-to-Noise ratio is much worse than before.

Fig.3 gives an idea of the spectra obtained today, and we can see that now is no more true that, for very low signals level, the DAQbox has less noise of the Analog chain.

mours, letendre · 26 Feb 2016 · 10:54 #33307
The reported SNR of about 10e2 looks strange and not compatible with the measurement reported in the entry #33298 (SNR more like 10e5 to 10e6). However the measurement reported in the entry #33301 is with a much larger frequency offset (around 4 kHz). Therefore we tested a demodulation board at LAPP with such a large frequency offset but we did not observed the reported problem, our measurement is showing again a good SNR of 5 to 6 order of magnitude, see the attached figure. Its good to know that the compression effect is gone. Since the signal generator was delivering the right voltage, then another possible explanation is a saturation of the ADC during the measurement presented in the entry #33252. Actually, a saturation will not generate harmonics of the demodulated signal (at 214 Hz) but harmonics at 12 MHz. This would explain why it was unnoticed when doing the initial measurement. The gain of RF antenna ADC channel was adjusted, when checking the channel with large signal amplitude for the measurements reported in #33296. The gains are recorded in the log files of the DAQbox process LNFS_dbox_rack.