9-Basics of Sensors and Transducers
9-Basics of Sensors and Transducers
SENSORS
Sensors and Transducers
A collection of Sensors
GPS
Linear Encoder Gas
Camera
Gyroscope
Lever Switch
Sonar Ranging
Accelerometer
Piezo Bend Laser Rangefinder
PIR
Rotary
Encoder
Resistive Bend
Pressure
Pyroelectric
Detector
UV Detector
Pendulum Resistive
Metal Detector Tilt
IR Modulator
Receiver
Magnetometer Microphone
real intelligent
world sensor Mechatronic
system
Sensor Systems
Typically sensor system
– convert desired parameter into electrically measurable
signal
• General Sensor system
– Sensor/ transducer: sense “real world” parameter and
converted into a suitable signal
– Signal conditioning: converts the sensed signal into an
analog or digital electrical value
A/D usable
real Signal conditioning values
transducer signal
world
sensor
input microcontroller
signal signal processing
sensed data communication
(measured)
network
display
Performance and terminology
The desirable features of sensors are:
1. Range / span
2. Errors and accuracy
3. Nonliearity
4. Hysteresis
5. Dead band and Saturation
6. Output impedance
7. Repeatability
8. Reliability
9. Sensitvity
10. Resolution
11. Frequency Response
12. Response time
13. calibration
Range and Span
• Range: lowest and highest values of the
stimulus
• Span: the arithmetic difference between the
highest and lowest values of the input that
being sensed.
• Input full scale (IFS) = span
• Output full scale (OFS): difference between
the upper and lower ranges of the output of
the sensor.
• Dynamic range: ratio between the upper and
lower limits and is usually expressed in db
Range and Span (Example)
Dead Zone
Output impedance
Output impedance: ratio of the rated output voltage
and short circuit current of the port (i.e. current
when the output is shorted)
output impedance is important for interfacing
Example: 500 Ω sensor (output impedance)
connected to a processor
– b. Processor input impedance is infinite
– c. Processor input impedance is 500 Ω
Repeatability
• Also called reproducibility: failure of the sensor to
represent the same value under identical
conditions when measured at different times.
– usually associated with calibration
– given as percentage of input full scale of the
maximum difference between two readings
taken at different times under identical input
conditions.
y(t)
p
Mp
1 ±10%
td
0.5
0
t
tr ts
s
Calibration
• Calibration: the experimental determination of
the transfer function of a sensor or actuator.
• Typically, needed when the transfer function
is not known or,
• When the device must be operated at
tolerances below those specified by the
manufacturer.
• Example, use a thermistor with a 5%
tolerance on a full scale from 0 to 100°C to
measure temperature with accuracy of, say,
±0.5°C.
• The only way this can be done is by first
establishing the transfer function of the
sensor.
Calibration (cont.)
• Two methods:
• Method1. known transfer function:
– Determine the slope and crossing point (line
function) from two known stimuli (say two
temperatures) if the transfer function is linear
– Measure the output
– Calculate the slope and crossing point in V=aT+b
– If the function is more complex, need more points:
V = aT + bT2 + cT3 + d
– 4 measurements to calculate a,b,c,d
– Must choose points effectively - if linear, use
points close to the range. If not, use equally
spaced points or points around the locations of
highest curvature
Calibration
(con..)
• Method 2:
• b. Unknown transfer function:
– Measure the output Ri at as many input values Ti as is
practical
– Use the entire span
– Calculate a best linear fit (least squares for example)
– If the curve is not linear use a polynomial fit
– May use piecewise linear segments if the number of points is
large.
Calibration (cont.)