You are on page 1of 6

ROBUST IDENTIFICATION OF TRANSIENT

PORT RESPONSES USING TIME DOMAIN


ORTHONORMAL VECTOR FITTING

D. Deschrijver ∗,∗∗,1 B. Haegeman ∗ T. Dhaene ∗,∗∗


Dept. Math & Comp. Sc., Univ. of Antwerp, Belgium
∗∗
Dept. Information Technology, Ghent University, Sint
Pietersnieuwstraat 41, 9000 Gent, Belgium

Abstract: A robust technique is presented for parametric identification of linear


time-invariant systems in the time domain. Based on a Sanathanan-Koerner
iteration, the transfer function coefficients are calculated iteratively by minimizing
a weighted linear cost function. The time-domain equivalent of the Muntz-Laguerre
basis is used to improve the numerical conditioning of the associated system
equations. It is shown that the method is computationally efficient, and able to fit
highly dynamic responses. Copyright ° c IFAC 2007

Keywords: System Identification, Rational Approximation, Time-domain


modeling

1. INTRODUCTION described in (Deschrijver et al., 2007a). The im-


plicit weighting was found to give more reliable
Accurate synthesis of compact transfer function results if the prescribed poles need to be relocated
models is crucial for reliable system-level simu- over long distances.
lations. The identification of such models from
In (Deschrijver et al., 2007b), it was shown that
measurements or first-principle simulators is nu-
the method can achieve a higher robustness if the
merically not a trivial task, even for linear systems
basis functions are orthonormalized using a Gram-
(Pintelon and Schoukens, 2001).
Schmidt procedure (called Orthonormal Vector
Recently, (Gustavsen and Semlyen, 1999) pre- Fitting, OVF). Using these orthonormal rational
sented a frequency-domain identification method functions, the conditioning of the system equa-
(called Vector Fitting, VF) which minimizes tions becomes less sensitive to the initial pole
a weighted linear cost function, by iteratively specification, and accurate models can be com-
relocating the transfer function poles using a puted in fewer iterations. This improves the ef-
Sanathanan-Koerner (SK) iteration (Sanathanan ficiency of the method and reduces the overall
and Koerner, 1963; Hendrickx et al., 2006). Nu- computation time.
merical ill-conditioning is avoided by using a set
In this paper, a generalization of the OVF ap-
of partial fraction basis functions, which are based
proach is presented, which allows the identifica-
on a well-chosen prescribed set of poles. Such
tion of a transfer function based on transient
rational basis functions have the advantage that
input-output port responses. The idea is based
an implicit weighting scheme can be applied, as
on a time-domain implementation of the VF tech-
nique, as proposed by (Grivet-Talocia, 2004). This
1 This work was supported by the Fund for Scientific paper illustrates that the advantages of orthonor-
Research Flanders (FWO Vlaanderen)
malization and time-domain identification can be in (1) such that the complex fitting error is min-
combined. The effectiveness of the proposed tech- imized in a least-squares sense. Levi’s linear ap-
nique is illustrated by an example. proximation of this non-linear identification prob-
lem can be obtained by solving the following set of
equations for all frequencies {sk }K
k=0 (Levi, 1959)
s

2. MODEL REPRESENTATION
Ks
X 2
Traditionally, a rational transfer function R(s) is arg min |N (sk ) − H(sk )D(sk )| (6)
cp ,c̃p
defined as the quotient of two polynomials. Based k=0

on the measured or simulated spectral response


(s,H(s)) of a physical structure, the coefficients After calculating the values of cp and c̃p , it is
of numerator N (s) and denominator D(s) are easy to see that equation (1) can be simplified
estimated, such that the least-squares distance by cancelling out the common poles a. It follows
between the model and the data is minimized that the poles of the transfer function R(s) are
(Pintelon et al., 1994). then actually the zeros of the denominator D(s).

P It is known that Levi’s estimator is biased, and


X
cpΦp (s, a) therefore does not guarantee convergence to the
N (s) p=1 true least-squares solution. In order to relieve
R(s) = = (1) the unbalanced weighting, a Sanathanan-Koerner
D(s) P
X
c̃0 + c̃pΦp (s, a) iteration can be applied (Sanathanan and Ko-
p=1 erner, 1963). This is described in the following
section.
In the frequency-domain OVF technique, an im-
proved numerical robustness is obtained by ex-
panding numerator and denominator as a linear 3.2 Sanathanan-Koerner Iteration
combination of Muntz-Laguerre orthonormal ra-
tional functions Φp (s, a), which are based on a In successive iterations (t = 0, ..., T ), the coef-
(t) (t)
prescribed set of stable poles a = {−a1 , ..., −aP } ficients cp and c̃p can be updated iteratively
(Heuberger et al., 2005). If −ap is a real pole, by minimizing the following Sanathanan-Koerner
then the orthonormal basis functions Φp (s, a) are cost function (Sanathanan and Koerner, 1963),
defined as provided that initially D(−1) (s) = 1.
p  
p−1
2 <e(ap ) Y s − a∗j Ks ¯
X ¯2
Φp (s, a) =  , (2) ¯ N (t) (sk ) D(t) (sk )H(sk ) ¯¯
s + ap s + aj min ¯
¯ (t−1) (s ) − D(t−1) (s ) ¯ (7)
cp ,c̃p k=0 D
j=1 (t) (t)
k k
¯ ¯
and a linear combination is formed when two poles
Ks
X ¯ N (t) (sk )U (sk ) D(t) (sk )Y (sk ) ¯2
= min ¯ ¯
−ap = −a∗p+1 form a complex conjugate pair (t) (t) ¯ D(t−1) (s ) − D(t−1) (s ) (8) ¯
cp ,c̃p k=0 k k
p p−1
2 <e(ap )(s − |ap |) Y s − a∗j In the classical SK formulation, the coefficients
Φp (s, a) = (3) (t) (t)
(s + ap )(s + ap+1 ) j=1 s + aj cp and c̃p of N (s) and D(s) are estimated,
provided that each equation is given an explicit
p p−1 frequency-dependent weighting 1/D(t−1) (s).
2 <e(ap )(s + |ap |) Y s − a∗j
Φp+1 (s, a) = (4)
(s + ap )(s + ap+1 ) j=1 s + aj The VF and OVF algorithm perform this weight-
ing in an implicit way, by estimating the coef-
(t)
It can be shown that these basis functions are ficients dp of N (t) (s)/D(t−1) (s) and the coeffi-
cients d˜p of D(t) (s)/D(t−1) (s) instead, where
(t)
orthonormal with respect to the following inner
product (1 ≤ m, n ≤ P )
Z XP
1 N (t) (s) 1
hΦm (s), Φn (s)is = Φm (s)Φ∗n (s)ds (5) = c(t) Φp (s, a) (9)
2πi D(t−1) (s) D(t−1) (s) p=1 p
iR
P
Y PY
−1
(t)
(s + ap ) (s + zp,n )
3. TRANSFER FUNCTION p=1 p=1
= (10)
IDENTIFICATION P
Y P
Y
(t−1)
(s + zp,d ) (s + ap )
3.1 Levi’s Estimator p=1 p=1
P
X ³ ´
The goal of the frequency-domain identification (t−1)
= d(t)
p Φp s, zd (11)
process, is to identify the coefficients cp and c̃p p=1
and sX(s) = AX(s) + BU (s) (16)
à ! Y (s) = CX(s) + DU (s)
P
X
D(t) (s) 1 (t)
= c̃0 c̃(t)
p Φp (s, a)(12)
(T )
the poles zd of the final transfer function R(T ) (s)
D(t−1) (s) D(t−1) (s) p=1 can then be found by solving the eigenvalues of
P
Y P
Y (t)
A − BD−1 C (Goodwin et al., 2001; Brezinski,
(s + ap ) (s + zp,d ) 2002). More details about the construction of
p=1 p=1
(13) this realization are well described in (Deschrijver
P
Y P
Y et al., 2007a). Once the poles are known, the
(t−1)
(s + zp,d ) (s + ap ) transfer function can easily be represented as a
p=1 p=1 pole-residue model, by solving the residues γp as
P
X ³ ´ a linear problem.
= d˜0 +
(t)
d˜(t)
(t−1)
p Φp s, zd (14) ¯ P ¯2
Ks ¯X
X ¯
p=1 ¯ γp ¯
min ¯ − H(s k ) ¯ (17)
γp ¯ (T ) ¯
It follows from these equations that multiplica- k=0 p=1 sk + zp,d
tion by an explicit frequency-dependent weighting
as shown in (9) and (12) is equivalent to usage Such rational function representation can eas-
of (6) if the prescribed poles of the basis func- ily be realized as a SPICE equivalent circuit
(t−1) (Antonini, 2003).
tions
n (2)-(4) are replaced
o by the zeros zd =
(t−1) (t−1)
−z1,d , ..., −zP,d of D(t) (s)/D(t−1) (s) in each
iteration, see (11) and (14). The iterative replace- 4. TIME DOMAIN ALGORITHM
ment of the prescribed (or previously calculated)
basis function poles is called pole-relocation. To obtain the time-domain identification algo-
To ensure system stability, unstable poles are rithm, equation (8) is transformed to the time-
“flipped” into the left half of the complex plane domain using a direct application of the inverse
by inverting their sign. Laplace Transformation
Z
It was shown in (Deschrijver et al., 2007a) that 1
f (t) = L−1 F (s) = F (s) est ds. (18)
this implicit weighting approach often provides 2πi
iR
a better numerical conditioning, especially if the
weighting factor 1/D(t−1) (s) has a large dynamic An analogous cost function needs to be mini-
variation over the frequency range of interest. mized, which is written in terms of an input signal
Some additional improvements are obtained by u(t) and the corresponding output signal y(t)
scaling each column of the associated system
equations to unity length. Convergence of this Kt ¯ µ ¶
X ¯ −1 N (t) (s)
pole-relocation process is typically obtained in min ¯L ? u(tk ) ...
¯ D(t−1) (s)
a few iterations provided that the initial set of (t) ˜(t)
dp dp k=0
prescribed poles a is well-chosen, i.e. as described µ ¶ ¯2
D(t) (s) ¯
in (Gustavsen and Semlyen, 1999). −L −1
? y(tk )¯¯ (19)
D(t−1) (s)
provided that u(t) and y(t) represent the Inverse
3.3 Partial Fraction Representation Laplace Transform of U (s) and Y (s) respectively,
and f ? g (t) the convolution of f (t) and g(t). If
In the final iteration (t = T ), the transfer function (t−1)
φp (t, z d ) denotes the Inverse Laplace Trans-
can be defined as the ratio of (11) and (14) such (t−1)
form of Φp (s, zd ), then (19) is equivalent to
that
¯
P
X ³ ´ Kt ¯X
X P ³ ³ ´´
d(T ) (T −1) ¯ (t−1)
p Φp s, zd min ¯ d(t)
p u ? φ p t k , zd − ...
dp d˜p k=0 ¯p=1
(t) (t)
p=1
R(T ) (s) = (15) ¯2
P
X ³ ´ P ³ ³ ´´ ¯
d˜0
(T )
+ d˜(T ) (T −1) X ¯
p Φp s, zd d˜p y ?φp tk , zd
(t) (t−1) (t)
− d˜0 y (tk )¯ (20)
p=1 ¯
p=1

It is clear that (15) can be simplified by cancelling In the time-domain, the basis functions φp (t)
(T −1) are orthonormal with respect to the time-domain
out the relocated basis function poles zd .
inner product (1 ≤ m, n ≤ P )
Therefore, it follows that the poles of the transfer
function are essentially the zeros of (14) at iter- Z∞
ation step T . Based on the minimal state-space hφm (t), φn (t)it = φm (t)φn (t)dt (21)
realization of D(T ) (s)/D(T −1) (s), 0
Since the Laplace transform is a unitary transfor-
mation from the time-domain to the frequency-
domain, this implies that
hLφm (t), Lφn (t)is = hφm (t), φn (t)it (22)

and
hL−1 Φm (s), L−1 Φn (s)it = hΦm (s), Φn (s)is (23)

It is noted that the basis functions (2)-(4) are


obtained by a Gram-Schmidt orthonormalization
on a set of partial fractions {1/(s + ap )}P p=1 ,
provided that the poles −ap are all stable (i.e.
located in the left half of the complex plane).
Therefore, a Gram-Schmidt orthonormalization
on the set of exponentials {e−ap t }P
p=1 in the time-
domain, will yield the inverse Laplace transform
of the frequency-domain basis functions (2)-(4). Fig. 1. Input and output signal of time-domain
It follows that the relevant time-domain functions data over the time interval [0 ns - 30 ns]
φp (t) are therefore given by the inverse Laplace
transform of Φp (s) (Titchmarsh, 1984).
The fact that no explicit expression is available for
these basis functions is of no consequence, because
equation (19) only needs the convolution of these
functions with the input and output signals u(t)
and y(t). To compute the filtered signals u ? φp (t)
or y ? φp (t), the state space realization of the
orthonormal basis functions Φp can be simulated
with input u(t) or y(t), respectively.
A direct application of equation (19) to the time-
domain samples {tk , u(tk ), y(tk )}K k=0 leads to a
t

set of equations which are linear in terms of the


coefficients dp and d˜p . Using these coefficients
(t) (t)

and the state-space realization of the basis func-


tions φp (which is equivalent to the realization of
Φp ), the transfer function (15) can easily be con-
structed. Based on this transfer function, the poles
(T )
zd of the frequency-domain transfer function can
be found by solving an eigenvalue problem, see
Fig. 2. Complex frequency response as a paramet-
section 3.3. Once the poles are known, the time-
ric curve in function of the frequency variable
domain transfer function can directly be obtained
s (Smith Chart).
by solving the coefficients γp as a linear problem.
¯ ¯2 An initial set of 104 starting poles is typically
Kt ¯X
X P ³ ´ ¯
¯ (T )
−zp,d tk ¯ chosen as proposed by (Gustavsen and Semlyen,
min ¯ γp u ? e − y(tk )¯ (24) 1999)
γp ¯ ¯
k=0 p=1

−ap = −αp + βp i, −ap+1 = −αp − βp i


5. NUMERICAL EXAMPLE αp = υβp (25)

The time-domain identification algorithm is ap- where the imaginary parts βp are linearly dis-
plied to calculate the transfer function of a passive tributed over the frequency range [0 − 3 GHz],
system, based on the transient input and output and υ = 0.01. The parameter υ is chosen suffi-
signal as partially shown in Figure 1. The system ciently small such that the initial poles result in
is excited with a Gaussian pulse, which is centered a well-conditioned system matrix. The distribu-
at t = 0.6 ns, with a width of 0.2 ns and a tion of the poles over the entire frequency range
height of 1 in normalized units. Figure 2 shows reduces the probability that poles must be relo-
the frequency response as a parametric curve in cated over long distances. It is clear that other
function of the complex frequency variable s. prescribed pole-location schemes are also possible,
Fig. 3. Time-domain OVF approximation and Fig. 4. Absolute fitting error of transient response
reference data over the interval [0 ns - 30 ns]. over the interval [0 ns - 30 ns]. (1 iteration,
υ = 0.05)
however they often require more pole-relocation
iterations.
Using the set of prescribed poles (25), the weighted
linear cost function (19) is solved iteratively, and
updated estimates of the model coefficients are ob-
tained. The poles, which define the time-domain
basis functions, are calculated in each iteration
by solving an eigenvalue problem that is based
on the estimated coefficients d˜p . This process is
(t)

repeated until the poles are converged.


In the final iteration, the time-domain basis func-
tions are based on the converged set of relocated
poles, and the overall transfer function is calcu-
lated by minimizing the cost function (24).
Due to the robustness of the orthonormal basis
functions, the time-domain OVF technique is less
sensitive to the initial pole specification than the Fig. 5. Magnitude response of OVF model com-
time-domain VF technique presented by (Grivet- pared to frequency-domain reference data
Talocia, 2004). As an example, the real part of the
basis function poles is chosen to be non-negligible
such that υ = 0.05, and the algorithm is allowed
to perform only 1 single iteration.
Figure 3 shows that the OVF technique provides a
highly accurate approximation of the time-domain
response, since there is no visible difference be-
tween the data and the transient response of
the model. As can be seen from Figure 4, the
maximal absolute error corresponds to 0.0032. If
the same calculations are performed using the
VF approach, then the maximal absolute error
corresponds to 0.0212, which results in significant
time-domain discrepancies.
As a means of validation, the OVF-calculated
transfer function is simulated in the frequency-
domain and compared to the reference spectral
response. Figures 5 and 6 confirm that an overall Fig. 6. Phase response of OVF model compared
good approximation is obtained, both in terms of to frequency-domain reference data
the magnitude and the phase.
Table 1. Maximum absolute fitting er- domain. IEEE Transactions on Power Deliv-
ror of transient response in successive ery 22(3), 1633–1642.
iterations (υ = 0.05) Deschrijver, D., B. Haegeman and T. Dhaene
(2007b). Orthonormal vector fitting: A ro-
Iteration VF OVF
bust macromodeling tool for rational ap-
1 0.0212 0.0032
2 0.0032 0.0015 proximation of frequency domain responses.
3 0.0032 0.0012 IEEE Transactions on Advanced Packaging
4 0.0017 0.0012 30(2), 216–225.
5 0.0012 0.0008 Goodwin, G.C., S.F. Graebe and M.E. Salgado
6 0.0010 0.0008 (2001). Control System Design. Prentice Hall,
Table 1 illustrates that both approaches even- NJ (USA).
tually converge to better, comparable results if Grivet-Talocia, S. (2004). The time-domain vec-
additional iterations are performed. This results tor fitting algorithm for linear macromodel-
from the fact that the initial poles, (which are ing. International Journal on Electronics and
selected in a non-optimal way) lead to a poor Communications (AEUE) 58, 293–295.
numerical conditioning in the first iterations. As Gustavsen, B. and A. Semlyen (1999). Ratio-
more iterations are performed, the poles are relo- nal approximation of frequency domain re-
cated to a better position, and the accuracy of the sponses by vector fitting. IEEE Transactions
fitting model improves gradually. Therefore, the on Power Delivery 14(3), 1052–1061.
OVF approach is preferable, as it is numerically Hendrickx, W., D. Deschrijver and T. Dhaene
more robust towards to initial pole specification. (2006). Some remarks on the vector fit-
ting iteration. In: Mathematics in Industry,
Some timing results on this example indicate that Springer-Verlag. pp. 134–138.
a single VF/OVF iteration takes 6.4 seconds on a Heuberger, P., P.M.J. Van Den Hof and
P4 2.4 GHz computer with 512 MB RAM. This B. Wahlberg (2005). Modelling and Identifi-
illustrates that the method is computationally cation with Rational Orthogonal Basis Func-
efficient, especially since the transfer function has tions. Springer-Verlag London.
a relatively high order (104 poles). Levi, E.C. (1959). Complex curve fitting. IEEE
Transactions on Automatic Control AC-
4, 37–43.
6. ACKNOWLEDGEMENTS Pintelon, R. and J. Schoukens (2001). System
Identification : A Frequency Domain Ap-
The authors thank Dr. Grivet-Talocia from Po- proach. IEEE Press. Piscataway, NJ (USA).
litecnico di Torino (Italy) for providing the data Pintelon, R., P. Guillaume, Y. Rolain,
sets which are used in the example section. J. Schoukens and H.V. Hamme (1994). Para-
metric identification of transfer functions in
the frequency domain - a survey. IEEE Trans-
7. CONCLUSIONS actions on Automatic Control 39(11), 2245–
2260.
A new approach is presented for time-domain Sanathanan, C.K. and J. Koerner (1963). Trans-
identification of transfer functions, based on tran- fer function synthesis as a ratio of two com-
sient port responses. The presented technique plex polynomials. IEEE Transactions on Au-
combines the use of a Sanathanan-Koerner iter- tomatic Control AC-8, 56–58.
ation and an orthonormal set of basis functions to Titchmarsh, E.C. (1984). Introduction to the The-
improve the numerical conditioning. It is shown ory of Fourier Integrals, 3rd edition. Oxford,
that the method is numerically robust, and able England : Clarendon Press.
to fit highly dynamic responses in an efficient way.

REFERENCES
Antonini, G. (2003). Spice equivalent circuits
of frequency-domain responses. IEEE Trans-
actions on Electromagnetic Compatibility
45(3), 502–512.
Brezinski, C. (2002). Computational Aspects of
Linear Control. Kluwer Academic Publishers,
Dordrecht (The Netherlands).
Deschrijver, D., B. Gustavsen and T. Dhaene
(2007a). Advancements in iterative methods
for rational approximation in the frequency

You might also like