gr-osmosdr center frequency limit

Applications, development tools, FPGA, C, WEB
Post Reply
jjjjcol
Posts: 4
Joined: Wed Sep 08, 2021 1:11 pm

gr-osmosdr center frequency limit

Post by jjjjcol » Mon Jul 11, 2022 1:25 pm

I opened this issue on gr-osmosdr the other day: https://gitea.osmocom.org/sdr/gr-osmosdr/issues/3

I noticed that in gr-osmosdr there is a check to see that the center frequency is greater than samp_rate/2. I can't really see why this is a necessary sanity check. Additionally, the server side code, sdr-transceiver-wide.c for instance, has a minimum frequency of 0Hz.

User avatar
M0JPI
Posts: 19
Joined: Wed Jun 15, 2022 8:06 pm
Location: Cumbria, UK

Re: gr-osmosdr center frequency limit

Post by M0JPI » Mon Jul 11, 2022 5:02 pm

I'm still learning about SDR, but isn't that so it is within the Nyquist frequency?

I'm guessing the minimum of 0Hz is because the Red Pitaya can sample down to DC if the STEMLab boards are used or down to 300 kHz for the SDRLab.

John M0JPI

jjjjcol
Posts: 4
Joined: Wed Sep 08, 2021 1:11 pm

Re: gr-osmosdr center frequency limit

Post by jjjjcol » Tue Jul 12, 2022 11:44 am

Hey John

Any signal of interest, after mixing down to baseband, needs to be below samp_rate/2 to avoid aliasing.

However, in this case, I don't think we should be worried about sampling yet as this frequency (the center frequency) is simply the frequency that will be produced by the DDS, and therefore is the frequency in the received/transmitted signal that will be shifted down to 0Hz.

Below is the diagram for the wideband SDR notes page. The frequency mixing occurs at the full sample rate of 125MSPS. After the complex multiply the center frequency has been shifted to 0Hz. At this point its still 125MSPS. Only after this shift is downsampling and lowpass filtering performed, at which point your band of interest will need to be below samp_rate/2.

I suppose, regardless of whether my assessment is right or wrong, there is a discrepancy between the board side code and gr-osmosdr.

Image

-Jay

Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 25 guests