Professional Documents
Culture Documents
1
1
Sensors
Definition: a device for sensing a physical variable of a
physical system or an environment,
a device that receives a stimulus and responds with an
electrical signal.
Classification of Sensors
Mechanical quantities: displacement, Strain, rotation
velocity, acceleration, pressure, force/torque, twisting, weight,
flow
Thermal quantities: temperature, heat.
Electromagnetic/optical quantities: voltage, current,
frequency phase; visual/images, light; magnetism.
Chemical quantities: moisture, pH value
Specifications of Sensor
1
Accuracy vs. Resolution
True value
measurement
Specifications of Sensor
2
Attributes of Sensors
Transducers
Transducer
• a device that converts a primary form of energy into a
corresponding signal with a different energy form
Primary Energy Forms: mechanical, thermal, electromagnetic,
optical, chemical, etc.
• take form of a sensor or an actuator
Sensor (e.g., thermometer)
• a device that detects/measures a signal or stimulus
• acquires information from the “real world”
Actuator (e.g., heater)
• a device that generates a signal or stimulus
sensor intelligent
real
feedback
world actuator system
3
10
Sensor Systems
Typically interested in electronic sensor
• convert desired parameter into electrically measurable signal
General Electronic Sensor
• primary transducer: changes “real world” parameter into electrical
signal
• secondary transducer: converts electrical signal into analog or digital
values
input
signal sensor data microcontroller network
(measurand)
sensor signal processing display
analog/digital
communication
11
4
Why Measure Temperature?
13
14
Thermistors
Thermistor Types
As a 1st order approximation : dR = k.dT
If k > 0 => Posistor or Positive Temperature Coefficient Thermistor (PTC)
If k < 0 => Negative Temperature Coefficient Thermistor (NTC).
1 ) Posistor/Positive Temperature
Coefficient (PTC) Thermistors
PTC Thermistors are broadly classified
into two.
The first one is called ‘Silistors’, as to
Sensitive Silicon Resistors. (have a
positive coefficient of 08% / °C ).
The second is called Switching Type PTC
Thermistors. It is made from ceramic type
materials
Exp App :The device is famous for its
application as a circuit protecting device,
such as a fuse 15
5
Thermistors
2) Negative Temperature Coefficient (NTC) Thermistors : NTC
Thermistors that are used in industries are broadly classified into
two. Thus classification is based on the method by which the
electrodes are placed on the ceramic body,
NTC thermistors are used for temperature measurements (usually in
a narrow span and low temperature ranges).
The device can be used to limit the sudden over current that flows in
supply circuits. The resistance gradually decreases by the heating up
of the device. As the resistance decreases, the usual operation of the
circuit is restored and the high current flows through it without
damaging other parts of the circuit.
NTC thermistors are used to measure and monitor batteries while
they are kept for charging.
They are used to know the temperature of oil and coolant used inside
automotive engines
16
http://www.eng.hmc.edu/NewE80/PDFs/VIshayThermDataSheet.pdf
17
Thermistors
18
6
Thermistors
The temperature from measured R using the Steinhardt-Hart
equation.
1/T=A+B*ln(R)+C*(ln(R))3
Where, R in W and T in oK
20
21
7
Linearization of a 1O k-Ohm Thermistor
22
This plot Ti = 50 0C, Ri = 275 Ω
23
24
8
Linearity: The reason RTDs are so popular
25
26
27
9
Three wire with two current sinks
28
29
30
10
Different methods of connection of RTDs
31
Wheatstone Bridge
• R3 = resistive sensor
VCC
32
For platinum
A = 3.9083 x e-3 oC-1
B = -5.775 x e-7 oC-2
C = -4.183 x e-12 oC-4
33
11
Experimentally
Derive temperature (+/-) from the measured resistance.
Easiest way is to construct a Look-Up table inside
LabView or your uP
Precision, accuracy, errors and uncertainties need to be
considered.
For real precision, each sensor needs to be calibrated at
more than one temperature and any modelling
parameters refined by regression using a least mean
squares algorithm.
• LabView, MATLAB and Excel have these functions
The 0oC ice bath and the ~100 oC boiling de-ionised
water (at sea level) are the two most convenient standard
temperatures.
34
http://www.pyroelectro.com/edu/sensors/temperature/
35
Thermocouples
36
12
Seebeck Effect
Type K thermocouple
37
38
Thermocouples
Ref. Materials Range (oC) Sensitivity (μV/oC)
E Chromel / Constantan -200 to 1000 63
J Iron / Constantan -200 to 900 53
T Copper / Constantan -200 to 400 43
K Chromel / Alumel -200 to 1300 41
R Platinum / Platinum 0 to 1400 6
13% rhodium
Characteristics of some
thermocouple sensors
39
13
40
Mathematical Model
To cover all types of thermocouples, we need a 6 - 10th
order polynomial to describe the relationship between the
voltage and the temperature difference between the two
junctions
Either
T = a0 +a1 x V + a2 x V2 +++++ a10 V10
Or
41
42
14
What happens when we connect a meter?
43
44
45
15
Look-up table is easier than using a polynomial
46
47
Force Sensing
48
16
Force Sensing
49
50
51
17
Position, Displacement and Level detectors -
Potentiomertic
This is essentially an active type of device.
The stimulus is the position or the displacement and it is obtained as
a voltage upon an applied energy source.
52
Processing circuit
53 53
54
18
Position, Displacement and Level detectors -
Potentiomertic
56
57
19
Position, Displacement and Level detectors –
Capacitive
58
59
https://www.youtube.com/watch?v=0du-QU1Q0T4 60
20
Position, Displacement and Level detectors –
Capacitive
61
62
21
Positional Sensors: LVDT
Linear Variable
Differential
Transformer
64
https://www.youtube.com/watch?v=anCnrtjNLQM
Displacement Sensing
66
22
Position, Displacement and Level detectors –
Inductive
67
68
23
Positional Sensors: Rotary Encoders
https://www.youtube.com/watch?v=qT6FdvcEsMs
70
https://www.youtube.com/watch?v=CHE1imH9tdg
71
Accelerometers
Static deformation:
F Ma
dstatic
Spring Damping k k
F=kx F=Dv
Dynamic behavior
Inertial mass
M
F=Ma d 2x dx
M 2 D kx Fext Ma
dt dt
k
r Resonance frequency
M
M Quality factor
Q r
D
https://www.youtube.com/watch?v=T_iXLNkkjFo
72
24
Accelerometers
Accelerometer parameters
• acceleration range (G) (1G=9.81 m/s2)
• sensitivity (V/G)
• resolution (G)
• bandwidth (Hz)
• cross axis sensitivity
73
Capacitive Accelerometers
Anchor to
substrate
Spring
Displacement Inertial Mass
https://www.youtube.com/watch?v=eqZgxR6eRjo 74
75 75
25
Photojunction devices
phototransistor
photodiode
76 76
77
Motion sensors/transducers
• Switches, solenoids, relays, motors, etc.
• Motors
Stepper motor
• DC
• Brushed/brushless
• Servo
• Stepper motors
• AC
Servo : https://www.youtube.com/watch?v=ZZhuD78BLDk
Stepper : https://www.youtube.com/watch?v=TWMai3oirnM
https://www.youtube.com/watch?v=bngx2dKl5jU 78
26
Piezo transducers
• Detect motion (high and low frequency)
• Sound (lab this week), pressure, fast motion
• Cheap, reliable but has a very limited range of motion
https://www.youtube.com/watch?v=jiu9zL10lIc
79
Ultrasonic Sensors
80
81
27
digital sensors
Sensors in IoT Medical and Healthcare
Many types of sensors are involved in merging medical applications and
the Internet. Here an example
a digital sensor with a signal path that includes a sensing element, a
14- bit analog-to-digital converter, a DSP, and an I/O block that
supports either an I²C or SPI interface (Figure). The sensor also
includes an internal temperature reference and associated control
logic to support the configured operating mode. The sensing element
is powered down while not being sampled to conserve power. Since
there is a single ADC, there is also a multiplexer at the front end of
the ADC that selects the signal source for the ADC
82
Applications: Actuators
Texas Instruments Digital Micromirror DeviceTM
28
Connecting Sensors to Microcontrollers
Analog
• many microcontrollers have a built-in A/D
8-bit to 12-bit common
many have multi-channel A/D inputs
Digital
• serial I/O
use serial I/O port, store in memory to analyze
synchronous (with clock)
• must match byte format, stop/start bits, parity check, etc.
asynchronous (no clock): more common for comm. than data
• must match baud rate and bit width, transmission
protocol, etc.
• frequency encoded
use timing port, measure pulse width or pulse frequency
85
Instrumentation Amplifier
Robust differential
gain amplifier gain stage
Input stage
• high input impedance input stage
buffers gain stage
• no common mode gain
• can have differential gain
Gain stage
• differential gain, low input impedance total differential gain
2 R2 R1 R4
Overall amplifier Gd
R1 R3
• amplifies only the differential component
high common mode rejection ratio
• high input impedance suitable for biopotential electrodes with high output
impedance
86
87
29
Connecting Smart Sensors to PC/Network
“Smart sensor” = sensor with built-in signal processing & communication
• e.g., combining a “dumb sensor” and a microcontroller
Data Acquisition Cards (DAQ)
• PC card with analog and digital I/O
• interface through LabVIEW or user-generated code
Communication Links Common for Sensors
• asynchronous serial comm.
universal asynchronous receive and transmit (UART)
• 1 receive line + 1 transmit line. nodes must match baud rate & protocol
RS232 Serial Port on PCs uses UART format (but at +/- 12V)
• can buy a chip to convert from UART to RS232
Sensor Calibration
Sensors can exhibit non-ideal effects
• offset: nominal output ≠ nominal parameter value
• nonlinearity: output not linear with parameter changes
• cross parameter sensitivity: secondary output variation with, e.g.,
temperature
*From: “Vision and Challenges for Realising the Internet of Things”, March 2010
http://www.internet-of-things-research.eu/pdf/IoT_Clusterbook_March_2010.pdf 90
30
The Need for Sensor Standards
92
31
Sensor Web Vision III
Software will be capable of on-demand geolocation and
processing of observations from a newly-discovered
sensor without a priori knowledge of that sensor system
94
95
When my body temperature is high and hours of sleep is low, the light cannot
be turned on and room temperature will be set to 15 degree Celsius.
Application
96
32
Opportunities for Standards
Xively
Evrythng
(Pachube)
SensorCloud
ThingSpeak
Others...
Others... Numerex
Device Cloud
97
Many more
innovative
applications by
mashing-up the IoT
data infrastructure
98
Many more
innovative
applications by
mashing-up the IoT
data infrastructure
99
33
The decentralised and heterogeneous nature of things and
the entities with which they interact requires a scalable,
flexible,
open,
layered,
event-driven
architecture of standards that minimises or eliminates any
bias towards any single programming language,
operating system, information transport mechanism or
other technology and makes efficient use of available
network connectivity and energy, where required.
100
34