← Latest papers
⚡ electrical engineering

Real-Time Nonlinear MPC via Sequential Quadratic Programming with Structure-Exploiting ADMM and Interior-Point Methods for Underactuated Double-Pendulum Swing-Up

This paper presents a real-time nonlinear model predictive control strategy based on sequential quadratic programming that successfully achieves robust swing-up and stabilization of an underactuated double-pendulum system on unknown hardware for the "AI Olympics with RealAIGym" competition.

Original authors: Nick Karydakis, Konstantinos Chatzilygeroudis

Published 2026-08-11
📖 4 min read☕ Coffee break read

Original authors: Nick Karydakis, Konstantinos Chatzilygeroudis

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 teach a robot to do a backflip. You can't just tell it "jump" and hope for the best; you have to figure out exactly how much force to apply, when to tuck its knees, and how to land without crashing. This is the world of robotics control, a field dedicated to giving machines the "muscle memory" to move through the real world. At the heart of this challenge is a concept called Model Predictive Control (MPC). Think of MPC as a super-advanced GPS for a robot. Instead of just looking at where the robot is right now, the GPS constantly looks ahead, simulating thousands of possible future paths in a split second to decide the very best next move. It's like a chess player who doesn't just think one move ahead, but calculates the entire game to ensure a win.

Now, imagine the robot you are controlling is a double-pendulum—a stick with another stick attached to its end, swinging freely. This system is notoriously tricky because it is underactuated, meaning it has more moving parts than it has motors. It's like trying to balance a broom on your hand while your hand is tied to a string; you have to swing it wildly to build up energy before you can finally balance it upright. This specific puzzle is the centerpiece of the "AI Olympics with RealAIGym," a competition where teams must program a robot to swing itself up from a hanging position and stay balanced, all while the robot's exact weight and friction are a mystery to the programmer.

The paper by Karydakis and Chatzilygeroudis presents a clever solution to this problem using a method called Sequential Quadratic Programming (SQP). Instead of guessing and checking, their controller acts like a master strategist who breaks the complex, wobbly problem of swinging a double-pendulum into a series of smaller, manageable puzzles. At every tiny fraction of a second, the robot asks itself: "If I move my motor this way, where will I be in the next few steps?" It solves a simplified math problem to find the best path, takes the first step, and then immediately recalculates for the next moment. This happens so fast—over 100 times a second—that the robot feels like it is thinking in real-time.

The researchers tested this "brain" on two different versions of the double-pendulum: the Pendubot (where the motor is at the shoulder) and the Acrobot (where the motor is at the elbow). They didn't just test it in a computer simulation; they uploaded their code to a physical robot in the cloud and let it run for real. The results were impressive. For the Pendubot, the robot successfully swung up and stayed balanced 100% of the time, even when someone gave it a random, unexpected push to knock it off balance. For the Acrobot, it succeeded 100% of the time without pushes, and 70% of the time when disturbed.

What makes this approach stand out is how it handles the "unknowns." The robot didn't know the exact weight of its own parts or how much friction was in its joints. Yet, by constantly re-evaluating its plan and using a special mathematical trick to solve the equations quickly, it managed to build up the necessary energy to swing up and then stabilize itself. The paper suggests that this method is robust enough to handle real-world chaos, proving that a model-based approach can compete with, and in some cases outperform, other methods that rely purely on trial-and-error learning. While the Acrobot still needed a little help with friction compensation to be perfect, the overall success shows that with the right mathematical tools, we can teach even the wobbliest robots to stand tall.

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 →