Main Goal:

I. What is a Rotary Inverted Pendulum?

The Rotary Inverted Pendulum consists of a horizontal arm that rotates in the horizontal plane and a vertical pendulum attached to the end of the arm. The goal is to control the motor at the base of the horizontal arm to balance the pendulum in an upright, unstable position.

The Rotary Inverted Pendulum system: $\theta$ represents the arm angle and $\alpha$ represents the pendulum angle.
The Rotary Inverted Pendulum system: $\theta$ represents the arm angle and $\alpha$ represents the pendulum angle.

The Mathematical Challenge

Unlike a standard pendulum, this system is underactuated (one motor for two degrees of freedom) and non-linear. To balance it, we must linearize the system around the upright equilibrium point.

The state vector is typically defined as: \(x = [\theta, \alpha, \dot{\theta}, \dot{\alpha}]^T\) Where:


II. 12-Week Learning Roadmap

Phase 1: Hardware & Sensing

Phase 2: Signal Processing & Communication

Phase 3: Control Theory Basics

Phase 4: Optimization & Refinement


III. The Software Stack

Arduino (Real-Time Control)

The Arduino handles the high-speed tasks: reading encoders and updating the Motor PWM. —

IV. Critical Hardware Checklist

  1. Microcontroller: Arduino Uno (or ESP32 for faster processing).
  2. Encoders: 600 PPR (Pulses Per Revolution) or higher for the pendulum joint.
  3. Motor: High-torque DC motor with minimal backlash.
  4. Power: 12V-24V external power supply (USB is not enough for motors).

📚 External Resources & References

For a deep dive into the official motor control curriculums and the detailed physics of this system, refer to the following documentation:

Happy Building! 🛠️

```