Difference between revisions of "Software Defined Radio"
m (removed 1.5 e6 from the Airspy Mini as supported samplerate.) (Tag: Visual edit) |
m (Update Airspy R2 sample rates) (Tag: Visual edit) |
||
Line 108: | Line 108: | ||
===Sample rates=== | ===Sample rates=== | ||
− | *Airspy: <code>SATNOGS_RX_SAMPLE_RATE</code>=<code>2.5e6</code> | + | *Airspy R2: <code>SATNOGS_RX_SAMPLE_RATE</code>=<code>2.5e6 or 10e6</code> |
− | *Airspy | + | *Airspy Mini: <code>SATNOGS_RX_SAMPLE_RATE</code>=<code>3e6 or 6e6</code> |
− | *Airspy HF: <code>SATNOGS_RX_SAMPLE_RATE</code>=<code>768e3</code> | + | *Airspy HF+: <code>SATNOGS_RX_SAMPLE_RATE</code>=<code>768e3</code> |
source: [https://twitter.com/DutchSpace/status/1241305651168661504] | source: [https://twitter.com/DutchSpace/status/1241305651168661504] |
Revision as of 08:42, 28 March 2020
Contents
Introduction
Built upon GNU Radio and SoapySDR by using the gr-soapy module SatNOGS supports a large variety of Software-Defined Radios (SDRs). The gr-soapy module was developed in the SDR Makerspace and is maintained by Libre Space Foundation to bring the vendor-neutral SDR support by SoapySDR to the flexible gnuradio ecosystem.
The most cost-effective solution is to use an RTL-SDR with a Raspberry Pi. More advanced SDRs are also used, but they require more processing power and thus might require a more powerful computing platform than the Raspberry Pi.
Supported Devices
SoapySDR supports SDR devices through runtime-loadable modules [1]. You can find all available modules in the SoapySDR wiki (see right column). Most SDR modules are installed by default when setting up a SatNOGS station.
The following SDRs are supported by SatNOGS. SatNOGS uses the RTL-SDR as the recommended beginner signal receiver and tuner. The more advanced SDRs may require more processing power than a Raspberry Pi 3b or 4 can offer.
- RTL-SDR
- NooElec NESDR SMArt
- RTL-SDR Blog R820T2 RTL2832U
- Full band UV HF RTL-SDR USB Tuner Receiver
Supported Devices with closed-source drivers
Unfortunately some vendors require closed-source drivers in their SoapySDR modules and thus those modules or dependencies can't be redistributed by others. Thus they must be manually installed by the user. The following devices require closed-source drivers:
Unsupported Devices
- HackRF One (not compatible with the SatNOGS client on Raspberry Pi)
- USRP2 (not compatible with the SatNOGS client on Raspberry Pi)
RTL-SDR Support
The RTL-SDR is based on two chips -- the versatile RTL2832U chip and the R820T tuner. The RTL-SDR is currently the cheapest, most common, and most performing solution available in terms of general sensitivity having a frequency range of 24 – 1766 MHz. A metal enclosure with SMA connector is preferred, along with a stable TCXO (low ppm). HF coverage is optional.
Using RTL-SDR.com V3 Dongle's Bias-T Power Supply
The RTL-SDR.com V3 dongle has a built in software activated Bias-T voltage supply intended to be used for applications such as powering inline LNAs (Low Noise Amplifiers). There are several ways to turn on the voltage, but through initial testing (as of this writing, 17 Aug 2019) it seems that the following procedure works best.
The below relates to Raspberry Pi installs only. No testing has been performed on other systems as of yet.
Requirements:
- Raspberry Pi running Raspbian Buster or newer (latest release of SatNogs image, 2019091100, is demonstrated to work)
- RTL-SDR.com V3 SDR dongle
- RTL-SDR.com Bias-T Software Switch for linux systems
- LNA capable of being powered via feedline coax (note that some LNAs need modifications to be powered by the coax, and some cannot be powered by the coax at all. Check the specifications for your LNA prior to attempting to turn on the Bias-T power supply)
Instructions for installing RTL-SDR.com Bias-T Software Switch
- Log into your SatNogs station either directly or via SSH
- If your station does not have cmake installed (SatNogs Image 2019091100 does not), install cmake with
sudo apt install cmake
- Clone the source for the Bias-T software switch with
git clone https://github.com/rtlsdrblog/rtl_biast
cd rtl_biast
mkdir build
cd build
cmake ..
(if you get aLibUSB 1.0 required to compile rtl-sdr
error here, then dosudo apt install libusb-1.0-0-dev
prior to attemptingcmake ..
again)make
The software switch should now be installed in the "src" directory. If you cd src
, you can turn on the bias-t with the command ./rtl_biast -b 1
and turn it off with ./rtl_biast -b 0
. Note that the developers of this switch have warned against attempting to sudo make install
so that this command can be executed from ouside the src directory. Testing has shown this warning to be accurate, so don't plan on running these commands from anywhere but the src directory, or else be sure to use the full path.
Switching the Bias-T on should yield between 4.5V and 5.0V across the center conductor and shield of the coax. The voltage should rise almost instantly. When switched off, the voltage seems to decrease gradually, over 5 to 10 seconds.
Instructions to activate the bias-t for SatNogs Observations automatically:
- Log into your SatNogs station either directly or via SSH
sudo satnogs-setup
- select
Advanced
- for
Radio
->SATNOGS_DEV_ARGS
, enterrtl=0,buffers=32,buflen=16384,bias=1
and selectOk
. If you have multiple dongles, changertl=0
to the appropriate index. - for
Radio
->SATNOGS_RF_GAIN
, enter a low gain value supported by your RTL-SDR.com V3 dongle (enteringrtl_test
at the command line prior to startingsatnogs-setup
will give you all allowable values of RF gain) and selectOk
- for
Scripts
->SATNOGS_POST_OBSERVATION_SCRIPT,
enter/home/pi/rtl_biast/build/src/rtl_biast -b 0
and selectOk
- Select
Back
- Select
Apply
(allow sytem to update and hit enter when prompted) - Select
Back
Your station is now set up to turn the Bias-T on for each scheduled observation (using the SATNOGS_DEV_ARGS
string) and then turn it off at the conclusion of each observation (using the SATNOGS_POST_OBSERVATION_SCRIPT
).
You should now schedule several observations to fine tune the SATNOGS_RF_GAIN
value to get the best S/N performance for your station. Some have reported needing zero RF gain, others have reported low RF gain required (between 5 and 10 db), and others have said they see little benefit even with very high gain. Each station will be different.
Airspy support
Vendor: Airspy
required SoapySDR module: SoapyAirspy
Gain settings
There are two possible gain modes:
SATNOGS_GAIN_MODE
="Overall"
: (default) Use a single gain value. Set the overall gain withSATNOGS_RF_GAIN
,e.g.SATNOGS_RF_GAIN
=43
.SATNOGS_GAIN_MODE
="Settings Field"
: Use granular gain values. Set the different gain stages separately:- without pre-amp:
SATNOGS_OTHER_SETTINGS
="LNA=12,MIX=8,VGA=11"
- with pre-amp:
SATNOGS_OTHER_SETTINGS
="LNA=9,MIX=6,VGA=11"
(used in 49 - OZ7SAT)
- without pre-amp:
For reference see also the Airspy driver library linearity gain settings in libairspy/src/airspy.c#L117-L122.
Sample rates
- Airspy R2:
SATNOGS_RX_SAMPLE_RATE
=2.5e6 or 10e6
- Airspy Mini:
SATNOGS_RX_SAMPLE_RATE
=3e6 or 6e6
- Airspy HF+:
SATNOGS_RX_SAMPLE_RATE
=768e3
source: [2]
If you want to activate the integrated bias tee, set SATNOGS_DEV_ARGS
="biastee=true"
.
Bit packing ("Enable packing 4 12-bit samples into 3 16-bit words for 25% less USB trafic.") could be enabled with SATNOGS_DEV_ARGS
="bitpacking=true"
(untested). Device arguments can be concatenated with comma as delimiter.
SDRPlay support
Vendor: SDRPlay
required SoapySDR module: SoapySDRPlay
USRP support
required SoapySDR module: SoapyUHD
References