Professional Documents
Culture Documents
Page
No. Experiment Date
No.
EXPERIMENT no.1
Observations:
1) Observe the Id relationship in light of the threshold voltage for Level 1
model to be 0.7 volt.
2) Record the observed readings for Id max for at least three distinct values of
Vgs and compare the same with theoretical values.
3) Discuss and describe the various level -1 model spice parameters used
above, along with their variations with Process(P), supply
voltage(V) and temperature(T).
Theory: Derive from first principle the drain current Id relationship and explain
the three regions of operation. Circuit hand-drawn Print: graphs output.
To obtain current drain expression and its relation with voltage we first make two
considerations. First consider a semiconductor bar carrying a current I(Fig.1). if the
charge density along with direction of current is Qd coulombs perimeter and
velocity of charge is v meters per second, then. With a velocity v, all of the charges
enclosed in v meters of the bar must flow through the cross section in one
second(Fig.2)
I = Qdv………...(1.1)
Fig.1 Fig.2
Images from rizavi
1
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Second, consider an NFET whose source and drain are connected to gnd(Fig.3).
Since we assume the onset of inversion occurs at Vgs = Vth. the inversion charge
density produced by the gate oxide capacitance is proportional to Vgs-Vth. For
Vgs≥Vth, yields a uniform channel charge density
Qd= WCox(Vgs-Vth).......(1.2)
CoxW ➡ total capacitance per unit length.
From this
Id= -WCox(Vgs-V(x)-Vth)v.......(1.3)
∫ Iddx = ∫ -WCox(Vgs-V(x)-Vth)dv…..(1.3.1)
Id= μnCox(W/L)[(Vgs-Vth)Vds-0.5Vds2].....(1.4)
2
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Triode region
We call Vgs-Vth the “overdrive voltage” and W/L the “aspect ratio”. If Vds≤Vgs-
Vth we can the device operates in the triode region.
Equation 1.4 and 1.5 serve as the foundation of analog Cmos design, describing the
dependence of Id upon the constant of the technology, μ nCox, the device
dimensions,W and L, and the gate and drain potentials with respect to the source.
3
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Note that the integration in 1.3.1 assumes μ n and Vth are independent of x and the
gate and drain voltages.
In 1.4 Vds<< 2(Vgs-Vth), we have
Id≈ μnCox(W/L)[Vgs-Vth]Vds….(1.6)
Drain current is a linear function of Vds. each parabola can be approximated by a
straight line.
When drain source voltage exceeds Vgs-Vth. In fact, as shown in Fig.6
4
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
1.Observation
From the above data in composite.txt we can see the value of Vth(VTO) as 0.7 and
it's relation with ID is given in relation of.
1 W
ID = 2 un COX L ( VGS – VTH )2
In this equation we see that the value of I D is dependent on the value of threshold
voltage and voltage across gate and source.
W/L is the ratio of width and length.
2.Observation.
We are considering 3 values of VGS and VTH as 0.7
From graph.
No. VGS VDS=VGS-VTH ID
5
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
3.Observation
Level 1 spice model
parameter unit Description
VTO- zero bias threshold V 1. This voltage is needed to turn the
voltage MOSFET on for operating in linear
and saturation regions.
2. The value of this parameter is
affected due to variation in
temperature only as change in the
process or supply voltage or length
of the channel does not affect it
3. Temperature and VTO are inversely
proportional where if the
temperature increases, then the VTO
decreases which allows a leakage
current to flow through the device
6
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
7
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
8
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
9
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Experiment no.2
Objective: For an NMOS device in Common Source configuration, verify the
output characteristics (ID v/s VDS for various values of VGS) in light of second order
effects;
1. Channel Length Modulation
2. Body effect
Thus, considering Level – 1 SPICE simulation model for the device, verify the
quantifying parameters (lambda) for channel length modulation and (gamma) for
body effect.
Because of channel length modulation we can see that the ID is not constant and it's
gradually varying even in the saturation region.
Body bias effect: what happens if the bulk voltage of an NFET drops below the
source voltage?fig2.2 Since the S and D junctions remain reverse-biased, we
10
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
surmise that the device continues to operate properly but certain characteristics
may change.
To understand the effect, suppose Vs =Vd = 0 and Vg is somewhat less than Vth
so that the depletion region is formed under the gate but no inversion layer exists.
As Vb becomes more negative, more holes are attracted to the substrate
connection,leaving a larger negative charge behind.fig2.3
fig2.2
Fig 2.3
The depletion region becomes wider, as threshold voltage is a function of the total
charge in the depletion region because the gate charge must mirror Q d before an
inversion layer is formed. Thus , as Vb drops and Qd increases, Vth also increases.
This is called the body effect
Observation:
11
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
From the above image we can see the value of lambda as 0.1 and gamma as 0.45.
channel length modulation:
The expected value of lambda is 0.1
Now to find the value of lambda, we will use the formula:
∂V DS 1
ro = =
∂ ID λI D
12
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
∂ ID γ
gmb = =g m
∂ V BS √ 2 ϕ+V BS
Here, ϕ=0.9
W
√
gm = 2 I D μn C ox (
L
)
13
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
In this simulation we can see that due to channel length modulation that even after
saturation the value of ID is varying
14
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Conclusion :- Channel length modulation and body bias effect were studied in
this experiment using LT spice.
15
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
EXPERIMENT NO. 3:
Objective: For a basic current mirror, verify the current mirroring action and
obtain the constraints on the drain resistor RD of the mirror device for current
mirroring action to persist. Plot the Io v/s RD characteristics to verify for the basic
current mirror as well as the cascode configuration.
Theory: Explain need for current mirroring and establish the relationship for
current mirroring principle in basic current mirror along with the cascode current
mirror.
A current mirror is a circuit designed to copy a current through one active device
by controlling the current in another active device of a circuit, keeping the output
current constant regardless of the loading. The current being copied can be , and
sometimes is, a varying signal current.
It is used whenever constant current is required regardless of source voltage.
Making a constant minimum load for power supply circuits.
16
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
17
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Another MOSFET M4 is added to the basic current mirror and V b is given to the
gate of M4.
Circuit Diagram:
Both the circuit the value of the Iref would be equivalent to I0
Basic current mirror
18
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Outputs:
Basic current mirror
19
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Observations:
20
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Conclusion:
We studied as we increase the value of RD the current value drops as seen in
graph.
21
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
EXPERIMENT NO. 4:
22
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Here, the Iout is a kth multiple of Iref as flowing shown in the figure above.
Here, as we know, each diode connected sub-circuit draws current from a current
source, which in turn means that, both Iref and Iout are independent of VDD.
23
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Circuits:-
Voltage independent current biasing in absence of RS
24
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Outputs:
Voltage independent current biasing in absence of RS
25
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
K=1
K=2
K=3
K=2
26
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
K=3
Observations:
Voltage independent current biasing in absence of RS
K Iref Io (Theoretical) Io (Graphical)
1 -1.4379 mA -1.4379 mA -1.4379 mA
2 -1.4379 mA -2.8758 mA -2.8759 mA
3 -1.4379 mA -4.3137 mA -4.3139 mA
27
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
28
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Experiment 5
Objective: For the common source amplifier configuration involving load as –
1. Resistor RD
2. MOS Device in diode connected configuration
Simulate and compare the transfer characteristics, i.e., Vo v/s Vin for each
configuration
Problem Statement:
1. Record range of values of Vin and Vout over which linear amplification
characteristics are observed for RD = 10 kΩ, 5 kΩ, 2.5kΩ.
2. Record range of values of Vin and Vout over which linear amplification
characteristics are observed for diode load with W/L = 10, 100, 1000.
3. Consider W/L – 10 as for the amplifying device. Compare the two
characteristics and comment on the same. Obtain the gain from the
characteristics and compare with the theoretical value.
Theory :In this config the input is connected to the gate terminal and the output at
the drain terminal and grounding the source terminal. The only difference between
the two configurations mentioned below are the change in the type of load used.
the input voltage increases from 0, MOSFET M1 is turned off, so V out = VDD. As
Vin reaches VTH, M1 begins to turn on and draws current from R D and thus, Vout
29
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
With increase in Vin, Vout reduces more and M1 continues to operate in saturation
mode until Vin exceeds Vout by VTH.
The input-output characteristics are given by:
∂V out W
A v= =−R D un C OX ( V ¿ −V TH ) =−gm R D
∂V¿ L
Here we can see the relation for gain as we increase the value of R D the value of
the gain increases. Here gm is the transconductance.
Common Source Amplifier with Diode connected Load
Here instead of RD as load we will be using another mosfet as a diode config and
instead of RD it's value is dependent on the W/L ratio of the mosfet as load.
This diode load acts as a small signal resistor here the mosfet is always in
saturation as it's gain and drain is shorted.
1 −g 1
A v =−gm 1
( )
g m 2 + gmb 2
= m1
gm 2 1+n
W
A v=
√
− 2 un COX (
W
) I
L 1 D1 1
1+ n
√2 un COX ( ) I D 2
L 2
30
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
W
A v=
√
− (
W
)
L 1 1
1+ n
√ ( )
L 2
Observation:
Common Source Amplifier with RD
Gain of CS amplifier with RD is given by.
A v =−gm RD
( WL )(V −V )
gm =un C OX GS TH
1000 u
g =(0.0350)(3.8367 ×10 ) (
100 u )
−3
m (1.25−0.7)
gm =7.3856× 10− 4
- For practical calculations, the gain can be calculated by using the formula of
straight-line slope, by taking the obtained graphical output into
consideration:
y2 − y1
A v=
x2 −x1
RD Av (Theoretical) Av (Graphical)
2.5 kΩ - 1.8464 - 1.716
5 kΩ - 3.6928 - 3.298
10 kΩ - 7.3856 - 6.026
31
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
γ 0.45
n= = =0.2372
2 √ 2 ∅+V BS 2 √ 2 ( 0.9 )+ 0
For practical calculations, the gain can be calculated by using the formula of
straight-line slope, by taking the obtained graphical outputs into consideration:
y2 − y1
A v=
x2 −x1
W AV (Theoretical) Av (Graphical)
( )
L 2
10 -0.8083 -0.8416
100 -0.2556 -0.3531
1000 -0.0881 -0.1179
Circuit diagram:
Common Source Amplifier with RD
Circuit description:- this is a common source configuration with RD as a load. Here
we are varying V2 from 0 to 5 in steps of 0.1
32
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
RD = 2.5k
RD = 5k
RD = 10k
33
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Circuit description:- this is a common source config with diode load. Here we are
varying V2 from 0 to 5 in steps of 0.1
W/L=10
W/L=100
W/L=1000
34
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
35
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
EXPERIMENT No. 6:
Theory:
CS Amplifier with Source degeneration and resistive load
Here, as Vin increases, ID also increases and a voltage drop is seen across RS, which
means, a small portion of input voltage appears across RS instead of the gate-
source overdrive, which leads to smooth variation in drain current ID.
36
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Outputs:
CS Amplifier with Source Degeneration and resistive load
RS = 0 Ω, RD = 10 kΩ
RS = 1kΩ, RD = 10 kΩ
37
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Calculations:
CS Amplifier with Source Degeneration and resistive load
Gain is given by
−gm R D
A v=
1+ g m R s
( WL )(V −V )
gm =un C OX GS TH
1000 u
g =(0.0350)(3.8367 ×10 ) (
100 u )
−3
m (1.25−0.7)
gm =7.3856× 10− 4
Observations:
A. CS Amplifier with Source Degeneration and resistive load
RD RS Av (Theoretical) Av (Graphical)
38
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
10 kΩ 0 kΩ - 7.3856 - 7.109
10 kΩ 1 kΩ - 4.2481 - 3.83706
39
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Experiment 7
40
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
41
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
42
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
43
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
44
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
Summary:
The neural chip implements a building module for a Multi Layer Perceptron
architecture which can be connected as a co-processor to a general purpose host
computer. The host computer manages the I/O operations and acts as the
supervisor during the learning phase. The chip has been fabricated using the
standard ES2 1.5|CMOS process.
Main features of analog NNs are:
1)The information is represented by the relative values of analog signals; .
2)The computation is carried out in an analog way; .
3)Elementary physical phenomena i.e. used as computational primitives.
45
Name: ANUJ ENGINEER SAP ID: 60001170004 SUBJECT: A&M VLSI
46