PID Controlled Ball Balancing System
CSEF · 2018 Electronics & Electromagnetics Fourth Award
Overview
Objectives/Goals The purpose of this project is to create a precise control system for applications in microscopy, microsurgery, and robotics. Currently in this area (field), cost and precision are things that could be improved. This system is used as a general approach to demonstrate accuracy while maintaining a lower cost (making it more accessible). The goal is to design and implement an automated system that can balance a ball (at a desired location) on a platform. The product (result) will be evaluated based on accuracy (how well it can balance the ball), speed (how fast can it return the ball to the desired position), and cost. Methods/Materials I started to tackle this project by coming up with a (structural) design through online research and finding a structure (model) that would fit the design requirements (able to perform the necessary functions). This model allowed me to start gathering the components needed for the system to operate. The Arduino Mega 2560, a programmable microcontroller that is used to control the other components, is the core of this system. Other notable components include Micro Servo motors (allows movement) and a resistive touch screen (provides data). After testing and getting familiar with these components, I put everything together to form one cohesive system. This lead to the development of the (my own) software (including the PID control algorithm) that would be driving the rest of the system. Following the integration of software and hardware, I began tuning the PID control algorithm through manual calibration. Results The current, fully functional, system can balance a ball under eight seconds and with an accuracy of ±1.5 cm. The total cost of this system is around $90. Conclusions/Discussion This project successfully achieved the original goal of creating an automated control system. It demonstrated that a precise system could be created while still considering the cost factor. Throughout the process, I learned a lot about the engineering process, the diversity of the Arduino platform, the PID control algorithm (how to implement and tune it), and about the different components. The results are general, and the backend system is very versatile, having a sundry of applications.
Summary statement
A system that can automatically balance a ball (to a desired location) on a platform using a PID control algorithm.
Help received
Most of the project (software and hardware) was done by myself. I discussed and worked together with my parents and teachers when I had questions.
Awards (1)
Competition history
- CSEF 2018
Resources
Related projects
CSEF · 2011
Stability Analysis of Control Algorithms
ISEF · 2022
Designing and Testing a Prototype Automatic Electronic Control System for Active Magnetic Levitation of a Ferromagnet Towards Magnetically Deflected Ballistic Mass Technology
ISEF · 2014
Mobile Inverted Pendulum Testing Platform
CSEF · 2014
A Smart Gripping Prosthetic to Aid Hand Amputees in Handling Delicate Objects
CSEF · 2014
Control of a Free Swinging Pendulum by the Force Created by Rotor Inertia
ISEF · 2016
Logical Levitation: Achieving Magnetic Levitation via Computational Feedback Loop
CSEF · 2019
Camera & Stabilization System to Provide Object Detection/Tracking in Real Time for Assistance of the Visually Impaired
CSEF · 2013
The Effect of Control Mechanisms on the Stability of an Electronically Reproduced Meissner Effect Levitation System
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects