All projects

Machine design, 2025

Ball Balancing Table

My version of the ball balancing table. A camera tracks a ball on a tilting surface, a PID controller computes the servo angles, and the servos tilt the table to keep the ball from falling off.

Control
PID controller
Sensing
Camera and computer vision
Actuation
Servo motors
Execution
Real-time loop

How it works

  1. See

    A camera tracks the ball’s position on the surface.

  2. Compute

    The PID controller turns the position error into servo angles.

  3. Tilt

    The servos tilt the table to keep the ball from falling off.

Then the loop repeats with the next camera frame.

Mechanical design

CAD model of the ball balancing table
CAD model of the table.
Ball balancing table, build photo 1