← All projects

System design and simulation

AstraLock

A software-defined tracking loop for free-space optical links: edge vision finds the beam, sub-pixel centroiding centres it, and an EKF keeps lock through a blackout.

Computer VisionAIResearch
ekf · virtual lock
Frames per second for edge-vision detection on COTS hardware
120+
Stages in the tracking loop, from sensor to actuator
4
Projected CAPEX against legacy controllers (simulated)
-75%

The problem

Free-space optical communication carries terabit-class bandwidth between ground stations and low-Earth-orbit satellites, and it is physically fragile. A laser beam a few centimetres wide has to stay pointed through wind shear, thermal expansion, daylight scatter and cloud. Legacy ground stations solve this with proprietary analog controllers permanently coupled to one fast steering mirror, at a cost that keeps the technology in the lab.

AstraLock is a software-defined alternative: cheap edge vision for acquisition, deterministic maths for centring, and a predictive filter that keeps pointing when the beam disappears.

Approach

  • Edge-vision noise rejection. YOLO11, exported through TensorRT, isolates the optical beacon's region of interest at 120+ FPS on commercial edge hardware, rejecting daylight noise and atmospheric scatter that blind analog threshold sensors.
  • Sub-pixel centroiding. Inside the ROI, OpenCV applies 2D Gaussian fitting and image moments to recover the exact sub-pixel centre of the laser spot, which is finer than the sensor's pixel grid.
  • Predictive kinematics. An Extended Kalman Filter models position, velocity and orbital curvature. During a blackout it predicts the trajectory and keeps the receiver pre-aligned, so optical contact resumes into a locked state instead of a blind spiral search.
  • Hardware-agnostic actuation. Sub-pixel error becomes a stabilised command published over ROS2, decoupling the tracking software from a specific gimbal or mirror vendor.
  • A simulation that earns trust. A Flask prototype runs a true-delta-time physics engine with sliders for wind shear, jitter and noise, and a blackout toggle that demonstrates the EKF crosshair holding a virtual lock.
  1. 01SWIR / NIR optical sensor feed
  2. 02YOLO11 + TensorRT ROI at 120+ FPS
  3. 03Signal? active lock or blackout
  4. 04OpenCV Gaussian sub-pixel centroid
  5. 05EKF update or trajectory prediction
  6. 06PID → ROS2 → steering mirror or gimbal

Results

Every figure in this table is projected or simulated by the physics engine, not measured on hardware. They are included because the comparison is the argument the prototype makes, and labelled because pretending otherwise would be dishonest.

MetricLegacy hardwareAstraLock
System CAPEX (relative)100%25%
Re-acquisition downtime60%5%
Signal loss in turbulence45%4%
Control latency overhead40%8%
Daylight noise interference30%2%
Reduction against the legacy hardware baseline (simulated)
  • System CAPEX75%
  • Re-acquisition downtime91.7%
  • Signal loss in turbulence91.1%
  • Control latency overhead80%
  • Daylight noise interference93.3%

The live simulation is the real artefact: it runs the control loop in the browser with adjustable disturbance, so the claim can be inspected rather than taken on faith.

What went wrong

A frame-rate-dependent integrator. The first control loop assumed a fixed timestep, so the same disturbance produced different behaviour on a fast machine and a slow one. Moving to a true delta-time engine made the simulation reproducible and exposed that some of the early "stability" was really just a high frame rate.

Vision alone cannot hold a lock. Detection drops the moment the beam is occluded, and a system that only reacts to pixels re-acquires slowly by construction. The virtual-lock state exists because the filter, not the camera, has to own continuity through a blackout.

Limits. No hardware has been driven yet. TensorRT engines, a physical fast steering mirror and a real SWIR camera are the next phase; everything above that line is simulation. The roadmap runs through hardware-in-the-loop validation, adaptive optics for wavefront correction, UKF handover between satellites, and only then quantum-link pointing budgets.