Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

How Relative 38.4 MHz Crystal Clock Error Affects UWB Reply-Delay Compensation

An ultra-wideband (UWB) asset tag sits at a fixed distance on a test bench, but changing to a different normal response cadence changes the reported range. Check both timing references and protocol compensation before replacing a 38.4 MHz crystal.

This example compares indicated distance on a controlled, low-voltage bench with an owned warehouse tag and a fixed reader. The devices are ordinary measurement equipment for managing the operator's own containers. The work excludes tracking people and integration with locks, vehicles or other range-based access controls. Products with a different ranging architecture, dynamic compensation or calibration require their own analysis.

Why can the two devices measure different times at the same distance?

In one two-way ranging method, one device sends a request and the other replies after a delay. The initiator measures the elapsed round-trip time from transmission to reception. The responder can record its own interval from request reception to reply transmission. In the idealized model, subtract the reply delay from the round trip and divide by two to obtain one-way propagation time. The two intervals may come from different clocks. Even devices with the same nominal reference frequency can use slightly different effective time scales.

A fast or slow counter accumulates more conversion error over a longer delay. Subtracting intervals measured by two unaligned clocks can make that mismatch large relative to the short propagation time left over. Distinguish fixed offsets from errors that vary with delay. Antenna paths and hardware delay can introduce offsets. Reflections can lead the algorithm to select the wrong path. Effects involving reply delay and clock scale depend on both quantities. A change in indicated range alone cannot isolate one factor.

Worked example: how can a few tens of ppm move the reported range by meters?

Assume a real reply delay of 1 ms and a relative clock scale difference of 20 ppm. Use a simplified single round-trip calculation with no clock-skew correction, ignoring higher-order effects of the clock difference on the short propagation time itself. The time error from the delay alone is approximately 0.001 × 20 ÷ 1,000,000 seconds, or 20 ns. Halving it gives about 10 ns one way. At roughly 300 million meters per second for radio propagation in air, that corresponds to about 3 m. The sign depends on which clock runs faster and how the difference is defined, so the reported range can shift in either direction.

With the other assumptions unchanged, a 0.2 ms delay contributes about 4 ns of round-trip error, or about 2 ns one way, corresponding to roughly 0.6 m. These are orders of magnitude for an uncompensated algorithm. They establish neither actual product ranging performance nor a component frequency guarantee. Independent estimates, a more complete timestamp exchange or other compensation may greatly reduce error in a real system.

Conversely, if reply delay appears to change but the range stays stable, the crystals can still differ. Compensation may work, the system may use a different measurement method or the mode change may not have changed the actual reply delay. Keep the effective settings, measured timing differences and link quality for every run. Stable range alone cannot rule out clock skew.

Select a 38.4 MHz crystal against the actual clock tree

If the radio controller needs a passive 38.4 MHz reference, Japan's NDK lists this common frequency for the NX2016SA under specification STD-CZG-4, with nominal 8 pF load capacitance. The series and specification number do not uniquely identify an orderable part. Confirm frequency, load, temperature range, maximum resistance and oscillator input requirements when requesting a quote. This is a candidate for designs that meet those conditions, without identifying what any commercial tag or reader uses.

If an internal module already supplies the radio clock, a separate crystal on the carrier board may serve only the host controller and leave radio timestamps unchanged. Confirm the clock tree, reference source and observation points before changing parts. Higher accuracy at one endpoint still calls for verification at the other and in the actual algorithm. One part's initial frequency tolerance cannot predict system range error. Sampling, reception, reflections and mechanical mounting can also vary.

Three bench comparisons separate a trend from a fixed offset

First, fix the devices and reference distance. Use the manufacturer's supported test method to record repeated readings, device state and approved response settings. Keep raw timestamps where observable, measurement units and the reference-clock state. Use a fixture that repeats placement, orientation and surroundings instead of relying on a few readings taken by eye.

Second, compare two normal operating cadences within the supported settings. Keep placement and other configuration fixed. If independent clock measurements are available, check whether the trend agrees with the relative timing difference. If the manufacturer exposes no such evidence, limit the conclusion to the observed trend. A distance trace alone cannot establish a ppm value. Check whether propagation conditions have changed so that blockage or reflections are not mistaken for skew.

Third, if a new crystal needs qualification, return to the same mechanical and electrical baseline and change only the approved item. Retain the original and candidate part numbers, clock tree, circuit load and test firmware. Group results by response state, mode transition and steady operation. An average distance can hide temperature or startup effects. Qualifying an endpoint's timing reference and qualifying measured range are separate acceptance items.

CheckEngineering recordsPurchasing and quality verification
Clocks at both endsActual reference ownership, test points and stability conditionsExact frequency, load, package and lot
Delay and compensationActive settings, compensation or algorithm mode, and support limitsHardware and firmware combination
Fixed-distance resultsDistribution at one position, direction and transition windowSamples, fixture and measurement conditions
Change validationOriginal and candidate during initial and steady operationAccept only tested combinations

In an approved environment, keep a second comparison across different reception quality levels with actual distance and component choices fixed. If jumps occur only as propagation conditions change and the reply-delay trend is inconsistent, check installation, test points and actual reflection conditions first. If changes reliably grow with reply delay while propagation and position stay fixed, prioritize timing at the two endpoints and protocol compensation.

If the reference has just powered up or is still changing temperature, record the time since startup for each run with a different delay. Before an endpoint reaches thermal stability, the two settings may coincide with different frequency drift periods. Alternate the two approved settings and record board temperature, state and valid sample count for each. This helps separate test order from delay dependence. With data from only one fixed position, limit conclusions to that condition. A short-term mean error cannot establish what the reader will achieve across warehouse installations.

Count occasional invalid readings separately. Entering them as zero distance distorts the average.

Frequently asked questions

Can error accumulate even when both crystals meet specification? Yes. Each part's deviation from nominal is different from the relative timing error between the endpoints. The measured state and algorithm also affect the result.

Can a more accurate crystal eliminate final-product testing? Verify oscillator compatibility first, then check endpoint timing and fixed-distance results. A component specification cannot replace evidence that assembly, propagation and algorithm work together.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.