gcallipo/RadioDSP-Pico

Measured BW of the filter differs from the programmed settings.

Closed this issue · 11 comments

I assembled the circuit following the instructions and measured the characteristics of the filter with audio spectrum analyzer.
As a result, I found that the measured filter characteristics differed from the programmed settings.

RasPi-Pico-BW

We can see that the attenuation of the filter (about -40dB) is correct and differs only in frequency.
Why are the filter frequencies different between settings and measurements?

Thanks. I made additional experiments.

Result of first version

I think the measurements are more closer to settings, but the difference remains.

RasPi-Pico-BW_SF01

Result of second version without AVG filter

I think there is almost no difference compared to with AVG filter.

RasPi-Pico-BW_SF02woAVG

Thanks.

I use WeveGane as the sweep signal generator. Use the sweep function (push "バー" button right side of frequency box) to 20Hz~24kHz sweep signal.
image

http://web.archive.org/web/20171102031127/http://efu.jp.net/soft/wg/wg.html

And WeveSpectra as the audio spectrum analyzer. Use the peak hold mode (activate "Peak" and "OVL1". red circle is reset) to get frequency response.
image
http://web.archive.org/web/20171119095646/http://efu.jp.net/soft/ws/ws.html

Both software are only available in Japanese Language, but there is English 3rd-party help.
https://gtkc.net/wavespectra-wavegene-english-help

I tried overclocking the pico to 250MHz with earlephilhower/arduino-pico Arduino core.
https://github.com/earlephilhower/arduino-pico

Then, I achieved 0-4kHz filter BW with 0-6kHz AM/SSB filter mode, it was 0-2kHz BW before.
image

The overclocked frequency (250MHz) is 2 times higher than default (125 or 133MHz).
So I think that the sampling frequency is lowering due to the processing time.

I will make another pull request to migrate the Earlephilhower's Arduino core.

Please, check the filters now, I;ve updated the sample rate, from 48 to 24 khz and recalculate all filters, now the AM works at sample rate of 24 khz, the ssb works at sample rate of 12 khz (decimation by 2) and the CW works at sample rate of 6khz (decimation by 4 ), this is a starting point but I think that it works better.
If possible check the bandwidt now.

NOTE: I use the MBED updated at the new version 3.5.4.

I measured your updated Filter and we can see that AM Filter has 6kHz BW.

image

Also, SSB filter has 4 kHz BW.

image

And, CW filter has about 300 to 1,500 Hz BW.

image

The frequency is quite similar, but it is seen that the performance of filter has degraded. I think it is due to reduced number of taps.

I added the feature to measure the sample rate. please see new pull request.

image

Close current sub project.
Starting new experiments on SimpleAudioFilter06.