Virtual Fencing for Drone Fleets: A Boundary-Enforcement Extension to the GeoVARNet-E Contract
A drone survey program spends much of its effort answering the same question: was each vehicle where it was supposed to be, and nowhere else? Today that question is answered by physical caution, written flight plans and careful pilots. Agriculture faced a similar problem with livestock and found an elegant answer in virtual fencing. A rancher draws a boundary on a map, the boundary is delivered to a smart collar on each animal, and the collar keeps the animal inside it with a graded series of cues: a directional sound first, a mild corrective pulse only if the sound is ignored, and a gentle vibration when it is time to move to fresh pasture. Three ideas in that design carry over almost unchanged to drones. The boundary is authored centrally but enforced locally. Enforcement escalates gently and predictably. And moving the herd is treated as a first-class operation. This essay proposes adding virtual fencing to the GeoVARNet-E contract for drone fleets, built on the same separation of responsibilities the contract already defines.
The design follows from that separation, so it helps to restate it. Commodity providers execute primitives and return candidates. GeoVARNet-E reasons over evidence, proposes relationships and requests bounded reinspection. DVSA-API alone owns source identity, permissions, validation and publication. A provider's output may improve an answer, but it may never declare a final fact on DVSA's behalf. Virtual fencing fits this model naturally, because a fence involves exactly three kinds of decisions. Someone must define the boundary, which is an authority decision. Something must keep a vehicle inside it in real time, which is an execution decision. And someone must later state whether a flight actually complied, which is an evidence decision. Each belongs to a different layer.
Fence definition belongs to DVSA-API. A fence is a canonical record, no different in standing from a source locator or an evidence record. It has a fence identifier, an immutable revision, a tenant scope, and a geometry given as a polygon with an altitude floor and ceiling in a declared coordinate reference. It also has a kind, a validity window, the fleet or group it applies to, a cue policy, and the identity of the operator who approved it. Four kinds cover most needs. A containment fence keeps a vehicle inside a work area. An exclusion fence keeps it out of a hazard or a neighbor's property. A privacy fence marks ground that may be overflown but must not be recorded or published. A shift fence defines the next area of a planned rotation. Fences are drawn by people in the operator's console over the archive's own imagery. Each revision is versioned rather than edited in place, so every later statement about compliance can name the exact boundary it was judged against. A fence is an operator's constraint layered beneath whatever airspace rules apply. It narrows where a vehicle may go and never widens it, so it is not a substitute for regulatory authorization.
Enforcement belongs below the contract boundary, on the vehicle, and this is the most important lesson from the livestock design. A collar does not ask the cloud whether to play a tone. It carries the boundary with it and acts on its own position. A drone must work the same way, because a breach happens in seconds, and a link to a ground station or a satellite may be intermittent at exactly the wrong moment. The autopilot, or a companion computer beside it, takes the collar's role. In contract terms it is a commodity provider. It receives a signed fence bundle with an explicit revision, acknowledges that revision, and enforces it locally. The cloud distributes boundaries and collects reports. It is never part of the real-time safety loop.
Escalation mirrors the graded cues. The first cue is advisory, the equivalent of the directional tone. As a vehicle approaches a boundary, the pilot or mission supervisor hears an alert and sees which side the boundary lies on. Under autonomous control, the planner receives a soft constraint that bends the path away from the edge, so the vehicle is steered rather than stopped. The second cue is corrective: velocity is limited toward the boundary, and the vehicle is pushed back gently if it keeps pressing. The third cue, used rarely, is the equivalent of the pulse: hold position, return along the last safe track, or land. That is the boundary of last resort, and the cue policy makes it predictable, so a well-flown mission never reaches it. The vibration that tells an animal to move to fresh feed has a drone counterpart too, a shift cue telling the vehicle or its pilot that the current area is complete and the next shift fence is now active. An operator could reasonably prefer the advisory cue for crewed flights and the corrective cue for autonomous ones. Either way, the cue policy is part of the fence record, so the behavior is declared in advance rather than improvised in the air.
Connectivity rules follow from local enforcement. A vehicle must not launch without acknowledging the current revision of every fence that applies to it. In flight, it keeps enforcing the last acknowledged revision when the link drops. Updates reach it through whatever path exists: a ground station acting as a tower, a satellite link, or a peer in the fleet that relays the newest bundle to the others, much as one collar in a herd can speak for the rest. Fences carry an expiry. When a fence expires without renewal, the vehicle fails closed to a conservative state rather than flying on stale assumptions. A loosening revision, such as a widened boundary, takes effect only after acknowledgement. A tightening revision, such as a new exclusion zone, takes effect immediately on receipt, because delay on that side carries the real risk.
What the vehicle reports back is a set of candidates. The provider response contains fence events: approaches, cues applied and their level, interventions, and telemetry intervals with their coverage. Each event names the fence revision it was enforced against and the inputs it used. The response follows the same discipline the contract already applies to detection. A completed run with no events is distinct from a telemetry gap, a link outage, an unacknowledged revision or an unsupported fence geometry. Just as a timeout must never become evidence that an object was absent, a gap in telemetry must never become evidence that a vehicle stayed inside its fence. Only an adequately covered track supports a claim of compliance.
Compliance claims belong to DVSA-API, and here the archive-first character of the contract becomes an advantage. Telemetry is one source of evidence. The recorded footage is another and often a better one. Every extracted frame carries its position, falls in a Cell, and sits in a sequence joined by NEXT edges. So a flight's path can be reconstructed from the frames themselves and checked against the fence revision that applied at the time. A claim such as "flight 21 remained within containment fence F revision 3" is published as supported only when telemetry and frame evidence together cover the flight adequately. It cites the intervals that establish it and states plainly any scope that was not observed. A claim of breach is held to the same standard and cites the frames and telemetry where the vehicle crossed. Duplicated or derived records that share a lineage group count as one confirmation. Privacy fences are enforced at publication as well as in flight: frames whose footprint falls inside a privacy fence are withheld from results and from citation resolution for callers not authorized to see them, whatever the vehicle recorded.
GeoVARNet-E's role is to reason, propose and never enforce. It is well placed to say where fences should be, because it already understands geometry and revisitation. From the archive it can see which Cells have not been revisited for a long time, which areas are covered too often, and where coverage has gaps. That turns herd rotation into survey rotation: GeoVARNet-E proposes the next shift fence over the ground most in need of a fresh look, and the operator approves it. It can also notice that a fence produces frequent corrective cues. That pattern usually means the boundary was drawn too tightly against terrain, an obstacle or the wind, and GeoVARNet-E can propose a revised geometry with the evidence that motivated it. It can notice that one vehicle triggers far more interventions than its peers. Then it can propose isolating that vehicle under a tighter containment fence until it is inspected, much as a rancher separates a sick animal without gathering the whole herd. Each of these is a proposal. A fence change takes effect only when an authorized operator approves it and DVSA issues a new revision. When a compliance question cannot be settled from what was captured, GeoVARNet-E may request a bounded reinspection of archived footage, exactly as it does for any other claim.
The extension should ship in the same order the contract already prescribes for live integrations. The first release is entirely archive-side. Fences are records, compliance is judged from recorded footage and telemetry, and privacy fences govern what is published. That gives operators an auditable answer to "did we stay where we said we would" for every flight already in the archive, with no flight-control integration at all. The second release adds fence distribution and event reporting through a flight-provider adapter, behind the same preflight checks used for any provider. The SDK revision is pinned. Supported fence geometries and cue levels are declared. A known-input replay confirms that a vehicle enforces a test fence as specified. A failed preflight leaves live enforcement disabled for that deployment. Only after that does the planner use live shift cues to rotate coverage in real time.
Conformance tests follow the same pattern as the rest of the contract. With two different flight providers given identical fence revisions and identical tracks, compliance claims and their citations must match while provider lineage stays distinct. Invalid geometry, an unknown coordinate reference, a missing altitude bound or an unacknowledged revision must fail closed. A telemetry gap, a link outage and a completed run with no events must remain distinct states. A revoked or expired fence must stop being enforced as current and must remain resolvable for judging past flights. Removing the live integration must leave every archive-side compliance claim unchanged. Quality is measured separately from cost. Breach detection precision and recall are measured against labeled tracks, along with false compliance rate, cue escalation rate and intervention rate per flight hour. Latency is measured from fence approval to fleet-wide acknowledgement, at matched connectivity budgets.
The livestock lesson that carries over most strongly is not about hardware. A good boundary is one that is rarely felt: the gentle cue does almost all the work, and the hard intervention exists mainly so that the gentle cue can be trusted. A fleet governed this way flies inside lines drawn by people, kept by the vehicles themselves and verified against the evidence the archive already holds. That keeps the contract's central promise intact: the system that publishes what happened is never the system that was merely asked to make it happen.