RF Measurement Devices

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I automatically determine the threshold for a SmtSpectrumPeakSearch?

I'm using the 5600/5620 and LabWindows 8.0 to capture free-space RF in the range from 2.0 MHz to 500.0 MHz (not the entire range, but various selected 10 MHz segments).  Depending on the antenna and frequency I'm trying to detect the signal noise levels varies.  Currently I allow the operator to manually adjust the threshold level which is used for my SmtSpectrumPeakSearch call, but I'm using one threshold for all the frequency peaks I'm trying to measure.  I'd like to automatically compute a threshold 3 dB above the noise floor for each frequency I'm trying to detect.  What's the best way to accomplish that?

Ken
0 Kudos
Message 1 of 2
(6,917 Views)
Hello Ken,
You have two scenarios to start from - either knowing ahead of time what the expected noise level is based on your settings, or not knowing. Also, whether the displayed noise level is the system noise level (i.e. the signal noise is lower than the system noise) or the signal noise level. Of course, is the noise level is the system noise level, you essentially know ahead of time what the noise level will be based on the 5660 specs.

If you are looking at system noise as the noise floor, you can look at the 5660 specs and calculate the noise floor based on the noise density value, 5660 RF attenuation, and RBW.

Noise Floor (dBm) = Noise Density (dBm/Hz) + 10*LOG10(Actual RBW) + RF Attenuation (dB)

If the noise level varies and your application has to adapt, then you can use the power spectrum. If you want to average a section of the spectrum (that contains no noise), you need to do so in linear units, not dB or dBm. A quicker way to do this would be to do a simple max value test for a portion of the spectrum noise that doesn't contain signal and then set your threshold 3 dB above this.

Regards,
Andy Hinde
National Instruments
0 Kudos
Message 2 of 2
(6,912 Views)