|
| 1 | +# Portfolio Case Study — OpenSat Mission Lab |
| 2 | + |
| 3 | +## Project summary |
| 4 | + |
| 5 | +**OpenSat Mission Lab** is a home-PC CubeSat mission digital twin created by **SAMUELSON G**. It links mission design, astrodynamics, environmental geometry, payload scheduling, power, communications, attitude control, flight software, mission operations, reliability analysis, and formal verification in one reproducible Python project. |
| 6 | + |
| 7 | +## Problem |
| 8 | + |
| 9 | +Space portfolios often demonstrate only one isolated skill: orbit plotting, satellite tracking, image processing, or a dashboard. Real missions require subsystem interactions and evidence that requirements are satisfied. This project demonstrates those interactions through a seven-day 6U Earth-observation scenario. |
| 10 | + |
| 11 | +## Engineering contribution |
| 12 | + |
| 13 | +- Designed a modular Python architecture with subsystem boundaries and configuration-driven behavior. |
| 14 | +- Implemented two-body and J2 orbit propagation, eclipse calculations, WGS-84 station access, and target visibility. |
| 15 | +- Modelled payload scheduling, battery energy, adaptive S-band downlink, quaternion ADCS, supervisory flight software, and ground operations. |
| 16 | +- Added fault injection, watchdog recovery, FMEA, Monte Carlo uncertainty, anomaly detection, and operator dashboards. |
| 17 | +- Built requirement traceability, analytical benchmarks, release manifests, automated tests, CI, and acceptance reporting. |
| 18 | + |
| 19 | +## Evidence |
| 20 | + |
| 21 | +The baseline release generates 10,081 mission samples, multiple engineering CSV files and figures, two interactive dashboards, a reliability package, and an HTML verification report. The exact result set is hashed in `output_manifest.json`. |
| 22 | + |
| 23 | +## Skills demonstrated |
| 24 | + |
| 25 | +Systems engineering, mission analysis, orbital mechanics, remote sensing, EPS, RF link budgets, ADCS, flight software, telemetry, ground systems, reliability engineering, data visualization, Python packaging, automated testing, CI/CD, technical writing, and open-source governance. |
| 26 | + |
| 27 | +## Important scope statement |
| 28 | + |
| 29 | +The software is educational and suitable for preliminary analysis and portfolio demonstration. It is not flight-qualified, independently validated, cyber-hardened, licensed for spectrum use, or approved to command real hardware. |
| 30 | + |
| 31 | +## v1.1 validation and home-lab extension |
| 32 | + |
| 33 | +The v1.1 release adds two portfolio demonstrations beyond the software-only digital twin: |
| 34 | + |
| 35 | +1. **Independent orbit cross-validation:** the RK4 two-body implementation is compared with a separately implemented universal-variable propagator over six hours. The release exports aligned primary and reference state histories, error metrics, external-tool interchange files, and an HTML report. |
| 36 | +2. **Hardware-in-the-loop telemetry path:** generated housekeeping packets are framed as CRC-protected `OSML-HIL/1` UDP datagrams. A 50-packet loopback acceptance test verifies delivery and order, while listener/replay commands support a second PC or Raspberry Pi. |
| 37 | + |
| 38 | +These additions demonstrate numerical-method validation, interface definition, packet integrity, network test automation, and clear separation between educational evidence and real flight qualification. |
| 39 | + |
| 40 | +## v1.2 physical home-lab bridge |
| 41 | + |
| 42 | +The v1.3 release adds bidirectional command and telemetry protocols, optional USB/UART transport, an executable Raspberry Pi gateway, and ESP32 firmware. This demonstrates systems integration across simulation software, networking, serial drivers, embedded firmware, operator commands, packet integrity, and verification evidence. |
| 43 | + |
| 44 | + |
| 45 | +## v1.3 constellation and distributed operations |
| 46 | + |
| 47 | +The v1.3 release extends the baseline spacecraft into a four-satellite Walker-style demonstration. It propagates all vehicles on a common grid, coordinates target collection, suppresses duplicate observations, calculates Earth-occultation-aware crosslinks, builds the sampled network graph, and schedules one shared ground-station channel. The seven-day scenario produces 35 coordinated images, 848 sampled crosslink windows, up to 3.95× better worst-case revisit, and up to 2.33× higher observation rate. |
| 48 | + |
| 49 | +This layer demonstrates constellation design, distributed scheduling, inter-satellite networking, shared-resource operations, network analysis, and clear separation between preliminary mission analysis and flight-qualified operations. |
| 50 | + |
| 51 | + |
| 52 | +## v1.4 space-safety and autonomy layer |
| 53 | + |
| 54 | +The v1.4 release demonstrates conjunction-screening software architecture without claiming operational space-traffic-management capability. A deterministic six-object relative-motion catalogue is screened against all protected constellation spacecraft. High-risk events feed a maneuver trade study, recommended burns create tasking blackout windows, and the constellation scheduler regenerates a conflict-checked plan. A second disruption scenario removes one spacecraft temporarily and escalates a flood target, demonstrating autonomous schedule replanning with traceable decisions. |
| 55 | + |
| 56 | +This layer showcases space-situational-awareness concepts, collision-risk triage, maneuver trade analysis, constrained optimization, autonomous operations, safety boundaries, and verification-driven engineering. |
| 57 | + |
| 58 | +## v1.5 onboard autonomy and edge intelligence |
| 59 | + |
| 60 | +The v1.5 release adds a transparent onboard decision layer. Coordinated observations receive deterministic synthetic scene features, an explainable event probability, image-quality scores, and resource context. The software selects downlink and retention actions, updates target priorities, and generates a conflict-checked autonomous plan. Every model contribution is exported so reviewers can inspect why a decision was made. The project explicitly avoids claiming a trained flood model or flight-qualified autonomy. |
| 61 | + |
| 62 | + |
| 63 | +## v1.6 calibrated Earth-observation validation |
| 64 | + |
| 65 | +The v1.6 release connects the mission digital twin to geospatial raster engineering. It ingests calibrated multispectral GeoTIFFs, standardizes mixed-resolution Sentinel-2 assets, generates overlapping tiles, calculates NDWI, MNDWI, NDVI, and brightness, evaluates an explainable flood baseline against a reference mask, and produces confusion-matrix and threshold-sensitivity evidence. A public STAC adapter searches Earth Search and can build a common-grid Sentinel-2 subset. This demonstrates remote-sensing data engineering, reproducibility, geospatial validation, and careful separation between a software baseline and an operational disaster product. |
| 66 | + |
| 67 | +## v1.9 portfolio evidence: operational data management |
| 68 | + |
| 69 | +The v1.9 layer demonstrates that the project is not limited to isolated |
| 70 | +notebooks or one-off plots. It indexes raster assets in SQLite, records SHA-256 |
| 71 | +integrity and provenance, suppresses duplicate work through content |
| 72 | +fingerprints, emits processing events, exports STAC-like records, and exposes a |
| 73 | +searchable operational dashboard. The bundled demonstration indexes six scenes |
| 74 | +and completes one event-triggered time-series job without duplicate work on a |
| 75 | +second scan. |
| 76 | + |
| 77 | + |
| 78 | +## v2.1 platform-hardening extension |
| 79 | + |
| 80 | +The project now demonstrates operational platform engineering in addition to mission analysis: GDAL-backed Cloud Optimized GeoTIFF publishing, S3-compatible storage, expiring worker leases, HMAC-signed webhooks, role-based API access, and verified backup/recovery. The bundled validation proves these controls with a local object store and a real localhost webhook receiver. |
| 81 | + |
| 82 | + |
| 83 | +## v2.3 security-platform evidence |
| 84 | + |
| 85 | +The repository now demonstrates PostgreSQL RLS policy design, transaction-bound tenant context, secret-key rotation, service workload credentials, policy-as-code decisions, signed audit export, and multi-region recovery evidence. |
| 86 | + |
| 87 | +## v3.1 safety assurance |
| 88 | + |
| 89 | +The orchestration layer now demonstrates detached Ed25519 approval signatures, two-person separation of duties, time-bounded and digest-bound command grants, deterministic workflow migration, and exhaustive validation of 256 command-gate states. |
0 commit comments