LEO-SATbus
Home › Technical Guides › On-Orbit AI
On-Orbit AI

Over-the-Air AI Model Updates: CCSDS Uplink, Rollback, and Security

Resilient flight software workflows for uploading new neural weights and inference containers over intermittent S/X-band links without risking satellite availability.

Why OTA Model Agility Defines On-Orbit AI Value

Launching fixed AI models frozen months before liftoff guarantees rapid obsolescence as sensor calibration evolves, seasonal backgrounds shift, or customers request new detection targets. Over-the-air (OTA) model updates transform an orbital edge platform into a reprogrammable cloud node—allowing ground data science teams to upload new object classes, refine cloud-masking thresholds, or deploy quantized transformer architectures while the spacecraft stays in service.

Unlike terrestrial broadband updates, however, orbital uplinks operate over narrow 64 kbps to 2 Mbps S-band or X-band contacts lasting just 8 minutes per pass. Every OTA architecture must handle interrupted transmissions, packet erasures, strict cryptographic authentication, and guaranteed recovery if a newly uploaded model triggers memory exhaustion.

  • CCSDS File Delivery Protocol (CFDP) for automatic missing-segment retransmission
  • Delta binary patching and weight pruning to shrink uplink payload size by 50-80%
  • Ed25519 / ECDSA cryptographic signature verification prior to staging
  • Dual A/B runtime slots with automatic watchdog rollback on crash or timeout

CCSDS File Delivery Protocol (CFDP) Across Intermittent Passes

Standard terrestrial TCP breaks down across half-duplex satellite passes with long pause intervals between ground stations. CCSDS File Delivery Protocol (CFDP Class 2 Acknowledged Mode) breaks an updated 40 MB model file into numbered PDU chunks, persists partial state on spacecraft flash across orbital gaps, and transmits concise Negative Acknowledgment (NAK) bitmasks on the next pass so only missing packets are re-sent.

Combining CFDP with Zstandard compression and INT8 weight encoding shrinks multi-pass upload campaigns from days to one or two routine ground contacts, freeing uplink slots for urgent spacecraft tasking.

Cryptographic Authentication and Multi-Tenant Isolation

An unsecured uplink path could allow malicious actors to hijack onboard compute resources or exhaust spacecraft batteries. Mission command chains authenticate every uploaded binary using asymmetric signatures (such as Ed25519 or ECDSA P-256) verified by a radiation-hardened root-of-trust key stored in write-protected bus memory.

When multiple customer applications share one AI compute card, containerization or hypervisor sandboxes enforce hard CPU, DRAM, storage, and thermal power caps per tenant so one faulty script can never interfere with neighboring customer workloads or bus telemetry.

A/B Partitioning and Watchdog Automatic Rollback

Flight software engineers never overwrite the sole known-good runtime partition in place. Instead, OTA updates write into an inactive Slot B while Slot A remains untouched and verified. After hash and signature checks pass, the bootloader sets a one-shot trial flag and boots Slot B with a strict trial watchdog.

If Slot B fails self-test, exceeds memory bounds, or misses three consecutive inference heartbeats, the supervisor reverts automatically to Slot A on the next reset—preserving 100% mission continuity even when no ground pass is scheduled for hours.

Over-the-Air AI Update Methods Compared

Update TechniqueTypical Uplink SizePasses at 512 kbps (8 min)Best Operational Use Case
Threshold / Config JSON5 - 50 KB< 0.1 passTuning confidence cutoffs or ROI polygons
LoRA / Adapter Weights2 - 6 MB1 pass (with margin)Adding new target classes on frozen backbone
Delta Binary Patch8 - 18 MB1 - 2 passesRetraining existing quantized vision network
Full INT8 Model Binary35 - 60 MB2 - 3 passesDeploying an entirely new model architecture
Full Container Image150 - 400 MB6 - 14 passesMajor runtime / CUDA / OS library upgrades

Effective CFDP throughput assumes ~75% protocol efficiency after framing headers and NAK handshakes.

Worked Illustration: Multi-Pass CFDP Uplink of a 42 MB Quantized Model

Worked illustration: A mission team needs to upload a 42 MB INT8 vessel-detection model over a 512 kbps S-band uplink (75% net CFDP payload efficiency) across 8-minute ground passes.

  1. Worked step 1 — Zstandard compression: Compressing the 42 MB INT8 file shrinks transfer payload to 29.4 MB (246.6 Mbits).
  2. Worked step 2 — Single-pass capacity: At 512 kbps * 0.75 efficiency = 384 kbps net rate, one 480-second pass transfers 384 kbps * 480 s = 184.3 Mbits (~22.0 MB).
  3. Worked step 3 — Pass scheduling & NAK repair: Pass 1 delivers 22.0 MB and stores CFDP state on flash; Pass 2 transfers the remaining 7.4 MB plus ~1.2 MB of NAK-retransmitted lost packets in under 3 minutes.
  4. Worked step 4 — Staged verification & trial activation: Onboard root-of-trust verifies SHA-256 and Ed25519 signature, writes Slot B, runs a 5-tile synthetic golden test image check, and promotes Slot B.

Worked Illustration Takeaway: The 42 MB model deploys safely across two 8-minute S-band passes with zero risk of bricking the active Slot A pipeline.

OTA AI Model Update Checklist

  • Test quantized model on ground hardware-in-the-loop flat-sat before uplink generation
  • Apply Zstandard compression or weight delta diffing to minimize uplink contact minutes
  • Sign every model artifact with offline hardware-backed Ed25519/ECDSA keys
  • Use CCSDS CFDP Class 2 acknowledged transfer to resume cleanly across pass gaps
  • Validate synthetic golden test-image inference output inside Slot B prior to live switch
  • Confirm watchdog trial flag rolls back automatically to Slot A upon any startup fault

Frequently Asked Questions

What happens if a ground pass cuts off mid-upload due to rain or horizon loss?

CFDP persists all received file segments to non-volatile flash and sends a concise Negative Acknowledgment list on the next pass so only missing chunks are retransmitted.

Can we update just AI weights without touching the satellite bus flight software?

Yes. Isolating AI model weights and runtime containers on a dedicated payload partition keeps primary ADCS, EPS, and C&DH flight software completely untouched.

How do you verify a newly uploaded model actually works before trusting live alerts?

Operators store a small library of calibrated golden test scenes onboard; Slot B runs inference on those scenes first and telemeters accuracy metrics down before going live.

Are S-band uplinks fast enough for regular AI model updates?

Yes. For compact quantized models (20-50 MB) or LoRA adapter layers (2-6 MB), 256 kbps to 1 Mbps S-band uplinks complete updates within one to three routine passes.

Primary References & Standards

  • CCSDS 727.0-B-5 — CCSDS File Delivery Protocol (CFDP) Recommended Standard
  • CCSDS 355.0-B-2 — Space Data Link Security Protocol
  • NIST SP 800-193 — Platform Firmware Resiliency Guidelines (A/B Rollback & Root of Trust)

Related Technical Guides