Mission Control: Programming for Optimal Error Reduction in Line-Following Applications
CSEF · 2011 Mathematics & Software
Overview
Objectives/Goals The objective of my project was to determine the most effective way of controlling a line-following robot in regards to oscillation and speed. I believe that the program that accounts for the most variables and has the greatest range of speed will oscillate the least and will travel the fastest. Methods/Materials A line-following robot was constructed using a microcontroller, motor shield, two geared DC motors, three solderless breadboard wires, an LED, two resistors, a photo resistor, 6 AA batteries and pack, a solderless breadboard, and 6 rubber bands. After constructing a track of electrical tape on a large sheet of paper, three different programs were written and tested on the track. Each of the programs were tested with a different colored marker attached to the robot, which allowed accurate measurement and recording of data. Each program completed 5 laps and the speed, oscillation, and wavelength were recorded. Results The proportional controller consistently completed a lap in the fastest time and with the least amount of oscillation. The 3-step controller completed the laps significantly slower and had a greater oscillation height then the other two. The 2-step controller consistently completed the lap the slowest as well as had a greater degree of oscillation then the proportional controller. Conclusions/Discussion The experiment demonstrated that my hypothesis was correct. The proportional controller, which accounts for the greatest number of variables, was the most effective controller at reducing error and increasing speed. This has significant implications for a wide range of fields. Any technical device that needs to correct errors, can use this program: from rovers, to space shuttles, or even something as simple as an oven.
Summary statement
My project is about programming to reduce error and to increase the effectiveness of a line-following robot.
Help received
My Mom helped me tape pieces of paper for my board and my dad helped me build the penholder for the robot. He also helped with the timing and measurement of the robot.
Competition history
- CSEF 2011
Resources
Related projects
CSEF · 2013
Cruise Control
CSEF · 2011
Stability Analysis of Control Algorithms
CSEF · 2008
An Investigation into the Optimization of Control Systems
CSEF · 2009
Autonomous Robotic Vehicle: Designing the Auto Matrix
CSEF · 2006
Overcoming Background Variations in Line Following with Multiple Light Sensors
CSEF · 2007
A Line Following Robot
CSEF · 2012
Traffic Flow Improvement Using Automated Braking Distance Control
CSEF · 2017
Building a Driverless Toy Car
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects