Robotics PDF
Robotics PDF
Robotics
Course Guidebook
P
rofessor John Long is a Professor of Biology
and a Professor of Cognitive Science on the
John Guy Vassar Chair of Natural History
at Vassar College. He also serves as the Director
of Vassar’s Interdisciplinary Robotics Research
Laboratory, which he helped found in 2003. He has taught 27 different
courses in four departments and programs, including Perception and Action,
a course in the Cognitive Science Department that features robotics and
laboratories in which students study and program mobile robots. Professor
Long received his Ph.D. in Zoology from Duke University, where he
specialized in biomechanics and received an excellence-in-teaching award.
i
Professor Long is the author of Darwin’s Devices: What Evolving Robots
Can Teach Us about the History of Life and the Future of Technology, and
along with his students and collaborators, he has published more than 50
SDSHUV LQ VFLHQWL¿F DQG HQJLQHHULQJ MRXUQDOV )RU GHWDLOV VHH KLV *RRJOH
6FKRODUSDJHKWWSELWO\I)H0UI3URIHVVRU/RQJDQGKLVURERWVKDYHEHHQ
featured in the international press; on radio, television, and podcast news
programs; and in science documentaries, including Through the Wormhole
with Morgan Freeman on the Science Channel and Evolve and Predator X
RQ+,6725<+HDOVRKDVEHHQSUR¿OHGLQWKHMRXUQDOScience for a special
issue on robotics. Ŷ
ii
Table of Contents
INTRODUCTION
LECTURE GUIDES
LECTURE 1
The Arrival of Robot Autonomy ...........................................................4
LECTURE 2
Robot Bodies and Trade-Offs ...........................................................18
LECTURE 3
Robot Actuators and Movement .......................................................27
LECTURE 4
Robot Sensors and Simple Communication .....................................35
LECTURE 5
Robot Controllers and Programming ................................................45
LECTURE 6
Human-Inspired Robot Planning ......................................................55
LECTURE 7
Animal-Inspired Robot Behavior .......................................................64
LECTURE 8
Basic Skills for Making Robots .........................................................71
LECTURE 9
Designing a New Robot ....................................................................79
iii
Table of Contents
LECTURE 10
A Robot for Every Task? ...................................................................89
LECTURE 11
Robot Arms in the Factory ................................................................97
LECTURE 12
Mobile Robots at Home ..................................................................107
LECTURE 13
Hospital Robots and Neuroprosthetics ........................................... 115
LECTURE 14
Self-Driving Vehicles.......................................................................124
LECTURE 15
Flying Robots: From Autopilots to Drones ......................................133
LECTURE 16
Underwater Robots That Hover and Glide .....................................141
LECTURE 17
Space Robots in Orbit and on Other Worlds ..................................150
LECTURE 18
Why Military Robots Are Different...................................................159
LECTURE 19
Extreme Robots ..............................................................................168
LECTURE 20
Swarm Robots ................................................................................176
LECTURE 21
Living Robots? ................................................................................184
LECTURE 22
Social Robots .................................................................................192
iv
Table of Contents
LECTURE 23
Humanoid Robots: Just like Us? ....................................................201
LECTURE 24
The Futures of Robotics .................................................................210
SUPPLEMENTAL MATERIAL
Timeline ..........................................................................................220
Glossary .........................................................................................227
Answers ..........................................................................................238
Bibliography ....................................................................................253
v
Disclaimer
vi
Safety
7RLPSURYH\RXUFKDQFHVRIDYRLGLQJLQMXU\DOZD\VVWDUWZLWKDFOHDUZRUN
surface. Any electric tools, such as a hot glue gun or soldering iron, should
never be left plugged in and unattended. Any electric appliance, such as a
hot glue gun or soldering iron, should never be used on or placed next to
anything combustible, such as paper, clothing, or solvents.
Also, before you begin to work, tie back loose hair and secure loose clothing.
5HPRYHDQ\QHFNODFHVRUEUDFHOHWV.HHSDFKDUJHG¿UHH[WLQJXLVKHUDQGD
¿UVWDLGNLWQHDUE\
Never work alone. With a partner, you will be assured of help in case of an
emergency. Make sure that you have a phone handy and that you know the
number for emergency help.
When you are done, make sure to unplug all tools and appliances.
vii
viii
Robotics
Scope
L
ike computers and self-propelled vehicles of the 20th century,
robots are a technological revolution of the 21st century that impact
nearly every aspect of our lives, businesses, and security. Robotics
XQLWHVPDQ\¿HOGVRIVFLHQFHDQGHQJLQHHULQJDQGWKHVHV\QHUJLHVKHOSXV
FUHDWHDQHZNLQGRIGHYLFHWKDWZH¶YHEHHQGUHDPLQJDERXWIRUPLOOHQQLD
a driverless, self-controlled, goal-driven machine that moves itself or
REMHFWVLQRUGHUWRDFFRPSOLVKHYHU\WKLQJIURPVLPSOHUHSHWLWLYHWDVNVWR
complex missions.
The principle that forms the backbone of the course across the many kinds
of robots is autonomy. An autonomous robot can act on its own to achieve
its goals. Those goals are built into its body and programmed into its
brain-like computer.
7RXQGHUVWDQGDXWRQRPRXVURERWVZHVSHQGWKH¿UVW¿YHOHFWXUHVDQDO\]LQJ
them, experimenting to see what they can do and how they do it. We take
URERWVDSDUWDQGSXWWKHPWRJHWKHUDQGZHVXUYH\¿YHHVVHQWLDOFRPSRQHQWV
bodies, actuators, sensors, energy supply, and controllers.
1
More complex robots also take their inspiration from nature. In Lectures 6
and 7, we explore how humans and other animals offer solutions for basic
functions that nearly all robots must accomplish. Navigation is central,
and robots that use maps and models of the world can make and enact
SODQV 6XFFHVVIXO QDYLJDWLRQ DOVR UHTXLUHV WKDW URERWV DGMXVW UDSLGO\ WR WKH
XQH[SHFWHG LQFOXGLQJ DYRLGLQJ REMHFWV IROORZLQJ ZDOOV DQG HVFDSLQJ
IURP WLJKW VSRWV 7KHVH DUH UHÀH[LYH EHKDYLRUV LQVSLUHG E\ WKH VXFFHVVIXO
workings of insects.
Roboticists need to know some basics of working with wires and electronics,
and some simple techniques are introduced in Lecture 8. The do-it-yourself
approach is great for putting the principles of robotics to work to build
simple robots.
In the last six lectures, we address the latest research and designs for robots.
([WUHPHURERWVDUHWKHIRFXVRI/HFWXUHLQZKLFKZHDQDO\]HWKHELJJHVW
the smallest, and the fastest robots, with an emphasis on robots with legs.
In Lecture 20, we examine swarms of robots and how they coordinate their
collective movements. We push the limits of the idea of modularity, the
semi-independent functioning of elements within a single robot or across
multiple robots.
Scope
2
,Q /HFWXUH ZH H[DPLQH ZKDW HOVH OLIH GRHV ZHOO DQG ¿QG WKDW HDWLQJ
developing, self-replicating, and evolving provide further goals for
robotics—four additional kinds of autonomy. We discover robots that
attempt to harvest their own energy, assemble themselves, build copies of
themselves, and redesign themselves in response to feedback from the world
about their performance.
One of the most exciting uses of robots is to have robots cooperate with and
work alongside humans. This requires attention from humans, and the design
RI DWWHQWLRQJUDEELQJ URERWV WDNHV XV WR WKH QHZ ¿HOG RI VRFLDO URERWLFV
(Lecture 22), in which emotional interactions can make or break a human-
robot relationship.
5RERWLFV LV D FDSVWRQH ¿HOG ZLWK PXOWLSOH RULJLQV DQG WKHUH DUH PXOWLSOH
futures to be expected, too, including miniaturization, cloud robotics
(in which robots share what they learn through the Internet), Watson-
style cognitive robotics, biohybrids, and evermore-powerful modularity.
Autonomous robots are amazing machines, and the study of robotics allows
XVWRXQGHUVWDQGDQGEHQH¿WPRUHIXOO\IURPKRZWKH\ZRUN²DQGWRGHVLJQ
DQGEXLOGRXURZQŶ
3
The Arrival of Robot Autonomy
Lecture 1
T
KH ¿HOG RI URERWLFV RIIHUV DQ HQGOHVVO\ H[FLWLQJ ZD\ RI VHHLQJ RXU
world. Almost everything around you—any machine, any electronics
component, any animal, anything that humans do—has potential
implications for robotics, which has implications for you. Robotics is a
¿HOG ZKHUH PDQ\ GLVFLSOLQHV FRPH WRJHWKHU VR WKH VRXUFHV RI SRWHQWLDO
inspiration are endless. In this course, you will discover how autonomous
robots work and learn the science and engineering behind how they are
designed and built.
life are found on another planet, that discovery may come from
a robot.
4
z 5RERWVDUHQRORQJHUZRUNLQJMXVWLQFDJHGRIIDUHDVWKH\QRZZRUN
VLGHE\VLGHZLWKKXPDQV:HFDOOWKLV¿HOGFROODERUDWLYHrobotics.
z 2Q (DUWK ZH KDYH GULYHUOHVV FDUV JHWWLQJ OLFHQVHG WR FDUU\
passengers on ordinary roads. They navigate and drive themselves.
The whole car is the robot. There are sensors on top, helping the
robot navigate, and a computer
on board makes decisions about
which way to steer, how fast to
go, and how wide to go when
passing another vehicle.
'DULR/R3UHVWLL6WRFN7KLQNVWRFN
z Robots, such as Husqvarna’s lawn-
mowing robot, can automatically
cut your lawn, and there are robots
available to wash windows, such
DVWKH:LQERWE\(FRYDFV5RERWV
Lawn-mowing robots make
DOVRFOHDQRXUÀRRUVDQGPLOOLRQV
landscaping simpler and less
of homes have iRobot’s Roomba time consuming than it would
RURWKHUURERWYDFXXPVRQWKHMRE be if a human had to do it.
z 5RERWV ZHUH RXU ¿UVW H\HV LQ WKH )XNXVKLPD QXFOHDU SODQW DIWHU
disaster struck. The iRobot PackBot brought in a live video feed
and took temperature and radiation measurements, and it can even
FOLPEXSÀLJKWVRIVWDLUV
5
Robotics in Popular Culture
DULD WKH ¿UVW URERW WR DSSHDU LQ D PRYLH VWDUV LQ WKH
0
silent classic Metropolis.
6
The Development of Robots
z After World War II ended in 1945, the technological advances
EURXJKWE\WKDWFRQÀLFWKDGHYHU\RQHORRNLQJIRUSHDFHIXOXVHVIRU
ZHDSRQV 6FLHQFH ¿FWLRQ WRRN RII DV D ZD\ WR WKLQN DERXW D QHZ
future—to prototype a future.
z Isaac Asimov led the charge, coining the word robotics in 1941 and
SXEOLVKLQJDVKRUWVWRU\LQFDOOHG³5XQDURXQG´LQZKLFKKH
introduced his now-famous three laws of robotics 'RQ¶W LQMXUH
KXPDQV REH\ KXPDQV ZKHQHYHU WKDW FRPPDQG GRHVQ¶W LQMXUH
humans; protect yourself, the robot, as long as you obey and don’t
LQMXUHKXPDQV
z 6FLHQFH¿FWLRQKHOSHGXVGUHDPDZRUOGRIIDQWDVWLFURERWV5REE\
WKH 5RERW VWDUUHG LQ WKH ¿OP Forbidden Planet as a good
robot, helping humans. Of course, the real Robby was a metal suit
worn by a human; we didn’t have real, capable humanoid robots
in 1950.
z Flying cars, personal helicopters, and trips to the Moon were all
being promised. In 1956, a group of computer scientists met to
discuss how to make machines that were humanly intelligent. Nine
years later, fueled by the advent of electronic computers, future
Nobel Prize winner Herbert Simon optimistically predicted that
³PDFKLQHVZLOOEHFDSDEOHZLWKLQWZHQW\\HDUVRIGRLQJDQ\ZRUN
D PDQ FDQ GR´ 7KH SXUVXLW RI WKLV JRDO FUHDWHG WKH ¿HOG WKDW ZH
NQRZDVDUWL¿FLDOLQWHOOLJHQFH$,
z Half a century later, we know that what Simon said was wrong,
at least in terms of a delivery date for the promise. But while
personal aviation may have stalled around 1980, at least in terms
of the number of private pilots in the United States, robots have
been a very different story. We now have humanoid robots, such as
Honda’s ASIMO.
7
Lecture 1—The Arrival of Robot Autonomy
.RLFKL.DPRVKLGD*HWW\,PDJHV1HZV7KLQNVWRFN
Honda’s humanoid robot ASIMO is able to react to its environment and interact
with humans.
8
z It’s only in the 21st century that we’ve seen case after case of robots
ZRUNLQJQRWMXVWLQWKHODERUDWRU\EXWDOVRDVUHOLDEOHFRPPHUFLDO
products, such as the Roomba. We even have robot aircraft, called
drones, which are used by the militaries of many countries and, as
fast as permits are issued, by everyone from delivery services to
Hollywood movie makers.
z Leonardo never had a chance to build his humanoid. But from his
notebooks, we can tell that his robot had an exoskeleton of armor.
Inside, pulley, gears, and cables were connected to move the hands,
wrist, elbow, and shoulder. These actuators, which are what create
movement, might have been able to connect with a mechanical
FDUWPDNLQJLWSRVVLEOHWRUHSURJUDPWKH¿JXUH7KLVFRPELQDWLRQ
is what made Leonardo’s ideas an advance over the clockwork
automatons that had already been livening up public squares in
PHGLHYDO(XURSH
9
z The great virtue of a digital electronic computer is the algorithms
we can put into the computer itself. Those algorithms, which can
be reprogrammed easily in software, take the place of hardware
circuits that have to be rebuilt.
Types of Robots
z The moment we started to try to create machines that could
VHH²D¿HOGFDOOHGFRPSXWHUYLVLRQ²ZHUHDOL]HGWKDWLGHQWLI\LQJ
DQREMHFWLQDYLVXDO¿HOGZDVH[WUHPHO\FRPSOLFDWHG7KHURERW
named ShakeyDPRELOHURERWIURPWKHODWHVZDVWKH¿UVWWR
KDYHDQGXVHREMHFWLGHQWL¿FDWLRQWRPRYHDURXQGDURRP6KDNH\
had rudimentary vision and the algorithms to turn a pattern of
OLJKWLQWHQVLW\LQWRLQIRUPDWLRQDERXWREMHFWVLQWKHZRUOG
z ,W ZDV LQ 6KDNH\ WKDW HYHU\WKLQJ FDPH WRJHWKHU HOHFWULF PRWRUV
electric sensors, and electronic computers. Shakey was a mobile
Lecture 1—The Arrival of Robot Autonomy
robot that could sense its world, reason about the state of the world
and its place in the world, make plans about how to move in the
world, and then enact those plans.
10
Robotics Firsts
KHUHPRWHFRQWUROLV¿UVWSDWHQWHGDQGGHPRQVWUDWHG
7
on a model ship by Nikola Tesla.
11
z There is more than one way to put a manipulator on a mobile
robot—that is, there is more than one type of possible robot body
IRUDOPRVWDQ\JLYHQWDVN,Q¿FWLRQURERWVPRVWRIWHQKDYHERGLHV
like humans. Humanoids are mobile, and they have manipulators.
12
z In still other cases, robotics are being implanted in humans in a more
SHUPDQHQWZD\VXFKDVWKH'(.$$UP7KHWHUP³ZHDUDEOH´URERW
GRHVQ¶WZRUNIRUWKH'(.$$UPLW¶VDVPDUWneuroprosthetic. It
uses electric signals from the human to grasp, lift, and release. What
sets apart robotic prostheses is that they have onboard intelligence,
FRXSOHGZLWKVHQVRUVDQGPRWRUVFRPSRQHQWVWKDWZHZRXOG¿QG
in any robot.
13
Activities
Building a Tutebot
Tutebot is a very simple robot, making it a great place to start
building your own. Mobile Robots by Jones, Flynn, and Seiger has
the full instructions. Chapter 2 also includes an introduction to the
electronic components and how they work.
<RX FDQ DOVR ³UHSURJUDP´ WKLV DQDORJ FRPSXWHU E\ DOWHULQJ WKH
settings on the potentiometers using a small screwdriver. The circuit
has four potentiometers; they are the little blue boxes with the white
screw on top. By changing the resistance of the two potentiometers
linked directly to the capacitors in the back, you control how quickly
the capacitors release stored charge, which determines how long the
motors operate in reverse.
14
reverse for a longer period of time. If you set the two potentiometers
at different resistances, then Tutebot will back up and turn in an arc.
This reverse-and-turn motion is what gives Tutebot its ability to
perform wall-following behavior.
Important Terms
actuator 7KH PRYLQJ SDUWV RI D URERW WKDW DOORZ LW WR DFW DQ\ SDUW
appendage, or mechanical system that uses motors to move a robot or
manipulate the world through movement.
ASIMO7\SHRIKXPDQRLGURERWHPSKDVL]LQJELSHGDOPRELOLW\RYHUXQHYHQ
terrain; in development since 2000 by Honda.
automaton$PHFKDQLFDOPDFKLQHVKDSHGOLNHDKXPDQRUDQLPDOWKDWZRUNV
automatically without feedback from sensors or direct control by humans.
biomorph$Q\URERWPRGHOHGDIWHUDOLIHIRUP
controller7KHPHFKDQLFDOHOHFWURQLFRUFRPSXWHUL]HGSDUWRIDURERWWKDW
converts information provided by sensors into instructions—whether to
DGMXVWDFWXDWRUEHKDYLRURURYHUDOOPRWLRQXSGDWHPDSVDQGRWKHULQWHUQDO
models, or provide information for human operators.
drivability map$SODQQLQJPRGHOWKDWLVFRQWLQXDOO\XSGDWHGDQGXVHGWR
plot the immediate course for a robot.
15
drone $Q\ XQPDQQHG DHULDO YHKLFOH 8$9 HVSHFLDOO\ RQH WKDW FDQ À\
autonomously (using GPS or other navigational data) and beyond the line of
sight needed for radio-controlled (RC) aircraft.
manipulator $ URERWLF DUP WKDW JUDVSV DQG PRYHV REMHFWV DOVR DQ\
stationary robot that has one or more such arms.
mechanoid$W\SHRIURERWEXLOWZLWKRXWLQVSLUDWLRQIURPELRORJ\
model-based robotics'HVLJQRIURERWVWKDWPD[LPL]HVWKHXVHRILQWHUQDO
world models, ongoing and sophisticated planning algorithms, and complex
goals and tasks.
UDQJH ¿QGHU $Q DFWLYH VHQVRU WKDW EURDGFDVWV XOWUDVRQLF RU RWKHU VRXQG
waves and then uses the time it takes for the echo to return to measure the
GLVWDQFHWRWKHUHÀHFWLQJVXUIDFH6HHsonar.
Lecture 1—The Arrival of Robot Autonomy
robotics 7KH ¿HOG RI VWXG\ DQG LQTXLU\ WKDW GHYHORSV SULQFLSOHV DQG
approaches for the design, fabrication, operation, and control of robots.
Roomba7KH ÀRRUFOHDQLQJ URERW LQWURGXFHG LQ E\ L5RERW WKH ¿UVW
fully autonomous home robot to achieve commercial success.
16
sensor $Q\ GHYLFH WKDW GHWHFWV FKDQJHV LQ SK\VLFDO SURSHUWLHV RU HQHUJ\
patterns in the world or the robot and converts those into electric, chemical,
RU PHFKDQLFDO VLJQDOV XVDEOH E\ D FRQWUROOHU WR DGMXVW DFWXDWRU EHKDYLRU
and overall motion, update maps and other internal models, or provide
information for human operators.
servomotor $Q HOHFWULF '& PRWRU WKDW XVHV VHQVRU\ IHHGEDFN IURP DQ
internal potentiometer to precisely control position and movement.
Shakey7KH¿UVWPRELOHDXWRQRPRXVURERWFRQWUROOHGE\DUHSURJUDPPDEOH
digital electronic computer.
sonar6WDQGVIRUVRXQGQDYLJDWLRQDQGUDQJLQJW\SLFDOO\DQDFWLYHVHQVRU
system that broadcasts sound waves and then uses the pattern of the returning
HFKRWRPHDVXUHWKHGLVWDQFHDQGVL]HRIREMHFWV
stereovision 9LVXDO VHQVLQJ WKDW XVHV WZR FDPHUDV IRFXVHG RQ WKH VDPH
REMHFW RU VFHQH WR SURYLGH LQIRUPDWLRQ DERXW GHSWK UDQJH DQG WKUHH
dimensional shape.
three laws of robotics ,QWURGXFHG E\ ,VDDF $VLPRY LQ WKH VKRUW VWRU\
³5XQDURXQG´ )LUVW ODZ$ URERW PD\ QRW LQMXUH D KXPDQ EHLQJ RU
WKURXJK LQDFWLRQ DOORZ D KXPDQ EHLQJ WR FRPH WR KDUP 6HFRQG ODZ $
robot must obey the orders given it by human beings, except where such
RUGHUVZRXOGFRQÀLFWZLWKWKH¿UVWODZ7KLUGODZ$URERWPXVWSURWHFWLWV
RZQH[LVWHQFHDVORQJDVVXFKSURWHFWLRQGRHVQRWFRQÀLFWZLWKWKH¿UVWRU
second laws.
Suggested Reading
17
Robot Bodies and Trade-Offs
Lecture 2
B
y taking apart and building, or analyzing and synthesizing, robots, we
learn about how robots work. When we do this, we see that we need
WKH¿YHFDWHJRULHVRISDUWVVHQVRUVDFWXDWRUVFRQWUROOHUVDQHQHUJ\
supply, and a body. And there is a sixth category for the support system,
which supports, and may change, the way that the robot body interacts
physically with the world. Robot bodies teach us a universal lesson about
KRZURERWVZRUN7KHUHDUHDOZD\VWUDGHRIIV7KHQHHGIRUPRYHPHQWDQG
the kinds of movement needed, drive the design of robot bodies.
Robot Parts
z There are two different methods that scientists and engineers
HPSOR\ WR ¿JXUH RXW KRZ D URERW ZRUNV DQDO\VLV DQG V\QWKHVLV
Roughly, analysis translates into taking stuff apart. Scientists dissect
and destroy in order to build a broader understanding. Synthesis
WUDQVODWHV LQWR SXWWLQJ VWXII WRJHWKHU (QJLQHHUV GHVLJQ DVVHPEOH
build, and construct.
z (YHQWKRXJKDQDO\VLVDQGV\QWKHVLVDUHGLIIHUHQWWKH\DUHHQWLUHO\
Lecture 2—Robot Bodies and Trade-Offs
FRPSOHPHQWDU\ZD\VWR¿JXUHRXWKRZVRPHWKLQJZRUNV5RERWLFV
QHHGV ERWK 1HLWKHU WKH VFLHQWL¿F QRU HQJLQHHULQJ DSSURDFK LV
EHWWHU (QJLQHHUV QHHG WKH VFLHQWLVWV¶ XQGHUVWDQGLQJ RI ZKDW WKH
bits and pieces are and how they work in order to build something.
Scientists need to have instruments and devices designed and built
by engineers in order to take new stuff apart, and engineers can tell
the scientists when they need to know more about the parts.
z 7KHSDUWVRIDURERWFDQEHRUJDQL]HGLQWR¿YHIXQFWLRQDOFDWHJRULHV
WKDW DOO URERWV KDYH VHQVRUV DFWXDWRUV FRQWUROOHUV DQ HQHUJ\
supply, and a body.
ż Sensors detect changes in the world. For example, Roomba
has a bump sensor, which can detect when the robot touches
something.
18
(NDWHULQD0LQDHYDL6WRFN(GLWRULDO7KLQNVWRFN
iRobot’s Roomba has sensors, actuators, a controller, a battery, and a chassis
that enable it to vacuum independently.
ż The energy supply is the battery. And the battery gets recharged
at the home base, so even though the home base isn’t part of
the robot, it is part of the energy supply chain for Roomba.
ż 7KHGXVWELQ¿OWHUDQGWRSDQGERWWRPFRYHUVRI5RRPEDDUH
parts of the body. They aren’t sensors, actuators, controllers, or
the energy supply. The chassis is the main frame of the body.
19
z Sometimes, these anatomical categories are a bit fuzzy. For
H[DPSOH VRPHWLPHV LW¶V KHOSIXO WR WKLQN RI WKH ERG\ DV QRW MXVW
anything that isn’t a sensor, an actuator, a controller, or the energy
supply but as all of the parts put together—the whole robot. And
roboticists sometimes switch between these different meanings
ZLWKRXWWHOOLQJ\RXIRUH[DPSOHZKHWKHU³ERG\´LVWKHZKROHURERW
RUMXVWWKHFKDVVLVDQGUHODWHGSDUWV
z (LWKHU ZD\ WKHUH¶V HYHQ PRUH WKDQ WKH ZKROH URERW WR FRQVLGHU
There are some other items that get sold with Roomba, for example,
that are not part of Roomba’s body in either sense of the word.
These are parts of what we call the robotic system, including the
home base, which charges Roomba’s battery; the virtual wall
lighthouse, which communicates with Roomba about where to
go and where to avoid; and the wireless command center, which
is the remote control. The support system is really a sixth kind of
component for an autonomous robot.
Trade-Offs
z As with any animal or robot, evolving or designing it for a
particular task involves trade-offs. You can’t do everything well.
6R ZKLOH 5RRPED GRHV LWV MRE²FOHDQLQJ ÀRRUV UHDOO\ ZHOO HYHQ
WUDQVLWLRQLQJIURPEDUHÀRRUVWRFDUSHW²LWLVQRWEXLOWIRUPRYLQJ
up and over, or down and over, steps or drops. In fact, it has cliff
detectors to keep it from tumbling down stairs. The trade-off is that
it can clean but not climb.
20
z You might think that this is not really a problem; it’s not a trade-
off if Roomba never encounters stairs or other obstacles. But many
domiciles have stairs that lead to other places you might want
Roomba to clean. The short-term solution is to get a Roomba for
HYHU\ÀRRURI\RXUKRXVHEXWWKDW¶VH[SHQVLYHDQGLWVWLOOOHDYHVWKH
stairs uncleaned.
z Unlike wheels, tracks do not get caught in the pits and valleys of
uneven terrain. Just like with stairs, PackBot’s tracks are great for
moving over debris. So, we can think about a trade-off at the level
RIWKHDFWXDWRUV:KHHOVFDQEHVPDOODQGWDNHXSMXVWDVPDOOSDUW
of the body, while tracks tend to be larger and take up a large part
of the body. So, one trade-off for these actuators is between size
and traversability.
z We see trade-offs like this in other robots; trade-offs are built into
any design. With drones, or aerial robots, the body’s actuation
system has propellers, and the body is very lightweight. So, it is a
V\VWHPEXLOWIRUÀ\LQJ
21
LYDQVPXNL6WRFN(GLWRULDO7KLQNVWRFN
Drones are useful in aerial photography due in part to their maneuverability.
WKHWUDGHRIILVPDQHXYHUDELOLW\YHUVXVHI¿FLHQF\
Robotic Manipulators
z We can see differences in robot bodies that relate to the
environment. Terrestrial robots have wheels and tracks. Aerial and
aquatic robots usually have propellers. Robots that move quickly
must be streamlined, whereas slow-moving robots will have a shape
determined by other considerations, such as how to move through
FRQ¿QHGVSDFHV
z 6R IDU WKH IRFXV KDV EHHQ RQ GLIIHUHQFHV LQ ORFRPRWLRQ WUDFNV
ZKHHOVSURSHOOHUVDQGÀLSSHUV)RUPRELOHURERWVZKLFKDUHEXLOW
to move themselves around, the needs of that mobility drive the
design of the body.
22
z But there are other robots, called static robots, stationary robots,
RU PDQLSXODWRUV WKDW VWD\ LQ SODFH DQG PRYH REMHFWV UDWKHU WKDQ
themselves. This is typically a robotic arm, so the movements of the
arm dictate the design of the body.
z Baxter is a type of robotic manipulator that has two arms and can
GRDW\SHRIWDVNWKDWLVYHU\LPSRUWDQWLQPDQ\LQGXVWULDOVLWXDWLRQV
SLFNXSREMHFWVDQGSODFHWKHPVRPHZKHUHHOVH7KLVLVFDOOHGpick
and place3DFNLQJXQSDFNLQJVRUWLQJDQGVXSSO\LQJDUHDOOMREV
that involve picking and placing. Picking and placing is what we
KXPDQVGRZKHQZHUHDFKIRUJUDVSDQGPRYHDQREMHFW
z 9HU\ ¿QH DQG DFFXUDWH SLFNLQJ DQG SODFLQJ LQ WKUHH GLPHQVLRQV
UHTXLUHVPDQ\MRLQWV)RU%D[WHUHYHU\UHDFKDQGHYHU\PRYHPHQW
RI DQ REMHFW LQYROYHV WKH FRQWUROOHG PRWLRQ DQG FRRUGLQDWLRQ RI
WKH MRLQWV )RU URERWLFLVWV WKH KXPDQ DUP KDV EHHQ D VRXUFH RI
LQVSLUDWLRQ,IDMRLQWLVDKLQJHMRLQWVXFKDVDQHOERZLWFDQRQO\
EHQGLQRQHSODQH,QHQJLQHHULQJWHUPVZHVD\WKDWWKHHOERZMRLQW
has one degree of kinematic freedom.
z 7KH VKRXOGHU MRLQW KRZHYHU LV D EDOO MRLQW DQG LW FDQ HOHYDWH
and depress, abduct and adduct, and supinate and pronate very
FRPSOH[ PRYHPHQWV ZLWK D VLQJOH MRLQW 7KH VKRXOGHU MRLQW KDV
three degrees of freedom; each type of rotation operates at 90
degrees to the other.
z :KHQ ZH WKLQN DERXW WKH MRLQWV LQ WKH KXPDQ ERG\ ZH DOPRVW
DOZD\V WDON DERXW URWDWLRQ %XW ZH FDQ GH¿QH PRWLRQ DORQJ D
straight line as translation. Baxter’s manipulator, or grabber, has
¿QJHUVWKDWPRYHDORQJDOLQHDUWUDFNLQRUGHUWRFORVHDURXQGDQ
REMHFW7KH\KDYHDVLQJOHGHJUHHRIIUHHGRPLQWUDQVODWLRQ
23
coordinating the motion of the whole arm becomes more complex.
So, more degrees of freedom mean that you need a bigger and
faster controller.
Activity
To build a Tadro for yourself (see Lecture 5), you will need the
following electronics, all of which you can order from SparkFun
(OHFWURQLFVZZZVSDUNIXQFRP
Ŷ $UGXLQR8QRPLFURFRQWUROOHUGHY
Ŷ 86%FDEOHUWO
Lecture 2—Robot Bodies and Trade-Offs
Ŷ 9EDWWHU\KROGHUSUW
Ŷ 6HUYRPRWRUJHQHULFKLJKWRUTXHURE
Ŷ )L[HGUHVLVWRUN:FRP
24
Important Terms
Baxter$WZRDUPHGURERWLFPDQLSXODWRULQWURGXFHGE\5HWKLQN5RERWLFVLQ
2012 for light manufacturing tasks, featuring rapid reprogramming and safe
interactions with humans.
chassis7KHSULPDU\VWUXFWXUDOVXSSRUWV\VWHPRIDURERW¶VERG\
motherboard7KHPDLQDQGODUJHVWSULQWHGFLUFXLWERDUGLQDFRPSXWHU
quadcopter (quadricopter)$URWDU\ZLQJHGDLUFUDIWZLWKIRXUSURSHOOHUV
Suggested Reading
Other Resources
25
Questions to Consider
1. 7KLQNDERXWIXQFWLRQDOWUDGHRIIVLQWKHGHVLJQRIWKHKXPDQERG\:KDW
do we trade off for our upright, bipedal form of locomotion?
2. <RX FDQ KDYH D URERW EHKDYH GLIIHUHQWO\ MXVW E\ FKDQJLQJ LWV ERG\
and nothing else. If you want a two-eyed Tadro to swim away from a
stationary overhead light, which of the following bodies would do the
trick? Note that Tadros swim continuously and that their eyes (looking
like pies with a piece missing) can only pick up light in the direction of
the opening.
Lecture 2—Robot Bodies and Trade-Offs
Decide how the information from the two light sensors is used to
calculate where the light source is relative to the robot. How could you
convert that sensor information into an instruction for Tadro?
26
Robot Actuators and Movement
Lecture 3
A
FWXDWRUV RI DOO NLQGV GH¿QH KRZ D URERW PRYHV KRZ LW PRYHV WKH
world, and how it can change the world by its movements. Movement
GH¿QHVZKDWDURERWLVEXWDFWXDWRUV²WKHPRWRUVDQGWUDQVPLVVLRQV
underlying robot movement—can do other things to change the world
besides move. Servomotors, with their embedded and tightly linked internal
sensors, steer us toward an understanding that actuators need sensors. For an
autonomous robot, all of its motors, and all of the actuators that they move, are
responding at some level to information provided by sensors. Many machines
move, but autonomous robots need both movement and sensors.
Actuators
z Robots are machines that move with purpose, to achieve their goals
DQGWRJHWZRUNGRQH7KH\PRYHREMHFWV7KH\PRYHWKHPVHOYHV
Roomba, the home robot from iRobot, moves itself to clean the
ÀRRU5RRPEDLVDPRELOHURERWWKDWPRYHVDQGPDQHXYHUVXVLQJ
two wheels that are independently motorized. By independently
controlling the speed of each motor—and, hence, each wheel—
Roomba is able to go forward, reverse, and turn in what is called
differential steering.
z ,Q URERWV ZH WDNH WKH FRPSOH[ PRWLRQ RI D VLQJOH MRLQW DQG
decompose it into its fundamental elements. For the shoulder, three-
GLPHQVLRQDOPRWLRQWDNHVWKUHHVHSDUDWHMRLQWVHDFKUHVWULFWHGWRD
27
© Rethink Robotics, Inc.
Baxter is a robotic manipulator built to work alongside humans in a
manufacturing environment.
z 5HWKLQN5RERWLFVFDOOVMRLQWVZLWKDKLQJHDEHQGMRLQWEHFDXVHLW
FKDQJHVWKHDQJOHRIWKHHOHPHQWVWRZKLFKWKHMRLQWLVDWWDFKHG7KH
RWKHU NLQG RI MRLQW WKH\ FDOO D WZLVW MRLQW EHFDXVH WKH LPPHGLDWH
elements don’t change orientation relative to each other.
z :H FUHDWH WKUHH GLIIHUHQW MRLQWV²WZR WZLVW MRLQWV DQG RQH EHQG
MRLQW²LQWKHVKRXOGHUIRUWZRUHDVRQV)LUVWPRVWPRWRUVDUHEXLOW
to power angular rotation with a single degree of freedom. For
example, when we connect a direct current (DC) electric motor
to an energy supply, we create an electric circuit, and the motor
URWDWHV7KHPRWRUVWKDWSRZHU%D[WHU¶VMRLQWVDUHDVSHFLDONLQGRI
DC electric motor called a brushless servomotor, which includes a
sensor so that the motor’s motions can be carefully controlled.
28
z 7KHVHFRQGUHDVRQWRFUHDWHWKUHHVHSDUDWHMRLQWVLVFRQWURO:KHQ
we decompose complex three-dimensional motions into separate
two-dimensional ones, then the motions are easy to control and
FRRUGLQDWHZKHQZHOLQNXSWKHPRWLRQVRIPXOWLSOHMRLQWV
z ,Q%D[WHU¶VVKRXOGHUHDFKSODQHRIHDFKMRLQWLVQHDUO\DWGHJUHHV
ZLWKUHVSHFWWRDQRWKHUMRLQW6RLIZHZDQWWRFRQWUROWKHSRVLWLRQ
of the end effector—the hand—at the tip of the arm, then we have
MXVWWKUHHPRWRUVWRRSHUDWH
z Compare that with your shoulder, which has more than 10 different
muscle groups, depending on how you count them, and every
muscle group has its own innervation, or neural control, that is
independent and has to be coordinated with other muscles. Baxter’s
VKRXOGHULVDQHOHJDQWVROXWLRQWKUHHGHJUHHVRIIUHHGRPLQURWDWLRQ
and full three-dimensional motion.
z %D[WHU¶VJUHDWUDQJHRIPRWLRQLVPDGHSRVVLEOHE\WKHFRQ¿JXUDWLRQ
RILWVMRLQWVDQGWKHPRWRUVWKDWGULYHWKHP:KDWPDNHV%D[WHUVDIH
for humans to work with is that it has compliant actuators. The
motors transmit their force to the segments of the arms through a
transmission system that has springs.
z 7KHVH VSULQJV PHDQ WKDW WKH MRLQWV JLYH ZD\ ZKHQ WKH DUP KLWV D
human or runs into something. Also, we can back-drive the motors,
RUSXVKWKHMRLQWVEDFNZDUGDQGJHWWKHPRXWRIRXUZD\)LQDOO\
Baxter moves at speeds that don’t create too much kinetic energy.
Combine that with Baxter’s relatively lightweight arms and
padding, and it is a safe companion for side-by-side cooperation.
z The end effector and the motor are connected by the transmission—
gears and shafts that not only transfer the motion from the motor
to the end effector but also further transform it by changing
the motion’s speed, leverage, and torque. Together, the motor,
transmission, and end effector make an actuator.
29
Automatons
z An automaton is a machine with a hidden mechanism that operates
automatically. Centuries ago, even a clock might be called an
automaton, but by the 18th and 19th centuries, an automaton came to
PHDQDQ\PHFKDQLFDO¿JXUHWKDWVLPXODWHVWKHPRYHPHQWVRIOLYLQJ
beings, especially humans.
Electric Motors
z Batteries are a common source of energy for actuators in robots, so
it’s important to understand how batteries work. When we connect
the poles of the battery to the wires of the motor, the DC motor and
the battery create a physical connection called an electric circuit.
The name circuit is used because of the idea of tiny electric particles
traveling in a circuit from one end of the battery, through the motor,
and back to the other end of the battery.
30
z The particles are charges in two different ways, positive or negative,
and opposites attract. You put a bunch of positive charges on one side
of the circuit and let them run to a negative attractor on the other side
of the circuit. This attraction of opposites is the force that drives the
ÀRZRIHOHFWULFSDUWLFOHVDÀRZWKDWZHFDOOWKHHOHFWULFFXUUHQW
z ,QD'&PRWRUWKHHOHFWULFFKDUJHVÀRZGLUHFWO\IURPRQHSROHRI
the battery, through the motor, to the other pole of the battery. In
contrast, in an alternating current (AC) motor, the charges vibrate—
or alternate—back and forth rather than traveling like water in a
pipe, which describes a direct current.
31
z (OHFWULFPRWRUVKDYHWZRPDLQSDUWV7KHSDUWWKDWVSLQVLVFDOOHG
the rotor, and the part that stays still is called the stator. An electric
PRWRU ZRUNV E\ FUHDWLQJ PDJQHWLF ¿HOGV RI FKDUJHG SDUWLFOHV WKDW
VSLQ WKH URWRU 7KH VWDWRU FUHDWHV D PDJQHWLF ¿HOG DQG WKH URWRU
GRHVWRR$QG\RXFDQUHYHUVHRQHRIWKHPDJQHWLF¿HOGVEDFNDQG
forth so that you can pull and then push the rotor around.
Servomotors
z For roboticists, one of the great innovations in electric motors has
been the servomotor. Unlike the DC motor, which has two wires,
the servomotor has three. Two of the wires are for the electric
circuit, and in fact, they go to a small DC motor inside. But the
third wire is for a control signal.
z How does the motor know when it has gotten to the right position?
The servomotor has to have a sensor. A servomotor needs feedback
from the world, and it gets that feedback from a sensor that can tell
it where it is, in a rotational sense. In the case of a servomotor, the
sensor is a potentiometer.
32
z You can think of the feedback as the answer to the question of
whether the motor is in the correct rotational position. If it is, then
the motor should hold its position as long as the PWM signal tells it
to. If it is not, then the motor should try to move into that position.
Servomotors are so useful in robotics because of their precise
control of motion.
Important Terms
compliant actuators0RWRUVDQGOLQNDJHVPDGHRIÀH[LEOHVRIWPDWHULDOV
end effector$WRRORURWKHUGLVWDOHOHPHQWRQDURERWLFPDQLSXODWRUWKHSDUW
of an actuator that interacts directly with the world.
potentiometer7\SHRIVHQVRUWKDWFRQYHUWVDPHFKDQLFDOURWDWLRQLQWRDQ
electric change in resistance; also known as a variable resistor.
rotor7KHSDUWRID'&PRWRUWKDWVSLQV
stator7KHVWDWLRQDU\SDUWRIDQHOHFWULFPRWRU
Suggested Reading
33
Other Resources
*RRGVRXUFHVIRUSXUFKDVLQJDFWXDWRUVDQGHOHFWURQLFV
'LJL.H\KWWSZZZGLJLNH\FRP
0DNHUVKHGKWWSZZZPDNHUVKHGFRP
6SDUN)XQ(OHFWURQLFVZZZVSDUNIXQFRP
Questions to Consider
2. 7KHWKUHHPRVWFRPPRQPRWRUVWKDW\RX¶OO¿QGLQVLPSOHURERWVDUH'&
brushed motors, servomotors, and a special kind of brushless DC motor
known as a stepper motor. Which motor is the best choice for each of
the following applications?
Lecture 3—Robot Actuators and Movement
a. light-dependent photoresistor.
b. electrical switch.
c. light-emitting diode.
34
Robot Sensors and Simple Communication
Lecture 4
A
sensor is any device or mechanism that registers something
happening in the world and converts that event into a signal that can
be transmitted to other parts of the robot. There are two main types of
VHQVRUVSDVVLYHDQGDFWLYH3DVVLYHVHQVRUVDUHEXLOWRQO\DVUHFHLYHUVZKLOH
DFWLYHVHQVRUVDUHEXLOWWRVHQGDQGUHFHLYH)RUURERWVWKHVSHFL¿FVHQVRUV
deployed—whether single, in arrays, or of different types—determine what
they can know about the world. What they do with that information, how
they act in response to their sensor readings, marks the origin of intelligent
behavior in robots.
Sensors
z Sensors respond to many different kinds of events, everything from
changes in light to the presence of dangerous gases. In this modern
age of electronic systems, sensors convert their response into
D FRPPRQ FXUUHQF\ DQ HOHFWULF VLJQDO WKDW WKH URERW¶V FRPSXWHU
can read.
z For robots, sensors determine what they know about the world.
Because the common currency of sensors is electricity, we look
at how sensors change the resistance, current, or voltage in an
electric circuit.
35
z Accelerometers convert mechanical vibrations caused by
acceleration into an electric signal. Tiny microelectromechanical
accelerometers are common in smartphones and robots. They work
E\ FRQYHUWLQJ WKH GHÀHFWLRQV RI D WLQ\ FDQWLOHYHUHG EHDP ZLWK D
mass at the end into a change in electric voltage.
YROWDJHRIDEDWWHU\WKHDPSHUDJHRIFXUUHQWÀRZRUWKHUHVLVWDQFH
of the circuit.
36
z To take the change in resistance and get it to produce an electric
signal for the robot, we have to incorporate the photoresistor into
an electric circuit. We can use the photoresistor to build a simple
circuit that acts as a light meter. We couple this circuit with a
computer, the Arduino microcontroller that is used in many robots.
z Because of the way that the analog electric circuit is put together,
WKH/('light-emitting diode) lights get brighter when more light
IDOOVRQWKHSKRWRUHVLVWRU,QRWKHUZRUGVWKH/('OLJKWVPXVWEH
getting more voltage supplied to them in response to the change in
resistance of the photoresistor.
37
%DORQFLFLL6WRFN7KLQNVWRFN
Although robotic arms are precise and fast, they do not receive feedback and
therefore cannot be considered intelligent.
Lecture 4—Robot Sensors and Simple Communication
z :HDWKHU EXR\V PD\ ÀRDW IUHHO\ RU PD\ EH WHWKHUHG 6RODU SDQHOV
charge onboard batteries that power the sensors, the data logger,
and the communication system. Weather buoys communicate via
satellite to computers on land.
Bump Sensors
z 7XWHERWLVDURERWWKDWKDVDYHU\VLPSOHW\SHRILQWHOOLJHQFHIROORZLQJ
walls. As soon as you turn Tutebot on, the action starts. Tutebot hits a
wall. Then, Tutebot backs up and turns. Then, it goes forward. It hits
the wall again. Tutebot is working its way along the wall. It is doing a
behavior that we see in robots called wall following.
38
z Tutebot has a bump sensor, which is made up of two spring-
ORDGHG SXVK VZLWFKHV 3XVK HLWKHU DQG WKH VDPH WKLQJ KDSSHQV
The motorized wheels reverse direction momentarily. This is a
case where the switch of a bump sensor is switching the current
from running in one direction through the motor to running in the
opposite direction.
z You can think of the bump sensor as asking whether Tutebot has
run into something. The answer is either yes or no. We can also see
simple switches working as bump sensors in a sophisticated robot
like Roomba. Roomba’s bump sensor is really an array of 11 separate
sensors. By having so many, Roomba can know where on its front
EXPSHULWKDVKLWDQREMHFWDQGWKHQWXUQLQWKHRSSRVLWHGLUHFWLRQ
Active Sensors
z Sparki, made by ArcBotics, does not have bump sensors. To
DYRLG REMHFWV 6SDUNL KDV DQ XOWUDVRQLF UDQJH ¿QGHU VRPHWLPHV
called a ping sensor, and it uses this sensor as a kind of remote
REMHFWGHWHFWLRQ V\VWHP 7KLV VHQVRU ZRUNV LQ WKH VDPH ZD\ WKDW
echolocation does in dolphins and bats.
z %DWVÀ\DWQLJKWDQGKXQWPRWKV7KH\FDQ¶WVHHVRLQRUGHUWRFKDVH
GRZQDPRELOHLQVHFWDQGDYRLGÀ\LQJLQWRWUHHVDQGEXLOGLQJVWKH\
basically shout out and listen for the echo of their shout. We don’t
hear bats do this because the frequency of the sound is much higher
than our human ears can hear—ultrasound.
39
z The ping sensor works the same way, with ultrasound. One side of
the sensor is the voice box, a speaker that produces the sound. The
other side is the ear, the receiver.
z There are both passive and active sonar systems. The passive
VRQDU V\VWHP MXVW OLVWHQV 7KH DFWLYH RQH HFKRORFDWHV 7KH DFWLYH
system, such as the one in Sparki, is very common in robotics. The
passive system is basically a microphone. In fact, some robots have
microphones, and they will respond to a clap or a loud noise.
z ,QSUDFWLFHLW¶VGLI¿FXOWWREXLOGDURERWWKDWPDNHVYHU\LQWHOOLJHQW
use of a simple microphone. The problem is that the world is really,
UHDOO\QRLV\6R¿QGLQJDVLJQDOWKDWPHDQVVRPHWKLQJWRWKHURERW
Lecture 4—Robot Sensors and Simple Communication
LVGLI¿FXOW
40
Communication
z One way to think about active sensors working is that they are
communicating with the world. They send out a signal and wait
for its return. The only difference in practice is that for what
we normally call communication, the return signal comes from
another person.
z 7KLV TXLFNO\ JHWV LQWR D ZKROH ¿HOG LQ FRPSXWHU VFLHQFH DQG
DUWL¿FLDO LQWHOOLJHQFH PDFKLQH YLVLRQ &DPHUDV DUH D JUHDW
example of a passive sensor that provides a large amount of
FRQWLQXRXV LQIRUPDWLRQ %XW WKH IDFW WKDW WKHUH LV D ZKROH ¿HOG
of machine vision should tell you that this gets complicated
very quickly.
41
Important Terms
echolocation$FWLYHVHQVLQJLQZKLFKDQDQLPDORUURERWEURDGFDVWVDVRXQG
senses the returned echo, and uses the difference between the signal and its
echo to calculate the distance and composition of the target. See sonar.
photoresistor7\SH RI VHQVRU WKDW FRQYHUWV FKDQJHV LQ OLJKW LQWHQVLW\ LQWR
Lecture 4—Robot Sensors and Simple Communication
Suggested Reading
Other Resources
7LPHWRJHW\RXURZQ$UGXLQRVWDUWHUNLWKWWSVWRUHDUGXLQRFFFDWHJRU\
42
Questions to Consider
1. The following robot has a bump sensor on its right and left front corners.
Only the left sensor is activated when the robot hits the wall.
ll bump
wa sensors
,)WKHOHIWEXPSVHQVRULVWXUQHGRQ7+(1BBBBB(/6(BBBBB
a. then keep moving forward, else reverse direction and turn right.
b. then reverse direction and turn right, else keep moving forward.
c. then reverse direction and turn left, else keep moving forward.
43
2. (DFKVHQVRUDVNVDTXHVWLRQ7KHVDPHVHQVRUFDQDVNGLIIHUHQWTXHVWLRQV
depending on how it is situated on the body, what other sensors it’s
working with, and what task the robot is trying to accomplish.
Lecture 4—Robot Sensors and Simple Communication
44
Robot Controllers and Programming
Lecture 5
A
controller is a special kind of computer whose program modules
give autonomy to a robot. The biggest questions in robotics often
revolve around what combination of autonomous self-control and
remote control by humans is most appropriate for a given situation or robot.
Both in the design and operation of a robot, the controller is how any robot’s
DXWRQRP\LVFUHDWHGDQGGH¿QHG²LQWKHOLQNLQJRIVHQVRUVZLWKDFWXDWRUV
The controller is where a robot’s autonomy is overruled by humans or
extended even further.
Controllers
z Self-control is what turns a remotely controlled machine into
an autonomous robot. Where does that self-control come from?
Sensors collect information that is coordinated and used to tell the
actuators what to do next. These sensor-guided movements depend
on a controller, the part of the robot that makes sense of the sensory
information and then decides how the robot is going to react. A
robot controller or microcontroller gives control, or autonomy, to
the robot.
z ,Q WKH YDVW PDMRULW\ RI PRGHUQ URERWV WKH FRQWUROOHU LV D
computer that is specially designed to take as input sensor data
and communications from a human operator. The controller is
specially designed to produce as output signals for actuators and
communications for a human operator. Because the controller runs
computer code, it is programmable.
45
z Let’s start with the basic model, the Arduino Uno. You can buy one
for about 50 dollars. Arduino uses free software that is available
at Arduino.com. Both the Arduino hardware and the software are
open-source systems, which means that you can copy, modify,
and share your own software and hardware versions for free and
without violating any patents or trade secrets.
z $PLFURFRQWUROOHUOLNH$UGXLQRLVPRUHWKDQMXVWDPLFURSURFHVVRU
A microcontroller is like an entire computer on a single chip,
because it also includes inputs, outputs, a read-only memory,
and buffers.
z Once we have those plugged in, we need the code to run it. We’re
going to use a program called Knob that can be found on the
Arduino website. We connect the photoresistor to the 5V power port
and the A0 analog input port. Then, we connect the servomotor to
the 5V power port, the ground, and digital port 9. The servomotor’s
shaft rotates.
46
z How can we use this to build an autonomous robot with one sensor
and one actuator? The actuator behavior we want is for the Tadro to
DOZD\VEHFUXLVLQJDURXQGÀDSSLQJLWVWDLODWDFRQVWDQWIUHTXHQF\
Where the sensor comes in is that the tail turns, while it keeps
ÀDSSLQJZLWKWKHGLUHFWLRQDQGDPRXQWRIWXUQLQJSURSRUWLRQDOWR
the light on the photoresistor.
z +RZ GR ZH JHW D EHKDYLRU OLNH ÀDSSLQJ" :H FDQ JR EDFN WR WKH
Arduino website. There is a sample program called Sweep, by
BARRAGAN studios, that moves the servomotor back and forth.
2QFHZHORDGWKLVSURJUDPWKHVHUYRPRWRUZLOOMXVWVZLQJEDFNDQG
forth without paying attention to the sensor, because it is open loop.
z 1H[W ZH QHHG WR FRPELQH WKH 6ZHHS SURJUDP IRU ÀDSSLQJ ZLWK
the Knob program for turning. The trick is to add the servomotor
position from the Knob program—think of this as the turning
DQJOH²WRWKHQH[WÀDSSLQJSRVLWLRQWKDWWKH6ZHHSSURJUDPZDQWV
to go to.
z For the body, we’re going to put the Arduino into a storage bowl
and use duct tape to secure the photoresistor on the edge. The
VHUYRPRWRUQHHGVVRPHWKLQJWRÀDSVRZH¶UHJRLQJWRXVHDSHQFLO
as the motor shaft, tape it to the servomotor, and then create a tail
with duct tape that will work underwater. We’re going to tape the
VHUYRPRWRUWRWKHERZO:H¶YHMXVWEXLOWDURERWIURPVFUDWFK
z As we move the light, Tadro slowly spirals its way toward the light.
:H¶YH EXLOW D URERW ZLWK OLJKWVHHNLQJ EHKDYLRU 7KLV VKRZV MXVW
how simple self-control can be.
47
z We can use this simple sensor-actuator circuit to point us in
the direction of bigger, better, and more complex kinds of self-
controlled robotic behavior. When we think about the purposeful
movement of the whole Tadro, we can now put the sensory-actuator
circuit into its place in the functional loop of an autonomous robot.
z The movement of the Tadro changes the amount of light that falls
on the sensor, and the whole functional loop starts all over. Sensor
reading changes actuator movement; actuator movement changes
sensor reading. Because the conversion processes that take place
on board the robot give the robot self-control, it makes sense to call
this part of the system the controller.
Shakey
z 2QHRIWKH¿UVWURERWVWKDWKDGDGLJLWDOFRPSXWHUIRUDFRQWUROOHU
was Shakey, which was a mobile robot built by researchers led
by Charles Rosen at the Stanford Research Institute from 1966 to
$WWKHWLPHGLJLWDOFRPSXWHUVZHUHODUJHDQGKHDY\7KH¿QDO
YHUVLRQRI6KDNH\XVHGD'LJLWDO(TXLSPHQW&RUSRUDWLRQ3'3
PDP-15 mainframe.
Lecture 5—Robot Controllers and Programming
48
z Tesla did not discover radio waves or invent the devices to produce
them. But he did build actuators that could be controlled remotely.
Propulsion and steering were his targets, and he demonstrated a
remotely controlled boat to the public.
z Roomba, too, has a remote control that works in the same way, with
an infrared signal from the controller to the same sensor on Roomba
that receives the signal from the docking station.
z So, you can also see why old-fashioned remote control is still
with our modern robots even though they have the capacity to
control themselves. By allowing humans to insert themselves into
the functional loop, we can take control, as needed. This involves
communication between robot and human.
Behavior-Based Robotics
z We can treat sensor-motor circuits as discrete building blocks,
where each block is a behavior module. These modules can function
independently. They may function together, their coordination
decided upon by the controller.
49
z The hallmark of behavior-based robotics is that the controller
makes decisions about which behavior module gets to operate
when. Because it’s an all-or-none proposition, we think about this
as the behavior modules competing to have the controller decide
to let it operate, a winner-takes-all scenario. There is no sharing of
the actuators; you either are the behavior that is operating or you
are not.
z Rodney Brooks very quickly realized that the great value of behavior-
based robotics is that you can use very simple programming, such
as what we did with the Arduino, to get robust self-control out of
your robot.
50
Activity
/HDUQ WR UHDG WKH FRGH IRU WKH RQHH\HG 7DGUR ZKLFK \RX¶OO ¿QG
KHUHKWWSSDJHVYDVVDUHGXGDUZLQVGHYLFHVFRGH
The following are a few tips to help you read this code.
LQGLFDWHVDFRPPHQWOLQHWKDWZRQ¶WEHUHDGE\WKHFRPSXWHU<RX
can leave your self-important notes this way.
6HWXSLVDIXQFWLRQWKDWLVUHDGRQFHZKHQWKHSURJUDP¿UVWVWDUWV
running. Variables are initialized, and libraries containing important
IXQFWLRQDO URXWLQHV IRU KDUGZDUH DUH FDOOHG 7KH ZRUG ³YRLG´ LQ
front of setup() indicates its data type; void means that this function
UHWXUQVQRWKLQJ&RQWUDVWWKDWZLWKWKHYDULDEOHVVXFKDV³LQWSRV´
WKDWXVHLQWHJHUV³LQW´IRUWKHYDULDEOH³SRV´
Curly braces { } are always found in facing pairs, and they have
different uses. They are used to circumscribe the code used
by a function. They indicate the code that belongs to a loop or a
conditional statement. It’s important to note that functions, loops,
and conditionals can be nested and that nesting is organized with
the braces.
The semicolon (;) must be included at the end of every line, with the
exception of the lines for setup() and loop(). Forgetting a semicolon
is an easy way to have your program not compile. Compiling is the
process that converts the words and symbols you’ve typed into the
machine code that the computer actually uses for instructions.
51
$ YDULHW\ RI PDWKHPDWLFDO RSHUDWRUV FDQ EH XVHG í
PXOWLSOLFDWLRQGLYLVLRQ&RPSDULVRQVFDQEHPDGHZLWKWKH
IROORZLQJ RSHUDWRUV HTXDO WR OHVV WKDQ ! JUHDWHU WKDQ
OHVVWKDQRUHTXDOWRDQG! JUHDWHUWKDQRUHTXDOWR
<RXFDQ¿QGDGGLWLRQDOLQIRUPDWLRQDERXWWKHODQJXDJHRI6NHWFKDW
WKH$UGXLQRVLWHKWWSDUGXLQRFFHQUHIHUHQFHKRPH3DJH
Important Terms
cybernetics7KHVWXG\RIKRZG\QDPLFV\VWHPVDUHUHJXODWHGIRFXVLQJRQ
issues of feedback, control, and communication.
Suggested Reading
Lecture 5—Robot Controllers and Programming
Other Resources
:LWKDQ$UGXLQRVWDUWHUNLWLQKDQGKWWSVWRUHDUGXLQRFFFDWHJRU\
get software that you’ll need to make your Arduino microcontroller
ZRUNKHUHKWWSDUGXLQRFFHQ0DLQ6RIWZDUH
RobotC
52
PartSim
You can design and then simulate a robot circuit—before you try
to build it—using one of many simulators available on the Internet.
3DUW6LPKWWSZZZSDUWVLPFRPLVIUHHDQGHDV\WRXVH
Questions to Consider
If you wanted your robot to work even if the sensors didn’t detect any
changes to the world, what kind of functionality would you need to add
to the program operating the microcontroller?
,)\RXGHWHFWQRFKDQJHVLQVHQVRUUHDGLQJV7+(1BBBB
53
2. :KHQ ZH ZULWH DQ DOJRULWKP IRU D FRPSXWHU LQ (QJOLVK WKLV LV FDOOHG
pseudocode. While pseudocode can’t be used directly to program the
microcontroller, it is great way to start designing the real code. Using
pseudocode, how would you create an algorithm that lets a Roomba
with two bump sensors and two infrared (IR) detectors navigate around
the house?
Lecture 5—Robot Controllers and Programming
54
Human-Inspired Robot Planning
Lecture 6
S
hakey was a mobile robot built by researchers at the Stanford
Research Institute from 1966 to 1972. This is the robot that Life
PDJD]LQHLQKHUDOGHGDV³WKH¿UVWHOHFWURQLFSHUVRQ´$OWKRXJK
Shakey didn’t look like a human, it had the ability to reason and plan with
what was considered a brain-like machine—a digital electronic computer.
In the controlled but real-world conditions of a laboratory, Shakey could
successfully navigate, move through the world from one place to another,
DYRLGREMHFWVDQGPRVWLPSUHVVLYHO\DGMXVWWRFKDQJHVLQWKHZRUOGWKDWLW
hadn’t known about. Shakey could learn and update its plans.
Navigation
z Key to Shakey’s thoughtful, deliberative navigation is a computer-
reasoning construct for the robotic controller that we call an
internal world model. Model-based architectures are inspired by
humans and our ability to visualize, plan, and simulate our actions
before we undertake them. Some of the most important actions that
we and our robots take are the goal-directed movements that we
call navigation. If you use a world model to navigate, we call that
model a map.
55
,JRU0RM]HVL6WRFN7KLQNVWRFN
Global positioning systems have made the work of navigation quite easy for
humans.
z Over the past 2,000 years, we humans have developed a whole set of
formal rules for navigation. Navigation is not a trivial problem, even
Lecture 6—Human-Inspired Robot Planning
Homing
z Navigation begins with needing to know where you are, relative to
some reference position or landmark, so that you can set a course
to go where you want to go. In robotics, you can have your robot
know where it is without using a map, provided that the workplace is
VWUXFWXUHGSUHGLFWDEOHDQGFRQ¿QHG<RXFDQVHWXSDEHDFRQVRWKDW
the robot can always return home. This process is called homing.
z Homing is the ability to go out and get back to where you started.
Once you are back to where you started, you know where you are.
For robots, homing is important for returning from a mission or
recharging batteries.
56
z )RU 5RRPED KRPLQJ LV FDOOHG GRFNLQJ EXW LW¶V WKH VDPH DFWLRQ
returning home to where it started. Roomba stops cleaning and
VWDUWVVHDUFKLQJIRUWKHLQIUDUHGVLJQDOIURPWKHGRFN2QFHLW¿QGV
it, its behavior changes; it heads straight in, slowly, to the dock.
z But with only a single sensor, we don’t yet know what that error
tells us. Is the robot going too far to the right or too far to the left?
We can see that the robot is actually turning away from the beacon
to the right, for example. But the robot doesn’t know that; it needs
more information.
57
z The robot moves to the right again, and we measure the infrared
value again, along with the difference with the maximum value. We
can compare the two errors. If the most recent error is greater than
the earlier error, the conclusion is that the error is increasing. And
because we kept track of how the robot was turning, we know that
it was turning to the right and that movement increased the error.
So, if the goal of negative feedback is to decrease the error, then the
robot needs to turn in the opposite direction.
z The robot turns to the left now as it moves forward. Comparing the
PRVWUHFHQWHUURUWRWKHSUHYLRXVHUURUZH¿QGWKDWE\WXUQLQJWRWKH
left, the robot is decreasing the error. This means that the robot is
heading back toward the beacon—it’s navigating.
z :H¶YH MXVW FUHDWHG DQ DOJRULWKP RU D VHW RI LQVWUXFWLRQV IRU
QDYLJDWLQJWRZDUGDEHDFRQXVLQJMXVWDVLQJOHVHQVRU2QHRIWKH
important tricks of this simple homing algorithm is that we had to
know something about how the robot was moving. In this case, we
were keeping track of which direction the robot was turning.
58
z In the computer code for Arduino robot, we’ve programmed
the robot to move along a course set by its internal compass. We
calculate the error term as the difference between the desired and
the actual compass heading. When we turn on Arduino robot, the
¿UVW WKLQJ LW GRHV LV WR WXUQ DQG WKHQ KHDG RXW VWUDLJKW DORQJ WKH
course dictated by our choice of a compass heading. It makes small
turning corrections based on the errors.
59
z If you know the size of your wheel and the rate at which it is
rotating, you can build a speedometer. If you have a clock to keep
track of how long you’ve been going in that direction and at that
speed, then you can calculate the distance you’ve traveled, your
current position relative to where you started, and how to get back
home. The distance traveled is the product of your speed and the
time you’ve been moving at that speed. With the distance and
direction you’ve traveled from your starting point, you know where
you are relative to where you were.
z In practice, going straight out and then straight back is rarely very
useful. We often want our robots to explore or to carry passengers
for hours along a course on the road or the sea that may involve
avoiding land, bodies of water, or known obstacles.
z One way to know where you are is to have your robot use GPS.
One of the exciting breakthroughs in consumer robotics is that
robots are now fully capable of navigating for themselves outside
ZLWK *36 ZKLFK LV D ÀHHW RI QDYLJDWLRQDO EHDFRQV PRXQWHG RQ
satellites in orbit, that provide us and our robots with what we call
a QDYLJDWLRQDO¿[.
z $ QDYLJDWLRQDO ¿[ UHIHUV WR ¿[LQJ RU ORFDWLQJ \RXU SRVLWLRQ RQ D
map. To do this with GPS, the robot needs a GPS receiver that reads
WKHVLJQDOIURPXSWR¿YH*36VDWHOOLWHV7KHVDWHOOLWHVNQRZH[DFWO\
where they are, even though their position is changing as they orbit.
By knowing where the satellites are and the distance to them, the
60
robot can triangulate its position. This is done with a GPS module,
and some trigonometry, which is done by a tiny computer on the
GPS module. The GPS module is basically a fancy sensor that gives
the robot its position in latitude and longitude.
Shakey: A Pioneer
z Shakey was able to sense, model, plan, and act. In terms of a
sensor-actuator system, the information from the sensors was sent
to the computer controller. The controller updated the model and
then created a new plan for how to best achieve its navigational
goals. Then, it sent the plan back to the robot, which moved the
actuators accordingly.
Important Terms
dead reckoning $ PHWKRG RI QDYLJDWLRQ LQ ZKLFK FXUUHQW SRVLWLRQ LV
calculated based on speed, heading, and time from last known location.
61
homing 1DYLJDWLQJ WR D SUHYLRXV ORFDWLRQ XVXDOO\ WKH ORFDWLRQ ZKHUH D
robot started.
QDYLJDWLRQDO¿[/RFDWLRQIRXQGXVLQJH[WHUQDOUHIHUHQFHSRLQWV
shaft encoder$VHQVRUWKDWFRQYHUWVWKHURWDWLRQVRIDZKHHOLQWRDQHOHFWULF
signal that represents the speed of the wheel’s rotation.
stepper motor$EUXVKOHVV'&PRWRUWKDWFDQURWDWHSUHFLVHO\ZLWKRXWWKH
need for sensory feedback.
Suggested Reading
Other Resources
Questions to Consider
62
2. ,PDJLQHWKDW\RXKDYHDURERWWKDWZRUNVLQDQRI¿FHEXLOGLQJSLFNLQJ
up and delivering mail. If you want a robot to be able to update its world
PRGHOTXLFNO\ZKDW¶VWKHPRVWHI¿FLHQWPHWKRG"
D 0RQLWRUDOOREMHFWVDQGSHRSOHDWDOOWLPHV
E 0
RQLWRUDVXEVHWRIREMHFWVDQGSHRSOHZLWKZKLFKDQGZKRP\RX
are likely to interact.
c. Wait until you run into something that’s not on your map and then
add it to your map.
63
Animal-Inspired Robot Behavior
Lecture 7
I
n principle, building an internal world model is a great idea for a robot,
if it has the sensors and the computing power. It senses, plans, and then
acts. That’s how we thoughtful creatures work, but the trick is that we
have to constantly build our model. Humans have to create and update our
map while we are operating in the world; we have to rapidly, constantly, and
accurately update our internal world model. We have to make and remake
our map, continuously, as we learn about the constantly changing world
we’re in. If we don’t, we could be in trouble.
64
map-making robots were still very slow to move and worked
only under conditions where the world was structured—that is,
a world that is predictably not changing much. Throw most real-
world situations at these robots and they simply couldn’t move or
accomplish their tasks.
z Pushing that idea to its limits, Brooks wondered if you could still
get intelligent behavior if you removed planning altogether from
the sense-plan-act architecture of the robotic controller. Don’t
create an internal world model but, instead, rely on sensing and
DFWLQJZLWKRXWSODQQLQJ$QGEHFDXVHWKHSODQQHULVWKHEUDLQMXVW
remove it altogether.
65
to our body size. A ratio calculated across all animals called the
encephalization quotient suggests that our brains are more than four
times larger than would be expected from body size alone.
z The implication that matters most for building robots is that every
species has its own special set of sensors (and actuators) that are
DGDSWHGIRUZRUNLQJDWDSDUWLFXODUMRELQDSDUWLFXODUHQYLURQPHQW
For example, female mosquitoes are olfactory and thermal
Lecture 7—Animal-Inspired Robot Behavior
VWLOOZRUGVL6WRFN7KLQNVWRFN
66
predators, using an array of chemical sensors on their antennae to
À\XSWKHVWUHDPVRIFDUERQGLR[LGHWKDWZHPDPPDOVPDNHDVZH
live and breathe.
Sensor-Guided Movement
z Whether or not you think a mosquito is intelligent, you have to
appreciate their pesky hunting abilities. Mosquitoes can track down
mammals with a simple system of sensors connected to a simple
nervous system that creates a continuous turning signal for the
wings. This is sensor-guided movement.
67
z So, how could robots behave intelligently without planning and
without much of a brain? Once you understand the intelligent
behavior of insects, you can use the simple sense-and-act rule to
SURJUDPDURERW$QGWKDWZDV%URRN¶VÀDVKRIEULOOLDQFH
z No other robot from the AI community had come close to this kind
of ability, this kind of intelligent behavior. And, best of all, Genghis
Lecture 7—Animal-Inspired Robot Behavior
68
that your batteries last longer. More importantly, Roomba doesn’t
need a map to work. Like an insect, you put Roomba down, and it
gets to work.
Activity
Suggested Reading
69
Other Resources
70
Basic Skills for Making Robots
Lecture 8
I
n order to make robots, there are some basic, preliminary skills that you
need to know. The ones you will learn are very basic, but the point is
that it takes very little to get started in the world of making robots. Soon
enough, you will know what you need to do in order to make a circuit, hack
a robot, and even make a toy into a robot. No matter what tools you have in
your toolkit, always make sure to start with some kind of safety protection,
such as safety glasses.
The following is a list of tools of the trade that you’ll need if you’re
going to be a maker of robots.
Ŷ :LUHFXWWHUV
Ŷ 0LQLDWXUHVFUHZGULYHUV
Ŷ &RQYHUWLEOHVFUHZGULYHU
Ŷ 3OLHUV
Ŷ 6PDOOVFLVVRUV
Ŷ 6ROGHULQJLURQDQGVWDQG
Ŷ 0XOWLPHWHU
Ŷ 6ROGHUOHVVEUHDGERDUG
Ŷ +RWJOXHJXQ
Ŷ 6ROLGFRUHZLUHUHGEODFNDQG\HOORZ
Ŷ 6WUDQGHGZLUHUHGEODFNDQG\HOORZ
Ŷ /HDGIUHHsolder with rosin core
Ŷ %ODFNHOHFWULFWDSH
Ŷ 7ZLVWWLHV
Ŷ 3HUPDQHQWPDUNHU
Ŷ $$DQG9EDWWHULHV
71
$UWXVKL6WRFN7KLQNVWRFN
Make sure that you have all of the necessary tools handy before you begin
your project.
z :KHQVROGHULQJWZRZLUHVWRJHWKHU¿UVWPDNHVXUHWKDWWKHVROGHULQJ
iron is fully heated. Then, clean the tip of the hot soldering iron
on a damp sponge. The next step is tinning the tip, which involves
melting a small amount of metal and putting it on the tip of the
soldering iron to prepare it for use.
72
z Another skill that is good to
have when building robots is
how to test for continuity with
a multimeter. Multimeters are
YHU\ LQH[SHQVLYH \RX FDQ ¿QG
them at hardware stores. You
need to make sure that your
multimeter comes with cables.
UREHRL6WRFN7KLQNVWRFN
6SHFL¿FDOO\ WKHUH VKRXOG EH D
red and a black test cable, or test
lead. Multimeters measure direct
current voltage and alternating
current voltage. When we build
Ventilation and eye protection
electronics, we’re working in the are important precautions to take
direct current world. when using a soldering iron.
z 7KHUH LV DQRWKHU VNLOO WKDW LV XVHIXO ZKHQ ZRUNLQJ ZLWK D FLUFXLW
using a breadboard. A breadboard has outer power strips that are
connected internally. By putting your circuit on a breadboard, you
don’t have to do any wire twisting, and it’s a way to lay out your
circuit and make sure that it works before you do something, such
as solder.
73
VZLIW\XNL6WRFN7KLQNVWRFN
Solderless breadboards are useful for laying out and testing circuits before
committing with solder.
Hacking Robots
z Hacking a robot is where you really make it your own. The hacking
might start with a toy, or a robot, or any other gadget. You might
be changing software code or adding controller intelligence to a
previously dumb machine, or you might be changing the body of
Lecture 8—Basic Skills for Making Robots
z The problem with hacking is that most of us were told not to break
our toys—but forget about that. Because hacking works by taking
something else apart, many people get nervous about doing so.
But don’t be afraid to tinker and make mistakes. Fail your way to
success, as counterintuitive as that seems.
74
z A tank track is a very common thing that is used in robots. There are
kits that you can buy that let you build it. It’s meant to be the basis
of any kind of robot that you might want to build. You can also
VWDUWZLWKDQ\VRUWRIWR\WKDWMXVWJRHVVWUDLJKWZKHQ\RXWXUQLWRQ
Tracks are even able to get up and over obstacles, but they’re blind.
There are actuators and a body, but there are no sensors attached.
z You can use a circuit that you lay out on a breadboard to make a
robot. A transistor is what allows you to hack the tank track to make
it into a robot. A transistor can be a fancy kind of switch that sends
the data to the voltage that is being divided by the voltage divider in
the circuit. It’s a kind of gate that allows greater amounts of current
to pass through it to power the motor. In fact, with some extra steps,
you can make a photosensitive robot.
z One of the great things about hacking a robot, or building one with
help from a kit, is that anyone can try it. In fact, the robot hackers’
secret is that you can hack any robot—and hackers do. With the
ULVHRINLWVOLNH/(*20LQGVWRUPV9(;5RERWLFV'HVLJQ6\VWHP
and BIOLOID, it has never been easier for beginners to build
sophisticated robots.
z 7KHUHLVDNLWIURP9(;5RERWLFVWKDWOHWV\RXEXLOG&ODZERWZKLFK
is a great way to get started on building a sophisticated robot—in
this case, one that includes a manipulator and a mobile robot base.
Best of all, when you start building robots like this and getting them
to work, you’re getting a shortcut to creating something lifelike
DQGMXVWDVLQWHUHVWLQJDXWRQRPRXVURERWEHKDYLRU
75
z Instead of a vacuum cleaner, the Create robot has a cargo bay where
iRobot has added a communications device that allows you to
easily hook in a variety of sensors. iRobot has also made available
software, called Open Interface Commands, to make more readily
available a number of the behavior modules that Roomba uses. One
use of Create has been to mount a camera to perform surveillance.
Activities
Hack a toy!
We’ve seen a simple hack that involves taking a motorized vehicle
and adding a voltage divider with a light-dependent resistor (LDR)
as the main sensor. The following circuit diagram shows what
\RX QHHG WR PDNH WKLV ZRUN WKH /'5 D ¿[HG UHVLVWRU WKLV ZLOO
vary depending on your LDR, but start with a value of 10 kW), a
small motor (DC brush, 1.5 to 3 V rating), and an NPN switching
transistor (type 3904). While two AA batteries (3 V total) were used
LQWKHOHFWXUH\RXPD\¿QGWKDW\RXQHHGWRGRXEOHWKHYROWDJHWR
6 V. A 9V battery can also be used with success, but you need to be
careful not to run the motor for too long or you may burn it out.
Lecture 8—Basic Skills for Making Robots
motor M
LDR
+
battery
−
fixed transistor
resistor
76
How does this circuit work? When more light falls on the LDR, its
UHVLVWDQFH GHFUHDVHV$V PRUH FXUUHQW ÀRZV WKURXJK WKDW OHJ RI WKH
FLUFXLWLWÀRZVLQWRWKHEDVHRIWKHWUDQVLVWRUDOORZLQJPRUHFXUUHQWWR
ÀRZWKURXJKWKHWUDQVLVWRUIURPWKHPRWRUWRWKHQHJDWLYHVLGHRIWKH
EDWWHU\7KHUHVXOW$VPRUHOLJKWKLWVWKH/'5WKHPRWRUVSLQVIDVWHU
7KH KDUGHVW SDUW RI WKLV KDFN LV ¿QGLQJ WKH ULJKW NLQG RI WR\<RX
need a battery-operated car or truck with a motor that powers a
single drive axel.
,I\RXKDYHD6SDUNL\RXFDQFRS\DQGHQWHUWKHLUFRGHIURPWKLVVLWH
KWWSSDJHVYDVVDUHGXGDUZLQVGHYLFHVFRGH
Important Terms
solder Metal alloys with low melting points used to fuse together separate
elements and, in electronics, create secure electric connections.
voltage divider A simple circuit that uses two resistors, with resistance Z1
and Z2, to reduce the input voltage, Vin, to a lower output voltage, Vout, by the
IROORZLQJHTXDWLRQ
77
Suggested Reading
Other Resources
Question to Consider
1. How do you turn a toy into a robot? Many toy vehicles have a body,
actuators, and an energy source. What do we need to add to a toy vehicle
to turn it into an autonomous robot?
Lecture 8—Basic Skills for Making Robots
78
Designing a New Robot
Lecture 9
H
ow do we move from kits and hacks into designing and building
complex robots for commercial or research purposes? First, you
QHHG SHRSOH &RPSOH[ URERWV DUH EXLOW E\ WHDPV ZLWK GLIIHUHQW
members specializing in different aspects of design, construction, and
testing. Second, you need money—at least to pay for gear and supplies, and
you may even need to pay some or all of the people on your team. Third, you
need a clear design goal and a plan to get you there.
Robot Madeleine
z Robot Madeleine is a complex robot that was built by a team at Vassar
College in partnership with Nekton Research LLC. This combined
team included a biologist, cognitive scientist, conceptual designer,
mechanical engineer, electrical engineer, and systems integrator.
z The group had two goals in building Madeleine. First, they had
D VFLHQWL¿F JRDO 7KH\ QHHGHG D URERW WKDW WKH\ FRXOG XVH WR WHVW
LGHDV DERXW KRZ H[WLQFW DQLPDOV ZLWK IRXU ÀLSSHUV²VXFK DV WKH
SOHVLRVDXUV RU NURQRVDXUXVHV RI WKH 0HVR]RLF (UD²FRXOG VZLP
Of particular interest was why those giant ancient reptiles would
VZLPZLWKDOOIRXUÀLSSHUVEXWWKHOLYLQJVSHFLHVRIYHUWHEUDWHVWKDW
had gone back into the water, such as sea lions and penguins, swam
with only two. To answer this question, they needed to be able to
FRQWUROWKHÀLSSHUVLQGHSHQGHQWO\VRWKDWWKH\FRXOGYDU\WKHJDLW
RUSDWWHUQRIÀLSSHUXVH
z Goals and a plan are crucial, but roboticists also keep something
HOVH LQ PLQG (YHU\ HQJLQHHULQJ SURMHFW WR FUHDWH VRPHWKLQJ QHZ
79
goes through a series of failures before it succeeds. This process
of failing your way to success is sometimes called prototyping and
involves trial-by-error learning as you go.
z 2QH ZD\ WR JHW WULDODQGHUURU OHDUQLQJ VWDUWHG LV WR ¿UVW EXLOG
the robot in computer simulation. Coppelia Robotics has created
VRIWZDUHIRUGRLQJMXVWWKDW&DOOHG95(3ZKLFKVWDQGVIRUYLUWXDO
URERW H[SHULPHQWDWLRQ SODWIRUP LW DOORZV \RX WR FRQ¿JXUH \RXU
robot and then program it in the same computer language that you
would use in your physical robot. Then, you run your simulated
robot in a simulated world.
z $VLPXODWLRQSURJUDPOLNH95(3OHWV\RXPRGHOFRPSOH[URERWLFV
problems, such as path planning for manipulators and vision sensory
simulation. As long as you have a good physics engine for your
world and your robot, simulations can shorten development time
of the physical robot by letting you try out and compare different
designs very quickly.
z 7KHUHDUHDKXJHQXPEHURIGHFLVLRQVWKDWKDYHWREHPDGH(YHU\
sensor, motor, part, size, and shape involves making a decision. And
it helps to have on your team someone who is the systems integrator
to make sure, for example, that the selected motors are compatible
with the chosen batteries. You don’t want to have batteries that
can’t supply the motors with enough power.
80
VWRSÀDSSLQJLWVÀLSSHUVEXWLWNHHSVJOLGLQJWRZDUGWKHREMHFW7KH
WHDPQHHGHGWR¿JXUHRXWKRZWRPRYH0DGHOHLQHVORZO\HQRXJK
to avoid damaging the robot but fast enough to make progress. The
systems integrator was the chief engineer on these issues.
z 1HNWRQ¶VFRPPHUFLDOJRDOZDVDOVRDVXFFHVV:LWKVSHFLDOÀLSSHUV
that Nekton patented, Madeleine could swim in the surf and
FUDZO XS WKH EHDFK 0DGHOHLQH XVKHUHG LQ D QHZ HUD RI ÀLSSHUHG
amphibious vehicles called transphibians. Nekton’s transphibian
patent was later purchased by iRobot, the maker of Roomba,
becoming the start of a marine robotics division.
RayBot
z A new underwater robot, RayBot, is in the process of being built.
7KH5D\%RWSURMHFWLVDFROODERUDWLRQEHWZHHQWKH,QWHUGLVFLSOLQDU\
Robotics Research Laboratory at Vassar College and FarCo
7HFKQRORJLHV,QF7KHLPSHWXVIRUWKHPWREXLOGWKLV¿VKOLNHURERW
FDPH IURP WKH 86 1DY\¶V 2I¿FH RI 1DYDO 5HVHDUFK ZKLFK LQ
FUHDWHG DQG PDGH SXEOLF D IXQGLQJ VROLFLWDWLRQ ³(I¿FLHQW
+LJKO\0DQHXYHUDEOH$UWL¿FLDO)LVKIRU6WHDOWK\6XUYHLOODQFH´
81
z $QRWKHUEHQH¿WRIWKHHOHFWULFUD\ERG\SODQLVWKDWWKLVW\SHRIUD\
FDQFDUU\DVWDEOHSD\ORDG%RQ\¿VKKDYHWRZLJJOHDQGEHQGWKHLU
bodies in order to swim. The electric ray’s body disk doesn’t bend
up and down for propulsion; instead, the body disk is stable, so its
payload, the electric organ, is, too. The electric organs, which can
]DSDQGVWXQSUH\DUHDFWXDOO\PRGL¿HGPXVFOHV%XWWKHVHPXVFOHV
GRQ¶WFRQWUDFWWKH\MXVWVWRUHDQGUHOHDVHHOHFWULFFKDUJH
z :KHQ WKH WHDP VWDUWHG EXLOGLQJ 5D\%RW WKH\ ¿UVW FUHDWHG DQ
autonomous surface robot modeled on the electric eel. It had
a body disk and propulsive tail. The body disk carried a payload
WKDWLQFOXGHGDFRQWUROOHU7KHFRQWUROOHUUDQD¿[HGSULRULW\VHWRI
LQVWUXFWLRQVWKDWRSHUDWHGWZREHKDYLRUVQDYLJDWHDQGDYRLGREMHFWV
z 7KH WDLO LWVHOI ÀDSV EDFN DQG IRUWK JHQHUDWLQJ IRUZDUG thrust.
Lecture 9—Designing a New Robot
82
*UHJ$PSWPDQ+HPHUD7KLQNVWRFN
(OHFWULFUD\VXVHWKHLUERG\GLVNWRJOLGHPDNLQJWKHPKLJKO\HI¿FLHQWDQG
stealthy—an ideal model for an underwater robot.
z To get the surface RayBot working under water, the team enclosed
5D\%RW LQ D ODUJHU ÀH[LEOH DQG ZDWHUSURRI ERG\ GLVN 7KH\
DOVRDGGHGVRPHSHFWRUDO¿QVEHKLQGIRUVWHHULQJXSRUGRZQRUWR
roll—called attitude control.
z %HFDXVH ZDWHU DQG HOHFWULFLW\ FDQ¶W LQWHUDFW WKH ¿UVW VWHS LQ
engineering an underwater RayBot 3.1 was to enclose the
electronics in a waterproof box, called a hull in nautical engineering
terms. While the team needed to keep the electronics dry, at the same
time, they needed to put holes in the hull in order to communicate
electrically or mechanically with the actuators outside of the hull.
z 2QWKHEDFNHQGWKHUHLVDÀH[LEOHVLOLFRQHWDLOIXQFWLRQLQJDVWKH
SURSHOOHU7KHWHDPQHHGHGWREHDEOHWRÀDSWKHWDLOEDFNDQGIRUWK
DQG FRQWURO KRZ IDVW LW ÀDSV %RWK ¿QV DQG WDLO DUH FRQWUROOHG E\
servomotors, located inside the hull.
83
z 7RWUDQVIHUWKHIRUFHDQGSRZHURIWKHPRWRUVWRWKHH[WHUQDO¿QV
and tail, the team took another chapter out the book of nature and
created tendons—polystyrene cables that connected the oscillating
VHUYRPRWRUV WR WKH ÀDSSLQJ ¿QV DQG WDLO 7R SDVV WKHVH WHQGRQV
WKURXJKWKHKXOOWKH\PDGHWLJKW¿WWLQJUXEEHUSDVVDJHVWKDWFRXOG
be loaded with a viscous lubricant.
z 5D\%RW XVHG LWV ÀDSSLQJ WDLO WR VZLP 'LIIHUHQW WDLOEHDW
frequencies could be programmed to control speed. When RayBot
WUDQVLWLRQHG LWV ¿QV IURP GRZQ WR XS LWV DWWLWXGH FKDQJHG DQG LW
PRYHGYHUWLFDOO\7KH¿QVFRQWUROOHGSLWFK
z +RZHYHU WKH WHDP GLWFKHG WKH SHFWRUDO ¿QV 7KH ZD\ WKH\ KDG
WKHP FRQ¿JXUHG GLGQ¶W ZRUN YHU\ ZHOO IRU DWWLWXGH FRQWURO 6R
they put that part of the problem on hold and created RayBot 3.2,
ZKLFKKDGMXVWDWDLO7KHELRPLPHWLFWDLODFWHGDVERWKDSURSHOOHU
and a rudder.
z RayBot 3.2 had the ability to detect a light source, navigate toward it,
and hold station around it. This was a simple proof-of-concept test,
showing that they could build a working autonomous underwater
vehicle prototype that was self-propelled and autonomous.
z In parallel with their work on the whole robot, the team also started
trying different kinds of muscle-like actuators, and they analyzed
Lecture 9—Designing a New Robot
whether to make them or buy them. They thought more about the
ÀDSSLQJSHFWRUDO¿QVRQ5D\%RW,WWXUQVRXWWKDWLQUHDO¿VKWKH
¿QVDUHFRPSRVHGRIWKLQURGVRIVNHOHWRQWKDWJLYHWKH¿QVXSSRUW
5HVHDUFKKDVVKRZQWKDWWKH¿QURGVDOVRDFWLYHO\ÀDSWKH¿QDQG
FKDQJHWKHFDPEHURIWKH¿Q
z The team induced a shear using a rack and pinion. But unlike the
commercially available rack and pinion attached to a rotary motor,
theirs was driven back and forth by a servomotor connected to the
pinion. They called this actuator the ¿QVKHDUDFWXDWRU.
84
z This also led them to ideas about how to engineer a better body,
RQHZLWKDERG\GLVNWKDWWKH\FRXOGQRZDFWXDWHZLWKWKH¿QVKHDU
actuator and control the posture and camber.
z To get the details right, they bought a large electric ray and made
a plaster cast of it, which they then could use to make a silicone
version. The problem with making a body this way, though, is that
it had asymmetries, bumps and bulges that were partly a result of
the way they made the cast and partly a result of the imperfections
of nature.
z So, the team used the cast of the ray to take a series of very detailed
measurements of the body shape. From those measurements, they
then created a three-dimensional computer graphic version of
the ray in a software program called Maya. Then, they made the
computer graphic version of the ray symmetric and found that in
order to come up with a mold that their machine could fabricate,
they needed to slightly alter some of the lines and curves of the
ray’s body. The result of this process was RayBot 3.3.
z :KHQWKH\FDVWWKH¿QDOERG\RI5D\%RWWKH\XVHGDÀH[LEOH
silicone-based polymer called Dragon Skin. It took nearly 20
pounds of Dragon Skin and a lot of acrobatics to create a mold and
then peel RayBot out of it. The mold was in nine pieces so that
RayBot could be taken out of it without breaking its body.
z The team also designed into the mold a payload in the belly, on the
ERWWRP RI WKH URERW ERG\ ,QWR WKDW SD\ORDG WKH\ SODFHG WKH ¿Q
shear actuator system with a controller to drive the servomotor to
FDXVHWKHWDLOWRÀDSVLGHWRVLGH7KH¿QVKHDUDFWXDWRUPHFKDQLVP
KDVVXI¿FLHQWSRZHUGHQVLW\WREHDEOHWRSURSHO5D\%RW
85
Activity
7KHHQJLQHHULQJSURFHVVLVLWHUDWLYH,WLVDF\FOHDFRQWLQXRXVSURFHVV
Important Terms
camber 7KH PHDVXUH RI WKH IURQWWREDFN FXUYDWXUH RI D ZLQJ WKDW KHOSV
create lift.
thrust$IRUFHWKDWSURSHOVDQDQLPDOYHKLFOHRUURERW
Suggested Reading
Lecture 9—Designing a New Robot
Other Resources
7KH,(((5RERWLFVDQG$XWRPDWLRQ6RFLHW\KWWSZZZLHHHUDVRUJ
86
Questions to Consider
a. You need a robot that carries your webcam around the house when
you aren’t home.
c. You need a robot to explore the liquid water under the icy crust of
(XURSDRQHRIWKHPRRQVRI-XSLWHU
2. Looking at the following conceptual design for RayBot 4.0, what features
and trade-offs can you anticipate for operating in the open ocean?
navigation
sensors
proximity
proximity
detector
detector
environmental
flexible sensors
body disk
pectoral fins
control shape of disk
tail
oscillated and
turned by distributed
propulsive piezoelectric motors
tail
87
3. Hatching new ideas for robotics companies is an entertaining way to
think about designing new kinds of robots. Identify three features of a
robotics company that would make it well poised to succeed.
0DQ\ SHRSOH ¿UVW JHWWLQJ VWDUWHG LQ GHVLJQ RU HQJLQHHULQJ GRQ¶W WKLQN
that the process will be iterative for them. They think that their design
SURFHVV FDQ EH D OLQHDU ÀRZ RI GHVLJQ
build, and test. Design
88
A Robot for Every Task?
Lecture 10
I
f we want a robot to perform a given task, we have choices about which
way to go. We could use a generalist robot, a robot that can do a large
range of tasks, including tasks for which it wasn’t originally designed
or programmed. We could redesign an existing specialist robot, to add to it
the new capability we want. We could create new specialist robots, such as
URERWLFWUDVKFDQVWKDWIRFXVRQRQHMRE7KHIDFWWKDWZHVRRIWHQKDYHWKHVH
FKRLFHVWHOOVXVDORWDERXWKRZWKH¿HOGRIURERWLFVZRUNV
z 6RPHWLPHVWKHZRUNSODFHLVDVVSHFL¿FDVDEHGURRPLQDKRXVH
or it can be more general, such as any room in any house. The task
LV GRQH LQ WKH ZRUNSODFH \RX¶YH MXVW VSHFL¿HG <RX FDQ¶W KDYH D
task without a workplace. In that context, you need to be able to
break down a task, analyze it, and determine its subcomponents.
This is analogous to what we do when we write an algorithm for
the computer in our robot’s microcontroller. We need a step-by-step
understanding of what the task entails.
z In the case of taking out the trash, start with the workplace.
Imagine a laboratory. Think about the layout with regard to the
generation of trash. There is a small trash can that is kept in a
convenient location and a large trash can into which the contents
of the small trash can are dumped. When the large can is full,
then it is eventually emptied. In addition, there is some clutter
RQWKHÀRRULQFOXGLQJRWKHUURERWVDORQJZLWKDODUJHODEEHQFK
7KH ÀRRU LWVHOI LV KDUG DQG VPRRWK 7KHUH DUH QR VWDLUV RU RWKHU
environmental hazards for a robot.
89
2OJD6HUG\XNL6WRFN7KLQNVWRFN
%HFDXVHIDFWRU\ÀRRUVDUHVWDEOHZRUNVSDFHVURERWVGRQRWQHHGWREH
programmed to sense humans, freeing up energy and computer space.
90
z Knowing the level of structure allows you to make important
decisions about what your robot needs to be able to sense—to keep
track of—and what it can ignore. If you can ignore having to identify
REMHFWVWKHQ\RXVDYHDORWRIWLPHHQHUJ\DQGFRPSXWHUVSDFH$
structured workplace allows you to build into the programming of
your robot implicit assumptions about the world.
ż (PSW\WKHFRQWHQWVLQWRWKHODUJHFDQ
91
ż Home to charging or standby dock.
z $WWKLVSRLQWLQWKHGHVLJQSURFHVVLWLVFULWLFDOWRDVNWKLVTXHVWLRQ
Now that we know what needs to be done and where it will happen,
LVWKHUHDQH[LVWLQJURERWWKDWFDQGRWKHMRE"7KHSUDFWLFDOYHUVLRQ
RIWKLVTXHVWLRQLVWKLV,VWKHUHDQH[LVWLQJURERWWKDWFDQGRWKLVMRE
that is available for me to use?
z If the answer to either question is yes, then you want to get the robot
DQGKDYHLWGRWKHMREIRU\RX<RXZDQWWRVWRSGHVLJQLQJDURERW
Lecture 10—A Robot for Every Task?
for this task and put your efforts elsewhere, at least for the moment.
Don’t reinvent the wheel unless you have an idea for a better wheel.
z For the task of emptying the trash in the laboratory, the answer to
WKLVTXHVWLRQLV:H¶UHQRWVXUH6ROHW¶VLQYHVWLJDWHDQGVHHZKDW
robots out there might be able to do. If we think about navigation in
WKHODEDFOHDQLQJURERWOLNH5RRPEDGRHVDYHU\JRRGMRERIJRLQJ
out and cleaning.
92
we have on the docking station. The beacon is like a lighthouse,
VHQGLQJRXWDVWHDG\VLJQDO:KHQ5RRPED¿QGVWKHVLJQDOLWFDQ
move directly toward it.
z 7RKHOS5RRPED¿QGWKHWUDVKFDQZHFRXOGWDNHRQHRIWKHYLUWXDO
wall lighthouses and use it as a beacon to help guide the robot to the
trash, which we could set up with the equivalent of a docking signal.
z :KLOH5RRPEDFRXOGJHWJRLQJDQGQDYLJDWHWRDFDQIXO¿OOLQJWKH
¿UVWRIRXUVXEWDVNVZHVHHWKDWLQWHUPVRIVXEWDVNJUDVSLQJ
WKH FDQ ZH DUH LQ WURXEOH 5RRPED FDQ¶W GR WKH MRE EHFDXVH LW
doesn’t have a manipulator to transport and then empty the can.
z 3HUKDSV LQVWHDG ZH FDQ ¿QG D URERW WKDW LV PRUH RI D JHQHUDOLVW
WKDW ZH PLJKW HDVLO\ SURJUDP WR GR WKH MRE :KHQ ZH WKLQN RI D
generalist, we humans tend to think of humans, because of the huge
number of different tasks that we can accomplish. So, we think of a
humanoid as a machine that could step right in and empty the trash.
z Clawbot has an arm, and it can move around. We can run Clawbot
by remote control to test what it can do. When we try to get it to
empty the trash, we discover that Clawbot lacks the kinematic
degree of freedom that would allow it to twist and get its end
effector, its claw, oriented so that it can pick up the can.
93
z :KHQHYHU \RXU URERW FDQ¶W GR VRPHWKLQJ \RX KDYH WZR FKRLFHV
rebuild it or change the world (the workplace). In either case, we are
talking about designing a way to allow the robot to be successful. In
the case of Clawbot, we’d want to rebuild it by adding at least one
and probably two degrees of freedom to the wrist.
z A kinematic degree
of freedom in human
ERGLHV LQYROYHV MRLQWV
(DFKVLPSOHKLQJHMRLQW
LQ \RXU ¿QJHU DGGV
one rotational degree
of freedom to your
2OL6FDUII*HWW\,PDJHV1HZV7KLQNVWRFN
KDQG (DFK GHJUHH RI
freedom in the hand
means that you can
UH¿QH\RXUPRYHPHQWV
the things that you can
grasp and manipulate.
z The claw needs some Each hinge joint gives hands greater
added dexterity. We freedom and control.
need the claw to roll
GHJUHHVDQGWKHQSLYRWVRWKDWWKH¿QJHUVDUHRULHQWHGYHUWLFDOO\
Lecture 10—A Robot for Every Task?
DQGGRZQ7KHQLWFRXOGSLFNXSWKHFDQ:H¶GQHHGWZRPRUHMRLQWV
with motors, and we’d have to reprogram the software to allow this
to happen. The additional motors would add weight that the motors
support, so the payload maximum in the trash can would have to
decrease. Perhaps there’s a better way to go than rebuilding this robot.
z For either Clawbot or Baxter, this is when we wish that the arms
could telescope if and when we needed them to. This would add
a kinematic degree of freedom to the arm. This linear motion of
telescoping, such as opening a tripod leg, is called translation, and
it’s a very different kind of motion than we see in the vertebrate
body. The closest we get to telescoping in translation is sticking out
our tongue.
94
z Imagine what it might be like to overcome the shortcoming of each
robot by getting them to work together. Clawbot is mobile with
very rudimentary grasping capabilities. Baxter has great grasping
capabilities but is not mobile. Combining their mobility and
manipulation might result in a great power couple.
Suggested Reading
$QJHOHVDQG3DUN³3HUIRUPDQFH(YDOXDWLRQDQG'HVLJQ&ULWHULD´
Dym, Little, and Orwin, Engineering Design, chaps. 4–6.
Other Resources
Questions to Consider
1. From what you know about robots, what tasks are robots particularly
suited to do—and to do well?
95
a. Anytime the robot fails to complete a step of a task in a certain
amount of time, it would then categorize that step (or the task) as
beyond its limits.
96
Robot Arms in the Factory
Lecture 11
M
ore than a million robots are at work in factories all over the planet.
Industrial robots help us manufacture cars, electronic and medical
devices, medicines and pharmaceuticals, food and beverages,
metals, chemicals, plastic, and rubber. Virtually all of these robots are not
humanoids; they are specialized robotic manipulators, and their workplace is
the highly structured, highly predictable world of the industrial factory. The
tasks of robotic manipulators involve repetitive, quick, and highly accurate
movements to grasp, move, manipulate, and assemble. With tools in hand,
WKHVHURERWV¿OHSDLQWDVVHPEOHFXWSROLVKÀDPHZHOGERQGJOXHVHDO
inspect, and sort.
z 7KH MRLQW RI D URERWLF PDQLSXODWRU LV XVXDOO\ RQH RI WZR W\SHV
UHYROXWH RU SULVPDWLF 5HYROXWH MRLQWV URWDWH RU UHYROYH DQG
SULVPDWLFMRLQWVVOLGH:HKXPDQVKDYHPRVWO\UHYROXWHMRLQWVDQG
PDQ\RIWKRVHMRLQWVUHYROYHDURXQGDKLQJHVRZHFDOOWKHPKLQJH
MRLQWV +LQJH MRLQWV VXFK DV \RXU HOERZ URWDWH WKURXJK D VLQJOH
kinematic degree of freedom.
97
z Kinematics is the study of
motion without considering
the forces that generate those
motions. Include forces in
your study of motion and it’s
called dynamics. Kinematics
and dynamics are hugely
important in factory robotics
because we want a machine
whose motions can be
6WHYHQ)UDPH+HPHUD7KLQNVWRFN
precisely controlled.
150 degrees.
98
This allows you to simplify the motion and its control. Then, you
can add degrees of freedom back in, with more single-degree-of-
IUHHGRPMRLQWV
z <RX FRXOG DOVR PDNH PRUH FRPSOH[ MRLQWV VXFK DV WKH EDOODQG
VRFNHWMRLQWEXW\RXZRQ¶W¿QGWKRVHRQPRVWURERWLFPDQLSXODWRUV
That’s because the fundamental function of a robotic manipulator is
VLPSOHSLFNDQGSODFHSLFNVRPHWKLQJXSDQGSODFHLWVRPHZKHUH
else. We humans have been doing this for as long as we’ve been on
two feet, picking fruit and wielding tools.
Industrial Robots
z 7KH ¿UVW UHFRUG ZH KDYH RI D SURJUDPPDEOH SLFNDQGSODFH
URERWLVIURP*ULI¿WK37D\ORU¶VURERWZDVSURJUDPPDEOH
and it picked up a series of bricks and created a circular stack,
automatically, in about 50 minutes. In total, Taylor’s robot had
¿YHGHJUHHVRIIUHHGRPWRDOORZLWWRSLFNDQGSODFHEULFNV6RPH
SHRSOH FRQVLGHU 7D\ORU¶V SLFNDQGSODFH URERW WR EH WKH ¿UVW
manipulator robot.
99
Industrial Robots
z By the time that Devol received his patent in 1961, he had already
IRUPHGDFRPSDQ\LQZKHQKH¿UVWDSSOLHGIRUWKHSDWHQW
7KHFRPSDQ\IRUPHGZLWKVHULDOHQWUHSUHQHXU-RVHSK(QJHOEHUJHU
ZDV FDOOHG 8QLPDWLRQ DQG LW EHFDPH WKH ¿UVW FRPSDQ\ WR
build robots that went to work for industry. Those robots were
called Unimates.
100
z 7KH¿UVW8QLPDWHURERWZDVLQVWDOOHGLQLQD*HQHUDO0RWRUV
factory. It used the Unimate to lift hot pieces of metal from a die-
FDVWLQJPDFKLQHDQGVWDFNWKHP7KHVH¿UVWLQGXVWULDOURERWVOHGWR
KUKA robots, and many others. These classic industrial robots—all
very much like the original Unimates—are still used in thousands
of factories worldwide.
101
z So far, we have mostly been considering what might be a
numerically controlled machine tool, or a blind robot in an open
control loop. But if we want a robot that knows whether its arm is
in the right place, then this is when sensors come into play. Sensors
FDQPHDVXUHWKHDFWXDOSRVLWLRQRIHDFKMRLQWDQGSURYLGHIHHGEDFN
WRWKHFRQWUROOHUIRUSRVVLEOHDGMXVWPHQWV
102
z A very different manipulator is a Cartesian robot, which has three
SULVPDWLFMRLQWV²WHOHVFRSLFMRLQWV²WKDWDUHDUUDQJHGSHUSHQGLFXODU
WRHDFKRWKHU%HFDXVHWKHMRLQWVDUHVOLGLQJWKH\FDQDOVREHPDGH
into very long tracks, into what are called gantry robots.
z $ VSKHULFDO RU SRODU URERW UHSODFHV WKH UHYROXWH HOERZ MRLQW RI DQ
DUWLFXODWHG URERW ZLWK D SULVPDWLF MRLQW 7KH WHUP ³VSKHUH´ UHIHUV
to the shape of the working space of the end effector. The Unimate
URERWV ZHUH VSKHULFDO URERWV ZLWK D WHOHVFRSLF MRLQW WKDW DOORZHG
them to reach for a sample or weld a particular spot and then retract
to get out of the way.
z %HFDXVHVSKHULFDOURERWVKDYHMXVWWKUHHGHJUHHVRIIUHHGRPWKH\
too, are easier to control than articulated robots, which usually have
six. But because they lack a large range of motion, we tend not to
see many spherical robots in operation these days.
103
z %HFDXVHWKHWKUHHUHYROXWHMRLQWVDUHQ¶WUHVWULFWHGLQVL]HE\QHHGLQJ
to move perpendicular to each other, SCARA robots can also have
YHU\ ODUJH PRWRUV WR SRZHU WKH MRLQWV PDNLQJ WKHP VRPH RI WKH
fastest robotic manipulators available. SCARA robots are very
JRRG IRU WKLQJV OLNH WKH VXUSULVLQJO\ GLI¿FXOW WDVN RI SODFLQJ DQG
tightening screws.
z :KLOH WKH HDUO\ LQGXVWULDO URERWV GLG WKH VDPH MRE DOO GD\ GD\
DIWHU GD\ D EUHDNWKURXJK IRU ÀH[LELOLW\ FDPH ZLWK WKH 380$
(programmable universal machine for assembly) robots. These
were programmable robots that were developed at Stanford and
supported by General Motors.
Collaborative Robots
z Because robotic manipulators work very rapidly, often with a
lot of power, part of the design of the robot is to also design the
workplace. Safety is a big consideration. In 1979, in a Ford Motor
FDVWLQJSODQW5REHUW:LOOLDPVEHFDPHWKH¿UVWKXPDQNLOOHGE\D
Lecture 11—Robot Arms in the Factory
factory robot. Reports say that the robot had begun moving more
slowly, and Williams tried to climb into a storage rack to remove
parts by hand when he was hit in the head by the one-ton robot and
killed instantly.
z The standard way to make it safe for humans and robots to work
together is to keep them from working together, at least physically.
The work areas for industrial robots in traditional factories are very
FOHDUO\GH¿QHGDQGKXPDQVDUHNHSWRXWRIWKRVHDUHDVZKLFKDUH
called safety cages.
104
z But these restrictions limit the work that robots do. Flexible,
easy-to-use robots that can work alongside humans were goals
for Rodney Brooks when he created the company that is now
called Rethink Robotics, which created the robot Baxter, released
commercially in 2012.
z $VRQHRIWKH¿UVWFROODERUDWLYHURERWVRUFRERWV%D[WHULVGH¿QLQJ
new roles for industrial robots and helping to bridge from industrial
robotics to service robotics, where robots are designed, from the
start, to interact safely with humans.
Important Terms
gantry robot/DUJHW\SHRI&DUWHVLDQFRRUGLQDWHPDQLSXODWRUURERWZKRVH
degrees of freedom are in translation and at right angles to each other.
kinematics 7KH VWXG\ RI PRWLRQ ZLWKRXW UHJDUG WR WKH IRUFHV JHQHUDWLQJ
them.
proprioception ,QWHUQDO VHQVLQJ RI WKH PRWLRQ DQG IRUFH RI WKH URERW¶V
MRLQWVDQGPRWRUV
service robot Any robot built to assist humans, excluding robots involved
in manufacturing.
105
Suggested Reading
$QRQ\PRXV³$Q$XWRPDWLF%ORFN6HWWLQJ&UDQH´
Craig, Introduction to Robotics, chap. 1.
Devol, Programmed article transfer, U.S. Patent 2,988,237.
Other Resources
Question to Consider
1. The following is a robotic arm produced by the company ABB for the
National Museum of Scotland. Visitors type in their name on a keyboard,
and then the robot picks up blocks, deposits them on the metal shelf in
the lower-right side of the picture, and that spells the person’s name.
Lecture 11—Robot Arms in the Factory
© John Long.
106
Mobile Robots at Home
Lecture 12
S
ervice robots can be used for personal or professional use. Most
RI WKH WLPH GLIIHUHQW MREV DUH GRQH E\ GLIIHUHQW URERWV WKDW DUH
VSHFLDOL]HGIRURQHMRE)RUURERWVWKDWDUHGHVLJQHGWRZRUNDWKRPH
three features are proving to be the keys to success of personal service
URERWV 7KH\ DUH VSHFLDOL]HG IRU RQH MRE DUH RI VPDOO VL]H DQG SRVVHVV
autonomous mobility. An important part of being a specialist is that the
URERWGRHVQ¶WQHHGWREHUHSURJUDPPHG6SHFLDOLVWVKDYHRQHMREWRGRDQG
they do it out of the box.
Roomba
z 5RRPEDV ZHUHQ¶W WKH ¿UVW KRPH URERW YDFXXP EXW WKH\ ZHUH WKH
affordable and reliable machine for personal use that transformed
lives. Like any successful commercial product, Roomba has attracted
competitors—including Neato, Navibot, Hom-Bot, bObsweep,
Deebot, and the traditional vacuum makers, and Roomba itself has
undergone a regular series of updates and improvements.
z %\WKH¿UVWPRGHORI5RRPEDZDVVZHHSLQJDQGYDFXXPLQJ
One of the important design features is that Roomba goes where you
GRQ¶WVHHRUQRUPDOO\JRXQGHUIXUQLWXUH7KLVH[SODLQVDGHFLVLRQ
WKDWWKH\PDGHDERXWWKHGHVLJQ,WKDGWREHVPDOOLQKHLJKWWR¿W
under furniture.
107
z In 2004, iRobot introduced the second generation of Roomba,
originally called Discovery but then renamed the 400 series.
Roomba 400s have enhanced autonomous navigation. These
Roombas can also be programmed to clean on a schedule, and they
have a bigger dustbin than the original models.
z ,QWURGXFHGLQWKHVHULHVKDVEHWWHUEDWWHU\OLIHD+(3$
Lecture 12—Mobile Robots at Home
¿OWHURQWKHYDFXXPDQGZLUHOHVVVFKHGXOLQJ,QWURGXFHGLQ
the 800 series has even better battery life and cleaning capacities,
LQFOXGLQJDQRSWLFDOFDPHUDWRORRNIRUÀXII\GHEULV
108
z Scooba has the same basic circle-shaped design as Roomba. A
FLUFXODU GHVLJQ LV JUHDW IRU D ÀRRUFOHDQLQJ URERW LQ WKH KRPH
because a circle lacks edges to ding and get caught. The short
stature, too, is great for getting under furniture. In other words, the
robot body is built to get the robot under and around.
z 7R FUHDWH DQ HI¿FLHQW RQHSDVV FOHDQLQJ URERW L5RERW QHHGHG WR
create a robot that could navigate using a map. GPS isn’t a good
option inside for two reasons. First, the signals from satellites can
be scattered, distorted, and blocked by walls and metal structures.
6HFRQG HYHQ LI \RX FDQ JHW D JRRG *36 ¿[ WKH DFFXUDF\ RI WKH
WUDGLWLRQDO FRQVXPHU ¿[ HYHQ LQ WKH EHVW RXWGRRU FRQGLWLRQV KDV
EHHQ PRUH WKDQ IHHW ZKLFK LV QRW VXI¿FLHQW DFFXUDF\ WR JXLGH
indoor robots.
109
z Knowing its position on the map, Braava can plot a course that
PRYHVLWEDFNDQGIRUWKDFURVV\RXUÀRRULQEHDXWLIXOWLJKWURZV
This gives complete coverage in one pass when Braava is dry
mopping. In damp mopping mode, Braava still navigates, but it
moves with side-to-side and back-and-forth scrubbing motions as it
moves along the rows.
z Creating a map and knowing where you are on the map at the same
time is hugely important task in autonomous robotic navigation. It is
called simultaneous localization and navigation. This is a model-
based controller architecture that is computationally intensive.
get stuck in small areas where it can’t maneuver itself out. Third,
Braava has to have a good signal from the NorthStar infrared
navigation system in order to clean an entire space. Once the
cleaning cycle has started, you also have to take care to not move
the NorthStar beacons; the navigation system has to be tuned to
make the system work optimally.
z 7KHELJWUDGHRIIIRU%UDDYDLVEHWZHHQHI¿FLHQF\DQGUREXVWQHVV
When it works optimally, Braava can navigate and clean very
HI¿FLHQWO\%XWEHFDXVHLWLVGHSHQGHQWRQPDSEDVHGQDYLJDWLRQLW
is not as robust as Scooba. Scooba and Braava clean differently and
have different trade-offs.
110
Mirra
z Another popular type of home robot works outside, in your pool.
Mirra 530 is an autonomous pool-cleaning robot built by iRobot.
Mirra has wheels for locomotion and a rotating scrub brush. It also
¿OWHUV ZDWHU ZKLFK LW VXFNV LQ WKURXJK DQ RSHQLQJ XS IURQW VR LW
removes both small particles and large items, such as leaves. Most
impressively, Mirra can move up vertical walls and navigate steps.
,WVZKHHOVKHOSJLYHLWWUDFWLRQDQGWKHVXFWLRQLWFUHDWHVIRU¿OWHULQJ
water helps it hold its ground.
z :K\ QRW MXVW XVH D EDWWHU\ IRU 0LUUD" :KDW¶V WKH WUDGHRII ZKHQ
we use a battery? On the positive side, being untethered means that
the robot won’t get tangled if it goes under and through the legs
of a chair, and it won’t have stay in close proximity to its external
energy supply. On the negative side, batteries have a limited time
for which they can supply electric power. To extend the robot’s
mission time, a bigger battery can be used, but bigger batteries
increase the weight that the robot has to lug around.
z 7KH GHVLJQHUV DW L5RERW KDG D FKRLFH *LYH 0LUUD D ELJ HQRXJK
battery to handle the high power needs of its three motors over
HQRXJKWLPHWRFRPSOHWHWKUHHMREV²VFUXEORFRPRWHDQG¿OWHU²
or power Mirra through a tether with a topside energy supply.
z A big battery, being full of dense metals, would be great for keeping
Mirra on the bottom of the pool. The problem would be climbing
the walls, when the weight of the battery would tend to peel Mirra
off. The way to counteract this would be to create more suction. But
PRUHVXFWLRQPDNHVLWPRUHGLI¿FXOWWRPRYH<RXFRXOGLQFUHDVH
power to the motors driving the treads, but then that’s more power
you need. This is a vicious circle.
111
z By giving Mirra a tether for its energy supply, the designers were
able to give Mirra the power to climb walls and even scrub right
at the water line, where the robot has to support part of its weight
out of the water. More importantly, Mirra’s effective time on station
was increased, with time limited only by having to stop and clean
WKH¿OWHUV
z $URERWWKDWGRHVWKLVMRELV/RRMWKHJXWWHUFOHDQLQJURERW,WVSLQV
an auger and then uses tank track actuators to push that actuator
Lecture 12—Mobile Robots at Home
112
z $QRWKHU KRXVHKROG MRE WKDW
robots can do is clean the
windows. Introduced in 2011,
:LQERW FUHDWHG E\ (FRYDFV
has an actuator system that
creates suction that keeps it
on the glass. It has infrared
proximity sensors that allow
it to calculate the size of
6HDQ*DOOXS*HWW\,PDJHV1HZV7KLQNVWRFN
the window, and then, like
Roomba, it calculates a plan to
clean the whole area.
Important Terms
acoustic sensor$OVRNQRZQDVDPLFURSKRQHDVHQVRUWKDWFRQYHUWVVRXQG
waves into electric signals that can be read by the controller.
113
Suggested Reading
L5RERW³L5RERW©2ZQHU¶V0DQXDOVDQG4XLFN6WDUW*XLGHV´
;X4LDQDQG:XHousehold Service Robotics, chap. 3.
Other Resources
3URPRWLRQDOYLGHRRIWKHVHULHVIRU5RRPEDKWWSZZZLURERWFRPXV
OHDUQKRPHURRPEDDVS[
+DFNLQJ5RRPEDKDFNLQJURRPEDFRP:KLOHWKLVDSSURDFKLVDELWGDWHG
if you have an old Roomba, then get started here.
L5RERW¶VRI¿FLDOKDFNDEOH5RRPEDL&UHDWHKWWSZZZLURERWFRP$ERXW
L5RERW67(0&UHDWHDVS['HVLJQHGWRLQWHUIDFHZLWKFRQWUROOHUVOLNHWKH
Arduino Uno, this is iRobot’s response to people wanting to hack Roomba.
Question to Consider
114
Hospital Robots and Neuroprosthetics
Lecture 13
R
obots working in the hospital show an incredible diversity of types,
from mobile robots carrying materials, to robotic manipulators in
the hands of surgeons, to prosthetics using neural signals of the
KXPDQERG\5RERWVLQKRVSLWDOVZRUNLQDWOHDVWWKUHHGLIIHUHQWZRUNSODFHV
the busy, social world of bustling humans in the entrance hall, waiting areas,
and patient wards and rooms; the carefully controlled world of the surgical
theater; and the intimate world of prosthetics and exoskeletons used by
an individual.
Courier Robots
z In January of 1991, a HelpMate robotic courier was installed in
the Danbury Hospital in Connecticut by Transitions Research
&RUSRUDWLRQ D FRPSDQ\ IRXQGHG E\ -RVHSK (QJOHEHUJHU DIWHU KH
VROG 8QLPDWH WR :HVWLQJKRXVH LQ +HOS0DWH ZDV WKH ¿UVW
hospital courier robot, designed to transport items and information.
115
z As a courier, HelpMate could deliver late meals and special dietary
foods. It could replenish supplies to nursing stations or return
samples collected by the nurses to the laboratory for analysis.
2XW¿WWHGZLWKDORFNHGFDELQHW+HOS0DWHFRXOGVHFXUHO\PRYHDQG
deliver medications from the pharmacy, along with patient records
stored on its computer. Up to 200 pounds of mail and packages
could be delivered during a single trip.
z 5RERW YLGHR KDV KLVWRULFDOO\ EHHQ YHU\ GLI¿FXOW WR LPSOHPHQW LQ
Lecture 13—Hospital Robots and Neuroprosthetics
116
overhanging, such as a cantilevered countertop. In that case, the
28 sonar sensors, all sending out sound signals, would come
in handy.
z One of the challenges that this system did not initially anticipate
was the strange or irregular behavior of people. For example, people
behaved differently in different parts and times of the hospital.
Context cues were added to HelpMate’s control system, providing
UXOHVIRUKRZWRDGMXVWEHKDYLRUGHSHQGLQJRQORFDWLRQDQGWLPH
117
z By contrast, Aethon introduced a hospital delivery robot capable of
carrying 500 or even 1,000 pounds of supplies. These are called
TUG robots. The slim robot up front pulls along a large storage
cabinet behind. And instead of needing tape on the ceilings, or other
markers, Aethon chose to create preplanned travel routes for the
robots, either using computer-aided design drawings of the hospital
uploaded into the robot or by using lasers to manually guide the
robot through preplanned travel routes in the facility.
z 7KH78*URERWVDYRLGGULIWE\WDNLQJWKHLUQDYLJDWLRQDO¿[IURPWKH
charging stations. The company developed software that is said to
open any public elevator in the world. But because the TUG is less
PDQHXYHUDEOH LW PD\ JHW VWXFN ,Q WKDW FDVH RQH WKLQJ WKH 78*
URERWFDQGRLVDVNQHDUE\KXPDQVWRWDNHVSHFL¿FVWHSVWRKHOS
Telepresence Robots
z As good communication connections continue to improve, there
are increasing opportunities for telepresence robots. iRobot, the
company that made Roomba, teamed up with Cisco to create Ava, a
platform for a mobile service robot capable of wireless telepresence.
7KLVPDNHVSRVVLEOHDURERWWKDWFDQPDSDQGWUDYHODÀRRUEXWDOVR
engage in desktop-quality teleconferencing.
118
z 2QH RI WKH WKLQJV WKDW9,7$ FDQ GR LV ¿QG D SDWLHQW 6RPHWLPHV
especially when a hospital is overrun with victims of a large
accident, patients can be temporarily misplaced. To identify a
patient, VITA uses a combination of face recognition and radio
IUHTXHQF\ LGHQWL¿FDWLRQ WDJV ,Q D ÀXLG VLWXDWLRQ \RX FRXOG HYHQ
have a bunch of VITAs keeping track of which patients were where,
what their status was, and what was to happen next and then help
schedule and guide the hospital staff.
z 'D9LQFL KDV IRXU URERWLF DUPV RXWVLGH WKH SDWLHQW (DFK RI WKHVH
arms has extensions with sensors and actuators that go inside the
body. Surgical robots like da Vinci keep surgeons in the loop.
The surgeon functions as the controller in a remotely controlled
robotic system. Thus, the surgeon senses the world inside the
patient through three-dimensional cameras and issues orders to the
actuators inside the body.
KH'(.$SURVWKHWLFGHYLFHFRQWUROOHGE\HOHFWURP\RJUDP
7
(0*VLJQDOVIURPPXVFOHVLVDSSURYHGIRUDPSXWHHVE\
the FDA.
119
Capsule Robots
z Capsule robots carry sensors and actuators into the body, and some
are self-propelled. Capsule robots got their start from a technique
called capsule endoscopy, in which a capsule can be swallowed,
and it takes with it into your body a tiny video camera. A camera
ZRUNLQJ LQ WKH GDUN QHHGV OLJKW VR URERWV EULQJ VPDOO /('V WKDW
light up the scene so that pictures can be taken of a person’s insides
to diagnose problems.
z These capsules are passive and not really robotic in the sense that
they don’t have actuators that help them move. But in 1994, a
robotic endoscope was patented and built to be able to actively
wiggle its way through a patient’s gut. The front end of the snake
carries a camera, other sensors, and a small knifelike device to cut
tissue samples. The ability to snake around opens up new areas
of exploration.
Assistive Robots
z Medical robots are also working with the human body in a more
ongoing way, collaborating with us to overcome medical challenges
on an everyday basis. There are robots that help in physical and
RFFXSDWLRQDO WKHUDS\ VRFDOOHG WKHUDS\ URERWV .QRZQ PRUH
generally as assistive robots, these are similar to what the press
likes to call an exoskeleton. Assistive robots are strapped onto your
body to help supplement or retrain your existing abilities.
120
z The Walking Assist,
created by Honda, is
a spin-off technology
from their work on
the humanoid robot
ASIMO. The Walking
$VVLVW LV D MRLQWHG
powered robotic limb, in
principle and practice,
working with the human
0DWFL6WRFN7KLQNVWRFN
WRKHOSVWUHQJWKHQMRLQWV
and power each step.
This is meant for people
with certain kinds of
PXVFOHRUMRLQWSUREOHPV
The Walking Assist, an offshoot of
who can still walk but Honda’s ASIMOV technology, aids people
can use the help. ZKRKDYHGLI¿FXOWLHVZLWKPRELOLW\
z The trick is to have the Honda leg cooperate with the human. This
ZRUNVEHFDXVHVHQVRUVLQWKHMRLQWVRIWKHURERWGHWHFWLQLWLDWLRQRI
movement by the human. The legs then work to make strides even
DQG WR PDNH WKHP ORQJHU 7KH SDWLHQW KDV WKH MRE RI FRRSHUDWLQJ
with the robot that they are wearing.
121
z This is done with what amounts to a special antenna, called an
electrode, that is designed to pick up and amplify the electric
signals generated by nerves and muscles. The electrode can be
on the surface of the
skin, under the skin
touching muscle, or in
the body right next to
or even inside of the
nervous system.
%UDQGL6LPRQV*HWW\,PDJHV1HZV7KLQNVWRFN
electric signals that
the electrode reads.
The human acts as
Lecture 13—Hospital Robots and Neuroprosthetics
Activity
122
Important Terms
sensor fusion7KHSURFHVVRIFRPELQLQJLQIRUPDWLRQIURPPXOWLSOHVHQVRUV
to create information that is not available from individual sensors alone.
telepresence 8VLQJ VHQVRUV DQG LQVWUXPHQWV RQ URERWV WR REVHUYH DQG
measure without the need for a human to be physically present.
WLPHRIÀLJKW'XUDWLRQIRUDVLJQDOWRWUDYHOIURPLWVVRXUFHWRDVHQVRU
transducer$Q\GHYLFHWKDWFRQYHUWVHQHUJ\LQRQHIRUPWRHQHUJ\LQDQRWKHU
For example, a touch sensor transduces the kinetic energy of movement into
electric signals; a motor transduces electric signals into kinetic energy.
Suggested Reading
Other Resources
Questions to Consider
1. The da Vinci robotic surgery system was created to have a doctor in the
loop. What added capabilities would we most need if we wanted to turn
da Vinci into an autonomous surgeon?
2. ,I\RXZDQWHGWRLPSURYHWKHSHUIRUPDQFHRIWKH'(.$QHXURSURVWKHWLF
arm, how might you do so?
123
Self-Driving Vehicles
Lecture 14
R
obots on the road are one of the most transformative emerging
technologies on the planet. Many of us already have elements of
robotic autonomy built into our cars, and we have for years. Creating
robotic cars involves incredible challenges. Chief among them is the trade-
RIIRIVSHHGYHUVXVVDIHW\7RGULYHVDIHO\\RXVORZGRZQ²EXWLI\RXVORZ
down, you take longer to reach your destination. The goal of the modern
automotive industry is to enhance both speed and safety at the same time.
Nearly every manufacturer has already embedded robotic elements into your
car to assist you.
124
z Most adaptive cruise control systems use radar as their primary
sensor. Radar is an active sensor system; an emitter sends out radio
waves at a particular frequency, and then a receiver collects the echo,
the return of that signal. Using radar, you can measure the distance
IURP\RXWRWKHQHDUHVWREMHFW<RXFDQDOVRWHOOWKHUHODWLYHVSHHGRI
WKDWREMHFWZKHWKHULW¶VKHDGLQJDZD\IURP\RXRUWRZDUG\RX
z With adaptive cruise control, you set a target speed, like old-
fashioned cruise control, but you won’t hit the vehicle in front of
\RXEHFDXVHRIWKHREMHFWDYRLGDQFHIXQFWLRQ<RXHQGXSIROORZLQJ
at a set distance behind the vehicle in front of you. That distance is
DGMXVWHGEDVHGRQWKHVSHHG
z (YHQ WKRXJK DGDSWLYH FUXLVH FRQWURO LV PHDQW IRU WKH KLJKVSHHG
movements of freeway driving, some companies, such as Bosch, have
a related system called Stop & Go that is built for slow speeds. In
KHDY\WUDI¿F6WRS *RZLOOEULQJWKHFDUWRDFRPSOHWHVWDQGVWLOOLI
needed and then initiate movement when the car in front moves. This
PDNHVWUDI¿FMDPVIDUOHVVIUXVWUDWLQJLI\RXDUHEHKLQGWKHZKHHO
z In cases where the car is simply drifting out of the lane—such as when
the driver is sleepy—some companies offer Lane Departure Warning
to signal the driver and Lane Keeping Assist to actually take over the
steering. Video is a common sensor for lane keeping, because most
paved roads have clear lines that mark the edges of the road.
125
z Park Assist can sense other cars and be used when you want the car
to park itself. The same sensors that are used for Side View Assist
can help detect the open spot, and then commands are issued to the
steering and gas to maneuver the car into position.
z :KDW PDGH WKH '$53$ *UDQG &KDOOHQJH PRUH GLI¿FXOW WKDQ WKH
work already done by Dickmanns’s team was all of the off-road
GULYLQJ 7KHUH ZHUH IHZHU UHJXODULWLHV QR VLJQV DQG QR FDUV WR
126
follow. Off-road driving is less structured than on-road driving.
(YHQWKRXJKURERWVVWDUWHGQRWDVLQJOHURERWLFYHKLFOH¿QLVKHG
the 150-mile course.
'DYLG0F1HZ*HWW\,PDJHV1HZV7KLQNVWRFN
Although the DARPA Grand Challenge in 2004 yielded no winners, it did spur
LQQRYDWLRQLQWKH¿HOG¿YHYHKLFOHV¿QLVKHGWKHFRXUVHLQWKHQH[W\HDU¶V
competition.
127
course in the desert of Nevada, and 5 autonomous robotic vehicles
¿QLVKHGWKHFRXUVH%HFDXVHRIWKLVKXJHDQGSRVLWLYHWXUQDURXQG
many consider the DARPA challenge of 2005 to be a watershed
moment in robotics.
z Perhaps the most revealing result in 2005 was that the winning
robot, Stanley D PRGL¿HG 9RONVZDJHQ 7RXDUHJ KDGQ¶W HYHQ
competed the year before. Stanley was the brainchild of the
Stanford Racing Team, which was led by Sebastian Thrun, then the
GLUHFWRURIWKH6WDQIRUG$UWL¿FLDO,QWHOOLJHQFH/DERUDWRU\
Driverless Cars
z Nearly all automobile manufacturers have worked on autonomous,
Lecture 14—Self-Driving Vehicles
128
z 2QH RI WKH EHQH¿WV RI GULYLQJ RQ URDGV DV RSSRVHG WR RIIURDG
driving, is that roads offer more regularities in the world, and more
structure, from lines to signs and curbs. Google also has mapped
roads, so the robotic car doesn’t have to start from scratch the way
Stanley had to in the desert.
z States in the United States began to offer driverless cars the right
to operate in 2012, and testing began in the United Kingdom,
Singapore, and other countries. One of the great things about these
vehicular robots is that this technology can be applied to trains,
trucks, and buses as well. So, the potential is to completely overhaul
our transportation networks that carry people and goods.
%HQH¿WVRI'ULYHUOHVV&DUV
z )RUDOOYHKLFOHVDQLPPHGLDWHEHQH¿WWKDWZHVHHHYHQZLWKGULYHU
assist functions in a semiautonomous vehicle, is safety. While the
number of deaths from automobile accidents continues to trend
downward as we’ve added safety features such as seat belts, air
bags, antilock brakes, and adaptive cruise control, tens of thousands
of people still die every year from vehicle-related accidents, and
PLOOLRQVPRUHDUHLQMXUHG
z The promise of driverless cars, trucks, and buses with even more
DXWRPDWLRQLVWKDWWKH\ZRXOGUHGXFHWKRVHGHDWKVDQGLQMXULHVPXFK
further. But what about cases where some sort of collision remains
unavoidable? For those cases, rules about how to have a collision
can also be programmed into the world model of the vehicle.
129
A Brief History of Driverless Cars
RVVDPRGL¿HG&KHY\7DKRHEXLOWE\&DUQHJLH0HOORQ
%
and General Motors, wins the DARPA Urban Challenge,
QDYLJDWLQJDPLOHFRXUVHZKLOHREH\LQJDOOWUDI¿FODZV
of California, including avoiding pedestrians.
HYDGD DQG )ORULGD EHFRPH WKH ¿UVW 86 VWDWHV WR
1
permit testing of autonomous vehicles on ordinary roads;
Michigan and California follow in 2013.
130
z One of the unexpected consequences of having driverless cars is
that we will be able to put many more cars on the road. By some
HVWLPDWHV RQO\ ¿YH SHUFHQW RI D FURZGHG URDG LV RFFXSLHG E\
vehicles. Lanes are much wider than the width of the vehicles,
and following distances are kept larger than physically required to
compensate for the slow reaction times of human drivers.
z %XW ZLWK URERWLF YHKLFOHV WKH RSSRUWXQLWLHV JR IDU EH\RQG WUDI¿F
OLJKWV6WRSDQGJRWUDI¿FRIDOONLQGVLVWKHZRUVWIRUPLOHDJHIRU
WZR UHDVRQV ,I \RX DUH VWRSSHG WKHQ \RX DUHQ¶W JRLQJ DQ\ZKHUH
and when you accelerate, you use more gas than you do when you
can simply cruise at constant velocity.
Important Terms
machine learning&RPSXWHUSURJUDPVZULWWHQWRPDNHDGMXVWPHQWVWRWKHLU
code, with or without direct feedback from a human, in order to improve
performance of the code itself or the robot that the code controls.
Stanley $ IXOO\ DXWRQRPRXV FDU WKDW ZRQ WKH '$53$ *UDQG
Challenge, created by Stanford Racing Team.
131
Suggested Reading
'LFNPDQQ$SSHQGURW DQG %UHQN ³+RZ :H *DYH 6LJKW WR WKH 0HUFHGHV
5RERWLF&DU´
Thrun, Burgard, and Fox, Probabilistic Robotics, chap. 1.
7KUXQHWDO³6WDQOH\´
Other Resources
The Great Robot Race. This NOVA program, available to watch online
KWWSZZZSEVRUJZJEKQRYDGDUSDSURJUDPKWPO JHWV \RX EHKLQG WKH
scenes of the teams and under the hoods of the robots at the Grand Challenge
of 2005.
Questions to Consider
1. If you want to build the best robotic car possible, which kind of
DUFKLWHFWXUH ZRXOG EH EHWWHU IRU WKH FRQWUROOHU EHKDYLRUEDVHG RU
model-based?
Lecture 14—Self-Driving Vehicles
132
Flying Robots: From Autopilots to Drones
Lecture 15
A
nytime that we build robots to work outside, the challenges mount.
But the challenges are redoubled for aerial robots. The physical
GHPDQGV RI À\LQJ LPSDFW HYHU\ V\VWHP RQ WKH URERW 6HQVRUV
and actuators have to support full mobility in three dimensions; energy
requirements are high, while weight has to be kept as low as possible, and
the entire control loop has to function much faster. However, the challenges
of aerial mobility are what made aviation an early and consistent adopter of
robotic technologies.
Aerial Robots
z Piloted aircraft often include robotic assist technologies that
operate the aircraft autonomously when the pilot turns them on.
The best example is the autopilot found on commercial aircraft.
:KLOHZHGRQ¶WQRUPDOO\WKLQNRIDSODQHÀRZQE\DXWRSLORWDVDQ
autonomous robot, it is, at least when the pilots aren’t at the controls.
An autopilot is an embedded robotic system, with autonomous self-
control using sensors to guide movements.
z $HULDO URERWV JR E\ D ZKROH KRVW RI QDPHV GURQHV XQPDQQHG
aircraft, unmanned aerial vehicles, unpiloted aircraft, unpiloted
aerial vehicle, unpiloted air system, and remotely piloted aircraft.
133
z The Walkera TALI H500 is a hexacopter drone. It has six propellers
that provide the thrust for lift, to keep it aloft, and the thrust for
moving forward and maneuvering. You control the TALI using a
radio control console that transmits and receives signals, including
video from the drone.
z The drone controls itself to remain stable. To keep the robot still
takes all sorts of control. When some external force attempts to
tilt the drone, it senses an acceleration and tilt using its onboard
three-axis inertial sensor. Once movement is detected, the onboard
controller immediately reacts by having the three actuators on
the side pushed downward to increase their thrust to counter the
SHUWXUEDWLRQ$IWHUWKLV¿UVWFRUUHFWLYHDFWLRQWKHQWKH7$/,+
has to modulate the thrust on all six thrusters to damp any wobble
that might have been set up.
distance that the ping sensor measures is not one meter, then the
WKUXVWLVDGMXVWHGWRHLWKHUUDLVHRUORZHUWKHFUDIW
134
PDUHNXOLDV]L6WRFN(GLWRULDO7KLQNVWRFN
Aerial robots are useful in many situations, enabling us to go where it might not
be safe or feasible for humans to go.
z Because the TALI H500 has autopilot functions but also allows
a person to control it, it’s a remote control drone with some
autonomous functions. Most drones are this mix of remote control
by a human and autonomous control by the robot. What varies
among drones is the degree to which they offer autonomous
autopilot functions.
z The needs to not lose the drone and to avoid destroying it are the
UHDVRQVWKDWWKHVHDXWRQRPRXVÀLJKWIHDWXUHVFRPHDVWKHVWDQGDUG
defaults. One of the great safety features built into the TALI
+ LV WKDW LI \RX À\ LW RXW RI FRPPXQLFDWLRQV FRQWDFW LW ZLOO
automatically return to its staring position. It uses GPS navigation
to accomplish this.
135
z The bodies of robotic aircraft need to be lightweight to minimize
the energy needed to keep the drone aloft. Bodies need to be
aerodynamically shaped to help the actuators generate lift and
reduce drag. If engine power is lost, bodies also need to be able to
glide, parachute, or otherwise survive an emergency landing.
z (QHUJ\ VXSSO\ QHHGV WR EH RI KLJK GHQVLW\ EHFDXVH WKH FRVW RI
À\LQJLVVRKLJK7KHSULPDU\FRVWLVWRVWD\DORIWWRJHQHUDWHOLIW
If this can be done for free, as in a balloon or dirigible, the energy
FRVW RI ÀLJKW LV IRU IRUZDUG SURSXOVLRQ RQO\ %XW OLJKWHUWKDQDLU
craft suffer from needing a large size to carry gases. The large size
makes them slow.
136
z <RXFDQDOVRJHWUHSODFHPHQWEDWWHULHVWKDWGRXEOHWKHÀLJKWWLPH
But there are always trade-offs. A battery with more capacity
usually means a heavier battery. A heavier drone means that the
motors have to spin faster in order to keep the quadcopter hovering.
Add a big enough battery to spin the motor for a couple of hours
and the drone can’t even take off.
z 7KHFKDOOHQJHVRIFRQWUROOLQJDURERWLQWKHDLUDUHH[HPSOL¿HGE\D
VLPSOHEHKDYLRUREMHFWDYRLGDQFH2EMHFWDYRLGDQFHLVYHU\HDV\WR
program in land-based robots. For example, Roomba uses bumpers
with infrared proximity detectors, which are active sensors that
emit electromagnetic energy in the infrared range. The sensor also
KDV D GHWHFWRU WKDW LV UHDGLQJ WKH LQWHQVLW\ RI WKH UHÀHFWLRQ RI WKH
LQIUDUHGHQHUJ\RIIDQREMHFW
137
that use video. Because many microdrones have video, this would
EHJUHDW7KHSUREOHPLVWKDWWRGHWHFWREMHFWVTXLFNO\ZLWKYLGHR
you need a fast computer, and fast computers tend to weigh more
than slow ones.
138
z Radio-controlled gliders have been able to use this technique to go
HYHQIDVWHU²PXFKIDVWHU5DGLRFRQWUROOHGJOLGHUVÀ\LQJLQDORRS
over mountainous terrain have been steadily breaking one another’s
records, with a new record of more than 500 miles per hour reached
using a Kinetic 130DP glider in 2014.
z +\EULGV WKDW XVH ERWK ¿[HG ZLQJV DQG URWDU\ ZLQJV DUH DOVR
possible. This approach has been demonstrated in the Makani
3RZHUNLWHZKLFKZDVWKH¿UVWIXOO\DXWRQRPRXVZLQGKDUYHVWLQJ
robot, demonstrated in 2013 and bought that same year by Google.
z 6WLOO WKH ELJJHVW IURQWLHU LV WKH VPDOO À\LQJ URERWV &RPSDUHG WR
larger drones, microdrones operate near the ground, in complex
urban environments, and even inside buildings. Being so near the
ground, a microdrone encounters a host of obstacles, including
buildings, wires, and trees.
z 0LFURGURQHV OLNH WKH 6FRXW ; UHSUHVHQW WKH QHZ ZDYH RI DHULDO
robots. They are small and affordable, and because of their built-
in autonomous functions, they are very easy to pilot and navigate.
Drones with cameras on board are exciting for a host of potential
uses, including search and rescue, hazardous environment
exploration, high-resolution weather and climate mapping, and
WUDI¿FPRQLWRULQJ
139
Important Term
dynamic soaring$ W\SH RI JOLGLQJ ÀLJKW LQ ZKLFK WKH DQLPDO RU YHKLFOH
gains velocity and height by harvesting energy from steep wind gradients
located near surfaces.
Suggested Reading
-DUQRW³+LVWRU\´
Sperry, 1931, Wireless-controlled aerial torpedo, U.S. Patent 1,792, 937.
Zaloga, Unmanned Aerial Vehicles.
Other Resources
)HGHUDO$YLDWLRQ$GPLQLVWUDWLRQ8QPDQQHG$LUFUDIW6\VWHPVKWWSVZZZ
IDDJRYXDV $V UXOHV DQG UHJXODWLRQV IRU XQPDQQHG DLUFUDIW RI DOO W\SHV
evolve rapidly, this is the epicenter of change.
Lecture 15—Flying Robots: From Autopilots to Drones
Question to Consider
Sensors
&RQVLGHUWKHDXWRPDWLFSLORWLQYHQWHGE\(OPHU6SHUU\,I\RXDUHÀ\LQJ
a plane and it has an autopilot, is that plane a closed-loop robot?
140
Underwater Robots That Hover and Glide
Lecture 16
N
owhere are the challenges of working with robots in the wild more
GLI¿FXOWWKDQRQDQGLQWKHZDWHU7RZRUNLQDULYHUODNHRURFHDQ
every aspect of the robot has to be redesigned. The challenges are
especially severe if you aim to have your mobile robot go underwater, where
we call it an autonomous underwater vehicle (AUV). The body, energy
supply, actuators, sensors, controller, and communications systems of an
AUV all operate differently than they do on land or in the air.
z $OZD\V GRXEOHFKHFN \RXU URERW IRU OHDNV DW WKH ODXQFK VLWH MXVW
SULRU WR SXWWLQJ LW LQ WKH ZDWHU (YHQ ZKHQ ZH EXLOG URERWV IRU
swimming on the surface of the water, we need to worry about leaks.
Sensors in Water
z The sensors we use in the air and on land often work poorly or not
at all in water. While radio waves work well in the air, they do not
work well underwater. The radio frequencies we use in air have
wavelengths from about 10 centimeters to 10 meters—a size that
is not absorbed by the atmosphere. That’s why we use them. But
water quickly attenuates those same radio waves underwater.
141
light from the surface can penetrate. The distance where more than
99 percent does not get through occurs on average at distances of
only 200 meters (660 feet).
E\UHÀHFWLRQVDQGDWWHQXDWLRQFUHDWHGE\VFDWWHURIIRISDUWLFOHVLQWKH
water. Also, the amount of information that you can transmit with a
pinger is very small, because all that you can vary to represent that
information is the pattern of the pulse of sound—the rhythm.
142
z Local sensors, operating over short distances, offer a creative way
around the limitations of radio waves, acoustic signals, or tethers.
$VROXWLRQKDVEHHQSURWRW\SHGE\(XURSHDQURERWLFLVWVLQDSURMHFW
called Collective Cognitive Robotics (CoCoRo). The idea is to use
EOXH OLJKW WR ÀDVK FRPPXQLFDWLRQV XQGHUZDWHU 7KH GLVWDQFH RI
FRPPXQLFDWLRQ LV DFKLHYHG E\ D EXFNHW EULJDGH DSSURDFK 8VH D
swarm of robots arranged in a linear chain. A signal at one end of
the chain propagates along the chain.
z )RU H[DPSOH WKH 3$,9 URERW MRLQWO\ GHYHORSHG E\ 6XEVHD DQG
SeeByte, has a three-dimensional sonar that looks forward and a
'SUR¿OLQJVRQDUWKDWORRNVGRZQ3$,9KDVDQDYLJDWLRQV\VWHP
that includes a compass and inertial guidance sensors. PAIV also
has an acoustic communication system and a camera and lights to
gather pictures.
143
z Sensors underwater face a number of challenges because of the
physical properties of water and operating in the wild. Video
systems, for example, only work if the water is clear and light is
available. Go into murky waters of a delta or into the deep and you
are in trouble if you are relying on vision.
z PAIV locates the cable riser using sonar. Then, it moves along the
FDEOHGHOLYHULQJYLGHRLPDJHVRIWKHFDEOHVDQGÀRDWVIRUDWRSVLGH
human to review. Sonar is clearly the primary sensor system for
sensor-guided movements.
8 DOVR NQRZQ DV 6FDUOHW .QLJKW EHFRPHV WKH ¿UVW
5
$89 WR FURVV WKH$WODQWLF 2FHDQ XQGHUZDWHU D MRXUQH\
that took 221 days.
144
Bodies of Aquatic Robots
z 7KH ERGLHV RI DTXDWLF URERWV DUH RIWHQ YHU\ GLVWLQFWLYH 7KH ¿UVW
autonomous underwater robot was a torpedo. But while torpedoes
DUHZHDSRQVWKHSK\VLFVWKDWPDNHVWKHPVRHI¿FLHQWKDVLQVSLUHG
a whole body type among modern autonomous underwater vehicles
(AUVs), many used for other purposes.
z %OXH¿Q5RERWLFVKDVDWRUSHGRVKDSHG$89FDOOHGWKH%OXH¿Q
The tail doesn’t have the protruding control surfaces of a standard
:KLWHKHDG WRUSHGR QR UXGGHU DQG QR HOHYDWRU 7KDW VOHHN GHVLJQ
reduces the chances of the tail getting hung up on cables, seaweed,
or the like.
,85,,.2'(17&(9L6WRFN7KLQNVWRFN
7KHSK\VLFVWKDWPDNHWRUSHGRHVHI¿FLHQWXQGHUZDWHUPDNHWKHERG\VKDSH
ideal for other autonomous underwater vehicles.
145
Shapes like torpedoes that are tapered in the front and the back
make for very smooth traveling through the water. They are said to
EHVWUHDPOLQHGZKLFKPHDQVPRUHHQHUJ\HI¿FLHQWWRPRYH
z )RULWVWRUSHGRVKDSHGURERWV%OXH¿QKDVGHVLJQHGWKHWDLOFRQHDV
D³ducted thruster´WKDWLVDUWLFXODWHG7KHFRQQHFWLRQRIWKHWDLO
FRQHWRWKHKXOOLVOLNHDEDOODQGVRFNHWMRLQW$VZLYHOLQJMRLQWOLNH
WKLVJLYHVWZRGHJUHHVRIIUHHGRPIRUWKHDGMXVWPHQWVRIWKHWKUXVW
The tail cone can pitch, yaw, or move in some combination of the
two. The AUV steers by rotating the tail cone to direct its thrust in
different directions.
146
z Gliders work by changing their density relative to the water. An
REMHFW GHQVHU WKDQ ZDWHU ZKDW ZH FDOO QHJDWLYHO\ EXR\DQW ZLOO
VLQN DQ REMHFW OHVV GHQVH WKDQ ZDWHU ZKDW ZH FDOO SRVLWLYHO\
EXR\DQWZLOOÀRDW$JOLGHUDWWKHVXUIDFHRIWKHZDWHUPDNHVLWVHOI
negatively buoyant so that it sinks and uses that sinking motion to
allow it to move forward, thanks to its wings.
Important Term
147
Suggested Reading
Bohm and Jensen, Build Your Own Underwater Robot, and Other Wet
Projects.
Bureau of Ordnance, Department of Navy, The Whitehead Torpedo.
/RQJ³%LRPLPHWLFV´
Other Resources
*HWVWDUWHGRQRSHQVRXUFHXQGHUZDWHUURERWVKWWSRSHQURYFRP
Questions to Consider
yaw
roll
pitch
148
a. Use a three-axis accelerometer, compass, and inclinometer to
determine and control the rotation of the robot in three rotational
dimensions.
c. Let the robot freely roll, pitch, and yaw as forces dictate.
b. Any leak in the robot’s hull will short-circuit the onboard electronics.
149
Space Robots in Orbit and on Other Worlds
Lecture 17
S
SDFH LV WKH ¿QDO IURQWLHU DQG URERWV DUH WKH YDQJXDUG RI RXU KXPDQ
explorations of the universe. With space missions, we push the
extreme of working remotely with and through our robots. Robots in
space include rockets, spacecraft, shuttles, satellites, probes, landers, and
URYHUV2QERDUGVKXWWOHVRUVSDFHVWDWLRQVZHDOVR¿QGPDQLSXODWRUURERWV
and humanoids. Much of the work in space robotics has focused on low-
(DUWKRUELWDQGWKHVXUIDFHVRIRWKHUSODQHWV
Orbital Robots
z 7KH PRVW H[FLWLQJ SURMHFW LQ RUELWDO URERWLFV LV WKH ,QWHUQDWLRQDO
Space Station, where humanoid robots are being developed to help
humans work inside the space station. Robonaut 2 (R2) arrived on
Lecture 17—Space Robots in Orbit and on Other Worlds
150
z NASA plans for R2 to work on the outside of the station, too,
ZKHUHFRQGLWLRQVDUHH[WUHPHO\KDUVK$WWKH(DUWK¶VGLVWDQFHIURP
the Sun, such as the International Space Station, temperatures in
sunlight can rise to more than 120 degrees Celsius or 248 degrees
Fahrenheit, well past boiling (for water). But on the side of the craft
not facing the Sun, heat radiates away so quickly that temperatures
RQWKHGDUNVLGHFDQVLQNWRíGHJUHHV&HOVLXVRUíGHJUHHV
Fahrenheit, well below freezing.
z Because it takes about 90 minutes for the space station to orbit the
(DUWKLI5ZHUHZRUNLQJRXWVLGHIRUDIHZKRXUVLWFRXOGHDVLO\
encounter those extreme temperatures. Without thermal control, R2
would likely suffer a number of problems, including camera and
battery malfunctions.
z 5ZLOOQHHGWREHRXW¿WWHGZLWKDQDUUD\RISDVVLYHWKHUPDOFRQWURO
(such as insulation and external coatings) and active thermal control
systems (such as electric-powered heaters and coolers).
z Part of R2’s great ability to reach and grasp and interact safely
comes from the touch sensors that it has on its hands. These sensors
provide R2 with feedback so that it can hold onto very fragile
REMHFWVRUDSSO\VWURQJHUIRUFHZKHQQHHGHG
151
z R2 has been designed to be compliant. It knows when it has
HQFRXQWHUHGDQXQH[SHFWHGREMHFWDQGZLOOVKXWGRZQLPPHGLDWHO\
This makes R2 safe to work with. R2 also has a vision system. It
can pick up an envelope and examine it. This function involves
UXGLPHQWDU\REMHFWLGHQWL¿FDWLRQ
z (YHQWKRXJK5RQO\ZRUNVLQVLGHWKHVSDFHVWDWLRQDWWKHPRPHQW
other robots are at work outside. They are all versions of armlike
robots that are similar to the pick-and-place robots that work in
IDFWRULHV7KH ¿UVW RI WKHVH RXWVLGH RXWHU VSDFH URERWLF DUPV ZDV
the so-called Canadarm. Built for the space shuttles by the Canadian
Space Agency, the remote manipulator system was teleoperated by
crew members through a computer interface.
z The remote manipulator system was used to unpack the cargo bay
RI WKH VKXWWOH RU WR JUDE DQG PDQLSXODWH REMHFWV DOUHDG\ LQ RUELW
7KH MRLQWV ZHUH NH\ WR WKH IXQFWLRQLQJ RI WKH UHPRWH PDQLSXODWRU
V\VWHP,WKDGDZULVWHOERZDQGVKRXOGHUHDFKMRLQWKDYLQJWKUHH
Lecture 17—Space Robots in Orbit and on Other Worlds
z +DYLQJEXLOWWKH,QWHUQDWLRQDO6SDFH6WDWLRQRQHRIWKHPDLQMREV
of Canadarm2 is to grab, dock, and unload unmanned spacecraft
that deliver vital supplies. Canadarm2 has the ability to perform
¿QHUVFDOHPDQLSXODWLRQVE\DGGLQJRQWRLWVHQGDWZRDUPHGURERW
called Dextre, which is loaded with many degrees of freedom,
allowing it to swivel, pitch, yaw, and grasp.
152
Extraterrestrial Robots
153
Interplanetary Robots
z ,QDGGLWLRQWRRUELWDOURERWLFVWKHRWKHUPDMRU¿HOGRIVSDFHURERWLFV
is that of interplanetary robotics, whose stars are the planetary
URYHUV 8QOLNH URERWV LQ RUELW DURXQG WKH (DUWK URERWV RQ RWKHU
planets are separated from us by both long distances and long lag
times in communications.
z %XW WKH URERWLFV FKDOOHQJH LV QRW MXVW DERXW KRZ WR FRPPXQLFDWH
with your robots but how to control them over long distances,
for purposes of virtual presence and virtual agency. Presence and
agency are essential for scientists and explorers and for being
DEOH WR DGMXVW WKH RULJLQDO PLVVLRQ DV QHZ LQIRUPDWLRQ UHYHDOV
faulty assumptions, as the robots have problems, or as increased
understanding of the planet provides opportunity for new tasks and
goals to emerge.
z Twin robot rovers, Spirit and Opportunity, were built to study the
Lecture 17—Space Robots in Orbit and on Other Worlds
z %HFDXVH RI WKHLU VFLHQWL¿F WDVNV 6SLULW DQG 2SSRUWXQLW\ DUH RIWHQ
FKDUDFWHUL]HG DV URERW JHRORJLVWV )RXU WHDPV RQ (DUWK JXLGH WKH
JHRORJLFDO ZRUN ZKLFK IDOOV LQWR IRXU FDWHJRULHV PLQHUDORJ\ DQG
geochemistry, soils and rocks, geology, and atmosphere.
154
z (DUO\LQWKHPLVVLRQWKHVHIRXUVFLHQWL¿FWHDPVPHWGDLO\WRGLVFXVV
the latest information from the robots and then created a new plan
for the following day. Then, those plans were uploaded, via radio,
to each rover. The rovers would then autonomously enact the plans
and report back.
5RERWJHRORJLVWV6SLULWDQG2SSRUWXQLW\DUHQRWUHPRWHO\FRQWUROOHGLQUHDOWLPH
the robots autonomously enact the plans uploaded by NASA.
155
z Reprogrammable autonomy is the type employed in Spirit,
2SSRUWXQLW\ DQG &XULRVLW\ URYHUV RQ 0DUV (YHU\ GD\ D QHZ
program, a new plan, is uploaded to each rover.
z
Lecture 17—Space Robots in Orbit and on Other Worlds
The robot’s energy supply powers the radio transmitter and receiver.
All of the sensors and instruments on the rovers also require energy,
so their use has to be carefully planned and scheduled. With their
cameras, the rovers have created an incredible catalogue of images of
0DUV7KUHHVFLHQWL¿FVHQVRUV\VWHPVDOORIZKLFKDUHspectrometer
instruments, look for water, iron, and chemical composition.
z 0DNLQJ LW SRVVLEOH IRU WKHVH LQVWUXPHQWV WR GR WKHLU MREV LV WKH
arm, or what NASA calls the instrument deployment device. The
URYHU¶VDUPKDV¿YHGHJUHHVRIIUHHGRP7KHMRLQWVRIWKHVKRXOGHU
HOERZDQGZULVWDUHDOOUHYROXWHMRLQWVWKDWURWDWH7KHVKRXOGHUKDV
WZR MRLQWV RULHQWHG SHUSHQGLFXODU WR HDFK RWKHU 7KH HOERZ KDV D
VLQJOHMRLQW7KHZULVWKDVWZRMRLQWV$VWKHZULVWURWDWHVLWEULQJV
different instruments on the hand to bear on the soil.
156
z 6FLHQWL¿FDFKLHYHPHQWVRIWKHPLVVLRQKDYHEHHQPDQ\6SLULWWRRN
movies of swirling dust devils, found circumstantial evidence of
water by detecting sulfate minerals, and found silica deposits that
indicate a much wetter past. Opportunity found evidence for water
over a wider range of terrain, indicating a past with large bodies of
standing water.
Activity
&DQDGDUPVLPXODWRU
ZZZDVFFVDJFFDHQJPXOWLPHGLDJDPHVFDQDGDUP
0DGH DYDLODEOH E\ WKH &DQDGLDQ 6SDFH$JHQF\ WKLV LV WKH RI¿FLDO
simulator game of the Canadarm2. One of the challenges is to use the
three different cameras to create a three-dimensional understanding
RIWKHVSDFHVWDWLRQLQ\RXUKHDG<RXUPLVVLRQLVWZRIROGWRLQVWDOO
DPRGXOHDQGWKHQWRWUDQVSRUWDQDVWURQDXW*RRGOXFN
Important Term
spectrometer$Q\RIDODUJHFODVVRILQVWUXPHQWVGHVLJQHGWRPHDVXUHKRZ
the intensity of a physical property varies across a range of frequencies,
energies, or masses.
Suggested Reading
157
Other Resources
7KH RI¿FLDO ZHEVLWH IRU WKH URERWV 6SLULW DQG 2SSRUWXQLW\ KWWSPDUVMSO
QDVDJRYPHUKRPH
7KHRI¿FLDOZHEVLWHIRUWKHURERW&XULRVLW\KWWSPDUVMSOQDVDJRYPVO
Question to Consider
c. A human in the control loop allows for careful checks on the status
of a valuable robot.
158
Why Military Robots Are Different
Lecture 18
M
ilitary robots lead the pack in terms of innovations in robotics,
because they have to be customized to operate in the air, on and
under the sea, and even in space. Many military robots have been
self-guided weapons; they were designed to destroy and kill. Therefore,
there are tensions between semiautonomous military robots and the need
for humans to oversee safety and control. There are trade-offs to consider
EHWZHHQ VSHHG RI DFWLRQ DQG FRPSOH[LW\ RI SODQ DQG WKH LGHQWL¿FDWLRQ RI
friend or foe becomes far more important in military situations than in any
other area of robotics.
z %HKDYLRUEDVHGFRQWUROOHUVDUHIDVWUHÀH[LYHV\VWHPVVXFKDVWKH
escape response on a Roomba vacuum cleaner. A sensor triggers a
UHVSRQVH:KHQLWGHWHFWVDQREMHFWRUDFKDQJHLQHQYLURQPHQWDO
conditions, that information triggers the programmed software
159
controller to send instructions to the motors of the wheels to initiate
a series of movements called an escape. If multiple sensors are
WULJJHUHGWKHFRQWUROOHUDOORZVRQHUHÀH[WRRYHUUXOHWKHRWKHUVD
decision that it makes based on a set of priorities programmed into
its code by humans.
z Probabilistic robotics has helped build the very successful and safe
autonomous robots known as self-driving, or driverless, cars. In this
area of robotics, in addition to making autonomous robots operate
160
VDIHO\ LQ G\QDPLF UHDOZRUOG VLWXDWLRQV ZH FDQ ZLWK VXI¿FLHQW
investment, make them operate much more safely than humans
working under similar conditions.
z And that difference in how robots and humans work is a great thing,
practically speaking. That’s why robots are better drivers than
humans. They don’t get tired, or distracted, or emotional. And that’s
why—if programmed correctly—robots can be better soldiers. But
we have a long way to go.
161
Automation and Navigation
z One area in which robots are not yet capable of being better soldiers
WKDQKXPDQVLVLQWKHLGHQWL¿FDWLRQRIIULHQGRUIRHLQQRQWUDGLWLRQDO
battle situations. This is a huge problem for humans, too; an
occupying army faces this problem continuously.
z 7KHJHQHUDOSUREOHPLVFDOOHGFRPEDWLGHQWL¿FDWLRQDQGWKHPLOLWDU\
has been working on a technological solution since World War II
transponders with coded signals on vehicles or individuals can be used
to positively identify a friend, as can careful tracking from known
starting positions. But confusion exists if a transponder is broken or
tracking is interrupted. In addition, the activation of a transponder
can also alert the foe to the presence of your own soldiers.
that any mobile robot has to solve. You have to know where you are
to get where you want to go. GPS works as a system of navigational
LFKRODNRYL6WRFN7KLQNVWRFN
The Predator drone and its descendants are given only partial autonomy to
PLQLPL]HHUURUVLQFRPEDWLGHQWL¿FDWLRQDQGPDLQWDLQVDIHW\DQGFRQWURO
162
beacons that can be used to calculate your position. The current
*36V\VWHPLVDQHWZRUNRI(DUWKRUELWLQJVDWHOOLWHV7KHURERW
needs the ranges and locations of four satellites to calculate its
position using a process called trilateration.
163
Bioinspired Robots
z The legged squad support system (LS3) is basically a robotic
SDFNKRUVHEXLOWLQFRQMXQFWLRQZLWK'$53$E\%RVWRQ'\QDPLFV
This four-legged robot, which is the size of a horse, can carry 400
pounds and, most importantly, can do so over rough terrain. Because
the design of LS3 is inspired by animals, it has a biomorphic body
plan. LS3 is partially autonomous.
ZD\V ,W WDNHV HQHUJ\ WR DOZD\V EH PRYLQJ \RXU OHJV DQG LW DOVR
takes a lot of sensing to do the balancing act.
164
Robots in the Military
UHGDWRU 8$9V ¿UH PLVVLOHV IRU WKH ¿UVW WLPH LQ 86
3
campaigns, in Iraq and Afghanistan.
z From a range of 100 miles or more, the V-2 could hit within 600
meters of its target. That’s a measure of its functional accuracy.
After WWII, the United States and the Soviet Union captured as
PXFK RI WKLV9 WHFKQRORJ\ DV WKH\ FRXOG7KH9 MXPSVWDUWHG
their own ballistic missile programs and their space programs.
Because of their accuracy, PIGA sensors allowed the V-2 rocket to
be independent of human control once the rocket was launched.
165
z Fully autonomous robotic systems have also been developed for
defensive actions. The Phalanx, a close-in weapons system, is a
very important unmanned system that has been used by the U.S.
Navy since 1980.
z The task of Phalanx is more complex than that of a V-2. It’s not
MXVWWRODXQFKDQGODQGDQH[SORVLYHGHYLFH3KDODQ[KDVWRGHWHFW
evaluate, track, and engage targets that are rapidly moving and
attempting to destroy the Phalanx’s ship. The task of the Phalanx
is to be the last line of defense against anti-ship missiles and high-
speed aircraft. This is a do-or-die situation in which both speed and
accuracy are critical.
z Because of the need for speed, the Phalanx needs a high degree of
DXWRQRP\ IURP KXPDQV 8QGHU PRVW EDWWOH FRQGLWLRQV WKH MRE RI
WKHKXPDQRSHUDWRULVWRKLWD³KROG¿UH´EXWWRQLIVRRUGHUHGE\WKH
Lecture 18—Why Military Robots Are Different
¿UHFRQWUROFRPPDQG(YHQWKRXJK3KDODQ[DXWRPDWLFDOO\GHWHFWV
tracks, and engages targets, it does not decide who is friend and
who is foe.
z All detected targets approaching the ship are treated as foe. This
LV RQH ZD\ DURXQG WKH GLI¿FXOW SUREOHP RI FRPEDW LGHQWL¿FDWLRQ
trying to categorize your targets. Admittedly, this is a very
dangerous way to program a robot.
Important Term
gyroscope 0HFKDQLFDO RU HOHFWURQLF URWDWLRQ VHQVRU WKDW LV XVHG IRU
maintaining or measuring orientation; often linked with an accelerometer for
more precise location in three-dimensional space.
166
probabilistic robotics$IUDPHZRUNIRUWKHGHVLJQRIURERWVWKDWH[SOLFLWO\
models the uncertainty inherent in the signals provided by sensors, the
models created by controllers, and the movement instantiated by actuators.
Suggested Reading
Question to Consider
167
Extreme Robots
Lecture 19
R
obots with legs offer some of the most extreme physical challenges
in all of robotics. The physics of dynamic walking, whether with two
or four legs, is a balancing act similar to an inverted pendulum—and
LVMXVWDVXQVWDEOH(YHQPRUHH[WUHPHWKHSK\VLFVRIUXQQLQJLVFRPSDUDEOH
WRDSRJRVWLFNZKHUHEDODQFLQJLVLQWHUVSHUVHGZLWKVKRUWSHULRGVRIÀLJKW
Military packhorse robots already confront the challenges of dynamic
stability. The challenges become even greater in some of the largest, fastest,
and smallest of all legged or limbed robots, making them some of the most
extreme robots in existence.
168
z For terrestrial animals and robots, those that don’t move about in
ÀXLG WKH ¿UVW FKDOOHQJH LV WR KROG XS WKHLU ZHLJKW DW OHDVW ZKHQ
standing still. Weight is the force generated by gravitational
acceleration acting on their body’s mass.
169
z Hydraulic systems are useful because they allow the motor to be
centralized. The alternative, which we tend to see in smaller robots,
VXFKDV+H[\IURP$UFERWLFVLVWRGLUHFWO\GULYHHDFKMRLQWZLWKLWV
own motor. A great thing about individual motors is that you can
easily program different behaviors by controlling each motor.
z With hydraulics, you keep the motor or motors inside the body
DQGXVHÀXLGWRWUDQVPLWWKHIRUFHRXWWRWKHMRLQWV)RUYHU\ODUJH
robots, a hydraulic system is a clever way around a physical limit.
z At the other end of the scale, at the really small end, there are
challenges of a different kind. There are mini robots based on the
ERGLHVRIÀLHVDQGEHHV7REXLOGDPLFURPDFKLQHWKDWÀLHVDQGFDQ
be powered and controlled, with the lateral maneuvers, has been a
ELJFKDOOHQJH)RUVPDOOURERWVDPDMRUSUREOHPLVKDYLQJHQRXJK
fuel, or energy storage, on board.
DWYHU\VPDOOVL]HVMXVWGRQ¶WSURGXFHPXFKIRUFH
z When you try to make microbots, the trade-off is that the longer that
you want your microbot to operate on its own, without a tether to an
off-board energy supply, the bigger you have to make the battery.
Bigger batteries mean bigger robots.
170
Nanobots versus Large Robots
z One intriguing way around the problem of putting energy and
control on board a tiny robot is to build a world outside the robot
that contains both. If you can’t modify the robot, modify the
environment. This approach is allowing nanobots to be created.
With nanobots, the idea is to make tiny robots that operate on the
level of molecules.
171
z Robots at this intermediate size can be built to be the fastest-
legged creatures. OutRunner is biologically inspired. The legs are
key, acting like individual pogo sticks in much the same way that
your legs work when you are running. As the leg hits the ground, it
compresses, storing energy in internal springs. That spring energy
can be reused to help propel OutRunner forward, pushing it forward
as the legs rotate backward.
z 2XW5XQQHULVDYHU\HI¿FLHQWUXQQHUSHUVWHSRUSHUERG\OHQJWK
very little energy is used. The battery on board will last for two full
hours—outstanding mission time for something moving so quickly.
$QRWKHUDVSHFWRI2XW5XQQHU¶VGHVLJQWKDWPDNHVLWHI¿FLHQWLVLWV
springlike legs, which store and return energy for propulsion. Also,
those legs are lightweight and don’t have to be accelerated back and
forth, like human legs do.
Robot Legs
z Speed is the product of stride length and stride frequency. What
limits your speed as you walk is, in part, that your stride length
is limited by the length of your legs. When you run, you actually
launch yourself into the air. You are leaping from one foot to the
other, and that aerial suspension increases your stride length.
172
UHJROXLVL6WRFN7KLQNVWRFN
Horses are fast due to a combination of size and stride length.
z 6FDOLQJ ZRUNV IRU DQLPDOV DQG URERWV <RX QHHG WR VFDOH \RXU
skeleton, your support structure, allometrically—which is a
variation from isometric scaling—instead of linearly to compensate
for volume and mass increasing faster than the bone’s cross-
VHFWLRQDODUHD7KLVLVRQHRIWKHPDMRUWUDGHRIIVLQOHJJHGURERWV
Longer legs need to be stronger.
z Speed and size are linked to each other by the laws of physics.
The ability to generate more force per unit mass is key for the
largest-limbed robots. To reduce mass as we push the upper limits
of size, we can use strong materials and lightweight structural
arrangements to overcome problems that come along with simple
isometric scaling. The ability to have energy and motors on board
are challenges for the smallest robots.
z One way around this whole problem with legs is to turn them into
wheels. Wheels can spin quickly, carry heavy loads, and are less
likely to break. But legs can be picked and placed, lifted up and over
REVWDFOHVRUVWHSVDQGWKDWLVYHU\GLI¿FXOWWRGRZLWKZKHHOV
173
z Robots of extreme size or speed pose extreme challenges for
robotics, and using legs increases those challenges even more. But
for moving through extreme environments, robots with legs are
extremely useful.
Activity
7U\WKHKH[DSRGZDONLQJURERWWXWRULDO
KWWSDQLPDWODEFRP+HOS7XWRULDOV([DPSOHV+H[DSRG5RERW
Important Terms
square-cube law 0DWKHPDWLFDO SULQFLSOH WKDW GHVFULEHV WKH UDWLR RI WKH
VXUIDFHDUHDWRWKHYROXPHRIDFODVVRIVLPLODUO\VKDSHGREMHFWVWKDWGLIIHU
in size alone.
174
Suggested Reading
3LQKHLUR+DQ6KLKDQG<DQ³&KDOOHQJHVDQG2SSRUWXQLWLHVIRU6WUXFWXUDO
'1$1DQRWHFKQRORJ\´
Vogel, Comparative Biomechanics, appendix 3.
:RRG 1DJSDO DQG:HL ³7KH 5REREHH 3URMHFW ,V %XLOGLQJ )O\LQJ 5RERWV
WKH6L]HRI,QVHFWV´
Questions to Consider
2. *LYHQZKDW\RX¶YHMXVWOHDUQHGDERXWNLQHWLFHQHUJ\ZKDWZRXOG\RX
say is the functional trade-off for pushing the extremes of speed?
175
Swarm Robots
Lecture 20
O
ne of the grand challenges in robotics is to get robots to work
together as a group to do things that they couldn’t do alone. The
IXQFWLRQDOEHQH¿WRIZRUNLQJLQDJURXSLVWKHSUHPLVHRIVZDUP
robotics, which deals primarily with groups of simple, similar mobile
robots. Swarm robotics proves that sets of behaviors and tasks, such as
coordinating groups and working together to build structures, can be
DFFRPSOLVKHG E\ URERWV 6ZDUP URERWLFV LV D ¿HOG WKDW LV EDUHO\ LQ LWV
infancy, but it has vast potential.
Swarm Robotics
z Swarm roboticsLVUHODWHGWRWKH¿HOGRIFRPSXWDWLRQDOPRGHOLQJ
known as agent-based modeling. Physicists are also interested in
swarms and have created self-propelled particle theory, where a
particle is an autonomous agent, to formalize the behavior of the
agents and the swarm. The agent is any autonomous actor, such as a
physical robot or an animal.
176
z Ironically, and importantly, behavior is only partially controlled by
what we call the controller. Control is distributed throughout the
URERWZRUOGV\VWHP(DFKSDUWKDVDUROHWRSOD\7KLVSULQFLSOHFDQ
be referred to as distributed control of behavior. This principle can
be applied to a single agent interacting in the world, but we can also
see it in action in swarms.
z In a maze, a robot heads out from the starting point and blunders its
ZD\DURXQGHYHQWXDOO\¿QGLQJDSDWK,WOHDYHVQRWDFKHPLFDOWUDLO
but a trail of light on the ground, thanks to a special set of overhead
spotlights. The next robot that comes along uses its light sensors to
GHWHFWWKHSDWKODLGGRZQE\WKH¿UVWURERW,WDOVROHDYHVDWUDLORI
light that makes for any even brighter path for the next robot, and
that makes for faster navigation.
z Garnier’s ant robots are individual agents that use simple rules to
enhance the behavior—in this case, the navigation—of the group
as a whole.
177
z %HFDXVHWKH\XVHPDJQHWLFIRUFHVDQGFDQPDQLSXODWHREMHFWVWKHVH
PLFURERWV KDYH EHHQ FDOOHG GLDPDJQHWLF PLFURPDQLSXODWRUV (DFK
microbot can carry a different set of arms so that specialized worker
FDVWHVOLNHDQWVFDQSRSXODWHWKHVZDUP2QHFDVWHFDQFDUU\¿EHUV
and another superglue. Programmed to work together, they can
construct truss-like systems.
z These microbots are very interesting not only because they can be
programmed to build things at a tiny scale, but also because they do
so by violating the core principle of agent-based models and swarm
URERWLFV6LPSOHUXOHVHQDFWHGE\HDFKDJHQWLQGHSHQGHQWO\JHQHUDWH
complex behavior of the group as a whole. Instead, the rules, while
they may be simple, are enacted by the central control program that
PRYHV WKH PDJQHWV DURXQG RQ WKH FLUFXLW ERDUG (DFK PLFURERW LV
not an autonomous agent; they don’t act on their own.
z The core principle was discarded with microbots for the simple,
practical reason that they are too small to carry an energy supply, a
computer controller, or sensors. All of those parts and processes are
off-loaded to a smart and centrally controlled environment. Once
you do this, the limit to the size of the microbots is only limited
E\\RXUDELOLW\WRFRQWUROWKHPDJQHWLF¿HOGWKDWGULYHVWKHP7KLV
LV D WHUUL¿F LQQRYDWLRQ LQ VZDUP URERWLFV WKDW KDV WKH SRWHQWLDO WR
change micromanufacturing.
178
z In addition to being programmed with the goal to reach the other
VLGHHDFKURERWDOVRKDVDQDYRLGDQFHUHÀH[EXLOWLQ:KHQDURERW
hits or approaches another robot closely, it will stop, back up, and
then set off in a slightly different direction toward its goal.
z 0DUFROLQRFDOOVWKLV¿UVWSURFHVVXQFRRUGLQDWHGLQWKHVHQVHWKDW
each agent is acting independently. And both groups are able to
make it past the other. However, the time to navigate past the
other group is reduced by 50 percent with coordination among
the individuals.
z 7KH FRRUGLQDWLRQ DOJRULWKP LV VLPSOH 7KH ¿UVW URERW WR GHWHFW
congestion up ahead signals a warning to the rest of its team.
The whole group then switches to the state of deviating from the
FRQJHVWLRQ DW D SUHVHW DQJOH DV LQGLFDWHG E\ /('V LOOXPLQDWLQJ
7KH UHVXOW LV D EHDXWLIXO GLVSOD\ RI ZHOOEHKDYHG URERWLF WUDI¿F
0DUFROLQR¶V WUDI¿F H[SHULPHQWV SRLQW RXW WKH XVHIXOQHVV RI
communication among agents in a swarm.
z 8VLQJDVLPLODUSURFHVVRIQRQYHUEDOFRPPXQLFDWLRQ¿VKVZLPPLQJ
in a school may avoid obstacles or threatening circumstances. The
VFKRROLQJEHKDYLRURIUD\VRUWKHÀRFNLQJRIELUGVLVQRWSUHSODQQHG
and there is not some kind of group leader. That is, even though one
individual may be in the front of the formation, different individuals
WDNHXSWKDWSRVLWLRQDOOWKHWLPH7KHIDFWWKDWVFKRROVRI¿VKDQG
ÀRFNV RI ELUGV FDQ FRRUGLQDWH PRYHPHQWV ZLWK QRQYHUEDO VLJQDOV
suggests the possibility of simple algorithms.
z 5H\QROGVSURSRVHGWKUHHYHU\VLPSOHUXOHVIRUVZDUPLQJZKDWFDQ
be called attraction, avoidance, and alignment. These guide the
movement of each individual in the group. Attraction is the force
179
that makes you want to move toward other individuals. Avoidance
is the force that repels you from others, keeps you from running
into them. Alignment is the force that turns you to move in the same
direction as others.
z If all three rules are working at the same time, this swarm algorithm
creates a chain reaction, coordinating the motions of the whole
group. Reynolds’s three simple rules allow anyone to make realistic
computer simulations.
Neighbor Awareness
z Swarming requires that you be aware of what your neighbors are
doing. We humans might naturally think of neighbor awareness as
VRPHWKLQJYLVXDOEXWLWGRHVQ¶WKDYHWREH:KHQ¿VKVZLPZLWKRXW
any available light, they can still school, using a sensory system
called the lateral line, an earlike series of external hairs that detect
FKDQJHV LQ KRZ WKH ZDWHU LV ÀRZLQJ DURXQG WKH ERG\7KH FORVHU
\RXVZLPWRDQRWKHU¿VKWKHPRUH\RXUÀRZZLOOEHGLVWXUEHGE\
their wake.
z Lily robots are detecting what their nearest neighbors are doing.
If a neighbor’s blue lights are on and blinking, then the Lily that
detected that signal starts blinking its blue light. Then, the next
Lecture 20—Swarm Robots
neighbor detects the blinking lights and starts blinking, and so on.
180
5LFKDUG%URRNVL6WRFN7KLQNVWRFN
Fish swimming without light are still able to school using a sensory system
FDOOHGWKHODWHUDOOLQHWKHFORVHURQH¿VKVZLPVWRDQRWKHUWKHPRUHWKHÀRZ
will be disturbed by its wake.
z 7R NHHS WKH /LO\ URERWV RUJDQL]HG WKH &R&R5R SURMHFW XVHG D
VZDUP DOJRULWKP EDVHG RQ WKH EHKDYLRU RI KRQH\EHHV FOXVWHULQJ
7KH\FDOOHGLW%((&/8675RERWVVWDUWE\PRYLQJUDQGRPO\,ID
robot detects an obstacle ahead, it stops and listens for a signal that
LQGLFDWHVWKDWWKHREMHFWLVDQRWKHUURERW,IDQRWKHUURERWLVGHWHFWHG
the focal robot measures the intensity of light. The higher the light
intensity, the longer it waits before returning to random movement.
z %((&/867LVDYHU\VLPSOHDOJRULWKPIRUVZDUPLQJDQGLWZRUNV
in the water, with Lily robots, and on land with Jasmine robots.
7KH&R&R5RSURMHFWHQYLVLRQVXVLQJVZDUPVRIXQGHUZDWHUURERWV
WRVHDUFKPRUHHI¿FLHQWO\IRUWKLQJVOLNHVXQNHQWUHDVXUHGRZQHG
airliners, or leaks in underwater oil pipes. These search-and-detect
tasks are exactly the right kind for swarms of robots. You simply
can’t search far and wide very quickly with a single robot.
181
z At least in some cases, you don’t need to sense other agents in order
to swim in a coordinated manner; sharing a goal and colliding with
each other are all you need to create teamwork. Sharing a goal is a
key principle in swarm robotics. But goals can be shared in a swarm
without all of the robots having to act in the same way at the same
time. This allows more complicated tasks to be accomplished, such
as mapping a novel environment and then navigating through it.
Activity
7U\WKH%RLGVVLPXODWRU
ZZZUXQWKHPRGHOFRPPRGHOV
Important Term
Suggested Reading
.HUQEDFK³,QWURGXFWLRQWR&ROOHFWLYH5RERWLFV5HOLDELOLW\)OH[LELOLW\DQG
6FDODELOLW\´
5H\QROGV³)ORFNV+HUGVDQG6FKRROV´
:HUIHO3HWHUVRQDQG5DGKLND³'HVLJQLQJ&ROOHFWLYH%HKDYLRULQD7HUPLWH
,QVSLUHG5RERW&RQVWUXFWLRQ7HDP´
182
Other Resources
Question to Consider
E $
ÀHHW RI VHOIGULYLQJ FDUV DQG WUXFNV WUDQVSRUWV SHRSOH DQG WKHLU
belongings to a new urban center across the country.
183
Living Robots?
Lecture 21
T
hroughout this course, we’ve been paying close attention to the bodies
and behaviors of biologically inspired robots. But beyond body
shapes, movement patterns, or sensory processing, even core features
of life are beginning to become possible for robots. First, robots can eat,
obtaining and harvesting energy on their own. This is metabolism. Second,
robots can build themselves. This is growth. Third, robots can evolve. And,
¿QDOO\URERWVFDQUHSOLFDWHWKHPVHOYHVDQGEXLOGRWKHUURERWV
Harvesting Energy
z How close to living can we make a robot? Being alive means
that you can harvest energy. And when you can’t, you cease to
function—you die. Robots need to harvest and use energy, too. The
energy supply for robots is often a battery. It’s not fair to say that
the robot harvests energy if we humans put new batteries in.
z But Roomba goes back to its charger. Other robots can do even
PRUH7KH35WHVWEHGURERWIURP:LOORZ*DUDJHFDQRSHQGRRUV
IRULWVHOIPRYHRQLIDGRRULVORFNHG¿QGDVWDQGDUGZDOORXWOHW
DQG SOXJ LWVHOI LQWR DQ\ RXWOHW LW ¿QGV 2WKHU URERWV FXW WKH FRUG
Wave Glider uses wave power to swim and solar power to charge
batteries that power its sensors and communications systems.
Lecture 21—Living Robots?
184
z ($75(QHUJHWLFDOO\$XWRQRPRXV7DFWLFDO5RERWLVDURERWFDSDEOH
of ingesting organic matter for food, or fuel. It’s a wheeled ground
robot under development by Robotic Technology Incorporated,
LQSDUWQHUVKLSZLWK'$53$7KHEDVLFLGHDRI($75LVVLPSOHLQ
FRQFHSW6HDUFKWKHHQYLURQPHQWIRURUJDQLFPDWHULDOFROOHFWLWDQG
then convert it into a usable energy source.
z Melhuish has put the microbial fuel cells into a robot called
(FR%RW,,$VWKHIXHOFHOOVZRUNWKHHOHFWULFFXUUHQWWKH\SURGXFH
charges capacitors, which are electronic devices built to store
up, and then quickly release, electric charge. The stored charge
LQ (FR%RW ,,¶V FDSDFLWRUV LV XVHG WR SRZHU HLWKHU LWV ZKHHOV RU
FRPPXQLFDWLRQV\VWHP(FR%RW,,KDVDFRQWUROOHUWKDWZRUNVZLWK
photodetectors to head the robot toward a light source, powered
by rotten apples.
z (FR%RW,,LVDW\SHRIJDVWURERWDURERWWKDWJHWVDOORILWVHQHUJ\
IURPWKHGLJHVWLRQRIIRRG(FR%RW,,LVRQWKHURDGWRWUXHHQHUJ\
DXWRQRP\DQGWKDWLVWKHJRDORI0HOKXLVK¶VUHVHDUFKSURMHFW
185
z ,I ZH FRXOG FRPELQH (FR%RW¶V FKHPLFDO GLJHVWLRQ WDOHQW ZLWK
($75¶V DELOLW\ WR VHDUFK IRU DQG ¿QG DSSURSULDWH IRRG LQ WKH
environment, then we would be moving robots toward total energy
autonomy and operating like life-forms.
Development
z Another thing that life-forms do, that robots don’t, is build
themselves. When engineering robots or other devices, we normally
assemble the whole thing. One exception is the International Space
Station, which has had to function while we’ve been building it.
z How would you build a robot that builds itself? Sam Felton begins
with a sheet of composite material that includes paper, copper,
polyimide, and prestretched polystyrene. When you heat this
composite sheet of material, the polystyrene shrinks. If you arrange
the paper and polystyrene in the right way, the heating will cause
the layer to fold. Add heat, the sheet folds, and the sheet builds
itself. This is like a simple kind of origami, but instead of a human
doing the folding, the paper is folding itself.
186
z 7KH URERW VWDUWV E\ OD\LQJ ÀDW RQ WKH JURXQG ZLWK D VSUDZOHG
SRVWXUHOHJVRXW,WKDVDFRQWUROOHUSURJUDPZKRVHMRELVWR¿JXUH
out how to move those legs in order to move. Using an evolutionary
program, many different and randomly created controller programs
can be tried out. The best one is the one that moves the robot the
fastest across the ground.
z Once a good controller is evolved that works well for the sprawled
posture, it can be used as the starting point for when the robot
brings its legs underneath its body. If the body changes in one fell
swoop, then it takes longer to evolve a controller that works well
compared to allowing the change in the body’s posture to be part
of the robot’s development. During development, the legs slowly
change their posture. That helps bridge the original controller to the
¿QDOFRQWUROOHU7KHUHVXOWLVWKDWGHYHORSPHQWVSHHGVXSHYROXWLRQ
z 7KLV PHWDPRUSKRVLV VKRZV WKH EHQH¿W RI KDYLQJ D ERG\ WKDW FDQ
FKDQJHDQGWKHEHQH¿WRIKDYLQJDSURFHVVWKDWFDQVHDUFKIRUQHZ
controllers that can the make best use of the ever-changing body.
That search process within the life of an individual can be thought
of as the compound processes of learning and development. This
takes place by trial and error.
Evolution
z A search process that is related to development is evolution. One
of the differences between development and evolution is that while
development describes the changes taking place to an individual,
evolution describes the changes that are taking place from one
generation to the next, from one group of individuals to another
group of related individuals—from parents to offspring.
187
z For roboticists, evolution is one way to design robots. Standard
engineering and hacking both involve humans making decisions
about the design of the robots, but this is not so with evolution.
We take the humans out of the design loop. This is like taking
humans out of the control loop, allowing robots to perform tasks
autonomously. With evolution, we are allowing robots to design
themselves autonomously.
z The team’s guess was that predators might be selecting for faster
¿VKRYHUVORZHURQHV%DVHGRQELRPHFKDQLFDOWHVWVZLWK¿VKDQG
VZLPPLQJURERWVWKH\FRUUHFWO\SUHGLFWHGWKDWIDVWHU¿VKZRXOGEH
the ones with more vertebrae in their back. To test the evolutionary
idea about the importance of vertebrae, they put different individuals
Lecture 21—Living Robots?
188
cloned so that there were three identical triplets to test against the
predator. With six different genotypes, that made for 18 PreyRo
tails that were tested every generation.
z $OOWKDWDQ\LQGLYLGXDO3UH\5RZDQWVWRGRLV³HDW´OLJKWVRLWKHDGV
toward the light. The light is a metaphor for food. One PreyRo was
tested at a time in the tank, and while it was trying to eat, Tadiator is
RQWKHORRVH$OOWKDW7DGLDWRUZDQWVWRGRLV³HDW´RWKHUURERWVVRLW
heads toward PreyRo, which is food for Tadiator.
z When we evolve robots, we don’t know how events will turn out.
We have a guess, such as more vertebrae will make for better
IHHGLQJDQGÀHHLQJEXWZHDUHQ¶WVXUH:HKDYHWROHWHYROXWLRQUXQ
its course. What determines the outcome are random factors, such
as genetic mutations that make sure that individuals are different,
and selection—in this case, the predator.
Reproduction
z The idea of self-replicating machines has been a serious scholarly
topic at least since mathematician John Von Neumann introduced the
thought experiment of a self-reproducing automaton in 1948. Much
more recently, NASA has funded research proposals into how robots
PLJKWUHSOLFDWHWKHPVHOYHVEHFDXVHWKLVFRXOGEHDYHU\HI¿FLHQWZD\
to begin mining, or other large-scale operations, on other planets.
189
z A partial proof of concept came from Hod Lipson at Cornell
University. His team created a modular robot, built of cubes, that
FRXOG UHSOLFDWH LWVHOI LI JLYHQ RWKHU FXEHV (DFK PRGXOH FDOOHG D
molecube, is its own autonomous robot, and they link with other
FXEHV YLD UHYHUVLEOH PDJQHWLF LQWHUIDFHV (DFK PROHFXEH KDV WKH
plans for replication.
Activity
/XGRERW(GXFDWLRQLQ(YROXWLRQDU\5RERWLFV
KWWSZZZXYPHGXaOXGRERWVLQGH[SKS3OD\3OD\
190
Suggested Reading
Other Resources
Questions to Consider
1. :KDWIHDWXUHVDQGRUEHKDYLRUVZRXOGDURERWQHHGWRKDYHLQRUGHUIRU
you to consider it to be alive?
D $
QLQGLYLGXDOURERWWKURXJKGHYHORSPHQWDQGRUOHDUQLQJDGMXVWV
LWVERG\DQGRUFRQWUROOHUWREHFRPHEHWWHUDWZKDWHYHUEHKDYLRULV
being optimized.
E $
JURXSRIUHODWHGEXWQRQLGHQWLFDOURERWVDUHMXGJHGLQGLYLGXDOO\
on how well they perform a given task. The designs that perform the
best are combined and altered to create a new group of nonidentical
robots to be tested.
191
Social Robots
Lecture 22
T
he complex behavior that we call social and emotional communication
LVD¿HOGULSHIRUURERWLFV6SRNHQZRUGVH[SUHVVLRQVWRQHRIYRLFH
and body language can all be used to create the user interface between
a human and a robot. Social signals, simple but powerful signals, can be
communicated very quickly. And thanks to their sensors and controllers,
robots can produce and recognize these standard social and emotional signals
to interact more effectively with humans.
Social Robotics
z $VRFLDOURERWLVDQDXWRQRPRXVURERWZLWKDYHU\VSHFL¿FIXQFWLRQ
to interact and communicate with humans and other autonomous
SK\VLFDODJHQWV%XW¿QGLQJVIURPVRFLDOURERWLFVFDQGLIIXVHPXFK
more widely into other kinds of robots as well.
z 6RFLDOURERWLFVLVD¿HOGWKDWFRPELQHV¿QGLQJVIURPHQJLQHHULQJ
biology, and human psychology. Of course, psychology continues
WREHDGDXQWLQJO\FRPSOH[¿HOG%XWZHNQRZHQRXJKDERXWKRZ
humans approach their world and communicate that we can state
the following principles to help us design social robots.
ż Humans tend to anthropomorphize. Most owners of a robot
vacuum cleaner give it a name. The classic example is when
we ascribe our own thoughts and emotions to our pets. We do
the same thing to each other, and we call that empathy.
Lecture 22—Social Robots
192
ż Humans expect a social agent to show initiative. We expect
a puppy to have his or her own drives and desires, such as
wanting to play or chew on our shoes. We expect the same for
a social robot.
z These three principles get us started thinking about what robots need
to be socially competent. Social robots must be able to perceive
and express emotions; understand and express spoken language;
understand and express the
³ERG\ ODQJXDJH´ RI JD]H
expression, gesture, posture,
and movement; establish and
maintain a social relationship;
and have a personality.
&KXQJ6XQJ-XQ*HWW\,PDJHV1HZV7KLQNVWRFN
that the challenges for social
robotics is about more than
MXVWKDYLQJDVSRNHQRUZULWWHQ
conversation. That we can do
with chatterbots (or chatbots),
computer programs like Joseph
:HL]HQEDXP¶V(/,=$RI
whose text-based interactions
ODXQFKHG WKH ¿HOG RI DUWL¿FLDO The design of a social robot’s body
conversational entities. must invite human interaction.
193
PARO
z Cuteness is an invitation to touch, and Takanori Shibata realized
that when he sought to design a therapeutic robot in the 1990s. He
chose the baby harp seal as a model, with its white fur and big black
eyes. In 2001, he revealed PARO as a therapeutic robot meant to
RIIHUWKHEHQH¿WVRIDQLPDOWKHUDS\LQHQYLURQPHQWVOLNHKRVSLWDOV
and extended-care facilities where having animals is problematic.
-XQNR.LPXUD*HWW\,PDJHV1HZV7KLQNVWRFN
Lecture 22—Social Robots
7KHWKHUDSHXWLFURERW3$52RIIHUVWKHEHQH¿WVRIDQLPDOWKHUDS\LQSODFHV
where having animals is not possible.
194
z In addition to tactile and audio sensors, PARO has light sensors so
that it can tell the time of day and alter its behavior accordingly. It
also has posture and temperature sensors to give information about
how it’s being held and the nature of its environment.
195
z Kismet is communicating—through its postural changes—that it
has understood the emotional content of the human. Kismet signals
surprise by raising its eyebrows and ears and opening its eyes and
mouth. Kismet signals sadness by tilting its head down, lowering its
ears, and drooping its eyelids.
z (YHQ WKRXJK .LVPHW ORRNV OLNH ³MXVW´ D KHDG .LVPHW LV DFWXDOO\
an autonomous robot. It has sensors in the form of cameras and
a microphone. In addition to visual processing, Kismet has an
optional auditory system. Kismet also has the ability to vocalize—
not words, but coos that sound like those of a young child. The voice
synthesizer has parameters that can be altered to add emotional
TXDOLWLHVDQGDGMXVWWKHSHUFHLYHGSHUVRQDOLW\RIWKHYRLFH
z The sensory input, motor output, and heavy processing demands are
KDQGOHGE\GLIIHUHQWFRPSXWHUV(DFKPRWRUPXVWEHFRQWUROOHG
and each sensory input must be processed, but in addition, high-
level perceptions, motivations, and behaviors have to be modeled
and coordinated.
196
signal Kismet’s own agenda. These longer-term drives, along with
the immediate emotions, create the motivation system, all of which
is located in the computers networked to the Kismet head.
Pepper
z Launched in 2014, Pepper is built on the mobile humanoid design
but with a wheeled base instead of legs. Pepper is built to learn,
XQGHUVWDQGDQGDGMXVWLWVEHKDYLRUWRKXPDQHPRWLRQV3HSSHUZDV
WKHMRLQWSURMHFWRIWKH)UHQFKURERWLFVFRPSDQ\$OGHEDUDQDQGWKH
Japanese company SoftBank Telecom.
197
Peppers interacting with other people. Its aim is to interact with you
in a way that is engaging and positive for you, whether you’re at
home or in a commercial setting.
z For a very sophisticated robot like Pepper, all three of these sets
of functions—interaction, manipulation, and transportation—are
likely to coexist and cooperate on the robot. We can think about
HDFKRIWKHVHPRGXOHVDVLWVRZQDXWRQRPRXVURERW(DFKPRGXOH
is independent from the other in terms of how it creates functional
ORRSVRIVHQVRUVDQGDFWXDWRUVWRGRLWVEDVLFVHWRIMREV+RZHYHU
HDFKPRGXOHLVGHSHQGHQWRQWKHRWKHUVWRJHWWKHRYHUDOOMRERIWKH
robot done.
Lecture 22—Social Robots
198
z The most obvious change in context for a social robot is the person
with whom they are interacting. What a social robot learns about a
given person becomes their model of that person. But it might not
apply to other people.
Cobots
z Another change in context for social robots is when they ask for
help—and what they do if they don’t get it. Dr. Manuela Veloso
and her colleagues have invented robots that aren’t afraid to ask for
help, called cobots, which is short for collaborating robots. Cobots
KDYH D VSHFL¿F VHW RI WDVNV WKDW WKH\ GR 7KH\ FDQ QDYLJDWH WR
VSHFL¿FORFDWLRQVLQDEXLOGLQJGHOLYHUPHVVDJHVJUHHWDQGHVFRUW
YLVLWRUV WUDQVSRUW REMHFWV SURYLGH WHOHSUHVHQFH IRU FRQIHUHQFHV
and offer companionship.
z The only problem is that cobots don’t have arms, so they can’t pick
XSREMHFWVDQGWKHUHIRUHKDYHWRUHO\RQKXPDQVWRSODFHREMHFWV
in their basket. They have to ask humans to help. When a cobot gets
stuck, it waits for a human to come by. But cobots do get impatient.
:KHQ D FRERW VLPSO\ FDQ¶W ¿QG D KXPDQ WR KHOS LW HPDLOV 'U
Veloso. Then, she or one of her students has to go help out.
z Cobots are not only robots that can navigate around a building
using low-level behavior-based systems and high-level world-
model systems, but they are also robots that understand what
they can and can’t do. This is not very far from self-awareness,
at least in a very functional sense, and it shows the importance of
understanding context.
Important Terms
prosody 3URSHUWLHV RI VSHHFK RWKHU WKDQ WKH ZRUGV RIWHQ FRQYH\LQJ
emotional content.
199
Suggested Reading
%UHD]HDO³&RJQLWLYH0RGHOLQJIRU%LRPLPHWLF5RERWV´
Vernon, $UWL¿FLDO&RJQLWLYH6\VWHPV, chap. 9.
Other Resources
Questions to Consider
200
Humanoid Robots: Just like Us?
Lecture 23
T
UDGLWLRQDOO\WKHUHKDVEHHQDKXJHODJEHWZHHQDUWL¿FLDOLQWHOOLJHQFH
and humanoid robotics. But we have made considerable progress—if
not in closing the gap, at least in advancing what robots can do in the
physical world. Most of the advances in robotics have come from building
DERG\IRUDVSHFL¿FVHWRIWDVNVLQDJLYHQZRUNSODFH2IWHQWKHZRUNSODFH
LV PRGL¿HG WR KHOS WKH URERW 7KH VFLHQFH ¿FWLRQ DSSURDFK WR KXPDQRLGV
SUHVXPHV WKDW ZH DUH WU\LQJ WR EXLOG URERWV WKDW DUH MXVW OLNH XV ZLWKRXW
WKLQNLQJRIVSHFL¿FWDVNVRUZRUNSODFHV%\FRQWUDVWVRPHSURMHFWVFRQVLGHU
H[SOLFLWO\GH¿QHGWDVNVLQDKXPDQHQYLURQPHQWWKDWKDVQRWEHHQPRGL¿HG
to help the robot.
z 7KH5$3+D(/5RERWLF$LU3RZHUHG+DQGZLWK(ODVWLF/LJDPHQWV
robotic hand is an air-powered robot hand, introduced in 2009 at
Virginia Tech. The use of compressed gas is what provides the
HQHUJ\DQGSUHVVXUHWRPRYHWKH¿QJHUVDOORZLQJWKHKDQGWRKROG
RQWROLJKWEXOEVRUKHDYLHUREMHFWVZLWKFDUHIXOO\FRQWUROOHGOHYHOV
of force.
201
PXUDWVHQHOL6WRFN7KLQNVWRFN
Hands are very complex to engineer, in part because each hand has at least 15
degrees of freedom.
LQ WKH ¿QJHU LWVHOI &DUHIXO FRQWURO RI WKHVH PRWRUV DQG IHHGEDFN
Lecture 23—Humanoid Robots: Just like Us?
z -XVW DV WKH KDQG FDQ EHFRPH D PRGXOH WR DQ DUP ¿QJHUWLSV FDQ
EHFRPH PRGXOHV RI WKH KDQG 0RGXODU ¿QJHUWLSV KDYH EHHQ
designed by SynTouch, a company started at the University of
6RXWKHUQ&DOLIRUQLDWRKDYHWKHVHQVLWLYLW\RIDKXPDQ¿QJHU
202
z But there are always trade-offs. For many tasks, the only important
aspect of the human hand is the opposable grip of the thumb and
RWKHU¿QJHUVIRUJUDVSLQJ%D[WHU¶VHQGHIIHFWRURQO\KDVRQHGHJUHH
of freedom, but it might be all you need for picking up different
W\SHVRIREMHFWV
Humanoid Legs
z Robotics legs that mimic the gait of a human walk with incredible
biorealistic functioning were introduced in 2012 by researchers at
the University of Arizona. Humans have a neural network in the
lumbar region of the spinal cord that controls and produces rhythmic
neural signals to the muscles responsible for routine walking. The
researchers created a simple robotic version of this system, where
feedback from load sensors on the legs provided information to a
central pattern generator, which varied the frequency of its rhythm
in response.
203
z The problem with static walking is that it involves a lot of
rocking from side to side. In larger humanoids, this movement
sideways takes up energy better spent moving forward. Rocking
LV HQHUJHWLFDOO\LQHI¿FLHQW$OVR URFNLQJFUHDWHVLQVWDELOLW\WKDWLV
liable to make your robot fall over.
204
WKHFHQWHURISUHVVXUHLQVLGHWKHVXSSRUWVRIWKHIHHW(YHQWKRXJK
we think about walking as something we do with our legs, walking
involves the whole body.
z 7KH URERW RIWHQ FRQVLGHUHG WR EH WKH ZRUOG¶V ¿UVW VHOISURSHOOHG
bipedal humanoid is WABOT-1, who stepped into robotic stardom
in 1973. Researchers led by Ichiro Kato at Waseda University
in Tokyo built a series of WABOTs over the years, and by 1984,
:$%27 PRGHO :/5' EHFDPH WKH ¿UVW URERW WR DFKLHYH
dynamic walking.
205
z $WODV ZDONV LQ D PDQQHU FDOOHG ³*URXFKR ZDONLQJ´ LQ KXPDQ
biomechanics. With a Groucho walk, named after the famous
comedian, you keep your center of mass level, and you never pivot
up and over your planted foot. Your knee never straightens. The
*URXFKRZDONLVYHU\VWDEOH7KHURERWLVVTXDWWLQJDOOWKHWLPHVR
it has a lower center of mass. Also, a Groucho walk allows you to
move with precision that you don’t normally have with an inverted
pendulum walk.
Humanoid Appearance
z Another frontier in humanoid robotics focuses on how the body
looks. Looks turn out to be very important for how we react
emotionally to robots. While the promise of humanoid robotics is
WKDWURERWVFDQ¿WLPPHGLDWHO\LQWRRXUZRUNSODFHVDQGKRPHVZH
won’t want them around unless we feel comfortable with them.
z ,I \RXU DI¿QLW\ IRU D URERW LV ORZ LQGLIIHUHQW RU QHJDWLYH WKDW
eventually means no attention. And no attention means no
communication. Professor Hiroshi Ishiguro of Osaka University
LQ -DSDQ DGGUHVVHV WKLV SUREOHP RI DI¿QLW\ +H LV ZRUNLQJ ZLWK D
company called Kokoro to build highly realistic humanoids that
Lecture 23—Humanoid Robots: Just like Us?
206
z Mori proposed that as a robot becomes more like a human in
DSSHDUDQFHRXUDI¿QLW\IRULWJURZV²DW¿UVW+RZHYHUDVVRRQDV
the robot gets very close to human likeness, such as what you might
see in a scary mask, then the appeal of the robot quickly plummets
to creepy. Mori called this small region of disgust and creepiness
the uncanny valley.
z 0RULNQHZWKDWDI¿QLW\ZRXOGPDWWHULIZHZDQWHGKXPDQVWRDFFHSW
robots and be willing to work together with them or to purchase
them. However, some researchers now think that the location of the
uncanny valley might change over time or depend on culture.
.RLFKL.DPRVKLGD*HWW\,PDJHV1HZV7KLQNVWRFN
207
z A third area of work will be thinking fast and moving fast. Those
are two related challenges we see being addressed at the annual
RoboCup, the robotic soccer contests that are held around the world.
NAO humanoid robots, made by Aldebaran, the maker of the social
robot Pepper, are a favorite among robotic soccer teams.
-HQV6FKOXHWHU*HWW\,PDJHV1HZV7KLQNVWRFN
with humanoids that look
Lecture 23—Humanoid Robots: Just like Us?
208
Important Terms
Suggested Reading
Question to Consider
1. When you think about the tools that Leonardo da Vinci had for building
a humanoid robot, what do you think his greatest challenges would
have been?
209
The Futures of Robotics
Lecture 24
B
eyond the many interesting robots already in existence, what makes
robotics such an exciting endeavor is that there are so many different
possible futures. This variety of possibilities stems partly from the
fact that robotics is a multidisciplinary collaboration of mechanical and
electrical engineering, computer science and neuroscience, and cognitive
science and biology. The moment we encounter new problems and challenges
will be the moment that we see the necessity to create new kinds of robots to
help us respond. Using the principles of robotics, we learn to understand and
design the robots of our many futures.
z $ VSHFLDOLVW GRHV RQH RU D IHZ MREV 8VXDOO\ WKH VSHFLDOLVW GRHV
WKHWDVNVYHU\ZHOOYHU\HI¿FLHQWO\RUYHU\FKHDSO\5RRPEDLVDQ
Lecture 24—The Futures of Robotics
H[DPSOHRIDVSHFLDOLVWEXLOWWRYDFXXPÀRRUV
210
z In the short term, it’s probably more likely that we’ll be in a world
where the specialist robots dominate. We’ll have robotic vacuum
cleaners, window cleaners, lawn mowers, dog walkers, and cars.
In this future of specialized robots, we won’t even see most of
WKHVH DV URERWV WKH\¶OO MXVW EH RXU DSSOLDQFHV YHKLFOHV DQG
workplace machines.
DELGDOL6WRFN7KLQNVWRFN
WKLV JHQHUDO TXHVWLRQ
What type and level of
autonomy will allow the
robot to accomplish its
task without harming A humanoid robot that does a variety of
humans? tasks could be considered a generalist.
211
'DYLG3DXO0RUULV*HWW\,PDJHV1HZV7KLQNVWRFN
In the future of specialized robots, we will likely see them not as robots but as
appliances, machines, and vehicles.
Cloud Robotics
z One way to envision how the various dimensions of robot
autonomy will be managed is to focus on what is called cloud
robotics. Just like with cloud computing, where you share
Lecture 24—The Futures of Robotics
212
z In a cloud robotics future, intelligence is linked to your ability to
communicate with other robots and learn from their experience
without having to learn the task directly yourself.
z The fact that Google has been able to patent what may be seen in
the courts as a huge part—or all—of cloud robotics gives them an
advantage over any other company that wants to use the web to
coordinate their robots, have their robots learn from the experience
of others, or share controller space.
Watson
z Cloud robotics is not the only future for increased autonomy in
robotics. Imagine professional and personal settings where you
cannot, or do not want to, expand the abilities of your robot by using
cloud computing or cloud robotics. What might be an innovative
and alternate way forward?
213
z Jeopardy! Watson was followed by a variety of more practical
applications, including Dr. Watson diagnosing patients, Chef
Watson coming up with new recipes, Finance Watson, and
Customer Service Watson helping callers and offering technical
support advice.
z All these versions of Watson were not a robot but, rather, a computer
program. If Watson had a body, what could we do with Robot
Watson? For example, imagine an emergency situation where you
need to be able to think on your feet. What if communication with
remotely located humans had degraded because you, the robot, were
underground, or electric noise was swamping your transmissions.
What do you do?
z %HFDXVH:DWVRQWKHURERWKDVWKHDELOLW\WRMXGJHWKHFRQ¿GHQFHRI
its answers, and make a decision based on the particular situation
at hand, it recognizes that if in fact the leak is natural gas, then the
situation is extremely volatile—any spark will cause a devastating
explosion. Thus, Watson accepts this natural-gas-leak answer with
D UHODWLYHO\ ORZ FRQ¿GHQFH WKUHVKROG ,W LV EHWWHU WR DVVXPH WKH
leak is natural gas and be wrong than to waste time seeking higher
FRQ¿GHQFH:DWVRQZDONVRYHUWRWKHVKXWRIIYDOYHDQGWXUQVRII
the leaking gas.
214
z $QRWKHU JUHDW EHQH¿WV RI :DWVRQVW\OH FRJQLWLYH FRPSXWLQJ LV
that a robot can estimate when it does not know enough about the
situation to make a decision. Sometimes it’s better not to guess. For
humans, knowing when not to guess is often the difference between
being a novice and being an expert. A robot Watson would be good
at knowing when to call in other robots.
Modules
z Because the various approaches to robotics all share the same
goal—autonomous behavior—each approach, each discipline, has
something to offer other approaches within robotics. The result
is that we have solutions, principles, and concepts that serve as
modules we can mix and match.
215
z History shows that roboticists are inspired in many different
ZD\V %XW WZR SDWKV WR WKH IXWXUH VWDQG RXW 7KH ¿UVW VRXUFH RI
inspiration, from behavior-based robotics to biohybrids, is nature,
especially biology.
z 2QHRIWKH¿UVWRIELRK\EULGURERWVLV0HGXVRLGDURERWLFMHOO\¿VK
created by Janna Nawroth and her colleagues at Caltech and
Harvard. Medusoid’s body is built out of silicon rubber. On top of
that body Nawroth deposited proteins. She used those proteins as a
scaffold upon which to grow cardiac cells from the heart of a rat.
z After the cells grew and connected, they put Medusoid into a tank
Lecture 24—The Futures of Robotics
and then pulsed electric charges in the water. The cardiac cells
UHVSRQGHGE\FRQWUDFWLQJMXVWOLNHWKH\ZRXOGLQDKHDUWVWLPXODWHG
E\DQHPHUJHQF\GH¿EULOODWRU%HFDXVHRIWKHSDWWHUQLQZKLFKWKH\
had arranged the protein upon which the cells grew, the contractions
DFWXDWHGWKHERG\LQDZD\WKDWDOORZHGWKHZKROHURERWLFMHOO\¿VK
to swim.
216
z The promise of biohybrid systems like Medusoid is that with the
growth of tissue, such as muscle, we expand our toolbox of solutions
for robots. For example, animals are great at building extracellular
tissue, such as tendon and ligament, that have mechanical properties
that are tuned to the motion and load of the system in which they
are operating. In addition, a system that can grow itself should also
EHDEOHWRKHDOLWVHOI7KLVZRXOGEHDWHUUL¿FDELOLW\IRUDQ\URERW
on a remote mission.
z $ ¿QDO SDWK WR WKH IXWXUH DV WKH EHVW ZULWHUV DQG PRYLHV PDNH
clear, is art. As a society, we sometimes get into a kind of team
FRPSHWLWLRQVFLHQFHYHUVXVDUW%XWVRPHRIWKHJUHDWHVWVFLHQWLVWV
were on both teams, such as Leonardo da Vinci, who also was
DUJXDEO\WKH¿UVWURERWLFLVW0RUHRYHUWKHWHDPVRIDUWDQGVFLHQFH
do different and complementary things.
z Art can imagine the impossible and the highly improbable. But
art can also offer scenarios for what is possible or even likely.
&RQVLGHUVFLHQFH¿FWLRQIRUH[DPSOHDVSURWRW\SLQJWKHIXWXUHLQ
our imaginations.
Important Terms
cloud robotics$VXEGLVFLSOLQHLQZKLFKURERWVDUHGHVLJQHGWRLQWHUDFWZLWK
databases via computer networks and then with each other.
217
Suggested Reading
Other Resources
The New York Times ³6KRRWLQJ IRU D 0RRQ )LOOHG ZLWK 5RERWV´
ZZZQ\WLPHVFRPLQWHUDFWLYHWHFKQRORJ\JRRJOHQHZ
JHQHUDWLRQURERWVYLGHRVKWPO"UHI WHFKQRORJ\ 7KLV ZHEEDVHG DUWLFOH
ORRNVDWWKH¿UVWZDYHRIURERWVDFTXLUHGE\*RRJOH0DNHVXUHWRUHDGWKH
UHODWHGDUWLFOHDWZZZQ\WLPHVFRPWHFKQRORJ\JRRJOHDGGVWR
LWVPHQDJHULHRIURERWVKWPO ZKHUH \RX¶OO ¿QG RXW ZK\ WKLV ORRNHG DW WKH
WLPH OLNH D ³PRRQVKRW´ DQ DOORXW HIIRUW RI WLPH DQG UHVRXUFHV WR DFKLHYH
a goal.
Questions to Consider
c. Medical devices used on and in the bodies of humans and their pets.
d. Agriculture.
218
e. Retail services.
h. First-responder services.
b. Look for any task that is done by humans or for which humans use
a tool or machine.
F /RRNDWIRUPVRIHQWHUWDLQPHQWWKDWKXPDQVHQMR\
d. Look for any tool or appliance that does not yet possess an
embedded robotic system.
219
Timeline
7KHUHPRWHFRQWUROLV¿UVWSDWHQWHGDQGGHPRQVWUDWHGRQD
model ship by Nikola Tesla.
7LN7RND¿FWLRQDOPHFKDQLFDOPDQZLWKZLQGXSNH\VIRU
thought, movement, and speech, appears in Ozma of Oz by
L. Frank Baum.
0DULD WKH ¿UVW URERW WR DSSHDU LQ D PRYLH VWDUV LQ WKH
Timeline
220
1938 An industrial programmable robot, introduced by
*ULI¿WK37D\ORULQ³$Q$XWRPDWLF%ORFN6HWWLQJ&UDQH´
Meccano Magazine LV WKH ¿UVW H[DPSOH ¿WWLQJ ODWHU
FULWHULDRILQWHUQDWLRQDOVWDQGDUG,62
± OVLHDQG(OPHUWKH¿UVWELRORJLFDOO\LQVSLUHGDXWRQRPRXV
(
robots, are built by neuroscientist Gray Walter using
analog electronics.
QLPDWLRQWKHZRUOG¶V¿UVWURERWFRPSDQ\LVIRXQGHGE\
8
*HRUJH'HYRODQG-RVHSK(QJHOEHUJHU
221
XPHULFDOO\FRQWUROOHG1&PDFKLQHVDUH¿UVWSURGXFHG
1
by FANUC in Japan.
XWRSLORWVLQFDUVEHFRPHWKH¿UVWFRPPHUFLDOO\DYDLODEOH
$
speed control on land.
QLPDWHWKH¿UVWLQGXVWULDOURERWIURP8QLPDWLRQJRHVWR
8
work unloading die casts at the General Motors factory in
Trenton, NJ.
± 6
KDNH\ WKH ¿UVW DXWRQRPRXV PRELOH URERW ZLWK GLJLWDO
electronic computer, is built by Stanford Research Institute.
KH 0RZERW SDWHQW IRU WKH ¿UVW URERWLF ODZQ PRZHU LV
7
issued to S. Lawrence Bellinger.
222
± WKH¿UVWFRPPHUFLDOO\DYDLODEOHURERWDUPFRQWUROOHG
7
by a minicomputer, is designed by Richard Hohn and
released by Cincinnati Milacron.
REHUW:LOOLDPVEHFRPHVWKH¿UVWKXPDQNLOOHGE\DURERW
5
while working in a Ford Motor casting plant.
223
± +
HOS0DWH WKH ¿UVW ZRUNLQJ KRVSLWDO FRXULHU URERW LV
developed and debugged at Danbury Hospital by Joseph
(QJHOEHUJHU¶V VHFRQG URERWLFV FRPSDQ\ 7UDQVLWLRQV
Research Corporation (renamed HelpMate Robotics
in 1997).
D03DQG9,7$GULYHUOHVVFDUVRSHUDWHVDIHO\LQWUDI¿F
9
for more than 600 miles in Germany.
224
KH /(*2 0LQGVWRUPV URERWLFV NLW LV LQWURGXFHG EDVHG
7
on MIT Media Lab’s programmable brick technology.
225
RVV D PRGL¿HG &KHY\7DKRH EXLOW E\ &DUQHJLH 0HOORQ
%
and General Motors, wins the DARPA Urban Challenge,
QDYLJDWLQJDPLOHFRXUVHZKLOHREH\LQJDOOWUDI¿FODZV
of California, including avoiding pedestrians.
UHGDWRU 8$9V ¿UH PLVVLOHV IRU WKH ¿UVW WLPH LQ 86
3
campaigns, in Iraq and Afghanistan.
8 DOVR NQRZQ DV 6FDUOHW .QLJKW EHFRPHV WKH ¿UVW
5
$89 WR FURVV WKH $WODQWLF 2FHDQ XQGHUZDWHU D MRXUQH\
that took 221 days.
HYDGD DQG )ORULGD EHFRPH WKH ¿UVW 86 VWDWHV WR
1
permit testing of autonomous vehicles on ordinary roads;
Michigan and California follow in 2013.
7KH'(.$SURVWKHWLFGHYLFHFRQWUROOHGE\HOHFWURP\RJUDP
(0*VLJQDOVIURPPXVFOHVLVDSSURYHGIRUDPSXWHHVE\
the FDA.
226
Glossary
acoustic sensor$OVRNQRZQDVDPLFURSKRQHDVHQVRUWKDWFRQYHUWVVRXQG
waves into electric signals that can be read by the controller.
actuator 7KH PRYLQJ SDUWV RI D URERW WKDW DOORZ LW WR DFW DQ\ SDUW
appendage, or mechanical system that uses motors to move a robot or
manipulate the world through movement.
android 8VHGPRVWO\LQ¿FWLRQWRUHIHUWRDKXPDQOLNHURERW6HHhumanoid.
ASIMO7\SHRIKXPDQRLGURERWHPSKDVL]LQJELSHGDOPRELOLW\RYHUXQHYHQ
terrain; in development since 2000 by Honda.
Baxter$WZRDUPHGURERWLFPDQLSXODWRULQWURGXFHGE\5HWKLQN5RERWLFVLQ
2012 for light manufacturing tasks, featuring rapid reprogramming and safe
interactions with humans.
227
BEAM robotics &UHDWHG E\ 0DUN7LOGHQ DQ DSSURDFK WR EXLOGLQJ URERWV
that uses analog electric circuits instead of computers for controllers.
behavior-based robotics'HVLJQRIURERWVWKDWHOLPLQDWHVRUPLQLPL]HVWKH
XVHRILQWHUQDOZRUOGPRGHOVDQGPD[LPL]HVWKHXVHRIUHÀH[OLNHVHQVHDFW
modules.
biomechatronics$SSOLHGVFLHQFHWKDWFRPELQHVPHFKDQLFDODQGELRORJLFDO
parts into a single device.
biomorph$Q\URERWPRGHOHGDIWHUDOLIHIRUP
camber 7KH PHDVXUH RI WKH IURQWWREDFN FXUYDWXUH RI D ZLQJ WKDW KHOSV
create lift.
caster wheel 7\SH RI XQSRZHUHG ZKHHO PRXQWHG WR D URERW WR SURYLGH
stability and maneuverability.
chassis7KHSULPDU\VWUXFWXUDOVXSSRUWV\VWHPRIDURERW¶VERG\
cloud robotics$VXEGLVFLSOLQHLQZKLFKURERWVDUHGHVLJQHGWRLQWHUDFWZLWK
databases via computer networks and then with each other.
compliant actuators0RWRUVDQGOLQNDJHVPDGHRIÀH[LEOHVRIWPDWHULDOV
controller7KHPHFKDQLFDOHOHFWURQLFRUFRPSXWHUL]HGSDUWRIDURERWWKDW
Glossary
228
CTD sensor 8VHG E\ XQGHUZDWHU URERWV WR PHDVXUH FRQGXFWLYLW\
temperature, and depth.
cybernetics7KHVWXG\RIKRZG\QDPLFV\VWHPVDUHUHJXODWHGIRFXVLQJRQ
issues of feedback, control, and communication.
cyborg6KRUWIRU³F\EHUQHWLFRUJDQLVP´WHUPXVHGPRVWO\LQ¿FWLRQWRUHIHU
to a hybrid of biological and nonbiological parts.
dead reckoning $ PHWKRG RI QDYLJDWLRQ LQ ZKLFK FXUUHQW SRVLWLRQ LV
calculated based on speed, heading, and time from last known location.
deliberative control$URERWLFFRQWURODUFKLWHFWXUHWKDWHPSKDVL]HVSODQQLQJ
as part of the ongoing operations of the robot.
differential drive$QDFWXDWRUGHVLJQLQZKLFKDURERWLVVWHHUHGE\FUHDWLQJ
a difference in the speeds of two independently driven wheels or propellers.
drivability map$SODQQLQJPRGHOWKDWLVFRQWLQXDOO\XSGDWHGDQGXVHGWR
plot the immediate course for a robot.
drone $Q\ XQPDQQHG DHULDO YHKLFOH 8$9 HVSHFLDOO\ RQH WKDW FDQ À\
autonomously (using GPS or other navigational data) and beyond the line of
sight needed for radio-controlled (RC) aircraft.
229
dynamic soaring$ W\SH RI JOLGLQJ ÀLJKW LQ ZKLFK WKH DQLPDO RU YHKLFOH
gains velocity and height by harvesting energy from steep wind gradients
located near surfaces.
echolocation$FWLYHVHQVLQJLQZKLFKDQDQLPDORUURERWEURDGFDVWVDVRXQG
senses the returned echo, and uses the difference between the signal and its
echo to calculate the distance and composition of the target. See sonar.
end effector$WRRORURWKHUGLVWDOHOHPHQWRQDURERWLFPDQLSXODWRUWKHSDUW
of an actuator that interacts directly with the world.
À\ZKHHO$URWDWLQJPHFKDQLFDOGHYLFHXVHGWRVWRUHHQHUJ\WKURXJKURWDWLRQDO
inertia or, when its center of mass is located off-axis, create vibrations.
gantry robot/DUJHW\SHRI&DUWHVLDQFRRUGLQDWHPDQLSXODWRUURERWZKRVH
degrees of freedom are in translation and at right angles to each other.
gyroscope 0HFKDQLFDO RU HOHFWURQLF URWDWLRQ VHQVRU WKDW LV XVHG IRU
maintaining or measuring orientation; often linked with an accelerometer for
more precise location in three-dimensional space.
robot started.
230
humanoid A robot designed to look and function like a human. See
Actroid, android, and cyborg.
inertial navigation'HDGUHFNRQLQJXVLQJDFFHOHURPHWHUVDQGJ\URVFRSHV
kinematics 7KH VWXG\ RI PRWLRQ ZLWKRXW UHJDUG WR WKH IRUFHV JHQHUDWLQJ
them.
Lunokhod 1 7KH ¿UVW URERWLF SODQHWDU\ URYHU GHSOR\HG RQ WKH 0RRQ LQ
1970 by the Soviet Union.
machine learning&RPSXWHUSURJUDPVZULWWHQWRPDNHDGMXVWPHQWVWRWKHLU
code, with or without direct feedback from a human, in order to improve
performance of the code itself or the robot that the code controls.
manipulator $ URERWLF DUP WKDW JUDVSV DQG PRYHV REMHFWV DOVR DQ\
stationary robot that has one or more such arms.
mechanoid$W\SHRIURERWEXLOWZLWKRXWLQVSLUDWLRQIURPELRORJ\
model-based robotics'HVLJQRIURERWVWKDWPD[LPL]HVWKHXVHRILQWHUQDO
world models, ongoing and sophisticated planning algorithms, and complex
goals and tasks.
231
Moravec’s paradox ,QVLJKW IURP DUWL¿FLDO LQWHOOLJHQFH RI WKH V WKDW
WKH GLI¿FXOW SUREOHPV LQ URERWLFV DUH WKH HDV\ SUREOHPV IRU DQLPDOV DQG
humans—namely, sophisticated and skillful movements.
motherboard7KHPDLQDQGODUJHVWSULQWHGFLUFXLWERDUGLQDFRPSXWHU
motor6HH'&EUXVKHGPRWRUVHUYRPRWRUDQGVWHSSHUPRWRU
muscle wire$VKDSHPHPRU\DOOR\XVHGDVDOLQHDURUVSLUDOPRWRUIRUWKLQ
or distributed actuators.
QDYLJDWLRQDO¿[/RFDWLRQIRXQGXVLQJH[WHUQDOUHIHUHQFHSRLQWV
OpenSCAD)UHHVRIWZDUHIRUGHVLJQLQJWKUHHGLPHQVLRQDOREMHFWV
oscilloscope $Q LQVWUXPHQW XVHG WR PHDVXUH WKH G\QDPLF SURSHUWLHV RI
electric signals.
photoresistor7\SH RI VHQVRU WKDW FRQYHUWV FKDQJHV LQ OLJKW LQWHQVLW\ LQWR
changes in electric resistance.
JUDVSLQJPRYLQJDQGWKHQUHOHDVLQJDQREMHFW
232
piezoelectric crystal7\SHRIPDWHULDOXVHGDVDVHQVRURUDQDFWXDWRUWKDW
transduces a change of shape into a voltage or a change in voltage into a
change in shape.
potentiometer7\SHRIVHQVRUWKDWFRQYHUWVDPHFKDQLFDOURWDWLRQLQWRDQ
electric change in resistance; also known as a variable resistor.
probabilistic robotics$IUDPHZRUNIRUWKHGHVLJQRIURERWVWKDWH[SOLFLWO\
models the uncertainty inherent in the signals provided by sensors, the
models created by controllers, and the movement instantiated by actuators.
proprioception ,QWHUQDO VHQVLQJ RI WKH PRWLRQ DQG IRUFH RI WKH URERW¶V
MRLQWVDQGPRWRUV
prosody 3URSHUWLHV RI VSHHFK RWKHU WKDQ WKH ZRUGV RIWHQ FRQYH\LQJ
emotional content.
quadcopter (quadricopter)$URWDU\ZLQJHGDLUFUDIWZLWKIRXUSURSHOOHUV
UDQJH ¿QGHU $Q DFWLYH VHQVRU WKDW EURDGFDVWV XOWUDVRQLF RU RWKHU VRXQG
waves and then uses the time it takes for the echo to return to measure the
GLVWDQFHWRWKHUHÀHFWLQJVXUIDFH6HHsonar.
233
robot A type of machine that can be remote controlled, partially
DXWRQRPRXV RU IXOO\ DXWRQRPRXV DV LW PRYHV LWVHOI RU REMHFWV LQ RUGHU WR
carry out tasks. While robots always have controllers and actuators, remote-
controlled robots may lack onboard sensors.
robotics 7KH ¿HOG RI VWXG\ DQG LQTXLU\ WKDW GHYHORSV SULQFLSOHV DQG
approaches for the design, fabrication, operation, and control of robots.
Roomba7KH ÀRRUFOHDQLQJ URERW LQWURGXFHG LQ E\ L5RERW WKH ¿UVW
fully autonomous home robot to achieve commercial success.
rotor7KHSDUWRID'&PRWRUWKDWVSLQV
sensor $Q\ GHYLFH WKDW GHWHFWV FKDQJHV LQ SK\VLFDO SURSHUWLHV RU HQHUJ\
patterns in the world or the robot and converts those into electric, chemical,
RU PHFKDQLFDO VLJQDOV XVDEOH E\ D FRQWUROOHU WR DGMXVW DFWXDWRU EHKDYLRU
and overall motion, update maps and other internal models, or provide
information for human operators.
sensor fusion7KHSURFHVVRIFRPELQLQJLQIRUPDWLRQIURPPXOWLSOHVHQVRUV
to create information that is not available from individual sensors alone.
sensorimotor circuits3DUWVRIDURERWRUDQLPDO
that link the information provided by sensors to
the motion produced by actuators.
234
shaft encoder$VHQVRUWKDWFRQYHUWVWKHURWDWLRQVRIDZKHHOLQWRDQHOHFWULF
signal that represents the speed of the wheel’s rotation.
Shakey7KH¿UVWPRELOHDXWRQRPRXVURERWFRQWUROOHGE\DUHSURJUDPPDEOH
digital electronic computer.
Slocum glider An underwater robot that cycles its buoyancy from negative
to positive and converts the resulting vertical motion into horizontal
propulsion.
solder Metal alloys with low melting points used to fuse together separate
elements and, in electronics, create secure electric connections.
sonar6WDQGVIRUVRXQGQDYLJDWLRQDQGUDQJLQJW\SLFDOO\DQDFWLYHVHQVRU
system that broadcasts sound waves and then uses the pattern of the returning
HFKRWRPHDVXUHWKHGLVWDQFHDQGVL]HRIREMHFWV
spectrometer$Q\RIDODUJHFODVVRILQVWUXPHQWVGHVLJQHGWRPHDVXUHKRZ
the intensity of a physical property varies across a range of frequencies,
energies, or masses.
square-cube law 0DWKHPDWLFDO SULQFLSOH WKDW GHVFULEHV WKH UDWLR RI WKH
VXUIDFHDUHDWRWKHYROXPHRIDFODVVRIVLPLODUO\VKDSHGREMHFWVWKDWGLIIHU
in size alone.
Stanley $ IXOO\ DXWRQRPRXV FDU WKDW ZRQ WKH '$53$ *UDQG
Challenge, created by Stanford Racing Team.
stator7KHVWDWLRQDU\SDUWRIDQHOHFWULFPRWRU
stepper motor$EUXVKOHVV'&PRWRUWKDWFDQURWDWHSUHFLVHO\ZLWKRXWWKH
need for sensory feedback.
235
stereovision 9LVXDO VHQVLQJ WKDW XVHV WZR FDPHUDV IRFXVHG RQ WKH VDPH
REMHFW RU VFHQH WR SURYLGH LQIRUPDWLRQ DERXW GHSWK UDQJH DQG WKUHH
dimensional shape.
subsumption architecture$KLHUDUFK\RIEHKDYLRUVLQWKHSURJUDPPLQJRI
a robot that depends on input from sensors.
telepresence 8VLQJ VHQVRUV DQG LQVWUXPHQWV RQ URERWV WR REVHUYH DQG
measure without the need for a human to be physically present.
three laws of robotics ,QWURGXFHG E\ ,VDDF $VLPRY LQ WKH VKRUW VWRU\
³5XQDURXQG´)LUVWODZ$URERWPD\QRWLQMXUHDKXPDQEHLQJRU
WKURXJK LQDFWLRQ DOORZ D KXPDQ EHLQJ WR FRPH WR KDUP 6HFRQG ODZ$
robot must obey the orders given it by human beings, except where such
RUGHUVZRXOGFRQÀLFWZLWKWKH¿UVWODZ7KLUGODZ$URERWPXVWSURWHFWLWV
RZQH[LVWHQFHDVORQJDVVXFKSURWHFWLRQGRHVQRWFRQÀLFWZLWKWKH¿UVWRU
second laws.
thrust$IRUFHWKDWSURSHOVDQDQLPDOYHKLFOHRUURERW
WLPHRIÀLJKW'XUDWLRQIRUDVLJQDOWRWUDYHOIURPLWVVRXUFHWRDVHQVRU
Glossary
236
trilateration 0HWKRG IRU GHWHUPLQLQJ ORFDWLRQ XVLQJ WKH PDWKHPDWLFV RI
circles, spheres, and triangles.
transducer $Q\ GHYLFH WKDW FRQYHUWV HQHUJ\ LQ RQH IRUP WR HQHUJ\ LQ
another. For example, a touch sensor transduces the kinetic energy of
movement into electric signals; a motor transduces electric signals into
kinetic energy.
Turing test $OVR NQRZQ DV WKH LPLWDWLRQ JDPH D W\SH RI EHKDYLRUDO
assay proposed by Alan Turing to determine if a machine can demonstrate
linguistic behavior indistinguishable from that of humans.
uncanny valley+\SRWKHVL]HGE\0DVDKLUR0RULDVXGGHQORVVRIDI¿QLW\
that humans can feel as masks or robots become almost, but not quite, human.
voltage divider A simple circuit that uses two resistors, with resistance Z1
and Z2, to reduce the input voltage, Vin, to a lower output voltage, Vout, by the
IROORZLQJHTXDWLRQ
voltmeter $ GHYLFH WKDW PHDVXUHV WKH YROWDJH DFURVV WZR SRLQWV LQ DQ
electric circuit.
237
Answers
Lecture 1
No questions
Lecture 2
2. The Tadro on the right (with sensors pointed away from the light) would
VZLPDZD\IURPWKHOLJKW&DOFXODWHGLUHFWLRQWRWKHOLJKWDVIROORZV7DNH
the difference of the right sensor’s intensity and the left sensor’s intensity.
For the Tadro on the left, with sensors facing forward, a positive difference
means that the light is to the right. To move toward the light, that positive
difference is then converted into a signal to the motor to turn Tadro to
the right. A negative difference means that the light is to the left, and the
instruction would be to turn Tadro to the left. A difference of zero means
that the light is straight ahead, so Tadro should stay the course.
The Tadro on the left will swim straight as long as both sensors are
pointed away from the light. Once it passes the light, the sensor on the
left will register higher intensity than the one on the right, and Tadro will
turn to the left. But Tadro is moving away from the light and not toward
it. So, as it continues to arc left, the right sensor moves into position
to receive light that is nearly the same intensity as the left sensor. The
difference becomes zero, and this Tadro swims away.
RXUPLQGVDVURERWLFVLPXODWRUV7KRXJKWH[SHULPHQWVDUHRIWHQWKH¿UVW
simulation that we run when we start to design a robot. This thought
238
H[SHULPHQW VKRZV WKDW D UHFRQ¿JXUDWLRQ RI WKH ERG\ FDQ ³UHSURJUDP´
the robot’s behavior without touching the computer software on the
robot’s controller.
Lecture 3
2. $ '& PRWRU ZRXOG EH VXI¿FLHQW IRU WKH WDQN WUDFN GULYH ³D´ ZKLOH
D VHUYRPRWRU ZRXOG EH VXI¿FLHQW IRU ³F´$ VWHSSHU PRWRU LV EHVW IRU
³E´WRSUHFLVHO\PRYHDQGWKHQKROGSRVLWLRQRIDURERWLFDUP6WHSSHU
motors move at slow speeds, provide higher torque than a servomotor,
DQGFDQEHSUHFLVHO\SRVLWLRQHGVRWKDW¶VEHVWIRU³E´
3. 7KH DQVZHU LV ³F´ OLJKWHPLWWLQJ GLRGH /(' :KHQ DQ /(' HPLWV
light, it is changing the world by altering the local energy patterns of
OLJKW ,Q WKLV FRXUVH ZH XVH D QDUURZHU GH¿QLWLRQ$Q DFWXDWRU LV WKH
system that creates movement, such as a wheel and its drive motor
DQG WUDQVPLVVLRQ7KH EURDG GH¿QLWLRQ WKRXJK FRPSOHPHQWV WKH ZD\
that sensors work. Sensors detect changes in the energy patterns in the
world. Actuators create energy changes in the world.
239
Lecture 4
1. ,QDQVZHU³D´WKHURERWZRXOGEHVSLQQLQJLWVZKHHOVWU\LQJWRPRYH
IRUZDUGEXWQRWPDNLQJSURJUHVVEHFDXVHLWLVXSDJDLQVWDQREMHFW,Q
DQVZHU³F´WKHURERWZRXOGWXUQLQWRDZDOOUDWKHUWKDQDZD\IURPWKH
ZDOODVLQWKHFRUUHFWDQVZHU³E´
2. The difference in light intensity between the two sensors indicates the
bearing of the light. Tadro calculates the difference between the right
DQGOHIWVHQVRUVULJKWíOHIW x. The controller on the Tadro is set up to
use a positive difference as a signal to turn to the right. With a negative
GLIIHUHQFHULJKWíOHIW7DGURZLOOWXUQWRWKHOHIW1RWHWKDWLIWKHUH
LV QR GLIIHUHQFH ULJKW OHIW DQG ULJKW í OHIW WKHQ 7DGUR NHHSV
swimming straight.
That said, we create a one-eyed Tadro in this course that can work with a
single light sensor. The trick with a single sensor is to make the amount
of turning proportional to the amount of light reaching the sensor—so
keep moving and rotate slowly in a spiral motion.
Lecture 5
1. This is a trick question. All three of these answers are viable options,
depending on the task that your robot is trying to accomplish. The
DQVZHU³D´PLJKWEHWKHSHUIHFWVHWRILQVWUXFWLRQVIRUDURERWLFSODQH
.HHS À\LQJ VWUDLJKW DKHDG DW WKLV DOWLWXGH XQWLO IXUWKHU QRWLFH 7KH
DQVZHU ³E´ PLJKW EH SHUIHFW IRU D VHDUFKDQGUHVFXH URERW WKDW LV
ORRNLQJIRUDZDQGHULQJFKLOG6LWDQGZDLWWRVHHLIWKHFKLOGZDQGHUV
ZLWKLQVHQVRUUDQJH7KHDQVZHU³F´FRXOGDOVREHXVHIXOIRUDVHDUFK
and-rescue robot, but the problem with random searches over large
spaces is that they don’t systematically cover the area. This would work
EHVWLQDQHQFORVHGVSDFHVXFKDVDKRPHGXULQJD¿UHZKHQWKHURERW
is searching for the family cat, which might be frightened and hiding
under the sofa.
Answers
240
2. %XLOG ¿YH PRYHPHQW PRGXOHV DQG WKHQ FRPELQH WKRVH PRGXOHV ZLWK
VHQVRU WULJJHUV WR FUHDWH EHKDYLRUV 8VH ,)7+(1(/6( WR KDYH WKH
URERWGHFLGHZKHQWRH[HFXWHWKHGLIIHUHQWEHKDYLRUVLQD¿[HGSULRULW\
hierarchy.
&UHDWH¿YHPRYHPHQWPRGXOHV
&UHDWHEHKDYLRUV
(VFDSH,IOHIWRUULJKWEXPSVHQVRULVWULJJHUHGWKHQHVFDSHBOHIWRU
HVFDSHBULJKW
$YRLG,IOHIWRUULJKW,5LVWULJJHUHGWKHQDYRLGBOHIWRUDYRLGBULJKW
&UXLVH,IQRVHQVRUVDUHWULJJHUHGWKHQFUXLVH
&UHDWHWKH¿[HGSULRULW\GHFLVLRQPDNLQJSDUWRIWKHFRGH
7KHWULFNLVWRQHVWRQH,)7+(1(/6(VWDWHPHQWLQVLGHDQRWKHU7KLV
FUHDWHVD¿[HGSULRULW\KLHUDUFK\ZKHUHRQHEHKDYLRU(VFDSHRYHUULGHV
DQ\RWKHU$VORQJDV(VFDSHLVQ¶WWULJJHUHGWKHQ$YRLGRYHUULGHV&UXLVH
241
Lecture 6
1. $QVZHU ³E´ D FRPSDVV KHDGLQJ WR WKH QH[W ZD\SRLQW JLYHV WKH
minimum amount of information that you need. In calm waters, if you
know the heading you need to sail, then as long as you stay on that
course, you’ll get to your waypoint. Map coordinates alone won’t get
you where you need to go unless you know where you are, too.
2. 7KHEHVWDQVZHULVXVXDOO\³F´ZDLWXQWLO\RXUXQLQWRVRPHWKLQJWKDW¶V
not on your map and then add it to your map. Ideally, we’d like to keep
WUDFN RI HYHU\WKLQJ LQ RXU ZRUOG DQVZHU ³D´ EXW WKDW LVQ¶W HI¿FLHQW
Depending on how quickly your world changes, you might spend all
of your time updating the model and very little time getting your work
done. There is a trade-off between the accuracy of your model and the
time that you have to perform your task. While monitoring a subset of
REMHFWV DQG SHRSOH PLJKW EH D JRRG FRPSURPLVH WKDW DSSURDFK ZLOO
RQO\ ZRUN LI \RX¶YH FRUUHFWO\ LGHQWL¿HG WKH OLNHO\ REMHFWV DQG SHRSOH
that do not change over time.
3. 0RGHOEDVHGV\VWHPVKDYHWKHEHQH¿WRIDOORZLQJWKHURERWWRXQGHUWDNH
WDVNV WKDW KDYH VSHFL¿F FRPSOLFDWHG JRDOV WKDW DUH VSHFL¿HG LQ WKH
software program. Progress toward that goal can be monitored by an
external observer. In contrast, the cost of a pure behavior-based system
LV WKDW WKH URERW¶V JRDOV DUH VSHFL¿HG RQO\ LQ WHUPV RI KRZ WR FKDQJH
EHKDYLRULQUHVSRQVHWRFKDQJHVLQVHQVRU\LQSXW7KLVEHQH¿WFRVWSDLU
can be turned on its head. Pure model-based systems have the cost that
they cannot respond in a timely fashion to unforeseen circumstances, so
WKH\WHQGWRKDYHKLJKUXQWLPHIDLOXUHUDWHV,QFRQWUDVWWKHEHQH¿WRI
a pure behavior-based system is that it is very robust, able to keep on
moving in the face of rapidly changing circumstances.
Lecture 7
No questions
Answers
242
Lecture 8
Lecture 9
1. )RU³D´\RXFRXOGPRGLI\D5RRPEDE\SXWWLQJD'URS&DPRQLW)RU
³E´\RXFRXOGPRGLI\DTXDGFRSWHUWKDWKDVDFDPHUDWRDYRLGZDOOV
)RU³F´\RXQHHGDGHVLJQIURPVFUDWFK<RX¿UVWKDYHWRJHWWKURXJK
an ice layer that might be miles thick. Once through to the ocean, the
robot needs to be able to maneuver in water. Do you use the same robot
to do it all, or do you use a team of robots? Do you melt your way to
the ocean using a small nuclear reactor? There really is no off-the-shelf
solution. You’ll need a team of crack engineers, tons of money, and a
ride from NASA.
2. :KLOH 5D\%RW LV HQHUJ\ HI¿FLHQW DEOH WR JOLGH DQG DEOH WR VWD\ RQ
station for long periods of time, it doesn’t have the motors or the energy
supply to accelerate rapidly or cruise at high speeds.
3. There are other important features, but the following are three.
(1) Do you have a robot that people want to buy? You need a thorough
PDUNHWLQJVWXG\<RX¶GZDQWWRVHHWKHVSHFL¿FTXHVWLRQVWKDWZHUH
used on a survey, if they took that approach. A good survey asks the
same question in a variety of ways.
, I\RXUURERWMRLQVDQH[LVWLQJFDWHJRU\KRZFDQ\RXGLIIHUHQWLDWH
your product? Companies making the next kind of vacuum cleaner,
for example, have an identity and shelf-space problem. Why buy
their vacuum cleaner when the Roomba is a proven commodity?
Why should a vendor stock your new machine when he or she has
no idea if someone will buy it? The new company needs a very
clear vision about how they will grab attention, induce a sale, and
then build loyal customers.
243
(3) Having a management team that includes an experienced and
creative chief of technology and an experienced and creative chief
H[HFXWLYHRI¿FHU0RVWRIWKHWLPHLW¶VGLI¿FXOWWR¿QGRQHSHUVRQ
ZKR FDQ GR ERWK ZHOO &ROLQ $QJOH &(2 RI L5RERW KDV WDONHG
DERXW KLV GLI¿FXOWLHV LQ WUDQVIHUULQJ IURP EHLQJ D WHFK JX\ LQWR
being what he calls a vacuum salesman.
Lecture 10
1. Robots are best for tasks that require extended attention, endurance, and
reliability. Robots don’t sleep, get hungry, or get distracted.
2. (YHQWKRXJKLWLVYHU\GLI¿FXOWWRGRDQVZHU³F´UXQQLQJDQLQWHUQDO
PRGHORIRQHVHOIKDVDQXPEHURIEHQH¿WVRYHUWKHRWKHUWZRDQVZHUV
First, if you are making plans based on a model of yourself working
in the world, then that allows for different conditions to apply each
time you attempt the task. For example, when the library is crowded
with people before exams, the probability of a robot shelving books
LQDWLPHO\PDQQHUPLJKWEHORZEHFDXVHRIDOOWKHWUDI¿F6RUDWKHU
WKDQ VD\LQJ WKDW \RX FDQ QHYHU FRPSOHWH WKDW WDVN DQVZHU ³D´ \RX
rule it beyond your limits at that time, based on those conditions.
Second, your self model can explore different plans and compare their
probabilities of success. For example, two plans might vary only in the
sequence in which you visit different book drop-off points. Given the
state of the world (and perhaps your batteries, or what you are already
carrying) at the time, one sequence that didn’t work before might offer
a solution now.
Lecture 11
8QOLNH³EOLQG´SLFNDQGSODFHURERWVZKHUHWKHURERWGRHVQ¶WVHQVHWKH
SRVLWLRQRIWKHREMHFWWKLVEORFNVSHOOLQJURERWPXVWNQRZWKHSRVLWLRQ
of each block and the letter represented, which it does by (1) knowing
244
WKHDQJOHRIHDFKRILWVMRLQWVDQGLWXVHVIHHGEDFNFRQWUROZLWKDQJXODU
position sensors; (2) having force-feedback sensors on the grippers to
VHQVHLIWKHREMHFWKDVEHHQJULSSHGKDYLQJDZRUOGPRGHOWKDWPDSV
the position of each letter block at all times.
Lecture 12
1. $ KDQGVRQ DSSURDFK ZLOO JLYH \RX D YHU\ FOHDU DQVZHU KHUH 3LFN XS
Roomba while it is on, and manually touch the bump sensor lightly
DQGWKHQPRUH¿UPO\REVHUYLQJWKHGLUHFWLRQLQZKLFKWKHZKHHOVDUH
spinning. Note that the moment you pick Roomba up, it will think that
it has detected an edge, so you’ll have to put a little masking tape on the
infrared sensors that do the edge detection. But now that you are holding
LW\RXFDQDSSURDFKWKHEXPSHUIURPEHORZZLWK\RXU¿QJHUDQGNQRZ
that forward-looking infrared detectors aren’t at work here.
Lecture 13
2. <RXPLJKWRSWIRUVWURQJHUMRLQWPRWRUVEHFDXVHPRVWVPDOODUPVOLNH
WKH'(.$$UPDUHQRWYHU\SRZHUIXO<RXPLJKWZDQWWRLPSURYHRU
increase the number or types of sensors on the arm so that the human
knows better—beyond visual feedback—what the arm is doing. Or, you
could decide to increase the autonomy of the arm so that it interacts with
the human in more complex ways. For example, what if the arm, using
signals from an eye-tracker system in the frame of your eyeglasses,
could anticipate what you are about to do based on the direction of your
gaze? Then, it could put itself in a state of preparation. Anticipation and
preparation require that the arm have a model of itself, a model of you,
and a model of how you interact.
245
Lecture 14
Lecture 15
1. Notice that the question didn’t say if the autopilot was engaged. If
it is engaged, then you have a closed-loop system. Most commercial
DLUFUDIW DUH D FODVVLF FDVH RI ³PL[HG DXWRQRP\´ ERWK RSHQORRS and
closed-loop systems. Keep in mind that mixed autonomy systems
can operate in parallel, such as when you steer your car but the cruise
control has autonomy over speed, or in series, such as when the
plane’s pilot steers during takeoff but then hands the steering over to
the autopilot.
Lecture 16
1. Most of the time, we try to build underwater robots that are passively
³UROOVWDEOH´7KLVPHDQVWKDWDQVZHU³E´LVEHWWHUHYHQWKRXJK³D´LV
also feasible. Think about Robot Madeleine (see image).
She is highly maneuverable in roll, pitch, and yaw. She can roll
TXLFNO\E\KDYLQJWKHWZRÀLSSHUVRQRQHVLGHJHQHUDWHDGRZQZDUG
WKUXVW ZKLOH WKH WZR ÀLSSHUV RQ WKH RWKHU VLGH JHQHUDWH DQ XSZDUG
WKUXVW 6KH FDQ SLWFK TXLFNO\ E\ KDYLQJ WKH IURQW DQG EDFN ÀLSSHUV
Answers
246
© John Long.
KDYLQJWKHOHIWVLGHÀLSSHUVJHQHUDWHDIRUZDUGWKUXVWZKLOHWKHULJKW
VLGH ÀLSSHUV JHQHUDWH D UHDUZDUG WKUXVW $W WKH VDPH WLPH 5RERW
0DGHOHLQH¶V ÀDWWHQHG ERG\ FUHDWHV UHVLVWDQFH WR URWDWLRQ LQ UROO
and pitch that makes her stable in these directions when she isn’t
actively turning.
2. :KLOHDOORIWKHVHDUHWUXH³E´LVSUREDEO\WKHPRVWYH[LQJSUREOHP
7KHFKDOOHQJHLVPRVWGLI¿FXOWLQVDOWZDWHUZKHUHWKHVDOWVLQVROXWLRQ
increase electric conductance and, hence, the ability to short-circuit
HOHFWURQLFV %XLOGLQJ D ZDWHUWLJKW URERW LV GLI¿FXOW EHFDXVH \RX
QHHG DFFHVV WR WKH LQVLGHV RI WKH URERW IRU UHSDLUV 7KH MRLQWV DQG
seams that make that possible then become the places most likely
to leak.
247
Lecture 17
Lecture 18
1. While all of these are true, the greatest vulnerability in time of war comes
IURPWKHKXPDQVLQWKHFRQWUROORRS:LWKZHDSRQVWKH¿UVWUXOHLVWR
not kill your own troops. In the laws of war, eliminating the deaths of
noncombatants is paramount. The navy has an advantage over the army
in that at least in open-ocean conditions, the number of noncombatants
is likely to be small. The next step might be to have the commanding
RI¿FHUGHFLGHWKHOHYHODQGW\SHRIDXWRQRP\WRJLYHWRWKHV\VWHPDQG
when to withdraw each increment of autonomy. For example, you could
LPDJLQH WKDW LI \RX VXGGHQO\ ZHUH WDNLQJ KHDY\ ¿UH \RX FRXOG PRUH
quickly mobilize your defenses using the fully autonomous system.
Lecture 19
1. First, calculate the kinetic energy in each case. The microbot has a mass
of 0.01 kilograms and a velocity of 1 meter per second. If we square
the velocity, we still get 1, and the product of 1 and 0.01 is the kinetic
HQHUJ\RIMRXOHVZKHUHMRXOHVDUHWKH6,XQLWIRUHQHUJ\
For the cheetah, its mass is 100 kilograms. Square the velocity of 10
meters per second and we get 100. The product of that square and the
PDVV LV MRXOHV 6R HYHQ WKRXJK WKH FKHHWDK LV RQO\ JRLQJ
WLPHVDVIDVWDVWKHPLFURERWÀ\HUZKHQWKH\LPSDFWWKHNLQHWLFHQHUJ\
of the cheetah is 1 million times greater.
Answers
248
2. A robot has to use its onboard energy source (battery or fuel) and convert
that potential energy into kinetic energy. This is where actuators get
involved and the square of velocity comes back to bite us. To go a little
bit faster takes a lot more kinetic energy.
More kinetic energy requires more fuel. 5000
4500
(Joules)
per second. Over that same range of speed, 2500
2000
the kinetic energy increases from 0.5 to
1500
MRXOHVRURUGHUVRIPDJQLWXGH 1000
500
The trade-off is that when you go faster, 0
you run out of fuel faster. This might 0 5 10
speed of robot
seem like common sense, but there’s more (meters per second)
SK\VLFV IXQ KHUH %HFDXVH \RX XVH PRUH
fuel to move faster, you don’t move as far. That’s the real trade-off. For a
given amount of fuel, you can either choose to move fast or far.
Lecture 20
1. 7KH EHVW RSSRUWXQLW\ IRU VWLJPHUJ\ LV ZLWK VFHQDULR ³F´ 2QH RI WKH
huge challenges in any search-and-rescue situation is to quickly and
systematically cover an area. If these robots are working in snow, and
perhaps listening directly below for any signs of life, then the simplest
thing to do is to have them keep a set distance away from any other
robot’s trail. That trail could be the one that they made previously, or it
could be one from another robot.
:HFDQUXOHRXWDQVZHU³D´EHFDXVH&XULRVLW\LVQRWOLNHO\WRGRXEOH
back on its explorations. If you leave yourself a note, you have to go
EDFNDQGUHDGLWWRPDNHDQ\VHQVHRILW7KHRQHZD\WULSIRUWKHÀHHWRI
VHOIGULYLQJFDUVDQGWUXFNVORRNVDW¿UVWJODQFHOLNHWKHVDPHVLWXDWLRQ
but with many robots on the same road, they could help each other out.
For example, suppose that every time a robot encountered a dangerous
pothole, it placed a little radio beacon to mark the danger.
249
Lecture 21
2. 7KHFRUUHFWDQVZHULV³E´'HVLJQVWKDWSHUIRUPWKHEHVWDUHFRPELQHG
and altered to create a new group of nonidentical robots. This isn’t
SKUDVHGLQWKHXVXDOZD\WKDW\RXPLJKW¿QGLQDELRORJ\WH[WERRN$OVR
WKHUHVSRQVHGLGQ¶WVSHFLI\WKHQDWXUHRIWKHMXGJLQJEXWLQQDWXUHZKDW
KDSSHQV RIWHQ LV WKDW SUHGDWRUV VHOHFW WKH ZLQQHUV VHH ¿JXUH 2WKHU
NLQGVRIVHOHFWLRQIRUFHVPD\RFFXU&RPSHWLWLRQIRUUHVRXUFHVHQHUJ\
can make some individuals winners and others losers. The winners are
the survivors.
predators survivors
select reproduce
survivors
become parents
population population
generation 1 generation 2
Answers
250
Lecture 22
2. Carry the pills. Remind the patient. Follow the patient, or wake up the
patient. Carry around water. Monitor the dispensing of the pills. Monitor
the taking of pills. Communicate with the physician any irregularities in
dosages or timing of the pills. Track the patient verbally and with visual
record keeping for side effects and progression or retreat of the illness.
Wireless monitoring of wearable devices to track body temperature,
sleep, hydration, blood pressure, and heart rate.
Lecture 23
But perhaps his biggest challenge was not being aware of electricity—
not only a source of energy but also the currency for information
throughout the modern robot. All sensor signals are converted to
patterns of electricity. All signals to the actuators are given as patterns
of electricity. All computations on the controller are carried out by
miniaturized electric switches.
251
Lecture 24
1. $JULFXOWXUH ³G´ UHWDLO VHUYLFHV ³H´ SHUVRQDO DQG KRPH KHDOWK FDUH
³I´ PLOLWDU\ DQG GHIHQVH V\VWHPV ³J´ DQG ¿UVWUHVSRQGHU VHUYLFHV
³K´ DUH DOO DUHDV WKDW DUH VWLOO GRPLQDWHG E\ KXPDQV SHUIRUPLQJ
manual labor. Because the history of technology is in many ways the
story of how we use tools and machines to reduce the need for manual
ODERUFKDQFHVDUHWKDWWUHQGZLOOFRQWLQXH(PEHGGHGURERWLFV\VWHPV
will be the tools of change, because they are psychologically easier
for us to accept than a humanoid because we simply don’t see them.
Out of sight is out of mind. For psychological reasons as well, these
embedded robotic systems won’t be called robots. Instead, look for
WKHVHHXSKHPLVPVDGDSWLYHDVVLVWLYHDXWRPDWLFFRJQLWLYHLQWHOOLJHQW
and smart.
2. $Q\ RI WKH DERYH &RPPHUFLDO URERWLFV LV IXQGDPHQWDOO\ OLNH DQ\
RWKHUEXVLQHVV<RXKDYHWR¿JXUHRXWZKDWSHRSOHZDQWZKDWWKH\DUH
willing to purchase, and how much they are willing to pay. That’s called
market analysis, which you’ll have to perform when you create your
¿UVWEXVLQHVVSODQ
Answers
252
Bibliography
$QJHOHV -RUJH DQG )UDQN & 3DUN ³3HUIRUPDQFH (YDOXDWLRQ DQG 'HVLJQ
&ULWHULD´ Springer Handbook of Robotics ± %HUOLQ +HLGHOEHUJ
Springer, 2008. This is a formal treatment of the mechanical design of
robots. The emphasis on also designing the workspace is very helpful.
Bohm, Harry, and Vickie Jensen. Build Your Own Underwater Robot, and
Other Wet Projects. 9DQFRXYHU:HVWFRDVW:RUGV7KLVGRLW\RXUVHOI
book will help you avoid the catastrophic failures that only water can bring.
253
%UHD]HDO &\QWKLD ³&RJQLWLYH 0RGHOLQJ IRU %LRPLPHWLF 5RERWV´ &KDSWHU
9 in Biologically Inspired Intelligent Robots(GLWHGE\<RVHSK%DU&RKHQ
and Cynthia Breazeal.%HOOLQJKDP:$63,(7KH,QWHUQDWLRQDO6RFLHW\IRU
2SWLFDO(QJLQHHULQJ%UHD]HDOLVRQHRIWKHSLRQHHUVRIVRFLDOURERWLFV
and in this chapter, she details both the design of Kismet and the basic
principles behind building emotions into robots.
Brooks, Rodney. Flesh and Machines: How Robots Will Change Us. New
<RUN 3DQWKHRQ %RRNV %URRNV LV ZULWLQJ IRU D JHQHUDO DXGLHQFH VR
he gives an approachable history of behavior-based robotics. In chapter 3,
Brooks explains the design of Grendel, a legged robot built for planetary
H[SORUDWLRQ*UHQGHOEHJDW6RMRXUQHUWKH¿UVWDXWRQRPRXVURYHURQ0DUV
&LXWL *$ 0HQFLDVVL DQG 3 'DULR ³&DSVXOH (QGRVFRS\ )URP &XUUHQW
$FKLHYHPHQWV WR 2SHQ &KDOOHQJHV´ IEEE Reviews in Biomedical
Engineering ± <RX¶OO KDYH WR HLWKHU SD\ WR SXUFKDVH WKLV
article or get it through your library. The hassle is worth it if you want to read
a good overview of this emerging robotics discipline.
Bibliography
254
Cook, Gerald. Mobile Robots: Navigation, Control and Remote Sensing.
+RERNHQ 1- -RKQ :LOH\ &KDSWHU LV D SUDFWLFDO H[SRVLWLRQ RI
getting your robot to navigate; it includes coordinate systems, GPS, and
dead reckoning.
'LFNPDQQ -XUJHQ 1LOV $SSHQGURW DQG &DUVWHQ %UHQN ³+RZ :H *DYH
6LJKW WR WKH 0HUFHGHV 5RERWLF &DU´ IEEE Spectrum KWWSVSHFWUXPLHHH
RUJWUDQVSRUWDWLRQVHOIGULYLQJKRZZHJDYHVLJKWWRWKHPHUFHGHVURERWLF
car. Posted July 24, 2014. Dickmann, one of the pioneers of autonomous
navigation in cars, explains the development of radar systems and the
importance of combining different types of sensor systems.
255
Floreano, Dario, and Claudio Mattiussi. %LRLQVSLUHG$UWL¿FLDO,QWHOOLJHQFH
Theories, Methods, and Technologies &DPEULGJH 0$ 0,7 3UHVV
7KLVLVDJRRGFRPSOHPHQWWR.HUQEDFK¶VRYHUYLHZRIWKH¿HOG³,QWURGXFWLRQ
WR &ROOHFWLYH 5RERWLFV 5HOLDELOLW\ )OH[LELOLW\ DQG 6FDODELOLW\´ )ORUHDQR
and Mattiussi introduce some mathematical details and provide examples of
robotic systems in which collective algorithms have been implemented.
Hornyak, Timothy. Loving the Machine: The Art and Science of Japanese
Robots. 1HZ<RUN.RGDQVKD,QWHUQDWLRQDO&KDSWHUJHWVXVXQGHU
the skin of the Actroid androids to understand how they are actuated with
pneumatic systems, plus the metaphysical questions that drive creator
Hiroshi Ishiguro’s development of lifelike robots.
+XDQJ +XL0LQ (OHQD 0HVVLQD DQG -DPHV $OEXV Autonomy Levels for
Unmanned Systems (ALFUS) Framework. Volume II: Framework Models.
Version 1.0. NIST Special Publication 1011-II-1.0, 2007. Prepared for the
Bibliography
256
L5RERW ³L5RERW© 2ZQHU¶V 0DQXDOV DQG 4XLFN6WDUW *XLGHV´ 2ZQHU¶V
0DQXDO IRU 5RRPED KWWSKRPHVXSSRUWLURERWFRPDSSDQVZHUVGHWDLODB
LGaLURERW&$(RZQHUVPDQXDOVDQGTXLFNVWDUWJXLGHV :KLOH
this might not seem like exciting reading, it actually is pretty cool to look
at the capacities of these robots, how they work, and how you can do some
simple troubleshooting and repair.
Karvinen, Kimmo, and Tero Karvinen. Make: Getting Started with Sensors.
6HEDVWRSRO&$0DNHU0HGLD&KDSWHUVDQGZLOOJHW\RXEXLOGLQJ
simple sensor circuits immediately. And you will understand them by
building them.
257
/RQJ -RKQ + -U ³%LRPLPHWLFV 5RERWLFV %DVHG RQ )LVK 6ZLPPLQJ´ ,Q
Encyclopedia of Fish Physiology: From Genome to Environment, edited by
$3)DUUHOO±6DQ'LHJR$FDGHPLF3UHVV/RQJWDNHV\RX
WKURXJKWKHGHWDLOHGSURFHVVRIGHVLJQLQJDQGEXLOGLQJD¿VKOLNHURERWDQG
reviews some of the recent history in biomimetic robotics.
258
Murphy, Robin. Introduction to AI Robotics. &DPEULGJH 0$ 0,7 3UHVV
&KDSWHUSUHVHQWVWHFKQLFDOGHWDLOVDERXWWKH³ZKHUHDP,"´SUREOHP
of topological navigation.
Pfeifer, Rolf, and Josh Bongard. How the Body Shapes the Way We Think: A
New View of Intelligence. &DPEULGJH0$0,73UHVV&KDSWHUVDQG
RIIHUDJUHDWLQWURGXFWLRQWRWKHFRQFHSWRIHPERGLPHQW%HKDYLRUUHVXOWV
from the physical interactions of robots and their environments.
3LQKHLUR $ 9 ' +DQ : 0 6KLK DQG + <DQ ³&KDOOHQJHV DQG
2SSRUWXQLWLHVIRU6WUXFWXUDO'1$1DQRWHFKQRORJ\´Nature Nanotechology
±7KLVUHYLHZSURYLGHVWKHEDFNJURXQGWRXQGHUVWDQGKRZ
ZHFDQEXLOG'1$VSLGHUVDQGPROHFXODU³URERWV´
259
Scherz, Paul, and Simon Monk. Practical Electronics for Inventors. 3rd ed.
1HZ<RUN0F*UDZ+LOO(GXFDWLRQ7KHIURQWÀ\OHDYHVDQGFKDSWHUV
1 and 2 provide more detail than Monk’s Hacking Electronics. Chapter 2 is
D VHULRXV LQWURGXFWLRQ WR HOHFWULFLW\ DQG HOHFWURQLFV &KDSWHU ³+DQGV2Q
(OHFWURQLFV´ LV D PXVWUHDG LI \RX DUH JRLQJ WR EXLOG URERWV IURP VFUDWFK
Foremost are important precautions about safety. Learn how multimeters and
oscilloscopes work. This is full of details about tools and designing your
workspace that can keep you occupied for hours.
Singer, P. W. :LUHGIRU:DU7KH5RERWLFV5HYROXWLRQDQG&RQÀLFWLQWKHst
Century.1HZ<RUN3HQJXLQ3UHVV&KDSWHUVWKURXJKSURYLGHDQ
excellent introduction to robotics in war, including a brief history.
6SHUU\(OPHU:LUHOHVVFRQWUROOHGDHULDOWRUSHGR863DWHQW
937. Filed in 1917, this patent covers what today we would call radio-
controlled planes. Introduced with military applications in mind, Sperry’s
other innovation was the gyroscopic sensors that could be used for feedback
WRKDYHWKHSODQHÀ\DXWRQRPRXVO\
6WDPS -LPP\ ³$ %ULHI +LVWRU\ RI 5RERW %LUGV 7KH (DUO\ *UHHNV DQG
5HQDLVVDQFH $UWLVWV +DG %LUGV RQ 7KHLU %UDLQV´ Smithsonian Magazine,
0D\KWWSZZZVPLWKVRQLDQPDJFRPDUWVFXOWXUHDEULHIKLVWRU\
RIURERWELUGVTON;3M9,'8S;6WDPSWDNHVXVEDFNWR
%&(ZKHQWKH*UHHNPDWKHPDWLFLDQ$UFK\WDVRI7DUHQWXPLVSXUSRUWHG
WR KDYH EXLOW D À\LQJ GRYH :H OHDUQ RI +HUR RI$OH[DQGULD¶V GHVLJQV IRU
pneumatically powered mechanical animals.
Bibliography
260
7KUXQ6HEDVWLDQHWDO³6WDQOH\7KH5RERW7KDW:RQWKH'$53$*UDQG
&KDOOHQJH´Journal of Field RoboticsQR±$YDLODEOH
DW ZZZURERWLFVXVFHGXaPDMDWHDFKLQJFVSDSHUVWKUXQVWDQOH\
pdf. Written shortly after Thrun and Stanford Racing won the 2005 DARPA
challenge, this paper is now a classic in robotics.
:DOWHU:*UH\³$Q,PLWDWLRQRI/LIH´6FLHQWL¿F$PHULFDQQR
±:DOWHUWDONVDERXW³HOHFWURPHFKDQLFDOHYROXWLRQ´:HPHHW(OVLHDQG
(OPHUKLV³V\QWKHWLFDQLPDOV´DQG:DOWHUGHVFULEHVWKHLUGHVLJQDQGEHKDYLRU
:HUIHO-XVWLQ.LUVWLQ3HWHUVRQDQG1DJSDO5DGKLND³'HVLJQLQJ&ROOHFWLYH
%HKDYLRU LQ D 7HUPLWH,QVSLUHG 5RERW &RQVWUXFWLRQ 7HDP´ Science
± 7KLV LV DQ H[FLWLQJ SURMHFW WKDW SXWV WKH FRQFHSW RI
stigmergy to work, showing that robots can leave behind a trail for one
DQRWKHUXVLQJWKHVWUXFWXUHWKDWWKH\DUHEXLOGLQJ²SOXVVRPHVLPSOHWUDI¿F
rules they enact that allow the group to coordinate its activities.
261
Wood, Gaby. Edison’s Eve: A Magical History of the Quest for Mechanical
Life. 1HZ<RUN$OIUHG$.QRSI7KLVKLVWRU\UHPLQGVXVRIWKHGHHS
desire of humans to invent living machines. Wood brings to life the ancient
inventors, such as Descartes and Vaucanson, who, working in clockwork,
were laying the groundwork for modern robotics and trying to build
living machines.
:RRG5REHUW5DGKLND1DJSDODQG*X<HRQ:HL³7KH5REREHH3URMHFW
,V %XLOGLQJ )O\LQJ 5RERWV WKH 6L]H RI ,QVHFWV´ 6FLHQWL¿F $PHULFDQ 303,
no. 3 (2013). Wood and his colleagues explain the design and function
of Robobees.
262