28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11: Autonomous <strong>Robot</strong>s 249<br />

can help correct the problem by placing a small infrared filter in front of the receiving<br />

lens to block the bright light effects. A good one can be obtained from<br />

photography stores. One such filter is a Kodak Wratten #87 gelatin filter, or the<br />

#87C filter. Using this filter will yield normal distance measurements in bright<br />

light conditions.<br />

Shock could damage the sensors. In the ring, robots can hit with such intense force<br />

that mechanical shock is a primary concern. Although the sensors are robustly<br />

built, if jarred hard enough, their precision optics can move enough to affect the<br />

sensor. To handle this, you should mount the sensor with rubber grommets.<br />

Sensing: It’s a Noisy World Out There<br />

Often, when people first start using sensors in robots, they find the results are not<br />

quite what they expect. Most sensors used in robotics are subject to a great deal of<br />

interference, variation, and changing results due to the ever-changing environmental<br />

conditions. As a result, many people become rather frustrated that the results<br />

from the sensors change and give occasional false readings.<br />

Consider an infrared sensor in a room full of infrared sensors. Because the sensor<br />

is looking for the light it generates with its infrared emitter, the light generated<br />

by other emitters in the room can confuse the detector and cause false readings.<br />

Similarly, a sonar detector in a noisy room may hear echos and sounds from itself<br />

or other sensors that cause false readings.<br />

Humans suffer similar kinds of problems, but we have amazing abilities to correct<br />

the sensory input we obtain. When a sailor first walks on a ship, the rolling of<br />

the vessel in the waves can make him or her walk a crooked line or stumble<br />

around. Very quickly, typically in one or two days, the sailor’s brain will adjust<br />

and compensate for the swaying ship so that the sailor doesn’t even realize the<br />

boat is swaying after awhile.<br />

This sophisticated adjustment and compensation is one of the most unique<br />

things about the human brain. The human brain also combines, or “fuses,” the input<br />

from our vision, inner ear (balance), and pressure in our feet to keep us standing<br />

up. If one of these types of input changes, our brains can quickly adapt.<br />

<strong>Robot</strong>s need a similar ability both to combine the sensory input from several<br />

sensors and to adapt to changes in the function of the sensors. This is done in sophisticated<br />

autonomous robots using neural nets, Bayesian networks, genetic algorithms,<br />

and other complex computation. <strong>Your</strong> robot need not be this<br />

sophisticated to take advantage of sensors, however.<br />

Techniques for Improving Sensor Input<br />

Some sensors have built-in techniques that clean up the signal they create. Sonar<br />

detectors, for example, emit a “ping” in specific sound frequency ranges and ignore<br />

input from other frequencies. This helps filter noise and avoid interference<br />

from other sounds in the sensor’s environment. Similar approaches are used with<br />

infrared detectors using filters and lenses to avoid unwanted wavelengths of light.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!