Spectrum sensing Simulation Only

Hello Everyone

I am a new to gnuradio. I would like to do simulation of spectrum
sensing (Simple energy detector with single band only).

Normally I have seen “usrp_spectrum_sense.py”. However, that is written
for USRP (and not easy to understand and modify it). Actually I have a
difficulty in computing average and display it continuously in a
graphical user interface.

See also my grc and corresponding python code (The vector sinc block is
not correct).

Any help is appreciated.

Thanks,

Tadilo Endeshaw, PhD
Postdoctoral Researcher
Institut National de recherche Scientifique
Centre Energie Matriaux Telecommunications
Place Bonaventure,
800 de la Gauchetiere Ouest, Suite 6900
H5A 1K6
Montreal, QC
Canada
E-mail : [email protected]
[email protected] (private)
Personal home page: https://sites.google.com/site/tadilomypage/

On Tue, Jul 29, 2014 at 3:34 PM, Bogale, Tadilo Endeshaw <
[email protected]> wrote:

See also my grc and corresponding python code (The vector sinc block is
not correct).

Any help is appreciated.

Thanks,

Tadilo Endeshaw, PhD

The easiest way to average is to use the single_pole_iir_filter to
smooth
out the data stream. But note that you’re coming out of the FFT block as
a
vector. You can set the vector length of the single pole IIR, but I’d
have
to review exactly what that means mathematically. It probably smooths
the
entire vector as one as opposed to smoothing over index i in each
vector.
You might have to play around with that.

Tom

On 07/30/2014 03:37 PM, Tom R. wrote:

The easiest way to average is to use the single_pole_iir_filter to
smooth out the data stream. But note that you’re coming out of the FFT
block as a vector. You can set the vector length of the single pole IIR,
but I’d have to review exactly what that means mathematically. It
probably smooths the entire vector as one as opposed to smoothing over
index i in each vector. You might have to play around with that.

gr-specest might help you with that (pybombs install gr-specest, or
https://github.com/kit-cel/gr-specest).

M

Tadilo,

please stick to the mailing list.

On 07/30/2014 08:23 PM, Bogale, Tadilo Endeshaw wrote:

Hello Martin

Thank you for the help. I try to run “specest_noisy_sinusoid_mtm.py” (Python
script is also okey for me). However it does not run “it says no module specest”.

Did you install gr-specest?

My goal is is to write a simple python or gnuradio code to perform the following
task

That’s really simple. In gr-specest, the “Welch” blocks pretty much do
that. Even without, you can easily click that together in GRC.

M