Professional Documents
Culture Documents
Assignment-2
Sahukari Chaitanya Varun
EE19BTECH11040
November 9, 2021
1 MOSFET Resistance
1.1 Simulation
For measuring the Req , we find the R averaged over the Vds ranging from
Vdd =1.8V to Vdd /2=0.9V . The R at an instant can be found as instantaneous
ratio of voltage across the capacitor and current through the capacitor.
1.1.1 NMOS : W=240nm L=180nm
1
The netlist for the above circuit is :
M1 Vds Vgs 0 0 n c h t t W=240n , L=180n
V1 Vgs 0 {X}
C1 Vds 0 1p IC =1.8
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
. s t e p param X 0 . 6 1 . 8 0 . 0 1
. t r a n 100u
. i c V( vds )=1.8
. meas TRAN Req AVG (V( vds ) / Id (M1) ) TRIG time=0 TARG V( vds )=0.9
∗ W=240n , L=180n
. backanno
. end
The resulting output of the simulation : Req vs Vdd
2
1.1.2 NMOS : W=400nm L=180nm
The netlist is :
M1 Vds Vgs 0 0 n c h t t W=400n , L=180n
V1 Vgs 0 {X}
C1 Vds 0 1p IC =1.8
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
. s t e p param X 0 . 6 1 . 8 0 . 0 1
. t r a n 100u
. i c V( vds )=1.8
. meas TRAN Req AVG (V( vds ) / Id (M1) ) TRIG time=0 TARG V( vds )=0.9
∗ W=400n , L=180n
. backanno
. end
3
The resulting output of the simulation : Req vs Vdd
4
The netlist is :
V1 Vgs 0 {X}
C1 0 Vds 1p
M1 Vds Vgs 0 0 p c h t t W=240n , L=180n
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
. s t e p param X −1.8 −0.6 0 . 0 1
. t r a n 100u
. i c V( Vds)={X}
. meas TRAN Req AVG (V( vds ) / Id (M1) ) TRIG time=0 TARG V( vds )={X}/2
∗ W=240n , L=180n
. backanno
. end
The resulting output of the simulation : Req vs Vdd
Note that the graph is drawn for Vgs , hence is negative in the x-axis.
5
1.1.4 PMOS : W=400nm, L=180nm
The netlist is :
V1 Vgs 0 {X}
C1 0 Vds 1p
M1 Vds Vgs 0 0 p c h t t W=400n , L=180n
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
. s t e p param X −1.8 −0.6 0 . 0 1
. t r a n 100u
. i c V( Vds)={X}
. meas TRAN Req AVG (V( vds ) / Id (M1) ) TRIG time=0 TARG V( vds )={X}/2
∗ W=400n , L=180n
. backanno
. end
6
The resulting output of the simulation : Req vs Vdd
7
The resulting output is as shown :
• The resulting trend is similar to the given reference trend. The resis-
tance sharply increases as we move towards Vt .
• The resistance for larger W/L ratio is smaller, indicating the inverse
proportionality.
2 MOSFET Capacitance
8
2.1 CV characteristics of Long Channel MOSFET
2.1.1 Long Channel CV Characteristics
9
Figure 13: Gate Current for sweep in gate voltage(dc)
10
2.1.2 Short Channel CV Characteristics
11
Figure 16: Gate Current for sweep in gate voltage(dc)
12
2.1.3 CV Characteristics for f=10MHz
13
Figure 19: Gate Current for sweep in gate voltage(dc)
14
2.1.4 CV Characteristics for f=10GHz
15
Figure 22: Gate Current for sweep in gate voltage(dc)
16
2.2 Observations and Comments
• All the graphs have similar shape to the reference graph of the gate
capacitance.
17
3 Inverter Implementations
Given implementations:
18
3.1.4 VOL =0V possibility
When Vin is high,i.e, 1.2V, the NMOS is in saturation and has its own RON
resistance, then Vout will the voltage divided input, and not exactly zero.
Hence VOL ̸= 0V.
19
supply NMOS lies in saturation, except initially. At that stage, the VOL is
dependent on the voltage divider ration RL and RON of NMOS. Hence VOL
̸= 0V.
20
stage, the VOL is dependent on the voltage divider ration RL and RON of
NMOS. Hence VOL ̸= 0V.
21
4 NMOS Inverter - Manual Analysis
Solving the quadratic gives Vout =0.04632. Hence VOL =46.32mV. For calcu-
lating VM , we need the current through resistor to match exactly with drain
current and Vout =Vin =VM . Then Vgs − VT > Vds , the NMOS remains in the
saturation. Then using the λ, κn and VT gives
22
4.2 VIL,VIH and Noise Margins
We know the expressions from the linear approximations as
VM
VIH = VM −
g
VDD − VM
VIL = VM +
g
where g is the slope of Vout vs Vin at VM i.e, (ignoring the channel modulation
effects for easier calculation)
∂Vout
g=
∂Vin
Vout = 2.5 − RL × Ids
∂Vout W
= −RL × κn × (Vin − 0.43V )
∂Vin L
where Vin =VM =0.787V, then
=⇒ g = −9.237375
=⇒ VIH = 0.8722V
=⇒ VIL = 0.606V
The noise margins are calculated as
N MH = VOH − VIH
23
4.3 Peak Gain
As seen earlier the gain is given as
∂Vout W
g= = −RL × κn × (Vin − 0.43V )
∂Vin L
For maximum gain, we need to maximise Vin but also stay under saturation.
For boundary condition, consider
Vds = Vgs − VT
24
5 NMOS Inverter - SPICE Simulations
5.1 VTC and Gain
25
Figure 28: VTC for typical NMOS
The simulated outputs verifies our observations. The gain occurs when
saturation to triode at higher Vin (0.655V,8.5). And VM is nearly around
0.644V, like the calculated case, is near but slightly less than the maximum
gain input.
26
5.2 Impact of Load Resistance
Netlist :
V1 N001 0 1 . 8V
R1 N001 Vout {X}
M1 Vout Vin 0 0 n c h t t W=540nm L=180nm
V2 Vin 0 1 . 8
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
∗ W=540nm L=180nm
. dc V2 0 1 . 8 0 . 0 1
. s t e p param X 1k 100 k 1k
; . meas max gain MAX −D(V( vout ) ) TRIG V( Vin)=0 TARG V( Vin )=1.8
; . meas Vt FIND V( Vin ) WHEN V( v i n )=V( vout )
. backanno
. end
27
Figure 31: Gains at different RL
28
Figure 33: Variation of Max Gain wrt RL
29
Observations and Comments :
• The maximum attainable gain increases with the increase in load resis-
tances as VTC curves become more ideal, have sharper slopes, which
also can be seen from the previously derived equations.
• And as the curves become ideal, and the VIH also decreases, then VT
would also be expected to decrease as observed from the simulation.
We can observe, for the fall time, when the capacitor is discharging the
current passes through the load and the NMOS itself which is in triode region
of operation. The effective resistance for this cap here would be
tf = 2.2 ∗ 0.69ln(Ref f 1 CL )
30
And for the rise time, when the input is low, the NMOS is in cut-off and the
cap charges through only RL from supply. Then in this case
Ref f 2 = RL
tr = 2.2 ∗ 0.69ln(Ref f 2 CL )
As can be observed, Ref f 2 > Ref f 1 , tr > tf . Hence rise and fall times are
unequal. As the fall time is dependent on the resistance offered by the NMOS,
the geometric parameter (W/L) ratio is effecting parameter. For calculating
the propagation delay
tpHL + tpLH
tp =
2
And based on the effective resistances previously analysed
tpHL = 0.69(Ref f 1 CL )
tpLH = 0.69(Ref f 2 CL )
(Ref f 1 CL ) + (Ref f 2 CL )
tp = 0.69
2
((Ref f 1 + Ref f 2 )CL )
tp = 0.69
2
For the earlier case, we get
For tpHL we need to find the average RON of the NMOS. So we need Ron at
Vout = 2.5V and at Vout = 1.25V. At Vout =2.5, the discharge happens initially
in velocity saturation. From the data, we are given VDSAT =0.63V, the we
can find IDSAT to be 0.39mA. Hence Ron is 6.4kΩ at Vout =2.5V. And at
Vout =1.25V, the NMOS is still in velocity saturation region (Vds =1.25V,Vgs −
V T =2.07,VDSAT =0.63V), hence the Ron at Vout =1.25V is 3.2kΩ. The average
Ron is 4.8kΩ. Then
Hence
155.25 + 9.936
tp = = 82.5ns.
2
The maximum safe operable frequency is fm = 1/(2p ) which is 12.1MHz.
31
Then the dynamic power consumption is given as
=⇒ Pdyn = 0.224mW.
Netlist :
V1 N001 0 1 . 8V
R1 N001 Vout 75 k
M1 Vout Vin 0 0 n c h t t W=540nm L=180nm
V2 Vin 0 PULSE( 0 1 . 8 0 1p 1p 2u 4u )
C1 0 Vout 3p
. model NMOS NMOS
. model PMOS PMOS
. l i b LTspiceXVII \ l i b \cmp\ s t a n d a r d . mos
. i n c l u d e TSMC180 . l i b
∗ W=540nm L=180nm
. t r a n 12u
. meas TRAN t 1 V( Vout ) when V( Vout ) = { 0 . 1 8 } r i s e =1
. meas TRAN t 2 V( Vout ) when V( Vout ) = { 1 . 6 2 } r i s e =1
. meas TRAN t f PARAM ( t3−t 4 )
. meas TRAN t 3 V( Vout ) when V( Vout ) = { 0 . 1 8 } f a l l =1
32
. meas TRAN t 4 V( Vout ) when V( Vout ) = { 1 . 6 2 } f a l l =1
. meas TRAN t r PARAM ( t2−t 1 )
. meas TRAN t 5 V( Vout ) when V( Vout ) = { 0 . 9 } f a l l =2
. meas TRAN t 6 V( Vout ) when V( Vout ) = { 1 . 8 } f a l l =2
. meas TRAN t p h l PARAM ( t6−t 5 )
. meas TRAN t 7 V( Vout ) when V( Vout ) = { 0 . 9 } r i s e =2
. meas TRAN t 8 V( Vout ) when V( Vout ) = { 0 . 0 2 5 9 0 9 8 } CROSS=2
. meas TRAN t p l h PARAM ( t7−t 8 )
. meas TRAN tp PARAM ( t p l h+t p h l ) / 2
. meas TRAN Vol MIN V( Vout ) FROM 0 TO 12u
. backanno
. end
The rise time and fall time are clearly not same from the above graph.
33
Figure 38: Parameter values
34