Professional Documents
Culture Documents
Opamp Tutorial PDF
Opamp Tutorial PDF
Dinesh Sharma
dId = 0 = gm vi + go vo
Transistor Characteristics
Transconductance
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Which formula?
W To increase gm
gm = K VGT
L should we increase VGT ?
s or decrease it?
W Is gm linearly dependent on
gm = 2K Id
L transistor size?
dependent on its square root?
2I
gm = d or is it independent of transistor
VGT
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
first formula applies. If the drain current and size are known, the
second one does. If gate voltage and drain current are given
and the transistor is accordingly sized, the third formula should
be used.
CMOS Mixed Signal Design
Single Transistor Amplifier
Transistor Characteristics
Output conductance
go Id /L
K W 2
go = V
2 L2 GT
The Early Voltage VA is L/ . So,
2
K W
VGT
go Id /VA =
2 VA
CMOS Mixed Signal Design
Single Transistor Amplifier
DC Voltage Gain
Voltage Gain
2L
Ao =
V GT
AC Behaviour
Cgd
G vo
D
vi Cg gm vi ro Co
S S
vo
sCgd (vi vo ) gm vi
sCo vo = 0
ro
1
vi sCgd gm vo sCgd + + sCo = 0
ro
vo 1 sCgd /gm
So the AC gain A1 = = gm ro
vi 1 + sro (cgd + co )
CMOS Mixed Signal Design
Single Transistor Amplifier
AC Behaviour
Bandwidth
1 sCgd /gm
A1 = gm ro
1 + sro (cgd + co )
Let Ctot Cgd + Co
1 sCgd /gm
Then, A1 = Ao
1 + sro Ctot
Normally, Cgd /gm << 1
Ao
Therefore, A1
1 + sro Ctot
This describes the frequency response of a system with one
dominant pole. The bandwidth is given by 1/ro Ctot .
CMOS Mixed Signal Design
Single Transistor Amplifier
AC Behaviour
Ao
A - 3db
o
Gain (db)
0 db
BW GBW
Frequency
1 gm
GBW = gm ro =
ro Ctot Ctot
The gain bandwidth product (or the cutoff frequency) is
independent of ro .
CMOS Mixed Signal Design
Single Transistor Amplifier
AC Behaviour
Maximum GBW
GBW is max. when there is no load connected and the load is
entirely due to the device capacitance itself. Then the load
capacitance is proportional to the device width.
K VGT
GBWmax =
L
r
1 2K Id
=
WL
2Id
=
WVGT
CMOS Mixed Signal Design
Single Transistor Amplifier
AC Behaviour
Summary
Technological Constraint
s r
2L K VGT 1 2K WL 1 2K Id
Ao GBWmax = =
VGT L Id WL
2K
So Ao GBWmax =
Therefore, this quantity is a technological constant and the
designer has no control over it.
What if an application requires a Gain-GBW product higher
than this value?
CMOS Mixed Signal Design
Cascode Amplifier
Cascode Amplifier
Equivalent gm of Cascode
Id
gmeq = with dVd2 = 0
Vg1
I
d dVds2 = dVd1 , dVgs2 = dVd1
V
d2 v out id = gm1 vg1 + go1 vd1
V Vg2
ref M2 id = gm2 vd1 go2 vd1
id
V So vd1 =
Vg1
d1 gm2 + go2
v in go1
M1 id = gm1 vg1 id
gm2 + go2
id gm2 + go2
gmeq = = gm1 gm1
vg1 go1 + go2 + gm2
CMOS Mixed Signal Design
Cascode Amplifier
Cascode eq. go
Equivalent go of Cascode
Id
goeq = with dVg1 = 0
Vd2
dVgs1 = 0, dVgs2 = dVd1 , dVds2 = dVd2 dVd1
i
id = 0 + go1 vd1 , sovd1 = d
I
d go1
V id = gm2 vd1 + go2 (vd2 vd1 )
d2 v out
Vg2
V
ref M2 gm2 + go2
id = id + go2 vd2
go1
V
Vg1
d1 id go1 go2
goeq = =
v in M1 vd2 go1 + go2 + gm2
go2
goeq go1
gm2
CMOS Mixed Signal Design
Cascode Amplifier
DC gain of Cascode
DC gain of Cascode
AC Behaviour of Cascode
I
d
V ro2
d2 v out Cdg1
V Vg2
G vx vo
ref M2
vi ro1 gm2 vx Co
V Cg1 gm1 vi
Vg1
d1 S
v in M1 We shall see presently that vx is quite small.
ro2
Cdg1
G vx vo
vi ro1 gm2 vx Co
Cg1 gm1 vi
S
vx vo
gm2 vx + = sCo vo
ro2
1 + sro2 Co 1 + sro2 Co
vx = vo = vo
1 + gm2 ro2 A2
Since A2 is quite large, vx is very small compared to vo .
CMOS Mixed Signal Design
Cascode Amplifier
AC Behaviour of Cascode
ro2
Cdg1
G vx vo
vi ro1 gm2 vx Co
Cg1 gm1 vi
S
vx
sCdg1 (vi vx ) = gm1 vx + + sCo vo
ro1
vo (A1 sro1 Cdg )A2
=
vi (1 + sro2 Co )(1 + sro1 Cdg ) + A2 sCo ro1
If sro1 Cdg is small,
vo A1 A2
Voltage gain = =
vi 1 + sro1 Co (A2 + ro2 /ro1 )
Calculation of gm
gm
The gain bandwidth product is given by C . So,
gm gm1
2 108 = =
C 1012
So gm1 = 628.3S
Since the same current flows through the two transistors and
they have the same geometry, gm1 = gm2 , go1 = go2 .
gm1 gm2
Let A = =
go1 go2
Therefore,
gm1 gm2
2500 = 1+ = A(A + 1)
go1 go2
This gives A 49.5.
CMOS Mixed Signal Design
Cascode Amplifier
AC Behaviour of Cascode
628.3 106
49.5 = so go1 = 12.7S
go1
Id I
Therefore go1 = 12.7 106 = = d
VE 20
From where, the drain current is 254A.
r
W W 628.32 1012
Since gm1 = 2K Id , = 5.2
L L 300 10 6 254 106
W
Therefore gm = 628.3S, = 5.2, Id = 254A
L
CMOS Mixed Signal Design
Cascode Amplifier
AC Behaviour of Cascode
Bias Voltages
r
1 W 2 2 254
Id = K VGT So VGT = = .81V
2 L 150 5.2
I
Vg1 VTn + VGT = 0.5 + 0.81 = 1.31V
d
V
d2 v out
M1 will be in saturation when
V
ref
Vg2
M2
Vd1 = VS2 0.81V ,
V
So Vg2 0.81 + 0.5 + 0.81 = 2.12V .
d1
Vg1 For M2to be in saturation,
v in M1
Vd2 2.12 0.5 = 1.62V .
DC level incompatibility
Alternative Cascode
Folded Cascode
Vdd
Vbiasp1
This arrangement is called a folded cascode.
M3
M3 provides the bias current.
M2 and M3 keep the drain voltage of M1 nearly
Vbiasp2 fixed
M2
Vin
M1 Vout
Id3 - Id1 flows through the p channel
cascoding transistor M2, which provides
Load amplification in a common gate configuration.
Gnd
K
Iref = (Vref VT )2
2
r
2Iref
M1 Vref M2 Therefore Vref = VT +
K
If M2 is also saturated, Io = Iref
Vdd
M3
Vbiasp1
Gnd
Vdd
M3
Vbiasp1
Vbiasp2
M2
Vout
Vbiasn2
M1
Vin
Vbiasn1
Gnd
Differential Amplifiers
Some definitions
It is more convenient to represent the two input voltages and
the two output voltages by their mean and difference values.
For a good diff amp, the differential gain should be high and
independent of input common mode voltage, whereas the
common mode gain should be as low as possible. The
common mode rejection ratio is:
Adiff
CMRR 20 log dB
Acm
CMOS Mixed Signal Design
Operational Amplifiers
Differential Amplifiers
Vdd
vo 1 vo 2
vi 1 vi 2
vi 1 vi 2
vout stage with a constant current load.
Mn1 Mn2
Vs The current source for the diff amp is
Vbias Mn4
Mn3 implemented by an n channel MOS transistor
in saturation.
The two stage design permits us to optimize the output stage
for driving the load and the input stage for providing good
differential gain and CMRR.
A diff amp with n transistors and an output stage with p driver is
shown. However, a p type diff amp with n type common source
stage is better for low noise operation.
CMOS Mixed Signal Design
Operational Amplifiers
The two stage op-amp
R1 C1 R2 C2
op-amp Compensation
Pole Splitting
R1 C1 R2 C2
gm11 v1 gm22 v2
CMOS Mixed Signal Design
Operational Amplifiers
The two stage op-amp
Miller Compensation
C
A1 A2
Slew rate
Design Equations-I
vi 1 vi 2
vout I(Mn4)
Mn1 Mn2 I(Mn1) = I(Mn2) =
Vs 2
Vbias Mn4
Mn3 I(Mn1) = I(Mp1) (Series connection)
I(Mp1) = I(MP2) (Mirror)
Mp1 is always saturated.
Mp1, Mp2 have the same Vs , Vg , Id
Since W/L(Mp2) = W/L(Mp1), MP2 will have the same Vd as
Mp1, and so, will be saturated.
CMOS Mixed Signal Design
Operational Amplifiers
The two stage op-amp
Design Equations-II
Vdd
Mp3 has the same Vs , Vg as Mp1.
Mp3
Mp1 Mp2
i out
I(Mp3) W /L(Mp3)
vi 1 vi 2
vout If =
Mn1 Mn2 I(Mp1) W /L(Mp1)
Vs
Mn3
Vbias Mn4 Mp3 will have the same Vd as Mp1
and will be saturated.
The slew rate determines I(Mn4).
Design Equations-III
Vdd
Mp3
Mp1 Mp2
i out GBW determines gm of Mn1, Mn2.
vout
vi 1 vi 2
Mn1 Mn2
Vs gm (Mn2)
GBW =
Vbias Mn4
Mn3 C
Since the current as well as gm of Mn1 and Mn2 are now known
p
gm (Mn2) = 2K W /L(Mn2)I(Mn2)
W /L(Mn1) = W /L(Mn2)
Design Equations-IV
gm (Mn2)gm (Mp3)
A=
(go (Mn2)||go (Mp2))(go (Mp3)||go (Mn3))
As gm for Mn2 and all go values are known, this determines the
gm for MP3.
Once we know the gm as well as the current for Mp3, we can
calculate its geometry.
CMOS Mixed Signal Design
Operational Amplifiers
The two stage op-amp
Example Design-1
Vdd
Mp3
Mp1 Mp2
i out
vout
vi 1 vi 2
Mn1 Mn2
Vs
Mn3
Vbias Mn4
Example Design-2
Vdd
Mp3
Mp1 Mp2
i out
vout
vi 1 vi 2
Mn1 Mn2
Vs
Mn3
Vbias Mn4
Example Design-3
Vdd
Mp3
Mp1 Mp2
i out
vout
vi 1 vi 2
Mn1 Mn2
Vs
Mn3
Vbias Mn4
628 gm(Mp3)
DC gain = 10000 =
2 20
So, gm (Mp3) 637
CMOS Mixed Signal Design
Operational Amplifiers
The two stage op-amp
Example Design-4
Vdd
Mp3
Mp1 Mp2
i out
vout
vi 1 vi 2
Mn1 Mn2
Vs
Mn3
Vbias Mn4
Example Design-5
Vdd
Mp3
Mp1 Mp2
i out
vout
vi 1 vi 2
Mn1 Mn2
Vs
Mn3
Vbias Mn4
Vdd
Vbiasp2 Vbiasp1 The telescopic cascode is a differential version
of the cascode amplifier discussed earlier.
+
Vout
Its gain is comparable to the two stage op-amp.
-
The output impedance is (very) high!
Vbiasn2
Folded Cascode
Vdd
Vbiasp1
Vbiasp2
Vin + Vin -
- Vout
+
Vbiasn2
Vbiasn1
Gnd
CMOS Mixed Signal Design
Push Pull Output Stage
Push-Pull Op Amp
Differential to single ended conversion can be done in the
output stage, by using a push-pull driver. The output loads in
the differential stage (Mp1 and Mp2) are diode connected.
Current through Mp2 is mirrored in
Vdd
the output p transistor Mp4.
Mp3 Mp1 Mp2 Mp4
Current through Mp1 is mirrored into
Out
a pMOS (Mp3) and passed through
vi- vi+
Mn1
Vs
Mn2 a diode connected nMOS (Mn3).
Mn3 Mn4
This current is mirrored in the output
stage nMOS (Mn4).
Vbias Mn5
Gnd Mirroring ratio of Mp4 to Mp2 and
Mn4 to Mn3 should be identical (and
can be large).