• No results found

Equivalent prelter classes for least-squares estimates in prediction error identication

N/A
N/A
Protected

Academic year: 2021

Share "Equivalent prelter classes for least-squares estimates in prediction error identication"

Copied!
17
0
0

Loading.... (view fulltext now)

Full text

(1)

Equivalent prelter classes for least-squares estimates in prediction error identication

P. Carrette

Department of Electrical Engineering Linkping University, S-581 83 Linkping, Sweden

WWW:

http://www.control.isy.liu.se

Email:

carrette@isy.liu.se

April 9, 1998

REGLERTEKNIK

AUTOMATIC CONTROL LINKÖPING

Report no.: LiTH-ISY-R-2023

Submitted to IEEE Trans. Signal Processing and ECC-99

Technical reports from the Automatic Control group in Linkping are available by anony-

mous ftp at the address

ftp.control.isy.liu.se

. This report is contained in the com-

pressed postscript le

2023.ps.Z

.

(2)

Equivalent prelter classes for least-squares estimates in prediction error identication

P. Carrette - carrette@isy.liu.se

Department of Electrical Engineering, Linkoping University S-58183 Linkoping, Sweden

Phone: ++46-13-281311 and Fax: ++46-13-282622

Abstract

We present results about classes of prelters that may result in similar model estimates by use of the classical least-squares prediction error identication methods.

It will be seen that prelters belonging to a particular class have identical transfer function moduli. We also address the issue of a possibly best prelter within such equivalent classes. The result we obtain actually advocates for prelters having the shortest extended impulse response (dened even for IIR prelters).

Keywords

: prelters, least-squares estimates, prediction identication

1 Introduction

Black-box system identication deals with the estimation of parametric models for dy- namical systems based on input-to-output (I/O) data measured on these systems during particular operating conditions.

In linear system identication, one often postulates a particular relation between the sys- tem input and output measurements in terms of linear operators and output corrupting perturbations, i.e.

y ( t ) = G

0

( q ) u ( t ) + H

0

( q ) e ( t ) (1) where u ( t ) and y ( t ) respectively denote the input and output of the system while e ( t ) stands for perturbation samples, e.g. out of a white noise process with bounded moments.

The dynamics of the system lies in the linear operators G

0

( q ) and H

0

( q ) that are called the I/O and noise-to-output (N/O) system dynamics. Here, we only consider discrete time dynamics so that these operators are digital lters 1]. As no closed loop system conguration will be considered, we will assume these lters to be stable. Furthermore, note that H

0

( q ) is often postulated monic and inversely stable.

This work was supported by the Swedish Research Council for Engineering Sciences.

1

(3)

When performing the identication of the system in (1), it is classical to look for a parametric dynamical model whose output prediction 2] will be made as close as possible to the system output measurements. The model dynamics is chosen as

y ( t ) = G ( q ) u ( t ) + H ( q ) " ( t )

where G ( q ) and H ( q ) are parameterized linear dynamics while " ( t ) stands for the model prediction error. This prediction error, denoted " ( t ), is identical to the deviation between the system output and the prediction of the model output ^ y ( t ) that is written as y ^ ( t ) = H

;1

( q ) G ( q ) u ( t ) + ( H ( q )

;

1) y ( t )] (2) Note also that the N/O model dynamics, i.e. H ( q ), is often restricted to be monic while it has to be inversely stable for leading to a bounded model output prediction.

Now, given a set of I/O data measurements, i.e.

Z

0

N =

f

( y ( t ) u ( t ))  t

2T0

= 1 N ]

g



and a particular choice of the model dynamics complexity, the prediction error methods (see 2] as a reference book) intend to estimate the model parameters within the vector



2D  R

n so that a particular measure of the prediction error sequence is minimized.

Note that the parameter vector subset

D

is usually related to stable predictor dynamics.

Then, let us introduce the zero-extension of this original measurement set as

Z N =

f

( y ( t ) u ( t ))  t

2T0

and (0  0)  otherwise

g

(3) Thus, the estimated parameter vector associated to the time set

T

is written as follows :

 ^ (

T

) = argmin



2D

V ( Z N 

T

) (4)

for which the far most often used identication cost function is V ( Z N 

T

) = 1 N

X

t

2T

"

2

m ( t )

where " m ( t ) stands for the preltered prediction error \signal" based on the data set Z N , i.e. " m ( t ) = M ( q ) " ( t ) with M ( q ) denoting a stable prelter.

Note that, in case

T

=

T0

, the estimated parameter vector is the classical least square (LS) prediction error estimate (with prelter M ( q )).

In this paper, we deal with the prediction error preltering issue while analyzing the impact of particular choices of the time set

T

(accordingly to the prelter M ( q ) and, possibly, to  ) on the results of the system identication as presented above. More pre- cisely, we show that, when this time set is extended from the original set, i.e.

T0

, to a set for which the preltered prediction errors are no more corrupted by ltering edge eects,

2

(4)

the identication cost function becomes invariant over the class of prelters having the same transfer function modulus. This invariance property obviously propagates to the associated model parameter estimate. Furthermore, while restricting the time set

T

from the original time set, it is possible to distinguish best prelters out of a given equivalent prelter class. They are dened as the prelters for which the set of preltered prediction errors that are free from ltering edge eects is the most extended.

Therefore, we proceed as follows. In Section 2, we recall some properties of linear lter- ing as well as of ltered signal energy. In Section 3, we apply these ltering properties to our prediction identication framework. Then we derive the characterization of the equivalent class of prelters (associated to appropriate times sets) over which the related identication cost function is invariant. In Section 4, we evaluate the deviation between the dierent identication cost functions within such an equivalent prelter class. Then, given prelters out of this class, we derive time sets that lead to \edge eect"-free predic- tion error sets. The accuracy of the corresponding parameter estimates gives rise to the notion of best prelters out of that class. Finally, some simulations are given in Section 5 in order to illustrate the obtained results.

2 Some discrete time ltering properties

In this section, we intend to recall properties of discrete time ltering while putting into light problems occuring with nite length signals 1].

For the purpose of clarity, let us introduce our building blocks. There are three entities we will be dealing with.

Firstly, the (innite length) sequence s , i.e. s =

f

s ( t )  t

2Zg

with

Z

the set of integers, constitutes the zero-extension of a nite length sequence s

0

, i.e. s

0

=

f

s

0

( t )  t

2T0g

. Its samples satisfy

s ( t ) =



s

0

( t ) if t

2T0

0 otherwize

Secondly, the sequence s (

T

) is the zero-extension of the restriction of the sequence s to the time interval

T

. Thus, its samples satisfy s ( t

jT

) = s ( t ) for t

2T

and zero otherwise.

Obviously, for

T T0

, we have s (

T

) = s .

In the sequel, such (innite length) sequence is also called a \signal" with reference to the time argument, e.g. the signal s ( t ) for the sequence s .

Thirdly, the lter F ( q ) has a L f -length impulse response with real bounded coecients, i.e.

F ( q ) = q d f L

X

f

;1

i

=0

f i q

;

i (5)

where d f stands for a nite delay corresponding to a d f -forward time-shift operator.

Remark 1 This lter formulation may also hold in case of a stable innite impulse re- sponse (IIR) lter provided its \eective" length is less than L f with appropriate denition

3

(5)

of the delay d f , i.e. F ( q ) = q d f

P

i f i q

;

i and L f

j

f j f j

+

k

j 

X

0

i<L f f i

2 X

i f i

2

for any integer j provided

j

k

j

L f . The stability of the lter implies that the most right

hand side of these inequalities is nite.

2

Now, let us evaluate the ltered signals conformably to classical signal processing theory.

For simplicity, we rst consider the ltering of the signal s ( t ). We have s f ( t ) = F ( q ) s ( t ) (with abuse of notation)

= L f

;1

X

i

=0

f i s ( t + d f

;

i )

Obviously, the sequence s f is still the zero-extension of a nite sequence because s f ( k ) = 0 for

j

k

j

large enough. In fact, we can state that

T T

f = 1

;

d f N + ( L f

;

1)

;

d f ]

)

s f (

T

) = s f

Thus, s f (

T0

) = s f only in the case d f = 0 and L f = 1 that corresponds to a trivial dynamics for the lter, i.e. F ( q ) = f

0

.

In order to be complete, it is interesting to put into light the shortest time interval

T

for which the ltering of the signal s ( t

jT

) by F ( q ) is identical to the corresponding signal s f ( t

jT

). As s (

T0

) = s and s f (

T

f ) = s f , the set

T

is simply obtained by the union of these two time intervals. This is stated in the following lemma.

Lemma 1 Let the signal s ( t ) be nonzero only for t

2 T0

and let the lter F ( q ) have a (forward) delay d f and a length L f . Then,

T T



)

s f ( t

jT

) = F ( q ) s ( t

jT

) 

8

t

2Z

where

T

= 1

;

 ( d f ) N +  (( L f

;

1)

;

d f )] with  ( x ) = max(0 x ).

In Figure 1, we have drawn the dierent time sets that appear in the derivations.

Note that the time set

T

=

T

( d f L f N ) has the smallest number of elements when d f

2

0 L f ) for which we have ] (

T

) = N + ( L f

;

1).

With this result, we are ready to turn to energy considerations. Recall that the energy of any (innite length) sequence is given by its 2-norm square as

k

s

k22

=

P

t

2Z

s

2

( t ) where the samples s ( t ) are indeed dened over the whole time domain.

Here, it is easily seen that

k

s (

T

)

k2

=

k

s

k2

for any

T  T0

while

k

s f (

T

)

k2

=

k

s f

k2

for any

T T

f . Hence, by the denition of

T

, we have

k

s (

T

)

k2

=

k

s

k2

and

k

s f (

T

)

k2

=

k

s f

k2

(6)

4

(6)

-

r r

1

;

d f N + ( L f

;

1)

;

d f

r r

1 N

 r

 r

- r

d f d f

L f

;

1

Figure 1: The time set

T

( d f L f N ) (thick line) in the case d f

2

0 L f ).

The last step of our derivations is now to establish the link between the energy of the

ltered signals and the characteristics of the lter F ( q ) itself. Therefore, we use Parseval's identity relating the energy of any (innite length) sequence expressed in terms of its time representation and of its z -transform representation (see e.g. 1, Chap. 4]). It is written as

k

s f

k22

= 12 

Z



;



j

F ( e j! )

j2j

S ( e j! )

j2

d!

where S ( z ) =

P

t

2Z

s ( t ) z

;

t stands for the z -transform of s ( t ) with z = e j! . Then, by use of (6), we obtain

k

s (

T

)

k22

= 12 

Z



;



j

F ( e j! )

j2j

S ( e j!

jT

)

j2

d! (7) where S ( z

jT

) denotes the z -transform of s ( t

jT

) (identical to S ( z )).

In fact, this last relation constitutes the basis for the results that will be derived in the next sections. Let us comment it in order to put into light its characteristics:

This relation shows up two dierent ways of expressing the energy of a signal, i.e.

s f ( t

jT

), for which the well-known edge eects due to ltering has been removed by the appropriate choice of the time set

T

, i.e.

T

=

T

( d f L f N ).

In the right hand side of the Parseval's identity (7), we recognize the square modulus of the transfer function of the lter F ( q ). This means that this lter character is the basic issue for this relation to hold.

As the modulus of the lter transfer function, i.e.

j

F ( z )

j

, is invariant under delay operation, it is obviously seen that the lter delay d f only aects the time set extension of any

T T

( d f L f N ) (see Lemma 1).

As a partial conclusion, it is interesting to note that if two lters, i.e. F i ( q ) (for i = 1  2) with delay d i and length L f i , have the same transfer function modulus then the energies of the corresponding ltered signals, i.e. s f i ( t

jT

), are identical provided an appropriate denition of the time set

T

, i.e.

T T1 T2

with

T

i



=

T

( d f i L f i N ).

Finally, it is interesting to evaluate the impact of the edge eects due to ltering within

5

(7)

the original time set

T0

. More precisely, we intend to answer the following question: in which set

T

lie the time instants for which the nontrivial samples of the signal s f are found in the signal corresponding to the ltering of the original (nite length) signal s

0

( t ) by F ( q ) disregarding its initial conditions? In fact, this time set

T

is the largest for which the samples s f ( t ) are not inuenced by the zero-extension we have imposed.

Therefore, the following result holds.

Lemma 2 Let the signal s ( t ) be nonzero only for t

62 T0

and let the lter F ( q ) have a (forward) delay d f and a length L f . Then,

T T )

s f ( t ) = 0  t

2T

where

T

= 1 +  (( L f

;

1)

;

d f ) N

;

 ( d f )].

In Figure 2, we have schematically drawn the time set

T

=

T

( d f L f N ).

-

 r

1 + ( L f

;r

1)

;

d f N

;

d f

r r

1 N

 r

 r

- r

d f

d f

L f

;

1

Figure 2: The time set

T

( d f L f N ) (thick line) in the case d f

2

0 L f ).

Note that it can be called the \edge eect"-free time set. Furthermore, it has the largest number of elements when d f

2

0 L f ) for which we have ] (

T

) = N

;

( L f

;

1). It obviously depends on the length of the lter.

3 Prediction prelter equivalence class

In this section, we apply the result obtained in expression (7) to the prediction error identication cost function presented in the introduction. This will allow us to dene a time set

T

p



for which this identication cost function, i.e. V ( Z N 

T

p



), becomes invari- ant under prelters, i.e. generically denoted M ( q ), belonging to an appropriately dened prelter class that we intend to characterize.

In the framework of least squares prediction error identication, it is seen that the iden- tication cost function is nothing else but the mean energy of the preltered prediction error samples, i.e. " m ( t ) = M ( q ) " ( t ), evaluated over a subset of the zero-extended data set Z N , i.e.

V ( Z N 

T

) = 1 N

X

t

2T

"

2

m ( t )  (8)

6

(8)

Before elaborating on this expression, let us analyze the properties of the lter that links these preltered prediction error \signal" to the samples taken from this data set.

First, as it appears from the expression (2), the prediction error \signal" originates from the ltering of the zero-extended input and output signals by the predictor dynamics.

More precisely, we have

" ( t ) = H

;1

( q ) y ( t )

;

H

;1

( q ) G ( q ) u ( t )

From this expression, let d p (  ) and L p (  ) respectively denote the delay and the length characteristics of the class of lters (see the formal denition in (5)) to which these two prediction dynamics belong. Note that the causality of the model dynamics implies that the delay is nonpositive, i.e. d p (  )

0. In fact, due to the monotonicity of the model noise dynamics, this delay d p (  ) is zero whenever this dynamics is present.

Furthermore, the quantity L p (  ) is identical to the length of the most extended impulse response between that of \ H

;1

( q )" and of \ H

;1

( q ) G ( q )" at  .

Note that it is valuable to extend these two prediction lter characters to a subset of the parameter vector  set, i.e.

DR

n . This leads to

d p =

;

min 

2D

j

d p (  )

j

and L p = max 

2D

L p (  ) (9)

For example, in the case of ARX models, the delay d p cancels out while the length L p

only depends on the model complexity. Indeed, if A ( q ) and B ( q ) denote the ARX polynomials, i.e. H

;1

( q ) = A ( q ) and  H

;1

( q ) G ( q )] = B ( q ) with B ( q ) having a (negative) delay d b , then it is easily found that

( L p (  ) =) L p = max( L a L b +

j

d b

j;

1)

where L a and L b are the numbers of parameters in A ( q ) and B ( q ), respectively.

Secondly, the preltered prediction error \signal" " m ( t ) is obtained by ltering the above prediction error \signal" " ( t ) by the (generic) prelter M ( q ) whose characteristics are a delay d and a length L , say. In other words, the preltered prediction errors are related to the (zero-extended) input and output signals by global lters F ( q ) that can be described with a delay d f and a length L f respectively identical to

d f = d + d p and L f = L + ( L p

;

1) for any 

2D

.

Now, we are ready to apply the results derived in the expression (7) to the identication cost function in (8). This leads to the following theorem.

Theorem 3 Let the zero-extended data set Z N and the prediction lter characters d p

and L p (see expression (9)) be given. Then, provided 

2D

and

T T

p



( L ) with

T

p



( L ) = 1

;

 ( L

;j

d p

j

) N + ( L + L p

;

2) +

j

d p

j

] 

7

(9)

the quantity V ( Z N 

T

) is invariant under prelters M ( q ) belonging to the equivalent class

M

( L

j

M

j

) dened as

M

( LX ) =

(

M ( q ) = q d L

X;1

i

=0

m i q

;

i











d

2

0 L ) 

j

M ( z )

j

= X ( z ) for

j

z

j

= 1

)

where X ( z ) is a positive function over

j

z

j

= 1 that represents the modulus of the transfer function of any prelter belonging to this class.

Proof: First, the prelters belonging to the equivalent class

M

( L

j

M

j

) have characters d and L with d

2

0 L ).

Then, with F

1

( q ) = M ( q ) H

;1

( q ) and F

2

( q ) = M ( q )  H

;1

( q ) G ( q )], we have that

T

p



( L )

T

( d p + Ld f

1

(  ) L f

1

(  ) N )

T

( d f

2

(  ) L f

2

(  ) N )

as d p

0, d p

d f i (  )

L + d p and L f i

L + ( L p

;

1) (with i = 1  2) for any 

2 D

. This implies that

" m ( t

jT

) = F

1

( q ) y ( t

jT

)

;

F

2

( q ) u ( t

jT

) for

T T

p



( L ).

Hence, the result in expression (7) can be applied. It straightforwardly yields N 1

X

t

2T

"

2

m ( t ) = 1 2  N

Z



;



j

M ( e j! )

j2

j

H ( e j!  )

j2





Y ( e j!

jT

)

;

G ( e j!  ) U ( e j!

jT

)

2

d!

where U ( z

jT

) (resp. Y ( z

jT

)) denotes the z -transform of the (innite length) sequence u (

T

) (resp. y (

T

)). The left hand side of this expression is identical to the identication cost function on the considered time set, i.e. V ( Z N 

T

), while its right hand side is obviously invariant under prelters having the same transfer function modulus with d

2

0 L ), i.e. M ( q )

2 M

( L

j

M

j

).

In Figure 3, we have depicted the time set

T

p



( L ) =

T

p



( Ld p L p N ) for which the delay d p

-

r r

1

;

( L

;j

d p

j

) N + ( L + L d

;

2) +

j

d p

j

r r

1 N

- r

 r

- r

- r

j

d p

j

L

j

d p

j

L + L p

;

2

Figure 3: The time set

T

p



( Ld p L p N ) (thick line) in the case

j

d p

j

L .

is nonpositive. As mentioned above, this delay is zero whenever a model noise dynamics

8

(10)

is present.

It is interesting to note that any linear phase non-causal prelter M ( q ) belongs to an equivalent class

M

( L

j

M

j

) that at least contains a causal prelter, provided the impulse response length L is chosen appropriately. For example, if we consider M ( q ) = R ( q ) R ( q

;1

) to be a zero-phase non-causal prelter with R ( q ) a L r -length causal lter then M

0

( q ) = R ( q ) R ( q ) is a causal lter having a (2 L r

;

1)-length impulse response

1

. Thus, we obviously have that these two prelters belong to

M

(2 L r

;

1 

j

R

j2

).

As an immediate consequence of Theorem 3, the model parameter estimate resulting from the minimization of the related identication cost function, i.e.

 ^ (

T

) = argmin 

2D

V ( Z N 

T

) for

T T

p





inherits the invariance property over the equivalent class

M

( L

j

M

j

) of prediction error prelters.

Finally, let us consider the situation where the time set on which the identication cost is evaluated is identical to the original interval

T0

. Due to the fact that L > 0, this means that the invariance of this cost value with respect to prelters M ( q ) belonging to the class

M

( L

j

M

j

) does not hold anymore. Nevertheless, the time set

T

p



( L ) can still be used as an intermediate for inferring the inuences of such prelters onto the corresponding identication cost values.

It is actually seen that the possible dierence between two such values becomes marginal for increasing numbers of data measurements. Indeed, it is easy to derive that

V ( Z N 

T0

) = V ( Z N 

T

p



( L ))

;

1 N

X

t

2T

p

(

L

)nT0

"

2

m ( t )

Obviously, the contribution of the second term in the right hand side has a relatively decreasing impact on the cost value for increasing number of data because it remains generated by a constant number of preltered prediction error samples that is

#(

T

p



( L )

nT0

)

2 L + L p

;

2

This then implies that the identication cost function is asymptotically invariant under the application of prelters belonging to the same equivalent class. So will be the corre- sponding model parameter estimates, i.e. ^  (

T0

).

As a conclusion, we can mentioned that this is a well-known result from the frequency do- main interpretation of the model parameter estimation while considering the asymptotic situation of an innite number of data measurements 2, chap. 8].

1

These two prelters are easily implemented by use of \

filtfilt

" and by the double use of \

filter

"

(in Matlab) with the lter

R

(

q

), respectively.

9

(11)

4 Best prelter within an equivalent class

The last part of the preltering issue deals with the deviation between dierent least- squares estimates ^  (

T

) (from the minimization in (4)) obtained while using prelters belonging to the same equivalent class, i.e. M ( q )

2M

( LX ), say.

This issue is related to the question of the existence of a possibly best prelter given an equivalent class. Actually, this question is rather tricky to answer because we must state what best means under this preltering issue. Here, we will consider the following assumption as a starting point for the comparison between dierent parameter estimates.

Assumption 1 There exists a monic (causal) prelter M

0

( q ) dening the equivalent class

M

( L

j

M

0j

) so that

G ( q

0

) = G

0

( q ) as well as H ( q

0

) = H

0

( q ) M

0

( q )

for 

0 2DR

n .

2

This assumption refers to the fact that the system dynamics belongs to the preltered model set. In that case, the prelter M

0

( q ) can be seen as a priori known contributions to the N/O system dynamics, e.g. pole locations.

Then, we may look for the prelter M ( q ) belonging to the equivalent class

M

( L

j

M

0j

) such that the corresponding model parameter estimate is the closest to 

0

in some sense.

First of all, it is important to note that some edge eects remain hidden in the origi- nal identication cost V ( Z N 

T0

). By that we mean that we cannot pretend that the restriction of the sequence " m ( 

jT0

) to the original time set, i.e.

f

" m ( t

jT0

)  t

2 T0g

, is a part of the sequence that would have been generated by an innitely long original data set (except in case initial conditions are known when applying the prelter as well as of the prediction lters to the data measurements). In fact, only a restriction of that subsequence is!

With the help of Lemma 2, we can state the following result whose proof is left to the reader.

Theorem 4 Let the zero-extended data set Z N and the prediction lter characters d p

and L p (see expression (9)) be given. Let the prelter M ( q ) have delay d and length L with d

2

0 L ). Then, provided 

2D

,

T T

p ( dL )

)

" m ( t ) = M ( q ) H

;1

( q ) y ( t )

;

G ( q ) u ( t )]









i:c:  t

2T

where

T

p ( dL ) = 1 + ( L + L p

;

2)

;

( d

;j

d p

j

) N

;

 ( d

;j

d p

j

)] and \

j

i:c: " means that correct initial conditions are used in the prediction lters and prelter application.

10

(12)

-

 r

1 + ( L + L p

;r

2)

;

( d

;j

d p

j

) N

;

( d

;j

d p

j

)

r r

1 N

- r

 r

-

r

- r

 r

j

d p

j j

d p

j

d L + L p

;

2 d

Figure 4: The time set

T

p ( dLd p L p N ) (thick line) in the case

j

d p

j

d

2

0 L ).

In Figure 4, we have represented the time set

T

p ( dL ) =

T

p ( dLd p L p N ) in the case

j

d p

j

d

2

0 L ). Note that in this situation, the number of elements of this set is iden- tical to ] (

T

p ( dL )) = N

;

( L + L p

;

2). Hence, the smaller the length of the prelter, the larger that number. Surprisingly enough, it is independent of the delays within the prediction lters and the prelters.

Now, let us evaluate the expectation (over the characteristics of the system white noise) of the identication cost function for this particular time set in situations where Assump- tion 1 holds. It is shown that, provided the prelter is taken in the equivalent class

M

( L

j

M

0j

) with L larger than the length of the prelter itself, this expectation cost is minimum at 

0

and its value only depends on the length of the time set corresponding to the chosen prelter.

More precisely, the following results holds.

Theorem 5 Let the original data set Z

0

N be given. Let Assumption 1 holds and the pre-

lter M ( q ) (having a delay d m and a length L m ) belongs to

M

( L

j

M

0j

). Then, provided



2D

,

E ( V ( Z N 

T

pm ))



E ( V ( 

0

Z N 

T

pm )) = #(

T

pm )

N

0

where

T

pm =

T

p ( d m L m ) (for short) and

0

is the variance of the system white-noise.

Proof: for 

2D

, the expectation of the identication cost function is written as E ( V ( Z N 

T

pm )) = 1 N

X

t

2T

pm

E ( "

2

m ( t ))

= 1 N

X

t

2T

pm

n



M ( q ) H

;1

( q )( G

0

( q )

;

G ( q )) u ( t )

2

+ E



M ( q ) H

;1

( q ) H ( q

0

) M

0;1

( q ) e ( t )

2 o

because the system input and noise sequences are decorrelated, i.e. E ( u ( t ) e ( t + k )) = 0 for all k . The rst term in the last expression is minimum at 

0

for which it cancels out. The

11

(13)

second term is more tricky to analyze but it is also seen to be minimum at 

0

while using the ergodic property of the system white-noise (in order to make the time set innitely large) as well as the derivation in 2, p. 226] after getting to frequency domain.

As a consequence, the quantity E ( V ( Z N 

T

pm )) is minimum at 

0

for which it is iden- tical to

E ( V ( 

0

Z N 

T

pm )) = #(

T

pm )

N

0

This completes the proof.

For what concerns the model parameter estimate, we can mention that the classical asymp- totic (in N ) characterization of the statistical moments of the minimizing solution of prediction identication cost function 2, chap. 8-9] holds. That is to say that

N lim

!1

;

V ( Z N 

T

pm )

;

E ( V ( Z N 

T

pm ))

= 0

so that



#(

T

pm )

1

=

2;

 (

T

pm )

;



0 ;!

AsN (0 

P

) as N

!1

(10) where

P

is a covariance matrix that is independent of N and invariant under the equivalent class

M

( L

j

M

0j

) for any L



L m .

With this result and Theorem 4 in mind, it is possible to answer the question relative to the dierent performance of prelters belonging to a particular prelter in

M

( L

j

M

0j

) with respect to the model parameter estimation.

This actually lies in the number of elements in the time set

T

p ( d m L m ). As this number increases for smaller L m (provided

j

d p

j

d m

2

0 L m ), no additional delay in M ( q )), we can state that prelters M ( q ) having shorter impulse response (eective) extents lead to more accurate model parameter estimates in view of expression (10). Then, we would say that

the best prelter belonging to a given equivalent class is the one whose impulse response has the shortest extent.

Of course, nding this \best" prelter is an optimization problem that minimizes a time domain character (its impulse response length) under a frequency domain constraint (its transfer function modulus). Furthermore, the prelter order is part of the optimization.

5 Simulations

The aim of this simulation section is twofold:

Illustrate the fact that the time set

T

p



( L ) derived in Theorem 3 leads to model parameter estimates ^  (

T

p



( L )) that are invariant under the use of prelters M ( q ) belonging to the same equivalent class, i.e.

M

( L

j

M

j

).

12

(14)

Demonstrate the expression for the accuracy of the model parameter estimate

 ^ (

T

pm ), i.e. minimizing solution of V ( Z N 

T

pm ) dened over the associated \edge eect"-free time interval

T

pm , for prelters M ( q ) having dierent impulse response (eective) length in case M

0

( q ) = 1 in Assumption 1.

Therefore, the system dynamics is chosen as

(1

;

1 : 5 q

;1

+ 0 : 7 q

;2

) y ( t ) = (1 + 0 : 5 q

;1

) u ( t

;

1) + e ( t )

which is an ARX dynamics. The input signal is a pseudo-random binary sequence having values in the set

f;

1  1

g

while the system noise process is a Gaussian white-noise with variance

0

= 0 : 01. The original data set Z

0

N containing N = 1000 I/O measurements.

The model dynamics is chosen as a (2  2  1)-ARX structure so that the true parameter vector is identical to 

0

= 

;

1 : 5  0 : 7  1  0 : 5] T (in order to satisfy Assumption 1 with M

0

( q ) = 1). The number of parameter of this model structure is n = 4. Note that any prediction lter has a delay d p that is zero and a length L p that is identical to

L p = max( L a L b +

j

d b

j;

1) = max(3  2) = 3 independently of  because of the ARX structure.

First, we consider the application of two dierent prelters belonging to the same class.

These prelters are dened as follows. Let R ( q ) be a 4-th order Butterworth lter with a cut-o frequency identical to 0 : 2 times the half sampling frequency

2

. Then, the two prelters are M

1

( q ) = R ( q ) R ( q

;1

) (being zero-phase non-causal) and M

2

( q ) = R ( q ) R ( q ) (being causal), respectively. The impulse response of these two prelters are given in Fig- ure 5. The corresponding equivalent class is

M

( L

j

R

j2

) with L chosen as an upper-bound for the (eective) extend of these two impulse responses. Under a tolerance identical to 10

;11

, we take L = 220. For what concerns the prelter delay, the zero-phase property of M

1

( q ) implies d

1

= L= 2 while the causality of M

2

( q ) imposes d

2

= 0.

Now, the time set

T

p



( L ) is evaluated as

T

p



( L ) = 1

;

 ( L

;j

d p

j

) N + ( L + L p

;

2) +

j

d p

j

] = 

;

219  1221]

for L = 220. The estimation of the model parameter estimate, i.e. ^  (

T

p



( L )), correspond- ing to the application of the prelter M i ( q ) is denoted ^  pi



and is evaluated by use of an ARX routine that does not take care of the edge eects generated by the predictor dynamics (as these have been eliminated by the extension of the data set). We obtain the following estimates:

 ^



pi = 

;

1 : 511  0 : 7056  1 : 053  0 : 4092] T with i = 1  2 for which we (not surprisingly) have computed

k

 ^ p

1;

 ^ p

2k2

= 4 : 6074 10

;15

!

2

This refers to the Matlab command \

butter

"(4



0

:

2).

13

(15)

−20 −10 0 10 20 30 40

−0.05 0 0.05 0.1 0.15 0.2

Figure 5: Impulse responses of the pre-

lters:

M1

(

q

) in (

|

) and

M2

(

q

) in (

;;

).

0 20 40 60 80 100 120 140

10−10 10−5 100

L

Figure 6: Quantity

k

^



pi

;

r

k2

for the time set

T

p



(

L

):

i

= 1 (

|

) or 2 (

;;

).

To get more illustrative results, we can vary the length L without changing the prelters.

For example, dene a reference model parameter estimate, denoted  r for either prelter as the vectors ^  pi



become closer to one another for increasing L , while taking L very large. Then, for dierent values of L , we can evaluate the deviation between the model parameter estimates ^ 



pi (according to such L ) and that  r , i.e.

k

 ^ pi

 ;

 r

k2

as a function of L . The result is depicted in Figure 6 for  r taken as the average between the two ^  pi



for L = 500. This is a semilog-plot that reects the exponential decaying of the impulse responses of the prelter used. It is also interesting to note that the causal prelter, i.e.

M

2

( q ), generates less edge eects when L > 40. This is due to the fact that this prelter has a shorter impulse response (eective) length for a given tolerance.

To end with this part of the simulations, we can mention that if the two prelters do not belong to the same equivalent class then the deviation between the two model parameter estimates really depends upon the system noise by classical asymptotic formulas. For example, if we take M

3

( q ) = R ( q ) as a prelter then we obtain

k

 ^



pi

;

 r

k2

= 7 : 1101 10

;2

for L = 220. Obviously, this result has nothing to do with the preceding deviations!

The second part of our simulations deals with the statistical moments of the model pa- rameter estimate ^  (

T

p ( d m L m )) while taking care of removing the edge eects that are present when evaluating the preltered prediction errors related to the original data set Z

0

N .

In order to satisfy Assumption 1, let the reference prelter be M

0

( q ) = 1 that leads to an equivalent class of prelters identical to

M

( L 1) for a given L . Thus, the system dynam- ics belongs to the preltered (by M

0

( q )) model structure, i.e. the corresponding model parameter vector is 

0

. The result derived in Section 4 stipulates that if the prelters belong to that equivalent class, the statistical moments of the associated estimates are

14

(16)

0 5 10 15 20

−0.4

−0.2 0 0.2 0.4 0.6

Figure 7: Impulse response of the all-pass lter

Q

(

q

).

asymptotically expressed by formula (10). To illustrate this result we will consider three causal prelters generated by a reference causal and all-pass lter denoted Q ( q ). These prelters are

M

0

( q ) = 1 M

1

( q ) = Q ( q ) M

2

( q ) = Q

2

( q ) while the lter Q ( q ) is chosen as

Q ( q ) =

;

0 : 512 + q

;3

1

;

0 : 512 q

;3

whose impulse response is presented in Figure 7. For a tolerance 10

;10

, the (eective) length of this impulse response is L q = 105. The length of the dierent prelters is simply L

0

= 1, L

1

= L q and L

2

= 2 L q

;

1, respectively. These lengths will be used in the evaluation of the corresponding \edge eects"-free time sets, i.e.

T

pi = 1 + ( L i + L p

;

2)

;

( d

;j

d p

j

) N

;

 ( d

;j

d p

j

)] =  L i + 2 N ]

as d = 0 and L p = 3, over which the identication cost function V i ( Z N 

T

pi ) is dened.

Finally, the minimizing solution of this cost function is denoted ^  pi whose statistical moments are given in the expression (10), i.e. no bias with respect to 

0

and a variance that only depends on the number of elements in the corresponding time-domain set, i.e.

#(

T

pi ) = N

;

L i

;

1.

In order to compute these moments, we have performed 400 Monte-Carlo simulations of the data set Z

0

N for a given input signal. For each experiment, we have computed the model parameter estimates ^  pi . The results are presented in Table 1 where we have shown the statistical moments of  pi = #(

T

pi ) =N ]

1

=

2

 ^ pi . Obviously, this table completely validates our derivations: no bias and variances inversely proportional to the number of

\edge eect"-free data in the corresponding time set, i.e. #(

T

pi ).

15

(17)

i 0 1 2

k

Bias(  pi )

k22

3.3011 10

;8

2.3403 10

;8

4.9329 10

;8

Var(  pi ) 2.9561 10

;5

2.9230 10

;5

2.9526 10

;5

MSE(  pi ) 2.9594 10

;5

2.9254 10

;5

2.9576 10

;5

Table 1: Statistical moments of the \normalized" model parame- ter estimates



pi = #(

T

pi )

=N

]

1

=

2 

^ pi with respect to

0

.

6 Conclusions

In this note, we have address the issue of the use of prelters in prediction error identica- tion methods. We rst have derived equivalent classes of prelters whose characteristics are essentially to have identical transfer function moduli. That is to say that the phase of the prelter transfer functions does not play any particular role in the model estimates.

In other words, the prelter causality is not an issue for characterizing the equivalent class, i.e. given a noncausal prelter, one can always nd an equivalent causal prelter that will lead to the same parameter estimate for the identied model.

On the other hand, beyond an equivalent class, we have advocated for a best prelter which is the one whose impulse response has the shortest (eective) extend.

It thus appears that the problem of nding such a best prelter given a particular func- tion transfer modulus is an optimization problem that mixes frequency domain constrains with time domain length minimization.

References

1] M. Bellanger. Digital processing of signals. John Wiley and Sons, 1984.

2] L. Ljung. System Identication: theory for the user. Prentice Hall, 1987.

16

References

Related documents

[r]

It turns out that it is possible to describe the basic algorithm as a variation of the Gauss-Newton method for solving weighted non-linear least squares optimization prob- lems..

F¨ or varje yttre scenario genereras ett antal inre scenarion, genom att tillg˚ angspriserna simuleras ¨ over ytterligare en tidsperiod, t 1 till t 2.. Detta tidsspann utg¨ or den

It appears that, due to nite numerical accuracy within the computer calculations, the regularization parameter has to belong to a particular range of values in order to have

The conven- tional least-squares method only extracts the information of the highest (the n th) order model, while with the same amount of computational eort, the MMLS

In this paper, we will be focusing on the augmented data matrix X  and show that the least-squares problem de ned in (2) actually contains much more information than just the

It is also based on (23), but the weighting does not take the statistics of the impulse response estimate into account. In the case of white input, and using the same length for

The relationships between C fluxes (total CH 4 and CO 2 emissions, CO 2 -equivalent balance), the fraction of CH 4 oxidized, potential CH 4 oxidation rate, productivity