Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Ching-Yuan Yang
National Chung-Hsing University
Department of Electrical Engineering
Overview
z Reading
B. Razavi Chapter 6.
z Introduction
In this lecture, we study the response of single-stage and differential
amplifiers in the frequency domain. Following a review of basic concepts, we
analyze the high-frequency behavior of common-source and common-gate
stages and source followers. Next, we deal with cascode and differential
amplifiers. Finally, we consider the effect of active current mirrors on the
frequency response of differential pairs.
Analog-Circuit Design
6-1
Miller effect
z Application of Miller effect to a floating impedance
That is,
Z1 =
V
1 Y
VX
Z 2 = Z
V
1 X
VY
V X VY V X
=
Z
Z1
VY V X = VY
Z2
Z
Analog-Circuit Design
6-2
A2
1
Vout
A1
(s ) =
We may say each node in the circuit contributes one pole to the transfer function.
The pole is determined by the total capacitance seen from each node to ground
multiplied by the total resistance seen at the node to ground.
In general, the transfer function is given as
A
Vout
(s ) = js = Av 1 s
j
j
Vin
1+
1+
1
where each pole with one node of the circuit, i.e., j = j , where j is the product
of the capacitance and resistance seen at node j to ground.
Analog-Circuit Design
6-3
Common-source stage
z High-frequency model of a CS stage
(Assume = 0 and M1 operates in saturation)
At the input node, the total capacitance seen
from X to ground is equal to
Cin = CGS + (1 Av)CGD,
where Av = gmRD.
The input pole is in =
RS [CGS
(Miller multiplication)
1
+ (1 + gm RD )CGD ]
out =
1
RD (C DB + CGD )
Analog-Circuit Design
6-4
C + CGS 1
1
|| GD
Ceq s CGD
gm1
CGDCGS
CGD + CGS
Analog-Circuit Design
6-5
RD
1
CGD + CGS 1
(Ceq + C DB )
gm1
CGD
Vout
gm RD
(s ) =
Vin
s
s
1 +
1 +
in
out
Ching-Yuan Yang / EE, NCHU
RS
(V V )C s + g V + V 1 + C s = 0
X
GD
m X
out
DB
out
RD
zero
(CGD s gm )RD
Vout
(s ) =
Vin
RS RDs 2 + [RS (1 + gm RD )CGD + RSCGS + RD (CGD + C DB )]s + 1
poles
Note the transfer function is of second order even through the circuit contains three
capacitors. While the denominator appears rather complicated, it can yield intuitive
expressions for the two poles, p1 and p2, if we assume |p1|<< |p2|. Writing the
denominator as
s
s
1
1
s2
D =
+ 1
+ 1 =
+
+
s + 1
p1 p 2
p2
p1
p 2
p1
Analog-Circuit Design
6-6
D=
s2
p1 p 2
s2
p1 p 2
1
1
+
+
s + 1
p
1
p2
1
+
s +1
p1
We obtain
p1 =
p2 =
1
RS (1 + gm RD )CGD + RSCGS + RD (CGD + C DB )
1
p1
1
= in
RS [CGS + (1 + gm RD )CGD ]
1
RSCGS
=
= out
RS RD (CGSCGD + CGSC DB ) RD (CGD + C DB )
6-7
6-8
Zero:
Vout
(s )
=0
s = sz
Vin
For a finite Vin, this means that Vout(sz) = 0 and hence the output can
be shorted to ground at the frequency with no current. Therefore, the
currents through CGD and M1 are equal and opposite:
V1CGD sz = gmV1.
That is , sz = +gm/CGD.
Analog-Circuit Design
6-9
ZX =
1 + RD (CGD + C DB )s
VX
=
I X CGD s (1 + gm RD + RDC DB s )
1
CGS s
At frequencies where |RD(CGD + CDB)s| << 1 and
|RDCDBs| << 1 + gmRD,
1
ZX =
, indicating that the input
(1 + gm RD )CGD s
hence Z in = Z X
6-10
Source followers
z Source follower
6-11
VX =
1
IX
g I 1
+ I X + m X
CGS s
CGS s gmb C L s
Z in =
1
1
VX
g
=
+ 1 + m
I X CGS s
CGS s gmb + C L s
1
g
1
1
1
1 + m +
=
+
CGS s
gmb gmb gmb
gmb
CGS s
gm + gmb
indicating that the equivalent input capacitance is equal to CGSgmb / (gm + gmb ).
By Miller approximation: The low-frequency gain Av = gm / (gm + gmb )
Z in
Thus, Ceq = CGS (1 Av ) = CGSgmb / (gm + gmb ), and Cin ,total = CGD +
At high-frequencies, gmb << |CLs| and Z in
Analog-Circuit Design
1
1
gm
+
+
CGS s C L s CGSC L s 2
6-12
CGS gmb
gm + gmb
Negative resistor
V1CGS s + gmV1 = I X
V1CGS sRS + V1 = V X
Z out =
V X RSCGS s + 1
=
IX
gm + CGS s
1
> RS
gm
Analog-Circuit Design
1
< RS
gm
6-13
Z out
=
gm
Z out
CGS s RS
gm
gm + CGS s
L=
1
gm
CGS
gm
1
RS
1
gm
1
1
1
=
+
CGS s
1 R1 Ls
RS
gm
gm
1
RS
gm
That is, the dependence of L upon RS implies that if a source follower is driven by a
large resistance, then it exhibits substantial inductive behavior.
Analog-Circuit Design
6-14
Common-gate stage
z CG stage at high frequencies
in = CS RS
1
, where C = C + C
S
GS
SB
gm + gmb
s
s 1 + (gm + gmb )RS
1 +
1 +
in out
CS
1 +
s (1 + RDC D s )
gm + gmb + RS1
z Input impedance Z in
ZL
1
1
, where Z L = RD
CDs
gm + gmb
Since Zin now depends on ZL, it is difficult to associate a pole with the input node.
Analog-Circuit Design
6-15
+ Vin = V1
Vout
1 + gmro
(s ) =
Vin
roC LCin RS s 2 + [roC L + Cin RS + (1 + gmro )C L RS ]s + 1
p ,in =
1
Cin
RS
gm + gmb
Analog-Circuit Design
6-16
Cascode stage
z High-frequency model of a cascode stage
Cascode stage = CS stage (input impedance) + CG stage (suppressing the miller
effect)
Gain:
VX
gm1
VA
gm 2 + gmb
g m1
CGD1
RS CGS1 + 1 +
gm 2 + gmb
Node A: p ,A =
Node X: p,X =
gm 2 + gmb2
gm 2 + gmb2
CGD1 + CDB1 + CSB 2 + CGS 2
1 +
gm1
Node Y: p ,Y =
1
RD (C DB 2 + C L + CGD 2 )
In actual design, p,X is typically chosen to be farther from the origin than the other
two. This choice plays an important role in the stability of op amps.
Analog-Circuit Design
6-17
g
1
ro 2 (VoutCY s + I in ) m 2 + VoutCY s (VoutCY s + I in )
= Vout
C
s
C
X
Xs
Vout
g r +1
1
= m2 o2
C
I in
CXs
1 + (1 + gm 2ro 2 ) Y + CY ro 2s
CX
for gm2ro2 >> 1 and gm2ro2CY /CX >> 1 (i.e., CY > CX ),
g
1
Vout
m2
C X s CY g + C s
I in
m2
Y
CX
hence
g g
Vout I in Vout
1
=
m1 m 2
Vin Vin I in
CY C X s gm 2 /C X + s
6-18
Differential pair
z Half-circuit equivalent
z Differential pair
Av ,CM
gm RD
C L s
(gm1 + gm 2 ) ro 3 1 + 1
CP s
6-19
10
If the supply voltage contains high-frequency noise and the circuit exhibits
mismatches, the resulting common-mode distance at node P leads to a differential
noise component at the output.
Analog-Circuit Design
6-20
Node G is an ac ground.
(ro1 ro 3 )C L
6-21
11
Mirror pole: p ,E =
gm 3
, where CE denotes the total capacitance at E to ground.
CE
CE: CGS3, CGS4, CDB3, CDB1, and the miller effect of CGD1 and CGD4.
Analog-Circuit Design
6-22
VE = (Vout
1
C E s + gmP
VX )
1
+ RX
C E s + gmP
Vout
gmN roN (2gmP + CE s )
=
Vin
2roP roN CEC L s 2 + [(2roN + roP )C E + roP (1 + 2gmProN )C L ]s + 2gmP (roN + roP )
Since the miller pole is typical quite higher in magnitude than the output pole, we get
p1
(2roN
and p 2
gmP
.
CE
Analog-Circuit Design
6-23
12
magnitude of
A0 (2 + s / p 2 )
(1 + s / p1 )(1 + s / p 2 )
6-24
ID4
IL
IX = VE (gmP + CE s)
Thus, gmPVE = VE (gmP + CE s)
z =
2gmP
CE
Analog-Circuit Design
6-25
13
Here, w0 is the resonant or pole frequency and Q the quality factor, K the DC gain of H(s).
Equating yields
7
The step response consists of two first-order terms, and when wp1 <<wp2, the
second settles fast and for t >>1/wp2, the first term dominates.
Chapter 4 Figure 04
Recall
Subt. In
10
t
Chapter 4 Figure 10
Chapter 4 Figure 09
11
12
Chapter 4 Figure 11
Chapter 4 Figure 12
13
Chapter 4 Figure 13
Chapter 4 Figure 14
14
If
15
16
Chapter 4 Figure 15
17
Chapter 4 Figure 17
18
Chapter 4 Figure 14
Chapter 4 Figure 18
19
Generally, the approach is to calculate a time-constant for each capacitor in the circuit by
assuming all other capacitors are zero, then sum all time constants to estimate the 3dB
bandwidth.
Detailed procedure:
20
Chapter 4 Figure 14
21
Chapter 4 Figure 13
In this example, the load capacitance is modest and source resistance is high, so Cgd1 may
become a major limitation of the bandwidth.
This means that W1 should be small.
So, given a current, Veff1 has to be relatively large: choose Veff1 to be 0.3V
Then suppose L1<<L2 so that rds2>>rds1 so R2=rds1 and A0=-gm1rds1
22
Then, need to make sure that all transistors are in active region
23
Chapter 4 Figure 13
In this example, the load capacitance is very large and source resistance is small, so C2
may become a major limitation of the bandwidth, so
24
rds=2rds1
Chapter 4 Figure 13
25
Comments
The above two design examples illustrate the manual analysis to provide an initial design
solution, which thereafter needs to be refined iteratively using simulation. A number of
challenges here:
1. there is no guarantee that the initial solution is valid or good;
2. the refinement may take many many iterations until a good design is achieved;
3. at each iteration, what are not working or good in the circuit, what parameters to
modify, and how to modify them requires in depth understanding of analog circuits.
What about those cases when it is hard to decide which capacitance dominates?
Experience counts here, after you had many designs and were aware of the biasing
conditions, capacitance conditions?
The time domain response of common-source amplifier? (two widely spaced poles)
26
Chapter 3 Figure 09
Chapter 4 Figure 20
27
We estimate the time constant associated with Cgs (note that Cgs is connected between
source and ground therefore may need to include Csb).
rin2
Chapter 4 Figure 22
Telescopic
Folded-cascode
29
rin2
Chapter 4 Figure 23
Using zero-value time constant method
Cout=Cgd2+Cdb2+ CL+Cbias
Cs2=Cdb1+Csb2+Cgs2
See Slide 21
Miller effect
30
Chapter 4 Figure 24
31
Recall that a large gain of the cascode amplifier requires the Ibias to have an
output resistance on the order of
In this case, and especially when
there is also a large load capacitance CL, the output time constant
would dominate.
32
Q1
Chapter 4 Figure 26
Chapter 4 Figure 27
Chapter 4 Figure 28
Cs=CL+Csb1
34
Next we find the admittance Yg looking into the gate of Q1 (but not
including Cgd1 as it is already combined into Cin).
35
then
| || rds2
36
CL
Vs
Chapter 4 Figure 32
37
38
Vs
f b1
fb2
1
2 (ro1 // ro 3 )[C L C gd1 C gd 3 Cdb1 Cdb3 ]
1
2 Rs [(1 g m1 (ro1 // ro 3 ))C gd1 C gs1 ]
39
Va
-Ix4
Cm
Va
-Ix4
Io
RL
CL
-Ix4-Ix3
41
Cm
RL CL
Chapter 4 Figure 37
43
Chapter 4 Figure 34
44
Chapter 4 Figure 35
45
Chapter 4 Figure 36
46
(3349) - 2004
Ching-Yuan Yang
National Chung-Hsing University
Department of Electrical Engineering
Overview
z Reading
B. Razavi Chapter 10.
z Introduction
In this lecture, we deal with the stability and frequency compensation of
linear feedback systems to the extent necessary to understand design
issues of analog feedback circuits. Beginning with a review of stability
criteria and the concept of phase margin, we study frequency compensation,
introducing various techniques suited to different op amp topologies. We
also analyze the impact of frequency compensation on the slew rate of twostage op amps.
Analog-Circuit Design
10-1
H (s)
10-2
Analog-Circuit Design
Stable system
10-3
Time-domain response
Pole frequency sP = jP + P
Root locus:
(a)
P < 0, stable
(c)
Analog-Circuit Design
10-4
20dB/dec
0.10
Analog-Circuit Design
100
10-5
H ( s) =
A0
1 + s 1 + s
p1
p2
Analog-Circuit Design
10-6
s
s
s
1 +
1 + 1 +
p1
p 2
p3
10-7
Phase margin
z Close-loop frequency and time response
Small margin
Analog-Circuit Design
Large margin
10-8
10-9
1 + 1 exp( j135)
1
0.29 0.71 j
1.3
Analog-Circuit Design
10-10
Analog-Circuit Design
10-11
10-12
Frequency compensation
z Typical op amp circuits contain many poles. For this reason, op amps must
usually be compensated, that is, the open-loop transfer function must be
modified such that the closed-loop circuit is stable and the time response is
well-behaved.
z Stability can be achieved by minimizing the
overall phase shift, thus pushing the phase
crossover out.
Moving PX out
Discussion:
This approach requires that we attempt
to minimize the number of poles in the
signal path by proper design.
Since each additional stage contributes
at least one pole, this means the number
of stages must be minimized, a remedy
that yields low voltage gain and/or limited
output swings.
Analog-Circuit Design
10-13
Moving GX in
Analog-Circuit Design
10-14
Analog-Circuit Design
10-15
Analog-Circuit Design
10-16
Analog-Circuit Design
10-17
Analog-Circuit Design
10-18
Analog-Circuit Design
10-19
10
10-20
z In a two-stage amp as shown in Fig.(a), the first stage exhibits a high output
impedance and the second stage provides a moderate gain, thereby
providing a suitable environment for Miller multiplication of capacitors.
1
Analog-Circuit Design
10-21
11
z
z
Discussion
Two poles: (based on the assumption |p,1| << |p,2|)
1
Simplified circuit of a two-stage op amp:
p1
RS [(1 + g m9 RL )(CC + CGD 9 ) + C E ] + RL (CC + CGD 9 + C L )
RS = the output resistance of 1st stage.
p2
RL = ro9 || ro11
Miller compensation moves the interstage pole toward the origin and the output pole
away from the origin, allowing a much greater bandwidth than that obtained by merely
connect the compensation capacitor from one node to ground.
Analog-Circuit Design
10-22
10-23
12
1
CC ( g m9 Rz )
CL + CE
g m9CC
g m9CC
Drawbacks:
1. It is difficult to guarantee the relationship of the above equation,
especially if CL is unknown or variable.
2. The actual implementation of Rz is variable. Rz is typically
realized by a MOS transistor in the triode region.
Analog-Circuit Design
10-24
(W / L)14
g m14 (W / L)15
(W / L)14
C L + CC
g m9CC
I D9
CC
I D14 CC + C L
10-25
13
Goal:
Rz =
C L + CC
g m 9 C C (A)
I D 9 I D11 RS1
Analog-Circuit Design
10-26
One-stage op amps:
10-27
14
negative slewing:
z The positive slew rate equals ISS /CC. During slewing, M5 must provide two
currents: ISS and I1. If M5 is not wide enough to sustain ISS + I1 in saturation,
then VX drops significantly, possibly driving M1 into the triode region.
z During negative slew rate, I1 must support both ISS and ID5. For example,
if I1 = ISS, then VX rises so as to turn off M5. If I1 < ISS, then M3 enters the
triode region and the slew rate is given by ID3 /CC.
Analog-Circuit Design
10-28
Equivalent circuit:
Source follower
Vout
gm1RLRS (gm2 + CCs)
=
Vin RLCLCC (1 + gm2RS )s2 + [(1 + gm1gm2RLRS )CC + gm2RLCL ]s + gm2
10-29
15
z The primary issue is that the source follower limits the lower end of the
output voltage to VGS2 + VI2. In the CG topology, CC and the CG stage M2
convert the output voltage swing to a current, returning the result to the
gate of M1.
V1
1
+ g m 2V2 , we obtain
+ C L s = g m 2V2 and I in =
RS
RL
Vout
g m1 RS RL ( g m 2 + CS s )
=
I in RL CL CC s 2 + [(1 + g m1RS )g m 2 RLCC + CC + g m 2 RL CL ]s + g m 2
Using approximations, p1
1
g m1 RL RS CC
Analog-Circuit Design
and p 2
10-30
g m 2 RS g m1
.
CL
Negative slewing:
Analog-Circuit Design
10-31
16
Analog-Circuit Design
10-32
17