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.

Active Sensors<br />

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

Active sensors often introduce a sound or light and look for how the introduced<br />

energy reacts with the environment. Some examples of this type of sensing are sonar,<br />

laser, and infrared reflective detectors.<br />

Sonar detectors introduce a sound, typically higher in frequency than what humans<br />

can hear, and listen for the echo. The bounced-back echo is used by sonar<br />

range finders to send out a sound pulse and then compute the time it takes for the<br />

sound to return. This time is directly proportional to the distance the sound must<br />

travel to bounce off the nearest object and return. The speed of sound is around<br />

770 mph, but it can easily be measured using a moderately fast microcontroller<br />

chip like those found in many robots.<br />

Infrared (IR) reflective sensor systems emit a specific wavelength of light and<br />

look for a reflection of light. Since light travels so much faster than sound, it is difficult<br />

to measure the time it takes to receive the reflected light. Infrared detectors are<br />

typically used to detect whether an object is present within the range of the detector<br />

rather than how far the object is from the detector. Some clever infrared detectors<br />

use some simple geometry present in a triangle formed by the emitter that generates<br />

the light, the reflected object, and the detector that senses the emitted light. Everyday<br />

examples of infrared detectors can be found in modern bathroom stalls in public<br />

places. The mechanism that automatically flushes the toilet typically uses an<br />

infrared detector to detect the presence of a person using the toilet. The system is activated<br />

when a person is in the stall for a predetermined period of time. Many systems<br />

have a small flashing LED that speeds up its flashing when the time has<br />

elapsed. When the person leaves the presence of the IR sensor, the toilet flushes.<br />

Lasers can be used to detect where an opponent is located. This type of system is<br />

fairly advanced and usually employs a CCD camera or a linear sensor array. A laser<br />

beam is emitted from the robot, and the CCD camera is used to see the laser spot—<br />

or line—on the opponent robot. Generally, a band pass filter is placed in front of<br />

the camera to filter out all wavelengths of light except for the laser beam wavelength.<br />

When the laser beam and the camera orientation is known, the range and<br />

location of an object can be determined through mathematical triangulation. This<br />

type of system is fairly complex, but not as complex as a true vision system, and it<br />

is beginning to be seen in robotic applications using simple microcontrollers. This<br />

type of system could be used in automatic weapons firing and assisted homing in<br />

on an opponent, and it can be placed in fully autonomous robots.<br />

Devantech SRF04 Ultrasonic Range Finder<br />

The Devantech SRF04 Ultrasonic Range Finder (shown in Figure 11-1) is a<br />

40-kHz ultrasonic range finder that can be used to determine the range of objects<br />

from 1.2 inches to about 10 feet (or 3 cm to 3 meters).

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

Saved successfully!

Ooh no, something went wrong!