← All projects

ZeroOS

Local control at 8 kHz, measured on hardware.

ZeroOS is the proprietary Rust microkernel for edge robotics. Tests on ESP32-P4 executed over 5 million synthetic control steps at approximately 8 kHz alongside Ethernet load, with no detected missed deadlines during the observation period. A path from the kernel to autonomous applications, supported by physical-board measurements.

Propose a collaboration

Technologies in use

Rust · #![no_std] · RISC-V / ESP32-P4

Today

Physical tests, 4 November 2026: 5,040,308 steps in 630.031 seconds. Actuators were not enabled in the test profile.

Planned development

Extend test duration and conditions, qualify maximum execution times and integrate sensors, actuators and physical stopping.

Over five million steps. On a physical board.

ZeroOS was tested on a Waveshare ESP32-P4-NANO-WIFI6-DB with chip revision 3.1 at 400 MHz. The test combines an active synthetic PID controller and diagnostic Ethernet traffic. A PID is a regulation algorithm: here it processes test data without driving a motor.

Observed step frequency
8,000.10 Hz
Steps executed in 630.031 seconds
5,040,308
Maximum of the local software response window
10 µs
Detected missed deadlines, faults and restarts in the test
0

Timing comes from local firmware software counters; timing maxima are recorded since boot. The 10 µs figure is the observed maximum of the measured window, not electrical interrupt latency, the full duration of every instruction or actuator response. Actuator outputs were not enabled.

Why it matters

The frequency is more than a timer setting: the synthetic computation advanced through over five million steps while the node handled network load. This provides an experimental basis for control close to the device and for separating local computation requirements from communication delays.

Less time in the measured kernel paths

A physical before/after comparison, using the same compilation settings, clock and load plan, measures reductions in instrumented kernel windows. The profile’s protections were retained.

Less time in the measured kernel paths
Measured windowBeforeAfterReduction
Call dispatch9.839 µs6.082 µs38.2%
Dispatch with task change9.951 µs6.535 µs34.3%
Accounting and tick3.779 µs1.765 µs53.3%
Instrumented trap window12.386 µs8.751 µs29.3%

These are means of partial software windows from two instrumented images observed for 65 seconds each with a 60-second Ethernet plan. Probes sample approximately one event in sixteen and add their own overhead. Windows can overlap and must not be added together. They do not measure a full context switch or the absolute timing of the final image without probes.

Verification alongside development

108 Rust tests

Passed in both the ordinary configuration and with all features enabled.

24 Python tests

Passed in the documented 4 November suite.

14 emulation scenarios

Checks of the kernel and protected application domain in the Espressif emulator.

≈ 280 KiB

286,672 bytes for the final application image; not the size of the complete boot chain.

The kernel transition comparison covers 16,384 cases against reference behaviour. Earlier distributed tests include three nodes in emulation: this is software evidence separate from the single physical-board test.

Local control and networking: separate measurements

The parallel Ethernet diagnostic plan lasts 601.046 seconds. Round-trip times, or RTTs, include the PC, LAN and board. The p99 percentile is the time within which 99% of received responses fall; losses are reported separately.

Local control and networking: separate measurements
PhaseResponses / requestsRTT p99Maximum RTTLoss
Sequential117,316 / 117,3160.37 ms16.08 ms0%
Four clients604,425 / 604,4250.47 ms108.31 ms0%
Sixteen clients718,929 / 720,3440.67 ms125.70 ms0.196%

Maxima and losses remain part of the result: the test does not demonstrate Ethernet timing always below 1 ms. The control observer lost 48 diagnostic queries; control frequency, deadlines and maxima come from cumulative local firmware counters rather than continuous host observation.

Local behaviour under verification

Tests include network-reference expiry and zeroing of the software test controller, without automatic reactivation when data returns. Authenticated communication, rejection of invalid messages and recovery after updates were exercised in their respective scenarios. These results do not qualify physical robot stopping or constitute safety certification.

Measurement conditions and boundaries

A prototype and a defined test scope

Physical results refer to the documented ESP32-P4 board. They do not automatically transfer to ESP32-S3 or other devices.

Observed timing, not universal guarantees

The observation period is approximately ten minutes. Worst-case execution time, or WCET, requires dedicated qualification. Zero jitter or superiority over FreeRTOS, Zephyr or other kernels is not claimed.

Actuators and power still to be measured

Motor interfaces and behaviour, physical stopping, prolonged stress and power consumption remain to be validated. Timing optimisations are not measurements of energy savings.

Next phase

Integrate and test sensors and actuators, extend test duration and stress conditions, qualify maximum execution times and compare other kernels under equivalent conditions. These measurements provide a basis for assessing industrial collaboration and product development.

The problem

A distributed robotic system must maintain local control while communicating and managing its operation. ZeroOS addresses this with an Exec-inspired real-time microkernel written in Rust. The significant step is the transition from architectural objectives to a prototype running and measured on a physical microcontroller.

Intended applications

Application directions include edge robotics, autonomous systems and drones. The port currently tested uses RISC-V ESP32-P4; other platforms and integration with MIAR applications remain developments to validate. The 8 kHz test uses a synthetic controller: it does not yet demonstrate control of a physical joint or robot.

Research and development

The proprietary kernel is written in Rust with #![no_std]. Local communication transfers data ownership without additional payload copies; this property is not extended to networking between separate chips. The project includes a protected application domain, authenticated communication and signed updates with recovery of the previous version, verified in their respective tests. Timing, electrical and operational-security qualification remains open.

Investing in
technology development.

MIAR welcomes conversations with investors interested in its proprietary technologies: ZeroLLM for AI inference, Robots and Stratosfera for application directions, and ZeroOS for distributed real-time control. Contact us for an initial discussion about development plans and commercial prospects.

Discuss an investment