Local safety interface matrix
Status and use
This requirements register implements ADR-0006. It assigns functional interfaces and evidence owners; it is not a GPIO allocation, terminal schedule, construction approval or physical validation record. Required physical functions below remain unverified in the committed baseline. Required instrumentation is distinct from optional diagnostics, and required functions may use an alternative only after a reviewed equivalence/failure analysis.
Before enabling a real interface, its assembly owner must commit an interface revision naming endpoints, part/revision, supply and voltage/isolation, connector/conductors/GPIO where applicable, polarity, boot/reset state, valid range/units/frame, debounce/freshness, cable/open/short/stuck failure detection, response bounds, protection/isolation and tests. The configuration must reference that revision and the evidence for its exact test/operating stage. Reserved wire pairs and BOM entries are not proof of a completed interface. No new pins or circuits are allocated here.
Evidence gates
| Gate | Required record and meaning |
|---|---|
| D — design/source | Reviewed hazard/interface/configuration revision, chosen limits and acceptance procedure; source/contract checks for any implementation. Merging this register assigns requirements but does not complete electrical/mechanical design review. |
| S — simulation | Deterministic fixtures for normal, missing, stale, contradictory and interrupted behavior, with expected invariants. Only verifies the declared software/model. |
| B — bench/HIL | Approved secured rig or controlled substitute; exact actual target/wiring revisions, calibrated instrumentation, fault injection and measured response. Logical HIL outputs do not establish loaded mechanical stopping. |
| F — secured frame | Accepted component prerequisites, controlled four-line load, exclusion zone, measured forces/clearances/stopping and recovery under frame conditions. |
| I — installed | As-built site/configuration and measured operating envelope, field cable behavior, access/weather/clearance, maintenance and power-loss acceptance. |
| Q — qualified review | Applicable electrical, structural and physical-safety review, accepted residual risk, recovery and inspection procedures for the intended installation. Source authorship is not this review. |
Gates are cumulative only for applicable prerequisites: B may be authorized for an isolated rig before F/I/Q installation acceptance. Each B/F test still needs competent review of its own hazards and procedure. Software mocks cannot pass B, and a real board with substituted inputs cannot validate absent sensors, restraint or loaded stopping. Later-stage authorization fails on missing, failed or inapplicable evidence unless the reviewer explicitly approves a bounded alternative for that stage. #79 owns the eventual release evidence index; the current physical gates are pending.
Motion, fault and stop interfaces
In the following tables, the owner is accountable for the interface revision and evidence; runtime authority identifies who must enforce it without a browser/cloud response. Fault responses are requirements, with final physical sequencing chosen through D/B/F evidence rather than guessed here.
| ID and required function | Owner / runtime authority | Endpoints and interface requirement | Missing baseline or fault response | Evidence before affected capability |
|---|---|---|---|---|
| LS-01 Workspace, travel, speed/acceleration and force bounds | Site/winch-owned line configuration; edge and Pico each reject outside their loaded envelope | Reviewed configuration/calibration → edge → Pico; units, coordinate frame, assembly identity and independent per-axis/trajectory limits | Unknown/mismatched reference, calibration, revision or bound inhibits motion; geometric pose/force prediction alone is insufficient | D/S invalid/stale configuration tests; B real execution limits/timing; F/I measured position/force/stopping envelope; Q installed limits |
| LS-02 Synchronized STEP/DIR output | Cabinet/winch interface; Pico trajectory executor | Pico → four CL57Y-V20 input circuits; retain only existing GP2–GP9 baseline assignments; voltage/current thresholds, returns and pulse timing still require review | No new pulses during inhibited startup/reset; stopping pulses does not remove energy or establish restraint. Direct 3.3 V and outdoor-run integrity unverified | D interface/manual review; B scope/logic measurement with realistic cables and motor noise; F/I false-step, synchronization and stop-distance tests |
| LS-03 Driver enable/inhibit and actuator-energy isolation output | Cabinet and endpoint assembly; Pico/pod normal inhibit plus independent protective path | Local controller/protective circuit → each motor driver and reviewed motor, pod or dock-release energy branch where applicable; independently effective inhibition, safe power/reset states and feedback/inspection of effectiveness | ENABLE/ALARM blue pair is reserved, not implemented. A failed or stuck enable must not defeat the independent path. Disable/isolation can release holding torque; require restraint | D electrical/energy/independence design; B open/short/stuck output and partial-power tests; F/I measured mechanical effects; Q electrical/physical review |
| LS-04 Driver alarm and encoder-loop fault input | Winch/driver interface; Pico latches and edge coordinates recovery | Each driver fault output → reviewed local input; distinguish healthy, alarm, missing supply, disconnected cable and unknown | Encoder loop ends at driver. Alarm reporting to Pico is unavailable; no numeric following error is available. One-axis fault inhibits coordinated normal motion, with state-specific restraint/stop | D alarm semantics/circuit; S fault fixtures; B following-error/alarm/cable/driver-loss injection; F/I loaded single-axis response |
| LS-05 Home/reference input and bounded homing | Winch; Pico, with edge recovery authorization | Each axis reference device → reviewed Pico input; direction/order, travel/time/force bounds, debounce and reference plausibility | Switch/input circuit unreviewed; no reference means no position-ready assertion. Homing after a line/power fault requires a separately safe procedure | D mechanical actuation/circuit/procedure; S stuck/bounce/timeout/contradiction; B repeatability and faults; F/I safe coordinated homing |
| LS-06 Independent hard travel-limit input and inhibit output | Cabinet and winch; independent protection, with Pico observation | Independent travel device/path → protective inhibition; diagnostic state → Pico; separation from normal planner/soft limits and justified common-cause coverage | Limit architecture/polarity/routing absent. Home switch is not automatically an independent hard limit. Limit/cable fault inhibits affected operation | D independence/failure analysis and circuit; B planner/Pico/edge failure with limits still effective; F/I loaded travel and response; Q safeguard review |
| LS-07 Local emergency stop/isolation input and output | Cabinet/site access; independent local protective path and operator | Accessible local emergency device → reviewed stop/isolation circuit and actuator branches; diagnostic status → controllers; lockout separately defined | BOM switch alone is insufficient. Local action must work without cloud, edge or healthy Pico; reset never restarts work. Physical safe response needs stored-energy/restraint analysis | D accessibility/energy/stop strategy; B controller-failure and output-state tests; F/I local actuation, isolation and retained clearance; Q electrical/physical review |
| LS-08 MCU stall/watchdog/brownout supervision | Cabinet/controller; Pico internal supervision plus independent protective path | MCU execution/health and supply → internal watchdog/reset; independent supervision → inhibit/restraint path; diagnostics → edge | Normal heartbeat is not independent protection. Stall, reset or partial power enters inhibited/recovery-required state; restraint must survive loss of torque | D independence/reset-output analysis; S reset fixtures; B parser/interrupt load, loop stall and brownout timing; F/I restrained reset/power tests; Q physical review |
| LS-09 Local communication and manual deadman | Edge, Pico and pod; each receiving local runtime | Authenticated bounded commands/lease epochs and monotonic deadlines across edge↔Pico/pod; edge observes cloud/browser session loss | Expiry/link loss invokes locally bounded stop/abort policy, rejects replay and latches relevant faults; cloud completion/audit acknowledgement is never needed to stop | D deadline/fencing policy; S duplicate/stale/partition fixtures; B actual link loss and process stalls with measured latency; F/I bounded mechanical effect |
Required measurements and permission inputs
These are required safety functions for the affected operational capability. Selecting sensors or an alternative means of demonstrating the function remains engineering work. Each signal has an explicit freshness/uncertainty threshold chosen under D; unavailable or stale data cannot satisfy its prerequisite.
| ID and required observation | Owner / runtime authority | Endpoints, quantity and required distinction | Current evidence gap and response | Evidence before affected capability |
|---|---|---|---|---|
| LS-10 Line tension, slack, overload and line continuity | Winch-owned lines/corner structure; Pico protective response and edge policy | Per-line physical load/slack evidence → locally effective evaluator; calibrated force in N and detection of loss/excess load, including powered line; sensing or justified alternative not selected | Per-line tension unavailable. Motor current/driver health/geometry cannot assert positive tension or intact line. Unknown/out-of-range evidence inhibits dependent loaded motion; do not automatically home after line failure | D sensor/alternative selection, uncertainty, load thresholds and latency; B calibrated force/slack/jam tests; F/I four-line dynamic/load-loss/clearance tests; Q structural/physical review |
| LS-11 Reference, line length and pod position confidence | Winch-owned lines/site calibration; Pico bounds and edge geometry | Home input measures only reference state; physical length/pose observations → calibrated evaluator; m/rad and named frame; independent bench/site metrology for comparisons | Encoder counts are unavailable to Pico. STEP counts are commanded; calculated length/pose estimated. Reset, line slip/change or uncertain calibration invalidates position-ready; reviewed instrumentation/alternative required for operating envelope | D reference/position-error model and acceptance tolerance; B externally measured payout/reversal/slip; F/I surveyed pose/clearance and fault recovery; Q accepted workspace |
| LS-12 Power, branch fault and brownout margin | Cabinet/powered winch/line/pod; local protection, Pico and pod health handling | Supply/branch/48 V line/5 V pod rail → reviewed local measurements/protection; V/A, minima/transients and sample bounds; target power-good and reset causes where supported | Hardware voltage/current measurement not demonstrated; software undervoltage flag is only that diagnostic. Loss/intermittency/short inhibits affected work, protects branch and preserves restraint; no guaranteed cloud warning before collapse | D supply/protection/measurement/energy design; B rail transients under servo/capture/Wi-Fi/motor load and safe controlled faults; F/I worst extension/partial-total power loss; Q electrical review |
| LS-13 Thermal and enclosure health | Cabinet/winch/pod; local module protections and edge policy | Measured temperatures/protection status or reviewed conservative duty/inspection envelope → local permission; °C with source/location and exposure limits | Temperature/humidity sensors are not established. CPU temperature alone cannot prove motor/converter/cabinet health. Exceeded or indeterminate required envelope blocks affected work | D heat/condensation limits and observation method; B worst duty/enclosure measurements and overtemperature response; I environmental tests/inspection; Q relevant review |
| LS-14 Weather and exposure permission | Site/edge with cabinet environmental protection | Local environmental observation/approved operator inspection or reviewed sensing → edge operating permission; evidence for wind, rain, lightning, temperature/ice, validity and expiry | V1 weather policy excludes an anemometer; catalog sensor entries do not enable it. Wind speed/rain readings remain unavailable. Forecast alone is insufficient; unknown/adverse local conditions reject new jobs and select safe state-dependent response | D local policy, thresholds and offline validity; S unknown/stale/change fixtures; B input/permission failure; F/I weather/blocked-dock scenarios; Q accepted environment |
| LS-15 Area clearance, guard and maintenance permission | Site/cabinet/winch; local operator/protection and edge maintenance lock | Physical access/guard/lockout inspection or reviewed interlocks → local permission; remote/scheduled work inhibited, deliberate service authorization | No person/guard detector is established. Remote click cannot prove clearance; missing guard/exclusion/isolation is a stop condition. Loss of service permission blocks restart/lowering | D access/guard/energy-control procedure; S remote-start conflict; B/F lockout and local stop rehearsal; I/Q access, maintenance and return-to-service acceptance |
Dock, restraint and pod outputs
| ID and required function | Owner / runtime authority | Endpoints and interface requirement | Missing baseline or fault response | Evidence before affected capability |
|---|---|---|---|---|
| LS-16 Dock/latch engagement and release confirmation input | Dock; Pico observes local inputs, edge owns state transition | Sensor(s)/verified retention observation → reviewed local inputs → edge; independent of coordinates, with debounce, plausibility, stale/stuck/disconnected detection and release evidence | Sensor/redundancy and release confirmation unreviewed. A switch reading alone cannot prove structural capture; ambiguity prevents Parked, departure and updates |
D sensor/load-path/plausibility design; S inconsistent fixtures; B capture/release/stuck tests; F/I envelope, wear and no false Parked; Q load review |
| LS-17 Latch release output | Dock/cabinet/pod-side interface if fitted; edge sequences, local endpoint bounds action | Local controller → reviewed release actuator; supply, startup, command deadline, maximum actuation and loss-of-power position defined; no GPIO/actuator selected | Release method unavailable. Require established tension/restraint before release, positive release/clearance evidence before departure; no unattended retry or motion against latch | D actuator/energy/sequence; B jam, timeout and power interruption; F/I restrained release/recovery and cycle tests |
| LS-18 Update-safe restraint and retained line clearance | Winch/dock/site; cabinet isolation and edge preflight lock | Mechanical pod support and all four line restraints → positive confirmation/verified local procedure → update permission; released assembly/configuration and evidence IDs | No accepted brake/drum lock or passive clearance solution; dock latch alone insufficient. Unknown restraint denies loaded/installed controller reboot/update and other torque-loss actions | D complete/partial-power load path and recovery design; B secured fixture reset/disable/slip; F measured loaded clearance across interruption; I actual-site power-loss clearance; Q structural/electrical/physical acceptance |
| LS-19 Gimbal outputs, capture interlocks and pod health | Camera pod; pod runtime independently bounds outputs, edge sequences jobs | Reviewed servo/camera interface, calibrated rad/degree ranges, settled/stopped permission, bounded command lifetime and health/reset status → pod; loss status → edge | Servo commands are commanded angles; measured gimbal angle unavailable. Prevent motion-pose conflicts; pod/edge loss, undervoltage or reset ends unsafe outputs and inhibits dependent jobs without winch reliance on pod software | D hard/software geometry and output states; S stale/interlock/reset; B range/ribbon/stall/settling/power/link tests; F/I integrated stop→gimbal→settle→capture behavior |
Optional debug signals
| Diagnostic | Owning interface and present status | Boundary |
|---|---|---|
| Exported driver encoder counts/following error or added drum-angle sensing | Winch → reviewed adapter; encoder currently driver-local; no accepted Pico measurement interface | May improve diagnosis/calibration, but shaft angle alone is not line tension or global pod pose. Catalog AS5600 entry does not establish a fitted/tested input. |
| Motor current waveform, IMU/attitude, vibration or extra environmental sensors | Relevant winch/pod/site instrumentation → tagged diagnostic stream; not established | Optional until accepted as a required safety input through D and its physical gates; do not infer force, clearance or acceptable weather from an unvalidated proxy. |
| CPU load, memory, RSSI, raw scopes and verbose logs | Edge/pod/Pico software or external instruments; expose only supported values | Debug evidence cannot clear a physical gate. Rate-limit/bound diagnostics so they cannot starve protection, control or local storage. |
Both UI modes must show source/age/quality and unavailable capability reasons. Optional diagnostic absence must not invent a fault, while absence of a prerequisite in LS-01–LS-19 must block its affected capability. Recording remains deferred and disabled; viewing/capture, usage accounting and durable audit are separately owned by the software program. Media, updates, cellular-budget exhaustion and failed audit upload cannot inhibit a local emergency response.
Fault-injection coverage and recovery gates
| Scenario | Required locally observed behavior | Owners, IDs and minimum evidence |
|---|---|---|
| Cloud/browser/WAN outage, duplicate or delayed/reconnected command | Expire manual authority; do not replay. Approved autonomous work follows only its accepted local continuation/abort policy; no cloud acknowledgement for stop | Edge/Pico/pod, LS-09; S plus B actual disconnect; F/I mechanical response |
| Edge crash, local-link failure, MCU scheduler stall/watchdog or pod reset | Each endpoint enforces own bounds. Independent path survives normal-control failure; boot/recovery remains inhibited | Cabinet/Pico/pod, LS-03/06/08/09/19; S/B measured timing; F/I restraint/stop |
| Single driver alarm, missing driver power, encoder loop failure, cable/line break, slack, jam or overload | Latch fault, inhibit coordinated work, use reviewed load-dependent stop/restraint; no blind return-home/homing | Winch/line/cabinet, LS-03/04/10/11; B safe fault substitutes; F/I controlled loaded tests and Q |
| Home/limit/dock input open/short/stuck/bouncing or disagreement | Detect or prevent dangerous undetected failure through reviewed diagnostics/independence; never assert referenced/parked/update-safe from ambiguous data | Winch/dock/cabinet, LS-05/06/16/17; S/B; F/I capture/reference validation |
| Brownout, one rail lost, total power loss, restart during update | No uncommanded output or lease/job resurrection; preserve accepted pod support/line clearance; reconcile references and recover under procedure | Cabinet/winch/dock/edge/pod, LS-08/12/18/19; B then F/I/Q interruption/clearance acceptance |
| Unknown/adverse weather, person entry, missing guard or unavailable dock | Reject dependent work; apply reviewed stop/hold/restraint or controlled recovery for that state; no automatic low maintenance position | Site/edge/dock, LS-14/15/16/18; S policy tests; F/I physical access/weather/failed-dock procedure and Q |
Recovery authorization must name the fault, inspected configuration, valid references/observations, released restraint/isolation conditions, bounded next action and reviewer/operator. It cannot be a generic remote clear-fault. Commit records under the commissioning record requirements, with LS IDs, measured detection/response times, raw traces, limits, failures and stage-specific result. Current ownership/follow-ups are recorded in ADR-0006.