All docsStellar LinkRF bench · by Stellar Systems v0.4.0

Radio Concepts

System Architecture

A high-level view of Stellar Link: the radio unit, the stellarlinkd daemon and its services, the ways to reach it, the three signal paths, and how profiles, scenarios and campaigns relate.

This page gives the overall picture of Stellar Link: what runs on the radio unit, how you reach it, and how the configuration objects fit together. Keep it in mind when reading a telemetry value or a report.

Overview#

flowchart LR
    subgraph Host["Your side"]
      cli[stellarlinkctl]
      web[Web console]
      cc[Control centre / test harness]
    end
    subgraph Unit["Radio unit"]
      subgraph SoC["Zynq-7020 SoC"]
        d[stellarlinkd]
        modem[Modem]
        chan[Channel emulator]
      end
      rf[AD9361 transceiver]
    end
    cli -- "REST / WebSocket" --> d
    web -- "REST / WebSocket" --> d
    cc -- "ZeroMQ" --> d
    d --> modem
    d --> chan
    d --> rf
    modem <--> chan
    modem <--> rf
    rf <--> ant((RF ports))

The radio unit#

The unit combines two main components:

  • an Analog Devices AD9361 RF transceiver, which converts between radio frequencies and digital I/Q samples on its transmit and receive ports;
  • an AMD/Xilinx Zynq-7020 system-on-chip, which hosts:
    • the modem: framing, coding, scrambling, modulation on transmit; gain control, timing and carrier recovery, demodulation, frame detection and decoding on receive;
    • the channel emulator, which degrades the modem's own signal in a controlled way (see Channel Models);
    • stellarlinkd, the control daemon that drives the modem, the channel emulator and the transceiver, and exposes the whole unit over the network.

The three signal paths#

The chain target decides where the transmitter's signal goes:

TargetPathEmits RF
pl (internal loopback)Transmitter → channel emulator → receiver, entirely inside the SoCNo
device-loopbackTransmitter → AD9361 digital loopback → receiverNo
airTransmitter → AD9361 → transmit port … receive port → AD9361 → receiverYes
  • The internal loopback is the reference path: no analog stage, no frequency or phase error, and the only path where the channel emulator applies.
  • The device loopback checks the digital link between the SoC and the transceiver. Frequency, gains and attenuation have no effect on it, and nothing reaches a connector.
  • Air is the only target that uses the RF ports. Your cabling decides whether the signal comes back into the unit's receive port (external loopback) or reaches another radio.

Bring the chain to a target with stellarlinkctl chain up --target <pl|device-loopback|air>; see Chain Conditioning.

stellarlinkd and its services#

stellarlinkd runs on the unit and groups the following services:

ServiceRole
Profile managerLoads, validates and applies radio profiles
Radio controlTunes the transceiver, sets gains, conditions the chain, generates test tones
DatapathCarries your bytes to and from the modem, in stream or slot framing
Scenario engineRuns scenarios, samples telemetry, evaluates assertions, writes reports
Campaign engineRuns campaigns step by step, keeping its position across reboots
TelemetrySamples receiver, transmitter and channel metrics (5 Hz)
Link serviceZeroMQ bridge to external software, with optional CCSDS transfer frames
IQ and spectrumIQ captures and spectrum views of the received signal
Run storeKeeps runs, reports and profile revisions

Reaching the unit#

InterfacePortUse
REST API and WebSocket8080Everything: profiles, chain, scenarios, campaigns, telemetry, reports. See Using the API
stellarlinkctlvia 8080Command-line client for the API, downloaded from get.stellar-systems.eu. See CLI Reference
Web consolevia 8080Live telemetry, spectrum, scenario editor, reports. See Web Console
ZeroMQ link5555–5557Push frames into the modem, subscribe to received frames and telemetry. See ZeroMQ Link Service
Prometheus9090Metrics for an external monitoring system

Profiles, scenarios and campaigns#

flowchart TB
    c[Campaign] -- "runs, in order" --> s1[Scenario]
    c -- "runs, in order" --> s2[Scenario]
    c -- "gates and unit actions" --> g[Gate]
    s1 -- "applies" --> p[Profile]
    s1 -- "produces" --> r[Report]
  • A profile (stellarlink.profile/v1) is a complete radio configuration: modulation, symbol rate, framing and coding, frequencies and gains. Applying it configures the modem and the transceiver in one step. See RF Profiles.
  • A scenario (stellarlink.scenario/v1) is a timeline run against a profile: channel changes, traffic, packets, radio settings and tones, judged by assertions on measured telemetry. Before it starts, the chain is conditioned to the scenario's target. Each run produces a report (stellarlink.report/v1). See Scenarios.
  • A campaign (stellarlink.campaign/v1) chains whole scenario runs, actions on the unit and gates, in order, and can be paused and resumed. See Campaigns.

Where things are configured#

WhatWhereChanged by
Radio configurationProfiles, /opt/stellarlink/dsl/profiles/*.yamlPUT /api/v1/profiles/{name} (kept on the data partition)
Test timelinesScenarios, /opt/stellarlink/dsl/scenarios/**/*.yamlPOST /api/v1/scenarios or the web console's scenario editor (kept on the data partition)
Test roadmapsCampaigns, /opt/stellarlink/dsl/campaigns/*.yamlShipped with the release
Daemon behaviour/etc/stellarlinkd/stellarlinkd.tomlSee Daemon Configuration

↑↓ to moveEnter to open