User Tools

Site Tools


marvin:lab4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
marvin:lab4 [2008/10/03 10:39] riepermarvin:lab4 [2008/10/03 11:34] rieper
Line 96: Line 96:
 </code> </code>
  
 +====Conclusion====
 +The main problem in balancing the robot seemed to be the fluctuations of the light sensor. We used three approaches to limit the fluctuations by changing the environment, the robotdesign and the software. The environment was changed by using clean white paper, which made the readings more reliable. Next, a tube was mounted around the sensor to make the sensor less susceptible to surrounding light fluctuations. Lastly we decided that an error of +/-3 would not would be overwrited to zero error. Some finetuning on these approaches may still be lacking.
 +Another problem was the oscillations, which caused the robot wheels to turn too far in proportion to the error signal. We tried reducing this by increasing the proportional gain and reducing the overall gain. All in all the result is far better than the default program and the robot can actually balance for some time.
 +
 +====Future Improvements====
 +In order to further reduce the oscillations we may read the tachometers on the motor. In this way we might be able to add these readings to the control loop and improve the control of the oscillaitons. There was one bug in the program we could not fix. Every ten seconds or so, the program got stuck for a second, which of course tripped the robot. We were unable to resolve this problem.
  
 [[http://www.youtube.com/v/5_XGJUgSKIQ|{{:marvin:Lab4_movie_1.jpg}}]] [[http://www.youtube.com/v/5_XGJUgSKIQ|{{:marvin:Lab4_movie_1.jpg}}]]
marvin/lab4.txt · Last modified: 2008/10/03 11:39 by rieper