Voltage Reference 23
Voltage Reference 23
Figure 1
Above in Figure 1 is the MOSFET only reference from Figure 23.2 in the text.
Since the current through the two MOSFETS is equal, and vGS=vSG=VREF and using
equation 9.56.
Setting the two currents equal and solving for Wn/Wp gives:
Using the value of the width of the NMOS calculated above (80) the reference voltage is
off by 50uV. Therefore some tweaking of the width of the NMOS was in order.
Changing this width to 50 gives the desired reference voltage. The netlist and the plot of
the behavior of the MOSFET only reference with variations in VDD and Temperature
can be seen below in figure 2.
The behavior with variations in temperature is very good, but the reference voltage varies
around 700mV with variations in VDD, when VDD is swept from 0 to 1.5 Volts.
Figure 2.
.control
destroy all
set temp=0
run
set temp=25
run
set temp=27
run
set temp=50
run
set temp=75
run
set temp=100
run
plot dc1.vref dc2.vref dc3.vref dc4.vref dc5.vref dc6.vref
.endc
.option scale=50n
.dc VDD 0 1.5 1m
VDD VDD 0 DC 1
M2 VREF VREF VDD VDD PMOS L=2 W=100
M1 VREF VREF 0 0 NMOS L=2 W=50
BSIM4 models
*
* 50nm models from "BPTM
Problem 23.2
⎛R ⎞
VREF = VGS ⎜⎜ 1 + 1⎟⎟
⎝ R2 ⎠
Knowing that VREF should be half a volt, and that VGS ≈ VTHN if the width of the
NMOS gate is very wide, we have:
⎛R ⎞ R
2.5 = 0.8⎜⎜ 1 + 1⎟⎟ ⇒ 1 ≈ 2.125
⎝ R2 ⎠ R2
R1 = 85kΩ
R2 = 40kΩ
R = 30kΩ
Note that the TC’s of R1 and R2 do not affect the behavior of the reference
because they simply cancel in equation (23.7). Examining Figure 1, we see that:
∂VREF 137mV
= = 0.07 volts per volt
∂VDD 2V
∂VREF 84mV
= = 3.36 × 10 −3 V o ⇒ TCV REF = 672 ppm o
∂T o
25 C C C
The netlist is seen below:
.control
destroy all
*run
*plot vref a
*plot -vdd#branch
set temp=0
run
set temp=25
run
set temp=50
run
set temp=75
run
set temp=100
run
plot dc1.vref dc2.vref dc3.vref dc4.vref dc5.vref
.endc
.option scale=1u
vdd vdd 0 5
.end
EE597 HW 23. 3 Dong Pan
23.3. Fig 23.7. Suppose it is desired to have M1 and M2 has the same size, the width of M3 has to
increase K. How the equation works and how the current changes.
Solution:
If M3 increase k times. M3 size =K *M4 size
Ö IM1=K * IM2=K * ID
Vgs1=Vgs2+I M2 *R
So 2 I M 1 / β + Vth = 2 I M 2 / β + Vth + I M 2 * R
2
⎛
2 1 ⎞
=> I M 2 = ⎜1 − ⎟
2 W ⎝ K ⎠
R KP
L
Same as Equ. 20.23
2
2⎛ 1 ⎞
I M 1 = KI M 2 =K ⎜1 − ⎟
2 W ⎝ K ⎠
R KP
L
23.4) The modified current Beta Multiplier is shown below. The netlist for it follows.
VDD VDD
VRBranch
Vmeas1
VR
+
-
R=6.5k
Vmeas2
GND
+
-
GND
.control
destroy all
run
let Iref1=Vmeas1#branch
let Iref2=Vmeas2#branch
plot Iref1 Iref2
plot Vbiasp Vcasn
.endc
.option scale=50n
.dc VDD 0 1.5 1m
R0 Vmeas2 Vr R=6.5k
Vmeas2 Vmeas2 0 dc=0.0
Vmeas1 Vmeas1 0 dc=0.0
*Start Up Circuit
MSU1 Vsur Vbiasn 0 0 NMOS L=2 W=50
MSU2 Vsur Vsur VDD VDD PMOS L=20 W=10
MSU3 Vbiasp Vsur Vbiasn 0 NMOS L=1 W=10
.end
Note that the transistor models were not included since they are same for every other circuit. Simulating
the above circuits yields the following figure.
As expected the currents are not equal since the drain source voltages of the PMOSs are not the same.
This is shown in the next figure.
Solution for Problem 23.5
1 1
R= (1 − )
gm k
using Table 9.2 and k=4 we get R=5K ohms.
Therefore VREF is independent of TCR since IREF independent of Resistor. TCVREF is only dependent on
threshold voltage VTHN.
Net list
*** Problem 23.5 CMOS: Circuit Design, Layout, and Simulation ***
.control
destroy all
set temp=0
run
set temp=25
run
set temp=50
run
set temp=75
run
set temp=100
run
plot dc1.i(vdd) dc2.i(vdd) dc3.i(vdd) dc4.i(vdd) dc5.i(vdd)
plot dc1.vref dc2.vref dc3.vref dc4.vref dc5.vref
.endc
.option scale=50n
.dc VDD 0 1.2 1m
VDD VDD 0 DC 1
*amplifier
MA1 Vamp Vref 0 0 NMOS L=2 W=10
MA2 Vbiasp Vbiasn 0 0 NMOS L=2 W=10
MA3 Vamp Vamp VDD VDD PMOS L=2 W=100
MA4 Vbiasp Vamp VDD VDD PMOS L=2 W=100
*start-up stuff
MSU1 Vsur Vbiasn 0 0 NMOS L=2 W=10
MSU2 Vsur Vsur VDD VDD PMOS L=20 W=10
MSU3 Vbiasp Vsur Vbiasn 0 NMOS L=1 W=10
Above figure shows the simulation results of Beta multiplier refrence circuit at T=0,25,50,75 and 100oC.
Problem 23.6 Dennis Montierth
R = 5.5K
W1 = W
W2 = K*W1 K=4
You can see from the left side of the circuit in Fig. 23.16b that VREF is equal to the gate to source drop of M1. This
results because the amplifier feedback holds its inputs at the same voltage. The other important voltage on the right
hand side of the circuit is the gate to source drop of M2. The drop across the resistor is therefore equal to VGS1 –
VGS2.
Knowing this I next solve for the current which is equal through both branches.
ID = (2*ID*L/(KP*W*R2)).5 * (1 – 1/K.5)
ID = (2*L/(KP*W*R2)) * (1 – 1/K.5)2
Once I have the value of the current and knowing that VGS1 is equal to VREF I can just write an equation for VGS1.
Next, I will derive the functions that govern how the circuit performs with temperature variation.
Negative
Voltage
n+
K
A
p-substrate
GND
23.8)
The current through a forward biased diode is given by
So, we get
1uA
IS =
e 26.92 / n
dVD
Given = −2mV / C
dT
dVD dV I
From Eq. (1), = n. T . ln D
dT dT IS
dVD uV 1uA
= n.85 . ln
dT C IS
1uA
Diode
Voltage
From simulations we see that with n=0.7 and IS= 1.5 x 10-23, we
dVD
get = −1.9mV / C
dT
NETLIST
.control
destroy all
set temp=25
run
set temp=26
run
set temp=27
run
set temp=28
run
set temp=29
run
plot tran1.vd tran2.vd tran3.vd tran4.vd tran5.vd
.endc
.tran 1m 1
ID 0 VD DC 1u
D1 VD 0 PNPDIODE
In SPICE the junction diode model can also be used for both junction diodes
as well as the Schottky diodes.
where N+, N- are the positive and negative nodes, AREA is the area factor,
IC=VD specifies the optional initial condition and T is the operating
temperature of the device.
The current and voltage characteristics of Schottky diode generated from a
WINSPICE net list is shown below:
The corresponding net list is shown below:
.control
destroy all
RUN
PLOT (-VD#BRANCH)
.endc
.DC VD 0 2 1m
VD VD 0 DC 0
D1 VD 0 SCHOTTKY
.MODEL SCHOTTKY D IS=1e-18 n=0.4 XTI=2 RS=1K
.end
M7 M8
M5 M6
M3 M4
M1 M2
Minimun VDD will ensure that all of p-channel and n-channel devices will turn on
enough to conduct 1uA current.
KPP W
(Vsg 6 − Vthp )
2
I D6 =
2 L
40uA / V 2 30
1uA = (Vsg6 − .9 )
2
2 2
Vgs6 = .9577V = Vgs8
KPN W
I D2 = (Vgs2 − Vthn )
2 L
120u 2 / V 2 10
1uA = (Vds, sat2 )
2 2
Vds, sat4 = Vds, sat2 = .0577V
Based on simulation the minimum VDD allowable is around 2.9V which is pretty close
with hand calculation.
Problem 23.11.
Single Diode:
If the voltage across the diode is VD and the reverse saturation current is given
by IS , then the current flowing through the diode is given by:
VD )
ID = IS . e n.VT
(
K diodes in parallel:
Now consider the K similar diodes in parallel with the voltage across each of the
diode remaining the same. Then the total current flowing through all the diodes is
the sum of the currents flowing through each diode.
VD ) VD ) VD ) VD )
ITOTAL = IS . e n.VT + IS . e n.VT + IS . e n.VT + ...k .times... + IS . e n.VT
( ( ( (
VD )
⇒ ITOTAL = K .( IS . e n.VT )
(
So the current flowing through all the diodes is ‘K’ times the current flowing
through a single forward biased diode.
So K diodes in parallel behave like a single diode with a scale current of K.IS.
23.12) Reference design that would output a voltage of n.VT
nk .L. ln K
VREF = ⋅ T = n ⋅ VT ⋅ L ⋅ ln K
q
VREF
1.R
1.5 R
R
D1, 1
D2, 2
Determine if the performance of the BGR of Fig 23.32 can be enhanced by using the
topology of Fig 23.33. Use simulations to verify your answer.
From the figure it can be seen that there is a resistive divider and the voltage Vb is given
by
R
Vb =Va ⋅ 2
R1+ R2
R
Va =Vb ⋅ (1+ 1 )
R2
Hence if Vb moves by 1mV then Va moves by 2mV when the resistors have the same
value. So there will be a variation in the PMOS drain to source voltages with variations in
VDD So the performance of the BGR of Fig 23.33 will not be that good when compared
to Fig 23.32.
Net list
*** Figure 23.13 CMOS: Circuit Design, Layout, and Simulation ***
.control
destroy all
set temp=0
run
set temp=25
run
set temp=50
run
set temp=75
run
set temp=100
run
plot dc1.vref dc2.vref dc3.vref dc4.vref dc5.vref
plot dc1.vref dc2.vref dc3.vref dc4.vref dc5.vref xlimit 950m 1.05 ylimit 500m 600m
*plot vref
.endc
.option scale=50n
.dc VDD 0 1.1 1m
VDD VDD 0 DC 1
**start-up circuit
Mpu vsu vbiasp VDD VDD PMOS L=2 W=20
Mpd vsu vbiasp 0 0 NMOS L=100 W=10
Ms vd1 vsu VDD VDD PMOS L=1 W=10
Vref’s sensitivity with VDD for Fig 23.32 Vref’s sensitivity with VDD for Fig 23.33
Vref’s sensitivity with VDD and Temperature for Fig 23.32 Zoomed in view
It can be seen from the Simulations above that the temperature behavior of the BGR
without the resistive divider is better than the one with the divider.