Sensing - PowerPoint PPT Presentation

About This Presentation
Title:

Sensing

Description:

Sensing Today: Using Sensors Monday: Quiz on Controls and Sensing Rat Robots Scientists Develop Remote-Controlled Rats – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 28
Provided by: wein159
Category:

less

Transcript and Presenter's Notes

Title: Sensing


1
Sensing
  • Today Using Sensors
  • Monday Quiz on Controls and Sensing

Rat Robots Scientists Develop Remote-Controlled
Rats
"The animal is not only doing something it's
feeling something," said Talwar. "So with the
same technology you have a closed loop system a
sensory prosthesis."
Pet Care Robot Scares the Bejeezus Out of Fido
While You're Away
2
Calculating Turns Differential Steering
  • For a robot with a wheel separation of w
  • When traveling a complete circle the robot will
    travel 2pr (p is pi, r is radius)
  • The left wheel will travel 2pr - pw
  • The right wheel will travel 2pr pw
  • If the right travels 2pw further than the left,
    the robots made a complete CCW circle
  • If the left goes pw more than the right, the
    robot has turned CW 180 º
  • This determines the degree of turn for any angle
    measured in radians (e.g., p/290 º)
  • The time traveled is distance/velocity so (2pr
    pw)/v1 (2pr pw)/v2 for the 2 wheel velocities
    (v1outer wheel, v2inner)
  • Decide on radius r and velocity v1 and you can
    determine what v2 needs to be

3
Sensing the World
  • Sensors are devices that measure some attribute
    of the world

4
Sensors
  • A sensor receives energy and transmits to the
    computer
  • Input is converted to a digital or analog form
    usable by the robot
  • A transducer transforms the energy associated
    with what is being measured into another form of
    energy
  • Passive Vs. Active Sensor
  • Sensor Modality
  • What is the raw input?

5
Sensing
  • Sensors are designed to measure a particular
    physical property which usually has a
    meaningful relationship with a property of the
    environment
  • Example Sonar measures time of flight
  • Assumption that the pulse received was reflected
    back by an object in front of the sensor
  • Sonar the time of flight of the wave is used to
    calculate the range of the object

6
Classes of Sensors
  • With regard to the type of information that needs
    to be extracted
  • Proprioception measurements of movement with
    regard to an internal frame of reference
  • Exteroception measurements of objects relative
    to the robots frame of reference
  • Exproprioception measurement of movement with
    regard to an external frame of reference

7
Logical Sensors
  • Supplies a percept (perception)
  • Signal processing for input, software processing
    for interpretation
  • Example detecting an obstacle
  • Sensors could be logically equivalent
  • Example laser and sonar

8
Sensor Fusion
  • Combining information from multiple sensors
  • Redundant
  • Competing
  • Complementary

9
Sensor Characteristics
  • Field of View
  • Sensitivity
  • Ratio of change of output to change of input.
  • Linearity
  • Measure for the constancy of ratio of input to
    output.
  • Response time
  • Time required for a change in input to be
    observable in the output.

10
Sensor Characteristics
  • Accuracy
  • The difference between actual and measured
    values.
  • Repeatability
  • The difference between successive measurements of
    the same entity.
  • Resolution
  • Smallest observable increment in input.

11
Sensor Characteristics
  • Responsiveness to target domain
  • How well is the sensor suited for measuring the
    signal of interest in its environment
  • Computational Complexity
  • Interpretation Reliability

12
Detachable Sensors
  • Detachable sensors use a keyed connector (2 wire
    or 3 wire)
  • Analog sensors
  • Light (ports 2-6)
  • IR reflectance (ports 2-6)
  • Floating analog sensors
  • Optical rangefinder (ports 0-1)
  • Digital sensors
  • Touch (ports 8-15)
  • Special sensors
  • Ultrasonic rangefinder (sonar)
  • (ports 8-15)
  • XBC Camera

13
The GBA SP Buttons Library Functions
All of these functions work on the XBC and
simulator
L shoulder button (under the hinge)
R shoulder button (under the hinge)
l_button()
r_button()
back-light off/on button
power indicator LED
up button
recharge indicator LED
up_button()
A button (choose)
left button
left_button()
a_button()
right button
B button (escape)
right_button()
down button
b_button()
down_button()
start button
select button
14
Type of Sensors
  • Proprioceptive Sensors
  • Shaft Encoders
  • Dead ded reckoning
  • Angle Sensors

15
Touch Sensors
  • Digital sensor
  • Connect to ports 8-15
  • Access with library function digital(port)
  • Three form factors in kit
  • 1 indicates switch is closed
  • 0 indicates switch is open
  • These make good bumpers and can be used for limit
    switches on an actuator

16
Tactile Sensors
  • Bumpers and feelers
  • Micro switches, contact plates, ring sensors

17
Light Sensors
  • Analog sensor
  • Connect to ports 2-6
  • Access with library function analog12(port)
  • You can also use analog(port) for lower
    resolution
  • Low values (near 0) indicate bright light
  • High values (near 4095 for analog12, 255 for
    analog) indicate low light
  • Sensor is somewhat directional and can be made
    more so using black paper or tape or an opaque
    straw or lego to shade extraneous light. Sensor
    can be attenuated by placing paper in front.

18

IR Reflectance Sensor Top Hat
  • Connect to ports 2-6
  • Access with library function analog12(port)
  • You can also use analog(port) for lower
    resolution (0-255)
  • Low values (0) indicate bright light, light
    color, or close proximity
  • High values (4095) indicate low light, dark
    color, or distance of several inches
  • Sensor has a reflectance range of about 3 inches

19
IR Reflectance Sensors
Amount of reflected IR depends on surface
texture, color, and distance to surface
20
Proximity Sensors
  • Infrared (IR)
  • Emit an infrared light and detect reflections off
    of objects
  • Affected by color and bounce

21

Optical Rangefinder ET
  • Floating analog sensor
  • Connect to ports 0-1
  • Access with library function analog12(port)
  • You can also use analog(port) for lower
    resolution
  • Low values (0) indicate large distance
  • High values indicate distance approaching 4
    inches
  • Range is 4-30 inches. Result is approximately
    1/d2. Objects closer than 4 inches will produce
    values indistinguishable from objects farther away

22
Optical Rangefinder
(low value)
Position Sensing Device (PSD)
Lens
(high value)
(low value)
Focused IR Beam
23

Ultrasonic Rangefinder (Sonar)
  • Timed analog sensor
  • Connect port 8-15
  • Access with library function sonar(port)
  • Returned value is distance in mm to closest
    object in field of view
  • Range is approximately 30-2000mm
  • No return (because objects are too close or too
    far) gives value of 32767

24
Ultrasonic Sensors
  • Puts out a short burst of high frequency sound
  • Listens for the echo
  • Speed of sound is 300mm/ms
  • sonar() times the echo, divides by two and
    multiplies by speed of sound
  • The sonar field of view is a 30o (3-dim) teardrop

Area of coverage
sonar
25
Proximity Sensors
  • Sonar
  • Emits a chirp and listens for bounce back
  • Used to determine range based on time of flight
  • Affected by foreshortening, specular reflections,
    cross-talk

26
Proximity Sensors
  • Laser
  • Emits a light and watches for bounce back
  • Used to determine range based on time of flight
  • Due to the difference in wave lengths lasers are
    less susceptible to specular reflections and are
    more accurate than sonar.

27
Designing a Sensor Suite
  • Distinctive environmental features
  • Logical Sensors
  • Sensor Fusion
  • Redundancy
  • Logical and physical
Write a Comment
User Comments (0)
About PowerShow.com