top of page

 Precision Ball Control Platform

Senior Capstone Project

Summary :

The Precision Ball Control Platform is a three-degree-of-freedom Stewart platform designed to precisely manipulate a ball’s movement using real-time computer vision and PID control. The system tracks the ball’s position with a camera, calculates necessary platform adjustments using inverse kinematics, and actuates three linear actuators to control tilt.

 

A PID controller ensures smooth and stable ball movement, overcoming challenges like system latency, actuation lag, and dynamic stability. This project showcases expertise in mechanical design, control systems, and mechatronics, integrating kinematics, automation, and embedded systems to achieve high-precision motion control.

Project Overview

Screenshot 2024-12-01 204749.png

What?

  • Design and fabricate a dynamic system that balances a ball on a platform with 3DOF.

  • Uses linear actuators to achieve control of the platforms tilt.

  • Fully autonomous control of the balls position.

image_edited_edited_edited.jpg

How?

  • Designed in SolidWorks applied DFA.

  • Built for rapid prototyping with off-the-shelf components in critical areas to ensure reliability.

  • Designed a PID Control algorithm using Matlab Control System toolbox and implemented on Arduino.

  • Derived the system's dynamic mathematical model and inverse kinematics.

Screenshot 2024-12-01 204749.png

Results

  • The design fulfilled its purpose achieving a ball settling time of 8.6s demonstrating efficient stabilization.

  • Zero-order hold method with a 0.2-second sampling time successfully achieved discretization for microcontroller implementation while maintaining performance.

Mechanical Model

Specifications

Development Stages

1) Concept & Mathematical Modeling
  • Defined system requirements: three actuators with RPS (Revolute-Prismatic-Spherical) joints to manipulate the platform.

  • Derived the dynamic model of the ball’s motion using the Euler-Lagrange method to analyze system stability.

  • Converted the continuous model into a discrete domain for digital PID control implementation

2) Inverse Kinematics & Actuator Design
  • Developed the inverse kinematics equations to determine actuator lengths based on platform tilt requirements.

  • Designed the actuator assembly, ensuring stability and precision in motion.

  • Considered workspace constraints to optimize the platform’s movement range.

3) Control System Implementation
  • Control System Implementation

  • Implemented a PID control system to adjust platform tilt based on real-time feedback.

  • Tuned PID parameters, balancing response time and stability, noting that derivative gain (Kd) added excessive sensitivity.

  • Converted the desired platform angles into actuator height adjustments.

4) Computer Vision Integration
  • Positioned a camera above the platform (noting its x-y coordinate inversion).

  • Used real-time image processing to track ball position and provide feedback to the controller.

  • Implemented coordinate transformations, factoring in platform offsets from pixel coordinate (xOffset = 158 mm, yOffset = 102 mm).

5) Mechanical Fabrication & Testing
  • Constructed the platform, ensuring accurate actuator placement for smooth motion.

  • Conducted stability tests, adjusting PID parameters for optimal response.

  • Validated system accuracy, testing real-time ball trajectory correction.

  • printables_400x400_edited
  • GitHub
  • LinkedIn
bottom of page