Recorded results · real hardware

Mid-run servo swap: position out, velocity-only in

Not a recalibration. A different control problem.

The same command now sets speed, not angle, and nothing told the system. Synapse Runtime held target again 78 seconds later, with no downtime and no retrain loop. Everything runs on a five-dollar ESP32 microcontroller, learning included; a laptop only logs.

The result

  • 78 s

    To the first hold with the new servo

    Holding at 96 s. The board never stopped or restarted.

  • 4 of 4

    Recovered, learning live

    The same swap four times in simulation. Without live learning, the same network and rule recovered 0 of 4.

  • 5 h 44 min

    On target before the swap

    On target within 5 minutes of a blank network, then in its band 94% of the time over 68,694 live lessons. 48 neurons.

Why it matters

Machines get repaired with the part that fits, not always the part that was designed in. Today a different kind of part means downtime: an engineer reworks the controller while the machine waits. Here Synapse Runtime settled onto the new part on its own, with no retrain loop, and kept learning.

The same kind of repair on a full vehicle, in simulation: the pit stop.

The swap

A position servo goes to the angle it is sent and stays there. A velocity servo spins at the speed it is sent and keeps going, so holding still means something different on each.

Before: SG90After: FS90R
A command meansGo to this angleSpin at this speed
TravelAbout 180°Full 360°, continuous
To hold stillSend the same commandSend exactly “stop”
The stand from above: the servo turns a pointer through a link, and a knob sets the goal.
The stand from above. The servo turns a pointer through a link; a knob sets the goal.
The real stand: the SG90 servo mounted on a box, the FS90R spare beside it, the ESP32 board below, green light on.
The real stand, from a later run: the SG90 mounted, the FS90R spare beside it, the ESP32 below. Green means on target.

The run

  1. On target

    5 h 44 min on target with the SG90, learning live the whole time. It had never seen a velocity servo.

  2. Swap

    The FS90R goes in. Nothing tells the system. The pointer thrashes.

  3. First hold

    On target with the new servo.

  4. Holding

    Holding target, still learning live on the chip.

  • Given: a goal, a startup sweep, small test moves, a hold band and one rule, all the same before and after the swap.
  • The rule: if a repeated command keeps the pointer moving, every command becomes a 20 ms poke with the centre command between. The trigger is the pointer’s behaviour, never the servo type. The SG90 never tripped it.
  • Learned: what each command does, which way to poke, how hard, and when to stop poking.
  • Not given: the servo type, any signal that something had changed, a reset, pretraining or labels.

Recorded on the chip, 27 October 2026. Times are from the swap. The run without live learning was in simulation.

Does it last?

Learning on the machine is only useful if it can keep going. Two guarantees are proved and machine-checked in the Lean proof assistant: it cannot diverge, and it cannot lose its ability to learn. This run had been learning live for 5 h 44 min when the part was swapped, and kept going. The longer Synapse Runtime learns, the better it gets.