Source-linked AI summary

AccelMPC: High-Rate, Low-Power FPGA-Accelerated Model Predictive Control for Tiny Drones

Andrea Grillo, Brian Plancher

arXiv:2609.09380v1cs.ROeess.SY

TL;DR

Tiny aerial robots require fast constrained control, but existing cached MPC solvers cannot reliably sustain high rates on resource-constrained platforms. AccelMPC co-designs an FPGA-accelerated ADMM solver with numerical representation, hardware mapping, and a custom PCB, achieving 1 kHz onboard constrained MPC with improved speed and energy-delay performance.

  • Problem

    Resource-constrained tiny robots need high-rate constrained MPC, while prior cached solvers are forced to operate at reduced control rates when constraints require more iterations.

    Source: §I · p. 1
  • Method

    AccelMPC uses end-to-end co-design of an FPGA-accelerated ADMM MPC solver, numerical representation, hardware mapping, and a custom 6 g PCB.

    Source: §I · p. 1, A. Algorithm and Numerical Co-Design · p. 4
  • Results

    1 kHz onboard constrained MPC was demonstrated, with up to 15.6× faster solve time and 195.4× improved energy-delay product over embedded solvers.

    Source: §I · p. 1, B. Solver Benchmarks · p. 5
  • Takeaways & Limitations

    The system enables constrained trajectory tracking on a tiny quadrotor and scales to problems with over 20,000 optimization variables.

    Source: §VI · p. 7

Abstract

from arXiv · show

Unlocking the potential of tiny aerial robots requires order of magnitude improvements in the performance of embedded edge control. In particular, although recent cached model predictive control (MPC) solvers can handle the fast system dynamics and complex constraints required for agile drone flight, their computational demands remain prohibitive for resource-constrained robots, forcing prior implementations to operate at reduced control rates. AccelMPC overcomes this challenge through an end-to-end co-design approach that jointly optimizes the solver algorithm, numerical representation, hardware mapping, and physical integration. AccelMPC pairs a co-designed FPGA-accelerated alternating direction method of multipliers (ADMM)-based MPC solver with a custom 6g PCB, providing high-bandwidth communication for deployment on a 35g Crazyflie. Hardware experiments demonstrate 1 kHz onboard constrained MPC with dynamic obstacles, up to 15.6x faster solve times and 195.4x improvement in energy-delay product over state-of-the-art embedded microcontroller-based solvers, all while scaling to optimization problems with over 20,000 optimization variables and a comparable number of constraints. We release our PCB design files, firmware, and FPGA solver code open source.

I. INTRODUCTION

Tiny aerial robots need near-kilohertz feedback, but resource constraints limit onboard computation and prevent cached MPC solvers from reliably converging under active constraints. AccelMPC addresses this gap through FPGA-accelerated ADMM MPC and end-to-end hardware-algorithm co-design.

  • Tiny aerial robots face severe size, weight, and power constraints despite fast, unstable dynamics that demand feedback rates approaching kilohertz frequencies.Source: §I · p. 1
  • Cached MPC solvers can run onboard tiny drones, but limited ADMM iterations under active constraints force reduced control rates.Source: §I · p. 1
  • AccelMPC jointly optimizes solver structure, numerical representation, hardware mapping, and physical integration using an FPGA-accelerated ADMM solver and custom 6 g PCB.Source: §I · p. 1
  • 1 kHz fully onboard constrained MPC with runtime-updated bounds was demonstrated for dynamic obstacle avoidance on a 35 g Crazyflie.Source: §I · p. 1
  • 15.6× faster solve time and 195.4× improvement in energy-delay product were achieved over state-of-the-art embedded solvers while supporting more than 20,000 optimization variables.Source: §I · p. 1
  • The project releases PCB design files, firmware, and FPGA solver code open source.Source: §I · p. 1

B. ADMM for Solving the Linear MPC QP

The paper applies ADMM to a constrained linear MPC quadratic program by splitting the optimization with an auxiliary variable and alternating structured updates.

A. Embedded and Edge MPC Solvers

Embedded and edge MPC solvers trade generality, structure exploitation, and computational efficiency, but tiny quadrotor MCUs remain unable to sustain reliable constrained optimization at high rates.

B. FPGA-Based Linear MPC

This section develops an FPGA-oriented MPC solver by exploiting structured linear algebra, fixed-point arithmetic, and deterministic streaming execution. The design targets online constrained control on tiny aerial robots while preserving scalability and numerical fidelity.

  • No prior work combines FPGA-accelerated online MPC, onboard deployment, and closed-loop flight validation on a tiny aerial robot.Source: §IV · p. 3
  • AccelMPC jointly designs the optimization algorithm, numerical representation, hardware mapping, and physical integration, producing two FPGA solver mappings and a custom PCB.The project also releases the solver, firmware, and PCB design openly.Source: §IV · p. 3

Structured linear solve

  • The banded coefficient matrix enables streamed forward and backward substitution with cost O(Nvar) in the number of optimization variables.The bandwidth is determined by local stage coupling and is nearly independent of prediction horizon.Source: Figure 2 · p. 3, A. Algorithm and Numerical Co-Design · p. 4

Numerical representation

  • 32-bit fixed-point arithmetic reduces FPGA power and latency relative to floating point while introducing approximately 10^-6 m or less position-RMSE difference.Maximum constraint-violation and control-RMSE differences were approximately 10^-7.Source: A. Algorithm and Numerical Co-Design · p. 4

Deterministic execution

B. FPGA Datapath and Complementary Mappings

The FPGA datapath maps each ADMM operation to streaming hardware and offers complementary sparse and staged operator representations. These mappings share the solver and numerical format but trade energy, latency, and scalability differently.

Streaming datapath

Online solve

Trade-offs

Full sparse mapping

Staged mapping

  • The staged mapping reconstructs operator products during execution, yielding slightly lower short-horizon latency and substantially slower memory growth with problem size.Its improved scalability allows larger horizons on the same FPGA.Source: B. FPGA Datapath and Complementary… · p. 4

C. Custom PCB Design and Integration

AccelMPC uses a custom FPGA expansion board to overcome the resource and communication limitations of existing Crazyflie integration options. Firmware and high-speed links connect the solver to onboard state estimation and actuation.

Board motivation

Hardware design

Firmware integration

  • Modified Crazyflie firmware transmits runtime solver data, triggers optimization, retrieves the first control input, and updates constraint bounds through the same interface.Changing bounds between control cycles supports dynamic obstacle avoidance.Source: C. Custom PCB Design and Integration · p. 5

V. EXPERIMENTAL EVALUATION

Experiments compare TinyMPC on the Crazyflie MCU with two FPGA mappings across prediction horizons and evaluate speed, energy, EDP, and feasible iteration budgets. The FPGA implementations sustain the requirements for kilohertz-rate constrained MPC.

Solve time

  • FPGA implementations are up to 15.6× faster than TinyMPC across the evaluated prediction horizons.All three implementations scale approximately linearly with horizon.Source: B. Solver Benchmarks · p. 5

Physical integration

  • The fabricated 4×3 cm FPGA board mounts directly on the Crazyflie through its standard expansion interface.Source: Figure 3 · p. 5

Energy-delay product

  • FPGA implementations achieve 79.1-195.4× lower energy-delay product than TinyMPC.Full sparse uses less power but scales less well than staged.Source: B. Solver Benchmarks · p. 5

Iteration budget

  • Within a 1 kHz control period, TinyMPC cannot sustain a sufficient constrained-MPC iteration budget, whereas both FPGA implementations preserve multiple iterations across the evaluated horizons.The budget includes MCU-FPGA communication overhead.Source: B. Solver Benchmarks · p. 5

C. FPGA Architecture Tradeoffs and Scalability

The staged and full sparse FPGA mappings offer different energy, latency, and memory-scaling tradeoffs rather than a universally dominant design. Staged scales to much larger horizons, while full sparse is more energy efficient where its expanded operators fit on-chip.

D. Onboard Flight Experiments

Onboard flight experiments show that the FPGA controller preserves nominal tracking while enabling larger online optimization budgets and enforcing constraints during 1 kHz flight.

1) Unconstrained Figure-Eight Tracking:

2) Static constrained trajectory tracking:

  • At 1 kHz, the FPGA controller enforces box constraints onboard with H=27 and k=9, keeping the measured trajectory inside the admissible region.The reference intentionally violates the x- and y-coordinate bounds.Source: 2) Static constrained trajectory… · pp. 6–7

3) Dynamic obstacle avoidance:

The controller adapts online to moving obstacles by updating runtime constraint bounds while keeping the constraint matrix and FPGA configuration fixed. Flight demonstrations show obstacle avoidance alongside 1 kHz constrained control and scaling beyond 20,000 optimization variables.

3) Dynamic obstacle avoidance:

  • Dynamic obstacle motion changes only the corresponding entries of l and u, leaving the constraint matrix, Cholesky factorization, and FPGA bitstream fixed.Source: 3) Dynamic obstacle avoidance · p. 7
  • The quadrotor deviates from its nominal figure-eight path to avoid moving boxes and returns to the nominal trajectory once the path clears.Source: 3) Dynamic obstacle avoidance · p. 7
  • 1 kHz constrained trajectory tracking is enabled on a tiny quadrotor, while the same solver architecture scales to over 20,000 optimization variables.Source: §VI · p. 7, Figure 8 · p. 7
  • Future work targets richer collision-avoidance formulations and more aggressive flight regimes, including cluttered three-dimensional environments and online replanning around moving obstacles.Source: §VI · p. 7
Loading 2609.09380v1…