Categories
NTN – Bridging Theory and Practice: Building a 3GPP Rel-17 LEO NTN Diagnostic Engine
An inside look at a personal learning project bridging 3GPP Rel-17 theory and physical reality. This article breaks down a custom Python and Streamlit diagnostic engine built to visualize how SIB19 scheduling offsets (K(offset) and time-to-service countdowns (t-Service) impact physical layer telemetry in LEO satellite networks.
Home » Blog » Learning » NTN » NTN – Bridging Theory and Practice: Building a 3GPP Rel-17 LEO NTN Diagnostic Engine

Over the last six months, I have immersed myself in the architecture of Non-Terrestrial Networks (NTN). Transitioning from traditional terrestrial cellular optimization to the mechanics of Low Earth Orbit (LEO) satellite integration has been a fascinating journey. However, reading 3GPP Rel-17 specifications is one thing; seeing those parameters actively impact a network is another.

To avoid getting lost in pure theory, I decided to build something practical. I created an interactive, Python-based Layer 1/L2 NTN Diagnostic Engine.


I designed this tool strictly as a personal learning project. My primary goal was to mathematically visualize and understand the real-world impact of two critical Layer 3 SIB19 broadcast parameters on physical layer telemetry:

  1. Scheduling Offset K(offset): How the massive propagation delays of a space-to-earth loop dictate timing.
  2. Time to Service Expiry (t-Service): The countdown timer for satellite beam handovers.

The application acts as a bridge between the protocol layer and network performance logs. It ingests simulated, post-parsed ASN.1 JSON payloads (acting as the SIB19 trace) and correlates them with a synthetic, 1-minute granularity telemetry dataset.

Using Streamlit and Plotly, I built an interactive interface that allows the user to manually override the SIB19 baselines and watch the network break in real-time.


By manipulating the parameters, the dashboard clearly illustrates the unique challenges of LEO optimization:

  • The RACH Storm: When I simulated pushing the K(offset) beyond 50 slots, the dashboard dynamically modeled the resulting access degradation. The extended propagation loop caused massive preamble collisions, visually collapsing the RACH Success Rate on the dual-axis charts.
  • The Imminent Handover Drop: Dragging the t-Service timer below 60 seconds triggered the physical layer simulation to spike the Block Error Rate (BLER) to its 100% physical ceiling, accurately modeling a UE failing to track a beam moving over the horizon.

To take it a step further, I coded an automated diagnostic logic block that constantly evaluates the dataset, outputting specific root-cause analysis alerts (like suggesting dynamic preamble pool expansion during a simulated RACH anomaly).

Building this engine solidified my understanding of NTN dynamics far better than simply reading the specs. It forced me to translate protocol theory into mathematical reality.

The project is entirely open-source. You can interact with the live simulation dashboard here: Streamlist app for NTN REL 17 diagnostics

Or explore the raw Python logic on my GitHub: Github Repsistory for app


  1. Clone this repository.
  2. Install requirements: pip install pandas numpy streamlit plotly
  3. Generate the baseline telemetry: python log_generator.py
  4. Launch the diagnostic dashboard: streamlit run app.py

Home » Blog » Learning » NTN » NTN – Bridging Theory and Practice: Building a 3GPP Rel-17 LEO NTN Diagnostic Engine

Leave a Reply

Your email address will not be published. Required fields are marked *