lab03
lab03
Ain Shams University – Faculty of Engineering – ECE Dept. – Integrated Circuits Lab.
Dr. Hesham Omran
NOTE: The values and charts reported below assume the provided 180 nm educational device model
and 1.8 V supply. Other models/technologies can be used by applying reasonable adjustments to the
values.
2) Although the 𝑉 ∗ is a nice parameter that is inspired by the square-law, it does not have an intuitive
or a physical meaning (it is not an actual voltage in the circuit). We actually defined 𝑉 ∗ in order to be
able to define a relation between the 𝑔𝑚 and 𝐼𝐷 . Thus, the real parameter that we should care about
is the 𝑔𝑚 over 𝐼𝐷 ratio (𝑔𝑚 /𝐼𝐷 ).
4) We want to design a common source (CS) amplifier that has ideal current source load with the
following parameters.
Parameter Value
𝑨𝒗 = 𝒈𝒎 𝒓𝒐 1 50
𝒈𝒎 /𝐼𝐷 10 𝑆/𝐴
Supply (𝑽𝑫𝑫) 1.8 𝑉
Quiescent (DC) output voltage 𝑉𝐷𝐷 /2 = 0.9 𝑉
Current consumption 20 𝜇𝐴
5) Since the square-law is not accurate, we cannot use it to calculate the sizing. Instead, we will use the
Sizing Assistant which is a powerful analog calculator that uses LUTs that are pre-generated from the
simulations. The sizing from SA is shown below. We will use the same sizing (𝐿 and 𝑊) to build a
cascode amplifier.
1
A relatively small L is necessary for Part 3 to make sure that Cgd is not negligible compared to Cgs.
Page 2 of 8
PART 2: Cascode for Gain
1. OP Analysis
1) Create a new schematic. Construct the circuit shown below. Use 𝐼𝐵 = 20𝜇𝐴. Use 𝐿 and 𝑊 as
selected in Part 1 for M0, M1, M2, and M4. Use the same 𝑊 for M3 but it will have different 𝐿 as will
be shown later. Use 𝐶𝐿 = 1𝑝𝐹.
2) We need to set the quiescent (DC) output voltage of the amplifiers to bias the transistors in
saturation. However, the output node is a high impedance node; thus, it is difficult to control its DC
voltage. As a workaround in simulation, we use a feedback loop and switches (analogLib >
sp1tswitch) with different settings in DC/AC to change the circuit connections in DC/AC simulations.
At DC, the transistor is diode connected and 𝑉𝐺𝑆 is set by the current source. At AC, the diode
connection is removed, and the input signal source is applied.
Page 3 of 8
3) For the cascode amplifier, we will choose 𝑉𝐵 to set 𝑉𝐷𝑆1 = 𝑉𝐷𝑆2 = 0.45 𝑉 as will be shown shortly.
4) To calculate 𝑉𝐵 we need to find 𝑉𝐺𝑆2 because 𝑉𝐵 = 𝑉𝐺𝑆2 + 𝑉𝐷𝑆1. Note that M2 experiences body
effect, so its 𝑉𝐺𝑆 will be higher than M0 and M1.
5) M3 and M4 are used to generate the cascode bias voltage. Note that M4 is always in saturation and
M3 is always in triode (why?). We need to find the 𝐿 of M3, so we set a sweep for M3 as shown
below.
6) Double click 𝑉𝐺𝑆 in the results table and find L that gives the required 𝑉𝐺𝑆 = 𝑉𝐵 = 𝑉𝐺𝑆2 + 𝑉𝐷𝑆1 .
Page 4 of 8
7) A dc shift (V1 and V3) is used to set the quiescent (DC) output voltage “roughly” to the required
value. Setting the output voltage to exactly 0.9 𝑉 is neither practical nor necessary. 𝑉𝐺𝑆0 and 𝑉𝐺𝑆1
can be retrieved from SA. Note that 𝑉𝐷𝑆0 = 0.9 𝑉 but 𝑉𝐷𝑆1 = 0.45 𝑉 so their 𝑉𝐺𝑆 will be slightly
different. This can be ignored as 𝑉𝐺𝑆 is always affected by 𝑉𝑇𝐻 variations.
8) Simulate the DC OP point of the above CS and cascode amplifiers. Report a snapshot showing info
balloons of the following parameters for M0 to M4 in addition to DC node voltages clearly
annotated.
ID
VGS
VDS
VTH
VDSAT
GM
GDS
GMB
CDB
CGD
CGS
CSB
Region
NOTE: “vdsat” is the minimum drain-source voltage required to bias the transistor in saturation. It
is equal to 𝑽𝒐𝒗 for a square-law device. It is also referred to as “vdss” (drain-source saturation
voltage) in some models. It is considered an ambiguous parameter because the transition from
triode to saturation is gradual, not abrupt.
9) Check that all transistors operate in saturation. Does any transistor operate in triode? Why?
10) Do all transistors have the same vth? Why?
11) What is the relation (≪, <, =, >, ≫) between gm and gds?
NOTE: use ≫ or ≪ if the difference is 10 times or more (one order of magnitude).
12) What is the relation (≪, <, =, >, ≫) between gm and gmb?
13) What is the relation (≪, <, =, >, ≫) between cgs and cgd?
14) What is the relation (≪, <, =, >, ≫) between csb and cdb?
Page 5 of 8
2. AC Analysis
1) Perform AC analysis (1Hz:10GHz, logarithmic, 10points/decade) to simulate gain and bandwidth.
2) Use calculator to create expressions for circuit parameters (DC gain, BW, GBW, and UGF) and export
them to adexl.
NOTE: Use the following expressions in the calculator and send them to adexl to quickly calculate
circuit parameters.
3) Report the Bode plot (magnitude) of CS and cascode appended on the same plot.
4) Using small signal parameters from OP simulation or SA, perform hand analysis to calculate DC gain,
BW, and GBW of both circuits.
5) Report a table comparing the DC gain, BW, UGF, and GBW of both circuits from simulation and hand
analysis.
6) Comment on the results.
Page 6 of 8
2) Calculate 𝑅𝐷 analytically such that the voltage drop on it is ≈ 𝑉𝐷𝐷 /2 (the current remains roughly
the same as in Part 2 because we are using the VGS generated by M5). Note that the DC voltage of
the output node is set by the resistance (𝑅𝐷 ); thus, we don’t need a feedback loop as in the previous
case.
3) Simulate the DC OP point of the new CS and cascode amplifiers. Add info balloons and report a
snapshot showing the following parameters for M1, M2 and M3 in addition to DC node voltages
clearly annotated.
ID
VGS
VDS
VTH
VDSAT
GM
GDS
GMB
CDB
CGD
CGS
CSB
Region
4) Check that all transistors operate in saturation.
2. AC Analysis
1) Perform AC analysis (1Hz:10GHz, logarithmic, 10points/decade) to simulate gain and bandwidth.
2) Use calculator to create expressions for circuit parameters (DC gain, BW, GBW, and UGF) and export
them to adexl as in Part 2.
3) Report the Bode plot (magnitude) of CS and cascode appended on the same plot.
4) Using small signal parameters from OP simulation or SA, perform hand analysis to calculate DC gain,
BW, and GBW of both circuits.
5) Report a table comparing the DC gain, BW, UGF, and GBW of both circuits from simulation and hand
analysis. Comment on the results.
Lab Summary
In Part 1 you learned:
• How to find transistor sizing using the Sizing Assistant (SA).
• How to design common-source and cascode amplifiers.
Page 7 of 8
Acknowledgements
Thanks to all who contributed to these labs. Special thanks to Dr. Sameh A. Ibrahim for reviewing
and editing the labs. If you find any errors or have suggestions concerning these labs, contact
[email protected].
Page 8 of 8