Motion KernelApsis Motion Labs

Motion Kernel

A real-time motion layer for robot and exoskeleton joints: firmware for the joint drive, a hard real-time core on the host, and a ROS 2 bridge, with one interface across drives.

Status: in design. No code is released yet. "Motion Kernel" is a working name. We plan to release it as open source; the licence is TBD. This page lists what we are building and how we will test it. It will link to the repository once the repository is public.

Layers

LayerRuns onLoop rate (target)What it does
Drive firmwareThe joint drive's microcontroller5–40 kHzCurrent and torque control. Impedance command (position, velocity, stiffness, damping, feed-forward torque) with setpoint interpolation. Disturbance observer for external torque. Friction compensation. Local safety reflexes and passivity limits.
Real-time coreLinux with PREEMPT_RT; later Zephyr or a microcontroller1–4 kHzSynchronous input and output across all drives on the bus. Cross-joint terms. Coordinated fault handling and stop.
Userspace and ROS 2 bridgeLinuxSet by the applicationHost SDK and the ROS 2 interface.

Hardware description

Each robot or exoskeleton is described in a devicetree-style file (.dtsi) with overlays per build: which drives sit on which bus, their node IDs and the joint each one moves. The same description is used to find, check and update every drive from one connection.

Buses and protocols

ItemPlan
BusCAN FD first. Other buses: TBD.
Joint commandImpedance command as above, compatible with the widely used MIT-mode CAN command
Diagnostics and firmware updatesUDS (ISO 14229) over ISO-TP (ISO 15765-2)
Hardware descriptionDevicetree-style .dtsi plus overlays

Supported drives

DriveStatus
Apsis Motion Labs drivesIn development. We plan to build our own drives on this kernel.
Actuators that accept the MIT-mode CAN commandPlanned

How we will test it

We will compare the kernel with a typical Python and ros2_control set-up on a one- or two-joint rig, and publish the method with the results.

MeasurementWhat it shows
Loop timing jitterHow steady the control period is under load
Tracking errorHow closely the joint follows a commanded trajectory
Maximum stable stiffnessThe highest stiffness the joint holds without oscillating
Back-drive and interaction torqueThe torque needed to move the joint from the output side
Coordinated stopTime from a fault on one joint to all joints in their safe state
External-torque estimateThe kernel's sensorless estimate compared with a load cell

Planned open release

The kernel, the drive interface specification, the observer and control framework, the SDK, the ROS 2 bridge and a simulation backend. Exact scope and licence: TBD.

Contact

For questions, see Apsis Motion Labs contact.