Hello MarcusYou 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 <marcus.muel...@ettus.com> 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 Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio