使用USRP實現ADS-B的飛機信號獲取

1、配置好gnuradio環境與UHD,保證gnuradio與uhd正常工作
 
2、下載gr-air-modes包 https://github.com/bistromath/gr-air-modes 通過其幫助文檔進行安裝
 
3、安裝依賴環境
 
    $ sudo apt-get update
    $ sudo apt-get install build-essential
    $ sudo apt-get install python-setuptools
    $ sudo easy_install pip
    $ sudo apt-get install libzmq-dev
    $ sudo apt-get install python-zmq
 
4、執行python
 
    $ python
    Python 2.7.3 (default, Apr 20 2012, 22:44:07)
    [GCC 4.6.3] on linux2
    Type "help", "copyright", "credits" or "license" for more     information.
     
    >>> import zmq
    >>> zmq.zmq_version()

    '2.1.11'

 
5、下載googleearth


https://www.google.com/earth/download/ge/agree.html\

下載相應版本,用ubuntu軟件中心直接安裝

如果上述鏈接下載失敗可嘗試以下下載鏈接下載googleearth

32位:http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb

64位:http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb


6、測試googleearth


在終端輸入google-earth運行googleearth可能會出現亂碼或閃退,按照網上的方法刪除Qt文件或者換安裝方式即可解決。  


7、連接好USRP設備後,在終端執行


$ modes_rx -A RX2 -K aircraft.kml

正常執行會不斷接收數據並在當前路徑下生成一個aircraft.kml文件。


8、雙擊aircraft.kml文件即可在googleearth上打開,正常情況下可查看到搜索到的飛機。


注:此例程也可以簡單的用電視棒進行實現,理論上能接受300公里左右範圍的飛機信號,接受天線最好放置在空曠的地方或屋頂效果更好。



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章