TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollers

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Alavilli, Anoushka, Nguyen, Khai, Schoedel, Sam, Plancher, Brian, Manchester, Zachary
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911103022268416
author Alavilli, Anoushka
Nguyen, Khai
Schoedel, Sam
Plancher, Brian
Manchester, Zachary
author_facet Alavilli, Anoushka
Nguyen, Khai
Schoedel, Sam
Plancher, Brian
Manchester, Zachary
contents Model-predictive control (MPC) is a powerful tool for controlling highly dynamic robotic systems subject to complex constraints. However, MPC is computationally demanding, and is often impractical to implement on small, resource-constrained robotic platforms. We present TinyMPC, a high-speed MPC solver with a low memory footprint targeting the microcontrollers common on small robots. Our approach is based on the alternating direction method of multipliers (ADMM) and leverages the structure of the MPC problem for efficiency. We demonstrate TinyMPC's effectiveness by benchmarking against the state-of-the-art solver OSQP, achieving nearly an order of magnitude speed increase, as well as through hardware experiments on a 27 gram quadrotor, demonstrating high-speed trajectory tracking and dynamic obstacle avoidance. TinyMPC is publicly available at https://tinympc.org.
format Preprint
id arxiv_https___arxiv_org_abs_2310_16985
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollers
Alavilli, Anoushka
Nguyen, Khai
Schoedel, Sam
Plancher, Brian
Manchester, Zachary
Robotics
Systems and Control
Optimization and Control
Model-predictive control (MPC) is a powerful tool for controlling highly dynamic robotic systems subject to complex constraints. However, MPC is computationally demanding, and is often impractical to implement on small, resource-constrained robotic platforms. We present TinyMPC, a high-speed MPC solver with a low memory footprint targeting the microcontrollers common on small robots. Our approach is based on the alternating direction method of multipliers (ADMM) and leverages the structure of the MPC problem for efficiency. We demonstrate TinyMPC's effectiveness by benchmarking against the state-of-the-art solver OSQP, achieving nearly an order of magnitude speed increase, as well as through hardware experiments on a 27 gram quadrotor, demonstrating high-speed trajectory tracking and dynamic obstacle avoidance. TinyMPC is publicly available at https://tinympc.org.
title TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollers
topic Robotics
Systems and Control
Optimization and Control
url https://arxiv.org/abs/2310.16985