Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3 views

Assignments

Good assignment for practice in ic design
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

Assignments

Good assignment for practice in ic design
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

EE5320: Analog Integrated Circuit Design; Nagendra Krishnapura (nagendra@ee.iitm.ac.

in) 1

Assignment 8

CMFB1 Bias Differential opamp CMFB2 Acm2

Vdd Vdd
M00 M14 M0 M12
M0x Mc3 Mc4
out
Ccm op Ccmx
im M1 M2 ip
Acm2
M5 M6
(a) I00 VB56
o1p o1m
om op
Cc M7 M8 Cc Mc1 Mc2
VB78 om Vcm
Rcm
M3x M4x
M3 M4
o1p o1m M01 M13 M11 Ccm From M01 Mc0
Vss Vss

CMFB1 Bias Differential opamp CMFB2 Acm2

Vdd Vdd
Mc0
o1p o1m M01 M13 M11 From M01
M3 M4
M3x M4x
VB78 Ccm op Ccmx
M7 M8 Mc1 Mc2
om op
o1p o1m
Cc Cc Acm2
(b) I00 VB56
M5 M6

M1 M2
om Vcm
Rcm out
M00 M0 Mc3 Mc4
M0x M14 M12
Vss Vss

Rf = kRi Rf = kRi
RL RL
Ri Ri L C
Vcm+Vi /2
Ri Vo CL Vcm Vcm Ri Vreturn L Vtest CL Vcm
Vcm-Vi /2
C
(c) RL (d) RL
Rf = kRi Rf = kRi

Figure 8.1: Problem 8.1. (a) Fully differential opamp with a pMOS input pair, (b) Fully differential opamp with a
nMOS input pair, (c) Test circuit, (d) Loop gain test circuit.

8.1. Fig. 8.1 shows fully-differential two-stage opamps. It is a modification of the single-ended opamp from the
previous assignment. Use the same bias current in the first and second stages as in the previous assignment.

• In the differential opamp, use the same transistors as in the single-ended opamp. M13 and M14 are the
same as M11 and M12 respectively. VB56 and VB78 can be same as in the single-ended opamp.
• Add another transistor M01 to the bias branch to derive the gate bias.2 .
2 This works fine with an ideal current source as shown here. In practice, two separate branches are required for M00 and M01
2 EE5320: Analog Integrated Circuit Design; Nagendra Krishnapura (nagendra@ee.iitm.ac.in)

• M0x,3x,4x form the common-mode feedback for the first stage. M3x,4x must be replicas (⇒ same unit
transistor and current density, different number of fingers) of M11,13 . Make the current through M0x the
same as that through M0 . Adjust the sizes of M3x,4x accordingly.
• The second stage uses a linear common-mode detector using Rcm = 100 kΩ. For Acm2 use the same
tail current as the first stage. Vcm = Vdd /2 V. Initially omit Ccm and Ccmx . Step Vcm from Vdd /2 V to
Vdd /2 + 50 mV. The output nodes op and om should settle without ringing. If there is ringing, introduce a
small Ccm ( 10 fF) and increase it until the overshoot reduces to 5%.

Realize the inverting amplifier (Fig. 8.1(c)), differential version of the opamp that you designed in assignment 4
using the opamp in Fig. 8.1(a) or (b). Use the same transistor sizes as in assignment 5 in corresponding stages.
You will also need the results of MOS characterization to determine the current density.
Do the circuit design in steps. Verify proper operation (bias voltages and currents) and move to the next step.

• Construct the first stage fully differential amplifier. Bias its outputs with an ideal dc voltage source such
that all transistors are in saturation. Verify the bias currents and voltages. Some residual current could be
flowing through the dc voltage source, but should be small. Make sure that the tail source M0 is in the
saturation region. If it is not, use a wider (increase m) transistor to get a lower VDSAT . You will also have
to change M00 and M0x appropriately.
• Construct CMFB1, connect it to the first stage outputs instead of the ideal voltage source in the above step.
Verify the bias currents and voltages. The output voltage should be such that it biases the second stage at
the right current.
• Add the second stage to the first. Bias the outputs op, om, with an ideal dc voltage source such that all
transistors are in saturation. Verify the bias currents and voltages. Some residual current could be flowing
through the dc voltage source, but should be small.
• Construct CMFB2 (without Ccm and Ccmx ), connect it to the first stage outputs instead of the ideal voltage
source in the above step. Verify the bias currents and voltages. The output common-mode voltage should
be Vdd /2.
• Adjust Ccm for 5% overshoot with a common mode step as described above. Add Ccmx if you are unable
to stabilize the loop. Use the minimum value required.
• Realize the inverting amplifier and run the required simulations.

(The transistor sizes in the first and second stages should be same as in the previous assignment. Others can be
found from the current densities mentioned in the above instructions.)

• Vdd = 1.8 V, Vss = 0 V, Vcm = 0.9 V.


• Simulation temperature: 100◦ C.
• Odd roll numbers: pMOS input pair; Even roll numbers: nMOS input pair.
• L = 0.3 µm for all transistors.
• Use3 VDSAT = 0.15 V for the first stage transistors except M0 . Use VDSAT = 0.25 V for the second stage
transistors, M0 , and M00 .
• Choosing the VDSAT value fixes the gm and ID per 1 µm/0.3 µm finger. Choose the multiplier m for each
transistor to set its gm or ID as required.
3 Choose the current density that sets the VDSAT to within 10 mV of the specified values. Do not aim for microvolt precision.
EE5320: Analog Integrated Circuit Design; Nagendra Krishnapura (nagendra@ee.iitm.ac.in) 3

• For M00 , use m = 2 and choose I00 (integer µA) that sets the desired bias in the first and the second stages.
• All nMOS bulk terminals should be connected to Vss . All pMOS bulk terminals should be connected to
Vdd .
• Adjust VB56 such that the VDS of M1,2 is 50 mV above their VDSAT . Similarly, Adjust VB78 such that the
VDS of M3,4 is 50 mV above their VDSAT . i.e., M1−4 must be in saturation region with 50 mV margin.

Present the following results.


Tables: (Gain, transfer function etc. below refer to the differential quantities unless otherwise mentioned.)

(a) Specification table with your specific values and all the component values.
(b) Table showing simulation results: closed loop dc gain, closed loop 3-dB bandwidth, unity loop gain fre-
quency, phase margin, rms output noise (integrated from 10 kHz to 100 MHz), fraction of noise vari-
ance (integrated from 10 kHz to 100 MHz) contributed by Ri , Rf , first stage, second stage, and RL , Opamp
open loop dc gain, positive and negative slew rates, positive and negative swing limits, HD 3 , supply volt-
age, current consumption. Unity loop gain frequency and phase margin of the second stage CMFB loop.
To find the opamp slew rates apply a large input step (from Vcm to Vcm ± Vstep ) such that the first stage
current is completely switched to one side.

To find HD 3 , apply a sinusoidal input that results in a 1 V peak-peak output at a frequency that is 1/4th the
bandwidth. Report HD 3 , the ratio of the third harmonic to the fundamental (in dB).
Plots:

(a) Differential loop gain magnitude (dB) and phase (degrees). The unity loop gain frequency and phase margin
must be marked. Break the loop as shown in Fig. 8.1(d) to simulate the loop gain. Use large L, C, e.g.,
L = 106 H, C = 1 F. The frequency range should be from ∼ 0.1× dominant pole to where the loop gain
is ∼ −20 dB.
(b) Closed loop transfer function magnitude on a log-y scale showing the dc gain and the 3-dB bandwidth.
(c) Closed loop dc transfer curve. Vary Vi from −1 V to 1 V
(d) Small-signal step response: Output should step from 0 V to 0.1 V and back. Use a short rise time ∼ 100 ps.
(e) Large-signal step response: Output should step from 0 V to 1 V and back. Use a short rise time ∼ 100 ps.
Get the slew rate from this. Check to see that the current is completely switched to one side in the first
stage. Find the rising and falling slew rate from op and om.
(f) Output noise PSD and the input referred noise PSD of the closed loop amplifier from 10 kHz to 100 MHz.
(g) Input referred noise PSD of the opamp from 10 kHz to 100 MHz.
(h) Second stage CMFB loop gain. You can “break” the loop at the positive input of Acm2 . The unity loop
gain frequency and phase margin must be marked.

(Not for submission):

• Remove the cascodes from the first stage, run the simulations and find out the differences
• Connect Cc to the drain of M2 or M4 instead of the drains of M6,8 . See if there is a difference in phase
margin. You can also try connecting Cc /2 each to the drains of M2 and M4 .
4 EE5320: Analog Integrated Circuit Design; Nagendra Krishnapura (nagendra@ee.iitm.ac.in)

• What is pole frequency of the feedback network. This is due to the resistive divider with Rf and Ri in
combination with the input capacitance of the opamp. You can take Cgs /2 to be the differential input
capacitance. Does it matter in this design? If so, how would you mitigate its effect?

You might also like