Analog Design Day1
Analog Design Day1
with LT Spice
3
Sensitivity: LNT Construction Internal Use
SPICE
❖ Go to http://www.analog.com/LTspice
❖ Left-Click on Download LTspice for Windows 7, 8 and 10
❖ Follow the instructions to install
❖ LTspice is a standalone application that runs on your computer
Blank schematic
a.k.a.
MasterPiece in progress
Move [F7]
Drag [F8]
Undo [F9]
Delete [Del] Redo [Shift+F9]
Duplicate [Ctrl+C] Rotate [Ctrl+R]
Paste b/t Schematics [Ctrl+V] Mirror [Ctrl+E]
Find [Ctrl+F] Place Comment/text [T]
Place SPICE directive [S]
But what
about this?
This is the basic voltage source menu.
Use this for DC sources such as power
supplies or bias voltages.
2. Type
“Voltage”
3. Click “OK”
1. Select
“Wire” button
Left-Click ground “Pull” wire through the resistor “Pull” wire down through the capacitor
“Pull” wire up through the source Left-Click here to anchor Left-Click here to anchor & finish
Left-Click here to anchor
Hint: Press the ESC key at any time to clean up the schematic
1. Select “Label
Net”
2. Enter net
name
3. Place on wire
Or Right-click on
value
Hints
Use MEG (or meg) to specify 106, not M
Enter 1 for 1 Farad, not 1F
► You can also edit the visible attribute and label by pointing at the text with the mouse and then right-
clicking
► Mouse cursor will turn into a text caret
Right-click source
RCFilterTimeDomain.asc
RCFilterTimeDomain.asc
RCFilterTimeDomain.asc
RCFilterTimeDomain.asc
Sensitivity: LNT Construction Internal Use
Summary of the Waveform Viewer
• LTspice integrated waveform viewer:
• Plot the voltage on any wire by a simple point and click
-3dB point:
1/(2*pi*R*C) = 159Hz
AC amplitude of 1 sets
magnitude to 0dB
Right-click on .tran
command and select
“AC Analysis”
Add the
.param SPICE
directive (press
S on the keyboard)
Right+click to
change SPICE
directive to the
.step command
RCFilterACAnalysis_Step Command.asc
LTC3412A_DC_Load.asc
Sensitivity: LNT Construction Internal Use
Labeling - Trick
• Highlight net from waveform viewer
• Alt-Left-Click on the label in the waveform viewer (i.e. V(n006)) and it will
now highlight that particular net on the schematic. You can also use the
search function ( )
Alt-Left-
Click
Net
Highlighted
LTC3412A_DC_Load.asc
42
Sensitivity: LNT Construction Internal Use
INTRODUCTION
What is needed?
44
Sensitivity: LNT Construction Internal Use
INTRODUCTION
• Why do we use MOSFET design
nodes? 1928
• Patented by Liliendeld in the 30’s. Field effect control device
• They have been intensively used since the 60’s. proposed by J. Lilienfield
• CMOS-based digital design: only dynamic power consumption
• (logic transitions) and less area. Lower manufacturing costs and higher
scalability.
• CMOS-based analog design: high speed and less noisy than BJT nodes.
Lower intrinsic gain, but higher input impedance. High scalability has
enabled operating frequencies similar to BJT-based architectures.
• In the narrowest nodes the parasitic resistances and capacitors become
more limiting.
5
Sensitivity: LNT Construction Internal Use
Historcal Facts About MOSFET
• The surface controlled transistor has a very bad drift
• problem. We have been fooling with this problem for a
• long time and have no hope of an early solution. In fact,
• I am not sure I have a strong hope of an eventual solution.
• Gordon Moore
• Fairchild Progress Report, February 15, 1962
49
Sensitivity: LNT Construction Internal Use
Complementary MOSFET Structure
50
Sensitivity: LNT Construction Internal Use
MOS Symbols
51
Sensitivity: LNT Construction Internal Use
Threshold Voltage
52
Sensitivity: LNT Construction Internal Use
Threshold Voltage
53
Sensitivity: LNT Construction Internal Use
Threshold Voltage
54
Sensitivity: LNT Construction Internal Use
Threshold Voltage
• Where
- ΦMS is the difference between the work functions of the
polysilicon gate and the silicon substrate.
- k is Boltzmann’s constant.
- q is the electron charge.
- Nsub is the doping density of the substrate.
- ni is the density of electrons in undoped silicon.
- Qdep is the charge in the depletion region.
- Cox is the gate oxide capacitance per unit area.
- єsi is the dielectric constant of silicon.
55
Sensitivity: LNT Construction Internal Use
Threshold Voltage
56
Sensitivity: LNT Construction Internal Use
Threshold Voltage
57
Sensitivity: LNT Construction Internal Use
The Threshold Voltage
5
8
Sensitivity: LNT Construction Internal Use
The Threshold Voltage
The body effect occurs in a MOSFET when the source is not tied to the substrate
(which is always connected to the most negative power supply in the integrated circuit
for n-channel devices and to the most positive for p-channel devices). The substrate
then acts as a “second gate” or a back-gate for the MOSFET
𝑄
𝐶𝑜𝑥 𝑊𝐿 =
𝑉𝑜𝑣
𝑄
𝐶ℎ𝑎𝑟𝑔𝑒 𝑝𝑒𝑟 𝑢𝑛𝑖𝑡 𝐿𝑒𝑛𝑔𝑡ℎ = =
𝐶𝑜𝑥𝑊𝑉 𝑜𝑣
𝐿
𝑉𝐷𝑆
𝐸𝑙𝑒𝑐𝑡𝑟𝑖𝑐 𝐹𝑖𝑒𝑙𝑑 𝑖𝑛 𝐶ℎ𝑎𝑛𝑛𝑒𝑙 =
𝐿
𝑉𝐷𝑆 µ𝑛
𝑉𝑒𝑙𝑜𝑐𝑖𝑡𝑦 𝑜𝑓 𝐶ℎ𝑎𝑟𝑔𝑒 𝑖𝑛 𝐶ℎ𝑎𝑛𝑛𝑒𝑙(𝑣) = µ 𝑛𝐸 =
𝐿
𝑄 𝑉 𝐷 𝑆 µ𝑛
𝐶𝑢𝑟𝑟𝑒𝑛𝑡 𝑖𝑛 𝐶ℎ𝑎𝑛𝑛𝑒𝑙 (𝐼𝐷 ) = 𝑣 ∗ = * 𝐶𝑜𝑥 𝑊𝑉𝑜𝑣
𝐿 𝐿
µ𝑛𝐶𝑜𝑥𝑊(𝑉𝐺𝑆 − 𝑉𝑇)𝑉𝐷𝑆
𝐼𝐷 =
𝐿
𝑉𝑜𝑣
µ𝑛𝐶𝑜𝑥𝑊(𝑉𝐺𝑆 − 𝑉𝑇)𝑉𝐷𝑆
𝐼𝐷 =
𝐿
µ𝑛𝐶𝑜𝑥𝑊𝑉 𝑜𝑣
𝑇𝑟𝑎𝑛𝑠𝑐𝑜𝑛𝑑𝑢𝑐𝑡𝑎𝑛𝑐𝑒 𝑜𝑓 𝐶ℎ𝑎𝑛𝑛𝑒𝑙 𝑔 𝐷𝑆 =
𝐿
𝑘𝑛′ 𝑊𝑉𝑜𝑣 𝑉𝐷𝑆
𝑃𝑟𝑜𝑐𝑒𝑠𝑠 𝑡𝑟𝑎𝑛𝑠𝑐𝑜𝑛𝑑𝑢𝑐𝑡𝑎𝑛𝑐𝑒 𝑝𝑎𝑟𝑎𝑚𝑒𝑡𝑒𝑟 𝑘 𝑛′ = µ 𝑛𝐶 𝑜𝑥 𝐼𝐷 =
𝐿
𝑘 ′ 𝑊(𝑉 − 𝑉𝐷𝑆 )𝑉
𝐼𝐷 =
𝑛 𝑜𝑣 2 𝐷𝑆
𝐿
𝑘 ′ 𝑊(𝑉 − 𝑉𝐷𝑆 )𝑉
𝐼𝐷 =
𝑛 𝑜𝑣 2 𝐷𝑆
𝐿
𝑘𝑛′ 𝑊(𝑉𝐺𝑆 − 𝑉𝑇 )2
𝐼𝐷 =
2𝐿
𝑘𝑛′ 𝑊(𝑉𝐺𝑆 − 𝑉𝑇 )2
𝐼𝐷 =
2𝐿
IDS (µA)
W=1 micron
10
L=10 microns
Vt0= 1 volt
Kn=2e-5 (A/v 2)
id
G D
+ 2
• Large signal model in saturation K (v GS – V t )
_
Lecture 19-66
Sensitivity: LNT Construction Internal Use
Saturation --- Channel Length Modulation
• VDS at the edge of the inversion layer remains fixed at VGS-Vt
• But the effective length of the channel decreases with increasing VDS
• Especially a factor when channel length is short
VG > Vt
VS = 0 VDS >> 0
+
L
L
n+ n+
VB = 0
KnW 2
iD = ------------------------(v GS – V t )
sat 2(L – L)
Lecture 19-67
Sensitivity: LNT Construction Internal Use
Saturation --- Channel Length Modulation
• Sometimes expressed in terms of channel length modulation parameter
KnW 2
iD = ------------(v GS – V t ) (1 + v DS )
sat 2L
0 1 2 3 4 VDS 5
100
VGS=3.0V
80
W=1 micron
IDS (µA)
L=1 microns
Vt0= 1 volt
60 Kn=2e-5 (A/v 2)
VGS=2.5V phi =0.6
NA=1e15
40
VGS=2.0V
20
VGS=1.5V
0 VGS=1.0V
Lecture 19-68
Sensitivity: LNT Construction Internal Use
Saturation --- Channel Length Modulation
• Or we can specify lambda explicitly in the model
KnW 2
iD = ------------ (v GS – V t ) (1 + v DS )
sat 2L
VDS
0 1 2 3 4 5
60
VGS=3.0V
50
W=1 micron
IDS (µA)
40 L=1 microns
Vt0= 1 volt
VGS =2.5V Kn=2e-5 (A/v 2)
30 lambda = 0.8
20
VGS=2.0V
10
VGS=1.5V
0 VGS=1.0V
Lecture 19-69
Sensitivity: LNT Construction Internal Use
Output Resistance
• We can add a resistor to model the channel length modulation effect for the
large-signal model in saturation
id
G D
+ 2
K (v GS – V t ) ro
_
–1
iDS W 2 –1 1
ro = = K n ------(V GS – V t ) ----------------
v DS 2L I Dsat
Lecture 19-70
Sensitivity: LNT Construction Internal Use
Spice element description for the NMOS and PMOS MOSFETs. Also listed is the general form of the
associated MOSFET model statement. A partial listing of the parameter values applicable to either the
NMOS or PMOS MOSFET is given in Table
Sensitivity: LNT Construction Internal Use
Spice large-signal model for an n-channel MOSFET under static conditions.
73
Sensitivity: LNT Construction Internal Use
Drain current versus drain-source voltage for an n-channel MOS
transistor. The dashed curve shows the border between the
triode region and the active region
a) To perform DC operating point analysis, go to Editand click on Spice Analysis. Select “dc op pnt”and type
.op (or Simply click on .op(right top corner) and type .op)
b) Next go to Simulateand click on Run
c) To see the DC operating points, go to Viewand click on SPICE Error Log (Shortcut: Ctrl + L)
λ Measurement
➢ To measure λ you need to do a DC sweep of VDS
and plot ID as shown in Figure .
➢ Each curve represents a different VGS value. Any
one of these curves can be used to calculate λ.
➢ Make sure that VBS is 0V for this simulation. T
➢ The formula for calculating λ given two points on
the saturation portion of a single curve is:
➢ Knowing λ and VT0, KP can easily be found from the equation for
MOSFET drain current in the saturation region.
➢ A little algebra gives that KP is
Rather than using a big (and expensive) resistor, let’s look at a NMOS
transistor as an active pullup device
Note that when the transistor is connected this way, it is not an amplifier, it is a two terminal device. When the
gate is connected to the drain of this NMOS device, it will be in saturation, so we get the equation for
the drain current
A current mirror replicates the input current of a current sink or current source as
an output current. The output current may be identical to the input current or can be
a scaled version of it.