Rebuilding a Balancing Robot with Position and Velocity Control

Added:

Rebuild Setup
PID Control
Position Hold
Tall Test
Soft Wheels
Velocity Hold
Obstacle Test

Rebuild Setup

0:00
Playing Section
  • 1

    Replaces rotor ped tracks with standard wheels for stability.

  • 2

    Mounts high-torque motors and 8192 CPR encoders for precise control.

  • 3

    Configures ODrive and TNC 4.1 for balancing and remote operation.

Foundations of PID control theory, including the roles of proportional, integral, and derivative gains in feedback loops.
Physics of the inverted pendulum system, specifically understanding unstable equilibrium and torque requirements.
Sensor fusion techniques (such as complementary or Kalman filtering) using IMUs to estimate precise tilt angles.
The fundamentals of rotary encoders and DC motor control for measuring wheel velocity and position feedback.
State-space control methods, such as Linear Quadratic Regulator (LQR) and Model Predictive Control (MPC), for superior multi-variable stability.
Autonomous navigation and path planning integrating SLAM (Simultaneous Localization and Mapping) with platforms like ROS.
Reinforcement learning algorithms applied to dynamic robotic locomotion and adaptive obstacle climbing.
Advanced dynamic modeling and physical simulation using tools like MATLAB/Simulink or Gazebo to test robot designs virtually.
171.9K views5.8Klikes14:57@jamesbrutonOriginal Release: 2022-04-26

A two-wheel balancing robot achieves stability through a PID controller that uses the MPU 6050 inertial measurement unit to detect tilt angle; the integral term is most critical for maintaining balance as it accumulates error over time to drive the robot toward its target position, while the derivative term prevents overshooting. Replacing rotor ped tracks with standard wheels improves responsiveness and linear response, and implementing position hold with a secondary PID controller allows the robot to maintain its location while driving, making it more controllable and enjoyable to operate.