6.2 Introduction To Op Amps: Objective
6.2 Introduction To Op Amps: Objective
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 2
Bias
Circuitry Fig. 6.1-1
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 3
Ideal Op Amp
Symbol:
i1 VDD
+
+ +
i2 vi
v1 - - +
+
VSS vOUT = Av(v1-v2)
v2
- - -
Fig. 6.1-2
Null port:
If the differential gain of the op amp is large enough then input terminal pair becomes a null port.
A null port is a pair of terminals where the voltage is zero and the current is zero.
I.e.,
v1 - v2 = vi = 0
and
i1 = 0 and i2 = 0
Therefore, ideal op amps can be analyzed by assuming the differential input voltage is zero and that no current
flows into or out of the differential inputs.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 4
R1
- R2
+ + +
vinn +
v2 vout
vinp v1
- - -
Fig. 6.1-3
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 5
R1 i1 i2 R2
+ + ii - +
vin vi + vout
- - -
Virtual Ground Fig. 6.1-4
Solution
If the differential voltage gain, Av, is large enough, then the negative feedback path through R2 will cause the
voltage vi and the current ii shown on Fig. 6.1-4 to both be zero. Note that the null port becomes the familiar
virtual ground if one of the op amp input terminals is on ground. If this is the case, then we can write that
vin
i1 = R
1
and
vout
i2 = R
2
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 6
v1 Ricm IB2
CMRR en2
v2 * -
Rout vout
VOS * in2 Cid Rid
+
v1 Ideal Op Amp
Ricm IB1
Fig. 6.1-5
where
Rid = differential input resistance
Cid = differential input capacitance
Ricm = common mode input resistance
VOS = input-offset voltage
IB1 and IB2 = differential input-bias currents
IOS = input-offset current (IOS = IB1-IB2)
CMRR = common-mode rejection ratio
2
e n = voltage-noise spectral density (mean-square volts/Hertz)
2
i n = current-noise spectral density (mean-square amps/Hertz)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 7
|Av(jω)| dB
Asymptotic
20log10(Av0) Magnitude
Actual -6dB/oct.
Magnitude
GB
ω2 ω3
0dB ω
ω1
-12dB/oct.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 8
Settling Time
0 t
0 Ts Fig. 6.1-7
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 9
Current
Voltage Transconductance Transconductance Stage
to Current Grounded Gate Grounded Source
Second
Voltage
Current Class A (Source Class B Stage
to Voltage or Sink Load) (Push-Pull)
Table 6.1-1
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 10
VDD VCC
M3 M4 Q3 Q4
M6 Q6
-
vout vout vout
M1 M2 vin Q1 Q2
- + -
vin vin
+ +
+ M7 + Q7
VBias M5 VBias Q5
- VSS - VEE
V→I I→V V→I I→V V→I I→V V→I I→V
OA01
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 11
+ M1 M2 M8 M9 + Q1 Q2 Q8 Q9
vin vout - vin vout
- vout -
vin Q6 Q7
M6 M7 +
VBias
VBias
VBias
VBias
M4 M5 Q4 Q5
VSS VEE
V→ I I→I I→V V→ I I→I I→V OA015
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 12
COMPENSATION OF OP AMPS
GENERAL PRINCIPLES
Objective
Objective of compensation is to achieve stable operation when negative feedback is applied around the op
amp.
Types of Compensation
1. Miller - Use of a capacitor feeding back around a high-gain, inverting
stage.
• Miller capacitor only
• Miller capacitor with an unity-gain buffer to block the forward path through the compensation capacitor.
Can eliminate the RHP zero.
• Miller with a nulling resistor. Similar to Miller but with an added series resistance to gain control over
the RHP zero.
2. Feedforward - Bypassing a positive gain amplifier resulting in phase lead. Gain can be less than unity.
3. Self compensating - Load capacitor compensates the op amp.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 13
-
Vin(s)
+ Σ A(s) Vout(s)
Fig. 6.2-1
A(s) = amplifier gain (normally the differential-mode voltage gain of the op amp)
F(s) = transfer function of the external feedback from the output of the op amp back to the input.
Definitions:
• Open-loop gain = L(s) = -A(s)F(s)
Vout(s) A(s)
• Closed-loop gain = V (s) = 1+A(s)F(s)
in
Stability Requirements:
The requirements for stability for a single-loop, negative feedback system is,
|A(jω0°)F(jω0°)| = |L(jω0°)| < 1
where ω0° is defined as
Arg[−A(jω0°)F(jω0°)] = Arg[L(jω0°)] = 0°
Another convenient way to express this requirement is
Arg[−A(jω0dB)F(jω0dB)] = Arg[L(jω0dB)] > 0°
where ω0dB is defined as
|A(jω0dB)F(jω0dB)| = |L(jω0dB)| = 1
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 14
|A(jω)F(jω)|
-20dB/decade
0dB ω
-40dB/decade
180°
Arg[-A(jω)F(jω)]
135°
90°
45°
ΦM
0° ω0dB ω
Fig. 6.2-2
Frequency (rads/sec.)
A measure of stability is given by the phase when |A(jω)F(jω)| = 1. This phase is called phase margin.
Phase margin = ΦM = Arg[-A(jω0dB)F(jω0dB)] = Arg[L(jω0dB)]
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 15
0.4
0.2
0
0 5 10 15 Fig. 6.2-3
ωot = ωnt (sec.)
A “good” step response is one that quickly reaches its final value.
Therefore, we see that phase margin should be at least 45° and preferably 60° or larger.
(A good rule of thumb for satisfactory stability is that there should be less than three rings.)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 16
M3 M4 Q3 Q4
M6 Q6
vout vout
- M1 M2 - Q1 Q2
vin vin
+ +
+ M7 + Q7
VBias M5 VBias Q5
- -
VSS VEE OA016
Small-Signal Model:
Note that this model neglects the base-collector and gate-drain capacitances for purposes of simplification.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 17
The locations for the two poles are given by the following equations
−1 −1
p’1 = R C and p’2 = R C
I I II II
where RI (RII) is the resistance to ground seen from the output of the first (second) stage and CI (CII) is the
capacitance to ground seen from the output of the first (second) stage.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 18
Avd(0) dB
-20dB/decade
|A(jω)|
GB
0dB log10(ω)
Phase Shift -40dB/decade
-45°/decade
180°
Arg[-A(jω)]
135°
-45°/decade
90°
45°
0° log10(ω)
|p1'| |p2'| ω0dB Fig. 6.2-5
If we assume that F(s) = 1 (this is the worst case for stability considerations), then the above plot is the same as the
loop gain.
Note that the phase margin is much less than 45°.
Therefore, the op amp must be compensated before using it in a closed-loop configuration.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 19
MILLER COMPENSATION
Two-Stage Op Amp
VDD VCC
M3 M4
Q3 Q4
CM M6 CM Q6
Cc vout Cc vout
M1 M2 Q1 Q2
- -
vin CI CII vin CI CII
+ +
+ M7 + Q7
VBias M5 VBias Q5
- -
VSS VEE OA046
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 20
Cc
v2
+ +
vin gm1vin CI CII vout
rds2||rds4 gm6v2 rds6||rds7
- -
Fig. 6.2-5B
Same circuit holds for the BJT op amp with different component relationships.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 21
-1 -1 gmII
∴ p1 = R (C +C )+R (C +C )+g R R C ♠ g R R C , z= C
I I II II II c mII 1 II c mII 1 II c c
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 22
-1 -(gds2+gds4)(gds6+gds7)
p1 ♠ g =
mIIRIRIICc gm6Cc
This root accomplishes the desired compensation.
3.) Left-half plane output pole:
-gmII -gm6
p2 ♠ C ♠ C
II L
This pole must be beyond the unity-gainbandwidth or the phase margin will not be satisfied.
Root locus plot of the Miller compensation:
σ
p2 p2' p1' p1 z1 Fig. 6.2-7A
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 23
Avd(0) dB Uncompensated
|A(jω)F(jω)|
-20dB/decade
Compensated
GB
0dB log10(ω)
Phase Shift -40dB/decade
Uncompensated
180°
Arg[-A(jω)F(jω)|
-45°/decade
135°
90° -45°/decade
Compensated Phase
45°
No phase margin Margin
0° log10(ω)
|p1| |p1'| |p2'| |p2|
Fig. 6.2-7B
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 24
Fig. 6.2-10
VDD
3.) Right-half plane zero (Zeros always arise from multiple paths from RII
the input to output): Cc
gm6 vout
-RII sC - 1
-gm6RII(1/sCc) RII c M6
vout = R + 1/sC v’ + R + 1/sC v’’ = R + 1/sC v
v''
v'
II c II c II c
Fig. 6.2-11
where v = v’ = v’’.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 25
F=1 jω
Closed-loop poles
Avd(0) dB Cc = 0
-6dB/octave -p3
σ
-p2 -p z1
Open-loop poles 1
Cc ≠ 0
GB
0dB log10(ω)
Phase Shift Roll-off due to p3
-12dB/octave
0° Cc = 0
-45°/decade
45°
Cc ≠ 0
90° -45°/decade
Cc ≠ 0
135° Phase
Cc = 0 Margin
180° Phase margin log10(ω)
|p1| due to p3 |p3| |p2|
Excess Phase Fig. 6.2-11A
due to p3
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 26
Summary of the Conditions for Stability of the Two-Stage Op Amp (Assuming p3≥GB)
• Unity-gainbandwith is given as:
1 gmI 1 gm1
GB = Av(0)·|p1| = (gmIgmIIRIRII)·g = = ( g m1 g m2 R1 R2 ) · =
mIIRIRIICc Cc gm2R1R2Cc Cc
• The requirement for 45° phase margin is:
ω ω ω
±180° - Arg[AF] = ±180° - tan-1|p | - tan-1|p | - tan-1 z = 45°
1 2
Let ω = GB and assume that z ≥ 10GB, therefore we get,
GB GB GB
±180° - tan-1|p | - tan-1|p | - tan-1 z = 45°
1 2
GB GB
135° ≈ tan-1(Av(0)) + tan-1|p | + tan-1(0.1) = 90° + tan-1|p | + 5.7°
2 2
GB GB
39.3° ≈ tan-1|p | ⇒ |p | = 0.818 ⇒ |p2| ε 1.22GB
2 2
• The requirement for 60° phase margin:
|p2| ε 2.2GB if z ε 10GB
• If 60° phase margin is required, then the following relationships apply:
gm6 10gm1 gm6 2.2gm1
Cc > Cc ⇒ gm6 > 10gm1 and C2 > Cc ⇒ Cc > 0.22C2
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 27
jω2
180° > θ1 > θ2 > θ3
θ3
jω1 θ2
θ1
σ Fig. 6.2-11B
z1
Solution of the problem:
If zeros are caused by two paths to the output, then eliminate one of the paths.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 28
Use of Buffer to Eliminate the Feedforward Path through the Miller Capacitor
Model:
Cc
+1 Cc
VI
+ +
Inverting vOUT Vin gmIvin CI RI Vout Vout
gmIIVI RII CII
High-Gain - -
Stage
OA047
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 29
Use of Buffer with Finite Output Resistance to Eliminate the RHP Zero
Assume that the unity-gain buffer has an output resistance of Ro.
Model:
Cc Ro
+1 Cc
VI
+ Vout +
vOUT Vin gmIvin CI RI Ro Ro Vout
Inverting
gmIIVI RII CII
High-Gain - -
Stage
OA0475
It can be shown that if the output resistance of the buffer amplifier, Ro, is not neglected that another pole occurs at,
−1
p4 ≅
Ro[CICc/(CI + Cc)]
and a LHP zero at
−1
z2 ≅ R C
o c
Closer examination shows that if a resistor, called a nulling resistor, is placed in series with Cc that the RHP zero
can be eliminated or moved to the LHP.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 30
Use of Nulling Resistor to Eliminate the RHP Zero (or turn it into a LHP zero)†
Cc Rz
Cc Rz
VI
+ +
vOUT Vin gmIvin CI RI Vout
Inverting CII
gmIIVI RII
High-Gain - -
Stage
Fig. 6.2-13
Nodal equations:
VI sCc Vo sCc
gmIVin + R + sCIVI + (V − V ) = 0
I out gmIIVI + R + sCIIVout + (V − V ) = 0
out I
I 1 + sC R
c z II 1 + sC R
c z
Solution:
Vout(s) a{1 − s[(Cc/gmII) − RzCc]}
Vin(s) = 1 + bs + cs2 + ds3
where
a = gmIgmIIRIRII
b = (CII + Cc)RII + (CI + Cc)RI + gmIIRIRIICc + RzCc
c = [RIRII(CICII + CcCI + CcCII) + RzCc(RICI + RIICII)]
d = RIRIIRzCICIICc
†
William J. Parrish, "An Ion Implanted CMOS Amplifier for High Performance Active Filters", Ph.D. Dissertation, 1976, Univ. of Calif., Santa Barbara,
CA.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 31
−gmIICc −gmII
p2 ≅ ≅ C
CICII + CcCI + CcCII II
−1
p4 = R C
z I
and
1
z1 =
Cc(1/gmII − Rz)
Note that the zero can be placed anywhere on the real axis.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 32
RII
Cc Rz
Vout
M6
V''
V'
Fig. 6.2-14
1 gm6
-gm6RIIRz + sC -RIIgm6Rz + sC - 1
c RII c
Vout = 1 V’ + 1 V” = 1 V
RII + Rz + sC RII + Rz + sC RII + Rz + sC
c c c
when V = V’ = V’’.
Setting the numerator equal to zero and assuming gm6 = gmII gives,
1
z1 =
Cc(1/gmII − Rz)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 33
A Design Procedure that Allows the RHP Zero to Cancel the Output Pole, p2
We desire that z1 = p2 in terms of the previous notation.
Therefore,
1 −gmII jω
= C σ
Cc(1/gmII − Rz) II -p1
-p4 -p2 z1 OA0477
The value of Rz can be found as
Cc + CII
Rz = C (1/gmII)
c
With p2 canceled, the remaining roots are p1 and p4(the pole due to Rz) . For unity-gain stability, all that is
required is that
Av(0) gmI
|p4| > Av(0)|p1| = g =
mIIRIIRICc Cc
and
(1/RzCI) > (gmI/Cc) = GB
Substituting Rz into the above inequality and assuming CII >> Cc results in
gmI
Cc > gmII CICII
This procedure gives excellent stability for a fixed value of CII (≈ CL).
Unfortunately, as CL changes, p2 changes and the zero must be readjusted to cancel p2.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 34
where transistors M2 and M4 are the output transistors of the first stage.
Nodal equations:
gm8sCc gm8sCc
Iin = G1V1 - gm8Vs8 = G1V1 - g + sC Vout and
0 = gm6V1 + G2 + sC2 + g + sC Vout
m8 c m8 c
†
B.K. Ahuja, “An Improved Frequency Compensation Technique for CMOS Operational Amplifiers,” IEEE J. of Solid-State Circuits, Vol. SC-18, No. 6 (Dec.
1983) pp. 629-633.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 35
and
gm6rds2Cc
- 6 gm8rds2G2 gm6 gm8rds
p2 ≈ C C =
6 C2 = 3 |p2’|
c 2
gm8G2
where all the various channel resistance have been assumed to equal rds and p2’ is the output pole for normal
Miller compensation.
Result:
Dominant pole is approximately the same and the output pole is increased by roughly gmrds.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 36
VDD VDD
Fig. 6.2-16
3 3
Rout = rds7||g ♠
m6gm8rds8 gm6gm8rds8
Therefore, the output pole is approximately,
gm6gm8rds8
|p2| ♠ 3CII
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 37
FEEDFORWARD COMPENSATION
Use two parallel paths to achieve a LHP zero for lead compensation purposes.
RHP Zero Cc LHP Zero Cc LHP Zero using Follower
A -A Cc
Cc
A
+ +
Vi gmIIVi CII RII Vout
- - Fig. 6.2-17
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 38
SELF-COMPENSATED OP AMPS
Self compensation occurs when the load capacitor is the compensation capacitor (can never be unstable for
resistive feedback)
|dB|
OA048 0dB ω
Voltage gain:
vout
vin = Av(0) = GmRout
Dominant pole:
-1
p1 = R
outCL
Unity-gainbandwidth:
Gm
GB = Av(0)·|p1| = C
L
Stability:
Large load capacitors simply reduce the GB and the phase is 90° at the unity gain frequency
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 39
I3 I4 Q6
IBias
Q3 Q4
I6
I1 I2
Cc
vOUT
Q1 Q2
-
vIN
+ CL
I7
Q5 I5
Q8 Q7
x1 x1 xn
VEE OA02
DC Conditions:
I5 = Ibias, I1 = I2 = 0.5I5 = 0.5Ibias, I7 = I6 = nIBias
Vicm(max) = VCC - VEB3 - VCE1(sat) + VBE1
Vicm(min) = VEE +VCE5(sat) + VBE1
Vout(max) = VCC - VEC6(sat)
Vout(min) = VEE + VCE7(sat)
Notice that the output stage is class A ⇒ Isink = I7 and Isource = βFI5 - I7
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 40
where,
1 1
R1 = g ||rπ3||rπ4||ro3 ≈ g R2 = rπ6|| ro2|| ro4 ≈ rπ6 and R3 = ro6|| ro7
m3 m3
C1 = Cπ3+Cπ4+Ccs1+Ccs3 C2 = Cπ6+Ccs2+Ccs4 and C3 = CL +Ccs6+Ccs7
Note that we have ignored the base-collector capacitors, Cµ, except for M6, which is called Cc.
Assuming the pole due to C1 is much greater than the poles due to C2 and C3 gives
Cc
+ +
gm1vin v2 R3 C3 vout
R2 C2
- gm6v2 -
OA04
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 41
-1mS -2x108
p1 = (25,000)5pF = 25,000 = -8000 rads/sec or 1273Hz,
-10mS
and p2 = 10pF = 109 rads/sec or 159.15MHz
jω
-8x103
σ
-109 2x109 OA06
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 42
VCC VCC
Q6 Q6
Q3 Q4 I6 ICL Q3 Q4 I6=0
Cc I5 vout Cc I5 ICL
vout
- Q1 Q2 Assume a CL - Q1 Q2 Assume a CL
vin>>0 virtural I7 vin<<0 virtural I7
+ ground + ground
I5 I5
+ Q7 + Q7
VBias Q5 VBias Q5
- -
VEE VEE
Positive Slew Rate Negative Slew Rate OA07
I5 I6-I5-I7 I5 I5 I7-I5 I5
SR = minC , C = C because I6>>I5
+ SR = minC , C = C if I7>>I5.
-
c L c c L c
Therefore, if CL is not too large and if I7 is significantly greater than I5, then the slew rate of the two-stage op amp
should be,
I5
SR = C
c
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 43
+ Q1 Q2 Q8 Q9 i
vin out vout iout vout
Q8 Q9
-
iC1 iC2 Q6 Q7 Q6
VBias Q7
RA RB
IC4 IC5 VBE + Q4 IC4 Q5 IC5
VBias VCE(sat)
VBE
Q4 Q5
VEE VEE
Simplified circuit Biasing details of the output OA08
DC Conditions:
I3 = Ibias, I1 = I2 = 0.5I5 = 0.5Ibias, I4 = I5 = kIBias I10 = I11 = kIBias - 0.5Ibias (k>1)
Vicm(max) = VCC - VCE3(sat) + VEB1 Vicm(min) = VEE +VCE4(sat) + VEC1(sat) -VBE1
Vout(max) = VCC - VEC9(sat) - VEC11(sat) Vout(min) = VEE + VCE5(sat) + VCE7(sat)
Notice that the output stage is push-pull ⇒ Isink and Isource are limited by the base current.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 44
ro7+βPro11/2 rπ7
where RA ≈ 1/gm6 and RB ≈ 1+g r ♠ 2 if ro7 ≈ ro11
m7 o7
-gm1rπ6vin -gm1vin gm2rπ7vin gm2rπ7vin gm2vin
i10 ≈ 2(r +R ) ♠ 2 i7 ≈ 2(r +R ) ♠ 2(r +0.5r ) = 3
π6 A π7 B π7 π7
5 vout 5
∴ vout = (i7-i10)βPRoutvin = 6 (gm1βPRout)vin if gm1 = gm2 ⇒ vin = 6 (gm1βPRout)
Rout = βPro11|| [βΝ (ro5||ro2)] and Rin = 2rπ1
Assume that βFN =100, βFP =50, gm1 = gm2 =1mS, roN = 1MΩ, and roP = 0. 5MΩ:
vout
vin = 14,285V/V Rout = 14.285 MΩ and Rin = 100kΩ
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 45
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 46
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 47
S7 S7
3.) However, I7 = S I5 = S 2I4
( )
5 5
S6 2S7
4.) For balance, I6 must equal I7 ⇒ S4 = S5 which is called the “balance conditions”
5.) So if the balance conditions are satisfied, then VDG4 = 0 and M4 is saturated.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 48
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 49
Midband performance-
Ao = gmIgmIIRIRII ≈ gm1gm6(rds2||rds4)(rds6||rds7), Rout = rds6||rds7, Rin = ∞
Roots-
gmII gm6
Zero = C = C
c c
jω
-8x102
σ
-108 2x108 OA12
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 50
VDD VDD
M6 M6
M3 M4 I6 ICL M3 M4 I6=0
Cc I5 Cc I5 ICL
vout vout
- M1 M2 Assume a CL - M1 M2 Assume a CL
vin>>0 virtural I7 vin<<0 virtural I7
+ ground + ground
I5 I5
+ M7 + M7
VBias M5 VBias M5
- -
VSS VSS
Positive Slew Rate Negative Slew Rate Fig. 6.2-18
I5 I6-I5-I7 I5 I5 I7-I5 I5
SR = minC , C = C because I6>>I5
+ SR = minC , C = C if I7>>I5.
-
c L c c L c
Therefore, if CL is not too large and if I7 is significantly greater than I5, then the slew rate of the two-stage op amp
should be,
I5
SR = C
c
Folded Cascode, CMOS Op Amp
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 51
VDD
M14 M4 I4 M5 I5
A B
RA RB
I1 I2
M13 M6 I6 M7 I7
+ M1 M2 R1 vout
vin
- R2 CL
I3
M8 M9
+ M12
VBias M3
M10 M11
-
VSS Fig. 6.5-7
Comments:
• The bias currents, I4 and I5, should be designed so that I6 and I7 never become zero (i.e. I5=I6=1.5I3)
• This amplifier is nearly balanced (would be exactly if RA was equal to RB)
• Self compensating
• Poor noise performance, the gain occurs at the output so all intermediate transistors contribute to the noise
along with the input transistors. (Some first stage gain can be achieved if RA and RB are greater than gm1 or
gm2.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 52
The small-signal voltage transfer function can be found as follows. The current i10 is written as
-gm1(rds1||rds4)vin -gm1vin
i10 = 2[R + (r ||r )] ♠ 2
A ds1 ds4
and the current i7 can be expressed as
gm2(rds2||rds5)vin gm2vin gm2vin RII(gds2+gds4)
i7 = = = where k=
RII RII(gds2+gds5) 2(1+k) gm7rds7
2g r + (rds2||rds5) 21 + gm7rds7
m7 ds7
The output voltage, vout, is equal to the sum of i7 and i10 flowing through Rout. Thus,
vout gm1 gm2 2+k
= + R =
2(1+k) out 2+2k gmIRout
vin 2
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 53
where Cout is all the capacitance connected from the output of the op amp to ground.
All other poles must be greater than GB = gm1/Cout. The approximate expressions for each pole is
-1
1.) Pole at node A: pA ♠ R C
A A
-1
2.) Pole at node B: pB ♠ R C
B B
-1
3.) Pole at drain of M6: p6 ♠ (R +1/g )C
2 m10 6
-gm8
4.) Pole at source of M8: p8 ♠ C
8
-gm9
5.) Pole at source of M9: p9 ♠ C
9
-gm10
6.) Pole at gate of M10: p10 ♠ C
10
where the approximate expressions are found by the reciprocal product of the resistance and parasitic capacitance
seen to ground from a given node. One might feel that because RB is approximately rds that this pole might be too
small. However, at frequencies where this pole has influence, Cout, causes Rout to be much smaller making pB also
non-dominant.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 54
vout 2+1.2
vin = 2+2.2 (100)(57.143) = 4,354V/V
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 55
OP AMP DESIGN
Unbuffered, Two-Stage CMOS Op Amp
VDD
M6
M3 M4 Cc
vout
- M1 M2 CL
vin
+
+ M7
VBias M5
-
VSS Fig. 6.3-1
Notation:
Wi
Si = L = W/L of the ith transistor
i
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 56
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 57
Op Amp Specifications
The following design procedure assumes that specifications for the following parameters are given.
1. Gain at dc, Av(0)
2. Gain-bandwidth, GB
Max. ICMR
3. Phase margin (or settling time)
and/or p3
VDD Vout(max)
4. Input common-mode range, ICMR + +
VSG4 VSG6
5. Load Capacitance, CL - -
M6 gm6 or
6. Slew-rate, SR M3 M4 Cc Proper Mirroring
I6
7. Output voltage swing g VSG4=VSG6
GB = m1
Cc vout
8. Power dissipation, Pdiss -
CL
vin Cc ≈ 0.2CL
M1 M2
(PM = 60°)
+
Min. ICMR I5 I5 = SR·Cc
Vout(min)
+
VBias M5 M7
-
VSS Fig. 6.3-2
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 58
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 59
7. Find S6 by letting the second pole (p2) be equal to 2.2 times GB and assuming that VSG4 = VSG6.
gm6
gm6 = 2.2gm2(CL/Cc) → S6 = S4 g
m4
8. Calculate I6 from
gm62
I6 = 2K' S
6 6
Check to make sure that S6 satisfies the Vout(max) requirement and adjust as necessary.
9. Design S7 to achieve the desired current ratios between I5 and I6.
S7 = (I6/I5)S5 (Check the minimum output voltage requirements)
10.Check gain and power dissipation specifications.
2gm2gm6
Av = Pdiss = (I5 + I6)(VDD + |VSS|)
I5(λ2 + λ3)I6(λ6 + λ7)
11.If the gain specification is not met, then the currents, I5 and I6, can be decreased or the W/L ratios of M2 and/or
M6 increased. The previous calculations must be rechecked to insure that they are satisfied. If the power
dissipation is too high, then one can only reduce the currents I5 and I6. Reduction of currents will probably
necessitate increase of some of the W/L ratios in order to satisfy input and output swings.
12. Simulate the circuit to check to see that all specifications are met.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 60
-gm3 - 2K’pS3I3
p3 ♠ 2C = 2(0.667)W L C = 6.79x109(rads/sec)
gs3 3 3 ox
or 1.08 GHz. Thus, p3, is not of concern in this design because p3 >> 10GB.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 61
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 62
2·234
Vout(min) = VDS7(sat) = 110·35 = 0.349V
which is less than required. At this point, the first-cut design is complete.
10.) Now check to see that the gain specification has been met
(92.45 × 10-6)(942.5 × 10-6)
Av = = 3,383V/V
15 × 10-6(.04 + .05)212 × 10-6(.04 + .05)
which barely meets specifications. We might want to consider decreasing the output current back to 190µA to
increase the second-stage gain by a factor of 1.1 or better yet, increase the channel length to 2µm causing a gain
increase of 20.
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 63
Incorporating the Nulling Resistor into the Miller Compensated Two-Stage Op Amp
Circuit:
VDD
M11 M3 M4 V
B
VA M6
M10 CM Cc vout
M8
VC vin- vin+
M1 M2
CL
IBias
M9 M5
M12 M7
1 −1
p3 = − R C z1 =
z I RzCc − Cc/gm6
where Av = gm1gm6RIRII. (Note that p3 is the pole resulting from the nulling resistor compensation technique.)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 64
The resistor, Rz, is realized by the transistor M8 which is operating in the active region because the dc current
through it is zero. Therefore, Rz, can be written as
vDS8 1
Rz = ⊆ =
iD8 V =0 K’PS8(VSG8-|VTP|)
DS8
The bias circuit is designed so that voltage VA is equal to VB.
W11 I10 W6
∴ |VGS10| − |VT| = |VGS8| − |VT| ⇒ VSG11 = VSG6 ⇒ L11 = I6 L6
In the saturation region
2(I10)
|VGS10| − |VT| = K'P(W10/L10) = |VGS8| − |VT|
1 K’PS10 1 S10
∴ Rz = K’ S 2I10 = S8 2K’PI10
P 8
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 65
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 66
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 67
or
W6B 3 2 I6A W6A 3 2 234
L6B = 13 I6B L6A = 13 10 (23) = 28.7 → W6B = 29µm
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 68
CGB CGS
VSS
VGS
VGS
VT Fig. 6.3-04B
VT VGS
Fig. 6.3-4C
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 69
1 IBias2 103
|p1| = g R R C ∝ ∝ IBias1.5 Pdiss and SR |p1|
mII I II c IBias 102
gmII 101
|z| = C ∝ IBias GB and z
c 100
Illustration of the Ibias dependence → 10-1
Ao and Rout
10-2
10-3
1 10 100
IBias Fig. 6.3-4E
IBias(ref)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 70
Poly W
Diffusion Diffusion
L Fig. 6.3-5
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 71
Reduction of Parasitics
The major objective of good layout is to minimize the parasitics that influence the design.
Typical parasitics include:
Capacitors to ac ground
Series resistance
Capacitive parasitics is minimized by minimizing area and maximizing the distance between the conductor and ac
ground.
Resistance parasitics are minimized by using wide busses and keeping the bus length short.
For example:
At 2mΩ/square, a metal run of 1000µm and 2µm wide will have 1Ω of resistance.
At 1 mA this amounts to a 1 mV drop which could easily be greater than the least significant bit of an analog-
digital converter. (For example, a 10 bit ADC with VREF = 1V has an LSB of 1mV)
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000
Introduction to Op Amps (7/17/00) Page 72
SUMMARY
Introduction and Characterization
• Ideal op amp, virtual ground at input when gain approaches infinity
• Characteristics are static and dynamic and time-independent and time-dependent
Op Amp Architectures
• Two stage
• Folded
• Many others
Compensation
• Designed so that the op amp with unity gain feedback (buffer) is stable
• Types
- Miller
- Miller with nulling resistors
- Self Compensating
- Feedforward
Simple Op Amps
• CMOS - two-stage and folded cascode
• BJT - two-stage and folded cascode
Op Amp Design
• CMOS only
ECE 4430 - Analog Integrated Circuits and Systems P.E. Allen, 2000