ME574-Perception
ME574-Perception
Perception
Sensors
Uncertainty
Features
© R. Siegwart, I. Nourbakhsh
4
4a
3 Sensors for Mobile Robots
Classification of Sensors
What:
Proprioceptive sensors
• measure values internally to the system (robot),
• e.g. motor speed, wheel load, heading of the robot, battery status
Exteroceptive sensors
• information from the robots environment
• distances to objects, intensity of the ambient light, unique features.
How:
Passive sensors
• Measure energy coming from the environment
Active sensors
• emit their proper energy and measure the reaction
• better performance, but some influence on environment
Characterizing Sensor Performance (2)
Basic sensor response ratings (cont.)
Range
• upper limit - lower limit
Resolution
• minimum difference between two values
• usually: lower limit of dynamic range = resolution
• for digital sensors it is usually the A/D resolution.
• e.g. 5V / 255 (8 bit)
Linearity
• variation of output signal as function of the input signal
• linearity is less important when signal is treated with a computer
x f ( x) x y f ( x y) f ( x) f ( y)
y f ( y)
Characterizing Sensor Performance (3)
Basic sensor response ratings (cont.)
Bandwidth or Frequency
• the speed with which a sensor can provide a stream of readings
• usually there is an upper limit depending on the sensor and the sampling rate
• lower limit is also possible, e.g. acceleration sensor
• one has also to consider phase (delay) of the signal
In Situ Sensor Performance (1)
Characteristics that are especially relevant for real world environments
Sensitivity
ratio of output change to input change
dy
dx
however, in real world environment, the sensor has very often high sensitivity to
other environmental changes, e.g. illumination
Error / Accuracy
difference between the sensor’s output and the true value
error
m = measured value
v = true value
In Situ Sensor Performance (2)
Characteristics that are especially relevant for real world environments
Precision
reproducibility of sensor results:
Encoders
4a
Definition:
32
electro-mechanical device that converts linear or angular position of a
shaft to an analog or digital signal, making it a linear/anglular transducer
Wheel / Motor Encoders
Use cases
measure position or speed of the wheels or steering
integrate wheel movements to get an estimate of the position -> odometry
optical encoders are proprioceptive sensors
typical resolutions: 64 - 2048 increments per revolution.
for high resolution: interpolation
3-axis
© R. Siegwart & D. Scaramuzza, ETHoptical
Zurichgyro
- ASL
Mechanical Accelerometer
Accelerometers measure all external
forces acting upon them, including
gravity
accelerometer acts like a spring–
mass–damper system
After long period of operation, all IMUs drift. To cancel it, some external reference
like GPS or cameras has to be used.
4a
49
4a
50 Ground-Based Active and Passive Beacons
“Elegant” way to solve the localization problem in mobile robotics
Beacons are signaling guiding devices with a precisely known position
Beacon base navigation is used since the humans started to travel
Natural beacons (landmarks) like stars, mountains or the sun
Artificial beacons like lighthouses
The recently introduced Global Positioning System (GPS) revolutionized modern
navigation technology
Already one of the key sensors for outdoor mobile robotics
For indoor robots GPS is not applicable,
Major drawback with the use of beacons in indoor:
Beacons require changes in the environment -> costly.
Limit flexibility and adaptability to changing
environments.
Global Positioning System (GPS) (1)
Facts
Recently it became accessible for commercial applications (1995)
24+ satellites orbiting the earth every 12 hours at a
height of 20.190 km.
4 satellites are located in each of 6 orbits with
60 degrees orientation between each other.
Working Principle
Location of any GPS receiver is determined through a time of
flight measurement (satellites send orbital location (ephemeris)
plus time; the receiver computes its location through
trilateration and time correction)
Technical challenges:
Time synchronization between the individual satellites and the GPS
receiver
Real time update of the exact location of the satellites
Precise measurement of the time of flight
Interferences with other signals
Global Positioning System (GPS) (2)
Global Positioning System (GPS) (3)
Time synchronization:
atomic clocks on each satellite
monitoring them from different ground stations.
Ultra-precision time synchronization is extremely important
electromagnetic radiation propagates at light speed
Light travels roughly 0.3 m per nanosecond
position accuracy proportional to precision of time measurement
Real time update of the exact location of the satellites:
monitoring the satellites from a number of widely distributed ground stations
master station analyses all the measurements and transmits the actual position to each of the
satellites
Exact measurement of the time of flight
the receiver correlates a pseudocode with the same code coming from the satellite
The delay time for best correlation represents the time of flight.
quartz clock on the GPS receivers are not very precise
the range measurement with four satellite allows to identify the three values (x, y, z) for the
position and the clock correction ∆T
Recent commercial GPS receiver devices allows position accuracies down to a couple
meters.
Differential Global Positioning System (dGPS) (4)
DGPS requires that a GPS receiver, known as the base station, be set up on a precisely
known location. The base station receiver calculates its position based on satellite signals
and compares this location to the known location. The difference is applied to the GPS data
recorded by the roving GPS receiver
position accuracies in sub-meter to cm range
Range sensors
Sonar
Structured light
4a
56
Range Sensors (time of flight) (1)
Large range distance measurement thus called range sensors
Range information:
key element for localization and environment modeling
Ultrasonic sensors as well as laser range sensors make use of
propagation speed of sound or electromagnetic waves respectively.
The traveled distance of a sound or electromagnetic wave is given by
c t
d
2
The speed of sound c (340 m/s) in air is given by
Where c R T
: adiabatic index ( isentropic expansion factor) - ratio of specific heats of a gas
R: gas constant
T: temperature in degree Kelvin
Factsheet: Ultrasonic Range Sensor
emitter
1. Operational Principle
An ultrasonic pulse is generated by a piezo-
electric emitter, reflected by an object in its path,
receiver and sensed by a piezo-electric receiver. Based
on the speed of sound in air and the elapsed time
from emission to reception, the distance between
v t the sensor and the object is easily calculated.
d
2
2. Main Characteristics
• Precision influenced by angle to object (as
illustrated on the next slide)
• Useful in ranges from several cm to several
meters
• Typically relatively inexpensive
3. Applications
• Distance measurement (also for transparent
surfaces)
<http://www.robot-electronics.co.uk/
• Collision detection
shop/Ultrasonic_Rangers1999.htm>
Ultrasonic Sensor (time of flight, sound)
typical frequency: 40kHz - 180 kHz
Lower frequencies correspond to longer maximal sensor range
generation of sound wave via piezo transducer
transmitter and receiver can be separated or not separated
Range between 12 cm up to 5 m
Resolution of ~ 2 cm
Accuracy 98% relative error 2%
sound beam propagates in a cone (approx.)
opening angles around 20 to 40 degrees 0° measurement cone
regions of constant depth -30° 30°
segments of an arc (sphere for 3D)
-60° 60°
Amplitude [dB]
SICK
Alaska-IBEO
Hokuyo
Laser Range Sensor (time of flight, electromagnetic) (1)
D
Transmitter
P
L Target
Operating Principles:
Pulsed laser (today the standard)
• measurement of elapsed time directly
• resolving picoseconds
Phase shift measurement to produce range estimation
• technically easier than the above method
Laser Range Sensor (time of flight, electromagnetic) (3)
Phase-Shift Measurement
D
Transmitter
P
L Target
c
D L 2D L
2 f
Where:
c: is the speed of light; f the modulating frequency; D’ the distance covered by the
emitted light is.
for f = 5 MHz (as in the A.T&T. sensor), = 60 meters
Laser Range Sensor (time of flight, electromagnetic) (4)
D
4
where
: phase difference between transmitted and reflected beam
Theoretically ambiguous range estimates
since for example if = 60 meters, a target at a range of 5 meters = target at 35
meters
Amplitude [V]
lambda
Typical range image of a 2D laser range sensor with a rotating mirror. The length of
the lines through the measurement points indicate the uncertainties.
3D Range Sensor (4): Time Of Flight (TOF) camera
A Time-of-Flight camera (TOF camera, figure ) works similarly to a lidar with the advantage that the whole
3D scene is captured at the same time and that there are no moving parts. This device uses an
infrared lighting source to determine the distance for each pixel of a Photonic Mixer Device (PMD) sensor.
b
a b
u