Giter Site home page Giter Site logo

jj1bdx / rtl_power-fm-multipath Goto Github PK

View Code? Open in Web Editor NEW
9.0 6.0 1.0 5.07 MB

FM broadcasting multipath distortion estimation by D/U ratio measurement with rtl_power

License: Creative Commons Attribution Share Alike 4.0 International

Python 100.00%
rtl-sdr rtlsdr rtl-power fm measurement broadcast r820t

rtl_power-fm-multipath's Introduction

rtl_power-fm-multipath

  • FM broadcasting multipath distortion estimation by D/U ratio measurement
  • Measurement with rtl_power
  • Python script copied from rtl-sdr-misc

D/U ratio measurement method

  • Proposed by [Komiya87] and [JushinFM]
  • D/U ratio: Desired/Undesired ratio. On FM broadcasting: ratio of the strength of direct/reflected radio waves

Methodology summary

(As shown in [Komiya87] and [JushinFM])

  • Measure the maximum peak strength for +-50kHz spectrum of the target FM station
  • Obtain the maximum value (Lmax) and minimum value (Lmin) within the spectrum
  • Obtain the ratio of the maximum and minimum values L = Lmax / Lmin (note: Lmax and Lmin are real values (not in dB), and L must be > 1)
  • The estimated D/U ratio R = (L+1) / (L-1) (in the real value, not in dB)

Limitations

  • The result depends on the broadcast contents
  • The estimation in [Komiya87] shows the range of D/U ratio R between 10~40 dB

L and R examples in dB (where 20dB = x10)

(As shown in [JushinFM])

L R
1.8dB 19.7dB
5.2dB 10.7dB
10.2dB 5.5dB

Detailed measurement using RTL-SDR and rtl_power

  • Measure the spectrum peak values for 5 minutes in every 1 second
  • Pick up the maximum values for the 5-minute measured spectrum for each frequency (peakhold.py)
  • Note: the first measurement result is inaccurate so discarded
rtl_power -f 88.05M:88.15M:1k -i 1 -e 5m -g 8.7 -w hamming -F 9 -P | tail -n +2 > nhkfm3.csv
python peakhold.py nhkfm3.csv > nhkfm3-ph.csv

Actual command output of rtl_power

% rtl_power -f 85.05M:85.15M:1k -i 1 -e 5m -g 8.7 -w hamming -F 9 -P | tail -n +2 > fmosaka-3.csv
Number of frequency hops: 1
Dongle bandwidth: 1600000Hz
Downsampling by: 16x
Cropping by: 0.00%
Total FFT bins: 128
Logged FFT bins: 128
FFT bin size: 781.25Hz
Buffer size: 16384 bytes (5.12ms)
Reporting every 1 seconds
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Found Rafael Micro R820T tuner
Tuner gain set to 8.70 dB.
[R82XX] PLL not locked!

Example values of estimated D/U ratio

  • NHK-FM Osaka 88.1MHz / nhkfm3.csv: L = 3.95dB, R = 13.01dB
  • FM COCOLO 76.5MHz / cocolo3.csv: L = 3.51dB, R = 14.01dB
  • FM802 80.2MHz / fm802-3.csv: L = 3.5dB, R = 14.03dB
  • FM Osaka 85.1MHz / fmosaka3.csv: L = 3.11dB, R = 15.03dB

References

License

rtl_power-fm-multipath's People

Contributors

jj1bdx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.