Upload
nikitaprabhu
View
213
Download
0
Embed Size (px)
Citation preview
7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
1/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
CMOS Mixed Signal DesignPart I: OpAmp Design
Dinesh Sharma
Microelectronics Group, EE DepartmentIIT Bombay, Mumbai
March 21, 2006
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
2/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Linear Mode
Linear Mode of Operation
V
V
V V
OH
OL
iL iH
Inverter Transfer Curve
Analog circuits require the
output voltage to be sensitive
to the input voltage.
Digital logic requires the
output to be insensitive to theexact input voltage.
Circuits need to be biased for operation in the linear regime.
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
3/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Linear Mode
Linear Mode of Operation
V
V
V V
OH
OL
iL iH
Inverter Transfer Curve
Analog circuits require the
output voltage to be sensitive
to the input voltage.
Digital logic requires the
output to be insensitive to theexact input voltage.
Circuits need to be biased for operation in the linear regime.
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
4/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Linear Mode
Linear Mode of Operation
V
V
V V
OH
OL
iL iH
Inverter Transfer Curve
Analog circuits require the
output voltage to be sensitive
to the input voltage.
Digital logic requires the
output to be insensitive to theexact input voltage.
Circuits need to be biased for operation in the linear regime.
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
5/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Linear Mode
Linear Mode of Operation
V
V
V V
OH
OL
iL iH
Inverter Transfer Curve
Analog circuits require the
output voltage to be sensitive
to the input voltage.
Digital logic requires the
output to be insensitive to theexact input voltage.
Circuits need to be biased for operation in the linear regime.
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
6/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
A Single Transistor Amplifi er
v
vo
V
d
Id
i Vg
dId =IdVg
dVg +IdVd
dVd
IdVg
= gm (Transconductance)
IdVd
= go (O/P conductance)
The current source load keeps the drain current constant. So
dId = 0 = gmvi + govo
Hence, the voltage gain (Ao) is
Ao =vo
vi=
gm
go= gmro
Dinesh Sharma CMOS Mixed Signal Design
I t d ti
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
7/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Transistor Characteristics
gm and go depend on the transistor characteristics.
In saturation,
Id K
2 (Vg VTo Vs)2
where, K is the conductivity factor given by:
K = KW
L
Cox
W
L
VTo is the threshold voltage without substrate bias, and is aparameter which accounts for the effect of substrate bias Vs.
is weakly dependent on Vd and its value is close to 1.W and L are transistor width and length respectively.
Vs is the substrate bias.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
8/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Transconductance
Let VGT (Vg VTo Vs)
Then Id = K
2V2GT
So gm =IdVg
=
K
VGT =
K
W
L
VGT
But VGT = 2IdK
So gm =
2KId
=
2K
W
L
Id
Also, K =2Id
VGT2
Therefore gm =2Id
VGT- Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
9/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL I
d
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how thetransistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
10/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL I
d
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how thetransistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
11/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how thetransistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
12/62
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
13/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
14/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
15/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
16/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Which formula?
gm =
K
W
L
VGT
gm = 2KWL Id
gm =2IdVGT
To increase gmshould we increase VGT?
or decrease it?
Is gm linearly dependent on
transistor size?dependent on its square root?
or is it independent of transistor
size?
In fact, which formula should be applied depends on how the
transistor is biased and sized. If size and VGT are known, the
fi rst 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.Dinesh Sharma CMOS Mixed Signal Design
Introduction
S fi C
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
17/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Output conductance
Assuming a simple Early effect like model, we can write for go:
go Id/L
where L is the channel length and is a technology dependentparameter. In terms of geometry and VGT, we can write:
go =K
2
W
L2V2GT
The Early Voltage VA is L/. So,
go Id/VA =KW
2
VGTVA
2
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Si l T i t A lifi T i t Ch t i ti
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
18/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Voltage Gain
The voltage gain in terms of geometry and VGT:
Ao =2L
VGT
In terms of drain current and geometry:
Ao =1
2K
WL
Id
Thus, if the transistor is biased at constant current, the DC gain
is determined by the square root of the gate area.
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier Transistor Characteristics
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
19/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
AC Behaviour
G
S
D
S
vi
vo
Cg
Cgd
gm vi ro Co
sCgd(vi vo) gmvivo
ro sCovo = 0
visCgd gm
vo
sCgd +
1
ro+ sCo
= 0
So the AC gain A1 =vovi
= gmro1 sCgd/gm
1 + sro(cgd + co)
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier Transistor Characteristics
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
20/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Bandwidth
A1 = gmro1 sCgd/gm
1 + sro(cgd + co)
Let Ctot Cgd + Co
Then, A1 = Ao1 sCgd/gm
1 + sroCtot
Normally, Cgd/gm
7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
21/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
AC Behaviour
Gain Bandwidth Product
BW GBW
Gain(db)
oA
oA - 3db
0 db
Frequency
GBW = gmro 1
roCtot=
gm
Ctot
The gain bandwidth product (or the cutoff frequency) is
independent of ro
.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier Transistor Characteristics
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
22/62
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Transistor Characteristics
DC Voltage Gain
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.
Ctot = W where is a technological parameter.
GBWmax =gm
W
GBWmax =KVGTL
=1
2KIdL
=2Id
WVGT
Dinesh Sharma CMOS Mixed Signal Design
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
23/62
IntroductionSingle Transistor Amplifier Transistor Characteristics
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
24/62
g p
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC Voltage Gain
AC Behaviour
Technological Constraint
Ao GBWmax =2L
VGTKVGT
L=
1
2KWL
Id
1
2KId
WL
So Ao GBWmax =2K
Therefore, this quantity is a technological constant and thedesigner has no control over it.
What if an application requires a Gain-GBW product higher
than this value?
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode eq. gmCascode eq. go
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
25/62
g p
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
q g
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
Cascode Amplifi er
Id
V
Vd1
d2
M1
M2
V
V
v
v
g1
g2
in
out
Vref
dId = gmeqdVg1 + goeqdVd2
So gmeq =Id
Vg1
with dVd2 = 0
and goeq =IdVd2
with dVg1 = 0
To calculate gmeq, we put a voltage source at
the output node and calculateI
dVg1 .goeqis calculated by putting a voltage source at
vg1 and calculating IdVd2
.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode eq. gmCascode eq. go
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
26/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
Equivalent gm of Cascode
Id
V
Vd1
d2
M1
M2
V
V
v
v
g1
g2
in
out
Vref
gmeq =IdVg1
with dVd2 = 0
dVds2 = dVd1 , dVgs2 = dVd1
id = gm1vg1 + go1vd1
id = gm2vd1 go2vd1
So vd1 = id
gm2 + go2
id = gm1vg1 id go1gm2 + go2
gmeq =idvg1
= gm1gm2 + go2
go1 + go2 + gm2 gm1
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode eq. gmCascode eq. go
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
27/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
Equivalent go of Cascode
goeq =IdVd2
with dVg1 = 0
dVgs1 = 0, dVgs2 = dVd1, dVds2 = dVd2 dVd1
Id
V
Vd1
d2
M1
M2
V
V
v
v
g1
g2
in
out
Vref
id = 0 + go1vd1, sovd1 =idgo1
id = gm2vd1 + go2(vd2 vd1)
id = idgm2 + go2
go1+ go2vd2
goeq =idvd2
=go1go2
go1 + go2 + gm2
goeq go1go2gm2
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
C
Cascode eq. gmCascode eq. go
C C
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
28/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
DC gain of Cascode
Ao = gmeq
goeq=
gm1(gm2 + go2)
g01 + g02 + gm2g01 + g02 + gm2
g01g02
So Ao = gm1(gm2 + go2)g01g02= gm1g01
1 + gm2g02
Let A01
gm1g01
common source gain
And A02 1 +gm2g02 common gate gain
Then, Ao = A01 A02
DC gain = the product of the DC gain of the two transistors.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
C d A lifi
Cascode eq. gmCascode eq. go
DC i f C d
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
29/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
AC Behaviour of Cascode
Id
V
Vd1
d2
M1
M2
V
V
v
v
g1
g2
in
out
Vref
G
S
vi
vo
CoCg1
Cdg1
gm1 viro1
vx
ro2
gm2 vx
We shall see presently that vx is quite small.
Initially, we shall ignore the effect of the drain capacitance ofthe lower transistor and the gate capacitance of the upper one.
If necessary, we can always replace ro1 by ro1Cds1Cg2.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
30/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
G
S
vi
vo
CoCg1
Cdg1
gm1 vi ro1
vx
ro2
gm2 vx
gm2vx +vx voro2
= sCovo
vx =1 + sro2Co1 + gm2ro2
vo =1 + sro2Co
A2vo
Since A2 is quite large, vx is very small compared to vo.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
31/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
G
S
vi
vo
CoCg1
Cdg1
gm1 viro1
vx
ro2
gm2 vx
sCdg1(vi vx) = gm1vx +
vx
ro1 + sCovo
vo
vi=
(A1 sro1Cdg)A2(1 + sro2Co)(1 + sro1Cdg) + A2sCoro1
If sro1Cdg is small,
Voltage gain =vo
vi=
A1A21 + sro1Co(A2 + ro2/ro1)
This shows that the DC gain is multiplied by A2 and the
bandwidth is reduced by roughly the same factor.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
32/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
Current Source Loads
Up to now we have assumed current source loads. How do we
implement these?
A transistor in saturation has a (nearly) constant current in
saturation.
Therefore single transistors (preferably with long channels)
can be used as current sources/sinks.
These act as current sources/sinks only over some voltage
range not for all voltages.
There is a weak dependence on voltage due to nonzerooutput conductance.
This dependence can be reduced by using a cascode
stage.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
33/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
A simple Current Mirror
M1 M2
Iref Io
Vref
For M1, Vds = Vgs> Vgs VTTherefore M1 is saturated.
Iref =K
2
(Vref VT)2
Therefore Vref = VT +
2IrefK
If M2 is also saturated, Io = Iref
Thus M2 can act as a current source load
if Vo> Vref VT i.e. Vo>
2IrefK
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
34/62
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
DC gain of Cascode
AC Behaviour of Cascode
Folded Cascode
Load for a Cascode stage
vin
voutVbiasp2
Vbiasp1
Vbiasn
The output resistance of the load appears in
parallel with that of the amplifying stage.
If we use a single transistor current load for a
cascode, the output resistance of the load will
be ro while that of the cascode stage will be A ro.The effective output resistance will thus be
dominated by the much lower resistance of the
load and we shall lose the advantages of the
cascode stage.It is important, therefore, that the load also
should be a current source made from a
cascode pair.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
35/62
p
Differential Amplifiers
The two stage op-amp
g
AC Behaviour of Cascode
Folded Cascode
A cascode current mirror
Iref Io
VrefM1 M2
M3Vb
Vx Vy
A single transistor current mirror will have
some dependence on the drain voltage
due to its output resistance.This dependence can be reduced
substantially by using a cascode stage.However, this reduces the available
voltage range over which the transistors
are saturated.
For saturation of M2 Vy Vref VT = 2IrefK
Therefore Vb 2
2IrefK
+ VT
For saturation of M3 Vo 22Iref
KDinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
36/62
p
Differential Amplifiers
The two stage op-amp
g
AC Behaviour of Cascode
Folded Cascode
Self biased Cascode current mirror
Iref
VrefM1 M2
M3Vb
Vx Vy
Io
M0
This circuit does not need an external
voltage bias.
The reference side of the mirror generates
the bias voltages for both the transistors ofthe cascode output side.
However, this reduces the voltage range
over which the the output may swing.
Vb = 22Iref
K + 2VT
For saturation of M3 Vo 2
2IrefK
+ VT
The output voltage needs to be a VT higher than the minimum.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
37/62
Differential Amplifiers
The two stage op-amp
AC Behaviour of Cascode
Folded Cascode
Folded Cascode
vin
vout
M1
M3
M2
Vbiasp1
Vbiasp2
Load
The two transistors forming the cascode pair
can be of different channel types.
Here M1 (n type) and M2 (p type) form the
cascode pair.
M3 provides the bias current.
This arrangement is called a folded cascode.
rout = (1 + gm2ro2)(ro1||ro3) + ro2This is lower than the output resistance of the telescopic
cascode stage, because of the paralleling of ro1 and ro3.
However, it is much higher than the single transistor output
resistance.Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Cascode eq. gmCascode eq. go
DC gain of Cascode
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
38/62
Differential Amplifiers
The two stage op-amp
AC Behaviour of Cascode
Folded Cascode
Practical Folded Cascode
vin
vout
M1
M3
M2
Vbiasp1
Vbiasp2
Vbiasn2
Vbiasn1
The load for the folded cascode should also be
a cascode pair.
Here two n channel transistors in cascode
confi guration are used as the load.
One major advantage of the folded cascode is that the output
can be directly coupled to the input for negative feedback.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode AmplifierWhy diffamps?
Difference amplifier
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
39/62
Differential Amplifiers
The two stage op-amp
Difference amplifier
Why diffamps?
Circuits which amplify the differenceof two input voltages (each
of which has equal and opposite signal excursions) have many
advantages over single ended amplifi ers.
Noise picked up by both inputs gets canceled in the output.
Input and feedback paths can be isolated.
If both inputs have the same DC bias, the output is
insensitive to changes in the bias.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Diff ti l A lifi
Why diffamps?
Difference amplifier
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
40/62
Differential Amplifiers
The two stage op-amp
e e ce a p e
Some defi nitions
It is more convenient to represent the two input voltages and
the two output voltages by their mean and difference values.
vid vi1 vi2
vicm
vi1 + vi2
2vod vo1 vo2
vocm vo1 + vo2
2
The common mode and differential gains are:
Adiff vodvid
Acm vocm
vicm
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Why diffamps?
Difference amplifier
http://find/http://goback/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
41/62
Differential Amplifiers
The two stage op-amp
p
Common Mode Rejection Ratio
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. Thecommon mode rejection ratio is:
CMRR 20 logAdiffAcm
dB
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Why diffamps?
Difference amplifier
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
42/62
Differential Amplifiers
The two stage op-amp
Will this do?
vi 1 vi 2
vo 1 vo 2
Vdd
One (not very good) way of implementing a diff amp is to use
two single ended amplifi ers as shown above.
Output = Vo1 Vo2
Here the transistor currents, and hence the differential gain, will
depend on the common mode voltage. This is not desirable as
we would like the circuit to ignore the common mode voltage
and to amplify just the difference signal.Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Why diffamps?
Difference amplifier
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
43/62
Differential Amplifiers
The two stage op-amp
The long tail pair
A better diff amp can be implemented by adding a current
source to keep the total current constant.
vi 1 vi 2
vo 1 vo 2
Vdd
Is
Vs
If the common mode voltage appearing at thetwo inputs changes, it will only change the
voltage at the node where the two sources join
(Vs). However, the current remains unchanged
due to the current source - and therefore, the
differential gain is unaffected by the commonmode voltage.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Why diffamps?
Difference amplifier
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
44/62
Differential Amplifiers
The two stage op-amp
Diff amp with single ended output
vi 1 vi 2
Vdd
Is
VsMn1 Mn2
Mp1 Mp2i out
iout = I(Mp2) I(Mn2)
I(Mp2) = I(Mp1) (current mirror)I(Mp1) = I(Mn1) (series connection)
iout = I(Mn1) I(Mn2) = gm(vi1 vi2)
iout Gm(vi1 vi2) = Gmvid
Thus we have a single output which is proportional to thedifference of inputs.
The effective Gm is just the gmof either of the diff-pair
transistors.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Why diffamps?
Difference amplifier
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
45/62
Differential Amplifiers
The two stage op-amp
Gain of the OTA
vi 1 vi 2
Vdd
Is
VsMn1 Mn2
Mp1 Mp2i out
This circuit is also called an operational transconductance
amplifi er (OTA) because the output is a current.
Rout = ro(Mn2)ro(Mp2)
So DC voltage gain = gm(ro(Mn2)ro(Mp2))and GBW =
gm
CLCL includes Cdg and Cd for Mn2 and Mp2, as well as the load
capacitance.Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
46/62
p
The two stage op-amp
g q p p
Two stage op-amp
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
A simple two stage op-amp can be constructed
by following the diff amp by a common source
stage with a constant current load.
The current source for the diff amp is
implemented by an n channel MOS transistorin 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 ptype diff amp with n type common source
stage is better for low noise operation.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
47/62
p
The two stage op-amp
g q p p
op-amp eq. circuit
gm11 v1 gm22 v2
R1 R2C1 C2
v2 v0
Differential Stage Output Stage
Each stage of the opamp can be considered a gain stage with a
single pole frequency response.Notice that the phase of the output of each stage will undergo a
phase change of 90o around its pole frequency.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
48/62
The two stage op-amp
op-amp Compensation
Most opamps are used with negative feedback.
If the opamp stages themselves contribute a phase difference
of 180o, the negative feedback will appear as positive feedback.
If the gain at this frequency is > 1, the circuit will becomeunstable.
Both stages of the opamp have a single pole frequency
response.
The poles for both the stages can be quite close together.
As a result, they can contribute a total of 180o phase shift over
a relatively narrow frequency range.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
49/62
The two stage op-amp
Pole Splitting
To avoid instability, we would like to arrange things such
that the gain drops to below one by the time the phase shift
through the opamp becomes 180o.
- Even if it means that we have to reduce the bandwidth ofthe op amp.
This is often achieved by a technique called pole splitting.
The lower frequency pole is brought to a low enough
frequency, so that the gain diminishes to below one by thetime the second pole is reached.
One way of doing this is to use a Miller capacitor.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
50/62
The two stage op-amp
Eq. Circuit of compensated Opamp
gm11 v1 gm22 v2
R1 R2C1 C2
v2 v0
Differential Stage Output StageCc
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
Th t t
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
51/62
The two stage op-amp
Miller Compensation
C
A1 A2
The diff amp stage sees a load capacitance A 2C.
This brings its pole to 1ro1A2C
.
The total DC gain is A1A2.
The bandwidth is set by the diff amp stage.
Therefore the gain-bandwidth product is:
A1A2ro1A2C
=A1ro1C
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The t o stage op amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
52/62
The two stage op-amp
Slew rate
Miller compensation also sets the slew rate of the op amp.
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
For large signal input, the output current of the
OTA = tail current.
The effective load capacitance for this stage isA2 C.
A2 CdV
dt= I(Mn4)
Output of the OTA slews at a rateI(Mn4)A2C
.
So the op amp slews at a rate which is A2 times this value.Hence the slew rate of the op amp is
I(Mn4)C .
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
53/62
The two stage op-amp
Design Equations-I
vi 1 vi 2
Vdd
Vs
Mn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
All transistors must be saturated
I(Mn1) = I(Mn2) =
I(Mn4)
2I(Mn1) = I(Mp1) (Series connection)
I(Mp1) = I(MP2) (Mirror)Mp1 is always saturated.
Mp1, Mp2 have the same Vs, Vg, IdSince W/L(Mp2) = W/L(Mp1), MP2 will have the same Vd as
Mp1, and so, will be saturated.
Dinesh Sharma CMOS Mixed Signal Design
IntroductionSingle Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
54/62
The two stage op-amp
Design Equations-II
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
Mp3 has the same Vs, Vg as Mp1.
IfI(Mp3)
I(Mp1)=
W/L(Mp3)
W/L(Mp1)
Mp3 will have the same Vd as Mp1and will be saturated.
The slew rate determines I(Mn4).
I(Mn4) = C Slew Rate
I(Mn1) = I(Mn2) =I(Mn4)
2
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
55/62
The two stage op amp
Design Equations-III
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
GBW determines gm of Mn1, Mn2.
GBW =
gm(Mn2)
C
Since the current as well as gm of Mn1 and Mn2 are now known
gm(Mn2) = 2KW/L(Mn2)I(Mn2)W/L(Mn1) = W/L(Mn2)
This will detrmine the geometries of Mn1 and Mn2.
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
56/62
The two stage op amp
Design Equations-IV
Currents through Mn2,Mp2, Mp3 and Mn3 are known
(go = Id/VA) where VA is the Early voltage = L/
The overall DC gain is given by
A =gm(Mn2)gm(Mp3)
(go(Mn2)||go(Mp2))(go(Mp3)||go(Mn3))
As gmfor Mn2 and all govalues are known, this determines thegmfor MP3.
Once we know the gmas well as the current for Mp3, we can
calculate its geometry.
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
57/62
g p p
Example Design: Specifi cations
K(n) = 120A/V2,K(p) = 60A/V2
VT(n) = 0.4V,VT(p) = 0.4V
Early Voltage VA = 20V for both p and n channel transistors
Op amp DC gain = 80dB (Voltage gain of 10000)
Gain Bandwidth product = 50MHz, slew rate = 20V/s
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
58/62
g p p
Example Design-1
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
We choose a compensation capacitor value of 2 pF.
We shall bias the second stage at 5 times the tail current of
the differential stage.From the slew rate, I(Mn4) = 2 1012 20
106= 40A
Therefore I(Mn1) = I(Mn2) = I(Mp1) = I(Mp2) = 20Aand I(Mp3) = I(Mn3) = = 200A
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
59/62
Example Design-2
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
From the GBW requirement,
2 50 106 =gm(Mn2)
2 1012
This gives gm(Mn2
) 628
.
To get a gmof 628 with a current of 20A,
628 106 =
2 120 106 (W/L) 20 106
this gives W/L(Mn2) 82 = W/L(Mn1)
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
60/62
Example Design-3
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
goof Mn2 and Mp2 = 20A/20V = 1.Therefore go(Mn2)go(Mp2) = 2.goof Mn3 and Mp3 is = 200A/20V = 10.Therefore go(Mp3)go(Mn3) = 20.
DC gain = 10000 =628
2gm(Mp3)
20
So, gm(Mp3) 637
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
61/62
Example Design-4
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
To get a gmof 637 with a drain current of 200A, weshould have
637 106 = 2 60 106 (W/L) 200 106which gives the W/L of Mp3 17.
Since the geometry of Mp1 and Mp2 has to be in the
current ratio with Mp3, W/L of Mp1 and Mp2 should be
1.7.
Dinesh Sharma CMOS Mixed Signal Design
Introduction
Single Transistor Amplifier
Cascode Amplifier
Differential Amplifiers
The two stage op-amp
Compensation
Slew Rate
Design equations for the op amp
http://find/7/28/2019 CMOS MIXED SIGNAL DESIGN PART 1
62/62
Example Design-5
vi 1 vi 2
Vdd
VsMn1 Mn2
Mp1 Mp2i out
VbiasMn3
Mp3
Mn4
vout
Finally, we assume that an n type reference bias transistor
of W/L = 4 is available with a current of 10 A. This willgive the W/L of Mn4 and Mn3 as 16 and 80 respectively.
This completes the design for the simple op amp.
Dinesh Sharma CMOS Mixed Signal Design
http://find/