Older blog entries for RoboDo (starting at number 4)
RoboDo: Overall Control Ideas, Awareness
RoboDo should be able to amuse, entertain, educate... and
fight. In order to do these things, the robot will need a
The most basic levels of awareness will operate
automatically, no matter what the control mode. These
RoboDo should be aware of its body position, center of
gravity, and current and upcoming motions in order to
maintain its balance. A 2 axis gyro/3 axis accelerometer
combo will be the main sensor in this sub-system, and
corrections should be applied in real time, without
involving upper level subsystems.
RoboDo should be aware of its environment. Mapping (including
sonic mapping) will be a key process, at least in most
modes. The head mounted Ping ultrasonic sensor, head mounted
sound detectors, and hip
mounted Sharp IR sensors will provide the data. This
environmental data will
automatically limit the robot's actions. For example, the
"walk forward" command would be disabled if there was a wall
This lower level data (balance and mapping) would be used by
the mid level subsystems...
The localization sub-system would add the "you are here"
sticker to our map. This subsystem would use data from the
onboard compass, mapping sensors, and vision system to
determine the robot's position. (The ceiling, with its
uncluttered straight lines and clear intersections might
prove useful here)
The tracking subsystem will use the vision system to detect
and track moving objects. This will probably involve
capturing several frames and comparing them to see what's
changed. The camera will have servo control of tilt and pan
and automatically track the closest object in certain
Upper level subsystems related to awareness include the
actions subsystem, which maintains an array containing all
of the actions RoboDo can perform. Mode constraints will
eliminate some of these possible actions. For example, the
"do a cartwheel right" action isn't available in "Explore
and Map" mode. Map constraints further limit the actions,
and other subsystems may limit the available actions
These subsystems will work together to provide a certain sensory
awareness. Through them, RoboDo will be aware of its body
position and center of gravity, it will sense its
environment and know where it can and can't go... what it
can and can't do. It will also recognize and track other
moving objects in its environment.
Anyway, that's the general idea as it stands now.
18 Mar 2008
(updated 18 Mar 2008 at 14:58 UTC) »
I'm using my blog as a notebook... to keep track of the ever
changing idea that may one day become real. I suspect that
what I write is so far below what some here are doing that
it seems laughable. Much of it is probably unworkable, too
complex, too simple, or just plain wrong. Writing this stuff
helps me understand by exposing what I don't understand.
I got sucked into this biped robot thing when I stumbled
upon a video from one of the Robo-One competitions. It was
rather amusing, actually. The 'bots stood (sometimes)
flat-footed, in a normal standing stance, and sometimes
flailed away. As often as not, their own exertions caused
them to topple. Huge lags between moves showed serious flaws
in the control scheme. THIS was the current world
My inner engineer recoiled in horror. A quick look at the
bots themselves revealed that most of them were unable to
assume a proper fighting stance. What the world needs,
thought I, was a robot that can learn Kung Fu.
The new bot, dubbed RoboDo, would need to have an autonomous
fighting mode, and this itself presented a problem. Did I
really want to create a 2' high terminator?
To win, my bot would have to lock onto a target, close to
striking range, then deliver an attack... all under its own
command. Clearly, safeguards would have to be devised.
It should be possible to place the fighting routines on a
flash card, and only insert the card during actual
competitions or when "training" the bot. (Ok, a 2' bot with
very limited battery life isn't going to take over the
world, but we don't want him mauling the dog.)
So it seems possible.
Mechanically, the bot isn't all that difficult. I have most
of the details more or less worked out, and am confident I
could build it. I don't have the funds to build it all at
once, and frankly, don't have the expertise required to
But I can start somewhere and learn as I go. I have an
overall idea of where I want to take this project. I'll
probably end up getting one USB servo controller and a few
servos and building an arm or leg or something.
Maybe I'm just not smart enough to be intimidated by
RoboDo Control: Revised
One of my design goals in the RoboDo project is to establish
"levels" of control which mimic, in some small way, the
interactions found in nature.
When you wake up in the morning, what do you do?
I open my eyes and look at my environment. My body tells me
I am lying down. My mind then determines that I am in bed in
my bedroom. I then mentally review my priorities and decide
what to do next. This almost always involves getting out of
Note that most of this is done more or less automatically,
and that different "systems" are involved. Note also that
some of these systems are under the direction of other
systems, but that the "lower level" systems don't need
detailed instructions in order to perform their routine
tasks. When we decide to walk, for example, we don't need to
concentrate on moving each muscle... our legs know how to
walk. It's exactly this sort of layering I want to
I now see that I will need more processing power and memory
than that provided by the typical microcontroller, so I am
looking at a single board computer (SBC) instead.
The new scheme includes a SBC with a 500Mhz processor, 1 gig
of RAM, 4 USB ports, 4 com ports, a flash card slot, and
fast Ethernet. A 16 channel USB servo controller in the hips
will control the legs, while another in the torso will
control the arms. A 4 channel USB servo controller will
handle the torso bend and torso rotate, as well as the head
tilt and pan. The torso will also contain a USB I/O board
for the sensors.
Of course, all of this is subject to change. :-)
More to follow...
Humanoid Robot Joints - The Hips
The hip joints of today's popular bipedal robots have many
limitations. More articulation in this area would allow much
greater range of motions.
After playing around a bit, I have come up with a design
which I intend to use in my RoboDo project. Here's a rough
The "stride" servos (the topmost ones) are connected to
their respective legs with either chain or gears, which
allows us to reduce the 180 degree servo motion to 120
degrees. This will produce a modest gain in power while
limiting the travel in this joint to 75 degrees forward and
45 degrees backwards.
The main benefit however, is that this allows us to have the
leg joint supported by a solid shaft and 2 bearings.
The leg rotate servos are also supported by 2 bearings. I
just don't like the idea of hanging the whole leg off of a
single, cantilevered support point.
At first glance, the "leg lift" servos (the lowest ones
pictured) may seem redundant, but these servos will allow
RoboDo to kick higher when the legs are rotated to their
normal walking position, and allow freedom of motion in this
area when the legs are rotated to other positions.