Sensors and Transducers
Sensors and Transducers
Sensors and Transducers
Subramanya R Prabhu B
Introduction
• To be useful, systems must interact with their environment.
To do this they use sensors and actuators
• A sensor is a device that converts a physical
phenomenon into an electrical signal.
• Sensors represent part of the interface between the physical
world and the world of electrical devices, such as computers.
• The other part of this interface is represented by actuators,
which convert electrical signals into physical phenomena
Sensor Performance Characteristics
Transfer Function
• The transfer function shows the functional
relationship between physical input signal and
electrical output signal.
• Usually, this relationship is represented as a graph
showing the relationship between the input and output
signal, and the details of this relationship may constitute
a complete description of the sensor characteristics.
Sensitivity
• The sensitivity is defined in terms of the relationship
between input physical signal and output electrical
signal.
• It is generally the ratio between a small change in
electrical signal to a small change in physical
signal.
• As such, it may be expressed as the derivative of the
transfer function with respect to physical signal.
Span or Dynamic Range
• The range of input physical signals that may be
converted to electrical signals by the sensor is
the dynamic range or span.
• Signals outside of this range are expected to cause
unacceptably large inaccuracy.
• Typical units are kelvin, Pascal, newton, etc.
Accuracy or Uncertainty
• Uncertainty is generally defined as the largest
expected error between actual and measured
output signals.
Eg.: An accuracy of 0.001 means that the measured value is within
0.001 units of actual value.
Output Impedance
• Inclusion of the sensor significantly modify the behavior of
the system to which it is connected
• Output impedance of sensor is being connected in either
series or parallel with the circuit
Repeatability/Reproducibility
• Sensor’s ability to give the same output for
repeated applications of the same input value
• Expressed as percentage of full range output
Hysteresis error
• Sensors can give different outputs from the same value of quantity
being measured according to whether that value has been reached
by a continuously increasing change or a continuously
decreasing change – this effect is called Hysteresis
• Maximum difference in output for increasing and decreasing values
Selection parameters
Nature of the measurement required
Range
Accuracy
Linearity
Speed of response
Reliable
Maintainability
cost
Role of sensor/transducer in mechatronics
Provides position, velocity and acceleration information of
different components
1. Position sensor
2. Velocity sensor
3. Light sensor
4. Flow sensor
5. Proximity / Range sensor
6. Tactile sensor
7. Vision system
POSITION SENSORS:
1. Potentiometer
▫ Linear potentiometer
▫ Rotary potentiometer
2. Encoder
▫ Absolute encoder
▫ Incremental encoder
VELOCITY SENSOR:
• Tacho-generator
LIGHT SENSORS:
1. Photo Diode
2. Photo Transistor
FLOW SENSORS:
1. Ultrasonic transducer
1. Ultrasonic sensor
1. Micro switch
2. Reed switch
VISION SYSTEM:
V
Wiper
V
Wiper
Wiper
Optical Encoders
Use light & photo-sensors to produce digital code.
Can be linear or rotary
Optical Encoder Components
• An opaque disc with perforations or transparent windows at
regular interval is mounted on the shaft whose Displacement or
Speed is to be measured.
• A LED source is aligned on one side of the disc in such a way
that its light can pass through the transparent windows of the
disc.
As the disc rotates the light will alternately passed through
the transparent windows and blocked by the opaque
sections.
A photo-detector fixed on the other side of the disc
detects the variation of light and the output of the
detector after signal conditioning would be a square
wave whose frequency is decided by the speed and
the number of holes (transparent windows) on the disc.
Types of Optical Encoders
2 types of Optical Encoders:
1. Incremental
Measure displacement relative to a reference point.
2. Absolute
Measure absolute position.
Advantages – A missed reading does not affect the next reading.
Only needs power on when taking a reading.
Disadvantages – More expensive/complex. Cost/complexity
proportional to resolution/accuracy.
Incremental Encoder
But with the holes in the middle track offset from the holes
in the outer track by one half the width of a hole
This offset enables the direction of rotation to be
determined.
The resolution is determined by the number of slots on the
disc.
By counting the number of pulses and
knowing the resolution of the disk, the
angular motion can be measured.
Often a third output channel, called INDEX, yields one pulse per
revolution, which is useful in counting full revolutions.
It is also useful as a reference to define a home base or zero position
Fixed
Sensors
A
B
INDEX
00 3600
Direction of positive track
motion
• An optical type speed sensor has a disc with 36
rectangular holes placed at regular intervals on
the periphery of the disc. The frequency of the
photo-detector output is 360 Hz. Find the speed
of the shaft in rpm on which the disc is mounted.
Absolute Encoder
• Gives an output in the form of a binary number of several
digits, each such number representing a particular
angular position.
• 3 Bit Absolute Binary Rotary encoder : The rotating
disc has three concentric circles of slots and three sensors
to detect the light pulses.
• The slots are arranged in such a way that the sequential
output from the sensors is a number in the binary code.
Rushi Vyas
0-45 000 0
45-90 001 1
90-135 010 2
135-180 011 3
180-225 100 4
225-270 101 5
270-315 110 6
315-360 111 7
Ryder Winck
270-315 110 6
315-360 111 7
Ryder Winck
135-180 011 3
Bit 0
180-225 100 4
225-270 101 5
Bit 1
270-315 110 6
135-180 010 3
Bit 0
180-225 110 4
270-315 101 6
Bit 2 315-360 100 7
A 4-bit binary code absolute encoder disc track patterns
Fixed Absolute
Sensors
MSB Encoder:
LSB
00 3600
1
Bit 4
0
Bit 3
Bit 2
Bit 1
Bit 3
Bit 2
Bit 1
Bit 3
Bit 2
Bit 1
• Copy MSB: 0_ _ _
• Write 0s until next 1 is met: 00_ _
• Switch to writing 1s: 001_
• Write 1s: 0011
Example: Convert 1110 to Binary Code
• Copy MSB: 1_ _ _
• Write 1s until next 1 is met: 1_ _ _
• Switch to writing 0s until next 1 is met: 10_ _
• Switch to writing 1s until next 1 is met: 1011
• Suggest a sensor used to track the movement of
ball in computer mouse. With the help of neat
sketch, Explain its working principle in detail.
Velocity Sensors
and
Light Sensors
Subramanya R Prabhu B
Tachogenerator
An electromechanical generator is a device capable of
producing electrical power from mechanical
energy, usually the turning of a shaft.
A generator specially designed and constructed for this
use is called a tachometer or tachogenerator.
Tachogenerator are frequently used to measure the
speeds of electric motors, engines, and the equipment they
power: conveyor belts, machine tools, mixers, fans, etc.
Variable reluctance Tachogenerator
• Consists of a toothed wheel of
ferromagnetic magnetic material which is
attached to the rotating shaft.
• A pickup coil is wound on a permanent
magnet
• As the wheel rotates, so the teeth move
past the coil and the air gap between the
coil and ferromagnetic material
changes.[Magnetic circuit with periodically
changing air gap]
• Thus flux linked by a pickup coil changes
The resulting cyclic change in the flux linked produces
an alternating e.m.f. in the coil.
Induced e.m.f. is given as e = Emax sinwt, where Emax is
Nɸnw is a measure of the angular velocity
N S e0 V
e = Vc - Vp
Comparator
Vc Va 𝜔
Amplifier Motor
Reference
Signal
Vp
Tacho-generator
.
Vp = K p
Base
Emitter
n
p-type
n-type
Collector
Proximity switches
A sensing device which gives output to a proximity sensor when
Micro switch:
Reed switch:
Magnet
Electrical
contacts
Advantage
▫ Relatively inexpensive
▫ Small in size
▫ High reliability
▫ High sensitivity to small displacements
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, …
77
Detection system is based on 2 techniques:
• Pulse technique: The detector measures the time, dt, spent
between the transmitter/receiver and the object
• Doppler technique: The frequency of the received
ultrasonic signal changes in relation to the emitted frequency
depending on the velocity ‗v‘ of the object.
• If the object is approaching the detector, then the frequency of
the signal received increases in relation to the emitted
frequency.
• It is reduced when the object is moving away from the
detector.
• The penetrative quality of ultrasonic waves makes
them useful for noninvasive measurements in
environments that are radioactive, explosive or
difficult to access
• Used for sensing distance, level and speed and for
medical imaging devices, dimensional gauging and
robotic application.
Ultrasonic distance sensor
Transmitter
Control
circuit
Receiver d Object
Distance,
d=
v t cos
2
Optical proximity sensor:
X
Light
source
Y
A
Scheme for a proximity sensor using reflected light against a sensor array
Ultrasonic transducer:
𝑑 2
𝑡𝐴𝐷 =
𝑠𝑖𝑛𝛼 𝐶 + 𝑉𝑐𝑜𝑠𝛼
Where
▫ d = diameter of the tube, m
▫ V = velocity of the fluid flow, m/sec
▫ α = angle between the path of sound and pipe wall
▫ C = sound velocity in the fluid, m/sec
▫ (Assume V<<C)
• The transit time difference Δt is difference between 2 eqn. it is
avoided.
𝑡𝐵𝐶 − 𝑡𝐴𝐷 2𝑉𝑆𝑖𝑛α𝐶𝑜𝑠α
=
𝑡𝐵𝐶𝑡𝐴𝐷 𝑑
Laser Doppler Anemometer
1 2
LASER
1 - Beam splitter
2 - Focusing optics
3 - Photo detector
Signal
3
processing
f = 2V cos f 0
C
V particle Velocity
C speed of light
Constructive interference
Destructive interference
Laser interferometer
• Optoelectronic instrument that measures distance in terms of the
wavelength of the light by examining the phase relationship between a
reference beam and a laser beam reflected from a target object.
• Laser produces collimated light rays of single frequency present with
phase coherence.
• The laser beam with an optical arrangement produces the reference beam
• A part of the reference beam is transmitted to the target and a part is sent
to the interferometer
• The rays reflected from the target are recombined at the interferometer
• The phase difference between the reference beam from the source and the
reflected beam from the target is equal to the extra length traversed by the
beam.
• The digitized information from the difference between the two signals
provides the distance information
• Used for precision motion measurement
and for checking the linearity of precision
machine tool slides and the
perpendicularity of machine tool
structures mainly during installation of
machine tools
What is a Laser Interferometer?
Why ―lasers‖ ?
• High coherence
• Collimated
• Predictable
▫ Frequency known
Types of Laser Interferometers
D=v*t
D = round-trip distance
v = speed of propagation(340 m/s)
t = elapsed time
Bat, dolphin, …
115
Detection system is based on 2 techniques:
• Pulse technique: The detector measures the time, dt,
spent between the transmitter/receiver and the object
• Doppler technique: The frequency of the received
ultrasonic signal changes in relation to the emitted
frequency depending on the velocity ‗v‘ of the object.
• If the object is approaching the detector, then the
frequency of the signal received increases in relation to
the emitted frequency.
• It is reduced when the object is moving away from the
detector.
• The penetrative quality of ultrasonic waves makes them
useful for noninvasive measurements in environments
that are radioactive, explosive or difficult to access
• Used for sensing distance, level and speed and for
medical imaging devices, dimensional gauging and
robotic application.
Noise Issues
118