← Latest papers
⚡ electrical engineering

Dynamics and LQR Control of a Triple Inverted Pendulum on a Cart

This paper derives the nonlinear dynamics of a triple inverted pendulum on a cart using the Euler–Lagrange method, designs a Linear Quadratic Regulator (LQR) controller to stabilize the system around its upright equilibrium, and validates its robust performance through extensive numerical simulations and parametric sensitivity analyses.

Original authors: Ali Tebaan Hassan

Published 2026-06-30
📖 5 min read🧠 Deep dive

Original authors: Ali Tebaan Hassan

Original paper licensed under CC BY 4.0 (https://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 a balancing act that sounds like a circus trick gone wrong: a small cart on a track, with not one, but three long sticks standing on top of each other, all trying to fall over at the same time. This is the "Triple Inverted Pendulum."

In the real world, this is incredibly hard to control. If you try to balance a single broomstick on your hand, it's tricky. If you stack three broomsticks on top of each other and try to balance them all with just your hand moving back and forth, it seems impossible. That's exactly what this paper does, but with math and computer simulations instead of a circus.

Here is the story of the paper, broken down into simple parts:

1. The Setup: A Tower of Wobbly Sticks

The researchers built a mathematical model of this system.

  • The Cart: A heavy block that can only move left and right on a straight track.
  • The Pendulums: Three rigid sticks (links) connected in a chain. The first stick is attached to the cart, the second to the first, and the third to the second.
  • The Goal: Keep all three sticks standing perfectly straight up (like a tower of pencils) while the cart moves to keep them from falling.

The paper starts by writing down the "rules of the game." They used a method called Euler–Lagrange (think of it as a super-precise recipe for physics) to calculate exactly how every part moves, how they push against each other, and how gravity tries to pull them down. They found that the math is very complex because the sticks are all connected; if the top stick wobbles, it pulls on the middle one, which pulls on the bottom one, which tugs the cart.

2. The Problem: It Wants to Fall

The system is naturally unstable. It's like trying to balance a pencil on its tip. Without any help, the sticks will fall over in less than a second. The paper shows that if you just let go, the whole tower collapses exponentially fast.

3. The Solution: The "Smart Brain" (LQR)

To stop the fall, the researchers designed a "smart brain" for the cart called an LQR Controller (Linear Quadratic Regulator).

  • How it works: Imagine a very fast-thinking coach standing next to the cart. This coach watches the angles of all three sticks. If the top stick leans even a tiny bit, the coach instantly tells the cart to move left or right to catch it.
  • The Math: The coach uses a special equation (the Riccati equation) to figure out the perfect amount of force to apply. It's not just about stopping the fall; it's about doing it with the least amount of wasted energy while keeping the sticks upright.
  • The Result: The coach is very aggressive. It calculates that to keep three sticks balanced, it needs to push the cart with a force about 12 times heavier than the weight of the heaviest stick.

4. The Simulation: The Test Run

Since building a physical triple-pendulum is dangerous and expensive, they ran a high-speed computer simulation (like a video game physics engine) to test their "coach."

  • The Test: They started the simulation with the sticks already leaning slightly (about 3 to 5 degrees off-center), as if someone had just nudged them.
  • The Outcome: The controller worked perfectly. Within about 3 seconds, the cart moved back and forth, correcting the wobbles, and all three sticks stood perfectly straight again.
  • The Cart's Journey: The cart didn't just sit still. It had to make a quick, sharp move (about 8 centimeters) to the left to counter the falling sticks, then smoothly return to the center.
  • The Force: The hardest push the cart had to make was about 18 Newtons (roughly the force of holding a 4-pound bag of apples), which is well within the limits of a standard motor.

5. What They Learned

The paper tested how "strict" the coach should be by changing the settings:

  • Strict Coach: If you tell the controller, "The sticks must be perfect right now," it moves the cart very fast and hard. The sticks stabilize in about 1.3 seconds, but the motor has to work very hard.
  • Laid-back Coach: If you say, "It's okay if they wobble a little longer," the cart moves more gently, but it takes about 4 seconds to stabilize.
  • The Sweet Spot: They found a middle ground where the sticks stabilize in about 3 seconds without overworking the motor.

6. Why This Matters (According to the Paper)

The authors explain that while this is a "toy" problem, the math behind it is the same as for much bigger, real-world engineering challenges. They mention that the same principles apply to:

  • Humanoid robots walking on two legs.
  • Tall buildings swaying in the wind or during earthquakes.
  • Rocket ships trying to land vertically (like SpaceX rockets).

Summary

This paper is a complete guide to solving one of the hardest balancing problems in physics. They wrote the math, built a "smart brain" to control it, and proved in a computer simulation that a single moving cart can successfully balance a tower of three falling sticks, keeping them upright in just a few seconds. They showed exactly how much force is needed and how to tune the system to be fast or gentle, depending on what you need.

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 →