Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Passive Crystals and Oscillator Circuits

Why is a nanosecond PPS correction invisible in a counter driven only by a 10 MHz OCXO?

A timing fixture feeds a 10 MHz OCXO to a counter and captures each one-pulse-per-second edge from a GNSS module. The module reports a nanosecond-scale change in pulse quantization error, but the plotted measurements still move in coarse steps. Decide which part of the system produces those steps. There are three separate checks: the physical pulse, the message corresponding to it, and the measurement resolution.

Pair each message with the intended pulse

For the ZED-F9T-10B, UBX-TIM-TP describes timing for the next pulse at TIMEPULSE0. It carries the week and time of week, time-base information and a signed qErr value in picoseconds. Check the validity flag and the interface description for the exact module and protocol. A physical pulse does not by itself confirm that the time and correction data are usable.

Do not attach the latest message to whichever edge has just occurred. The integration manual shows messages relating to different pulse events, with TIM-TP referring to the next one. A queued serial message processed late can be assigned to the wrong second by a host that uses arrival time alone. Preserve the increasing edge number, time base, raw message fields and validity. After restarting the stream or dropping records, reestablish the mapping before applying corrections.

Calculate the counter’s time increment

If a counter samples on rising edges of a 10 MHz OCXO without interpolation, its time increment is 100 ns even if the oscillator is accurate. An illustrative valid qErr magnitude of 7,800 ps is 7.8 ns, just 7.8% of that increment. A single coarse capture often cannot distinguish such a change. When an edge is near a bin boundary, a few nanoseconds may also make the count change by an entire increment. Neither result alone disproves the correction.

An instrument with an effective 2 ns increment would represent 7.8 ns as about 3.9 increments, giving it a chance to observe that difference. Resolution is only one contribution. Verify threshold, trigger noise, channel skew, cable delay and timebase accuracy. Measure a common pulse on both channels and then an independently known delay before accepting the smaller increment. Apply the correction sign in accordance with the device and reference convention. A flat-looking plot is insufficient to choose it.

Use three controlled comparisons

Keep the 10 MHz OCXO unchanged and retain raw captures from a stable run. Pair the physically captured pulses with valid messages, then apply correction offline to the same raw data. Compare with a deliberately offset pairing to check what a one-second record association error looks like. The vendor recommends a one-hertz measurement rate and time-pulse frequency when using the described message.

Hold message association and reference constant, then compare the simple rising-edge counter with an independent higher-resolution instrument. If the coarse device stays on integer increments and the fine instrument resolves motion inside those increments, the observation limit is the stronger candidate. Averaging can improve some statistical estimates, but does not reconstruct an individual edge that was never measured. Specify whether a result is single-shot or averaged.

Finally, repeat after interrupting and restoring the ordinary communications path on a test fixture. Mark unmatched messages as ineligible for correction. A known change in cable delay can help distinguish a fixed shift from per-pulse effects. For absolute timing, account for antenna, cable and receiver-path delays separately. These comparisons separate oscillator stability, input capture and software association.

Include a short per-pulse table with the raw count, instrument conversion, reported qErr, validity and corrected time. Leave unmatched rows blank and retain the reason. Use the same valid set for before-and-after statistics so that removing invalid samples is not mistaken for correction. Check the association rules across a week rollover or a change in time base.

Put the acceptance criteria into the request

Specify the 10 MHz OCXO's stability, aging, phase-noise test conditions and output load. For the capture system, ask what frequency clocks the counter, how it interpolates and how it detects the edge. An instrument locking to a 10 MHz reference establishes compatibility with that source. Nanosecond measurement also depends on capture resolution and correct event association. Separate these requirements so purchasing can identify the component that actually limits the result.

References

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.