The Stellar Link modem turns bytes into a radio signal and back. This section describes what it does to the signal, stage by stage, in the Transmitter Chain and the Receiver Chain. This page introduces the few concepts those pages rely on.
Complex baseband and I/Q#
A radio signal is a carrier at a high frequency (for example 437 MHz) whose amplitude and phase are varied to carry information. The modem never handles the carrier itself. It works on the complex baseband signal: the same information shifted down to be centred on 0 Hz, which the AD9361 then moves up to the carrier frequency on transmit and down from it on receive.
A baseband sample is a complex number with two components:
| Component | Meaning |
|---|---|
| I (in-phase) | The real part: how much of the signal is aligned with a reference cosine |
| Q (quadrature) | The imaginary part: how much is aligned with the reference sine |
Together, I and Q describe both the amplitude (the length of the vector) and the phase (its angle) of the signal at one instant. Plotting received I/Q values on a plane gives the constellation: for QPSK, four clouds of points, one per symbol.
Because baseband is complex, it can represent frequencies on both sides of 0 Hz. A positive frequency offset makes the constellation rotate one way, a negative offset the other way.
Symbols and samples#
- A symbol is one decision on the air: one constellation point, carrying 1 bit in BPSK and GMSK, 2 bits in QPSK.
- A sample is one I/Q value produced or captured by the converters.
The modem uses several samples to draw each symbol, so that the transition from one symbol to the next can be shaped smoothly and the receiver has enough points to find the best instant to decide.
Sample rate and symbol rate#
The sample rate is how many I/Q samples per second the converters handle. The symbol rate (in baud) is how many symbols per second are transmitted. They are linked by:
symbol_rate = sample_rate / (samples_per_symbol × interpolation)Stellar Link uses a fixed 4 samples per symbol for every modulation. The pulse-shaping and
matched filters are designed for that ratio, so changing the symbol rate never means changing the
samples per symbol: it means changing the interpolation factor (on transmit) and the matching
decimation factor (on receive), and, for the highest rates, the AD9361's own sample rate. This is
why the symbol rate is chosen from a fixed ladder of values rather than set freely. The ladder and
the corresponding profile field, phy.symbol_rate_baud, are described in
RF Fundamentals.
Filtering and pulse shaping#
Switching abruptly from one symbol to the next would spread energy far outside the channel. The transmitter therefore shapes each symbol with a filter, and the receiver applies the matching filter before deciding.
- Root-raised-cosine (RRC) filters are used on both ends for BPSK and QPSK, with a roll-off
of α = 0.35. The transmit RRC limits the occupied bandwidth to about
1.35 × symbol rate. - The receive filter is the matched filter: the same RRC shape. Matched to the transmit pulse, it maximises the signal-to-noise ratio at the decision instant, and the two RRC filters together form a raised-cosine response with no interference between neighbouring symbols at the right sampling instant.
- GMSK uses a continuous-phase modulation instead, whose phase changes smoothly from one symbol to the next.
Other filters in the chain serve to change the sample rate cleanly (interpolation on transmit, decimation on receive) and to reject signals outside the band of interest.
Frequency shifting with an NCO#
A numerically controlled oscillator (NCO) generates a digital complex tone. Multiplying the baseband signal by it shifts the whole signal in frequency. Stellar Link uses an NCO on each side to place the signal slightly away from the AD9361's local oscillator, so that the oscillator's small leakage falls outside the occupied band. The tuning is automatic on a profile apply; see RF Fundamentals.
Synchronisation#
A receiver does not share a clock or an oscillator with its transmitter. Before it can decide symbols, it has to recover:
| Quantity | What goes wrong without it | Stage |
|---|---|---|
| Level | Signal too small to decide, or so large it clips | Automatic gain control |
| Symbol timing | Decisions taken between symbols, where they are ambiguous | Timing recovery |
| Carrier frequency and phase | The constellation rotates, and points cross decision boundaries | Carrier recovery |
| Frame position | Bits are correct but nobody knows where a frame starts | Frame synchronisation on the sync marker |
Each of these stages is described in the Receiver Chain, with the telemetry values that show whether it is working.
Hard decisions#
The receiver decides each BPSK or QPSK symbol on the sign of I and Q: which quadrant the point lies in. Two consequences are useful to keep in mind when testing:
- A change of amplitude alone, such as a different gain, does not change any decided bit as long
as the signal stays above the noise. Bit and frame counts are therefore not a measure of level.
To observe level and quality, read
agc_gain,evm,snr_dbandmer_db(see Telemetry and Metrics). - The quality of a link shows first in the spread of the constellation (EVM), well before symbols start to be decided wrongly.