3 ms·
I suspect that this is an exercise in learning how build a two-wheel balancer that doesn't "hunt" around the vertical position. A normal two-wheel balancing ro
by dbcurtis 8y ago
I suspect that this is an exercise in learning how build a two-wheel balancer that doesn't "hunt" around the vertical position. A normal two-wheel balancing robot is continuously controlling to keep the robot at an unstable equilibrium point (the "inverted pendulum" problem). The only actuators it has to do that are the wheels, so a normal two-wheel balancer is continuously rocking back and forth as it controls for vertical stability. The counter-weight gives a second actuator to control for equilibrium, so that it doesn't have to use the wheels for small corrections.
Also, recall from freshman physics that the pendulum problem is non-linear. Most balancing robots linearize the problem around the stable point. Which means if the robot gets far away from the equilibrium point, you either have to switch to a different controller or live with the consequences. One of the consequences is the robot racing off to the horizon as it tries to get the wheels under the CG again. (Which may happen anyway whether or not you switch controllers.)
Thus, my standard advice to all newbie robot builders: Your first robot should have a low enough mass that a missing semicolon will not punch a hole in your living room wall.
If this kind of thing is interesting to you, MIT 6.832 Underactuated Robotics by Russ Tedrake is posted on YouTube going a few years back, and the Spring 2019 version is being live-streamed every Tuesday and Thursday, picking up again next Tuesday after spring break.