Cooperative Localization Across Mesh Units

by Nick Clark | Published April 25, 2026 | PDF

In cooperative localization, the position of each mesh unit is the joint product of inter-node range observations contributed by the population of units, refined through bounded gossip, and bound to absolute reference where credentialed anchors exist. The coordinate frame is not a broadcast; it is a structural artifact of the cooperation. For typical mesh topologies the refinement converges within a logarithmic number of communication rounds, and the system degrades gracefully as units, links, or anchors are lost. This article describes the mechanism, the operating parameters, alternative embodiments, the composition with surrounding subsystems, the distinction from prior art, and the disclosure scope.


Mechanism

Each mesh unit periodically performs ranging against its neighbors and emits a credentialed range observation containing the observer identity, the observed neighbor identity, the measured range, the declared uncertainty, the observation timestamp, and a signature over the foregoing. The observation is admitted into the local solver only if its credential and freshness check pass. Each unit thus accumulates, in steady state, a local view consisting of its own ranges to neighbors and a bounded set of second-hand ranges gossiped from those neighbors.

Each unit runs a local solver that treats the position of itself and of nearby units as parameters, and the credentialed ranges as constraints. The solver minimizes a weighted residual in which each constraint is weighted by its declared uncertainty. The solution is published as a credentialed position estimate together with a covariance and a lineage reference back to the ranges that produced it. Neighbors fuse the published estimate with their own evidence using the same residual machinery. Iterating this procedure across rounds is what produces the global coordinate frame.

Anchor units are mesh units whose absolute positions are independently established (surveyed markers, GNSS-fixed nodes, units bound to known infrastructure). An anchor publishes its absolute position as a credentialed constraint with a declared uncertainty that reflects the binding quality. The relative coordinate frame produced by gossip becomes an absolute frame as anchor constraints propagate; in the absence of anchors, the frame remains relative but is internally consistent.

Convergence of the gossip is bounded. For mesh topologies with bounded degree and a positive spectral gap (the typical case for physical deployments with reasonable connectivity), the residual error contracts geometrically per round, and the position estimates settle to within a target tolerance in O(log N) rounds where N is the number of cooperating units. The bound is preserved when anchors are sparse, provided each connected component contains at least the minimum number of anchor constraints required to fix the frame's translation, rotation, and (where applicable) scale.

Operating Parameters

Ranging cadence is set per unit based on power budget, mobility, and the operating tolerance. Static or slow-moving units may range every several seconds; rapidly mobile units range at sub-second cadence. Gossip cadence is set independently and is typically slower than ranging cadence, since the solver fuses many ranges per gossip exchange. Bounded gossip caps the second-hand horizon: a unit propagates ranges and estimates within K hops, where K is policy-bound and typically small (two to four). This cap controls bandwidth and prevents stale information from looping indefinitely through the mesh.

Convergence tolerance is policy-bound. Typical operating tolerances range from sub-meter (for localization-of-record applications such as surveying, asset tracking in a yard, or first-responder deployment) to ten-meter (for coarse situational awareness in extended-area mesh). The number of rounds required to reach tolerance scales as O(log N) under the standard topology assumptions, and as O(N) in pathological one-dimensional or near-disconnected topologies; the architecture surfaces the topology degeneracy as a credentialed diagnostic so operators can detect and address poor connectivity rather than discovering it through silent slow convergence.

Residual diagnostics expose over-determination. When the solver has more constraints than parameters, the residuals identify probable bad observations or probable bad anchor bindings. The architecture publishes residuals as credentialed events, and policy decides whether a high-residual observation is downweighted, quarantined, or repudiated. This is the structural hook by which spoofed or malfunctioning units are surfaced.

Memory and compute footprints per unit are bounded. Each unit retains its own state, the state of K-hop neighbors, and the recent ranges. The local solver operates on this bounded set; complexity per round is therefore O(d^2) in the local degree d rather than O(N) in the global population, which is what enables the architecture to scale to large deployments on modest hardware.

Alternative Embodiments

In one embodiment, ranging is performed via two-way time-of-flight with sub-nanosecond timestamping, suitable for ultra-wideband radios. In a second embodiment, ranging is performed via received-signal-strength or via channel-state-information with appropriate calibration; this embodiment is preferred when ultra-wideband hardware is unavailable but its accuracy is lower. In a third embodiment, ranging is performed via acoustic time-of-flight, suitable for underwater or short-range industrial deployments.

In one solver embodiment, the local minimization is a Gauss-Newton iteration over an explicit position parameterization. In another, it is a belief-propagation pass over a factor graph in which positions are message-passed nodes and ranges are factors. In a third, it is a particle filter over the joint position state, suitable for high-multipath or non-Gaussian noise regimes. The choice is local to each unit; units running different solvers interoperate through the credentialed estimate format.

In an anchor-rich embodiment, every unit is also an anchor (for example, all units are GNSS-fixed in clear sky), and cooperation principally improves precision and resilience to GNSS denial. In an anchor-sparse embodiment, anchors are scarce or intermittent, and cooperation principally maintains internal frame consistency until anchor constraints can be re-acquired. In an anchor-free embodiment, the system operates wholly in relative frame and binds to absolute reference only post hoc by aligning the relative solution against a sparse set of ground-truth points.

A privacy-preserving embodiment exchanges range commitments rather than raw ranges, so that an unauthorized listener cannot reconstruct the geometry of the mesh from intercepted gossip. A scheduled-availability embodiment limits ranging windows to defined intervals to reduce adversarial detectability, at the cost of slower convergence under mobility.

Composition With Other Subsystems

Cooperative localization composes with the credentialing substrate: every range, every estimate, and every anchor binding is signed and admissibility-checked, so the coordinate frame inherits the substrate's tamper-evidence and audit properties. It composes with the lineage substrate: each estimate carries a pointer to the ranges that produced it, so a downstream consumer can trace any reported position to its constituent observations.

It composes with policy and governance: ranging cadence, gossip horizon, anchor-trust weights, and residual-quarantine thresholds are all policy parameters expressed in the same policy machinery as the rest of the architecture. It composes with the diagnostics surface: convergence rate, residual distribution, anchor coverage, and connectivity statistics are emitted as credentialed events suitable for monitoring and for automatic operational response.

It composes with mobility: the solver accommodates time-varying positions via the per-observation timestamp and via state-space embodiments that explicitly model motion; static and mobile units coexist in the same mesh without separate protocols.

Distinction From Prior Art

Conventional positioning is dominated by central-broadcast architectures (GNSS, cellular trilateration, terrestrial pseudolite networks). These deliver high accuracy where infrastructure is available and intact, and zero accuracy where it is not. Cooperative localization in the literature has been studied for sensor networks and for robot swarms, but has typically been treated as a research method rather than as a credentialed, governance-bound architectural primitive. The contribution here is the integration of cooperative localization with a credentialing substrate, with a lineage substrate, with policy-bound gossip horizons and residual handling, and with a convergence claim explicit in the standard topology assumption.

Compared to plain peer-to-peer ranging, the present mechanism adds admissibility checks on every observation, anchor-binding semantics that allow graceful transition between relative and absolute frames, residual diagnostics that surface bad actors and bad bindings, and a bounded-gossip discipline that yields the O(log N) round count under typical topologies.

Failure Modes And Adversarial Considerations

The principal adversarial concern is range spoofing: an attacker emits credentialed-looking range observations that misreport distance, attempting to drag the cooperative solution toward a position favorable to the attacker. The architecture mitigates this in three layers. The credentialing layer rejects observations whose signatures do not verify against admissible identities, so a wholly unauthorized adversary cannot inject. The freshness layer rejects observations whose timestamps are outside the acceptable window, foreclosing replay. The residual layer surfaces observations that disagree sharply with the consensus produced by the other constraints; persistent residuals on a particular emitter raise that emitter's quarantine score and ultimately repudiate it.

A second concern is anchor compromise. An anchor whose absolute binding is wrong (mis-surveyed, GNSS-spoofed) can drag the absolute frame across the entire connected component. The architecture mitigates this by accepting anchor constraints with policy-bound trust weights and by surfacing anchor-versus-anchor residuals when multiple anchors disagree. A single anchor in a region with anchor diversity cannot quietly distort the frame because its disagreement with the other anchors is visible as a credentialed event.

A third concern is the Sybil case in which an adversary instantiates many credentialed-looking units to outvote the legitimate population. The cooperative architecture is not by itself a Sybil defense; it relies on the credentialing substrate's identity admission policy. Where the credentialing policy is permissive, the cooperative solver weights observations by declared uncertainty and by historical reliability, so a fresh population of identities does not automatically dominate, but operators in adversarial environments are advised to pair cooperative localization with stronger admission policies (for example, hardware-rooted credentials, manufacturing-time enrollment, or stake-based admission).

A fourth concern is connectivity collapse. If the mesh fragments into components that share no anchor and no inter-component ranges, each component maintains its own internally consistent frame but cannot reconcile with the others until connectivity returns. The architecture handles this gracefully: each component continues to operate, and rejoining is handled by treating the inter-component ranges as new constraints that introduce a relative-frame transformation between the components. The transformation is solved as part of the next gossip round, and the global frame is restored without operator intervention provided the rejoining ranges are credentialed and admissible.

Implementation Notes

Reference implementations target two principal hardware classes. A radio-class implementation runs on ultra-wideband or sub-gigahertz radio platforms with on-board ranging primitives; the local solver runs on the radio's host processor and gossip rides the radio's data plane. A general-purpose implementation runs on commodity edge compute with ranging delegated to attached radio peripherals; this embodiment is preferred for retrofits in which existing infrastructure already provides ranging hardware.

Conformance is established by a test harness that injects synthetic mesh topologies (line, ring, grid, random geometric, and pathological one-dimensional cases) with controlled anchor placements, runs the cooperative solver to convergence, and verifies that the resulting position estimates match the ground-truth geometry within the declared tolerance. The harness also injects adversarial cases (range spoofing, anchor compromise, Sybil) and verifies that the residual diagnostics surface them and that the policy-driven quarantine machinery responds as specified.

Operational deployments observe four first-class metrics: round-to-convergence count, residual distribution, anchor coverage ratio, and quarantine event rate. Healthy deployments show round counts consistent with the O(log N) expectation, residual distributions whose tails reflect declared uncertainties, anchor coverage above the policy minimum across all connected components, and quarantine events concentrated on emitters with independent indicators of malfunction or compromise. Sustained departure from these patterns is itself diagnostic and supports operator response before the cooperative solution noticeably degrades.

Bootstrapping a fresh deployment proceeds in three phases. In the first, units come online, perform initial ranging, and produce a relative coordinate frame. In the second, anchors come online and bind the relative frame to the absolute frame as their constraints propagate through gossip. In the third, the system enters steady-state operation with all four operational metrics within nominal ranges. The bootstrap sequence is itself recorded in the lineage substrate so that retrospective analysis of any reported position can reach back through the bootstrap into the founding ranges and anchor bindings.

Disclosure Scope

The disclosure covers the credentialed range observation format, the local solver and its publication of credentialed estimates, the bounded gossip and its convergence properties, the anchor-binding semantics for translation between relative and absolute frames, the residual-diagnostic surface, and the composition with credentialing, lineage, policy, and diagnostics subsystems. It covers the enumerated embodiments and equivalents that preserve the cooperate-and-converge structure with credentialed observations and anchor-mediated absolute binding. It does not claim particular ranging technologies, particular solver algorithms, or particular operating tolerances; those are deployment choices made within the disclosed framework.

Nick Clark Invented by Nick Clark Founding Investors:
Anonymous, Devin Wilkie
72 28 14 36 01