Transformation of Nonlinear State Equations into Observer Form

203
Transformation of Nonlinear State Equations into Observer Form VADIM KAPARIN PRESS THESIS ON INFORMATICS AND SYSTEM ENGINEERING C90

Transcript of Transformation of Nonlinear State Equations into Observer Form

Page 1: Transformation of Nonlinear State Equations into Observer Form

Transformation of Nonlinear StateEquations into Observer Form

VADIM KAPARIN

P R E S S

THESIS ON INFORMATICS AND SYSTEM ENGINEERING C90

Page 2: Transformation of Nonlinear State Equations into Observer Form

TALLINN UNIVERSITY OF TECHNOLOGYInstitute of Cybernetics

This dissertation was accepted for the defence of the degree ofDoctor of Philosophy in Informatics and System Engineering onAugust 26, 2013

Supervisor: DSc, Leading Researcher Ulle Kotta, Institute of Cyber-netics, Tallinn University of Technology

Opponents: PhD, Professor Witold Respondek, Laboratoire deMathematiques, INSA de Rouen, Saint-Etienne-du-Rouvray, France

PhD, Professor Xiaohua Xia, Department of Electrical,Electronic and Computer Engineering, University of Pre-toria, Pretoria, Republic of South Africa

Defence of the thesis: September 24, 2013

Declaration:Hereby I declare that this doctoral thesis, my original investigation andachievement, submitted for the doctoral degree at Tallinn University ofTechnology has not been submitted for doctoral or equivalent academic de-gree.

/Vadim Kaparin/

Copyright: Vadim Kaparin, 2013ISSN 1406-4731ISBN 978-9949-23-534-6 (publication)ISBN 978-9949-23-535-3 (PDF)

Page 3: Transformation of Nonlinear State Equations into Observer Form

INFORMAATIKA JA S TEHNIKA C90ÜSTEEMI

Mittelineaarsete olekuvõrranditeolekutaastaja kujule teisendamine

VADIM KAPARIN

Page 4: Transformation of Nonlinear State Equations into Observer Form
Page 5: Transformation of Nonlinear State Equations into Observer Form

Contents

List of publications 7

Author’s Contribution to the Publications 9

Introduction 11

State of the Art . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Choice of Research Directions: Motivation . . . . . . . . . . . . . 16

Outline and Contributions of the Thesis . . . . . . . . . . . . . . 18

1 Preliminaries 21

1.1 Time Scale Calculus . . . . . . . . . . . . . . . . . . . . . . 21

1.2 Nonlinear Control Systems . . . . . . . . . . . . . . . . . . 23

1.2.1 Analytic and Meromorphic Functions . . . . . . . . 24

1.2.2 Continuous-time Systems . . . . . . . . . . . . . . . 24

1.2.3 Discrete-time Systems . . . . . . . . . . . . . . . . . 24

1.2.4 Systems Defined on Homogeneous Time Scales . . . 25

1.3 Algebraic Framework . . . . . . . . . . . . . . . . . . . . . . 26

1.3.1 σf -Differential and Difference Fields . . . . . . . . . 26

1.3.2 Differential Forms . . . . . . . . . . . . . . . . . . . 28

1.4 Theorem on the Differentiation of a Composite Functionwith a Vector Argument . . . . . . . . . . . . . . . . . . . . 29

2 Generalized Observer Form for Continuous-Time Systems 31

2.1 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . 31

2.2 Necessary and Sufficient Conditions . . . . . . . . . . . . . 33

2.3 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39

2.4 Comparison with the Earlier Results . . . . . . . . . . . . . 40

2.5 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41

3 Extended Observer Form for Discrete-Time Systems 45

3.1 Problem Statement . . . . . . . . . . . . . . . . . . . . . . . 45

3.2 Intrinsic Necessary and Sufficient Conditions . . . . . . . . 47

3.3 Simple Necessary and Sufficient Conditions . . . . . . . . . 53

5

Page 6: Transformation of Nonlinear State Equations into Observer Form

3.3.1 Matrix Representation of the Conditions . . . . . . . 563.4 Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59

4 Observable Space of the System on Homogeneous TimeScale 674.1 Observability and Observable Space . . . . . . . . . . . . . 674.2 Decomposition of the System into Observable and Unobserv-

able Subsystems . . . . . . . . . . . . . . . . . . . . . . . . 74

5 Implementation of the Results in the NLControl Package 795.1 Outline of the NLControl Package . . . . . . . . . . . . . . 795.2 Transformation of the System into Observer Form . . . . . 805.3 Observability Related Functions . . . . . . . . . . . . . . . . 86

Conclusions 91Concluding Remarks . . . . . . . . . . . . . . . . . . . . . . . . . 91Future Research . . . . . . . . . . . . . . . . . . . . . . . . . . . 93

Appendix 95Proof of Theorem 1.4 . . . . . . . . . . . . . . . . . . . . . . . . . 95Proof of Proposition 2.1 . . . . . . . . . . . . . . . . . . . . . . . 99Proof of Lemma 2.1 . . . . . . . . . . . . . . . . . . . . . . . . . 101Proof of Lemma 3.1 . . . . . . . . . . . . . . . . . . . . . . . . . 102Proof of Lemma 3.2 . . . . . . . . . . . . . . . . . . . . . . . . . 102Proof of Lemma 4.1 . . . . . . . . . . . . . . . . . . . . . . . . . 108

References 111

Acknowledgements 121

Kokkuvote 123

Abstract 125

Elulookirjeldus 127

Curriculum Vitae 129

Publications 133

6

Page 7: Transformation of Nonlinear State Equations into Observer Form

List of Publications

1. V. Kaparin and U. Kotta. Necessary conditions for transformationthe nonlinear control system into the observer form via state andoutput coordinate changes. In The 7th International Conference onControl and Automation, pages 745–750, Christchurch, New Zealand,December 2009.

2. V. Kaparin and U. Kotta. Necessary and sufficient conditions interms of differential-forms for linearization of the state equations upto input-output injections. In UKACC International Conference onCONTROL, pages 507–511, Coventry, UK, September 2010.

3. V. Kaparin and U. Kotta. Theorem on the differentiation of a com-posite function with a vector argument. Proceedings of the EstonianAcademy of Sciences, 59(3):195–200, 2010.

4. V. Kaparin and U. Kotta. Extended observer form for discrete-timenonlinear control systems. In The 9th International Conference onControl and Automation, pages 507–512, Santiago, Chile, December2011.

5. V. Kaparin, U. Kotta, and T. Mullari. Extended observer form: Sim-ple existence conditions. International Journal of Control, 86(5):794–803, 2013.

6. V. Kaparin, U. Kotta, and M. Wyrwas. Observable space of non-linear control system on homogeneous time scale. Proceedings of theEstonian Academy of Sciences. Accepted for publication.

7

Page 8: Transformation of Nonlinear State Equations into Observer Form
Page 9: Transformation of Nonlinear State Equations into Observer Form

Author’s Contribution tothe Publications

The results of all publications were obtained by the author of the thesisunder the supervision of Dr. Ulle Kotta.

The fifth publication is a journal article based, in a sense, on the con-ference paper [79] with Tanel Mullari as coauthor. In [79] the solutionwas provided for the special case. Introducing the additional conditions,the author of the thesis extended the results of [79] to the general case.Moreover, he formulated the algorithm, which brings the system into therequired extended observer form, whenever possible.

Regarding the sixth publication, the proofs of lemmas and propositionswere performed by the author of the thesis as a result of joint discussionwith Ma lgorzata Wyrwas, who acted as an expert in time scales.

9

Page 10: Transformation of Nonlinear State Equations into Observer Form
Page 11: Transformation of Nonlinear State Equations into Observer Form

Introduction

State of the Art

Observers

Various control tasks, based on the state-space representation of the system,require that the values of the states are available. Among such tasks are, forinstance, computation of the state feedback and monitoring of the systembehavior. However, in practice all state variables are rarely available fordirect (on-line) measurement, or even if measurable, measurement can beexpensive. In such situations the suitable estimates of the states can be usedinstead of their actual values. The tool which is intended to produce therequired estimates is called observer. In brief, the observer is an auxiliarydynamical system which estimates the state from the knowledge of theinputs and outputs of the system under observation (generally, the modelof the system is also required). Moreover, it is desirable that the observeris constructed in such a way that the error between the actual value of thestate and its estimate vanishes as time increases. Though the estimationproblem is also studied by the stochastic approaches (such as Kalman filter),this section focuses on the overview of the deterministic methods.

Since the first works of David G. Luenberger [71], [72], the problem ofobserver design for linear time-invariant systems is much studied and the re-spective theory is well established. Though for nonlinear systems there is nogeneral solution, a great number of methods and approaches can be foundin the literature. Among the most typical are the high-gain and slidingmode observers for the continuous-time systems, the Newton observer forthe discrete-time systems and the Luenberger-type observer for the systemsof both time domains. The methods for the construction of the high-gainobserver were proposed, for instance, in [15], [30], [91]. The author of [91]proposed the linear and robust observer for the state and parameter esti-mation of nonlinear single-output autonomous systems. The main resultof [30] claims that under certain technical assumptions (such as some func-tions are globally Lipschitz) an exponential observer can be built, whichis in fact a kind of an extended Luenberger observer. The authors of [15]

11

Page 12: Transformation of Nonlinear State Equations into Observer Form

generalized the technique presented in [30] to the multi-input multi-output(MIMO) case. The design of the sliding mode observer was introduced in[87] and developed further in [74]. The development of the Newton observerdesign can be found in [13] and [77]. The authors of [77] proposed the ap-plication of the Newton’s algorithm as the sampled-data observer. In [13]the modified Newton observer was introduced. The proposed observer hasa hybrid structure, combining discrete-time iterations with the continuous-time filters. The methods for construction of the Luenberger-type observerwere presented in [53] and [54]. In [53] the problem of observer designfor continuous-time nonlinear systems was translated into the problem ofsolving a system of singular first-order linear partial differential equations.The similar approach was employed in [54] for the discrete-time systems inorder to formulate the observer design problem via a system of first-orderlinear nonhomogeneous functional equations. In both cases rather generalset of necessary and sufficient conditions was derived.

Observer Form Approach

A distinct from the above-mentioned approaches is the method of lineariza-tion by input-output injections. The main feature of the method is the in-termediate step implying the transformation of the system into the specialform, called the observer form. Roughly speaking, a system in the observerform is a linear observable system that is interconnected with an input-output-dependent nonlinearities, called input-output injections. Once thesystem is in the observer form, the construction of the nonlinear observer isrelatively easy. The advantage of the approach is that the dynamics of theestimation error are linear. Furthermore, the method is, in a sense, system-atic and can be applied to both continuous- and discrete-time systems. Thepioneers of the research in this direction were the authors of two indepen-dent contributions [12], [62]. In both papers the existence of state transfor-mation, bringing the nonlinear continuous-time autonomous system withsingle output into the observer form, was studied. The difference is thatthe authors of [12] investigated the problem for the time-varying systems,whereas in [62] the time-invariant systems were considered. Moreover, thepaper [62] provided the necessary and sufficient solvability conditions usingthe tools of differential geometry. Afterwards, these results were extendedto MIMO case in [63], [97]. The authors of [97] improved some results of [63]and proposed a different set of necessary and sufficient conditions as wellas a procedure for the practical computation of the state transformation.The approach of [12] was developed further in [67], where the necessaryand sufficient conditions for the existence of the state transformation werepresented as rank conditions of certain matrices. The multi-output versionof these conditions was given later in [96].

12

Page 13: Transformation of Nonlinear State Equations into Observer Form

The problem in the context of discrete-time autonomous systems wasaddressed in the papers [23], [66]. In [23] the results of [62] were carriedover to the discrete-time case with a view to investigating the effects oftime-sampling on the solvability of the observer error linearization problem.The paper [66] originated as a parallel result to the continuous-time case[97]. The authors of [66] derived the necessary and sufficient solvabilityconditions for both single- and multi-output cases.

Extensions and Generalizations of the Observer Form

The observer form approach, relying on the state transformation only, hasthe disadvantage of imposing restrictive conditions for the existence of theobserver form for nonlinear control system. This fact motivates variousextensions and generalizations of the observer form as well as the gener-alization of the transformations to enlarge the class of systems for whichthe observer with linear error dynamics can be constructed. The majorityof such generalizations, proposed in the literature, can be classified intothree categories: (i) application of the output transformation in additionto the state transformation, (ii) generalization of the form of the matrix A(the coefficient matrix of the state vector in the matrix representation ofthe observer form), and (iii) generalization of the form of the input-outputinjections.

The generalization of category (i) has appeared already in the early pa-per [63], where the state transformation was supplemented by the outputtransformation, implying that the output in the observer form can be afunction of the original output. The further development of this approachcan be found in [83], [16], where certain algorithms for attaining the ob-server form are proposed. In [57] the output transformation is applied forthe discrete-time systems in such a way that the usual addition opera-tion in the observer form is replaced by a more general associative binaryoperation, yielding the associative observer form. Though this approachallows to reduce nonlinearities to the linearities in the representation of theobserver form, its limitation is that the amount of the known associativebinary operators is not very large.

The generalization of category (ii) can be found, for example, in [10],[36], [37], [88], [101]. The authors of [36] developed the necessary and suffi-cient conditions under which the continuous-time system is transformableinto the observer form, where the matrix A is allowed to depend on theinput. A different set of conditions and an alternative procedure for trans-formation were provided in [37]. The paper [10] is a kind of the discrete-timeversion of the results presented in [36]. In [101], the matrix A is allowed todepend on output, whereas in [88] on both input and output.

13

Page 14: Transformation of Nonlinear State Equations into Observer Form

The observer forms with the generalizations of category (iii) are pre-sented, for instance, in [70], [76], [84], [86], [92] for continuous-time systemsand in [42], [68] for discrete-time systems. In [84] two types of generalizedobserver form were considered. In the first type the input-output injectionsare allowed to depend not only on the input and output but also on thederivatives of the input, whereas in the second type the derivatives of boththe input and the output are allowed. The first type of the observer formwas considered for MIMO systems, whereas the second for systems withsingle output and the extension to the MIMO case was provided in [70]. In[76] the another generalized observer form was proposed for MIMO systems.Though the input-output injections in the observer form can also dependon the derivatives of the input, this dependence is reduced. In both [86]and [92] the nonlinear term, playing the role of the input-output injection,is allowed to depend on certain state variables. In [92] such dependenceleads to the triangular structure of the observer form. The extended ob-server form, proposed in [68] for the discrete-time multi-input single-output(MISO) systems, contains the input-output injections, which, besides theinput and output, also depend on a finite number of their past values. In[42] less general case of the systems without inputs was considered. Thoughthe extended observer form presented in [42] can also depend on the pastvalues of the output, the input-output injections are structurally differentfrom those considered in [68].

Furthermore, three categories of generalization may frequently occur invarious combinations. The combination of categories (i) and (iii) can befound, for example, in [31], [40] for continuous- and discrete-time cases,respectively. The observer form presented in [31] is similar to the firsttype of the observer form considered in [84], but equipped with the outputtransformation. In [40] the output transformation was used to extend theresults of [42]. The generalizations of categories (i) and (ii) were addressedin [9], [18], [19], [64], where the output transformation is employed andthe matrix A is allowed to depend on input. In [9] the continuous-timeMISO system was considered, whereas [18] and [19] addressed the cases ofthe discrete-time MISO and MIMO systems, respectively. The alternativeapproach to the discrete-time MISO systems is presented in [64], where,unlike [18], the solvability conditions are expressed in more simple formof certain partial derivatives and do not involve more complex elements ofdifferential geometry.

It should be mentioned, that a number of methods, generalizing theobserver form approach, are beyond the classification given above. Forexample, the method, proposed in [34], [85] for the continuous-time sys-tems with single output, implies the application of output-dependent time-scaling transformation such that with respect to the new time-scale the sys-tem becomes transformable into the observer form. The approach of [34] is

14

Page 15: Transformation of Nonlinear State Equations into Observer Form

based on the language of differential forms and exterior calculus, whereasin [85] the tools of differential geometry are applied. The extension of themethod to the multi-output case was presented in [93]. The attempt todevelop a discrete-time counterpart of the time-scaling technique can befound in [69]. The other two related methods are the system immersionand the dynamic observer error linearization techniques (for the continuous-time case see [3], [4], [11], [46] and [5], [17], [81], [98], [99], respectively).The main feature of both methods is embedding the original system intothe higher-dimensional one, being transformable into the observer form.The difference is that the immersion involves the application of the certainchange of state variables, whereas in the case of dynamic observer errorlinearization the auxiliary dynamics and virtual outputs are introduced toaugment the system. The discrete-time version of the dynamic observererror linearization and both the immersion and the dynamic observer errorlinearization can be found in [65] and [100], respectively.

Dynamical Systems on Time Scales

Roughly speaking, a time scale is a model of time. The most typical specialcases instances of time scale are continuous and discrete time. However,there are a number of other time models, for example, the partly contin-uous and partly discrete time, q-models (the set of all integer powers of anumber q > 1, including 0), sets of disjoint closed intervals, Cantor set,etc. The theory of dynamical equations on time scales is a new and popu-lar research area, which was initiated in 1988 by Stefan Hilger in his PhDthesis [39] (supervised by Bernd Aulbach) with the intention of unifyingcontinuous and discrete analysis. Afterwards, Martin Bohner and AllanPeterson published the first monograph on this topic [14]. From a model-ing point of view, dynamical systems on time scales incorporate both thecontinuous- and discrete-time systems as the special cases, allowing thatway to unify the study and consider the classical results as the specialcases from the new theory. On the other hand, the study of dynamical sys-tems on time scales helps to reveal and explain discrepancies, occasionallyappearing between the results obtained for continuous-time systems andtheir discrete-time counterparts. However, it is important to note that thediscrete-time model in the time scale formalism is given in terms of thedifference operator, and not in terms of the more conventional shift oper-ator as, for example, in [1], [2], [33]. The difference-based models, oftenreferred to as delta-domain models, are not completely new for descriptionof the discrete-time systems. They have been promoted during the lastdecades as the models closely linked to the continuous-time systems, beingless sensitive to round-off errors at higher sampling rates [32], [73].

15

Page 16: Transformation of Nonlinear State Equations into Observer Form

The properties of linear systems, defined on time scales, were studied,for instance, in [7] and [27]. In [6] the algebraic formalism in terms ofdifferential one-forms has been developed for the study of nonlinear con-trol systems defined on homogeneous time scales and used later to studydifferent problems like realization, transfer equivalence, irreducibility andreduction of nonlinear input-output equations [8], [20], [56], [58].

NLControl package

The solutions of nonlinear control problems require a huge amount of sym-bolic computations. Unfortunately, the nonlinear control systems, unliketheir linear counterparts, practically miss a support of professional soft-ware products. For this reason, the special software package NLControlwas developed in the Control System Department of the Institute of Cy-bernetics at Tallinn University of Technology. The NLControl package isimplemented within the computation system Mathematica, the commercialsoftware developed by Wolfram Research company [95]. The purpose ofthe package is to provide the symbolic computational tools that assist thesolution of different modeling, analysis, and synthesis problems for nonlin-ear control systems. The majority of provided tools rely on the algebraicapproach of differential one-forms and the related methods based on thetheory of the skew polynomial rings. The development of the NLControlpackage was originally initiated more than decade ago and at the first stagesthe functions were implemented mainly by Maris Tonso (see, for example,[60], [61], [89]). At the moment the package consists of more than 100functions/programs, assisting in research and teaching of nonlinear controltheory.

Note, however, that the NLControl package is not stand-alone softwareand cannot be used outside of the Mathematica environment. In order toovercome this obstacle the NLControl website [43] was created. EmployingwebMathematica technology (developed by Wolfram Research), the web-site makes available the most important functions from NLControl via theInternet, such that no other software except for a web browser needs to beinstalled on a computer [90].

Choice of Research Directions: Motivation

On the one hand, the transformation of the nonlinear system into theobserver form is a recognized approach to the state estimation problem.Being, in a sense, systematic and applicable to both the continuous- anddiscrete-time systems, the method is attractive for researchers. Anotheradvantage of the method is that it allows to construct the nonlinear ob-server in such a way that the dynamics of the estimation error are linear,

16

Page 17: Transformation of Nonlinear State Equations into Observer Form

which guaranties that the error converges asymptotically to zero. On theother hand, the research area related to the observer form approach is stillactive, which is confirmed by numerous recent publications (see [17], [64],[65], [69], [93], [98], [100]). There are still a number of unsolved problemsand the techniques that can be improved. One of the possible directionsfor improvement is the development of the constructive algorithms, im-plementable in symbolic software. The main part of this thesis presentsthe results obtained by the author in this direction. Both the continuous-and discrete-time cases are investigated. The theoretical research was per-formed with the intention of implementing the results within the Mathemat-ica based package NLControl. This motivated the author to develop moresimple and direct formulas, as well as the algorithms which are constructive(at least in a sense of symbolic computations).

The Problems to Be Studied

In the continuous-time case the problem of transforming the single-inputsingle-output (SISO) nonlinear control system into the observer form, us-ing both the state and output transformations, is addressed. Regarding theclassification from the previous section, the generalization belongs to thecategory (i). The starting point for our research served the contribution[31], where the approach based on differential forms was applied to the prob-lem and the solution is found as a result of two-step procedure. The neces-sary condition, stated in [31] for the existence of the output transformation,is very mild and far from being sufficient. Obviously, its validity does notguarantee the solvability of the problem. To verify whether the problem issolvable, one has first to apply the output transformation and then checkwhether in the new output coordinates the system is transformable intothe observer form by the state coordinate transformation only. For thelatter the recursive algorithm was developed. Our aim was to find directand simple solvability conditions, which would be both necessary and suf-ficient. The obtained conditions are formulated in terms of an unknownsingle-variable output dependent function and the differential one-forms,directly computable from the input-output equation, corresponding to thestate equations. Note that the unknown function can be found solving cer-tain differential equation. Once the function is obtained, the verification ofthe remaining conditions becomes straightforward.

In the discrete-time case the problem of transforming the SISO nonlin-ear state equations into the extended observer from was considered. Themain feature of the extended observer form lies in the input-output injec-tion terms, which, besides the input and output, depend also on a finitenumber of their past values. Though the past values of input and outputrequire additional memory, the construction of the observer is as simple as

17

Page 18: Transformation of Nonlinear State Equations into Observer Form

in the case of traditional observer form, preserving the asymptotic errorconvergence to zero. Again, the output transformation in addition to theextended state coordinate change is employed. Thus, according to the clas-sification from the previous section, the generalizations are of categories (i)and (iii). The problem, mentioned above, was addressed earlier in [40] forthe systems without inputs. The approach of [40] relies on the sophisticatedlanguage of differential geometry and verification of the proposed conditionsrequires calculation of the exterior derivatives and wedge products of certainone-forms, associated with the system, as well as the Lie derivatives, Liebrackets and interior product, which leads to complicated computations.This motivated us to search for more simple conditions. Another goal ofthe research was extension of the theory to the input-dependent systems.As a result, two sets of necessary and sufficient conditions were obtained.The first set is formulated in terms of certain differential one-forms and hasthe advantage of being intrinsic. Though the second set of conditions is notintrinsic, it is formulated in terms of certain partial derivatives and, thence,is very simple to verify. Besides, certain algorithm for the transformationof the state equations into the extended observer form was proposed.

Another direction of the research presented in the thesis is study ofnonlinear control systems, defined on homogenous time scales. Since theobservability of the system is frequently assumed by the observer formapproach, we decided to study this property for systems on time scales. Ourintention was to unify the observability related results, obtained separatelyfor continuous- and discrete-time systems, and to analyze the differencesbetween two time domains. In particular, the observable space is alwaysintegrable in the continuous-time case, but is not necessarily so for thediscrete-time systems.

Outline and Contributions of the Thesis

The main part of the thesis is divided into five chapters. Chapter 1 containsthe introductory material. Chapters 2–4 present the theoretical results ofthe thesis, whereas Chapter 5 describes the implementation of the resultsfrom the previous chapters within the NLControl package.

Chapter 1

This chapter summarizes the main theoretical concepts and mathematicaltools used throughout the thesis. The first section contains the introductionto the calculus on time scales. The next two sections define the object ofthe study, i.e. the nonlinear dynamical system, and recall the algebraicframework based on differential one-forms, respectively. The last section

18

Page 19: Transformation of Nonlinear State Equations into Observer Form

presents the theorem, stated and proved by the author of the thesis in [49].The theorem is necessary for the proof of the main result of Chapter 2.

Chapter 2

The problem of transforming the continuous-time state equations into theobserver form, using both the state and the output transformations, isaddressed in the chapter. The main contributions of the chapter are thenecessary and sufficient solvability conditions and the algorithm for findingthe state and output transformation, bringing the system into the observerfrom. Moreover, the comparison of our results with those presented earlierin [31] is presented at the end of the chapter. The content of the chapterrests on the results published in [47] and [48].

Chapter 3

The chapter is devoted to the transformation of the discrete-time stateequations into the extended observer form. In this form, the input-outputinjections depend not only on the input and the output but also on theirpast values, the number of which is determined by the integer, called thebuffer. Furthermore, besides the extended coordinate change, the outputtransformation is allowed. Two sets of necessary and sufficient conditionsare presented in the chapter. The first set of conditions is expressed in termsof certain differential one-forms. The second set of conditions, expressed interms of certain partial derivatives, was initially proposed by Tanel Mullariet al. in [79] for the special case when the buffer equals 1. Moreover, thesufficient conditions presented in [79] are valid only for the buffer satisfyingcertain relation regarding the system order and/or the highest and thelowest shifts of input and output in system input-output equation. Thenecessary and sufficient conditions for the general case and an arbitrarybuffer are presented in this chapter. The last contribution of the chapter isthe algorithm for transforming the system into the extended observer form.The chapter is based on the results published in [50], [51].

Chapter 4

The chapter addresses the observability property of the MIMO nonlinearsystem, defined on homogeneous time scale. The observability necessaryand sufficient condition is provided through the notion of the observablespace. The related notions of the observability filtration and the observ-ability indices are extended to the systems on homogeneous time scale. Forthe unobservable systems, whose observable space is completely integrable,the certain procedure of the decomposition into observable/unobservable

19

Page 20: Transformation of Nonlinear State Equations into Observer Form

subsystems is presented. The main contributions of the chapter are differ-ent lemmas and propositions proved in terms of the time scale formalism.Time scale analysis allows to consider the classical results, obtained sep-arately for continuous- and discrete-time systems, as the special cases ofthe new theory. On the other hand, the time scale formalism includes thedescription of a discrete-time system based on the difference operator de-scription (delta-domain approach), for which the results presented in thischapter are new, since the previous results have been obtained for discrete-time systems considered on the basis of the shift-operator formalism. Thechapter rests on the results to be published in [52].

Chapter 5

The chapter presents several Mathematica functions, implementing the the-oretical results from the previous chapters. The developed functions are theintegral part of the NLControl package and can be also used online via theNLControl website [43]. Several functions were programmed to assist thetransformation of the continuous- or discrete-time system into the respec-tive observer forms. The other set of functions was developed for the systemon homogeneous time scale to check the observability, find the observabilityfiltration, observability indices, observable and unobservable spaces, as wellas to decompose the system into the observable/unobservable subsystems,whenever possible.

20

Page 21: Transformation of Nonlinear State Equations into Observer Form

Chapter 1

Preliminaries

The objective of this chapter is to introduce the basic notions and math-ematical tools necessary in the main part of the thesis. The first sectiongives an overview of the basic concepts and computation rules of time scaleanalysis, necessary to understand the results of Chapter 4 of this thesis.The next two sections describe the nonlinear control system and the alge-braic formalism of differential forms, applied in our studies. The theorem,presented in the last section, provides the formula used later for the proofof the main result in Chapter 2.

1.1 Time Scale Calculus

This section serves as a brief introduction to the time scale calculus. Thebasic notions and results, applied in the thesis, are recalled from [14].

A time scale T is an arbitrary nonempty closed subset of the set R of realnumbers. The standard cases comprise the continuous time case, T = R,the discrete time cases, T = Z and T = τZ := τk | k ∈ Z for τ > 0, but

also T = qZ := qk | k ∈ Z ∪ 0 is a time scale. We assume that T is atopological space with the topology induced by R. The so-called forwardand backward jump operator are key notions in time scale calculus.

Definition 1.1. For t ∈ T the forward jump operator σ : T→ T is definedby

σ(t) := inf s ∈ T | s > t ,while the backward jump operator ρ : T→ T is defined by

ρ(t) := sup s ∈ T | s < t .

In this definition we set in addition σ(maxT) = maxT if there exists afinite maxT and ρ(minT) = minT if there exists a finite minT. Obviouslyboth σ(t) and ρ(t) are in T when t ∈ T. This is because of our assumption

21

Page 22: Transformation of Nonlinear State Equations into Observer Form

that T is a closed subset of R. In the analysis on time scales the graininessfunction plays a central role.

Definition 1.2. For t ∈ T the graininess functions µ : T → [0,∞) andν : T→ [0,∞) are defined by

µ(t) := σ(t)− t and ν(t) := t− ρ(t),

respectively.

A time scale T is called homogeneous if µ = ν ≡ const. Let Tκ denotethe truncated set consisting of T except for a possible maximal point maxTsuch that ρ(maxT) < maxT.

Definition 1.3. Let f : T→ R and t ∈ Tκ. Then delta derivative of f at t,denoted by f∆(t), is the real number (provided it exists) with the propertythat given any ε > 0 there is a neighborhood U = (t − δ, t + δ) ∩ T (forsome δ > 0) such that

|(f(σ(t))− f(s))− f∆(t)(σ(t)− s)| ≤ ε|σ(t)− s|

for all s ∈ U . Moreover, we say that f is delta differentiable on Tκ providedf∆(t) exists for all t ∈ Tκ.

Example 1.1.

• If T = R, then σ(t) = t, µ(t) ≡ 0 and delta derivative f∆(t) is the

ordinary time derivative, i.e. f∆(t) = df(t)dt .

• If T = τZ for τ > 0, then σ(t) = t+ τ , µ(t) = τ and

f∆(t) =f(σ(t))− f(t)

µ(t)=f(t+ τ)− f(t)

τ

always exists.

• If T = qZ for q > 1, then σ(t) = qt, µ(t) = (q − 1)t and

f∆(t) =f(qt)− f(t)

(q − 1)t

for all t ∈ T \ 0.

It is easy to observe, the first two time scales are homogeneous, whereasthe third is not, since in this case the graininess function depends on t.

For f : T → R define the function fσ : T → R by fσ(t) := f(σ(t)) forall t ∈ T, i.e. fσ := f σ. The theorems below provide the general rulesfor application of delta derivative.

22

Page 23: Transformation of Nonlinear State Equations into Observer Form

Theorem 1.1 ([14]). Assume the functions f, g : T→ R are delta differen-tiable at t ∈ Tκ. Then the delta derivative satisfies the following properties

(i) The sum f + g : T→ R is delta differentiable at t with

(f + g)∆ (t) = f∆(t) + g∆(t).

(ii) For any constant α, αf : T→ R is delta differentiable at t with

(αf)∆ (t) = αf∆(t).

(iii) The product fg : T→ R is delta differentiable at t with

(fg)∆ (t) = fσ(t)g∆(t) + f∆(t)g(t) = f∆(t)gσ(t) + f(t)g∆(t).

(iv) If g(t)gσ(t) 6= 0, then fg is delta differentiable at t with

(f

g

)∆

(t) =f∆(t)g(t)− f(t)g∆(t)

g(t)gσ(t).

Theorem 1.2 (Chain Rule [14]). Let f : R→ R be continuously differen-tiable and suppose g : T→ R is delta differentiable. Then f g : T→ R isdelta differentiable and the formula

(f g)∆(t) =

(∫ 1

0f′(g(t) + λµ(t)g∆(t))dλ

)g∆(t)

holds.

For a function f : T → R one can define the second delta derivative

f 〈2〉 :=(f∆)∆

: Tκ2 → R provided that the function f∆ is delta differen-

tiable on Tκ2 := (Tκ)κ. In a similar manner one defines higher order delta

derivatives f 〈n〉 :=(f 〈n−1〉)∆ : Tκn → R.

1.2 Nonlinear Control Systems

In this section the nonlinear control systems are defined separately for dif-ferent time domains. Both in continuous- and discrete-time cases the statespace and the input-output representations of the system are given. For thesystem, defined on homogeneous time scale, only state space representationis used.

Note that throughout the thesis we use the abridged notations. First,in order to simplify the exposition we leave out the time argument t, sox := x(t). Next, we apply Newton’s notation for the first and second time

derivatives, i.e. x := dxdt , x := d2x

dt2, and a more general notation x(k) := dkx

dtk

for the time derivative of an arbitrary order. Finally, in the discrete-timecase we use symbols +, − and [k] instead of the shifted time arguments, sox+ := x(t+ 1), x− := x(t− 1) and x[k] := x(t+ k).

23

Page 24: Transformation of Nonlinear State Equations into Observer Form

1.2.1 Analytic and Meromorphic Functions

In this thesis we assume that the nonlinear control systems are describedby real analytic functions. The choice of analytic functions is motivatedby their nice properties, necessary for the construction of the algebraicframework, based on the differential one-forms. First, the analytic functionsbelong to class C∞, i.e. are infinitely differentiable. However, unlike thering of C∞ functions, the ring of analytic functions is integral domain,meaning that it can be embedded into its quotient field whose elements aremeromorphic functions. Moreover, the employment of analytic functionsallows to study the generic properties of the systems, i.e. properties thathold in almost all situations except, so to say, the pathological ones. Thenotion of generic property does not make sense, in general, for systemsdefined by C∞ functions, further details can be found in [25], [26].

1.2.2 Continuous-time Systems

Consider a single-input single-output (SISO) nonlinear continuous-time dy-namical system, described either by the state equations

x = f(x, u)

y = h(x),(1.1)

or by the higher order input-output differential equation

y(n) = φ(y, y(1), . . . , y(n−1), u, u(1), . . . , u(n−1)

), (1.2)

where x(t) : R→ X ⊂ Rn is an n-dimensional state vector, u(t) : R→ U ⊂R is an input and y(t) : R→ Y ⊂ R is an output. Moreover, f : X×U→ X,h : X→ Y and φ : Yn ×Un → R are assumed to be real analytic functions.

1.2.3 Discrete-time Systems

Consider a single-input single-output (SISO) nonlinear discrete-time dy-namical system, described either by the state equations

x+ = f(x, u)

y = h(x),(1.3)

or by the higher order input-output difference equation

y[n] = φ(y, y[1], . . . , y[n−1], u, u[1], . . . , u[n−1]

), (1.4)

where x(t) : Z→ X ⊂ Rn is an n-dimensional state vector, u(t) : Z→ U ⊂R is an input and y(t) : Z→ Y ⊂ R is an output. Moreover, f : X×U→ X,h : X→ Y and φ : Yn ×Un → R are assumed to be real analytic functions.

24

Page 25: Transformation of Nonlinear State Equations into Observer Form

The following assumption is necessary for the algebraic framework basedon differential one-forms (see Section 1.3).

Assumption 1.1. System (1.3) is generically submersive, i.e. almost ev-erywhere, except on the set of measure zero, f(x, u) satisfies the condition

rank∂f(x, u)

∂(x, u)= n.

Assumption 1.1 is not restrictive since it is a necessary condition for sys-tem accessibility [33]. Moreover, it is more general than the often assumedreversibility condition, which requires that

rank∂f(x, u)

∂x= n

holds generically [29].

1.2.4 Systems Defined on Homogeneous Time Scales

Consider a multi-input multi-output (MIMO) nonlinear dynamical system,defined on homogeneous time scale1 T and described by the state equations

x∆ = f(x, u)

y = h(x),(1.5)

where x(t) : T → X ⊂ Rn is an n-dimensional state vector, u(t) : T →U ⊂ Rm is an m-dimensional input vector and y(t) : T → Y ⊂ Rp is ap-dimensional output vector. Moreover, f : X× U→ X and h : X→ Y areassumed to be real analytic functions.

Denote the state transition map of (1.5) by f(x, u) := x + µf(x, u).Like in the discrete-time case, the assumption below is necessary for thealgebraic framework based on differential one-forms (see Section 1.3).

Assumption 1.2. System (1.5) is generically submersive, i.e. almost ev-erywhere, except on the set of measure zero, f(x, u) satisfies the condition

rank∂f(x, u)

∂(x, u)= n.

Of course, for µ = 0, that corresponds to the continuous-time case, theassumption above is always satisfied.

1Though the closed interval [a, b] is also an example of homogeneous time scale, werestrict our consideration to infinite homogeneous time scales T = R and T = τZ forτ > 0.

25

Page 26: Transformation of Nonlinear State Equations into Observer Form

1.3 Algebraic Framework

This section is devoted to the description of the main algebraic structuresemployed in the thesis. First, we define the σf -differential and differencefields, associated with systems (1.5) and (1.3), respectively, and then werecall the basic concepts and facts from the theory of differential forms.Note that since the continuous-time system (1.1) is a special case of thesystem (1.5) for T = R, the differential field, associated with system (1.1),is a special case of the σf -differential field for σf = id. By this reason we donot define the algebraic framework for continuous-time systems separately,referring the reader to [25] for details.

Henceforth, for notational convenience, denote ξ〈i...n〉 :=(ξ〈i〉, . . . , ξ〈n〉

)

and ξ[i...n] :=(ξ[i], . . . , ξ[n]

)for 0 ≤ i ≤ n, implying ξ〈0〉 = ξ[0] := ξ and

recalling that symbols 〈i〉 and [i] stand for the ith delta derivative and ithtime shift, respectively.

1.3.1 σf -Differential and Difference Fields

Consider the system described by the equations (1.5). Let K denote thefield of meromorphic functions in a finite number of independent systemvariables from the infinite set

C =xi, i = 1, . . . , n; u〈k〉υ , υ = 1, . . . ,m, k ≥ 0

.

For F(x, u〈0...k〉

)∈ K the forward-shift operator σf : K → K is defined by

F σf(x, u〈0...k+1〉

):= F

(x+ µf(x, u), u〈0...k〉 + µu〈1...k+1〉

),

where f(x, u) is determined by (1.5). It is easy to note that in the continuous-time case (µ = 0), the forward-shift operator is identity, i.e. σf = id. UnderAssumption 1.2, σf is injective endomorphism and so the operator σf iswell defined on K [6]. Note that for the k-fold application of the forward-

shift operator we use the notation F σkf :=

(F σ

k−1f

)σf. Furthermore, for

F(x, u〈0...k〉

)∈ K the delta derivative operator ∆f : K → K is defined by

F∆f

(x, u〈0...k+1〉

):=

=

F σf(x, u〈0...k+1〉)− F

(x, u〈0...k〉

)

µif µ 6= 0,

∂F

∂x

(x, u〈0...k〉

)f(x, u) +

k≥0

∂F

∂u〈0...k〉

(x, u〈0...k〉

)u〈1...k+1〉 if µ = 0.

Hereinafter, the k-fold application of the delta derivative operator is de-

noted by F 〈k〉 :=(F 〈k−1〉)∆f .

26

Page 27: Transformation of Nonlinear State Equations into Observer Form

Proposition 1.1 ([6]). For F,G ∈ K the delta derivative and forward-shiftoperators satisfy the following properties

(i) F σf = F + µF∆f ,

(ii) (αF + βG)∆f = αF∆f + βG∆f , for α, β ∈ R,

(iii) (FG)∆f = F σfG∆f + F∆fG (generalization of Leibniz rule),

(iv) if GGσf 6= 0, then (F/G)∆f = (F∆fG− FG∆f )/(GGσf ),

(v) on homogeneous time scale operators ∆f and σf commute, i.e

(F σf )∆f =(F∆f

)σf .

An operator satisfying the generalized Leibniz rule is called a σf -de-rivation and a commutative field endowed with a σf -derivation is calleda σf -differential field [24]. Therefore, under Assumption 1.2, K endowedwith the delta derivative operator ∆f is a σf -differential field. For µ = 0,σf = σ−1

f = id and K is inversive. Though K is not inversive in general, itis always possible to embed K into an inversive σf -differential overfield K∗,called the inversive closure of K [24]. Since σf is injective endomorphism,it can be extended to K∗ so that σf : K∗ → K∗ is an automorphism. Apractical procedure for construction of K∗ for (µ 6= 0) is given in [6].

In order to define the difference field, associated with system (1.1), de-note by K the field of meromorphic functions in a finite number of inde-pendent system variables from the infinite set

C =xi, i = 1, . . . , n; u[k], k ≥ 0

.

For F(x, u[0...k]

)∈ K the forward-shift operator δ : K → K is defined by

δ(F(x, u[0...k]

)):= F

(f(x, u), u[1...k+1]

),

where f(x, u) is determined by (1.3). Note that throughout the thesis thealternative notation F+ := δ(F ) is employed and the k-fold application ofthe operator δ is denoted by F [k] := δ

(F [k−1]

). Under Assumption 1.1, δ

is injective and K endowed with the forward-shift operator δ is a differencefield. Like the σf -differential field, the difference field K is not inversivein general, necessitating to embed K into its inversive closure K∗, which isalways possible. A construction of K∗ for practical computations is givenin [2].

27

Page 28: Transformation of Nonlinear State Equations into Observer Form

1.3.2 Differential Forms

Consider the infinite set of symbols

dC =

dxi, i = 1, . . . , n; du〈k〉υ , υ = 1, . . . ,m, k ≥ 0

and denote by E the vector space spanned over the field K∗ by the elementsof dC, namely E := spanK∗dC. Any element of E has the form

ω =n∑

i=1

Aidxi +∑

k≥0

m∑

υ=1

Bυ,kdu〈k〉υ ,

where only a finite number of coefficients Bυ,k are nonzero elements of K∗.The elements of E are called the differential one-forms.

For F(x, u〈0...k〉

)∈ K∗ define the operator d : K∗ → E as follows

dF :=n∑

i=1

∂F

∂xidxi +

k∑

l=0

m∑

υ=1

∂F

∂u〈l〉υ

du〈l〉υ . (1.6)

One says that ω ∈ E is an exact one-form if ω = dF for some F ∈ K∗. Wewill refer to dF as to the total differential of F .

For one-form ω =∑

iAidζi, where Ai ∈ K∗ and ζi ∈ C, one can definethe operators ∆f : E → E and σf : E → E by

ω∆f :=∑

i

(A

∆f

i dζi +Aσfi d

∆f

i

))(1.7)

andωσf :=

i

Aσfi d

(ζσfi

).

Since Aσfi = Ai + µA

∆f

i ,

ω∆f =∑

i

(A

∆f

i dζi +(Ai + µA

∆f

i

)d(ζ

∆f

i

)).

Adapting Leibniz rule for an arbitrary-order derivatives of product to thecomputation of an arbitrary-order delta derivative of one-form, we obtain

ω〈r〉 =r∑

q=0

Cqr∑

i

(A〈r−q〉i

)σqfdζ〈q〉i , (1.8)

where Cqr is a binomial coefficient and σ0f implies id.

In the same manner, over the field K∗ one can define the difference vectorspace E := spanK∗ dC of differential one-forms, where

dC =

dxi, i = 1, . . . , n; du[k], k ≥ 0.

28

Page 29: Transformation of Nonlinear State Equations into Observer Form

The vector space E may be also endowed with the forward-shift operatorδ : E → E , defined by

δ

(∑

i

Aidζi

):=∑

i

δ (Ai) dδ (ζi) ,

where Ai ∈ K∗ and ζi ∈ C.Note that throughout the thesis the symbol dω means the exterior

derivative of the differential form ω and ∧ means the exterior or wedgeproduct (for details see [22]). A one-form ω for which dω = 0 is said tobe closed. It is well known that exact forms are closed, while closed formsare only locally exact. Integrability of the subspace of one-forms may bechecked by the Frobenius theorem below.

Theorem 1.3 (Frobenius theorem [22]). Let V = spanK∗ω1, . . . , ωr be asubspace of E. V is integrable if and only if

dωi ∧ ω1 ∧ · · · ∧ ωr = 0

for any i = 1, . . . , r.

1.4 Theorem on the Differentiation of a Compos-ite Function with a Vector Argument

The theorem below was stated and proved by the author of the thesis withthe intention of proving the main result of Section 2. The theorem showshow the partial derivative of the total derivative of the composite functionwith a vector argument can be expressed through the total derivative ofthe partial derivative of it.

Theorem 1.4. Assume that Φ(ξ1(t), ξ2(t), . . . , ξr(t)) is a composite func-tion for which derivatives up to order a+ b are defined; then

∂ (Φ(ξ1(t), ξ2(t), . . . , ξr(t)))(a+b)

∂(ξ

(a)l (t)

) = Cba+b

(∂Φ(ξ1(t), ξ2(t), . . . , ξr(t))

∂ξl(t)

)(b)

,

where l = 1, 2, . . . , r, Cba+b is the binomial coefficient and a, b are nonnega-tive integers.

The proof of the theorem is given in the Appendix. Some useful corol-laries of the theorem are given below.

Corollary 1.1. Under the assumptions of Theorem 1.4

∂ (Φ(ξ1(t), ξ2(t), . . . , ξr(t)))(a+b)

∂ξl(t)=

(∂ (Φ(ξ1(t), ξ2(t), . . . , ξr(t)))

(a)

∂ξl(t)

)(b)

,

where a and b are nonnegative integers.

29

Page 30: Transformation of Nonlinear State Equations into Observer Form

Corollary 1.2. Under the assumptions of Theorem 1.4

∂ (Φ(ξ1(t), ξ2(t), . . . , ξr(t)))(a)

∂ξl(t)=

(∂Φ(ξ1(t), ξ2(t), . . . , ξr(t))

∂ξl(t)

)(a)

,

where a is nonnegative integer.

The following example illustrates the statement of Theorem 1.4.Example 1.2. Consider the composite function Φ(u(t), y(t)) and assumethat we need to take the partial derivative with respect to y(t) of the 3rd-order total derivative of the function. Direct computations yield

∂ (Φ(u(t), y(t)))(3)

∂y(t)= 3

∂2Φ(u(t), y(t))

∂y(t)2y(t) + 3

∂2Φ(u(t), y(t))

∂u(t)∂y(t)u(t).

On the other hand, taking the partial derivative of Φ(u(t), y(t)) with respectto y(t) and the total derivative of the obtained result, one gets

(∂Φ(u(t), y(t))

∂y(t)

)(1)

=∂2Φ(u(t), y(t))

∂y(t)2y(t) +

∂2Φ(u(t), y(t))

∂u(t)∂y(t)u(t).

Multiplying both sides of the equality above by C13 , we have

C13

(∂Φ(u(t), y(t))

∂y(t)

)(1)

= 3∂2Φ(u(t), y(t))

∂y(t)2y(t) + 3

∂2Φ(u(t), y(t))

∂u(t)∂y(t)u(t).

It is not difficult to check that

∂ (Φ(u(t), y(t)))(3)

∂y(t)= C1

3

(∂Φ(u(t), y(t))

∂y(t)

)(1)

.

30

Page 31: Transformation of Nonlinear State Equations into Observer Form

Chapter 2

Generalized Observer Formfor Continuous-TimeSystems

This chapter is devoted to the problem of transforming the continuous-timenonlinear state equations into the observer form, using both the state andoutput transformations. The brief introduction into the issue is followed bythe solvability conditions and the algorithm for finding the transformations,whenever they exist. Section 2.4 shows the advantage of the presentedconditions over those suggested earlier in [31]. The example in the lastsection illustrates the application of the theory.

2.1 Problem Statement

Recall from Subsection 1.2.2 a SISO system, described by the state equa-tions

x = f(x, u)

y = h(x),(2.1)

and the higher order input-output (i/o) differential equation

y(n) = φ(y, y(1), . . . , y(n−1), u, u(1), . . . , u(n−1)

), (2.2)

where x(t) : R → X ⊂ Rn is an n-dimensional state vector, u(t) : R →U ⊂ R is an input and y(t) : R → Y ⊂ R is an output. The functionsf : X × U → X, h : X → Y and φ : Yn × Un → R are real analytic.From now on, we consider system (2.1) to be observable in a sense of rankcondition [25].

31

Page 32: Transformation of Nonlinear State Equations into Observer Form

The purpose is to find the conditions under which there exist a localstate transformation (i.e. diffeomorphism) ψ : X→ X defined by

z = ψ(x) (2.3)

and a real analytic output transformation Ψ : Y→ Y, defined by

Y = Ψ(y) (2.4)

such that in the new coordinates the state equations (2.1) are in the observerform

z1 = z2 + ϕ1(Y, u)

...

zn−1 = zn + ϕn−1(Y, u)

zn = ϕn(Y, u)

Y = z1.

(2.5)

Note that the state equations (2.1) can be transformed into the observerform (2.5) with the state transformation (2.3) and output transformation(2.4), if the i/o equation (2.2), corresponding to (2.1), can be rewritten inthe form

Y (n) = (ϕ1(Y, u))(n−1) + · · ·+ (ϕ2(Y, u))(1) + ϕn(Y, u). (2.6)

Remark 2.1. Note that under observability assumption, one may alwaysfind the i/o representation (2.2), at least locally, using the state eliminationalgorithm [25], [28]. However, the global state elimination problem is adifficult task that results generally in an implicit i/o equation accompaniedwith a number of inequations [28].

If (2.6) holds, one can define the new state variables as

z1 = Y,

z2 = Y − ϕ1(Y, u),

z3 = Y − (ϕ1(Y, u))(1) − ϕ2(Y, u),

...

zn = Y (n−1) − (ϕ1(Y, u))(n−2) − · · · − (ϕ2(Y, u))(1) − ϕn−1(Y, u),

(2.7)

yielding the state equations in the observer form (2.5). Though (2.7) isexpressed via the elements of the i/o equation (2.6), it implicitly determinethe state transformation (2.3) (see Step 6 of Example 2.1).

32

Page 33: Transformation of Nonlinear State Equations into Observer Form

2.2 Necessary and Sufficient Conditions

The necessary and sufficient solvability conditions are formulated in termsof certain one-forms ωi which can be derived stepwise from the i/o equation(2.2) by means of the algorithm given below.

Consider first the one-forms

Pi :=n−1∑

q=0

Aqidy(q) +

n−1∑

q=0

Bqi du

(q), i = 1, . . . , n,

whose coefficients Aqi , Bqi ∈ K∗ can be found by setting P1 = dφ and then

computing recursively, for i = 1, . . . , n− 1

Pi+1 := Pi − ω(n−i)i , (2.8a)

where ω(n−i)i denotes the (n−i)th time derivative of the one-form ωi, defined

byωi := An−ii dy +Bn−i

i du, i = 1, . . . , n. (2.8b)

Note that the algorithm above is a modification of the one given in [25].The main difference is in skipping the step where the integration of theone-forms is required. Unlike [25], in (2.8a) instead of the functions we usethe one-forms, which are not required to be integrable.

The proposition below provides the direct formula for computation ofthe one-forms1 ωi, i = 1, . . . , n. This formula simplifies the computationsand will be used in the sequel to prove the main result, that is Theorem2.1.

Proposition 2.1. The one-forms ωi, i = 1, . . . , n in (2.8) can be computeddirectly by the formula

ωi =

i−1∑

j=0

(−1)jCjn−i+j

[(∂φ

∂y(n−i+j)

)(j)

dy +

(∂φ

∂u(n−i+j)

)(j)

du

], (2.9)

where Cjn−i+j denotes the binomial coefficient.

The proof of Proposition 2.1 is given in the Appendix. Moreover, inorder to prove Theorem 2.1, we need the following technical lemma.

Lemma 2.1.

(i)ς∑

j=1

(−1)j−1Cj−1ς = (−1)ς−1 for ς ≥ 1,

1Alternatively the one-forms ωi can be computed using the approach based on thenotion of adjoint polynomial [35].

33

Page 34: Transformation of Nonlinear State Equations into Observer Form

(ii)ς−s+1∑

j=1

(−1)j−1Cj−1ς−s = 0 for s = 1, . . . , ς − 1 and ς ≥ 2.

The proof of Lemma 2.1 is also given in the Appendix.

Furthermore, denote the composite function of ϕs (Y, u) and Ψ(y), fors = 1, . . . , n, as

ϕs (y, u) := ϕs (Ψ(y), u) . (2.10)

Now we are ready to prove the main result of this chapter.

Theorem 2.1. The system (2.1) can be transformed by the state transfor-mation (2.3) and the output transformation (2.4) into the observer form(2.5) iff there exists a function λ(y), such that for ς = 1, . . . , n the one-forms

(−1)ς−1Cςnλ(ς)dy +

ς∑

i=1

(−1)ς−iCς−in−iλ(ς−i)ωi, (2.11)

where ωi’s are defined by (2.9), are closed.

Proof. Necessity. Assume that system (2.1) is transformable into the form(2.5). Consequently, the i/o equation (2.2) can be rewritten in the form(2.6). Complete the following steps:

• Take the partial derivatives of both sides of the i/o equation (2.6)with respect to y(n−ς+j−1) for j = 1, . . . , ς.

• Next, take the (j − 1)th time-derivative of each expression, obtainedin the previous step.

• Denote

αj := (−1)j−1Cj−1n−ς+j−1 (2.12)

and multiply by αj both sides of the equalities obtained in the previ-ous step.

• Sum the obtained equalities over j = 1, . . . , ς.

Repeat the same steps with respect to the control variable u. As a result,one obtains the equalities

LY = RY and LU = RU, (2.13)

34

Page 35: Transformation of Nonlinear State Equations into Observer Form

where

LY :=ς∑

j=1

αj

(∂Ψ(n)

∂y(n−ς+j−1)

)(j−1)

,

RY :=

ς∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂y(n−ς+j−1)

)(j−1)

,

LU :=

ς∑

j=1

αj

(∂Ψ(n)

∂u(n−ς+j−1)

)(j−1)

,

RU :=ς∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂u(n−ς+j−1)

)(j−1)

.

Note that Ψ(n) in LY and LU depends, besides other arguments, on y(n)

which, according to (2.2), must be replaced by the function φ. In order totake this replacement into account, consider the explicit formula of the nthderivative of the output transformation Ψ(y), which, according to Faa diBruno’s Formula [45], reads

Ψ(n) =∑ n!

k1! · · · kn!ΨK

n∏

ι=1

(y(ι)

ι!

)kι, (2.14)

where K = k1 + · · · + kn denotes the order of derivative with respect to yand the sum is taken over all possible different sets of nonnegative integersk1, . . . , kn being the solutions of the Diophantine equation k1 + 2k2 + · · ·+nkn = n. It is easy to observe that y(n) appears in (2.14) only in the termdefined by ι = n and kn = 1. In this case k1 = · · · = kn−1 = 0 and thecorresponding addend of the sum is Ψ′y(n), where the prime means thederivative with respect to y. In order to take the replacement (2.2) intoaccount and avoid the complication in the further transformations of Ψ(n)

we add to LY a formal zero term, such that LY now reads as

LY =

ς∑

j=1

αj

(

∂Ψ(n)

∂y(n−ς+j−1)

)(j−1)

+

(∂(Ψ′φ−Ψ′y(n)

)

∂y(n−ς+j−1)

)(j−1) ,

where in Ψ(n) we consider y(n) as a symbol which we do not have to replace.This trick simplifies the proof below by allowing to use Theorem 1.4.

By Theorem 1.4 for r = 1, a = n− ς + j − 1 and b = ς − j + 1,

∂Ψ(n)

∂y(n−ς+j−1)= Cς−j+1

n (Ψ′)(ς−j+1),

35

Page 36: Transformation of Nonlinear State Equations into Observer Form

yielding

LY =ς∑

j=1

αj

Cς−j+1

n (Ψ′)(ς) +

(∂(Ψ′φ−Ψ′y(n)

)

∂y(n−ς+j−1)

)(j−1) .

Using product rule for finding the derivative one can write

∂(Ψ′φ−Ψ′y(n)

)

∂y(n−ς+j−1)= Ψ′

(∂φ

∂y(n−ς+j−1)− ∂y(n)

∂y(n−ς+j−1)

)+

+(φ− y(n)

) ∂Ψ′

∂y(n−ς+j−1).

Since n−ς+j−1 < n for ς = 1, . . . , n and j = 1, . . . , ς, then ∂y(n)

∂y(n−ς+j−1) = 0.

Also taking into account that, according to (2.2), y(n) = φ, one obtains

∂(Ψ′φ−Ψ′y(n)

)

∂y(n−ς+j−1)= Ψ′

∂φ

∂y(n−ς+j−1),

which, using the Leibniz Formula for the higher order derivative of theproduct, yields

(∂(Ψ′φ−Ψ′y(n)

)

∂y(n−ς+j−1)

)(j−1)

=

j−1∑

i=0

Cij−1(Ψ′)(j−1−i)(

∂φ

∂y(n−ς+j−1)

)(i)

.

Thus, LY can be rewritten as follows

LY =

ς∑

j=1

αjCς−j+1n (Ψ′)(ς) +

ς∑

j=1

j−1∑

i=0

αjCij−1(Ψ′)(j−1−i)

(∂φ

∂y(n−ς+j−1)

)(i)

.

Changing the summation order∑ς

j=1

∑j−1i=0 aj,i =

∑ςi=1

∑i−1j=0 aς−i+j+1,j

one obtains

LY =ς∑

j=1

αjCς−j+1n (Ψ′)(ς)+

+

ς∑

i=1

i−1∑

j=0

ας−i+j+1Cjς−i+j(Ψ

′)(ς−i)(

∂φ

∂y(n−i+j)

)(j)

.

Using (2.12) and taking into account that (−1)ς−i+j = (−1)ς−i(−1)j andthat by direct computations

Cj−1n−ς+j−1C

ς−j+1n = CςnC

j−1ς and Cς−i+jn−i+jC

jς−i+j = Cς−in−iC

jn−i+j ,

36

Page 37: Transformation of Nonlinear State Equations into Observer Form

we obtain

LY = Cςn(Ψ′)(ς)ς∑

j=1

(−1)j−1Cj−1ς +

+

ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i) i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂y(n−i+j)

)(j)

.

Applying (i) of Lemma 2.1 we obtain

LY = (−1)ς−1Cςn(Ψ′)(ς)+

+ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i) i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂y(n−i+j)

)(j)

.

Since LY and LU have a similar structure, the transformations madewith LY can be made also with LU , yielding

LU = (−1)ς−1Cςn

(∂Ψ

∂u

)(ς)

+

+

ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i)

i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂u(n−i+j)

)(j)

,

which, taking into account that ∂Ψ∂u = 0, yields

LU =ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i)

i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂u(n−i+j)

)(j)

.

Next consider RY . Note that if s > ς−j+1 then n−s < n−ς+j−1 and

so ∂ϕ(n−s)s

∂y(n−ς+j−1) = 0. Therefore, instead of taking s = 1, . . . , n we can take

s = 1, . . . , ς − j + 1. Moreover, by Theorem 1.4 for r = 2, a = n− ς + j − 1and b = ς − s− j + 1

∂ϕ(n−s)s

∂y(n−ς+j−1)= Cς−s−j+1

n−s

(∂ϕs∂y

)(ς−s−j+1)

.

Thus, one can write

RY =

ς∑

j=1

ς−j+1∑

s=1

αjCς−s−j+1n−s

(∂ϕs∂y

)(ς−s).

Changing the summation order∑ς

j=1

∑ς−j+1s=1 aj,s =

∑ςs=1

∑ς−s+1j=1 aj,s, ap-

plying (2.12) and taking into account that by direct computations

Cj−1n−ς+j−1C

ς−s−j+1n−s = Cς−sn−sC

j−1ς−s ,

37

Page 38: Transformation of Nonlinear State Equations into Observer Form

one obtains

RY =ς∑

s=1

Cς−sn−s

(∂ϕs∂y

)(ς−s) ς−s+1∑

j=1

(−1)j−1Cj−1ς−s .

Note that for ς = 1 RY = ∂ϕ1

∂y . In case ς ≥ 2, one can separate the lastaddend of the sum RY , yielding

RY =∂ϕς∂y

+ς−1∑

s=1

Cς−sn−s

(∂ϕs∂y

)(ς−s) ς−s+1∑

j=1

(−1)j−1Cj−1ς−s .

By (ii) of Lemma 2.1, RY = ∂ϕς∂y . In the same manner we get RU = ∂ϕς

∂u ,for ς = 1, . . . , n.

As a result, (2.13) can be rewritten as

∂ϕς∂y

= (−1)ς−1Cςn(Ψ′)(ς)+

+

ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i)

i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂y(n−i+j)

)(j)

,

∂ϕς∂u

=ς∑

i=1

(−1)ς−iCς−in−i(Ψ′)(ς−i)

i−1∑

j=0

(−1)jCjn−i+j

(∂φ

∂u(n−i+j)

)(j)

.

Adding together the equalities above and taking into account (2.9) and thenotation

λ := Ψ′, (2.15)

we finally obtain the closed differential one-forms

dϕς = (−1)ς−1Cςnλ(ς)dy +

ς∑

i=1

(−1)ς−iCς−in−iλ(ς−i)ωi. (2.16)

Obviously the right-hand side of equality (2.16) equals (2.11).

Sufficiency. If there exists a function λ(y), such that the one-forms(2.11) where ωi’s are defined by (2.9), are closed, then the function Ψ(y)for the output transformation (2.4) can be calculated as an integral

Ψ(y) =

∫λ(y)dy. (2.17)

Integrating the closed one-forms (2.16) one can find functions ϕς for ς =1, . . . , n. By means of functions Ψ(y) and ϕς the state equations in theobserver form (2.5) can be easily constructed.

38

Page 39: Transformation of Nonlinear State Equations into Observer Form

2.3 Algorithm

In this section we represent the algorithm for transformation of the stateequations (2.1) into the observer form (2.5), whenever possible. Note thatthe algorithm is applied to the i/o representation (2.2) of the system (2.1)(see Remark 2.1).

Algorithm 2.1.

Step 1. Using (2.9), compute the one-forms ωi for i = 1, . . . , n.

Step 2. Keeping in mind that λ = λ′y, where prime means the derivativewith respect to y, take the exterior derivative of the one-form (2.11)for ς = 1. For this one-form to be closed its exterior derivative has toequal zero, which yields the differential two-form2

nλ′dy ∧ dy + λ′dy ∧ ω1 + λdω1 = 0,

which, using (2.9), can be rewritten as

nλ′dy∧dy+

[λ′

∂φ

∂u(n−1)+ λ

(∂2φ

∂y∂u(n−1)− ∂2φ

∂u∂y(n−1)

)]dy∧du+

+ λn−1∑

i=1

(∂2φ

∂y(i)∂y(n−1)dy(i) ∧ dy +

∂2φ

∂u(i)∂y(n−1)du(i) ∧ dy+

+∂2φ

∂y(i)∂u(n−1)dy(i) ∧ du+

∂2φ

∂u(i)∂u(n−1)du(i) ∧ du

)= 0. (2.18)

To satisfy the equality, all the components of the two-form on the left-hand side of (2.18) must be zero. Summation of these componentsleads to the differential equation

λ′(n+

∂φ

∂u(n−1)

)+ λ

(∂2φ

∂y∂u(n−1)− ∂2φ

∂u∂y(n−1)+

+n−1∑

i=1

(∂2φ

∂y(i)∂y(n−1)+

∂2φ

∂u(i)∂y(n−1)+

+∂2φ

∂y(i)∂u(n−1)+

∂2φ

∂u(i)∂u(n−1)

))= 0, (2.19)

that has to be solved with respect to λ(y). If the solution does notexist, the problem is not solvable; stop.

Step 3. Using ωi’s and λ(y) compute the one-forms (2.11), for ς = 1, . . . , n.

2For the detailed definition of differential k-from see [25]

39

Page 40: Transformation of Nonlinear State Equations into Observer Form

Step 4. Check whether the one-forms (2.11) are closed or not. If at leastone of them is not closed, the problem is not solvable; stop.

Step 5. Rewrite the (closed) one-forms (2.11) as dϕς (see (2.16)) and in-tegrate them, yielding ϕς for ς = 1, . . . , n. Using λ(y) and (2.17)one can find the output transformation Ψ(y) and the functions ϕς interms of which the system in the observer form (2.5) can be easilyconstructed.

Step 6. Using the functions ϕ1, . . . , ϕn and the output transformation(2.4), find the system equations in the observer form (2.5).

One can observe that the most difficult part of the algorithm is Step 2,which requires the solution of partial differential equation.

2.4 Comparison with the Earlier Results

The alternative solvability condition was given earlier in [31]. We recallthis condition in Theorem 2.2.

Theorem 2.2. If the system (2.1) can be transformed by the state trans-formation (2.3) and the output transformation (2.4) into the observer form(2.5), then

d

(∂2φ

∂y∂y(n−1)

)∧ dy = 0. (2.20)

Moreover, if (2.20) is satisfied, then the possible output transformationΨ(y) is a solution of

Ψ′∂2φ

∂y∂y(n−1)+ nΨ′′ = 0, (2.21)

where the prime and the double prime mean, respectively, the first and thesecond derivatives with respect to y.

Using (2.15), equality (2.18) can be rewritten as

(Ψ′

∂2φ

∂y∂y(n−1)+ nΨ′′

)dy ∧ dy+

+

[Ψ′′

∂φ

∂u(n−1)+ Ψ′

(∂2φ

∂y∂u(n−1)− ∂2φ

∂u∂y(n−1)

)]dy ∧ du+

+ Ψ′n−1∑

i=2

∂2φ

∂y(i)∂y(n−1)dy(i) ∧ dy + Ψ′

n−1∑

i=1

(∂2φ

∂u(i)∂y(n−1)du(i) ∧ dy+

+∂2φ

∂y(i)∂u(n−1)dy(i) ∧ du+

∂2φ

∂u(i)∂u(n−1)du(i) ∧ du

)= 0. (2.22)

40

Page 41: Transformation of Nonlinear State Equations into Observer Form

Recall that the equality implies that all the components of the two-form onthe left-hand side of (2.22) are zero. Note that the coefficient of dy ∧ dy isexactly the left-hand side of condition (2.21). Thus, (2.18) obviously im-plies (2.21). However, the converse does not hold, since the condition (2.21)does not guarantee that the other components of the two-form (2.18) equalto zero. It should be mentioned that (2.20) is just the exterior derivativeof (2.21) multiplied by dy. To summarize, it can be stated that conditionsfrom Theorem 2.2 are very mild and far from being sufficient. The out-put transformation obtained from (2.21) does not guarantee that the i/oequation (2.2) can be represented in the form (2.6). To verify whether theproblem is solvable, one has to apply the output transformation to the i/oequation (2.2) and check whether the obtained i/o equation is transformableinto the observer form by the state coordinate transformation only [31].

2.5 Example

Example 2.1. Examine the model of a direct current (DC) motor, de-scribed by the equations (see [25])

x1 = −Kmx1x2 −Ra +Rf

Kx1 + u

x2 = −BJx2 − x3 +

Km

JKx2

1

x3 = 0

y = x1,

(2.23)

where x1 denotes the magnetic flux and verifies x1 > 0; x2 denotes therotor speed; x3 denotes the constant load torque; Ra and Rf denote thestator and the inductor resistances, respectively; B is the viscous frictioncoefficient, and Km is the constant motor torque. The i/o equation, corre-sponding to (2.23), is

y(3) =B

J

(u− y +

y (y − u)

y

)− 2KK2

my2y

J+

+ u− 2uy + y (u− 3y)

y+

2y2 (u− y)

y2.

We will follow Algorithm 2.1.

41

Page 42: Transformation of Nonlinear State Equations into Observer Form

Step 1. Compute, according to (2.9),

ω1 =

(−BJ− u− 3y

y

)dy + du,

ω2 =

(B (2y − u)

Jy− 3y

y+

2uy

y2− 2KK2

my2

J

)dy+

+

(B

J− 2y

y

)du,

ω3 =

((3y − 2u) y − 2uy

y2+B

J

(u− 2y

y+y2

y2

)+

+2 (u− y) y2

y3+u

y

)dy +

(y

y− By

Jy

)du.

(2.24)

Step 2. The differential equation (2.19) reads as

4

y+ λ′

)= 0,

solving which with respect to λ(y), one obtains

λ(y) =1

y. (2.25)

Step 3. For the case n = 3 the one-forms (2.11) read as

3λdy + λω1,

−3λdy − 2λω1 + λω2,

λ(3)dy + λω1 − λω2 + λω3,

which, according to (2.24) and (2.25), yield

−Ju+By

Jy2dy +

1

ydu,

−Bu+ 2KK2my

3

Jy2dy +

B

Jydu,

0.

Step 4. It is not hard to verify that all three one-forms, given above, areclosed, meaning that the conditions for transformation of the system(2.23) into the observer form (2.5) are satisfied.

42

Page 43: Transformation of Nonlinear State Equations into Observer Form

Step 5. Now one can define

dϕ1 := −Ju+By

Jy2dy +

1

ydu,

dϕ2 := −Bu+ 2KK2my

3

Jy2dy +

B

Jydu,

dϕ3 := 0,

integration of which yields

ϕ1 = −B ln y

J+u

y,

ϕ2 =Bu

Jy− KK2

my2

J,

ϕ3 = 0.

Taking into account (2.4), (2.17) and (2.25), one finds the outputtransformation

Y = Ψ(y) = ln y, (2.26)

which, according to (2.10), leads to

ϕ1 = −BYJ

+u

eY,

ϕ2 =Bu

JeY− KK2

me2Y

J,

ϕ3 = 0.

Step 6. By (2.7) for n = 3, one can define the new state variables as

z1 = Y,

z2 = Y +BY

J− u

eY,

z3 = Y +BY

J− u− uY

eY− Bu

JeY+KK2

me2Y

J,

which, due to the output transformation (2.26) and state equations(2.23), can be rewritten as

z1 = lnx1,

z2 = −Ra +RfK

+B lnx1

J−Kmx2,

z3 = −B (Ra +Rf )

JK+Kmx3,

(2.27)

43

Page 44: Transformation of Nonlinear State Equations into Observer Form

that leads to the new state equations in the observer form:

z1 = z2 −Bz1

J+

u

ez1

z2 = z3 +Bu

Jez1− KK2

me2z1

Jz3 = 0

Y = z1.

(2.28)

Remark 2.2. Note that in [25] the output of the system (2.23) was alreadychosen as y = lnx1. Such farsighted choice allowed to transform the systeminto the observer form only by the state transformation and to avoid thenecessity in the output transformation, which was not considered in [25].Our task was to show how the output transformation Y = lnx1 can becomputed. Therefore, we used the output y = x1, which is more naturalfor the model of DC motor [21].

44

Page 45: Transformation of Nonlinear State Equations into Observer Form

Chapter 3

Extended Observer Form forDiscrete-Time Systems

This chapter addresses the problem of transforming the discrete-time non-linear state equations into the extended observer form, which, besides theinput and output, also depends on a finite number of their past values.The first section introduces the reader into the issue. Sections 3.2 and 3.3provide two sets of the necessary and sufficient solvability conditions. Thefirst set of conditions is formulated in terms of the differential one-formsand have the advantage of being intrinsic. The conditions of the secondset are expressed in terms of the certain partial derivatives, related to theinput-output equation of the system. Due to their matrix representationthe validity of the conditions can be checked almost by direct inspection.Furthermore, Section 3.4 presents the algorithm for transforming the stateequations into the extended observer form. The objective of the last sectionis to illustrate the application of the theory by means of examples.

3.1 Problem Statement

Recall from Subsection 1.2.3 a SISO system, described by the state equa-tions

x+ = f(x, u)

y = h(x),(3.1)

and the higher order input-output (i/o) difference equation

y[n] = φ(y, y[1], . . . , y[n−1], u, u[1], . . . , u[n−1]

), (3.2)

where x(t) : Z → X ⊂ Rn is an n-dimensional state vector, u(t) : Z →U ⊂ R is an input and y(t) : Z → Y ⊂ R is an output. The functionsf : X × U → X, h : X → Y and φ : Yn × Un → R are real analytic.

45

Page 46: Transformation of Nonlinear State Equations into Observer Form

From now on, we consider system (3.1) to be observable in a sense of rankcondition [55].

The purpose is to find the conditions under which there exist an ex-tended coordinate change1 ψ(·, ξ1, . . . , ξ2N ) : X → X, parameterized by(ξ1, . . . , ξ2N ) and defined by

z = ψ(x, y[−1], . . . , y[−N ], u[−1], . . . , u[−N ]

), (3.3)

as well as an output transformation (i.e. diffeomorphism) Ψ : Y → Y,defined by

Y = Ψ(y), (3.4)

such that in the new coordinates the state equations (3.1) are in the fol-lowing extended observer form with buffer N ∈ 1, . . . , n− 2

z+1 = z2 + ϕ1

(Y, Y [−1], . . . , Y [−N ], u, u[−1], . . . , u[−N ]

)

...

z+n−N = zn−N+1 + ϕn−N

(Y, Y [−1], . . . , Y [−N ], u, u[−1], . . . , u[−N ]

)

z+n−N+1 = zn−N+2

...

z+n−1 = zn

z+n = 0

Y = z1,

(3.5)

where the forward shift of the coordinates z depends besides the input u andthe output y also on their past values u[−1], . . . , u[−N ], and y[−1], . . . , y[−N ].This form without inputs was considered earlier in [40], [41]. We do notaddress the case when the buffer N = n−1 since, as shown in by Huijbertset al. in [41], the system can be always transformed into such form (evenwithout the output transformation), whenever the system under considera-tion is strongly observable. The proof carries over to systems depending oncontrol too. Therefore, it is obvious that the results of this chapter addressonly the case n ≥ 3.

Note that the state equations (3.1) can be transformed into the extendedobserver form (3.5) by means of the extended coordinate change (3.3) andthe output transformation (3.4), if the i/o equation (3.2) corresponding to(3.1), can be rewritten in the form

Ψ φ =n−N∑

l=1

ϕl

(Y [n−l], . . . , Y [n−l−N ], u[n−l], . . . , u[n−l−N ]

). (3.6)

1The details about the properties of the extended coordinate change can be found in[40] for the case of autonomous systems.

46

Page 47: Transformation of Nonlinear State Equations into Observer Form

Remark 3.1. Note that under observability assumption, one may alwaysfind the i/o representation (3.2), at least locally, using the state eliminationalgorithm. However, the global state elimination problem is a difficulttask that results generally in an implicit i/o equation accompanied with anumber of inequations [28].

If (3.6) holds, one can define the new state variables as

z1 = Y,

zi = Y [i−1] −min(i−1,n−N)∑

l=1

ϕl

(Y [i−1−l], . . . , Y [i−1−l−N ],

u[i−1−l], . . . , u[i−1−l−N ]), i = 2, . . . , n,

(3.7)

that leads to the state equations in the extended observer form (3.5).

3.2 Intrinsic Necessary and Sufficient Conditions

In this section the conditions will be formulated in terms of differentialone-form, associated with the i/o equation (3.2), corresponding to the stateequations (3.1). Define for i = 0, . . . , n− 1 the differential one-forms

ωi :=∂φ

∂y[i]dy[i] +

∂φ

∂u[i]du[i] (3.8)

and the codistributions

Ωi := spanK∗ωk,du

[k] | k 6= i, k = max(0, i−N), . . . ,

min(i+N,n− 1). (3.9)

For example, if N = 1 and n = 5, then

Ω0 = spanK∗ω1, du

+,

Ω1 = spanK∗ω0, du, ω2,du

++,

Ω2 = spanK∗ω1,du

+, ω3, du[3],

Ω3 = spanK∗ω2,du

++, ω4,du[4],

Ω4 = spanK∗ω3,du

[3].

The minimal number of independent generators of a codistribution is calledits dimension. For an arbitrary one-form ω and an r-dimensional codistri-bution Ω = spanK∗ υ1, . . . , υr, we will say that

dω ≡ 0 mod Ω

47

Page 48: Transformation of Nonlinear State Equations into Observer Form

if and only if

dω ∧ υ1 ∧ · · · ∧ υr = 0.

Moreover, define the composite functions of ϕl and Ψ as

ϕl

(y, y[−1], . . . , y[−N ], u, u[−1], . . . , u[−N ]

):=

ϕl

(Y, Y [−1], . . . , Y [−N ], u, u[−1], . . . , u[−N ]

)

and the vector argument

νl :=[y[n−l], . . . , y[n−l−N ], u[n−l], . . . , u[n−l−N ]

](3.10)

for l = 1, . . . , n − N . The latter will be used in the sequel to simplifythe exposition. In order to prove the main result of this section, that isTheorem 3.1 below, we need the following lemma, the proof of which isgiven in the Appendix.

Lemma 3.1. For functions ϕ1(ν1), . . . , ϕn−N (νn−N ) the following holds

n−N∑

l=1

dϕl(νl) =

n−1∑

i=0

Υi, (3.11)

where

Υi :=

min(i,n−1−N)∑

l=max(0,i−N)

(∂ϕn−N−l(νn−N−l)

∂y[i]dy[i]+

+∂ϕn−N−l(νn−N−l)

∂u[i]du[i]

). (3.12)

Theorem 3.1. The system (3.1) can be transformed by the extended coor-dinate change (3.3) and the output transformation (3.4) into the extendedobserver form (3.5) with buffer N ∈ 1, . . . , n− 2 if and only if for all0 ≤ i, j ≤ n− 1

dωi ∧ ωj + dωj ∧ ωi ≡ 0 mod((Ωi + Ωj) \ spanK∗ ωi, ωj

). (3.13)

Remark 3.2. Note that in (3.13) the buffer N is hidden inside the defini-tion of the codistributions Ωi and Ωj .

Now we are ready to prove the main result of this section.

48

Page 49: Transformation of Nonlinear State Equations into Observer Form

Proof. Necessity. Assume that system (3.1) is transformable into the ex-tended observer form (3.5). Consequently, the i/o equation (3.2), corre-sponding to (3.1), can be rewritten in the form (3.6), the total differentialof which reads as

(Ψ′ φ

)dφ =

(Ψ′ φ

) n−1∑

i=0

ωi =n−N∑

l=1

dϕl (νl) ,

where Ψ′ φ means the derivative of the function Ψ evaluated at φ. Ac-cording to Lemma 3.1,

(Ψ′ φ

) n−1∑

i=0

ωi =

n−1∑

i=0

Υi. (3.14)

From (3.14) we have for i = 0, . . . , n− 1

(Ψ′ φ

)ωi = Υi. (3.15)

Consider the functions ϕn−N−l (νn−N−l) for l = max(0, i−N), . . . ,min(i, n−1−N). Taking into account (3.10) for new index n−N − l, one can write

dϕn−N−l (νn−N−l) =N∑

s=0

(∂ϕn−N−l(νn−N−l)

∂y[l+s]dy[l+s]+

+∂ϕn−N−l(νn−N−l)

∂u[l+s]du[l+s]

). (3.16)

Note that the codistribution Ωi, defined by (3.9), can be rewritten as

Ωi = spanK∗

dy[l+s], du[l+s] | l + s 6= i, s = 0, . . . , N,

l = max(0, i−N), . . . ,min(i, n− 1−N). (3.17)

As a consequence, from (3.16) one obtains

dϕn−N−l(νn−N−l) ≡(∂ϕn−N−l(νn−N−l)

∂y[i]dy[i]+

+∂ϕn−N−l(νn−N−l)

∂u[i]du[i]

)mod Ωi, (3.18)

which, by (3.15) and (3.12), leads to

(Ψ′ φ

)ωi ≡

min(i,n−1−N)∑

l=max(0,i−N)

dϕn−N−l(νn−N−l) mod Ωi.

49

Page 50: Transformation of Nonlinear State Equations into Observer Form

Application of the exterior derivative to the equality above yields

d(Ψ′ φ

)∧ ωi +

(Ψ′ φ

)dωi ≡ 0 mod Ωi.

From the relationship above we obtain

dωi ≡ −d ln∣∣Ψ′ φ

∣∣ ∧ ωi mod Ωi

for i = 0, . . . , n− 1. Obviously,

dωi ∧ ωj ≡ −d ln∣∣Ψ′ φ

∣∣ ∧ ωi ∧ ωj mod((Ωi + Ωj) \ spanK∗ ωi, ωj

),

using which, one gets for i, j = 0, . . . , n− 1

dωi ∧ ωj + dωj ∧ ωi ≡ −d ln∣∣Ψ′ φ

∣∣ ∧ (ωi ∧ ωj++ ωj ∧ ωi) mod

((Ωi + Ωj) \ spanK∗ ωi, ωj

). (3.19)

Since the wedge product is anticommutative, the expression in the paren-theses on the right-hand side of (3.19) is always zero, which yields (3.13).

Sufficiency. The proof consists of three steps. On the first step (i) wewill show that under the conditions (3.13) there exist functions χl(νl) forl = 1, . . . , n−N , such that

ωi ≡ λimin(i,n−1−N)∑

l=max(0,i−N)

dχn−N−l(νn−N−l) mod Ωi (3.20)

for i = 0, . . . , n − 1. On the second step (ii) we will prove that for all ωithere exists the common integrating factor λ, and finally, on the last step(iii) we will show that from steps (i) and (ii) follows the existence of outputtransformation Ψ such that its composition with φ yields (3.6).

(i) Note that in case i = j (3.13) yields

dωi ∧ ωi ≡ 0 mod Ωi, (3.21)

from which follows the existence of the integrating factor λi(y, y[−1], . . . ,

y[n−1], u, u[−1], . . . , u[n−1]) such that

ωi ≡ λidχi(νi) mod Ωi (3.22)

for some functions2 χi(νi), where νi is the vector argument which consists ofthe elements of the set

y[k], u[k] | k = max(0, i−N), . . . ,min(i+N,n−1)

.

Note that, taking into account (3.8) and (3.9), according to (3.22),

1

λiωi =

∂χi(νi)

∂y[i]dy[i] +

∂χi(νi)

∂u[i]du[i]. (3.23)

2The functions χi(νi) should not be confused with the functions χl(νl) in (3.20). Thenumber of functions χi(νi) is n, but the number of functions χl(νl) is n−N . Moreover,the vector arguments νi and νl have different number of elements.

50

Page 51: Transformation of Nonlinear State Equations into Observer Form

Choose the function ζ(y, y[1], . . . , y[n−1], u, u[1], . . . , u[n−1]

)such that

∂ζ

∂y[i]dy[i] +

∂ζ

∂u[i]du[i] =

∂χi(νi)

∂y[i]dy[i] +

∂χi(νi)

∂u[i]du[i] (3.24)

for i = 1, . . . , n− 1, and consequently

n−1∑

i=0

1

λiωi = dζ.

As we will show in the sequel, the function ζ really exists and can berepresented in the form

ζ =

n−N∑

l=1

χl(νl) (3.25)

for some functions χ1(ν1), . . . , χn−N (νn−N ). Note that (3.25) holds, if thefollowing second order partial derivatives of ζ equal zero,

∂2ζ

∂y[i]∂y[j]= 0,

∂2ζ

∂u[i]∂u[j]= 0,

∂2ζ

∂u[i]∂y[j]= 0,

∂2ζ

∂y[i]∂u[j]= 0

(3.26)

for i, j = 0, . . . , n − 1, j 6= i −N, . . . , i + N . Our next purpose is to provethat (3.26) holds. Taking into account (3.23), (3.24) and (3.8), one canrewrite (3.26) as follows

∂λ−1i

∂y[j]

∂φ

∂y[i]+ λ−1

i

∂2φ

∂y[i]∂y[j]= 0,

∂λ−1i

∂u[j]

∂φ

∂u[i]+ λ−1

i

∂2φ

∂u[i]∂u[j]= 0,

∂λ−1i

∂y[j]

∂φ

∂u[i]+ λ−1

i

∂2φ

∂u[i]∂y[j]= 0,

∂λ−1i

∂u[j]

∂φ

∂y[i]+ λ−1

i

∂2φ

∂y[i]∂u[j]= 0.

(3.27)

Expressing ∂λ−1i /∂y[j] from the first equality of (3.27) and substituting

it into the third equality, and also expressing ∂λ−1i /∂u[j] from the second

equality and substituting it into the fourth equality, one obtains

∂φ

∂y[i]

∂2φ

∂u[i]∂y[j]− ∂φ

∂u[i]

∂2φ

∂y[i]∂y[j]= 0,

∂φ

∂u[i]

∂2φ

∂y[i]∂u[j]− ∂φ

∂y[i]

∂2φ

∂u[i]∂u[j]= 0.

51

Page 52: Transformation of Nonlinear State Equations into Observer Form

It is easy to verify that under the conditions (3.21) the equalities aboveare satisfied and, as a consequence, the function ζ really exists, satisfying(3.25), which yields

n−1∑

i=0

1

λiωi =

n−N∑

l=1

dχl(νl), (3.28)

from which, using Lemma 3.1 and (3.18) for functions χl(νl), one obtains(3.20).

(ii) Take the exterior derivative of (3.20) and then apply (3.20) as follows

min(i,n−1−N)∑

l=max(0,i−N)

dχn−N−l(νn−N−l) ≡1

λiωi mod Ωi.

This yields

dωi ≡ dλi ∧min(i,n−1−N)∑

l=max(0,i−N)

dχn−N−l(νn−N−l) ≡ d ln |λi| ∧ ωi mod Ωi.

By the conditions (3.13)

(d ln |λi| − d ln |λj |) ∧ ωi ∧ ωj ≡ 0 mod((Ωi + Ωj) \ spanK∗ ωi, ωj

),

from which follows λi = λj = λ for i, j = 0, . . . , n− 1.(iii) From (i) and (ii) follows that one can find functions ϕl(νl), l =

1, . . . , n − N for which there exists the common integrating factor λ suchthat (3.28) can be rewritten as

n−1∑

i=0

ωi = λ

n−N∑

l=1

dϕl(νl). (3.29)

Since dφ is a total differential, its exterior derivative

d2φ =n−1∑

i=0

dωi = dλ ∧n−N∑

l=1

dϕl(νl) = d ln |λ| ∧n−1∑

i=0

ωi = d ln |λ| ∧ dφ

equals zero and by Cartan’s Lemma d ln |λ| ∈ spanK∗ dφ. Therefore, λcan be represented as a composite function of φ and some other function.We will show below that the choice λ = 1/ (Ψ′ φ) guarantees, that thecomposite function Ψ φ has the form (3.6). First, we prove that Ψ′ φ isthe common integrating factor for all one-forms ωi, that is

(Ψ′ φ

)ωi ≡

min(i,n−1−N)∑

l=max(0,i−N)

dϕn−N−l(νn−N−l) mod Ωi.

52

Page 53: Transformation of Nonlinear State Equations into Observer Form

Taking the exterior derivative of (Ψ′ φ)ωi, one obtains

d[(

Ψ′ φ)ωi]≡(Ψ′′ φ

)dφ ∧ ωi +

(Ψ′ φ

)dωi ≡

≡(Ψ′′ φ

)dφ ∧ ωi +

(Ψ′ φ

)d ln |λ| ∧ ωi ≡

≡(Ψ′′ φ

)dφ ∧ ωi − d

(ln∣∣Ψ′ φ

∣∣) (Ψ′ φ)∧ ωi ≡ 0 mod Ωi,

meaning the functions ϕl(νl) really exist. Finally, multiplying dφ by Ψ′ φand taking into account (3.29), one obtains

d (Ψ φ) =(Ψ′ φ

)dφ =

(Ψ′ φ

) n−1∑

i=0

ωi =

n−N∑

l=1

dϕl(νl),

yielding (3.6).

3.3 Simple Necessary and Sufficient Conditions

This section presents the conditions expressed in terms of partial deriva-tives, related to the i/o equation (3.2), corresponding to the state equations(3.1). In order to present the theorem and the proof in a more compactform, denote by α the variable, which can be either u or y. Then by βis denoted u, if α is y and y if α is u. Moreover, denote by jα and jα,respectively, the highest and the lowest shifts of α the function φ dependson. For example, if φ

(y, y[2], y[3], u[1], u[2], u[4]

), then jy = 0, ju = 1, jy = 3

and ju = 4.

Theorem 3.2. The system (3.1) can be transformed by the extended coor-dinate change (3.3) and the output transformation (3.4) into the extendedobserver form (3.5) with buffer N ∈ 1, . . . , n− 2 if and only if there existsa function S

(y, . . . , y[n−1], u, . . . , u[n−1]

)such that for i, j = 0, . . . , n − 1,

j 6= i−N, . . . , i+N

∂α[j]

(ln

∣∣∣∣∂φ

∂α[i]

∣∣∣∣)

=∂

∂α[j]

(ln

∣∣∣∣∂φ

∂β[i]

∣∣∣∣)

=:∂S

∂α[j], (3.30a)

and in case 2N ≥ jα−jα the function S satisfies for r = jα−N, . . . , jα+Nand an arbitrary j 6= r the following additional conditions

∂S

∂α[j]

∂φ

∂α[r]

(∂φ

∂α[j]

)−1

=∂S

∂β[j]

∂φ

∂α[r]

(∂φ

∂β[j]

)−1

=:∂S

∂α[r]. (3.30b)

Remark 3.3. Note that in the case 2N < jα−jα the conditions (3.30a) are

both necessary and sufficient, but in the case 2N ≥ jα − jα they are only

53

Page 54: Transformation of Nonlinear State Equations into Observer Form

necessary, and for sufficiency3 one needs the additional conditions (3.30b),which in the case 2N < jα − jα hold by (3.30a).

Remark 3.4. Suppose that for some q = 0, . . . , n−1 the function φ (and S,as a consequence) does not depend on the variable y[q] (or u[q]). In this caseeither the left-hand side or the middle part in the corresponding conditionof (3.30a) should be omitted, depending on whether the α[i] or β[i] standsfor y[q] (or u[q]). Thus, for instance, in the case of system without inputone obtains the conditions (3.30a) where α = y and middle part is omitted.

Remark 3.5. If the conditions (3.30a) are satisfied it is enough to checkthe conditions (3.30b) only for one j 6= r. However, one has to choose (ifpossible) j such that the function φ (and S, as a consequence) depends onboth y[j] and u[j]. If such a choice is not possible, then either the left-handside or the middle part of (3.30b) should be omitted, depending on whetherα[j] or β[j] stands for the variable, the function φ does not depend on. Thus,for instance, in the case of system without input one obtains the conditions(3.30b) where α = y and the middle part is omitted.

Remark 3.6. Taking N = 0, the conditions (3.30a) (and (3.30b) for thespecial case jα = jα) can be used to check whether the system is trans-formable into the observer form without the buffer (see the different resultsin [40] for systems without input and [78] for input dependent systems).

In order to prove Theorem 3.2, we need the following lemma, the proofof which is given in the Appendix.

Lemma 3.2. From conditions (3.30a) (and in the case 2N ≥ jα − jα(3.30b)) follows

dS ∧ dφ = 0. (3.31)

Now we are ready to prove the main result of this section.

Proof. Necessity. Assume that system (3.1) is transformable into the ex-tended observer form (3.5). Consequently, the i/o equation (3.2), corre-sponding to (3.1), can be rewritten in the form (3.6), yielding that thefollowing second-order partial derivatives of the composition Ψ φ equal to

3Without going into details, one can say that in order to prove sufficiency we need∂S

∂α[j] for all j = jα, . . . , jα. However, we should take into account that in conditions(3.30a) index j depends on index i and buffer N . This dependency implies that j =jα, . . . , jα −N − 1, jα +N + 1, . . . , jα, which in the case 2N < jα − jα yields that j runs

from jα to jα without interruption, whereas in the case 2N ≥ jα − jα there is a gap

between jα −N − 1 and jα +N + 1. To compensate this gap we use (3.30b) in additionto (3.30b) (in other words, index r complements j).

54

Page 55: Transformation of Nonlinear State Equations into Observer Form

zero for i, j = 0, . . . , n− 1, j 6= i−N, . . . , i+N :

∂2 (Ψ φ)

∂α[i]∂α[j]=∂ (Ψ′ φ)

∂α[j]

∂φ

∂α[i]+(Ψ′ φ

) ∂2φ

∂α[i]∂α[j]= 0,

∂2 (Ψ φ)

∂β[i]∂α[j]=∂ (Ψ′ φ)

∂α[j]

∂φ

∂β[i]+(Ψ′ φ

) ∂2φ

∂β[i]∂α[j]= 0,

(3.32)

where Ψ′φ means the derivative of the function Ψ evaluated at φ. Dividingthe first equation of (3.32) by (Ψ′ φ)

(∂φ/∂α[i]

)and the second equation

by (Ψ′ φ)(∂φ/∂β[i]

)yields

1

Ψ′ φ∂ (Ψ′ φ)

∂α[j]+

∂2φ

∂α[i]∂α[j]

(∂φ

∂α[i]

)−1

=

=∂ ln |Ψ′ φ|

∂α[j]+

∂α[j]

(ln

∣∣∣∣∂φ

∂α[i]

∣∣∣∣)

= 0,

1

Ψ′ φ∂ (Ψ′ φ)

∂α[j]+

∂2φ

∂β[i]∂α[j]

(∂φ

∂β[i]

)−1

=

=∂ ln |Ψ′ φ|

∂α[j]+

∂α[j]

(ln

∣∣∣∣∂φ

∂β[i]

∣∣∣∣)

= 0.

The equalities above suggest that the function

S = − ln∣∣Ψ′ φ

∣∣ (3.33)

will make the conditions (3.30a) and (3.30b) to hold.Sufficiency. Suppose the conditions (3.30a) and (3.30b) are satisfied.

Then, according to Lemma 3.2, dS ∧ dφ = 0, which by Cartan’s Lemmayields dS ∈ spanK∗ dφ. Therefore, the function S can be represented as a

composition of some function Ψ with φ, i.e. S = Ψφ. We will show belowthat the choice S = − ln |Ψ′ φ| guarantees that the equalities (3.32) aresatisfied, meaning that the composition Ψφ has the form (3.6). Replacingthe function S in (3.30a) by the expression − ln |Ψ′ φ|, one obtains

∂α[j]

(ln

∣∣∣∣∂φ

∂α[i]

∣∣∣∣)

= −∂ ln |Ψ′ φ|∂α[j]

,

∂α[j]

(ln

∣∣∣∣∂φ

∂β[i]

∣∣∣∣)

= −∂ ln |Ψ′ φ|∂α[j]

.

By the derivative of the logarithmic function, one can rewrite the equalities,given above, as

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[j]+

1

Ψ′ φ∂ (Ψ′ φ)

∂α[j]= 0,

(∂φ

∂β[i]

)−1 ∂2φ

∂α[i]∂β[j]+

1

Ψ′ φ∂ (Ψ′ φ)

∂α[j]= 0.

55

Page 56: Transformation of Nonlinear State Equations into Observer Form

Multiplying the first equality by (Ψ′ φ)(∂φ/∂α[i]

)and the second by

(Ψ′ φ)(∂φ/∂β[i]

)yields (3.32). This completes the proof.

3.3.1 Matrix Representation of the Conditions

In this subsection we represent the conditions (3.30a) and (3.30b) in thematrix form, which makes them easier to check by direct inspection.

Denote by Aα,α and Aα,β the n×n matrices, whose elements are definedby (i = 0, . . . , n−1 pointing to the row and j = 0, . . . , n−1 to the column)

aα,αi,j :=

0,j = i−N, . . . , i+N, or

φ does not depend on α[i],∂

∂α[j]

(ln

∣∣∣∣∂φ

∂α[i]

∣∣∣∣), otherwise,

and

aα,βi,j :=

0,j = i−N, . . . , i+N, or

φ does not depend on β[i],∂

∂α[j]

(ln

∣∣∣∣∂φ

∂β[i]

∣∣∣∣), otherwise,

respectively. Thus, the matrices contain zeros on the main diagonal and Ndiagonals above and below it. Moreover, if the function φ does not dependon the variable y[i] or u[i] for some i = 0, . . . , n− 1, then the correspondingelements of the matrices are zeros too. Also denote the 2n× 2n matrix as

A :=

[Ay,y Au,y

Ay,u Au,u

]. (3.34)

Proposition 3.1. If the conditions (3.30a) hold, then in every column ofthe matrix A all nonzero elements are equal.

Remark 3.7. Note that if the function φ depends on the variables y[q] oru[q] for all q = 0, . . . , n− 1, then Aα,α = Aα,β.

If in every column of the matrix A all nonzero elements are equal, oneneeds to check whether there exists a function S such that for j = 0, . . . ,n − 1 the nonzero elements of the (j + 1)th and (j + 1 + n)th columnsare equal to ∂S/∂y[j] and ∂S/∂u[j], respectively. In the case 2N ≥ j − j(where j := max(jy, ju) and j := min(jy, ju)), the matrix A does not

contain nonzero elements in the (j − N + 1)th up to (j + N + 1)th and

(j − N + n + 1)th up to (j + N + n + 1)th columns. As a consequence,the conditions for corresponding partial derivatives of S are absent. Theadditional conditions (3.30b) compensate this aspect. In order to represent

56

Page 57: Transformation of Nonlinear State Equations into Observer Form

the conditions (3.30b) in the matrix form, denote by Bα,α and Bα,β the(2N + jα − jα + 1)× 1 vectors whose elements are defined by

bα,αr :=∂S

∂α[j]

∂φ

∂α[r]

(∂φ

∂α[j]

)−1

and

bα,βr :=∂S

∂β[j]

∂φ

∂α[r]

(∂φ

∂β[j]

)−1

,

respectively, where r = jα−N, . . . , jα +N . The value of index j should be

chosen according to Remark 3.5 and ∂S/∂α[j], ∂S/∂β[j] can be calculatedfrom (3.30a).

Proposition 3.2. If the conditions (3.30b) hold, then Bα,α = Bα,β.

If Bα,α = Bα,β and the function S satisfying the conditions (3.30a)exists, additionally one needs to check whether S is such that ∂S/∂α[r] is

equal to bα,αr (and bα,βr , as a consequence).

3.4 Algorithm

In this section we represent the algorithm for transformation of the system(3.1) into the observer form (3.5), whenever possible. First, taking intoaccount (3.8) and (3.12), compare the coefficients of dy[i] and du[i] at bothsides of equality (3.15), to obtain

(Ψ′ φ

) ∂φ

∂α[i]=

min(i,n−1−N)∑

l=max(0,i−N)

∂ϕn−N−l (νn−N−l)∂α[i]

(3.35)

for i = 0, . . . , n− 1.

The algorithm is applied to the i/o representation (3.2) of the system(3.1) (see Remark 3.1).

Algorithm 3.1.

Step 1, option 1. Check the validity of conditions (3.13). If they are notsatisfied, the problem is not solvable; stop.

Step 1, option 2. Check for every column of the matrix A whether thenonzero elements are equal. For 2N ≥ jα − jα check also whether

Bα,α = Bα,β (if both matrices can be constructed, see Remark 3.5).If the above-mentioned conditions are not satisfied, the problem isnot solvable; stop.

57

Page 58: Transformation of Nonlinear State Equations into Observer Form

Step 2. Differentiate both sides of (3.33) with respect to α[j] and comparethe obtained equality with (3.30a). This yields for i, j = 0, . . . , n− 1,j 6= i−N, . . . , i+N

(ln∣∣Ψ′ φ

∣∣)′ =

= −(∂φ

∂α[j]

)−1 ∂

∂α[j]

(ln

∣∣∣∣∂φ

∂α[i]

∣∣∣∣)

=

= −(∂φ

∂α[j]

)−1 ∂

∂α[j]

(ln

∣∣∣∣∂φ

∂β[i]

∣∣∣∣). (3.36)

Note that in order to obtain (ln |Ψ′ φ|)′ either the middle part orthe right-hand side of the equality above can be used, whereas theindices j and i should be chosen such that the function φ dependson both α[j], α[i] (or α[j], β[i]). Next, solving the i/o equation (3.2)with respect to an arbitrary variable α[i], find the replacement ruleα[i] = F (·). The application of the replacement rule to (ln |Ψ′ φ|)′yields

(ln∣∣Ψ′ y[n]

∣∣)′, which can be shifted backward n times to ob-tain (ln |Ψ′ y|)′, where now prime means the derivative with respectto y. Thus, the output transformation can be computed as

Y = Ψ y =

∫e∫

(ln|Ψ′y|)′dydy.

Step 3. Solve, if possible, the system of partial differential equations (3.35)to find the functions ϕ1, . . . , ϕn−N , from which the functions ϕ1, . . . ,ϕn−N can be obtained applying the output transformation.

Step 4. Using the functions ϕ1, . . . , ϕn−N and the output transformation(3.4), construct the system in the extended observer form (3.5).

One can note that, requiring the integration and solution of differentialequations, Steps 2 and 3 represent the most difficult part of Algorithm3.1. The additional difficulties were related to the implementation of thealgorithm in NLControl package (see Chapter 5). First, the computationsystem Mathematica has no built-in function, which allows to solve thesystem of partial differential equations (3.35). Therefore, the step by stepprocedure was developed to find the functions ϕ1, . . . , ϕn−N from (3.35).Moreover, the relation (3.36) implies the necessity to program the algorithmfor choosing the value of the indices i and j, satisfying the requirementsdescribed in Step 2.

58

Page 59: Transformation of Nonlinear State Equations into Observer Form

3.5 Examples

Example 3.1. Examine the following state equations

x+1 = x2u

x+2 = x3

x+3 = (x1 + x2u+ u) (x2u+ x3) (x1u+ x4)

x+4 = x1 + u

y = x1.

(3.37)

The i/o equation, corresponding to (3.37), is

y[4] =(y + u+ y+u+

) (y+ + u+ + y++

)u[3]

(y++ +

y[3]

u++

). (3.38)

Note that once the system is transformable into the extended observerform with some arbitrary buffer N it is also transformable into the extendedobserver forms with the buffers that are greater than N . Therefore, our goalis to find the least buffer N , for which the system (3.37) is transformableinto the extended observer form (3.5). Consequently, it is reasonable toinitiate Algorithm 3.1 with N = 1.

Step 1, option 1. Compute, according to (3.8),

ω0 =(y+ + u+ + y++

)u[3]

(y++ +

y[3]

u++

)(dy + du) ,

ω1 = u[3]

(y++ +

y[3]

u++

)((y + u+ u+

(u+ + 2y+ + y++

))dy++

+(y + u+ y+

(y+ + 2u+ + y++

))du+

),

ω2 = u[3](y + u+ u+y+

)((

y+ + u+ + 2y++ +y[3]

u++

)dy++−

−((y+ + u+ + y++

) y[3]

(u++)2

)du++

),

ω3 =(y + u+ y+u+) (u+ + y+ + y++)

u++

(u[3]dy[3]+

+(y++u++ + y[3]

)du[3]

)

59

Page 60: Transformation of Nonlinear State Equations into Observer Form

and, according to (3.9),

Ω0 = spanK∗ ω1, u+,

Ω1 = spanK∗ ω0, u, ω2, u++,

Ω2 = spanK∗ ω1, u+, ω3, u

[3],Ω3 = spanK∗ ω2, u

++.

For the case n = 4 and N = 1 conditions (3.13) are the following

dω0 ∧ ω0 ≡ 0 mod Ω0,

dω1 ∧ ω1 ≡ 0 mod Ω1,

dω2 ∧ ω2 ≡ 0 mod Ω2,

dω3 ∧ ω3 ≡ 0 mod Ω3,

dω0 ∧ ω1 + dω1 ∧ ω0 ≡ 0 mod spanK∗

du,du+, ω2, du++,

dω0 ∧ ω2 + dω2 ∧ ω0 ≡ 0 mod spanK∗ω1,du

+, ω3,du[3],

dω0 ∧ ω3 + dω3 ∧ ω0 ≡ 0 mod spanK∗ω1,du

+, ω2,du++,

dω1 ∧ ω2 + dω2 ∧ ω1 ≡ 0 mod spanK∗ω0,du,du

+,du++, ω3,du[3],

dω1 ∧ ω3 + dω3 ∧ ω1 ≡ 0 mod spanK∗ω0,du, ω2,du

++,

dω2 ∧ ω3 + dω3 ∧ ω2 ≡ 0 mod spanK∗ω1,du

+,du++,du[3].

By direct computations one can confirm that all conditions aboveare satisfied, which means that system (3.37) is transformable viathe extended coordinate change and output transformation into theextended observer form with buffer N = 1.

Step 2. According to (3.36)

(ln∣∣Ψ′ φ

∣∣)′ =

=−u++

u[3] (u+ y + u+y+) (u+ + y+ + y++)(u++y++ + y[3]

) .

The easiest way is to solve the i/o equation (3.38) with respect tou[3]. This yields the following replacement rule

u[3] =u++y[4]

(u+ y + u+y+) (u+ + y+ + y++)(u++y++ + y[3]

) ,

applying which to (ln |Ψ′ φ|)′, one obtains

(ln∣∣∣Ψ′ y[4]

∣∣∣)′

= − 1

y[4]. (3.39)

60

Page 61: Transformation of Nonlinear State Equations into Observer Form

The equality (3.39) shifted backward 4 times leads to (ln |Ψ′ y|)′ =−1/y yielding the output transformation

Y = Ψ y =

∫e∫− 1y

dydy = ln y. (3.40)

Step 3. The system of partial differential equations (3.35) for n = 4, N = 1and α being both y and u reads as

1

u+ y + u+y+=∂ϕ3

∂y

u+

u+ y + u+y++

1

u+ + y+ + y++=∂ϕ3

∂y++∂ϕ2

∂y+

1

u+ + y+ + y+++

u++

u++y++ + y[3]=

∂ϕ2

∂y+++

∂ϕ1

∂y++

1

u++y++ + y[3]=

∂ϕ1

∂y[3]

1

u+ y + u+y+=∂ϕ3

∂u

y+

u+ y + u+y++

1

u+ + y+ + y++=∂ϕ3

∂u++∂ϕ2

∂u+

y[3]

(u++)2 y++ + u++y[3]=

∂ϕ2

∂u+++

∂ϕ1

∂u++

1

u[3]=

∂ϕ1

∂u[3],

leading to

ϕ1 = ln∣∣∣u[3]

∣∣∣+ ln

∣∣∣∣∣y++ +

y[3]

u++

∣∣∣∣∣ ,

ϕ2 = ln∣∣y+ + u+ + y++

∣∣ ,ϕ3 = ln

∣∣y + u+ y+u+∣∣ ,

which, due to the output transformation (3.40), yields

ϕ1 = ln∣∣∣u[3]

∣∣∣+ ln

∣∣∣∣∣eY ++

+eY

[3]

u++

∣∣∣∣∣ ,

ϕ2 = ln∣∣∣eY +

+ u+ + eY++∣∣∣ ,

ϕ3 = ln∣∣∣eY + u+ eY

+u+∣∣∣ .

61

Page 62: Transformation of Nonlinear State Equations into Observer Form

Step 4. Using (3.7), one can define the new state variables

z1 = Y,

z2 = Y + − ln |u| − ln

∣∣∣∣eY−

+eY

u−

∣∣∣∣ ,

z3 = Y ++ − ln∣∣u+∣∣− ln

∣∣∣∣∣eY +

eY+

u

∣∣∣∣∣− ln∣∣∣eY − + u− + eY

∣∣∣ ,

z4 = Y [3] − ln∣∣u++

∣∣− ln

∣∣∣∣∣eY +

+eY

++

u+

∣∣∣∣∣− ln∣∣∣eY + u+ eY

+∣∣∣−

− ln∣∣∣eY − + u− + eY u

∣∣∣ ,

which, due to the output transformation (3.40) and state equations(3.37), can be rewritten as

z1 = ln |x1| ,z2 = ln |x2| − ln

∣∣∣x−1 +x1

u−

∣∣∣ ,z3 = ln |x3| − ln |x1 + x2| − ln

∣∣x−1 + u− + x1

∣∣ ,z4 = ln |x1u+ x4| − ln

∣∣x−1 + u− + x1u∣∣ ,

(3.41)

that leads to the state equations in the extended observer form

z+1 = z2 + ln |u|+ ln

∣∣∣∣ez−1 +

ez1

u−

∣∣∣∣

z+2 = z3 + ln

∣∣∣ez−1 + u− + ez1

∣∣∣

z+3 = z4 + ln

∣∣∣ez−1 + u− + ez1u

∣∣∣z+

4 = 0

Y = z1.

Example 3.2. Examine the following state equations

x+1 = x1 + x2 − x3

x+2 = −x1 − x2

x+3 = − x1x2

ux3 + x1x2x4

x+4 = − u (x2)2

(x1 + x2) (x1 + x2 − x3)− x5

u

x+5 =

x2 − u (x1 + x2)

x3

y = x2.

(3.42)

62

Page 63: Transformation of Nonlinear State Equations into Observer Form

The i/o equation, corresponding to (3.42), is

y[5] =u+y++

(y++ + y[3]

)

λ, (3.43)

where in order to simplify the exposition we denoted λ := (u+)2

(y+)2

+(y + uy+)

(y++ + y[3]

)+ u+u++y[4]. Using the conditions of Theorems 3.1

or 3.2, one can verify that the system (3.42) is not transformable into theextended observer form with buffer N = 1. Next, take N = 2 and followthe Algorithm (3.1).

Step 1, option 2. Using (3.34), one obtains

A =

0 0 0 sy3 sy4 0 0 0 0 00 0 0 0 sy4 0 0 0 0 00 0 0 0 0 0 0 0 0 0sy0 0 0 0 0 su0 0 0 0 0sy0 sy1 0 0 0 su0 su1 0 0 00 0 0 sy3 sy4 0 0 0 0 00 0 0 0 sy4 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0

,

where we use the notations

sy0 := −2(y++ + y[3]

)

λ,

sy1 := −2(

2 (u+)2y+ + u

(y++ + y[3]

))

λ,

sy3 :=2u+

(u+ (y+)

2+ u++y[4]

)

(y++ + y[3]

,

sy4 := −2u+u++

λ,

su0 := −2y+(y++ + y[3]

)

λ,

su1 := −2(

(y + uy+)(y++ + y[3]

)− (u+)

2(y+)

2)

u+λ.

Since jy = 0, jy = 4, ju = 0, ju = 2 and N = 2, both inequalities

2N ≥ jy − jy and 2N ≥ ju − ju are satisfied and, as a consequence,one has to check the additional conditions. Choosing j according to

63

Page 64: Transformation of Nonlinear State Equations into Observer Form

Remark 3.5, one obtains the following matrices

By,y = By,u =[sy2

], Bu,u = Bu,y =

su0

su1

su2

, (3.44)

where

sy2 := 2

(1

y++ + y[3]+

1

y++− y + uy+

λ

), su2 := −2u+y[4]

λ.

Taking into consideration (3.44) and the fact that all the nonzeroelements of every column of the matrix A are equal, one may concludethat the necessary conditions for transformation of the system (3.42)into the extended observer form with buffer N = 2 are satisfied.

Step 2. According to (3.36)

(ln∣∣Ψ′ φ

∣∣)′ =

= −2(

(u+)2

(y+)2

+ (y + uy+)(y++ + y[3]

)+ u+u++y[4]

)

u+y++(y++ + y[3]

) .

Solving the i/o equation (3.43) with respect to y, the following re-placement rule can be obtained

y =u+y++

y[5]− (u+)

2(y+)

2+ uy+

(y++ + y[3]

)+ u+u++y[4]

y++ + y[3],

applying which to (ln |Ψ′ φ|)′, one obtains

(ln∣∣∣Ψ′ y[5]

∣∣∣)′

= − 2

y[5]. (3.45)

The equality (3.45) shifted backward 5 times leads to (ln |Ψ′ y|)′ =−2/y yielding the output transformation

Y = Ψ y =

∫e∫− 2y

dydy = −1

y. (3.46)

Step 3. The system of partial differential equations (3.35) for n = 5, N = 2

64

Page 65: Transformation of Nonlinear State Equations into Observer Form

and α being both y and u reads as

− 1

u+y++=∂ϕ3

∂y

−2 (u+)2y+ + u

(y++ + y[3]

)

u+y++(y++ + y[3]

) =∂ϕ3

∂y++∂ϕ2

∂y+

(2y++ + y[3]

) (u+ (y+)

2+ u++y[4]

)

(y++)2 (y++ + y[3])2 +

+y + uy+

u+ (y++)2 =∂ϕ3

∂y+++

∂ϕ2

∂y+++

∂ϕ1

∂y++

u+ (y+)2

+ u++y[4]

y++(y++ + y[3]

)2 =∂ϕ2

∂y[3]+∂ϕ1

∂y[3]

− u++

y++(y++ + y[3]

) =∂ϕ1

∂y[4]

− y+

u+y++=∂ϕ3

∂u

y + uy+

(u+)2 y++− (y+)

2

y++(y++ + y[3]

) =∂ϕ3

∂u++∂ϕ2

∂u+

− y[4]

y++(y++ + y[3]

) =∂ϕ3

∂u+++

∂ϕ2

∂u+++

∂ϕ1

∂u++,

leading to

ϕ1 = − y[4]u++

(y[3] + y++

)y++

,

ϕ2 = − (y+)2u+

(y[3] + y++

)y++

,

ϕ3 = −y + y+u

y++u+,

which, due to the output transformation (3.46) yields

ϕ1 =(Y ++)

2Y [3]u++

(Y ++ + Y [3]

)Y [4]

,

ϕ2 = − (Y ++)2Y [3]u+

(Y +)2 (Y ++ + Y [3]) ,

ϕ3 = −(Y u+ Y +)Y ++

Y Y +u+.

65

Page 66: Transformation of Nonlinear State Equations into Observer Form

Step 4. Using (3.7), one can define the new state variables

z1 = Y,

z2 = Y + − (Y −−)2Y −u−−

(Y −− + Y −)Y,

z3 = Y ++ − (Y −)2Y u−

(Y − + Y )Y ++

(Y −)2Y u−−

(Y −−)2 (Y − + Y ),

z4 = Y [3] − (Y )2 Y +u

(Y + Y +)Y +++

(Y )2 Y +u−

(Y −)2 (Y + Y +)+

+(Y −−u−− + Y −)Y

Y −−Y −u−,

z5 = Y [4] − (Y +)2Y ++u+

(Y + + Y ++)Y [3]+

(Y +)2Y ++u

(Y )2 (Y + + Y ++)+

+(Y −u− + Y )Y +

Y −Y u,

which, due to the output transformation (3.46) and state equations(3.42), can be rewritten as

z1 = − 1

x2,

z2 =x2u

−−(x−−2

)2+ x−−2 x−2

+1

x1 + x2,

z3 = − 1

x3+

(x−−2

)2u−− − u− (x1 + x2)

x−2(x−2 + x2

) ,

z4 = x4 −(x−2)2u−

x1x2+x−−2 + x−2 u

−−

x2u−,

z5 = −x−2 − x2u

− − x1x5 − x2x5

u (x1 + x2),

(3.47)

that leads to the state equations in the extended observer form

z+1 = z2 +

(z−−1

)2z−1 u

−−(z−−1 + z−1

)z1

z+2 = z3 −

(z−1)2z1u−−

(z−−1

)2 (z−1 + z1

)

z+3 = z4 −

z1

(z−1 + z−−1 u−−

)

z−1 z−−1 u−

z+4 = z5

z+5 = 0

Y = z1.

66

Page 67: Transformation of Nonlinear State Equations into Observer Form

Chapter 4

Observable Space of theSystem on HomogeneousTime Scale

The observability property of the system, defined on homogeneous timescale, is studied in this chapter. The definition of the observability isgiven through the observability rank condition, commonly used both incontinuous- and discrete-time cases. This, however, differs from the stan-dard definition, where the concept of (in)distinguishable states is employed.The observability condition is presented in terms of the observable space.Moreover, the notions of the observability filtration and observability in-dices are extended to the systems on homogeneous time scales and thedecomposition of the system into the observable/unobservable subsystemsis addressed. The examples throughout the chapter are intended to illus-trate different aspects of the theory.

4.1 Observability and Observable Space

Recall form Subsection 1.2.4 the MIMO system, defined on homogeneoustime scale T, that is,

x∆ = f(x, u)

y = h(x),(4.1)

where x(t) : T→ X ⊂ Rn is an n-dimensional state vector, u(t) : T→ U ⊂Rm is an m-dimensional input vector y(t) : T→ Y ⊂ Rp is a p-dimensionaloutput vector. Moreover, f : X×U→ X and h : X→ Y are assumed to bereal analytic functions.

Frequently the observability rank condition is used to check whether thecontinuous-time nonlinear system is locally weakly observable [25], [38].

67

Page 68: Transformation of Nonlinear State Equations into Observer Form

This condition is sufficient for arbitrary initial state and necessary for al-most all initial states. Thus, we introduce the definition of (generic) observ-ability for nonlinear systems, defined on homogeneous time scales, throughthe observability rank condition.

Definition 4.1. System (4.1) is called generically (single-experiment) ob-servable if the rank of the observability matrix is generically equal to n, i.e.if

rankK∗

∂(h1, h

〈1〉1 , . . . , h

〈n−1〉1 , . . . , hp, h

〈1〉p , . . . , h

〈n−1〉p

)

∂x

= n. (4.2)

Recall that the superscript 〈i〉 denotes the ith delta derivative. Take intoaccount, that for T = τZ, τ > 0 the higher order delta derivative can becomputed explicitly as

h〈i〉ν =1

τ i

i∑

k=0

(−1)kCki hσi−kfν , (4.3)

where Cki is the binomial coefficient, i.e. Cki = i!(i−k)!k! .

Proposition 4.1. For T = τZ, τ > 0, the following holds

rankK∗

∂(h1, h

〈1〉1 , . . . , h

〈n−1〉1 , . . . , hp, h

〈1〉p , . . . , h

〈n−1〉p

)T

∂x

=

= rankK∗

(h1, h

σf1 , . . . , h

σn−1f

1 , . . . , hp, hσfp , . . . , h

σn−1fp

)T

∂x

. (4.4)

Proof. Separate the first addend of the sum in the right-hand side of (4.3)and then apply the relation (A.2), given in Appendix, to obtain

h〈i〉ν =1

τ i

(hσifν −

i∑

k=1

Cki hσi−kfν

k−1∑

l=0

C lk (−1)l). (4.5)

Changing the summation order

i∑

k=1

k−1∑

l=0

ak,l =

i∑

k=1

i−k∑

l=0

ak+l,l

68

Page 69: Transformation of Nonlinear State Equations into Observer Form

and then using the relations Ck+li C lk+l = Cki C

li−k and 1

τ i= 1

τk1

τ i−k , one canrewrite (4.5) as

h〈i〉ν =1

τ ihσifν −

i∑

k=1

1

τkCki

1

τ i−k

i−k∑

l=0

(−1)l C li−khσi−k−lfν ,

which, according to (4.3), yields

h〈i〉ν =1

τ ihσifν −

i∑

k=1

1

τkCki h

〈i−k〉ν .

Using the relation above, the arbitrary row of the left-hand matrix in(4.4) may be rewritten as

∂h〈i〉ν

∂x=

1

τ i∂h

σifν

∂x−

i∑

k=1

1

τkCki

∂h〈i−k〉ν

∂x

for ν = 1, . . . , p and i = 1, . . . , n− 1. It is easy to observe, that the sum inthe relation above represents the linear combination of the previous rowsof the matrix and, therefore, can be removed without changing the rank of

the matrix. Since ∂hσifν /∂x is the row of the right-hand matrix of (4.4) for

i = 1, . . . , n− 1, the statement of the proposition holds.

Remark 4.1. Since for T = R the delta derivative coincides with the clas-sical time derivative, the condition (4.2) is equivalent to observability rankcondition given in [25] for continuous-time systems. By Proposition 4.1 inthe case T = τZ, τ > 0, the condition (4.2) is equivalent to the observ-ability rank condition given in [55] for discrete-time systems, described interms of shift operator.

Though Definition 4.1 may be applied to check observability, it is easierto be done using the concept of observable space like in the continuous-time case [25]. Moreover, the observable space, whenever integrable, allowsto decompose the system into the observable/unobservable subsystems. Inthe rest of this section we extend the concept of observable space to MIMOsystems, defined on homogeneous time scales, and, using the notion of ob-servable space, provide the necessary and sufficient observability condition.

Given the system (4.1), denote by X , Yk, Y and U the following sub-spaces of the differential one-forms

X := spanK∗ dx ,Yk := spanK∗

dh〈j〉ν , ν = 0, . . . , p, 0 ≤ j ≤ k

,

Y := spanK∗

dh〈j〉ν , ν = 0, . . . , p, j ≥ 0,

U := spanK∗

du〈l〉υ , υ = 1, . . . ,m, l ≥ 0.

(4.6)

69

Page 70: Transformation of Nonlinear State Equations into Observer Form

By analogy with [25], the chain of subspaces

0 ⊂ O0 ⊂ O1 ⊂ · · · ⊂ Ok ⊂ · · · ⊂ Ok∗−1 = Ok∗ =: O∞, (4.7)

whereOk := X ∩

(Yk + U

)(4.8)

is called the observability filtration. Denote by O∞ the limit of the observ-ability filtration. It is easy to see that

O∞ = X ∩ (Y + U)

and analogously with [25] we call the subspace O∞ of X the observablespace1 of the system (4.1). The unobservable space of system (4.1), denotedby XO, is defined as a subspace of X , which satisfies

XO ∼= X/O∞, XO ⊕O∞ = X ,

where X/O∞ denotes the factor-space.From (4.6), taking into account (1.6) and using the linear transforma-

tions, one obtains

Yk + U =

= spanK∗

∂h〈j〉ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ k; du〈l〉υ , υ = 1, . . . ,m, l ≥ 0

.

Consequently, according to (4.8)

Ok = spanK∗

∂h〈j〉ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ k

, (4.9)

yielding

O∞ = spanK∗

∂h〈j〉ν

∂xdx, ν = 1, . . . , p, j ≥ 0

.

Before studying the properties of the observable space we provide Lemma4.1. Denote the one-forms which generate the observable space O∞ as

ων,j := ∂h〈j〉ν∂x dx for ν = 1, . . . , p, j ≥ 0 and arrange them in the form of the

following matrix:

Ω :=

ω1,0 ω1,1 ω1,2 · · ·ω2,0 ω2,1 ω2,2 · · ·

......

...ωp,0 ωp,1 ωp,2 · · ·

.

Denote the arbitrary row of the matrix Ω by Ων .

1Note that O∞ is in general not the observation space (as in [94]), associated withthe concept of the multi-experiment observability.

70

Page 71: Transformation of Nonlinear State Equations into Observer Form

Lemma 4.1. If Ων contains the one-form ων,i, being a linear combinationof the former one-forms ων,0, . . . , ων,i−1 from Ων , then the next one-formsων,j’s for j > i can also be represented as a linear combination of the one-forms ων,0, . . . , ων,i−1.

The proof of Lemma 4.1 is given in the Appendix.The proposition below describes the property of the subspace O∞.

Proposition 4.2.

dimK∗ O∞ = rankK∗

∂(h1, h

〈1〉1 , . . . , h

〈n−1〉1 , . . . , hp, h

〈1〉p , . . . , h

〈n−1〉p

)

∂x

.

Proof. Represent the observable space as

O∞ = O1∞ +O2

∞ + · · ·+Op∞,

where Oν∞ is generated by the elements of Ων . Since Oν∞ ⊆ O∞ ⊆ Xand, as a consequence, dimOν∞ ≤ dimO∞ ≤ dimX = n, it is enough touse n independent differential one-forms ων,j to generate Oν∞. Lemma 4.1guarantees that the first n one-forms ων,j , 0 ≤ j ≤ n−1, span the subspaceOν∞. Consequently,

spanK∗

∂h〈j〉ν

∂xdx, ν = 1, . . . , p, j ≥ 0

=

= spanK∗

∂h〈j〉ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ n− 1

.

Thus, the rows of the observability matrix

∂(h1, h

〈1〉1 , . . . , h

〈n−1〉1 , . . . , hp, h

〈1〉p , . . . , h

〈n−1〉p

)

∂x

(4.10)

with n columns can be regarded as the representation of the elements of thecodistribution O∞. Therefore, the number of linearly independent vectorsof O∞, i.e. dimK∗ O∞, can be found as the rank of the matrix (4.10).

The following theorem is the direct consequence of Definition 4.1 andProposition 4.2 and provides the characterization of the observability of thesystem.

Theorem 4.1. A system (4.1) is (single-experiment) observable if and onlyif O∞ = X .

71

Page 72: Transformation of Nonlinear State Equations into Observer Form

The following example illustrates how the observability of the systemcan be checked using the observable space.

Example 4.1. Consider the continuous-time model of unicycle [25] and itsdiscrete-time approximation, based on Euler sampling scheme, as a singlemodel defined on the homogeneous time scale T

x∆1 = u1 cosx3

x∆2 = u1 sinx3

x∆3 = u2

y1 = x1

y2 = x2.

(4.11)

Using (4.9), the observability filtration (4.7) of the system (4.11) may becomputed as follows

O0 = spanK∗ dx1, dx2 ,O∞ = O1 = spanK∗ dx1, dx2, dx3 .

Since the observable space O∞ = X , the system is observable. Alterna-tively, one may check that direct application of Definition 4.1 yields thesame result though requires more computations:

rankK∗

∂(h1, h

∆f

1 , h〈2〉1 , h2, h

∆f

2 , h〈2〉2

)

∂x

=

= rankK∗

1 0 00 0 −u1 sinx3

0 0 a0 1 00 0 u1 cosx3

0 0 b

= 3,

where

a :=

u1 sinx3 −

(u1 + τu∆

1

)sin (τu2 + x3)

τif T = τZ, τ > 0,

−u1u2 cosx3 − u1 sinx3 if T = R,

b :=

−u1 cosx3 +

(u1 + τu∆

1

)cos (τu2 + x3)

τif T = τZ, τ > 0,

−u1u2 sinx3 + u1 cosx3 if T = R.

72

Page 73: Transformation of Nonlinear State Equations into Observer Form

Given a system of the form (4.1), its observability filtration (4.7), likein the continuous-time case [25], defines a set of structural indices σj forj = 1, . . . , k∗ by

σ1 := dimK∗ O0,

σj := dimK∗ (Oj−1/Oj−2) , j = 2, . . . , k∗.(4.12)

Another set of indices si for i = 1, . . . , p, being dual to the set σj , j =1, . . . , k∗, is defined by

si := card σj | σj ≥ i (4.13)

and called the set of observability indices of system (4.1). The integer σjrepresents the number of observability indices si which are greater than orequal to j, and duality implies that σj = card si | si ≥ j.

Observability indices determine how many delta derivatives of the re-spective output components one needs to use for computation of the initialstate x on the basis of the inputs and outputs and their delta derivatives.The following proposition describes the key property of the observabilityindices.

Proposition 4.3. Given a system of the form (4.1), one has

dimK∗ O∞ = s1 + · · ·+ sp.

Proof. Note that dimK∗ (Oj−1/Oj−2) = dimK∗ Oj−1 − dimK∗ Oj−2. Using(4.12) one can write

k∗∑

j=1

σj =k∗∑

j=1

dimK∗ Oj−1 −k∗∑

j=2

dimK∗ Oj−2. (4.14)

Separating the last addend of the first sum in the right-hand side of (4.14),replacing in this sum index j by j−1 and taking into account that Ok∗−1 =O∞, we obtain

k∗∑

j=1

σj = dimKO∞ +

k∗∑

j=2

dimKOj−2 −k∗∑

j=2

dimKOj−2 = dimKO∞. (4.15)

The relation between indices σj and si can be expressed by means of ak∗ × p table, whose (j, i)th element is defined by (j = 1, . . . , k∗ pointing tothe row and i = 1, . . . , p to the column)

aj,i :=

1, 1 ≤ i ≤ σj ,0, (σj + 1) ≤ i ≤ p,

=

1, 1 ≤ j ≤ si,0, (si + 1) ≤ j ≤ k∗.

73

Page 74: Transformation of Nonlinear State Equations into Observer Form

Thus, the indices σj and si are the sums of elements in the jth row and ithcolumn, respectively, i.e.

σj =

p∑

i=1

aj,i, si =k∗∑

j=1

aj,i. (4.16)

Taking into account (4.15) and (4.16), one obtains

p∑

i=1

si =

p∑

i=1

k∗∑

j=1

aj,i =k∗∑

j=1

σj = dimKO∞,

which completes the proof.

Example 4.2. (Continuation of Example 4.1). One has σ1 = 2, σ2 = 1 andso, the observability indices are s1 = 2, s2 = 1. Taking delta derivativesof y1 and y2 up to the orders s1 − 1 and s2 − 1, respectively, we obtainy1 = x1, y∆

1 = u1 cosx3, y2 = x2, yielding

x1 = y1

x2 = y2

x3 = arccosy∆

1

u2.

4.2 Decomposition of the System into Observableand Unobservable Subsystems

For certain applications it will be useful to have system representations inwhich the observable and unobservable state variables can be explicitly dis-tinguished. For a continuous-time nonlinear control system the decompo-sition into observable/unobservable subsystems has been carried out bothvia differential geometric [44], [80] and linear algebraic methods [25] andis proved to be always doable. For example, in [25] the decomposition wasfirst carried out for linearized system defined in terms of one-forms, andthen, it was proved that the observable subspace of differential one-formsis always (generically) integrable. Therefore, the observable subspace ofone-forms can be (at least locally) spanned by exact one-forms whose inte-grals define the observable state coordinates. As demonstrated in [55], forthe discrete-time nonlinear control systems described in terms of the shiftoperator σf the decomposition at the level of equations (state variables) isnot always possible since the observable space of one-forms is not neces-sarily completely integrable. Moreover, the paper [59] provides a generalsubclass of systems with non-integrable observable subspace.

74

Page 75: Transformation of Nonlinear State Equations into Observer Form

The purpose of this section is to study the possibility to decompose thenonlinear control system defined on the homogeneous time scale into theobservable and unobservable subsystems. Since the delta-domain modelobtained via sampling [32] behaves similarly to the continuous-time systemand at the limit, when the sampling frequency tends to infinity, approachesthe continuous-time system, it was our working hypotheses that the delta-domain models are, in general, decomposable into observable/unobservableparts.

The latter would mean that the respective observable space O∞, as aspace of differential one-forms, is completely integrable. In the case µ ≡ 0(T = R), the observable space O∞ is proved to be integrable [25]. Unfor-tunately, unlike the case T = R for the case T = τZ, τ > 0, O∞ is notnecessarily integrable. We give a number of counterexamples.

Example 4.3. Consider the control system, defined on homogeneous timescale

x∆1 = x3 + ux3 − x1

x∆2 = u− x2

x∆3 = ux1 − x3 − x2

y = x3.

(4.17)

By (4.7), for this system,

O∞ = O2 = spanK∗

dx3, 2dx2 +(u∆ − µu∆ − 2u

)dx1, dx2 − udx1

.

If T = R, then µ ≡ 0 and obviously2, O∞ = X . If T = τZ, τ > 0, thenO∞ = X , except for the case µ = τ = 1 when

O∞ = spanK∗ dx3, dx2 − udx1 ,

being non-integrable subspace by Theorem 1.3, since d(dx2−udx1)∧dx3∧(dx2 − udx1) = du ∧ dx1 ∧ dx2 ∧ dx3 6= 0.

Next example demonstrates that the loss of integrability does not nec-essarily occur only at µ = 1.

Example 4.4. Consider the system

x∆1 = x2 −

x1

3

x∆2 = ux1 + x3 − x2

x∆3 = eu

2x1+ux3 − x3

3y = x2

(4.18)

2Of course, for µ ≡ 0 the result also follows from continuous-time theory [25].

75

Page 76: Transformation of Nonlinear State Equations into Observer Form

the observable space of which is

O∞ = O2 = spanK

dx2, udx1 + dx3,

(u∆ − µu∆

3

)dx1

.

Like in the previous example, if T = R, then µ ≡ 0 and O∞ = X . IfT = τZ, τ > 0, then O∞ = X , except for the case µ = τ = 3 whenO∞ = spanK∗ dx2, udx1 + dx3, again non-integrable by the Frobeniustheorem.

Finally, we provide an example of the system for which the observablespace O∞ is integrable for every choice of the value of µ.

Example 4.5. Consider the system

x∆1 = tan(x1 − x2)u1

x∆2 = u1 tan(x1 − x2)− u2 cos2(x1 − x2)

x∆3 = u1

y1 = x3

y2 = x1 − x2.

(4.19)

The observable space O∞ = O0 = spanK dx1 − dx2, dx3 is obviouslyintegrable by direct inspection.

To conclude, we conjecture that the observable space O∞ is in generalintegrable except for a few possible µ values where these values correspondto the sampling frequencies at which the state transition map of the sampledsystem is not reversible. The following example illustrates this conjecture.

Example 4.6. (Continuation of Examples 4.3 – 4.5). The state transitionmap of system (4.17) is

xσ1 = µ (x3 + ux3 − x1) + x1

xσ2 = µ (u− x2) + x2

xσ3 = µ (ux1 − x3 − x2) + x3.

(4.20)

In order to check the reversibility of the system, one needs to verify whetherthe Jacobian matrix ∂f(x, u)/∂x is nonsingular. The Jacobian matrix ofsystem (4.20) is

∂f(x, u)

∂x=

1− µ 0 µ(1 + u)0 1− µ 0µu −µ 1− µ

.

Note that the matrix above is singular for µ = 1, implying that the statetransition map (4.20) is not reversible at the sampling frequency equal 1.

76

Page 77: Transformation of Nonlinear State Equations into Observer Form

Next, consider the state transition map of system (4.18), which reads as

xσ1 = µ(x2 −

x1

3

)+ x1

xσ2 = µ (ux1 + x3 − x2) + x2

xσ3 = µ(

eu2x1+ux3 − x3

3

)+ x3.

(4.21)

The Jacobian matrix of system (4.21), i.e.

∂f(x, u)

∂x=

1− µ

3µ 0

µu 1− µ µ

eu(ux1+x3)µu2 0 1− µ

3+ eu(ux1+x3)µu

,

is singular for µ = 3. Consequently, the state transition map (4.21) is notreversible at the sampling frequency equal 3. Finally, the state transitionmap of system (4.19) is

xσ1 = µ tan(x1 − x2)u1 + x1

xσ2 = µ(u1 tan(x1 − x2)− u2 cos2(x1 − x2)

)+ x2

xσ3 = µu1 + x3

(4.22)

and its Jacobian matrix reads as

∂f(x, u)

∂x=

1 +µu1

cos2 (x1 − x2)

−µu1

cos2 (x1 − x2)0

a 1− a 0

0 0 1

,

where

a := µ

(u1

cos (x1 − x2)2 + u2 sin (2 (x1 − x2))

).

One can verify that the matrix above is nonsingular for any µ ≡ const,meaning that the state transition map (4.22) is reversible at any samplingfrequency. To conclude, comparing the result above with those presentedin Examples 4.3 – 4.5, one can observe the consistency of the samplingfrequencies at which the state transition maps are not reversible and thevalues of µ for which the observable spaces O∞ are not integrable. Theseexamples support our conjecture.

77

Page 78: Transformation of Nonlinear State Equations into Observer Form

If the observable space O∞ is integrable, and therefore, has locally anexact basis dζ1, . . . ,dζr, one can complete the set dζ1, . . . ,dζr to a basisdζ1, . . . ,dζr, dζr+1, . . . ,dζn of X . Then, in the coordinates ζ1, . . . , ζn,the system reads as

ζ∆1 = f1 (ζ1, . . . , ζr, u) ,

...

ζ∆r = fr (ζ1, . . . , ζr, u) ,

ζ∆r+1 = fr+1 (ζ, u) ,

...

ζ∆n = fn (ζ, u) ,

y = h (ζ1, . . . , ζr) ,

being the decomposition of the system into the observable (first r equations)and unobservable (equations from (r + 1)th to nth) subsystems.Example 4.7. (Continuation of Example 4.5). Integrating the observablespace O∞ of the system, we get the set of the observable state variablesζ1 = x1 − x2 and ζ2 = x3. Next we complete O∞ to a basis of X , taking,for example, ζ3 = x1. In these coordinates the system equations read as

ζ∆1 = u1

ζ∆2 = u2 cos2 ζ2

ζ∆3 = u1 tan ζ2

y1 = ζ1

y2 = ζ2,

where the first two equations (together with the output equations) definethe observable subsystem. The state ζ3 is unobservable.

78

Page 79: Transformation of Nonlinear State Equations into Observer Form

Chapter 5

Implementation of theResults in the NLControlPackage

The purpose of this chapter is to present several Mathematica functions, im-plementing the theoretical results of the thesis. The functions are developedwithin the package NLControl, which provides the symbolic computationaltools that assist the solution of different modeling, analysis, and synthesisproblems for nonlinear control systems. Therefore, the first section providesthe brief introduction into the basics of the NLControl package. The nextsection describes the functions developed to facilitate the transformationof the continuous- or discrete-time system equations into the (extended)observer form. The observability related functions are presented in the lastsection. The description of the functions is accompanied by illustrativeexamples.

5.1 Outline of the NLControl Package

In this section the essential information about the NLControl package isrecalled and the description of its basic functions, necessary in the sequel,is provided.

To take advantage of the NLControl package, first it should be properlyinstalled within Mathematica environment and then loaded by means of thefollowing command

In[1]:= << NLControl‘Master‘

In the further examples of this chapter we assume that the command aboveis evaluated and the NLControl package is loaded.

79

Page 80: Transformation of Nonlinear State Equations into Observer Form

In order to operate with the system described by the state equations(1.1), (1.3) or (1.5), it should be entered in the following form

StateSpace[f, Xt, Ut, t, h, Yt, Type],

where f is a list containing the components of the state function; Xt, Ut andYt define the lists of the state, input and output variables, respectively; tis a time argument and h defines the output function. The argument Typemay have one of the following values: TimeDerivative and Shift standfor continuous- and discrete-time cases, respectively, whereas TimeScale

indicates the system defined on time scale.Another special object in the NLControl package is

SpanK[a11,...,a1i,...,ak1,...,aki,x1,...,xi,-1,t]

which represents the subspace spanned over K∗ by the differential one-forms aj1dlx1 + ... + ajidlxi for j = 1, ..., k. Argument t means thatall symbols depending on t are considered as variables.

Note that the form of some objects, determined by Mathematica andthe NLControl package, differs from the traditional and familiar form. Thefunction BookForm is intended to display such objects in a more accus-tomed form. For instance, it allows to represent the system, specified bythe function StateSpace, in a form of equations. One of the optional argu-ments of the function BookForm is TimeArgument -> False, which allowsto leave out the time argument t and display the result in the abridged no-tation. Note that throughout this chapter we will use this option to makethe exposition more compact.

5.2 Transformation of the System into ObserverForm

The functions, presented in this section, were developed within the NLCon-trol package to facilitate the transformation of the nonlinear control systeminto the observer form. The function

ObserverFormTransformability[contSys]

checks the validity of the conditions (2.11) in order to verify whether thecontinuous-time system, determined by the argument contSys, is trans-formable into the observer form (2.5) or not. Besides, the function

ObserverFormTransformability[discrSys, bN, opts]

checks whether the discrete-time system, given by the argument discrSys,is transformable into the extended observer form (3.5) with the buffer,

80

Page 81: Transformation of Nonlinear State Equations into Observer Form

determined by the argument bN . The optional argument opts specifiesthe type of the conditions to check. If the value of opts is Method ->

OneForms the function uses the conditions (3.13). The default value of theargument opts is Method -> PartialDerivatives, yielding the verifi-cation of the conditions (3.30). In both continuous- and discrete-time casesthe function ObserverFormTransformability returns True if the trans-formability conditions are satisfied. Otherwise, the output of the functionis False.

For the discrete-time systems was programmed the function

MinBuffer[discrSys],

which recursively applies the function ObserverFormTransformability

to find the minimal buffer, allowing to transform the system into the ex-tended observer form (3.5).

The function

ObserverForm[contSys, newXt, newYt]

applies Algorithm 2.1 to transform the continuous-time system contSys

into the observer form (2.5), whenever possible. Morover, the same functioncalled as

ObserverForm[discrSys, bN, newXt, newYt]

applies Algorithm 3.1 to transform the discrete-time system discrSys intothe extended observer form (3.5) with buffer bN , whenever possible. Theargument newXt defines the new state variables, in terms of which the trans-formed system will be represented. The argument can be entered as a list ofvariables or as a pure function z#[t]&, which implicitly generates the listz1[t], ..., zn[t] of the demanded length. The last argument newYtdenotes the new output variable, necessary to represent the transformedoutput. If all steps of the corresponding algorithm can be completed, thefunction ObserverForm returns the system in the required observer formtogether with the change of coordinates ((2.7) or (3.7), respectively) andthe output transformation ((2.4) or (3.4), respectively). In the case whenthe transformability conditions are not satisfied, the output of the functionis an empty list .

Furthermore, the functions, described above, were implemented onlineat the NLContol website [43]. To take advantage of this online tool, onehas to select the option Observer Form either from the section Continuousor Discrete in the main menu of the site and, after filling the correspondingtext fields, push the button Evaluate.

The following examples illustrate the application of the functions, de-scribed above.

81

Page 82: Transformation of Nonlinear State Equations into Observer Form

Example 5.1. Consider the model of a DC motor from Example 2.1. Thestate equations (2.23) can be entered as follows

In[2]:= f = -Km x1[t] x2[t] - (Ra + Rf) / k x1[t] + u[t],-B/J x2[t] - x3[t] + Km/J k x1[t]

2, 0;Xt = x1[t], x2[t], x3[t];Ut = u[t];Yt = y[t];h = x1[t];DCMotor = StateSpace[f, Xt, Ut, t, h, Yt,

TimeDerivative];BookForm[DCMotor, TimeArgument -> False]

yielding

Out[8]=

x1’ =k u - x1(Ra + Rf + k Km x2)

k

x2’ =k Km x1

2 - B x2 - J x3

Jx3’ = 0y = x1

Applying the function ObserverFormTransformability, one obtains

In[9]:= ObserverFormTransformability[DCMotor]

Out[9]= True

meaning that the state equations can be transformed into the observerform. To perform the transformation we apply the function ObserverForm

as follows

In[10]:= BookForm[ObserverForm[DCMotor, z#[t]&, Y[t]],TimeArgument -> False]

Out[10]=

z1’ = e-z1 u -

B z1

J+ z2

z2’ = -e2 z1 k Km2

J+B e-z1 u

J+ z3

z3’ = 0

Y = z1

z1 = Log[x1]

z2 =-J (Ra + Rf) + B k Log[x1] - J k Km x2

J k

z3 = -B (Ra + Rf)

J k+ Km x3

Y = Log[y]

82

Page 83: Transformation of Nonlinear State Equations into Observer Form

The first four rows of the result represent the system in the observer form(2.28), whereas the rest contains the change of coordinates (2.27) and theoutput transformation (2.26).

Example 5.2. Recall the discrete-time system (3.37) from Example 3.1.One can enter the system as follows

In[11]:= f = u[t] x2[t],x3[t],(x1[t] + x2[t] u[t] + u[t]) (u[t] x2[t] + x3[t])(u[t] x1[t] + x4[t]), u[t] + x1[t];

Xt = x1[t], x2[t], x3[t], x4[t];Ut = u[t];Yt = y[t];h = x1[t];system1 = StateSpace[f, Xt, Ut, t, h, Yt, Shift];BookForm[system1, TimeArgument -> False]

Out[17]=

x+1 = u x2

x+2 = x3

x+3 = (x1 + u (1 + x2)) (u x2 + x3) (u x1 + x4)

x+4 = u + x1

y = x1

In order to check whether the system above satisfies the conditions (3.30)for buffer N = 1, we run the command

In[18]:= ObserverFormTransformability[system1, 1]

Out[18]= True

The validity of the conditions (3.13) for N = 1 can be checked by means ofthe command

In[19]:= ObserverFormTransformability[system1, 1,Method -> OneForms]

Out[19]= True

Both results show that the system can be transformed into the extendedobserver form with buffer N = 1. Note that entering 0 as the value of thebuffer, one can check whether the system is transformable into the observerform without buffer.

In[20]:= ObserverFormTransformability[system1, 0]

Out[20]= False

83

Page 84: Transformation of Nonlinear State Equations into Observer Form

The consequence of the result above is that N = 1 is the minimal buffer forwhich the system can be transformed into the observer form. The functionMinBuffer confirms this fact.

In[21]:= MinBuffer[system1]

Out[21]= 1

To transform the system into the extended observer form with buffer N = 1,one can call the function ObserverForm as follows

In[22]:= BookForm[ObserverForm[system1, 1, z#[t]&, Y[t]],TimeArgument -> False]

Out[22]=

z+1 = -Log[u-] + Log[ez1 + ez

-1 u-

]+ Log[u] + z2

z+2 = Log[ez-1 + ez1 + u-

]+ z3

z+3 = Log[ez-1 + u- + ez1 u

]+ z4

z+4 = 0

Y = z1

z1 = Log[x1]z2 = Log[u-] - Log[u- x-1 + x1] + Log[x2]z3 = Log[u] - Log[u- + x-1 + x1] - Log[u (x1 + x2)] + Log[x3]

z4 = Log[u+] - Log[u- + x-1 + u x1] + Log[u x2 + x3] -

Log[u+ (u x2 + x3)] + Log[u x1 + x4]

Y = Log[y]

The upper block of equations above is the system in the extended observerform with buffer N = 1. The lower block represents the change of coordi-nates (3.41) and the output transformation (3.40), respectively.Example 5.3. Examine the discrete-time system (3.42) from Example3.2. The system can be entered as follows

In[23]:= f =x1[t] + x2[t] - x3[t], -x1[t] - x2[t],-(x1[t] x2[t]) / (u[t] x3[t] + x1[t] x2[t] x4[t]),-(u[t]2 x2[t]2 + (x1[t] + x2[t])

(x1[t] + x2[t] - x3[t]) x5[t])//(u[t] (x1[t] + x2[t]) (x1[t] + x2[t] - x3[t])),

(x2[t] - u[t] (x1[t] + x2[t])) / x3[t];Xt = x1[t], x2[t], x3[t], x4[t], x5[t];Ut = u[t];Yt = y[t];h = x2[t];system2 = StateSpace[f, Xt, Ut, t, h, Yt, Shift];BookForm[system2, TimeArgument -> False]

84

Page 85: Transformation of Nonlinear State Equations into Observer Form

Out[29]=

x+1 = x1 + x2 - x3

x+2 = -x1 - x2

x+3 = -x1 x2

u x3 + x1 x2 x4

x+4 = -u2 x2

2 + (x1 + x2)(x1 + x2 - x3) x5

u (x1 + x2) (x1 + x2 - x3)

x+5 =x2 - u (x1 + x2)

x3y = x2

First, find the minimal buffer, allowing to transform the system into theextended observer form.

In[30]:= bN = MinBuffer[system2]

Out[30]= 2

Next, transform the system into the extended observer form with obtainedbuffer.

In[31]:= BookForm[ObserverForm[system2, bN, z#[t]&, Y[t]],TimeArgument -> False]

Out[31]=

z+1 =u-- z--1

2 z-1(z--1 + z-1) z1

+ z2

z+2 = -u-- z-1

2 z1

z--12 (z-1 + z1)

+ z3

z+3 =

(- 1z--1

- u--

z-1

)z1

u-+ z4

z+4 = z5

z+5 = 0

Y = z1

z1 = -1

x2

z2 =u-- x2

x--22 + x--2 x-2

+1

x1 + x2

z3 = -x-2

2 + x-2 x2 +(-u-- x--2

2 + u- (x1 + x2))x3

x-2 (x-2 + x2) x3

z4 =-u-2 x-2

2 + x1 (x--2 + u-- x-2 + u

- x2 x4)

u- x1 x2

z5 = -x-2 + u

- x2 + (x1 + x2) x5

u (x1 + x2)

Y = -1

y

85

Page 86: Transformation of Nonlinear State Equations into Observer Form

The upper block of equations above is the system in the extended observerform with buffer N = 2. The lower block represents the change of coordi-nates (3.47) and the output transformation (3.46), respectively.

5.3 Observability Related Functions

The following set of functions was developed within the NLControl packagein order to assist in the verification of the observability condition, construc-tion of the observability filtration and the observable space, computationof the observability indices and decomposition of the system into the ob-servable and unobservable subsystems. Though in the context of the thesisthe functions are applied to the systems, defined on the homogeneous timescale, they are also applicable to the continuous- and discrete-time systems(see for details [82]).

The functions and their assignments are listed below.

• Observability[Sys] uses the observability rank condition (4.2) tocheck whether the system is observable or not.

• ObservabilityFiltration[Sys] constructs the observability fil-tration (4.7) of the system.

• ObservableSpace[Sys] constructs the observable subspace O∞ ofthe system, i.e. O∞ ⊆ X .

• UnObservableSpace[Sys] constructs the unobservable subspace XOof the system, i.e. XO ∼= X/O∞.

• ObservabilityIndices[Sys] computes the sets of the indices σjand the observability indices si, defined by (4.12) and (4.13), respec-tively.

• ObservabilityDecomposition[Sys, newXt] decomposes the sys-tem into observable and unobservable subsystems, whenever possible.

In the functions, described above, the arguments Sys and newXt definethe system under consideration and a list of new state variables, respec-tively. Moreover, the function ObservabilityDecomposition optionallymay have the argument PrintInfo -> True, which provides the addi-tional information.

Furthermore, the online implementation of the above-mentioned func-tions is available at the NLContol website [43]. To take advantage of thisonline tool, reveal the content of the section Time Scales in the main menuof the site, then choose the option Observability and, after filling the corre-sponding text fields, push the button Evaluate.

86

Page 87: Transformation of Nonlinear State Equations into Observer Form

The application of the functions is illustrated by means of the followingexamples.

Example 5.4. Consider the model of unicycle from Example 4.1. One canenter the equation (4.11) as follows

In[32]:= f = u1[t] Cos[x3[t]], u1[t] Sin[x3[t]], u2[t];Xt = x1[t], x2[t], x3[t];Ut = u1[t], u2[t];Yt = y1[t], y2[t];h = x1[t], x2[t];unicycle = StateSpace[f, Xt, Ut, t, h, Yt, TimeScale];BookForm[unicycle]

yielding

Out[38]=

x [1]1 [t] = Cos[x3[t]] u1[t]

x [1]2 [t] = Sin[x3[t]] u1[t]

x [1]3 [t] = u2[t]

y1[t] = x1[t]

y2[t] = x2[t]

Note that, unlike the notations in the thesis, in the NLControl packagethe superscript [1] stands for the delta derivative. Applying the functionObservability one obtains

In[39]:= Observability[unicycle]

Out[39]= True

meaning that the system is observable. The observability filtration of thesystem can be found as follows

In[40]:= BookForm[ObservabilityFiltration[unicycle]TimeArgument -> False]

Out[40]= SpanK[dlx1, dlx2],

SpanK[dlx1, dlx2, dlx3], SpanK[dlx1, dlx2, dlx3]

The last element of the result is the observable space of the system. Tocompute the sets of indices σj and si, the function ObservabilityIndices

can be used

In[41]:= ObservabilityIndices[unicycle]

Out[41]= 2, 1, 2, 1

87

Page 88: Transformation of Nonlinear State Equations into Observer Form

In above, the first set of integers represents the indices σj , defined by (4.12),whereas the second set of integers stands for the observability indices si,defined by (4.13).

Example 5.5. Consider the system (4.19) from Example 4.5. The equa-tions can be entered by means of the following commands

In[42]:= f =Tan[x1[t] - x2[t]] u1[t],u1[t] Tan[x1[t] - x2[t]] - Cos[x1[t] - x2[t]]

2 u2[t],u1[t];

Xt = x1[t], x2[t], x3[t];Ut = u1[t], u2[t];Yt = y1[t], y2[t];h = x3[t], x1[t] - x2[t];system3 = StateSpace[f, Xt, Ut, t, h, Yt, TimeScale];BookForm[system3]

Out[48]=

x [1]1 = Tan[x1 - x2] u1

x [1]2 = Tan[x1 - x2] u1 - Cos[x1 - x2]

2 u2

x [1]3 = u1y1 = x3y2 = x1 - x2

Running the command

In[49]:= ObservabilityIndices[system3]

Out[49]= 2, 1, 1

we obtain the sets of indices σj and si, respectively. Next, compute theobservable and unobservable spaces of the system.

In[50]:= BookForm[ObservableSpace[system3],TimeArgument -> False]

Out[50]= SpanK[dlx1 - dlx2, dlx3]

In[51]:= BookForm[UnObservableSpace[system3]],TimeArgument -> False]

Out[51]= SpanK[dlx1]

Since the observable space is not equal to X (or alternatively, the unobserv-able space is not 0), the system is not observable, and one can employthe function ObservabilityDecomposition to decompose the system intothe observable and unobservable subsystems.

88

Page 89: Transformation of Nonlinear State Equations into Observer Form

In[52]:= BookForm[ObservabilityDecomposition[system3, z#[t]&,PrintInfo -> True], TimeArgument -> False]

z1[t], z2[t] are observable variables.

z3[t] is unobservable variable.

Out[52]=

z [1]1 = u1

z [1]2 = Cos[z2]

2 u2

z [1]3 = Tan[z2] u1y1 = z1y2 = z2

z1 = x3z2 = x1 - x2z3 = x1

The first two rows of the result provide an additional information aboutthe new coordinates, the next five rows represent the decomposed systemand the remaining rows show the coordinate transformation, which yieldedthe decomposition.

89

Page 90: Transformation of Nonlinear State Equations into Observer Form
Page 91: Transformation of Nonlinear State Equations into Observer Form

Conclusions

Concluding Remarks

In such practical control tasks as computation of the state feedback andmonitoring of the system behavior the observer plays an important role,providing the state estimate, whenever the state itself is not directly mea-surable or its measurement is very expensive. The thesis is mainly devotedto the problem of transforming the nonlinear state equations into the (ex-tended) observer form, for which the observer can be easily constructed.Both continuous- and discrete-time systems are considered. Our approachis based on the analysis of the structure of the input-output equation, cor-responding to the state equations. Under observability assumption, onemay always find the input-output equation, at least locally, using the stateelimination algorithm (see, for example, [25]). The observer form approach,relying on the state transformation only, imposes restrictive conditions fortransformability of nonlinear control system into the observer form. There-fore, the aim is to relax the conditions by employing the output transforma-tion in addition to the state transformation and considering the extendedobserver form with generalized input-output injections. The results of thethesis can be divided into four parts.

• First, the necessary and sufficient conditions are given for the exis-tence of the state and output coordinate transformations, that bringthe continuous-time state equations into the observer form. The con-ditions require that certain differential one-forms, associated with theinput-output equation of the system, are closed. Once the input-output equation is obtained by the state elimination, the conditionsto be checked can be easily constructed due to the direct formulafor computation of the necessary one-forms. However, note that theconditions depend on an unknown single-variable output-dependentfunction. As a consequence, the verification of the conditions requiresto solve certain differential equation, which, sometimes, can be diffi-cult task. The algorithm is also given for transformation of the stateequations into the observer form. The presented results can be con-

91

Page 92: Transformation of Nonlinear State Equations into Observer Form

sidered as an improvement of those given in [31]. Unlike [31], wherethe two-step procedure was proposed, the conditions presented in thethesis are more straightforward for verification.

• Second, the thesis presents two alternative (complementary) sets ofnecessary and sufficient conditions for the existence of the extendedcoordinate change and the output transformation that allow to trans-form the discrete-time state equations into the extended observer formwith buffer (i.e. the nonnegative integer determining the numberof past values of the input and output, necessary for transforma-tion). The first set of conditions is expressed in terms of the exteriorderivatives and the exterior products of certain one-forms, associatedwith the input-output equation, corresponding to the state equations.These conditions have the advantage of being intrinsic. The other setof conditions is formulated in terms of certain partial derivatives,related to the i/o equation of the system, and due to the matrixrepresentation can be checked almost by direct inspection. More-over, the matrix representation simplifies the determination of theminimal value of the buffer allowing the transformation. Besides theconditions, we proposed the algorithm for transformation of the stateequations into the extended observer form. The presented resultsgeneralize those given in [40], [78], [79]. In [78] the authors providedthe necessary and sufficient conditions in terms of one-forms for thespecial case of the observer form without the buffer, whereas in [79]the special case of the buffer being equal to 1 was considered andthe solvability conditions were given in terms of partial derivatives.Though in [40] the arbitrary buffer was considered, the conditions,relying on the sophisticated language of differential geometry, weregiven only for systems without inputs.

• The third part of the thesis presents the results on observability prop-erty of the nonlinear system, defined on homogeneous time scale.Time scale analysis allows to unify continuous- and discrete-time the-ories, presenting both of them simultaneously under the same lan-guage. The related notions such as observability, observability fil-tration, observable space and observability indices were extended tothe systems, defined on time scale. Moreover, the possibility to de-compose the system into observable/unobservable subsystems is dis-cussed.

• Finally, the fourth part describes implementation of the theoreticalresults of the thesis in the form of Mathematica functions within theframework of NLControl package. In total nine functions were pre-sented. Three of them facilitate the transformation of the continuous-

92

Page 93: Transformation of Nonlinear State Equations into Observer Form

or discrete-time state equation into the corresponding (extended) ob-server form, whereas another six functions assist in the verificationof the observability condition, construction of the observability fil-tration and the observable (unobservable) space, computation of theobservability indices and decomposition of the system into the ob-servable/unobservable subsystems, whenever possible.

Future Research

The results of the thesis may be extended in several ways. One of the opentopics for future research is the extension of our results for the continuous-time systems to the case, when the input-output injections in the observerform are allowed to depend also on the derivatives of the input (as in [31]).Unlike [31], where the solution was given as a two-step procedure, we areintended to derive more direct conditions. Moreover, we have an intentionto compare our results with those presented in [63], [85], which rely on thetools from differential geometry.

In the discrete-time case the future goal is to compare our results withthe dynamic observer error linearization technique, presented in [100], wherein order to transform the system into the generalized observer form, it issuggested to augment the system by means of the so called dynamic aux-iliary system of the specific linear form. It is our conjecture that the twoapproaches are closely related, since, in principle, the past values of inputand output may be possibly expressed in terms of system extensions.

Regarding the systems, defined on homogeneous time scales, one of thefuture goals is to define the observability property using the concept of(in)distinguishable states. Moreover, we intend to carry over the observerform approach to the systems on homogeneous time scale.

93

Page 94: Transformation of Nonlinear State Equations into Observer Form
Page 95: Transformation of Nonlinear State Equations into Observer Form

Appendix

For the proof of Lemmas A.1 and 2.1 we will use the binomial theorem(a+ b)k =

∑kl=0C

lkalbk−l, which for a = −1, b = 1 and k ≥ 1 gives

k∑

l=0

C lk(−1)l = 0. (A.1)

Separating the last addend of the sum above and placing it into the right-hand side of the equality, yields

k−1∑

l=0

C lk(−1)l = −(−1)k. (A.2)

Proof of Theorem 1.4

Proof. In the proof we omit the variable t, i.e. use instead of ξi(t) a shorternotation ξi, which allows to write the bulky formulas in a more compactform. According to Mishkov’s formula [75], the (a+ b)th derivative of thecomposite function Φ can be computed by the formula

(Φ(ξ1, ξ2, . . . , ξr))(a+b) =

0

1

2

· · ·∑

a+b

(a+ b)!a+b∏

i=1

(i!)kia+b∏

i=1

r∏

j=1

qi,j !

·

· ∂kΦ

∂ξp11 ∂ξp22 · · · ∂ξprr

a+b∏

i=1

r∏

j=1

(i)j

)qi,j, (A.3)

where the respective sums are taken over all nonnegative integer solutionsof the Diophantine equations, as follows

0

→ k1 + 2k2 + · · ·+ (a+ b)ka+b = a+ b, (A.4a)

i

→ qi,1 + qi,2 + · · ·+ qi,r = ki, (A.4b)

95

Page 96: Transformation of Nonlinear State Equations into Observer Form

for i = 1, . . . , a+ b, and pj and k on the right-hand side of (A.3) satisfy therelations

pj = q1,j + q2,j + · · ·+ qa+b,j , j = 1, 2, . . . , r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ ka+b.(A.5)

In derivation of sum (A.3) with respect to ξ(a)l , only addends of sum

(A.3) with qa,l 6= 0 will matter. Denote by H(·) and G(·) the parts of sum(A.3) corresponding to qa,l 6= 0 and qa,l = 0, respectively; then

(Φ(ξ1, ξ2, . . . , ξr))(a+b) = H(·) +G(·). (A.6)

Note that it is possible to state that H(·) equals to expression in the right-hand side of (A.3) where in addition to the restrictions expressed by (A.4)and (A.5), the condition qa,l 6= 0 has to be satisfied. Note also that ifqa,l 6= 0, then ka 6= 0. We prove the formula separately for the cases a > band a ≤ b.

First, consider the case when a > b. Since ka 6= 0 and qa,l 6= 0, in orderto satisfy (A.4) the following must hold

ka = 1, ki = 0, b < i ≤ a+ b, i 6= a,

qa,l = 1, qa,j = 0, j = 1, 2, . . . , r, j 6= l,

qi,j = 0, b < i ≤ a+ b, i 6= a, j = 1, 2, . . . , r.

(A.7)

As a result, under the condition qa,l 6= 0, one can rewrite (A.4a) as follows

0

→ k1 + 2k2 + · · ·+ bkb = b, (A.8)

and in (A.4b), now i = 1, . . . , b.

Using (A.7) and changing the notations, taking pj = pj for j = 1, 2, . . . , r,j 6= l, pl = pl − 1 and k = k − 1, equations (A.5) may be rewritten as

pj = q1,j + q2,j + · · ·+ qb,j , j = 1, 2, . . . , r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ kb.(A.9)

Note also that under conditions (A.7)

a+b∏

i=1

(i!)ki = a!

b∏

i=1

(i!)ki ,

a+b∏

i=1

r∏

j=1

qi,j ! =

b∏

i=1

r∏

j=1

qi,j !,

anda+b∏

i=1

r∏

j=1

(i)j

)qi,j= ξ

(a)l

b∏

i=1

r∏

j=1

(i)j

)qi,j.

96

Page 97: Transformation of Nonlinear State Equations into Observer Form

Taking into account the equalities above and the fact that the partial deriva-

tive of G(·) in (A.6) with respect to ξ(a)l is 0, the variables pj and k yield

∂ (Φ(ξ1, ξ2, . . . , ξr))(a+b)

∂ξ(a)l

=∑

0

1

2

· · ·∑

b

(a+ b)!

a!

b∏

i=1

(i!)kib∏

i=1

r∏

j=1

qi,j !

·

· ∂k+1Φ

∂ξp11 · · · ∂ξpl−1

l−1 ∂ξpl+1l ∂ξ

pl+1

l+1 · · · ∂ξprr

b∏

i=1

r∏

j=1

(i)j

)qi,j. (A.10)

Note that in (A.10) all the partial derivatives with respect to ξj are oforder pj , except ξl where the order of the partial derivative is pl + 1. Forthe unification of the orders denote Φ := ∂Φ

∂ξl. Also we multiply the right-

hand side of equation (A.10) by b!/b! to obtain

∂ (Φ(ξ1, ξ2, . . . , ξr))(a+b)

∂ξ(a)l

= Cba+b

0

1

2

· · ·∑

b

b!b∏

i=1

(i!)kib∏

i=1

r∏

j=1

qi,j !

·

· ∂kΦ

∂ξp11 ∂ξp22 · · · ∂ξprr

b∏

i=1

r∏

j=1

(i)j

)qi,j. (A.11)

It is easy to observe now that, according to Mishkov’s formula, the sumon the right-hand side of (A.11) together with the conditions (A.4b) fori = 1, . . . , b, (A.8) and (A.9) is the bth order total derivative of the functionΦ. Consequently,

∂ (Φ(ξ1, ξ2, . . . , ξr))(a+b)

∂ξ(a)l

= Cba+bΦ(b) =

= Cba+b

(∂Φ(ξ1, ξ2, . . . , ξr)

∂ξl

)(b)

. (A.12)

Second, consider the case a ≤ b. Since ka 6= 0, in order to satisfy (A.4),the following must hold

ki = 0, b < i ≤ a+ b,

qi,j = 0, b < i ≤ a+ b, j = 1, 2, . . . , r.(A.13)

Therefore, it is possible to rewrite condition (A.4a) as

0

→ k1 + · · ·+(a−1)ka−1 +a(ka−1)+(a+1)ka+1 + · · ·+bkb = b, (A.14)

and in (A.4b), now i = 1, . . . , b.

97

Page 98: Transformation of Nonlinear State Equations into Observer Form

Again, in order to unify the notation in (A.14), one can take ki = kifor i = 1, 2, . . . , b, i 6= a and ka = ka − 1. This allows to rewrite (A.14) asfollows ∑

0

→ k1 + 2k2 + · · ·+ bkb = b, (A.15)

and (A.4b) as∑

i

→ qi,1 + qi,2 + · · ·+ qi,r = ki, i = 1, . . . , b, i 6= a,

a

→ qa,1 + qa,2 + · · ·+ qa,r = ka + 1.(A.16)

Since qa,l ≥ 1 we can denote qa,l := qa,l − 1 and the remaining q’s asqi,j := qi,j . Thereby (A.16) can by rewritten in the unified notation as

i

→ qi,1 + qi,2 + · · ·+ qi,r = ki, (A.17)

for i = 1, . . . , b. Changing notations, taking pj = pj for j = 1, 2, . . . , r,j 6= l, pl = pl − 1 and k = k − 1, equations (A.5) may be rewritten as

pj = q1,j + q2,j + · · ·+ qb,j , j = 1, 2, . . . , r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ kb.(A.18)

Taking into account (A.13) and using variables ki and qi,j we have

a+b∏

i=1

(i!)ki = a!b∏

i=1

(i!)ki ,a+b∏

i=1

r∏

j=1

qi,j ! = (qa,l + 1)b∏

i=1

r∏

j=1

qi,j !,

and

a+b∏

i=1

r∏

j=1

(i)j

)qi,j=(ξ

(1)l

)q1,l · · ·(ξ

(a−1)l

)qa−1,l(ξ

(a)l

)qa,l+1·

·(ξ

(a+1)l

)qa+1,l · · ·(ξ

(b)l

)qb,l b∏

i=1

r∏

j=1j 6=l

(i)j

)qi,j.

Furthermore, based on the equalities above and the fact that the partial

derivative of G(·) in (A.6) with respect to ξ(a)l equals 0, we obtain, in new

variables pj and k

∂ (Φ(ξ1, ξ2, . . . , ξr))(a+b)

∂ξ(a)l

=∑

0

1

2

· · ·∑

b

(a+ b)!

a!b∏

i=1

(i!)kib∏

i=1

r∏

j=1

qi,j !

·

· ∂k+1Φ

∂ξp11 · · · ∂ξpl−1

l−1 ∂ξpl+1l ∂ξ

pl+1

l+1 · · · ∂ξprr

b∏

i=1

r∏

j=1

(i)j

)qi,j.

98

Page 99: Transformation of Nonlinear State Equations into Observer Form

Like in case a > b we denote Φ = ∂Φ∂ξl

and multiply the right-hand side of

the equality above by b!b! to obtain

∂ (Φ(ξ1, ξ2, . . . , ξr))(a+b)

∂ξ(a)l

= Cba+b

0

1

2

· · ·∑

b

b!b∏

i=1

(i!)kib∏

i=1

r∏

j=1

qi,j !

·

· ∂kΦ

∂ξp11 , ∂ξp22 · · · ∂ξprr

b∏

i=1

r∏

j=1

(i)j

)qi,j. (A.19)

Again it is not difficult to observe that according to Mishkov’s formulathe sum on the right-hand side of the equation (A.19) together with theconditions (A.15), (A.17) and (A.18) is the bth order total derivative ofthe function Φ. Consequently, (A.12) holds again, and this completes theproof.

Proof of Proposition 2.1

In order to prove Proposition 2.1, we need Lemma A.1 below

Lemma A.1. For j ≥ 1 and r ≥ j + 1 the following holds

j∑

i=1

(−1)iCi−1r−1C

r−j−1r−i = (−1)jCjr−1. (A.20)

Proof. Take (A.2) for k = j and l = i − 1 and multiply both sides of theequality by −Cjr−1, where r ≥ j + 1, to obtain

j∑

i=1

(−1)iCi−1j Cjr−1 = (−1)jCjr−1.

Taking into account the definition of binomial coefficient, i.e. Ckn = n!(n−k)!k! ,

one can easily verify that Ci−1j Cjr−1 = Ci−1

r−1Cr−j−1r−i , which implies the va-

lidity of (A.20).

Moreover, rewriting (1.8) for the continuous-time case (σf = id), werecall that the rth time derivative of an arbitrary one-form ω =

∑iAidζi

may be computed as

ω(r) =

r∑

q=0

Cqr∑

i

A(r−q)i dζ

(q)i . (A.21)

Now we are ready to prove Proposition 2.1.

99

Page 100: Transformation of Nonlinear State Equations into Observer Form

Proof. The proof is by mathematical induction on i. One can easily verifythat (2.8b) and (2.9) coincide for i = 1. Next we assume that the statementof Proposition holds for i ≤ k (k is an arbitrary integer from 1 to n − 1)and show that it is true for i = k + 1.

From (2.8a) one obtains

Pk+1 = dφ−k∑

i=1

ω(n−i)i .

From the assumption that (2.9) holds for i ≤ k we have

Pk+1 = dφ−

−k∑

i=1

i−1∑

j=0

(−1)jCjn−i+j

[(∂φ

∂y(n−i+j)

)(j)

dy +

(∂φ

∂u(n−i+j)

)(j)

du

](n−i)

.

Using the rule (A.21), the latter yields

Pk+1 = dφ−k∑

i=1

i−1∑

j=0

(−1)jCjn−i+j

n−i∑

q=0

Cqn−i·

·[(

∂φ

∂y(n−i+j)

)(j+n−i−q)dy(q) +

(∂φ

∂u(n−i+j)

)(j+n−i−q)du(q)

].

From (2.8b) follows that in order to find ωk+1, only An−k−1k+1 and Bn−k−1

k+1

are necessary. In other words, we are interested only in such elements ofPk+1 where the order of differentiation of dy and du is q = n−k−1. Thus,we have

An−k−1k+1 =

∂φ

∂y(n−k−1)−

−k∑

i=1

i−1∑

j=0

(−1)jCjn−i+jCn−k−1n−i

(∂φ

∂y(n−i+j)

)(j+k−i+1)

(A.22a)

and

Bn−k−1k+1 =

∂φ

∂u(n−k−1)−

−k∑

i=1

i−1∑

j=0

(−1)jCjn−i+jCn−k−1n−i

(∂φ

∂u(n−i+j)

)(j+k−i+1)

. (A.22b)

Note that (A.22a) and (A.22b) have a similar structure. Thus, all thetransformations made with one expression will be similar for the other.

100

Page 101: Transformation of Nonlinear State Equations into Observer Form

Taking into account that −(−1)i−1 = (−1)i and changing the sum-mation order

∑ki=1

∑i−1j=0 ai,j =

∑kj=1

∑ji=1 ak−j+i,i−1, rewrite (A.22a) as

follows

An−k−1k+1 =

∂φ

∂y(n−k−1)+

k∑

j=1

j∑

i=1

(−1)iCi−1n−k+j−1·

· Cn−k−1n−k+j−i

(∂φ

∂y(n−k+j−1)

)(j)

=∂φ

∂y(n−k−1)+

+k∑

j=1

[(∂φ

∂y(n−k+j−1)

)(j) j∑

i=1

(−1)iCi−1n−k+j−1C

n−k−1n−k+j−i

]. (A.23)

Taking into account that ∂φ∂y(n−k−1) = (−1)jCjn−k−1+j

(∂φ

∂y(n−k−1+j)

)(j)for

j = 0 and using Lemma A.1 for r = n− k + j, one can rewrite (A.23) as

An−k−1k+1 =

k∑

j=0

(−1)jCjn−k−1+j

(∂φ

∂y(n−k−1+j)

)(j)

. (A.24a)

Analogously, from (A.22b) we get

Bn−k−1k+1 =

k∑

j=0

(−1)jCjn−k−1+j

(∂φ

∂u(n−k−1+j)

)(j)

. (A.24b)

Using (2.8b) and (A.24)

ωk+1 =

k∑

j=0

(−1)jCjn−k−1+j

[(∂φ

∂y(n−k−1+j)

)(j)

dy +

(∂φ

∂u(n−k−1+j)

)(j)

du

]

being (2.9) for i = k + 1.

Proof of Lemma 2.1

Proof. (i) Taking into account that −(−1)ς = (−1)ς−1, the equality (A.2)taken for k = ς and l = j − 1 confirms statement (i).

(ii) Since s = 1, . . . , ς − 1 and ς ≥ 2, then ς − s ≥ 1 and it is eligible totake (A.1) for k = ς − s, which after replacing the summation index l byj − 1, leads to (ii).

101

Page 102: Transformation of Nonlinear State Equations into Observer Form

Proof of Lemma 3.1

Proof. It is easy to observe that

n−N∑

l=1

dϕl(νl) =n−N∑

l=1

N∑

s=0

(∂ϕl(νl)

∂y[n−l−s] dy[n−l−s] +

∂ϕl(νl)

∂u[n−l−s] du[n−l−s]

).

Replace on the right-hand side of the relationship, given above, the sum-mation index l by l + 1. In this case l = 0, . . . , n − N − 1 and one canchange the summation order

n−N∑

l=1

N∑

s=0

al,s =n−N−1∑

l=0

N∑

s=0

an−N−l,N−s,

which yields

n−N∑

l=1

dϕl(νl) =n−N−1∑

l=0

N∑

s=0

(∂ϕn−N−l(νn−N−l)

∂y[l+s]dy[l+s]+

+∂ϕn−N−l(νn−N−l)

∂u[l+s]du[l+s]

).

Change the summation indices l and s for i = l + s and l. It is easyto see, that in this case i changes from 0 to n − 1 and l = i − s. Sinces = 0, . . . , N , the minimal and maximal values of i − s are i − N and i,respectively. On the other hand, l changes from 0 to n−N − 1. Thus, wetake l = max(0, i−N), . . . ,min(i, n− 1−N). As a result, one can use thefollowing relation

n−N−1∑

l=0

N∑

s=0

al,l+s =

n−1∑

i=0

min(i,n−1−N)∑

l=max(0,i−N)

al,i,

which leads to (3.11).

Proof of Lemma 3.2

Proof. The proof of lemma, though in principle not very difficult, is techni-cally rather demanding. Figures A.1, A.2 and A.3 below help to follow theseparate steps of the proof. First, let us mention that the cases 2N < jα−jαand 2N ≥ jα − jα are treated separately. The reason is that conditions(3.30b) are unnecessary for the first case.

Second, in the proof we will use the matrices (tables) with elements Θk,l

(k pointing to the row and l to the column), where k and l may take values

102

Page 103: Transformation of Nonlinear State Equations into Observer Form

from different sets of non-negative integers at different steps of the proof.However, unlike the typical case when the matrix element is a numberor expression, here its content is two relations (equalities). We do notmanipulate with those relations, the role of the matrix is just to keep thetrack of the steps in the proof.

Evaluating the total differentials dS and dφ as well as their wedge prod-uct dS∧dφ in (3.31), it is easy to observe by direct inspection, after tediouscalculations, that the condition (3.31) is equivalent to the equalities (A.25)below

∂S

∂α[l]

∂φ

∂α[k]=

∂S

∂α[k]

∂φ

∂α[l],

∂S

∂α[l]

∂φ

∂β[k]=

∂S

∂β[k]

∂φ

∂α[l],

(A.25)

where k, l = jα, . . . , jα. Recall that here, like in the assumptions (3.30a)and (3.30b) of the lemma, the variable α denotes either input u or outputy, and by β is denoted the other variable; i.e. if α = y, then β = u and viceversa, if α = u, then β = y. These notations help to make the presentationmore compact1. Now, the contents of Θk,l are the equalities (A.25).

Before turning to separate steps of the proof we rewrite the assumptions(3.30a) and (3.30b) into the form, suitable for the proof. Namely, the con-ditions (3.30a) may be given as (A.26) below by evaluation of the derivativeof the logarithmic function and rewriting the conditions separately for αalone as well as for α and β.

∂S

∂α[j]=

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[j], (A.26a)

∂S

∂α[j]=

(∂φ

∂β[i]

)−1 ∂2φ

∂β[i]∂α[j], (A.26b)

where i, j = jα, . . . , jα, j 6= i − N, . . . , i + N . Taking into account that αand β can be mutually interchanged, rewrite the conditions (3.30b) as

∂S

∂α[j]=

∂S

∂α[r]

∂φ

∂α[j]

(∂φ

∂α[r]

)−1

, (A.27a)

∂S

∂α[j]=

∂S

∂β[r]

∂φ

∂α[j]

(∂φ

∂β[r]

)−1

, (A.27b)

where r = jα −N, . . . , jα +N .

1Note that equalities (A.25) are redundant. Namely, since the first relation is sym-metric it gives the identical sets of equalities for k = jα, . . . , jα, l = jα, . . . , k − 1 and

k = jα, . . . , jα, l = k + 1, . . . , jα. Moreover, the first relation is trivial for k = l. Thesecond relation gives the identical sets of equalities for α = u, β = y and α = y, β = u.Nevertheless, for the compactness of the presentation we omit these details.

103

Page 104: Transformation of Nonlinear State Equations into Observer Form

Now we turn to the separate steps of the proof. The separate steps(i)–(ix) prove the relations in Θk,l for different sets of k and l values sothat jointly the steps cover all necessary k, l values in (A.25). On the steps(i)–(iv) we will focus on the conditions (3.30a) and will prove that in thecase 2N < jα − jα they yield Θk,l for k, l = jα, . . . , jα (see Figure A.1and the top of Figure A.3). On the steps (v)–(ix) we will prove that usingadditionally the conditions (3.30b), the outcome of the previous four stepscan be complemented to obtain the same result for the case 2N ≥ jα − jα(see Figure A.2 and the middle part of the Figure A.3).

(i) Consider first (A.26) for j = jα. Since j 6= i − N, . . . , i + N , nowi 6= jα−N, . . . , jα +N and consequently i ≤ jα−N − 1. In (A.26a) denoteindex i by index l and compare successively the obtained equality first,with (A.26a) and second with (A.26b), where in both equalities index i isreplaced by index k. This yields

(∂φ

∂α[l]

)−1 ∂2φ

∂α[l]∂α[jα]=

(∂φ

∂α[k]

)−1 ∂2φ

∂α[k]∂α[jα],

(∂φ

∂α[l]

)−1 ∂2φ

∂α[l]∂α[jα]=

(∂φ

∂β[k]

)−1 ∂2φ

∂β[k]∂α[jα].

Divide both sides of both obtained equalities by(∂φ/∂α[jα]

)to get

(∂φ

∂α[jα]

)−1 ∂2φ

∂α[l]∂α[jα]

∂φ

∂α[k]=

(∂φ

∂α[jα]

)−1 ∂2φ

∂α[k]∂α[jα]

∂φ

∂α[l],

(∂φ

∂α[jα]

)−1 ∂2φ

∂α[l]∂α[jα]

∂φ

∂β[k]=

(∂φ

∂α[jα]

)−1 ∂2φ

∂β[k]∂α[jα]

∂φ

∂α[l].

Take the conditions (A.26) for i = jα and in (A.26b) interchange mutuallyvariables α and β, which is eligible by the definition of α and β. In thiscase j ≤ jα − N − 1. Since j changes in the same range as indices k andl, one can apply (A.26a) for j := l to the left-hand sides of the equalitiesabove, as well as (A.26a) and (A.26b) for j := k to the right-hand sides ofthe first and second equalities above, respectively. This yields

Θk,l, k, l = jα, . . . , jα −N − 1. (A.28)

(ii) Using (A.26a), rewrite the elements of (A.28) for l = jα as follows

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[jα]

∂φ

∂α[k]=

∂S

∂α[k]

(∂S

∂α[j]

)−1 ∂2φ

∂α[jα]∂α[j],

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[jα]

∂φ

∂β[k]=

∂S

∂β[k]

(∂S

∂α[j]

)−1 ∂2φ

∂α[jα]∂α[j],

104

Page 105: Transformation of Nonlinear State Equations into Observer Form

conditions

(3.30a)

j = jα j = jα

Θk,l

jα−N−

1

jα −N − 1

(i)

k = jα

Θk,l

+N

+1

jα +N + 1

(iii)

Θk,ljα

+N

+1

jα −N − 1

(ii)

k = jα

Θk,l

jα−N−

1

jα +N + 1

(iv)

Figure A.1: Steps (i)–(iv) of the proof of Lemma 3.2.

where i, j = jα + N + 1, . . . , jα and k = jα, . . . , jα − N − 1. Denotingl := i = j, after simplification we obtain

Θk,l,k = jα, . . . , jα −N − 1,

l = jα +N + 1, . . . , jα.(A.29)

(iii) Next, consider (A.26) for j = jα. Since j 6= i − N, . . . , i + N , nowi 6= jα −N, . . . , jα + N and consequently i ≥ jα + N + 1. Performing theanalogical steps as in (i) we obtain

Θk,l, k, l = jα +N + 1, . . . , jα. (A.30)

(iv) Using (A.26a), rewrite the elements of (A.30) for l = jα as follows

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[jα]

∂φ

∂α[k]=

∂S

∂α[k]

(∂S

∂α[j]

)−1 ∂2φ

∂α[jα]∂α[j],

(∂φ

∂α[i]

)−1 ∂2φ

∂α[i]∂α[jα]

∂φ

∂β[k]=

∂S

∂β[k]

(∂S

∂α[j]

)−1 ∂2φ

∂α[jα]∂α[j],

where i, j = jα, . . . , jα − N − 1 and k = jα + N + 1, . . . , jα. Denotation

105

Page 106: Transformation of Nonlinear State Equations into Observer Form

conditions

(3.30b)

r = k r = l

Θk,l

jα−N

+N

jα +N + 1

(vi)

l = jα

Θk,ljα

+N

+1

jα −N

jα +N

(viii)

k = jα

Θk,l

jα−N

+N

jα −N

jα +N

(v)

Θk,l

jα−N

+N

jα −N − 1

(vii) Θk,l

jα−N−

1

jα −N

jα +N

(ix)

Figure A.2: Steps (v)–(ix) of the proof of Lemma 3.2.

l := i = j and simplification yields

Θk,l,k = jα +N + 1, . . . , jα,

l = jα, . . . , jα −N − 1.(A.31)

It is not hard to verify (see Figure A.3) that joining together tables(A.28), (A.29), (A.30) and (A.31) yields

Θk,l

k, l = jα, . . . , jα, if 2N < jα − jα,k, l = jα, . . . ,jα −N − 1,

jα +N + 1, . . . , jα,if 2N ≥ jα − jα.

(A.32)

(v) Consider the case 2N ≥ jα− jα. In (A.27a) replace index r by indexk and compare successively the obtained equality first, with (A.27a) andsecond with (A.27b), where in both equalities index r is replaced by indexl. After simplification we obtain

Θk,l, k, l = jα −N, . . . , jα +N. (A.33)

(vi) Next take (A.27) for r = l, j = jα and perform the similar operationsas in step (ii) to get

Θk,l,k = jα +N + 1, . . . , jα,

l = jα −N, . . . , jα +N.(A.34)

106

Page 107: Transformation of Nonlinear State Equations into Observer Form

2N ≥ jα − jαjα

jα−N−

1jα−N

+N

+N

+1

jα −N − 1jα −N

jα +Njα +N + 1

(i) (vii) (ii)

(ix) (v) (viii)

(iv) (vi) (iii)

2N < jα − jα

2N < jα − jα − 1

jα−N−

1

+N

+1

jα −N − 1

jα +N + 1

(i)

(iv)

(ii)

(iii)

2N = jα − jα − 1

jα−N−

1

+N

+1

jα −N − 1jα +N + 1

(i) (ii)

(iv) (iii)

Θk,lrelations

(A.25)dS ∧ df = 0

Figure A.3: The main steps of the proof of Lemma 3.2.

(vii) Taking the elements of (A.34) for k = jα by analogy with step (iv)one obtains

Θk,l,k = jα, . . . , jα −N − 1,

l = jα −N, . . . , jα +N.(A.35)

(viii) Next, take (A.27) for r = k, j = jα and perform the similaroperations as in step (ii) to get

Θk,l,k = jα −N, . . . , jα +N,

l = jα +N + 1, . . . , jα.(A.36)

107

Page 108: Transformation of Nonlinear State Equations into Observer Form

(ix) Taking the elements of (A.36) for l = jα by analogy with step (iv)one obtains

Θk,l,k = jα −N, . . . , jα +N,

l = jα, . . . , jα −N − 1.(A.37)

As a result, complementary tables (A.33), (A.34), (A.35), (A.36) and(A.37) allow to rewrite (A.32) as

Θk,l, k, l = jα, . . . , jα

for arbitrary N (see Figure A.3), which means that under conditions (3.30a)and (3.30b) the equalities (A.25) are satisfied for k, l = jα, . . . , jα. Thiscompletes the proof.

Proof of Lemma 4.1

In order to prove Lemma 4.1, we need Lemma A.2 below.

Lemma A.2. For the homogeneous time scale T one has

∂h〈i+1〉ν

∂x=∂h〈i〉ν

∂x

∂f(x, u)

∂x+

(∂h〈i〉ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

),

ν = 1, . . . p, i = 0, 1, . . . , (A.38)

where In is n× n identity matrix.

Proof. By commutativity of operators d and ∆f [6],

d(h〈i+1〉ν

)=(

dh〈i〉ν)∆f

. (A.39)

In what follows, we omit in (A.39) the parts involving the terms du〈l〉υ in

the expressions of total differentials, therefore we have

∂h〈i+1〉ν

∂xdx+ · · · =

(∂h〈i〉ν

∂xdx

)∆f

+ · · · . (A.40)

We compute the delta derivative of the one-form at the right-hand side of(A.40), using (1.7). Since (dx)∆f = df(x, u), and again, omitting the partsinvolving the terms duυ, we get

(∂h〈i〉ν

∂xdx

)∆f

=

(∂h〈i〉ν

∂x

)∆f

dx+

(∂h〈i〉ν

∂x

)σf∂f(x, u)

∂xdx+ · · · .

108

Page 109: Transformation of Nonlinear State Equations into Observer Form

Since the vectors dx, duυ,. . . , du〈i−1〉υ are independent over the field K∗,

comparing the coefficients of dx at both sides of equality (A.40), we get

∂h〈i+1〉ν

∂x=

(∂h〈i〉ν

∂x

)∆f

+

(∂h〈i〉ν

∂x

)σf∂f(x, u)

∂x.

Finally, applying (i) of Proposition 1.1 to(∂h〈i〉ν∂x

)σfwe obtain (A.38).

Now we are ready to prove Lemma 4.1.

Proof. According to the condition of the lemma

ων,i :=∂h〈i〉ν

∂xdx =

i−1∑

k=0

αk∂h〈k〉ν

∂xdx. (A.41)

We first prove that the statement of the lemma holds for j = i+ 1, i.e.

ων,i+1 =

i−1∑

k=0

βk∂h〈k〉ν

∂xdx =

i−1∑

k=0

βkων,k (A.42)

for some βk’s. By Lemma A.2 and (A.41)

ων,i+1 =i−1∑

k=0

αk

∂h〈k〉ν

∂x

∂f(x, u)

∂x+

(αk∂h〈k〉ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

)dx.

Using (iii) of Proposition 1.1 for(αk

∂h〈k〉ν∂x

)∆f

and then (i) of Proposition

1.1 for αk, we get

ων,i+1 =i−1∑

k=0

∂h

〈k〉ν

∂x

(∂f(x, u)

∂xασfk + α

∆f

k

)+

+ ασfk

(∂h〈k〉ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

) dx.

By Lemma A.2

(∂h〈k〉ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

)=∂h〈k+1〉ν

∂x− ∂h

〈k〉ν

∂x

∂f(x, u)

∂x,

yielding

ων,i+1 =i−1∑

k=0

α∆f

k

∂h〈k〉ν

∂xdx+

i−1∑

k=0

ασfk

∂h〈k+1〉ν

∂xdx.

109

Page 110: Transformation of Nonlinear State Equations into Observer Form

Changing the summation index of the second sum for s = k+ 1, separatingthe last addend of the second sum, and applying (A.41) to it, we obtain

ων,i+1 =i−1∑

k=0

∆f

k + ασfi−1αk

) ∂h〈k〉ν∂x

dx+i−1∑

s=1

ασfs−1

∂h〈s〉ν

∂xdx.

Separating the first addend of the first sum yields

ων,i+1 =

i−1∑

k=1

∆f

k + ασfi−1αk + α

σfk−1

) ∂h〈k〉ν∂x

dx+(α

∆f

0 + ασfi−1α0

) ∂hν∂x

dx.

Denoting β0 := α∆f

0 +ασfi−1α0 and βk := α

∆f

k +ασfi−1αk+α

σfk−1 we get (A.42).

The similar arguments can be applied for the cases j > i+ 1.

110

Page 111: Transformation of Nonlinear State Equations into Observer Form

References

[1] F. Albertini and D. D’Alessandro. Observability and forward-backwardobservability of discrete-time nonlinear systems. Math. Control SignalsSystems, 15(4):275–290, 2002.

[2] E. Aranda-Bricaire, U. Kotta, and C. H. Moog. Linearization ofdiscrete-time systems. SIAM Journal of Control and Optimization,34(6):1999–2023, 1996.

[3] J. Back and J. H. Seo. Immersion of non-linear systems into linearsystems up to output injection: Characteristic equation approach. In-ternational Journal of Control, 77(8):723–734, 2004.

[4] J. Back and J. H. Seo. An algorithm for system immersion into nonlinearobserver form: SISO case. Automatica, 42(2):321–328, 2006.

[5] J. Back, K. T. Yu, and J. H. Seo. Dynamic observer error linearization.Automatica, 42(12):2195–2200, 2006.

[6] Z. Bartosiewicz, U. Kotta, E. Paw luszewicz, and M. Wyrwas. Algebraicformalism of differential one-forms for nonlinear control systems on timescales. Proceedings of the Estonian Academy of Sciences. Physics. Math-ematics, 56(3):264–282, 2007.

[7] Z. Bartosiewicz and E. Paw luszewicz. Realizations of linear controlsystems on time scales. Control and Cybernetics, 35(4):769–786, 2006.

[8] J. Belikov, U. Kotta, and M. Tonso. Explicit formulas for the statecoordinates in nonlinear MIMO realization problem on homogeneoustime scales. In IEEE International Conference on Control Applications,pages 1388–1393, Dubrovnik, Croatia, October 2012.

[9] G. Besancon. On output transformations for state linearizationup to output injection. IEEE Transactions on Automatic Control,44(10):1975–1981, 1999.

111

Page 112: Transformation of Nonlinear State Equations into Observer Form

[10] G. Besancon and G. Bornard. Time-varying linearization up to outputinjection of discrete-time nonlinear systems. In Proceedings of the 3rdEuropean Control Conference, pages 3772–3776, Rome, Italy, Septem-ber 1995.

[11] G. Besancon and A. Ticlea. An immersion-based observer design forrank-observable nonlinear systems. IEEE Transactions on AutomaticControl, 52(1):83–88, 2007.

[12] D. Bestle and M. Zeitz. Canonical form observer design for non-lineartime-variable systems. International Journal of Control, 38(2):419–431,1983.

[13] E. Bıyık and M. Arcak. A hybrid redesign of newton observers in theabsence of an exact discrete-time model. Systems & Control Letters,55(6):429–436, 2006.

[14] M. Bohner and A. Peterson. Dynamic Equations on Time Scales.Birkhauser, Boston, MA, USA, 2001.

[15] G. Bornard and H. Hammouri. A high gain observer for a class of uni-formly observable systems. In Proceedings of the 30th IEEE Conferenceon Decision and Control, pages 1494–1496, Brighton, UK, December1991.

[16] D. Boutat, A. Benali, H. Hammouri, and K. Busawon. New algorithmfor observer error linearization with a diffeomorphism on the outputs.Automatica, 45(10):2187–2193, 2009.

[17] D. Boutat and K. Busawon. On the transformation of nonlinear dy-namical systems into the extended nonlinear observable canonical form.International Journal of Control, 84(1):94–106, 2011.

[18] C. Califano, S. Monaco, and D. Normand-Cyrot. On the observerdesign in discrete-time. Systems & Control Letters, 49(4):255–265, 2003.

[19] C. Califano, S. Monaco, and D. Normand-Cyrot. Canonical observerforms for multi-output systems up to coordinate and output transfor-mations in discrete time. Automatica, 45(11):2483–2490, 2009.

[20] D. Casagrande, U. Kotta, M. Tonso, and M. Wyrwas. Transfer equiv-alence and realization of nonlinear input-output delta-differential equa-tions on homogeneous time scales. IEEE Transactions on AutomaticControl, 55(11):2601–2606, 2010.

[21] J. Chiasson. Nonlinear differential-geometric techniques for control ofa series DC motor. IEEE Transactions on Control Systems Technology,2(1):35–42, 1994.

112

Page 113: Transformation of Nonlinear State Equations into Observer Form

[22] Y. Choquet-Bruhat, C. DeWitt-Morette, and M. Dillard-Bleick. Anal-ysis, Manifolds and Physics, Part I: Basics. North-Holland, Amster-dam, The Netherlands, 2004.

[23] S.-T. Chung and J. W. Grizzle. Observer error linearization forsampled-data systems. In Proceedings of the 28th IEEE Conferenceon Decision and Control, pages 90–95, Tampa, FL, USA, December1989.

[24] R. M. Cohn. Difference Algebra. Wiley-Interscience, New York, NY,USA, 1965.

[25] G. Conte, C. H. Moog, and A. M. Perdon. Algebraic Methods forNonlinear Control Systems. Theory and Applications. Springer-Verlag,London, UK, 2nd edition, 2007.

[26] G. Conte, A. M. Perdon, and C. H. Moog. The differential field asso-ciated to a general analytic nonlinear dynamical system. IEEE Trans-actions on Automatic Control, 38(7):1120–1124, 1993.

[27] J. M. Davis, I. A. Gravagne, B. J. Jackson, and R. J. Marks II. Con-trollability, observability, realizability, and stability of dynamic linearsystems. Electronic Journal of Differential Equations, 2009(37):1–32,2009.

[28] S. Diop. Elimination in control theory. Mathematics of Control, Signalsand Systems, 4(1):17–32, 1991.

[29] M. Flies. Reversible linear and nonlinear discrete-time dynamics. IEEETransactions on Automatic Control, 37(8):1144–1153, 1992.

[30] J. P. Gauthier, H. Hammouri, and S. Othman. A simple observer fornonlinear systems: Applications to bioreactors. IEEE Transactions onAutomatic Control, 37(6):875–880, 1992.

[31] A. Glumineau, C. H. Moog, and F. Plestan. New algebro-geometricconditions for the linearization by input-output injection. IEEE Trans-actions on Automatic Control, 41(4):598–603, 1996.

[32] G. C. Goodwin, S. F. Graebe, and M. E. Salgado. Control SystemDesign. Prentice Hall, Upper Saddle River, NJ, USA, 2001.

[33] J. W. Grizzle. A linear algebraic framework for the analysis of discrete-time nonlinear systems. SIAM Journal on Control and Optimization,31(4):1026–1044, 1993.

113

Page 114: Transformation of Nonlinear State Equations into Observer Form

[34] M. Guay. Observer linearization by output-dependent time-scale trans-formations. IEEE Transactions on Automatic Control, 47(10):1730–1735, 2002.

[35] M. Halas and U Kotta. A polynomial approach to the synthesis ofobservers for nonlinear systems. In Proceedings of the 47th IEEE Con-ference on Decision and Control, pages 3571–3576, Cancun, Mexico,December 2008.

[36] H. Hammouri and J. P. Gauthier. Bilinearization up to output injec-tion. Systems & Control Letters, 11(2):139–149, 1988.

[37] H. Hammouri and M. Kinnaert. A new procedure for time-varying lin-earization up to output injection. Systems & Control Letters, 28(3):151–157, 1996.

[38] R. Hermann and A. J. Krener. Nonlinear controllability and observ-ability. IEEE Transactions on Automatic Control, 22(5):728–740, 1977.

[39] S. Hilger. Ein Maßkettenkalkul mit Anwendung auf Zentrumsmannig-faltigkeiten. PhD thesis, University of Wurzburg, Wurzburg, Germany,1988.

[40] H. J. C. Huijberts. On existence of extended observers for nonlineardiscrete-time systems. In H. Nijmeijer and T. I. Fossen, editors, NewDirections in Nonlinear Observer Design, volume 244 of Lecture Notesin Control and Information Sciences, pages 73–92. Springer, London,UK, 1999.

[41] H. J. C. Huijberts, T. Lilge, and H. Nijmeijer. Synchronization andobservers for nonlinear discrete time systems. In European Control Con-ference, Karlsruhe, Germany, 1999.

[42] H. J. C. Huijberts, H. Nijmeijer, and A. Yu. Pogromsky. Discrete-timeobservers and synchronization. In G. Chen, editor, Controlling Chaosand Bifurcations in Engineering Systems. CRC Press, Boca Raton, FL,USA, 1999.

[43] Institute of Cybernetics at TUT. NLControl website. [Online], 2013.Available: http://www.nlcontrol.ioc.ee.

[44] A. Isidori. Nonlinear Control Systems. Springer, Berlin, Germany, 3ndedition, 1995.

[45] W. P. Johnson. The curious history of Faa di Bruno’s formula. Amer-ican Mathematical Monthly, 109(3):217–234, 2002.

114

Page 115: Transformation of Nonlinear State Equations into Observer Form

[46] Ph. Jouan. Immersion of nonlinear systems into linear systems mod-ulo output injection. SIAM Journal on Control and Optimization,41(6):1756–1778, 2003.

[47] V. Kaparin and U. Kotta. Necessary conditions for transformation thenonlinear control system into the observer form via state and outputcoordinate changes. In The 7th International Conference on Controland Automation, pages 745–750, Christchurch, New Zealand, December2009.

[48] V. Kaparin and U. Kotta. Necessary and sufficient conditions in termsof differential-forms for linearization of the state equations up to input-output injections. In UKACC International Conference on CONTROL,pages 507–511, Coventry, UK, September 2010.

[49] V. Kaparin and U. Kotta. Theorem on the differentiation of a com-posite function with a vector argument. Proceedings of the EstonianAcademy of Sciences, 59(3):195–200, 2010.

[50] V. Kaparin and U. Kotta. Extended observer form for discrete-timenonlinear control systems. In The 9th International Conference on Con-trol and Automation, pages 507–512, Santiago, Chile, December 2011.

[51] V. Kaparin, U. Kotta, and T. Mullari. Extended observer form: Simpleexistence conditions. International Journal of Control, 86(5):794–803,2013.

[52] V. Kaparin, U. Kotta, and M. Wyrwas. Observable space of nonlinearcontrol system on homogeneous time scale. Proceedings of the EstonianAcademy of Sciences. Accepted for publication.

[53] N. Kazantzis and C. Kravaris. Nonlinear observer design using Lya-punov’s auxiliary theorem. Systems & Control Letters, 34(5):241–247,1998.

[54] N. Kazantzis and C. Kravaris. Discrete-time nonlinear observer designusing functional equations. Systems & Control Letters, 42(2):81–94,2001.

[55] U. Kotta. Decomposition of discrete-time nonlinear control systems.Proceedings of the Estonian Acadcademy of Sciences. Physics. Mathe-matics, 54(3):154–161, 2005.

[56] U. Kotta, Z. Bartosiewicz, E. Paw luszewicz, and M. Wyrwas. Irre-ducibility, reduction and transfer equivalence of nonlinear input-outputequations on homogeneous time scales. Systems & Control Letters,58(9):646–651, 2009.

115

Page 116: Transformation of Nonlinear State Equations into Observer Form

[57] U. Kotta, T. Mullari, and R. Pearson. Design of observers for a class ofnonlinear systems in associative observer form. AT&P Journal PLUS,(2):28–43, 2007.

[58] U. Kotta, B. Rehak, and M. Wyrwas. Reduction of MIMO nonlinearsystems on homogeneous time scales. In The 8th IFAC Symposium onNonlinear Control Systems, pages 1249–1254, Bologna, Italy, September2010.

[59] U. Kotta and K. Schlacher. Possible non-integrability of observablespace for discrete-time nonlinear control systems. In The 17th IFACWorld Congress, pages 9852–9856, Seoul, Korea, July 2008.

[60] U. Kotta and M. Tonso. Transfer equivalence and realization of nonlin-ear higher order input/output difference equations using Mathematica.Journal of Circuits, Systems and Computers, 9(1n2):23–35, 1999.

[61] U. Kotta and M. Tonso. Linear algebraic tools for discrete-time non-linear control systems with Mathematica. In A. Zinober and D. Owens,editors, Nonlinear and Adaptive Control, NCN4 2001, volume 281 ofLecture Notes in Control and Information Sciences, pages 195–205.Springer, Berlin/Heidelberg, Germany, 2003.

[62] A. J. Krener and A. Isidori. Linearization by output injection andnonlinear observers. Systems & Control Letters, 3(1):47–52, 1983.

[63] A. J. Krener and W. Respondek. Nonlinear observers with linearizableerror dynamics. SIAM Journal on Control and Optimization, 23(2):197–216, 1985.

[64] H.-G. Lee and J.-M. Hong. Algebraic conditions for state equivalenceto a discrete-time nonlinear observer canonical form. Systems & ControlLetters, 60(9):756–762, 2011.

[65] H.-G. Lee and J.-M. Hong. Discrete-time observer error linearizabil-ity via restricted dynamic systems. IEEE Transactions on AutomaticControl, 57(6):1543–1547, 2012.

[66] W. Lee and K. Nam. Observer design for autonomous discrete-timenonlinear systems. Systems & Control Letters, 17(1):49–58, 1991.

[67] C. W. Li and L. W. Tao. Observing non-linear time-variable systemsthrough a canonical form observer. International Journal of Control,44(6):1703–1713, 1986.

[68] T. Lilge. Discrete-time observers for nonlinear systems. In Proceedingsof COSY Workshop on Control of Nonlinear and Uncertain Systems,pages 202–210, Zurich, Switzerland, January 1997.

116

Page 117: Transformation of Nonlinear State Equations into Observer Form

[69] W. Lin and J. Wei. Observer design for a class of discrete-time non-linear systems. European Journal of Control, 15(2):184–193, 2009.

[70] V. Lopez Morales, F. Plestan, and A. Glumineau. Linearization bycompletely generalized input-output injection. Kybernetika, 35(6):793–802, 1999.

[71] D. G. Luenberger. Observers for multivariable systems. IEEE Trans-actions on Automatic Control, 11(2):190–197, 1966.

[72] D. G. Luenberger. An introduction to observers. IEEE Transactionson Automatic Control, 16(596–602), 1971.

[73] R. H. Middleton and G. C. Goodwin. Digital Control and Estimation:A Unified Approach. Prentice Hall, Englewood Cliffs, NJ, USA, 1990.

[74] E. A. Misawa. Nonlinear State Estimation Using Sliding Observers.PhD thesis, Massachusetts Institute of Technology, Cambridge, MA,USA, 1988.

[75] R. L. Mishkov. Generalization of the formula of Faa di Bruno for acomposite function with a vector argument. International Journal ofMathematics and Mathematical Sciences, 24(7):481–491, 2000.

[76] R. L. Mishkov. Non-linear observer design by reduced generalizedobserver canonical form. International Journal of Control, 78(3):172–185, 2005.

[77] P. E. Moraal and J. W. Grizzle. Observer design for nonlinear systemswith discrete-time measurements. IEEE Transactions on AutomaticControl, 40(3):395–404, 1995.

[78] T. Mullari and U. Kotta. Transformation the nonlinear system intothe observer form: Simplification and extension. European Journal ofControl, 15(2):177–183, 2009.

[79] T. Mullari and U. Kotta. Simple conditions for the existence of an ex-tended observer form. In Proceedings of the 31st IASTED InternationalConference on Modelling, Identification, and Control, pages 348–355,Innsbruck, Austria, February 2011.

[80] H. Nijmeijer and A. J. van der Schaft. Nonlinear Dynamical ControlSystems. Springer-Verlag, New York, NY, USA, 1990.

[81] D. Noh, N. H. Jo, and J. H. Seo. Nonlinear observer design by dynamicobserver error linearization. IEEE Transactions on Automatic Control,49(10):1746–1753, 2004.

117

Page 118: Transformation of Nonlinear State Equations into Observer Form

[82] S. Nomm, U. Kotta, V. Kaparin, M. Tonso, and J. Popovits. Observ-ability and identifiability of nonlinear control systems with computeralgebra systems Mathematica and Maxima. In The 16th InternationalConference on Process Control, pages 1–7, Strbske Pleso, Slovakia, June2007.

[83] A. R. Phelps. On constructing nonlinear observers. SIAM Journal onControl and Optimization, 29(3):516–534, 1991.

[84] F. Plestan and A. Glumineau. Linearization by generalized input-output injection. Systems & Control Letters, 31(2):115–128, 1997.

[85] W. Respondek, A. Pogromsky, and H. Nijmeijer. Time scaling for ob-server design with linearizable error dynamics. Automatica, 40(2):277–285, 2004.

[86] K. Robenack and A. F. Lynch. Observer design using a partial non-linear observer canonical form. International Journal of Applied Math-ematics and Computer Science, 16(3):333–343, 2006.

[87] J.-J. E. Slotine, J. K. Hedrick, and E. A. Misawa. On sliding observersfor nonlinear systems. Journal of Dynamic Systems, Measurement, andControl, 109(3):245–252, 1987.

[88] I. Souleiman, A. Glumineau, and G. Schreier. Direct transformationof nonlinear systems into state affine MISO form for observer design.IEEE Transactions on Automatic Control, 48(12):2191–2196, 2003.

[89] M. Tonso. Computer Algebra Tools for Modelling, Analysis and Syn-thesis for Nonlinear Control Systems. PhD thesis, Tallinn University ofTechnology, Faculty of Information Technology, Institute of Cybernet-ics, Tallinn, Estonia, 2010.

[90] M. Tonso, H. Rennik, and U. Kotta. WebMathematica-based toolsfor discrete-time nonlinear control systems. Proceedings of the EstonianAcademy of Sciences, 58(4):224–240, 2009.

[91] A. Tornambe. Use of asymptotic observers having-high-gains in thestate and parameter estimation. In Proceedings of the 28th IEEE Con-ference on Decision and Control, pages 1791–1794, Tampa, FL, USA,December 1989.

[92] Y. Wang and A. F. Lynch. A block triangular observer form for non-linear observer design. International Journal of Control, 81(2):177–188,2008.

118

Page 119: Transformation of Nonlinear State Equations into Observer Form

[93] Y. Wang and A. F. Lynch. Multiple time scalings of a multi-outputobserver form. IEEE Transactions on Automatic Control, 55(4):966–971, 2010.

[94] Y. Wang and E. D. Sontag. Orders of input/output differential equa-tions and state-space dimensions. SIAM Journal on Control and Opti-mization, 33(4):1102–1126, 1995.

[95] Wolfram Research. The home site of Wolfram Research. [Online],2013. Available: http://www.wolfram.com.

[96] X.-H. Xia and W.-B. Gao. Non-linear observer design by observercanonical forms. International Journal of Control, 47(4):1081–1100,1988.

[97] X.-H. Xia and W.-B. Gao. Nonlinear observer design by observer errorlinearization. SIAM Journal on Control and Optimization, 27(1):199–216, 1989.

[98] J. Yang, J. Back, and J. H. Seo. A complete solution to a simple caseof dynamic observer error linearization: New approach to observer er-ror linearization. IEICE Transactions on Fundamentals of Electronics,Communications and Computer Sciences, E94.A(1):424–429, 2011.

[99] K. T. Yu, J. Back, and J. H. Seo. Constructive algorithm for dynamicobserver error linearization via integrators: Single output case. Inter-national Journal of Robust and Nonlinear Control, 17(1):25–49, 2007.

[100] J. Zhang, G. Feng, and H. Xu. Observer design for nonlinear discrete-time systems: Immersion and dynamic observer error linearizationtechniques. International Journal of Robust and Nonlinear Control,20(5):504–514, 2010.

[101] G. Zheng, D. Boutat, and J.-P. Barbot. Single output-dependentobservability normal form. SIAM Journal on Control and Optimization,46(6):2242–2255, 2007.

119

Page 120: Transformation of Nonlinear State Equations into Observer Form
Page 121: Transformation of Nonlinear State Equations into Observer Form

Acknowledgements

First and foremost, I would like to thank all my teachers of mathematics,among whom the very first I consider my parents and my brother. ThoughI cannot list all my school and university teachers by name, I think it is fairto say that each of them has made an essential contribution to this thesis.

I express my deep gratitude to my supervisor Dr. Ulle Kotta for her wiseguidance and valuable advices during the years of my doctoral studies. Itwas a great pleasure to do research under her supervision.

Also I am grateful to the co-authors of the joint papers for the fruitfulcollaboration. Many thanks to my colleagues from the Control SystemsDepartment. My special appreciation I would like to express to my faithfulcomrade Juri Belikov, who shared my interest in science during ten longyears of our acquaintance. Without his encouragement this thesis wouldnot have been even started.

This work was partially supported by the European Union through theEuropean Regional Development Fund, the target project SF0140018s08of Estonian Ministry of Education and Research, as well as the EstonianScience Foundation under grant 6922. Additionally, the research presentedin the thesis was supported by the Estonian Information Technology Foun-dation and Estonian Doctoral School in Information and CommunicationTechnology.

121

Page 122: Transformation of Nonlinear State Equations into Observer Form
Page 123: Transformation of Nonlinear State Equations into Observer Form

Kokkuvote

Mittelineaarsete olekuvorrandite olekutaastaja ku-jule teisendamine

Vaitekirja pohiliseks uurimisvaldkonnaks on mittelineaarsete uhe sisendi jauhe valjundiga juhtimissustemide mudelite olekutaastaja kujule teisenda-mine, kasutades teisendusi olekute ja valjundite ruumis. Probleemi uurimi-seks rakendatakse valdavalt diferentsiaalvormidel pohinevat algebralist for-malismi. Uuritakse nii pideva ajaga kui ka diskreetaja susteeme. Pideva-te susteemide juhul on leitud tarvilikud ja piisavad tingimused susteemiolekutaastaja kujule teisendamiseks, kasutades lisaks olekuteisendusele kavaljundteisendust. Diskreetsel juhul vaadeldakse susteemi nn. laiendatudolekutaastaja kujule teisendamist, mille vorrandid soltuvad mitte ainultsisendist ja valjundist, vaid ka nende teatud vaartustest minevikus. Ka siinlubatakse kasutada lisaks uldistatud olekuteisendusele valjundteisendust.Leitud on kaks tarvilike ja piisavate tingimuste alternatiivset komplekti.Esimese komplekti eelis vorreldes pideva juhuga seisneb selles, et tingimusedei soltu mingist otsitavast funktsioonist. Teise komplekti tingimused on eri-ti lihtsad ja esitatud nii, et neid voib kontrollida (peale teatud osatuletisteleidmist) praktiliselt pealevaatamise teel.

Vaitekirja taiendav osa on puhendatud homogeensel ajaskaalal defineeri-tud mittelineaarse mitme sisendi ja mitme valjundiga juhtimissusteemivaadeldavuse uurimisele. Vaadeldavuse tarvilik ja piisav tingimus on esita-tud vaadeldava ruumi moiste abil. Juhul kui susteem ei ole vaadeldav,aga vaadeldav ruum, mille elementideks on diferentsiaalsed uks-vormid, ontaielikult integreeruv, on susteem dekomponeeritav vaadeldavaks ja mitte-vaadeldavaks alamsusteemiks.

Teoreetilised tulemused on viidud konkreetsete algoritmide kujule japrogrammeeritud Mathematica funktsioonidena. Funktsioonid on integree-ritud Kuberneetika Instituudis loodud tarkvarapaketti NLControl ja onkasutatavad paketi NLControl veebisaidil interneti vahendusel ilma Math-ematica tarkvara lokaalsesse arvutisse installeerimata.

123

Page 124: Transformation of Nonlinear State Equations into Observer Form
Page 125: Transformation of Nonlinear State Equations into Observer Form

Abstract

Transformation of Nonlinear State Equations intoObserver Form

The main subject of the thesis is transformation of the nonlinear single-input single-output state equations into the observer form via change ofcoordinates in both state- and output-spaces. An algebraic frameworkbased on differential forms is used as a main tool of the research. Boththe continuous- and discrete-time cases are considered. In the continuous-time case necessary and sufficient conditions are given for the existenceof the state and output coordinate transformations, bringing the systeminto the observer form. In the discrete-time case we present two differentsets of necessary and sufficient conditions for the existence of the extendedcoordinate change and the output transformation that allow to transformthe system into the extended observer form, which, besides the input andoutput, depends also on a finite number of their past values. The first setof conditions has an advantage of being intrinsic, implying that they do notdepend on some unknown function, whereas the conditions of the secondset are very simple and due to the matrix representation can be checkedalmost by direct inspection.

The supplementary part of the thesis is devoted to studying the ob-servability property of the nonlinear multi-input multi-output system, de-fined on homogeneous time scale. The necessary and sufficient observabilitycondition is given in terms of the observable space. If the system is notobservable and its observable space, whose elements are differential one-forms, is completely integrable, then the system can be decomposed intothe observable/unobservable subsystems.

Theoretical results of the thesis are implemented as Mathematica func-tions, and integrated into the software package NLControl (developed inthe Institute of Cybernetics). Moreover, the functions can be used onlineat NLControl website without the necessity to install Mathematica on alocal computer.

125

Page 126: Transformation of Nonlinear State Equations into Observer Form
Page 127: Transformation of Nonlinear State Equations into Observer Form

Elulookirjeldus

1. Isikuandmed

Ees- ja perekonnanimi Vadim KaparinSunniaeg ja -koht 07.04.1985, Tallinn, EestiKodakondsus EestiPerekonnaseis vallaline

2. Kontaktandmed

Aadress Kreutzwaldi 4a-33, Tallinn, 10120Telefon +372 55519468E-posti aadress [email protected]

3. Hariduskaik

Oppeasutus Lopetamise Haridus(nimetus lopetamise ajal) aeg (eriala/kraad)

Tallinna Ulikool 2006 matemaatika, BSc

Tallinna Tehnikaulikool 2008 arvuti- ja susteemi-

tehnika, MSc,cum laude

4. Keelteoskus

Keel Tase

Eesti korgtase

Inglise kesktase

Vene emakeel

5. Teenistuskaik

Tootamise aeg Tooandja nimetus Ametikoht

2007 – · · · Kuberneetika Instituut, TTU insener

127

Page 128: Transformation of Nonlinear State Equations into Observer Form

6. Teadustegevus

Ajakirja- ja konverentisartiklite loetelu on toodud ingliskeelse CV juu-res.

7. Kaitstud loputood

Diskreetsed dunaamilised susteemid, BSc, Tallinna Ulikool, 2006.

Mittelineaarsete juhtimissusteemide vaadeldavuse kontroll jaolekutaastaja konstrueerimine paketi Mathematica abil, MSc,Tallinna Tehnikaulikool, 2008.

8. Teadustoo pohisuunad

Mittelineaarsete juhtimissusteemide teooria.

128

Page 129: Transformation of Nonlinear State Equations into Observer Form

Curriculum Vitae

1. Personal data

Name Vadim KaparinDate and place of birth 07.04.1985, Tallinn, EstoniaCitizenship EstonianMarital status single

2. Contact information

Address Kreutzwaldi 4a-33, Tallinn, 10120Phone +372 55519468E-mail [email protected]

3. Education

Educational institution Graduation Educationyear (field of study/degree)

Tallinn University 2006 mathematics, BSc

Tallinn University of 2008 computer and systems

Technology engineering, MSc,cum laude

4. Language competence/skills

Language Level

Estonian fluent

English average

Russian native

5. Professional employment

Period Organization Position

2007 – · · · Institute of Cybernetics, TUT engineer

129

Page 130: Transformation of Nonlinear State Equations into Observer Form

6. Scientific work

1. V. Kaparin and U. Kotta. Necessary conditions for transfor-mation the nonlinear control system into the observer formvia state and output coordinate changes. In The 7th Interna-tional Conference on Control and Automation, pages 745–750,Christchurch, New Zealand, December 2009.

2. V. Kaparin and U. Kotta. Necessary and sufficient conditions interms of differential-forms for linearization of the state equationsup to input-output injections. In UKACC International Confer-ence on CONTROL, pages 507–511, Coventry, UK, September2010.

3. V. Kaparin and U. Kotta. Theorem on the differentiation of acomposite function with a vector argument. Proceedings of theEstonian Academy of Sciences, 59(3):195–200, 2010.

4. V. Kaparin and U. Kotta. Extended observer form for discrete-time nonlinear control systems. In The 9th International Con-ference on Control and Automation, pages 507–512, Santiago,Chile, December 2011.

5. V. Kaparin, U. Kotta, and T. Mullari. Extended observer form:Simple existence conditions. International Journal of Control,86(5):794–803, 2013.

6. V. Kaparin, U. Kotta, T. Mullari, and M. Tonso. Transforma-tion of nonlinear control system into observer form with com-puter algebra system Mathematica. In International Confer-ence: Cybernetics and Informatics, pages 1–10, Zdiar, Slovakia,February 2008.

7. V. Kaparin, U. Kotta, A. Ye. Shumsky, M. Tonso, and A. N.Zhirabok. Implementation of the tools of functions’ algebra:First steps. In The 7th Vienna International Conference onMathematical Modelling, pages 1231–1236, Vienna, Austria,February 2012.

8. V. Kaparin, U. Kotta, A. Ye. Shumsky, and A. N. Zhirabok. Anote on the relationship between single- and multi-experimentobservability for discrete-time nonlinear control systems. Pro-ceedings of the Estonian Academy of Sciences, 60(3):174–178,2011.

130

Page 131: Transformation of Nonlinear State Equations into Observer Form

9. V. Kaparin, U. Kotta, and M. Wyrwas. Observable space of non-linear control system on homogeneous time scale. Proceedingsof the Estonian Academy of Sciences. Accepted for publication.

10. U. Kotta, M. Tonso, J. Belikov, V. Kaparin A. Kaldmae, A. Ye.Shumsky, and A. N. Zhirabok. A symbolic software package fornonlinear control systems. In The 19th International Conferenceon Process Control, pages 101–106, Strbske Pleso, Slovakia, June2013.

11. S. Nomm, U. Kotta, V. Kaparin, M. Tonso, and J. Popovits. Ob-servability and identifiability of nonlinear control systems withcomputer algebra systems Mathematica and Maxima. In The16th International Conference on Process Control, pages 1–7,Strbske Pleso, Slovakia, June 2007.

7. Defended theses

Discrete Dynamical Systems, BSc, Tallinn University, 2006.

Nonlinear Control Systems with Computer Algebra SystemMathematica: Observability and Observer Forms, MSc,Tallinn University of Technology, 2008.

8. Main areas of scientific work/Current research topics

Nonlinear control systems.

131

Page 132: Transformation of Nonlinear State Equations into Observer Form
Page 133: Transformation of Nonlinear State Equations into Observer Form

Publications

133

Page 134: Transformation of Nonlinear State Equations into Observer Form
Page 135: Transformation of Nonlinear State Equations into Observer Form

Publication 1

V. Kaparin and U. Kotta. Necessary conditions for transformation the non-linear control system into the observer form via state and output coordinatechanges. In The 7th International Conference on Control and Automation,pages 745–750, Christchurch, New Zealand, December 2009.

135

Page 136: Transformation of Nonlinear State Equations into Observer Form
Page 137: Transformation of Nonlinear State Equations into Observer Form

Necessary Conditions for Transformation the Nonlinear Control Systeminto the Observer Form via State and Output Coordinate Changes

Vadim Kaparin and Ulle Kotta

Abstract— The paper gives more direct and simple necessaryconditions for the existence of state and output coordinatetransformations, allowing to transform the nonlinear single-input single-output control system into the observer form. Boththe old and new conditions require that the certain n differentialone-forms, associated with the nth order differential input-output equation (corresponding to the state equations), anddepending on a unknown single-variable output function, arethe total differentials of certain functions.

Index Terms— nonlinear control system, state and outputtransformations, observer form, differential one-form.

I. INTRODUCTION

Conditions for the existence of observer form for nonlinearcontrol system using the state coordinate transformationare known to be very restrictive (see [2], [9]), motivatingvarious extensions to enlarge the class of systems for whichobservers with linear error dynamics can be designed. Eitherthe class of transformations was enlarged as in [10], were inaddition to state transformation also output transformationis allowed or different generalized observer forms wereintroduced as in [6] or both as in [1] and [4]. Moreover,system immersion into higher dimensional system [8], [13]or output-dependent time scale transformation [5] were alsoapplied to reach the desired goal.

The paper addresses the problem of transforming thesingle-input single-output continuous-time nonlinear controlsystem into the observer form using both the state andoutput transformations. This problem has been addressedearlier using the approach based on differential forms in[4] and [11]. In [4] the necessary solvability condition hasbeen formulated in terms of differential forms, yielding to apartial differential equation, the solution of which providesa candidate output transformation function. However, thenecessary condition in [4] is very mild and far from beingsufficient as shown in [11]. Its existence does not guaranteethe solution of the problems. To see, if the problem issolvable, one has to apply the output transformation andcheck whether in the new output coordinates the system istransformable into the observer form by the state coordinatetransformation. The paper [11] strengthened the necessarysolvability condition, given in [4]. If the conditions in [11]are satisfied, so are the conditions in [4] but the oppositedoes not hold. Moreover, the conditions in [11] are expressedin terms of original system equations and do not require

This work was partially supported by the Estonian Science Foundationthrough the grant Nr. 6922.

V. Kaparin and U. Kotta is with the Institute of Cybernetics at TallinnUniversity of Technology, Akadeemia tee 21, 12618, Tallinn, [email protected], [email protected]

to apply the output transformation to check the problemsolvability. It is conjectured in [11] that the conditions arealso sufficient, but the proof was left for the future studies.

Note that the conditions in [11] depend on certain ndifferential one-forms, associated with the nth order input-output equation of the control system. In this paper, in orderto simplify the necessary conditions from [11], a different setof one-forms, associated with a control system, is suggestedto use. Our results, like those of [4] and [11], are neither localnor global but generic, i.e. they hold in almost all situationsexcept the pathological cases, see [3].

II. PROBLEM STATEMENT AND PRELIMINARIES

Consider a single-input single-output nonlinear conti-nuous-time system, described by the state equations

x = f(x, u)y = h(x),

(1)

where x ∈ Rn is the state, u ∈ R is the input and y ∈ R isthe output. Our purpose is to find the conditions under whichsystem (1) can be transformed into the observer form

z1 = z2 + ϕ1(Y, u)...

zn−1 = zn + ϕn−1(Y, u)zn = ϕn(Y, u)Y = z1,

(2)

using the state transformation

z = ψ(x) (3)

and the output transformation

Y = F (y). (4)

Consider the input-output equation

y(n) = P (y, y, . . . , y(n−1), u, u, . . . , u(n−1)), (5)

corresponding to (1)1, and define the differential one-formsθi for i = 1, . . . , n as follows

θi =∂P

∂y(n−i)dy +

∂P

∂u(n−i)du. (6)

Moreover, define the composite functions ϕi(y, u) =ϕi(F (y), u).

In [11] the following theorem was formulated.

1In case when it is difficult to obtain the input-output equation (5) fromthe state equations (1), one can compute dP from the tangent linearizedequations dx = df(x, u), dy = dh(x) like in [14]

2009 IEEE International Conference on Control and AutomationChristchurch, New Zealand, December 9-11, 2009

ThAT2.3

978-1-4244-4707-7/09/$25.00 ©2009 IEEE 745

Page 138: Transformation of Nonlinear State Equations into Observer Form

Theorem 1: One can transform the system (1) into theobserver form (2) by the state transformation (3) and theoutput transformation (4) if there exists a function λ(y), suchthat the one-forms

dϕi := Cinλ

(i)dy + λθi−

−i−1∑

s=1

(∂ϕ

(n−s)s

∂y(n−i)dy +

∂ϕ(n−s)s

∂u(n−i)du

)(7)

for i = 1, . . . , n are the total differentials. The function F forthe output transformation (4) can be calculated as an integral

F (y) =

∫λ(y)dy. (8)

Denote P1 = P and compute

dPi+1 = dPi − ω(n−i)i , i = 1, . . . , n− 1, (9)

where by ω(n−i)i is denoted the (n− i)th order derivative of

the one-form ωi, defined by

ωi =∂Pi

∂y(n−i)dy +

∂Pi

∂u(n−i)du. (10)

Note that for an one-form ω = α1dy + α2du, the rthderivative can be computed as follows:

ω(r) =

r∑

m=0

Cmr

(α(r−m)1 dy(m) + α

(r−m)2 du(m)

). (11)

The purpose of this paper is to show that using the one-forms ωi instead of θi one can simplify the expression (7).

III. RELATIONSHIP BETWEEN ωi AND θi

First we will find the relationship between the one-formsωi, defined by (10), and θi, defined by (6). In order toprove Proposition 1, presenting this relationship, we needthe following lemma, the proof of which is given in theAppendix.

Lemma 1: For j = 1, . . . , k and r = n − k + j, thefollowing holds

(−1)jCjr−1 =

j∑

i=1

(−1)iCi−1r−1C

r−j−1r−i . (12)

Proposition 1: Given a control system of the form (5),the relationship between the one-forms ωi and θi, for i =1, . . . , n, defined by (10) and (6) respectively, is as follows

ωi = θi +

i−1∑

j=1

(−1)jCjn−i+j ·

·[(

∂P

∂y(n−i+j)

)(j)

dy +

(∂P

∂u(n−i+j)

)(j)

du

]. (13)

Proof: To simplify the proof, we rewrite (13) in a morecompact form as

ωi =

i−1∑

j=0

(−1)jCjn−i+j

[(∂P

∂y(n−i+j)

)(j)

dy +

+

(∂P

∂u(n−i+j)

)(j)

du

], (14)

where the first element of the sum is θi. We will use themathematical induction to prove that equation (14) holds fori = 1, . . . , n. It is easy to check by (6) and (10) that thestatement holds when i = 1. Assume that the statement (14)holds for i = k and prove that it is true for i = k + 1.According to (9) and (10) one has

dPk+1 = dP −k∑

i=1

ω(n−i)i .

From the assumption that the statement (14) holds for i = kwe have:

dPk+1 = dP −k∑

i=1

(i−1∑

j=0

(−1)jCjn−i+j ·

·[(

∂P

∂y(n−i+j)

)(j)

dy +

(∂P

∂u(n−i+j)

)(j)

du

])(n−i)

.

Using the relationship (11), the latter yields

dPk+1 = dP −k∑

i=1

i−1∑

j=0

(−1)jCjn−i+j

n−i∑

m=0

Cmn−i·

·[(

∂P

∂y(n−i+j)

)(j+n−i−m)

dy(m) +

+

(∂P

∂u(n−i+j)

)(j+n−i−m)

du(m)

].

From (10) it follows that in order to find ωk+1, only∂Pk+1

∂y(n−k−1) and ∂Pk+1

∂u(n−k−1) are necessary. Therefore, we areinterested only in such elements of dPk+1 where the orderof differentiation of dy and du is m := n− k− 1. Thus, wehave:

∂Pk+1

∂y(n−k−1)=

∂P

∂y(n−k−1)−

k∑

i=1

i−1∑

j=0

(−1)jCjn−i+j ·

· Cn−k−1n−i

(∂P

∂y(n−i+j)

)(j+k−i+1)

(15)

and

∂Pk+1

∂u(n−k−1)=

∂P

∂u(n−k−1)−

k∑

i=1

i−1∑

j=0

(−1)jCjn−i+j ·

· Cn−k−1n−i

(∂P

∂u(n−i+j)

)(j+k−i+1)

. (16)

Note that (15) and (16) have a similar structure. Thus, all thetransformations made with one expression will be similar forthe other.

Changing the summation order∑k

i=1

∑i−1j=0 ai,j =∑k

j=1

∑ji=1 ak−j+i,i−1, and taking into account that

746

Page 139: Transformation of Nonlinear State Equations into Observer Form

−(−1)i−1 = (−1)i, rewrite (15) as follows:

∂Pk+1

∂y(n−k−1)=

∂P

∂y(n−k−1)+

k∑

j=1

j∑

i=1

(−1)i·

· Ci−1n−k+j−1C

n−k−1n−k+j−i

(∂P

∂y(n−k+j−1)

)(j)

=

=∂P

∂y(n−k−1)+

k∑

j=1

[(∂P

∂y(n−k+j−1)

)(j)

·

·j∑

i=1

(−1)iCi−1n−k+j−1C

n−k−1n−k+j−i

]. (17)

By Lemma 1 one can rewrite (17) as

∂Pk+1

∂y(n−k−1)=

k∑

j=0

(−1)jCjn−k−1+j ·

·(

∂P

∂y(n−k−1+j)

)(j)

, (18)

since ∂P∂y(n−k−1) = (−1)jCj

n−k−1+j

(∂P

∂y(n−k−1+j)

)(j)for

j = 0. Analogously, we get

∂Pk+1

∂u(n−k−1)=

k∑

j=0

(−1)jCjn−k−1+j ·

·(

∂P

∂u(n−k−1+j)

)(j)

. (19)

Using the definition of ωk+1, (18) and (19)

ωk+1 =k∑

j=0

(−1)jCjn−k−1+j ·

·[(

∂P

∂y(n−k−1+j)

)(j)

dy +

(∂P

∂u(n−k−1+j)

)(j)

du

]

being (14) for i = k + 1.

IV. NEW NECESSARY CONDITIONS

Theorem 2, given below, provides an alternative but equiv-alent formulation of Theorem 1 in terms of one-forms ωi.In order to prove Theorem 2, we need the following lemma,the proof of which is given in the Appendix.

Lemma 2: For k = 1, . . . , n the following holds

(i)

k∑

s=1

s∑

j=1

(−1)s−jCs−jn−j

j−1∑

p=0

(−1)pCn−j+pCn−kn−s ·

·k−s∑

m=0

Cmk−sλ

(k−j−m)

((∂P

∂y(n−j+p)

)(p+m)

dy +

+

(∂P

∂u(n−j+p)

)(p+m)

du

)= λθk,

(ii) Ckn −

k−1∑

s=1

(−1)s−1CsnC

n−kn−s = (−1)k−1Ck

n.

Theorem 2: The system (1) can be transformed by thestate transformation (3) and the output transformation (4)

into the observer form (2) if there exists a function λ(y),such that the one-forms, denoted by dϕi

dϕi := (−1)i−1Cinλ

(i)dy+

i∑

j=1

(−1)i−jCi−jn−jλ

(i−j)ωj (20)

for i = 1, . . . , n are the total differentials.

Proof: The main idea of the proof is to show by themathematical induction that the right hand side of (7) andthe right hand side of (20) are equal. It is easy to check thatthe statement holds when i = 1. Assume that statement (20)holds for i = k− 1 and prove that it is true for i = k. From(7) we have:

dϕk = Cknλ

(k)dy + λθk−

−k−1∑

s=1

(∂ϕ

(n−s)s

∂y(n−k)dy +

∂ϕ(n−s)s

∂u(n−k)du

). (21)

To simplify the proof let us denote

A :=

k−1∑

s=1

(∂ϕ

(n−s)s

∂y(n−k)dy +

∂ϕ(n−s)s

∂u(n−k)du

).

From the assumption that statement (20) holds for i =k − 1 one can write:

k−1∑

s=1

dϕ(n−s)s =

k−1∑

s=1

((−1)s−1Cs

nλ(s)dy+

+

s∑

j=1

(−1)s−1Cs−jn−jλ

(s−j)ωj

)(n−s)

.

Using the compact description of ωi, given by (14), and theformula (11) for the (n − s)th order derivative of the one-forms λ(s)dy and λ(s−j)ωj , the latter yields:

k−1∑

s=1

dϕ(n−s)s =

k−1∑

s=1

(−1)s−1Csn

n−s∑

m=0

Cmn−sλ

(n−m)dy(m)+

+

k−1∑

s=1

s∑

j=1

(−1)s−jCs−jn−j

j−1∑

p=0

(−1)pCpn−j+p

[n−s∑

m=0

Cmn−s·

·(λ(s−j)

(∂P

∂y(n−j+p)

)(p))(n−s−m)

dy(m) +n−s∑

m=0

Cmn−s·

·(λ(s−j)

(∂P

∂u(n−j+p)

)(p))(n−s−m)

du(m)

].

In order to find A, one needs the elements of∑k−1s=1 dϕ

(n−s)s with the order of differentiation of dy and

747

Page 140: Transformation of Nonlinear State Equations into Observer Form

du being m := n− k:

A = λ(k)dy

k−1∑

s=1

(−1)s−1CsnC

n−kn−s +

+

k−1∑

s=1

s∑

j=1

(−1)s−jCs−jn−j

j−1∑

p=0

(−1)pCn−j+pCn−kn−s ·

·[(

λ(s−j)

(∂P

∂y(n−j+p)

)(p))(k−s)

dy+

+

(λ(s−j)

(∂P

∂u(n−j+p)

)(p))(k−s)

du

]=

= λ(k)dy

k−1∑

s=1

(−1)s−1CsnC

n−kn−s +

k−1∑

s=1

s∑

j=1

(−1)s−j ·

· Cs−jn−j

j−1∑

p=0

(−1)pCn−j+pCn−kn−s

k−s∑

m=0

Cmk−sλ

(k−j−m)·

·((

∂P

∂y(n−j+p)

)(p+m)

dy +

(∂P

∂u(n−j+p)

)(p+m)

du

).

If we add and subtract the addend of the second sum withs = k, we get:

A = λ(k)dy

k−1∑

s=1

(−1)s−1CsnC

n−kn−s +

k∑

s=1

s∑

j=1

(−1)s−jCs−jn−j ·

·j−1∑

p=0

(−1)pCn−j+pCn−kn−s

k−s∑

m=0

Cmk−sλ

(k−j−m)·

·((

∂P

∂y(n−j+p)

)(p+m)

dy +

(∂P

∂u(n−j+p)

)(p+m)

du

)−

−k∑

j=1

(−1)k−jCk−jn−jλ

(k−j)ωj ,

which by (i) is

A = λ(k)dy

k−1∑

s=1

(−1)s−1CsnC

n−kn−s + λθk−

−k∑

j=1

(−1)k−jCk−jn−jλ

(k−j)ωj .

Note that from (21)

dϕk = Cknλ

(k)dy + λθk −A = λ(k)dy

(Ck

n−

−k−1∑

s=1

(−1)s−1CsnC

n−kn−s

)+

k∑

j=1

(−1)k−jCk−jn−jλ

(k−j)ωj .

Finally, applying (ii) we obtain:

dϕk = (−1)k−1Cknλ

(k)dy +

k∑

j=1

(−1)k−jCk−jn−jλ

(k−j)ωj .

V. EXAMPLE

Examine the following example, where we suppose x1 >0:

x1 = x2 + ux1

x2 = −x1 +x22x1

+ x3 + u(x1 + x2 + x1 lnx1)

x3 = −x1 + x3 +x2x3x1

+ x1 lnx1+

+u(x1 + x3 + x1 lnx1)y = x1.

(22)

The input-output equation, corresponding to (22), is

y(3) = y + 3yy

y− 2

y3

y2− y2

y+ yu+ yu+ yu ln y + y ln y.

To check, whether it is possible to transform system (22)via the state and output coordinate transformations into theobserver form (2), one has to check the validity of conditions(20), which for the case n = 3 require that the one-forms atthe right hand side of

dϕ1 := 3λdy + λω1,

dϕ2 := −3λdy − 2λω1 + λω2,

dϕ3 :=...λdy + λω1 − λω2 + λω3

(23)

are, for some function λ(y), the total differentials.Step 1. Compute, according to (13),

ω1 =

(1 + 3

y

y

)dy + ydu,

ω2 =

(−3

y

y− 2

y

y+ u

)dy + (y ln y − 2y)du,

ω3 =

(3yy

y2+ 2

y

y− 2

y3

y3− y2

y2+ u+ ln y+

+u ln y + 1

)dy + (y − y ln y) du.

(24)

Step 2. To find whether there exists λ(y), consider the firstequation in (23) and take the exterior derivative of both side.Taking into account that λ = λ′y where the prime meansthe derivative with respect to y, this yields the differentialequation 3λ′dy ∧ dy + λ′dy ∧ ω1 + λdω1 = 0 that we haveto solve with respect to λ(y). Doing this we get

λ(y) = 1/y, (25)

yielding by (8)F (y) = ln y. (26)

Step 3. Using (24) and (25), compute according to (23)

dϕ1 :=dy

y+ du,

dϕ2 :=u

ydy + ln ydu,

dϕ3 :=dy

y.

(27)

All three expressions are total differentials, which means thatthe necessary conditions for transformation of the system

748

Page 141: Transformation of Nonlinear State Equations into Observer Form

(22) into the observer form (2) are satisfied. Integration of(27) yields ϕ1 = ln y+u, ϕ2 = u ln y, ϕ3 = ln y. Due to theoutput transformation (26), Y = F (y) = ln y, and therefore,ϕ1 = Y + u, ϕ2 = uY , ϕ3 = Y . From (2) one can definethe new state variables as follows:

z1 = Y = lnx1,

z2 = Y − ϕ1 =x2x1− lnx1,

z3 = Y − ϕ1 − ϕ2 =x3x1− x2x1− 1,

that leads to the new state equations in the observer form:

z1 = z2 + z1 + uz2 = z3 + z1uz3 = z1Y = z1.

VI. CONCLUSIONS

Alternative necessary conditions were suggested for trans-formability of a single-input single-output state equationsinto the observer form using both the state and the outputtransformations. Both conditions, the old ones and thosegiven in this paper, require that certain n differential one-forms, associated with the nth order differential input-outputequation (corresponding to the state equations), and depend-ing on an unknown single-variable output dependent func-tion, are the total differentials of some functions. Althoughthe new conditions are more direct and more simple, theystill require to check whether a certain partial differentialequation is solvable or not, that might be difficult to test. Onthe other hand, in the discrete-time case simple necessary andsufficient conditions exist that are directly computable fromthe input-output equation and do not depend on the unknownoutput function. These conditions [12] are expressed interms of exterior derivatives and the exterior products ofthe one-forms, similar to those in the continuous-time case.Our further goal is to find out whether it is possible toextend these conditions to the continuous-time case. Notethat the output transformation and shift operator commute,whereas this does not hold for the output transformationand derivative operator, and therefore, the answer is notimmediate. In case the extension turns out to be impossible,our goal is to reformulate the discrete-time conditions in sucha way that using the mathematical machinery of the pseudo-linear algebra, the discrete- and continuous-time cases canbe unified into one single condition, from which both resultsfollow as the special cases. Note that this has been donefor the case when only a state transformation is allowed totransform the system equations into the observer form [7].

APPENDIX

For the proof of Lemma 1 and Lemma 2 we will use theNewton’s binomial theorem (a + b)k =

∑ks=0 C

ska

sbk−s,which for a = −1, b = 1 and k > 0 gives

k∑

s=0

Csk(−1)s = 0. (28)

A. Proof of Lemma 1

Proof: Since Ckn = n!

(n−k)!k! , proving (12) is equivalentto prove that

(−1)j =

j∑

i=1

(−1)iCi−1j . (29)

Note that from (28), taking 0 =∑j

p=0 Cpj (−1)p and

changing the summation index, i.e. taking p = i − 1, wehave 0 =

∑j+1i=1 C

i−1j (−1)i−1. Finally, separating the last

addend of the sum, putting it into the left side of theequation and multiplying both sides by −1 yields (−1)j =∑j

i=1(−1)iCi−1j . Consequently, (29) is true and therefore

(12) is true, too.

B. Proof of Lemma 2

Proof: (i) To prove the first part of Lemma 2, we denotethe left hand side of (i) by B and rewrite it in the followingway:

B :=

k∑

s=1

s∑

j=1

k−s∑

m=0

(−1)s−jCs−jn−j

j−1∑

p=0

(−1)p·

· Cn−j+pCn−kn−sC

mk−sλ

(k−j−m)·

·((

∂P

∂y(n−j+p)

)(p+m)

dy +

(∂P

∂u(n−j+p)

)(p+m)

du

).

After changing the summation order

k∑

s=1

s∑

j=1

k−s∑

m=0

as,j,m =

k∑

s=1

s∑

j=1

k−s∑

m=0

am+j,j,s−j ,

we obtain:

B =

k∑

s=1

s∑

j=1

k−s∑

m=0

(−1)mCmn−j

j−1∑

p=0

(−1)pCn−j+pCn−kn−m−j ·

· Cs−jk−m−jλ

(k−s)

((∂P

∂y(n−j+p)

)(p+s−j)

dy +

+

(∂P

∂u(n−j+p)

)(p+s−j)

du

)=

k∑

s=1

λ(k−s)·

·s∑

j=1

j−1∑

p=0

(−1)pCn−j+p

((∂P

∂y(n−j+p)

)(p+s−j)

dy +

+

(∂P

∂u(n−j+p)

)(p+s−j)

du

·k−s∑

m=0

(−1)mCmn−jC

n−kn−m−jC

s−jk−m−j .

749

Page 142: Transformation of Nonlinear State Equations into Observer Form

Separating from B the last addend,

B =

k−1∑

s=1

λ(k−s)s∑

j=1

j−1∑

p=0

(−1)pCn−j+p·

·((

∂P

∂y(n−j+p)

)(p+s−j)

dy +

+

(∂P

∂u(n−j+p)

)(p+s−j)

du

)k−s∑

m=0

(−1)mCmn−j ·

· Cn−kn−m−jC

s−jk−m−j + λ

k∑

j=1

j−1∑

p=0

(−1)pCpn−j+pC

n−kn−j ·

·((

∂P

∂y(n−j+p)

)(p+k−j)

dy+

(∂P

∂u(n−j+p)

)(p+k−j)

du

).

It is easy to check by direct computations thatCm

n−jCn−kn−m−jC

s−jk−m−j = Cn−s

n−jCk−sn−sC

mk−s, which yields:

B =

k−1∑

s=1

λ(k−s)s∑

j=1

j−1∑

p=0

(−1)pCn−j+p·

·((

∂P

∂y(n−j+p)

)(p+s−j)

dy +

(∂P

∂u(n−j+p)

)(p+s−j)

du

· Cn−sn−jC

k−sn−s

k−s∑

m=0

Cmk−s(−1)m + λ

k∑

j=1

j−1∑

p=0

(−1)p·

· Cpn−j+pC

n−kn−j

((∂P

∂y(n−j+p)

)(p+k−j)

dy +

+

(∂P

∂u(n−j+p)

)(p+k−j)

du

),

and taking into account (28)

B = λk∑

j=1

j−1∑

p=0

(−1)pCpn−j+pC

n−kn−j ·

·((

∂P

∂y(n−j+p)

)(p+k−j)

dy+

(∂P

∂u(n−j+p)

)(p+k−j)

du

).

Changing the summation order

k∑

j=1

j−1∑

p=0

aj,p =

k−1∑

p=0

p∑

j=0

ak−p+j,j ,

we have:

B = λ

k−1∑

p=0

p∑

j=0

(−1)jCjn−k+pC

n−kn−k+p−j ·

·((

∂P

∂y(n−k+p)

)(p)

dy +

(∂P

∂u(n−k+p)

)(p)

du

).

By definition (6), one can easily verify that the first addendof B is λθk, thus we can rewrite B as follows:

B = λθk + λ

k−1∑

p=1

p∑

j=0

(−1)jCjn−k+pC

n−kn−k+p−j ·

·((

∂P

∂y(n−k+p)

)(p)

dy +

(∂P

∂u(n−k+p)

)(p)

du

).

It is easy to check by direct computations thatCj

n−k+pCn−kn−k+p−j = Cj

pCpn−k+p, which allows us to

rewrite B as follows:

B = λθk + λk−1∑

p=1

Cpn−k+p

p∑

j=0

Cjp(−1)j ·

·((

∂P

∂y(n−k+p)

)(p)

dy +

(∂P

∂u(n−k+p)

)(p)

du

).

By (28), the second addend in B is zero, therefore B = λθk.(ii) To prove the second part of Lemma 2, we mul-

tiply both sides of (28) by Ckn(n−s)!(n−s)! which yields 0 =∑k

s=0(−1)sCsnC

n−kn−s . If we separate the last and the first

addends of the sum and put the last addend into the lefthand side of the equation, we get −(−1)kCk

n = Cn−kn +∑k−1

s=1 (−1)sCsnC

n−kn−s . Finally, using Cn−k

n = Ckn and

−(−1)k = (−1)k−1, we prove (ii).

REFERENCES

[1] G. Besancon. On output transformations for state linearization up tooutput injection. IEEE Trans. on Autom Contr., 44(10): 1975-1981,1999.

[2] D. Bestle, M. Zeitz. Cananical form observer for nonlinear time-variable systems. Int. J. Contr., 38(3): 419-431, 1983.

[3] G. Conte, C. H. Moog, and A. M. Perdon. Algebraic methods fornonlinear control systems. 2nd ed. London : Springer, 2007.

[4] A. Glumineau, C. H. Moog, F. Plestan. New Algebro-GeometricConditions for the Linearization by Input-Output Injection. IEEETrans. on Autom. Contr., 41(4): 598-603, 1996.

[5] M. Guay. Observer linearization by output diffeomorphism and output-dependant time-scale transformations. In: NOLCOS’01, St. Petersburg,1443-1446, 2001.

[6] M. Hammouri, M. Kinnaert. A new procedure for time-varying lin-earization up to output injection. Sys. Contr. Lett., 28(3): 151-157,1996.

[7] M. Halas, U. Kotta. A polynomial approach to the synthesis ofobservers for nonlinear systems. Proc of The IEEE CDC, Cancun,Mexico, 2008.

[8] P. Jouan. Immersion of nonlinear systems into linear systems modulooutput injection. SIAM J. Control Opt., 41(6): 1756-1778, 2002.

[9] A. J. Krener and A. Isidori. Linearization by output injection andNonlinear observers. Syst. Contr. Lett., 3: 47-52, 1983.

[10] A. J. Krener and W. Respondek. Nonlinear observers with linearizableerrar dynamics. SIAM J. Contr. Optim., 23(2): 197-216, 1985;

[11] T. Mullari, U. Kotta. Transformation of nonlinear control systems intothe observer form: necessary conditions. In: Proceedings of the 16thMediterranean Conference on Control and Automation, June 25-27,2008, Ajaccio, Corscia, France : IEEE, 475-480, 2008.

[12] T. Mullari, U. Kotta. Transformation the nonlinear system into theobserver form: simplification and extension. European Journal ofControl, 2009.

[13] D. Noh, N. H. Jo, and J. H. Seo. Nonlinear observer design by dynamicobserver error linearization. IEEE Trans. on Automatic Control.,49(10): 1746-1753, 2004.

[14] X. Xia, C. H. Moog. Disturbance decoupling by measurement feed-back for SISO nonlinear systems. IEEE Trans. on Automatic Control.,44: 1425-1429, 1999.

750

Page 143: Transformation of Nonlinear State Equations into Observer Form

Publication 2

V. Kaparin and U. Kotta. Necessary and sufficient conditions in termsof differential-forms for linearization of the state equations up to input-output injections. In UKACC International Conference on CONTROL,pages 507–511, Coventry, UK, September 2010.

143

Page 144: Transformation of Nonlinear State Equations into Observer Form
Page 145: Transformation of Nonlinear State Equations into Observer Form

Necessary and Sufficient Conditions in Terms ofDifferential-Forms for Linearization of the State

Equations up to Input-Output Injections

Vadim Kaparin ∗ Ulle Kotta ∗

∗ Institute of Cybernetics at Tallinn University of Technology, Akadeemia tee21, 12618, Tallinn, Estonia (e-mail: vkaparin, [email protected]).

Abstract: The simple necessary and sufficient conditions are derived for transformability of thesingle-input single-output state equations into the observer form, using both the state and outputtransformations. The conditions require that certain differential one-forms, associated with the input-output equation of the control system, and depending on a unknown single variable output function, areclosed.

Keywords: nonlinear control system, state and output transformations, observer form, differentialone-form.

1. INTRODUCTION

The paper addresses the problem of transforming the continuous-time single-input single-output nonlinear control system intothe nonlinear observer form using both the state and outputtransformations. Unlike the traditional methods as in Conteet al. [2007] or Isidori [1985], where only the state transforma-tion is used, the approach, where in addition the output trans-formation is applied, enlarges the class of systems for whichthe observer with linear error dynamic can be constructed. Thisproblem has been addressed before in papers by Glumineauet al. [1996], Mullari et al. [2008] and Kaparin et al. [2009].In Glumineau et al. [1996] the necessary solvability conditionis formulated in terms of the differential forms. This conditionyields to a partial differential equation, the solution of whichprovides a candidate output transformation function. The nec-essary condition is very mild and far from being sufficient.Obviously, its existence does not guarantee the solvability ofthe problem. To check whether the problem is solvable, onehas to apply the output transformation and check if in the newoutput coordinates the system is transformable into the observerform by the state coordinate transformation only. In Mullariet al. [2008] the new necessary solvability conditions havebeen found for the systems up to the order 4. The latter con-ditions were expressed directly in terms of the original systemequations and do not require to apply the intermediate outputtransformation to check the problem solvability. In Kaparinet al. [2009], in order to simplify the necessary conditions fromMullari et al. [2008], a different set of one-forms, associatedwith a control system, is suggested to use. Moreover, the closedformulas that show the relationship between the two sets of one-forms, is given. However, since the results of Kaparin et al.[2009] rely on the relationship between the two sets of one-forms, the results are also valid for systems up to the order 4.

The purpose of this paper is to present the necessary and suffi-cient conditions in terms of the one-form, introduced in Kaparinet al. [2009] for the systems of arbitrary order. Of course, our This work was partially supported by the Estonian Science Foundationthrough the grant Nr. 6922.

approach, as well as those in Glumineau et al. [1996], Mullariet al. [2008] and Kaparin et al. [2009] assumes the knowledgeof the input-output equation corresponding to the state spacedescription. Under the observability assumption, using the stateelimination algorithm, one can, at least locally, always find forthe state equation a corresponding input-output equation, seefor example Conte et al. [2007]. However, globally eliminationof the state is a difficult problem, that results, in general, animplicit input-output equation accompanied to a number ofinequations, see for example Diop [1991]. Alternative result,formulated in terms of vector fields is suggested in Boutatet al. [2009] for systems without inputs. Extension for systemsdepending on inputs was also discussed, but then the conditionsare only sufficient and the assumed observer form is moregeneral. Namely, the coefficients of the linear part also dependon control. The different kind of generalized observer form wasalso assumed in Besancon [1999].

2. PROBLEM STATEMENT AND PRELIMINARIES

Consider a single-input single-output nonlinear continuous-time system, described by the state equations

x = f(x, u)y = h(x),

(1)

where x ∈ Rn is the state, u ∈ R is the input and y ∈ R isthe output. Our purpose is to find the conditions under whichsystem (1) can be transformed into the observer form

z1 = z2 + ϕ1(Y, u)...

zn−1 = zn + ϕn−1(Y, u)zn = ϕn(Y, u)Y = z1,

(2)

using the state transformationz = ψ(x) (3)

and the output transformationY = F (y). (4)

Page 146: Transformation of Nonlinear State Equations into Observer Form

Control system (1) can be transformed into the observer form(2) if the input-output (i/o) equation

y(n) = P (y, y, . . . , y(n−1), u, u, . . . , u(n−1)), (5)corresponding to (1), can be written in the form

Y (n) = ϕ(n−1)1 + ϕ

(n−2)2 + . . . + ϕn, (6)

where all functions ϕi depend only on the new output Y andthe input u:

ϕi : (Y, u) → R ∀i = 1, . . . , n.

If this holds, one can define the new state variables as follows:z1 = Y,

z2 = Y − ϕ1,

z3 = Y − ϕ1 − ϕ2,...

zn = Y (n−1) − ϕ(n−2)1 − ϕ

(n−3)2 − . . . − ϕn−1,

(7)

leading to system (2).

For the further search of the necessary and sufficient conditionswe define the differential one-forms by means of the followingalgorithm which is the extension of the algorithm described byConte et al. [2007]:

P1 := P, dPi+1 := dPi − ω(n−i)i , i = 1, . . . , n − 1,

where by ω(n−i)i is denoted the (n− i)th order derivative of the

one-form ωi, defined by

ωi =∂Pi

∂y(n−i)dy +

∂Pi

∂u(n−i)du.

According to Kaparin et al. [2009], the closed form of the one-forms ωi for i = 1, . . . , n is the following:

ωi =

i−1∑

j=0

(−1)jCjn−i+j

[ (∂P

∂y(n−i+j)

)(j)

dy+

+

(∂P

∂u(n−i+j)

)(j)

du

]. (8)

Moreover, define the composite functions ϕi(y, u) :=ϕi(F (y), u).

3. NECESSARY AND SUFFICIENT CONDITIONS

The theorem proved in this section provides the necessaryand sufficient conditions, which allow us to transform the i/oequation (5) into the form (6) and, as a consequence, the stateequations (1) into the observer form (2). In order to proveTheorem 1, we need the following proposition and lemma.Proposition 1. (Kaparin et al. [2010]). Assume that f(ξ1(t),ξ2(t), . . . , ξr(t)) is a composite function for which derivativesup to order a + b are defined; then

∂ (f(ξ1(t), ξ2(t), . . . , ξr(t)))(a+b)

∂ξ(a)l (t)

=

= Cba+b

(∂f(ξ1(t), ξ2(t), . . . , ξr(t))

∂ξl(t)

)(b)

,

where l = 1, 2, . . . , r, Cba+b is the binomial coefficient and a, b

are nonnegative integers.Lemma 1.

(i)i∑

j=1

(−1)j−1Cj−1i = (−1)i−1.

(ii)i−s+1∑

j=1

(−1)j−1Cj−1i−s = 0, for s = 1, . . . , i − 1 and i > 1.

Proof. For the proof we use the binomial formula (a + b)k =∑km=0 Cm

k ambk−m, which for a = −1, b = 1 and k > 0 givesk∑

m=0

Cmk (−1)m = 0. (9)

(i) Using (9) for k = i we geti∑

m=0

Cmi (−1)m = 0.

Separating the last addend of the sum and putting it into theright-hand side yields:

i−1∑

m=0

Cmi (−1)m = −(−1)i.

Finally, if we change the summation index, taking m = j − 1,and take into account that −(−1)i = (−1)i−1, we obtain (i).

(ii) Since s = 1, . . . , i − 1 and i > 1, then i − s > 0 and onecan apply (9) for k = i − s:

i−s∑

m=0

Cmi−s(−1)m = 0.

Changing the summation index, taking m = j − 1, we obtain(ii).

Now we are ready to prove our main result.Theorem 1. The system (1) can be transformed by the statetransformation (3) and the output transformation (4) into theobserver form (2) if and only if there exists a function λ(y),such that the one-forms

(−1)i−1Cinλ(i)dy +

i∑

p=1

(−1)i−pCi−pn−pλ

(i−p)ωp,

i = 1, . . . , n, (10)where ωp’s are defined by (8), are exact.

Proof. Necessity: Assume that system (1) is transformable intothe observer form (2). Consequently, the i/o equation (5) can berewritten in the form (6). Complete the following steps:

• Take the partial derivatives of both sides of the i/o equation(6) with respect to y(n−i+j−1), for j = 1, . . . , i.

• Next, take the (j − 1)-th order time-derivative of eachexpression, obtained in the previous step.

• Denoteαj := (−1)j−1Cj−1

n−i+j−1 (11)and multiply both sides of the equation by αj .

• Add the obtained equations for j = 1, . . . , i.

As a result, the following equations are obtained:i∑

j=1

αj

(∂F (n)

∂y(n−i+j−1)

)(j−1)

=

=

i∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂y(n−i+j−1)

)(j−1)

. (12)

Page 147: Transformation of Nonlinear State Equations into Observer Form

Repeating the same with respect to control variable u, oneobtains

i∑

j=1

αj

(∂F (n)

∂u(n−i+j−1)

)(j−1)

=

=

i∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂u(n−i+j−1)

)(j−1)

. (13)

Consider separately each side of equations (12) and (13). De-note

LY :=

i∑

j=1

αj

(∂F (n)

∂y(n−i+j−1)

)(j−1)

,

LU :=i∑

j=1

αj

(∂F (n)

∂u(n−i+j−1)

)(j−1)

,

RY :=

i∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂y(n−i+j−1)

)(j−1)

,

RU :=

i∑

j=1

n∑

s=1

αj

(∂ϕ

(n−s)s

∂u(n−i+j−1)

)(j−1)

.

According to Faa di Bruno’s Formula (Johnson [2002]), the n-th order time derivative of output transformation F reads asfollows:

F (n) =∑ n!

k1! . . . kn!FK

n∏

p=1

(y(p)

p!

)kp

,

where K is the order of derivative with respect to y and isdefined as K = k1 + . . . + kn where the sum is taken overall possible partitions of n, i.e., over the values of k1, ..., knsuch that k1 + 2k2 + . . . + nkn = n.

Obviously, the addend of F (n) corresponding to kn = 1 andk1, . . . , kn−1 = 0, equals F ′y(n). According to (5), y(n) mustbe replaced by the function P . To take this replacement into ac-count and avoid the complication in the further transformationsof F (n) we add to LY a zero term, such that LY now reads as

LY =i∑

j=1

(αj

((∂F (n)

∂y(n−i+j−1)

)(j−1)

+

+

(∂

(F ′P − F ′y(n)

)

∂y(n−i+j−1)

)(j−1)),

where in F (n) we consider y(n) as symbol which we donot need to replace. This trick simplifies the proof below byallowing to use Proposition 1.

By Proposition 1 for r = 1, a = n− i+j −1 and b = i−j +1,

∂F (n)

∂y(n−i+j−1)= Ci−j+1

n (F ′)(i−j+1),

yielding

LY =

i∑

j=1

αj

(Ci−j+1

n (F ′)(i)+

+

(∂

(F ′P − F ′y(n)

)

∂y(n−i+j−1)

)(j−1)).

Using product rule for finding the derivative one can write:

∂(F ′P − F ′y(n)

)

∂y(n−i+j−1)= F ′ ∂P

∂y(n−i+j−1)+ P

∂F ′

∂y(n−i+j−1)−

− y(n) ∂F ′

∂y(n−i+j−1)− F ′ ∂y(n)

∂y(n−i+j−1).

Since n − i + j − 1 < n for i = 1, . . . , n and j = 1, . . . , ithen ∂y(n)/∂y(n−i+j−1) = 0. Also taking into account thaty(n) = P one obtains

∂(F ′P − F ′y(n)

)

∂y(n−i+j−1)= F ′ ∂P

∂y(n−i+j−1).

Thus LY can be rewritten as follows:

LY =i∑

j=1

αj

(Ci−j+1

n (F ′)(i) +

(F ′ ∂P

∂y(n−i+j−1)

)(j−1))

.

By direct computation Cj−1n−i+j−1C

i−j+1n = Ci

nCj−1i and

taking into account (11), we obtain:

LY = Cin(F ′)(i)

i∑

j=1

(−1)j−1Cj−1i +

+

i∑

j=1

αj

(F ′ ∂P

∂y(n−i+j−1)

)(j−1)

.

By (i) of Lemma 1 we obtain:

LY = (−1)i−1Cin(F ′)(i) +

i∑

j=1

αj

(F ′ ∂P

∂y(n−i+j−1)

)(j−1)

.

To rewrite the obtained expression in a more compact formdenote

β := (−1)i−1Cin(F ′)(i). (14)

After the application of the Leibnitz Formula for the higherorder derivative of the product, we have:

LY = β +i∑

j=1

αj

j−1∑

p=0

Cpj−1(F

′)(j−1−p)·

·(

∂P

∂y(n−i+j−1)

)(p)

= β +

i∑

j=1

j−1∑

p=0

αj ·

· Cpj−1(F

′)(j−1−p)

(∂P

∂y(n−i+j−1)

)(p)

.

Usind (11) and changing the summation order∑i

j=1

∑j−1p=0 aj,p =∑i

p=1

∑p−1j=0 ai−p+j+1,j , rewrite LY as follows:

LY = β +i∑

p=1

p−1∑

j=0

(−1)i−p+jCi−p+jn−p+j ·

· Cji−p+j(F

′)(i−p)

(∂P

∂y(n−p+j)

)(j)

.

By direct computation Ci−p+jn−p+jC

ji−p+j = Ci−p

n−pCjn−p+j , and

taking also into account that (−1)i−p+j = (−1)i−p(−1)j , wefinally obtain:

Page 148: Transformation of Nonlinear State Equations into Observer Form

LY = β +

i∑

p=1

(−1)i−pCi−pn−p(F

′)(i−p)·

·p−1∑

j=0

(−1)jCjn−p+j

(∂P

∂y(n−p+j)

)(j)

.

Since LY and LU have a similar structure, the transformationsmade with LY can be made also with LU , yielding

LU = (−1)i−1Cin

(∂F

∂u

)(i)

+

i∑

p=1

(−1)i−pCi−pn−p(F

′)(i−p)·

·p−1∑

j=0

(−1)jCjn−p+j

(∂P

∂u(n−p+j)

)(j)

.

Since ∂F/∂u = 0,

LU =

i∑

p=1

(−1)i−pCi−pn−p(F

′)(i−p)·

·p−1∑

j=0

(−1)jCjn−p+j

(∂P

∂u(n−p+j)

)(j)

.

Next consider RY . Note, that if s > i− j +1 then n−s < n−i+j−1 and so [∂ϕ

(n−s)s /∂y(n−i+j−1)] = 0. Therefore, instead

of taking s = 1, . . . , n we can take s = 1, . . . , i − j + 1 andrewrite RY as follows:

RY :=

i∑

j=1

i−j+1∑

s=1

αj

(∂ϕ

(n−s)s

∂y(n−i+j−1)

)(j−1)

,

By Proposition 1 for r = 2, a = n−i+j−1 and b = i−s−j+1

∂ϕ(n−s)s

∂y(n−i+j−1)= Ci−s−j+1

n−s

(∂ϕs

∂y

)(i−s−j+1)

,

and therefore,

RY :=i∑

j=1

i−j+1∑

s=1

αjCi−s−j+1n−s

(∂ϕs

∂y

)(i−s)

,

Changing the summation order∑i

j=1

∑i−j+1s=1 aj,s =∑i

s=1

∑i−s+1j=1 aj,s, we obtain:

RY :=

i∑

s=1

i−s+1∑

j=1

αjCi−s−j+1n−s

(∂ϕs

∂y

)(i−s)

.

By direct computation Cj−1n−i+j−1C

i−s−j+1n−s = Ci−s

n−sCj−1i−s and

taking into account (11), we have

RY :=

i∑

s=1

Ci−sn−s

(∂ϕs

∂y

)(i−s) i−s+1∑

j=1

(−1)j−1Cj−1i−s .

Note that for i = 1 RY := [∂ϕ1/∂y]. In case i > 1, one canseparate the last addend of the sum RY , yielding

RY :=∂ϕi

∂y+

i−1∑

s=1

Ci−sn−s

(∂ϕs

∂y

)(i−s) i−s+1∑

j=1

(−1)j−1Cj−1i−s .

By (ii) of Lemma 1, RY := [∂ϕi/∂y]. Analogously we getRU := [∂ϕi/∂u], for i = 1, . . . , n. Thus, taking into account(14), one can rewrite (12) and (13) as follows

∂ϕi

∂y= (−1)i−1Ci

n(F ′)(i) +

i∑

p=1

(−1)i−pCi−pn−p(F

′)i−p·

·p−1∑

j=0

(−1)jCjn−p+j

(∂P

∂y(n−p+j)

)(j)

,

∂ϕi

∂u=

i∑

p=1

(−1)i−pCi−pn−p(F

′)i−p·

·p−1∑

j=0

(−1)jCjn−p+j

(∂P

∂u(n−p+j)

)(j)

.

If we add together the above equations, taking into account (8)and notation λ := F ′, we finally obtain the exact differentialone-forms

dϕi := (−1)i−1Cinλ(i)dy+

i∑

p=1

(−1)i−pCi−pn−pλ

(i−p)ωp. (15)

Obviously the right-hand side of equations (15) equals (10).

Sufficiency: If there exists a function λ(y), such that the one-forms (10), where ωp’s are defined by (8), are exact, thenthe function F (y) for the output transformation (4) can becalculated as an integral

F (y) =

∫λ(y)dy. (16)

Integrating the exact one-forms (15) one can find functions ϕi

for i = 1, . . . , n. By means of functions F (y) and ϕi the systemequations in the observer form (2) can be easily constructed.

4. ALGORITHM

In this section we represent the algorithm for transformation thesystem (1) into the observer form (2). First, one has to find thei/o representation (5) of the system (1) and then perform thefollowing steps:

Step 1. Using (8), compute the one-forms ωi for i = 1, . . . , n.

Step 2. Take the exterior derivative of the one-form (10) fori = 1. For this one-form to be exact the exterior derivativehas to equal zero. Taking into account that λ = λ′y where theprime means the derivative with respect to y, this yields thedifferential equation C1

nλ′dy ∧ dy + λ′dy ∧ ω1 + λdω1 = 0which we have to solve with respect to λ(y). If the solution doesnot exist, the problem is not solvable; stop.

Step 3. Using ωi’s and λ(y) compute the one-forms (10), fori = 2, . . . , n.

Step 4. Check whether the one-forms (10) are exact or not. If atleast one of them is not exact, the problem is not solvable; stop.

Step 5. Rewrite the (exact) one-forms (10) as dϕi (see (15)).Integrate the one-forms dϕi, yielding ϕi for i = 1, . . . , n.Using λ(y) and (16) one can find ϕi and F (y) in terms of whichthe system in the observer form (2) can be easily constructed.

5. EXAMPLE

Examine the following example, where we suppose x1 > 0 andx2 = 0:

Page 149: Transformation of Nonlinear State Equations into Observer Form

x1 = x1(u2 + x2)

x2 =u

x1− u2x2 + x2x3

x3 = 1 − 2u

x1+

u2

x2+

u lnx1

x1x2+ u2x2 − x2

2−

− ux3

x1x2− 3x2x3 − x2

3

y = lnx1.

(17)

The input-output equation, corresponding to (17), is

y(3) = u(e−y + 2u

)+ u

(e−yy + 4uy + 2u

)+

+ u2(y2 + y

)− y

(y2 + 3y − 1

).

To check, whether it is possible to transform system (17) via thestate and output coordinate transformations into the observerform (2), one has to check the validity of conditions fromTheorem 1, which for the case n = 3 require that the one-forms

3λdy + λω1,

−3λdy − 2λω1 + λω2,...λdy + λω1 − λω2 + λω3

(18)

are exact, for some function λ(y). We will follow the algorithm,described in the previous section:

Step 1. Compute, according to (8),

ω1 =(u2 − 3y

)dy + 2udu,

ω2 =(1 + 2u2y − 3y2 + 2y

)dy +

(e−y + 4uy

)du,

ω3 =(e−y (u − uy − u) − 2u (2uy + u + uy)+

−2u2 + 6yy)dy +

(e−y (y + y)+

+2u(y2 − y

))du.

(19)

Step 2. To find whether there exists λ(y), consider the differen-tial equation 3λ′dy ∧ dy + λ′dy ∧ ω1 + λdω1 = 0 which wehave to solve with respect to λ(y). Doing this we get

λ(y) = ey, (20)yielding by (16)

F (y) = ey. (21)

Step 3. Using (19) and (20), compute according to (18)

eyu2dy + 2eyudu,eydy + du,udy + ydu.

(22)

Step 4. All three expressions are total differentials, whichmeans that the necessary conditions for transformation of thesystem (17) into the observer form (2) are satisfied.

Step 5. Since the necessary and sufficient conditions are satis-fied one can define

dϕ1 := eyu2dy + 2eyudu,dϕ2 := eydy + du,dϕ3 := udy + ydu.

(23)

Integration of (23) yields

ϕ1 := eyu2,ϕ2 := ey + u,ϕ3 := uy.

Due to the output transformation (21), Y = F (y) = ey , andtherefore,

ϕ1 := Y u2,ϕ2 := Y + u,ϕ3 := u lnY.

From (7) one can define the new state variables as follows:

z1 = x1,z2 = x1x2,z3 = x1 (x2 (x2 + x3) − 1) ,

that leads to the new state equations in the observer form:z1 = z2 + z1u

2

z2 = z3 + z1 + uz3 = u ln z1Y = z1.

6. CONCLUSIONS

The simple necessary and sufficient conditions were derivedfor the existence of the state and output transformations thatallow to transform the state equations into the observer form.Since the conditions are formulated in terms of the one-forms,computed from the i/o equation of the system, the conditionsare applicable in case when the i/o equation can be (easily)found from the state equations. The conditions are simple andrequire to check whether certain one-forms, associated with thei/o equation are closed or not. However, note that these one-forms depend on an unknown single-variable output function,and the most difficult part of the transformation procedureis to solve a certain differential equation with respect to thisunknown function.

REFERENCES

G. Besancon. On output transformations for state linearizationup to output injection. IEEE Trans. on Automat. Control 44:1975-1981, 1999.

D. Boutat, A. Benali, H. Hammouri and K. Busawon. Newalgorithm for observer error linearization with a diffeomor-phism on the outputs. Automatica, 45:2187–2193, 2009.

G. Conte, C. H. Moog and A.M. Perdon. Algebraic Methodsfor Nonlinear Control Systems. Theory and Applications.Springer-Verlag, London, 2007.

S. Diop. Elimination in control theory. Math. Control SignalsSystem 4:335–341, 1991.

A. Glumineau, C. H. Moog, F. Plestan. New algebro-geometricconditions for the linearization by input-output injection.IEEE Trans. Automat. Control 41:598-603, 1996.

A. Isidori. Nonlinear Control Systems: An Introduction. LectureNotes in Control and Information Sciences No. 72. Springer-Verlag, Berlin, 1985.

W. P. Johnson. The Curious History of Faa di Bruno’s Formula.Amer. Math. Monthly, 109:217–234, 2002.

V. Kaparin and U. Kotta. Necessary Conditions for Trans-formation the Nonlinear Control System into the ObserverForm Via State and Output Coordinate Changes. The 7thIEEE International Conference on Control and Automation,Christchurch, New Zealand, pp 745–750, December 9-11,2009.

V. Kaparin and U. Kotta. Theorem on the differentiation of acomposite function with a vector argument. Proceedings ofthe Estonian Academy of Sciences, Accepted for publication.

T. Mullari, U. Kotta. Transformation of nonlinear control sys-tems into the observer form: necessary conditions. Proceed-ings of the 16th Mediterranean Conference on Control andAutomation, Ajaccio, Corscia, France, pp 475–480, June 25-27, 2008.

Page 150: Transformation of Nonlinear State Equations into Observer Form
Page 151: Transformation of Nonlinear State Equations into Observer Form

Publication 3

V. Kaparin and U. Kotta. Theorem on the differentiation of a compositefunction with a vector argument. Proceedings of the Estonian Academy ofSciences, 59(3):195–200, 2010.

151

Page 152: Transformation of Nonlinear State Equations into Observer Form
Page 153: Transformation of Nonlinear State Equations into Observer Form

Proceedings of the Estonian Academy of Sciences,2010, 59, 3, 195–200

doi: 10.3176/proc.2010.3.01Available online at www.eap.ee/proceedings

Theorem on the differentiation of a composite functionwith a vector argument

Vadim Kaparin∗ and Ulle Kotta

Institute of Cybernetics at Tallinn University of Technology, Akadeemia tee 21, 12618 Tallinn, Estonia; [email protected]

Received 9 November 2009, revised 5 January 2010, accepted 8 January 2010

Abstract. The paper provides a theorem on the differentiation of a composite function with a vector argument. The theorem showshow the partial derivative of the total derivative of the composite function can be expressed through the total derivative of the partialderivative of the composite function. The proof of the theorem is based on Mishkov’s formula, which is the generalization of thewell-known Faa di Bruno’s formula for a composite function with a vector argument.

Key words: differential calculus, partial derivative, total derivative, composite function.

1. INTRODUCTION

The theorem proved in this paper was required as an intermediate result in solving the problem of thetransformation of the nonlinear control system, described by state equations, into the observer form andfinding the necessary conditions for the possibility of such transformation [2]. The deduction of thenecessary conditions involves frequent application of the differentiation of the composite functions withrespect to time argument and taking the partial derivatives of the differentiated composite function withrespect to one of the variables or its derivatives. The goal of this paper is to present and prove a formula(commutation rule) which allows changing the order of taking the total higher-order derivatives of thecomposite function and their partial derivatives with respect to one of the variables or its derivative. Sincethis result may be useful in the solution of other nonlinear control problems, we propose it as a separatecontribution. For example, probably the main result, provided in the paper, can be applied for observerdesign in [4].

The main tool for proving the theorem (commutation rule) is Mishkov’s theorem [3] which provides theexplicit formula for the nth derivative of a composite function with a vector argument. Mishkov’s formulais a straightforward generalization of the well-known Faa di Bruno’s formula [1] which gives an explicitequation for the nth-order derivative of the composite function with a scalar argument.

∗ Corresponding author, [email protected]

Page 154: Transformation of Nonlinear State Equations into Observer Form

196 Proceedings of the Estonian Academy of Sciences, 2010, 59, 3, 195–200

2. MAIN RESULT

The following theorem shows how the partial derivative of the total derivative of the composite function canbe expressed through the total derivative of the partial derivative of this function. The composite functionwith the vector argument with an arbitrary number of components is considered.

Theorem 1. Assume that f (ξ1(t),ξ2(t), . . . ,ξr(t)) is a composite function for which derivatives up to ordera + b are defined; then

∂ ( f (ξ1(t),ξ2(t), . . . ,ξr(t)))(a+b)

∂ξ (a)l (t)

= Cba+b

(∂ f (ξ1(t),ξ2(t), . . . ,ξr(t))

∂ξl(t)

)(b)

,

where l = 1,2, . . . ,r, Cba+b is the binomial coefficient and a,b are nonnegative integers.

Proof. In the proof we omit the variable t of ξi(t), i.e. use instead of ξi(t) a shorter notation ξi, which allowsthe bulky formulas to be written in a more compact form. According to Mishkov’s formula [3], the (a+b)thderivative of the composite function with a vector argument can be computed by the formula

( f (ξ1,ξ2, . . . ,ξr))(a+b) = ∑

0∑1

∑2· · · ∑

a+b

(a + b)!a+b

∏i=1

(i!)kia+b

∏i=1

r

∏j=1

qi, j!

∂ k f∂ξ p1

1 ∂ξ p22 · · ·∂ξ pr

r

a+b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j, (1)

where the respective sums are taken over all nonnegative integer solutions of the Diophantine equations asfollows:

∑0→ k1 + 2k2 + · · ·+(a + b)ka+b = a + b, (2)

∑i→ qi,1 + qi,2 + · · ·+ qi,r = ki, (3)

for i = 1, . . . ,a + b, and p j and k on the right-hand side of (1) satisfy the relations

p j = q1, j + q2, j + · · ·+ qa+b, j, j = 1,2, . . . ,r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ ka+b.(4)

In taking the partial derivative of sum (1) with respect to ξ (a)l , only addends of sum (1) with qa,l 6= 0

will matter. Denote by h(·) and g(·) the parts of sum (1) corresponding to qa,l 6= 0 and qa,l = 0, respectively;then

( f (ξ1,ξ2, . . . ,ξr))(a+b) = h(·)+ g(·). (5)

Note that it is possible to state that h(·) equals the expression in the right-hand side of (1) where, in additionto the restrictions expressed by (2), (3), and (4), the condition qa,l 6= 0 has to be satisfied. Note also that ifqa,l 6= 0, then ka 6= 0. We prove the formula separately for the cases a> b and a ≤ b.

First, consider the case when a > b. Since ka 6= 0 and qa,l 6= 0, in order to satisfy (2) and (3), thefollowing must hold

ka = 1, ki = 0, b< i ≤ a + b, i 6= a,

qa,l = 1, qa, j = 0, j = 1,2, . . . ,r, j 6= l,

qi, j = 0, b< i ≤ a + b, i 6= a, j = 1,2, . . . ,r.

(6)

As a result, under the condition qa,l 6= 0, one can rewrite (2) as follows:

∑0

→ k1 + 2k2 + · · ·+ bkb = b, (7)

and in (3), now i = 1, . . . ,b.

Page 155: Transformation of Nonlinear State Equations into Observer Form

V. Kaparin and U. Kotta: Differentiation of a composite function 197

Using (6) and changing the notations, taking p j = p j for j = 1,2, . . . ,r, j 6= l, pl = pl −1 and k = k−1,equations (4) may be rewritten as

p j = q1, j + q2, j + · · ·+ qb, j, j = 1,2, . . . ,r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ kb.(8)

Note also that under conditions (6)

a+b

∏i=1

(i!)ki = a!b

∏i=1

(i!)ki ,a+b

∏i=1

r

∏j=1

qi, j! =b

∏i=1

r

∏j=1

qi, j!,

anda+b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j= ξ (a)

l

b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j.

Taking into account the above equations and the fact that the partial derivative of g(·) in (5) with respect toξ (a)

l equals 0, we obtain, in new variables p j and k:

∂ ( f (ξ1,ξ2, . . . ,ξr))(a+b)

∂ξ (a)l

= ∑0

∑1

∑2· · ·∑

b

(a + b)!

a!b

∏i=1

(i!)kib

∏i=1

r

∏j=1

qi, j!

× ∂ k+1 f

∂ξ p11 · · ·∂ξ pl−1

l−1 ∂ξ pl+1l ∂ξ pl+1

l+1 · · ·∂ξ prr

b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j. (9)

Note that in (9) all the partial derivatives with respect to ξ j are of order p j except with respect to ξl whenthe order of the partial derivative is pl + 1. In order to unify the orders, denote f := ∂ f

∂ξl. We also multiply

the right-hand side of equation (9) by b!b! to obtain

∂ ( f (ξ1,ξ2, . . . ,ξr))(a+b)

∂ξ (a)l

= Cba+b ∑

0∑1

∑2· · ·∑

b

b!b

∏i=1

(i!)kib

∏i=1

r

∏j=1

qi, j!

× ∂ k f

∂ξ p11 ∂ξ p2

2 · · ·∂ξ prr

b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j. (10)

It is easy to observe now that, according to Mishkov’s formula, the sum on the right-hand side of (10)together with the conditions (3) for i = 1, . . . ,b, (7) and (8), is the bth-order total derivative of the function f .Consequently,

∂ ( f (ξ1,ξ2, . . . ,ξr))(a+b)

∂ξ (a)l

= Cba+b f (b) = Cb

a+b

(∂ f (ξ1,ξ2, . . . ,ξr)

∂ξl

)(b)

. (11)

Second, consider the case a ≤ b. Since ka 6= 0, in order to satisfy (2) and (3), the following must hold:

ki = 0, b< i ≤ a + b,

qi, j = 0, b< i ≤ a + b, j = 1,2, . . . ,r.(12)

Page 156: Transformation of Nonlinear State Equations into Observer Form

198 Proceedings of the Estonian Academy of Sciences, 2010, 59, 3, 195–200

Therefore, it is possible to rewrite condition (2) as

∑0

→ k1 + · · ·+(a−1)ka−1 + a(ka −1)+ (a + 1)ka+1 + · · ·+ bkb = b, (13)

and in (3), now i = 1, . . . ,b.Again, in order to unify the notation in (13), one can take ki = ki for i = 1,2, . . . ,b, i 6= a and ka = ka−1.

This allows (13) to be rewritten as follows:

∑0

→ k1 + 2k2 + · · ·+ bkb = b, (14)

and (3) as

∑i

→ qi,1 + qi,2 + · · ·+ qi,r = ki, i = 1, . . . ,b, i 6= a,

∑a

→ qa,1 + qa,2 + · · ·+ qa,r = ka + 1.(15)

Since qa,l ≥ 1, we can denote qa,l := qa,l − 1 and the remaining q’s as qi, j := qi, j. Thereby (15) can berewritten in unified notation as

∑i

→ qi,1 + qi,2 + · · ·+ qi,r = ki, (16)

for i = 1, . . . ,b. Changing notations, taking p j = p j for j = 1,2, . . . ,r, j 6= l, pl = pl − 1 and k = k− 1,equations (4) may be rewritten as

p j = q1, j + q2, j + · · ·+ qb, j, j = 1,2, . . . ,r,

k = p1 + p2 + · · ·+ pr = k1 + k2 + · · ·+ kb.(17)

Taking (12) into account and using variables ki and qi, j, we have

a+b

∏i=1

(i!)ki = a!b

∏i=1

(i!)ki ,a+b

∏i=1

r

∏j=1

qi, j! = (qa,l + 1)b

∏i=1

r

∏j=1

qi, j!,

a+b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j

=(

ξ (1)l

)q1,l · · ·(

ξ (a−1)l

)qa−1,l(

ξ (a)l

)qa,l+1(ξ (a+1)

l

)qa+1,l · · ·(

ξ (b)l

)qb,l b

∏i=1

r

∏j=1j 6=l

(ξ (i)

j

)qi, j.

(18)

Furthermore, on the basis of (18) and the fact that the partial derivative of g(·) in (5) with respect to ξ (a)l

equals 0, we obtain, in new variables p j and k

∂ ( f (ξ1,ξ2, . . . ,ξr))(a+b)

∂ξ (a)l

= ∑0

∑1

∑2· · ·∑

b

(a + b)!

a!b

∏i=1

(i!)kib

∏i=1

r

∏j=1

qi, j!

× ∂ k+1 f

∂ξ p11 · · ·∂ξ pl−1

l−1 ∂ξ pl+1l ∂ξ pl+1

l+1 · · ·∂ξ prr

b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j.

Page 157: Transformation of Nonlinear State Equations into Observer Form

V. Kaparin and U. Kotta: Differentiation of a composite function 199

Like in case a > b we denote f = ∂ f∂ξl

and multiply the right-hand side of the equality given above by b!b! to

obtain

∂ ( f (ξ1,ξ2, . . . ,ξr))(a+b)

∂ξ (a)l

= Cba+b ∑

0∑1

∑2· · ·∑

b

b!b

∏i=1

(i!)kib

∏i=1

r

∏j=1

qi, j!

× ∂ k f

∂ξ p11 ,∂ξ p2

2 · · ·∂ξ prr

b

∏i=1

r

∏j=1

(ξ (i)

j

)qi, j. (19)

Again it is not difficult to observe that according to Mishkov’s formula, the sum on the right-hand sideof equation (19), together with the conditions (14), (16), and (17), is the bth-order total derivative of thefunction f . Consequently, (11) holds again, and this completes the proof.

Some useful corollaries of the theorem are given below.

Corollary 1. Under the assumptions of Theorem 1

∂ ( f (ξ1(t),ξ2(t), . . . ,ξr(t)))(m+n)

∂ξl(t)=

(∂ ( f (ξ1(t),ξ2(t), . . . ,ξr(t)))

(m)

∂ξl(t)

)(n)

,

where m and n are nonnegative integers.

Corollary 2. Under the assumptions of Theorem 1

∂ ( f (ξ1(t),ξ2(t), . . . ,ξr(t)))(n)

∂ξl(t)=

(∂ f (ξ1(t),ξ2(t), . . . ,ξr(t))

∂ξl(t)

)(n)

,

where n is a nonnegative integer.

3. EXAMPLE

The example in this section illustrates the statement of Theorem 1. Consider the composite functionf (x(t),y(t)) and assume that we need to take the partial derivative with respect to y(t) of the 3rd-ordertotal derivative of the function. Direct computations yield

∂ ( f (x(t),y(t)))(3)

∂ y(t)= 3

∂ 2 f (x(t),y(t))∂y(t)2 y(t)+ 3

∂ 2 f (x(t),y(t))∂x(t)∂y(t)

x(t).

On the other hand, taking the partial derivative of f (x(t),y(t)) with respect to y(t) and the total derivative ofthe obtained result, one gets

(∂ f (x(t),y(t))

∂y(t)

)(1)

=∂ 2 f (x(t),y(t))

∂y(t)2 y(t)+∂ 2 f (x(t),y(t))

∂x(t)∂y(t)x(t).

Multiplying both sides of the above equality by C13 , we have

C13

(∂ f (x(t),y(t))

∂y(t)

)(1)

= 3∂ 2 f (x(t),y(t))

∂y(t)2 y(t)+ 3∂ 2 f (x(t),y(t))

∂x(t)∂y(t)x(t).

It is not difficult to check that

∂ ( f (x(t),y(t)))(3)

∂ y(t)= C1

3

(∂ f (x(t),y(t))

∂y(t)

)(1)

.

Page 158: Transformation of Nonlinear State Equations into Observer Form

200 Proceedings of the Estonian Academy of Sciences, 2010, 59, 3, 195–200

4. CONCLUSIONS

The paper shows how to commute the operations of taking higher-order total and partial derivatives ofcomposite functions with vector arguments. The formula, provided in the paper, may be applicable not onlyin differential calculus. As already mentioned in the introduction, the theorem was a useful tool in derivingsolvability conditions of a certain problem in nonlinear control theory. With high probability it may beuseful in dealing with other nonlinear control problems where the derivatives of the composite functionswith a vector argument often show up.

ACKNOWLEDGEMENT

This work was partially supported by the Estonian Science Foundation through grant No. 6922.

REFERENCES

1. Johnson, W. P. The curious history of Faa di Bruno’s Formula. Amer. Math. Monthly, 2002, 109, 217–234.2. Kaparin, V. and Kotta, U. Necessary and sufficient conditions in terms of differential-forms for linearization of the state

equations up to input-output injections. UKACC International Conference on CONTROL 2010 7–10 September, Coventry,UK (submitted for publication).

3. Mishkov, R. L. Generalization of the formula of Faa di Bruno for a composite function with a vector argument. Internat. J.Math. Math. Sci., 2000, 24(7), 481–491.

4. Mishkov, R. L. Nonlinear observer design by reduced generalized observer canonical form. Internat. J. Control, 2005, 78,172–185.

Teoreem vektorargumendiga liitfunktsiooni diferentseerimisest

Vadim Kaparin ja Ulle Kotta

On toestatud teoreem vektorargumendiga liitfunktsiooni diferentseerimise kohta. Teoreemis esitatud valemnaitab, kuidas liitfunktsiooni taistuletise osatuletist saab valjendada tema osatuletise taistuletise kaudu.Teoreemi toestus pohineb Mishkovi valemil, mis omakorda kujutab endast tuntud Faa di Bruno valemiuldistust vektorargumendiga liitfunktsiooni jaoks. Naide illustreerib teoreetilist tulemust.

Page 159: Transformation of Nonlinear State Equations into Observer Form

Publication 4

V. Kaparin and U. Kotta. Extended observer form for discrete-time non-linear control systems. In The 9th International Conference on Control andAutomation, pages 507–512, Santiago, Chile, December 2011.

159

Page 160: Transformation of Nonlinear State Equations into Observer Form
Page 161: Transformation of Nonlinear State Equations into Observer Form

Extended Observer Form for Discrete-Time Nonlinear Control Systems

Vadim Kaparin and Ulle Kotta

Abstract— The paper addresses the problem of transform-ing the discrete-time single-input single-output nonlinear stateequations into the extended observer form, which, besides theinput and output, also depends on a finite number of theirpast values. The simple necessary and sufficient conditions forthe existence of the extended coordinate change and the outputtransformation, allowing to solve the problem, are formulatedin terms of differential one-forms, associated with the input-output equation, corresponding to the state equations.

I. INTRODUCTIONThe design of nonlinear observer with linearizable error

dynamics is relatively easy if the state equations are in theobserver form. Conditions for the existence of the observerform for nonlinear control system using the state coordinatetransformation are known to be quite restrictive, motivatingvarious extensions to enlarge the class of systems for whichobservers with linear error dynamics can be constructed [1],[2], [3], [4], [5]. In [1], [4], [5], for instance, the matrix A inthe observer form is allowed to depend on control variableu. In [4] both the state and the output transformations areallowed and [5] extends the results of [4] into the multi-inputmulti-output case. In [2], [3] and [6] the past measurementsof the system output are used in the extended observer form.In [3] and [6] the problem of transforming the discrete-time system without inputs into the extended observer formwas studied, which consists of an observable linear systeminterconnected with a nonlinearity, which, besides the outputof the system, also depends on a finite number of itspast values. The paper [3] provides the conditions underwhich a given single-output discrete-time system may betransformed into the extended observer form by means of anextended coordinate change (i.e. a coordinate transformationthat depends on the state of the system and a finite number ofpast output values) and an output transformation. A corollaryof the results considered in [7] is that when the numberof past output values equals n − 1 (where n is the dimen-sion of the state space of the system under consideration),the system can be always transformed into the extendedobserver form, provided the system under consideration isstrongly observable. The necessary and sufficient conditionsfor transformation of the input dependent system into theextended observer form were presented in [8], where certainpartial derivatives related to the input-output equation havebeen computed, and the function, necessary for the outputtransformation, is easy to find from the conditions.

This work was supported by the Estonian Governmental funding projectno. SF0140018s08.

V. Kaparin and U. Kotta is with the Institute of Cybernetics at TallinnUniversity of Technology, Akadeemia tee 21, 12618, Tallinn, [email protected], [email protected]

The purpose of this paper is to present the simple intrinsicnecessary and sufficient conditions for the existence ofthe extended coordinate change and output transformation,allowing to transform the discrete-time single-input single-output nonlinear state equations into the extended observerform. The conditions are formulated in terms of differentialone-forms, associated with the input-output equation, corre-sponding to the state equations. The results generalize andsimplify those stated in [3].

The advantages of the new conditions are the following.First, unlike those in [3], our conditions do not requirethe calculation of the Lie derivatives of the dual vectorfields, corresponding to certain one-forms, as well as theinterior products of the one-forms and the vector fields.Moreover, in order to simplify the result, we suggest to usethe different set of one-forms, which contain less terms thanthose in [3]. As a consequence, our conditions are easier tocheck and implement. Second, the conditions given in [3]are applicable only for the systems without inputs, but theconditions given in the present paper work also in the caseof input dependent system. Although the input dependentsystem was considered in [2], the extended observer formpresented in [2] differs from the one, addressed in thispaper. In contrast with [2] our approach does not require,in general, the maximal buffer of past measurements ofthe system output. Finally, likewise [3], we investigate theproblem through the sophisticated language of differentialgeometry, and therefore, in comparison with [8], our resultsare intrinsic, not equation dependent.

II. PROBLEM STATEMENT AND PRELIMINARIESConsider a single-input single-output nonlinear discrete-

time system, described by the state equations

x+ = F (x, u)y = h(x), (1)

where x ∈ X ⊂ Rn is the state, u ∈ U ⊂ R is the input, y ∈Y ⊂ R is the output, F : X × U → X and h : X → Y areassumed to be real meromorphic functions. Notice that in thispaper we use symbols +, − and [i] instead of the argumentst+1, t−1 and t+i, respectively, to simplify the exposition, sox+ := x(t+1), x− := x(t−1), x := x(t) and x[i] = x(t+i).Our purpose is to find the conditions under which there existthe extended coordinate change Φ(·, ξ1, . . . , ξ2N+1) : X →X , parameterized by (ξ1, . . . , ξ2N+1) and defined by

z = Φ(x, y−, . . . , y[−N ], u, u−, . . . , u[−N ]) (2)

and the output transformation p : Y → Y , defined by

Y = p(y) (3)

2011 9th IEEE International Conference onControl and Automation (ICCA)Santiago, Chile, December 19-21, 2011

TueB2.6

978-1-4577-1476-4/11/$26.00 ©2011 IEEE 507

Page 162: Transformation of Nonlinear State Equations into Observer Form

such that in the new state and output coordinates the stateequations (1) are in the following extended observer form1

with buffer N ∈ 1, . . . , n− 2

z+1 = z2 + ϕ1(Y, . . . , Y [−N ], u, . . . , u[−N ])

...z+n−N = zn−N+1+

+ϕn−N (Y, . . . , Y [−N ], u, . . . , u[−N ])z+n−N+1 = zn−N+2

...z+n−1 = zn

z+n = 0Y = z1,

(4)

where the forward shift of the coordinates z depends besidesthe input u and the output y also on their past valuesu−, . . . , u[−N ], and y−, . . . , y[−N ].

Note that the state equations (1) can be transformed intothe extended observer form (4) with the extended coordinatechange (2) and output transformation (3), if the input-output(i/o) equation

y[n] = f(y, . . . , y[n−1], u, . . . , u[n−1]), (5)

corresponding to (1), can be written in the form [8]

p f =n−N∑l=1

ϕl(Y [n−l], . . . , Y [n−l−N ],

u[n−l], . . . , u[n−l−N ]). (6)

If (6) holds, one can define the new state variables as follows:

z1 = Y,

zi = Y [i−1] −k∑

j=1

ϕj(Y [i−1−j], . . . , Y [i−1−j−N ],

u[i−1−j], . . . , u[i−1−j−N ]), i = 2, . . . , n,

(7)

where

k =

i− 1, for i = 2, . . . , n−N + 1,n−N, for i = n−N + 2, . . . , n,

that leads to the new state equations in the extended observerform (4).

III. NECESSARY AND SUFFICIENT CONDITIONS

Define for i = 0, . . . , n− 1 the differential one-forms

ωi =∂f

∂y[i]dy[i] +

∂f

∂u[i]du[i] (8)

and codistributions

Ωi = spanωk,du[k] | k 6= i,

k = max(0, i−N), . . . ,min(i+N,n− 1). (9)

1The extended observer form without inputs was considered earlier in[3].

For example, if N = 1 and n = 5, then

Ω0 = span ω1,du+ ,Ω1 = span ω0,du, ω2,du++ ,Ω2 = span

ω1,du+, ω3,du[3]

,

Ω3 = spanω2,du++, ω4,du[4]

,

Ω4 = spanω3,du[3]

.

The minimal number of independent generators of a codis-tribution is called its dimension. For a one form ω and ar-dimensional codistribution Ω = spanυ1, . . . , υr, we willsay that

dω ≡ 0 mod Ω

if and only if

dω ∧ υ1 ∧ · · · ∧ υr = 0.

Moreover, define the composite functions of ϕl and p

ϕl(y, . . . , y[−N ], u, . . . , u[−N ]) :=

ϕl(Y, . . . , Y [−N ], u, . . . , u[−N ])

and the vector argument

νl :=[y[n−l], . . . , y[n−l−N ], u[n−l], . . . , u[n−l−N ]

](10)

for l = 1, . . . , n−N . In order to prove our main result, thatis Theorem 1 below, we need the following lemma, the proofof which is given in the Appendix.

Lemma 1: For functions ϕ1(ν1), . . . , ϕn−N (νn−N ) thefollowing holds

n−N∑l=1

dϕl(νl) =n−1∑i=0

Ai (ϕn−N−l(νn−N−l)) , (11)

where

Ai (ϕn−N−l(νn−N−l)) =

=min(i,n−1−N)∑l=max(0,i−N)

(∂ϕn−N−l(νn−N−l)

∂y[i]dy[i]+

+∂ϕn−N−l(νn−N−l)

∂u[i]du[i]

). (12)

Now we are ready to prove our main result.Theorem 1: The system (1) can be transformed by the

extended coordinate change (2) and the output transformation(3) into the extended observer form (4) with buffer N ∈1, . . . , n− 2 if and only if for all 0 ≤ i, j ≤ n− 1

dωi ∧ ωj + dωj ∧ ωi ≡≡ 0 mod ((Ωi + Ωj) \ span ωi, ωj) . (13)

Proof: Necessity. Assume that system (1) is trans-formable into the extended observer form (4). Consequently,the i/o equation (5), corresponding to (1), can be rewrittenin the form (6), the total differential of which reads as

(p′ f)df = (p′ f)n−1∑i=0

ωi =n−N∑l=1

dϕl(νl),

TueB2.6

508

Page 163: Transformation of Nonlinear State Equations into Observer Form

where p′ f means the derivative of the function p evaluatedat f . According to Lemma 1,

(p′ f)n−1∑i=0

ωi =n−1∑i=0

Ai (ϕn−N−l(νn−N−l)) . (14)

From (14) we have for i = 0, . . . , n− 1

(p′ f)ωi = Ai (ϕn−N−l(νn−N−l)) . (15)

Consider the functions ϕn−N−l (νn−N−l) for l = max(0, i−N), . . . ,min(i, n−1−N). Taking into account (10) for newindex n−N − l, one can write

dϕn−N−l (νn−N−l) =N∑

s=0

(∂ϕn−N−l(νn−N−l)

∂y[l+s]dy[l+s]+

+∂ϕn−N−l(νn−N−l)

∂u[l+s]du[l+s]

). (16)

Note, that the codistribution Ωi, defined by (9), can berewritten as

Ωi = spandy[k+s],du[k+s] |k = max(0, i−N), . . . ,min(i, n− 1−N),

s = 0, . . . , N \ spandy[i],du[i]. (17)

As a consequence, taking into account that the indices l in(16) and k in (17) have the same ranges, from (16) oneobtains

dϕn−N−l(νn−N−l) ≡(∂ϕn−N−l(νn−N−l)

∂y[i]dy[i]+

+∂ϕn−N−l(νn−N−l)

∂u[i]du[i]

)mod Ωi, (18)

which, by (15) and (12), leads to

(p′ f)ωi ≡min(i,n−1−N)∑l=max(0,i−N)

dϕn−N−l(νn−N−l) mod Ωi.

Applying the exterior derivative to the above equality yields

d(p′ f) ∧ ωi + (p′ f)dωi ≡ 0 mod Ωi.

From the above relationship we obtain

dωi ≡ −d ln |p′ f | ∧ ωi mod Ωi

for i = 0, . . . , n− 1. Obviously,

dωi ∧ ωj ≡ −d ln |p′ f |∧∧ ωi ∧ ωj mod ((Ωi + Ωj) \ span ωi, ωj) ,

using which, one gets for i, j = 0, . . . , n− 1

dωi ∧ ωj + dωj ∧ ωi ≡ −d ln |p′ f | ∧ (ωi ∧ ωj++ ωj ∧ ωi) mod ((Ωi + Ωj) \ span ωi, ωj) . (19)

Since the wedge product is anticommutative, the expressionin the parentheses on the right-hand side of (19) is alwayszero, which yields (13).

Sufficiency. The proof consists of three steps. On the firststep (i) we will show that under the conditions (13) thereexist functions ψl(νl) for l = 1, . . . , n−N , such that

ωi ≡ λi

min(i,n−1−N)∑l=max(0,i−N)

dψn−N−l(νn−N−l) mod Ωi (20)

for i = 0, . . . , n − 1. On the second step (ii) we will provethat for all ωi there exists the common integrating factor λ,and finally, on the last step (iii) we will show that from steps(i) and (ii) follows the existence of output transformation psuch that its composition with f yields (6).

(i) Note that in case i = j (13) yields

dωi ∧ ωi ≡ 0 mod Ωi, (21)

from which follows the existence of the integrating factorλi(y, . . . , y[n−1], u, . . . , u[n−1]) such that

ωi ≡ λidψi(νi) mod Ωi (22)

for some functions2 ψi(νi), where νi is the vector argumentwhich consists of the elements of the set

y[k], u[k] | k =

max(0, i − N), . . . ,min(i + N,n − 1)

. Note that, takinginto account (8) and (9), according to (22),

1λiωi =

(∂ψi(νi)∂y[i]

dy[i] +∂ψi(νi)∂u[i]

du[i]

). (23)

Choose the function ζ(y, . . . , y[n−1], u, . . . , u[n−1]) such that

∂ζ

∂y[i]dy[i]+

∂ζ

∂u[i]du[i] =

∂ψi(νi)∂y[i]

dy[i]+∂ψi(νi)∂u[i]

du[i] (24)

for i = 1, . . . , n− 1, and consequentlyn−1∑i=0

1λiωi = dζ.

As we will show in the sequel, the function ζ really existand can be represented in the form

ζ =n−N∑l=1

ψl(νl) (25)

for some functions ψ1(ν1), . . . , ψn−N (νn−N ). Note that (25)holds, if the following second order partial derivatives of ζequal zero,

∂2ζ

∂y[i]∂y[j]= 0,

∂2ζ

∂u[i]∂u[j]= 0,

∂2ζ

∂u[i]∂y[j]= 0,

∂2ζ

∂y[i]∂u[j]= 0

(26)

for i, j = 0, . . . , n − 1, except for j 6= max(0, i −N), . . . ,min(i + N,n − 1). Our next purpose is to prove

2The functions ψi(νi) should not be confused with the functions ψl(νl)in (20). The number of functions ψi(νi) is n, but the number of functionsψl(νl) is n−N . Moreover, the vector arguments νi and νl have differentnumber of elements.

TueB2.6

509

Page 164: Transformation of Nonlinear State Equations into Observer Form

that (26) holds. Denoting αi = 1/λi and taking into account(23), (24) and (8), one can rewrite (26) as follows

∂αi

∂y[j]

∂f

∂y[i]+ αi

∂2f

∂y[i]∂y[j]= 0,

∂αi

∂u[j]

∂f

∂u[i]+ αi

∂2f

∂u[i]∂u[j]= 0,

∂αi

∂y[j]

∂f

∂u[i]+ αi

∂2f

∂u[i]∂y[j]= 0,

∂αi

∂u[j]

∂f

∂y[i]+ αi

∂2f

∂y[i]∂u[j]= 0.

(27)

Expressing ∂αi/∂y[j] from the first equation of (27) and

substituting it into the third equation, and also expressing∂αi/∂u

[j] from the second equation and substituting it intothe fourth equation, one obtains

∂f

∂y[i]

∂2f

∂u[i]∂y[j]− ∂f

∂u[i]

∂2f

∂y[i]∂y[j]= 0,

∂f

∂u[i]

∂2f

∂y[i]∂u[j]− ∂f

∂y[i]

∂2f

∂u[i]∂u[j]= 0.

It is easy to verify that under the conditions (21) the aboveequalities are satisfied and, as a consequence, the function ζreally exists, satisfying (25), which yields

n−1∑i=0

1λiωi =

n−N∑l=1

dψl(νl), (28)

from which, using Lemma 1 and (18) for functions ψl(νl),one obtains (20).

(ii) Take the exterior derivative of (20) and then apply (20)as follows:

min(i,n−1−N)∑l=max(0,i−N)

dψn−N−l(νn−N−l) ≡1λiωi mod Ωi.

This yields

dωi ≡ dλi ∧min(i,n−1−N)∑l=max(0,i−N)

dψn−N−l(νn−N−l) ≡

≡ d ln |λi| ∧ ωi mod Ωi.

By the conditions (13):

(d ln |λi| − d ln |λj |) ∧ ωi ∧ ωj ≡≡ 0 mod ((Ωi + Ωj) \ span ωi, ωj) ,

from which follows

λi = λj = λ

for i, j = 0, . . . , n− 1.(iii) From (i) and (ii) follows that one can find functions

ϕ1(ν1), . . . , ϕn−N (νn−N ), for which there exists the com-mon integrating factor λ such that (28) can be rewritten as

n−1∑i=0

ωi = λ

n−N∑l=1

dϕl(νl). (29)

Since df is a total differential, its exterior derivative

d2f =n−1∑i=0

dωi = dλ ∧n−N∑l=1

dϕl(νl) = d ln |λ|n−1∑i=0

ωi =

= d ln |λ| ∧ df

equals zero and by Cartan’s Lemma d ln |λ| ∈ span df.Therefore, λ can be represented as a composite function of fand some other function. We will show below that the choiceλ = 1/(p′ f) guarantees, that the composite function p fhas the form (6). First, we prove that p′ f is the commonintegrating factor for all one-forms ωi, that is

(p′ f)ωi ≡min(i,n−1−N)∑l=max(0,i−N)

dϕn−N−l(νn−N−l) mod Ωi.

Taking the exterior derivative of (p′ f)ωi, one obtains

d [(p′ f)ωi] ≡ (p′′ f)df ∧ ωi++ (p′ f)dωi ≡ (p′′ f)df ∧ ωi+

+ (p′ f)d ln |λ| ∧ ωi ≡ (p′′ f)df ∧ ωi−− d (ln |p′ f |) (p′ f) ∧ ωi ≡ 0 mod Ωi,

meaning the functions ϕl(νl) really exist. Finally, multiply-ing df by p′ f and taking into account (29), one obtains

d(p f) = (p′ f)df = (p′ f)n−1∑i=0

ωi =n−N∑l=1

dϕl(νl),

yielding (6).

IV. EXAMPLE

Examine the following state equations:

x+1 = x2ux+

2 = x3

x+3 = (x1 + x2u+ u) (x2u+ x3) (x1u+ x4)x+

4 = x1 + uy = x1.

(30)

The i/o equation, corresponding to (30), is

y[4] =(y + u+ y+u+

) (y+ + u+ + y++

)u[3]·

·(y++ +

y[3]

u++

). (31)

Note, that once the system is transformable into the extendedobserver form with some arbitrary buffer N it is also trans-formable into the extended observer forms with the buffersthat are greater than N . Therefore, our goal is to find the leastbuffer N , for which the system (30) is transformable into theextended observer form (4). Consequently, it is reasonable to

TueB2.6

510

Page 165: Transformation of Nonlinear State Equations into Observer Form

start with N = 1. Compute, according to (8),

ω0 =(y+ + u+ + y++

)u[3]

(y++ +

y[3]

u++

· (dy + du) ,

ω1 = u[3]

(y++ +

y[3]

u++

·((y + u+ u+

(u+ + 2y+ + y++

))dy++

+(y + u+ y+

(y+ + 2u+ + y++

))du+

),

ω2 = u[3](y + u+ u+y+

·

((y+ + u+ + 2y++ +

y[3]

u++

)dy++−

((y+ + u+ + y++

) y[3]

(u++)2

)du++

),

ω3 =(y + u+ y+u+) (u+ + y+ + y++)

u++·

·(u[3]dy[3] +

(y++u++ + y[3]

)du[3]

)and, according to (9),

Ω0 = spanω1, u+,

Ω1 = spanω0, u, ω2, u++,

Ω2 = spanω1, u+, ω3, u

[3],Ω3 = spanω2, u

++.

To verify whether the system (30) is transformable into theextended observer form (4), one has to check the validity ofconditions (13), which in case n = 4 and N = 1 are thefollowing:

dω0 ∧ ω0 ≡ 0 mod Ω0,dω1 ∧ ω1 ≡ 0 mod Ω1,dω2 ∧ ω2 ≡ 0 mod Ω2,dω3 ∧ ω3 ≡ 0 mod Ω3,dω0 ∧ ω1 + dω1 ∧ ω0 ≡

≡ 0 mod span du,du+, ω2,du++ ,dω0 ∧ ω2 + dω2 ∧ ω0 ≡

≡ 0 mod spanω1,du+, ω3,du[3]

,

dω0 ∧ ω3 + dω3 ∧ ω0 ≡≡ 0 mod span ω1,du+, ω2,du++ ,

dω1 ∧ ω2 + dω2 ∧ ω1 ≡≡ 0 mod span

ω0,du,du+,du++, ω3,du[3]

,

dω1 ∧ ω3 + dω3 ∧ ω1 ≡≡ 0 mod span ω0,du, ω2,du++ ,

dω2 ∧ ω3 + dω3 ∧ ω2 ≡≡ 0 mod span

ω1,du+,du++,du[3]

.

By direct computations one can confirm that all aboveconditions are satisfied, which means that system (30) istransformable via the extended coordinate change and outputtransformation into the extended observer form with bufferN = 1. In this paper we do not provide the precise algorithmfor computation of the output transformation p(y) and thefunctions ϕ1, . . . , ϕn−N . However, in [9] such procedurewas given for the case N = 0 and we conjecture that itcan be extended for the case N > 0. Due to simplicity ofthis academic example one can intuitively choose the outputtransformation Y = p(y) = ln |y|, applying which to (31),

one obtains the i/o equation in the form (6):

Y [4] = ln∣∣∣eY + u+ eY +

u+∣∣∣+ ln

∣∣∣eY ++ u+ + eY ++

∣∣∣++ ln

∣∣∣u[3]∣∣∣+ ln

∣∣∣∣∣eY +++eY [3]

u++

∣∣∣∣∣ ,from which we have by simple inspection

ϕ1(ν1) = ln∣∣∣u[3]

∣∣∣+ ln

∣∣∣∣∣eY +++eY [3]

u++

∣∣∣∣∣ ,ϕ2(ν2) = ln

∣∣∣eY ++ u+ + eY ++

∣∣∣ ,ϕ3(ν3) = ln

∣∣∣eY + u+ eY +u+∣∣∣ .

Using (7) one can define the new state variables as follows:

z1 = Y,

z2 = Y + − ln |u| − ln∣∣∣∣eY − +

eY

u−

∣∣∣∣ ,z3 = Y ++ − ln

∣∣u+∣∣− ln

∣∣∣∣∣eY +eY +

u

∣∣∣∣∣−− ln

∣∣∣eY − + u− + eY∣∣∣ ,

z4 = Y [3] − ln∣∣u++

∣∣− ln

∣∣∣∣∣eY ++eY ++

u+

∣∣∣∣∣−− ln

∣∣∣eY + u+ eY +∣∣∣− ln

∣∣∣eY − + u− + eY u∣∣∣ ,

which, due to the output transformation Y = ln |y| and stateequations (30), can be rewritten as

z1 = ln |x1| ,z2 = ln |x2| − ln

∣∣∣x−1 +x1

u−

∣∣∣ ,z3 = ln |x3| − ln |x1 + x2| − ln

∣∣x−1 + u− + x1

∣∣ ,z4 = ln |x1u+ x4| − ln

∣∣x−1 + u− + x1u∣∣ ,

that leads to the new state equations in the extended observerform

z+1 = z2 + ln |u|+ ln

∣∣∣∣ez−1 +ez1

u−

∣∣∣∣z+2 = z3 + ln

∣∣∣ez−1 + u− + ez1

∣∣∣z+3 = z4 + ln

∣∣∣ez−1 + u− + ez1u∣∣∣

z+4 = 0Y = z1.

V. CONCLUSIONS

A. Conclusions

Alternative necessary and sufficient conditions were de-rived for the existence of the extended coordinate change andoutput transformation that allow to transform the discrete-time single-input single-output nonlinear state equations intothe extended observer form. The conditions are expressed interms of the exterior derivatives and the exterior productsof the one-forms, associated with the input-output equation,corresponding to the state equations, and, consequently, aredirectly computable whenever the input-output equation iseasily computable from the state equations. Moreover, incase when the buffer N = 0, our conditions coincide with

TueB2.6

511

Page 166: Transformation of Nonlinear State Equations into Observer Form

those in [9]. Thus, our result can be considered as the directgeneralization of the conditions derived in [9], not dependingon the past values of input and output.

B. Future Works

Although the paper suggests the solvability conditions, thatdo not depend on the existence of unknown functions, andare therefore easily checkable, likewise in [3], in this paperno procedure is given to compute the extended coordinatechange and the output transformation. The development ofthe constructive algorithm for transformation the systeminto the extended observer form remains a topic for futureresearch. Another future goal is to compare our resultswith the method developed in [10], where in order totransform the system into the generalized observer form,it is suggested to extend the system by means of the so-called dynamic auxiliary system of the specific linear form.It is our conjecture that the two approaches are closelyrelated, since, in principle, the past values of input and outputmay be possibly expressed in terms of system extensions.Moreover, we intend to find also the relationship betweenthe results of our approach and the conditions developedin [11] for transformation of the system into the output-scaled observer form. Both apply certain output functions,though in different purposes. Whereas we use the outputfunction to transform the original output into a new output,the paper [11] multiplies the right-hand side of equations ofthe observer form by this output function. However, note thatboth [10] and [11] address systems without control variable.

APPENDIX

A. Proof of Lemma 1

Proof: It is easy to observe that

n−N∑l=1

dϕl(νl) =n−N∑l=1

N∑s=0

(∂ϕl(νl)∂y[n−l−s]

dy[n−l−s]+

+∂ϕl(νl)∂u[n−l−s]

du[n−l−s]

).

Replace on the right-hand side of the above relationship thesummation index l by l+1. In this case l = 0, . . . , n−N−1and one can change the summation order

n−N∑l=1

N∑s=0

al,s =n−N−1∑

l=0

N∑s=0

an−N−l,N−s,

which yields

n−N∑l=1

dϕl(νl) =

=n−N−1∑

l=0

N∑s=0

(∂ϕn−N−l(νn−N−l)

∂y[l+s]dy[l+s]+

+∂ϕn−N−l(νn−N−l)

∂u[l+s]du[l+s]

).

Change the summation indices l and s for i = l + s andl. It is easy to see, that in this case i changes from 0 to

n − 1 and l = i − s. Since s = 0, . . . , N , the minimal andmaximal values of i − s are i − N and i, respectively. Onthe other hand, l changes from 0 to n − N − 1. Thus, wetake l = max(0, i−N), . . . ,min(i, n− 1−N). As a result,one can use the following relation:

n−N−1∑l=0

N∑s=0

al,l+s =n−1∑i=0

min(i,n−1−N)∑l=max(0,i−N)

al,i,

which leads to (11).

REFERENCES

[1] G. Besancon and G. Bornard, “Time-varying linearization up to outputinjection of discrete-time nonlinear systems,” in Proceedings of the 3rdEuropean Control Conference, vol. 4, Rome, Italy, 1995, pp. 3772–3766.

[2] T. Lilge, “On observer design for nonlinear discrete-time systems,”European Journal of Control, vol. 44, pp. 306–319, 1998.

[3] H. J. C. Huijberts, “On existence of extended observers for nonlineardisrete-time systems,” in New Directions in Nonlinear Observer De-sign, volume 244 of Lecture Notes in Contr. and Inf. Sci., H. Nijmeijerand T. I. Fossen, Eds. Springer-Verlag, 1999, vol. 244, pp. 73–92.

[4] C. Califano, S. Monaco, and D. Normand-Cyrot, “On the observerdesign in discrete-time,” System and Control Setters, vol. 49, pp. 255–265, 2003.

[5] ——, “Canonical observer forms for multi-output systems up tocoordinate and output transformtions in discrete time,” Automatica,vol. 45, pp. 2483–2490, 2009.

[6] H. J. C. Huijberts, H. Nijmeijer, and A. Y. Pogromsky, “Discrete-timeobservers and synchronization,” in Controlling chaos and bifurcationsin engineering systems, G. Chen, Ed. Boca Raton, Florida: CRCPress, 1999, pp. 439–456.

[7] H. J. C. Huijberts, T. Lilge, and H. Nijmeijer, “Synchronization andobservers for nonlinear discrete-time systems,” in European ControlConference, Karlsruhe, Germany, 1999.

[8] T. Mullari and U. Kotta, “Simple conditions for the existence ofan extended observer form,” in Proceedings of the 31st IASTEDInternational Conference on Modelling, Identification, and Control,Innsbruck, Austria, 2011, pp. 348–355.

[9] ——, “Transformation the nonlinear system into the observer form:simplification and extension,” European Journal of Control, vol. 15,no. 2, pp. 177–183, 2009.

[10] J. Zhang, G. Feng, and H. Xu, “Observer design for nonlinear discrete-time systems: Immersion and dynamic observer error linearizationtechniques,” Int. J. Robust Nonlinear Control, vol. 20, pp. 504–514,2010.

[11] W. Lin, J. Wei, and F. Wan, “Observer design for discrete-timenonlinear systems,” in Proceedings of the 47th IEEE Conference onDecision and Control, Cancun, Mexico, 2008, pp. 5402–5407.

TueB2.6

512

Page 167: Transformation of Nonlinear State Equations into Observer Form

Publication 5

V. Kaparin, U. Kotta, and T. Mullari. Extended Observer Form: Sim-ple Existence Conditions. International Journal of Control, 86(5):794–803,2013.

167

Page 168: Transformation of Nonlinear State Equations into Observer Form
Page 169: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control, 2013Vol. 86, No. 5, 794–803, http://dx.doi.org/10.1080/00207179.2012.760048

Extended observer form: simple existence conditions

V. Kaparin∗, U. Kotta and T. Mullari

Institute of Cybernetics at Tallinn University of Technology, Akadeemia tee 21, 12618 Tallinn, Estonia

(Received 18 May 2012; final version received 13 December 2012)

The paper focuses on the problem of transforming the discrete-time single-input single-output nonlinear state equations intothe extended observer form, which, besides the input and output, also depends on a finite number of their past values. Thesimple necessary and sufficient conditions for the existence of the extended coordinate change and the output transformation,allowing to solve the problem, are formulated in terms of certain partial derivatives, related to the input–output equation,corresponding to the state equations. Moreover, a certain algorithm for transforming the state equations into the observerform is proposed.

Keywords: nonlinear control system; discrete-time system; extended coordinate change; output transformation; extendedobserver form

1. Introduction

Conditions for transformability of the discrete-time nonlin-ear state equations by state coordinate transformation intothe observer (input–output injection) form are known to bevery restrictive, see Lee and Nam (1991). This has moti-vated to generalise the observer form in such a manner thatone may still construct the observers with linear error dy-namics (Besancon and Bornard, 1995; Califano, Monaco,and Normand-Cyrot, 2003, 2009; Lee and Hong, 2011;Lin and Wei, 2009; Zhang, Feng, and Xu, 2010) and/orto allow additionally output transformation. For example,in Besancon and Bornard (1995), Califano et al. (2003),Califano et al. (2009) and Lee and Hong (2011), the matrixA in the observer form is allowed to depend on control vari-able u. In Besancon and Bornard (1995), only state transfor-mation was allowed whereas Califano et al. (2003) and Leeand Hong (2011) allow the output transformation also. Thepaper by Califano et al. (2009) extends the results to multi-input multi-output case. The paper by Lin and Wei (2009)relies on the time-scaling technique, which means that theright-hand side of the standard observer form is multipliedby a single-variable function, depending on the output vari-able, and the paper only allows the state transformation.A method called dynamic observer error linearisation wasprovided in Zhang, Feng, and Xu (2010), where in order totransform the system into the generalised observer form,it is suggested to augment the system by means of the so-called dynamic auxiliary system of the specific linear form.In some other papers, the output injection term is allowedto depend, besides the current output value, also on a finitenumber of its past values, reducing that way the restrictions

∗Corresponding author. Email: [email protected]

on possibility to construct such transformations (Huijberts,1999; Huijberts, Lilge, and Nijmeijer, 1999). A corollaryof the results, obtained in Huijberts et al. (1999), is thatwhen the number of past output values equals n − 1 (wheren is denoted the state dimension), the system can always betransformed into the extended observer form, provided thesystem under consideration is strongly observable.

We build up from this result and are looking for neces-sary and sufficient conditions for transformability the stateequations into the extended observer form with buffer N

less than n − 1. In the problem addressed, we allow boththe state and output transformations. The paper may be un-derstood as an extension of the paper by Huijberts (1999)where the systems without control were considered. How-ever, our conditions do not mimic those in Huijberts (1999),relying on the sophisticated language of differential geom-etry. Checking the conditions of Huijberts (1999) requirescalculation of the exterior derivatives and wedge productsof certain one forms, associated with the system, as well asthe Lie derivatives of the corresponding dual vector fields,which leads to complicated computations. In comparison,our conditions are extremely easy to check. Once certainpartial derivatives, related to the input–output (i/o) equationare found, the conditions may be checked practically by di-rect inspection. That way, our conditions are similar in spiritto those in Lee and Hong (2011) except that they considerthe buffer-free case and instead of relying on the input–output equation of system, transform the state equationsinto the specific canonical form. Nevertheless, the com-putation of the state transformation, leading to the above-mentioned canonical form, is not easier than finding the

C© 2013 Taylor & Francis

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 170: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control 795

corresponding i/o equation. Furthermore, the output trans-formation may also be found from our conditions, unlike inthe paper by Kaparin and Kotta (2011), where the simple in-trinsic necessary and sufficient solvability conditions wereformulated in terms of differential one-forms, associatedwith the i/o equation, corresponding to the state equations.Though very simple, the results of this paper have the disad-vantages of not being intrinsic. Another point to mention isthat our results assume (but so do those in Huijberts (1999)and Huijberts et al. (1999)) that the i/o equation, corre-sponding to the state equations, can be easily found from thestate equations. Under observability assumption, one mayalways find the i/o equations, at least locally, using the stateelimination algorithm. For example, The Nonlinear ControlWebpage (a webMathematica-based application developedin the Institute of Cybernetics at Tallinn University of Tech-nology) provides the tool which, using the state eliminationalgorithm, finds the i/o equations starting from the stateequations. The site is available at www.nlcontrol.ioc.ee anddoes not require Mathematica software to be installed in acomputer. However, the global state elimination problem isa difficult task that results, in general, an implicit i/o equa-tion accompanied with the number of inequations, see Diop(1991).

Preliminary results of the paper were published in con-ference article Mullari and Kotta (2011), where the condi-tions were proved only for the special case N = 1. More-over, the sufficient conditions presented in Mullari andKotta (2011) are valid only for N satisfying certain re-lation regarding the system order and/or the highest and thelowest shifts of input and output in system i/o equation. Inthis paper, by means of the additional conditions, the nec-essary and sufficient conditions are given and proved for anarbitrary buffer N . Finally, this paper presents the algorithmfor computation of the extended coordinate change and theoutput transformation, necessary for transformation of thestate equations into the extended observer form.

2. Preliminaries and problem statement

Consider a single-input single-output nonlinear discrete-time system, described by the state equations

x[1] = F (x, u)

y = h(x), (1)

where x ∈ X ⊂ Rn is the state, u ∈ U ⊂ R is the input,y ∈ Y ⊂ R is the output, F : X × U → X and h : X → Yare assumed to be real meromorphic functions. To simplifythe exposition of the paper, we use symbol [i] instead ofthe argument t + i for i ∈ Z, except for i = 0 when weomit symbol [0], so x := x(t) and x[i] = x(t + i). Our pur-pose is to find the conditions under which there exists theextended coordinate change (·, ξ1, . . . , ξ2N+1) : X → X ,

parameterised by (ξ1, . . . , ξ2N+1) and defined by

z = (x, y[−1], . . . , y[−N], u, u[−1], . . . , u[−N]

)(2)

and the output transformation p : Y → Y , defined by

Y = p(y), (3)

such that in the new state and output coordinates the stateequations (1) are in the following extended observer formwith buffer N ∈ 1, . . . , n − 2:

z[1]1 = z2 + ϕ1

(Y, . . . , Y [−N], u, . . . , u[−N]

)...

z[1]n−N = zn−N+1 + ϕn−N

(Y, . . . , Y [−N], u, . . . , u[−N]

)z

[1]n−N+1 = zn−N+2

...

z[1]n−1 = zn

z[1]n = 0

Y = z1, (4)

where the forward shift of the coordinates z depends be-sides the input u and the output y also on their past valuesu[−1], . . . , u[−N], and y[−1], . . . , y[−N]. This form withoutinputs was considered earlier in Huijberts (1999). We donot address the case when the buffer N = n − 1 since, asshown by Huijberts, the system can always be transformedinto such form (even without the output transformation),whenever the system under consideration is strongly ob-servable. The proof of Huijberts carries over to systemsdepending on control too. Therefore, it is obvious that theresults of this paper address only the case n ≥ 3.

Note that the state equations (1) can be transformed intothe extended observer form (4) with the extended coordi-nate change (2) and the output transformation (3), if theinput–output (i/o) equation,

y[n] = f(y, . . . , y[n−1], u, . . . , u[n−1]

), (5)

corresponding to Equation (1), can be written in the form,

p f =n−N∑l=1

ϕl

(Y [n−l], . . . , Y [n−l−N],

u[n−l], . . . , u[n−l−N]). (6)

If Equation (6) holds, one can define the new state variablesas follows:

z1 = Y,

zi = Y [i−1] −min(i−1,n−N)∑

j=1

ϕj

(Y [i−1−j ], . . . , Y [i−1−j−N],

u[i−1−j ], . . . , u[i−1−j−N]), i = 2, . . . , n, (7)

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 171: Transformation of Nonlinear State Equations into Observer Form

796 V. Kaparin et al.

that leads to the new state equations in the extended ob-server form (4).

3. Necessary and sufficient conditions

To present the theorem and the proof in a more compactform, denote by α the variable, which can be either u or y.Then by β is denoted u, if α is y and y if α is u. Moreover,denote by jα and jα , respectively, the highest and the lowestshifts of α the function f depends on. For example, iff(y, y[2], y[3], u[1], u[2], u[4]

), then jy = 0, ju = 1, jy = 3

and ju = 4.

Theorem 3.1: The system (1) can be transformed by theextended coordinate change (2) and the output transforma-tion (3) into the extended observer form (4) with bufferN ∈ 1, . . . , n − 2 if and only if there exists a func-tion S

(y, . . . , y[n−1], u, . . . , u[n−1]

)such that for i, j =

0, . . . , n − 1, j = i − N, . . . , i + N ,

∂α[j ]

(ln

∣∣∣∣ ∂f

∂α[i]

∣∣∣∣)

= ∂

∂α[j ]

(ln

∣∣∣∣ ∂f

∂β[i]

∣∣∣∣)

=:∂S

∂α[j ], (8)

and in case 2N ≥ jα − jα the function S satisfies for r =jα − N, . . . , jα + N and an arbitrary j = r the followingadditional conditions

∂S

∂α[j ]

∂f

∂α[r]

(∂f

∂α[j ]

)−1

= ∂S

∂β[j ]

∂f

∂α[r]

(∂f

∂β[j ]

)−1

=:∂S

∂α[r]. (9)

Remark 1: Note that in the case 2N < jα − jα the condi-tions (8) are both necessary and sufficient, but in the case2N ≥ jα − jα they are only necessary, and for sufficiency1

one needs the additional conditions (9) (which in the case2N < jα − jα hold by (8)).

Remark 2: Suppose that for some q = 0, . . . , n − 1 thefunction f (and S, as a consequence) does not depend onthe variable y[q] (or u[q]). In this case either the left-handside or the middle part in the corresponding condition ofEquation (8) should be omitted, depending on whether theα[i] or β[i] stands for y[q] (or u[q]). Thus, for instance, in thecase of system without input one obtains the conditions (8)where α = y and middle part is excluded.

Remark 3: If the conditions (8) are satisfied it is enough tocheck the conditions (9) only for one j = r . However, onehas to choose (if possible) j such that the function f (andS, as a consequence) depends on both y[j ] and u[j ]. If sucha choice is not possible, then either the left-hand side or themiddle part of Equation (9) should be omitted, dependingon whether α[j ] or β[j ] stands for the variable, the functionf does not depend on. Thus, for instance, in the case of

system without input, one obtains the conditions (9) whereα = y and the middle part is excluded.

Remark 4: Taking N = 0, the conditions (8) (andEquation (9) for the special case jα = jα) can be usedto check whether the system is transformable into theobserver form without the buffer (see the different resultsin Huijberts (1999) for systems without input and Mullariand Kotta (2009) for input dependent systems).

To prove Theorem 3.1, we need the following lemma,the proof of which is given in Appendix.

Lemma 3.2: From conditions (8) (and in the case 2N ≥jα − jα (9)) follows

dS ∧ df = 0. (10)

Now we are ready to prove the main result.

Proof:Necessity. Assume that system (1) is transformable

into the extended observer form (4). Consequently, the i/oEquation (5), corresponding to Equation (1), can be rewrit-ten in the form (6), yielding that the following second-orderpartial derivatives of the composition p f equal to zerofor i, j = 0, . . . , n − 1, j = i − N, . . . , i + N ,

∂2 (p f )

∂α[i]∂α[j ]= ∂ (p′ f )

∂α[j ]

∂f

∂α[i]+ (

p′ f) ∂2f

∂α[i]∂α[j ]= 0,

∂2 (p f )

∂β[i]∂α[j ]= ∂ (p′ f )

∂α[j ]

∂f

∂β[i]

+ (p′ f) ∂2f

∂β[i]∂α[j ]= 0, (11)

where p′ f means the derivative of the function p

evaluated at f . Dividing the first equation of Equation(11) by (p′ f )

(∂f /∂α[i]

)and the second equation by

(p′ f )(∂f /∂β[i]

)yields

1

p′ f

∂ (p′ f )

∂α[j ]+ ∂2f

∂α[i]∂α[j ]

(∂f

∂α[i]

)−1

= ∂ ln∣∣p′ f

∣∣∂α[j ]

+ ∂

∂α[j ]

(ln

∣∣∣∣ ∂f

∂α[i]

∣∣∣∣)

= 0,

1

p′ f

∂ (p′ f )

∂α[j ]+ ∂2f

∂β[i]∂α[j ]

(∂f

∂β[i]

)−1

= ∂ ln∣∣p′ f

∣∣∂α[j ]

+ ∂

∂α[j ]

(ln

∣∣∣∣ ∂f

∂β[i]

∣∣∣∣)

= 0.

The above equalities suggest that the function

S = − ln |p′ f | (12)

will make the conditions (8) and (9) to hold.Sufficiency. Suppose the conditions (8) and (9) are sat-

isfied. Then, according to Lemma 3.2, dS ∧ df = 0, which

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 172: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control 797

by Cartan’s Lemma yields dS ∈ span df . Therefore, thefunction S can be represented as a composition of somefunction with f , i.e. S = f . We will show belowthat the choice S = − ln |p′ f | guarantees that the equal-ities (11) are satisfied, meaning that the composition p f

has the form (6). Replacing the function S in Equation (8)by the expression − ln

∣∣p′ f∣∣, one obtains

∂α[j ]

(ln

∣∣∣∣ ∂f

∂α[i]

∣∣∣∣)

= −∂ ln∣∣p′ f

∣∣∂α[j ]

,

∂α[j ]

(ln

∣∣∣∣ ∂f

∂β[i]

∣∣∣∣)

= −∂ ln∣∣p′ f

∣∣∂α[j ]

.

By the derivative of the logarithmic function, one canrewrite the above equalities as(

∂f

∂α[i]

)−1∂2f

∂α[i]∂α[j ]+ 1

p′ f

∂ (p′ f )

∂α[j ]= 0,

(∂f

∂β[i]

)−1∂2f

∂α[i]∂β[j ]+ 1

p′ f

∂ (p′ f )

∂α[j ]= 0.

Multiplying the first equality by (p′ f )(∂f /∂α[i]

)and the

second by (p′ f )(∂f /∂β[i]

)yields (11). This completes

the proof.

4. Matrix representation of the conditions

In this section, we represent the conditions (8) and (9) in thematrix form, which makes them easier to check by directinspection.

Denote by Aα,α and Aα,β the n × n matrices, whoseelements are defined by (i = 0, . . . , n − 1 pointing to therow and j = 0, . . . , n − 1 to the column)

aα,αi,j =

⎧⎪⎪⎨⎪⎪⎩

0, j = i − N, . . . , i + N, orf does not depend on α[i],

∂α[j ]

(ln

∣∣∣∣ ∂f

∂α[i]

∣∣∣∣)

, otherwise,

and

aα,β

i,j =

⎧⎪⎪⎨⎪⎪⎩

0, j = i − N, . . . , i + N, orf does not depend on β[i],

∂α[j ]

(ln

∣∣∣∣ ∂f

∂β[i]

∣∣∣∣)

, otherwise,

respectively. Thus, the matrices contain zeros on the maindiagonal and N diagonals above and below it. Moreover, iffor some i = 0, . . . , n − 1 the function f does not dependon the variable y[i] or u[i], then the corresponding elementsof the matrices are zeros too. Also denote the 2n × 2n

matrix as

A =(

Ay,y Au,y

Ay,u Au,u

). (13)

Proposition 4.1: If the conditions (8) hold, then in everycolumn of the matrix A all non-zero elements are equal.

Remark 5: Note that if the function f depends on thevariables y[q] or u[q] for all q = 0, . . . , n − 1, then Aα,α =Aα,β .

If in every column of the matrix A all non-zero ele-ments are equal, one needs to check whether there exists afunction S such that for j = 0, . . . , n − 1 the non-zero ele-ments of the (j + 1)th and (j + 1 + n)th columns are equalto ∂S/∂y[j ] and ∂S/∂u[j ], respectively. In the case 2N ≥j − j (where j := max(jy, ju) and j := min(jy, ju)), thematrix A does not contain non-zero elements in the(j − N + 1)th up to (j + N + 1)th and (j − N + n + 1)thup to (j + N + n + 1)th columns. As a consequence, theconditions for corresponding partial derivatives of S are ab-sent. The additional conditions (9) compensate this aspect.To represent the conditions (9) in the matrix form, denote byBα,α and Bα,β the (2N + jα − jα + 1) × 1 vectors whoseelements are defined by

bα,αr = ∂S

∂α[j ]

∂f

∂α[r]

(∂f

∂α[j ]

)−1

, r = jα − N, . . . , jα + N,

bα,βr = ∂S

∂β[j ]

∂f

∂α[r]

(∂f

∂β[j ]

)−1

, r = jα − N, . . . , jα + N,

respectively, where j should be chosen according toRemark 3 and ∂S/∂α[j ], ∂S/∂β[j ] can be calculated fromEquation (8).

Proposition 4.2: If the conditions (9) hold, then Bα,α =Bα,β .

If Bα,α = Bα,β and the function S satisfying the condi-tions (8) exists, additionally one needs to check whether S

is such that ∂S/∂α[r] is equal to bα,αr (and b

α,βr ).

5. Algorithm

Denote the composite functions of ϕl(Y, . . . , Y [−N],

u, . . . , u[−N]) and p as

ϕl

(y, . . . , y[−N], u, . . . , u[−N]

):= ϕl

(p(y), . . . , (p(y))[−N] , u, . . . , u[−N]

). (14)

To present the algorithm for transformation the system(1) into the extended observer form (4), we need the follow-ing proposition, the proof of which is given in Appendix.

Proposition 5.1: If the i/o Equation (5) can be rewritten inthe form (6), then

(p′ f

) ∂f

∂α[i]=

min(i,n−1−N)∑l=max(0,i−N)

∂ϕn−N−l

(y[l+N], . . . , y[l], u[l+N], . . . , u[l]

)∂α[i]

(15)

for i = 0, . . . , n − 1.

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 173: Transformation of Nonlinear State Equations into Observer Form

798 V. Kaparin et al.

The algorithm is applied to the i/o representation (5) ofthe system (1).

Algorithm 1.

Step 1: Check for every column of the matrix A

whether the non-zero elements are equal. For 2N ≥jα − jα also check whether Bα,α = Bα,β (if bothmatrices can be constructed, see Remark 3). If theabove conditions are not satisfied, the problem is notsolvable; stop.

Step 2: From Equations (8) and (9) construct the par-tial differential equation and solve it with respect toS. If the solution does not exist, the problem is notsolvable; stop.

Step 3: Using Equation (12), find p′ f = e−S . Then,to find the replacement rule y[−1] = φ(·), shift back-wards both sides of the i/o equation (5) a sufficientnumber of times until the variable y[−1] will ap-pear and solve the obtained equation with respectto y[−1] (If the function f in Equation (5) does notdepend on y and its time shifts, then the replace-ment rule should be found for u[−1] in the similarmanner). Next, shift backwards p′ f and apply thereplacement rule to the obtained expression. Iterat-ing this procedure n − 1 times, we obtain p′ y,from which the output transformation can be com-puted as Y = p y = ∫

(p′ y) dy.Step 4: Solve, if possible, the system of par-

tial differential equations (15) to find the func-tions ϕ1, . . . , ϕn−N , from which the functionsϕ1, . . . , ϕn−N can be obtained applying the outputtransformation.

Step 5: Using the output transformation (3) and thefunctions ϕ1, . . . , ϕn−N , construct the system in theextended observer form (4).

6. Example

To illustrate the above theory, examine the followingexample:

x[1]1 = x1 + x2 − x3

x[1]2 = −x1 − x2

x[1]3 = − x1x2

ux3 + x1x2x4

x[1]4 = − u (x2)2

(x1 + x2) (x1 + x2 − x3)− x5

u(16)

x[1]5 = x2 − u (x1 + x2)

x3

y = x2.

The i/o equation, corresponding to Equation (16), is

y[5] = u[1]y[2](y[2] + y[3]

, (17)

where to simplify the exposition we denoted λ :=(u[1])2(y[1])2 + (y + uy[1])(y[2] + y[3]) + u[1]u[2]y[4]. Notethat we are interested in the least buffer N , for which thesystem (16) is transformable into the extended observerform (4). Constructing the matrix A for N = 0 and N = 1,one can verify that in both cases the non-zero elements ofevery column of the matrix are not equal. First, this meansthat the system (16) is not transformable into the standardobserver form (this fact can also be checked by meansof the conditions presented in Mullari and Kotta (2009)).Second, the system is not transformable into the extendedobserver form with buffer N = 1. Next, take N = 2 andfollow algorithm.

Step 1. Using Equation (13), one obtains

A =

⎛⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎜⎝

0 0 0 sy3 sy4 0 0 0 0 00 0 0 0 sy4 0 0 0 0 00 0 0 0 0 0 0 0 0 0

sy0 0 0 0 0 su0 0 0 0 0sy0 sy1 0 0 0 su0 su1 0 0 00 0 0 sy3 sy4 0 0 0 0 00 0 0 0 sy4 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0

⎞⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎟⎠

,

where we use the notations

sy0 := −2(y[2] + y[3])

λ,

sy1 := −2(2(u[1]

)2y[1] + u

(y[2] + y[3]

) )λ

,

sy3 := 2u[1](u[1]

(y[1]

)2 + u[2]y[4])

(y[2] + y[3]

,

sy4 := −2u[1]u[2]

λ,

su0 := −2y[1](y[2] + y[3]

,

su1 := −2( (

y + uy[1]) (

y[2] + y[3])− (

u[1])2 (

y[1])2 )

u[1]λ.

Since jy = 0, jy = 4, ju = 0, ju = 2 and N = 2, both in-

equalities 2N ≥ jy − jy and 2N ≥ ju − ju are satisfiedand, as a consequence, one has to check the additionalconditions. Choosing j according to Remark 3, one obtains

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 174: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control 799

the following matrices:

By,y = By,u = ( sy2 ), Bu,u = Bu,y =⎛⎝ su0

su1

su2

⎞⎠, (18)

where

sy2 := 2

(1

y[2] + y[3]+ 1

y[2]− y + uy[1]

λ

),

su2 := −2u[1]y[4]

λ.

Taking into consideration Equation (18) and the fact thatall the non-zero elements of every column of the matrix A

are equal, one may conclude that the necessary conditionsfor transformation of the system (16) into the extendedobserver form with buffer N = 2 are satisfied.

Step 2. The differential equation

4∑j=0

∂S

∂y[j ]+

2∑j=0

∂S

∂u[j ]=

4∑j=0

syj +2∑

j=0

suj

yields

S = 2(ln u[1] + ln y[2] + ln

(y[2] + y[3]

)− ln λ). (19)

Step 3. Using Equation (19), compute

p′ f = e−S = λ2

(u[1])2(y[2])2(y[2] + y[3])2.

Shifting both sides of the i/o equation (17) backwards thefollowing replacement rule can be obtained for y[−1]:

y[−1] = uy[1]

y[4]− u2y2 + uu[1]y[3]

y[1] + y[2]− u[−1]y,

applying which to (p′ f )[−1] one obtains

(p′ f )[−1] = 1

(y[4])2. (20)

Shifting the equality (20) backwards four times leads top′ y = 1/y2 yielding the output transformation,

Y = p y =∫

(p′ y)dy = − 1

y. (21)

Step 4. The system of partial differential equations (15)for n = 5, N = 2 and α being both y and u reads as

− 1

u[1]y[2]= ∂ϕ3

∂y

−2(u[1]

)2y[1] + u

(y[2] + y[3]

)u[1]y[2]

(y[2] + y[3]

) = ∂ϕ3

∂y[1]+ ∂ϕ2

∂y[1]

y + uy[1]

u[1](y[2]

)2+(2y[2] + y[3]

) (u[1]

(y[1]

)2 + u[2]y[4])

(y[2]

)2 (y[2] + y[3]

)2

= ∂ϕ3

∂y[2]+ ∂ϕ2

∂y[2]+ ∂ϕ1

∂y[2]

u[1](y[1]

)2 + u[2]y[4]

y[2](y[2] + y[3]

)2= ∂ϕ2

∂y[3]+ ∂ϕ1

∂y[3]

− u[2]

y[2](y[2] + y[3]

) = ∂ϕ1

∂y[4]

− y[1]

u[1]y[2]= ∂ϕ3

∂u

y + uy[1](u[1]

)2y[2]

−(y[1]

)2

y[2](y[2] + y[3]

) = ∂ϕ3

∂u[1]+ ∂ϕ2

∂u[1]

− y[4]

y[2](y[2] + y[3]

) = ∂ϕ3

∂u[2]+ ∂ϕ2

∂u[2]+ ∂ϕ1

∂u[2],

leading to

ϕ1 = − y[4]u[2](y[3] + y[2]

)y[2]

, ϕ2 = −(y[1]

)2u[1](

y[3] + y[2])y[2]

,

ϕ3 = −y + y[1]u

y[2]u[1],

which, due to the output transformation (21), yields

ϕ1 =(Y [2]

)2Y [3]u[2](

Y [2] + Y [3])Y [4]

, ϕ2 = −(Y [2]

)2Y [3]u[1](

Y [1])2 (

Y [2] + Y [3]) ,

ϕ3 = −(Yu + Y [1]

)Y [2]

YY [1]u[1].

Step 5. Using Equation (7), one can define the new statevariables

z1 = Y,

z2 = Y [1] −(Y [−2]

)2Y [−1]u[−2](

Y [−2] + Y [−1])Y

,

z3 = Y [2] −(Y [−1]

)2Yu[−1](

Y [−1] + Y)Y [1]

+(Y [−1]

)2Yu[−2](

Y [−2])2 (

Y [−1] + Y) ,

z4 = Y [3] − (Y )2 Y [1]u(Y + Y [1]

)Y [2]

+ (Y )2 Y [1]u[−1](Y [−1]

)2 (Y + Y [1]

)+(Y [−2]u[−2] + Y [−1]

)Y

Y [−2]Y [−1]u[−1],

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 175: Transformation of Nonlinear State Equations into Observer Form

800 V. Kaparin et al.

z5 = Y [4] −(Y [1]

)2Y [2]u[1](

Y [1] + Y [2])Y [3]

+(Y [1]

)2Y [2]u

(Y )2 (Y [1] + Y [2])

+(Y [−1]u[−1] + Y

)Y [1]

Y [−1]Yu,

which, due to the output transformation (21) and state equa-tions (16), can be rewritten as

z1 = − 1

x2,

z2 = x2u[−2](

x[−2]2

)2 + x[−2]2 x

[−1]2

+ 1

x1 + x2,

z3 = − 1

x3+(x

[−2]2

)2u[−2] − u[−1] (x1 + x2)

x[−1]2

(x

[−1]2 + x2

) ,

z4 = x4 −(x

[−1]2

)2u[−1]

x1x2+ x

[−2]2 + x

[−1]2 u[−2]

x2u[−1],

z5 = −x[−1]2 − x2u

[−1] − x1x5 − x2x5

u (x1 + x2),

that leads to the state equations in the extended observerform

z[1]1 = z2 +

(z

[−2]1

)2z

[−1]1 u[−2](

z[−2]1 + z

[−1]1

)z1

z[1]2 = z3 −

(z

[−1]1

)2z1u

[−2](z

[−2]1

)2(z

[−1]1 + z1

)z

[1]3 = z4 − z1

(z

[−1]1 + z

[−2]1 u[−2]

)z

[−1]1 z

[−2]1 u[−1]

z[1]4 = z5

z[1]5 = 0

Y = z1.

7. Conclusions

The paper provides simple necessary and sufficient condi-tions for the existence of the extended coordinate changeand the output transformation that allow to transformthe discrete-time single-input single-output nonlinear stateequations into the extended observer form with buffer. Theconditions are expressed in terms of certain partial deriva-tives and due to the matrix representation can be checkedalmost by direct inspection. Moreover, the matrix represen-tation simplifies the determination of the minimal value ofthe buffer (i.e. the minimal number of past values of theinput and output), necessary for transformation. The algo-rithm is also given for transformation of the state equations

into the extended observer form that requires the solutionof certain partial differential equations for the computationof the output transformation and the extended coordinatechange. Although the proposed approach is beneficial fordiscrete-time systems, it cannot be applied in the case ofcontinuous-time systems, due to the structural differencesbetween the shift operator and the time derivative.

AcknowledgementsThe work was supported by the European Union through theEuropean Regional Development Fund and the target fundingproject SF0140018s08 of Estonian Ministry of Education andResearch.

Note

1. Without going into details, one can say that in order to provesufficiency we need ∂S

∂α[j ] for all j = jα, . . . , jα . However,we should take into account that in conditions (8) index jdepends on index i and buffer N . This dependency impliesthat j = jα, . . . , jα − N − 1, jα + N + 1, . . . , jα , which in

the case 2N < jα − jα yields that j runs from jα to jα without

interruption, whereas in the case 2N ≥ jα − jα there is a gap

between jα − N − 1 and jα + N + 1. To compensate this gapwe use Equation (9) in addition to Equation (8) (in otherwords, index r complements j ).

ReferencesBesancon, G., & Bornard, G. (1995). ‘Time-varying linearization

up to output injection of discrete-time nonlinear systems’, inProceedings of the 3rd European Control Conference, Rome,Italy, Vol. 4, pp. 3772–3776.

Califano, C., Monaco, S., & Normand-Cyrot, D. (2003). On theobserver design in discrete-time. Systems and Control Letters,49(4), 255–265.

Califano, C., Monaco, S., & Normand-Cyrot, D. (2009). Canonicalobserver forms for multi-output systems up to coordinate andoutput transformtions in discrete time. Automatica, 45(11),2483–2490.

Diop, S. (1991). Elimination in control theory. Mathematics ofControl, Signals, and Systems, 4(1), 17–32.

Huijberts, H. J. C. (1999). On existence of extended observersfor nonlinear discrete-time systems. In H. Nijmeijer & T. I.Fossen (Eds.), New Directions in Nonlinear Observer Design,volume 244 of Lecture Notes in Control and Information Sci-ences. (pp. 73–92). London: Springer-Verlag.

Huijberts, H. J. C., Lilge, T.,& Nijmeijer, H. (1999).‘Syn-chronization and observers for nonlinear discrete time sys-tems’, in European Control Conference. (pp. 1–9). Karlsruhe,Germany.

Kaparin, V., & Kotta, U. (2011). ‘Extended observer form fordiscrete-time nonlinear control systems’, in Proceedingsof the 9th IEEE International Conference on Control andAutomation, , Santiago, Chile, pp. 507–512.

Lee, H. G., & Hong, J. M. (2011). Algebraic conditions for stateequivalence to a discrete-time nonlinear observer canonicalform. Systems and Control Letters, 60(9), 756–762.

Lee, W., & Nam, K. (1991). Observer design for autonomousdiscrete-time nonlinear systems. Systems and Control Letters,17(1), 49–58.

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 176: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control 801

Lin, W., & Wei, J. (2009). Observer design for a class of discrete-time nonlinear systems. European Journal of Control, 15(2),184–193.

Mullari, T., & Kotta, U. (2009). Transformation the nonlinearsystem into the observer form: Simplification and extension.European Journal of Control, 15(2), 177–183.

Mullari, T., & Kotta, U. (2011). Simple conditions for theexistence of an extended observer form. In M. Hamza(Ed.), Proceedings of the 31st IASTED International Con-ference on Modelling, Identification, and Control (pp.348–355). Innsbruck, Austria, 14–16 February. ACTAPress.

Zhang, J., Feng, G., & Xu, H. (2010), Observer design for non-linear discrete-time systems: Immersion and dynamic ob-server error linearization techniques. International Journal ofRobust Nonlinear Control, 20(5), 504–514.

Appendix 1: Proof of Lemma 3.2

The proof of lemma, though in principle not very difficult,is technically rather demanding. Figure A1 helps to followthe separate steps of the proof. First, let us mention that thecases 2N < jα − jα and 2N ≥ jα − jα are treated separately.The reason is that conditions (9) are unnecessary for the firstcase.

Second, in the proof we will use the matrices (tables) withelements k,l (k pointing to the column and l to the row), where kand l may take values from different sets of non-negative integernumbers at different steps of the proof. However, unlike the typicalcase when the matrix element is a number or expression, here itscontent is two relations (equalities). We do not manipulate withthose relations, the role of the matrix is just to keep the track ofthe steps in the proof.

Evaluating the total differentials dS and df as well as theirwedge product dS ∧ df in Equation (10), it is easy to observeby direct inspection, after tedious calculations, that the condition(10) is equivalent to the equalities (A1),

∂S

∂α[k]

∂f

∂α[l]= ∂S

∂α[l]

∂f

∂α[k],

∂S

∂α[k]

∂f

∂β [l]= ∂S

∂β [l]

∂f

∂α[k], (A1)

where k, l = jα, . . . , jα . Recall that here, like in the assumptions(8) and (9) of the lemma, the variable α denotes either inputu or output y, and by β is denoted the other variable; i.e.if α = y, then β = u and vice versa, if α = u, then β = y.These notations help to make the presentation more compact2.Now, the content of k,l is two respective equalities inEquation (A1).

Before turning to separate steps of the proof, we rewritethe assumptions (8) and (9) into the form, suitable for proof.Namely, the conditions (8) may be given as Equation (A2)by evaluation of the derivative of the logarithmic function andrewriting the conditions separately for α alone as well as for αand β,

∂S

∂α[j ]=(

∂f

∂α[i]

)−1∂2f

∂α[i]∂α[j ], (A2a)

∂S

∂α[j ]=(

∂f

∂β[i]

)−1∂2f

∂β[i]∂α[j ], (A2b)

where i, j = jα, . . . , jα , j = i − N, . . . , i + N . Taking into ac-count that α and β can be mutually interchanged, rewrite theconditions (9) as

∂S

∂α[j ]= ∂S

∂α[r]

∂f

∂α[j ]

(∂f

∂α[r]

)−1

, (A3a)

∂S

∂α[j ]= ∂S

∂β[r]

∂f

∂α[j ]

(∂f

∂β[r]

)−1

, (A3b)

where r = jα − N, . . . , jα + N .Now we turn to the separate steps of the proof. The sepa-

rate steps (i)–(ix) prove the relations in k,l for different setsof k and l values so that jointly the steps cover all necessaryk, l values in Equation (A1). In steps (i)–(iv), we will focuson the conditions (8) and prove that in the case 2N < jα − jα

they yield k,l for k, l = jα, . . . , jα . In steps (v)–(ix), we willprove that using the conditions (9), the outcome of the previousfour steps can be complemented to obtain the same result forthe case 2N ≥ jα − jα (see the boxes on the middle part of theFigure A1).

(i) Consider first (A2) for j = jα . Since j = i − N, . . . , i +N , now i = jα − N, . . . , jα + N and consequently i ≤ jα −N − 1. In Equation (A2a), denote index i by index kand compare successively the obtained equality first, withEquation (A2a) and second with Equation (A2b), where in bothequalities index i is replaced by index l. This yields

(∂f

∂α[k]

)−1∂2f

∂α[k]∂α[jα]=(

∂f

∂α[l]

)−1∂2f

∂α[l]∂α[jα],

(∂f

∂α[k]

)−1∂2f

∂α[k]∂α[jα]=(

∂f

∂β [l]

)−1∂2f

∂β [l]∂α[jα].

Divide both sides of both obtained equalities by (∂f/∂α[jα]) to get

(∂f

∂α[jα]

)−1∂2f

∂α[k]∂α[jα]∂f

∂α[l]=(

∂f

∂α[jα]

)−1∂2f

∂α[l]∂α[jα]∂f

∂α[k],

(∂f

∂α[jα]

)−1∂2f

∂α[k]∂α[jα]∂f

∂β [l]=(

∂f

∂α[jα]

)−1∂2f

∂β [l]∂α[jα]∂f

∂α[k].

Take the conditions (A2) for i = jα and in Equation (A2b) inter-change variables α and β mutually, which is eligible by the defi-nition of α and β. In this case, j ≤ jα − N − 1. Since j changesin the same range as indices k and l, one can apply Equation(A2a) for j := k to the left-hand sides of the above equalities, aswell as Equations (A2a) and (A2b) for j := l to the right-handsides of the first and second above equalities, respectively. Thisyields

k,l, k, l = jα, . . . , jα − N − 1. (A4)

(ii) Using Equation (A2a), rewrite the elements ofEquation (A4) for k = jα as follows:

(∂f

∂α[i]

)−1∂2f

∂α[i]∂α[jα]∂f

∂α[l]= ∂S

∂α[l]

(∂S

∂α[j ]

)−1∂2f

∂α[jα]∂α[j ],

(∂f

∂α[i]

)−1∂2f

∂α[i]∂α[jα]∂f

∂β [l]= ∂S

∂β [l]

(∂S

∂α[j ]

)−1∂2f

∂α[jα]∂α[j ],

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 177: Transformation of Nonlinear State Equations into Observer Form

802 V. Kaparin et al.

Figure A1. The main steps of the proof of Lemma 3.2.

where i, j = jα + N + 1, . . . , jα and l = jα, . . . , jα − N − 1.Denoting k := i = j , after simplification, we obtain

k,l,k = jα + N + 1, . . . , jα,

l = jα, . . . , jα − N − 1.(A5)

(iii) Next, consider Equation (A2) for j = jα . Since j = i −N, . . . , i + N , now i = jα − N, . . . , jα + N and consequentlyi ≥ jα + N + 1. Performing the analogical steps as in step (i),we obtain

k,l, k, l = jα + N + 1, . . . , jα. (A6)

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 178: Transformation of Nonlinear State Equations into Observer Form

International Journal of Control 803

(iv) Using Equation (A2a), rewrite the elements ofEquation (A6) for k = jα as follows:(

∂f

∂α[i]

)−1∂2f

∂α[i]∂α[jα]∂f

∂α[l]= ∂S

∂α[l]

(∂S

∂α[j ]

)−1∂2f

∂α[jα]∂α[j ],

(∂f

∂α[i]

)−1∂2f

∂α[i]∂α[jα]∂f

∂β [l]= ∂S

∂β [l]

(∂S

∂α[j ]

)−1∂2f

∂α[jα]∂α[j ],

where i, j = jα, . . . , jα − N − 1 and l = jα + N + 1, . . . , jα .Denotation k := i = j and simplification yield

k,l,k = jα, . . . , jα − N − 1,

l = jα + N + 1, . . . , jα.(A7)

It is not hard to verify (see Figure A1) that joining togethertables (A4)–(A7) yields

k,l,

⎧⎨⎩

k, l = jα, . . . , jα, if 2N < jα − jα,

k, l = jα, . . . , jα − N − 1,

jα + N + 1, . . . , jα, if 2N ≥ jα − jα.

(A8)

(v) Consider the case 2N ≥ jα − jα . In Equation (A3a) re-place index r by index k and compare successively the ob-tained equality first, with Equation (A3a) and second withEquation (A3b), where in both equalities index r is replaced byindex l. After simplification, we obtain

k,l, k, l = jα − N, . . . , jα + N. (A9)

(vi) Next take Equation (A3) for r = k, j = jα and perform thesimilar operations as in step (ii) to get

k,l,k = jα − N, . . . , jα + N,

l = jα + N + 1, . . . , jα.(A10)

(vii) Taking the elements of (A10) for l = jα by analogy with step(iv), one obtains

k,l,k = jα − N, . . . , jα + N,

l = jα, . . . , jα − N − 1.(A11)

(viii) Next, take Equation (A3) for r = l and perform the similaroperations as in step (ii) to get

k,l,k = jα + N + 1, . . . , jα,

l = jα − N, . . . , jα + N.(A12)

(ix) Taking the elements of Equation (A12) for k = jα by analogywith step (iv), one obtains

k,l,k = jα, . . . , jα − N − 1,

l = jα − N, . . . , jα + N.(A13)

As a result, complementary tables (A9)–(A13) allow to rewriteEquation (A8) as

k,l, k, l = jα, . . . , jα

for arbitrary N , which means that under conditions (8) and (9) theequalities (A1) are satisfied for k, l = jα, . . . , jα . This completesthe proof.

Appendix 2: Proof of Proposition 5.1

To make the exposition of the proof more compact, define fori = 0, . . . , n − 1 the differential one-forms

ωi = ∂f

∂y[i]dy[i] + ∂f

∂u[i]du[i], (B1)

and the vector argument

νl := [y[n−l], . . . , y[n−l−N], u[n−l], . . . , u[n−l−N]

](B2)

for l = 1, . . . , n − N . The proof of Proposition 5.1 relies on thefollowing lemma.

Lemma A.1 (Kaparin and Kotta, 2011): For functionsϕ1(ν1), . . . , ϕn−N (νn−N ) the following holds

n−N∑l=1

dϕl(νl) =n−1∑i=0

ϒi (ϕn−N−l(νn−N−l)) ,

where

ϒi (ϕn−N−l (νn−N−l)) =min(i,n−1−N)∑l=max(0,i−N)

(∂ϕn−N−l (νn−N−l)

∂y[i]dy[i]

+∂ϕn−N−l (νn−N−l)

∂u[i]du[i]

). (A16)

Now we are ready to prove Proposition 5.1.

Proof: The total differential of Equation (6) reads as

(p′ f )df = (p′ f )n−1∑i=0

ωi =n−N∑l=1

dϕl(νl),

which, according to Lemma B.1, can be rewritten as

(p′ f )n−1∑i=0

ωi =n−1∑i=0

ϒi (ϕn−N−l(νn−N−l)) . (A17)

From Equation (A17) we have for i = 0, . . . , n − 1,

(p′ f )ωi = ϒi (ϕn−N−l(νn−N−l)) . (A18)

Taking into account Equations (A14)–(A16), compare the coeffi-cients of dy[i] and du[i] at both sides of equality (A18), to obtainEquation (A15). This completes the proof.

Dow

nloa

ded

by [

Tal

linn

Uni

vers

ity o

f T

echn

olog

y] a

t 03:

25 2

4 M

ay 2

013

Page 179: Transformation of Nonlinear State Equations into Observer Form

Publication 6

V. Kaparin, U. Kotta, and M. Wyrwas, Observable Space of NonlinearControl System on Homogeneous Time Scale. Proceedings of the EstonianAcademy of Sciences, Accepted for publication.

179

Page 180: Transformation of Nonlinear State Equations into Observer Form
Page 181: Transformation of Nonlinear State Equations into Observer Form

Observable Space of Nonlinear Control System onHomogeneous Time Scale

Vadim Kaparin∗†, Ulle Kotta†, and Małgorzata Wyrwas‡

Abstract

The observability property of the nonlinear system, defined on homogeneoustime scale, is studied in the paper. The observability condition is provided throughthe notion of the observable space. Moreover, the observability filtration and ob-servability indices are defined and the decomposition of the system into the observ-able/unobservable subsystems is considered.Keywords: nonlinear control system, time scale, observability, observable space

1 INTRODUCTION

The theory of dynamical systems on time scales is a new and popular research area.From a modeling point of view, dynamical systems on time scales incorporate both thecontinuous- and discrete-time systems as the special cases, allowing that way to unify thestudy and consider the classical results as the special cases from the new theory. However,it is important to note that the discrete-time model in the time scale formalism is givenin terms of the difference operator, and not in terms of the more conventional shift op-erator as, for example, in [1], [2], [3], [13]. The difference-based models, often referredto as delta-domain models, are not completely new for description of the discrete-timesystems. They have been promoted during the last 20 years as the models closely linkedto the continuous-time systems, being less sensitive to round-off errors at higher samplingrates [12], [20].

The properties (including observability) of linear systems, defined on time scales, werestudied, for instance, in [5] and [11]. In [4] the algebraic formalism in terms of differen-tial one-forms has been developed for the study of nonlinear control systems defined onhomogeneous time scales and used later to study different problems like transfer equiv-alence, irreducibility, reduction and realization of nonlinear input-output equations [7],[17], [18]. The formalism constructs the vector space of differential one-forms, definedover the differential field of meromorphic functions, associated with the control system.

∗Corresponding author, [email protected]†Institute of Cybernetics at Tallinn University of Technology, Akadeemia tee 21, 12618, Tallinn, Esto-

nia; [email protected]‡Faculty of Computer Science, Department of Mathematics, Bialystok University of Technology,

Wiejska 45A, 15-351 Białystok, Poland; [email protected]

Page 182: Transformation of Nonlinear State Equations into Observer Form

In this paper we apply this formalism to define and construct the observable space fornonlinear control system on homogeneous time scale and define the observability indicesof the system. Moreover, we provide the necessary and sufficient condition to check thesingle-experiment observability1 of the system using the notion of the observable space.Finally, we discuss the possibility to decompose the system into observable/unobservablesubsystems.

The paper is organized as follows. The preliminary information about the time scalecalculus and algebraic framework is given in Section 2. The notions of observability,observability filtration, observable space and observability indices are provided in Sec-tion 3. In Section 4 the decomposition of the system into the observable/unobservablesubsystems is studied. Section 5 provides the brief conclusions.

2 PRELIMINARIES

2.1 Time Scale Calculus

For a general introduction to the time scale calculus, see [6]. Here we recall only thosenotions and facts that we need in this paper, in particular, the concept of delta derivativefor real function defined on homogeneous time scale.

A time scale T is an arbitrary nonempty closed subset of the set R of real numbers. Thestandard cases comprise the continuous time case, T = R, and the discrete time cases,T = Z and T = τZ for τ > 0. We assume that T is a topological space with the topologyinduced by R. In the definition of the delta derivative, the so-called forward jump operatorplays an important role. For t ∈ T the forward jump operator σ : T→ T is defined by

σ(t) := inf s ∈ T | s > t ,

while the backward jump operator ρ : T→ T is defined by

ρ(t) := sup s ∈ T | s < t .

In this definition we set in addition σ(maxT) = maxT if there exists a finite maxT.Obviously σ(t) is in T when t ∈ T. This is because of our assumption that T is a closedsubset of R. The graininess functions µ : T→ [0,∞) and ν : T→ [0,∞) are defined byµ(t) := σ(t)−t and ν(t) := t−ρ(t), respectively. A time scale T is called homogeneous2

if µ = ν ≡ const. Let Tκ denote truncated set consisting of T except for a possiblemaximal point such that ρ(maxT) < maxT.

Definition 2.1. Let f : T→ R and t ∈ Tκ. Delta derivative of f at t, denoted by f∆(t),is the real number (provided it exists) with the property that given any ε > 0 there is aneighborhood U = (t− δ, t+ δ) ∩ T (for some δ > 0) such that

|(f(σ(t))− f(s))− f∆(t)(σ(t)− s)| ≤ ε|σ(t)− s|1The multi-experiment observability of nonlinear control systems, defined on time scales, was studied

in [22].2Though the closed interval [a, b] is also an example of homogeneous time scale, we restrict our consid-

eration to infinite homogeneous time scales T = R and T = τZ for τ > 0.

2

Page 183: Transformation of Nonlinear State Equations into Observer Form

for all s ∈ U . Moreover, we say that f is delta differentiable on Tκ provided f∆(t) existsfor all t ∈ Tκ.

Example 2.2.

• If T = R, then µ(t) ≡ 0 and delta derivative is the ordinary time derivative.

• If T = τZ, τ > 0, then µ(t) = τ and f∆(t) = f(σ(t))−f(t)µ(t)

= f(t+τ)−f(t)τ

is thedifference operator.

For a function f : T → R one can define the 2nd delta derivative f [2] :=(f∆)∆

:

Tκ2 → R provided that f∆ is delta differentiable on Tκ2 := (Tκ)κ. In a similar mannerone defines higher order delta derivatives f [n] :=

(f [n−1]

)∆: Tκn → R, where Tκn =(

Tκn−1)κ

, n ≥ 1. For notational convenience, denote f [i...n] :=(f [i], . . . , f [n]

), for

0 ≤ i ≤ n and f [0] := f .

2.2 Algebraic Framework

In this subsection we recall some notions and facts from [4], necessary for our study.

Consider a multi-input multi-output (MIMO) nonlinear control system, defined on homo-geneous time scale T, and described by the state equations

x∆ = f(x, u)

y = h(x)(1)

where x(t) : T → X ⊂ Rn is an n-dimensional state vector, u(t) : T → U ⊂ Rm is anm-dimensional input vector and y(t) : T → Y ⊂ Rp is a p-dimensional output vector.Moreover, f : X× U→ X and h : X→ Y are assumed to be real analytic functions.

Remark 2.3. Note that we are focusing neither on local nor global, but on the genericproperties of the system, i.e. the properties that hold almost everywhere, except on aset of measure zero. Though the notion of generic property does not make sense, ingeneral, for systems defined by C∞ functions, the choice of analytic functions allows toemploy the generic approach. Moreover, unlike the ring of C∞ functions, the ring ofanalytic functions is integral domain, meaning that it can be embedded into its quotientfield whose elements are meromorphic functions.

Assume that the map (x, u) 7→ f(x, u) := x+µf(x, u) generically defines a submersion,that is generically

rank∂f(x, u)

∂ (x, u)= n (2)

holds. Assumption (2) is not restrictive since it is a necessary condition for system acces-sibility [13] and always satisfied in case µ ≡ 0. Consider the infinite set of (independent)real indeterminates C :=

xi, i = 1, . . . , n; u

[k]υ , υ = 1, . . . ,m, k ≥ 0

. Let K denote

the field of meromorphic functions in a finite number of variables from the set C . Thus

3

Page 184: Transformation of Nonlinear State Equations into Observer Form

for each F ∈ K there is k ≥ 0 such that F depends on x and u[0...k]. Let σf : K → Kbe the forward shift operator defined by

F σf(x, u[0...k+1]

):= F

(x+ µf(x, u), u[0...k] + µu[1...k+1]

).

Under the submersivity assumption, σf is injective endomorphism and so the operator σfis well defined on K (see [4]). Furthermore, define the operator ∆f : K → K by

F∆f(x, u[0...k+1]

):=

=

F σf(x, u[0...k+1]

)− F

(x, u[0...k]

)

τif T = τZ, τ > 0,

∂F

∂x

(x, u[0...k]

)f(x, u) +

k≥0

∂F

∂u[0...k]

(x, u[0...k]

)u[1...k+1] if T = R.

Proposition 2.4. Let F : K → K , G : K → K . The delta derivative satisfies thefollowing properties

(i) F σf = F + µF∆f ,

(ii) (αF + βG)∆f = αF∆f + βG∆f , for α, β ∈ R,

(iii) (FG)∆f = F σfG∆f + F∆fG (generalization of Leibniz rule),

(iv) On homogeneous time scale operators ∆f and σf commute, i.e

(F σf )∆f =(F∆f

)σf .

An operator ∆f satisfying the rule (iii) of Proposition 2.4 is called a “σf -derivation” [9].A commutative field endowed with a σf -derivation is called a differential field. The fieldK is endowed with a σf -differential structure, determined by system (1), and there existsthe differential overfield K ∗, called the inversive closure of K . In [4] the constructionof the inversive closure K ∗ for system (1) is given. The extension of σf to K ∗ is anautomorphism [9].

Consider the infinite set of symbols dC =

dxi, i = 1, . . . , n; du[k]υ , υ = 1, . . . ,m,

k ≥ 0

and denote by E the vector space over the field K ∗ spanned by the elements ofdC , namely

E = spanK ∗dC .

Any element of E has the form

ω =n∑

i=1

Aidxi +∑

k≥0

m∑

υ=1

Bυkdu[k]υ ,

where only a finite number of coefficientsBυk are nonzero elements of K ∗. The elementsof E will be called the differential one-forms.

Let us define the operator d : K ∗ → E as follows

dF(x, u[0...k]

):=

n∑

i=1

∂F

∂xi

(x, u[0...k]

)dxi +

k∑

l=0

m∑

υ=1

∂F

∂u[l]υ

(x, u[0...k]

)du[l]

υ . (3)

4

Page 185: Transformation of Nonlinear State Equations into Observer Form

Let ω =∑

iAidζi be a one-form, where Ai ∈ K ∗ and ζi ∈ C . We define the operators∆f : E → E and σf : E → E by

ω∆f :=∑

i

(A

∆f

i dζi + Aσfi d(ζ

∆f

i

))(4)

andωσf :=

i

Aσfi d(ζσfi

).

Since Aσfi = Ai + µA∆f

i ,

ω∆f =∑

i

(A

∆f

i dζi +(Ai + µA

∆f

i

)d(ζ

∆f

i

)).

One says that ω ∈ E is an exact one-form if ω = dF for some F ∈ K ∗. A one-formω for which dω = 0 is said to be closed. It is well known that exact forms are closed,while closed forms are only locally exact. Integrability of the subspace of one-forms maybe checked by the Frobenius theorem below, where the symbol dωi means the exteriorderivative of one-form ωi and ∧ means the exterior or wedge product (for details see [8]).

Theorem 2.5 ([8]). Let V = spanK ∗ω1, . . . , ωr be a subspace of E . V is integrable ifand only if

dωi ∧ ω1 ∧ · · · ∧ ωr = 0

for any i = 1, . . . , r.

3 OBSERVABILITY AND OBSERVABLE SPACE

Frequently the observability rank condition is used to check whether the continuous-timenonlinear system is locally weakly observable [10], [14]. This condition is sufficient forarbitrary initial state and necessary for almost all initial states. Thus, we introduce thedefinition of observability for nonlinear systems, defined on homogeneous time scales,through the observability rank condition.

Definition 3.1. System (1) is called generically (single-experiment) observable if the rankof the observability matrix is generically equal to n, i.e. if

rankK ∗

∂(h1, h

∆f

1 , . . . , h[n−1]1 , . . . , hp, h

∆fp , . . . , h

[n−1]p

)

∂x

= n. (5)

Observe that hσkfν :=

(hσk−1fν

)σffor k ≥ 2 and take into account, that for T = τZ, τ > 0

the higher order delta derivative can be computed explicitly as

h[i]ν =

1

τ i

i∑

k=0

(−1)kCki h

σi−kfν , (6)

where Cki is the binomial coefficient, i.e. Ck

i = i!(i−k)!k!

.

5

Page 186: Transformation of Nonlinear State Equations into Observer Form

Proposition 3.2. For T = τZ, τ > 0, the following holds

rankK ∗

∂(h1, h

∆f

1 , . . . , h[n−1]1 , . . . , hp, h

∆fp , . . . , h

[n−1]p

)T

∂x

=

= rankK ∗

(h1, h

σf1 , . . . , h

σn−1f

1 , . . . , hp, hσfp , . . . , h

σn−1fp

)T

∂x

. (7)

Proof. Using (6), the arbitrary row of the left-hand side matrix in (7) may be rewritten as

∂h[i]ν

∂x=

1

τ i

i∑

k=0

(−1)kCki ·

∂hσi−kfν

∂x

for ν = 1, . . . , p and i = 1, . . . , n−1. Separating the first addend of the above sum yields

∂h[i]ν

∂x=

1

τ i

∂h

σifν

∂x+

i∑

k=1

(−1)kCki ·

∂hσi−kfν

∂x

.

Now the sum∑i

k=1 in the above equality is the linear combination of the previous rows ofthe matrix and therefore, can be removed without changing the rank of the matrix. Since

∂hσifν /∂x is the row of the right-hand side matrix of (7) for i = 1, . . . , n−1, the statement

of the proposition holds.

Remark 3.3. Since for T = R the delta derivative coincides with the classical timederivative, the condition (5) is equivalent to observability rank condition in [10]. ByProposition 3.2 in the discrete-time case the condition (5) is equivalent to the observabilityrank condition given in [16].

Though Definition 3.1 may be applied to check observability, it is easier to be doneusing a concept of observable space like in the continuous-time case [10]. Moreover,the observable space, if integrable, allows to decompose the system into the observ-able/unobservable subsystems. In the remaining part of this section we extend the conceptof observable space to the case of (MIMO) systems, defined on homogeneous time scales,and, using the notion of observable space, provide the necessary and sufficient observabil-ity condition.

Given system (1), denote by X , Y k, Y and U the following subspaces of the differentialone-forms:

X := spanK ∗dx,Y k := spanK ∗

dh[j]

ν , ν = 0, . . . , p, 0 ≤ j ≤ k,

Y := spanK ∗

dh[j]ν , ν = 0, . . . , p, j ≥ 0

,

U := spanK ∗

du[l]υ , υ = 1, . . . ,m, l ≥ 0

.

(8)

By analogy with [10], the finite chain of subspaces

0 ⊂ O0 ⊂ O1 ⊂ · · · ⊂ Ok ⊂ · · · ⊂ Ok∗−1 = Ok∗ =: O∞, (9)

6

Page 187: Transformation of Nonlinear State Equations into Observer Form

whereOk := X ∩

(Y k + U

)(10)

is called the observability filtration. Denote by O∞ the limit of the observability filtration;it is easy to see that

O∞ = X ∩ (Y + U )

and analogously with [10] we call the subspace O∞ of X the observable space3 of thesystem (1). The unobservable space of system (1), denoted by XO, is defined as a sub-space of X , which satisfies

XO∼= X /O∞, XO ⊕ O∞ = X ,

where X /O∞ denotes the factor-space.

From (8), taking into account (3) and using the linear transformations, one obtains

Y k + U = spanK ∗

∂h

[j]ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ k; du[l]

υ , υ = 1, . . . ,m, l ≥ 0

.

Consequently, according to (10)

Ok = spanK ∗

∂h

[j]ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ k

, (11)

yielding

O∞ = spanK ∗

∂h

[j]ν

∂xdx, ν = 1, . . . , p, j ≥ 0

.

Before studying the properties of the observable space we provide Lemma 3.4. De-note the one-forms which generate the observable space O∞ as ων,j := ∂h

[j]ν

∂xdx for

ν = 1, . . . , p, j ≥ 0 and arrange them in the form of the following matrix:

Ω =

ω1,0 ω1,1 ω1,2 · · ·ω2,0 ω2,1 ω2,2 · · ·

......

...ωp,0 ωp,1 ωp,2 · · ·

.

Also denote the arbitrary row of the above matrix by Ων .

Lemma 3.4. If Ων contains the one-form ων,i, being a linear combination of the formerone-forms ων,0, . . . , ων,i−1 from Ων , then the next one-forms ων,j’s for j > i can also berepresented as a linear combination of the one-forms ων,0, . . . , ων,i−1.

The proof of Lemma 3.4 is given in the Appendix.

The proposition below describes the property of the subspace O∞.

3Note that O∞ is in general not the observation space as in [23], associated with the concept of themulti-experiment observability

7

Page 188: Transformation of Nonlinear State Equations into Observer Form

Proposition 3.5.

dimK ∗ O∞ = rankK ∗

∂(h1, h

∆f

1 , . . . , h[n−1]1 , . . . , hp, h

∆fp , . . . , h

[n−1]p

)

∂x

.

Proof. Represent the observable space as

O∞ = O1∞ + O2

∞ + · · ·+ Op∞,

where Oν∞ is generated by the elements of Ων . Since Oν

∞ ⊆ O∞ ⊆ X and, as a conse-quence, dim Oν

∞ ≤ dim O∞ ≤ dim X = n, it is enough to use n independent differentialone-forms ων,j to generate Oν

∞. Lemma 3.4 guarantees that the first n one-forms ων,j ,0 ≤ j ≤ n− 1, span the subspace Oν

∞. Consequently,

spanK ∗

∂h

[j]ν

∂xdx, ν = 1, . . . , p, j ≥ 0

=

= spanK ∗

∂h

[j]ν

∂xdx, ν = 1, . . . , p, 0 ≤ j ≤ n− 1

.

Thus, the rows of the observability matrix∂(h1, h

∆f

1 , . . . , h[n−1]1 , . . . , hp, h

∆fp , . . . , h

[n−1]p

)

∂x

(12)

with n columns can be regarded as the representation of the elements of the codistributionO∞. Therefore, the number of linearly independent vectors of O∞, i.e. dimK ∗ O∞, canbe found as the rank of the matrix (12).

The following theorem is the direct consequence of Definition 3.1 and Proposition 3.5and provides the characterization of the observability of the system.

Theorem 3.6. A system (1) is (single-experiment) observable if and only if O∞ = X .

Example 3.7. Consider the continuous-time model of unicycle [10] and its discrete-timeapproximation, based on Euler sampling scheme, as a single model defined on the homo-geneous time scale T

x∆1 = u1 cosx3

x∆2 = u1 sinx3

x∆3 = u2

y1 = x1

y2 = x2.

(13)

Using (11), the observability filtration (9) of the system (13) may be computed as follows

O0 = spanK ∗ dx1, dx2 ,O∞ = O1 = spanK ∗ dx1, dx2, dx3 .

8

Page 189: Transformation of Nonlinear State Equations into Observer Form

Since the observable space O∞ = X , the system is observable. Alternatively, one maycheck that direct application of Definition 3.1 yields the same result though requires morecomputations:

rankK ∗

∂(h1, h

∆f

1 , h[2]1 , h2, h

∆f

2 , h[2]2

)

∂x

= rankK ∗

1 0 00 0 −u1 sinx3

0 0 a0 1 00 0 u1 cosx3

0 0 b

= 3,

where

a :=

u1 sinx3 −

(u1 + τu∆

1

)sin (τu2 + x3)

τif T = τZ, τ > 0,

−u1u2 cosx3 − u1 sinx3 if T = R,

b :=

−u1 cosx3 +

(u1 + τu∆

1

)cos (τu2 + x3)

τif T = τZ, τ > 0,

−u1u2 sinx3 + u1 cosx3 if T = R.

Given a system of the form (1), its observability filtration (9), like in the continuous-timecase [10], defines a set of structural indices σj for j = 1, . . . , k∗ by

σ1 = dimK ∗ O0,

σj = dimK ∗ (Oj−1/Oj−2) , j = 2, . . . , k∗.(14)

Another set of indices si, for i = 1, . . . , p, being dual to the set σj, j = 1, . . . , k∗, isdefined by

si = card σj | σj ≥ iand called the set of observability indices of system (1). The integer σj represents thenumber of observability indices si which are greater than or equal to j, and duality impliesthat σj = card si | si ≥ j.Observability indices determine how many delta derivatives of the respective output com-ponents one needs to use for computation of the initial state x on the basis of the inputs andoutputs and their delta derivatives. The following proposition describes the key propertyof the observability indices.

Proposition 3.8. Given a system of the form (1), one has

dimK ∗ O∞ = s1 + · · ·+ sp.

Proof. Note, that dimK ∗ (Oj−1/Oj−2) = dimK ∗ Oj−1 − dimK ∗ Oj−2. Using (14) onecan write

k∗∑

j=1

σj =k∗∑

j=1

dimK ∗ Oj−1 −k∗∑

j=2

dimK ∗ Oj−2. (15)

Separating the last addend of the first sum in the right-hand side of (15), replacing in thissum index j by j − 1 and taking into account that Ok∗−1 = O∞, we obtain

k∗∑

j=1

σj = dimK ∗ O∞ +k∗∑

j=2

dimK ∗ Oj−2 −k∗∑

j=2

dimK ∗ Oj−2 = dimK ∗ O∞. (16)

9

Page 190: Transformation of Nonlinear State Equations into Observer Form

The relation between indices σj and si can be expressed by means of a k∗×p table, whose(j, i)th element is defined by (j = 1, . . . , k∗ pointing to the row and i = 1, . . . , p to thecolumn)

aj,i =

1, 1 ≤ i ≤ σj,

0, (σj + 1) ≤ i ≤ p,=

1, 1 ≤ j ≤ si,

0, (si + 1) ≤ j ≤ k∗.

Thus, the indices σj and si are the sums of elements in the jth row and ith column,respectively, i.e.

σj =

p∑

i=1

aj,i, si =k∗∑

j=1

aj,i. (17)

Taking into account (16) and (17), one obtains

p∑

i=1

si =

p∑

i=1

k∗∑

j=1

aj,i =k∗∑

j=1

σj = dimK ∗ O∞,

which completes the proof.

Example 3.9. (Continuation of Example 3.7). One has σ1 = 2, σ2 = 1 and so, theobservability indices are s1 = 2, s2 = 1. Taking delta derivatives of y1 and y2 up to theorders s1 − 1 and s2 − 1, respectively, we obtain y1 = x1, y∆

1 = u1 cosx3, y2 = x2,yielding

x1 = y1

x2 = y2

x3 = arccosy∆

1

u2

.

4 DECOMPOSITION

For certain applications it will be useful to have system representations in which the ob-servable and unobservable state variables can be explicitly distinguished. For a continuous-time nonlinear control system the decomposition into observable/unobservable subsys-tems has been carried out both via differential geometric [15], [21] and linear algebraicmethods [10] and is proved to be always doable. For example, in [10] the decompositionwas first carried out for linearized system defined in terms of one-forms, and then, it wasproved that the observable subspace of differential one-forms is always (generically) inte-grable. Therefore, the observable subspace of one-forms can be (at least locally) spannedby exact one-forms whose integrals define the observable state coordinates. As demon-strated in [16], for the discrete-time nonlinear control systems described in terms of theshift operator σf the decomposition at the level of equations (state variables) is not alwayspossible since the observable space of one-forms is not necessarily completely integrable.Moreover, the paper [19] provides a general subclass of systems with non-integrable ob-servable subspace.

The purpose of this section is to study the possibility to decompose the nonlinear con-trol system defined on the homogeneous time scale into the observable and unobservable

10

Page 191: Transformation of Nonlinear State Equations into Observer Form

subsystems. Since the delta-domain model obtained via sampling [12] behaves similarlyto the continuous-time system and at the limit, when the sampling frequency increasesinfinitely, approaches the continuous-time system, it was our working hypotheses that thedelta-domain models are, in general, decomposable into observable/unobservable parts.

The latter would mean that the respective observable space O∞, as a space of differentialone-forms, is completely integrable. In the case µ ≡ 0 (T = R), the observable spaceO∞ is proved to be integrable in [10]. Unfortunately, unlike the case T = R for the caseT = τZ, τ > 0, O∞ is not necessarily integrable. We give a number of counterexamples.

Example 4.1. Consider the control system, defined on homogeneous time scale

x∆1 = x3 + ux3 − x1

x∆2 = u− x2

x∆3 = ux1 − x3 − x2

y = x3.

(18)

By (9), for this system, O∞ = O2 = spanK ∗

dx3, 2dx2 +(u∆ − µu∆ − 2u

)dx1, dx2−

−udx1

. If T = R, then µ ≡ 0 and obviously4, O∞ = X . If T = τZ, τ > 0, then

O∞ = X , except for the case µ = τ = 1 when O∞ = spanK ∗ dx3, dx2 − udx1, beingnon-integrable subspace by Theorem 2.5, since d(dx2 − udx1) ∧ dx3 ∧ (dx2 − udx1) =du ∧ dx1 ∧ dx2 ∧ dx3 6= 0.

Next example demonstrates that the loss of integrability does not necessarily occur onlyat µ = 1.

Example 4.2. Consider the system

x∆1 = x2 −

x1

3x∆

2 = ux1 + x3 − x2

x∆3 = eu

2x1+ux3 − x3

3y = x2.

(19)

The observable space of the system

O∞ = O2 = spanK ∗

dx2, udx1 + dx3,

(u∆ − µu∆

3

)dx1

.

Like in the previous example, if T = R, then µ ≡ 0 and O∞ = X . If T = τZ, τ > 0,then O∞ = X , except for the case µ = τ = 3 when O∞ = spanK ∗ dx2, udx1 + dx3,again non-integrable by the Frobenius theorem.

Finally, we provide an example of the system for which the observable space O∞ is inte-grable for every choice of the value of µ.

4Of course, for µ ≡ 0 the result also follows from continuous-time theory [10]

11

Page 192: Transformation of Nonlinear State Equations into Observer Form

Example 4.3. Consider the system

x∆1 = tan(x1 − x2)u1

x∆2 = u1 tan(x1 − x2)− u2 cos2(x1 − x2)

x∆3 = u1

y1 = x3

y2 = x1 − x2.

(20)

The observable space O∞ = O0 = spanK ∗ dx1 − dx2, dx3 is obviously integrable bydirect inspection.

To conclude, we conjecture that the observable space O∞ is in general integrable exceptfor a few possible µ values where these values correspond to the sampling frequenciesat which the state transition map of the sampled system is not reversible. The followingexample illustrates this conjecture.

Example 4.4. (Continuation of Examples 4.1 – 4.3). The state transition map of system(18) is

x+1 = µ (x3 + ux3 − x1) + x1

x+2 = µ (u− x2) + x2

x+3 = µ (ux1 − x3 − x2) + x3,

(21)

where we use the notation x+ := x(t + µ). In order to check the reversibility of thesystem, one needs to verify whether the Jacobian matrix ∂f(x, u)/∂x is nonsingular. TheJacobian matrix of system (21) is

∂f(x, u)

∂x=

1− µ 0 µ(1 + u)0 1− µ 0µu −µ 1− µ

.

One can verify that the above matrix is singular for µ = 1, implying that the state transi-tion map (21) is not reversible at the sampling frequency equal 1. Next, consider the statetransition map of system (19), which reads as

x+1 = µ

(x2 −

x1

3

)+ x1

x+2 = µ (ux1 + x3 − x2) + x2

x+3 = µ

(eu

2x1+ux3 − x3

3

)+ x3.

(22)

The Jacobian matrix of system (22), i.e.

∂f(x, u)

∂x=

1− µ3

µ 0µu 1− µ µ

eu(ux1+x3)µu2 0 1− µ3

+ eu(ux1+x3)µu

is singular for µ = 3. Consequently, the state transition map (22) is not reversible at thesampling frequency equal 3. Finally, the state transition map of system (20) is

x+1 = µ tan(x1 − x2)u1 + x1

x+2 = µ

(u1 tan(x1 − x2)− u2 cos2(x1 − x2)

)+ x2

x+3 = µu1 + x3

(23)

12

Page 193: Transformation of Nonlinear State Equations into Observer Form

and its Jacobian matrix reads as

∂f(x, u)

∂x=

1 + µu1cos2(x1−x2)

−µu1cos2(x1−x2)

0

a 1− a 00 0 1

,

where a := µ(

u1cos2(x1−x2)

+ u2 sin (2 (x1 − x2)))

. One can verify that the above matrix isnonsingular for any µ ≡ const, meaning that the state transition map (23) is reversible atany sampling frequency. To conclude, comparing the above result with those presented inExamples 4.1 – 4.3, one can observe the consistency of the sampling frequencies at whichthe state transition maps are not reversible and the values of µ for which the observablespaces O∞ are not integrable. These examples support our conjecture.

If O∞ is integrable, and therefore, has locally an exact basis dζ1, . . . , dζr, one cancomplete the set dζ1, . . . , dζr to a basis dζ1, . . . , dζr, dζr+1, . . . , dζn of X . Then,in the coordinates ζ1, . . . , ζn, the system can be decomposed into an observable andunobservable subsystems

ζ∆1 = f1 (ζ1, . . . , ζr, u) ,

...

ζ∆r = fr (ζ1, . . . , ζr, u) ,

y = h (ζ1, . . . , ζr)

and

ζ∆r+1 = fr+1 (ζ, u) ,

...

ζ∆n = fn (ζ, u) ,

respectively.

Example 4.5. (Continuation of Example 4.3). Integrating the observable space O∞ of thesystem, we get the set of the observable state variables ζ1 = x1 − x2 and ζ2 = x3. Nextwe complete this set to a basis ζ1, ζ2, ζ3 of R3, taking, for example, ζ3 = x1. In thesecoordinates the system equations read as

ζ∆1 = u1

ζ∆2 = u2 cos2 ζ2

ζ∆3 = u1 tan ζ2

y1 = ζ1

y2 = ζ2,

where the first two equations (together with the output equations) define the observablesubsystem. The state ζ3 is unobservable.

13

Page 194: Transformation of Nonlinear State Equations into Observer Form

5 CONCLUSIONS

Though the theory of continuous- and discrete-time dynamical systems as presented inthe literature is different, the analysis on time scales is nowadays recognized as the righttool to unify the seemingly separate fields of discrete dynamical systems (i.e. differenceequations) and continuous dynamical systems (i.e. differential equations). In the paperwe studied the observability of multi-input multi-output control systems on homogeneoustime scale, which allows us to unify continuous- and discrete-time theories, presentingboth of them simultaneously under the same language. The presented approach covers thecontinuous- and discrete-time cases in such a manner that those are the special cases of theformalism. Since delta derivative (used in our paper to describe the dynamical systems)coincides with the time derivative for the continuous-time case, the results available inthe literature can be obtained from our results as a special case, namely the case in whichthe time scale is the set of real numbers. On the other hand, our formalism includes thedescription of a discrete-time system based on the difference operator description (delta-domain approach), for which the results shown in the paper are new, since previous resultshave been obtained for discrete-time systems considered on the basis of the shift-operatorformalism. Therefore, in our paper the discrete-time systems are described in terms of thedifference operator unlike in the majority of papers where the system is described via theshift-operator. To conclude, though the computation of the delta-derivative is different inthe continuous- and discrete-time cases, the results obtained by means of it are the samefor both time domains.

In the paper the notion of the observable space was used to provide the observabilitycondition that can be easily checked. However, note that the definition of the observ-ability was introduced through the observability rank condition, commonly used bothin continuous- and discrete-time cases. One of the future goals is to define the ob-servability of the nonlinear system on homogeneous time scale using the concept of(in)distinguishable states. Another goal is to find the conditions under which the nonlin-ear system defined on homogeneous time scale is transformable into the observer form,which allows to construct an observer with linearizable error dynamics.

ACKNOWLEDGEMENT

The work was supported by the European Union through the European Regional Develop-ment Fund, the target funding project SF0140018s08 of Estonian Ministry of Educationand Research, and by Bialystok University of Technology grant S/WI/2/2011.

APPENDIX. PROOF OF LEMMA 3.4

In order to prove Lemma 3.4, we need Lemma 5.1 below.

14

Page 195: Transformation of Nonlinear State Equations into Observer Form

Lemma 5.1. For the homogeneous time scale T one has

∂h[i+1]ν

∂x=∂h

[i]ν

∂x

∂f(x, u)

∂x+

(∂h

[i]ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

),

ν = 1, . . . p, i = 0, 1, . . . , (24)

where In is n× n identity matrix.

Proof. By commutativity of operators d and ∆f [4],

d(h[i+1]ν

)=(dh[i]

ν

)∆f. (25)

In what follows, we omit in (25) the parts involving the terms du[l]υ in the expressions of

total differentials, therefore we have

∂h[i+1]ν

∂xdx+ · · · =

(∂h

[i]ν

∂xdx

)∆f

+ · · · . (26)

We compute the delta derivative of the one-form at the right-hand side of (26), using (4).Since (dx)∆f = df(x, u), and again, omitting the parts involving the terms duυ, we get

(∂h

[i]ν

∂xdx

)∆f

=

(∂h

[i]ν

∂x

)∆f

dx+

(∂h

[i]ν

∂x

)σf∂f(x, u)

∂xdx+ · · · .

Since the vectors dx, duυ,. . . , du[i−1]υ are independent over the field K ∗, by comparing

the coefficients of dx at both sides of equality (26) we get

∂h[i+1]ν

∂x=

(∂h

[i]ν

∂x

)∆f

+

(∂h

[i]ν

∂x

)σf∂f(x, u)

∂x.

Finally, applying (i) of Proposition 2.4 to(∂h

[i]ν

∂x

)σfwe obtain (24).

Now we are ready to prove Lemma 3.4.

Proof. According to the condition of the lemma

ων,i :=∂h

[i]ν

∂xdx =

i−1∑

k=0

αk∂h

[k]ν

∂xdx. (27)

We first prove that the statement of the lemma holds for j = i+ 1, i.e.

ων,i+1 =i−1∑

k=0

βk∂h

[k]ν

∂xdx =

i−1∑

k=0

βkων,k (28)

for some βk’s. By Lemma 5.1 and (27)

ων,i+1 =i−1∑

k=0

αk

∂h[k]ν

∂x

∂f(x, u)

∂x+

(αk∂h

[k]ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

) dx.

15

Page 196: Transformation of Nonlinear State Equations into Observer Form

Using (iii) of Proposition 2.4 for(αk

∂h[k]ν

∂x

)∆f

and then (i) of Proposition 2.4 for αk, weget

ων,i+1 =i−1∑

k=0

∂h

[k]ν

∂x

(∂f(x, u)

∂xασfk + α

∆f

k

)+

+ ασfk

(∂h

[k]ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

) dx.

By Lemma 5.1

(∂h

[k]ν

∂x

)∆f (In + µ

∂f(x, u)

∂x

)=∂h

[k+1]ν

∂x− ∂h

[k]ν

∂x

∂f(x, u)

∂x,

yielding

ων,i+1 =i−1∑

k=0

α∆f

k

∂h[k]ν

∂xdx+

i−1∑

k=0

ασfk

∂h[k+1]ν

∂xdx.

Changing the summation index of the second sum for s = k+1, separating the last addendof the second sum, and applying (27) to it, we obtain

ων,i+1 =i−1∑

k=0

∆f

k + ασfi−1αk

) ∂h[k]ν

∂xdx+

i−1∑

s=1

ασfs−1

∂h[s]ν

∂xdx.

Separating the first addend of the first sum yields

ων,i+1 =i−1∑

k=1

∆f

k + ασfi−1αk + α

σfk−1

) ∂h[k]ν

∂xdx+

∆f

0 + ασfi−1α0

) ∂hν∂x

dx.

Denoting β0 := α∆f

0 + ασfi−1α0 and βk := α

∆f

k + ασfi−1αk + α

σfk−1 we get (28). The similar

arguments can be applied for the case j > i+ 1.

References

[1] F. Albertini and D. D’Alessandro. Remarks on the observability of nonlinear discretetime systems. In Proc. of IFIP Conference: System Modeling and Optimization,Prague, Czech Republic, July 10–14 1995.

[2] F. Albertini and D. D’Alessandro. Observability and forward-backward observabil-ity of discrete-time nonlinear systems. Math. Control Signals Systems, 15(4):275–290, 2002.

[3] E. Aranda-Bricaire, U. Kotta, and C. H. Moog. Linearization of discrete-time sys-tems. SIAM Journal on Control and Optimization, 34(6):1999–2023, 1996.

16

Page 197: Transformation of Nonlinear State Equations into Observer Form

[4] Z. Bartosiewicz, U. Kotta, E. Pawłuszewicz, and M. Wyrwas. Algebraic formal-ism of differential one-forms for nonlinear control systems on time scales. Proc.Estonian Acad. of Sci. Phys. Math., 56(3):264–282, 2007.

[5] Z. Bartosiewicz and E. Pawłuszewicz. Realizations of linear control systems on timescales. Control and Cybernetics, 35(4):769–786, 2006.

[6] M. Bohner and A. Peterson. Dynamic Equations on Time Scales. Birkhauser,Boston, USA, 2001.

[7] D. Casagrande, U. Kotta, M. Tonso, and M. Wyrwas. Transfer equivalence andrealization of nonlinear input-output delta-differential equations on homogeneoustime scales. IEEE Transactions on Automatic Control, 55(11):2601–2606, 2010.

[8] Y. Choquet-Bruhat, C. DeWitt-Morette, and M. Dillard-Bleick. Analysis, Manifoldsand Physics, Part I: Basics. North-Holland, Amsterdam, The Netherlands, 2004.

[9] R. M. Cohn. Difference Algebra. Wiley-Interscience, New York, USA, 1965.

[10] G. Conte, C. H. Moog, and A. M. Perdon. Algebraic Methods for Nonlinear ControlSystems. Theory and Applications. Springer-Verlag, London, UK, 2nd edition, 2007.

[11] J. M. Davis, I. A. Gravagne, B. J. Jackson, and R. J. Marks II. Controllability, ob-servability, realizability, and stability of dynamic linear systems. Electronic Journalof Differential Equations, 2009(37):1–32, 2009.

[12] G. C. Goodwin, S. F. Graebe, and M. E. Salgado. Control System Design. PrenticeHall, Upper Saddle River, New Jersey, 2001.

[13] J. W. Grizzle. A linear algebraic framework for the analysis of discrete-time nonlin-ear systems. SIAM Journal on Control and Optimization, 31(4):1026–1044, 1993.

[14] R. Hermann and A. J. Krener. Nonlinear controllability and observability. IEEETransactions on Automatic Control, 22(5):728–740, 1977.

[15] A. Isidori. Nonlinear Control Systems. Springer, Berlin, Germany, 1995.

[16] U. Kotta. Decomposition of discrete-time nonlinear control systems. Proc. EstonianAcad. of Sci. Phys. Math., 54(3):154–161, 2005.

[17] U. Kotta, Z. Bartosiewicz, E. Pawłuszewicz, and M. Wyrwas. Irreducibility, reduc-tion and transfer equivalence of nonlinear input-output equations on homogeneoustime scales. Systems & Control Letters, 58(9):646–651, 2009.

[18] U. Kotta, B. Rehak, and M. Wyrwas. Reduction of MIMO nonlinear systems on ho-mogeneous time scales. In The 8th IFAC Symposium on Nonlinear Control Systems,pages 1249–1254, University of Bologna, Italy, September 01–03 2010.

[19] U. Kotta and K. Schlacher. Possible non-integrability of observable space fordiscrete-time nonlinear control systems. In Proc. of the 17th IFAC World Congress,pages 9852–9856, Seoul, South Korea, July 6–11 2008.

17

Page 198: Transformation of Nonlinear State Equations into Observer Form

[20] R. H. Middleton and G. C. Goodwin. Digital Control and Estimation: A UnifiedApproach. Prentice Hall, Englewood Cliffs, New Jersey, 1990.

[21] H. Nijmeijer and A. J. van der Schaft. Nonlinear Dynamical Control Systems.Springer, 1990.

[22] E. Pawłuszewicz. Observability of nonlinear control systems on time scales. Inter-national Journal of Systems Science, 43(12):2268–2274, 2012.

[23] Y. Wang and E. D. Sontag. Orders of input/output differential equations and state-space dimensions. SIAM Journal on Control and Optimization, 33(4):1102–1126,1995.

Homogeensel ajaskaalal defineeritud mittelineaarsejuhtimissusteemi vaadeldav ruumVadim Kaparin, Ulle Kotta ja Małgorzata Wyrwas

Uuriti homogeensel ajaskaalal defineeritud mittelineaarse juhtimissusteemi vaadeldavust.Vaadeldavus tahendab voimalust maarata (leida) susteemi mittemoodetav algolek moode-tavate juhttoimete ja valjundite abil. Vaadeldavuse tingimus on esitatud vaadeldava ruumimoiste kaudu. Juhul kui susteem ei ole vaadeldav, aga vaadeldav ruum, mille elementi-deks on diferentsiaalsed uks-vormid, on taielikult integreeruv, on susteem dekomponeeri-tav vaadeldavaks ja mittevaadeldavaks alamsusteemiks.

18

Page 199: Transformation of Nonlinear State Equations into Observer Form

DISSERTATIONS DEFENDED ATTALLINN UNIVERSITY OF TECHNOLOGY ONINFORMATICS AND SYSTEM ENGINEERING

1. Lea Elmik. Informational Modelling of a Communication Office.1992.

2. Kalle Tammemae. Control Intensive Digital System Synthesis.1997.

3. Eerik Lossmann. Complex Signal Classification Algorithms, Basedon the Third-Order Statistical Models. 1999.

4. Kaido Kikkas. Using the Internet in Rehabilitation of People withMobility Impairments - Case Studies and Views from Estonia. 1999.

5. Nazmun Nahar. Global Electronic Commerce Process: Business-to-Business. 1999.

6. Jevgeni Riipulk. Microwave Radiometry for Medical Applications.2000.

7. Alar Kuusik. Compact Smart Home Systems: Design and Verifica-tion of Cost Effective Hardware Solutions. 2001.

8. Jaan Raik. Hierarchical Test Generation for Digital Circuits Rep-resented by Decision Diagrams. 2001.

9. Andri Riid. Transparent Fuzzy Systems: Model and Control. 2002.

10. Marina Brik. Investigation and Development of Test GenerationMethods for Control Part of Digital Systems. 2002.

11. Raul Land. Synchronous Approximation and Processing of SampledData Signals. 2002.

12. Ants Ronk. An Extended Block-Adaptive Fourier Analyser forAnalysis and Reproduction of Periodic Components of Band-LimitedDiscrete-Time Signals. 2002.

13. Toivo Paavle. System Level Modeling of the Phase Locked Loops:Behavioral Analysis and Parameterization. 2003.

14. Irina Astrova. On Integration of Object-Oriented Applications withRelational Databases. 2003.

15. Kuldar Taveter. A Multi-Perspective Methodology for Agent-Ori-ented Business Modelling and Simulation. 2004.

16. Taivo Kangilaski. Eesti Energia kaiduhaldussusteem. 2004.

17. Artur Jutman. Selected Issues of Modeling, Verification and Test-ing of Digital Systems. 2004.

18. Ander Tenno. Simulation and Estimation of Electro-Chemical Pro-cesses in Maintenance-Free Batteries with Fixed Electrolyte. 2004.

199

Page 200: Transformation of Nonlinear State Equations into Observer Form

19. Oleg Korolkov. Formation of Diffusion Welded Al Contacts toSemiconductor Silicon. 2004.

20. Risto Vaarandi. Tools and Techniques for Event Log Analysis.2005.

21. Marko Koort. Transmitter Power Control in Wireless Communica-tion Systems. 2005.

22. Raul Savimaa. Modelling Emergent Behaviour of Organizations.Time-Aware, UML and Agent Based Approach. 2005.

23. Raido Kurel. Investigation of Electrical Characteristics of SiC BasedComplementary JBS Structures. 2005.

24. Rainer Taniloo. Okonoomsete negatiivse diferentsiaaltakistusegaastmete ja elementide disainimine ja optimeerimine. 2005.

25. Pauli Lallo. Adaptive Secure Data Transmission Method for OSILevel I. 2005.

26. Deniss Kumlander. Some Practical Algorithms to Solve the Max-imum Clique Problem. 2005.

27. Tarmo Veskioja. Stable Marriage Problem and College Admission.2005.

28. Elena Fomina. Low Power Finite State Machine Synthesis. 2005.

29. Eero Ivask. Digital Test in WEB-Based Environment 2006.

30. Виктор Войтович. Разработка технологий выращивания изжидкой фазы эпитаксиальных структур арсенида галлия с высо-ковольтным p-n переходом и изготовления диодов на их основе.2006.

31. Tanel Alumae. Methods for Estonian Large Vocabulary SpeechRecognition. 2006.

32. Erki Eessaar. Relational and Object-Relational Database Manage-ment Systems as Platforms for Managing Softwareengineering Arte-facts. 2006.

33. Rauno Gordon. Modelling of Cardiac Dynamics and IntracardiacBio-impedance. 2007.

34. Madis Listak. A Task-Oriented Design of a Biologically InspiredUnderwater Robot. 2007.

35. Elmet Orasson. Hybrid Built-in Self-Test. Methods and Tools forAnalysis and Optimization of BIST. 2007.

36. Eduard Petlenkov. Neural Networks Based Identification and Con-trol of Nonlinear Systems: ANARX Model Based Approach. 2007.

37. Toomas Kirt. Concept Formation in Exploratory Data Analysis:Case Studies of Linguistic and Banking Data. 2007.

200

Page 201: Transformation of Nonlinear State Equations into Observer Form

38. Juhan-Peep Ernits. Two State Space Reduction Techniques forExplicit State Model Checking. 2007.

39. Innar Liiv. Pattern Discovery Using Seriation and Matrix Reorder-ing: A Unified View, Extensions and an Application to InventoryManagement. 2008.

40. Andrei Pokatilov. Development of National Standard for VoltageUnit Based on Solid-State References. 2008.

41. Karin Lindroos. Mapping Social Structures by Formal Non-LinearInformation Processing Methods: Case Studies of Estonian IslandsEnvironments. 2008.

42. Maksim Jenihhin. Simulation-Based Hardware Verification withHigh-Level Decision Diagrams. 2008.

43. Ando Saabas. Logics for Low-Level Code and Proof-PreservingProgram Transformations. 2008.

44. Ilja Tsahhirov. Security Protocols Analysis in the ComputationalModel - Dependency Flow Graphs-Based Approach. 2008.

45. Toomas Ruuben. Wideband Digital Beamforming in Sonar Sys-tems. 2009.

46. Sergei Devadze. Fault Simulation of Digital Systems. 2009.

47. Andrei Krivosei. Model Based Method for Adaptive Decompo-sition of the Thoracic Bio-Impedance Variations into Cardiac andRespiratory Components. 2009.

48. Vineeth Govind. DfT-Based External Test and Diagnosis of Mesh-like Networks on Chips. 2009.

49. Andres Kull. Model-Based Testing of Reactive Systems. 2009.

50. Ants Torim. Formal Concepts in the Theory of Monotone Systems.2009.

51. Erika Matsak. Discovering Logical Constructs from Estonian Chil-dren Language. 2009.

52. Paul Annus. Multichannel Bioimpedance Spectroscopy: Instrumen-tation Methods and Design Principles. 2009.

53. Maris Tonso. Computer Algebra Tools for Modelling, Analysis andSynthesis for Nonlinear Control Systems. 2010.

54. Aivo Jurgenson. Efficient Semantics of Parallel and Serial Modelsof Attack Trees. 2010.

55. Erkki Joasoon. The Tactile Feedback Device for Multi-Touch UserInterfaces. 2010.

56. Jurgo-Soren Preden. Enhancing Situation - Awareness Cognitionand Reasoning of Ad-Hoc Network Agents. 2010.

201

Page 202: Transformation of Nonlinear State Equations into Observer Form

57. Pavel Grigorenko. Higher-Order Attribute Semantics of Flat Lan-guages. 2010.

58. Anna Rannaste. Hierarcical Test Pattern Generation and Untesta-bility Identification Techniques for Synchronous Sequential Circuits.2010.

59. Sergei Strik. Battery Charging and Full-Featured Battery ChargerIntegrated Circuit for Portable Applications. 2011.

60. Rain Ottis. A Systematic Approach to Offensive Volunteer CyberMilitia. 2011.

61. Natalja Sleptsuk. Investigation of the Intermediate Layer in theMetal-Silicon Carbide Contact Obtained by Diffusion Welding. 2011.

62. Martin Jaanus. The Interactive Learning Environment for MobileLaboratories. 2011.

63. Argo Kasemaa. Analog Front End Components for Bio-ImpedanceMeasurement: Current Source Design and Implementation. 2011.

64. Kenneth Geers. Strategic Cyber Security: Evaluating Nation-StateCyber Attack Mitigation Strategies. 2011.

65. Riina Maigre. Composition of Web Services on Large Service Mod-els. 2011.

66. Helena Kruus. Optimization of Built-in Self-Test in Digital Sys-tems. 2011.

67. Gunnar Piho. Archetypes Based Techniques for Development ofDomains, Requirements and Sofware. 2011.

68. Juri Gavsin. Intrinsic Robot Safety Through Reversibility of Ac-tions. 2011.

69. Dmitri Mihhailov. Hardware Implementation of Recursive SortingAlgorithms Using Tree-like Structures and HFSM Models. 2012.

70. Anton Tsertov. System Modeling for Processor-Centric Test Auto-mation. 2012.

71. Sergei Kostin. Self-Diagnosis in Digital Systems. 2012.

72. Mihkel Tagel. System-Level Design of Timing-Sensitive Network-on-Chip Based Dependable Systems. 2012.

73. Juri Belikov. Polynomial Methods for Nonlinear Control Systems.2012.

74. Kristina Vassiljeva. Restricted Connectivity Neural Networksbased Identification for Control. 2012.

75. Tarmo Robal. Towards Adaptive Web Analysing and Recommend-ing Web Users‘ Behaviour. 2012.

202

Page 203: Transformation of Nonlinear State Equations into Observer Form

76. Anton Karputkin. Formal Verification and Error Correction onHigh-Level Decision Diagrams. 2012.

77. Vadim Kimlaychuk. Simulations in Multi-Agent CommunicationSystem. 2012.

78. Taavi Viilukas. Constraints Solving Based Hierarchical Test Gen-eration for Synchronous Sequential Circuits. 2012.

79. Marko Kaaramees. A Symbolic Approach to Model-based OnlineTesting. 2012.

80. Enar Reilent. Whiteboard Architecture for the Multi-agent SensorSystems. 2012.

81. Jaan Ojarand. Wideband Excitation Signals for Fast ImpedanceSpectroscopy of Biological Objects. 2012.

82. Igor Aleksejev. FPGA-based Embedded Virtual Instrumentation.2013.

83. Juri Mihhailov. Accurate Flexible Current Measurement Methodand its Realization in Power and Battery Management IntegratedCircuits for Portable Applications. 2013.

84. Tonis Saar. The Piezo-Electric Impedance Spectroscopy: Solutionsand Applications. 2013.

85. Ermo Taks. An Automated Legal Content Capture and Visualisa-tion Method. 2013.

86. Uljana Reinsalu. Fault Simulation and Code Coverage Analysis ofRTL Designs Using High-Level Decision Diagrams. 2013.

87. Anton Tsepurov. Hardware Modeling for Design Verification andDebug. 2013.

203