Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Electronics - 06
: More on Op-Amplifiers
Op-Amplifiers
- Difference Amplifiers
- Instrumentation Amplifiers
+
-
+
-
vIcm +
vId /2
vId /2
vIcm =
1
(vI + vI1 )
2 1
CMRR = 20 log10
ex) MAXIM MAX4198/4199
differential amplifier
|Ad |
|Acm |
(look at http://korea.maxim-ic.com)
has CMRR = 90 dB
90 = 20 log10
|Ad |
|Acm |
9
|Ad |
= 10 2 31623
|Acm |
vI1
vI2
vO
R3
vI1
and
vI2
R4
R2
R1
vI1
Therefore, we have
R2
R1
vI2
R2
v
R1
R4
R3
R3
R4
Electronics by Eunil Won, Korea University
vO2
vO2 =
"!
"
R4
R2
vI2
1+
R3 + R 4
R1
3
R2
1+
R1
and we have
"
R2
R1
R4
vO = vI2
R 3 + R4
1
=
R3
+
1
R4
R4
R2
=
R3 + R 4
R 1 + R2
R2
1+
R1
"
1
R1
R2 + 1
R3
R1
=
R4
R2
R2
vI2
R1
vO = vO1 + vO2 =
Ad =
R2
R1
R2
R2
R2
R2
vI2
vI1 =
(vI2 vI1 ) =
vId
R1
R1
R1
R1
Next, lets consider the circuit with only a common-mode signal applied at the input
R4
and it should be same as the
i2
vIcm
R2
The voltage at + terminal =
R3 + R4
voltage at the - terminal
i1 R1
!
"
1
R4
1
R3
i1 =
vIcm
vIcm =
vIcm
R1
R3 + R 4
R1 R3 + R 4
vIcm
+
-
R3
vO
R4
=
=
Thus
Acm
R4
R4
1
R3
vIcm i2 R2 =
vIcm
vIcm R2
R3 + R4
R 3 + R4
R 1 R 3 + R4
!
"
R4
R2 R3
1
vIcm
R3 + R4
R1 R4
VO
R4
=
=
vIcm
R3 + R 4
R2 R3
1
R1 R4
"
mode signal
In addition to rejecting common-mode signals, a difference amplifier is usually required to have a high input resistance
To find out the input resistance between the two input terminals (resistance seen by vId), called the differential input
resistance ( RId ), lets consider the following circuit
Here we assumed: R3 = R1
R2
iI
R1
iI
RId
R1
RId
R2
and R4 = R2
vId
iI
Since the two input terminals of the op amp track each other in potential, we may
write a loop equation and obtain
vId = R1 iI + 0 + R1 iI
thus:
RId = 2R1
Limitation: note that if the amplifier is required to have a large differential gain (R2/R1), then R1 will be relatively
small and the input resistance will be correspondingly low, a drawback of this circuit. Another drawback of the
circuit is that it is not easy to vary the differential gain of the amplifier (see the next instrumentation amplifier)
The low-input resistance problem of the difference amplifier can be solved by buffering the two input terminals using
!
"
voltage followers:
R2
1+
vI1
+
A1
-
R2
R1
X
R1
R3
R2
vI2
A3
+
vO
R4
A2
+
non-inverting configuration, gain =
vI1
R4
R3
R1
1+
R4
vO =
R3
R2
1+
R1
R2
1+
R1
"
"
(vI2 vI1 ) =
vI2
R2
1+
R1
"
vId
vId
R4
and differential gain is Ad =
R3
"
R2
R1
R2
1+
R1
"
Now the above circuit has the advantage of very high input resistance and high differential gain - however has three
major disadvantages:
i) vIcm is amplified in the first stage so A3 may be saturated or CMRR will be reduced
ii) Two amplifiers in the 1st stage have to be perfectly matched, otherwise a spurious signal is amplified in
the 2nd stage
iii) To vary Ad, two resistors labeled R1 or R2 have to be varied simultaneously (difficult)
Electronics by Eunil Won, Korea University
All three problems can be solved with a very simple wiring change: disconnect the node between R1 (node X), from
ground
Virtual short circuit at A1 and A2 causes input voltages
vI1
+
appear (-) on A1 and (-) on A2
vO1
vI1
A1
-
R2
i=
vId
i=
2R1
2R1
i=
vI2
vI2
vId
2R1
R3
vId
2R1
R3
R2
A2
+
R4
A3
+
vO
R4
vO2
R4
R4
vO =
(vO2 vO1 ) =
R3
R3
Now
vO2 vO1
R2
1+
R1
"
vId
vId
R2
2R1
vId
vO2 = vI2 +
R2
2R1
!
"
R2
R2
= vI2 vI1 +
vId = 1 +
vId
R1
R1
vO1 = vI1
R4
Ad =
R3
R2
1+
R1
"
Note: i) the proper differential operation does not depend on the matching of two R2: if we have R2 and R2
!
"
R4
R2 + R2!
1+
then the new gain becomes Ad =
(no need for simultaneous adjustment)
R3
2R1
ii) common-mode input gives zero current flowing in the R2 resistors: (because of the virtual short circuit)
iii) The gain can be varied by changing only one resistor 2R1
Electronics by Eunil Won, Korea University
Single time Constant (STC) circuits are those circuits that are composed of, or can be reduced to, one reactive
component (inductance or capacitance) and one resistance
Evaluating the time constant: suppose we are given with the below circuit. What is the time constant of this circuit?
R1
+
-
R2
R1
R2
R3
+
R4
vO
R3
R4
vO
R3
(R1 ||R2 )
R4
vO
ii) put the excitation to the original state and calculate the STC
+ [(R1 ||R2 ) + R3 ] || R4
-
vO
Transfer function T(s): the transfer function is a mathematical representation of the relation between the input and
output of analog electronic circuits
Mathematically, we define T(s) as, for given input vI (t) and output vO (t)
Low-pass circuit
with
VO (s)
High-pass circuit
T (s) =
VI (s)
K
1 + (s/0 )
T (s) =
0 = 1/
and
or
T (s) =
VO (s)
L{vO (t)}
=
VI (s)
L{vI (t)}
K
!
|T
(j)|
=
magnitude:
1 + (/0 )2
Ks
s + 0
K
!
|T
(j)|
=
magnitude:
1 + (0 /)2
vI (t)
and
vO (t)
K
1 + j(/0 )
T (j) =
K
1 j(0 /)
phase: () = tan1 (0 /)
9
AO 100
3 dB
- 20 dB/decade
75
50
A0 =
25
0
105
b = 2 x 10 rad/s
10
102
103
104
105
fb
106
ft
By analogy to the response of low-pass STC circuits, the gain A(s) of an internally compensated op amp may be
expressed as:
A0
A0
A(j)
=
A(s) =
and for physical frequencies,
1 + s/b
1 + j/b
A0
: the dc gain
A(j)
t = A0 b
! b
A0 b
A
(responsible for the
and |A(j)| 0 b
straight line above)
j
Thus if ft is known, (106 Hz in our example), one can easily determine the magnitude of the op-amp gain at a
given frequency f
Electronics by Eunil Won, Korea University
10
! A(j) !
!
20 log10 !
A0
Electronics by Eunil Won, Korea University
11
R2 /R1
the closed loop gain of inverting amplifier was
1 + (1 + R2 /R1 )/A
A0
since the transfer characteristic A(s) =
of the closed loop gain is
A0 b = t
1 + s/b
VO (s)
R2 /R1
!
"
!
=
R2
1
Vi (s)
1 + 1 + R1 A0 1 +
For A0 !
R2
1+
R1
"
s
b
"=
1+
1
A0
R2 /R1
"
!
R2
s
1 + R1 + A0 b 1 +
3dB =
Similarly, for A0 !
"
1
A0
R2 /R1
"
R2
s
1 + R1 + t /(1+R
2 /R1 )
T (s) =
K
1 + (s/0 )
t
2
1+ R
R1
1+
VO (s)
R2 /R1
Non-inverting Amplifier:
R2
R1
"=
1 + R2 /R1
1 + (1 + R2 /R1 )/A
Vo (s)
1 + R2 /R1
: same form as the low pass network
s
Vi (s)
1 + t /(1+R2 /R1 ) with a dc gain gain of (1+R2/R1)
3dB =
t
2
1+ R
R1
12
Vo (0)
= 1 + R2 /R1
Vi (0)
(non-inverting) and
Vo (0)
= R2 /R1 (inverting)
Vi (0)
So,
Closed loop gain
R2/R1
f3dB=ft/(1+R2/R1)
+1000
999
1 kHz
+100
99
10 kHz
+10
+1
9
0
100 kHz
1 MHz
-1
0.5 MHz
-10
10
90.9 kHz
-100
100
9.9 kHz
-1000
1000
~1 kHz
R2 /R1 = 999
+1000 = 1 + R2 /R1
R2 /R1 = 1000
1000 = R2 /R1
3dB =
t
2
1+ R
R1
This table clearly illustrates the trade-off between gain and bandwidth: for a given op amp, the lower the closed-loop
gain required, the wider the bandwidth achieved
The non-inverting configuration exhibits a constant gain-bandwidth product equal to ft of the op amp
13
dvO !!
SR =
dt max
vO
vI
vI
slope = SR
vO = vI
14
Vi
vI
= Vi cos t
dt
Vi
exceeds the slew rate of the op amp, the output waveform will be distorted
theoretical output
t
output when op amp
is slew-rate limited
The op amp date sheet usually specify a frequency fM, called the full-power bandwidth: it is the frequency at
which an output sinusoid with amplitude equal to the rated output voltage of the amp begins to show distortion
due to slew-rate limiting
M Vomax = SR
or
fM =
SR
2Vomax
Vomax
15
DC Imperfections
Offset Voltage:
When two input terminals of the op amp are tied together and connected to ground, the output
show will show a finite dc voltage (dc offset voltage)
A3
+
VO != 0
Actual op amp
circuit model
A3
+
- +
offset-free op amp
VOS
R1
- +
VOS
A3
+
vO
VO = VOS
R2
1+
R1
"
In order for the op amp to operate, its two input terminals have to be supplied
with dc currents (=input bias current)
IB1 + IB2
2
IB1
IB =
IB2
(For BJT, IB = 100 nA, IOS = 10 nA and for FET input bias is ~ pA)
Electronics by Eunil Won, Korea University
16
DC Imperfections
So far, we have not so explicit in the notation of the current, regarding the
direction and the sign. From now on, we agree on
Current values are all assumed to be positive
When we need to add or subtract current values, we carefully assign
(+) or (-) depending on the direction of currents to be manipulated
17
DC Imperfections
Input bias and offset current
IB1
R1
:output voltage of the closed-loop amp due to the input bias current?
(-) terminal is at 0 V
I1 is through R2
R2
0V
VO = IB1 R2 IB R2
IB1
+
+
I2
I1
R1
VO = IB1 R2
IB2
R2
0V
I1 = (IB2 R3 )/R1
so
IB1
+
IB2
R3
VO
IB2
If IB1 = IB2 = IB
So, if we choose
VO = IB2 R3 + R2
!
"
#$
R2
VO = IB R2 R3 1 +
R1
R2
R1 R2
R3 =
=
2
R 1 + R2
1+ R
R1
then we have
R3
IB1 IB2
R1
VO = 0
"
R3
R1
DC Imperfections
Input bias and offset current
I2
I1
R1
R2
0V
IB1
+
R3
IB2
then
Vo
=
=
=
=
VO
IB2
IB1 = IB + IOS /2
IB2 = IB IOS /2
"
R3
IB2 R3 + R2 IB1 IB2
R1
#
$
R1 R2
R1 R2 1
(IB Ios /2)
+ R2 (IB + IOS /2) (IB IOS /2)
R1 + R 2
R1 + R2 R1
R1 R2
R2
IOS R1 R2
IOS
IOS
R2
IB
+ R2 IB R2 IB
+
+ R2
+ R2
R 1 + R2
R1 + R 2
2 R1 + R 2
2
2 R1 + R2
IOS
1
1
Ib
(R1 R2 + R2 (R1 + R2 ) R22 ) +
(R1 R2 + R2 (R1 + R2 ) + R22 )
&'
(
&'
(
R1 + R2 %
2 R1 + R2 %
=0
= IOS R2
and is usually about an order of magnitude smaller than the value obtained
without R3
19
DC Imperfections
R2
R1
We conclude that to minimize the effect of the input bias currents one
should place in the positive lead a resistance equal to the dc resistance
seen by the inverting terminal
R3 = R 2
R1 R2
R 1 + R2
R2
C1
R1
C2
R3 = R 2
20
Z2
Vi
Vo
Vo (s)
Z2 (s)
=
Vi (s)
Z1 (s)
(Again, we do not deal with the Laplace transform but infer this equation
from the closed-loop gain of the inverting amplifiers with resistances)
21
i1
vI (t)
i1 (t) = vI (t)/R
1
C
i1 (t) dt
on the capacitor
i1 (t) dt
!
1 t
If VC is the voltage on C at t=0, vC (t) = VC +
i1 (t) dt
C 0
!
! t
1 t
1
The output voltage becomes
vO (t) = vC (t) =
i1 (t) dt VC =
vI (t) dt VC
C 0
RC 0
In frequency domain,
! V (s) !
1
! o !
!
!=
Vi (s)
CR
Z1 (s) = R,
!V !
! o!
! !
Vi
Z2 (s) =
Vo (s)
1
1
=
=
Vi (s)
sCR
jCR
1
RC
1
sC
realizing the
mathematical
operation of
integration
It is also known as a
Miller integrator
(log scale)
22
VOS /R
-
C
vO
- +
vO = VOS +
VOS
VOS
t
CR
The effect of the input dc input offset current (IOS) : consider the following circuit (we added a resistance R in the op
amp positive-input lead in order to keep the input bias current IB
from flowing through C)
I2
I1 = IB2 R/R = IB2
IB1
IB2
vO
negative because
it is an inverting
circuit
23
RF
vO
vO = VOS 1 +
RF
R
"
+ IOS RF
due to IOS,RF
Vo (s)
RF /R
=
Vi (s)
1 + sCRF
as opposed to the ideal function of 1/sCR
The lower the values we select for RF, the higher the corner frequency (1/CRF) will be and the more non-ideal
the integrator becomes
Electronics by Eunil Won, Korea University
24
i
i
vI (t)
vO
i=
d
dvI (t)
(CvI (t)) = C
dt
dt
Vo (s)
Z2 (s)
=
Vi (s)
Z1 (s)
Z1 (s) = 1/sC
and with
Vo (s)
= sCR
Vi (s)
or
Z2 (s) = R
dvI (t)
dt
realizing the
mathematical
operation of
differentiation
Vo (s)
= jCR
Vi (s)
25