Servo2008 11
Servo2008 11
11>
U.S. $5.50 CANADA $7.00
V
o
l
.
6
N
o
.
1
1
S
E
R
V
O
M
A
G
A
Z
I
N
E
S
E
L
F
-
R
E
A
S
S
E
M
B
L
I
N
G
R
O
B
O
T
S
P
R
O
P
E
L
L
E
R
U
N
I
V
E
R
S
A
L
M
O
T
O
R
R
O
B
O
T
P
U
P
P
E
T
N
o
v
e
m
b
e
r
2
0
0
8
Cover.qxd 10/8/2008 10:16 PM Page 1
Let your geek shine.
Meet Pete Lewis, lead vocalist for the band
Storytyme. Pete recently created the RS1000,
a new personal monitor system for performing
musicians. It was SparkFuns tutorials, products
and PCB service that enabled him to take his idea
to market in less than a year.
The tools are out there. Find the resources you
need to let your geek shine too.
2008 SparkFun Electronics, Inc. All rights reserved.
Hear music from Storytyme at www.storytymeband.com, or check
out Petes RS1000 at www.rockonaudio.com.
Sharing Ingenuity
W W W. S P A R K F U N. C OM
Full Page.qxd 7/9/2008 9:57 AM Page 2
Full Page.qxd 10/7/2008 11:41 AM Page 3
Features
26 BUILD REPORT:
30 Pound Combat Robot Mitch
28 MANUFACTURING:
Even More Things to Consider When
Building a Fighting Robot
33 PARTS IS PARTS:
Chain Length Calculator and
Chain Path Visualizer
35 A Brief History of WAR
Events
30 Results and Upcoming Competitions
31 Event Report:
Robot Battles 2008
Robot Profile
34 Limblifter
SERVO Magazine (ISSN 1546-0592/CDN Pub Agree#40702530) is published
monthly for $24.95 per year by T & L Publications, Inc., 430 Princeland Court, Corona,
CA 92879. PERIODICALS POSTAGE PAID AT CORONA, CA AND AT ADDITION-
AL ENTRY MAILING OFFICES. POSTMASTER: Send address changes to SERVO
Magazine, P.O. Box 15277, North Hollywood, CA 91615 or Station
A, P.O. Box 54, Windsor ON N9A 6J5; [email protected]
06 Mind/Iron
18 New Products
20 Events Calendar
72 SERVO Webstore
75 Robotics Showcase
81 Robo-Links
81 Advertisers Index
Columns
08
Robytes
by Jeff Eckert
Stimulating Robot Tidbits
10
GeerHead
by David Geer
Self-Reassembling Robot
14
Ask Mr. Roboto
by Dennis Clark
Your Problems Solved Here
21
Twin Tweaks
by Bryce and Evan Woolley
Surveyors Travels
68
Robotics Resources
by Gordon McComb
Hand Tools for Robot Construction
76
Appetizer
by R. Steven Rainwater
Why Just Build a Robot? Be a Robot!
78
Then and Now
by Tom Carroll
Robot Competitions and Contests
PAGE 21
4 SERVO 11.2008
THE COMBAT ZONE ...
Departments
TOC Nov08.qxd 10/8/2008 2:38 PM Page 4
11.2008
VOL. 6 NO. 11
SERVO 11.2008 5
36 A Robotic Puppet
by John Blankenship and
Samuel Mishal
See how to implement computer
control to give your robots the
illusion of life.
40 The Universal Motor
by Fred Eady
This circuit gives you ef fective control
of the AC power that is being applied
to your robots motor without having
to pamper the microcontroller.
48 Getting Control With the
Propeller: Part 3
by Kevin McCullogh
Stepper motors.
52 The Pico ITX Johnny 5
Project
by Andrew Alter
Part 3 shows the advantages of
having an onboard PC.
56 When LEGO Meets Sumo
by Phil Malone
See how combining two styles of
robots adds up to a unique
competition.
60 Build a GPS Smart Logger
by Michael Simpson
Youll want to get started building
this device as it will be incorporated
into the Ultimate Robot Build series
which picks up next month.
PAGE 56
PAGE 36
PAGE 40
Features & Projects
TOC Nov08.qxd 10/8/2008 2:39 PM Page 5
Published Monthly By
T & L Publications, Inc.
430 Princeland Ct., Corona, CA 92879-1300
(951) 371-8497
FAX (951) 371-3052
Webstore Only 1-800-783-4624
www.servomagazine.com
Subscriptions
Toll Free 1-877-525-2539
Outside US 1-818-487-4545
P.O. Box 15277, N. Hollywood, CA 91615
PUBLISHER
Larry Lemieux
[email protected]
ASSOCIATE PUBLISHER/
VP OF SALES/MARKETING
Robin Lemieux
[email protected]
EDITOR
Bryan Bergeron
[email protected]
TECHNICAL EDITOR
Dan Danknick
[email protected]
CONTRIBUTING EDITORS
Jeff Eckert Tom Carroll
Gordon McComb David Geer
Dennis Clark R. Steven Rainwater
Fred Eady Kevin Berry
Bryce Woolley Evan Woolley
Andrew Alter Phil Malone
Michael Simpson Samuel Mishal
John Blankenship Kevin McCullough
Ray Billings Mike Jeffries
Charles Guan Robert Farrow
CIRCULATION DIRECTOR
Tracy Kerley
[email protected]
MARKETING COORDINATOR
WEBSTORE
Brian Kirkpatrick
[email protected]
WEB CONTENT
Michael Kaudze
[email protected]
PRODUCTION/GRAPHICS
Shannon Lemieux
Joe Keungmanivong
ADMINISTRATIVE ASSISTANT
Debbie Stauffacher
Copyright 2008 by
T & L Publications, Inc.
All Rights Reserved
All advertising is subject to publishers approval.
We are not responsible for mistakes, misprints,
or typographical errors. SERVO Magazine assumes
no responsibility for the availability or condition of
advertised items or for the honesty of the
advertiser. The publisher makes no claims for the
legality of any item advertised in SERVO. This is the
sole responsibility of the advertiser.Advertisers and
their agencies agree to indemnify and protect the
publisher from any and all claims, action, or expense
arising from advertising placed in SERVO. Please
send all editorial correspondence, UPS, overnight
mail, and artwork to: 430 Princeland Court,
Corona, CA 92879.
I just finished listening to book
one of Kevin Andersons Saga of
Seven Suns, in which robots play a
central role. In the story, the Klikiss
robots are highly intelligent,
multi-limbed bug-like creatures
that communicate with other robots
using digital data streams and with
humans via speech. The tale
reminded me that at least one
perception of intelligent robots
revolves around the power of speech.
Unfortunately, progress in
robotic speech is relatively stagnant.
Speech synthesis has been a mature
technology for decades, and
advances in large vocabulary,
continuous speech recognition seems
to have hit a wall in the late 1990s.
This is in part because the projected
multi-billion dollar market for
PC-based speech recognition
document processing products never
materialized. Today, few people even
take notice of the speech recognition
software available for the PC and
Mac and most hate the speech
recognition systems used by the
automated attendants employed by
the airlines and credit card industries.
Despite the mystique of AI
surrounding speech recognition,
speech recognition software that
you can purchase for your PC/Mac
works by simply matching spectral
templates of sounds and using tables
of likely word sequences to build
sentences. For example, if you say
ball, the speech recognition
software would identify likely
Mind / Iron
by Bryan Bergeron, Editor
Mind/Iron Continued
6 SERVO 11.2008
Figure 1
Mind-Iron Nov.qxd 10/8/2008 6:52 AM Page 6
candidates such as ball, fall, and gall. Now, if the
previous three words are Johnny hit the, the algorithm
will likely rank ball as the most probable word. Current
accuracy limitations are about 97%, even with individual
training, and accuracy isnt improved by adding
processing power or memory.
The obvious limitation to current speech recognition
software is that its simply a replacement for the
keyboard and video display. There is no underlying
intelligence or reasoning capability. Of course, prototype
systems capable of reasoning have been developed in
academia, but these demonstration projects have been
limited to highly constrained domains.
What we need in robotics is a system that not only
recognizes the phrase, Johnny hit the ball, but that can
infer with what. If Johnny is playing soccer, we might
infer he hit the ball with his head. If the sport is baseball,
then we might infer he used a bat. Back to our needs in
robotics, the owner of a service bot should be able to
say, Please bring me the paper and the robot should be
able to infer that the owner is referring to the newspaper.
There are also issues of image recognition, mobility, and
grasping the paper, but they all depend on the robot
understanding the need of the owner.
The limitation of speech recognition in robotics then
isnt in the ability to transform utterances into machine
readable form, but with how the computational elements
of the robot should process the machine readable words
and phrases into actionable commands. So, how do you
go about accomplishing this?
Its a non-trivial task, as a search of the IEEE literature
on Natural Language Processing will illustrate. The
traditional techniques such as Hidden Markov Modeling
might be a bit intimidating if you dont have a degree
in computer science. However, you can get a feel for the
tools used to map out the contextual meanings of words
and phrases by working with Personal Brain. You can
download the free, fully-functional personal version at
www.thebrain.com.
You can use the Brain to build context maps that
show, for example, inheritance and the relationship
between various objects in your home (see Figure 1). For
your robot to bring you the newspaper, it would have to
first locate the paper, and it would help to know the
possible locations the paper might be found in the home.
It would be inefficient, for example, if the robot began
digging through your clothes closet in search of the
newspaper, instead of on the table in your kitchen.
Once you get used to working with Personal Brain,
you might want to explore other uses in robotics. For
example, I keep track of my various robotic projects
parts, suppliers, references, etc. by creating networks
with the program. In fact, the best way to build context
maps is to create explicit, detailed maps that actually help
you in everyday tasks. SV
SERVO 11.2008 7
Mind-Iron Nov.qxd 10/7/2008 2:37 PM Page 7
8 SERVO 11.2008
Bot Gets Bio Brain
Placing a functioning human brain
into a robot is still well within the realm
of science fiction, but some folks at
the University of Reading (www.read
ing.ac.uk) have created a biological
brain of sorts and hooked it up as a
robot controller. It has been known for
some time that cultured neurons are
somewhat like ants that have been
scattered away from the anthill in that
they can no longer function as a single
unit. However, when interconnected in
a culture dish, such neurons form sim-
ple networks that display spontaneous
electrical activity and can function as
memories; i.e., they can learn things.
In this application, Prof. Kevin
Warwick and associates placed the
neurons on a multielectrode array
which is a dish that employs 60
electrodes to pick up the cells signals.
This activity is then used to control the
robots movement. When the robot
approaches an obstacle, signals are
sent to the brain, and its responses
are used to drive the wheels left or
right to avoid hitting the object. The
research is not aimed at creating
biomechanical robots of the future,
however. Rather, according to
Warwick, The key aim is that
eventually this will lead to a better
understanding of development and
of diseases and disorders which affect
the brain such as Alzheimers disease,
Parkinsons disease, stroke, and brain
injury. This research will move our
understanding forward of how brains
work, and could have a profound
effect on many areas of science and
medicine.
Give Us Some Skin
Theres a basic problem with
creating a layer of skin for a robot. For
the skin to provide tactile feedback, it
must be able to conduct signals back
to the brain. And if the skin is pliable
enough to bend with the bots move-
ments, it has to be made of something
flexible, like rubber. The snag is that
rubber is a terrible conductor. But now
researchers at the University of Tokyo
(www.u-tokyo.ac.jp) say they have
developed a new, highly conductive
rubber, paving the way for robots with
stretchable e-skin.
The trick was to grind up some
carbon nanotubes, mix them with an
ionic liquid, and add them to the mix.
The resulting material flexes like ordi-
narily elastic but offers conductivity
about 570 times higher. Apparently,
one can use it to create elastic ICs that
can be mounted on curved surfaces
and stretched up to 1.7 times their
original size with no mechanical dam-
age or significant change in conductivi-
ty. (You can stretch the stuff more, but
conductivity drops by about 50 percent
by the time you get to 2.3 times the
original size.) With further develop-
ment of the material, bots of tomor-
row may be able to feel temperature
and pressure like we do.
Must Be Nuts
It isnt immediately apparent how
students at Troy High School (www.
troyhigh.com) became concerned
about the well-being of the worlds
professional coconut pickers, but they
are. It seems that gathering nuts from
the tree of life requires harvesters to
climb 100 ft trees and chop them
down with machetes, which is both
dangerous and inefficient. Hence, the
robotic tree climber, which the
students developed for the 2008
Lemelson-MIT InvenTeams event. The
remarkable feature of the remote-
controlled device is that it can
accommodate changing tree
diameters, thanks to its employment
of a DryLin QuadroSlide linear guide
system, which was donated by igus,
Inc. (www.igus.com), a manufacturer
of various motion-related components
and machinery. The developers of the
climber tell us that it will allow pickers
to scale more than 40 trees per day, as
opposed to the present five to 10. Will
by Jeff Eckert
Robytes
This small mobile robot sports a
biological controller based on
cultured neurons. Courtesy of
the University of Reading.
Flexible ICs may give robots a
human-like sense of touch.
Courtesy of the University of Tokyo.
This climber bot could boost coconut
pickers productivity by 800 percent.
Robytes-Nov-edited.qxd 10/6/2008 10:38 AM Page 8
the resulting glut of coconuts cause
a precipitous drop in the price of
coconut cream pie? Only time and
the commodity markets will tell.
Heli See, Heli Do
In the past, programming robotic
helicopters has been something of a
pain, given that they must perform
some fairly complex maneuvers and
(unlike fixed-wing vehicles) are inher-
ently unstable. But computer scientists
at Stanford University (www.stan
ford.edu) tired of laboriously
pecking out source code from scratch
have developed some AI algorithms
that allow their four-foot autonomous
helicopter fleet to teach itself to fly.
The process involves both ground-
based and copter-mounted instru-
ments, including accelerometers,
gyros, magnetometers, GPS receivers,
and cameras. It begins with a human
using a remote control to put a vehicle
through a series of stunts and
repeating them several times. The
instruments record the flight data,
which becomes the basis of the
control program. But the AI system
monitors the resulting autonomous
flight data, crunches the numbers, and
relays program modifications back to
the helicopter 20 times per second,
allowing the vehicle to learn from its
mistakes and actually perform better
than under remote control.
In the real world, such improved
autonomous performance could
enable these choppers to be used in
mission-critical operations such as
monitoring wildfires in real time and
searching for land mines in war zones.
Bots For Arts Sake
According to Oscar Wilde, Life
imitates art far more than art imitates
life, but sometimes art imitates
imitations of life, and a couple
interesting works were on display this
year. Perhaps the biggest spectacle
centered around La Princesse, a 50 ft
(13 m) mechanical spider created by
the French performance art company
La Machine.
The spider was showcased in
Liverpool, England, back in September
as part of the 2008 European Capital
of Culture celebrations. In the photo,
we see it clinging to the side of
Concourse House, a derelict tower
block that was scheduled for later
demolition.The spider was built in
Nantes, France, using steel and poplar
wood, and complex hydraulics, taking
an entire year to construct. Operated
by up to 12 people strapped to its
body, it weighs 37 tonnes, has 50 axes
of movement, and offers seven
different special effects: rain, flame,
smoke, wind, snow, light, and sound.
The project cost British taxpayers
1.5 million ($2.6 million), plus the
cost of treating unhinged arachnopho-
bia sufferers, but at least admission to
the celebration was free.
Less spectacular but (literally)
creepy is Miyata Jiro, a crawling
humanoid robot created by Japanese-
born artist Momoyo Torimitsu,
who now resides in New York.
Miyata is a detailed and lifelike
model of a Japanese salaryman
who basically crawls around on
his elbows like a soldier in the
field. He has performed in New
York, London, Paris, Amsterdam,
Sydney, and Rio de Janeiro so far,
evoking responses ranging from
laughter to anger.
According to Torimitsu,
When Japan entered its high
growth period in the 1960s, Japanese
society was transformed into a
`businessman culture characterized by
entertainment, movies, karaoke, TV,
compartmentalized housing, bars,
and even a sex industry that catered
to them. This artwork reflects my
impression of this particular culture.
Miyata can be seen at
www.youtube.com/watch?v=
glUnzzoFUxg. You may mistake the
performance for just an amusing little
parody, but thankfully we have critics
to set us straight. According to zing
magazine.coms Rainer Ganahl, The
power and success of this life-sized
crawling doll lies in the dramatic
representation of a businessman in
its most humiliating position: crawling
in the street in a suit. This is a strong
linguistic metaphor, as well as a
psychoanalytical and a pathological
one. So theres your elightenment
for the month. SV
Robyt es
SERVO 11.2008 9
Stanfords AI system allows helicopters to
learn aerobatic maneuvers by watching
others. Courtesy of Stanford University.
Robotics continues to be a popular
medium for artists, as demonstrated
by Miyata Jiro, the robotic
Japanese businessman.
La Princesse, a giant mechanical spider.
Robytes-Nov-edited.qxd 10/6/2008 4:54 PM Page 9
10 SERVO 11.2008
T
he Self-Reassembling robot is a
precursor to modular, self-
configuring robots of the future,
which are envisioned with many
thousands of parts and modules that
configure themselves for varying
applications or as in this case
reassemble all their parts after
separation by explosion.
In this experiment, the goals of
the robot are to perform a task, suffer
an explosion, reassemble itself, and
continue the original task from where
it left off.
The robot is designed to
disassemble along specific, preselected
lines or weakest links between the
modules in a structured fashion. By
ensuring that the robot separates at
these bonds between the modules,
the robot absorbs the shock and
disassembles at points where it is
capable of reassembling.
The self-assembly of the robot is
part of a larger plan for self-repair.
This type of self-repair involves
diagnosis of the problem/break
points, a plan for re-assembly, and
an execution of that plan, according
to Yim.
Diagnosis
The robot uses sensors to
determine that it is no longer
connected to itself. The robot consists
of clusters of modules. According to
Jimmy Sastra, the clusters are
connected to each other at certain
modules using magnets. Each
module face which is connected to
another module face has two IR
Contact the author at [email protected] by David Geer
A Self-Reassembling Robot
Ever seen a robot torn apart only to put itself back together? Jimmy Sastra, a student in the
Modular Robotics Lab at the University of Pennsylvania has. He helped create it. As with
most scientific endeavors, the Robotic Self-Reassembly After Explosion (SAE) project was
a solution to a problem: how to get a robot to reassemble itself after disassembly by
explosion (Towards Robotic Self-Reassembly After Explosion, the Modular Robotics Lab,
University of Pennsilvania, Mark Yim, et.al.). Jimmy Sastra, a named author on the paper and
research student at the University, calls an explosion the rapid randomized disassembly of
a system from a high-energy event. As shown in the video linked here with, the explosion
is the separation of the robot as students kick it apart, separating it into three parts.
This cluster of five modules shows the
camera module attached, top-side.
Close-up of cluster with camera module.
Geerhead-edited.qxd 10/8/2008 4:30 PM Page 10
(infrared) pairs: one is an emitter and
one is a detector.
The pairs check to see whether
they can communicate with the set of
pairs on the other module facing
them. If they cant communicate with
each other, they know they have been
exploded (disconnected from each
other). The IR pairs also inform the
modules as to who their neighboring
modules are.
Each cluster consists of five
modules screwed together. Each
module in a cluster also uses IR pairs
to determine which module is its
neighbor. Each cluster talks to itself
using a CANbus, which is a global
bus connecting the internal
microcontrollers.
Planning and
Execution
Each module in the robot
contains a microcontroller that
controls the angle of the module.
Each of three camera modules
employs a vision localization
processor. The camera module also
contains a communications unit.
The camera module includes a
three-axis accelerometer so that it may
know its orientation; whether it is
standing or lying down. After we kick
the robot to explode it, it might be
upside down. Using the accelerome-
ter, it will self-right the cluster or the
entire robot as needed. It needs to
self-right in order to locomote to
connect to the other clusters,
explains Sastra.
Each of three clusters has an
additional stand-alone controller
that communicates with the micro-
controllers in the camera modules.
Each microcontroller runs its own
state machine (software), according to
Sastra. If the robot is fully assembled,
it walks. If it is assembled, one of the
three stand-alone controllers in one of
the three clusters will become the
master controller over the other
clusters and control the walking task.
As the robot walks, it uses its IR
By the time this is published,
Jimmy Sastra and the self-
reassembling robot team will have
attended the Wired NextFest at
which they planned to demo the
robot. Its a well attended event,
comments Sastra.
The robot is a collaboration of
various labs at the University of
Pennsylvania, including CJ Taylors
lab, which worked on the vision
technology and Mark Yims lab, which
worked on the modular robotics.
Other researchers involved
in the project include Babak
Shirmohammadi, Michael Park, and
Michael Dugan, all of the University
of Pennsylvania. Sastra notes that
while there are about eight different
modular robotics labs around the
world, the robot from the University
of Pennsylvania is a very unstructured
demonstration of the technology,
and it uses a high impact means of
disassembling. Probably the closest
to this robot is in a lab in Japan,
called the Entran robot, which can
also self-assemble.
More Entertainment Than A Political Debate!
SERVO 11.2008 11
GEERHEAD
Three separated clusters attempting to
locate each other and re-join.
Two clusters making ground
toward each other.
Two clusters even closer. The third
cluster is shown in the background.
Three clusters re-united into a
single robot.
The single robot returns to its original
activity: walking.
Geerhead-edited.qxd 10/8/2008 4:31 PM Page 11
sensors to check whether the clusters
are all connected. If they are, it will
continue walking. If at any point it
determines that it is disconnected
from the other clusters, each cluster
begins searching for the others. This
becomes an independent task of each
master controller in each cluster. At
this point, the robot is essentially a
distributed system and each cluster
will circle until it locates another.
When any two clusters see each
other (the camera of one sees the
flashing LEDs of the other, and vice
versa), they start moving toward
each other. As part of the re-assembly
process, each cluster needs to localize
the other clusters so they can talk to
each other. The blinking LEDs enable
each cluster to ID the others because
they use different blink patterns.
Once the clusters recognize each
other, they come together so that
they can dock at their ajoining
modules, which use magnetic faces,
as previously mentioned.
Conclusion
This technology is just the
beginning of robots that can
quickly re-assemble once they have
literally been blown apart into many
pieces. SV
GEERHEAD
Video demo, self re-assembling robot,
separated, then
reconstructing itself
http://modlab.seas.upenn.edu/
wiki/?n=Main.JimmySastra?action=
download&upname=sae.mpg
Roboticist Jimmy Sastra website
http://modlab.seas.upenn.edu/
wiki/?n=Main.JimmySastra
Other cool modlab robotics videos
http://modlab.seas.upenn.edu/
wiki/?n=Main.Movies
RESOURCES
The single robot with its third
cluster upright.
HE8EJIFH;<;H>?J;9)0'
The results of an informal poll taken recently at the First
Annual World Domination Symposium are now in. Robots
prefer Hitec servos 3:1 over other servo brands. They know the wide
selection of Hitec analog and digital servos provide them with the power and depend-
ability needed to eventually take over the World. Make your robot happy, use Hitec servos.
12115 Paine Street | Poway | California | 92064 | 858-748-6948 | www.hitecrcd.com
>_j[Y
Ej^[h8hWdZ
.EW2OBOT3ERVOS
HSR-5980SG
Speed: 0.14 sec
Torque: 417 oz/in
Steel Gears
HSR-5498SG
Speed: 0.19 sec
Torque: 187 oz/in
Steel Gears
HSR-5990TG
Speed: 0.14 sec
Torque: 417 oz/in
Titanium
ALL SPECFCATONS AT 7.4 VOLTS
12 SERVO 11.2008
Geerhead-edited.qxd 10/8/2008 4:35 PM Page 12
Full Page.qxd 10/7/2008 11:45 AM Page 13
Since I like to group similar topics with the questions in this
column, the theme this month seems to be motor controls.
Q
. Hey, could something like a relay board be used
for driving really big honking motors with PWM?
I have eight relays, and (unless Im confused) you
can make an H-bridge out of four, so it seems like you could
use this as a dual H-bridge motor driver if you wanted, and
have your motor power completely separated from your logic
circuitry. Or is this nonsense?
- Joe in Fort Collins
A
. In reality, you dont need so many relays to make a
reversible motor controller. If you design a motor
controller that is just all relays, you would only need
two relays if one of them is a DPDT (double dole, double
throw). One example of this type of driver is shown in Figure
1. There are only two speeds with this type of a driver: ON
and OFF. Diodes D1 and D2 shunt the CEMF, often called
Back EMF to the relay coil and not to the transistors. Diodes
D3 and D4 try to keep those voltage spikes out of your
power supply. The odd looking diodes D5 and D6 are
transient voltage suppressors (TVS) that protect the
transistors from excessive voltage spikes between the
collector and emitter. The values of all of these diodes and
transistors depend upon the current that you are running
through your relays; more current = bigger relays = more
drive current to turn on their coils. This type of motor
controller is pretty common in older BattleBot style
vehicles. It is simple, rugged, and high powered. We call it
the Bang! Bang! motor controller because it has little
finesse. It literally bangs the motor on and off. It works, but
it aint pretty. With a little more effort, we can create a more
useful motor controller that can handle very large loads and
have variable speeds, as well. Usually, our robot motor
controllers are H-bridges that use transistors to choose the
direction of current flow through our motors, and from that
the motor direction. However, high powered H-bridges are
expensive and need proper care and feeding. If we use a
MOSFET and single DPDT relay, we can create very high
current motor drivers for very little cost. Figure 2 shows just
such a motor controller. This particular motor driver is limited
to eight amps because that
is the current limit of the
transformer. The MOSFET is
capable of handling over 30
amps. Note that this design
uses opto-isolators to protect
the rest of our robot from
unfriendly voltage and
current spikes from the
motor controller. The relay
has the usual CEMF diode
and the MOSFET is protected
by a TVS, as well. Another
notable design characteristic
is the zener diode on the
gate of the MOSFET. This is
to protect the MOSFET from
having the gate ring at a
Tap into the sum of all human knowledge and get your questions answered here!
From software algorithms to material selection, Mr. Roboto strives to meet you
where you are and what more would you expect from a complex service droid?
by
Dennis Clark
Our resident expert on all things
robotic is merely an email away.
[email protected]
14 SERVO 11.2008
Figure 1. Relay only motor driver.
MrRoboto-Nov-edited.qxd 10/7/2008 11:08 AM Page 14
higher voltage than the Vgs rating of the device. Ringing
can occur on any MOSFET that is driving a high Vds (Voltage
across the drain and source of the MOSFET). Even if the
MOSFET has a voltage rating of 60V, the Vgs will typically be
much less than that. The resistor R4 is used to bleed off the
voltage at the gate of the MOSFET which will speed up its
switching time. The PWM frequency here is limited by the
opto-isolator transition speeds. The advantage of this type of
MOSFET/relay motor driver compared to the relay only driver
is that you can PWM the MOSFET and get variable speeds. If
you are driving large currents, however, it is a good idea to
turn the PWM off before switching motor directions to avoid
arcing on your relay contacts.
Q
. Ive heard that PID is hard to implement but that it
makes your motors run better. Is this true?
- Don
A
. Hmmm, I guess this depends on your definition of
difficult. There have been many articles written about
PID algorithms, and if you have read some of them
you could come away with the idea that PID is horrifically
complex and difficult to implement. Really, this is not
generally true. Sure, some of the very fancy algorithms that
need to run super fast for super accurate motor controls can
be very hairy indeed. But most of that complexity comes
from the need to have high accuracy for special applications.
We can implement PID in our robot motors with a minimum
of complexity because we would be happy with just getting
constant speeds that dont depend much on battery levels.
Before we continue, some definitions are in order for the
elements of a PID algorithm.
Proportional: We will apply a correction that is
proportional to the difference between the speed we are
going now and the speed we want to be going. In other
words, if we want to be going 500 RPM and we are going
100 RPM, we will have a larger P term than if we wanted to
go 500 RPM and we were already going 400 RPM.
Integral: We will add a correction every time we are not
going the speed that we want to be going. This element of
the PID algorithm is usually the one that is misunderstood.
With this element, we will accumulate an error term every
cycle of the PID where our speed is not where we want it to
be. Sometimes the P error term will not be large enough to
reach our terminal speed. Over time, the I error term will get
larger and force a greater error correction to eventually
occur. This is a very handy error term for making smooth
corrections to large error terms. This term should be kept
small relative to the other PID elements.
Derivative: The P and I elements have been driving us
onward to our terminal speed goal. As we approach our
goal, someone needs to start applying the brakes so that we
dont overshoot the target. This is what the D term will do.
As the motor speed gets closer to the terminal value that we
want, the D term will start supplying a negative correction to
slow the acceleration down so that we wont overshoot our
target speed (by much). This term will be larger than the I
term, but still smaller than the P term. This term is arrived
at by subtracting the last error from the current error.
Eventually (we hope), the current error will be smaller than
the last error and this term will get increasingly more
negative.
Error: This is the name given to the difference between
the terminal (target) speed and the current speed.
Correction: This is the PWM value that we will give the
motors to tell them to speed up or slow down.
So, here is how a PID loop is calculated and used.
SERVO 11.2008 15
Figure 2. MOSFET and
relay motor driver.
MrRoboto-Nov-edited.qxd 10/7/2008 11:10 AM Page 15
16 SERVO 11.2008
Read your chosen feedback value and subtract it from
your desired terminal value. This is called the error term. You
can get this any way you want via wheel encoder, motor
back EMF readings, or anything else you wish to use. It will
be: error = (desired speed current speed).
Calculate your P term. It will be: kP * (error term) =
Vproportional.
Calculate your I term. It will be: kI * SUM(all past error
terms) = Vintegral.
Calculate your D term. It will be: kD * (current error
last error) = Vderivative.
Calculate your Correction term. It will be: Vproportional
+ Vintegral + Vderivative. Note that Vderivative will most
likely be a negative term.
Apply your correction term to your PWM setting; this
will set the voltage to the motor.
A PID algorithm will have terms that are used to multiply
times the error term. These terms will supply the gain of the
term. Think of them as amplifiers for the error term in the
PID algorithm. Typically, they are denoted with a lower case
k. In order of our definition above, they are kP, kI, and kD.
Youve probably heard the term tuning a PID loop. This is
the process of tweaking the three terms above to give your
PID algorithm the response you desire.
That isnt so scary, is it? There are more sophisticated
ways to calculate these values and come up with proper
corrections that will work with your PWM generation, but
careful selection of your PID gains will allow your loop (called
a loop because you do it over and over again) to return sane
values. Your friendly neighborhood SERVO Magazine website
has a C program written in CCS PCM for the PIC16F73
microcontroller that allows you to play with your PID
algorithm to see what gain values cause what responses.
You can download this program at www.servomagazine.
com under Mr. Roboto as picpid.zip.
Ill describe the various functions of this demonstration
code first. Picpid will allow you to control the speed and
direction of a DC motor through a serial interface at 115200
baud. You are free to choose your favorite processor, but I
recommend that you use one that has a hardware PWM, as
well as a hardware USART, so that your PID algorithm can
run as fast as it can in the background. This program does
not use interrupts to take the error term; it simply operates
at a sample rate of every 5 ms.
To do the best job with a PID algorithm, you should
have the sample rate repeat at a constant rate so your error
terms will be proportional to both the time they are taken
and the error value that you get. Picpid is simply an example
program that will allow you to play with PID values to see
what effects they have on your hardware.
Picpid uses the ADC hardware to measure the CEMF (or
back EMF) of the DC motor to determine how fast it is
spinning. This isnt incredibly accurate, but it requires no
other sensors to be used beyond that required to get the
voltage from the motor wires. Listing 1 shows the GetError()
function which reads that back EMF. Feel free to modify this
to get your quadrature readings instead. (Listing 1, 2, and 3
are available on the website, as well.) Here, in this function,
you should scale your readings to allow them to match
up with your PWM settings. Im using a 10 bit PWM in
the PIC hardware, so I scaled my readings up by two to get
better response.
Note that new settings are only sent to the program
when you press the L key. This allows you to set several
attributes before the motor has to respond to them.
Picpid is a very simple PID implementation, but it works.
There are bugs in it, such as interesting motor behavior at
boundary conditions that I didnt test and correct for. Since I
chose to use 16-bit signed calculations, the resolution isnt as
great as it could be, but again, it works. Experiment with the
settings to see what happens. You may wish to change the
program to make it implement a positional servo mechanism
instead of one controlling motor speed. It can be done!
I will leave this as an exercise for the student. You too
can implement PID in your motors quite easily. However, I
caution you a PID algorithm of sufficient sample speed
will take over your microcontroller if it is a low speed
device. I recommend that you implement PID on a dedicated
microcontroller and talk to it via a serial connection like this
one or SPI or even I
2
C so that your main computer can set
its mind to higher things that you want your robot to
be doing.
I hope that youve learned something this month.
As usual, I can be reached for questions, comments, and
criticisms at [email protected] and Ill be happy
to work on it! Until next time, keep on building those
robots! SV
signed long getError()
/* Find the difference between where we want to be and
where we are. */
{
signed long error;
unsigned int16 ma,mb;
setup_ccp1(CCP_OFF); //Turn off PWM
delay_us(500); //wait for steady state
set_adc_channel(0); //get fwd side voltage
delay_us(20);
ma = read_adc();
ma <<= 1; // Amplify the signal, making it
// more relevant
set_adc_channel(1); //get reverse side voltage
delay_us(20);
mb = read_adc();
mb <<= 1;
currPos = (signed long)((signed long)ma - (signed long)mb);
//printf(ma= %lu mb= %lu\n\r,ma,mb);
setup_ccp1(CCP_PWM_PLUS_3);
error = calcPos - currPos;
return error;
}
MrRoboto-Nov-edited.qxd 10/7/2008 7:15 AM Page 16
email: [email protected]
Full Page.qxd 10/7/2008 11:43 AM Page 17
KicCrad
1
SORC Technologies, LLC (pronounced one source)
announces the release of its premiere product, the
KicCrab walking crab robot kit. This kit is one of the
most complete robot kits on the market today,
combining the three basic components of robotics
(mechanical engineering, electronics, and programming)
to create the ultimate robotics experience for both the
advanced and beginner robotics enthusiast.
The KicCrab is based on the popular three motor
walker design and utilizes tiny R/C airplane servos which
can be precisely positioned for controlled walking.
Many hours have gone into the design to make it
both appealing and functionally balanced for great
performance. All structural components are cut from
light but durable expanded PVC plastic.
Kits are available in four colors: red, yellow, green,
and blue. The functional electronic circuit board is
printed on colored boards to match the crab colors.
When complete, the circuit board becomes the curved
shell of the crab, giving it a unique character while
maintaining a robotic look. This versatile board is also
equipped with extra ports for the addition of an IR
demodulator for remote control, I
2
C peripherals, IR
sensors, tactile sensors, temperature sensors, and
light sensors, as well as a modulated IR output for
communications with other crabs or for annoying your
family by changing the channels on your TV.
The KicCrab offers USB programming via onboard
USB to TTL conversion. It also has a state-of-the-art
onboard Lithium Polymer battery charging circuit that
charges and manages the KicCrabs battery using PC
power through the USB connection. The kit includes the
battery, which should last the lifetime of the robot.
The KicCrab also includes the KicChip processor
and the intelligently designed KicStudio programming
environment. This system provides an outstanding
solution for those who havent yet mastered the skills of
programming. Using a flowchart-style programming
interface, even the most inexperience programmer can
be using his KicCrab in no time. The chip can also be
programmed in the Basic language for the more
experienced programmer. Those wishing to learn Basic
can program using the flow chart style and watch as its
translated to Basic in real time.
The assembly of this kit requires a skill level of 5 and
therefore may not be suitable for children under the age
of 15. Kits are available online for $79.95.
For further information, please contact:
New Robotics Curriculum
I
nnovation First, Inc. (www.innovationfirst.com),
and Autodesk, Inc. (www.autodesk.com), have
teamed up to offer a new robotics curriculum package.
It is primarily intended for classroom use, but it includes
some features that should make it appealing to the
home hobbyist, as well. Autodesk has been around
for years, providing 2D and 3D design software to
manufacturing, construction, and other markets, and its
contribution is based on the Autodesk Inventor package,
which is used by many professional robotics engineers.
Innovation First is kicking in its VEX Robotics system,
which is already used in more than 2,000 classrooms.
The result is the new VEX Classroom Lab Kit, which
provides a custom solution for robotics education that
is flexible enough to be applied at multiple grade levels,
including secondary and post-secondary.
The basic $699 package contains a set of 17 units,
each of which contains a separate lesson, concept, and
activity. For a list of included hardware and options, visit
www.vexrobotics.com/vex-education.shtml.
The Lab Kits make it easy to bring VEX Robotics into
the classroom while making budgets go farther. Turn-key
bundles of essential classroom equipment make it easy
to order while saving money. The Classroom Lab Kit
which is ideal for two to five students. This bundle
includes everything needed to design, build, power, and
operate robots. Increase the challenge level by adding
expansion kits for advanced sensors, drive systems,
and pneumatics. For larger classes, add kits for every
New Products
ROBOT KITS
EDUCATION
N
N
E
E
W
W
P
P
R
R
O
O
D
D
U
U
C
C
T
T
S
S
18 SERVO 11.2008
Web: www.1sorc.com
1SORC Technologies
NOV08NewProd.qxd 10/8/2008 9:54 PM Page 18
additional two to five students.
Bundled kits are ideal for the beginning VEX
Robotics engineering lab and include popular accessory
items. Turn-key discounted bundle includes:
Protobot Robot Kit
Microcontroller
Transmitter and Receiver
Additional Servo
Bumper Switch Kit
Limit Switch Kit
Advanced Gear Kit
Chain and Sprocket Kit
PWM Cable Bundle
(4) Safety Glasses
Inventors Guide
Tank Tread Kit
Booster Kit w/Additional Metal, Gears, and Hardware
7.2V Robot Battery and Charger
9.6V Transmitter Battery and Charger
For further information, please contact:
New Line of Wheels and Hubs
B
aneBots has a newly released line of wheels and
hubs specifically designed to
provide a simple, lightweight,
durable, low cost method of mount-
ing a wheel on just about any small
motor or shaft. Constructed of a
thermoplastic rubber tread bonded
to a polypropylene core, they
provide excellent traction.
The wheels are available in
eight different sizes ranging from a
small 1-3/8 diameter (weighing
only 1/4 oz) up to a relatively
large 4-7/8 diameter. Treads are
available in various durometers
including soft 30 Shore A green
tread, medium 40 Shore A orange
tread, and relatively hard 50 Shore
A blue tread.
Standard low profile hubs and
bushings are available supporting
shaft sizes from 2 mm upto 1/2
in both drive wheel and caster
applications. Wheels can be mounted one, two, or even
three wide. Mounting two or three wheels to the same
hub gives the flexibility of creating wider tread or mixing
different durometers.
Custom hub solutions are available subject to
minimum quantity orders (typically starting at 500).
For further information, please contact:
WHEELS
Is your product innovative, less expensive, more functional, or
just plain cool? If you have a new product that you would
like us to run in our New Products section, please email
a short description (300-500 words) and a photo of your
product to: [email protected]
Show Us What Youve Got!
520 W 67th St.
Loveland, CO 80538
9704618880 Fax: 9704618771
BaneBots, LLC
Website: www.innovationfirst.com
www.autodesk.com
Innovation First, Inc.
and Autodesk, Inc.
SERVO 11.2008 19
NOV08NewProd.qxd 10/8/2008 9:55 PM Page 19
Know of any robot competitions Ive missed? Is your
local school or robot group planning a contest? Send an
email to [email protected] and tell me about it. Be sure to
include the date and location of your contest. If you have a
website with contest info, send along the URL as well, so we
can tell everyone else about it.
For last-minute updates and changes, you can always
find the most recent version of the Robot Competition FAQ
at Robots.net: http://robots.net/rcfaq.html
R. Steven Rainwater
N No ov ve em mb be er r
1 Bloomington VEX Tournament
Ivy Tech Community College, Bloomington, IN
Events include Top-It-Off-2, Pythagorean-2, VEX
Tractor Pull, and a CAD Design Contest.
http://robotics.bloomington.googlepages.com
15 ROBOMO Expo
Indian Trails Public Library, Overland, MO
This years ROBOMO will include demonstrations
of mini-Sumo, line-following, mini-Magellan, and
robot soccer. All robots are welcome. There
will be door prizes and a Chinese food buffet
afterwards.
www.robomo.com
21-23 All Japan MicroMouse Contest
Tsukuba, Japan
Includes Micromouse, Micromouse Expert level,
and Micro Clipper events.
www.robomedia.org/directory/jp/game/mm_
japan.html
22 Roaming Robots Grand Final
Kent, UK
Robots (RC vehicles) attempt to destroy each other.
www.roamingrobots.co.uk/events_
calendar.htm
22-23 Canadian National Robot Games
Ontario Science Centre, Toronto, Ontario, Canada
Lots of events including Mini-Sumo, full size
Sumo, fire-fighting robots, line-following, a
walking robot race, Photovore, Search and Rescue,
and an Art and Innovation contest.
www.robotgames.ca
24 Hawaii Underwater Robot Challenge
Kahanamoku Pool, UoH at Manoa, Honolulu, HI
Timed, multitasking tethered mission.
www.marinetech.org/rov_competition
29 FIRST LEGO League of South Africa
Championship
Sci Bono Science Center, Johannesburg,
South Africa
FIRST LEGO League events.
www.fllsa.org.za
TBA Souths BEST competition
Beard-Eaves Memorial Coliseum, Auburn
University, Auburn, AL
Different each year, see website for details.
The listed date is for the state-wide championship
contest. A month earlier, the various teams have
regional contests and the winners go on to
compete at the state-wide competition. BEST
is very similar to the FIRST contest except that in
the BEST event, teams of students build robots
from standardized kits with only minimal guidance
from their corporate sponsors.
www.southsbest.org/ or www.bestinc.org/
D De ec ce em mb be er r
4-31 ROBOEXOTICA
Museumsquartier, Vienna, Austria
Robots are tested on serving cocktails, mixing
cocktails, bartending conversation, lighting
cigarettes/cigars, and other achievements in
electronic cocktail culture.
www.roboexotica.org/en/acra.htm
5 Robotex
Tallinn University of Technology, Tallinn, ESTONIA
www.robotex.ee
17-21 IROC International Robot Olympiad
Kuala Lumpur, MALAYSIA
www.iroc.org or www.iiu.edu.my/ICOM/2008
Send updates, new listings, corrections, complaints, and suggestions to: [email protected] or FAX 972-404-0269
20 SERVO 11.2008
Events.qxd 10/8/2008 9:27 PM Page 20
he folks at Inertia Labs may have
forever earned a celebrated place
in the memory of combat
robotics fans with their formidable
and uplifting creations like Toro, but
Alexander Rose and Reason Bradley
have also put their energies into other,
less destructive projects. One of their
new endeavors at Inertia Labs is as a
designer and distributor for the new
quad motor Surveyor SRV-1Q from
Surveyor Labs a nifty little treaded
robot outfitted with a high quality
camera. Perhaps the most distinctive
detail about the SRV-1Q is that it
allows you to do your surveying
autonomously or over a wireless
network. How cool is that? With that
most tantalizing detail about the
Surveyor robot and its capability to be
controlled wirelessly over the Internet,
we were excited to see what this web
savvy robot had to offer.
Let Your Robot
Do the Walking
The Surveyor robot can be
acquired in pre-assembled form, or
it can be bought as a kit that needs
to be put together. We received the
already built version, but we also
received the base kit so that we could
make another bot. Two bots in one
article is a bit too crowded, so the
project base will have to wait for
another month.
At first blush, it is evident that the
Surveyor is one sophisticated bot. The
tough rubber treads give the bot a
rugged feel, and the solid frame
constructed from thick plastic and
machined aluminum is like Chuck
Norris walking into High Tea. The
elegant exterior hides four DC gear-
motors with a 100:1 gear reduction
that gives the robot both hefty torque
and considerable zippiness. The robot
is also quite well equipped in the
sensor department. A high quality
camera takes center stage on the face
of the bot, and it is flanked by laser
pointers for range finding. And in
case those sensors dont make the bot
aware enough for you, the fancy
printed circuit boards (PCBs) have
ports for additional sensors like
ultrasonic range finders.
The robot comes with an antenna
and a charger that imbues it with over
four hours of battery life. A clearly
labeled switch at the back of the bot
labeled ON, OFF, and CHARGE is also
a comforting sight. The robot radio is
Lantronix Matchport 802.11b/g WiFi,
and the robot can be teleoperated
from a distance of 100 m indoors,
and up to 1,000 m with a line of
sight. The bot makes use of three
layers of PCBs (Figures 2, 3, and 4),
but with the plastic headpiece holding
down the camera, the lower boards
are fairly difficult to reach. That,
however, shouldnt be a major
concern. The topmost PCB on a fancy
red wafer is what will intrigue most
tinkerers, because it is this board
that possesses the spare ports for
additional sensors and other flights
of fancy. And to top it all off, the red
PCB is graced by the presence of a
nice Blackfin processor.
One Fish, Two Fish,
Red Fish, Blackfin
The Blackfin processor from
Analog Devices debuted circa 2001,
and it is designed specifically to
support open source operating
systems like Linux. This is great news
for tinkerers of a programming
persuasion, but the descendant of the
SHARC processor has something to
offer to more mechanical hobbyists,
as well. The Blackfin was designed to
SERVO 11.2008 21
FIGURE 1.THE SURVEYOR.
THIS
MONTH:
Surveyors
Travels
TwinTweaks-Nov-edited.qxd 10/6/2008 3:30 PM Page 21
Twin Tweaks ...
create a platform where applications
including sound, video, and signal
processing could be integrated
without sacrificing the performance of
any single application. A project that
combines video and other signal
processing sounds a lot like a camera
toting robot how fortuitous! And to
top it all off, the Blackfin cuts through
the waters of signal processing with
the utmost energy efficiency.
The Blackfin processor on the
SRV-1Q handles the camera (Figure 5),
which is an Omnivision OV9655 1.3
megapixel sensor. For those of us that
dont structure our thoughts with spec
numbers, that basically means that
the bot is outfitted with a nice color
camera. The SRV-1Q seems to be
nothing but quality through and
through, and you get what you pay
for. The bot comes with a price tag of
a little under $500, which really seems
quite reasonable given the caliber of
the robot. A fine chassis, robust
motors, a stunning camera, an able
processor, and more software than
one could shake the proverbial stick at
all seem like excellent justifications for
something that is a much better use
of ones money than the newest
gaming console.
My Robot is More
Well-Traveled than
Your Robot
We were eager to test out the
capabilities of the SRV-1Q, but the
idea of tackling a robot without the
comfort of a software CD did seem a
little daunting. We wanted to get an
idea of the bots capabilities and limi-
tations before we tackled it ourselves,
so we looked to the place where any
roboticist would look if they were in
the same situation Australia!
A fun showcase of the Surveyor
robots abilities comes from a
somewhat unexpected place the
folks at the Australian branch of the
energy company British Petroleum.
The BP Explorer is a website that
allows users from all over the world
to drive a Surveyor robot around a
diorama of a cityscape and the
surrounding countryside. Not only is
this a cool way to
demonstrate the wireless capabilities
of the Surveyor, but there is also
something intangibly empowering
about controlling a robot that lives in
another continent. The project also
earns kudos for the camera on the
Surveyor, which gives a clear color
picture of the surroundings that is
detailed enough to read model
billboards scattered around the
environment that offer clues to a
secret message.
Why would these intrepid bots be
given a playground by an energy
company, anyway? Apparently, the
demonstration is meant as a way to
spotlight the companys environmen-
tal initiatives. The SRV-1Qs in the BP
Explorer all run off of batteries that
are charged with BP solar panels. For
that reason, the bots only run during
the daytime (in Australia).
When the website debuted, the
little bots were so popular that the
waiting time to use one of the five
was several hours. When we surfed
the website, however, there was no
wait time at all and we were able to
drive around at our leisure. After a
couple of rounds, we felt that we
had become sufficiently acquainted
with our robots Australian cousins,
so we turned back to the home front
with renewed excitement and pride
in the capabilities of the
robot.
We personally think
it is a great thing to see
the adventuresome
bot involved in the
environmental cause,
especially when it takes
the form of a fun and
interactive game.
22 SERVO 11.2008
FIGURE 2
FIGURE 3
FIGURE 5
FIGURE 6
FIGURE 4
F
I
G
U
R
E
7
TwinTweaks-Nov-edited.qxd 10/6/2008 3:31 PM Page 22
Surveyors Travels
Even Robots can have
Dog Day Afternoons
After our international adventure,
we were even more excited to tackle
our SRV-1Q. Even with the SRV-1Q in
pre-built form, there is some minimal
assembly required. All you need to do
it attach the antenna to the bot, and
while this might sound like a trivial
task it turned into something much
more dramatic. Normally, the antenna
should just screw into place near the
stern of the robot, but our parts had a
bit of a compatibility problem (Figure
6). The connector on the antenna and
the connector on the bot were both
male, with the connector pins to
prove it. It was only a minor setback,
and after a quick trip to our favorite
electronics shack we were ready to
proceed. We acquired a male-to-male
connector (Figure 7), but we hoped
that the extended length of the
connection wouldnt interfere with the
bots nifty treads.
To begin the process, we screwed
the new connector into the one on
the antenna. When we werent sure if
it was fitting nicely, we unscrewed the
male-to-male connector, and we were
surprised to see the pin from the
antenna come with it.
And with that, our problem had
been solved, and the antenna screwed
onto the robot just as it should have.
We were assured by the folks at
Surveyor labs that this mix-up only
occurred in a small number of kits,
but if you were to run across one of
them you can perform a much quicker
fix than the one we did. The pin in
the connector on the antenna came
out so easily because the connector
was socketed and it wasnt soldered
to a wire. Since this is the case, some
needle-nosed pliers can be used to
simply extract the pin with no ill
effects. With the assembly of the
robot finally finished, we let the little
bot charge up its Li-poly battery pack
before we made our first attempt at
teleoperation.
Smooth Teleoperator
Dont be fooled into thinking that
the SRV-1Q doesnt come with any
goodies just because it doesnt come
with a CD. The bot comes equipped
with some handy firmware that makes
wireless operation over the computer
a snap. To get everything fully config-
ured, youll have to visit the Surveyor
website (www.surveyor.com). The
Surveyor website provides clear and
concise instructions on how to get
started with your bot. There are a
plethora of software applications to
choose from, but we went with the
highly recommended Java console.
The Java console can be downloaded
for free, and after the generic
installation procedure youll have a
screen pop up as in Figure 8.
After opening the console, the
next task was to connect to the
robots wireless network (Figure 9).
An SRV1 network conveniently
popped up, and connecting was no
problem. After we were connected,
the mysterious purple smear on the
Java console was replaced by an
image of our dorm room desk. While
this might seem random, it was
because the robot was looking at our
desk. Before we could officially get to
playtime, we had to configure the
Matchport connection for easy access.
This actually involves a somewhat
lengthy process, but roboticists are
carefully guided through the steps
with generous screenshots and clear
directions.
With all of the network nuts and
bolts taken care of, we were ready to
get going (Figure 10). Some of the
controls on the Java console are pretty
straightforward. Directional arrows
control the basic movements, while a
familiar red octagon causes the bot to
freeze in its tracks. Some controls,
however, are a bit more enigmatic.
Buttons labeled fast and slow can
control the motor speed of the robot,
and the different sized rectangles on
the right side of the console can
change the resolution of the screen.
Dont think that you could get a huge
screen for nothing though theres a
corresponding trade-off in frame rate.
In addition to the screen with the mys-
terious button, the command prompt
window also pops up with the Java
console (Figure 11), and it provides
even more enigmatic feedback that is
sure to delight programmers.
Driving around our own SRV-1Q
was quite like our experience with the
Australian robot, but without the lag
SERVO 11.2008 23
FIGURE 8
FIGURE 9
FIGURE 10
TwinTweaks-Nov-edited.qxd 10/6/2008 3:32 PM Page 23
time. The scenery of the miniature
cityscape was replaced by the scenery
of our dorm room. The quality of the
camera image was stunning, and the
treaded robot was also deceptively
zippy. One important caveat, however,
is that the robot will continue to move
in the direction specified until another
command is given. We figured that
the driving would be like that of the
Australian bot pressing a directional
button would cause the bot to move
in that direction for a time proportional
to the time that the button was
pressed. This was not the case, and
the unexpected learning curveball
caused the over-eager robot to
crash into a wall. Thanks to its robust
construction, no damage was
inflicted, but we were more careful
from then on out.
After a bit of practice, the driving
becomes a bit more intuitive, but
slower motor speed is definitely
helpful for navigating obstacle-laden
areas and for enjoying the scenery.
The frame rate of the camera is also
admirable, because it is good enough
so that surveying your space doesnt
become a motion sickness inducing
blurry mess.
The robot even has a built-in
software module that allows several
computers to view the output from
the camera, so your robot can have a
nice audience as it surveys the land.
Your Telepresence
is Requested
For those who can study a robots
behavior like a patient naturalist and
determine how the bot could be
improved, the Surveyor website also
offers the source code for the Java
console (which is open source). The
site even encourages tinkerers to mess
around with the code and share their
improvements. In addition to the Java
console, there is also a Python console
(also open source, of course), and the
website has links to all of the most
popular third party software like
Roborealm and Microsoft Robotics
Studio. The popular platform
Roborealm can be acquired for free
at www.roborealm.com. The down-
load was quick and painless, and soon
we were ready to see what else the
SRV-1Q had to offer (Figure 12).
The Roborealm program sports an
interface that looks fairly intimidating,
even if only because it has such a
plethora of options for image
processing. There are options for edge
and blob detection, and also a myriad
of other things to keep even the most
technical of tinkerers occupied for
days on end. Some of the options give
some quite interesting images, from
the minimalistic skeleton to the unflat-
tering Sobel edge convolution (Figure
13) to the trippy Canny edge detection
method (Figure 14). You can even turn
the object of your robots attention
into a cartoon using the whimsical
Kuwahara variance filter (Figure 15).
For all of those folks unfamiliar
with the refined mathematical
techniques of image processing
(ourselves included), the numerous
methods presented by Roborealm are
a great motivation for some intellectu-
al development. You can drag your
cursor over each option for a very
brief description, but this will probably
only serve to whet your intellectual
appetite.
Youll be asking yourself why the
Sobel edge convolution creates such a
scary picture, and a little research will
reveal that the Sobel method analyzes
the image gradient and takes the
areas of highest gradient as the likely
edges of the image. Then, you have
to look up what an image gradient is,
and youll find out that it is a gradual
blend of colors that changes in
discretizable steps from low values
(white) to high values (black) of color.
Then youll want to learn about the
trippy Canny method, and the
wonderful floodgates of curiosity will
have been officially opened. After an
exciting whitewater ride, youll find
that you are much more well-versed
in the subtleties of image processing
than you were before.
Twin Tweaks ...
24 SERVO 11.2008
FIGURE 13
FIGURE 14
FIGURE 15
FIGURE 12
FIGURE 11
TwinTweaks-Nov-edited.qxd 10/6/2008 3:36 PM Page 24
But just in case image processing
isnt your cup of tea, the Surveyor
can also run autonomously using
interpreted C programming. Programs
are stored in Flash memory. There are
special robot commands and the
protocol is also available on the
website. The robot-specific commands
even include those for a wander
mode and a swarm mode. There
are entertaining videos on the website
that demonstrate these. And, as you
might have guessed, there is also
sample code that can be acquired
through the website, and by
extension the community of SRV-1Q
users that frequent it.
Open Source
Opening Doors
Perhaps the most exciting things
about the SRV-1Q are the possibilities.
In the space of this article, we have
hardly even scratched the surface of
this bot. It can run autonomously, it
can archive the video it takes, you can
even get a bunch of SRV-1Qs together
to make a swarm. The bot can be
expanded with more sensors, and it
can even be given stereo vision with
the addition of another camera. Hacks
like stereo vision and other things that
score highly on the cool factor scale
are all shared on the Surveyor Labs
website, and a Robot User Forum
encourages hackers and hobbyists to
share their latest projects.
All of the possibilities are made
reachable because the bot is open
source. Not only can tinkerers mess
around with the source code, but
schematics and other diagrams of the
robot are also freely available. Users
can even download a Solidworks
3D model of the SRV-1Q from the
website so they can truly get an idea
of how this robot has progressed from
design to reality. The open source
mentality seems to have been truly
adopted by the folks at Surveyor, with
all of the shared software, hacks, and
enthusiasm for creating a better and
more interesting product.
The Surveyor Labs website
features a link to a video about the
Google Lunar X Prize that talks about
the new contest to send a robot to
the moon tasked with photographing
the Lunar Lander. With all of the
promise shown by the SRV-1Q and the
impressive community that is growing
around it, we wouldnt be surprised to
see a robot like it end up on the
moon someday. SV
Special Thanks to
Zander Rose and Reason Bradley
of Inertia Labs and Howard Gordon
of Surveyor Labs.
Jameco Electronics new catalog and
enhanced Jameco.com website are two
tools that are designed to work together
to give electronic professionals faster
access to the hottest components in the
industry.
Color coded references throughout the
catalog assist you in analyzing a wide
range of brand choices (from franchise
sourced to house brands to factory
overruns) offering you more pricing
options than you'll see anywhere else.
Web codes allow you to quickly jump
from catalog to website to view additional
specifications, application notes, photos
and more products. You'll find exactly
what you're looking for without having to
wade through hundreds of thousands of
products on a complicated website or
wielding a twenty pound catalog.
With a flip of the page or a click of the
mouse, you have all the tools you need
at your fingertips. Reach for Jameco first
and order your catalog today.
Experience a Faster Way to Search for Components!
Call 1-800-831-4242 or Visit www.Jameco.com/Speed for the ride of your life!
Order your
web-enabled
catalog today!
Surveyors Travels
SERVO 11.2008 25
For more information, go to:
www.surveyor.com
www.bpexplorer.com.au/
www.roborealm.com
www.analog.com
www.cyberbotics.com/
http://msdn.microsoft.com/
en-us/robotics/default.aspx
TwinTweaks-Nov-edited.qxd 10/6/2008 3:36 PM Page 25
Featured This Month:
Features
26 BUILD REPORT:
30 Pound Combat Robot
Mitch by Ray Billings
28 MANUFACTURING:
Even More Things to
Consider When Building a
Fighting Robot by Mike Jeffries
33 PARTS IS PARTS:
Chain Length Calculator
and Chain Path Visualizer
by Kevin Berry
35 A Brief History of WAR
by Robert Farrow
Events
30 Aug/Sep 2008 Results and
Nov/Dec 2008 Upcoming
Events
31 EVENT REPORT:
Robot Battles 2008
by Charles Guan Team Test Bot
ROBOT PROFILE Top
Ranked Robot This Month:
34 Limblifter by Kevin Berry
26 SERVO 11.2008
F
requently at events, I am
inundated with questions on
how to get started in combat
robotics. Im always honored by
the requests, and enjoy the
enthusiasm that potentially new
builders bring to the sport. But
due to the violent nature of
some of my more high-powered
creations, I always feel hesitant to
tell a 10-year-old how to build a
heavyweight spinner! I usually
recommend something simpler to
start out with like a wedge
but up until recently, I didnt have
an example of my own to display.
Well, all that changed
for the RoboGames
event this year.
Introducing Team
Hardcores first wedge
bot: Mitch.
Mitch was created
almost completely from
off-the-shelf parts and,
although there were
some areas that were
machined specifically for
assembly, there is no
reason this bot couldnt have
been built with a simple drill
press, or even a hand drill and
basic hand tools. Most of the
material used was inexpensive,
as well. And the best part: This
machine was very effective,
winning the 30 pound division at
the 2008 RoboGames event;
going undefeated in the class.
I started out with four of the
basic 20:1 36 mm planetary gear
motors from Banebots. They are
only 1.5 tall, allowing me to
create a very low profile robot
and still have decent power.
by Ray Billings
30 Pound Combat Robot Mitch
BUILD REP RT
This is Mitch, after winning the 30 pound class at
RoboGames. You can see some of the scars on the
wedge from all the action.
CombatZone-edited.qxd 10/7/2008 3:36 PM Page 26
SERVO 11.2008 27
Paired with the new wheels
that Banebots just
released, this made for a
relatively inexpensive and
responsive drivetrain. I also
used the bearing blocks
that Banebots sells to
support the drive shafts. I
ended up shortening the
output shafts of the gear
motors about half an inch
to fit into this design. The
wheels extend out both the
bottom and top equally, allowing
the bot to drive inverted.
For battery power, I wanted
something simple and didnt want
to overvolt the motors too much.
Overvolting is a very common
method for improving the power
output of a DC motor, and frequently
combat builders will double (or
more) the rated voltage of a motor
to get maximum power. But I
wanted this machine to be
dependable, with the least amount
of maintenance needed as possible.
For that reason, I went with some
four cell lithium polymer batteries,
for 14.8 volts. The motors are rated
for 12V, so I felt this was a good
compromise between reliability and
power. I used a pair of 2200 mAh
batteries from Hobby City.
For speed control, I used the
standard for most of the larger
weight categories: the Victor 883
units from IFI Robotics. Since these
are rated for 60 amps continuous at
24 volts, I felt I could run them at
the lower voltage (and probably
nowhere near the maximum amps)
without the fans. This was necessary
due to the extremely low clearance
inside the bot. There were few
problems with this setup,
although we never actually
stalled the drivetrain, which I
suspect would be an issue if
this ever happened. I may
consider making some kind of
custom fan arrangement in the
future. Radio control was provided
by a Spektrum DX6 transmitter
coupled with the BR6000 receiver.
A 2.4 GHz system such as the
Spektrum (or some other non-
frequency dependant system) is a
requirement for combat events at
the RoboGames. Many competitions
still allow the 75 MHz systems, so
this isnt mandatory everywhere, but
if you are new to this sport and
want to get equipment that you will
be using for the foreseeable future,
I highly recommend some form of
spread spectrum system. Make sure
you get a receiver that correctly
failsafes on all channels, such as the
BR6000. There are some systems
that only failsafe on the throttle
channel. The remaining electronics
in the system are a small battery
eliminator circuit from Park, and the
smallest main power switch sold by
Team Whyachi. A list of the parts
used is included here.
The front and side rails are 2
tall by 1 thick 6061 aluminum. I
could afford to use such thick
material since the bot was going to
be very compact and I would not
have to worry about weight. The
back rail in Mitch was actually 1
thick UHMW, although there would
have been no reason I couldnt have
used more of the aluminum in its
place. The truth is, I had the UHMW
laying around. Sometimes the
right part is whatever junk you have
on hand!
Top and bottom plates are
identical, and were made from 1/4
Lexan. This was also a matter of
convenience, since it was also mate-
rial I had on hand. I had considered
using some thinner titanium in
constructing the top and bottom
plates, but the Lexan made for a
quick and easy build. For the final
combat-ready machine, I ended up
making an extra titanium plate to
place on top of the top Lexan plate
to protect the internals. I machined
in a .25 recess around the inside of
the frame rails, so that the top and
bottom panels were set into the
rails. This was the only step that
required any fancy machining
equipment, but could have easily
This is the view of the shock mounting from the
underside. I used three rubber standoffs on each
end. These really helped a lot to isolate the bot
from the big hits, and I credit a great deal of our
success with Mitch to these isolators.
This is an overhead view of the bot
with the titanium panel removed.
The bolt holes for the motors were
countersunk. This certainly isnt required,
since the clearance top and bottom was
more than sufficient for the bolt heads to
stick out. I simply didnt want an opponent
to be able to catch a bolt head that was
attached to the motor/gearbox assembly
and possibly damage it.
This is a view of the interior with all panels
removed, showing the layout. You can
pretty much see all of the components.
The block of foam towards the top houses
the receiver and battery eliminator.
CombatZone-edited.qxd 10/7/2008 3:37 PM Page 27
28 SERVO 11.2008
been avoided if needed. You could
simply use 1.5 tall aluminum for
the frame rails, and made the top
and bottom plates match the
exterior dimensions. The only
critical dimension was to make
sure the distance from the top to
bottom plates was 1.5 to
correspond to the height of the
motors and bearing blocks.
Available on the SERVO website
(www.servomagazine.com) are
the AutoCAD drawings (and PDF
files for those without access to
AutoCAD) with the specifications on
Mitchs construction, not including
the wedge mounts. With 1 thick
aluminum across the front and
sides, there is plenty of opportunity
to mount a wedge in almost any
fashion you would like. I am
providing these as a guide
to making a simple and
effective combat robot
which you can copy
exactly or modify as you
see fit. The frame and
drivetrain minus the
wedge weighs in at
about 15 pounds, giving
plenty of weight for any extras you
may feel like adding. Our wedge
weighed in at ~12 pounds, giving
us a combat weight of slightly less
than 27 pounds.The wedge on
Mitch is constructed of .25 4130
steel, which was cut and welded
into the final shape. A big part of
Mitchs success is due to the shock
mounting I used for the wedge. A
wedge that is more than 1/3 the
bots weight is obviously substantial
for the class, but the shock mounts
really helped isolate the chassis of
the bot from the big hits from all
the nasty spinners in the 30 pound
weight class. The rubber isolators
are the only item I cannot find you
a link to the exact part I used. I
bought these surplus years ago and
like most surplus items, once they
are gone you can never find them
again. McMaster-Carr sells many
rubber isolation mounts though, so
you can find similar items, such as
their part #9376K39. Mitch proved
to be a tough little machine, and
was a blast to build and drive. Top
speed was manageable at around
8 mph, and was easily controlled. If
you have any questions on the parts
and materials used, I can be reached
at [email protected]. SV
I
n previous issues of SERVO, Ive
talked about weapon and drive
systems in robot combat. There are
a lot of important things to consider
that dont fit under either of those
umbrellas but still merit considera-
MANUFACTURING:
Even More Things to C nsider
When Building a Fighting Robot
by Mike Jeffries
A more close-up view of the speed controllers.
I have used some zip strips to try to manage
the mess of wires that invariably comes
from wiring a bot. Dont be afraid to tie
down everything that you think will move
around. Nobody will ever give you a bad
time after youve won a match and tell you
that you have too many wire ties!
For a simple, quick, and cheap locating
method for the wheels, I simply stacked
washers on each side of the wheel. This kept
the wheel centered in the wheel opening, but
allowed some side to side movement of the
wheel on the axle.
The wheels from Banebots get fantastic traction, but
they are very soft rubber and wear quickly. Buy spares!
Parts List
ITEM SUPPLIER LINK
Drive motors http://banebots.com/pc/MP-36XXX-545/MP-36020-545
Wheels http://banebots.com/c/WHB-KS3-298
Bearing blocks http://banebots.com/pc/MOTOR-ACC/PB-S3751-BB
Batteries www.hobbycity.com
Speed controllers www.robotmarketplace.com/products/IFI-V883.html
Power switch www.teamwhyachi.com/MS1.htm
BEC www.robotmarketplace.com/products/0-PBEC1.html
Radio www.robotmarketplace.com/products/0-SPM6600.html
CombatZone-edited.qxd 10/7/2008 3:38 PM Page 28
tion when building your bot.
Car vs. Tank Steering
Most robots use tank steering,
which is where each side of the
drive system can go forward or
backward independently allowing
the robot to go forward, backward,
or turn in place. Car steering works
just the way it sounds. The robot
will drive like a large, metal remote-
controlled car. One common point
of confusion in tank steering is
turning while reversing. With the
way tank steering works, when
youre turning left from standing
still, the right side wheels are going
forward and the left side wheels are
going backward. When youre
turning left while moving forward,
the right side wheels are spinning
faster than the left side in the
forward direction. When going in
reverse, however, the left wheels are
spinning faster backwards than the
right, causing it to rotate to the left
while moving to the right.
External vs. Internal
Wheels
Internal wheels are better
protected and able to be supported
on both sides. External wheels will
prevent the robot from being hung
up on a competitors armor if it
gets lifted off the ground. External
wheels can be hit easily by the
opposing robots weapons and
are subject to many more direct
impacts. Which option is best
depends on both the design of the
robot and which features are most
important to it.
Belts, Chains, and
Gears
Youve got to get the power
from your motors to your wheels
and weapons somehow. Belts,
chains, and gears are your three
options if the motor cant have the
wheel or weapon attached directly
to it.
Belts are fairly lightweight and
can transmit power over large gaps.
There are multiple types of belts to
choose from but most use tension
and friction to provide enough grip
on the pulleys on each side of the
system to transmit power.
Chains are stronger and heavier
than belts, but serve essentially
the same function as belts. They
transmit power from one shaft to
another over a gap. Chains need to
be aligned more precisely than belts
due to their inflexibility. If they are
not aligned well, the chain is likely
to fall off or break.
Gears require the highest
precision of the three options and
are also able to be the most
efficient. They are not, however,
able to span the same distances
that belts or chains can. Tight toler-
ances and proper pitch selection
can result in a nearly indestructible
power transfer system, however, if
the pitch is too small or the gears
are too loose or tight, youre just
asking for catastrophic failure.
Chassis
At the core of every competitive
robot is a strong chassis. It doesnt
matter how powerful your spinning
weapon is or how high your arm
can flip other robots if the chassis
cant handle the forces that act on
it both internally and externally. A
small number of construction
methods make up the majority of
combat robot chassis today.
The first method is to use
square, tubular, or right angle metal
SERVO 11.2008 29
Beta uses chain drive to
power its electric hammer.
Grue uses
tank style
steering to
maneuver in
the arena.
Stewie has an aluminum
unibody chassis.
Sewer Snake has external wheels.
Checkmate uses a strong baseplate
for component mounting.
Crocbot uses car
style steering to
maneuver in the
arena.
CombatZone-edited.qxd 10/7/2008 3:39 PM Page 29
beams to form a strong skeletal
chassis. Armor and components are
then mounted to the chassis. This
arrangement allows for easy
replacement of damaged armor and
components, and easy access at any
angle. The main downside of this
type of chassis is that unless its very
carefully designed it will be heavier
than the other chassis styles.
The second type of chassis uses
the frame itself as armor. Instead of
working like a skeleton, this chassis
functions more like the shell on a
crab. A strong outer body with rigid
internal supports holds all the parts
and provides for a very strong
defense. This style tends to be
lighter than a skeletal chassis but
often leads to difficulty in replacing
or accessing parts.
The third type of chassis functions
similarly to the second, but relies on
a strong base plate for component
mounting. The armor normally is a
shell that can be completely
removed for easy access to most of
the components. The one difficulty
with a chassis like this is making it
strong enough to hold up to com-
bat while keeping the weight low.
These are only a few of the
most popular chassis styles. There
are more options of varying
complexity and many hybrids of
the three mentioned that have seen
success in robot combat.
Armor
Choosing the right armor is
often the difference between
winning and losing in robot combat.
Do you go with the stronger,
heavier steel? Do you choose the
light, but easily cut polycarbonate?
Perhaps aluminum or titanium
armor is a better fit for the job.
You are not limited to a single
choice in armor. Often robots will
be heavily armored in areas the
builders think will be subject to the
most stress and have something
that acts essentially as a dust cover
for less vital areas. When choosing
which material, how much, and
where, you should look at the
robots youll likely face. If there are
very few robots with hammer
weapons, top armor is less of a
priority. With most arenas in use
today, there isnt much need for
thick bottom armor unless it is a
structural part of your robot.
Layering different materials can
work very well in robot combat.
Having a thin layer of a material
resistant to cutting over a thicker
impact resistant material that cuts
easily can act to minimize the
negatives while keeping weight and
costs low. SV
All photos courtesy of BuildersDB
(www.buildersdb.com).
EVENTS
Results and Upcoming Events
Results Aug 12
Sep 14, 2008
H
ORD Fall 2008 was held by the
Ohio Robot
Club in Strongsville,
OH, on September
13th. Twenty-three
bots were entered.
Upcoming Events
Nov-Dec 2008
R
oaming
Robots will
hold an event
in Maidstone,
England on
November 22nd.
A
ntweight Benelux Championship
will be held by Dutch Robot
Games in the Netherlands on
30 SERVO 11.2008
Storm II has internal wheels.
Tillah uses belts to power
its spinning drum.
Village Idiot has a
skeletal chassis.
Totally Offensive
uses gears to drive
around the arena.
CombatZone-edited.qxd 10/7/2008 3:40 PM Page 30
November 1st, and a large
bot event will be held on
November 6th.
R
obots Live will
hold events at
Reading on November
15th, and Birmingham on November
22nd. Please go to www.robots
live.co.uk for more details. SV
W
hats the second longest-
running robotic combat
competition ever? Its neither
BattleBots nor Robot Wars. In
fact, you have probably never
even heard of it. Its the Robot
Battles series of events, which
held its first tournament in 1991
and has been held every year
since then at the Dragon*Con
sci-fi and fantasy convention
every Labor Day weekend in
Atlanta, GA. What has kept it
going all these years is its complete
disregard for everything a
mainstream robot combat
competition holds dear.
The MC of the event is a former
radio disc jockey and newspaper
editor that occasionally makes fun
of the audience (which has a
disturbingly high proportion of
Stormtroopers). The tournament
itself is half robots and half stand-up
comedy. The atmosphere is relaxed,
and matches are often re-run just
because the builders or audience
members feel like it. The essence
of Robot Battles is that of robot
combat before the glamour of
cameras, cash prizes, and minor
pop culture icons.
There are two separate
tournaments at Robot Battles.
The main tournament
happens on Labor Day
Monday the last day of the
convention and is for 12
pound and 30 pound robots.
The tournament is double-
elimination, and each match
is best-two-out-of-three. Leave
your high-energy kinetic
weapons at home, because the
fights are open-air on a raised
stage, sumo style. That means good
driving far outweighs your weapon
choice, and a fair percentage of
matches are actually decided when
one robot simply careens off the
stage. Robot MicroBattles, which
began in 2003, caters to the
smallest combat classes: the one-
pounders and three-pounders. This
tournament is enclosed-arena and
with the full set of Robot Fighting
League-approved weaponry allowed.
The level of destruction and energy
is much higher. The audience loves
shredded parts, flying sparks, and
especially when one robot runs
head-on into the floor hazard (a
grinder-powered spinning rubber
wheel with gratuitous protrusions)
and is subsequently sprayed across
the arena.
For the 2008 event, 29 little
bots fought at MicroBattles and 20
large robots competed at the main
tournament. The record number
of small bots necessitated running
the tournament single-elimination,
instead of the usual double in order
to fit the event within its given time
slot. The audience packed both
events to standing-room-only levels,
and the convention twice closed the
large ballroom in which the main
tournament was held because the
SERVO 11.2008 31
by Charles Guan Team Test Bot
EVENT REPORT
Rob t Battles 2008
Robot Battles, the longest-running indie
robot fighting event.
The 12 pound battle
royale at Robot
Battles 2008.
Thirty pound robots Jaws (right) and Vorpal
Bunny Foo-Foo (left) ensnare their weapons.
berclocker (left) and
Poulan Rouge (right) tangle in
the 30 pound elimination rounds.
CombatZone-edited.qxd 10/7/2008 3:41 PM Page 31
32 SERVO 11.2008
number of people watching had
exceeded the hotels fire code limit.
The MicroBattles event on
Sunday saw the first irreparable
arena damage at any Robot Battles
event, when the spinning wheel
hazard was sheared off in the
three-pound class Battle Royale. A
solid slam by three-pounder Cloud
of Suspicion broke the mounting
hub off the wheel, sending it
bouncing around the arena floor.
Builders and audience alike were
stoked, and the combat arena goes
back to the shop for a completely
new arena hazard to be debuted
later this year. In a move that
straddled the point intersection
between confidence, arrogance, and
insanity, Cloud of Suspicions builder
strapped six pounds of dead weight
on top of his robot and returned
Monday to fight in the 12 pound
division.
This years event also saw the
introduction of a new design to the
combat stage. The open stage
format of the competition is
particular well-suited to a grabber-
lifter type design; one which can
manipulate the opponent by holding
it completely off the floor, not
merely breaking its traction. Yet,
for as long as the event has run,
nobody has built such a machine.
This year, two grabber-lifter robots
entered into the 30 pound class:
Jaws, from Team Stingray, and my
own entry, berclocker. Jaws did
well, advancing through the losers
brackets after losing its first round
to the eventual 30 pound class
champion. Due to some poor design
on my part, berclocker was
plagued with mechanical problems,
and I had to repair the bot quite
literally after every match. Despite
losing after the first round, it was
able to put on a good show for the
audience by performing a few body
slams on opponents.
The perennial winners returned
again this year, with the 12 pound
class final match a repeat of last
years. Dales Homemade Robots
swept all the categories at the
Monday tournament, except for the
12 pound Battle Royale. Other
historically successful teams
including Blade Robotics and Evil
Robotics also placed. Heres the list
of champions and runners-up:
First place 1 lb class: Gilbert, Team
Meatheads
Second place 1 lb class: Misdirected
Pedestrian, Team Meatheads
First place 3 lb class: Nuclear
Kitten 5, Team Test Bot
Second place 3 lb class: Ringo,
Evil Robotics
First place 12 lb class: Omegaforce
2, Dales Homemade Robots
Second place 12 lb class: Nicole
Richie, Team Shenanigans
MC Kelly Lockhart
entertains the crowd
at the Robot Battles
Tournament on
Monday.
Overthruster knocks Jaws off the
stage using its innovative automatic
flipper mechanism, moving on to take
the 30 pound division championship.
The small arena is enclosed
by 1/4 polycarbonate sheet
and features drop-out pits and
a spinning wheel hazard.
A clean gash in a 1 lb
robots titanium front plow.
CombatZone-edited.qxd 10/7/2008 3:42 PM Page 32
SERVO 11.2008 33
by Kevin Berry
PARTS IS PARTS:
Chain Length Calculat r
and Chain Path Visualizer
A
n endless source of information
on bot building is the RFL forum
on Delphi Forums (www.chief
delphi.com/media/papers/1598).
A recent thread had a great
discussion about a software tool
Dr. Joes Chain Length Calculator,
and the accompanying Chain Path
Visualizer. This handy tool lets a
builder input sprocket and chain
data (up to 12 sprockets!) and out
pops the geometry to build the rig.
The Excel front end drives a macro
called Goal Seek, that does loops of
what if analysis to optimize the
design. The outputs and a graphic
visualize the answer, while the raw
outputs are on other tabs.
I havent built any chain driven
mechanisms myself that would
require this level of calculations,
but according to the folks on
both forums (RFL/Delphi and
Cheifdelphi), its both useful and
accurate.
Dr. Joe Johnson, the creator,
has a few comments worth noting:
This is a tool I use to get my
chain adjuster travels right and to
give my gut a chance to see the
chain path before I commit to it in
metal. It is not a perfect
tool. It does not have any
way to enter a slider, for
example.
Here is how I use it
most often:
1) I lay out my chain path
(counte-clockwise order
around the chain).
2) I move my idler up and down
(or left and right) the amount I
plan to build in to my adjuster so
that I can tell if I can actually
tighten the chain.
Alternatively, I use it to see if I
can swap sprockets and still tighten
my chain with the different ratio
(this is a non-obvious calculation
at times). SV
First place 30 lb class:
Overthruster, Dales Homemade
Robots
Second place 30 lb class: Scimitar,
Blade Robotics
For 2009, the Robot Battles
main tournament is moving to a
larger ballroom to handle the
increasingly large audience. With
Dragon*Con hosting a Robotics
program track specifically to
introduce more people to robots
and robot fighting, the competition
is only going to grow larger and
more intense. So, if youre tired of
the same old arena, consider
coming to Atlanta over Labor Day
weekend 2009 and checking out
not only the Robot Battles
competition, but Dragon*Con as a
whole. If you are already attending
the Con, and have
(somehow) missed us
for the past 18 years,
then you know what to
do next year. Heres
some resource links to
get you started:
www.robotbattles.
com is the events
website. Look here for
the rules, photo
galleries, and online
community. Make sure
to join the email list!
www.dragoncon.org is the
website of the hosting convention,
Dragon*Con, your one-stop shop
for any sort of science fiction,
comics, fantasy, role-playing, anime,
subcultures, and much more.
As a bit of interesting trivia: The
oldest robot fighting competition
Critter Crunch began in 1987 at
the MileHiCon in Denver, CO. Robot
Battles is a direct descendant of
Critter Crunch, with almost identical
rule sets. SV
Dr. Joes Chain Path Visualizer.
berclocker holds Scimitar perilously
close to the stages edge.
CombatZone-edited.qxd 10/7/2008 3:43 PM Page 33
34 SERVO 11.2008
ROBOT PR FILE
by Kevin Berry
TOP RANKED ROBOT THIS MONTH
Weight
Class
Bot Win/Loss Weight Class Bot Win/Loss
150 grams VD 26/7 150 grams Micro Drive 10/3
1 pound Dark Pounder 44/5 1 pound Dark Pounder 23/3
1 kg Roadbug 27/10 1 kg Roadbug 11/4
3 pounds 3pd 48/21 3 pounds Limblifter 12/1
6 pounds G.I.R. 17/2 6 pounds G.I.R. 11/2
12 pounds Solaris 42/12 12 pounds Surgical Strike 19/7
15 pounds Humdinger 2 29/2 15 pounds Humdinger 2 29/2
30 pounds Helios 31/6 30 pounds Billy Bob 12/4
30 (sport) Bounty Hunter 9/1 30 (sport) Bounty Hunter 9/1
60 pounds
Wedge of
Doom
43/5 60 pounds K2 14/2
120 pounds Devil's Plunger 53/15 120 pounds Touro 14/2
220 pounds Sewer Snake 46/13 220 pounds Original Sin 12/5
340 pounds SHOVELHEAD 39/15 340 pounds Ziggy 6/0
390 pounds MidEvil 28/9 390 pounds MidEvil 3/0
Top Ranked Combat Bots
Rankings as of September 14, 2008
History Score is calculated by
performance at all events known
to BotRank
Current Ranking is calculated by
performance at all known events, using
data from the last 18 months
History Score Ranking
Limblifter Currently Ranked #1
Historical Ranking: #6
Class: 3 pound Beetleweight
Team: Team GuavaMoment
Builder(s): Brendan McClure
Location: Edmonton, Alberta, Canada
BotRank Data Total Fights Wins Losses
Lifetime History 18 15 3
Current Record 13 12 1
Events 4
L
imblifter has competed at
Kilobots X, WBX-IV, Kilobots XI,
and WBX-3. Details are:
Overall configuration: Four wheel
drive with lifting arm that can
go 360 degrees around the
frame.
Frame: 1/4 UHMW-PE and
1/16 garolite.
Drive: 4x 20:1 25 mm Banebots
gearmotors, FF-180 motor.
Wheels: 2 Lectra Lite flites.
Drive ESC: 2x Banebots 3-9 ESC.
Drive batteries: 1320 mAh 7.4V
Thunderpower Lipoly.
Weapon type: 360 degree
flipping arm.
Weapon power: Same as drive.
Weapon motor: 256:1 28 mm
Banebots gearmotor, RS-385 motor.
Weapon controller: Banebots
5-18 ESC.
Armor: 1/8 6061 Aluminum,
1/4 UHMW-PE.
Radio system: Futaba 8U.
Future plans: 60 lb version of
Limblifter.
Design philosophy: Know your
strengths and weaknesses, and
build accordingly.
Builders bragging opportunity:
#1 ranked Beetleweight on
BotRank.com! SV
Photos and information are courtesy of
Dennis Beck. All fight statistics are courtesy
of BotRank (www.botrank.com) as of
September 14, 2008. Event attendance data
is courtesy of BotRank and The Builders
Database (www.buildersdb.com) as of
September 14, 2008.
CombatZone-edited.qxd 10/7/2008 3:44 PM Page 34
W
AR has much of what you
expect flying shrapnel,
destruction, winners and losers, but
unlike real war, Western Allied
Robotics competitions are always
good natured fun. The organization
currently has a 12 x 16 foot steel
and polycarbonate arena capable of
containing powerful 30 lb robots,
but WAR had a much simpler start.
A lot of early BattleBot builders
came out of the Pacific Northwest.
After the first season of BattleBots
appeared on TV, a dedicated fan
contacted several local builders to put
on a robot demonstration at a regional
science fiction convention. The builders
had a great time showing off their
robots and talking to people who were
interested in getting involved. Near
the end of the show, Brett Dawson
of team UVGScorpion brought out
two small robots and put them on
the ground. One was a four-wheel
wedge and the other was a horizontal
spinner. He needed someone to drive
the wedge robot so he handed the
controls of the wedge over to me.
Over the next five minutes, Brett and
I battled it out with cheering crowds.
As Brett schooled me on the fine
arts of robot destruction, it was
clear from the crowds reaction that
the robots did not need to be big to
generate the same excitement we
had experienced at BattleBots.
A small scale fighting robot com-
petition was scheduled for April 2002
at Gasworks Park in Seattle. Brett built
a 6 x 6 foot wood arena with polycar-
bonate walls to contain the robots.
Having an actual arena to compete
in made the event more than just talk
or a dream; it solidified things and the
race was on to design and build an
effective robot for the competition.
Computer scientists, artists,
teachers, and students made up the
group. Only about half of the original
competitors had ever built or competed
with robots before. Making things
even more challenging, robots had
to weigh one pound or less. This was
a few years before cheap, reliable
speed controllers that would fit into
such small robots became readily
available. Even the experienced
builders had to figure out how to
make these things powerful but small.
Luckily, there was an active
online community to provide advice
and guidance to anyone who was
interested in building. People worked
modifying RC toys and co-opting
motors and electronics from RC air-
planes and cars to build their creations.
Well over a dozen robots competed
in the first event with robots that
ranged from remote control rats that
could only turn left, to powerful
spinner and wedge robots that were
solidly built. The first event was such
a solid hit with builders that everyone
wanted to do it again, and soon.
No one is sure of how the term
War Lord came about, but it was
the title thrust upon whoever
represented WAR with the larger
Robot Fighting League. The first
War Lord was Mike Morrow of
Team Juggerbot. He helped
organize WARs participation in the
Davinci Days festival in Corvallis, OR.
The robots fit right in with the
kinetic sculptures and creatively
engineered machines that drove the
theme of the festival. WAR held
another successful antweight
competition. Crowds were also
entertained by robots ranging from
60 to 340 pounds holding demon-
strations by pushing each other
around and attacking large objects
like washing machines. Because
there was no large arena to contain
the robots, no actual fighting
was allowed at the festival, but
afterwards a few of the competitors
gathered at a remote parking lot
and had a street fight with some of
the less hazardous bots.
One of WARs strengths as an
organization is that so many people
have stepped up to handle the events.
For years, Dylan Feral-McWhirter of
Team Evil Squirrel was the standing
War Lord and managed the arena
logistics. Adam Conus of Team
Wildcard and Scott Ferguson of
Team Whoopass held events in their
backyards and the term BotBQ was
coined to refer to fun with equal
parts robot fighting and grilled hot
dogs. As the events, robots, and
arena have gotten bigger, bigger
venues have been needed.
Rob Purdy of Team Gausswave
has grown WAR to the next level
as an organization. In 2006, WAR
became a branch of the Seattle
Robotics Society. The alliance made
sense given that Bill Bottenberg of
Team Crash was running a robot
class with young kids to get them
excited about science, engineering,
and learning about how things
work. As the new War Lord, Rob
also drove larger competitions
where hundreds of spectators could
enjoy the show, like at the Center
House at Seattle Center and in
association with large hobby shows.
As the organization has grown,
so have the robots. In the early days,
only the one pound antweight class
was supported. Now the focus is
largely on the three pound
Beetleweight and 12 pound Hobby
weight classes, although one pound
robots still compete. Whether large or
small, these events have brought the
regional robot building community
together and entertained thousands
of people. Where will WAR go from
here? Its hard to say, but as the
sport continues to change, WAR
will be up to the challenge. SV
by Robert Farrow
A BRIEF HIST RY OF WAR
SERVO 11.2008 35
CombatZone-edited.qxd 10/7/2008 3:45 PM Page 35
36 SERVO 11.2008
I
f you visit a robot club or any
robotic function for that matter, it
is likely that you will meet someone
who is interested in humanoid robots.
Often, these enthusiasts are not par-
ticularly interested in building robots
that perform useful tasks. Instead, they
wish to build a robot that looks and
moves like a real person. They may or
may not want to endow their creation
with artificial intelligence (AI), but they
nearly always want to create the
illusion of life.
My interest in robotics has always
been very diversified and I too have
always been fascinated with the idea
of creating the illusion of life. Perhaps
that was a motivating factor that pushed
me towards another of my hobbies
ventriloquism. It occurred to me that
the techniques used in puppet con-
struction might be of interest to many
hobbyists interested in animatronics.
A typical ventriloquist puppet is
carved from wood or molded from some
form of composite material such as
plastic wood or papier-mch. In either
case, the head cavity must be open
enough to add mechanisms such as
pulleys and levers to control the move-
ment of the mouth and other
optional features such as moving
eyes, eyebrows, and eyelids.
If we are creating a robotic
puppet, the head must contain
all the moving parts found in
a standard puppet plus
appropriate actuators (motors
or solenoids) to effect the
movements. Since I wanted
the puppet to appear life-like,
it was important to animate
some body movements in
addition to the facial features.
In order to simplify the
programming aspects of the
project, servo motors were
used as actuators. This meant that the
overall size and weight of the puppet
had to be kept to a minimum. Keeping
the puppet small was no bother. To the
contrary, it was actually very intriguing.
Normally, a ventriloquists puppet has
to be big enough so that a hand can
be placed inside it to perform the
manipulations. With a small puppet,
everyone would know it was not being
controlled in the normal manner.
The puppets head in this project
is smaller than normal and it has to
contain even more mechanisms than
a standard puppet. If the head was
made from wood or composite materi-
als, the required wall thickness would
reduce the size of the head cavity
even further, adding to the problem.
One solution is to use a plastic head
from a doll or holiday decoration. The
thin plastic shell would provide the
maximum interior space.
I found a Halloween prop that
was the perfect size, but (as you
would expect) it had a ghoulish look
that was not appropriate. I used
epoxy putty to fill in unsightly
wrinkles, alter the lips, add teeth, and
lift the cheeks. Epoxy putty is as easy
to work with as clay but for only 10
or 15 minutes so dont try to do too
FIGURE 1.
Epoxy putty
was used
to turn a
Halloween
decoration
into this
head.
by John Blankenship
and Samuel Mishal
Blankenship.qxd 10/8/2008 2:56 PM Page 36
much at once. Figure 1 shows the
altered head before painting.
The back of the head was cut
away to allow easy access to the
inside. Magnets were epoxied in
appropriate positions (on both pieces)
to hold the cut piece in place and still
allow easy removal for repairs.
Figure 2 shows the interior of the
head, which contains three miniature
servos: one for the mouth, one for the
eyes, and one for the eyebrows. The
details of how you mount your servos
depends on the features you want and
the space available in your puppets
head. It is also important to realize
that you can purchase servos in various
sizes with a wide variety of torque,
speed, and noise levels, so consider
your needs carefully.
Most of the bell
cranks, disconnects, and
other apparatus I use are
mechanisms designed for
model airplane construc-
tion and can be found in
many hobby stores. Your
local hardware store can
also be a great source for
small pulleys, lazy-susan
bearings, and such.
It is difficult to see
how the eye assembly is
constructed in Figure 2,
so Figure 3 shows an
external mockup to provide additional
detail. Eyes are easily made from wooden
balls that rotate on a bolt or rod. Stiff
wires protrude from the rear of each
eye and up through a plastic wafer
that ensures the eyes move together
based on the servos motion. It is
important to use a slot as shown instead
of a hole because the opposing rotational
motions can cause binding. The use of
the bell crank in Figure 2 allows the
motor to be mounted away from the
eyes. This can be very advantageous
when working in a confined space.
The puppets body is shown in
Figure 4 and is constructed primarily
from wood. Padding may be needed
to make the body look more natural
under the clothes. His full height is
28 inches. The legs are made from
PVC pipe. One leg of the pants is
pulled up to show the pipe.
Figure 5 shows how the head is
mounted on a hinge to allow a
forward tilt under control of the
neck-mounted servo. The lazy-susan
bearing gives the head the ability to
rotate. The neck is connected to a
servo mounted in the body using a
short piece of rubber hose. The
flexibility of the hose connection
prevents binding by allowing for
twisting and bending (much like
SERVO 11.2008 37
FIGURE 2. The interior of the head is
cramped. The miniature servos shown
move the eyes and eyebrows. Notice
the magnets on each side.
FIGURE 3. A puppets
eyes are easily motorized
for computer control.
FIGURE 4. The
puppets body
is hinged to
allow side-to-
side tilt. The
legs are made
from PVC
pipe.
FIGURE 5. The
head is hinged to
tilt forward and
mounted on a lazy-
suzan bearing to
handle rotation.
Blankenship.qxd 10/8/2008 2:57 PM Page 37
38 SERVO 11.2008
universal joints on an automobile
driveshaft) while ensuring a secure
connection. The body is hinged to the
hips allowing a small side-to-side tilt.
Figure 6 shows how the servo is
mounted to control this movement.
The connecting rod passes through a
hole in the bottom of the body and
connects to an eye-bolt in the hip
surface. Figure 6 also shows a Parallax
USB servo controller that will be dis-
cussed later. The arms arent functional
in a true robotic sense, but the pull of
a string creates just enough movement
to add to the illusion of life.
Figure 7 shows the fully clothed
and painted puppet. Fake fur from a
cloth store was used for hair. The USB
cable for the servo controller, as well
as a power cable are run down the
puppets leg and extend from the bot-
tom of the pants to make connections
//Constants
COMMS_PORT = 1
JOYSTICK_PORT = 1
//====================================================================
MainProgram:
GoSub Instructions
GoSub SetUp
GoSub Initialize
GoSub Start_Control
GoSub FinishUp
Exit
//====================================================================
Read_Joystick:
GetButton btn
if btn == Buttons[0] then n=MsgBox(I_M)
if btn == Buttons[1] then Quit = true
joystickE JOYSTICK_PORT,jvalue
jx = jvalue[0,0]/(jvalue[0,2]-jvalue[0,1])
jy = jvalue[1,0]/(jvalue[1,2]-jvalue[1,1])
jz = jvalue[2,0]/(jvalue[2,2]-jvalue[2,1])
jr = jvalue[3,0]/(jvalue[3,2]-jvalue[3,1])
jb = jvalue[6,0]
jhat = jvalue[7,0]
Return
//====================================================================
Start_Control:
while !Quit
GoSub Read_Joystick
//-check buttons first (special movement combinations
if jb == B_Yes then GoSub Yes_Combo \ continue
if jb == B_No then GoSub No_Combo \ continue
if jb == B_Combo1 then GoSub Combo1 \ continue
if jb == B_Combo2 then GoSub Combo2 \ continue
//-then move all motors based on joysticks position
GoSub HeadR_Movements
GoSub HeadT_Movements
GoSub Arms_Movements
GoSub Brows_Movements
GoSub Eyes_Movements
GoSub Mouth_Movements
GoSub Torso_Movements
wend
Return
//====================================================================
Yes_Combo:
//-Yes comination movement
m = Yes
xyText 0,100,m+spaces(20),,20,fs_Bold
ramping = HeadTRamping
channel = HeadTChannel
for i = 1 to 3
nn = 750
a = char(channel)+char(ramping)+char(nn&255)+char((nn >> 8)&255)
SerOut !SC,a,char(13)
delay 500
nn = 950
a = char(channel)+char(ramping)+char(nn&255)+char((nn >> 8)&255)
SerOut !SC,a,char(13)
delay 500
next
Return
//====================================================================
HeadR_Movements:
//-rotate the head
ramping = HeadRRamping
channel = HeadRChannel
if HeadRTime < Timer()
rHeadR =random(HeadRRandomness)-HeadRRandomness/2
HeadRTime = Timer()+1000 // random movement every 1000 mseconds
endif
nn = HeadRLowLimit+round(jr*(HeadRHighLimit-HeadRLowLimit))+rHeadR
a = char(channel)+char(ramping)+char(nn&255)+char((nn >> 8)&255)
SerOut !SC,a,char(13)
Return
//====================================================================
FIGURE 9. Partial listing of the Real_Puppet.BAS
program for controlling the puppet.
FIGURE 6. The body is hinged at the
hips and moved with a servo. The
Parallax servo controller simplifies
the controlling program.
FIGURE 7. The complete puppet looks
very lifelike when being manipulated
with the joystick.
Blankenship.qxd 10/8/2008 2:58 PM Page 38
easy while being hidden from view.
The clothes for a small puppet are
not easy to find. An outfit for a 12-18
month old child was tailored and modi-
fied to give it the correct proportions.
The features on this puppet allow
for a variety of emotions. When the
puppet lowers his eyebrows, for
example, he looks mad. Raising the
eyebrows while keeping the mouth
open will express surprise.
In order to make control of the
puppet as intuitive as possible, all the
movements on the puppet were
associated to similar movements
on an extended joystick. Figure 8
summarizes these movements.
Some of the puppets actions are
provided automatically by the computer,
thus making the manipulation easier
for the user. Buttons on the extended
joystick, for example, can be pro-
grammed to provide specific movements
for the arms, or head movements for
yes and no. All of these motions could
be created by controlling the puppet
manually with the joystick, but
preprogrammed movements can have
pre-selected servo speeds and limits so
that the automated movements can
be as lifelike as possible. Furthermore,
the arms, head, and body all have
small random movements pro-
grammed into them even when the
puppet is not being controlled. This
simulates life-like restless shuffling.
At this point, we are ready to
create the program to bring the
puppet to life. We used RobotBASIC
because it has the ability to read and
write to all the ports on a PC (parallel,
serial, and USB). A Parallax USB multi-
servo motors controller www.Parallax.
com) makes it easy to control the
servos because it will simultaneously
move the servos using the positions
and speeds requested by the
controller program and maintain those
positions without further intervention.
The RobotBASIC program reads the
joystick and then commands the servo
motor controller module to position the
motors accordingly, reflecting the posi-
tioning of the joystick and/or button
presses. The program is too long to list
here in full, but the listing in Figure 9
shows a representative sample of some
of the subroutines. You can download
the full program from www.Robot
BASIC.com. It is well commented so
it should be easy to follow the logic.
The techniques demonstrated in
this article can be valuable in a wide
variety of projects. Even this project
itself can be the starting point for further
ideas. For example, instead of using
the humanoid form as a manually
controlled puppet, you could place it
under automatic computer control. If
you combine voice synthesis and voice
recognition with the puppets ability to
simulate emotions, it is easy to imagine
an amusing interactive robotic display.
Of course, the techniques shown
here can be utilized in robotic projects
involving humanoid forms and other
animatronic characters. Constructing
your own computer-controlled puppet
allows you to have the features you
want along with the ability to control
it as you see fit. SV
SERVO 11.2008 39
JOYSTICK ACTION
Twisting the stick
Moving the stick forward/backward
Moving the stick left/right
POV hat left/right
POV hat forward/backward
Trigger (firing) button
PUPPET MOVEMENT
Rotates the puppets head
Tilts head forward/backward
Tilts the body left/right
Moves the eyes left/right
Moves the eyebrows up/down
Opens the mouth
Heavy Metal Robot Kit
Announcing
the Gears
Designed for Students and Professionals
L Heavy Metal is engineered for rigors of daily use in classrooms,
summer camps, workshops, labs . . . even combat robots!
L Assembles quickly using fasteners of same size/pitch and
threaded inserts. 10" wheel base, heavy gauge aluminum,
4-wheel drive, 3" rubber wheels, 3/8" axles, anged
bronze bearings, #25 pitch steel chain and sprockets.
All drive components are keyed and broached.
L Competition all-metal gearhead motors, gearbox
rated at 500 oz-in of continuous torque. Heavy Metal
accepts off-the-shelf engineering parts, plus
components and control systems from GEARS IDS,
FIRST* and VEX Robotics* kits.
Contact Mark Newby
[email protected]
781.878.1512 www.gearseds.com
Lb for Lb
the World's
Toughest Robot
Chassis
Supports 200 lbs of
standing weight!
Heavy Metal 1 Kit includes chassis, motors, drive system, and wheels for $499.00.
*VEX Robotics is a mark of Innovation First, Inc. and FIRST refers to US FIRST (Foundation for the Inspiration and Recognition of Science and Technology)
FIGURE 8. An extended joystick provides
control of the puppets functions.
Blankenship.qxd 10/8/2008 2:58 PM Page 39
40 SERVO 11.2008
I
t is often desirable to be able to control a motors speed
and direction. Ill bet that most of you have experience
with controlling the speed of a standard brushed DC motor.
The first brushed DC motor speed control circuit that comes
to my mind is shown in Schematic 1A and consists of a PIC
microcontroller squirting a PWM (Pulse Width Modulation)
signal into the gate of a MOSFET whose job it is to switch
current to a brushed DC motor. Adding a trio of MOSFETs
in Schematic 1B forms an H-bridge configuration that allows
us to change both the speed and the direction of the
brushed DC motor with a few bits of PIC I/O.
Can you conjure up a similar circuit in your minds eye
for a simple AC motor speed control? I see a PIC microcon-
troller punching an optoisolated DIAC (short for the words
DIode AC Switch) triggering a TRIAC, which is controlling
the flow of AC voltage to an AC motor (Schematic 1C). The
problem with the DIAC/TRIAC motor circuit is that the DIAC
and a series resistor have all of the control and that
control is very limited. Another problem with the AC motor
control circuit Ive envisioned lies in the need to provide a
separate DC power supply for the PIC microcontroller. What
Electric motors come in a seemingly
endless variety of shapes and sizes. If youre
into robots and mechanical devices that
move about freely, DC (Direct Current)
motors capable of operating on battery
power are almost always your most
practical motor choice. However, not every
robot created by man or alien is a fully
mobile Robby running around on forbidden
planets. If your robot is a stationary
collection of nuts and volts thats at home
working next to a wall outlet, you may
be able to use the advantages of an AC
(Alternating Current) power source to drive
your mechanical animals motors.
V+
DRIVE A-
~
BRUSHED DC MOTOR
SCHEMATIC 1B
AC MOTOR
SCHEMATIC 1C
VDD
PWM IN
VDD
DRIVE B-
BRUSHED DC MOTOR
SCHEMATIC 1A
DRIVE B+
MT2
MT1
FROM MICRO
DRIVE A+
Schematic 1A. The duty cycle of the PWM signal that
is applied to the gate of the MOSFET determines the
speed of the motor. In this case, the duty cycle
percentage (0% to 100%) is directly proportional to
the speed of the motor shaft.
Schematic 1C. This is about as simple as it gets for
AC motor control. Fact is, we dont have much
control here as the DIAC break over voltage
characteristics and the value of the resistor between
MT2 and the DIAC determine the TRIACs
triggering point.
THE UNIVERSAL
MOTOR
by Fred Eady
Schematic 1B. By selectively energizing diagonally
opposing MOSFETs, this H-bridge configuration
allows for both speed and direction control of the
DC motor. The PWM signal is applied to one of the
diagonally opposing MOSFETs while the other
associated diagonally opposing MOSFET is held in
an energized state.
Eady-Universal Motor-edited.qxd 10/8/2008 9:29 PM Page 40
we need is a microcontroller-based AC motor control circuit
that gives us effective control of the AC power that is
being applied to the motor without having to pamper the
microcontroller with additional power supply circuitry. We
have our challenge. Lets deliver the solution.
The Universal Motor
A universal motor is a variation of a standard DC
motor. However, the universal motor can spin its rotor shaft
using AC or DC power. In that this motor spins so well with
AC power, youll find that most of them are powered with
AC rather than DC. If the universal motor application
requires slower speeds and quieter operation, youll most
likely see it powered with DC.
The stator of an everyday DC motor is composed of a
stationary group of permanent magnet poles. A common
DC motor rotor uses it rotor windings in conjunction with
a commutator and brushes to work with and against the
stators magnetic field to rotate the motor shaft. DC motor
brushes are made up of a carbon/graphite material and are
placed in direct physical contact with the commutator. The
motor brushes are also electrically connected directly to the
motors power source.
The brushes and commutator are considered part of
the DC motors stator assembly as the brushes and
commutator are permanently mounted in a stationary
position. The commutator is designed in such a manner
as to act as a switch that is fed by the brushes. The
commutator switches incoming current between the coils
within the DC motor. This switching of current between the
motor coils is called commutation.
A DC motors rotor windings are energized in such a
fashion as to force the rotor winding to attract to a stator
magnetic pole. In other words, the rotor winding is given
an opposite polarity than that of the stator pole that it is
moving towards. Opposite polarities attract and the rotor
moves to align itself with the attracting stator pole. When
the rotor winding aligns with the attracting stator pole, the
commutator is positioned in relation to the brushes to pro-
vide the stator pole with an attracting polarity to the next
rotor winding. The newly attractive rotor winding forces the
rotation of the rotor shaft as it is now being forced to move
and align with the stator pole that was previously the
attraction of the rotor winding before it. The commutator
contacts are angularly arranged in order to insure the
correct electrical and magnetic positioning of the
commutator contact versus the angular position of the
rotor winding and the stator magnetic pole. Since the DC
motors stator magnetic poles never change their polarity,
we can force the DC motor to run in the opposite direction
by simply reversing the polarity of the power being applied
to the commutator by the brushes.
To understand the forces that cause a DC motor to run
in a particular direction, point your right hand away from
your body while holding your thumb skyward. Your fingers
represent the polarity of the stators magnetic field with the
tips of your fingers representing the stators South magnetic
pole and your wrist standing in for the stators North
magnetic pole. The direction of your thumb is the direction
of the current flow through the stators magnetic field. The
palm of your hand is the direction of the resultant force.
Rotate your hand while observing the position of your palm
versus your thumb. It will be obvious to the most casual
observer that when your thumb is pointing towards the
floor (opposite current flow), the force will be opposite to
when your thumb was reaching for the sky. This simple
hand twisting technique illustrates what scientists call the
Lorentz force. Applying an AC voltage to a DC motor such
as the one weve just discussed will result in the rotor
simply thumping back and forth as the polarity of the
rotor winding current is constantly changing due to the
continual reversal of power polarity applied to the brushes
and commutator on every AC half cycle. To experience
this phenomenon, just hook up one of those 12 VDC
RadioShack DC hobby motors to a 6.3 VAC transformers
secondary windings. The DC hobby motor will whip its
shaft back and forth at a 60 Hz rate.
Conversely, a true AC motor will not run with the
application of a DC power source. Thats because the
rotation of a true AC motors output shaft depends on the
very thing that wont allow our DC motor shaft to spin: the
continual rhythmic reversal of power source polarity.
Lets take that DC motor weve been discussing and
modify it by replacing the permanent magnets in the stator
with electromagnets. Well rewire that same modified DC
motor to put all of its major components in series. That is,
the stator electromagnets are wired in series with the rotor
windings. Our modified DC motor will retain the original
brushes and commutator, which are also participants in the
series wiring scheme.
Now that we have replaced the stationary permanent
magnets with physically stationary electromagnets and
wired them in series with the rotor windings, our new DC
motor will no longer react to the changes in power source
polarity as we have come to expect. Thats because every
magnetic pole in our modified DC motor will change
polarity in step and negate any changes in the magnetic
force between the poles.
If we apply a DC power source to our modified DC
motor, the stator electromagnets will retain a fixed
magnetic polarity and function just as if they were
permanent magnets. The modified DC motor thinks it has
permanent stator magnets and everything will run just fine.
The Lorentz force right hand rule proves this out as the
North and South stator poles are fixed.
Changing the modified DC motors power supply polarity
will cause every magnetic pole to change its polarity. Thus,
reversing the current through the rotor windings also caus-
es a reversal of the polarity of the stator electromagnets.
This simultaneous rotor winding and stator electromagnet
polarity reversal means that the modified DC motor will
always turn in the same direction no matter the polarity of
the power source applied to the motor brushes. Expanding
on the observation that the modified DC motor will always
turn in the same direction despite the input power polarity,
SERVO 11.2008 41
Eady-Universal Motor-edited.qxd 10/8/2008 9:29 PM Page 41
N
O
T
E
S
:
1
.
R
V
1
-
A
V
X
V
E
0
7
P
0
0
1
5
1
K
2
.
R
1
I
S
1
0
0
O
H
M
S
@
1
W
A
T
T
M
I
N
I
M
U
M
3
.
D
1
I
S
5
.
6
V
@
1
.
5
W
A
T
T
S
-
O
N
S
E
M
I
1
S
M
A
5
9
1
9
B
T
3
G
4
.
C
1
I
S
4
7
0
n
F
@
2
7
5
V
A
C
T
Y
P
E
X
2
M
E
T
P
O
L
Y
E
S
T
E
R
5
.
C
2
I
S
1
.
0
u
F
@
2
7
5
V
A
C
T
Y
P
E
X
2
M
E
T
P
O
L
Y
E
S
T
E
R
6
.
A
L
L
R
E
S
I
S
T
O
R
S
S
M
T
0
8
0
5
1
%
U
N
L
E
S
S
O
T
H
E
R
W
I
S
E
S
P
E
C
I
F
I
E
D
7
.
A
L
L
C
A
P
A
C
I
T
O
R
S
S
M
T
0
8
0
5
1
6
W
V
D
C
U
N
L
E
S
S
O
T
H
E
R
W
I
S
E
S
P
E
C
I
F
I
E
D
8
.
J
1
A
N
D
J
2
P
H
O
E
N
I
X
C
O
N
T
A
C
T
1
7
2
9
1
2
8
M
T
1
M
T
2
G
A
T
E
L
O
A
D
H
O
T
(
B
L
A
C
K
)
N
E
U
T
R
A
L
(
W
H
I
T
E
)
T
X
_
D
A
T
A
O
U
T
T
X
_
D
A
T
A
_
G
N
D
A
L
T
_
C
O
N
T
R
O
L
R
X
_
D
A
T
A
_
I
N
5
V
5
V
C
5
.
1
u
F
J
1
N L
R
1
4
7
F
1
1
0
A
R
2
4
7
R
3
4
7
R
V
1
R
4
1
M
O
P
T
O
R
X
4
N
2
5
1
6
2
5 4
C
4
.
1
u
F
O
P
T
O
T
X
4
N
2
5
1
6
2
5 4
R
5
1
0
0
C
1
4
7
0
n
F
T
R
I
A
C
1
B
T
A
1
6
-
6
0
0
C
W
R
1
2
1
0
K
J
2
N L
R
8
6
8
0
+
C
3
4
7
0
u
F
@
1
6
V
I
C
S
P
C
O
N
N
E
C
T
O
R 1 2 3
4 5 6
1 2 3
4 5 6
R
6
1
0
K
R
1
0
1
0
0
R
9
1
0
K
U
1
P
I
C
1
8
F
2
6
2
0
2 3 4 5
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
1
1
1
2
1
3
1
4
1
5
1
6
1
7
1
8
1
0 9
1
6 7
8 1
9
2
0
R
A
0
R
A
1
R
A
2
R
A
3
R
B
0
/
I
N
T
0
R
B
1
R
B
2
R
B
3
R
B
4
R
B
5
R
B
6
/
P
G
C
R
B
7
/
P
G
D
R
C
0
R
C
1
/
C
C
P
2
R
C
2
/
C
C
P
1
R
C
3
R
C
4
R
C
5
R
C
6
/
T
X
R
C
7
/
R
X
R
A
6
R
A
7
M
C
L
R
R
A
4
/
T
0
C
K
I
R
A
5
G
N
D
G
N
D
V
D
D
R
1
1
1
K
R
7
1
8
0
C
2
1
.
0
u
F
D
2
1
N
4
0
0
7
D
1
5
.
6
V
42 SERVO 11.2008
Schematic 2. This is an AC power
supply, a DC power supply, and a PIC
microcontroller melded together to turn
an AC motor shaft under our control.
The amount of hardware stuff you load
onto the PIC side of this circuit depends
on how much DC current you provide
with the transformerless capacitive
power supply. Ive supplied a piece of
code in the download package that
uses the OPTORX optocouplers as a
simple ON/OFF switch.
Eady-Universal Motor-edited.qxd 10/8/2008 9:30 PM Page 42
this leads us to conclude that the modified DC motor will
run in one direction only with an AC power source, as well.
Imagine your right hand detached from your body and
floating in 3D space. Reverse the direction of your hand to
point towards you (reverse the polarity of the stators
magnetic field) while rotating your thumb towards the floor
(reverse the polarity of the rotor winding current). The force
(your palm) ends up in the same position as when your
hand was pointed away and your thumb pointed skyward.
Our modified AC/DC-capable motor is the a universal
motor. Most of your AC-powered kitchen appliance motors
and most vacuum cleaner motors are universal. Ive led you
down this path because thats the type of motor we are going
to drive with our PIC microcontroller-based controller. Our
target universal motor is a product of Ametek Lamb Electric.
The one shown in Photo 1 is an Ametek 116207-00, two-
stage tangential bypass discharge 120 VAC vacuum motor.
The 116207-00 is rated at 1,000 watts. Typical input current
draw for this motor is quoted as 8.6 amperes when pulling
a respectable vacuum through a 19 mm orifice. If you have
a robotic application that requires creating a vacuum, thats
great. However, the universal motor controller circuitry
were about to design can be adapted to drive most any
motor you may wish to employ in your robotic applications.
The Universal Motor
Controller Hardware
I realize that many of you work with potentially
hazardous mechanical tools and devices on a daily basis.
Every metal head Ive ever had the good fortune to meet
knows that safety is paramount when working with and
around metal-forming tools. For you electron heads, safety
should also be at the top of your list when working with
the universal motor controller electronics. The controller cir-
cuitry you see in Schematic 2 is driven by potentially lethal
120 VAC mains power. Do not under any circumstances
handle the universal motor controller electronics when the
120 VAC mains power is applied to it. If you dont want to
release the magic smoke from your electronic tools, never
attach a PIC programmer or debugger device to a universal
motor controller when it is powered directly from the 120
VAC mains. If you want to probe the controller circuitry, get
the mains power, behind an
isolation transformer first. Like
anything else, the universal
motor controller circuitry is
best understood when
digested in small chunks. So,
as you study the components
in Photo 2, think of the
controller electronics as three
cooperative subsystems: an AC control subsystem; a DC
power subsystem; and a microcontroller subsystem. The AC
control subsystem is responsible for interfacing the motor
with the 120 VAC. The PIC18F2620 microcontroller depends
upon the DC power subsystem for its power supply needs.
The STMicroelectronics BTA16-600CW snubberless TRIAC
which is the heart of the AC control subsystem is under the
control of the PIC18F2620-based microcontroller subsystem.
The AC control subsystem provides overall protection
for the controller circuitry with a 10 ampere fuse and a zinc
oxide varistor placed in series with and across the 120 VAC
mains supply, respectively. A 470 nF X2-type capacitor (C1)
also traverses the 120 VAC supply to limit electromagnetic
interference (EMI). Believe it or not, C1 is not there for the
controller circuitry. Its there to restrict harmonic pollution
of the 120 VAC mains. Take another look at Photo 2 and
youll see that the entire AC control subsystem is contained
to the left of the area delineated by the TRIACs heatsink.
In this instance, we are driving an inductive load and
one would normally see a resistor/capacitor snubber
network placed across the TRIACs MT1 and MT2 terminals
to reduce the possibility of false triggering of the TRIAC.
The BTA16-600CW is designed to work against the high
instantaneous voltages that occur during TRIAC
commutation that can force a TRIAC to conduct
unexpectedly. In the case of a TRIAC, commutation is the
switching from an ON state (TRIAC conducting) to an OFF
state (TRIAC not conducting). When an AC signal is applied
to a TRIAC and a trigger is applied to the TRIAC gate during
a time when the AC signal is not crossing zero, the TRIAC
will conduct until the next zero crossing of the AC signal. If
a trigger is not applied to the TRIAC gate following the zero
crossing event, the TRIAC will remain in a nonconductive
state until it is triggered again. The TRIACs ability to
reliably turn itself off (commutate) and be triggered into
conduction at will by our PIC within the time domain of an
AC cycle are the keys to controlling the amount of power
SERVO 11.2008 43
Photo 2. Although you can easily breadboard a universal
motor controller, building up your own on a printed circuit
board like this is recommended. Note that there are no
exposed printed circuit board traces or lands, which reduce
the probability of you getting your fingers fried. Be sure to
use X2-type capacitors for C1 and C2 as X2z are approved for
safe use in this type of AC circuit.
Photo 1. This universal motor
could be a blender motor or a
kitchen mixer motor. As long as
the motor is considered to be
universal, its a safe bet that our
core AC motor controller circuitry
can be adapted to drive it.
Eady-Universal Motor-edited.qxd 10/8/2008 9:30 PM Page 43
44 SERVO 11.2008
we apply to our universal motor.
The DC power component of the controller is supplied
by a transformerless capacitive power supply. With yet
another peek at Photo 2, all of the transformerless
capacitive power supply components are located below the
470 F electrolytic capacitor (C3), which is to the right of
the TRIAC heatsink. You should be able to easily pick out
the transformerless capacitive power supplys five
components, which include resistor R5 (100) , capacitor
C2 (type X2 1 F), zener diode D1 (5.6V, 1.5 watt), general-
purpose rectifier D2 (1N4007), and electrolytic capacitor
C3. The transformerless capacitive power supply you see in
Schematic 2 will work for us (keep a stable voltage
across C3) as long as the current we draw from the
transformerless capacitive power supply is equal to or less
than the current that is feeding the power supply.
The amount of output current the power supply
provides depends on the value of R5, C2, D1, and the
magnitude and frequency of the input AC voltage.
(C3) is the output charge collection point that stores
and supplies voltage gleaned from the rest of the
transformerless capacitive power supply components. Heres
the formula that will reveal the amount of current taken
from the 120 VAC mains:
where:
I
N
= Current available at
transformerless capacitive
power supply output
V
RMS
= AC mains input voltage
V
Z
= Voltage drop across zener diode
f = Frequency of AC mains input voltage
C
1
= Value of universal motor controller capacitor C2
(blocking capacitor)
R
1
= Value of universal motor controller resistor R5
(blocking resistor)
I had a great deal of fun playing with this formula. So,
to make it just as much fun for you to manipulate the
parameters, I whipped up an Excel page (included in the
download package available at www.servomagazine.
com) that calculates I
N
using your input values. Screenshot
1 is a spread of values using a tolerance of 20% for the
blocking capacitor and 1% for the blocking resistor. The
other parameters are hand-picked assumptions with the
exception of the V
Z
value (zener voltage drop), which I
extrapolated from the 1SMA5913BT3 datasheet.
I overdesigned my universal motor controller
transformerless capacitive power supply as I didnt end up
using as many current-hungry LEDs and optocouplers as I
had envisioned. As you can see from Screenshot 1, I have
about 30 mA of available current. The formula for
computing the available current is generous. The actual
amount of available current will be somewhere around
80% of the computed value, or 24 mA.
The PIC18F2620 is also overdesigned as I have plenty
of PIC I/O left over after servicing the controllers AC and
logic interfaces. The main reasons for choosing the
PIC18F2620 for this application were its built-in oscillator,
ample I/O, and EUSART. A smaller PIC footprint will also
work with our controller AC and DC components. Just
make sure your PIC has enough I/O lines to do the job.
Its pretty obvious in Photo 2 as to where the PIC,
optocouplers and all the supporting microcontroller
components are located.
It is important to note that our transformerless
capacitive power supply has its DC positive component
referenced to the 120 VAC mains Line, which is also
connected to the triacs MT1 terminal. The reasons for the
zener diodes cathode connection to the 120 VAC mains
Line are twofold. First, we want to trigger our BTA16-
600CW using a low-going pulse. The reason for selecting a
low-going trigger pulse is dictated by the quadrants in
which we desire to trigger the BTA16.
A careful study of Figure 1 shows us that a typical triac
can be triggered by a positive or negative going pulse.
Since were triggering the controllers BTA16 with a low-
going pulse, we can only trigger it in quadrants II and III.
For inductive loads, triggering in quadrants II and III is
desirable as the triggering energy is not excessive here.
Simple diac-based lamp dimmer circuits which are
fashioned similarly to Schematic 1C usually trigger in
auadrants I and III. Transpose the diac trigger diagram in
Figure 2 over Figure 1 to see why. quadrant I is also a
desirable triggering quadrant as it does not require
excessive triggering current. Note that quadrants I and III
are complementary as far as triggering and AC cycle con-
duction are concerned. For most applications, quadrant IV
is to be avoided as it takes the most triggering energy. Note
also that both the positive and negative portions of the AC
cycle can be processed with a low-going triac trigger pulse.
The BTA16-600CW requires a minimum of 35 mA and
a maximum of 60 mA of gate current flow to trigger. The
PIC18F2620 can sink 25 mA per I/O pin. Ive paralleled 3
I/O pins to provide a total of 75 mA of sink current
capability. The 47.5 1% resistors (R1, R2, and R3) are
present to level the I/O pin load across the three current
sinks and limit the maximum amount of gate current drive.
In our universal motor controller application, Ive selected
a minimum logical high level of three volts. The BTA16-
600CW datasheet tells me I need to be ready to sink a max-
imum of 60 mA of current through the triac gate. Using
Ohms Law, that equates to:
R = 3 volts / 0.060 Amperes
= 50
Screenshot 1. I used a 1.0 F X2-type capacitor and a
100 ? two-watt SMT power resistor in this transformerless
capacitive power supply to provide ample current for driving
LEDs and optocouplers. I also overdesigned the PIC18F2620
into this circuit as to not want for I/O if I needed it later. You
can design in just as much PIC as you want and just as much
DC current as you need for your personal universal motor
controller application.
I
n
J
rms
J
:
f C
www.corobot.net
x puts a virtual robot in the hands
of every student
x lowers the cost of project
development without effecting
long-term results
x reduces lab down-time
x physics-based simulation
environment
x multiple licensing options
available
ClassPack and CoroBot
where Virtuality meets Reality
www.corobot.com 1-800-641-2676
LINEAR
SERVOS
Radio Control
Industrial
Robotics
www.robotpower.com
Phone: 253-843-2504 s [email protected]
$
2
1
9
Scorpion XL
6 Dual 13A H-bridge
6 5V - 28V
6 2.7 x 1.6 x 0.5
6 14V - 50V - Dual 80A H-bridges - 150A+ Peak!
6 Adjustable current limiting
6 Temperature limiting
6 Three R/C inputs - serial option
6 Many mixing options - Flipped Bot Input
6 Rugged extruded Aluminum case
6 4.25" x 3.23" x 1.1
S
i
d
e
w
i
n
d
e
r
$39.99
$399
Introducing Dalf
6 Closed-loop control of two motors
6 Full PID position/velocity loop
6 Trapezoidal path generator
6 Windows GUI for all features
6 Giant Servo Mode!
6 C source for routines provided
6 PIC18F6722 CPU
$
2
5
0
MADE IN
THE USA
H-bridges: Use with Dalf or with your Micro/Stamp
Simple-H
6 6-28V 25
6 2.25 x2.5 x0.5
6 3 wire interface
6 current & temp
protection
A!
$79
See www.embeddedelectronics.net
RC Control
Scorpion XXL
6 Dual 20A H-bridge 45A Peak!
6 5V - 28V
6 2.7 x 1.6 x 0.75
Scorpion Mini
6 2.5A (6A pk) H-bridge
6 5V - 20V
6 1.6 x .625 x 0.25
$159.99
$104.99
2+ price
We also do consulting!
Give us a call for a custom
motor control to meet your
exact needs
s
v
r
!
B
o
t
IQ
F
a
o
it
e
SERVO 11.2008 71
Page 71.qxd 10/7/2008 4:13 PM Page 71
72 SERVO 11.2008
Build Your Own
Humanoid Robots
by Karl Williams
GREAT 'DROIDS, INDEED!
This unique guide to
sophisticated robotics
projects brings
humanoid robot
construction home to
the hobbyist. Written
by a well-known figure
in the robotics
community, Build Your
Own Humanoid Robots provides
step-by-step directions for six exciting proj-
ects, each costing less than $300. Together,
they form the essential ingredients for
making your own humanoid robot. $24.95*
We accept VISA, MC, AMEX,
and DISCOVER
Prices do not include shipping and
may be subject to change.
The SERVO Webstore
Attention Subscribers ask about your discount on prices marked with an *
L
o
o
k
L
o
o
k
W W
h
a
t
h
a
t
s s
N
e
N
e
w w
Forbidden LEGO
by Ulrik Pilegaard / Mike Dooley
Build the Models
Your Parents
Warned You
Against.
Forbidden LEGO
introduces you to
the type of free-
style building that
LEGOs master
builders do for fun in the back room.
Using LEGO bricks in combination with
common household materials (from rub-
ber bands and glue to plastic spoons
and ping-pong balls) along with some
very unorthodox building techniques,
youll learn to create working models that
LEGO would never endorse. $24.95
Robot Building for Dummies
by Roger Arrick / Nancy Stevenson
Discover what
robots can do and
how they work.
Find out how to
build your own
robot and program
it to perform tasks.
Ready to enter the
robot world? This
book is your pass-
port! It walks you
through building your very own little
metal assistant from a kit, dressing it up,
giving it a brain, programming it to do
things, even making it talk. Along the way,
youll gather some tidbits about robot
history, enthusiasts groups, and more.
$24.95
SERVO Magazine
Bundles
Published by T & L Publications, Inc.
$57
per bundle
Save $10
off the
normal
price!!
Now you can get one years worth of all
your favorite articles from SERVO Magazine
in a convenient bundle of print copies.
Available for years 04, 05, 06, and 07.
Robotics Demystified
by Edwin Wise
YOU DON'T NEED ARTIFICIAL INTELLIGENCE
TO LEARN ROBOTICS!
Now anyone with an
interest in robotics can
gain a deeper under-
standing without for-
mal training, unlimited
time, or a genius IQ. In
Robotics Demystified,
expert robot builder
and author Edwin Wise
provides an effective and totally painless
way to learn about the technologies used to
build robots! $19.95
Robot Programmer's Bonanza
by
John Blankenship, Samuel Mishal
The first hands-on
programming guide
for today's robot
hobbyist!
Get ready to reach into
your programming tool-
box and control a robot
like never before! Robot
Programmer's Bonanza is the one-stop guide
for everyone from robot novices to advanced
hobbyists who are ready to go beyond just
building robots and start programming them
to perform useful tasks. $29.95
EDITORS PICKS
ROBOTICS
Electronic
Troubleshooting
When things go wrong with your robot
design, you'll need a logical approach
and know which tools to use to get
things working again. This book describes
both the techniques and technologies
you need to troubleshoot any
electronic device.
$49.95
Editor Bryan Bergerons recommended reads.
Find these and many more great titles in the SERVO Magazine Webstore!
Kickin' Bot
by Grant Imahara
Enter the arena of the metal gladiators!
Do you have what it
takes to build a
battle-ready robot?
You do now! Here are
the plans, step-by-step
directions, and expert
advice that will put
you in competition
while you have a heck
of a lot of fun getting
there. Grant Imahara, the creator of the
popular BattleBot Deadblow, shares every-
thing hes learned about robot design, tools,
and techniques for metal working and the
parts you need and where to get them.
$24.95
FIRST Robots: Rack 'N' Roll
Behind the Design
This book is a 'must' for contestants
preparing for the FIRST competitions
and for anyone who wants to know what
really goes in to creating a practical robot
with limited time and resources.
$39.95
N N
E E
W
!
W
!
WebstoreNov08.qxd 10/8/2008 7:09 AM Page 72
Im trying to
understand the
bailout plan!
Do you?
visit m visit my online stor y online store @ e @
www www.ser .ser v vomagazine omagazine.com .com
To order call 1-800-783-4624
Robot Builders Sourcebook
by Gordon McComb
Fascinated by the
world of robotics but
dont know how to
tap into the incredible
amount of informa-
tion available on the
subject? Clueless as
to locating specific
information on robot-
ics? Want the names,
addresses, phone numbers, and websites of
companies that can supply the exact part,
plan, kit, building material, programming lan-
guage, operating system, computer system,
or publication youve been searching for?
Turn to Robot Builders Sourcebook a
unique clearinghouse of information that will
open 2,500+ new doors and spark almost as
many new ideas. $27.95 Sale Price $24.95
The Amateur Scientist 3.0
The Complete Collection
by Bright Science, LLC
There are 1,000
projects on this CD, not
to mention the
additional technical
info and bonus
features. It
doesnt matter if youre
a complete novice
looking to do their first
science fair project or a
super tech-head gadget
freak; there are enough
projects on the
single CD-ROM to keep you and 50 of your
friends busy for a lifetime! $26.99
CNC Robotics
by Geoff Williams
CNC Robotics gives you
step-by-step, illustrated
directions for designing,
constructing, and testing
a fully functional CNC
robot that saves you 80
percent of the price of an
off-the-shelf bot and
that can be customized
to suit your purposes exactly, because you
designed it. Written by an accomplished
workshop bot designer/builder, this book
gives you everything you need. $34.95
MEMS & Nanotechnology
for Kids
by Marlene Bourne
Small is cool! What is
nanotechnology?
What are MEMS? And
what makes them so
special? Welcome to
the wonderful world
of really small stuff.
Things so tiny, you
need special
microscopes to even
see them.
Winner of a 2008 IPPY
Award (bronze medal) for best
juvenile/young adult non-fiction, MEMS &
Nanotechnology for Kids explores what you
can find at the micro- and nano-scale; where
you'll discover all sorts of amazingly small
sensors, structures, and materials.
Reg $24.95 Sale 18.95
Linux Robotics
by D. Jay Newman
If you want your robot
to have more brains than
microcontrollers can
deliver if you want
a truly intelligent,
high-capability robot
everything you need
is right here. Linux
Robotics gives you step-
by-step directions for
Zeppo, a super-smart, single-board-
powered robot that can be built by any
hobbyist. You also get complete instructions
for incorporating Linux single boards into
your own unique robotic designs. No
programming experience is required. This
book includes access to all the
downloadable programs you need.
$34.95
SERVO 11.2008 73
WebstoreNov08.qxd 10/8/2008 7:11 AM Page 73
PROJECTS
SPECIALS OFFERS
Or order online www.servomagazine.com
Get your very own limited-edition SERVO Magazine T-shirt. Shirts come
in sizes S, M, L, and are available in either black or white.
All shirts are 100% preshrunk cotton.
Limited time offer. Call 1-800-783-4624.
From HomoSapien to RoboSapien Before R2D2 there was R1D1
The Definitive Guide to
Building Java Robots
by Scott Preston
The Definitive Guide to Building Java Robots
is for educators,
students, hobbyists,
and startups looking
for Java/hardware
interaction. This book
shows you how to use
your PC to build
robots, and how you
can interface with a
microcontroller to do
the basics. Youll learn
to design your robot to navigate, see, speak,
recognize your face, listen to you, and build
maps. $55.95 Sale Price $ 47.95
The SERVO Buddy
Kit
An inexpensive circuit you
can build to control a servo
without a microcontroller!
For more information,
please check out your
May 2008 issue
or go to our website @
www.servomagazine.com
Subscribers Price $39.55
Non-Subscribers Price $43.95
PCB includes article reprint.
Tankbot Kit & Alpha Brain Kit
Buy both these books
together in the month
of November 2008
and
save 10% off the list price. Plus get free shipping in the US!!
Call 800 783-4624 or order online @ www.servomagazine.com
List Price $29.95 Sale Price $ 26.95 List Price $40.95 Sale Price $35.95
Building Robots with
LEGO Mindstorms NXT
Programming Lego
Mindstorms NXT
S SA AVE 10% plus VE 10% plus
GET FREE GET FREE US US
SHIPPING! SHIPPING!
F
R
E
E
!
F
R
E
E
!
w
ith
a
n
y
w
ith
a
n
y
p
u
rc
h
a
s
e
p
u
rc
h
a
s
e
o
v
e
r $
1
0
0
o
v
e
r $
1
0
0
Phone-in
orders only!
SERVO
Magazine
T-Shirts
Robot Builders Cookbook
by Owen Bishop
This is a book for
first-time robot
builders, advanced
builders wanting to
know more about
programming robots,
and students in
further and higher
education tackling
microcontroller-
based practical
work. They will all
find this book a unique and exciting source
of projects, ideas, and techniques to be
combined into a wide range of fascinating
robots. $29.95 Sale Price $ 24.95
As seen in the
Sept. issue
Tankbot/
Brain Alpha
by Ron Hackett
A bi-monthly series
filled with projects and
experiments to challenge
you through your
learning process while
you grow your fully
expandable
Brain Alpha PCB!
The Alpha Brain kit is an excellent way to
get started in robotics. The brain a
PICAXE-14A is easily programmed in a
dialect of Basic that includes many powerful
commands. At the end of each of Rons
articles, he will include programming for that
months project. The kit also includes a 400
point breadboard which allows for
considerable expansion and experimentation.
For more info & pictures, visit the SERVO
Webstore at www.servomagazine.com.
$99.95 Sale Price $ 85.95
The TankBot gives you everything you
need to start building your own sturdy
servo-motor robotic tracked vehicle.
Powered by two modified R/C servos
(44 oz-in torque). The assembled Tankbot
measures 7 inches long, 4.75 inches wide,
and 3.5 inches high. The top deck is
drilled ready for the Alpha Brain. For more
info & pictures, visit the SERVO Webstore
at www.servomagazine.com.
$59.95 Sale Price $ 56.95
Combo Price $ 138.95
74 SERVO 11.2008
WebstoreNov08.qxd 10/8/2008 12:54 PM Page 74
TT
Ask for our FREE 96 page catalog
VISIT OUR ONLINE STORE AT
www.allelectronics.com
WALL TRANSFORMERS, ALARMS,
FUSES, CABLE TIES, RELAYS, OPTO
ELECTRONICS, KNOBS, VIDEO
ACCESSORIES, SIRENS, SOLDER
ACCESSORIES, MOTORS, DIODES,
HEAT SINKS, CAPACITORS, CHOKES,
TOOLS, FASTENERS, TERMINAL
STRIPS, CRIMP CONNECTORS,
L.E.D.S., DISPLAYS, FANS, BREAD-
BOARDS, RESISTORS, SOLAR CELLS,
BUZZERS, BATTERIES, MAGNETS,
CAMERAS, DC-DC CONVERTERS,
HEADPHONES, LAMPS, PANEL
METERS, SWITCHES, SPEAKERS,
PELTIER DEVICES, and much more....
ORDER TOLL FREE
1 - 8 0 0 - 8 2 6 - 5 4 3 2
THOUSANDS OF ELECTRONIC
PA RT S A N D S U P P L I E S
Robotics Showcase
SERVO 11.2008 75
ROBOT CONTROL
MADE EASY
www.roboteq.com
up to
2x120A
- RS232, RC, or Analog input
- Speed or Position Mode
- Dual channel output up to 120A
- Optional single channel to 240A
- Optical Encoder Inputs
- Intelligent Current Limiting
- Thermally Protected
- Field Upgradable Firmware
- Enclosed and Board-Level versions
- and many more advanced features ...
The Escape
Robot`s built-in
microprocessor
enables it to
'think on its own.
(KSR4) $29.95
20 second voice recorder/playback
module. The electret microphone is on the
board. One button records, the other button is
momentarily pressed to replay the message.
(pre-assembled) (A96010) $6.60
5mm White
water clear
LED 3.5V
10,000 mcd
(AB287)
$0.56
The Velleman Personal Scope
is not a graphical multimeter
but a complete portable
oscilloscope at the size and
cost oI a good multimeter.
(HPS10)
The robot Irog moves Iorward
when it detects sound and
repeats: start (move Iorward) -~
stop -~ leIt turn -~ stop -~ right
turn -~ stop. (KSR2) $19.95
S
o
l
d
e
r
i
n
g
r
e
q
u
i
r
e
d
Thousands
m
ore item
s on
our w
eb site!
$146.
Showcase Nov08.qxd 10/7/2008 7:19 AM Page 75
A
-Kon is North Americas longest
running national anime
convention. It was first held in 1990
and it has been growing ever since.
A-Kon 2007 had an attendance of
more than 14,000. Quite a few of
those attendees are cosplayers: fans
who dress and act like their favorite
characters from TV, anime, comics,
books, and video games. To give you
an idea of how big this thing is, A-Kon
2008 set a new Guinness world
record for the most people dressed as
video game characters in one room
(700+). Video game characters arent
even the most popular type of
cosplay. I thought with all these guys
in one place, there were bound to be
a lot of robot costumes. So, I set out
with my camera to see what I could
find. When I was still several blocks
away from the event location, I
spotted a group of Dragonball Z
characters marching down the street.
In the park across from the hotel, a
group of female super heroes battled
ninjas, to the surprise of workers
in nearby office buildings.
Once inside, there was no
shortage of robots, androids, and
cyborgs. Within minutes of walking
into the lobby, I spotted a Super
Vandread robot fighting machine, pos-
ing for curious bystanders who kept
their distance from the dangerous
robot. One bystander who considered
danger irrelevant was a Borg,
complete with motorized appendages,
lasers, blinking lights, and surrounded
by a cloud of self-generating fog.
If Transformers are your thing,
youll be happy to know there were
numerous Autobots and Decepticons
in attendence including Arcee a
pink, female Autobot. Androids were
in plentiful supply, as well, and one
of the best this year was R. Dorothy
Wayneright, the android companion
of Roger Smith from the anime series
The Big O. Dorothy was part of a
group of cosplayers who won the Best
of Show award for their depiction of
Big O characters.
In addition to robot cosplayers, I
also made several other unexpected
robot sightings at A-Kon 2008. In
the dealer room were a variety of
imported Japanese robot toys
Transformers, Robotech mecha,
Gundams, and other more obscure
robots. One dealer was selling tiny
little robot figures for gamers. Leaving
the dealers room, I ran across another
room full of Virtual World Battlemech
combat simulator pods. The pods are
networked together and exist in a
common virtual universe. Inside the
pod, you are in control of a giant,
bipedal robot battle machine and you
fight it out with other players.
One unusual robot in attendance
this year was Gir, the cute little robot
from Invader Zim. Gir wasnt a
costume or a toy. Dallas resident,
Remia, had Gir tattooed on her arm.
When I asked her why she chose Gir,
she said, Gir is kinda the reject robot
who was slapped together on the
spot for Zim. But the motivation for
me was Im kinda like Gir, very easily
distracted at times and kinda off the
Why Just Build a Robot? Be a Robot!
by R. Steven Rainwater
76 SERVO 11.2008
Appetizer.qxd 10/7/2008 3:08 PM Page 76
wall. Her robot tattoo has earned her the name
Gir Girl among locals.
After a long day photographing cosplayers, I walked
across the street to find some dinner at the restaurants
surrounding the Plaza of the Americas ice-skating rink.
Along the way, a blue-haired catgirl complained that the
hotel never warns the restaurants of the impending A-Kon
crowds. Every year, nearby restaurants run out of food,
limiting the eating choices of hungry event participants.
As I sat at a table eating a fast food trans-fat burger,
I watched aliens, robots, and super-heroes wandering
through the crowds. A collection of space pirates skated
by on the ice. Its a very different experience from the
average robot event I attend. There was no clear line
separating robot from human. A glimpse of the future
perhaps? SV
P
erform proportional speed, direction, and steering with
only two Radio/Control channels for vehicles using two
separate brush-type electric motors mounted right and left
with our mixing RDFR dual speed control. Used in many
successful competitive robots. Single joystick operation: up
goes straight ahead, down is reverse. Pure right or left twirls
vehicle as motors turn opposite directions. In between stick
positions completely proportional. Plugs in like a servo to
your Futaba, JR, Hitec, or similar radio. Compatible with gyro
steering stabilization. Various volt and amp sizes available.
The RDFR47E 55V 75A per motor unit pictured above.
www.vantec.com
STEER WINNING ROBOTS
WITHOUT SERVOS!
Order at
(888) 929-5055
SERVO 11.2008 77
Appetizer.qxd 10/7/2008 3:09 PM Page 77
78 SERVO 11.2008
As long as there have been two
people gathered together who have
different ideas and skill sets, there
have been competitions of some sort.
The recent Summer Olympics was an
extreme example of the worlds finest
who gathered together in China to
prove who the best athlete in many
categories was. Old records fell
as younger or more experienced
athletes swam or ran faster than ever
before, jumped higher or further, or
performed some series of athletic
motions with more finesse than the
others. An American swimmer walked
away with a record eight gold medals.
We humans love to present our
finest to the world in hopes that our
countrys competitors are better than
anyone else. Robotics is no different
as we are all proud of our coolest,
fastest, meanest, smartest, or most
destructive robot of all and want to
show it to the world in some sort
of competition.
In this years April issue of SERVO,
I touched upon some of the more
popular contests such as the Seattle
Robotics Societys Robothon, the
Portland Robotics PDXBot robot
competition (both of which have been
postponed due to the need of
leadership), the Robotics Society of
Southern Californias annual robot
fairs, and a few of the national
events. As I was more concerned with
the exhibits by different groups, I
really did not cover the complexities
of these events and the many more
held around the world.
I also had a few responses from
readers mentioning that I did not
cover their event or other events that
were particularly noteworthy. I spoke
with a few personally, and related that
I can never cover the wide spectrum
of any topic in modern robotics
technology and I just try to cover a
few unique aspects of a particular
articles subject. This certainly applies
to the many robot exhibitions and
competitions as there are so many
types of contests and competitions
these days. In this article, I again
will highlight a few of the more well
known robotics contests in a bit more
detail, but, this in no way represents
the very best competitions. They just
happen to be a few of the contests I
know a bit more about.
Competition can be as simple as
one neighbor watching another build
a robot. That neighbor then decides
that he can build an even better one,
and so on. It can also arise in a school
or university where two or more
students build a robot that can one
up another group of students
machine. Sometimes a competitive
urge develops when a person watches
a contest on TV or reads about one.
Some of the best competitions
arise when sponsors decide to develop
a contest with a specific set of rules
and award prizes to the best in the
contest. These can be a simple science
fair at a local high school, a nation-
wide series of contests such as FIRST,
or even a government sponsored
contest such as the DARPA off-road
Grand Challenge or Urban Challenge
with a first prize of $2 million.
Contestants benefit as do the
sponsors who can use the winning
technology to further enhance military
or other government projects at a
far cheaper cost than handing out
research grants. Im going to outline
a few of the more widely-spread types
of contests and, as I mentioned
before, these are just a drop in the
bucket of the many very interesting
competitions around the world
involving experimental, amateur, and
downright unique robots.
The Seattle Robotics Society
Robo-Magellan Contest
The varieties of entrants in
robotics contests can vary from simple
kit-built wheeled robots exhibited by
elementary level kids in a local event
to the million dollar autonomous cars
and SUVs entered into the Grand
Challenge series held in multi-mile
desert and suburban environments.
I had the honor of being one of
the judges for the Seattle Robotics
Societys Robo-Magellan contest
for several years, held at the SRS
Robothon at Seattle Center. This
contest was envisioned as an
affordable alternative to these
government sponsored contests and
has spread to many robotics groups
across the country. Entries are nothing
short of amazing.
The robots that Ive seen over the
years range from a few pounds to
maybe 30 or more, and sizes range
from a small, remote-controlled car
chassis to 18 inches long and 14
Then NOW
a
n
d
ROBOT COMPETITIONS
AND CONTESTS
b y T o m C a r r o l l
Then&Now.qxd 10/6/2008 11:42 AM Page 78
inches high, or so. They must weigh
less than 50 pounds and fit within a
four foot cube for the duration of the
race. Some crawl away from the
starting point at a speed slower than
a stroll in the park and others race
away at breakneck speeds. Ive seen
contestants running behind their
speeding Robo-Magellan robot,
barely able to keep up, with the
safety tether in their hand ready for
an emergency stop.
Figure 1 (courtesy of SRS) shows
a contestant holding the safety tether
in the October 2006 competition.
Wireless safety switches are admissi-
ble, but most contestants use a wired
tether. In the early years, we had a bit
of trouble with the GPS satellites
being shadowed from the robots by a
high wall or even the Space Needle,
but this made the contest a bit more
challenging when the competitors
transferred navigation to odometry
and compass navigation.
Newer and more sensitive
receivers solved a lot of the GPS
reception problems in later years. I
never saw an entry that wasnt first
class, though some did manage to
get lost or stuck behind obstacles.
As stated in the rules set up by
the SRS, Robo-Magellan is a robotics
competition emphasizing autonomous
navigation and obstacle avoidance
over varied, outdoor terrain. Robots
have three opportunities to navigate
from a starting point to an ending
point and are scored on the time
required to complete the course with
opportunities to lower the score based
on contacting intermediate points.
The chicken switch tether I
mentioned previously is allowed to
disable the robot when it is deemed
unable to continue or will run into a
person or obstacle, but all control is
autonomous and navigation is by GPS
coordinates (no differential GPS to
enhance the accuracy), visual cameras
(to avoid obstacles and locate the 18
orange traffic cones), and on-board
compasses.
The contest is held outdoors (for
best GPS reception) and is usually on
sidewalks, grass, and has some unique
ramps and turns. The contests at the
Seattle Center have always attracted
a crowd of people who excitedly
follow the robots around the course.
Sometimes a person with an orange
jacket or hat will confuse the robot
so that it deviates from the course
because it thinks it has seen the
orange cone.
Its always fun to explain to the
crowd just how intelligent the robots
are and why they do certain things on
the course, (which can be longer than
1,000 feet). Scoring is based on time,
but points are also given for locating
and touching all waypoint cones, so
slower robots have frequently bested
the speedier machines. Contestants
are given the course coordinates just
before the contest and are allowed to
traverse the course themselves before
their robot makes its run (a maximum
of 15 minutes is allowed for each
run). Other groups have used desert
courses, woods, and strictly urban
courses with only concrete and
asphalt. To make the course more
interesting, overhead trees, inclines,
curbs, garbage cans, park benches,
shrubs, and even streams have been
included. Target cones are hidden
from view at the starting points and
at the waypoints. Go to www.robot
hon.org/robothon/robo-magellan
for more detailed rules and
information.
IEEE Micromouse
Competitions
Running a maze with a robot has
always been a draw and people have
built robots to solve simple mazes
since before the microcomputer age.
In 1977, IEEE Spectrum magazine
announced a micromouse contest
that would be held in New York in
1979. That gave time for the 6,000
initial entrants to design, build, and
fine-tune their creations. Fifteen
finalists were selected for the
competition to be run in a 10 by 10
maze. The winner of this first contest
was a simple, high-speed wall-follower
that used no sort of intelligence to
seek its goal. These types of mice
simply turn a certain direction when
detectors locate the absence of a wall
and continue turning in that same
direction for the same reason,
many times until they eventually
(accidentally!) reach the goal. Rules
were changed to eliminate these
types of entries.
As the contest series gained
popularity in the early 80s and groups
around the world became interested
in participating, the rules became
more defined. Mice appeared in all
sorts of forms. David Buckley of the
UK came up with Quester in 1981
a large 8 by 7-1/2 by 5-1/2
micromouse that used a vision system
to detect the maze walls and bump
sensors when those sensors failed.
(See Figure 2).
Buckley gained a bit of fame
when Quester was featured in one
of the earliest non-industrial robot
magazines, Robotics Age. The First
World Micromouse Competition was
held in Tsukuba, Japan in 1985 and
the top six winners were all locals.
After a few sporadic contests in the
US with low attendance and few
SERVO 11.2008 79
FIGURE 1. Robo-Magellan contestant.
FIGURE 2. Quester from the UK.
Then&Now.qxd 10/6/2008 11:42 AM Page 79
entrants, the contest became quite
popular and is now often held in
conjunction with electronic business
conferences, especially where
IEEE attends.
What is a Micromouse?
A mouse must be self-contained
and totally autonomous, no larger
than 25 cm by 25 cm (about 10 x
10) and there is no limit on the
height. It cannot, however, move over
or damage the maze walls. The maze
itself consists of a square pattern of
16 by 16 squares (18 by 18 cm each),
with 5 cm high walls of 1.2 cm
thickness. The entire maze is enclosed
by an outside wall and the mouse is
placed at an outside square and
must find its way all by itself to four
squares at the center of the maze.
This destination is so positioned
that wall-hugging mice will be unable
to locate it. Of course, the maze is set
up ahead of time and hidden from
view until just before the contest
begins. The mouse has 10 minutes to
complete the run from the start to the
center four squares where there is a
wooden goal post. Obviously, the
fastest mouse wins. Figure 3 shows
the maze at a contest at Cal State
Chico. Note the detector protrusions
over the walls in both Figures 3 and 4.
One entry at a contest that I had
the pleasure of judging back in 1988
at Wescon featured a very unique
mouse. It could not have weighed
more than 100 grams and had a pair
of sensor arms made from PC board
material that extended over the walls
on both sides of the maze paths. Im
guessing that the arms had a series of
IR photo transistors and IR LED pairs
to detect the presence or absence of
walls, and to keep the robot centered
in the path. This little sucker would zip
forward and stop at each 18 cm
square, examine the walls present,
and would then proceed or quickly
turn a precise 90 degrees as required,
and quickly step to the next square.
It rapidly examined almost every
possible square and found the center
fairly fast.
The amazing thing was when the
contestant placed the mouse back in
the square, the mouse quickly sped
to the center four squares by the
absolute best route, sometimes
making deliberate 45 degree turns
to save time. Needless to say, it won
first place.For rules, check out
www.ieee.uc.edu/main/files/sac20
07/mm_rules.pdf. There are many
other good sites that have both rules
and building techniques available.
FIRST For Inspiration and
Recognition of Science and
Technology
I could not write about robot
contests without mentioning the very
popular FIRST competition that began
back in 1992 with 28 teams compet-
ing in a New Hampshire high school
gym. This competition series is the
vision of one of my favorite robotic
innovators, Dean Kamen, best known
as the inventor of the Segway
Transporter. FIRST competitions are for
high school students across the US
and other countries. NASA and other
major US companies have been
long-time supporters of these events.
One example of a challenge was
one year teams competed against
each other by controlling their
individual robots to push and pass
large rubber Trackballs around the
field of play. (Two of the five winning
high school teams were sponsored
by NASA centers.)
The mission and vision of the
FIRST Robotics Competitions, FRC, is
described this way, by Kamen:
Our mission is to inspire young
people to be science and technology
leaders, by engaging them in exciting
mentor-based programs that build
science, engineering, and technology
skills, that inspire innovation, and
that foster well-rounded life
capabilities including self-confidence,
communication, and leadership.
BEST Boosting
Engineering, Science, and
Technology
BEST is also a non-profit,
volunteer-based organization whose
mission is to inspire middle and
high school age students to pursue
careers in engineering, science, and
technology through participation in a
sports-like, science and engineering-
based robotics competition.
Their vision is to excite the
nation's students about engineering,
science, and technology to unlock
their imagination and discover their
potential.
Final Results
Ive only touched on a few of
the more visible robotics contests.
The many variations of BattleBots that
was so popular a half dozen years
ago on the Comedy Channel are still
held across the world. Robot Sumo
and other physical robot vs. robot
contests are a mainstay of most robot
organizations events. If any of these
competitions sound the least bit
interesting to you, I encourage you to
go to any of the hundreds of websites
for information and help your own
group of robotics enthusiasts develop
some super fun events in your home
town. SV
Tom Carroll can be reached via email
at [email protected].
FIGURE 3. Micromouse maze at
Cal State Chico contest.
FIGURE 4. Micromouse maze variations.
80 SERVO 11.2008
Then&Now.qxd 10/6/2008 11:42 AM Page 80
Electronic Parts & Supplies
Since 1967
www.c-stamp.com
L
O
W
C
O
S
T
!
CONTROLLERS & ROBOT KITS SENSORS DISPLAYS
Free
Expert
Technical
Support
1 (800) 985-AWIT
E
a
s
y
t
o
C
o
n
n
e
c
t
L
O
W
C
O
S
T
!
LOW COST
Professional SW Dev. Tools
For the finest in robots, parts, and
services, go to www.servomagazine.com
and click on Robo-Links.
All Electronics Corp. ................................75
AP Circuits/e-pcb.com .............................71
Boca Bearings .............................................7
Coroware ...................................................70
CrustCrawler ..............................................17
Electronics123 ..........................................75
Firgelli Technologies .................................70
Gears Educational Systems, LLC .............39
SolderByNumbers.com ...........................47
Hagisonic Co. ............................................75
Hitec ...........................................................12
Innovation First ...........................................3
Jameco ......................................................25
Lorax Works ..............................................75
Lynxmotion, Inc. ........................................13
Net Media .................................................83
Parallax, Inc. ................................Back Cover
PCB Pool .......................................................7
Pololu Robotics & Electronics .................71
Robot Power .............................................71
Robotis ......................................................50
RoboteQ ....................................................75
RobotShop, Inc. ........................................82
Scientifics ...................................................51
Sherline Products .....................................70
Smiley Micros ............................................77
Solarbotics/HVW .....................................19
SolderByNumbers.com ...........................47
Sparkfun Electronics ..................................2
Vantec ........................................................77
Weird Stuff Warehouse ............................75
SERVO 11.2008 81
RoboLinks-Index Nov08.qxd 10/8/2008 9:24 PM Page 81
82 SERVO 11.2008
Full Page.qxd 10/7/2008 11:51 AM Page 82
Full Page.qxd 4/29/2008 4:05 PM Page 83
backcvr.qxd 10/7/2008 11:34 AM Page 84