113 Electronics2 HW4 v2
113 Electronics2 HW4 v2
EE226001 Electronics2
Homework 4
two-Stage Opamp with local CMFB and miller compensation
Remind that
⚫ Sweeping size or voltage without no design consideration will get no credits. You
should know what direction you want and sweep it to find the optimal point.
⚫ The minimum tuning step for W is 0.1um, L is 0.01um, voltage is 0.1V, current
is 0.1𝜇𝐴.
⚫ All body of MOS, please connect to VDD(if PMOS) or VSS(if NMOS)
⚫ No Negative voltage is allowed in the homework.
In this homework, you are asked to build the circuit shown in Fig. 1, and the
specifications you need to meet are listed in Table. 3. Please make sure your circuit
meets all specs in TT corner. Don’t be afraid. Please follow the guide line step by step.
You will make it.
Fig. 1. two Stage Opamp with Local Common Mode Feedback and miller compensation
1
NTHUEE 113 Fall Electronic II
Fig. 2. 1st stage with ideal biasing Fig. 3. 1st stage with CMFB
2
NTHUEE 113 Fall Electronic II
Note:definition of power in all Table ─ please use .op command to print out the
parameter. You will find this line. Please fill the Table with the value you find.
3
NTHUEE 113 Fall Electronic II
4
NTHUEE 113 Fall Electronic II
5
NTHUEE 113 Fall Electronic II
6
NTHUEE 113 Fall Electronic II
7
NTHUEE 113 Fall Electronic II
(Common mode gain testing) As shown in the following figure, apply a common
mode signal to the opamp, and then probe the single end output, Voutp or Voutn,
𝑉𝑜𝑢𝑡𝑝 𝑉𝑜𝑢𝑡𝑛
|𝐶𝑜𝑚𝑚𝑜𝑛 𝑀𝑜𝑑𝑒 𝐺𝑎𝑖𝑛| = 𝑜𝑟
𝑉𝑖𝑛 𝑉𝑖𝑛
9
NTHUEE 113 Fall Electronic II
compare the calculated result with simulated result got from Bonus
Part.1.(1).
10
NTHUEE 113 Fall Electronic II
11
NTHUEE 113 Fall Electronic II
Homework Submission
Please upload the following document to the eeclass
1. Your report, named as “Electronics2_HW4_studentID_name.pdf”. E.x.,
Electronics2_HW4_123456789_廖帥哥.pdf.
If you have done the BonusPart1., please name as
“Electronics2_HW4_studentID_name_Bonus1.pdf”
If you have done the BonusPart1. & BonusPart2, please name as
“Electronics2_HW4_studentID_name_Bonus1_2.pdf”
2. Your circuit file
➢ HW4_diff_AC_tb.sp : differential mode testbench
(circuit file in Part III)
➢ HW4_cm_AC_w_cmfb_tb.sp : with CMFB loop common mode testbench
(circuit file in Bonus Part 1.)
HW4_cm_AC_break_cmfb_tb.sp : break CMFB loop common mode
testbench
(circuit file in Bonus Part 2.)
➢ Other .spi file(if you have)
Grading Policy
➢ Part I(30%)
1. Step1(20%)
2. Step2(10%)
➢ Part II.(30%)
➢ Part III (40%)
1. Overall circuit analysis(10%)
2. Design of the circuit shown in Fig. 1(10%)
3. Operating point Checking(5%)
4. Open-loop differential mode AC response(15%)
➢ Bonus Part(20%)
1. Common mode AC response(Overall)(10%)
2. Common mode AC response(break the common mode feedback loop)(10%)
Total point:120%
12
NTHUEE 113 Fall Electronic II
*Differential input
Ep Vip VCM VCVS Vdiff Vss 0.5
En Vin VCM VCVS Vdiff Vss -0.5
* differential gain
.tf V(Voutp, Voutn) Vdiff
* Frequency response
.AC DEC 10 1 10G
.probe AC vdb(Voutp, Voutn) vp(Voutp, Voutn)
.measure AC dc_gain find Vdb(Voutp, Voutn) at=1Hz
.measure AC bw when Vdb(Voutp, Voutn)='dc_gain-3'
* pole/zero
.pz V(Voutp, Voutn) Vdiff
13
NTHUEE 113 Fall Electronic II
* Frequency response
.AC DEC 10 1 10G
.probe AC vdb(Vout) vp(Vout)
.measure AC dc_gain find Vdb(Vout) at=1Hz
.measure AC bw when Vdb(Vout)='dc_gain-3'
* pole/zero
.pz V(Vout) VCM
14