Beruflich Dokumente
Kultur Dokumente
and components
1
Week 4 contents
Sensors
Sensor characteristics
Sensors Used in Robotics
Position sensors
Velocity sensors
Acceleration sensors
Force/Pressure
Torque
Micro switches
Light and infrared sensors
Touch and Tactile Sensors
Proximity Sensors
Range Finders
Vision System
2
Sensors
In robotics, sensors are used for both internal feedback
control and external interaction with the outside
environments.
In a robot, as the links and joints move, sensors such as
potentiometers, encoders, resolvers send signals to the
controller that allow it to determine where each joint is.
In certain cases, the sensors may be similar in function to
that of the humans, such as vision, touch and smell.
In other cases, the sensors may be something humans do
not have, such as a radioactive sensor.
There are many different types of sensors available that
measure different phenomena.
3
Sensor characteristics
To choose an appropriate sensor for a particular need,
one has to consider a number of different characteristics.
These characteristics determine the performance,
economy, easy of application and applicability of the
sensor.
In certain situations, different types of sensors may be
available for the same purpose.
In all these cases, the following may be considered
before a sensor is chosen:
4
Sensor characteristics
Cost Sensitivity
Size Linearity
Weight Range
Type of output Response time
Interfacing Frequency response
Resolution Reliability
Accuracy
Resolution=full range Repeatability
2n
5
Position sensors
Position sensors are used to measure displacement, both
rotary and linear as well as movements.
In many cases, such as in encoders, the position
information may also be used to calculate velocities.
The following are common position sensors used in
robotics:
Potentiometers
Encoders
Linear Variable Differential Transformers (LVDT)
Resolvers
Time of Travel (Magneto Reflective) displacement
sensors 6
Position sensors contd..
Potentiometers
A potentiometer converts position information into a
variable voltage through a resistor.
As the sweeper on the resistor move due to a change in
position, the proportion of the resistance before or after
the point of contact with the sweeper compared with the
total resistance varies.
vcc R
R1 vout
7
Position sensors contd..
Since in this capacity the potentiometer acts as a voltage divider,
the output will be proportional to the resistance as
vout vcc R1 R
= /
phototransistor
Light source
phototransistor
11
Light source
Position sensors contd..
Incremental Coding
Incremental encoders provide a specific number of equally spaced
pulses per revolution (PPR) or per inch or millimeter of linear
motion.
A single channel output is used for applications where sensing the
direction of movement is not important.
Where direction sensing is required, quadrature output is used, with
two channels 90 electrical degrees out of phase; circuitry determines
direction of movement based on the phase relationship between
them.
This is useful for processes that can reverse, or must maintain net
position when standing still or mechanically oscillating.
For example, machine vibration while stopped could cause a
unidirectional encoder to produce a stream of pulses that would be
erroneously counted as motion. 12
Position sensors contd..
Incremental Coding
13
Position sensors contd..
When more resolution is needed, its possible for the
counter to count the leading and trailing edges of the pulse
train from one channel, which doubles (2) the number of
pulses counted for one rotation or inch of motion.
Counting both leading and trailing edges of both channels
will give 4 resolution.
The count is subject to loss during a power interruption or
corruption by electrical transients.
When starting up, the equipment must be driven to a
reference or home position to initialize the position
counters.
14
Position sensors contd..
Absolute Coding
An absolute encoder generates digital words that represent the
encoders actual position, as well as its speed and direction of
motion.
If power is lost, its output will be correct whenever power is
restored.
It is not necessary to move to a reference position as with
incremental type encoders.
Electrical transients can only produce transient data errors,
usually too brief to effect the dynamics of a control system.
An absolute encoders resolution is defined as the number of bits
in its output word.
This output can be in straight binary or in gray code, which
produces only a single bit change at each step to reduce errors.
15
Position sensors contd..
Absolute Coding
16
Position sensors contd..
Absolute Coding
20
Position sensors contd..
Resolvers
Resolvers are very similar to LVDTs in principle, but are
used to measure an angular motion.
A resolver is also a transformer, where the primary coils is
connected to the rotating shaft and carries an alternating
current through slip ring.
There are two secondary coils, placed 90 apart from each
other.
As the rotor rotates the flux it develops rotates with it.
When the primary coil in the rotor is parallel to either of the
two secondary coils, the voltage induce in that coil is
maximum, while the other secondary coil that is
perpendicular to it does not develop any voltage. 21
Position sensors contd..
As the rotor rotates, eventually the voltage in the first
secondary coil goes to zero, while the second coil develops
its maximum voltage.
For all other angles in b/n, the two secondary coils develop
a voltage proportional to the sine and cosine of the angle b/n
the primary and two secondary coils.
Although the output of a resolver is analog, it is equal to
sine cosine of the angle. Resolvers are reliable, robust and
accurate.
22
Position sensors contd..
Resolver
Vi
n=
V2
V1
23
Position sensors contd..
Time of travel (magneto reflective) displacement sensor
In this sensor, a pulse is sent through a conductor, which
bounces back as it reaches a magnet.
The time of travel to the magnet and is converted to the
distance if the speed of travel is known.
By attaching the moving part to either the magnet or the
conductor, the displacement can be measured.
Magnet
Displacement
24
Time
Velocity sensors
The following are the more common velocity sensors used in
robotics.
Their application is very much related to the of position
sensor used.
Encoders
If an encoder is used for displacement measurement, there is
in fact no need to use a velocity sensor.
Since encoders send a known number of signal for any given
angular displacement, by counting the number of signals
received in a given length of time (dt), we can calculate
velocity.
A smaller length of time (dt) yields a more accurate calculate,
one that is closer to the true instantaneous velocity. 25
Velocity sensors contd..
Tachometer
A tachometer is generator that converts mechanical energy into
electrical energy.
Its output is analog voltage proportional to the input angular
speed.
It may be used along with potentiometers to estimate velocities.
Differentiation of position signal
If the position signal is clean, it is actually possible and even
simple, to differentiate the position signal and to convert it to
velocity signal.
To do this, it is necessary that the signal be as continuous as
possible in order to prevent creation of impulse in velocity
signal. 26
Velocity sensors contd..
A simple R-C circuit with opamp that can be used for
differentiation, where the velocity signal is
Vout = - RCdVin/dt
Similarly, the velocity (or acceleration) signal can be
integrated to yield position (or velocity) signal:
Vout = - 1/RCVindt
R C
Position C R
signal Velocity
Position
signal
signal
27
Acceleration sensors
28
Force and Pressure Sensors
Piezoelectric
Piezoelectric material compresses if exposed to a voltage
and produces a voltage if compressed.
This is used in the photograph to create a voltage from the
variable pressure caused by the grooves in record.
Similarly, a piece of piezoelectric can be used to measure
pressures, or forces, in robotics.
The analog output voltage must be conditioned and
amplified for use.
Force-Sensing Resistor
Force-Sensing Resistor (FSR), manufactured by Interlink
Electronics, is a polymer thick film device that exhibits a29
Force and Pressure Sensors contd..
decreasing resistance with increasing force applied normal to it
surface.
For a change force of 10 to 10000 g, its resistance changes
from about 500 K to 1K .
Strain Gauges
Strain gauges can also be used to measure forces.
The output of the strain gauge is a variable resistance,
proportional to the strain, which itself is a function of applied
forces.
Thus, measuring the resistance, one can determine the applied
force.
Strain gauges are used to determine the force at the end
effector and the wrist of robot. 30
Force and Pressure Sensors contd..
A G B
My
Fx
Mx
Mz
Fz
35
Light and Infrared Sensors
Light and Infrared Sensors react to the intensity of light
projected on them by changing their electrical resistance.
If the intensity of light is zero, the resistance is at
maximum.
The higher the intensity of light, the lower the resistance is
and consequently, the higher the current is.
A phototransistor can also be used as light sensor, where in
the presence of a minimal amount of light, it will turn on
and otherwise will be off.
Phototransistors are usually used in conjunction with an
LED light source.
A light sensor array can be with a moving light source to
measure displacement as well. 36
Light and Infrared Sensors contd..
This has been used to measure deflection and small
movements in robotics and other machinery.
Light sensors are very sensitive to the visible light range.
Infrared sensors are sensitive to the infrared range.
Since infrared is invisible to human eyes, it will not
disturb humans if used in devices that project the light out.
Simple infrared remote control devices are also available
that can be used to establish remote control
communication links b/n devices and robots
37