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

Chapter 3 — Reference Hierarchy & Grandmaster Election (GM / BMCA)


One-line objective: With an auditable BMCA and reference-hierarchy policy, elect a single network-wide GM deterministically, and during faults/switchovers keep offset/skew/J and MTIE/tdev within budget.


I. Scope & Objects

  1. Applicable systems
    • IEEE 1588 PTP/gPTP (with Boundary/Transparent Clocks), SyncE as the frequency underlay, GNSS/Rb/OCXO as upstream references.
    • Single and multi-domain deployments, cross-subnet transparent forwarding, custom priority policy, and security trust gating.
  2. Inputs
    • Announce dataset: priority1, clockClass, clockAccuracy, offsetScaledLogVariance, priority2, clockIdentity, stepsRemoved, timeSource, domainNumber, grandmasterIdentity.
    • Path quality: delay_rt, asym, J_path, U(ts), U(asym); port roles and topology metadata.
    • Runtime policy: logAnnounceInterval, announceReceiptTimeout, holdover_limit, domainPriority, policy.weights.
  3. Outputs
    • Election result & state: GM, BM/TC port roles, stepsRemoved updates, gm_switch_count.
    • Quality & uncertainty: T_switchover, U(offset), MTIE_delta, tdev_delta; signed manifest.sync.bmca.*.

II. Terms & Variables


*III. Axioms P603- **


*IV. Minimal Equations S603- **


V. Metrology Flow M60-3 (BMCA & Hierarchy Election)

  1. Ingest & standardize
    • Parse Announce and Sync/Follow_Up; normalize units/dimensions check_dim(all); align to tau_mono.
    • Build candidate set C, fill last_announce(c) and stepsRemoved(c).
  2. Liveness & security gating
    • Evaluate is_alive(c) and trust(c); drop unsigned/stale candidates.
    • Apply path gates: delay_rt, |asym|, J_path, U must stay within policy.
  3. Ordering & selection
    • Compute rank(c) and penalty(c); elect GM* via lexicographic effective_rank.
    • If the incumbent and GM* differ by less than hysteresis and thresholds are met, hold incumbent to debounce.
  4. Publish & set roles
    • Update port states (Master/Slave/Passive/Disabled), refresh stepsRemoved.
    • Write manifest.sync.bmca.* with {GM, rank, penalty, U, TraceID, signature}.
  5. Switchover & convergence
    On change, execute servo transition; measure T_switchover, MTIE_delta/tdev_delta; if over budget, trigger rollback or traffic throttling.
  6. Dual-form arrivals
    For any path metric in the comparison, compute both forms and delta_form; persist and assert thresholds.

VI. Contracts & Assertions C60-3*


VII. Implementation Bindings I60- (BMCA Layer)*


VIII. Cross-References


IX. Quality SLIs & Risk Control

  1. SLIs / indicators: gm_flaps_per_hour, T_switchover_p50/p95/p99, announce_stale_rate, stepsRemoved_max, mtie_after_switchover(tau), tdev_after_switchover(tau), asym_p95, delay_rt_p95, U(offset)_p95, delta_form_p99.
  2. Risk policies:
    • Debounce via min_hold and hysteresis; on anomalies, roll back to the next-best GM.
    • Security: isolate unsigned sources; domain_collision_count > 0 → protection mode.
    • Observability: periodic calibration or online estimation for asym drift; path re-discovery on routing changes.

Summary

* contracts, I60- interfaces*, and a quality panel, it ensures stable, traceable, compliant master election and switchover in multi-domain, complex topologies.C60-3. Through M60-3, and provides the executable loop liveness/security gates, and path penalty penalty(c), deterministic ranking rank(c)This chapter formalizes GM/BMCA election with

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/