Number sink unit to dBm

Hi All,

How do I convert the value from a number sink to dBm?
GRC attempt
http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-GRC.png
Output
http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-7.png

Regards,
Patrik

On 28/04/2011 7:38 AM, Patrik T. wrote:

Hi All,
How do I convert the value from a number sink to dBm?
GRC attempt

http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-GRC.png

http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-GRC.png

Output
http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-7.png

http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-7.png

Regards,
Patrik
First, received signal power is proportional to the square of the
received voltage, and the received voltage (instantaneous) is
what comes out of a USRP source block.

I usually feed into a complex-to-mag-squared block, followed by a
single-pole IIR filter, then I decimate it with a keep-one-in-N block to
reduce
the data rate. Now, after this, you have an unscaled estimate of
the signal strength across whatever bandwidth is “seen” by the
complex-to-mag-squared block. If you want to scale it into dBm, then
run it into a log10 block, and set ‘n’ to 10, and ‘k’ to whatever
calibration constant you have determined experimentally will map your
power estimates into actual received dBm.

Here’s the thing. None of the hardware involved here is
intended/designed to be a precision measuring instrument. So you have
to calibrate
according to your own local setup so that you get dBm numbers that
make sense. Those calibration constants can, and usually will, change
with frequency, since most garden-variety amplifiers, mixers, etc,
aren’t perfectly flat across their operating frequency.

Marcus,

Speaking on the topic of calibration. Has anyone characterized the
performance of the Ettus daughter cards, i.e. noise floor and
freq/volt measurements to card output?

–Colby

On 04/28/2011 10:32 AM, Colby B. wrote:

Marcus,

Speaking on the topic of calibration. Has anyone characterized the
performance of the Ettus daughter cards, i.e. noise floor and
freq/volt measurements to card output?

–Colby

There is a full WBX characterization with USRP1 here:

http://code.ettus.com/redmine/ettus/projects/public/documents

Noise figure with N200/N210 is 1-2 dB better.

Matt

Many thanks for the hints Marcus.
I’ll make an attempt.

Patrik
----- Original Message -----
From: Marcus D. Leech
To: [email protected]
Sent: Thursday, April 28, 2011 16:41
Subject: Re: [Discuss-gnuradio] Number sink unit to dBm

On 28/04/2011 7:38 AM, Patrik T. wrote:
Hi All,

How do I convert the value from a number sink to dBm?
GRC attempt 

http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-GRC.png
Output
http://www.poes-weather.com/~patrik/1.7GHz/HRPT/April-27th-2011/Screenshot-7.png

Regards,
Patrik

First, received signal power is proportional to the square of the
received voltage, and the received voltage (instantaneous) is
what comes out of a USRP source block.

I usually feed into a complex-to-mag-squared block, followed by a
single-pole IIR filter, then I decimate it with a keep-one-in-N block to
reduce
the data rate. Now, after this, you have an unscaled estimate of
the signal strength across whatever bandwidth is “seen” by the
complex-to-mag-squared block. If you want to scale it into dBm,
then run it into a log10 block, and set ‘n’ to 10, and ‘k’ to whatever
calibration constant you have determined experimentally will map
your power estimates into actual received dBm.

Here’s the thing. None of the hardware involved here is
intended/designed to be a precision measuring instrument. So you have
to calibrate
according to your own local setup so that you get dBm numbers that
make sense. Those calibration constants can, and usually will, change
with frequency, since most garden-variety amplifiers, mixers, etc,
aren’t perfectly flat across their operating frequency.

On 28/04/2011 1:55 PM, Matt E. wrote:

There is a full WBX characterization with USRP1 here:

http://code.ettus.com/redmine/ettus/projects/public/documents

Noise figure with N200/N210 is 1-2 dB better.

Matt

[Just because I’m in an expansive and tutorial-esque frame of mind this
afternoon].

Equivalent noise figures of ADCs are (relative to RF amplifiers) just
awful
. Equivalent noise figures of ADCs can be anywhere between
20 to 30dB (or more). For ADCs of equivalent “quality”, the
equivalent noise figure decreases with increasing number of bits, so all
else
being equal, you’d naturally expect that the equivalent noise figure
of the 12-bit USRP1 ADC to be noticeably worse than the 14-bit
N2xx ADC, and in fact, that is the case. This is a natural
consequence of ADC “physics”.

Now the total noise figure of a system tends to be dominated by the
noise-figure of the first gain stage in a sytem, that is because the
noise
figure at any given stage N, is always conceptually divided by the
gain of the previous stage (N-1), so:

 Ntot(N) = Ntot(N-1) + (Noise(N) / GAIN(N-1))

From this, you can see that the first-stage noise-figure and gain is
quite important in determining the overall noise-figure of the
system–as you
move further away from the antenna, a given stage noise figure
contributes less and less to the overall noise figure, provided that it
is
preceded by a low-noise gain stage.

With boards like the BASIC_RX and LF_RX, there are no gain elements, so
observed noise-figure is entirely dominated by the less-than-wonderful
equivalent noise figure of the ADC. Which means that for those
boards, you need some low-noise gain ahead of them to achieve decent
weak-signal performance. I’ve used 40dB of low-noise gain (ERA-3
GaAs MMIC), with 25-45MHz bandpass filters to make repeatable
observations of galactic background noise at 38MHz with a BASIC_RX
and USRP2.

For other cards, the RX chain typically has an LNA at the head of the
chain, followed by some amount of variable-gain amplification.
Something to
keep in mind about variable-gain amplifiers in the RF domain is that
their equivalent noise figure gets worse as you reduce their gain.
That’s typically because the gain-control is implemented as an
electrically-controlled step attenuator, and the noise-figure of an
attenuator
is identical to its attenuation–so a 10dB attenuator “contributes”
10dB of noise figure at whatever stage in the gain chain it is placed.
This made obvious in the plots for the WBX–the noise-figure curve
approaches a limit of 5dB as the gain is increased, with a peak noise
figure of roughly 22dB at the lowest (0dB) gain setting.