The B1 signal is acquired using 2 photodiodes. In this study we use only the B1_PD2 Audio channels for which are available
- at 1MHz as B1_PD2_Audio_1MHz_raw_DS channel
- at 100kHz as B1_PD2_Audio_100kHz channel
- at 20kHz as B1_PD2_Audio
The B1_PD2_Audio_100kHz is the B1_PD2_Audio_1MHz_raw_DS filtered by a lowpass butterworth filter 8th order with 20dB at 50KHz and with the FLOAT40 to INT32 scaling factor of 128, as the filtering is performed on the embbeded DSP, to ensure a very good coherence and whithout aliasing up to 30kHz
The B1_PD2_Audio_100kHz is sent to the rtpc5 where a first filtering is performed to reduce the sampling frequency from 100kHz to 20KHz and to be used for the ITF control
The B1_PD2_Audio_1MHz_raw_DS and the B1_PD2_Audio_100kHz channels are sent to the rtpc7 to be used by the SDB2_spy ACL server where a parallel computation has been setup .
Today to reduce the B1_PD2_Audio sampling frequency from 100kHz to 20kHz , the filter is defined as
ACL_FILTER_SET "flt_But_notch_OMC_ref" 4 0 0 26
ACL_FILTER_BUTTERWORTH "flt_But_notch_OMC_ref" "lowpass" 8 3 10000
ACL_FILTER_POLES "flt_But_notch_OMC_ref" OMC1_freq 2e3 OMC2_freq 2e3 OMC1_freq2 2e3 OMC2_freq2 2e3
ACL_FILTER_POLES "flt_But_notch_OMC_ref" OMC12_freq 2e3
ACL_FILTER_ZEROS "flt_But_notch_OMC_ref" OMC1_freq 1e6 OMC2_freq 1e6 OMC1_freq2 1e6 OMC2_freq2 1e6
ACL_FILTER_ZEROS "flt_But_notch_OMC_ref" OMC12_freq 1e6
ACL_FILTER_POLES "flt_But_notch_OMC_ref" 1.6 0
ACL_FILTER_ZEROS "flt_But_notch_OMC_ref" 1.46 0
The filter output without decimation is is called B1_PD2_Audio_ref_100kHz_spy_FS and the one after decimation is called B1_PD2_Audio_ref_spy_FS .
This plot show the B1_PD2_Audio_100kHz and B1_PD2_Audio_ref_100kHz_spy_FS channels where the potential aliasing area are highlighted in green.
With setup a new filter called "flt_But_notch_OMC_new" with additionnal notches related to the green frequency regions and by removing some useless notches related to the double modulation frequencies of the OMC{1,2}
ACL_FILTER_SET "flt_But_notch_OMC_new" 4 0 0 60
ACL_FILTER_BUTTERWORTH "flt_But_notch_OMC_new" "lowpass" 8 3 10000
ACL_FILTER_POLES "flt_But_notch_OMC_new" OMC1_freq 2e2 OMC2_freq 2e3
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" OMC1_freq 1e6 OMC2_freq 1e6
ACL_FILTER_POLES "flt_But_notch_OMC_new" 1.6 0
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 1.46 0
# aliasing: 850Hz-950Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 19109 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 19109 5e3
# aliasing: 4080Hz-5000Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 15010 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 15010 5e3
# aliasing: 5130Hz-5140Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 14865 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 14865 5e3
# aliasing: 5160Hz-5180Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 14830 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 14830 5e3
# aliasing: 7090z-7110Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 12900 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 12900 5e3
# aliasing: 7090z-7110Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 12915 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 12915 5e3
# aliasing: 7050z-7070Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 12940 1e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 12940 5e3
# aliasing: 10117-1017Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 10117 5e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 10117 5e5
# aliasing: 10103-10103Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 10103.8 5e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 10103.8 5e5
# aliasing: 10100-10100Hz
ACL_FILTER_POLES "flt_But_notch_OMC_new" 10100.8 5e2
ACL_FILTER_ZEROS "flt_But_notch_OMC_new" 10100.8 5e5
The new filter output without decimation is is called B1_PD2_Audio_new_100kHz_spy_FS and the one after decimation is called B1_PD2_Audio_new_spy_FS
In the following plots
- the channel B1_PD2_Audio is the one used for the ITF control and it should be equal to B1_PD2_Audio_ref _spy_FS channel .
- in red the channels related to the flt_But_notch_OMC_ref filter
- in green the channels related to the flt_But_notch_OMC_new filter
These plots show the improvements related to the new filter compare to the current one
- in the full frequency band
- in the 850Hz-950Hz frequency region due to aliasing from the 19050Hz-19150Hz region
- in the 4900Hz-5200Hz frequency region due to aliasing from the 14800Hz-15100Hz region
- in the 7000Hz-7200Hz frequency region due to aliasing from the 12800Hz-13000Hz region
- in the 9850Hz-9950Hz frequency region due to aliasing from the 10050Hz-10150Hz regio
The last plot show the transfer function between the B1_PD2_Audio_new_100kHz_spy_FS and B1_PD2_Audio_ref_100kHz_spy_FS to compare the 2 filters :
- at 1kHz an additionnal delay of 0.8us
- at 2kHz an additionnal delay of 0.86us
- at 4kHz an additionnal delay of 0.92us
- at 8kHz an additionnal delay of 1,35us
2 comments
The "flt_But_notch_OMC_ref" and "flt_But_notch_OMC_new" filters are applied on the B1_PD2_Audio channel and on the B1_PD2_DC channel
The following plots compares ( 0-10kHz, 700Hz-10kHz, 10-4kHz)
With the "flt_But_notch_OMC_new" the coherence between the 20kHz and 1MHz is better for the Audio channel, the DC channel and the Blended channel too.
In the last plot, the Blended channel should be equal to the Audio channel for the frequencies above 15Hz. It 's strange to see that it coherency with the Audio_1MHz channels is different with the one of the Audio channel for the frequencies above 200Hz
The new filter has been put in operation yesterday during the maintenance period .
In the following plots, the blue curves are related to the previous filter and the purple ones to the new filter:
Fews improvements remains to be done in the 7000Hz -8000Hz frequency region.