0% found this document useful (0 votes)
11 views1 page

Cad4 Matlab

Uploaded by

sky02178
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views1 page

Cad4 Matlab

Uploaded by

sky02178
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

EE3600481-057 Fall 2023 : MATLAB Assignment Due in class Mon.

11/13
Use the following device properties in all problems. All MATLAB code and plots must be turned in.

Vth 502mV
μnCox 280μA/V2
λ 0.3V-1
W/L 10μm/500nm
n (subthreshold constant) 1.28
Ido 5.201x10-4

This assignment will help you become familiar with the large and small signal properties of MOS
transistors. MATLAB is a powerful tool that can be used to model individual circuits, large systems, and
various signal processing algorithms. It is a valuable tool for any IC designer.

Make sure to label the axis of your plots with units and provide a legend when a plot contains more than
one curve (MATLAB xlabel, ylabel, and legend functions).

1) In this problem you will use MATLAB to plot the I/V characteristics of an NMOS transistor for
different values of Vgs. Remember to first determine whether the device is in triode or saturation.
For Vgs<Vth, assume Id=0.

A) Let Vds = 0.5V and sweep Vgs from 0V to 1.5V. Plot Id vs. Vgs.

B) Plot gm vs. Vgs (hint: use the MATLAB diff function).

C) Now you will sweep Vds from 0V to 1.5V for two


values of Vgs. Plot Id vs. Vds for Vgs = 0.8 V, 1.5V. Note
the discontinuity at Vds = Vgs – Vth. You can correct
this by multiplying the linear region equation by
(1+λVds). In reality the transition between triode and
saturation is not abrupt. This is modeled by more
sophisticated circuit simulators, like Spectre, that
you will use later this term.

D) Once again, you will sweep Vds from 0V to 1.5V for two values of Vgs. But now, plot gds vs. Vds
for Vgs = 0.8V, 1.5V. Identify the saturation and linear regions on the plot.

2) The assumption that Id = 0 for Vgs < Vth is not necessarily valid. In fact, the Id vs. Vgs relationship is
(𝑉𝑔𝑠 −𝑉𝑡ℎ )
exponential for subthreshold operation. For Vgs < Vth, 𝐼𝑑 = 𝐼𝑑𝑜 𝑒 𝑛𝑉𝑇 , where VT = 26 mV is the
𝑘𝑇
thermal voltage ( )at 298K.
𝑞

A) Let Vds = 1.5V. Sweep Vgs from 0 to 300 mV and plot Id vs. Vgs, with Id on a log scale axis. For
a decade change in Id, what is the change in Vgs?

B) Plot gm vs. Vgs. What is the qualitative difference in the gm vs. Vgs relationship in the
subthreshold and saturation regions? (see 1B)

You might also like