All docsStellar LinkRF bench · by Stellar Systems v0.4.0

Radio Concepts

RF Fundamentals

The radio quantities behind a Stellar Link profile: sample rate and symbol rate, bandwidth, two-stage tuning, gains and attenuation, receive level and duplex.

This page explains the radio quantities an operator sets and reads on Stellar Link, and how they relate to one another. How the modem processes the signal is covered in Signal Processing.

Sample rate, samples per symbol and symbol rate#

A digital radio represents its signal as a stream of complex (I/Q) samples. Three quantities are tied together:

  • the sample rate of the transceiver, in samples per second;
  • the samples per symbol (sps) used by the modem's pulse shaping and matched filter;
  • the interpolation factor (interp) by which the modem's digital up-converter raises its own rate to the transceiver's (the down-converter decimates by the same factor on receive).

The symbol rate on the air follows from them:

text
symbol_rate = sample_rate / (sps × interp)

Stellar Link works at 4 samples per symbol, so the symbol rates it offers form a fixed ladder rather than a continuous range. phy.symbol_rate_baud in a profile must be one of its rungs, and GET /api/v1/system/capabilities lists them. The usual rungs are:

Symbol rate (baud)Transceiver rateinterp
2 500 00010 MSa/s1
1 250 0005 MSa/s1
625 0002.5 MSa/s1
312 5002.5 MSa/s2
156 2502.5 MSa/s4
78 1252.5 MSa/s8
39 062.52.5 MSa/s16
19 531.252.5 MSa/s32

Rates are written exactly as the ladder produces them: a profile says 39062.5, not 39063. Moving between rungs that share the same transceiver rate changes only the digital factor and does not retune the radio.

Bandwidth#

The transmit pulse and the receive matched filter are root-raised-cosine filters with roll-off α = 0.35, so the occupied bandwidth is about Rs × 1.35: 26 kHz at 19 531.25 baud, 53 kHz at 39 062.5 baud, 3.4 MHz at 2.5 Mbaud.

The transceiver's analog filters are sized from the symbol rate on every profile apply, with a small margin above the occupied bandwidth and within the transceiver's own minimum and maximum filter widths. The applied values are reported by GET /api/v1/radio/status (rx_bandwidth_hz, tx_bandwidth_hz).

Tuning: LO plus digital offset#

Every direct-conversion transceiver leaks a little of its local oscillator (LO). If the LO sat exactly on the channel centre, that leakage would land in the middle of the signal. Stellar Link therefore tunes in two stages:

  1. the LO (coarse, analog) is placed slightly below the requested centre;
  2. a numerically controlled oscillator (NCO, fine, digital) shifts the signal back up by the same offset.

The offset places the leakage just outside the occupied band. For a 437.2 MHz profile at 19 531.25 baud, the LOs sit about 16.5 kHz below 437.2 MHz with a +16.5 kHz digital offset. A profile apply performs this tuning and reports the centre actually reached (the LO synthesiser has a finite step, so it may differ from the request by a few hertz).

You can also set the LOs and the digital offsets by hand:

Shell
stellarlinkctl radio freq 437200000 --channel both    # the LOs (rx, tx or both)
stellarlinkctl radio nco --rx-hz=-2500 --tx-hz=0      # attached form for negative values

A manual change of frequency or gain after a profile apply marks the active profile dirty: GET /api/v1/profiles/active then reports dirty: true and what changed.

Gains and attenuation#

Two families of gain act on the signal:

DomainKnobUnitSet with
rf (default)Receive gaindB of amplificationradio.rx_gain_db, stellarlinkctl radio gain --rx-db
rf (default)Transmit gaindB of attenuation: 0 is full drive, values go negativeradio.tx_power_dbm, stellarlinkctl radio gain --tx-db
digitalReceive and transmit scalingLinear scale factors applied by the modemstellarlinkctl radio gain --domain digital

On the transmit side the transceiver's setting is an attenuation, so a profile's tx_power_dbm is expressed as zero or a negative value. A power at an antenna behind an external amplifier is not something the unit sets; account for it in your link budget. When a profile sets rx_gain_db, the transceiver's own gain control is placed in manual mode so the value holds.

GET /api/v1/radio/status reports both families: rx_rf_gain_db/tx_rf_gain_db for the transceiver's gains in dB, and rx_gain_db/tx_gain_db for the digital scaling. Read the one you set.

Reading the receive level#

Several indicators describe the received signal, and each measures something different:

IndicatorWhat it isHow to read it
part_rssi_dbThe transceiver's own signal-strength reading, in dB below full scale, referred to the inputSmaller is stronger
rssi_dbmThe modem's power meter, after digitisationFollows the analog gain dB for dB; use it to compare levels rather than as an absolute power
agc_gainThe modem's automatic gain control, as a linear gain (maximum just under 16)Near its maximum while traffic flows means the receiver is starved: raise rx_gain_db. Near its maximum with nothing transmitted is normal
part_rx_gain_dbThe receive gain, read back from the transceiverThe independent variable of a gain sweep

Duplex#

In frequency-division duplex (FDD) the radio transmits and receives at the same time, on independent LOs. This is how Stellar Link operates on air, and it is what makes an external loopback (transmit port cabled back to the receive port through attenuation) possible. radio.duplex in a profile describes the link's duplex mode. The RF kill switch (POST /api/v1/radio/rf/kill, also a button in the web console) takes the transmitter off the air at any time.

↑↓ to moveEnter to open