Analog Lab Exp 4 Report Varun Sharma 2018eeb1193
Analog Lab Exp 4 Report Varun Sharma 2018eeb1193
LAB
EE-302
Submitted To
Dr. Vinayak Hande
Submitted By
Varun Sharma
Entry No: 2018EEB1193
Objective
Design a single stage NMOS Differential Amplifier with specifications
1. Differential Gain : 45 dB
2. Gain Bandwidth Product : 50 MHz
Theory
Differential Amplifier is a type of electronic amplifier that amplifies the difference between two input signals but
suppresses any voltage common to both of the input signals. With MOS based differential amplifier, we can
amplify the difference by a very large gain and can realize very high bandwidths by setting the W/L ratios and
bias voltages accordingly. The differential amplifiers provide high gain when all its MOS are operating in
saturation region.
Diifertial amplifiers are capable of suppressing Common Mode Noises though differential mode noise requires
more complex circuitry for processing.
Gain Bandwidth Product for an amplifier is the product of the amplifier bandwidth and the gain at which the
bandwidth is measured. It is also known as the unity gain frequency. A frequency at which the gain plot crosses
0dB and the gain of the amplifier is unity.
Full power bandwidth is the frequency range for which the power is greater than half the DC Power. The
corresponding Full Power Bandwidth is given by the 3 dB frequency
For achieving high gain , differential cascode configurations are used. These cascode topologies are connected
between the power supplies and load current sources. Thus, they are also known as telescopic cascodes and the
resulting circuit is symmetric with each output loaded by a cascode current source.
There are various kinds of configurations for a differential amplifier design such as fully differential folded
cascode design, telescopic, cascode and folded cascode design. Differential amplifier offers various advantages
like they are very less sensitive to noise and interferences. They enable us to bias amplifiers and connect multiple
stages without using coupling or bypass capacitors. They provide excellent matching of transistors which is very
critical for differential circuits.
For our experiment, we will be analyzing the NMOS Differential Amplifier and the Telescopic Cascode
Differential Amplifier.
Procedure
We have to analyze the frequency response of an NMOS Differential Amplifier and a Telescopic Cascode
Differential Amplifier. We will analyze the Bode Plot of both of the Differential Amplifier and analyze their
magnitude plot to calculate the DC gain, Maximum Gain, the 3dB frequency and the Gain Bandwidth Product.
Then in order to realize the amplification of the difference in input voltages, we will give sinusoidal inputs to the
input port of each differential amplifier and will analyze the corresponding output and its amplification. In order
for the differential amplifier to work correctly, each of the MOSFET has to be in saturation then only it would be
able to provide high gain. So, before doing the output analysis for sinusoidal inputs, we will establish a DC bias
point for the amplifier that will keep each of the MOS in saturation.
Voltage headroom is a crucial parameter in determining the variations or flexibility we can tolerate in the output
voltage. It has an upper and lower bound and is determined by the overdrive and drain voltages of various
MOSFET’s in the circuit. We need to perform the output analysis keeping in mind that the output voltage curve
must always lies within the range of voltage headroom.
At the end, using our AC Analysis curves, we will design the Differential Amplifiers as per the question gain and
bandwidth requirements. In order to design this amplifier, we will require to alter the bias voltages and load
characteristics.
Assumptions
1. W/L for the NMOS and PMOS can be kept different to match our bias point and gain requirements.
2. For finding the unit gain frequency, very small gain such as 0.1 dB or -0.1 dB are considered as 0 dB only.
This is done bcoz while using cursor, pointing to the exact 0dB point is difficult and outside the precision
of the LTspice plot. Also, the gains of 0.1 or -0.1 dB are not that significant and can be assumed as 0dB
for evaluation. Hence, we will be ignoring these minute values in order to get an almost correct value for
our unity gain frequency.
Circuit Diagram
Single Stage NMOS Differential Amplifier
Element Specifications:
W/L for M2 , M3 and M5 is 1 with both W and L as 1u.
W/L for M1 and M4 is 1.75 with W as 1.75u and L is 1u.
Telescopic Cascode Differential Amplifier
Element specifications
W/L for NMOS M5 is 1 with W and L equal to 1u
W/L for M1-M4 is 10 with W as 10u and L as 1u
W/L for PMOS M6 – M9 is 1 with W and L as 1u.
AC Analysis
Single Stage NMOS Differential Amplifier
For the AC Analysis, we have to bias each of the MOS in the circuit in saturation. The combination of bias
voltages along with the DC Operating point parameters are shown in the below. op plot.
The bias voltages for each of the MOS is as follows
𝑉𝑔 − 𝐺𝑎𝑡𝑒 𝑉𝑜𝑙𝑡𝑎𝑔𝑒
𝑉𝑠 − 𝑆𝑜𝑢𝑟𝑐𝑒 𝑉𝑜𝑙𝑡𝑎𝑔𝑒
𝑉𝑑 − 𝐷𝑟𝑎𝑖𝑛 𝑉𝑜𝑙𝑡𝑎𝑔𝑒
𝑉𝑂𝐷 − 𝑂𝑣𝑒𝑟𝑑𝑟𝑖𝑣𝑒 𝑉𝑜𝑙𝑡𝑎𝑔𝑒
𝑉𝑑𝑠 − 𝐷𝑟𝑎𝑖𝑛 𝑡𝑜 𝑆𝑜𝑢𝑟𝑐𝑒 𝑉𝑜𝑙𝑡𝑎𝑔𝑒
For saturation, we know that for NMOS
𝑉𝑑𝑠 ≥ 𝑉𝑂𝐷
Where
𝑉𝑂𝐷 = 𝑉𝑔 − 𝑉𝑠 − 𝑉𝑡𝑜
And for PMOS, for saturation
𝑉𝑠𝑑 ≥ 𝑉𝑂𝐷
Where
𝑉𝑂𝐷 = 𝑉𝑠 − 𝑉𝑔 − |𝑉𝑡𝑜|
From the above specifications, we can conclude that all the MOSFET in our circuit are in saturation for the biasing
specifications given as
VDD 3V
VCM 0.8 V
Vin1 1V
Vin2 1V
Id ( M5 ) 3.7 uA
Id ( M1, M2 , M3 And M4) 1.85 uA
At the above biasing point, the AC Analysis of the differential amplifier is performed for frequency range from 1
Hz to 100 Meg Hz in steps of 100000. The command used for the frequency response analysis is
.ac oct 100000 1 100Meg
AC voltage of magnitude 0.5 and -0.5 is given to the two differential input port as per the question statement.
We get the following magnitude and phase plot for our NMOS Differential Amplifier
At the above biasing point, the AC analysis for the Telescopic Cascode Differential Amplifier gives us the
following plots
𝟎. 𝟏𝟖 ≤ 𝑽𝒐𝒖𝒕 ≤ 𝟐. 𝟓𝟎𝟔
Hence, the output that we get on application of a sinusoidal input should lie within this range only for correct
operation of the NMOS Differential Amplifier.
𝟏. 𝟔𝟖 ≤ 𝑽𝒐𝒖𝒕 ≤ 𝟐. 𝟒𝟔𝟒
Hence, the output that we get on application of a sinusoidal input should lie within this range only for correct
operation of the Telescopic Cascode Differential Amplifier
Voltage Headroom
Using the theoretical range of Vout as reference, we would be evaluating the voltage headroom our differential
amplifier provides us when an input sine signal of 1mV is applied at its input terminals.
The condition for designing our amplifier is that we are not allowed to change the value for our load capacitance
Cl and supply voltage Vdd. So, the only way we can change the gain of the amplifier is by varying the values for
W/L ratios for MOS and by changing the Gate Bias Voltage. After trying various combination for W/L and gate
voltage, the following values gave us results closest to the required ones.
W/L values
35 for NMOS M5 with W as 35u and L as 1u
70 for NMOS M1 and M4 with W as 70u and L as 1u
100 for PMOS M2 and M3 with W as 100u and L as 1u
Gate Voltages
Vin1=1.5 V
Vin2=1.5 V
The frequency response for these values is as follows
After trying various combination for W/L and gate voltage, the following values gave us results closest to the
required ones.
W/L values
1 for NMOS M5 with W as 1u and L as 1u
100 for NMOS M1 and M4 with W as 100u and L as 1u
10 for PMOS M2 and M3 with W as 10u and L as 1u
10 for PMOS M8 and M9 with W as 10u and L as 1u
1 for PMOS M6 and M7 with W as 1u and L as 1u
Gate Voltages
Vin1=1 V
Vin2=1 V
Vbias=1.8 V
The frequency response for these values is as follows
The frequency characteristics of the Telescopic Cascode Differential Amplifier is as follows
DC Gain 34.616 dB
Maximum Gain 45.308 dB
Maximum Gain Frequency 10.93 KHz
3 dB Frequency 1.156 MHz
Unity Gain Bandwidth 30.4919 MHz
Full Power Bandwidth 1.156 MHz
GAIN BANDWIDTH PRODUCT 30.4919 MHz
Conclusion
NMOS and Telescopic Cascode Differential Amplifier are very important differential amplifier configurations
with respect to IC design and transistor matching. Using LTspice AC Analysis, we were able to analyze the
frequency behavior of these amplifiers specifically in terms of their Gain plot, Gain Bandwidth Product, Power
Bandwidth and other factors with all the transistors in saturated operation. We were also able to realize the
amplification introduced by the amplifiers by giving sinusoidal signal at the input ports and observing the
corresponding output signal gain and swing. By using the theoretical and plot values for the range of output
voltage, we were able to evaluate the possible voltage headroom tolerable at the output. At the end, using our
frequency analysis, we were able to design our amplifiers that provides us the required Gain Bandwidth product
and approximately equal gain as asked in the question.