EdgeStream-GW — Technical Report
28 November 2026 · Helveticore OÜ (Tallinn, Estonia)
EdgeStream-GW: an ultra-lightweight industrial IoT gateway and edge-analytics layer for Smart Grid metering, engineered under a CMMI Level 3 "Defined" process.
| Project | EdgeStream-GW — IoT Gateway & Edge Analytics |
| Hardware target | Puzhi ZU2CG / ZU3EG (Zynq UltraScale+, PS/PL) |
| Methodology | CMMI-DEV Level 3 — V-Model · TDD · CBSE |
| Report scope | Milestones M0–M8 (all software) |
| Status | Software complete and verified; board integration pending |
Abstract
EdgeStream-GW intercepts raw time-series data from industrial meters, normalizes it into a single strict Frame contract, aggregates it at the edge, and publishes the reduced stream northbound — with a sub-50 ms local actuation loop and offline resilience. This report documents the complete software pipeline (Milestones 0–8), each sealed as an atomic tagged commit. Verification evidence: 116 Python tests + 5 cocotb RTL tests, a measured 96.07 % northbound volume reduction (target ≥ 75 %), and a 0.48 ms max local-action dispatch latency (target < 50 ms).
Pipeline (all implemented)
| Milestone | Component | Key evidence |
|---|---|---|
| M0/M1 | Protocol adapters (Modbus RTU/TCP, Fail-Fast) + Edge Analytics PS | 96.07 % reduction |
| M2 | Ingestion Core — async fan-out broker | lossless + back-pressure |
| M3 | Northbound MQTT + Sparkplug B | real-broker integration test |
| M4 | Store-and-Forward (SQLite) | durable + ordered + throttled replay |
| M5 | Local Action Engine PS | 0.48 ms max dispatch |
| M6 | Deployment — Docker/Compose + rolling OTA | zero-config + .dockerignore |
| M7 | DLMS/COSEM reference adapter | A-XDR + OBIS mapping |
| M8 | Edge Analytics PL — edge_filter RTL | 5 cocotb tests; OOC synth script |
Verification
- 116 Python tests across 7
src/sub-projects, all green. - 5 cocotb RTL tests (Verilator 5.054): decimation/average, multiple windows, signed values, back-pressure (no loss), threshold pulse.
- KPI: volume −96.07 % (REQ-001b); actuation 0.48 ms max (REQ-003).
Known limits / next steps
- The FFT PL block is specified but deferred (Decision 18); the decimator carries the volume KPI first.
- Full xDLMS (association/security/framing) stays REUSE (Gurux) — the adapter covers the A-XDR + OBIS reference subset.
- Remaining M8 is board-only: Vivado OOC synthesis + PS/PL block-design + on-board benchmark on the Puzhi ZU2CG/ZU3EG.
Source: raw markdown — published as-is from the source repository.