17
Observer based 2-D filter design Citation for published version (APA): Eising, R. (1981). Observer based 2-D filter design. (Memorandum COSOR; Vol. 8115). Technische Hogeschool Eindhoven. Document status and date: Published: 01/01/1981 Document Version: Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers) Please check the document version of this publication: • A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website. • The final author version and the galley proof are versions of the publication after peer review. • The final published version features the final layout of the paper including the volume, issue and page numbers. Link to publication General rights Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal. If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement: www.tue.nl/taverne Take down policy If you believe that this document breaches copyright please contact us at: [email protected] providing details and we will investigate your claim. Download date: 20. Jul. 2021

Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

Observer based 2-D filter design

Citation for published version (APA):Eising, R. (1981). Observer based 2-D filter design. (Memorandum COSOR; Vol. 8115). Technische HogeschoolEindhoven.

Document status and date:Published: 01/01/1981

Document Version:Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)

Please check the document version of this publication:

• A submitted manuscript is the version of the article upon submission and before peer-review. There can beimportant differences between the submitted version and the official published version of record. Peopleinterested in the research are advised to contact the author for the final version of the publication, or visit theDOI to the publisher's website.• The final author version and the galley proof are versions of the publication after peer review.• The final published version features the final layout of the paper including the volume, issue and pagenumbers.Link to publication

General rightsCopyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright ownersand it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights.

• Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain • You may freely distribute the URL identifying the publication in the public portal.

If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, pleasefollow below link for the End User Agreement:www.tue.nl/taverne

Take down policyIf you believe that this document breaches copyright please contact us at:[email protected] details and we will investigate your claim.

Download date: 20. Jul. 2021

Page 2: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

EINDHOVEN UNIVERSITY OF TECHNOLOGY

Department of Mathematics and Computing Science

STATISTICS AND OPERATIONS RESEARCH GROUP

Memorandum COSOR 81-]5

Observer based 2-D filter design

by

Rikus Elsing

Eindhoven, the Netherlands

November 1981

Page 3: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

OBSERVER BASED 2-D FILTER DESIGN

by

Rikus Eising

Eindhoven University of Technology Department of Mathematics and Computing Science P.O. Box 513 5600 MB Eindhoven The Netherlands

Abstract

In this paper it is shown that recursive local state estimators (related

to Roesser models) can be constructed uaing global state observers. (related

to column to column propagation models). These observers can be designed

based on a result (pole assignment) of algebraic 2-D systems theory.

Page 4: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 2 -

Introduction

In this paper an observer based filter design algorithm is described for

a 2-D system. The method is an application of algebraic 2-D systems theory

(the 2-D system is considered a I-D system over a ring. See [3], [5J).

Let a 2-D system be given by a Roesser model (see [8J). Such a model con-

sists of the follwing set of partial difference equations.

~+I,h Al A2 ~h Bt G1

(1) = + ~+ "kh '

Sk,h+1 A3 A4 Skh B2 G2

Ykh = ( C1 C2 )[ ~ 1 + DWkh

Here the vectors ~h and Skh denote the local state variahles. The input

~h is assumed to be known and vkh,wkh denote independent Gaussian white

noise processes.

The problem is to estimate ~h and Skh for all k and h given the output

(and the input) Yk h for kI ~ k and hI ~ h. In [I] it is shown that a l' 1

least squares estimate of ~ and Skh cannot be constructed, given the

output and the input on the above index set, using a straightforward gene-

ralization of the I-D concept of "observer". If this were possible one

would have the 2-D analogue of the Kalman. filter (optimal observer). Of

course, one might use a Wiener filter here but this does not allow a re-

cursive solution of the problem. RecursibUity ia very important here

Page 5: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 3 -

because of the huge amount of data involved in 2-D signal processing.

One might view the Roesser model as a I-D (column to column propagation)

model. An advantage would be its I-D character but a disadvantage definite­

ly is its high (infinite) dimensionality. This I-D approach does not al­

low a recursive (in both directions) solution of the least squares estima­

tion· problem. The solution would be a very high order Kalman filter which

is not very attractive. Even if one might be able to compute the gains of

such a filter the implementation of this filter might give rise to serious

problems because generally the recursibility in hoth directions would he

lost. See C9J. Of course, one might be content with approximations and

then one can use the fact that the operators descrihing the Kalman filter

can be reasonably well approximated by Toepli tz operators (see [9IL These

Toeplitz operators can be implemented usingFFT algorithms.

In [1J one chooses a different approach. A SUboptimal observer is construct­

ed, using a straightforward generalization of the structure of I-D ohser­

verso The selection of gains is based on some characteristics of the error

covariance. Because of the structure chosen in [1] one has to solve a feed­

back stabilization problem for ;a:":.2~D- syS1:.em given by the Roesser model. How­

ever, up to now this stabilization problem has not been solved (2-D pole

assignment analogue).

In the next we will describe a filter design method which preserves recur­

sibility in both directions and on the other hand offers the possibility

to obtain arbitrary dynamics for the error equation of the esti~tor. The

parameters of the estimator (filter) may be adjusted -mITg error covari­

ance information. It will be shown that a large number of observers (esti­

mators) can be parameterized by a relatively small number of gain factors,

Page 6: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 4 -

Results

The Roesser model (1) can also be written as (column to column propagation)

~+I,O AO 0 0 1 ~,O BO 0 0 ~,O " ~+1,1 Al AO ~\I ~,1 8} BO 0 ~,) ,

= A '~l

+ +

~+1,2 A2 At ~2

1 82 81 EO ~,2 .. '\ ~ I , <, , , . .

\ .< i '\ ., J ' , \

, , \ J l

Go 0 0 vk,O ~

G) GO 0 vk 1 (2) +

,

G,Z G1 GO " vk Z

... , , .

Yk,o Co 0 0 ~,O V 0 0 wk,O

Yk,l C1 Co 0 , ~1 0 V o • wk I , , ,

= , +

Yk,2 C2 C} C ' 1\2 0 0 V'

l wk2 0 • \ ,

This is an infinite dimensional l-D system mere the operators are all 10-

wer (block) Toeplitz operators (same matrices along the diagonals). We will

suppose the initial conditions to be zero. This is just for convenience,

it is not really a restriction. The matrices A. , 8. , G. , C. , V are ~ 1 1 1

determined by the matrices A] , A2 ' A3 ' A4, Bl ' Bz ' G] , G2 ' C1 ' C2 '

D in the ROesser model (1). This kind of system description is closely

Page 7: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 5 -

related to [6J. An equivalent way of describing the above infinite dimen-

sional )-D system is the following.

~+l(S) == A(s)~(s) + B(s)~(s) + G(s)vk(s} ,

(3)

Yk (s) == C(s)~(s) + D wk(s)

Here <XI

-h ~(s) - L ~s

h-O co

-i A(s) == L A.s i-O 1.

and the other variables are defined analogously. The infinite summations

are just formal power series. There is, no convergence involved yet. See [31,

[5J. We can now show how the parameters in'(2~ -relatreto the parameters in (1) •

In fact we have

A(s) Al -1 - + AZ lsI - A41 A3

B(s) - B) + A2 LsI - A41-1 H2

G(s) G1 -1

== + A2 CsI - A41 G2

C(s) C] + C2 -1 ... CsI - A41 A3

Therefore we have

and analogously for the other matrices involved. We will suppose A4 to have

eigenvalues strictly in the unit circle.

Page 8: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 6 -

Now we have obtained a J-D system over the ring of I-D transfer functions

(in the variable s) as an equivalent description of (J) and (2). It can

be shown that (3) is a global state space model for the 2-D system given

by the local state space model (1), see [3], [5]. The problem of state

estimation is now: Find an estimate ~(s) for ~(s) based on the inputs

~ (s) for k J S k and the outputs Yk (s) for k J S k. Furthermore this has 1 ]

to be done in such a way that the estimator for ~h only uses ~ hand l' 1

YkJ,h1

for hI S h (and k) S k). (This is not crucial for recursibility be-

cause weakly causal systems could be used (see [4]). We have chosen to

do so because our results can directly be interpreted in terms of Roesser

models. To this end we may proceed as in the I-D case where th.e analogue

of this problem is solved by means of an observer.

The structure of an observer for (3), meeting all requirements described

above, is completely analogous to the I-D case. We have (formally)

(4) ~+l(s} = A(s}~(s) + B(s)~(s) ... K(s) [Yk(s) - C(s)1\(s)] •

Here ~(s) denotes the estimate for 1\:(s}, Observe that the input and the

output of the original system are inputs to the observer. Let us define

the error

~(s) = ~(s) - 1\:(8) •

Then we have

Page 9: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 7 -

Next we define the expectation operator E for formal power series

E { ~ (s) }=

Thus we obtain

-11. s

(5) E { ~+1 (s)} = [A(s} - K(s) C(s)] E{~ (s)}

We have

because wkh and vkh are white noise processes.

As in the case of I-D systems (over the real nu:mbers) we want the error

to tend to zero (for k -I- co). Thus we have to choose K(s) such that (5) re-

presents an asymptotically stable system. Therefore we should be able to

choose K(s) such that

(6) . -1

[zI - A(s) + K(s) C(slI

is a stable 2-D transfer matrix.

The denominator of this transfer matrix is

det[zI - A(s) + K(s} C(slJ

multiplied by some polynomial in s due to the fact tliat A.(s), C(s), K(s)

are (rational) transfer matrices themselves. Stability of (6) is obtained

if A(s), C(s), K(s) are stable I-D transfer ~trices and if

Page 10: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 8 -

det[zI - A(s) + K(s) c(s)1 ~ 0 Izl ~ I,[s! ~ 1 •

It is possible to construct K(s) such that (6) is stable if the pair

(C(s),A(s» satisfies an observability condition. The right notion of ob­

servability is here (AT(s),CT(s» is a reachable pair which means that

T T T T n-1 T [C (s),A (s) C (s), ••• ,(A (s) C (s)]

has a right inverse over the ring R of stable proper transfer functions

(in the variable s), see [51, [3].

(A rational function p~s~ is called stable if q(s) ~ o,lsl ~l and it is q s

called proper if the degree of q(s} is not less than the degree of p(s) ).

In fact we have the following theorem.

Theorem (pole assignment).

Let A(s) be an n x n-,natrix over R and let B(s) be an n x m-matrix over R

such that (A(s) ,B(s» is a reachable pair. Let Al (s), ••• ,An (s) be elements

in R. Then there exists an mx n-matrix K(s) over R such that

det[zI - A(s} + B(s) K(s)1 = (z - A](S» ••• (z - An(s» •

Proof. The proof in [01 for the case of matrices over a polynomial ring

also holds for matrices over a p:dndpal domain. Therefore the case con-

sidered above (R is a principal ideal domain) is proved.

This theorem shows that we can obtain arbitrary dynamics for the error

equation (5).

Page 11: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 9 -

In the theorem we may choose AI(s), ••. ,An(s) to be s-independent. Thus we

may choose AI, ••• ,An such that IAil < 1 for i = l, ••• ,n. This gives a sepa­

raQle model for the error. (det[zI - A(s) + K(s) C(s)] is a polynomial in z.)

We will now describe the construction of K(s) for the case of a single out-

put system (Ykh is a scalar for all k,h) in more detail.

Now we have a row vector C(s} and an n n-matrix A(s). The observability

condition becomes:

"EC T (s) ,AT (s) C T (s) , •.• , (AT (s) n-l C T (s) I has a right inverse over R".

This can also be stated as

C(s)

det C(s) .A,(sl

. n-l C(s) A(s)

pes) =! q (8)

where :i:~ is invertible in R. This means that deg pes) = deg q(s) and

pes) :/: a for lsi 2: 1. (q(s) is als-o a stable polynomial because C(s) and

A(s) are supposed to be stable I-D transfer matrices}.

If we have observability in the above sense then we can construct a matrix

T(s) such that

C(e}T(e) = [O, ••• ,O,JJ

and

O. 0 . . . 0, -aO(s) ~

1 " " ,

-1 0 "-T(s) A(s)T(s) = .. , 0 • " '. 0 ...

\ ~

0:. 0 .0 ~ 1 -an_l(s)

Page 12: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 10 -

( ) ( ) ( ) n-l n. h h .. 1 Here aO s + at s z + ••• + an- 1 s Z + Z 1S t e c aracter1st1c po y-

nomial of A(s). The construction of T(s) is completely analogous to the

case of a I-D system over the real numbers. See [2J.

Next, let At(S), ••• ,An(S) be the desired poles of the error equation (5).

Define BO(s), ••• ,6n_1(s) as follows:

n-1 n So(s) + 61 (s}z + ••• + 6n- 1 (s}z + Z = (z -: "'1 (s» ••• (z -~n(s)}.

The construction of the gain matrix K(s) proceeds as follows.

Define F(s) as

F(s) =

and let K(s) be defined by

K(s) 7 T(s) F(s) •

Then we have

0 -<1.0 (8) 0 ••• 0 60

(S} aO(s)

.. • -J

A(s)-K(s)C(s) = T(s) • T(s) .

. .. 1 -<1.

n_

1 (s] 0 ••• 0 6'n-1 (s) ~n-l (8)

Page 13: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 1] ...

Thus

o

A(s)-K(s)C(s) = T(s) .

This shows that A(s) - K(s)C(s) has A1(s), ••• ,An (s) as its eigenvalues. Ob­

serve that we do not only have pole assignability but even coefficient as-

signability (coefficients of the characteristic polynomial). In the multi-out-

put case we generally do not have coefficient assignability.

It will be clear that this restricts th.e clas~s 0~r2-D polynomials which can

be obtained as denominator polynomial for the transfer matrix of the error equation.

Remark. If (C(s),A(s» does not satisfy the observability condition above

in the sense that deg pes) < deg q(s) we can still construct an observer

with arbitrary dynamics for the error equation. In this case K(s) is not

proper any more. This does not prevent a recursive implementation of the

observer because in this case weakly causal systems can be used. We will

not go into this any further and we1re£er to [41 for the details. ,

Page 14: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 12 -

The estimator (4) which has been built based on the matrix K(s}, constructed

above, can be implemented as a Roesser model again and then we have obtained

an estimator for ~h in the model (ll.

Because

we can also construct an estimator for Skh'

The dynamics of the associated error equation may be improved by choosing

L such that A4 - L C2 has a tlbettertl spectrum than A4•

Combining the error equation (5) and the error equation associated with

(Skh - Skh) it is not difficult to prove that the resulting error equation

for (~h - ~h) and (Skh - Skb! is stable.

Of course one has to choose K(s) , in A(s) ... K(Sl, based on some criterion

(which may be related to the covariance of (~(s) - ~(s}l. Also for the

selection of L, in A4 - L C2~' one has to use some criterion.

One way to do this (suboptimallYL' is by parameterizing K(s) and then one

might select a satisfactory one by means of an optimization technique. A

special case is where K(s) is chosen a priori such that detCzI -A(s} +K(s}C(s}]

is a polynomial independent of s. Then all such K(s} can be parameterized

by the eigenvalues Al, ••• ,An of A(s} - K(SLC(S}. In this case the error

, . equation (5} is a separable 2-D system. This means that a Roesser model for

this system can be chosen such that the correpsonding A3-matrix or A2-ma­

trix is zero.

Page 15: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 13 -

This property may be advantageous with respect to the computation of co­

variance matrices for ~h - ~h as can be seen in [ll (the structure of

the equation is considerably simplified). This is because the error (in

this case) is a sum of independent random variables as can easily be seen.

Page 16: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 14 -

Conclusion

A new method of construction of 2-D filters has been described. The filter

is given as a local state estimator for a Roesser model. The actual con­

struction of the filter is based on the design of an observer for the glo­

bal state in a state space model (column to column propagation) which is

equivalent to the (local state space) Roesser model.

Page 17: Observer based 2-D filter design · Memorandum COSOR 81-]5 Observer based 2-D filter design by Rikus Elsing Eindhoven, the Netherlands November 1981 . OBSERVER BASED 2-D FILTER DESIGN

- 15 -

References

[1] P.E. Barry, R. Gran, C.R. Waters; Two~imensional Filtering - A State Esti­

mator Approach; Proc. 1976 IEEE CDC, pp. 613-618.

[2] C.T. Chen; Introduction to Linear System Theory, Holt, Rinehart and Win­

ston Inc., 1970.

[3] R. Eising; Realization and Stabilization of 2-D Systems; IEEE Trans. Autom.

Control, Vol. AC-23, no.5, pp. 793-799, 1978.

[4] R. Eising; State Space Realization and Inversion of 2-D Systems; IEEE Trans.

Circuits and Systems, Vol.CAS-27,no.7, pp. 612-619, 1980

[5] R. Eising; 2-D Systems, an Algebraic Approach; Mathematical Centre Tracts

no.125, Amsterdam 1980.

[6] E.W. Kamen; Asymptotic Stability of Linear Shift-Invariant Two-Dimensional

Digital Filters; IEEE Trans. Circuits and Systems, Vol CAS-27,

no.12, pp. 1232-1238, 1980.

[7J S. Morse; Ring Models for Delay Differential Systems, Automatica, Vol. 12,

pp. 529~531, 1976.

[8J R.P. Roesser; A Discrete State Space Model for Linear Image Processing;

IEEE Trans. Autom. Control, Vol. AC-20, no.l, pp.l-10, 1975.

[9] F.C. Schoute, M.F. ter Horst, J.C. Willems; Hierarchic Recursive Image

Enhancement; IEEE Trans. Circuits and .systems, Vol. CAS-24,

no.2, pp. 67-78, 1977.