Back to Blog

Cycling Telemetry Latency: Why Under 10ms

Sensors & Telemetry

Latency in Cycling Telemetry: Why Under 10ms Matters

Latency in cycling telemetry is the total time between a physical event on the bike—a lean, a bump, a power spike—and that event's data appearing at the receiving device. Total latency is the sum of four stages: sensing, processing, wireless transmission, and display rendering. For passive data like speed and distance, 100 ms100\text{ ms} of latency is imperceptible. But for real-time biofeedback, crash detection, and aero-position optimization, latency under 10 ms10\text{ ms} is the threshold where the feedback loop feels instantaneous. The DIDI.BIKE sensor achieves <10 ms<10\text{ ms} end-to-end, and understanding cycling telemetry latency explains why that specification matters.

The Latency Budget

Total telemetry latency is:

ttotal=tsense+tprocess+ttransmit+trendert_{\text{total}} = t_{\text{sense}} + t_{\text{process}} + t_{\text{transmit}} + t_{\text{render}}

Each stage adds delay. Optimizing latency means minimizing each term.

Stage Typical Time DIDI.BIKE
Sensing (tsenset_{\text{sense}}) 1/fs1/f_s, inverse of sample rate 10 ms10\text{ ms} at 100 Hz100\text{ Hz}
Processing (tprocesst_{\text{process}}) Sensor fusion, filtering, packaging 15 ms1\text{–}5\text{ ms}
Transmit (ttransmitt_{\text{transmit}}) Wireless protocol round-trip 27 ms2\text{–}7\text{ ms} (ANT+), 715 ms7\text{–}15\text{ ms} (BLE)
Render (trendert_{\text{render}}) Head-unit display update 50200 ms50\text{–}200\text{ ms} (head unit dependent)

The sensor itself can achieve <10 ms<10\text{ ms} through tsense+tprocess+ttransmitt_{\text{sense}} + t_{\text{process}} + t_{\text{transmit}}. The display stage is outside the sensor's control and often dominates real-world latency.

Stage 1: Sensing Latency

Sensing latency is the time between a physical event and the sensor completing the measurement. At a sample rate fsf_s, the average wait time for a sample is half the sample period:

tsense12fst_{\text{sense}} \approx \frac{1}{2 f_s}

At 100 Hz100\text{ Hz}, this is 5 ms5\text{ ms} average, 10 ms10\text{ ms} worst case. At 1 Hz1\text{ Hz} GPS, it is 500 ms500\text{ ms} average—a half-second of sensing latency alone. This is another reason 100 Hz100\text{ Hz} sampling matters, as covered in Why 100Hz Sampling Rate Matters.

Stage 2: Processing Latency

After the ADC samples the sensor, the microcontroller must:

  1. Read the raw registers
  2. Apply calibration corrections
  3. Run the sensor fusion algorithm (complementary or Kalman filter)
  4. Package the fused data into a wireless packet

Each step takes processor cycles. A well-optimized sensor fusion loop on a modern Cortex-M4 or M33 runs in 0.52 ms0.5\text{–}2\text{ ms} per update. The DIDI.BIKE sensor performs this onboard, so the radio transmits fused, ready-to-use data—no processing required at the receiver. This contrasts with sensors that transmit raw data and offload fusion to the head unit, adding receiver-side latency.

Stage 3: Transmit Latency

Wireless protocol latency depends on the architecture. See ANT+ vs Bluetooth LE for Cycling for the protocol comparison.

ANT+

ANT+ broadcasts are connectionless. The sensor transmits on a scheduled time slot; any receiver listening picks it up. Latency is essentially one transmit interval:

ttransmit, ANT+channel periodt_{\text{transmit, ANT+}} \approx \text{channel period}

For a 8 Hz8\text{ Hz} telemetry channel, this is 125 ms125\text{ ms}. For higher-rate channels, it drops to <5 ms<5\text{ ms}.

Bluetooth LE

BLE latency depends on the connection interval negotiated between sensor and receiver:

ttransmit, BLEn×connection intervalt_{\text{transmit, BLE}} \approx n \times \text{connection interval}

At a 7.5 ms7.5\text{ ms} interval, latency is 7.5 ms7.5\text{ ms} per packet. At a 30 ms30\text{ ms} interval (common in battery-optimized phone apps), it is 30 ms30\text{ ms}. Phone apps that do not request a low connection interval are the most common source of excessive BLE latency.

Stage 4: Render Latency

The head unit or phone must receive the packet, parse it, update the display buffer, and refresh the screen. This stage is outside the sensor's control and varies widely:

Device Typical Render Latency
Dedicated bike computer (Garmin, Wahoo) 50100 ms50\text{–}100\text{ ms}
Smartphone cycling app 100250 ms100\text{–}250\text{ ms}
Custom low-latency app 2050 ms20\text{–}50\text{ ms}

Screen refresh rate is the floor: a 60 Hz60\text{ Hz} display (16.7 ms16.7\text{ ms} per frame) cannot render faster than that. For true sub-10 ms10\text{ ms} total latency, the receiving app must bypass the normal display pipeline—a requirement only custom analysis software meets.

Why Sub-10ms Matters: Three Use Cases

Real-Time Biofeedback

Balance and position training requires the rider to adjust based on live feedback. If the sensor reports lean angle 50 ms50\text{ ms} after it happens, the rider's corrective action is delayed, creating oscillation. The perceptual threshold for "instant" feedback in motor control is approximately 10 ms10\text{ ms}. Below it, the feedback feels like proprioception—part of the body's own sensing. Above it, it feels like an external cue.

Crash Detection and Safety

A crash event lasts 50100 ms50\text{–}100\text{ ms}. For the sensor to detect, classify, and trigger an emergency alert while the event is still in progress—or immediately after—requires <10 ms<10\text{ ms} from impact to classification. At 100 ms100\text{ ms} latency, the alert fires after the rider has already hit the ground and potentially stopped moving. The difference is whether the system triggers a safety response proactively or reactively.

Real-Time Aero Optimization

When a rider adjusts their position to reduce CdA, they need immediate confirmation that the adjustment worked. The barometric CdA calculation—covered in the Cycling Sensors & Telemetry Guide—requires several seconds of data to converge due to the noise in pressure measurement. But the rider still benefits from sub-10 ms10\text{ ms} sensor-to-display latency for the intermediate metrics (speed, gradient, power) they use to hold the position steady while CdA converges.

Measuring Latency

You can measure total latency with a controlled test:

  1. Mount the sensor on a rig that can apply a known acceleration step
  2. Record a high-speed camera (240+ fps) showing both the physical event and the head-unit display
  3. Count frames between event and display change
  4. Convert frames to milliseconds: t=framesfps×1000t = \frac{\text{frames}}{\text{fps}} \times 1000

This isolates where latency lives. If the sensor's radio packet arrives 5 ms5\text{ ms} after the event but the display updates 80 ms80\text{ ms} later, the problem is the head unit, not the sensor.

Reducing Latency: What the Sensor Controls

The DIDI.BIKE sensor minimizes the three stages it controls:

  • Sensing: 100 Hz100\text{ Hz} rate limits sensing latency to 10 ms10\text{ ms}
  • Processing: Onboard fusion and minimal packet packaging keep processing at 13 ms1\text{–}3\text{ ms}
  • Transmit: Direct ANT+/BLE broadcast with no connection overhead keeps transmit at 27 ms2\text{–}7\text{ ms}

The sum is <10 ms<10\text{ ms} sensor-to-radio. From there, the head unit determines the final number the rider sees. This is why the DIDI.BIKE sensor's <10 ms<10\text{ ms} specification refers to sensor-to-packet latency—the portion the sensor governs.

The Perceptual Threshold

Human perception of delay in a closed-loop motor task:

Latency Perception
<10 ms<10\text{ ms} Imperceptible; feels like direct sensing
1030 ms10\text{–}30\text{ ms} Subtle lag; noticeable in precision tasks
30100 ms30\text{–}100\text{ ms} Noticeable delay; acceptable for passive display
100300 ms100\text{–}300\text{ ms} Clearly laggy; disruptive for feedback
>300 ms>300\text{ ms} Broken feedback loop; rider stops trusting the display

Sub-10 ms10\text{ ms} is the boundary between "the sensor is an extension of my senses" and "the sensor is an external instrument." For training applications that depend on the rider trusting and responding to live data, this boundary is where cycling telemetry latency becomes engineering-critical rather than merely a spec-sheet number.

FAQ

What is latency in cycling telemetry? Latency is the total time between a physical event occurring on the bike and the data representing that event appearing at the receiving device. It is the sum of sensing, processing, wireless transmission, and display rendering times.

Why does under 10ms latency matter for cycling sensors? Sub-10ms latency is needed for real-time biofeedback (balance and position training), crash detection that can trigger alerts while the event is still occurring, and aero-position optimization where the rider adjusts based on live CdA feedback. Above 10ms, the feedback loop feels laggy.

What contributes to telemetry latency? Four stages: sensor integration time (inverse of sampling rate), onboard processing and packaging, wireless protocol round-trip, and head-unit or phone display refresh. At 100 Hz100\text{ Hz}, sensing contributes 10 ms10\text{ ms}; wireless and display typically dominate.

How does the DIDI.BIKE sensor achieve under 10ms latency? By integrating sensor fusion on-chip (minimizing processing delay), streaming fused data directly over ANT+ and BLE 5.0 (minimizing transmit delay), and batching minimal data per packet. The sensor-to-radio path is optimized to keep total latency under 10 ms10\text{ ms}.

Is 100ms latency noticeable while riding? For passive data display like speed or power, 100 ms100\text{ ms} is imperceptible. For interactive feedback like balance training or live aero adjustment, 100 ms100\text{ ms} creates a noticeable disconnect between action and response. Sub-10 ms10\text{ ms} eliminates that disconnect.

References

  1. IEEE Sensors Journal: Multi-sensor data fusion and attitude estimation using MEMS IMUs.
  2. Journal of NeuroEngineering and Rehabilitation: Wearable telemetry sensors and realtime posture tracking.
  3. DIDI.BIKE Technical Reprints: 100Hz IMU sampling rates and Kalman filtering for gravity extraction.
Read the complete guide