HomeDocs-Technical WhitePaper21-EFT.WP.Metrology.Sync v1.0

Chapter 8 — Estimating Offset / Skew / Jitter (Robust & Sequential)


One-line objective: Provide a unified estimation-and-release framework for offset, frequency offset skew (ppm), and jitter J that combines robust statistics with sequential filtering (α–β / Kalman / adaptive gating), so that online synchronization remains SLO-compliant and auditable under anomalies and drift.


I. Scope & Objects

  1. Targets
    • End-to-end offset, skew (ppm), and J estimation for PTP/NTP/SyncE/White Rabbit sessions.
    • Hardware/software/hybrid timestamps; unicast/multicast/BC scenarios; batch and streaming online estimation.
  2. Inputs
    • Events & timestamps: t1,t2,t3,t4, hwts ∈ {0,1}, session id, profile_id.
    • Windows & bases: sliding window W_k on tau_mono, step Delta_t.
    • Delay & asymmetry model (from Ch. 7): d_up, d_down, asym for bias correction.
    • Quality signals: q_len, rho, J_ref.
  3. Outputs
    • Estimands & uncertainty: hat_offset, hat_skew_ppm, hat_J, with intervals or U = k * u_c.
    • Servo injections: offset_corr (with asym correction), online auto-tuning of process noise Q and measurement noise R.
    • Audit & manifest: manifest.sync.est.* (models, parameters, thresholds, P95/P99, signature).

II. Terms & Variables

  1. Random terms & state
    • y_k: k-th bias-corrected observation.
    • theta_k: true offset; s_k: frequency slope d theta / dt.
    • e_k: measurement noise; w_k: process noise; J: short-term scatter of offset.
    • State vector x_k = [ theta_k, s_k ]^T.
  2. Timing & windows
    • t_k on tau_mono; Delta_t = t_k - t_{k-1}; W_k = {y_{k-m+1}..y_k}.
    • Sliding stats: MAD, IQR, P95/P99.
  3. Units & dimensions
    unit(theta)="s", unit(J)="s", unit(s)="1" (often published as ppm); dim(*)="[T]" or dimensionless.

III. Axioms P608- **


IV. Minimal Equations S608- **


V. Statistical Flow M60-8 (Robust + Sequential Estimation Loop)

  1. Ready & checks
    • Align to tau_mono; build W_k; verify unit/dim and timestamp integrity; persist TraceID.
    • Apply asym correction from Chapter 7 to obtain y_k.
  2. Robust coarse estimation
    • hat_offset_init = median(W_k); sigma_hat = MAD → gate threshold k_g.
    • hat_skew_ppm_init via Theil–Sen or WLS+Huber.
  3. Initialize sequential filter
    • Seed x_0, P_0 from coarse estimates; initialize R from J_ref or sigma_hat, Q from historical drift.
    • Choose α–β or Kalman; prefer smaller R under HW timestamps.
  4. Online update & adaptation
    • Gate new observations; update filter state and J_k.
    • Adapt Q,R from residual stats; inflate R under rising load rho.
    • Output hat_offset / hat_skew_ppm / hat_J with U.
  5. Change detection & action
    • Run CUSUM/GLRT; upon trigger, temporarily raise Q or reset state; enter holdover if needed.
    • Log audit events: change_point, Q/R trajectories.
  6. Publish & sign
    • Emit manifest.sync.est.*: model, window, α/β or Q/R, P95/P99, failure counts, signature.
    • Provide offset_corr and process parameters for the servo (Chapter 6).

VI. Contracts & Assertions


VII. Implementation Bindings I60- (Estimators & APIs)*


VIII. Cross-References


IX. Quality SLIs & Risk Control

  1. Metrics: offset_p50/p95/p99, skew_ppm_p95/p99, J_p95/p99, outlier_rate, gate_ratio, lock_time, relock_time; filter health via trace(P_k), cond(P_k), R/Q ratio, change_events.
  2. Risk actions:
    • If offset_p99 breaches → de-weight, tighten gates, and trigger routing/media review (Chapter 7).
    • If J_p99 spikes → increase R, narrow servo bandwidth, or enable WR/TSN scheduling.
    • For frequency steps → trigger CUSUM, temporarily raise Q and rate-limit; holdover if necessary.
    • If outlier rate rises → switch to a stronger robust estimator or lengthen the window.

Summary

, unifying the estimation, SLOs, and auditability of offset/skew/J. The exported offset_corr, hat_skew_ppm, and hat_J feed the servo and compliance panels directly.gating → coarse estimate → filtering → adaptation → change detection → publication, this chapter realizes a closed loop of sequential filtering with robust statisticsBy coupling

Copyright & License (CC BY 4.0)

Copyright: Unless otherwise noted, the copyright of “Energy Filament Theory” (text, charts, illustrations, symbols, and formulas) belongs to the author “Guanglin Tu”.
License: This work is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0). You may copy, redistribute, excerpt, adapt, and share for commercial or non‑commercial purposes with proper attribution.
Suggested attribution: Author: “Guanglin Tu”; Work: “Energy Filament Theory”; Source: energyfilament.org; License: CC BY 4.0.

First published: 2025-11-11|Current version:v5.1
License link:https://creativecommons.org/licenses/by/4.0/