Professional Documents
Culture Documents
AND SIMULATION
N.B.Balamurugan
Associate Professor
ECE Department
Thiagarajar College of Engineering
Madurai-15 (nbbalamurugan @tce.edu)
24 October 2013
OUTLINE
UNIT 2:
UNIT 4
24 October 2013
Introduction
Circuit Simulations
Circuit Simulators SPICE
Device Equations
Network Equations
Elements
Passive and Active Elements
Equivalent circuit Model
Networks
Mesh, Nodal, Modified Nodal, Hybrid
Solution of Linear Circuit Equation
Solution of Nonlinear Circuit Equation
Solution of Differential Circuit Equation
Solution of Partial Differential Circuit Equation
24 October 2013
CIRCUIT SIMULATION
It is a technique for checking and verifying the design
of electrical and electronic circuits and systems.
Circuit simulation combines
Mathematical modeling of the circuit elements or devices.
Formulation of circuit / Network Equation.
24 October 2013
Circuit Simulation
Input and setup
Simulator:
dX (t )
f (X ) C
Solve
dt
Output
Circuit
numerically
dX (t )
f (X ) C
GX (t ) BU (t )
dt
Y DX (t ) FU (t )
Types of analysis:
DC Analysis
DC Transfer curves
Transient Analysis
AC Analysis, Noise, Distortions, Sensitivity
24 October 2013
Numerical Techniques:
Formulation of circuit equations
Solution of ordinary differential equations
Solution of nonlinear equations
Solution of linear equations
Output
24 October 2013
CIRCUIT SIMULATORS
They use a Detailed (so called circuit level /
Transistor Level) description of the circuit and perform
relatively accurate simulation.
SPICE
It is Universal standard simulator used to simulate
the operation of various electric circuits and devices.
It was developed by L.W.Nagel at the Univ. of California,
Berkeley in 1968.
The first simulator was named as CANCER (Computer Analysis
of Non-Linear Circuits Excluding Radiation).
It could not handle more components or circuit nodes.
1970
Improvements in CANCER continued
1971
an improved version of CANCER named SPICE 1 was
released.
1975
SPICE2 was introduced.
1983
SPICE 2G.6 version was released. All these version
were written in FORTRAN source code. Later it was
rewriten in C.
24 October 2013
SPICE 3
24 October 2013
10
24 October 2013
11
24 October 2013
12
DEVICE EQUATIONS
A device is a any simulation elements described by
means of a current voltage relationship.
Ex: Resistor
V=IR
I is found from V.
Linear Element
When the element equation contains no terms with
powers of 2 or higher, the element is said to be linear
Element circuit circuit.
Linear Circuit
A network of linear elements is said to be a linear circuit.
24 October 2013
13
24 October 2013
Branch Eqn
Variable parameter
Resistor
v = Ri
Capacitor
i = Cdv/dt
Inductor
v = Ldi/dt
Voltage Source
v = vs
i=?
Current Source
i = is
v=?
VCVS
vs = AV vc
i=?
VCCS
is = GT vc
v=?
CCVS
vs = RT ic
i=?
CCCS
is = AI ic
v=?
14
NETWORK EQUATIONS
ELEMENTS and NETWORKS
15
Passive Elements
24 October 2013
16
24 October 2013
17
24 October 2013
18
24 October 2013
19
24 October 2013
20
24 October 2013
21
24 October 2013
22
24 October 2013
23
24 October 2013
24
NETWORK
They are two basic important techniques used in finding solutions
for a network
MESH
ANALYSIS
24 October 2013
NODE ANALYSIS
If a network has more
current sources, Node
analysis is more useful.
25
DC MESH Analysis
BRANCH AND MESH CURRENTS:
Applying KVL around the left loop
Applying KVL around the right loop
24 October 2013
26
Basic Circuits
Mesh Analysis: Example 7.1.
Write the mesh equations and solve for the currents I1, and I2.
4
10V +_
2
7
6
I1
2V +_
I2
_
+
20V
Eq (7.9)
Eq (7.10)
24 October 2013
27
Basic Circuits
Mesh Analysis: Example 7.1, continued.
Simplifying Eq (7.9) and (7.10) gives,
10I1 6I2 = 8
Eq (7.11)
-6I1 + 15I2 = 22
Eq (7.12)
% A MATLAB Solution
V = [8;22];
I = inv(R)*V
I=
I1 = 2.2105
I2 = 2.3509
2.2105
2.3509
24 October 2013
28
Basic Circuits
Mesh Analysis: Example 7.2
9
12V
_
_+
10
I3
6
20V +_
_
8V
+ _
11
4
I1
_
+
10V
I2
Mesh 2:
Mesh 3:
Mesh 1:
24 October 2013
29
Basic Circuits
Mesh Analysis:
Clearing Equations (1), (2) and (3) gives,
Standard Equation form
20I1 4I2 10I3 = 30
-4I1 + 18I2 11I3 = -18
-10I1 11I2 + 30I3 = 20
In matrix form:
20 4 10 I1
30
4 18 11 I 18
10 11 30 I 3
20
24 October 2013
30
Basic Circuits
Mesh Analysis: Standard form for mesh equations
Consider the following:
R11 R12 R13 I1
emfs(1)
R
I emfs( 2)
R
R
22
23 2
21
24 October 2013
31
24 October 2013
32
Nodal Analysis
24 October 2013
33
34
35
24 October 2013
36
24 October 2013
37
24 October 2013
38
24 October 2013
39
1
1
G2
R3
R1
1
R3
E7
24 October 2013
1
G2
R3
1
1
R3 R4
0
0
1
E7
1
R8
1
R8
1
0
1
R8
1
R8
0
1
0
e 0
1
1 0 e i
2 s5
e 0
3
1 0
e4 0
0 1 i6 ES 6
i7 0
0 0
0 0
0
40
SOLVING OF NETWORK
EQUATIONS
USING SPARSE MATRICES
SPARSE MATRIX
A sparse matrix is a matrix in which the great majority of the
elements are zeros. Such matrices are used to solve network equations
and other engineering disciplines.
SPARSITY IN A CIRCUIT
Consider a complex linear circuit, containing large number of nodes.
By writing the node equations we came to know that the matrix have
large number of zeroes since each node is connected to only a few other
nodes. Sparsity is a key feature of large scale circuits such as VLSI digital
circuits or electric networks.
Sparse matrix
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
0
0
0
0
0
0
0
x
x
A circuits node equations when represented in matrix will also have same
matrix like the above one.
Storing of all entries need more space and harder to manipulate. Hence we
can store only the non zero elements and it will be easy to manipulate.
1 0 0
0.2 1 0
0.4 0.42 1
L
5 1
2
0 3.8 0.6
0 0 3.94
U
Fill-in
When a sparse matrix is factorize into L and U ,it contains non zero
elements in places whereas the same place in sparse matrix contains zeros.
This unwanted non zero elements are called as fill-ins.
Fill-in is a major problem in large matrices. Hence it should be reduced.
It can be either reduced by permuting or more easier elimination graphs. Also
in elimination graphs minimal degree ordering is the best way to reduce
fill-ins.
example
for the resistor circuit given ,we can
Apply sparsity since each node is
connected to few other nodes. While
Solving,a matrix of order 12x12 will be
obtained with large number of zeros,
Which is a sparse matrix.
Newtons Method,
Solving NonLinear Equation
Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
History
Discovered by Isaac Newton and published in
his Method of Fluxions, 1736
Joseph Raphson described the method in
Analysis Aequationum in 1690
Method of Fluxions was written earlier in 1671
Today it is used in a wide variety of subjects,
including Computer Vision and Artificial
Intelligence
51
October 24, 2013
Review: Classification of
Equations
Linear: independent variable appears to the
first power only, either alone or multiplied by a
constant
Nonlinear:
Polynomial: independent variable appears raised to
powers of positive integers only
General non-linear: all other equations
52
October 24, 2013
53
October 24, 2013
Newtons Method
Newtons Method (also know as the NewtonRapshon Method) is another widely-used
algorithm for finding roots of equations
In this method, the slope (derivative) of the
function is calculated at the initial guess value
and projected to the x-axis
The corresponding x-value becomes the new
guess value
The steps are repeated until the answer is
obtained to a specified tolerance
54
October 24, 2013
Newtons Method
y(xi)
Tangent
Line: Slope =
y(xi)
Initial guess xi
55
October 24, 2013
Newton Raphson
Slope =x
f
'
f(xi)
'
xi+1
xi
f ' xi
f xi 0
xi xi 1
rearrange
xi 1 xi
f xi
f ' xi
56
Newtons Method
New guess for x:
xn = xi - y(xi)/y(xi)
y(xi)
xi
y(xi)/y(xi)
57
October 24, 2013
Initial
guess =
10
60
October 24, 2013
61
October 24, 2013
New x-value =
6.3546
Initial
value =
7.6724
62
October 24, 2013
I1
Id
Ir
I d I s (e
Vt
1) 0
Need to Solve
I r I d I1 0
e1
Vt
1
e1 I s (e 1) I1 0
R
October 24, 2013
g (e1 ) I1
65
Nonlinear Equations
Given g(V)=I
It can be expressed as: f(V)=g(V)-I
Solve g(V)=I equivalent to solve f(V)=0
Hard to find analytical solution for f(x)=0
Solve iteratively
66
67
df ( x )
f ( x*) f ( x )
( x * x ) ...
dx
k
df
(
x
) k 1
k 1
k
k
f (x ) f (x )
(x x )
dx
x
k 1
df ( x )
k
x
f
(
x
)
dx
k
Iteration function
68
69
October 24, 2013
Newton-Raphson example.
71
October 24, 2013
were f/x is known is the Jacobian of the set of circuit equations and
is the matrix of partial derivatives.
72
October 24, 2013
Example
74
October 24, 2013
75
October 24, 2013
76
DIS ADV:
In-Class Exercise
Draw a flow chart of Newtons Method
Write the MATLAB code to apply Newtons
Method to the previous example:
78
October 24, 2013
Define converge
tolerance tol
Input initial guess x
Calculate f(x)
while abs(f(x)) > tol
Calculate slope fpr(x)
x = x f(x)/fpr(x)
Calculate f(x)
Output root x
79
October 24, 2013
MATLAB Code
MATLAB functions defining the function and
its derivative:
80
October 24, 2013
MATLAB Code
81
October 24, 2013
MATLAB Results
>> Newton
Enter initial guess
10
Root found: 5.6577
>> Newton
Enter initial guess
0
Root found: 1.4187
>> Newton
Enter initial guess
-10
Root found: -2.0764
82
October 24, 2013
Polynomials:
MATLAB: roots
roots Example
For polynomials, the MATLAB function roots
finds all of the roots, including complex roots
The argument of roots is an array containing
the coefficients of the equation
For example, for the equation
roots Example
>> A = [3, -15, -20, 50];
>> roots(A)
ans =
5.6577
-2.0764
1.4187
85
October 24, 2013
roots Example
Now find roots of
Summary
The bisection method and Newtons method
(or secant method) are widely-used algorithms
for finding the roots of equations
When using any tool to find the roots of nonlinear equations, remember that multiple roots
may exist
The initial guess value will affect which root is
found
87
October 24, 2013
dv
c
g v
dt
m
v- dependent variable
t- independent variable
88
Figure PT7.2
90
92
93
STIFFNESS
94
STIFFNESS
Definition
Proof one problem
Solving the problem by Numerically
Explicit Eulers Method
Implicit Eulers Method
Step size
Literature survey
95
Stiffness
A stiff system is the one involving rapidly changing
components together with slowly changing ones.
Both individual and systems of ODEs can be stiff:
dy
1000y 3000 2000e t
dt
If y(0)=0, the analytical solution is developed as:
y 3 0.998e1000t 2.002et
Suppose that lemda1 = 1000 and lemda2 =1 are widely
sepatared and giving a stiff system. Note that the first
exponential waveform dies out in 5 micro secs.
To get an accurate solution of the fast waveform we need
96
a small time step and to have an efficient simulatin of the
Figure 26.1
97
98
99
or
yi 1 yi (1 ah)
1 ah 1
h 2/a
yi as i
100
102
dy
ay
dt
at
y y0 e
is the solution.
103
or
yi 1 yi (1 ah)
1 ah 1
h 2/a
yi as i
104
dy
ay
dt
106
Definition
Non self staring Heun method
Eulers method as Predictor
Trapezoidals rule as a corrector
Slightly Modified Predictor and corrector
Derivation and Error analysis of Predictor- corrector F
One step methods give information at a single xi to predict a
Error Estimates
the dependent variable yi+1 at a future point xi+1.
Modifiers
Multistep Methods
The Non-Self-Starting Heun Method
It is characteristic of most multistep methods.
It use an open integration formula (the mid point method) to
make an initial estimate.
Huen method uses Eulers method as a predictor and
trapezoidal rule as a corrector.
Predictor is the weak link in the method because it has the
greatest error, O(h2).
One way to improve Heuns method is to develop a predictor
that has a local error of O(h3).
yi01 yi 1 f ( xi , yi )2h
109
Multistep Methods
Corrector formula
j
i 1
f (x , y ) f (x
y
i
j 1
,
y
i 1
i 1 )
110
111
112
113
114
115
116
Integration Formulas/
Newton-Cotes Formulas.
Open Formulas.
yi 1 yi n
xi1
f n ( x)dx
xin
Closed Formulas.
yi 1 yi n1
xi1
( x)dx
xin1
117
Closed Formulas.
A backward Taylor series around xi+1 can be written:
n 1
yi 1 yi h k f i 1 k O(h n 1 )
k 0
Listed in Table
118
15/3/2012
121
Karunya
15/3/2012
122
Karunya
Miniaturisation: why?
Smaller
Faster
Cheaper
15/3/2012
123
Karunya
Scaling
Shrink dimensions maintaining aspect-ratio
Must shrink electrostatic features as well (depletion regions doping
level and profiles)
1980
1985
1991
1999
2003
2003
1980
1994
1980
1985
1985
1988
1988
1991
1991
1994
1994
1999
1999
2011
LGATE = 10 m
5 m 2.5 m 1.3 m 0.63 m 0.25 m 130
130 nm
nm .
L
= 10 m
5 m 2.5 m 1.3 m 0.63 m 0.25 m 22 nm
.
GATE
15/3/2012
124
Karunya
In Classical systems,
The particle will take a path between
the two positions.
In Quantum systems,
is the
Momentum of the
charge carriers.
Typically, near the silicon surface, the inversion layer charges are confined to a
potential well formed by:
Oxide barrier
bend Si-conduction band at the surface due to the applied voltage, Vg
Energy
Potential
Wavefunction
Particle
mass
Plank
Constant
Reduced
f ' ( x ) lim
x 0
f x x f x
x
Continuity Equation
Derivation of Continuity
Equation
Jn(x+dx)
dx
1
n
n
Adx J n ( x) A J n ( x dx) A
Adx
q
n
t
EE130/230M Spring 2013
J n ( x)
J n ( x dx) J n ( x)
dx
x
n 1 J n ( x) n
t
q x
n
Continuity
Equations:
n 1 J n ( x) n
GL
t
q x
n
p
1 J p ( x) p
GL
t
q x
p
Derivation of
Minority Carrier Diffusion
Equations
The minority carrier diffusion equations are derived from
n
n
J n q n n qDn
qDn
in p-type
x
x
material
p
p
J p q p p qDp
qDp
x
x in n-type material
2. n0 and p0 are independent of x (i.e. uniform doping)
3. low-level injection conditions prevail
EE130/230M Spring 2013
n 1 J n ( x) n
GL
t q x
n
n0 n 1
n0 n n
qDn
GL
t
q x
x
n
n
n n
Dn
GL
2
t
x
n
2
n p
t
Dn
2 n p
x
n p
GL
pn
2 pn pn
Dp
GL
2
t
x
p
Summary
The continuity equations are established based on
conservation of carriers, and therefore hold generally:
n 1 J n ( x) n
GL
t q x
n
p
1 J n ( x) p
GL
t
q x
p
n p
t
DN
2 n p
x
n p
GL
pn
2 pn pn
DP
GL
2
t
x
p
Drift-Diffusion Modeling
Classification of PDEs
Why Numerical Analysis?
Numerical Solution Sequence
Flow-Chart of Equilibrium Poisson Equation Solver
Discretization of the Continuity Equation
Numerical Solution Techniques for Sparse Matrices
Flow-Chart of 1D Drift-Diffusion Simulator
Classification of PDEs
Classification of PDEs
Different mathematical and physical
behaviors:
Elliptic Type
Parabolic Type
Hyperbolic Type
System of coupled equations for several
variables:
Time : first-derivative (second-derivative for wave
equation)
Space: first- and second-derivatives
Wave equation
(Second-order linear )
Helmholtz equation
R
R
s
n
Numerical Methods
Complex geometry
Complex equations (nonlinear, coupled)
Complex initial / boundary conditions
No analytic solutions
Numerical methods needed !!
Drift-Diffusion Approach
Constitutive Equations
Poisson
V p n N D N A
Continuity Equations
n
1
Jn Un
t
q
p
1
J p U p
t
q
dn
J n qn( x) n E ( x) qDn
dx
dn
J p qp( x) p E ( x) qD p
dx
Poisson/Laplace Equation
Solution
Poisson/Laplace Equation
Theoretical Approaches
Poisson
Laplace
Numerical Me
finite differe
finite elemen
Continu
ous
Solution
s
Discretization
FiniteDifference
FiniteVolume
FiniteElement
System of
Algebraic
Equations
Equation
(Matrix)
Solver
Discret
e Nodal
Values
Tridiago
nal
SOR
Approximate
Solution
i (x,y,z,t)
p (x,y,z,t)
n (x,y,z,t)
GaussSeidel
Krylov
Spectral
What is next?
MESH
Finite Difference Discretization
Boundary Conditions
MESH TYPE
The course of action taken in three steps is dictated by the nature of the problem
being solved, the solution region, and the boundary conditions. The most commonly
used grid patterns for two-dimensional problems are
Common grid patterns: (a) rectangular grid, (b) skew grid, (c) triangular grid, (d)
circular grid.
Estimates for the derivative of f (x) at P using forward, backward, and central
differences.
f ( x0 )
f ( x0 x ) f ( x0 )
x
f ( x0 )
f ( x0 ) f ( x0 x )
x
f ( x0 )
f ( x0 x ) f ( x0 x )
2x
f ( x0 x / 2) f ( x0 x / 2)
x
1 f ( x0 x ) f ( x0 ) f ( x0 ) f ( x0 x )
x
x
x
f ( x0 )
or
f ( x0 )
f ( x0 x ) 2 f ( x0 ) f ( x0 x )
x 2
f ( x0 x ) f ( x0 ) xf ( x0 )
1
1
( x )2 f ( x0 ) ( x )3 f ( x0 )
2!
3!
and
f ( x0 x ) f ( x0 ) xf ( x0 )
1
1
( x )2 f ( x0 ) ( x )3 f ( x0 )
2!
3!
f ( x0 x ) f ( x0 x ) 2 f ( x0 ) ( x)2 f ( x0 ) ( x )4
where O(x)4 is the error introduced by truncating the series. We say that this error is of the
order (x)4 or simply O(x)4. Therefore, O(x)4 represents terms that are not greater than (
x)4. Assuming that these terms are negligible,
f ( x0 )
f ( x0 x ) 2 f ( x0 ) f ( x0 x )
x 2
f ( x0 x ) f ( x0 ) xf ( x0 )
1
1
2
( x ) f ( x0 ) ( x )3 f ( x0 )
2!
3!
from
f ( x0 x ) f ( x0 ) xf ( x0 )
1
1
( x )2 f ( x0 ) ( x )3 f ( x0 )
2!
3!
We obtain
f ( x0 x ) f ( x0 x) 2( x ) f ( x0 ) ( x )3
and neglecting terms of the order (x)3 yields
f ( x0 x ) f ( x0 x )
f ( x0 )
2x
This shows that the leading errors of the order (x)2. Similarly, the forward and backward
difference formula have truncation errors of O(x).
Poisson Equation
The Poisson equation is of the following general form:
2 (r ) f (r )
It accounts for Coulomb carrier-carrier interactions in the
Hartree approximation
It is always coupled with some form of transport simulator
except when equilibrium conditions apply
It has to be frequently solved during the simulation procedure
to properly account for the fields driving the carriers in the
transport part
There are numerous ways to numerically solve this equation
that can be categorized into direct and iterative methods
d 2
e
p n ND N A
2
dx
EF Ei
n ni exp
ni exp( / VT )
k BT
Ei EF
p ni exp
k BT
ni exp( / VT )
( pi ni Ci ) ( pi ni )
n
i
Equilibrium:
ni exp( ),
n
i
pi exp( )
n
i
Non-Equilibrium:
Boundary Conditions
There are three types of boundary conditions that
are specified during the discretization process of the
Poisson equation:
Dirichlet (this is a boundary condition on the potential)
Neumann (this is a boundary condition on the derivative of
the potential, i.e. the electric field)
Mixed boundary condition (combination of Dirichlet and
Neumann boundary conditions)
1D Discretization
The resultant finite difference equations can be represented in a
matrix form Au= f, where:
x 0 x 1 x2
Neumann
x3
x4 x 5
Dirichlet
u ( 0 , 1 , 2 , 3 , 4 , 5 ) , f ( f 0 , f1 , f 2 , f 3 , f 4 , 5 ) ,
b0
a
1
A
ai
2 c0
b1
a2
0
c1
b2
a3
0
c2
b3
a4
2
dxiw ( dxiw dxie )
c3
b4
0
; bi
where
c4
1
2
dxie dxiw
; ci
2
dxie ( dxiw dxie )
2D Discretization
In 2D, the finite-difference discretization of the Poisson equation
leads to a five point stencil:
N=5,M=4
Va
15 16
17
18
19
10 11
12
13
14
Dirichlet: 0,4,5,9,10,14,15,19
Neuman: 1,2,3,16,17,18
xi+N
dx in
dx ie
dx iw
xi
xi-1
dx is
xi-N
xi+1
2D Discretization (contd)
1
b c
1 1
b2
a6
a7
d1
c2 d2
b3 c3 d3
1
2e1
2e2
2e3
1
b6
a8
c6 d6
b7 c7 d7
b8 c8
e6
e7
d8
1
e8
1
b11
a11
a12
c11
b12
a13
d11
c12 d12
b13 c13 d13
1
2a16
2a17
2a18
e11
1
b16 c16 d16
b17 c17
b18
0 Va
f
1 1
2 f2
3 f3
4 0
V
5 a
6 f6
7 f7
8 f8
0
9
10 Va
11 f11
12 f12
e12
e13 13 f13
0
14
15 Va
16 f16
17 f17
d17
c18 d18 18 f18
1 19 0
Dirichlet: 0,4,5,9,10,14,15,19
Neuman: 1,2,3,16,17,18
Flow-Chart of Equilibrium
Poisson Equation Solver
Initialize parameters:
-Mesh size
-Discretization coefficients
-Doping density
-Potential based on charge neutrality
Test maximum
absolute error update
< tolerance
J n ( x ) en( x ) n E eDnn
J p ( x ) ep ( x ) p E eD p p
on the mid-points of the mesh lines connecting neighboring
grid nodes. Since solutions are available only on the grid
nodes, interpolation schemes are needed to determine the
solutions.
There are two schemes that one can use:
(a)Linearized scheme: V, n, p, and D vary linearly
between neighboring mesh points
(b) Scharfetter-Gummel scheme: electron and hole
densities follow exponential variation between mesh
points
ni 1 ni
ni 1 ni
ai
2
ei 1 / 2 Vi 1 Vi eDi 1 / 2
J i 1 / 2 ni 1
2
a
a
i
i
ei 1 / 2 Vi 1 Vi eDi 1 / 2
ni
2
a
a
i
i
This scheme can lead to substantial errors in regions of high
electric fields and highly doped devices.
V V
n
J i 1 / 2 eni 1 / 2 i 1 i eDi 1 / 2
ai
x
V V
n V
eni 1 / 2 i 1 i eDi 1 / 2
ai
V x
for n(V), subject to the boundary conditions
n (V ) n
i
and n (V ) n
i 1
i 1
n(V ) ni 1 g (V ) ni 1g (V ), g (V ) (V V ) / Vt
e i 1 i
1
eD
V V
V Vi 1
J i 1 / 2 i 1 / 2 ni 1B i 1 i ni B i
ai
Vt
Vt
x
B( x) x
is the Bernouli function
e 1
Gummels Method
Gummels relaxation method, which solves the equations with
the decoupled procedure, is used in the case of weak coupling:
Low current densities (leakage currents, subthreshold regime),
where the concentration dependent diffusion term in the current
continuity equation is dominant
n
i exp V exp V V
N
dx 2
d 2V
n
N ND
i exp V exp V A
ni
dx 2 N
n
N ND
i exp( n ) expV exp( p ) exp V A
ni
dx 2 N
k 1
nk
pk
, maxVT ln
V , maxVT ln
nk 1
pk 1
V k 1 V k V
n
k 1
k 1
V
n
n exp 1 V VT ln
nk
VT
k
p
V
p exp 1 V VT ln
k
VT
p
k
solve
Poissons eq.
n
converged?
Update
generation rate
y
n
converged?
y
converged?
converged?
Newtons Method
The three equations that constitute the DD model, written in
residual form are:
Fv (v , n, p) 0
Fn (v , n, p) 0
Fp (v , n, p) 0
v
Fn
v
F
p
v
Fv
n
Fn
n
Fp
n
Fv
V k 1 V k V k
p v F
v
Fn
n Fn n k 1 n k n k
p
Fp p Fp
pk 1 pk pk
0
Fn
n
Fp
n
0 Fv
0
V
F
v
0 n Fn 0 0
F
p
p 0 0
Fp
p
k+1
Fv
F
F
V k 1 Fv v n k v p k
V
n
p
Fv
F
Fn k
n k 1 Fn n V k 1
p
V
V
p
Fp
Fp
k 1
k 1 Fp
p
Fp
V
n k 1
p
V
n
Fv
p
V
Fn
n
n p
0
Initialize parameters:
-Mesh size
-Discretization coefficients
-Doping density
-Potential based on charge neutrality
Test maximum
absolute error update
< tolerance
Non-Equilibrium solver
VA = VA+V
V is a fraction of the
thermal voltage VT
Test maximum
absolute error update
< tolerance
Calculate current
no
STOP
Hydrodynamic Modeling
In small devices there exists non-stationary
transport and carriers are moving through the
device with velocity larger than the saturation
velocity
In Si devices non-stationary transport occurs
because of the different order of magnitude of the
carrier momentum and energy relaxation times
In GaAs devices velocity overshoot occurs due to
intervalley transfer
T. Grasser (ed.): "Advanced Device Modeling and Simulation, World Scientific Publishing
Co., 2003, ISBN: 9-812-38607-6 M.
M. Lundstrom, Fundamentals of Carrier Transport, 1990.
ky
kx
2.5x10
1 kV/cm
5 kV/cm
10 kV/cm
50 kV/cm
2x10
1.5x10
1x107
6
5x10
0
6
-5x10
0.5
1.5
2.5
3.5
time [ps]
Scattering mechanisms:
Acoustic deformation potential scattering
Zero-order intervalley scattering (f and gphonons)
First-order intervalley scattering (f and gphonons)
Energy [eV]
0.25
0.2
1 kV/cm
5 kV/cm
10 kV/cm
50 kV/cm
0.15
0.1
0.05
0
0
0.5
1.5
2.5
time [ps]
3.5
n
n
(nvd )
t
t coll
vd
v
2
1
d (m * vd )
nw nm * v d2
t
m*
3nm *
2
eE ( vd )
m * t coll
m * v d2
w
2
vd w
nvd
w
t
3n
kB
2
(w )
eE vd
t coll
Closure
To have a closed set of equations, one either:
(a) ignores the heat flux altogether
(b) uses a simple recipe for the calculation of the heat flux:
nq T ,
5k B2 nT
2m * v (w )
npd
2
1
(npd )
2
(nvd pd ) nw nm * v d enE
t
3
2
t col
nw
2
1
2
nvd w nvd
w m * v d
t
3
k
2
vd
eE vd
t
m * t
eE
p (w )vd 0
m*
coll
eE
p (w )
m * vd
w
w
eE vd
eE vd w (w w 0 ) 0
t
t coll
eE vd
w (w )
w w0