0% found this document useful (0 votes)
194 views3 pages

Two-Stage CMOS Op-Amp Design Guide

This document provides guidelines for designing and characterizing a basic two-stage CMOS operational amplifier. Students are asked to design the op-amp to meet specifications for voltage gain, bandwidth, phase margin, common-mode rejection ratio, and power dissipation. The design process involves selecting device sizes, biasing conditions, and compensation. Characterization involves DC, AC, stability and transient analyses using various testbenches to evaluate parameters like gain, bandwidth, slew rate and more. Results are to be reported along with schematics, analyses plots and a table of op-amp specifications.

Uploaded by

SOHAN DEBNATH
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)
194 views3 pages

Two-Stage CMOS Op-Amp Design Guide

This document provides guidelines for designing and characterizing a basic two-stage CMOS operational amplifier. Students are asked to design the op-amp to meet specifications for voltage gain, bandwidth, phase margin, common-mode rejection ratio, and power dissipation. The design process involves selecting device sizes, biasing conditions, and compensation. Characterization involves DC, AC, stability and transient analyses using various testbenches to evaluate parameters like gain, bandwidth, slew rate and more. Results are to be reported along with schematics, analyses plots and a table of op-amp specifications.

Uploaded by

SOHAN DEBNATH
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

LAB 5, E3-238 ANALOG VLSI CIRCUITS, INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA

E3-238: Analog VLSI Circuits


Lab 5
November, 2022

PROBLEM DESCRIPTION
In this homework, you are to design a basic two-stage CMOS operational amplifier (op-amp), as shown
in Figure 1, for the specifications given inTable 1. The op-amp consists of a differential input stage
(𝑀𝑀1 and 𝑀𝑀2) driving a current mirror load(𝑀𝑀3 and 𝑀𝑀4) followed by a common-source amplifier
stage (𝑀𝑀7). The devices 𝑀𝑀5 and 𝑀𝑀7 form the tail current source for the differential stage and the
current source load for thecommon- source stage. 𝐶𝐶𝑐𝑐 and 𝑅𝑅𝑧𝑧 are the compensation capacitor and the
zero-nulling resistor.

Figure 1 A basic two-stage operational amplifier.

Table 1 Design specifications @ [Supply voltage = 𝟏𝟏.8 𝑽𝑽, Load CL = 𝟏𝟏𝟏𝟏𝟏𝟏 𝒇𝒇𝒇𝒇, and Temperature = 𝟐𝟐𝟐𝟐° 𝑪𝑪]
S.N. Parameter Symbol Value
1. Open-loop, differential-mode, DC voltage gain 𝐴𝐴0 ≥ 1000 𝑉𝑉/𝑉𝑉
(60 𝑑𝑑𝑑𝑑)
2. Unity-gain frequency 𝑓𝑓UG ≥ 10 𝑀𝑀𝑀𝑀𝑀𝑀
3. Phase margin 𝑃𝑃𝑃𝑃 ≥ 75°
4. Common-mode rejection ratio 𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶 ≥ 50 𝑑𝑑𝑑𝑑
5. Power dissipation 𝑃𝑃𝑑𝑑 ≤ 30 𝜇𝜇𝜇𝜇

The designing of the op-amp consists of selecting device sizes and biasing conditions,
compensating the op-amp for stability, and simulating the op-amp open-loop gain (𝐴𝐴0), unity-gain
frequency (𝑓𝑓UG), phase margin (𝑃𝑃𝑃𝑃), common-mode rejection ratio (𝐶𝐶𝐶𝐶𝐶𝐶𝐶𝐶), common- mode range
(𝐶𝐶𝐶𝐶𝐶𝐶), output swing (𝑆𝑆), Slew rate (SR) and power dissipation (𝑃𝑃𝑑𝑑).

GUIDELINES FOR DESIGNING


1. Breakup the op-amp design problem into the designing of the differential and the common-
source amplifier stages.
2. Recognize the gain-bandwidth-power-swing trade-off in each stage by simulating the core
devices with the ideal bias sources.
3. Design the individual stages for the pre-specified gain, bandwidth, power, and swing with an
approximated load condition. Have enough margins in the design to accommodate the
impairments due to stage cascading, bias networks, and frequency compensation network.
4. Cascade the stages and obtain the overall performance with ideal bias sources.
5. If required, iterate the designing for new values of gain, bandwidth, power, and swing.

Page 1 of 3
LAB 5, E3-238 ANALOG VLSI CIRCUITS, INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA

GUIDELINES FOR CHARACTERIZATION


Having selected the device sizes and biasing conditions, you plug your design into a testbench to
characterize its performance. In the testbench, you set the necessary biasing, loading, and excitation to
simulate a characteristic. In general, you may need to create multiple testbenches to simulate various
op-amp parameters. You can also reuse a testbench with different combination of analyses to simulate
multiple parameters. It is not always necessary to create a single generic testbench that allows
simulation of all the parameters. Below is a general guideline to characterize the op-amp using DC, AC,
and transient analyses in conjunction with the appropriate testbench.

DC analysis

1. Obtain the common-mode range (CMR) curve by plotting the output voltage (Vout) with respect
tothe common-mode input voltage (Vic). (Sweep Vic rail-to-rail)
2. Obtain the DC voltage transfer characteristic (VTC) curve by sweeping the differential input
voltage (Vid )and plotting the output voltage (Vout).
3. Find the input-referred DC offset voltage (Voffset) which drives the output voltage to mid-rail
voltage.
4. Compute the differential-mode DC voltage gain curve by taking derivative of the VTC with
respect to Vid.
5. At Vic = VDD/2 and Vid = Voffset, obtain the following values:
a. DC differential-mode voltage gain (𝐴𝐴0)
b. DC common-mode voltage gain(𝐴𝐴𝑐𝑐𝑐𝑐0)
c. Bias current into both the input terminals (Ibias,in1 and Ibias,in2 )
d. Bias current (Ibias = (Ibias,in1 + Ibias,in2)/2)
e. Offset current (Ioffset = | Ibias,in1 − Ibias,in2 |)
f. Positive and negative output saturation limits (𝑉𝑉− to 𝑉𝑉+)
g. Power dissipation (Pdiss =VDD* IDD)

AC analysis

Set the DC condition for DC analysis (3) i.e. output voltage to mid-rail. Set the Vin,CM to mid
rail. Add another AC source Vin,AC in series with the differential input Vin,DC.
1. Obtain the frequency response by plotting magnitude and phase of the differential-mode voltage
gain versus frequency from 1Hz to 10 GHz with 100 points/decade step size.
Page 2 of 3
LAB 5, E3-238 ANALOG VLSI CIRCUITS, INDIAN INSTITUTE OF SCIENCE, BANGALORE (560012), KARNATAKA, INDIA

2. Find the 0 𝑑𝑑𝑑𝑑 magnitude crossover frequency (𝑓𝑓0𝑑𝑑𝑑𝑑)


3. Find the phase at 𝑓𝑓0𝑑𝑑𝑑𝑑(𝑃𝑃ℎ𝑎𝑎𝑎𝑎𝑎𝑎𝑓𝑓0𝑑𝑑𝑑𝑑)
4. Calculate the phase margin in degree (𝑃𝑃𝑃𝑃 = 180 + 𝑃𝑃ℎ𝑎𝑎𝑎𝑎𝑎𝑎𝑓𝑓0𝑑𝑑𝑑𝑑 )

Stability analysis

Connect the op-amp in the voltage follower configuration (unity gain feedback) and set the common
mode voltage to mid-rail. Use vstb to break the loop in stb analysis as shown in the class.
1. Plot open loop gain and phase
2. Calculate gain and phase margins.

Transient analysis

1. Connect the op-amp in the voltage follower configuration (unity gain feedback) and set the
common mode voltage to mid-rail. Excite the input (non-invertingterminal) with a (positive
and negative) step signal with large (~ VDD./2) amplitude.
2. Find the positive and negative slew rate (slope of the output V/s) from the transient response.

GUIDELINES FOR REPORT SUBMISSION


Include the following in the report:
1. A design schematic labeled with device sizes and bias voltages and currents.
2. All the testbench schematics.
3. DC analysis: DC transfer curve for the op-amp in the open-loop configuration.
4. AC analysis: Frequency response (both magnitude and phase) for the uncompensated and
compensated op-amp in the open-loop configuration.
5. Stability analysis: Frequency response (both magnitude and phase) for the uncompensated
and compensated op-amp in the closed-loop configuration.
6. Transient analysis: Step response for the uncompensated and compensated op-amp
in the unity feedbackconfiguration.
7. A table listing all the op-amp parameters.
Page 3 of 3

Common questions

Powered by AI

To analyze the transient response of a CMOS op-amp in a unity feedback configuration, it is advised to connect the op-amp in this configuration, setting the common mode voltage to mid-rail. Then, excite the input (non-inverting terminal) with large amplitude step signals (both positive and negative), approximately half of VDD. This setup will allow monitoring of the output's step response and facilitate the measurement of positive and negative slew rates by observing the slopes of the output waveform during these transitions .

The primary design challenges when cascading stages in an op-amp include managing gain-bandwidth-power-swing trade-offs. Each stage must be carefully designed to meet the gain, bandwidth, power, and swing requirements while considering the impact of cascading. There is a need to have sufficient margin to accommodate impairments caused by stage interactions, bias networks, and frequency compensation networks. Iterative adjustments may be required to optimize for new values of gain, bandwidth, power, and swing once cascading is implemented .

The devices MM5 and MM7 serve as the current sources in the two-stage CMOS op-amp. MM5 forms the tail current source for the differential input stage, ensuring consistent biasing of transistors MM1 and MM2, which are crucial for achieving the differential mode of operation. MM7 acts as the current source load for the common-source amplifier stage, helping to establish the necessary operating point and enable proper amplification in the following stage .

Having both uncompensated and compensated frequency responses is crucial for understanding how frequency compensation affects the op-amp's performance. The uncompensated frequency response allows designers to observe the op-amp's natural gain and phase characteristics without interference from compensation strategies. Comparing this with the compensated response helps assess how effectively phase margin and stability have been improved and whether the compensation techniques employed, such as adding compensation capacitors and zero-nulling resistors, successfully mitigate unwanted effects, such as oscillations and reduced frequency gain stability .

The phase margin during the AC analysis is calculated by first obtaining the frequency response, which involves plotting the magnitude and phase of the differential-mode voltage gain across a frequency range. The 0 dB magnitude crossover frequency is found, and the phase at this frequency is noted. The phase margin is then calculated using the formula PM = 180° + Phase at the 0 dB crossover frequency. This calculation helps determine the stability of the op-amp when subjected to different frequency inputs .

The zero-nulling resistor in a two-stage CMOS op-amp design is used to modify the frequency response of the op-amp by introducing a left-half plane zero. This zero is strategically placed to improve phase margin and enhance stability by compensating for the intrinsic poles of the amplifier, thus reducing the likelihood of oscillations in response to certain inputs. This is particularly crucial in feedback configurations where stability is paramount .

The power dissipation of a designed CMOS op-amp during DC analysis is calculated using the formula Pdiss = VDD * IDD, where VDD is the supply voltage and IDD is the total current drawn from the supply. This calculation provides insight into the op-amp's efficiency and is a critical design parameter aimed at ensuring the op-amp operates within its power limits to prevent thermal issues and ensure reliability .

The recommended steps for DC analysis include obtaining the common-mode range (CMR) curve by plotting the output voltage with respect to the common-mode input voltage, sweeping the input voltage rail-to-rail. Additionally, one must obtain the DC voltage transfer characteristic curve by sweeping the differential input voltage and plotting the output voltage. It is also essential to find the input-referred DC offset voltage and compute the differential-mode DC voltage gain curve by taking the derivative of the VTC with respect to the input voltage. These analyses help in determining key parameters such as DC differential-mode voltage gain, bias currents, and power dissipation .

Creating multiple testbenches for op-amp characterization is important because each testbench can be tailored to focus on specific parameters or analysis types, such as DC, AC, or transient responses, which require different setups and inputs. A generic testbench may not offer the precision needed for detailed analysis of nuanced behaviors and could lead to misinterpretations due to varying loading conditions, biasing needs, and specific frequency responses. Tailored testbenches ensure more accurate and reliable evaluations, particularly in sophisticated designs where small deviations in performance can be significant .

To obtain the DC voltage transfer characteristic (VTC) curve for a CMOS op-amp, one should perform a DC sweep on the differential input voltage (Vid) and plot the corresponding output voltage (Vout). This procedure involves varying Vid from minimum to maximum (typically rail-to-rail) and recording Vout to illustrate how the output responds to various input levels. Analyzing this curve helps determine important operational parameters such as voltage gains, saturation limits, and linearity of the amplifier .

You might also like