On The Use of Algebraic Geometry For The Design of High Ga - 2014 - IFAC Proceed
On The Use of Algebraic Geometry For The Design of High Ga - 2014 - IFAC Proceed
Abstract: The goal of this paper is to apply some concepts and techniques from algebraic
geometry to study the observability of nonlinear continuous-time polynomial systems. After
deriving some new results for observability and embeddings, it is shown how to use such concepts
to easily design high-gain observers. The proposed technique is illustrated by an application to
the well known Rossler oscillator.
978-3-902823-62-5/2014 © IFAC 43
19th IFAC World Congress
Cape Town, South Africa. August 24-29, 2014
An ideal I is said to be finitely generated if there exist ∀x ∈ Rn (algebraically independent, otherwise). Necessary
polynomials p1 , ..., pm in R[x] such that I = hp1 , ..., pm in ; and sufficient condition for q1 ,..., qm to be algebraically
the set of the ideal generators {p1 , ..., pm } is called a dependent is that rankR(x) ∂x ∂q
< m.
basis of I. By the Hilbert Basis Theorem (Cox et al.,
2007), every ideal of R[x] is finitely generated. Clearly, Fix a total ordering > of the monomials of R[x]. For any
if hp1 , ..., pma in = hq1 , ..., qmb in , for some polynomials pi p ∈ R[x], with p 6= 0, one can write
and qj in R[x], then Vn (p1 , ..., pma ) = Vn (q1 , ..., qmb ).
p(x) = a1 xα1 + a2 xα2 + ... + a` xα` ,
Let V = Vn (p1 , ..., pm ) be the variety defined by p1 , ..., pm where ai ∈ R, αi is a multi-index, i = 1, 2, ..., `, and
in R[x]. By definition, polynomials p1 , ..., pm vanish on V, xα1 > xα2 > ... > xα` ; this allows one to define the
whence all polynomials belonging to hp1 , ..., pm in vanish on leading monomial LM(p) = xα1 and the leading coefficient
V. Note that there may be polynomials p ∈ / hp1 , ..., pm in LC(p) = a1 of p.
that vanish on V; this renders necessary the following
definitions. Let {p1 , ..., pm } be a basis of an ideal I of R[x]. A
polynomial r ∈ R[x] is said to be reduced with respect
Let V be a variety of Rn ; it is possible to show that the to {p1 , ..., pm } if either r = 0 or no monomial that appears
set in r is divisible by LM(pi ), i = 1, ..., m. A polynomial
In (V) := {p ∈ R[x1 , ..., xn ] : p(x) = 0 for all x ∈ V} (1) r ∈ R[x], which is reduced with respect to {p1 , ..., pm },
is an ideal and, in particular, it is called the ideal of V; note is called a remainder of the division of p ∈ R[x] by
that the empty set ∅ is a variety and that In (∅) = h1in = {p1 , ..., pm } if p − r ∈ hp1 , ..., pm in .
R[x]. Clearly, hp1 , ..., pm in ⊆ In (Vn (p1 , ..., pm )), and the Example 1. Fix the deglex (degree lexicographic) mono-
equality hp1 , ..., pm in = In (Vn (p1 , ..., pm )) need not occur, mial ordering on R[x1 , x2 ] with x2 > x1 . Let p(x) = x1 x22 −
e.g., if n = 1, all the polynomials x21 q(x1 ) of x21 1 , with x1 and hp1 , p2 i2 = x1 x2 − x2 , x22 − x1 2 . It is easy to see
q ∈ R[x1 ], vanish on the variety V = V1 (x21 ) = {0}, but that r1 = 0 and r2 = x21 − x1 are both reduced with
I1 (V1 (x21 )) = hx1 i1 and x21 1 6= hx1 i1 since p(x1 ) = x1 respect to {p1 , p2 } and that p = x2 p1 + p2 + r1 and
p = 0p1 + x1 p2 + r2 , which show that the remainder of
vanishes on {0}, but does not belong to x21 1 .
the division by an arbitrary basis need not be unique.
Let Va and Vb be two varieties of Rn , then
Let {g1 , ..., gm } be a set of non-zero polynomials in R[x]. A
(1) Va ⊂ Vb if and only if In (Va ) ⊃ In (Vb ); basis {g1 , ..., gm } of an ideal I of R[x] is called a Gröbner
(2) Va = Vb if and only if In (Va ) = In (Vb ); basis of I if, for any p ∈ R[x], the remainder of the division
of p by {g1 , ..., gm } is unique. Every non-zero ideal I of R[x]
this, in particular, shows that the map In (V) is one-to-one. has a Gröbner basis, which need not be unique 2 .
For instance if n = 1, Va = {1} and Vb = {1, 2}, then A monomial ordering on R[xa , xb ], with xa ∈ Rna and
I1 (Va ) = hx1 − 1i1 and I1 (Vb ) = h(x1 − 1)(x1 − 2)i1 , with xb ∈ Rnb , n = na + nb , eliminates xa if
I1 (Va ) ⊃ I1 (Vb ). xα β α γ β δ
a > xa ⇒ xa xb > xa xb ,
Let I be an ideal of R[x]; it is possible to show that the for all multi-indices α, β for which xα β
a > xa and for all
set multi-indices γ, δ. For instance, the lexicographic ordering
Vn (I) := {x ∈ Rn : p(x) = 0 for all p ∈ I} (2) with x1 > x2 > ... > xn eliminates x1 , ..., x` , for all 1 ≤
is a variety and that Vn (I) = Vn (p1 , ..., pm ) for any basis ` < n. Let I be an ideal of R[xa , xb ]. The elimination ideal
{p1 , ..., pm } of I. of I that eliminates xa is I ∩ R[xb ]. Let {g1 , ..., gm } be a
Gröbner basis for a monomial ordering that eliminates xa .
A variety V can be studied through the corresponding Then, the set obtained from {g1 , ..., gm } by retaining only
ideal In (V) given by (1) and, conversely, an ideal I can the elements that do not depend on xa (i.e., {g1 , ..., gm } ∩
be studied through the corresponding variety Vn (I) given R[xb ]) is a Gröbner basis of the elimination ideal I ∩ R[xb ]
by (2), but In (Vn (I)) need not coincide with I (e.g., for the monomial ordering on R[xb ] induced by >.
I1 (V1 ( x21 1 )) = hx1 i1 ), whence the map Vn (I) is not
Example 2. Let I = x1 + x22 , x1 − x2 2 . Fix the lexico-
one-to-one (e.g., V1 (h1i1 ) = V1 ( 1 + x21 ) and h1i1 6= graphic ordering with x1 > x2 , which eliminates x1 ; a
1 + x21 1 ). Gröbner basis of I for such an ordering is {x22 +x2 , x1 −x2 },
Given any subset S of Rn , it is easy to check that whence the elimination ideal of I that eliminates x1 is
I ∩ R[x2 ] = x22 + x2 1 ; in particular, {x22 + x2 } is a
In (S) := {p ∈ R[x1 , ..., xn ] : p(x) = 0 for all x ∈ S}
Gröbner basis of I ∩ R[x2 ] for the induced ordering (in
is an ideal even if S is not a variety; hence, Vn (In (S)) is a this case trivial).
variety that contains S. In particular, it is the smallest
variety containing S; Vn (In (S)) is called the Zariski 3. OBSERVABILITY AND EMBEDDINGS OF
closure of S. As an example that will be useful in the POLYNOMIAL SYSTEMS
following, if S ⊆ Rn is open, S = 6 ∅, then In (S) =
{0} and its Zariski closure coincides with the whole Rn Consider the following polynomial system
(Vn (In (S)) = Rn ).
Some polynomials q1 , ..., qm ∈ R[x] are algebraically de- ẋ = f (x), (3a)
pendent if there exists a non-zero polynomial p ∈ R[q], 2 By using the stronger notion of reduced Gröbner basis unicity is
>
where q = [ q1 . . . qm ] , such that p(q1 (x), ..., qm (x)) = 0, achieved, but this is not needed here.
44
19th IFAC World Congress
Cape Town, South Africa. August 24-29, 2014
45
19th IFAC World Congress
Cape Town, South Africa. August 24-29, 2014
algebraically independent (whence, there is no solution to the set of all polynomials being solution of Problem 1, and
Problem 1) if and only if VN +1 (IN +1 (YN )) = RN +1 . define
Corollary 1. (1.1) If N < n, the entries of the observability JN := y0 − L0f h(x), ..., yN − LNf h(x) n+N +1 .
map ye,N = ON (x) are algebraically dependent if and only Theorem 3. (3.1) IN is a polynomial ideal of R[ye,N ];
if system (3) is not (N + 1)-differentially observable;
(3.2) IN = JN ∩ R[ye,N ];
(1.2) If N ≥ n, the entries of the observability map
ye,N = ON (x) are always algebraically dependent. (3.3) if YN = ON (Rn ) is the image of Rn through the
observability map, then VN +1 (IN ) is the Zariski closure
The following theorem gives two sufficient conditions un- of YN , i.e., the smallest variety containing YN ; in addition,
der which there exists a solution to Problem 2. if system (3) is (N + 1)-differentially observable, then
Theorem 2. (2.1) If system (3) is N -polynomially (respec- VN +1 (IN ) = YN .
tively, rationally) observable, then there exists p(ye,N −1 ) ∈
R[ye,N −1 ] (respectively, p(ye,N −1 ) ∈ R(ye,N −1 )) such that According to the proof of Theorem 3, if one fixes the
p(ye,N ) = yN − p(ye,N −1 ) satisfies (5). lexicographic monomial ordering with x1 > x2 > . . . >
xn > yN > yN −1 > . . . > y0 , then a Gröbner basis of
(2.2) If N ≥ n+1, then there exists p(ye,N −1 ) ∈ R(ye,N −1 ) IN can be obtained from a Gröbner basis G of JN as
such that p(ye,N ) = yN − p(ye,N −1 ) satisfies (5). G ∩ R[ye,N ], i.e., simply by taking all the elements of G
Remark 1. Statement (2.1) of Theorem(2) guarantees that that do not depend on the entries of x.
the N -polynomial (rational) observability, for some fixed By the second part of Statement (3.3), if system (3) is (N +
N , implies the existence of a polynomial (rational) em- 1)-differentially observable, then x(t) is a solution of (3a)
bedding, and Statement (2.2) guarantees that there al- if and only if y(t) = h(x(t)) is a solution of p(ye,N ) = 0,
ways exists a rational embedding for N ≥ n + 1. As for all p ∈ IN .
will be illustrated in Section 4, in practice, the rational
embeddings can be more useful if the poles of the rational 4. APPLICATION TO THE ROSSLER OSCILLATOR
function p(ye,N −1 ) are guaranteed not to be attainable by
the system trajectories. For some specific system, such an The Rössler oscillator is described by the equations:
additional requirement may be possible only for values of
N greater than n + 1.
ẋ1 = x1 x2 + b − cx1 , (8a)
Example 3. If pair f, h is in the observability form,
ẋ2 = −x1 + x3 , (8b)
x2 ẋ3 = −x2 + ax3 , (8c)
..
f (x) = .
, y = x2 , (8d)
xn
where a, b and c are three scalar positive parameters,
ϕ(x1 , . . . , xn ) and the choice of the measured output is just an exam-
h(x) = x1 , ple, the studies reported here below can be analogously
developed for, e.g., y = x1 and y = x2 . Despite the
with ϕ ∈ R[x], then Problem 2 is solvable by apparent simplicity of such dynamic equations, for many
yN = ϕ(y0 , . . . , yN −1 ). values of the parameters the Rössler oscillator exhibits a
Example 4. Let n = 1, f (x) = 12 x and h(x) = x2 . It is chaotic behaviour, and the presence of an attractor renders
easy to see that yi = x2 , for all i = 0, 1, . . ., whence it a perfect benchmark for observer design, since it is
the considered system is not N -differentially observable easy to generate bounded chaotic trajectories not conver-
for any N ≥ 0. Nevertheless, for such a system one has gent to the origin. All the computations in this section,
the linear explicit embedding y1 − y0 = 0. and in particular the computation of all the mentioned
Gröbner bases, have been performed by using the freeware
Problems 1 and 2 have been extensively studied in the ana- Macaulay 2, a Computer Algebra System (CAS) special-
lytic case by Jouan and Gauthier (1996) and Gauthier and ized in algebraic geometry computations (see Grayson and
Kupka (2001) (earlier similar studies were given in Takens Stillman (2013)).
(1981)), showing that if N ≥ 2n + 1, then Problems 1 By computing Lf h(x), L2f h(x) and L3f h(x), it can be
and 2 are generically solvable, thus implying the existence
of an analytic function ϕ, locally about any regular point of seen that the observability map O3 (x) is not injective.
p(ye,N ) (a point ye,N = ON (xr ) is regular for p(ye,N ) if the By computing L4f h(x) and a Gröbner basis G4 of the
Jacobian matrix of the observability mapping has full col- ideal J4 = hy0 − h(x), y1 − Lf h(x), y2 − L2f h(x), y3 −
umn rank about xr ), such that yN = ϕ(y0 , ..., yN −1 ). The L3f h(x), y4 −L4f h(x)i of R[x1 , x2 , x3 , y4 , y3 , y2 , y1 , y0 ] w.r.t.
above mentioned results do not give a constructive pro- the lexicographic monomial order (with x1 > x2 > x3 >
cedure for the computation of such a polynomial p(ye,N ), y4 > . . . > y0 ), it can be seen that the observability
which can be determined by eliminating the x variables map ye,4 = O4 (x) is globally invertible. In fact, G4 is
from the equations y0 = L0f h(x), ..., yN = LN f h(x) consti- constituted by 8 polynomials, of which the relevant ones
tuting the observability map ye,N = ON (x). are
Clearly, the elimination theory for polynomial ideals seems
to be the correct instrument for such computations in the g4,4 = x3 y0 + (−a − c)x3 + γ4,4 (ye,4 ),
polynomial case. To pursue such an approach, let IN be g4,5 = x3 y1 + γ4,5 (ye,4 ),
46
19th IFAC World Congress
Cape Town, South Africa. August 24-29, 2014
x3
0
Gröbner basis of the ideal hh(x) − a − c, Lf h(x), L2f h(x)i, −5
that is given by {a + b + c, x2 + b, x1 − x3 }, and noting −10
that one of its elements never vanishes. Whence, by equat-
ing to zero (y0 − a − c)g4,4 , y1 g4,5 and y2 g4,6 , and summing
10
up the three resulting equations, one obtains the following
20
rational expression 0 15
x2
10
(y0 −a−c)γ4,4 (ye,4 )+y1 γ4,5 (ye,4 )+y2 γ4,6 (ye,4 ) −10 5 x1
x3 = − , (9) 0
(y0 − a − c)2 + y12 + y22
that is globally valid, along the trajectories of the system.
Furthermore, by equating to zero g4,8 , one obtains: Fig. 1. The chosen trajectory of the Rössler system for
t ∈ [0, 40].
x1 = x3 − y1 ; (10)
expressions (9), (10), with x3 replaced by its expression
given by (9), and the trivial x2 = y0 , constitute an explicit 20
expression of a left inverse x = O4−1 (ye,4 ), that is needed
x1 , x̂1
0
To perform some simulations, the values of the system 0 5 10 15 t 20 25 30 35 40
parameters have been chosen as a = 0.1, b = 0.1 and
c = 10. The initial condition for the system has been 10
x2 , x̂2
chosen as 0
>
x(0) = [ 6 16 −0.6 ] , −10
0 5 10 15 20 25 30 35 40
5. CONCLUSIONS
t
After characterizing observability and high-gain observer 5
design for polynomial systems in terms of algebraic ge-
x3 − x̂3
47
19th IFAC World Congress
Cape Town, South Africa. August 24-29, 2014
48