• No results found

A Normal Form for Generalized State Space Descriptions

N/A
N/A
Protected

Academic year: 2021

Share "A Normal Form for Generalized State Space Descriptions"

Copied!
21
0
0

Loading.... (view fulltext now)

Full text

(1)

A Normal Form for Generalized State Space Descriptions

Hakan Fortell

Department of Electrical Engineering Linkoping University

S-581 83 Linkoping, Sweden Phone: +46 13 284028 E-mail: hafor@isy.liu.se

April 4, 1995

Abstract

In this report we will give a denition of a normal form for systems on generalized state space form. We will investigate some of the properties of this normal form and we will show how the usual normal form follows as a special case when we are working with ane polynomial systems.

The construction of the normal form is based on a generalization of the Lie derivative. The calculation of this new Lie derivative is done with Grobner bases.

Keywords: Normal Forms, Grobner Bases, Dierential Algebra

1 Introduction

The normal form of ane state space systems as described in, e.g., 8] is some- thing that has found several important applications. Two examples are exact linearization and sliding mode control. One question that one may ask oneself is then whether one can nd a normal form for generalized state space descrip- tions 4]. A canonical form that can be used for such system descriptions is the generalized controller canonical form which is based on the theorem of the dif- ferentially primitive element 9]. One problem with this canonical form is that, however, it may be dicult to compute. There are nevertheless results which utilizes the canonical form, for instance 12] where it is shown how it can be used for designing sliding mode control laws. The idea of this paper is to try to generalize the concept of a normal form to the generalized state space case us- ing one of the most important tools from commutative algebra, namely Grobner bases. To justify the name normal form we will also study how the usual normal form follows as a special case and how some of the related dierential geometric results translates to commutative algebra. The paper is organized as follows.

The next section contains some of the most basic concepts from commutative

and dierential algebra. Section 3 then shows how a generalized normal form

can be computed and in section 4 this is applied to sliding mode control. Finally

in section 5 we give some concluding remarks.

(2)

2 Basic Algebraic Concepts

In this section we present some of the most basic concepts from commutative and dierential algebra that will be used in later sections. The purpose is basically to display the notation.

2.1 Commutative Algebra

The theory in this section is collected from 1] and 5] where all proofs that are left out and also further references to commutative algebra can be found. We begin by making a few necessary de nitions.

Denition 2.1

A commutative ring consists of a set R and two binary operations \ " and \+"

dened on R and such that:

1. ( a + b ) + c = a + ( b + c ) and ( a b ) c = a ( b c ) for all abc

2

R . 2. a + b = b + a and a b = b a for all ab

2

R .

3. a ( b + c ) = a b + a c for all abc

2

R .

4. There are 0  1

2

R such that a + 0 = a 1 = a for all a

2

R . 5. Given a

2

R there is b

2

R such that a + b = 0.

We also need the following.

Denition 2.2

A eld k is a commutative ring such that given a

2

k there is c

2

k such that a c = 1.

The commutative ring that we will mostly work with here is k  x

1

:::x

n

] which denotes the set of all polynomials in the variables x

1

:::x

n

with coecients taken from the eld k . Usually we will assume that k is the real numbers.

Denition 2.3

A subset I of a commutative ring R is an ideal if it satises 1. 0

2

I .

2. If ab

2

I then a + b

2

I . 3. If a

2

I and b

2

R then b a

2

I .

If we now set f

1

:::f

n

to be polynomials in a ring k  x

1

:::x

n

] and introduce the notation

h

f

1

:::f

ni

=

(

n X

i=1

p

i

f

i

: p

i2

k  x

1

:::x

n

]  i = 1 ::: n 

)

(1) we can note that

h

f

1

:::f

ni

is an ideal and it is called the ideal generated by f

1

:::f

n

.

A property that will be needed in the next section is to have some general-

ization of linear dependence of polynomials. To nd such a generalization we

rst need some more de nitions.

(3)

Denition 2.4

If the eld k is a subset of the eld K then K is said to be an extension eld of k . This is denoted by K=k .

Denition 2.5

Let K be an extension eld of k and suppose that 



K . The smallest eld containing k



 is then called the eld obtained by adjoining  to k and is denoted k (  ). Furthermore,  is said to be algebraic over k if there exists a nonzero polynomial f

2

k  x ] such that f (  ) = 0. If  is not algebraic it is said to be transcendental over k .

A de nition can also be made in a similar manner for several elements in an extension eld.

Denition 2.6

Let f

1

:::f

m

be elements in an extension eld K of k . The f

i

are said to be algebraically dependent over k if there exists a nonzero P

2

k  x

1

:::x

m

] such that P ( f

1

:::f

m

) = 0. Otherwise the f

i

are said to be algebraically independent.

Since algebraic dependence can be viewed as a generalization of linear depen- dence in linear algebra we can go on to de ne a basis for these extension elds.

Denition 2.7

Let K be an extension eld of k and let U be a subset of K such that all elements of U are algebraically independent. The maximum number of elements that such a U can contain is called the transcendence degree of K=k and is denoted by trdeg K=k . The elements of such a U is called the transcendence basis for K=k . An important consequence of this de nition is then the theorem below.

Theorem 2.1

If k is a eld and the variables x

i

 i = 1 :::n are algebraically independent over k then trdeg k ( x

1

:::x

n

) =k = n .

Proof.

We only have to note that the x

i

 i = 1 :::n is a transcendence basis for

k ( x

1

:::x

n

) =k .

2

The following corollary will also be useful.

Corollary 2.1 The elements y

1

:::y

N 2

k ( x

1

:::x

n

) are algebraically de- pendent if N > n .

Proof.

Otherwise y

1

:::y

N

would be a transcendence basis for k ( x

1

:::x

n

) =k .

2

Another property which will be utilized is given by the following theorem. The proof can be found in 9].

Theorem 2.2

Let x

1

:::x

n

y

1

:::y

m

be elements of a eld extension of k and let n < m . Now suppose that each y

i

is algebraic over the eld k ( x

1

:::x

n

). Then the y

i

are algebraic over k .

(4)

We also give a theorem which in some sense can be interpreted as connecting algebraic and linear dependence.

Theorem 2.3

Suppose k is a eld of characteristic zero and that f

1

:::f

N 2

k ( x

1

:::x

n

).

Then if



N > n , f

1

:::f

N

are algebraically dependent.



N = n , f

1

:::f

N

are algebraically dependent i the Jacobian matrix J ( f ) =



@f

i

@x

j



ij

(2)

is identically singular.



N < n , f

1

:::f

N

are algebraically independent i the Jacobian matrix (2) has rank N .

Another useful theorem concerning algebraic dependence is given by the follow- ing theorem which can be found in 11].

Theorem 2.4

Let K=k be a eld extension and let x

1

:::x

n

y

1

:::y

m

z

2

K . Now suppose that each of the y

i

are algebraically dependent on x

1

:::x

n

over k and that z is algebraically dependent on y

1

:::y

m

over k . Then is z algebraically dependent on x

1

:::x

n

over k .

2.2 Grobner bases

The reason why we introduce the concept of Grobner bases is that we wish to have some way of eliminating variables from a set of polynomial equation. To be able to choose which variables to eliminate we must introduce an ordering of variables.

Denition 2.8

Let x

2

k  x

1

:::x

n

] with  =

f



1

:::

ng2Nn

denote x

11

x

nn

. A term ordering < is an ordering on

Nn

such that for all  

2Nn

0 <  and  <

)

 + < + (3) There are of course several ways of de ning these term orderings but we will only consider one of them.

Denition 2.9

The lexicographic term ordering is dened by

 <

() 9

j : 

j

<

j



8

i < j : 

i

<

i

(4) With a term ordering will now the dierent terms in a polynomial be ordered.

In particular will one of them be ordered rst.

(5)

Denition 2.10

If f =

P

c



x

2

k  x

1

:::x

n

] then the degree of f is dened as

deg f = max

f

: c

 6

= 0

g

(5)

The leading term of f is

LT f = c

deg f

x deg

f

(6)

and correspondingly the leading monomial of f is LM f = x deg

f

and the leading coecient is LC f = c

deg f

.

This de nition can now be extended to cover ideals.

Denition 2.11

Let

I

be an ideal in k  x

1

:::x

n

]. Then

LM

I

=

h

LM f : f

2Ii

deg

I

=

f

deg f :

2Ig

(7)

Using this last de nition we can now go on to de ne Grobner bases.

Denition 2.12

A set G

I

for an ideal

I

is a Grobner base with respect to a given term ordering i LM

I

=

h

LM G

i

.

At a rst glance it not at all clear how the concept of Grobner bases can be useful but it can be shown to have several nice properties. One of these properties is that

h

G

i

=

I

(8)

which says that the set of solutions to the generating set of

I

is the same for the equations described by the Grobner base. To be able to describe the algorithm we need to introduce a few more concepts.

Denition 2.13

Let fg

2

k  x

1

:::x

n

]. f is said to be reduced w.r.t. g if there is no term in f that is divisible by the leading term of g . A subset of k  x

1

:::x

n

] in which all elements are reduced w.r.t. each other is said to be auto-reduced

If some polynomials are not reduced we can make them reduced.

Theorem 2.5

Let F =

f

f

1

:::f

mg

k  x

1

:::x

n

] and p

2

k  x

1

:::x

n

]. Then it is possible to nd polynomials g

1

:::g

m

r

2

k  x

1

:::x

n

] such that

q = p

;Xm

i=1

g

i

f

i

(9)

and q is reduced w.r.t. all the f

i

.

The de nition below is related to this theorem.

Denition 2.14

If all q which satises the conditions of Theorem 2.5 are equal then p reduces

to q modulo F which we write p

;!F

q .

(6)

The algorithm for calculating Grobner bases uses the so called S-polynomials.

Denition 2.15

Let f

1

f

22

k  x

1

:::x

n

]. Then the S-polynomial of f

1

and f

2

is

S ( f

1

f

2

) = h

1

f

1;

h

2

f

2

(10) where

h

1

= LC f

2

lcm(LM f

1

 LM f

2

)

LM f

1

 h

2

= LC f

1

lcm(LM f

1

 LM f

2

)

LM f

2

(11)

and lcm(  ) denotes the least common monomial.

The Grobner base algorithm can now be given as follows given some set of polynomials F .

Algorithm 2.1

1. Make F auto-reduced.

2. Add to F the S-polynomial of two elements in F .

3. If all S-polynomials reduce to zero modulo F then F is a Grobner base.

Otherwise return to step 1.

The following theorem ensures that the result of this algorithm is a Grobner base.

Theorem 2.6

The set G =

f

g

1

:::g

mg

is a Grobner base for

h

G

i

i

S ( g

i

g

j

)

;!G

0 (12)

A property of Grobner bases that we have mentioned earlier is that we can eliminate variables from a set of polynomial equations. How this elimination is performed is given in the following theorem.

Theorem 2.7

Let

I

be an ideal in k  x

1

:::x

n

] and partition x

1

:::x

n

into two disjoint sets A and B . Then if G is a Grobner base for

I

with a lexicographic term ordering where A < B then k  A ]

\

G is a Grobner base for k  A ]

\I

w.r.t. the term ordering given by < on k  A ].

What this theorem says is that with a proper choice of term ordering we can nd out if there are elements in

I

which are polynomial in the variables A only.

If this is the case we also get a generating set for the corresponding ideal. We give a simple example.

Example 2.1

Consider the following set if polynomial equations x

2

+ y + z = 1 x + y

2

+ z = 1

x + y + z

2

= 1 (13)

(7)

Calculating a Grobner base for the polynomials



x

2

+ y + z

;

1  x + y

2

+ z

;

1  x + y + z

2;

1



(14) with the term ordering x > y > z gives the result



x + y + z

2;

1  y

2

+ z

;

y

;

z

2

 2 yz

2

+ z

4;

z

2

 z

6;

4 z

4

+ 4 z

3;

z

2

(15) From this it is clear that

z

6;

4 z

4

+ 4 z

3;

z

22h

x

2

+ y + z

;

1  x + y

2

+ z

;

1  x + y + z

2;

1

i

(16) and we have eliminated x and y from the set of equations (13).

2

This example indicates that Grobner bases can be interpreted as a generalization of Gaussian elimination. The algorithm for calculating Grobner bases has been implemented in every major computer algebra language such as

Maple

and

Mathematica

.

2.3 Dierential algebra

The theory presented in this section is gathered from 4] and the proofs can be found either there or in the books 10, 9].

The main dierence between dierential and commutative algebra is that we add dierentiation w.r.t. time, @=@t , to the set of allowed operations.

Denition 2.16

A dierential eld k is a eld satisfying the conditions

8

a

2

k @a @t = _ a

2

k (17)

8

ab

2

k @@t ( a + b ) = _ a + _ b (18)

8

ab

2

k @@t ( ab ) = _ ab + a b _ (19) Here and in the sequel will the \dot" notation be used instead of @=@t to de- note dierentiation with respect to time. We also make a few more de nitions regarding dierential elds which are the dierential variants of some of the commutative de nitions in the previous section.

Denition 2.17

If the di erential eld k is a subset of the di erential eld K then K is said to be a dierential extension eld of k . This is denoted by K=k . If K is a di erential extension eld of k and 



K then the smallest di erential eld containing k



 is called the di erential eld obtained by adjoining  to k and is denoted k

h



i

.

We now consider a de nition of dynamics based on dierential algebra.

Denition 2.18

A dynamic system is a nitely generated di erential algebraic extension D=k

h

u

i

where u =

f

u

1

:::u

mg

can be viewed as inputs and the outputs y is chosen as

some nite set y =

f

y

1

:::y

pg

in D .

(8)

Using this de nition a more general form of state space description than (22) can be made.

Theorem 2.8

Let D=k

h

u

i

be a dynamic system according to denition 2.18. Then there exists a generalized state x =

f

x

1

:::x

ng

for some nite integer n and polynomials A

j

( ) and B

i

( ) such that

A

j



x _

j

xu u:::u _

(j)

= 0  j = 1 :::n (20) B

i



y

i

xu u:::u _

(i)

= 0  i = 1 :::p (21) A theorem which is important when considering dierentially algebraic exten- sions is given below.

Theorem 2.9

Let L=K be a nitely generated di erential algebraic extension such that K contains non constant elements. Then there exists an element

2

L such that L = K

h

i

. The element is called a dierentially primitive element.

3 A Generalized Normal Form

Here we will study how the normal form of ane state space descriptions can generalized to the more general dynamics of De nition 2.18.

3.1 The normal form of ane state space systems

The theory in this section is collected from 8]. Consider the SISO nonlinear system which is described by the following state equations

x _ = f ( x ) + g ( x ) u

y = h ( x ) (22)

where x

2Rn

. The system (22) is said to have relative degree r



n if ( i ) L

g

L

kf

h ( x )



0  k = 0 :::r

;

2

( ii ) L

g

L

rf;1

h ( x )

6

0 (23)

at some point x

0

. Here L

f

and L

g

denote the Lie derivatives in the directions f ( x ) and g ( x ) respectively. Using the notation

dh ( x ) =



@h ( x )

@x

1

 @h ( x )

@x

2

::: @h ( x )

@x

n



(24) the following lemma can be shown to hold.

Lemma 3.1 The row vectors

dh ( x

0

) dL

f

h ( x

0

) :::dL

rf;1

h ( x

0

) (25)

are linearly independent.

(9)

We can now perform the change of variables locally around x

0

where

1

( x ) = h ( x )

2

( x ) = L

f

h ( x )

r

( x ) = ... L

rf;1

h ( x )

(26)

If r < n then

i

( x )  i = r +1 :::n can be found so that the change of variables becomes invertible. In particular these functions can be chosen so that

L

g

i

( x ) = 0  i = r + 1 :::n (27) We see that nding

i

( x )  i = r + 1 :::n such that (27) is satis ed involves solving n

;

r partial dierential equations which is of course dicult in general.

However, if we do not bother with the condition (27) the invertible transforma- tion is most often very easy to nd. With this transformation the new state equations becomes

z _

1

= z

2

z _

2

= z

3

_ ...

z

r;1

= z

r

z _

r

= L

rf

h (

;1

( z )) + L

g

L

rf;1

h (

;1

( z )) u z _

r+1

= q

r+1

( z ) + p

r+1

( z ) u

_ ...

z

n

= q

n

( z ) + p

n

( z ) u y = z

1

(28)

This is known as the normal form of the system. We note that with the condition (27) we get p

i

( x )



0  i = r + 1 :::n .

3.2 A generalization of the normal form

We consider a dynamics D=k

h

u

i

which has dierential transcendence degree 1 and trdeg D=k

h

u

i

= n . In generalized state space form we thus get

A

1;

x _

1

xu u:::u _

(1)

= 0 A

n;

x _

n

xu u:::u _

(n)

= 0 ...

B

;

yxu u:::u _

()

= 0

(29)

where we we for simplicity say that the system has only one output. Since we want to be able to have a unique description of the output we assume that the

condition @B ( yx )

@y

6

= 0 (30)

is ful lled. Our goal is then to try to nd a generalization of the normal form

(28). The rst thing we must do is then to generalize the Lie derivative and the

(10)

relative degree. The rst thing we note is that if the output polynomial explicitly depends on u and its derivatives we have a case which do not correspond to the ane case. The natural thing is then to say that such a system has relative degree zero and that (29) is already in normal form. If this is not the case we must study the following polynomial

dB ( yx )

dt =

n

X

i=1

@B ( yx )

@x

i

x _

i

+ @B ( yx )

@y y _ (31)

The correspondence to the Lie derivative (23) would then be if all _ x

i

and the y could be eliminated from (31). Obviously this can be done with Grobner bases as given in the de nition below.

Denition 3.1

Suppose that we have a system (29) where the output polynomial does not depend explicitly on u and that G

1

is a Grobner base for the polynomials

f

A

1

( ) ::: A

n

( )  B ( yx )  dB ( yx ) =dt

g

(32) under the term ordering

x

n

< < x

1

< y < u < _ u < < u _

(max)

< y < x _

n

< < x _

1

(33) where 

max

= max

f



1

:::

ng

. The generalized Lie derivative of y w.r.t.

A =

f

A

1

( ) ::: A

n

( )

g

(34) is then dened as

L

A

B ( yx ) = G

1\

k  x

1

:::x

n

u u:::u _

(max)

 y _ ] (35)

with @L

A

B ( yx )

@ y _

6

= 0 (36)

The iterated generalized Lie derivative L

iA

B ( yx ) with i > 1 is dened as L

iA

B ( yx ) = G

i\

k  x

1

:::x

n

u u:::u _

(max)

y

(i)

] (37)

with @L

iA

B ( yx )

@y

(i) 6

= 0 (38)

Here G

i

is the Grobner base of



A

1

( ) ::: A

n

( )  B ( yx )  L

A

B ( yx ) ::: L

iA;1

B ( yx )  dL

iA;1

B ( yx ) =dt



w.r.t. the term ordering (39)

x

n

< < x

1

< y

(i)

< u < u < < u _

(max)

< < y < y < _ x _

n

< < x _

1

(40)

Here and in the sequel will k denote the eld of real numbers. With this de ni-

tion we can de ne a relative degree for systems of the form (29).

(11)

Denition 3.2

A system (29) has generalized relative degree r



1 if L

iA

B ( yx )  i = 1 :::r consist of only one polynomial for each i and it holds that

@L

iA

B ( yx )

@u

(j) 

0 

8

j



0  i = 1 :::r

;

1 (41)

and @L

rA

B ( yx )

@u

(j) 6

= 0  for some j



0 (42) In order to justify the names generalized Lie derivative and generalized relative degree we must now show that the usual de nitions of these concepts follow as special cases.

Theorem 3.1

Suppose that we have a system (22) with f ( x ), g ( x ) and h ( x ) polynomials in the ring k  x

1

:::x

n

]. Then this system has relative degree r i it has generalized relative degree r . The Lie derivatives L

if

h ( x )  i = 0 :::r

;

1 are given as the solutions to

L

iA

( y

;

h ( x )) = 0  i = 0 :::r

;

1 (43) w.r.t. y

(i)

 i = 1 :::r

;

1. Furthermore, L

rf

h ( x )+ L

g

L

rf;1

h ( x ) u is the solution

to L

rA

( y

;

h ( x )) = 0 (44)

w.r.t. y

(r)

.

Proof.

For suciency we rst assume the relative degree of (22) to be 1. To calculate L

A

( y

;

h ( x )) we must nd a Grobner base for the polynomials

(

x _

1;

f

1

( x )

;

g

1

( x ) u::: x _

n;

f

n

( x )

;

g

n

( x ) u y

;

h ( x )  y _

;Xn

i=1

@h ( x )

@x

i

x _

i

)

under the term ordering (45)

x

n

< < x

1

< u < y < y < _ x _

n

< < x _

1

(46) It is clear that the polynomials (45) are not a Grobner base for the ideal that they generate since

S

x _

1;

f

1

( x )

;

g

1

( x ) u y _

;Xn

i=1

@h ( x )

@x

i

x _

i

!

=

= _ y

;Xn

i=2

@h ( x )

@x

i

x _

i;

@h ( x )

@x

1

( f

1

( x ) + g

1

( x ) u ) (47) Using Theorem 2.5 with p equal to (47) and the set F being equal to (45) we get

q = _ y

;Xn

i=1

@h ( x )

@x

i

( f

i

( x ) + g

i

( x ) u ) (48)

(12)

which is reduced w.r.t. (45). Since q

6

= 0 this is a contradiction to Theorem 2.6.

However, we note that the following equality holds

x _

1;

f

1

( x )

;

g

1

( x ) u::: x _

n;

f

n

( x )

;

g

n

( x ) u

y

;

h ( x )  y _

;Xn

i=1

@h ( x )

@x

i

x _

i

=

=

x _

1;

f

1

( x )

;

g

1

( x ) u::: x _

n;

f

n

( x )

;

g

n

( x ) u

y

;

h ( x )  y _

;Xn

i=1

@h ( x )

@x

i

( f

i

( x ) + g

i

( x ) u )



(49)

It is now easy to see that the generating set of the latter ideal, let us call it G , is in fact a Grobner base since

S

x _

i;

f

i

( x )

;

g

i

( x ) u y _

;Xn

i=1

@h ( x )

@x

i

( f

i

( x ) + g

i

( x ) u )

!

=

= _ y (

;

f

i

( x )

;

g

i

( x ) u )

;

x _

i

;

n

X

i=1

@h ( x )

@x

i

( f

i

( x ) + g

i

( x ) u )

!

;!G

0 (50) and the same is easily seen for all possible combinations of elements in G . We get

L

A

( y

;

h ( x )) = _ y

;Xn

i=1

@h ( x )

@x

i

( f

i

( x ) + g

i

( x ) u ) (51) and setting (51) to zero and solving for _ y gives L

f

h ( x ) + L

g

h ( x ) u . If now the relative degree is higher than 1 we know that L

g

h ( x )



0 so L

A

( y

;

h ( x )) will not depend on u . We now assume, in an inductive manner, assume that we have calculated L

iA

( y

;

h ( x )) for some i < r . We know that it does not depend on u so we calculate L

iA+1

( y

;

h ( x )) by nding a Grobner base for



x _

1;

f

1

( x )

;

g

1

( x ) u::: x _

n;

f

n

( x )

;

g

n

( x ) u

y

;

h ( x )  y _

;

L

f

h ( x ) ::: y

(i);

L

if

h ( x )  y

(i+1);Xn

i=1

@L

if

h ( x )

@x

i

x _

i



We immediately get that (52)

L

iA+1

( y

;

h ( x )) = y

(i+1);

L

if+1

h ( x )

;

L

g

L

if

h ( x ) u (53) If i + 1 = r we are nished and otherwise we continue by calculating L

iA+2

( y

;

h ( x )). The suciency has thus been proved.

As for the necessity we assume that (22) has no relative degree. Following the reasoning above we immediately see that then will the system have no

generalized relative degree either.

2

The question is now how these Lie derivatives can be used for nding a normal form for our system (29). Given a relative degree r



1 we have a set of

polynomials

n

p ( yx )  p ( _ yx ) ::: p

r

( y

(r;1)

x )

o

(54)

(13)

and in correspondence with the normal form (28) we want to perform a trans- formation such that

z

1

= y z

2

= _ y::: z

r

= y

(r;1)

(55) The y

(i)

 i = 0 :::r

;

1 can now be shown to have the following property.

Theorem 3.2

Suppose that the dynamic system (29) has generalized relative degree r . Then the output derivatives y

(i)

 i = 0 :::r

;

1 are algebraically independent over k

h

u

i

.

Proof.

Since (29) has relative degree r we have calculated the following set of polynomials

p

1

( yx ) = B ( yx ) p

2

( _ yx ) = L

A

B ( yx ) p

r

( y

(r;1)

x ) = ... L

rA;1

B ( yx )

(56) Now suppose that there exists an algebraic relation between the y

(i)

 i = 0 :::r

;

1, i.e., P ~ ( y y:::y _

(r;1)

) = 0 (57) where ~ P ( ) is a polynomial in y

(i)

with coecients from k

h

u

i

. Multiplying out fractions in (57) we get a polynomial P ( ) with coecients from k such that

P ( y y:::y _

(r;1)

u u:::u _

(y)

) = 0 (58) We now have to consider two dierent cases.

1. Suppose that

@P ( )

@u

(j) 6

= 0  for some j



0 (59) ,i.e., that we have an input output relation which is of order r

;

1 or less in y . However, the de nition of generalized relative degree shows that we must dierentiate y r times in order to get an explicit dependence on the input. In other words the minimum order of y in an input output relation is r . Thus we get a contradiction.

2. Suppose that

@P ( )

@u

(j)

= 0 

8

j



0 (60) which says that the output satis es some dierential equation

P ( y y:::y _

(i)

) = 0  0



i



r

;

1 (61) Taking r

;

i time derivatives of this polynomial we get

P ~ ( y y:::y _

(r;1)

y

(r)

) (62)

The conclusion to be drawn from this is that y

(r)

is algebraically dependent

of ( y y:::y _

(r;1)

) w.r.t. k but since each of the y

(i)

 i = 0 :::r

;

1 are

(14)

algebraically dependent of x

1

:::x

n

w.r.t. k we note that y

(r)

also must be algebraically dependent of x

1

:::x

n

w.r.t. k according to Theorem 2.4. Then there exists a polynomial  P ( ) with coecients from k such

that P  ( xy

(r)

) = 0 (63)

However, this contradicts the de nition of generalized relative degree.

The two cases above together show that no polynomial (58) can exist and thus that the y

(i)

 i = 1 :::r

;

1 are algebraically independent over k

h

u

i

.

2

Corollary 3.1 Suppose that the dynamic system (29) has generalized relative degree r . Then r



n .

Proof.

If r > n we would have a transcendence basis

f

y y::: y _

(r;1)g

for D=k

h

u

i

which contradicts the fact that trdeg D=k

h

u

i

= n .

2

Remark 3.1 This theorem has a nice interpretation in the ane polynomial case namely that the proof of Lemma 3.1 follows directly from Theorem 3.2 and Theorem 2.3.

Since trdeg D=k

h

u

i

= n we know that there exists z

i 2

D=k

h

u

i

 i = r + 1 :::n such that with z

i

= y

(i;1)

 i = 1 :::r the set

f

z

1

::: z

ng

becomes a transcendence basis for D=k

h

u

i

. The question is how the z

r+1

:::z

n

can be chosen. The lemma below gives a partial answer to this question.

Lemma 3.2 Suppose that the dynamic system (29) has generalized relative de- gree r



n . Then there exists n

;

r di erent integers i

r+1

:::i

n

between 1 and n such that with

z

j

=



y

(j;1)

 j = 1 :::r

x

ij

 j = r + 1 :::n (64) the set

f

z

1

::: z

ng

becomes a transcendence basis for D=k

h

u

i

.

Proof.

It is clear that with the z

i

given as (64) z

i2

D=k

h

u

i

 i = 1 :::n . The task is then to prove the existence of the n

;

r x

i

such that

f

z

1

::: z

ng

becomes a transcendence basis for D=k

h

u

i

.

To show this we rst de ne the set

X

r

=

n

i

2f

1 :::n

g

p

j

( y

(j;1)

x ) depends on x

i

for some j

2f

1 :::r

go

Denoting  r to be the number of elements in X

r

then  r



r . To prove this (65)

we assume the opposite, namely  r < r . Since we already know that each

z

i

 i = 1 :::r is algebraic over k

h

u

i

( x

1

:::x

r

) it follows from Theorem 2.2

that z

1

:::z

r

must be algebraically dependent over k

h

u

i

which by using The-

orem 3.2 gives a contradiction.

(15)

Now suppose that  r = r < n . It is obvious that choosing the indices i

r+1

:::i

n

such that i

j 62

X

r

for each j gives us a transcendence basis for D=k

h

u

i

.

If  r > r we must nd  r

;

r x

i

which are algebraically independent of k

h

u

i

( z

1

:::z

r

). It is clear that at least one such x

i

must exist since if we assume the opposite we again get a contradiction using Theorem 2.2. We thus get an index i

r+1

and we set z

r+1

= x

ir+1

. If  r = r + 1 we are nished with this step. Otherwise we conclude that by using Theorem 2.2 there must be yet another x

i 2

X

r

which is algebraically independent w.r.t. k

h

u

i

( z

1

:::z

r+1

).

We repeat this process until we have

f

z

1

:::z

rg

which are algebraically inde- pendent over k

h

u

i

.

If  r < n we nd the nal z

i

which gives us a transcendence basis according

to the method above.

2

Remark 3.2 The proof of Lemma 3.2 gives an idea of what class of dynamical systems (29) have no relative degree. Suppose that we have a dynamical SISO system

A

1

(_ x

1

x

1

x

2

) = 0 A

2

(_ x

2

x

1

x

2

) = 0 A

3;

x _

3

xu u:::u _

(n)

= 0 A

n;

x _

n

xu u:::u _

(n)

= 0 ...

B ( yx

1

x

2

) = 0

(66)

It is clear that this system has no generalized relative degree since

L

A

B

i

( yx

1

x

2

)

2

k  y

(i)

x

1

x

2

]

8

i



0 (67) so we get no relative degree r



n . If n is large we might want to be able to spot this fact without having to calculate n generalized Lie derivatives. Using the set X

r

as de ned in (65) we can note that as soon as the number of ele- ments in X

r

is less than the number of Lie derivatives that has been calculated (including L

0A

B ( yx ) = B ( yx ) ) then by Theorem 2.2 the corresponding y

(i)

are algebraically dependent over k . This obviously gives us a condition to check the existence of a generalized relative degree.

A constructive note that must be made now is that in Lemma 3.2 it is not shown how to choose the x

i

which are algebraically independent over the eld k

h

u

i

( z

1

:::z

j

)  j = r::: r 

;

1. These x

i

can be found with Grobner bases in the following manner. Calculate a Grobner base, G , for (54) with the term ordering

z

j

< < z

r

< < z

1

< x  (68) where j

2f

r::: r 

;

1

g

and  x is some ordering of the x

i

 i

2

X

r

. If we set x

l

to have the lowest order in  x we consider

G

\

k

h

u

i

 x

l

z

1

:::z

j

] (69)

If (69) explicitly depends on x

l

it is algebraic over k

h

u

i

( z

1

:::z

j

) and is thus not

of interest to us. Otherwise x

l

is obviously independent w.r.t. k

h

u

i

( z

1

:::z

j

)

and we set z

j+1

= x

l

. This procedure can then be repeated until j =  r .

(16)

The main tool for performing the transformation the system (29) will of course also be Grobner bases. First we consider the time derivatives of the generalized state variables z

1

:::z

r;1

. From the de nition it is easy to see that we get

z _

i

= z

i+1

 i = 1 :::r

;

1 (70) To get the equation for _ z

r

we rst take the time derivative of p

r

( z

r

x ) to get

dp

r

( z

r

x )

dt =

n

X

i=1

@p

r

( z

r

x )

@x

i

x _

i

+ @p

r

( z

r

x )

@z

r

z _

r

(71)

Calculating the Grobner base, G, for the polynomials

(

p

1

( z

1

x ) ::: p

r

( z

r

x ) 

Xn

i=1

@p

r

( z

r

x )

@x

i

x _

i

+ @p

r

( z

r

x )

@z

r

z _

r

)

(72) with the term ordering

u < u < < u _

(max)

< z

n

< < z

1

< z _

r

< x

n

< < x

1

< x _

n

< < x _

1

and studying (73)

G

\

k  _ z

r

z

1

:::z

n

u u:::u _

(max)

] (74) we get the generalized state space equation

q

r



z _

r

zu u:::u _

(r)

= 0 (75) for z

r

. For the remainder of the transformation we know that by construction

z

i

= x

j

 for some j

2f

1 :::n

g

(76) for all i = r + 1 :::n . Thus nding the generalized state space equation for one such z

i

amounts to calculating a Grobner base, G, for

n

p

1

( z

1

x ) ::: p

r

( z

r

x )  A

j

z _

i

xu u:::u _

(j)o

(77) with the term ordering (73) where _ z

r

is replaced by _ z

i

. We get the generalized state space equation from

G

\

k _ z

i

z

1

:::z

n

u u:::u _

(max)

] (78) which gives

q

i



z _

i

zu u:::u _

(i)

= 0 (79) This is repeated for every i

2f

r + 1 :::n

g

. The new generalized state space description then becomes

z _

1

= z

2

z _

2

= z

3

_ ...

z

r;1

= z

r

q

r;

z _

r

zu u:::u _

(r)

= 0 q

r+1;

z _

r+1

zu u:::u _

(r+1)

= 0 q

n;

z _

n

zu u:::u _

(n)

= 0 ...

y = z

(80)

(17)

Due to the fact that if we would have performed the calculations above for an ane system (22) we would get (28) we can call this a generalized normal form for (29). We give an example of the calculations leading to this normal form.

Example 3.1

Consider the system

3 x

2

x _

1

+ 7 = 0 x

23

x _

22

u _ + 3 x

1

u = 0 x

2

x _

23

+ 2 x

1

= 0 y

2

+ x

1

= 0

(81)

The rst Lie derivative becomes

L

A

( y

2

+ x

1

) = 36 x

1

x

22

y _

2

+ 49 (82) so if a relative degree exists it is greater than one. Repeating the procedure gives

L

2A

( y

2

+ x

1

) = 25412184 x

31

ux

23

u _

;

13716864 x

61

u y 

2

x

23

ux _

42

+ 28005264 x

61

u

2

+ 5764801 x

43

u _

2

+ 6223392 x

43

u _

2

y 

2

x

31

x

42

+ 1679616 x

43

u _

2

x

82

y 

4

x

61

which shows that the system has relative degree r = 2. We now compute the (83) transformation

z

12

+ x

1

= 0 36 x

1

x

22

z

22

+ 49 = 0

z

3;

x

3

= 0 (84)

to achieve the normal form

z _

1

= z

2

2401_ u

2

z

28

z

34;

4802_ u

2

z _

22

z

12

z

42

z

34;

10584_ uuz

28

z

16

z

23;

10584 u z _

22

uz _

18

z

42

z

32

+ 2401_ u

2

z _

42

z

34

z

14

+ 11664 u

2

z

11

2 z

28

= 0 49_ z

34;

144 z

16

z

22

= 0 y = z

1

(85)

2

3.3 A comparison with the Generalized Controller Canon- ical Form

It is shown in 2] how Theorem 2.9 can be used for nding a canonical form for generalized state space representations (29).

Theorem 3.3

Suppose that is a primitive element of the dynamics D=k

h

u

i

. Then x

1

=

:::x

n

=

(n)

qualies a generalized state vector and the corresponding state

(18)

space description becomes

x _

1

= x

2

x _

2

= x

3

_ ...

x

n;1

= x

n

C

;

x _

n

x

1

:::x

n

u u:::u _

()

= 0

(86)

This is known as the generalized controller canonical form.

Let us compare (86) to the generalized normal form (80). Although no output is de ned one might suspect that one gets the generalized controller canonical form when the generalized relative degree is n . The theorem below con rms this suspicion.

Theorem 3.4

Suppose that the dynamics (29) has generalized relative degree n . Then is the output y of (29) a di erentially primitive element of the dynamics given by (29).

Proof.

Our dynamic system is given by the eld extension D=k

h

u

i

. A generalized state space representation of this dynamics is given by (29) and this system has generalized relative degree n . From Theorem 3.2 we know that the y

(i)

 i = 0 :::n

;

1 are algebraically independent over k

h

u

i

and from 2] we can deduce that it is a transcendence basis for D=k

h

u

i

. Then it is clear that y must be a dierentially primitive element of the eld extension.

2

We give a simple example of this.

Example 3.2

Consider the trivial system

x _

1

= x

1

x

2

x _

2

= u

y = x

1

(87)

It is easy to see that the system has (generalized) relative degree 2 and per- forming some simple calculations we also get that x

1

is a dierentially primitive

element.

2

The opposite situation, i.e., that if y is a dierentially primitive element then has the system (29) generalized relative degree n , is not true in general. This is shown by the following example.

Example 3.3

Here we consider the system below which is a trivial modi cation of the system in the previous example

x _

1

= x

1

x

2

+ u x _

2

= u

y = x

1

(88)

Again x

1

can be shown to be a dierentially primitive element but it is easy to

see that the (generalized) relative degree is equal to 1.

References

Related documents

Nordberg (2014) bestrider däremot argumentering om alkohol som förklaring till våld i nära rela- tioner och menar att många kvinnor upplever männen som mest hotfulla och

De ser inte begreppet ”normalitet” existera, intervjupersonerna menar att alla människor är olika och att det ”normala” inte går att uppnå?.

We examine the differences between individual and team decision making by analyzing the following aspects of strategic sophistication: (i) the relative frequency of equilibrium

Jag har många funderingar och tankar kring hur vi behandlar oss själva och andra människor och funnit att jag har en stor portion empati, men vet inte hur jag ska handtera den när

the participants’ media use at the beginning and during the development of their own eating pathologies, 5 the role of shows like Germany’s Next Topmodel in this context as

ätstörningar och ätstörningsproblematik vilket ses som mycket problematiskt. Resultatet av detta mynnar ut i en önskan om mer utbildning både i hur lärare och elever kan upptäcka

Constructing sliding mode controllers for generalized state space representations has already been considered in 12] where the generalized controller canonical form as described in

Before doing this project, I had no earlier experiences working with generative design as a method. That made this project a little bit risky in the beginning, in terms of not