9512.net

甜梦文库

甜梦文库

当前位置：首页 >> >> # Accelerating dynamic iteration methods with application to semiconductor device simulation

ACCELERATING DYNAMIC ITERATION METHODS WITH APPLICATION TO PARALLEL SEMICONDUCTOR DEVICE SIMULATION

ANDREW LUMSDAINEy

AND

JACOB K. WHITEz

Abstract. In this paper we apply a Galerkin method to solving the system of second-kind Volterra integral equations that characterize waveform relaxation, or dynamic iteration, methods for solving linear time-varying initial-value problems. It is shown that the Galerkin approximations can be computed iteratively using Krylovsubspace algorithms. The resulting iterative methods are combined with an operator Newton method and applied to solving the nonlinear differential-algebraic system generated by spatial discretization of the time-dependent semiconductor device equations. Experimental results are included to demonstrate that waveform Krylov-subspace methods converge signi?cantly faster than classical waveform relaxation, and are better able to exploit the parallelism available in loosely coupled parallel machines than parallel versions of standard point-wise iterative schemes. Key words. Krylov-subspace methods, dynamic iteration, Galerkin method, waveform relaxation. AMS subject classi?cations. 65L60, 65L05, 65R20, 65J10

1. Introduction. Consider the problem of numerically solving the linear time-varying initialvalue problem (IVP), (1.1)

d ( dt +

A(t))x(t) x(0)

= =

b(t) x;

0

where (t) RN N , (t) RN is a given right-hand side, and (t) RN is the unknown vector to be computed over the simulation interval t 0; T ]. There are several approaches to solving the IVP. The traditional numerical approach is to begin by discretizing (1.1) in time with an implicit integration rule (since large dynamical systems are typically stiff) and then solving the resulting matrix problem at each time step. This pointwise approach can be disadvantageous for a parallel implementation, especially for MIMD parallel computers having a high communication latency, since the processors will have to synchronize repeatedly for each timestep. A more suitable approach to solving the IVP with a parallel computer is to decompose the problem at the differential equation level. That is, the large system is decomposed into smaller subsystems, each of which is assigned to a single processor. The IVP is solved iteratively by solving the smaller IVPs for each subsystem, using ?xed values from previous iterations for the variables from other subsystems. This dynamic iteration process is known as waveform relaxation (WR) or sometimes as the Picard-Lindel¨ f iteration. o Since the WR algorithm was ?rst introduced as an ef?cient technique for solving the large sparsely-coupled differential equation systems generated by simulation of integrated circuits [10], its properties have been under substantial theoretical and practical investigation. The precise

A 2

b 2

2

x 2

Submitted for publication. This work was supported by a grant from IBM, the Defense Advanced Research Projects Agency contract N00014-91-J-1698, and National Science Foundation grant CCR92-09815. y Department of Computer Science and Engineering, University of Notre Dame, Notre Dame, IN 46556. (Andrew.Lumsdaine@nd.edu) z Research Laboratory of Electronics, Dept. of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge, MA 02139. (white@rle-vlsi.mit.edu) 1

Submitted for publication.

nature of the loose-coupling in integrated circuits, which was responsible for WR’s rapid convergence for those examples, was ?rst made clear in [22]. The more formal theory for WR applied to linear time-invariant systems in normal form is described in [16], and theoretical aspects which d arise when WR is applied to the more general form ( dt + ) (t) = (t) are examined in [21]. Since the WR method decomposes before time-discretization, it has been used as a tool for examining the stability properties of multirate integration methods [35]. Though WR’s major practical success has been in accelerating the simulation of integrated circuits [36, 23], it has also been examined for the certain speci?c problems. For example, the effects of time interval selection has been examined for RC circuit problems [9], and the method has been applied to semiconductor device simulation [27]. As the above body of work makes clear, for WR to be a computational competitor to pointwise methods, its convergence must be accelerated. Approaches to accelerating the convergence of WR include multigrid [12, 33], SOR [16], convolution SOR [25], Krylov-subspace methods [13], and adaptive window size selection [8]. In this paper, we describe primarily practical aspects of using Krylov-subspace techniques to accelerate WR convergence. In the next section, we begin by describing the system of second-kind Volterra integral equations obtained by applying a “dynamic preconditioner” to (1.1). A Galerkin method for solving an operator equation formulation of the integral equation system over a Krylov space is then described and a convergence result given. It is noted that certain Krylov-subspace techniques applied to the integral equation system iteratively generate the Galerkin approximations. One such method, the waveform GMRES method, is described. In Section 3, we combine the waveform GMRES method with an operator-Newton algorithm to create a hybrid scheme for solving nonlinear initial-value problems. In Section 4, we brie?y describe how to apply the hybrid WR and WGMRES algorithms to solving the time-dependent drift-diffusion equations used to describe transient phenomena in semiconductors, and experiment results on serial and parallel computers are given in Section 5. Finally, our conclusions and suggestions for future work are contained in Section 6.

C

Ax

b

(t) (t) be a splitting 2. Waveform Krylov-Subspace Methods. In (1.1), let (t) = of (t). The waveform relaxation algorithm based on this splitting is expressed as

A

A

M ?N

Algorithm 2.1 (Waveform Relaxation for Linear Systems). 1. Initialize: Pick 0 2. Iterate: For k = 0; 1; : : : d k+ Solve ( dt + ) k+1 = (0) = 0 k+1 on 0; T ]. for

x

x

Mx x

Nx f x

The solution to (1.1) is thus a ?xed point of the WR algorithm, satisfying the Volterra integral operator equation (2.1)

(

x

I ? K)x = : I:H !H

is the identity operator,

Here, (2.1) is de?ned on the space H = L2 ( 0; T ]; RN ),

2

Submitted for publication.

K : H ! H is de?ned by

(

Kx)(t) =

Z

0

t

M (t; s)

N (s)x(s)ds;

M (t; s) (s)ds;

2 H is given by

(t) =

M (t; 0) (0) +

x

Z

0

t

f

M is the state transition matrix [3] associated with (t). The following are standard results (see, e.g., [5, 7]) which will be used in subsequent discussions of (2.1). and are piecewise continuous with respect to t, then K : H ! H is Lemma 2.1. If compact, has a spectral radius of zero, and K , the adjoint operator for K, is given by

and

M

M

N

(

K x)(t) =

Z

T t

M (s; t)

N (t) y x(s)ds;

K

where superscript y denotes algebraic transposition.

It should be apparent from Lemma 2.1 that, in general, is not self adjoint. We therefore restrict our attention to those Krylov-subspace methods which are appropriate for non-self-adjoint operators. 2.1. Classical Dynamic Iteration Methods. The classical dynamic iteration is obtained by applying the Richardson iteration to the problem (2.1): (2.2)

xk+ = Kxk + :

1

This approach is known as the method of successive approximations, waveform relaxation, or the Picard-Lindel¨ f iteration [1, 7, 11, 16, 37]. o Example. Let (t) be the diagonal part of (t). Then (2.2) becomes the Jacobi WR algorithm in which we solve the following IVP at each iteration k for each xk+1 (t): i

M

A

d dt + aii (t)

xik+1 (t) +

X

j 6=i

aij (t)xk (t) = bi(t) j xi(0) = x0i:

As

K has zero spectral radius, a straightforward convergence result can be stated. !1 K K is

Theorem 2.2. Under the assumptions of Lemma 2.1, the method of successive approximations, de?ned in (2.2), converges. A more detailed analysis of convergence can be derived by considering cases for which de?ned as T , in which case has nonzero spectral radius [16].

3

Submitted for publication.

2.2. The Galerkin Method. Another approach to solving (2.1) is to apply a Galerkin method to solving a variational formulation of the problem. This approach leads directly to the Krylovsubspace methods. Galerkin methods have been well studied for second-kind Fredholm integral equations [1, 7], of which second-kind Volterra equations are a special case, but infrequently studied for second-kind Volterra equations in particular (see, however, [14]). With the Krylovsubspace approach, instead of applying the Galerkin method over a space of polynomials or splines, as is typical, one applies the Galerkin method over a Krylov space generated by ( ). ) is discussed in [17] The use of a Galerkin method over a Krylov space generated by ( and [24] where the approach is called the method of moments (see also [34]). Let X and Y be Hilbert spaces and consider the operator equation

I ?K

I ?K

(2.3)

X; Y and : X Y is a bounded injective operator. where By a Galerkin method, we mean any scheme by which the solution in (2.3) is computed by solving the problem in a sequence of ?nite-dimensional subspaces via the use of orthogonal projections. That is, we take the subspaces Xn X and Yn Ywith dim Xn = dim Yn = n and require the Galerkin approximation n to satisfy

x2 b2

Ax = b A !

x

(2.4)

hb ? Axn; yi = 0 8y 2 Yn:

x

In general, it is suf?cient to satisfy (2.4) over some basis of Yn. That is, we de?ne Xn = span 0 ; 1; : : : ; n?1 and Yn = span 0 ; 1; : : : ; n?1 , so that the solution n must satisfy

fu u

u g

(2.5) If we take n to be

x

fv v v g hb ? Axn; vj i = 0 j = 0; 1; : : :; n ? 1:

x

xn =

hA A

n?1 X i=0

n?1 X i=0

i i

u

then (2.5) generates a linear system of equations for

f ig:

i i; j i = h

u v

b; vj i:

A

The particular Galerkin method in which Y = X and Yn = Xn is often called the BubnovGalerkin method. If is positive de?nite in addition to being bounded and injective, it is well known that the Bubnov-Galerkin method is convergent for (2.3) [18]. Furthermore, if is selfadjoint, the Galerkin approximations can be computed iteratively with the conjugate-gradient method (appropriately extended from RN to X, of course) [7]. For our particular problem, the operator ( ) is not self-adjoint, yet we still seek a Krylovsubspace method appropriate for solving (2.1). Such methods can be derived by considering the Galerkin method where Y = (X) and Yn = (Xn). That is, we require n to satisfy

I ?K

A A hb ? Axn; Auj i = 0 j = 0; 1; : : :; n ? 1:

4

x

Submitted for publication.

We have the following convergence result for such Galerkin methods, and we refer the reader to [13] for the proof. Theorem 2.3. Let X be a Hilbert space and let :X X be a bounded bijective linear n X be a ?nite-dimensional subspace with Xn Xn+1 for all n N. If is in operator. Let X the closure of S = 1 1 Xn, then the Galerkin method for (2.3) is convergent. Moreover, there n= exists the estimate

A

!

2

x

kx ? xnk C kb ? Axn k for some constant C depending only on A. f K K g

) = Corollary 2.4. The Galerkin method described in Theorem 2.3 is convergent for ( n?1 n= in the space H , with ?nite-dimensional subspaces H ; ;::: for all n N. We again refer to [13] for the proof of the corollary. However, note that to show cl S, we need only realize that

I ?K x

2 x2

x = (I ? K)?

where the Neumann series for (

1

=

1 X

j =0

Kj K is zero.

I ? K )?

1

converges, since the spectral radius of

2.3. Iterative Algorithms. Various iterative algorithms exist which can be used to implement the Galerkin method described in Corollary 2.4. For example, the generalized minimum residual algorithm (GMRES) [28] can be adapted quite readily to the space H instead of RN . Algorithm 2.2 (Waveform GMRES). 1. Start: Set 0 = ( ) 0, 1 = 0= 0 2. Iterate: For k = 1; 2; : : :; until satis?ed do: hj;k = ( ) k ; j , j = 1; 2; : : :; k Pk k+1 = ( j ^ ) k j =1 hj;k hk+1;k = ^ k+1 k+1 = ^ k+1 =hk+1;k 3. Form approximate solution: k k k = 0 + k k , where k minimizes 1

r

? I ?K x v

r kr k

v

The two fundamental operations in Algorithm 2.2 are the operator-function product, ( ) , and the inner product, ; . When solving (2.1) in the space H , these operations are as follows: Operator-Function Product: To calculate ( ) : 1. Solve the IVP

v x

h I ?K v v i I ?K v ? kv k

v

v

x Vy

h i

y

k e ?H y k

I ?K p

w

I ?K p

0

M (t))y(t) = N (t)p(t) y(0) = p = 0 for y (t), t 2 0; T ]; this gives us y = Kp. 2. Set w = p ? y

d ( dt +

5

Submitted for publication.

Inner Product: The inner product

hx; yi is given by

N X

Z

xi(t)yi(t)dt: i=1 0 Step 1 of the operator-function product is equivalent to one step of the classical dynamic iteration, hence WGMRES can be considered as a scheme for accelerating the convergence of dynamic iterations. This also implies that computing the operator-function product in the Krylovsubspace based methods is as amenable to parallel implementation as classical dynamic iteration methods. Also, the inner products required by the WGMRES algorithm can be computed by N separate integrations of the pointwise product xi(t)yi(t), which can be performed in parallel, followed by a global sum of the results.

3. Hybrid Methods for Nonlinear Systems. Consider the problem of numerically solving the nonlinear IVP: d dt (t) + ( (t); t) = 0 (3.1) (0) = 0:

hx; yi =

T

x

Fx

x

x

To solve (3.1), we apply Newton’s method directly to the nonlinear ODE system (in a process sometimes referred to as the waveform Newton method (WN) [29]) to obtain the following iteration: d m m+1 = ( m) F ( m) m dt + F ( ) (3.2) m+1 (0) = :

J x x ?F x J x x x x Here, J F is the Jacobian of F . We note that (3.2) is a linear time-varying IVP to be solved for xm+ , which can be accomplished with a waveform Krylov-subspace method. The resulting

0 1

operator Newton/Krylov-subspace algorithm, a member of the class of hybrid Krylov methods [4], is shown below.

Algorithm 3.1 (Waveform Newton/WGMRES). 1. Initialize: Pick 0 2. Iterate: For m = 0; 1; : : : until converged Linearize (3.1) to form (3.2) Solve (3.2) with WGMRES Update m+1 For the WGMRES algorithm applied to solving (3.2), the required operator-function product can be computed using the formulas in Section 2.3, with the substitution (t) (t) = F ( m (t)):

x

x

M ?N

J x

It is also possible to use a Jacobian-free approach, but the nature of the linearization in the operator-Newton algorithm makes that approach somewhat unreliable [13]. Because of the preconditioning, the initial residual for the WGMRES algorithm must be computed, and this computation must be performed for every operator-Newton iteration. If the initial guess for m+1 in the WGMRES part of the hybrid algorithm, denoted m+1;0, is given by m , then the initial residual for the WGMRES algorithm, denoted m+1;0 , can be computed using a two-step approach as follows:

x

x

r

x

6

Submitted for publication.

1. Solve the IVP

d ( dt +

for (t), t 0; T ]. m 2. Set m+1;0 =

M (t))y(t) = M (t)xm(t) ? F (xm(t)) y (0) = x

0

y r

2

y?x

4. Device Transient Simulation. A device is assumed to be governed by the Poisson equation, and the electron and hole continuity equations:

kT r2u + q (p ? n + N ? N ) = 0 D A q ! @n + R = 0 r J n ? q @t ! @p + R = 0 r J p + q @t where u is the normalized electrostatic potential, n and p are the electron and hole concentrations, J n and J p are the electron and hole current densities, ND and NA are the donor and acceptor concentrations, R is the net generation and recombination rate, q is the magnitude of electronic

charge, and is the dielectric permittivity [2, 31]. The current densities n and p are given by the drift-diffusion approximations:

J

J J n = ?qDn (n ru ? rn) J p = ?qDp (p ru + rp)

where Dn and Dp are the diffusion coef?cients, which are assumed here to be related to the electron and hole mobilities by the Einstein relations, that is D = kT . n and p are typically q eliminated from the continuity equations using the drift-diffusion approximations, leaving a differential-algebraic system of three equations in three unknowns, u, n, and p. Given a rectangular mesh that covers a two-dimensional slice of a MOSFET, a common approach to spatially discretizing the device equations is to use a ?nite-difference formula to discretize the Poisson equation, and an exponentially-?t ?nite-difference formula to discretize the continuity equations (the Scharfetter-Gummel method) [30]. On an N -node rectangular mesh, the spatial discretization yields a differential-algebraic system of 3N equations in 3N unknowns denoted by

J

J

(4.1)

f (u(t); n(t); p(t)) = 0 d (4.2) f (u(t); n(t); p(t)) = dt n(t) d (4.3) f (u(t); n(t); p(t)) = dt p(t) where t 2 0; T ], and u(t); n(t); p(t) 2 RN are vectors of normalized potential, electron concentration, and hole concentration, respectively. Here, f ; f ; f : R N ! RN are speci?ed

1 2 3 1 2 3 3

7

Submitted for publication.

component-wise as

Xd f1 (ui; ni; pi ; uj ) = kT Lij (ui ? uj ) ? qAi (pi ? ni + ND ? NA) q j ij Xd f2 (ui; ni; uj ; nj ) = Dn Lij nj B (uj ? ui) ? ni B (ui ? uj ) ? Ri Ai j ij Xd f3 (ui; pi; uj ; pj ) = Dp Lij pj B (ui ? uj ) ? pi B (uj ? ui) ? Ri: Ai j ij The sums above are taken over the four nodes adjacent to node i (north, south, east, and west), Lij is the distance from node i to node j , dij is the length of the side of the Voronoi box that encloses node i and bisects the edge between nodes i and j , and B (v ) = v=(ev ? 1) is the Bernoulli

i i i

function, used to exponentially ?t potential variation to electron concentration variation. The standard approach used to solve the differential-algebraic system generated by spatial discretization of the device equations is to discretize the d=dt terms with a low-order implicit integration method such as the second-order backward difference formula. The result is a sequence of nonlinear algebraic systems in 3N unknowns, each of which can be solved with some variant of Newton’s method and/or relaxation [15]. Another approach is to apply relaxation directly to the differential-algebraic equation system with a WR algorithm [10, 26]. Algorithm 4.1 (WR for Device Simulation). 1. Initialize: Guess 0 ; 0 ; 0 waveforms at all nodes 2. Iterate: For k = 0; 1; : : : until converged For each node i k k solve for ui+1 ; ni+1 ; pk+1 waveforms: i k+1 ; nk+1 ; pk+1 ; uk ) = f1i (ui i i j 0 k+1 ; nk+1 ; uk ; nk ) = d nk+1 f2i (ui i j j dt i k+1 ; pk+1 ; uk ; pk ) d f3i (ui i j j = dt pk+1 i In our approach, we apply the hybrid Krylov method described in Section 3 to solving (4.1)– (4.3). Therefore we use the WGMRES algorithm to solve the following IVP on each operator Newton iteration m: 2 3 32 2 m+1 3 0 f12 f13 f11 6 d m+1 7 76 7 6 4 dt 5+4 f21 f22 f23 5 4 m+1 5 d m+1 m+1 f31 f32 f33 dt 2 3 2 2 3 m; m ; m) 3 m f12 f13 f11 1( 6 7 6 76 7 = 4 f21 f22 f23 5 4 m 5 4 2 ( m ; m ; m ) 5 m; m ; m) m f31 f32 f33 3( 3 2 m+1 (0) 3 2 0 6 m+1 (0) 7 = 6 0 7 : 4 5 5 4 m+1 (0) 0

u n p

u n p

n p J J J u n p

J J J

J J J J J J

J J J

u n p

J J J

u n p f u n p ? f u n p f u n p

5. Experimental Results. Numerical experiments were conducted to compare the performance of classical waveform relaxation methods with Krylov-subspace methods. WR,

8

Submitted for publication. TABLE 5.1 Comparison of WR, WRN, WGMRES, and WCGS. CPU times shown are for an IBM RS/6000 model 540.

Example kD

kG

Method WR WRN WGMRES WCGS WR WRN WGMRES WCGS

FEvals CPU sec 1:22 106 1526 5 3:94 10 559 4 9:03 10 280 9:92 104 214 6 1:43 10 1756 5 4:09 10 578 5 1:03 10 316 Non-Convergence

WN/WGMRES (Algorithm 3.1), and WN/WCGS [32] were implemented using the WR based device simulation programs WORDS [26] and a parallel variant, pWORDS. In addition, the waveform-relaxation-Newton (WRN) algorithm [37] was also implemented in the WORDS and pWORDS programs. The WORDS program uses a red/black vertical line Gauss-Seidel scheme, and our Krylov-subspace implementations use the corresponding preconditioner. 5.1. Serial Results. For performance comparison on a serial computer, experiments were conducted using a two-dimensional n-channel MOS transistor model discretized with a 19 31 mesh. Two examples were used to compare the performance of the relaxation and Krylovsubspace waveform methods: kG: 2:2 m channel-length; 50 psec, 0-5V ramp on the gate with the drain at 5V. kD: 2:2 m channel-length; 50 psec, 0-5V ramp on the drain with the gate at 5V. The parameters used with the Krylov-subspace methods were: 0 = 0:1, = 0:1, and = 1 10?18. To simplify comparisons, 32 equally-spaced timesteps were used in all experiments. Table 5.1 shows the number of function evaluations and the CPU time required for each of the waveform methods to reduce the max-norm of the drain terminal current error below 0.01% of the max-norm of the drain terminal current. Figure 5.1 compares the convergence of WR, WRN, WGMRES, and WCGS for the kD example. In the graphs, the terminal current error versus number of function evaluations is plotted, and clearly demonstrates the rapid convergence of the conjugate-direction methods. As Table 5.1 indicates, Krylov-subspace methods signi?cantly reduced the number of function evaluations and CPU time over WR and WRN. In a manner analogous to the algebraic case, WN/WCGS performs very well on most problems, but can also exhibit convergence dif?culty on others. Note that the CPU time reductions are not as large as the function evaluation reduction, and this is partly due to the cost of inner product computations required for each iteration of the Krylov-subspace methods. The difference is especially apparent with WGMRES, because the number of inner products which must be computed on each iteration grows linearly with the number of iterations. On the other hand, WCGS requires constant work per iteration but can become unstable and fail to converge. For this reason, we are currently investigating generalizing the recently developed QMR algorithm [6].

p

9

Submitted for publication.

10 3

10 2

Drain Current Accuracy (percent/100)

10 1

10 0

10 -1

10 -2

10 -3

10 -4

0

1

2

3

4

5

6

7

8

9

10 x10 5

Function Evaluations

FIG. 5.1. Convergence comparison between WR (dotted), WRN (dashed), WGMRES (solid), and WCGS (dashdotted) for kD example. The max-norm of the relative drain terminal current error is plotted against the number of function evaluations.

5.2. Example Analysis. It was suggested in [20] that the Krylov-subspace methods will not converge signi?cantly faster than WR methods, because the associated operator has a continuous spectrum with substantial volume in the complex plane. However, the above experimental results are not consistent with such a conclusion. To try to reconcile this inconsistency, we will analyze a speci?c example problem, the discretized heat equation, using techniques described in [19, 25]. Consider the ?nite-difference discretized one-dimensional heat equation with Dirichlet boundary conditions, (5.1)

where (t) RN , ; RN N , and the only nonzero entries in are i;i+1 = 0:5, for i 1; :::; N 1 and i;i?1 = 0:5, for i 2; :::; N . Applying a backward-Euler time discretization yields the discrete-time equation

2f

x 2

IN2 ? g N

d x(t) + (I ? N )x(t) = 0 x(0) = x ; 0 dt

2f

g

N

N

(5.2)

where h is the discretization timestep. Solving (5.2) with a discrete-time WR algorithm results in the discrete-time iteration equation (5.3)

h (x j ] ? x j ? 1]) + (I ? N )x j ] = 0:

1

hy

1

( k+1 j ]

? yk+1 j ? 1]) + y k+1 j ] ? Nyk j ] = 0:

k+1 j ] k j ], and therefore k 0] = 0. where k is the waveform iteration index, k+1 j ] When considering (5.3) on the semi-in?nite interval, that is for all integers j > 0, the

10

y

x

?x

y

Submitted for publication.

0.5 0.4 0.3 0.2

Imaginary Part

0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5 0

0.2

0.4

0.6

0.8

1 1.2 Real Part

h

1.4

1.6

1.8

2

FIG. 5.2. The spectrum of T in (5.4) for the case of N regions bounded by the depicted circles.

= 20 and = 0 1. Note, the spectrum is the union of the

:

waveform iterates satisfy

2 6 6 6 6 6 6 6 6 6 4

(5.4)

y k+ y k+ y k+

1 1 1

1] 2] 3]

3 7 7 7 7 7 7 7 7 7 5

y k 1] y k 2] y k 3] ; =T

2 6 6 6 6 6 6 6 6 6 4 3 7 7 7 7 7 7 7 7 7 5

where

T is the inverse of a semi-in?nite block Toeplitz matrix, and T ’s symbol is given by

1 (z ) = 1?z?1 +1

h

N: T,

Alternatively, (z ) can be derived by computing the z -transform of (5.3). The spectrum of ( ), is then given by [38]

T

(T ) =

f (z) j jzj

1

g:

Now consider the speci?c example where n = 20. In Figure 5.2, the spectrum of for = 0:1 is given. In this case, the timestep is signi?cantly smaller than the time constant associated with the fastest mode of (5.1). Note that (T ) covers a signi?cant fraction of a disc of radius two centered at one. This implies that relaxation, whose associated iteration polynomial has all its zeros at precisely one, is reasonably close to optimal. Therefore, Krylov-subspace based approaches will be of limited additional advantage. This is demonstrated experimentally in Figure 5.3, where the convergence rates of WR and WGMRES are compared.

h

T

11

Submitted for publication.

10 2

10 1

Normalized Residual

10 0

10 -1

10 -2

0

5

10 Iteration

15

20

25

FIG. 5.3. The normalized residuals as a function of iteration for WR (dashed line) and WGMRES (solid line) applied to solving (5.3) with N = 20 and h = 0:1. The waveforms were computed using 500 timesteps.

Systems like the spatially discretized heat equation are stiff, with both rapidly and very slowly decaying modes. If a stif?y-stable time-integration formula like backward-Euler is used to solve (5.1), then most of the timesteps will be selected to accurately capture the slowest modes. In particular, for the discretized heat equation example with N = 20, a more practical case to analyze is when h = 10, rather than the h = 0:1 case above, as this larger timestep will still insure the slower modes are accurately computed. In Figure 5.4, the spectrum of for h = 10 is given. As is clear from the ?gure, the spectrum of tightly hugs the real axis, much more so than in the h = 0:1 case. Since this spectrum covers a small fraction of the radius two disc centered at one, Krylov-subspace based approaches should have a signi?cant advantage over WR. That is is the case is made clear in the comparisons in Figure 5.5.

T

T

5.3. Parallel Results. Parallel numerical experiments were conducted to compare the practical ef?ciency of the waveform methods with the best known serial methods (as well as with parallel versions of the best known serial methods). The experiments were conducted using a two-dimensional n-channel MOS transistor model discretized with a 19 31 mesh. The experiments simulated the effect of a 5 volt pulse applied to the drain terminal with the gate terminal held at a constant 5 volts. The experimental parallel computing environment consisted of eight IBM RS/6000 workstations — ?ve model 320s, one model 320H, and two model 540s — and one Sun SparcStation 2. The Sun SparcStation 2 was used as the Master for all experiments and the IBM RS/6000 machines were used as the Slaves. To make the parallel results as meaningful as possible, serial results were obtained on a single model 320, results with two and four processors were obtained on two and four model 320 Slaves, respectively, and results with eight processors were obtained with all eight machines. The mesh was divided as evenly as possible among the Slave processors — no load balancing was attempted.

12

Submitted for publication.

0.5 0.4 0.3 0.2

Imaginary Part

0.1 0 -0.1 -0.2 -0.3 -0.4 -0.5 0

0.2

0.4

0.6

0.8

1 1.2 Real Part

h

1.4

1.6

1.8

2

FIG. 5.4. The Spectrum of T in (5.4) for the case of N regions bounded by the depicted circles.

= 20 and = 10. Note, the spectrum is the union of the

10 1

Normalized Residual

10 0

10 -1

10 -2

0

5

10 Iteration

15

20

25

FIG. 5.5. The normalized residuals as a function of iteration for WR (dashed line) and WGMRES (solid line) applied to solving (5.3) with N = 20 and h = 10. The waveforms were computed using 500 timesteps.

Table 5.2 shows a comparison of the execution times (measured in elapsed wall clock seconds) required to complete a transient simulation of the test device using WRN and WN/WGMRES. For all experiments, ?rst order BDF and 256 ?xed timesteps were used over a simulation interval of 51:2 10?11 seconds. To establish a uniform measure for purposes of comparison, the convergence criterion for all experiments was the requirement that the maximum error over the simulation interval in the value of any terminal current be less than one part in 1 10?4. To provide an initial guess for WRN and for WN/WGMRES, 16 and 8 initial WR iterations were

13

Submitted for publication.

Method # Procs WRN 1 WRN 2 4 WRN 8 WRN WN/WGMRES 1 2 WN/WGMRES WN/WGMRES 4 8 WN/WGMRES Pointwise (Direct) 1 Pointwise (GMRES) 1 2 Pointwise (GMRES)

Time 8230.23 4469.91 2712.58 1571.92 * * 925.60 504.50 2462.48 1221.98 6931.86

TABLE 5.2 Execution times (measured in elapsed wall clock seconds) required to complete a transient simulation of the test device using WRN, WN/WGMRES, and point at a time methods. A * indicates that the experiment was not able to be run because of memory restrictions.

performed, respectively, after which WRN and WN/WGMRES required 499 and 75 iterations to converge, respectively. In addition, Table 5.2 shows the execution times required to perform traditional point at a time simulation of the test device, using direct and vertical-line preconditioned GMRES (PGMRES) linear system solvers. Parallel runs with the PGMRES point at a time method were conducted, but as is shown in the table, execution time increased — a result of the large number of communication and synchronization steps required by PGMRES at each timestep and the high latency of PVM and standard Ethernet communication. Note that we did not try to parallelize direct factorization. As can be seen from the table, the WN/WGMRES method has very good parallel performance (although because of its large memory requirements, it could not be accommodated by the smaller model 320 machines for runs on just one or two machines). Because it is necessarily more synchronous, WN/WGMRES might appear to be at a disadvantage (when compared to WR or WRN) in a parallel implementation, however its vastly superior convergence rate makes it the clear overall winner. 6. Conclusion. In this paper we presented some new dynamic iterative methods to accelerate the convergence of the WR algorithm. The methods are based on the application of the Galerkin method to an operator equation formulation of the linear time-varying initial-value problem. Experimental results demonstrated that this acceleration signi?cantly reduces the computation time for device transient simulation. Future work is primarily focused on improving the theoretical results about the convergence of linear and nonlinear hybrid Krylov-subspace methods for differential-algebraic systems of equations. In addition, the effect of using multirate integration must also be examined. Finally, we are investigating function-space generalizations of the QMR algorithm. Acknowledgments. The authors would like to thank Ibrahim Elfadel and Mark Reichelt for many valuable discussions. In addition, the authors would like to acknowledge F. Odeh for his

14

Submitted for publication.

guidance in this subject, he will be remembered for much more than the papers which bear his name. F. Odeh has in?uenced most of the researchers in the ?eld of waveform relaxation. Almost all of us either knew the man, or were students of researchers whose careers F. Odeh helped shape.

REFERENCES [1] K. E. ATKINSON, A Survey of Numerical Methods for the Solution of Fredholm Integral Equations of the Second Kind, SIAM, Philadelphia, 1976. [2] R. BANK, W. COUGHRAN, JR., W. FICHTNER, E. GROSSE, D. ROSE, AND R. SMITH, Transient simulation of silicon devices and circuits, IEEE Trans. CAD, 4 (1985), pp. 436–451. [3] R. W. BROCKETT, Finite Dimensional Linear Systems, Wiley, New York, 1970. [4] P. BROWN AND Y. SAAD, Hybrid Krylov methods for nonlinear systems of equations, SIAM J. Sci. Statist. Comput., 11 (1990), pp. 450–481. [5] J. B. CONWAY, A Course in Functional Analysis, Second Edition, Springer-Verlag, New York, 1990. [6] R. W. FREUND AND N. M. NACHTIGAL, QMR: A quasi-minimal residual method for non-Hermitian linear systems, Tech. Report 90.51, RIACS, NASA Ames Research Center, December 1990. [7] R. KRESS, Linear Integral Equations, Springer-Verlag, New York, 1989. [8] B. LEIMKUHLER, Estimating waveform relaxation convergence, SIAM J. Sci. Comput., 14 (1993), pp. 872–889. [9] B. LEIMKUHLER AND A. RUEHLI, Rapid convergence of waveform relaxation, Applied Numerical Mathematics, 11 (1993), pp. 221–224. [10] E. LELARASMEE, A. E. RUEHLI, AND A. L. SANGIOVANNI-VINCENTELLI, The waveform relaxation method for time domain analysis of large scale integrated circuits, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 1 (1982), pp. 131–145. [11] P. LINZ, Analytical and Numerical Methods for Volterra Equations, SIAM, Philadelphia, 1985. [12] C. LUBICH AND A. OSTERMAN, Multigrid dynamic iteration for parabolic problems, BIT, 27 (1987), pp. 216– 234. [13] A. LUMSDAINE, Theoretical and Practical Aspects of Parallel Numerical Algorithms for Initial Value Problems, with Applications, PhD thesis, Massachusetts Institute of Technology, Cambridge, MA, 1992. [14] R. C. MACCAMY AND P. WEISS, Numerical solution of Volterra integral equations, Nonlinear Anal., 3 (1979), pp. 677–695. [15] K. MAYARAM AND D. PEDERSON, CODECS: A mixed-level device and circuit simulator, in International Conference on Computer Aided-Design, Santa Clara, California, November 1988, pp. 112–115. [16] U. MIEKKALA AND O. NEVANLINNA, Convergence of dynamic iteration methods for initial value problems, SIAM J. Sci. Stat. Comp., 8 (1987), pp. 459–467. [17] G. MIEL, Iterative re?nement of the method of moments, Numer. Funct. Anal. and Optimiz., 9(11-12) (1987– 1988), pp. 1193–1200. [18] S. G. MIKHLIN, Variational Methods in Mathematical Physics, Macmillan, New York, 1964. [19] O. NEVANLINNA, Remarks on Picard-Lindel¨ f iteration, Part II, BIT, 29 (1989), pp. 535–562. o [20] , Linear acceleration of Picard-Lindel¨ f iteration, Numer. Math., 57 (1990), pp. 147–156. o [21] O. NEVANLINNA AND F. ODEH, Remarks on the convergence of the waveform relaxation method, Numerical Functional Anal. Optimization, 9 (1987), pp. 435–445. [22] F. ODEH, A. RUEHLI, AND C. CARLIN, Robustness aspects of an adaptive wave-form relaxation scheme, in Proceedings of the IEEE Int. Conf. on Circuits and Comp. Design, Rye,N.Y., October 83, pp. 396–440. [23] F. ODEH, A. RUEHLI, AND P. DEBEFVE, Waveform techniques, in Circuit Analysis, Simulation and Design, Part 2, A. Ruehli, ed., North-Holland, 1987, pp. 41–127. [24] P. OMARI, On the fast convergence of a Galerkin-like method for equations of the second kind, Math. Z., 201 (1989), pp. 529–539. [25] M. REICHELT, Accelerated Waveform Relaxation Techniques for the Parallel Transient Simulation of Semiconductor Devices, PhD thesis, Massachusetts Institute of Technology, Cambridge, MA, 1993. [26] M. REICHELT, J. WHITE, AND J. ALLEN, Waveform relaxation for transient two-dimensional simulation of MOS devices, in International Conference on Computer Aided-Design, Santa Clara, California, November 1989, pp. 412–415. 15

Submitted for publication. [27] M. REICHELT, J. WHITE, J. ALLEN, AND F. ODEH, Waveform relaxation applied to transient device simulation, in Proceedings of the IEEE Int. Conf. on Circuits and Systems, Espoo, Finland, October 83, pp. 396–440. [28] Y. SAAD AND M. SCHULTZ, GMRES: A generalized minimum residual algorithm for solving nonsymmetric linear systems, SIAM J. Sci. Statist. Comput., 7 (1986), pp. 856–869. [29] R. SALEH AND J. WHITE, Accelerating relaxation algorithms for circuit simulation using waveform-Newton and step-size re?nement, IEEE Trans. CAD, 9 (1990), pp. 951–958. [30] D. SCHARFETTER AND H. GUMMEL, Large-signal analysis of a silicon read diode oscillator, IEEE Transactions on Electron Devices, ED-16 (1969), pp. 64–77. [31] S. SELBERHERR, Analysis and Simulation of Semiconductor Devices, Springer-Verlag, New York, 1984. [32] P. SONNEVELD, CGS, a fast Lanczos-type solver for nonsymmetric linear systems, SIAM J. Sci. Statist. Comput., 10 (1989), pp. 36–52. [33] S. VANDEWALLE AND R. PIESSENS, Ef?cient parallel algorithms for solving initial-boundary value and timeperiodic parabolic partial differential equations, SIAM J. Sci. Statist. Comput., 13 (1992), pp. 1330–1346. [34] Y. V. VOROBYEV, Method of Moments in Applied Mathematics, Gordon and Breach, New York, 1965. [35] J. WHITE AND F. ODEH, A connection between the convergence properties of waveform relaxation and the A-stability of multirate integration methods, in Proceedings of the NASECODE VII Conference, Copper Mountain, Colorado, 1991. [36] J. WHITE, F. ODEH, A. VINCENTELLI, AND A. RUEHLI, Waveform relaxation: Theory and practice, Trans. of the Society for Computer Simulation, 2 (1985), pp. 95–133. [37] J. K. WHITE AND A. SANGIOVANNI-VINCENTELLI, Relaxation Techniques for the Simulation of VLSI Circuits, Engineering and Computer Science Series, Kluwer Academic Publishers, Norwell, Massachusetts, 1986. [38] H. WIDOM, Toeplitz matrices, in Studies in Real and Complex Analysis, J. I. I. Hirschman, ed., vol. Vol. 3, The Mathematical Association of America, 1965, pp. 179–209.

16

赞助商链接

- Numerical_methods_for_semiconductor_device_simulation
- A Simulation Approach to Dynamic Portfolio Choice with an Application to Learning About Ret
- Accelerating the Arnoldi Iteration
- Dynamic Texture Recognition Using Local Binary Patterns with an Application to Facial Expressions
- Models with time-dependent parameters using transform methods application to Heston's model
- Combining GA with Splitting Methods for Rearrangeably Nonblocking Grooming of Dynamic Traffic
- Genetic Programming with Dynamic Fitness for a Remote Sensing Application
- Development and Application of a Diaphragm Micro-Pump with Piezoelectric Device
- 1 Soft Real-time Application Execution with Dynamic Quality of Service Assurance
- Dynamic clustering using particle swarm optimization with application in unsupervised image
- On the convergence of He's variational iteration method
- On the application of homotopy perturbation method to differential equations
- Level set methods, with an application to modeling the growth of thin films
- Termination Modulo Equations by Abstract Commutation with an Application to Iteration
- Quantum optical device accelerating dynamic programming

更多相关文章：
更多相关标签：