discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Energy Detection output incorrect


From: West, Nathan
Subject: Re: [Discuss-gnuradio] Energy Detection output incorrect
Date: Fri, 22 Sep 2017 19:31:48 -0400

Re: vector mode
This kind of code is what you're looking for https://github.com/gnuradio/gnuradio/pull/1462#discussion_r140610909

On Thursday, September 21, 2017, Tellrell White <address@hidden> wrote:
Thanks for the replies guys

Marcus I know you can find the PSD of a signal in both the time and frequency domain. The only reason I'm choosing to use the frequency domain is because it was one of the earlier methods that I learned about. That's really all. From the archives I've read about people trying to implement energy detectors in GNU Radio for various applications but I never saw anybody display the results in any way or form. They mostly just send the statistics to a file sink and export to matlab or some other software for further processing. So, ultimately, if the way that I'm implementing the algorithm is correct thus far, I'm looking for a way to display(graphically or otherwise) my result or the avg power.

Nathan would you remove the vector to stream block as well? And, why would you have to remove the stream to vector block? Isn't that the format that I want the data in? Also, how do you go about adding "vector modes" to the remaining blocks?

Tellrell

On Thu, Sep 21, 2017 at 1:30 PM, West, Nathan <address@hidden> wrote:
You can use the qt gui vector plot to plot a vector. That means removing the stream to vector block. You might have to add "vector" modes to some blocks to do the other operations you want.

On Wed, Sep 20, 2017 at 6:31 PM, Tellrell White <address@hidden> wrote:
Hello Marcus
You are absolutely correct. Is there an existing sink that would allow me to display avg power given some threshold ?

Tellrell


On Wednesday, September 20, 2017 5:54 PM, Marcus Müller <address@hidden> wrote:


Hi Tellrell!
Why should both plots show the same? You send in completely different signals!
Best regards,
Marcus

On 09/20/2017 09:27 AM, Tellrell White wrote:
Hello All
I'm working on a project involving signal detection of an IEEE 802.15.4 waveform using energy detection.
The algorithm for energy detection goes as follows:

          A/D conversion ->  FFT -> mag^2 -> (1/N) ^ M -> threshold comparison

Currently, I'm doing simulations in gnuradio companion with a focus of just trying to construct the the algorithm and get an output. Below I've attached the current flowgraph i'm using along with screen shots of the flowgraph and the outputs from the fft sinks.

In the flowgraph i'm using gaussian noise as my source. I send this noise to both an FFT sink and also through the energy detection algorithm. My expectation is that both sinks will give me the same result, however, the output coming from the algorithm doesn't match the other sink and I'm currently now sure why this is. Are there some blocks I'm currently missing and/or is the FFT sink an incorrect way of trying to display the power coming from the energy detection algorithm?

Any suggestions are welcome.

Regards
Tellrell


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]