0% found this document useful (0 votes)
158 views16 pages

Lecture 420 - Compensation of Op Amps-I: (READING: Text-Sec. 9.2, 9.3, 9.4)

Uploaded by

Monika Jindal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
158 views16 pages

Lecture 420 - Compensation of Op Amps-I: (READING: Text-Sec. 9.2, 9.3, 9.4)

Uploaded by

Monika Jindal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-1

LECTURE 420 – COMPENSATION OF OP AMPS-I


(READING: Text-Sec. 9.2, 9.3, 9.4)
INTRODUCTION
The objective of this presentation is to present the principles of compensating two-stage
op amps.
Outline
• Compensation of Op Amps
General principles
Miller, Nulling Miller
Self-compensation
Feedforward
• Summary

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-2

GENERAL PRINCIPLES OF OP AMP COMPENSATION


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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-3

Single-Loop, Negative Feedback Systems


F(s)
Block diagram:
A(s) = differential-mode voltage gain of the -
op amp
F(s) = feedback transfer function from the
Vin(s)
+ Σ A(s) Vout(s)
Fig. 420-01
output of op amp back to the input.
Definitions:
• Open-loop gain = L(s) = -A(s)F(s)
Vout(s) A(s)
• Closed-loop gain = Vin(s) = 1+A(s)F(s)
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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-4

Illustration of the Stability Requirement using Bode Plots

|A(jω)F(jω)|
-20dB/decade

0dB ω
-40dB/decade
180°
Arg[-A(jω)F(jω)]

135°
90°
45°
ΦM
0° ω0dB ω
Fig. Fig. 420-02
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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-5

Why Do We Want Good Stability?


Consider the step response of second-order system which closely models the closed-loop
gain of the op amp.
1.4
45°
1.2 50°
55°
1.0
60°
65°
vout(t) 0.8 70°
Av0
0.6 -
+
0.4

0.2

0
0 5 10 15 Fig. 420-03
ω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 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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-6

Uncompensated Frequency Response of Two-Stage Op Amps


Two-Stage Op Amps:
VDD VCC

M3 M4 Q3 Q4
M6 Q6
vout vout
- M1 M2 - Q1 Q2
vin vin
+ +
+ M7 + Q7
VBias M5 VBias Q5
- -
VSS VEE Fig. 420-04
Small-Signal Model:

D1, D3 (C1, C3) D2, D4 (C2, C4) D6, D7 (C6, C7)


+ + +
g v
gm1vin R1 C1 v1 m2 in v2 R3 C3 vout
2 gm4v1 R2 C2
2 - - gm6v2 -
Fig. 420-05

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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-7

Uncompensated Frequency Response of Two-Stage Op Amps - Continued


For the MOS two-stage op amp:
1 1
R1 ≈ gm3 ||rds3||rds1 ≈ gm3 R2 = rds2|| rds4 and R3 = rds6|| rds7
C1 = Cgs3+Cgs4+Cbd1+Cbd3 C2 = Cgs6+Cbd2+Cbd4 and C3 = CL +Cbd6+Cbd7
For the BJT two-stage op amp:
1 1
R1 = gm3 ||rπ3||rπ4||ro3 ≈ gm3 R2 = rπ6|| ro2|| ro4 ≈ rπ6 and R3 = ro6|| ro7
C1 = Cπ3+Cπ4+Ccs1+Ccs3 C2 = Cπ6+Ccs2+Ccs4 and C3 = CL+Ccs6+Ccs7
Assuming the pole due to C1 is much greater than the poles due to C2 and C3 gives,
+ + + +
gm1vin v2 R3 C3 vout gm1Vin VI RII CII Vout
R2 C2 RI CI
- gm6v2 - - gmIIVI -
Fig. 420-06

The locations for the two poles are given by the following equations
−1 −1
p’1 = RICI and p’2 = RIICII
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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-8

Uncompensated Frequency Response of an Op Amp


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. 420-07

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 - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-9

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 Fig. 420-08
The various capacitors are:
Cc = accomplishes the Miller compensation
CM = capacitance associated with the first-stage mirror (mirror pole)
CI = output capacitance to ground of the first-stage
CII = output capacitance to ground of the second-stage

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-10

Compensated Two-Stage, Small-Signal Frequency Response Model Simplified


Use the CMOS op amp to illustrate:
1.) Assume that gm3 >> gds3 + gds1
gm3
2.) Assume that CM >> GB
Therefore,
Cc
v1 v2
+
-gm1vin vout
2 1 gm2vin
rds1||rds3 CM gm3 2 gm4v1 C1 rds2||rds4 gm6v2 rds6||rds7 CL -

Cc
v2
+ +
vin gm1vin CI CII vout
rds2||rds4 gm6v2 rds6||rds7
- -
Fig. 420-09

Same circuit holds for the BJT op amp with different component relationships.

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-11

General Two-Stage Frequency Response Analysis


V2
Cc where
+ + gmI = gm1 = gm2, RI = rds2||rds4, CI = C1
Vin gmIVin Vout
- C I RI gmIIV2 RII CII
-
and
Fig.420-10 gmII = gm6, RII = rds6||rds7, CII = C2 = CL
Nodal Equations:
-gmIVin = [GI + s(CI + Cc)]V2 - [sCc]Vout and 0 = [gmII - sCc]V2 + [GII + sCII + sCc]Vout
Solving using Cramer’s rule gives,
Vout(s) gmI(gmII˚- sCc)
Vin(s) = GIGII+s [GII(CI+CII)+GI(CII+Cc)+gmIICc]+s2[CICII+CcCI+CcCII]
Ao[1˚- s (Cc/gmII)]
= 1+s [R (C +C )+R (C +C )+g R R C ]+s2[R R (C C +C C +C C )]
I I II II 2 c mII 1 II c I II I II c I c II
where, Ao = gmIgmIIRIRII
 s   s  1 1 s2 s s2
  
In general, D(s) = 1-p1 1-p2 = 1-s p1+p2+p1p2 → D(s) ≈ 1-p1 + p1p2 , if |p2|>>|p1|
     

-1 -1 gmII
∴ p1 = RI(CI+CII)+RII(CII+Cc)+gmIIR1RIICc ≈ gmIIR1RIICc , z = Cc
-[RI(CI+CII)+RII(CII+Cc)+gmIIR1RIICc] -gmIICc -gmII
p2 = RIRII(CICII+CcCI+CcCII) ≈ CICII+CcCI+CcCII ≈ CII , CII > Cc > CI

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-12

Summary of Results for Miller Compensation of the Two-Stage Op Amp


There are three roots of importance:
1.) Right-half plane zero:
gmII gm6
z1= Cc = Cc
This root is very undesirable- it boosts the magnitude while decreasing the phase.
2.) Dominant left-half plane pole (the Miller pole):
-1 -(gds2+gds4)(gds6+gds7)
p1 ≈ gmIIRIRIICc = gm6Cc
This root accomplishes the desired compensation.
3.) Left-half plane output pole:
-gmII -gm6
p2 ≈ CII ≈ CL
This pole must be ≥ unity-gainbandwidth or the phase margin will not be satisfied.
Root locus plot of the Miller compensation:
Closed-loop poles, Cc≠0 jω
Open-loop poles
Cc=0

σ
p2 p2' p1' p1 z1 Fig. 420-11

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-13

Compensated Open-Loop Frequency Response of the Two-Stage Op Amp

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. 420-12
Note that the unity-gainbandwidth, GB, is
1 gmI gm1 gm2
GB = Avd(0)·|p1| = (gmIgmIIRIRII)gmIIRIRIICc = Cc = Cc = Cc

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-14

Conceptually, where do these roots come from?


1.) The Miller pole: VDD
RII
Cc
1 vout
|p1| ≈ RI(gm6RIICc) RI
M6
vI
≈gm6RIICc
Fig. 420-13

2.) The left-half plane output pole:


VDD VDD
RII RII
Cc
vout vout
gm6 1
|p2| ≈ CII M6 GB·Cc ≈ 0 M6
CII CII

Fig. 420-14

3.) Right-half plane zero (Zeros always arise from multiple VDD
paths from the input to output): RII
g  Cc
 m6 
-R  - 1
vout
 -gm6RII(1/sCc)  RII  sCc
II
    
vout =  RII + 1/sCc  v’ + RII + 1/sCc v’’ = RII + 1/sCc v v''
M6
v'
where v = v’ = v’’. Fig. 420-15

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-15

Influence of the Mirror Pole


Up to this point, we have neglected the influence of the pole, p3, associated with the
current mirror of the input stage. If |p2| ≈ |p3|, we have problems in compensation. This
pole is given approximately as
-gm3
p3 ≈ CM
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. Fig. 420-16
due to p3
ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001
Lecture 420 – Compensation of Op Amps-I (12/10/01) Page 420-16

SUMMARY
Compensation
• Designed so that the op amp with unity gain feedback (buffer) is stable
• Types
- Miller
- Miller with nulling resistors
- Self Compensating
- Feedforward

ECE 4430 - Analog Integrated Circuits and Systems © P.E. Allen - 2001

You might also like