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:
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 rate | interp |
|---|---|---|
| 2 500 000 | 10 MSa/s | 1 |
| 1 250 000 | 5 MSa/s | 1 |
| 625 000 | 2.5 MSa/s | 1 |
| 312 500 | 2.5 MSa/s | 2 |
| 156 250 | 2.5 MSa/s | 4 |
| 78 125 | 2.5 MSa/s | 8 |
| 39 062.5 | 2.5 MSa/s | 16 |
| 19 531.25 | 2.5 MSa/s | 32 |
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:
- the LO (coarse, analog) is placed slightly below the requested centre;
- 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:
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 valuesA 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:
| Domain | Knob | Unit | Set with |
|---|---|---|---|
rf (default) | Receive gain | dB of amplification | radio.rx_gain_db, stellarlinkctl radio gain --rx-db |
rf (default) | Transmit gain | dB of attenuation: 0 is full drive, values go negative | radio.tx_power_dbm, stellarlinkctl radio gain --tx-db |
digital | Receive and transmit scaling | Linear scale factors applied by the modem | stellarlinkctl 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:
| Indicator | What it is | How to read it |
|---|---|---|
part_rssi_db | The transceiver's own signal-strength reading, in dB below full scale, referred to the input | Smaller is stronger |
rssi_dbm | The modem's power meter, after digitisation | Follows the analog gain dB for dB; use it to compare levels rather than as an absolute power |
agc_gain | The 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_db | The receive gain, read back from the transceiver | The 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.