Can a Robot Balance on Two Wheels?
CSEF · 2007 Mathematics & Software Fourth Award
Overview
Objectives/Goals The objective of my project is to develop an algorithm to balance a two wheeled, one axle autonomous robot. Methods/Materials For my project, I used a vex robotics kit and the optional C programming kit. I also used a Sharp infrared distance sensor. I built the robot completely out of parts from the vex robotics kit, except for the infrared distance sensor. The distance sensor was mounted pointing down, on an arm, so that sensor output is a function of robot angle. I iteratively wrote programs to balance the robot based on the sensor output. Results The algorithm that corrected for angle and change in angle balanced the best. Its mean balance time is higher than any of the others, and its maximum balance time is almost double that of the runner-up algorithm. However, the minimum balance time of all algorithms is fairly constant; the same goes for the median balance time. This indicates significant room for improvement. Conclusions/Discussion The algorithm that balanced based on the angle and the change in angle worked the best. Nevertheless, some factors keep it from balancing for a significant amount of time. Possible reasons include loose gears and nonlinear motor behavior.
Summary statement
The purpose of my project is to find the best algorithm to balance a two wheeled robot.
Help received
Father helped with some robot construction and sensor selection; Mother helped in board layout.
Awards (1)
Competition history
- CSEF 2007
Resources
Related projects
CSEF · 2011
Stability Analysis of Control Algorithms
CSEF · 2012
Learning to Walk: Building and Programming a Virtual Robot
CSEF · 2002
Can a Robot be Taught?
CSEF · 2009
Autonomous Robotic Vehicle: Designing the Auto Matrix
CSEF · 2015
Developing Efficient Algorithms for Self-Navigating Vehicles
CSEF · 2011
Mission Control: Programming for Optimal Error Reduction in Line-Following Applications
CSEF · 2014
Replicating Biological Walking Patterns in Robotic Systems
CSEF · 2003
Robot Efficiency Test
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects