Post · 4 min read· pp. 108–110

Telemetry Bandwidth

Info Banner

Telemetry Burst describes the allocation of telemetry packets in ExpressLRS added in #472. There are two types of packets, LINK and DATA. LINK is the standard link statistics and is always available, and DATA is "Advanced Telemetry" which is telemetry coming from the flight controller and shares bandwidth with MSP transfers. Burst mode attempts to maintain a minimum rate of LINK packets and use the rest of the available telemetry slots for DATA.

The LINK rate chosen was one every 512ms, roughly 2 per second but slightly higher to allow more rates to have an additional burst packet at lower ratios.

Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
5001:1282563.9178bps78bps
5001:641287.83156bps234bps
5001:326415.67312bps547bps
5001:163231.215625bps1172bps
5001:81662.5311250bps2422bps
5001:48125.0632500bps4922bps
5001:24250.01275000bps9922bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
2501:1285122.0139bps39bps
2501:642563.9178bps78bps
2501:321287.83156bps234bps
2501:166415.67312bps547bps
2501:83231.215625bps1172bps
2501:41662.5311250bps2422bps
2501:28125.0632500bps4922bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
2001:1286401.6131bps31bps
2001:643203.1162bps62bps
2001:321606.22125bps167bps
2001:168012.55250bps417bps
2001:84025.011500bps917bps
2001:42050.0241000bps1920bps
2001:210100.0502000bps3922bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
1501:1288531.2123bps23bps
1501:644262.3147bps47bps
1501:322134.7194bps94bps
1501:161069.43188bps281bps
1501:85318.88375bps667bps
1501:42637.518750bps1421bps
1501:21375.0371500bps2921bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
1001:12812800.8116bps16bps
1001:646401.6131bps31bps
1001:323203.1162bps62bps
1001:161606.22125bps167bps
1001:88012.55250bps417bps
1001:44025.011500bps917bps
1001:22050.0241000bps1920bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
501:12825600.418bps8bps
501:6412800.8116bps16bps
501:326401.6131bps31bps
501:163203.1162bps62bps
501:81606.22125bps167bps
501:48012.55250bps417bps
501:24025.011500bps917bps
Air RateTelem RatioTelem Interval (ms)Packets/secondBurst CountBandwidth (no Burst)Bandwidth (Burst)
251:12851200.214bps4bps
251:6425600.418bps8bps
251:3212800.8116bps16bps
251:166401.6131bps31bps
251:83203.1162bps62bps
251:41606.22125bps167bps
251:28012.55250bps417bps
text
// Source code for table generator
int main(void)
{
  for (uint8_t rate=RATE_500HZ; rate<RATE_4HZ; ++rate)
  {
    uint32_t hz = RateEnumToHz((expresslrs_RFrates_e)rate);
    printf("| Air Rate | Telem Ratio | Telem Interval (ms) | Packets/second | Bandwidth (no Burst) | Bandwidth (Burst)\n");
    if (rate == RATE_500HZ) printf("|---|---|---|---|---|---|\n");
    for (uint8_t ratio=TLM_RATIO_1_128; ratio<TLM_RATIO_ENUM_MAX; ++ratio)
    {
      uint32_t tlmRatio = TLMratioEnumToValue((expresslrs_tlm_ratio_e)ratio);
      float telemPps = (float)hz / tlmRatio;
      uint32_t telemInterval = 1000 * tlmRatio / hz;
      uint32_t tlmBurst = TELEM_MIN_LINK_INTERVAL * hz / tlmRatio / 1000;
      // Reserve one slot for LINK telemetry 
      if (tlmBurst > 1)
        --tlmBurst;
      else
        tlmBurst = 1;

      printf("%u | 1:%u | %u | %.1f | %u | %.0fbps | %.0fbps\n",
        hz, tlmRatio, telemInterval, telemPps, tlmBurst, telemPps*1/2*5*8,
        5*8*telemPps*tlmBurst/(tlmBurst+1));
    }
  }

  return 0;
}