Neuro-Rehab Middleware

Decode. Stimulate. Iterate faster.

Closed-loop middleware sitting between your electrode hardware and stimulation commands. Raw signals in, validated nerve-stimulation pulses out. The firmware layer your device team would otherwise rebuild from scratch.

CH 01 CH 02 DECODER spikes/s 142 latency 4.2ms safe-state OK STIMULATOR freq 30 Hz pw 200 us charge 14 nC
The Integration Problem

Neural device teams spend engineering cycles on infrastructure, not therapy

Every neuro-rehab device project rebuilds the same signal chain from scratch: acquisition drivers, artifact rejection, spike detection, safety limits, stimulation scheduling. Ruten provides that layer so your team can focus on the therapy protocol.

Signal Acquisition
Hardware-agnostic drivers for multi-channel EEG, ECoG, and EMG electrode arrays. Streaming, buffering, and synchronization handled at the firmware layer.
Neural Decoding
Embedded spike-sorting, threshold crossing, and feature extraction optimized for Cortex-M class processors. Designed for sub-10ms decode latency on-device.
Stimulation Control
Charge-density safety envelopes, interpulse interval scheduling, and closed-loop feedback dispatch. Parameters are configurable at the protocol layer, not hardcoded.
How It Works

Four layers, one SDK

The Ruten SDK is structured as four bounded layers, each with a defined API surface. Device firmware calls the acquisition and decode APIs; your protocol logic calls the stimulation dispatch API.

01
Acquire
Electrode array data streamed through hardware abstraction layer. Supports SPI, I2C, and UART amplifier interfaces.
02
Decode
Artifact rejection, spike detection, and feature extraction run in the embedded decode engine. Output: intent vectors at configurable update rates.
03
Validate
Safety envelope enforcement checks charge density, pulse width, and IPI against configurable device-specific limits before any command reaches the stimulator.
04
Stimulate
Validated stimulation commands dispatched to the stimulator driver layer. Safe-state handlers triggered automatically on fault detection.
Platform Capabilities

Built for rehabilitation device workflows

Motor intent decoding for upper-limb rehabilitation

The Ruten SDK decodes motor intent from cortical population activity and translates it into stimulation commands for upper-limb functional rehabilitation. The decode pipeline runs on-device without cloud round-trips.

  • Threshold-based spike detection with principal component separation
  • Configurable decode update rates from 100Hz to 2kHz
  • Intent vectors mapped to stimulation parameter sets via protocol config files
  • Real-time latency budget tracking with watchdog alerts
ELECTRODE 96-ch ECoG DECODER 4.2 ms STIM validated SAFETY LAYER charge_density 14 nC/ph max_pw 200 us status PASS

EMG-driven functional electrical stimulation

Ruten's FES control module uses residual EMG as the intent signal for upper-limb functional electrical stimulation. The signal chain handles amplification, envelope extraction, threshold gating, and FES command generation in firmware.

  • EMG envelope extraction with configurable smoothing window
  • Threshold gating with hysteresis to prevent oscillation
  • FES command mapping: EMG amplitude to stimulation current
  • Safe-state detection on signal loss or over-threshold events
EMG RAW ENVELOPE threshold FES CMD 30Hz 1.2mA

ECoG firmware for implanted rehabilitation devices

Implanted ECoG devices require firmware that handles power budget constraints, packet loss recovery, and safe-state handling on hardware that cannot easily be updated in the field. The Ruten SDK addresses these constraints at the architecture level.

  • Power-aware acquisition scheduling with duty-cycle control
  • Packet loss recovery with sequence numbering and retransmit logic
  • Safe-state machine with configurable fault response levels
  • Designed to align with IEC 60601 firmware safety requirements
APPLICATION LAYER (protocol config) DECODE ENGINE SAFETY MONITOR HAL (hardware abstraction layer) ELECTRODE HARDWARE power 3.2 mW avg safe-state 3-level
Designed For

Who builds with Ruten

Device teams working on neuro-rehabilitation applications who need reliable closed-loop middleware without building the signal chain from scratch.

Medical Device Firms
Teams developing implanted or wearable rehabilitation devices that require a closed-loop signal chain with safety-compliant firmware architecture.
Research Labs
University and clinical research groups prototyping BMI rehabilitation systems who need a hardware-agnostic middleware that shortens the bench-to-protocol path.
Platform Integrators
Software teams building rehabilitation platforms on top of commercial neuro hardware who need a consistent API across different electrode and stimulator vendors.
Why Ruten Exists

Built by engineers who kept hitting the same wall

Closed-loop neural interface work taught us that every project rebuilds the same three things: a hardware abstraction layer, an artifact-rejection pipeline, and a safety envelope for the stimulator. Ruten was founded in Cambridge in 2023 to make that a solved problem, not a recurring cost.

4 Closed-Loop SDK Layers
<10ms Target Decode Latency
3+ Electrode Array Families
IEC 60601-Aligned Design

Working on a closed-loop rehab device?

We are actively recruiting design partners for early-access integration. Request SDK access, read the API documentation, or contact the team to discuss your specific firmware architecture.