Two Stage Opamp Design
Two Stage Opamp Design
1 Literature Review 2
1.1 Drawbacks of traditional design process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Preparation of gm/Id charts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Using gm/Id charts for circuit design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 MOSFET Characterization 4
2.1 Simulation Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Procedure and Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
5 References 16
i
List of Figures
1
Chapter 1
Literature Review
and many more. As a result, there is significant departure of the simulation results from the hand
calculations at sub-micron process nodes.
The gm /Id method aims to address this issue and arrive at better correspondence of hand calculations
and simulation results. The method involves detailed characterization of the MOSFET and prepare
lookup tables to aid hand-calculation.
2. Intrinsic Gain : gm ro or gm /gds . This figure is an indication of the maximum voltage gain that
can be obtained from the device.
3. Transconductance efficiency : gm /Id . This indicates the transconductance obtained per unit drain
current.
In this method, the MOSFET is characterized to obtain the following plots
1. gm versus Vgs
2. Id versus Vgs
From the above plots, the plots of fT , gm /gds , Id /W versus gm /Id need to be obtained.
2
1.3. USING GM/ID CHARTS FOR CIRCUIT DESIGN CHAPTER 1. LITERATURE REVIEW
Specifications
Circuit
Simulation Model
Results
2. A large gm /Id can be chosen for devices whose transconductance contributes to the gain (e.g. input
stage of an amplifier) or in cases where low flicker noise, less mismatch and large voltage swings
are desired.
After choosing the gm /Id for a device, Id has to be chosen as per the power budget, and L has to be
chosen such that the intrinsic gain gm /gds is enough to meet the gain requirement. Choosing a very
large gm /gds might lead to a low fT resulting in a low bandwidth: this tradeoff has to be taken care of
properly. After choosing Id , the width W can be obtained from the Id/W versus gm /Id chart. Lastly,
The DC operating voltage of the device should be chosen from the gm /Id versus Vov chart so that it
operates at the chosen gm /Id .
3
Chapter 2
MOSFET Characterization
4
2.2. PROCEDURE AND RESULTS CHAPTER 2. MOSFET CHARACTERIZATION
NMOS and the PMOS respectively. In this exercise“pmos 2” and “nmos 2V” cells of GPDK090 library
are used. The obtained characteristic are shown in figures 2.3, 2.4, 2.5 and 2.6.
From the obtained data, the gm /Id charts can be generated for the PMOS and the NMOS. It consists
of preparing the following graphs:
1. gm /Id versus Vov .
2. fT versus gm /Id .
3. gm /gds versus gm /Id .
4. Id /W versus gm /Id .
Using MATLAB™the above graphs for PMOS and NMOS are plotted and shown in figures 2.7 and 2.8
respectively.
5
2.2. PROCEDURE AND RESULTS CHAPTER 2. MOSFET CHARACTERIZATION
6
2.2. PROCEDURE AND RESULTS CHAPTER 2. MOSFET CHARACTERIZATION
7
Chapter 3
8
3.2. SCHEMATIC CHAPTER 3. TWO STAGE OP-AMP DESIGN
3.2 Schematic
[NOTE: device sizes denoted here do not represent the actual values used in the design]
3. The transistors which act as current source loads (whose 1/gds contributes to the gain) need to
have a lower value of gm /Id .
4. The starting point is chosen as follows: a gm /Id of 15 for M1 , M2 , M6 and 10 for the other transis-
tors.
5. The transistor length L can be chosen from the gm /gd s vs gm /Id curve for various channel lengths.
Approximate hand calculations can be helpful for determining the minimum channel length that
gives the required gm /gd s and hence the gain.
6. The power budget can be used to choose the currents through each transistor. The transistor
widths can be obtained from the Id /W vs gm /Id chart.
7. The fT vs gm /Id chart is used to make sure that the chosen L and gm /Id meets the bandwidth
requirement.
8. Once device sizes are fixed, the transistor bias voltages can be obtained from the gm /Id vs Vov
charts.
9
3.4. DEVICE SIZE CALCULATION CHAPTER 3. TWO STAGE OP-AMP DESIGN
For the values of gm6 , CL in this case, p2 = 57 × 107 rad/s ≈ 9GBP . So, the chosen gm6 satisfies stability
condition. For GBP = 10M Hz, miller capacitance CC = 390f F is obtained. The zero-cancellation
resistor is given by Rz = 1/gm6 = 17.5kΩ.
The final choice of channel length (L = 650nm) differs from the initial choice as L = 540nm doesn’t
satisfy the gain requirement.
10
Chapter 4
4.1 DC analysis
4.1.1 Schematic
11
4.1. DC ANALYSIS CHAPTER 4. TESTING OF THE OP-AMP
12
4.2. AC ANALYSIS CHAPTER 4. TESTING OF THE OP-AMP
4.2 AC analysis
Using the same test setup as in figure 4.1, the open loop frequency response Vo /(Vi2 − Vi1 ) for the
uncompensated op-amp is plotted for the frequency range 1Hz − 1GHz and is shown in figure 4.4.
It is to be noted that the uncompensated op-amp has a negative gain margin as well as a negative
phase margin. As a result, it will be unstable when used in a negative feedback configuration. The
transient response of the uncompensated op-amp used as an unity-gain buffer with square wave input is
an evidence of the same (fig. 4.8). The frequency response for the miller-compensated op-amp is shown
in figure 4.5 below. It exhibits a bandwidth of 10M Hz, gain margin of 47.2dB and phase margin of
69.9◦ .
13
4.3. STABILITY ANALYSIS CHAPTER 4. TESTING OF THE OP-AMP
Figure 4.6 shows the schematic of the setup used for stability analysis. A ”.stb” analysis carried out for
1Hz − 1GHz shows that the obtained phase margin is 70.73 deg at 10.7M Hz.
14
4.4. TRANSIENT ANALYSIS CHAPTER 4. TESTING OF THE OP-AMP
The figure 4.7 shows the schematic of the transient simulation setup for both the uncompensated and the
compensated op-amps. An unity-gain buffer is made by shorting the ”-” terminal to the output and a
pulse voltage waveform of amplitude 900mV (VDD /2), dc offset of 450mV , period of 1us, rise and fall time
of 10ns and a 50% pulse width is applied at the input. The output waveforms for the uncompensated
and the compensated op-amps are shown in figures 4.8 and 4.9 respectively. The slew-rate obtained is
35V /µs for the compensated op-amp.
15
Chapter 5
References
4. Sampatrao L. Pinjare et al., A Gm/Id Based Methodology for Designing Common Source Amplifier
16