GNSS Simulator
Talk to an engineer
GNSS Simulator

GNSS ENGINEERING TOOLS · TIME & FREQUENCY

1PPS Timing Stability Analyzer

Analyze a uniformly sampled time-error record. Review raw timing statistics, fit a linear error slope and calculate overlapping Allan deviation (OADEV) for relative frequency stability.

Enter timing measurements

Two columns only. Continuous elapsed seconds and nanosecond error. 3–20000 samples, 2 MiB maximum. No blank records or missing samples.

Examples are synthetic. Timestamps must be exactly equally spaced at 1 ns resolution. Error values accept up to 6 decimal places in ns. No exponent notation. No automatic correction, detrending or interpolation.

Raw error and fitted frequency

Mean error · ns —
RMS error · ns —
Population standard deviation · ns —
Peak-to-peak error · ns —
Maximum absolute error · ns —
Linear input-error slope · ns/s —
Fitted relative frequency · ppb —

Sign and frequency interpretation

For pulse-edge arrival error e = tDUT − tref, a later DUT pulse is positive. With corresponding pulse labels, clock phase x = −e. For clock-reading error x = CDUT − Cref, an ahead clock is positive.

Fitted y = slope of x(t)
y in ppb = slope of x in ns/s

A late-edge ramp of +2 ns/s therefore gives a fitted relative frequency of −2 ppb. This is a phase-derived estimate over the supplied record, not a direct 10 MHz counter measurement or a frequency-drift-rate estimate.

Apply calibrated differential path-delay corrections before input. Maintain corresponding pulse labels and unwrap phase before analysis; the tool does not detect or correct cycle slips.

Estimator and statistics

τ = mτ₀
dᵢ = xᵢ₊₂ₘ − 2xᵢ₊ₘ + xᵢ
OADEV(τ) = √[Σdᵢ² / (2τ²(N − 2m))]

x is clock phase in seconds. N is the number of phase samples; i runs from 0 through N − 2m − 1. All overlapping terms are used. The calculation keeps the raw phase without fitted-line removal.

RMS = √mean(e²). Population standard deviation = √mean((e − mean(e))²), with divisor N. Peak-to-peak is maximum minus minimum. The straight-line slope is an ordinary least-squares fit with an intercept.

Reference: NIST SP 1065, §5.2.4 and §10.6.

Input validity and measurement limits

Use a single continuous record with constant sample spacing. Duplicate, decreasing or irregular timestamps stop analysis. Missing values and blank records also stop analysis; they are not silently removed. Select a gap-free interval before pasting data.

Uniform timestamps alone do not establish instrument gate behavior, dead time, trigger integrity or measurement bandwidth. Confirm those settings in the test plan. This tool estimates the combined DUT–reference measurement behavior and does not separate their noise.

time_s range: 0–1000000000 s, up to 9 fractional digits. error_ns range: ±1000000000 ns, up to 6 fractional digits. Headers are trimmed and case-insensitive; order may be reversed. Decimal values require digits before the decimal point. Browser arithmetic uses double precision after exact decimal-grid checks.

1PPS timing analysis FAQ

What sign convention should I choose?

Choose late-edge positive for error_ns = DUT edge arrival minus reference edge arrival, after any path correction you have already applied. The tool then uses clock phase x = −error. Choose clock-reading positive when error_ns is DUT clock reading minus reference reading, so x = error. The fitted frequency sign follows x; the raw error statistics keep your input sign. The tool does not apply a path correction.

What sampling does the analyzer require?

Provide 3–20000 phase samples on an exactly uniform, strictly increasing time grid. time_s accepts nonnegative decimal seconds through 1000000000 with up to 9 fractional digits. error_ns accepts signed decimal nanoseconds within ±1000000000 with up to 6 fractional digits. Exponent notation, blank records, extra columns, missing data and irregular timestamps are rejected. Use continuous elapsed time, not UTC clock strings.

Does the analyzer remove drift or outliers?

No. Raw samples are used without detrending, outlier removal, gap filling or phase unwrapping. A constant phase offset and a linear phase ramp cancel in ideal Allan second differences. Changing frequency, phase steps and measurement noise can affect OADEV. The fitted straight line is reported separately; it is not subtracted from the data.

Does low Allan deviation mean accurate 1PPS timing?

No. OADEV estimates relative fractional-frequency stability over a stated averaging time. A constant timing offset or constant frequency offset can coexist with zero ideal OADEV. Accuracy needs a defined reference, calibration, delay corrections and measurement uncertainty. The reference and instrument noise contribute to the observed series.

What do the term counts mean?

For N phase samples and averaging factor m, the estimator uses N − 2m overlapping second differences. These terms are correlated and are not independent degrees of freedom. Fewer than 10 terms is marked as a display caution, not an acceptance threshold. No confidence intervals or noise-type classification are calculated.

Is the data uploaded, and what is exported?

Calculations and plots run locally in your browser without external libraries or calculation requests. The JSON report includes every input sample, normalized clock phase, the sign convention, raw statistics, fitted slope and OADEV rows. Review the report before sharing it. The synthetic examples are not measured receiver performance.

Plan a GNSS timing validation test

Define the reference, path corrections, sampling method, holdover interval and acceptance limits for your DUT.

Timing validation workflow
Scroll to Top