ENGR 1121 Real World Measurements: The Op Amp and Differential Amplifier - The Workhorses of Analog Sensor Interfaces
ENGR 1121 Real World Measurements: The Op Amp and Differential Amplifier - The Workhorses of Analog Sensor Interfaces
ENGR 1121 Real World Measurements: The Op Amp and Differential Amplifier - The Workhorses of Analog Sensor Interfaces
Real World
Measurements
Franklin Olin College of Engineering, Spring 2011
Factoid I :
Almost all modern sensors are intended to ultimately
generate an electrical output.
Factoid 2 :
The sensor generates one of the following, which is a
function of the phenomenon being measured:
a very small voltage or current
a variable resistance
a variable capacitance or inductance
a variable periodic pulse width or frequency
Sensor usually
produces a weak
voltage.
Induced noise
appears on
both input
wires if they
are run close
together
+
_
Example: Thermocouple
Two different metals welded together to form a junction
(e.g., Iron-Constantan, Chromium-Alumel)
Some commonly used thermocouples:
Type
Material
Wire Color
Iron Constantan*
Red/White
0 to 750C
32 to 1382F
Chrome Alumel**
Red/Yellow
200 to 1250C
328 to 2282F
200 to 350C
328 to 662F
200 to 900C
328 to 1652F
Single
signal wire,
often run in
a shielded
cable
_
+
A voltage-producing
sensor or transducer
grounded sensor
Floating inputs
neither is
grounded so
induced noise
voltage appears
equally on both.
_
+
Ungrounded
sensor
Reference
junction
Op amp circuit
amplifies only the
difference between
the two floating
inputs
Voltage
varies with
phenomena to
be measured
+
_
Noise voltage
added to input
voltage.
Exampl
e:
Strain gauge using a balanced bridge circuit.
VCC
R1
Strain
gauge
Differential
voltage
measurement
R3
Adjustable pot to
balance the
bridge
The Operational
Amplifier a
fundamental
Analog
Almost every analog sensor
requires IC
one or more
op-amps for its interface.
They are typically used as differential amplifiers,
with very high input impedance, low output
impedance, and high gain. With negative
feedback, they are highly linear.
Non-Inverting Input v+
Inverting Input v-
+
_
Output y
Rf
Ri
VIN
Rf
VIN
Ri
v- _
v+
VOUT
Rf
Ri
VIN
IRi
vv+
IRf
( 1)
IRi
VIN V
Ri
IRf
VOUT V
Rf
VOUT =
G x (V+ - V-)
_+
( 2)
VOUT
RF
VIN
Ri
v- _
IRf
IRi
Ri
Rf
VOUT
I Ri I Rf 0
(1)
I Ri
0 V
Ri
I Rf
VOUT V
Rf
( 2)
G
Ri
1 G
RF Ri
as G ,
VIN
R
VOUT 1 F
Ri
VIN
+
VIN
v-
VOUT
G
VOUT
VIN
1 G
as G VOUT VIN
No gain, so what good
is this circuit?
R1
VOUT
v- _
R2
v+
VOUT
Rf
Rf
V1
V2
R2
R1
R1
V1
V2
+
R1
VOUT
VOUT
R2
G
R1 R2
V2 V1
R1
1 G
R1 R2
For G VOUT
R2
R2
V2 V1
R1
R2
R2
V2 V1
R1
V1
V2
+
R1
R2
Ratio of Common
Mode Gain to
Differential Mode
Gain is the CMRR
Rf
Vsignal
VNoise
VOUT
Rf
Rf
VSignal
VNoise
R2
R1
R1
v- _
R2
v+
VOUT
Vsignal +
R1
R2
VNoise
Vsignal -
R2
R1
Rf
R1
(VSignal VSignal )
Rf
Note: R2
doesnt
matter
v- _
v+
VOUT
R1
V1
V2
+
R1
VOUT
VOUT
R2
G
R1 R2
V2 V1
R1
1 G
R1 R2
VOUT VRe f
R2
VRef
R2
V2 V1
R1
R1=1K
R3=3K
V1
V2
+
R2=2K
R3=3K
VO
KCL at V
R1=1K
R3=3K
V1
V2
+
R2=2K
R3=3K
R3
V2 V V 0
R2
R3
R3
R1
R1 R3
3
5
1
9 Volts
2
1
R2 R3
R4
+
_
R3
R2
R1
R2
_
V2
+
R3
R4
VOUT
Why is it so awesome?
High CMRR, high gain, and high input impedance.
V1
R4
+
_
R3
R2
R1
R2
A sensor that
produces a tiny
voltage, like a
strain gauge or
thermocouple
_
+
V2
+
R3
R4
V1
R4
+
_
R3
R2
R1
R2
_
V2
+
R3
R4
VOUT
R1 2R2
V1 V2
R1
V1' V2'
V1
R4
+
_
R3
R2
R1
R2
_
V2
+
R3
R4
V1 V2
V V2
1
R1 2R2
R1
Second stage : Vo
R
Vo 4
R3
R1 2R2
R1
R4
V1' V2'
R3
V1 V2
VO
1 R 20K
Want 20 log10 1
R1
1
1 R 20K
or 1
R1
1
40dB
V1
R4
+
_
R3
R2a
R1
R2b
_
V2
+
R3
R4
VOUT
V1' V2'
V V2
First stage :
1
R 2a R1 R2 b
R1
V1' V2'
R 2a R 2b R1
V1 V2
R1
Second stage : Vo
V1
+
_
R2a
R1
R4
R3
+
R3
V2
R
4
VOUT
R 2a R 2b R1
V1 V2
R1
R3
R2b
Vo
R4
V1' V2'
R3
_
V2
R4
V1
So why do we
set R2a = R2b ?
V1 V2
R1
V1' V1 iR 2a V1
R 2a
V1 V2
R1
V2' V2 iR 2b V2
R 2b
V1 V2
R1
Suppose V1 1, V2 1
V1
+
_
R2a
R1
V1
i
VO
V1' 1 2 2 5
center at 2 volts
V 1 0 1
R 30K
In both cases, Vo 4
V1 V2
R3 10K
'
2
R3
V2
center at 0 volts
V2' 1 2 3
Unequal : R 2a 20K , R 2b 0, R1 10K
R3
R2b
V1' 1 2 3
_
V2
R4
R
4