Lec5 Robot Sensors
Lec5 Robot Sensors
Robot Sensors • A robot that can see and feel is much easier to
train and deploy to perform complex tasks
5V (logic 1) on black
0V (logic 0) on white
Absolute Encoder Qudrature Shaft Encoder (two tracks)
Resolution = 360 / 2 n
1800
n = number of bits
Shaft
position
This track and
sensor Is missing
In figure
inner outer wheel motion
Eg. 110010
= 3×360/26
= 6.875°
time time
1 0
counter
clockwise -1 +1 clockwise
clockwise counter
clockwise
IR Distance Measuring Sensor IR Distance Measuring Sensor
• Use reception intensity as a measure of distance
• SHARP GP2D12 : Distance output type (10cm~80cm) Timing
Diagram
• SHARP GP2D12 : Distance judgment type (24cm)
Reflectivity Illumination
3
ω≈
T
or
4
ω≈
T + δT
Ultrasonic Range Sensor Sonar Sensor Interface
Internal resonances takes Pin
• 3cm ~4m, 40~60kHz Configuration
2.38ms to decay out.
• Emits ultrasonic ping and listen to the echo Echoes can be detected
time of flight × 0.5 × sound speed = distance to obstacle after this interval (min
distance limit)
• Problems
– Wide field of reception: where is the obstacle exactly?? At a distance, echo
– False echoes: ground reflection, etc.. becomes too weak to be
– Not very accurate: sound speed changes on temperature and humidity detected (max distance)
Timing Diagram
Mode 1 (two pin)