GNSS Simulator
Talk to an engineer
GNSS Simulator

GNSS Hardware-in-the-Loop · Timing Validation

GNSS HIL Latency Testing: Timestamps, Jitter and Input-to-RF Response

GNSS HIL latency testing measures the interval from a defined external motion-input event to its corresponding, validated GNSS RF response event. A defensible result defines the input event, RF reference plane, common time basis, response-detection method and treatment of every planned update.

This guide is for HIL integrators and receiver-validation engineers. It provides a measurement procedure, a timestamped worked trace, repeated-update statistics and a fault-test ledger. Use the GNSS HIL testing solution for the wider bench architecture and configuration workflow.

Part of GNSS Simulation 101. Related guides: scenario design and the receiver validation test plan.

Define Which Part of the HIL Loop Is Being Timed

The complete loop can include motion-model computation, message transport, simulator processing, RF generation, receiver tracking/navigation and controller processing. Name the measured interval by its actual endpoints. Spirent’s latency white paper separates these stages and distinguishes update frequency from latency.[1]

For this guide, input-to-RF latency starts at the agreed simulator input interface and ends when the corresponding motion response is observed at the defined RF output plane. It excludes earlier model computation and network transmission, and later receiver/controller processing.

L = tRF − tin
For a protocol that specifies a requested application epoch:
e = tRF − treq

L is an observed input-to-RF interval, including any scheduled waiting. e is an epoch-alignment error: positive means later than requested and negative means earlier. Use e only when the interface defines that application-epoch meaning and the RF response can be mapped to it.

A 1 kHz update rate describes a nominal 1 ms input interval. It does not establish a 1 ms RF response. Likewise, an API return, a received packet or an internal enqueue timestamp does not establish that RF has changed.

Map the Clocks Before Subtracting Timestamps

Document each clock domain, its epoch and units, its synchronization source, and the mapping to the test time basis. Include offset, drift, timestamp resolution and uncertainty. A GNSS state epoch, a host monotonic clock and an RF sample counter are not automatically interchangeable.

Keep the state-valid epoch separate from generation, transmission and arrival times. Define whether an ingress timestamp refers to the first byte, last byte or a software receive event; account for serialization or buffering where required.

A shared 10 MHz reference establishes a frequency relationship; it does not alone identify an absolute epoch or every timestamp offset. PPS alignment also does not measure the motion-processing path. Safran’s HIL time-reference documentation illustrates why trajectory timestamps and RF-generation clocks need a coordinated time reference.[2]

Future states can align RF without eliminating the pipeline

A timestamped interface may accept a state for a future epoch, allowing interpolation or prediction to align the generated motion. Safran documents this as a particular HIL operating method.[3] Confirm the actual target platform’s semantics rather than assuming this mode exists everywhere.

The payload must describe the intended future state. Moving a current position’s timestamp forward does not predict its motion. Verify trajectory fidelity as well as timing, particularly after changes that the model could not have predicted.

For context, an uncompensated 10 ms position hold at 30 m/s corresponds to 0.30 m of along-track displacement in a simple constant-velocity model. This is not a GNSS position-error guarantee or a prediction of closed-loop stability.

Observe the Corresponding Motion Response in RF

Motion updates affect simulated signal delay and Doppler and may leave RF power essentially unchanged. An RF on/off edge or a power-step measurement therefore does not, by itself, establish motion-input-to-RF latency.

  1. Choose a diagnostic motion signature. Use a bounded, documented perturbation with a predictable code-delay or carrier-Doppler response. Keep the trajectory kinematically consistent and within the source configuration’s limits.
  2. Observe RF independently. Capture the relevant output through a characterized RF measurement path, with sample timing mapped to the same test clock as the input events.
  3. Freeze the response detector. Define the feature, fitting or threshold rule that identifies the response. Characterize estimator bandwidth, integration time, filter/group delay and repeatability.
  4. Validate the event mapping. Show that the detected feature corresponds to the intended motion update. Correct known measurement delays and retain their uncertainty.

For interpolated motion, a future sample may influence RF before its valid epoch. Use the agreed state-specific feature or epoch-mapping criterion; do not identify application from the first nonzero change alone. For overlapping updates, validate sequence-to-RF association or use a suitable diagnostic sequence. A single correlation peak is insufficient if several updates could produce it. An isolated-event test can qualify the detector; a representative update stream must then test the operating load.

If only simulator logs are available, report a log-based interval or RF-application proxy. R&S’s HIL application note illustrates that a field labeled “latency” may compare command timestamps with an internal simulation clock; its definition must be checked before treating it as an external RF measurement.[4]

A DUT’s PVT response also contains receiver tracking, filtering and output delay. Do not subtract an unknown receiver delay and claim the remainder is the simulator’s RF latency.

Run a Repeatable Input-to-RF Measurement

  1. Freeze the configuration and decision rule. Record the motion format, frames, units, timestamp semantics, input rate, RF signals/outputs, software versions, reference clocks and load profile.
  2. Qualify the timing and observation paths. Verify clock mappings, timestamp capture points, RF reference plane, detector behavior and the measurement uncertainty.
  3. Assign sequence IDs and log generation/transmission. Preserve the state-valid epoch and the intended application time when the protocol defines one.
  4. Record ingress and the RF response. Associate each planned update with received/accepted status and its measured RF event. Keep rejected or unassociated records.
  5. Repeat under declared operating loads. Test steady input, supported burst conditions and relevant channel/output or host-load combinations. Do not change the configuration while pooling results.
  6. Run protocol-fault cases separately. Apply the declared late, missing, duplicate and out-of-order update tests, then report the actual handling and its RF effect.

Record warm-up, preparation, trial count and observation duration. Define how an incomplete RF capture is handled before execution. A measurement gap cannot be filled with a zero latency or an assumed success.

Worked Example: 9.35 ms of Latency and 0.15 ms of Alignment Error

All timings, limits and results in this example are hypothetical. They describe a generic timestamped test interface, not an NSG product protocol, specification or measured result. Assume the RF detector’s event has been independently mapped to the requested state/application epoch, and all clock mappings have been validated. Without that mapping, report only the detected feature’s timing, not state-application error.

The model generates a state for an epoch 10 ms in the future. In this illustrative contract, that state-valid epoch is also the requested RF application epoch.

One update, with all times mapped to the same test clock
Event Time Meaning
tgen 1000.00 ms Model finishes generating the future state.
ttx 1000.20 ms Message transmission event at the declared sender boundary.
tin 1000.80 ms Complete update arrives at the agreed input boundary, under the documented timestamp convention.
tvalid = treq 1010.00 ms Epoch represented by the predicted state and requested application time.
tRF 1010.15 ms RF time assigned to the requested state/feature epoch by the validated detector, at the output plane after measurement-delay correction.

Transport interval: 1000.80 − 1000.20 = 0.60 ms
Input-to-RF L: 1010.15 − 1000.80 = 9.35 ms
Epoch error e: 1010.15 − 1010.00 = +0.15 ms
Generation-to-RF interval: 1010.15 − 1000.00 = 10.15 ms

The same update has two different timing measurements On a shared millisecond scale, input-to-RF latency is 9.35 milliseconds and the positive requested-epoch alignment error is 0.15 milliseconds. The intervals have different starting events. Same update, different timing questions Ingress → RF Requested epoch → RF 9.35 ms +0.15 ms 0 2 4 6 8 10 Time interval (ms)
Both bars use the same scale, but their starting events differ. Good alignment with a requested future epoch does not imply a zero physical pipeline.

The 9.35 ms interval includes scheduled waiting and processing; it is not a pure computation-time measurement. The +0.15 ms value describes alignment with the requested epoch, not the age of an unpredicted current-state sample.

Report the Distribution and Define “Jitter”

Consider a predeclared set of 20 updates. All 20 are transmitted, accepted and independently associated with measured RF responses. Their sorted input-to-RF intervals are:

9.0, 9.0, 9.1, 9.1, 9.2, 9.2, 9.3, 9.3, 9.35, 9.4,
9.5, 9.5, 9.6, 9.6, 9.7, 9.7, 9.8, 9.9, 10.0, 12.0 ms

For this example, every update uses a 10 ms future-state horizon and arrives 0.80 ms after generation. Therefore e = L − 9.20 ms. Assume a separately established expanded uncertainty of 0.05 ms, coverage factor k = 2, for each reported time-difference measurement.

Example statistics and declared per-update limits
Quantity Result Interpretation
Nearest-rank P95 of L 10.0 ms Rank ceiling(0.95 × 20) = 19; percentile convention declared.
Maximum observed L 12.0 ms Largest measured value in these 20 updates, not a guaranteed worst case.
Delay variation Jpp 12.0 − 9.0 = 3.0 ms Peak-to-peak variation of input-to-RF intervals in this set; not clock jitter.
Epoch error range −0.20 to +2.80 ms Includes an early response and a late outlier relative to requested epochs.
Per-update rule L ≤ 11 ms and |e| ≤ 1 ms All 20 must meet both limits under the declared decision rule.
Campaign verdict FAIL; 19/20 meet both limits The 12 ms update exceeds both limits. A favorable P95 does not override this rule.

For these illustrative values, applying the stated uncertainty as a guard band, L + U ≤ 11 ms and |e| + U ≤ 1 ms, gives the same 19/20 outcome. Specify the actual uncertainty model and conformity rule before testing; uncertainty is not a permitted correction to an inconvenient result.

Report update-spacing variation, transport variation and input-to-RF delay variation separately. State the denominator, duration, load and measurement coverage. If an update lacks a valid RF association, retain it and mark coverage incomplete; do not obtain a tidy sample by silently discarding it.

Test Late, Missing, Duplicate and Out-of-Order Updates

Run fault cases separately from the complete 20-update timing example. Agree the target interface’s actual policy before testing. The following are example acceptance contracts, not claims about default NSG behavior.

Retain every injected fault and its observed RF consequence
Case Example contract Evidence required
Late update Reject messages outside the configured lead-time window and raise a status indication. Requested epoch, ingress time, acceptance/rejection record and whether the stale state affected RF.
Missing update or burst loss Apply the declared gap policy and flag the condition; stop scoring when the agreed coverage or prediction limit is exceeded. Sequence gaps, gap duration, generated trajectory during the gap and recovery behavior.
Duplicate update Detect the duplicate and prevent a second application. Sequence/epoch identity, duplicate status and RF continuity.
Out-of-order update Reject stale sequence/epoch data under the agreed ordering rule. Send/arrival order, rejection evidence and proof that the trajectory did not revert.

Count planned, transmitted, received, accepted, applied and RF-observed updates for each case. An unapplied update has no measured application latency; do not assign it zero. A late update that is applied remains a timing outcome, while a deliberately rejected one is evaluated against the rejection contract.

Hold-last-state, interpolation, extrapolation and stopping are different behaviors. Verify the chosen policy and its limits. A smooth trajectory during a gap does not establish that new information was received or faithfully represented.

Configure the Platform Around the Timing Contract

NSG8000 GNSS signal simulator with control screen

Review the complete motion-to-RF configuration

The NSG8000 supports configured GNSS HIL workflows. Confirm the motion fields, timestamp meaning, supported update rate, RF outputs, input-to-RF measurement boundary and approved acceptance limits for the selected configuration.

Product reference image. The timestamped protocol, numerical trace and statistics above are illustrative and are not NSG8000 test results.

Review interface options with an actual motion-message sample. A transport label such as UDP, TCP or CAN does not establish message compatibility, deterministic scheduling or a supported late-packet policy. DUT/controller delays and the RF measurement instruments belong in the wider bench budget.

Use the GNSS HIL solution for architecture and integration responsibilities, and the GNSS simulator product family for platform configuration.

Define a Measurable HIL Timing Requirement

Share the motion-message format, time basis, input rate, timing boundary, RF observation method and acceptance limits. We can review simulator configuration, interface responsibilities and the evidence needed for your test.

GNSS HIL Latency Testing FAQ

Does a 1 kHz HIL update rate mean 1 ms latency?

No. It defines a nominal 1 ms update interval. Transport, scheduling, processing and RF generation have their own timing behavior, which must be measured at declared boundaries.

Can future timestamps produce zero-latency RF?

They can help align a correctly predicted future state with its requested epoch on a supporting interface. Physical transport and processing still take time. Report pipeline latency and epoch alignment separately.

Can I measure simulator latency using DUT position output?

That measures a response containing receiver and output delays as well as source behavior. It is useful for the full application path, but does not isolate simulator input-to-RF latency without an independently validated method.

Is PPS synchronization sufficient evidence?

No. It supports a time-reference relationship. You still need timestamp mappings and an RF observation that corresponds to the motion update being tested.

What should I report as jitter?

Name the quantity: input-spacing variation, transport variation, input-to-RF delay variation or clock behavior. State the calculation, sample count, duration and conditions. A finite-sample peak-to-peak result is not a guaranteed maximum.

What if the simulator logs an update but RF cannot be verified?

Preserve the log evidence and identify the RF measurement as unverified. Report a log-based interval or proxy, and do not claim a measured motion-input-to-RF result.

Technical References

Manufacturer documents illustrate specific implementations. Their protocols, prediction policies, performance figures and diagnostic fields do not establish equivalent features on another platform.

  1. Spirent, Understanding Latency for HIL Testing — timing stages, update rate and prediction.
  2. Safran Skydel User Manual, Time Reference — trajectory timestamps and coordinated clock references.
  3. Safran Skydel User Manual, Sending Positions in Advance — future states and RF scenario-time distinctions.
  4. Rohde & Schwarz, Generation of GNSS Signals in a Hardware-in-the-Loop Environment, 1GP102, sections 5–7 — processing stages, buffering, compensation and diagnostic definitions.
Scroll to Top