HW2: Slew Rate, Compensation and Time Constant Analysis

advertisement
HW2: Slew Rate, Compensation and
Time Constant Analysis
ECEN 607 Advanced Analog Circuit Design
By
Luis A. Tellez-Estrada
Prob1.
A resistive inverting amplifier with an Op Amp with a GB = 4.1 MHz and SR = 3.0 V/μs is connected
as shown in Fig. 1. Consider two cases for the input:
I.
II.
A step of magnitude Vm
A sinusoidal v(t) = Vpsin wt
2R1
GBW = 4.1MHz
SR = 3.0 V/µs
R1
Vi
Vo
Fig. 1
Determine:
a) The maximum value of Vom yielding a bandwidth limited amplifier.
The maximum value of Vom can be calculated from equation (1).
π‘‰π‘œπ‘š(π‘π‘Ÿπ‘–π‘‘) =
𝑆𝑅
2πœ‹πΊπ΅π›½
(1)
Therefore,
π‘‰π‘œπ‘š(π‘π‘Ÿπ‘–π‘‘) =
3π‘₯106
1
2πœ‹ (4.1π‘₯106 3)
= 349 π‘šπ‘‰
(2)
And the maximum input voltage is,
π‘‰π‘–π‘›π‘šπ‘Žπ‘₯ = 174 π‘šπ‘‰
(3)
b) The maximum frequency for a sinusoidal input with a peak magnitude of Vp = 0.2 V so
output is bandwidth limited.
The maximum frequency can be calculated from equation (4).
π‘“π‘šπ‘Žπ‘₯ =
Therefore,
𝑆𝑅
2πœ‹π‘‰π‘ 𝐴𝑣𝑐𝑙
(4)
π‘“π‘šπ‘Žπ‘₯ =
3π‘₯106
= 1.19 𝑀𝐻𝑧
2πœ‹(0.2 βˆ™ 4)
(5)
c) The 3dB cutoff frequency of the inverting amplifier.
The cutoff frequency can be calculated from equation (6).
𝐻(𝑠) = 𝐴𝑣𝑐𝑙
1
1
= 𝐴𝑣𝑐𝑙
𝛽⁄
𝑠𝛽⁄
1+ 𝐴
1+
𝐺𝐡
(6)
𝑓3𝑑𝑏 = 𝐺𝐡/𝛽
(7)
4.1π‘₯106
= 1.36 𝑀𝐻𝑧
3
(8)
Therefore,
𝑓3𝑑𝑏 =
Prob. 2
Two Stage Miller with Source Follower Compensation
Due to the direct path between the first and second stage in common two stage Miller amplifier a
RHP zero is created. However, there are different methods to eliminate or minimized the effect of
this zero. A source follower (voltage buffer) is implemented in this work as is shown in Fig. 2.
Voltage Buffer
M8
M4
M3
M9
Cc
V-
M5
M1
M2
M6
Vo
V+
M10
Fig. 2
M7
With the implementation of the source follower the RHP zero is eliminated by eliminating the
direct path between the first and second stage as shown in the small signal model presented in
Fig. 3. Moreover pole splitting is still generated due to the compensation capacitor and Miller
effect. The final transfer function is presented in equation (9).
Vo
V1
Cc
gm1Vi
R1
C1
Vo
gm8V1
C2
R2
Fig. 3
𝐴𝑣𝑑𝑐 =
π‘”π‘š1 π‘”π‘š2 𝑅1 𝑅2
𝑠
𝑠
(1 + 𝑀 ) (1 + 𝑀 )
𝑝1
𝑝2
(9)
𝑃1 ≈
−1
π‘”π‘š2 𝑅1 𝑅2 𝐢𝑐
(10)
𝑃2 =
−π‘”π‘š7 𝐢𝑐
𝐢2 (𝐢𝑐 + 𝐢1 )
(11)
We can observe that the zero is not presented in the transfer function and the same poles remains
almost at the same place.
Buffer Design
Ideally a voltage buffer has a gain of 1 v/v. However, in practice this value is impossible. Since the
voltage buffer is implemented in a source follower configuration, the gain of this stage depends on
the transconductance of M9 and the output resistance as shown in equation (12).
𝐴𝑣𝑑𝑐 = π‘”π‘š9 (
1
1
||
||π‘Ÿ ||π‘Ÿ
)
𝑔𝑠9 π‘”π‘š9 𝑑𝑠9 𝑑𝑠10
(12)
Assuming that π‘”π‘š9 ≫ 𝑔𝑠9 then for an ideal buffer the drain to source resistances must be large
enough to maintain a gain approximately off 1v/v. According to the description the voltage buffer
was designed to have a current equal to the tail current. As a result the power consume is not
increased too much and the slew rate remains the same. However little mismatch between these
two branches might produce a slightly different performance. The characterization of the voltage
buffer is presented in Fig 4.
Buffer Gain Fig. 4
We can observe that the gain is approximately 0.82 V/V.
The final implementation and the total performance of the amplifier is presented in the next
section (plot section) and summarized in Table 1.
Plot Section
AC Response
CMRR
Phase Margin VS CLoad
GBW VS CLoad
Positive Slew Rate
Negative Slew Rate
PSRR
Final Results
The final results presented in the following table summarized the three design techniques from
homework 1 and this work.
Two Stage OTA
Specs
QUADRATIC
ACM
ACM + Ahuja
ACM + Buffer
VDD
1.8 V
1.8 V
1.8 V
1.8 V
VSS
0V
0V
0V
0V
Gain
59.8 dB
64 dB
53.62 dB
64.02 dB
CMRR
61.68 dB
111.2 dB
68.25 dB
111.27 dB
PSRR @100 Hz
-61 dB
-63 dB
-62 dB
-63.66 dB
PSRR @100 kHz
-34 dB
-33 dB
-61.92 dB
-38.03 dB
GBW
4.96 MHz
4.06 MHz 8.94 MHz, 4.8MHz**
7.06 MHz
PM
60.42°
60.37°
89.8°, 63.2° **
62.03°
CL
20pF
20pF
20pF
20pF
SR+,SR3.78μV/s,
4.3μV/s,
6.3μV/s,
7.22μV/s,
-2.94μV/s
-3.34μV/s
-3.22μV/s
-3.96μV/s
SettlingTime +,- 0.21μs, 0.4μs 0.3μs, 0.5μs
0.15μs, 0.3μs
0.156μs, 0.34μs
Cc
4 pF
3.5 pF
1.5pf
2pf
IQ
232 μA
101.7 μA
113.0 μA
108.5 μA
PD
417.6 μw
183.1 μw
203.4 μW
195.3 μW
Min if
6
6
6
Max if
10
13
10
FOM*
1.29
2.41
7.1
4.05
*FOM (MHz)(°)/( μA) ** Values for CL = 200 pF
Table 1
We can observe that ACM + Ahuja and ACM + Buffer compensation are much better amplifiers
over the normal OTA amplifier with Miller Compensation. Moreover we can say that the Ahuja
OTA handle higher values of load capacitance while providing better stability. However the gain is
compromised and the power consumption is increased due to the biasing branch for the NMOS
and PMOS active loads in the current buffer.
One point to take into account is the performance of PSRR at high frequencies. Once again the
Ahuja compensation has the better performance over the other designs.
A FOM (figure of merit) was selected according to the GBW, the phase margin and the quiescent
current. The higher the FOM the better the amplifier performance. According to FOM The OTA +
Ahuja compensation exhibits the best performance.
Dynamic Range Performance
The following plots presents the dynamic response of the ACM+ Ahuja and ACM + Buffer
amplifiers previously designed and summarized in Table 2.
Voltage Buffer Compensation
1 dB Compression plot
IP3 - Third Order Interception plot
Harmonic Distortion Freq. 10kHz
THD for 1% Distortion plot
Ahuja Compensation
1 dB Compression plot
IP3 - Third Order Interception plot
Harmonic Distortion Freq. 10kHz
THD for 1% Distortion plot
Dynamic Performance Summary
Dynamic Range Performance
1 dB Compression (dB)
IP3 (dBm)
THD 1% Distortion (10khz) (dBm)
OTA +Ahuja
-38.09
-18.63
-46.53
Table 2
OTA + Buffer
-40.93
-39.99
-56.33
According to the results, the OTA + Ahuja compensation shows better linearity over the OTA +
Buffer.
Prob. 3
The following work implements the time constant analysis to determine the expression for a1 and
a2 of the transfer function in (13) for the Ahuja amplifier shown in Fig. 5.
Current Buffer
M4
M3
M8
V1
M9
IB
V-
M1
M2
V+
Vo
V3
V2
Cc
M5
M7
M6
Fig. 5
𝑠
π΄π‘œ (1 + 𝑀 )
πΎπ‘œ(1 + 𝑀𝑧 )𝑀1 𝑀2 𝑀3
𝐻(𝑠) =
=
2
3
𝑠
𝑠
𝑠
(1 + 𝑀 ) (1 + 𝑀 ) (1 + 𝑀 ) 1 + π‘Ž1 𝑠 + π‘Ž2 𝑠 + π‘Ž3 𝑠
𝑝1
𝑝2
𝑝3
𝑧
(13)
The equivalent small signal model is presented in Fig. 6 to simplify the calculation of the
coefficients.
V1
Gm1Vi
R1
Cc
V3
C1
Gm3V3
R3
C3
V2
Gm2V1
C2
R2
Fig. 6
πΊπ‘š1 = π‘”π‘š1
𝐢1 ≈ 𝐢𝑔𝑠8 + 𝐢𝑔𝑑9
𝑅1 = π‘Ÿπ‘‘π‘ 1 ||π‘Ÿπ‘‘π‘ 3
πΊπ‘š2 = π‘”π‘š8
𝐢2 ≈ 𝐢𝐿 + 𝐢𝑔𝑑7
𝑅2 = π‘Ÿπ‘‘π‘ 8 ||π‘Ÿπ‘‘π‘ 7
πΊπ‘š3 = π‘”π‘š9
𝐢3 ≈ 𝐢𝑔𝑠9
𝑅1 ≈
1
π‘”π‘š9
Calculation of a1
The coefficient of a1 is given by,
π‘Ž1 = 𝐢1 𝑅011 + 𝐢2 𝑅0 22 + 𝐢3 𝑅0 33 + 𝐢𝑐 𝑅0 23
Where 𝑅 0 π‘₯π‘₯ is the resistance seen by terminal x to ground and 𝑅 0 π‘₯𝑦 is the resistance seen by
terminal x to y where all capacitors in the network are open-circuit but the one between the two
terminals is replaced by a current source. Following these rules 𝑅 011, 𝑅 0 22 and 𝑅 0 33 can be
extracted from the small signal model in an easy way.
V1
1
R1
V2
1
V3
R2
𝑅 011 = 𝑅1
𝑅 0 22 = 𝑅2
𝑅 0 33 = 𝑅3
For 𝑅 0 23 a nodal analysis was implemented.
1
R3
1
V2
V1
R1
Gm3V3
R3
R2
Gm2V1
𝑉1 = πΊπ‘š3 𝑅3 𝑅1
𝑉3 = 𝑅3 βˆ™ 1𝐴
𝑅 0 23 = 𝑉3 − 𝑉2 = πΊπ‘š2 πΊπ‘š3 𝑅2 𝑅1 + 𝑅2 + 𝑅3
The final value of a1 can be expressed in terms of its coefficients by
π‘Ž1 = 𝐢1 𝑅1 + 𝐢2 𝑅2 + 𝐢3 𝑅3 + 𝐢𝑐 (πΊπ‘š2 πΊπ‘š3 𝑅2 𝑅1 + 𝑅2 + 𝑅3 )
(14)
Calculation of a2
The coefficient of a2 is given by,
π‘Ž2 = 𝐢1 𝐢2 𝑅011 𝑅1 22 + 𝐢1 𝐢3 𝑅011 𝑅1 33 + 𝐢1 𝐢𝑐 𝑅011 𝑅1 23
+𝐢2 𝐢3 𝑅0 22 𝑅 2 33 + 𝐢2 𝐢𝑐 𝑅0 22 𝑅2 23
+𝐢3 𝐢𝑐 𝑅0 33 𝑅3 23
Where 𝑅 𝑧 π‘₯π‘₯ is the resistance seen by terminal x to ground and 𝑅 𝑧 π‘₯𝑦 is the resistance seen by
terminal x to y where z is short-circuited to ground and all capacitors in the network are opencircuit but the one between the x to y terminal is substituted by a current source of 1A.
The same procedure of previous work is implemented to determine the rest of the resistances. An
example to calculate 𝑅1 22 is presented.
V1 = 0
R1
C1
V2
V3 = 0
Gm3V3
R3
Gm2V1
R2
According to the small signal 𝑅1 22 = 𝑅2 . 𝑅1 33, 𝑅 2 33, 𝑅 2 23 and 𝑅 3 23 are straight forward to
calculate following the same procedure, however 𝑅1 23 needs to be calculated with the same
procedure shown in 𝑅 0 23 analysis. The final values are,
𝑅1 22 = 𝑅2
𝑅 2 33 = 𝑅3
𝑅1 33 = 𝑅3
𝑅 2 23 = 𝑅3
𝑅1 23 = 𝑅2 + 𝑅3
𝑅 3 23 = 𝑅2
As a result a2 can be expressed as follow.
π‘Ž2 = 𝐢1 𝐢2 𝑅1 𝑅2 + 𝐢1 𝐢3 𝑅1 𝑅3 + 𝐢1 𝐢𝑐 𝑅1 (𝑅2 + 𝑅3 )
+𝐢2 𝐢3 𝑅2 𝑅3 + 𝐢2 𝐢𝑐 𝑅2 𝑅3
+𝐢3 𝐢𝑐 𝑅2 𝑅3
(15)
Finally H(s) can be expressed in terms of equation (14) and (15). Applying approximations
1
πΊπ‘š 𝑅 ≫ 1, 𝑅3 ≈ 𝐺 , and 𝑅1,2 ≫ 𝑅3 then the coefficients are determined by,
π‘š3
π‘Ž1 ≈ πΊπ‘š2 𝑅1 𝑅2 𝐢𝑐
π‘Ž2 ≈ 𝑅1 𝑅2 𝐢1 (𝐢2 + 𝐢𝑐 )
The next plot shows the approximated AC response of the Ahuja OTA by implementing the
coefficients extracted in the time constant analysis.
π‘Ž1 ≈ 14.1π‘₯10 − 5
π‘Ž2 ≈ 2.5π‘₯10 − 13
π΄π‘£π‘œ ≈ 1.2π‘₯103
We can observe that the values approximate to the ones obtained in cadence simulation.
Avo
GBW
PM
Simulation Matlab
53.62 dB
61 dB
8.94 MHz 8.32 MHz
89.8°
89.2°
Some discrepancy occurred due to the parasitic capacitances that are not taking into account.
References
[1] Ahuja, B.K., "An improved frequency compensation technique for CMOS operational
amplifiers," in Solid-State Circuits, IEEE Journal of , vol.18, no.6, pp.629-633, Dec. 1983
doi: 10.1109/JSSC.1983.1052012
[2] P.E. Allen – 2001, “LECTURE 430 – COMPENSATION OF OP AMPS-II”, Online:
http://www2.ece.gatech.edu/academic/courses/ece4430/Filmed_lectures/OAC2/L430OpAmpCompII.pdf
[3] Dr. Sanchez Sinencio, ECEN 607, “Conventional OpAmps”, online:
http://ece.tamu.edu/~sanchez/607-Lect%201A%20Conventional%20Op%20Amps%20-2015.pdf
[4] Coitinho, R.M.; Spiller, L.H.; Schneider, M.C.; Galup-Montoro, C., "A simplified methodology for
the extraction of the ACM MOST model parameters," in Integrated Circuits and Systems Design,
2001, 14th Symposium on. , vol., no., pp.136-141, 2001
Download