简体   繁体   中英

GNU Radio Companion - How to calculate average power of a signal

How can I calculate the average power of a signal within a certain bandwidth and store that value in a variable that I can reference for later?

For example, I have a low pass filter 15kHz wide, I want to know if there's a tool in GNU Radio Companion that will allow me to calculate the average power over a certain time to see if the power level passes a threshold.

The power of a digital signal X [t]的 is simply ABS(X)² . Thus in order to do the following:

calculate the average power

  • use the "complex to magnitude square" block to convert your signal to signal power

over a certain time

  • use the "moving average" block to calculate the moving average of a specific time slice

see if the power level passes a threshold

  • use the "threshold" block to calculate... you guessed it, the threshold.

Have you read the tutorials? http://tutorials.gnuradio.org

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM