Uploaded October 2026 | Updated December 2026, 3 days ago
How does a self-balancing robot stay upright? It's an inverted pendulum, one of the most famous problems in control.
❌ No control: θ̈ ≈ (g/L)·θ. The more it tilts, the faster it falls. A 2° tilt hits the floor in 1.1 s.
✅ Feedback: u = −K·x with x = [cart position, cart speed, pole angle, pole spin]. The motor pushes the base under the fall.
💥 Push test: a shove tilts it 22°, it rolls 0.9 m to catch itself and is upright again in 2.3 s.
🧠 LQR picks the best K by minimising J = ∫(xᵀQx + uᵀRu)dt. Solve the Riccati equation → K = R⁻¹BᵀP.
All motion is a real nonlinear physics simulation.
Used in Segways, balancing robots, rocket landings and humanoids.
📌 Save this for your control systems course
🔔 Subscribe for more robotics explained simply
#shorts #robotics #controlsystems #lqr #invertedpendulum #engineering
How does a self-balancing robot stay upright? It's an inverted pendulum, one of the most famous problems in control.
❌ No control: θ̈ ≈ (g/L)·θ. The more it tilts, the faster it falls. A 2° tilt hits the floor in 1.1 s.
✅ Feedback: u = −K·x with x = [cart position, cart speed, pole angle, pole spin]. The motor pushes the base under the fall.
💥 Push test: a shove tilts it 22°, it rolls 0.9 m to catch itself and is upright again in 2.3 s.
🧠 LQR picks the best K by minimising J = ∫(xᵀQx + uᵀRu)dt. Solve the Riccati equation → K = R⁻¹BᵀP.
All motion is a real nonlinear physics simulation.
Used in Segways, balancing robots, rocket landings and humanoids.
📌 Save this for your control systems course
🔔 Subscribe for more robotics explained simply
#shorts #robotics #controlsystems #lqr #invertedpendulum #engineering










