TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollers

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 sol...

Full description

Saved in:
Bibliographic Details
Main Authors Alavilli, Anoushka, Nguyen, Khai, Schoedel, Sam, Plancher, Brian, Manchester, Zachary
Format Journal Article
LanguageEnglish
Published 12.08.2025
Subjects
Online AccessGet full text
DOI10.48550/arxiv.2310.16985

Cover

Abstract 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.
AbstractList 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.
Author Nguyen, Khai
Alavilli, Anoushka
Plancher, Brian
Manchester, Zachary
Schoedel, Sam
Author_xml – sequence: 1
  givenname: Anoushka
  surname: Alavilli
  fullname: Alavilli, Anoushka
– sequence: 2
  givenname: Khai
  surname: Nguyen
  fullname: Nguyen, Khai
– sequence: 3
  givenname: Sam
  surname: Schoedel
  fullname: Schoedel, Sam
– sequence: 4
  givenname: Brian
  surname: Plancher
  fullname: Plancher, Brian
– sequence: 5
  givenname: Zachary
  surname: Manchester
  fullname: Manchester, Zachary
BackLink https://doi.org/10.48550/arXiv.2310.16985$$DView paper in arXiv
BookMark eNqFjcsKgkAUQGdRi14f0Kr5AU0zw9pKEYEg4X4YxhtcmObGHZP8-8zatzpwOHCmYuTIgRDLOAq3WZpGa80vbMNN0ot4t8_SibhU6LqizA-yoBpsUDLUaBpsQebkGiYryckreHqygaB3vmGNDmpZoGEy38gC-7kY37T1sPhxJlanY5Wfg-GqHox3zZ363NVwT_4Xb8nyPI4
ContentType Journal Article
Copyright http://arxiv.org/licenses/nonexclusive-distrib/1.0
Copyright_xml – notice: http://arxiv.org/licenses/nonexclusive-distrib/1.0
DBID GOX
DOI 10.48550/arxiv.2310.16985
DatabaseName arXiv.org
DatabaseTitleList
Database_xml – sequence: 1
  dbid: GOX
  name: arXiv.org
  url: http://arxiv.org/find
  sourceTypes: Open Access Repository
DeliveryMethod fulltext_linktorsrc
ExternalDocumentID 2310_16985
GroupedDBID GOX
ID FETCH-arxiv_primary_2310_169853
IEDL.DBID GOX
IngestDate Fri Aug 15 18:43:23 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-arxiv_primary_2310_169853
OpenAccessLink https://arxiv.org/abs/2310.16985
ParticipantIDs arxiv_primary_2310_16985
PublicationCentury 2000
PublicationDate 2025-08-12
PublicationDateYYYYMMDD 2025-08-12
PublicationDate_xml – month: 08
  year: 2025
  text: 2025-08-12
  day: 12
PublicationDecade 2020
PublicationYear 2025
Score 3.8398688
SecondaryResourceType preprint
Snippet Model-predictive control (MPC) is a powerful tool for controlling highly dynamic robotic systems subject to complex constraints. However, MPC is...
SourceID arxiv
SourceType Open Access Repository
SubjectTerms Computer Science - Robotics
Computer Science - Systems and Control
Mathematics - Optimization and Control
Title TinyMPC: Model-Predictive Control on Resource-Constrained Microcontrollers
URI https://arxiv.org/abs/2310.16985
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwY2BQAc0RGlmYAbslySbADopFipmuJbDloJtmlgZsDwMrlBRT0AZnXz8zj1ATrwjTCCYGBdhemMSiiswyyPnAScX6oMaHnqGZpYUpMwOzkRGoc-XuHwGZnAQfxQVVj1AHbGOChZAqCTdBBn5o607BERIdQgxMqXkiDF4hmXmVvgHOVgqgi8dydAOKQJMjoGJGwRmyUFwhP08BNo6uC7pCE3xxQ2qKgi9ouRx0NXkOsKEmyiDv5hri7KELtj2-AHJURDzIYfFghxmLMbAAO_SpEgwKJkbJwF5QUqJxalKyibFxokVSiplxYmKKhZkpsHliaCnJIIHLFCncUtIMXEagu2lBx7UayTCwlBSVpsoCK8ySJDlwqAEA4ztvQA
linkProvider Cornell University
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=TinyMPC%3A+Model-Predictive+Control+on+Resource-Constrained+Microcontrollers&rft.au=Alavilli%2C+Anoushka&rft.au=Nguyen%2C+Khai&rft.au=Schoedel%2C+Sam&rft.au=Plancher%2C+Brian&rft.date=2025-08-12&rft_id=info:doi/10.48550%2Farxiv.2310.16985&rft.externalDocID=2310_16985