order reduction of (truly) large-scale linear dynamical ... · order reduction of (truly)...

48
Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University of California, Davis, USA http://www.math.ucdavis.edu/˜ freund/ Supported in part by NSF

Upload: others

Post on 17-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Order Reduction of (Truly) Large-Scale

Linear Dynamical Systems

Roland W. Freund

Department of Mathematics

University of California, Davis, USA

http://www.math.ucdavis.edu/ freund/

Supported in part by NSF

Page 2: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Motivation

• Need for order reduction in VLSI circuit simulation

• Corollary to Moore’s Law

• RCL networks:

Electric networks consisting of only resistors (R’s),

capacitors (C’s), and inductors (L’s)

• These networks are (truly) large

Page 3: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Moore’s law

Page 4: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

VLSI chip scaling

Page 5: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

VLSI interconnect

• Wires are not ideal:

Resistance

Capacitance

Inductance

• Consequences:

Timing behavior

Noise

Energy consumption

Power distribution

Page 6: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Lumped-circuit paradigm

• Replace ‘pieces’ of the interconnect by RCL networks

• Up to O(106) circuit elements per network

• Up to O(106) networks

Page 7: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Need for order reduction

Page 8: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 9: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 10: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

RCL networks as descriptor systems

• System of linear time-invariant DAEs of the form

Cd

dtx(t) + Gx(t) = Bu(t)

y(t) = BTx(t)

where C, G ∈ RN×N and B ∈ RN×m

• x(t) ∈ RN is the unknown vector of state variables

• m inputs, m outputs

• sC + G is nonsingular except for finitely many values of s ∈ C

Page 11: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Reduced-order models

• System of DAEs of the same form:

Cnd

dtz(t) + Gn z(t) = Bn u(t)

y(t) = BTn z(t)

• But now:

Cn, Gn ∈ Rn×n and Bn ∈ R

n×m

where n ≪ N

Page 12: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Transfer functions

• Original descriptor system:

H(s) = BT (sC + G)−1 B

• Reduced-order model:

Hn(s) = BTn (sCn + Gn)

−1 Bn

• ‘Good’ reduced-order model

⇐⇒ ‘Good’ approximation Hn ≈ H

Page 13: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Problem of structure preservation

• Any RCL network is stable, passive, . . .

• Reduced-order model should be stable, passive, . . .

• More difficult problem:

Reduced-order model of an RCL network should be

synthesizable as an RCL network

Page 14: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Preservation of RCL structure

Page 15: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

General RCL network equations

• System of linear time-invariant DAEs of the form

Cd

dtx(t) + Gx(t) = Bu(t)

y(t) = BTx(t)

where

C =

C1 0 0

0 C2 0

0 0 0

, G =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, B =

B1 0

0 0

0 B2

• Moreover:

C � 0 and G + GT � 0

(This implies passivity!)

Page 16: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 17: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Projection-based reduction

• Let Vn ∈ RN×n be any matrix with full column rank n

• Use Vn to explicitly project the data matrices of

Cd

dtx(t) + Gx(t) = Bu(t)

y(t) = BTx(t)

onto the subspace spanned by the columns of Vn

Page 18: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Projection-based reduction, continued

• Resulting reduced-order model

Cnd

dtz(t) + Gn z(t) = Bn u(t)

y(t) = BTn z(t)

where

Cn = VTn CVn, Gn = VT

n GVn, Bn = VTn B

• Passivity is preserved:

C � 0, G + GT � 0 ⇒ Cn � 0, Gn + GTn � 0

Page 19: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Projection-based order reduction

• PRIMA

Passive Reduced Interconnect Macromodeling Algorithm

(Odabasioglu, ’96; Odabasioglu, Celik, and Pileggi, ’97)

• Split-congruence transformations

(Kerns, Yang, ’97)

• SPRIM

Structure-Preserving Reduced Interconnect Macromodeling

(F., ’04 and ’07)

Page 20: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

PRIMA reduced-order models

• Let Vn be any matrix whose columns span the n-th Krylov

subspace Kn(A,R) where

A :=(s0 C + G

)−1C and R :=

(s0 C + G

)−1B

and s0 ∈ R is a suitably chosen expansion point

• Projection + Krylov subspace = Pade-type approximant:

Hn(s) = H(s) + O ((s − s0)q) , where q ≥ ⌊n/m⌋

Page 21: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Structure is not preserved

• Structure of the data matrices:

C =

C1 0 0

0 C2 0

0 0 0

, G =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, B =

B1 0

0 0

0 B2

• Structure of PRIMA reduced-order matrices:

Cn = , Gn = , Bn =

Page 22: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 23: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM

• As in PRIMA, let Vn be any matrix such that

Kn(A,R) = colspanVn

• Key insight that is exploited in SPRIM:

In order to have a Pade-type property as in PRIMA, we can

project with any matrix Vn such that

Kn(A,R) ⊆ colspan Vn

• ... ; Odabasioglu, ’96; Grimme, ’97; Odabasioglu, Celik, and

Pileggi, ’97; ...

Page 24: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM, continued

• Recall:

C =

C1 0 0

0 C2 0

0 0 0

, G =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, B =

B1 0

0 0

0 B2

• Partition Vn accordingly:

Vn =

V(1)n

V(2)n

V(3)n

Page 25: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM, continued

• Set

Vn =

V(1)n 0 0

0 V(2)n 0

0 0 V(3)n

• Then: Kn(A, R) = colspanVn ⊆ colspan Vn

• This guarantees a Pade-type property!

Page 26: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM models

• Recall:

C =

C1 0 0

0 C2 0

0 0 0

, G =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, B =

B1 0

0 0

0 B2

and

Vn =

V(1)n 0 0

0 V(2)n 0

0 0 V(3)n

Page 27: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM models, continued

• The projection now preserves this structure:

Cn =

C1 0 0

0 C2 0

0 0 0

, Gn =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, Bn =

B1 0

0 0

0 B2

• Pade-type property:

Hn(s) = H(s) + O ((s − s0)q)

with q ≥ ⌊n/m⌋

Page 28: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

An RCL circuit with mostly C’s and L’s

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

x 109

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Frequency (Hz)

abs(

Z(2,

1))

ExactPRIMA modelSPRIM model

Exact and models corresponding to n = 120

Page 29: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

A package example

108

109

1010

10−4

10−3

10−2

10−1

100

Frequency (Hz)

V1i

nt/V

1ext

ExactPRIMA modelSPRIM model

Exact and models corresponding to n = 80

Page 30: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Package example, high frequencies

1010

10−2

10−1

100

Frequency (Hz)

V1i

nt/V

1ext

Exact

PRIMA model

SPRIM model

Exact and models corresponding to size n = 80

Page 31: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

A finite-element model of a shaft

0 100 200 300 400 500 600 700 800 900 100010

−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Frequency (Hz)

abs(

Z)

ExactPRIMA modelSPRIM model

Exact and models corresponding to n = 15

Page 32: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM vs. PRIMA

• Pros:

Same computational work

SPRIM preserves block structure and reciprocity

Higher accuracy

• Cons:

SPRIM models are two or three times as large as

corresponding PRIMA models

Page 33: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 34: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM–SVD

• Columns of Vn span Kn(A, R)

• SPRIM projection:

Vn =

V(1)n

V(2)n

V(3)n

=⇒ Vn =

V(1)n 0 0

0 V(2)n 0

0 0 V(3)n

• But:

# of rows of V(3)n ≪ # of rows of V

(1)n and V

(2)n

Page 35: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

The RCL circuit with mostly C’s and L’s

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

x 109

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Frequency (Hz)

abs(

Z(2,

1))

ExactPRIMA modelSPRIM model

Exact and models corresponding to n = 120

Page 36: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Singular values of projection subblocks

0 20 40 60 80 100 1200

0.2

0.4

0.6

0.8

1

1.2

1.4

Sin

gula

r va

lues

V

n(1)

Vn(2)

Vn(3)

Page 37: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM–SVD, continued

• For l = 1,2,3, replace V(l)n by the matrix U

(l)n containing the

left singular vectors corresponding to the ’non-zero’ singular

values

• SPRIM–SVD projection:

Vn =

V(1)n 0 0

0 V(2)n 0

0 0 V(3)n

=⇒ Vn =

U(1)n 0 0

0 U(2)n 0

0 0 U(3)n

• For the example:

3n = 360 =⇒ 74 + 72 + 1 = 147

Page 38: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

The RCL circuit with mostly C’s and L’s

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

x 109

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Frequency (Hz)

V1i

nt/V

1ext

ExactSPRIM+SVD model

Exact and models corresponding to n = 120

Page 39: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Theory of SPRIM–SVD?

• Number of small singular values of the subblocks V(1)n and

V(2)n ?

• Structure is understood in the case of no voltage sources,

i.e., no thrird subblock V(3)n

(F. ’05)

• Key is the structure of the block Krylov subspaces Kn(A, R);

but what is it?

Page 40: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 41: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

SPRIM vs. PRIMA

0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5

x 109

10−8

10−7

10−6

10−5

10−4

10−3

10−2

10−1

100

Frequency (Hz)

abs(

Z(2,

1))

ExactPRIMA modelSPRIM model

Page 42: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Pade-type property

• So far, we only know that both PRIMA and SPRIM produce

Pade-type reduced-order models with

Hn(s) = H(s) + O ((s − s0)q) , where q ≥ ⌊n/m⌋

• Can we say more in the case of SPRIM?

• Easy in the case of no third subblock V(3)n

(F. ’05)

• General case: J-symmetric linear dynamical systems

(F. ’07)

Page 43: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

J-symmetry

• Recall:

Cd

dtx(t) + Gx(t) = Bu(t)

y(t) = BTx(t)

where

C =

C1 0 0

0 C2 0

0 0 0

, G =

G1 G2 G3

−GT2 0 0

−GT3 0 0

, B =

B1 0

0 0

0 B2

• C and G are J-symmetric:

JC = CTJ and JG = GTJ, where J :=

I 0 0

0 −I 0

0 0 −I

Page 44: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

J-symmetry, continued

• The input-output matrix B satisfies

Range(JB) = Range(B)

Page 45: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Jn-symmetry of SPRIM models

• The SPRIM models

Cnd

dtz(t) + Gn z(t) = Bn u(t)

y(t) = BTn z(t)

preserve the structure of Cn, Gn, Bn

• Therefore, Cn and Gn are Jn-symmetric with

Jn :=

I 0 0

0 −I 0

0 0 −I

and Range(Jn Bn) = Range(Bn)

• Moreover, the projection matrix Vn satisfies

JVn = Vn Jn

Page 46: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Pade-type property

• Theorem (F., ’05 and ’07)

For J-symmetric systems and real expansion points s0, the

n-th SPRIM model is Jn-symmetric and satisfies

Hn(s) = H(s) + O((s − s0)

q)

, where q ≥ 2 ⌊n/m⌋

• Twice as accurate as PRIMA!

Page 47: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Outline

• The order reduction problem

• Projection + Krylov = Pade-type reduction

• SPRIM for general RCL networks

• SPRIM–SVD

• Pade-type approximation properties of SPRIM

• Concluding remarks

Page 48: Order Reduction of (Truly) Large-Scale Linear Dynamical ... · Order Reduction of (Truly) Large-Scale Linear Dynamical Systems Roland W. Freund Department of Mathematics University

Concluding remarks

• SPRIM and SPRIM–SVD for general RCL networks

• Key property for higher accuracy of SPRIM:

Jn-symmetry reduced-order models

• Theory of the zero singular values exploited in SPRIM–SVD?

• Projection-based reduction requires the storage of Vn ∈ RN×n

and is thus limited to moderately large N

• Structure-preserving reduction for truly large-scale

RCL networks?