Académique Documents
Professionnel Documents
Culture Documents
EO-102
Fundamentals of Electronics & Instrumentation
Electronics & Instrumentation EO-102
Transducers/ Sensors
Variety of Sensors/ Transducers Digital or Analog
For example:
Temperature Sensor
Humidity Sensor
Radiation Sensor
Ultrasonic Sensor
Infrared Sensor
Vibration Sensor
Global Positioning System (GPS)
Global System for Mobile Module (GSM)
Optical/ Hyper spectral Camera etc.
Electronics & Instrumentation EO-102
Sensing process
Input Energy
(or signal)
Transducer
Output Energy
(or signal)
Definition of a transducer
Transducer is any device that converts energy in one form
to another energy. The majority either convert electrical
energy to mechanical displacement or convert some
non-electrical physical quantity, such as temperature,
sound or light to an electrical signal.
Functions of transducer
1. To sense the presence, magnitude, change in, and frequency
of some measurand.
2. To provide an electrical output that, when appropriately
processed and applied to readout device, gives accurate
quantitative data about the measurand
Measurand
Transducer
Electrical
output
Excitation
Measurand refers to the quantity, property or condition which the
transducer translates to an electrical signal.
Electronics & Instrumentation EO-102
Classification of transducers
Transducer can be classified according to their application,
based primarily on the physical quantity, property, or
condition that is measured.
The transducer can be categories into:
A) Passive transducer:
- requires an external power
- output is a measure of some variation, such resistance and
capacitance. E.g. : condenser microphone
B) Self generating transducer:
- not require an external power, and they produce analog
voltage or current when stimulated by some physical form of
energy. E.g. : Thermocouple
Electronics & Instrumentation EO-102
Transducer types
Quantity
being
Measured
Input Device
(Sensor)
Output Device
(Actuator)
Selecting a transducers
1. Operating range
2. Sensitivity
3. Frequency response and resonant frequency
4. Environmental compatibility 5. Minimum sensitivity measurand.
6. Accuracy
7. Usage and ruggedness
8. Electrical parameter
Transducers to be covered
Temperature transducers
Resistive Position Transducer
Capacitive Transducer
Inductive Transducer
Strain Gauge
LVDT
Photoelectric etc.
Electronics & Instrumentation EO-102
Temperature Transducers
Temperature transducers can be divided into
four main categories:
1. Resistance Temperature Detectors (RTD)
2. Thermocouples
3. Thermistor
10
R R0 (1 T )
where
R
R0
11
2) Thermocouple
12
Contd
The emf of the thermocouple :
E = c(T1 T2) + k(T12 T22)
Where
c and k
T1
T2
13
Thermocouples
Two dissimilar metals induce voltage difference (few mV
per 10K) electro-thermal or Seebeck effect
14
15
3) Thermistor
A thermistor is a semiconductor made by sintering
mixtures of metallic oxide, such as oxides of manganese,
nickel, cobalt, copper and uranium.
Termistors have negative temperature coefficient (NTC).
That is, their resistance decreases as their temperature
rises.
Types of thermistor
Disc
Washer
Rod
Resistance
1 to 1M
1 to 50k
high resistance
16
17
Advantages of thermistor
18
Limitations of thermistor
19
Temperature Sensors
Bimetallic switch (electro-mechanical) used in
thermostats. Can be creep or snap action.
Creep-action: coil or
spiral that unwinds
or coils with
changing
temperature
20
Potentiometer
R: resistance change
: density
L: Length
A: area
Electronics & Instrumentation EO-102
21
Contd
FIG 1 (a)
FIG 1 (b)
22
Consider Fig 1 (b), if the circuit is unloaded, the output voltage V 0 is a certain
fraction of VT, depending on the position of the wiper:
V0
R2
VT
R1 R2
This equation shows that the output voltage is directly proportional to
the position of the wiper, if the resistance of the transducer is distributed
uniformly along the length of travel of the wiper
EXAMPLE 1
A displacement transducer with a shaft stroke of 4 in. is used in the
circuit of figure 1 (b). R1 +R2 is 1000 and VT = 4 V.
The wiper is 1.5 in from B. Find V0?
23
Processing circuit
24
25
Capacitive Transducer
The capacitance of a parallel plate capacitor is given by
kA 0
C
( Farads)
d
where
k
A
o
d
= dielectric constant
= the area of the plate, in m2
= 8.854 x 10-12 F/m
= the plate placing in m
26
Contd
Forms of Capacitance Transducers
Rectilinear Capacitance
Transducer
Thin diaphragm
27
Contd
28
Contd
Rectilinear capacitance
transducer:
It consists of a fixed cylinder and
a moving cylinder. These
pieces are configured so the
moving piece fits inside the
fixed piece but insulated from
it.
29
Contd
Thin diaphragm:
A transducer that varies the
spacing between surfaces. The
dielectric is either air or vacuum.
Often used as Capacitance
microphones.
30
Contd
Advantages:
1. Has excellent frequency response
2. Can measure both static and dynamic phenomena.
Disadvantages:
1. Sensitivity to temperature variations
2. the possibility of erratic or distortion signals owing to
long lead length
Applications:
1. As frequency modulator in RF oscillator
2. In capacitance microphone
3. Use the capacitance transducer in an ac bridge circuit
31
Inductive Transducer
Inductive transducers may be either of the self generating or
passive type. The self generating type utilises the basic
electrical generator principle, i.e, a motion between a
conductor and magnetic field induces a voltage in the
conductor (generator action). This relative motion between
the field and the conductor is supplied by changes in the
measurand.
An inductive electromechanical transducer is a device that
converts physical motion (position change) into a change in
inductance. Transducers of variable inductance type work
upon one of the following principles:
1. Variation of self inductance
2. Variation of mutual inductance
Electronics & Instrumentation EO-102
32
Cont..
Inductive transducers are mainly used for the measurement of
displacement. The displacement to be measured is
arranged to cause variation in any of three variables:
1. Number of turns
2. Geometric configuration
3. Permeability of the magnetic material or magnetic circuits
33
34
Strain Gauge
The strain gauge is an example of a passive transducer that
uses electric resistance variation in wires to sense the strain
produced by a force on wires. It is a very versatile detector
and transducer for measuring weight, pressure, mechanical
force, or displacement.
The construction of a bonded strain
gauge (see figure) shows a fine wire
element looped back and forth on a
mounting plate, which is usually
cemented to the member undergoing
stress. A tensile stress tends to
elongate the wire and thereby
increase its length and decrease its
cross-sectional area.
Electronics & Instrumentation EO-102
35
R
Where,
L
A
36
R / R
K
L / L
Where
R / R
K
G
Electronics & Instrumentation EO-102
37
F
S
A
Where
S= the stress in kilograms per square meter
F= the force in kilograms
A= area in square meters
Then the modulus of elasticity of material E or called Youngs modulus (Hookes
Law) is written as:
S
E
G
Where,
E= Young modules in kg per square meter
S= the stress in kilograms per square meter
G= the strain (no units)
38
39
40
An iron core slides within the tube and therefore affects the magnet
coupling between the primary and the two secondaries. When the core is in
the centre, voltage induced in the two secondaries is equal. When the core
is moved in one direction from centre, the voltage induced in one winding
is increased and that in the other is decreased. Movement in the opposite
direction reverses this effect
Electronics & Instrumentation EO-102
41
Cont..
42
Cont..
43
Motion sensors/transducers
Switches, solenoids, relays, motors, etc.
Motors
DC
Brushed/brushless
Stepper motor
Servo
Stepper motors
AC
44
45
46
Photo-junction devices
phototransistor
photodiode
47
48
Photoelectric Transducer
Can be categorized as: photoemissive, photoconductive, or photovoltaic.
No. Types
Characteristics
1.
Photoemmisive
2.
Photoconductive
3.
Photovoltaic
Generate
an
output
voltage
proportional to radiation intensity
Electronics & Instrumentation EO-102
49
50
51
electrons
52
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
53
Piezoelectric
transducers are based
on the property of
accumulating charges if
stressed (direct
effect)and to strain in
case of an electric signal
is applied across their
electrodes (inverse
effect)
Piezoelectricity is due to
asymmetries in the
crystallographic structure.
54
55
Topaz
Tourmaline-group minerals
Lead Titanate (PbTiO3)
56
Advantages
High stiffness, to measure force.
High resonant frequency (up to 500 kHz)
Stability, reproducibility and linearity
Large operating temperature range
Low sensitivity to external magnetic field.
Drawbacks
Curie Temperature, Tc
Resonant behaviour
High output impedance
Cannot be used to detect static quantities
Electronics & Instrumentation EO-102
57
58
Sound transducers
microphone
speaker
59
60
ATmega328
The ATmega328 is a single chip micro-
controller
created
by
Atmel
and
61
62
63
64
65
66
67
Arduino
A free development system based on
Atmega328.
68
What is Arduino
Open Source Hardware, you can make your own
board, or buy one.
Cheap, easily available.
Open Source Software.
Very widespread, many projects openly available.
Extra HW (shields) available.
69
Arduino Uno
70
Arduino IDE
71
Arduino Language
72
73
Introduction to Raspberry Pi
(RPi)
74
What is Raspberry Pi
Created by Raspberry Pi Foundation
The Raspberry Pi is a credit-card sized computer that plugs
into your TV and a keyboard.
Available in two revisions (Model-A and Model-B)
It has a powerful processing unit (BCM2835 ARM11 RISC)
Graphic processing capabilities (GPU@250MHz)
Has ported Open source OSs specially developed for ARM11
like Raspbian, Pidora, etc.
Raspberry+debian = Raspbian,Fedora
Remix+Raspberry = Pidora
Electronics & Instrumentation EO-102
75
76
Model A
Model B
Rs.1900
Rs.2400
700 MHz ARM1176JZF-S core (ARM11 family)
Broadcom VideoCore IV, OpenGL ES 2.0, MPEG-2 and VC1, 1080p 30 h.264/MPEG-4 AVC
Raspberry
Pi Model-A and B
Price
CPU:
GPU:
Memory
(SDRAM):
USB 2.0 ports:
Video outputs:
1
2
Composite RCA, HDMI, raw LCD Panels via DSI 14 HDMI
resolutions from 640350 to 19201200
HDMI, 3.5 mm jack (stereo analog)
SD / MMC / SDIO card slot
Audio outputs:
Onboard storage:
Onboard
None
10/100 Ethernet
network:
Power ratings:
300 mA (1.5 W)
700 mA (3.5 W)
Size and Weight
85.60 mm 53.98 mm, 45 g
Operating
Debian GNU/Linux, Raspbian OS, Fedora, Arch Linux ARM,
systems:
RISC OS, FreeBSD, Plan 9
Electronics & Instrumentation EO-102
77
USB
GPIO
Ethernet
DSI
CSI
SD
HDMI
Power
CPU/GPU
Electronics & Instrumentation EO-102
78
Ref:
http://pi.gadgetoid.com/pinout/pin6_ground
http://makezine.com/projects/tutorial-raspberry-pi-gpio-pins-and-python/
Electronics & Instrumentation EO-102
79
80
HDMI connector
81
82
83
LM335 PRECISION
TEMPERATURE SENSOR
The LM335 are precision temperature sensors which can be easily
calibrated. Wide range, low power temperature sensor outputs an
analog voltage that is proportional to the ambient temperature
1C Initial Accuracy Available
Operates from 400 A to 5 mA
Less than 1 Dynamic
Impedance
200 C overrange
Time stability (Tcase =
+125C)=0.2 C/kh
Electronics & Instrumentation EO-102
84
85
Raspberry Pi
MCP3008 8 channel ADC
Light dependent resistor (LDR)
TMP36 temperature sensor
10 Kohm resistor
86
MCP 3008
The MCP3008 is a 10bit 8-channel Analogue-to-digital converter
(ADC).
The following list shows how the MCP3008 can
be connected. It requires 4 GPIO pins on the Pi
P1 Header.
VDD 3.3V
VREF 3.3V
AGND GROUND
CLK GPIO11 (P1-23)
DOUT GPIO9 (P1-21)
DIN GPIO10 (P1-19)
CS GPIO8 (P1-24)
DGND GROUND
Electronics & Instrumentation EO-102
87
88
FEATURES
MQ-6: High sensitive to LPG, Propane,
Butane.
Small sensitivity to alcohol, smoke
Fast response
Stable and long life
Simple drive circuit
89
void loop()
{
sensorValue = analogRead(0);
// read
analog input pin 0
Serial.println(sensorValue, DEC); //
prints the value read
delay(100);
// wait 100ms
for next reading
}
Electronics & Instrumentation EO-102
90
FEATURES
High sensitivity to carbon monoxide
Stable and long life
Heating consumption About 350mW
APPLICATION
They are used in gas detecting equipment for
carbon monoxide(CO) in family and industry or car.
91
void loop()
{
sensorValue = analogRead(0);
// read
analog input pin 0
Serial.println(sensorValue, DEC); // prints
the value read
delay(100);
// wait 100ms for
next reading
}
Electronics & Instrumentation EO-102
92
DESCRIPTION
An electret microphone is a type of condenser microphone, which eliminates the need for
a polarizing power supply by using a permanently charged material.
APPLICATIONS
1.Telephones
2.Handheld devices
3.Recording devices
4.2-way
communications
5.Audio/visual
equipment
6.Flow detectors
7.GPS systems
93
void setup()
{ Serial.begin(9600); }
void loop()
{ Serial.println(analogRead(0));
delay(300); }
94
PIR sensor
PIR sensors allow you to sense motion, almost always
used to detect whether a human has moved in or out of
the sensors range.
PIRs are basically made of a pyroelectric sensor which
can detect levels of infrared radiation.
FEATURES
1. Operating voltage: 4.5V to 20V DC
2. Static power consumption: 65 micro-amps
3. Output Logic level : High-3.3V, Low-0V
4. Delay Time: adjustable (5-200S +-3%)
5. Blocked Time: 2.5 Seconds Default
6. Trigger Jumper: L No Repeat, H Repeated
Trigger(Default)
7. Sensing range: <1400 , 3-7 meters(Adjustable)
8. Operating temperature: -20 -+800 C
95
void loop()
{ Serial.print("IN2 = ");
Serial.println(digitalRead(2), DEC);
delay(200); }
96
Features
1. Distance measuring range : 20 to 150
cm
2. Analog output type
3. Package size : 29.51321.6 mm
4. Consumption current : Typ. 33 mA
5. Supply voltage : 4.5 to 5.5 V
Applications
1. Touch-less switch
(Sanitary equipment, Control of
illumination, etc. )
2. Sensor for energy saving
(ATM, Copier, Vending machine, Laptop
computer,
LCD monitor)
Electronics & Instrumentation EO-102
97
void setup()
{
Serial.begin(9600);}
void loop()
{
x = analogRead(2);
Serial.println(x);
}
98
99
100
Accelerometer sensor
The ADXL335 is a small, thin, low power, complete 3-axis accel-erometer with
signal conditioned voltage outputs. The product measures acceleration with a
minimum full-scale range of 3 g
FEATURES
Small and thin
4 mm 4 mm 1.45 mm LFCSP package
Wide supply voltage range: 2.4 V to 5.25 V
Low power: 350 A at VS = 2.4 V (typ)
Good sensitivity accuracy
X-axis and Y-axis aligned to within 0.1 (typ)
Single-supply operation
10,000 g shock survival
APPLICATIONS
Cost-sensitive motion- and tilt-sensing applications
Smart hand-held devices
Sports and health-related devices
PC security and PC peripherals
101