← Latest papers
⚡ electrical engineering

TinySDP: Real Time Semidefinite Optimization for Certifiable and Agile Edge Robotics

This paper introduces TinySDP, the first semidefinite programming solver designed for embedded systems that enables real-time, certifiable model-predictive control on microcontrollers, achieving superior collision-free navigation and path efficiency in challenging dynamic environments compared to state-of-the-art baselines.

Original authors: Ishaan Mahajan, Jon Arrizabalaga, Andrea Grillo, Fausto Vega, James Anderson, Zachary Manchester, Brian Plancher

Published 2026-05-14
📖 5 min read🧠 Deep dive

Original authors: Ishaan Mahajan, Jon Arrizabalaga, Andrea Grillo, Fausto Vega, James Anderson, Zachary Manchester, Brian Plancher

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to guide a tiny, super-fast drone through a maze. The maze has moving walls (like a robotic arm swinging back and forth) and tricky dead ends. Your goal is to get the drone from point A to point B without crashing, and you have to make these decisions in the blink of an eye.

This is the challenge the paper TinySDP tackles. Here is the story of how they solved it, using simple analogies.

The Problem: The "Too-Smart" Brain vs. The "Tiny" Brain

In the world of robotics, there are two ways to plan a path:

  1. The "Local" Way (The Short-Sighted Driver): Most current drones use a method that looks only a few steps ahead. It's like a driver who only sees the car directly in front of them. If that car moves, they swerve. But if the road curves into a dead end (a "cul-de-sac") or a wall swings shut, this driver gets stuck or crashes because they didn't see the big picture. To be safe, they often drive very slowly and keep a huge distance from everything, which makes the trip long and inefficient.
  2. The "Global" Way (The Perfect Mathematician): There is a more powerful mathematical tool called Semidefinite Programming (SDP). Think of this as a genius mathematician who can see the entire maze, calculate every possible future, and find the absolute perfect, shortest path that guarantees no crashes.
    • The Catch: This genius is too slow and requires a supercomputer. It's like trying to run a massive simulation on a tiny wristwatch. It simply doesn't fit on the small computer chips inside a drone.

The Solution: TinySDP

The authors created TinySDP, which is like taking that genius mathematician and shrinking them down to fit inside a tiny wristwatch, while keeping their brain sharp enough to solve the maze instantly.

Here is how they did it, using three key tricks:

1. The "Shadow" Trick (Lifting)

The obstacles (like a circular wall) are mathematically tricky because they are curved. Standard math struggles with curves on small chips.

  • The Analogy: Imagine trying to draw a perfect circle on a piece of paper made of square tiles. It's jagged and hard. But if you lift that paper up into the air and look at its "shadow" cast on a different surface, the curve might look like a straight line or a simple shape.
  • The Paper's Method: They use a mathematical "lift" that turns the tricky curved obstacle rules into a simpler, straight-line format that the tiny computer can handle easily. They call this "lifting" the problem into a higher dimension.

2. The "Cached" Shortcut (Riccati Structure)

Even with the "shadow" trick, doing the math for every single step of the flight is still too much work for a tiny chip.

  • The Analogy: Imagine you are solving a puzzle where the rules change slightly every second. Instead of solving the whole puzzle from scratch every time, you realize that 90% of the puzzle pieces are the same. So, you pre-calculate those 90% and just keep them in your pocket (a "cache"). When the puzzle changes, you only have to solve the tiny 10% that is new.
  • The Paper's Method: They use a technique called Riccati recursion to pre-calculate the boring, repetitive parts of the math offline. When the drone is flying, it just pulls these pre-calculated numbers out of its pocket and only does the tiny bit of new math needed for the current moment. This makes it incredibly fast.

3. The "Safety Badge" (The Rank-1 Certificate)

This is the most clever part. Because they used the "shadow" trick (relaxation), the math might give a solution that looks good on paper but is actually slightly wrong in the real world.

  • The Analogy: Imagine a security guard checking a visitor's ID. The ID looks real, but sometimes forgeries look perfect. The guard needs a special scanner to be 100% sure.
  • The Paper's Method: After the math solves the path, TinySDP runs a super-fast "safety check" (called a Rank-1 Certificate). It asks: "Did our 'shadow' trick distort the reality too much?"
    • If the answer is Yes (the math is too loose), the drone immediately stops and hovers (a "fallback" policy) rather than crashing.
    • If the answer is No, the drone gets a "Green Light" and flies.
    • In their tests, this check passed almost every time, proving the path was truly safe.

The Results: Faster, Shorter, and Safer

The team tested this on a tiny drone called a Crazyflie (about the size of a hand) with a very small computer chip inside.

  • The Dead End Test: In a U-shaped dead end, other methods got stuck or crashed. TinySDP found the way through.
  • The Moving Wall Test: When a wall swung across the path, other methods crashed or took huge, wide detours. TinySDP anticipated the move and squeezed through the gap perfectly.
  • Efficiency: TinySDP found paths that were up to 73% shorter than the other methods. It didn't need to drive in huge circles to be "safe"; it could take the direct route because it was mathematically sure it wouldn't crash.
  • Real-Time: It ran at 25 times per second on the tiny chip, fast enough to control a flying drone in real life.

The Bottom Line

TinySDP is a new way to let small, cheap robots use "super-smart" math to avoid obstacles. It combines a clever math trick to simplify the problem, a memory shortcut to speed it up, and a safety badge to double-check the answer. This allows tiny drones to fly through complex, moving environments safely and efficiently, something that was previously thought impossible for such small computers.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →