AutomataNexus LLCNexusKestrel Paper · December 2026
Field controller · Protocol gateway · Site supervisor · Pure Rust

NexusKestrel:
the field controller,
on one microcontroller.

NexusKestrel talks to the equipment and building systems already in a mechanical room over their own field protocols, runs the same Talos control sequences as every AutomataNexus controller, scores each unit with its own Oxiryn fault model and keeps refining it on the device, and reports to the NexusEdge Console. All of it runs on the dual Hazard3 RISC-V cores of one Raspberry Pi RP2350B, with no Rockwell or Tridium licensing and no third-party runtime.

Author
Andrew Jewell Sr.
Organization
AutomataNexus LLC
ORCID
0009-0005-2158-7060
Contact
devops@automatanexus.com

Abstract

Commercial buildings are run by a patchwork of controllers that speak a dozen protocols, many of them closed, many of them out of support. Replacing them is expensive and disruptive; supervising them usually means a licensed front end and a server. NexusKestrel takes a different route: one low-power microcontroller that reads and writes the buses a building already has, runs proven control sequences locally, watches every unit with its own model, and reports outward over a single encrypted link.

This paper describes the two boards (the fully kitted NexusKestrel and the compact Kestrel Nano, one firmware), the protocol stacks, the Talos control engine, on-device learning with Oxiryn, the security model from secure boot to the write governor, and the limits we design to.

Executive summary

A mini-JACE in a DIN-rail box: protocol gateway, site supervisor and point controller in one, built and signed by AutomataNexus.

What it does

  • Protocol gateway and supervisor. Reads and writes BACnet, Modbus, PLCs, Niagara stations and legacy trunks, and brings those points into the Console. One Kestrel supervises up to 160 devices and 4,096 points.
  • Point controller. Sensors, valves, dampers, relays and drives wired straight to it, run locally by Talos with the Console supervising. Up to 16 pieces of equipment at once.
  • Integration bridge. Presents a unit to a customer's existing BAS as a native BACnet or Modbus device.

Why it is different

  • Every sequence is ported Talos Rust, the same logic that runs across our fleet, with its test suite (all 69 sequences).
  • Every command is read back. Every write from every source passes a change limit and a relay minimum off time, and is recorded in a tamper-evident audit chain.
  • The fault model for each unit is trained on that unit, runs on the Kestrel, and keeps learning there; a refined model is used only after AutomataNexus re-checks and signs it for that controller.

Two boards, one firmware

Both sizes run the same signed firmware on the Raspberry Pi RP2350B. They differ in I/O and network, not in what the software can do.

Kestrel NanoNexusKestrel
Made forProtocol gateway and site supervisor, with a little local I/OA plant, or several units, wired straight to the controller
ProcessorRP2350B, dual Hazard3 RISC-V, 520 KB RAMRP2350B, dual Hazard3 RISC-V, 520 KB RAM
Ethernet2 independent 10/100 ports (W5500), each with its own address1 x 10/100 (W5500)
Wi-FiNone2.4 GHz 802.11n, Raspberry Pi Radio Module 2
RS-4852, termination and bias switched in software2, termination and bias switched in software
LonWorks FT-10NoneTransmit and receive (build option)
Analog inputs2 x 0-10 V, 16-bit16, 16-bit, each 0-10 V or 4-20 mA
Thermistors2 x 10K Type II4 x 10K Type II on a precision reference
Dry contacts28
Analog outputs2 x 0-10 V, 12-bit8 x 0-10 V, 12-bit
24 VAC outputs2 solid-state8 solid-state, optically isolated, two banks
Power24 VAC/DC or 5 V, USB-C service port24 VAC/DC or 5 V, USB-C service port
TerminalsWAGO lever terminalsWAGO lever terminals, 80 poles
Board84 x 70 mm170 x 100 mm

Both mount on a 35 mm DIN rail and use tool-free lever terminals in labelled rows. The NexusKestrel adds 1-Wire (DS18B20), PIR occupancy and a Qwiic I2C port.

Field protocols

The Kestrel reads and writes its field buses. It is not a listen-only gateway.

ProtocolWhat the Kestrel does
BACnet MS/TPFull BACnet device on either RS-485 port. Master and client: reads and writes other devices at a set priority, each write read back
BACnet/IPFull BACnet device on UDP 47808, and supervisory client for routed BACnet networks. Off until a job enables it
Modbus RTUSlave for a BAS, master for drives, meters and boilers. ABB ACH580, ACS580 and ACS550 drive profiles built in
Allen-BradleyMicroLogix over EtherNet/IP with RSLogix addresses (N7:0, B3:1/0, T4:0.ACC). PLC mode and fault code monitored
Niagara AX and N4Through the station over oBIX, or under it, directly on the field trunk
Niagara R2 (UNC-510)Reads points over HTTP and writes analog outputs through the station, each write read back
Siemens APOGEESupervisor of APOGEE field panels over P2
Johnson Controls N2Decodes the trunk's polls and replies, so N2 points are read without disturbing the existing system
LonWorks FT-10Reads and writes LON devices as its own node on the channel (NexusKestrel with the LonWorks option)
Carrier CCNReads Carrier equipment directly as a CCN master
Trane Comm4Reads unit controllers and writes their occupied and unoccupied setpoints, each write read back
Staefa SMART II / NCRSConnects to the Staefa front end and commands its digital points

Pointed at an unknown RS-485 trunk, the Kestrel listens and reports what it hears, with its reasons. It also generates its own integration sheet: the BACnet object list, an EDE file for the front end's import, and the Modbus map. The protocol stacks are ported from NexusTap, our field protocol suite, as no_std copies with their tests.

Local control with Talos

Talos is the control engine of every AutomataNexus controller. On the Kestrel every sequence keeps its logic unchanged.

FamilyExamples from the 69 sequences
Air handlers and outdoor airAHU, DX AHU, make-up air, steam AHU, rooftop unit, DOAS
Zones and terminalsFan coil, classroom unit ventilator, VAV, zone reheat, heat pump
PlantsChillers and chiller plant, cooling tower, lead/lag and cascade boilers, steam, seasonal changeover
Pumps and loopsVFD pump pack, lead/lag pumps, loop pump plant, pressure booster
Pools, greenhouses, lightingNatatorium, pool controller, greenhouse plant, commercial lighting, load and water monitors
General-purpose loopsPID, linear, on/off, cascade, temperature modulation

Up to 16 pieces of equipment run on one Kestrel at once (8 with on-device learning running), each with its own sequence, parameters and inputs. That limit is a RAM design choice of about 2.5 KB per slot; the supervision limit of 160 devices and 4,096 points is separate. Every sequence honors its safety inputs: a failed sensor trips its limit and never reads as safe. Settings and point assignments change live from a signed settings bundle, with no rebuild and no restart.

Oxiryn on the device

Each monitored unit gets its own fault model, trained on that unit's own operating history and run on the Kestrel's processor.

Scoring

The model scores the unit every 3 minutes. After three abnormal scores in a row the Console shows a flag with the likely fault. Control always comes first: scoring and learning run only while the control loop has headroom.

Learning (Scholar)

  • What it learns from: the unit's install labels, set before field deployment.
  • How: one sample per pass, a pass every 250 ms while no field-bus write is waiting and the die is under 70 C. Nano-batch SGD on a float mirror of the packed model with the incumbent's quantization scales frozen, in about 88 KiB of SRAM. A pass holds the executor for about 1 to 2 ms.
  • Promotion: every 24 hours by default (1 to 168) a local gate runs; a pass goes to the AutomataNexus server, which re-judges the candidate against the model the unit was provisioned with: same header and scales, at most 30 % of codes moved, right on at least as many labels, and no new false alarm on a normal window. Only then is it signed.
  • Commit: the Kestrel verifies the server's Ed25519 signature against its baked key, writes the model to the slot that is not current (CRC, read back) and serves it. Anything else rolls back. At boot the newest slot whose CRC, signature and model all hold is served, else the baked model.

The models are built with Oxiryn, our bare-metal Rust ML framework. On the Kestrel it runs on the RP2350's Hazard3 RISC-V cores; on our Linux supervisors the same models learn in micro-batches.

Security

Secure from the chip up, and outbound only.

LayerWhat it does
Secure bootThe processor runs only firmware signed with the AutomataNexus key
Signed A/B updatesNew firmware runs on trial; if it does not prove healthy within five minutes the previous image is restored automatically
Outbound uplinkTLS 1.3 to our own certificate authority, pinned. No service is exposed to the internet; BACnet/IP stays off until a job enables it
NexusShield on the deviceEvery write from every source passes a change limit and a relay minimum off time and is recorded in a tamper-evident audit chain. Turning an output off is always allowed
Bus threat scoreA bus that misbehaves has its writes refused for 10 minutes; reads continue
Fail-safeOutputs power up off. If no supervisor is heard for 15 minutes while outputs are commanded, they return to off
Per-unit keysIts own key for every unit; uplink secrets are decoded on the stack at use; the image carries no panic strings, file paths or symbols
Stack guardA stack overflow faults instead of overwriting memory, resets, and an image on trial rolls back

Runtime and fault handling

TaskPeriodNotes
Sensor loop1 sOwns the 8 s watchdog. Thermistors, 1-Wire, PIR, rails, field I/O, die temperature
UplinkPush 30 s, poll 5 sTLS 1.3 to the Console, device CA pinned
Control2 sEach equipment in turn; relay minimum off time runs from power-up
Model scoring3 minFlag after 3 in a row
Scholarevery 250 ms with headroomPromotion every 24 h by default
Fail-safe900 sCommanded outputs return to off when no supervisor is heard
FaultResponse
Watchdog (8 s)Reset; an image on trial rolls back
Field device fails 3 timesMarked offline, retried every 30 s
Bad settings bundleWhole bundle rejected; nothing saved
Power cut during a settings saveThe other flash sector holds the previous settings
Unsigned model candidateDiscarded; the unit keeps its model
Wired LAN deadWi-Fi for 10 min, then retry (NexusKestrel)

Verification

GateWhat it covers
Firmware gateClippy with warnings denied on 21 feature sets; the tests of the shield, field-bus, Talos, link, Scholar and host crates; a link of the shipped images so a RAM overflow fails the gate
Talos sequencesAll 69 ported with their full Talos test suites run on every build
Four-reviewer gateBugs, errors, memory safety and hangs, security: separate reviewers, all green on the same tree before any deploy
Red-team passNexusProbe, 2026-10-25: no new exploitable issue
On hardwareConsole link, shell, settings, watchdog, secure boot, signed update and rollback, Ethernet with Wi-Fi fallback, BACnet/IP from a front end, on-device fault detection

NexusKestrel is in the field today as a supervisory module, reading and writing over BACnet/IP and MS/TP and APOGEE P2, reporting to the NexusEdge Console and to a site's existing front end.

References

  1. NexusKestrel brochure and user guide, AutomataNexus, 2026.
  2. NexusKestrel engineering reference: tasks, ports, flash layout, faults, build and signing.
  3. NexusKestrel firmware and security notes: Scholar on-device learning, secure boot, NexusShield-Kestrel, signed updates.
  4. NexusTap protocol suite: field protocol implementations ported to the Kestrel.
  5. Talos control engine: the sequence library shared by every AutomataNexus controller.