Sensor
Sensor
Brief Review
(Mobot Locomotion)
Differential Drive
Tricycle
Synchronous Drive
Ackerman Steering
Swedish Wheel
Omni-directional
Differential Drive
Property: At each time instant, the left and right wheels must
follow a trajectory that moves around the ICC at the same
angular rate , i.e.,
L
L
( R ) VR
2
( R ) VL
2
Kinematic equation
90
Nonholonomic Constraint
sin
x
cos x sin y cos 0
y
Differential Drive
Basic Motion Control
R : Radius of rotation
Straight motion
R = Infinity
V R = VL
Rotational motion
R= 0
VR = -VL
Tricycle
Steering and power are provided through the front wheel
control variables:
angular velocity of steering wheel ws(t)
steering direction (t)
Tricycle
Kinematics model in the world frame
---Posture kinematics model
Synchronous Drive
All the wheels turn
in unison
All wheels point in the
same direction and turn
at the same rate
Two independent
motors, one rolls all
wheels forward, one
rotate them for turning
Control variables
(independent)
v(t), (t)
d
cot i cot o
l
cos
cot
sin
cot i cot o
Rd /2 Rd /2
l
l
d
l
R
Car-like Robot
Driving type: Rear wheel drive, front wheel steering
R u1
u1
tan
ICC
x u1 cos
y u1 sin
non-holonomic constraint:
x sin y cos 0
u1
tan
l
u2
x, y
u1
u2
References
Sensors for mobile robots: theory and
applications, H. R. Everett, A. K. Peters
Ltd, C1995, ISBN: 1-56881-048-2
Handbook of Modern Sensors: Physics,
Designs and Applications, 2nd edition,
Jacob Fraden, AIP Press/Springer, 1996.
ISBN 1-56396-538-0.
Some websites
What is Sensing ?
Collect information about the world
Sensor - an electrical/mechanical/chemical
device that maps an environmental attribute to a
quantitative measurement
Each sensor is based on a transduction
principle - conversion of energy from one form
to another
Active vision
Radar and optical (laser) range measurement
Transduction to electronics
Thermistor: temperature-to-resistance
Electrochemical: chemistry-to-voltage
Photocurrent: light intensity-to-current
Pyroelectric: thermal radiation-to-voltage
Humidity: humidity-to-capacitance
Length (LVDT: Linear variable differential
transformers) : position-to-inductance
Microphone: sound pressure-to-<anything>
Robot:
Sensor fusion:
Combine readings from several sensors into a (uniform)
data structure
Sensor integration:
Use information from several sensors to do something
useful
Sensor Fusion
One sensor is (usually) not enough
Real sensors are noisy
Limited Accuracy
Unreliable - Failure/redundancy
Limited point of view of the environment
Return an incomplete description of the
environment
The sensor of choice may be expensive might be cheaper to combine two inexpensive
sensors
General Processing
Sensor
Preprocessing
Sensor
Preprocessing
Sensor
Preprocessing
Sens
or
Preprocessing
Sensing
Fusion
Interpretation
Perception
Preprocessing
Colloquially - cleanup the sensor readings
before using them
Sensor/Data Fusion
Combine data from different sources
measurements from different sensors
measurements from different positions
measurements from different times
Interpretation
Task specific
Often modeled as a best fit problem given
some a priori knowledge about the
environment
Tricky
Classification of Sensors
Internal state (proprioception) v.s. external state
(exteroceptive)
feedback of robot internal parameters, e.g. battery
level, wheel position, joint angle, etc,
observation of environments, objects
Proprioceptive Sensors
Encoders, Potentiometers
measure angle of turn via change in
resistance or by counting optical pulses
Gyroscopes
measure rate of change of angles
fiber-optic (newer, better), magnetic (older)
Compass
measure which way is north
Touch Sensors
Whiskers, bumpers etc.
mechanical contact leads to
closing/opening of a switch
change in resistance of some element
change in capacitance of some element
change in spring tension
...
Electromagnetic Spectrum
Visible Spectrum
700 nm
400 nm
Coherent light
all photons have same phase and wavelength
LASER: Light Amplification by Stimulated
Emission of Radiation
LASER RADAR: LADAR - accurate ranging
IR sensitive
Local Proximity Sensing
Infrared LEDs (cheap, active sensing)
usually low resolution - normally used for presence/absence
of obstacles rather than ranging, operate over small range
Gas Sensor
Gyro
Accelerometer
Pendulum Resistive
Tilt Sensors
Metal Detector
Piezo Bend Sensor
Gieger-Muller
Radiation Sensor
Pyroelectric Detector
UV Detector
CDS Cell
Resistive Light Sensor
Pressure Switch
Miniature Polaroid Sensor
Limit Switch
Touch Switch
Mechanical Tilt Sensors
IR Pin
Diode
IR Sensor w/lens
Thyristor
IR Reflection
Sensor
Magnetic Sensor
IR Amplifier Sensor
Hall Effect
Magnetic Field
Sensors
IRDA Transceiver
Lite-On IR
Remote Receiver
Radio Shack
Remote Receiver
IR Modulator
Receiver
Solar Cell
Compass
Compass
Tactile sensors
contact switch, bumpers
Infrared sensors
Reflective, proximity, distance sensors
Orientation Sensors
Compass, Inclinometer
Resistive Sensors
Resistive Sensors
Bend Sensors
Resistance = 10k to 35k
As the strip is bent, resistance increases
Potentiometers
Can be used as position sensors for sliding
mechanisms or rotating shafts
Easy to find, easy to mount
Potentiometer
Photocell
R is small when brightly illuminated
Applications
Sensor
Sensors
Wall Following/Collision
Detection
Sensor
Weight Sensor
Voltage divider:
R1
Vsense
R2
V
R1 R2
Vsense
R2
A/D converter
micro
+
-
Binary
Threshold
Digital I/O
Comparator:
If voltage at + is greater than at -,
digital high out
Infrared Sensors
Modulated Infrared
Proximity sensors
Requires modulated IR signal
Insensitive to ambient light
Infrared Ranging
Distance sensors
Short range distance measurement
Impervious to ambient light, color and reflectivity of object
Reflective Sensor
voltage
time
voltage
time
IR Reflective Sensors
Reflective Sensor:
Emitter IR LED + detector photodiode/phototransistor
Phototransistor: the more light reaching the phototransistor, the
more current passes through it
A beam of light is reflected off a surface and into a detector
Light usually in infrared spectrum, IR light is invisible
Applications:
Object detection,
Line following, Wall tracking
Optical encoder (Break-Beam sensor)
Drawbacks:
Susceptible to ambient lighting
Provide sheath to insulate the device from outside lighting
Modulated Infrared
Modulation and Demodulation
Flashing a light source at a particular frequency
Demodulator is tuned to the specific frequency of light flashes.
(32kHz~45kHz)
Flashes of light can be detected even if they are very week
Less susceptible to ambient lighting and reflectivity of objects
Used in most IR remote control units, proximity sensors
IR Proximity Sensors
amplifier
bandpass filter
integrator
limiter
demodulator
comparator
Proximity Sensors:
Requires a modulated IR LED, a detector module with built-in modulation
decoder
Current through the IR LED should be limited: adding a series resistor in LED
driver circuit
Detection range: varies with different objects (shiny white card vs. dull black
object)
Insensitive to ambient light
Applications:
Rough distance measurement
Obstacle avoidance
Wall following, line following
IR Distance Sensors
Basic principle of operation:
IR emitter + focusing lens + position-sensitive detector
Modulated IR light
IR Distance Sensors
Sharp GP2D02 IR Ranger
Velocity
heading
Absolute Positioning
Information Required:
absolute (external)
Absolute references (wall, corner, landmark)
Methods
Dead Reckoning
Cause of unbounded accumulation error:
Systematic Errors:
a) Unequal wheel diameters
b) Average of both wheel diameters
differs from nominal diameter
c) Misalignment of wheels
d) Limited encoder resolution,
sampling rate,
Nonsystematic Errors:
a) Travel over uneven floors
b) Travel over unexpected objects on
the floor
c) Wheel-slippage due to : slippery
floors; over-acceleration, fast
turning (skidding), non-point wheel
contact with the floor
External Sensors
Encoders,
Potentiometer,
Tachometer,
Compass
Ultrasonic
Laser range sensors
Radar
Vision
Global Positioning
System (GPS)
Motor Encoder
lightemitter
decode
circuitry
- direction
- resolution
grating
A leads B
AbsoluteOpticalEncoders
Used when loss of reference is not possible.
Gray codes: only one bit changes at a time ( less uncertainty).
The information is transferred in parallel form (many wires are necessary).
Binary
Gray Code
000
000
001
001
010
011
011
010
100
110
101
111
110
101
111
100
OtherOdometrySensors
Resolver
It has two stator windings positioned
at 90 degrees. The output voltage is
proportional to the sine or cosine
function of the rotor's angle. The
rotor is made up of a third winding,
winding C
Potentiometer
=varying
resistance
Range Finder
(Ultrasonic, Laser)
Range Finder
Time of Flight
The measured pulses typically come form
ultrasonic, RF and optical energy sources.
D=v*t
D = round-trip distance
v = speed of wave propagation
t = elapsed time
Ultrasonic Sensors
Basic principle of operation:
Emit a quick burst of ultrasound (50kHz), (human hearing: 20Hz to
20kHz)
Measure the elapsed time until the receiver indicates that an echo is
detected.
Determine how far away the nearest object is from the sensor
D=v*t
D = round-trip distance
v = speed of propagation(340 m/s)
t = elapsed time
Bat, dolphin,
Ultrasonic Sensors
Transducer Ringing:
transmitter + receiver @ 50 KHz
Residual vibrations or ringing may
be interpreted as the echo signal
Blanking signal to block any return
signals for the first 2.38ms after
transmission
Electronic board
Ultrasonic
transducer
http://www.acroname.com/robotics/info/articles/sonar/sonar.html
Ultrasonic Sensors
Applications:
Distance Measurement
Mapping: Rotating proximity scans (maps the
proximity of objects surrounding the robot)
Noise Issues
http://www.sick.de/de/products/categories/safety/
Inertial Sensors
Gyroscopes
Measure the rate of rotation independent of the
coordinate frame
Common applications:
Heading sensors, Full Inertial Navigation systems (INS)
Accelerometers
Measure accelerations with respect to an inertial frame
Common applications:
Tilt sensor in static applications, Vibration Analysis, Full INS
Systems
Accelerometers
They measure the inertia force generated
when a mass is affected by a change in
velocity.
This force may change
The tension of a string
The deflection of a beam
The vibrating frequency of a mass
Accelerometer
1.
Mass
2. Suspension mechanism
3. Sensing element
d x
dx
F m 2 c kx
d t
dt
High quality accelerometers include a servo loop to improve the linearity of the
sensor.
Gyroscopes
These devices return a signal proportional to the
rotational velocity.
There is a large variety of gyroscopes that are
based on different principles
http://www.cnde.iastate.edu/staff/swormley/gps/gps.html
Noise Issues
Real sensors are noisy
Origins: natural phenomena + less-thanideal engineering
Consequences: limited accuracy and
precision of measurements
Filtering:
software: averaging, signal processing
algorithm
hardware tricky: capacitor