On algebraic time-derivative estimation
and deadbeat state reconstruction
Abstract
This paper places into perspective the so-called algebraic time-derivative estimation method recently introduced by Fliess and co-authors with standard results from linear state-space theory for control systems. In particular, it is shown that the algebraic method can essentially be seen as a special case of deadbeat state estimation based on the reconstructibility Gramian of the considered system.
I Introduction
In the past few years, the algebraic approach to estimation in control systems proposed by Fliess and co-workers has generated a number of interesting results for different problems of estimation of dynamical systems such as state estimation, parametric identification, and fault diagnosis, to name but a few (see [13, 11, 9, 8] and references therein). Loosely speaking, this new estimation approach is mainly based on the robust computation of the time-derivatives of a noisy signal by using a finite weighted combination of time-integrations of this signal. These results, obtained through the use of differential algebra and operational calculus [20], allow to obtain an estimate of the time-derivative of a particular order in an arbitrary small amount of time [12].
Questions arise on how to relate the above to more classical results of automatic control, and in particular to linear system theory. The present paper contributes to this discussion by showing that the algebraic time-derivative estimation method, as presented in [21] and references therein, can be seen, essentially, as a special case of previously known state-space results exhibiting a deadbeat property.
After this introduction, we briefly recall in Section II the main results of the algebraic time-derivative estimation method. Then, in Section III, we recall a few results of linear observability theory and show how in particular the reconstructibility Gramian can be related to the algebraic method. We end this paper with a few additional remarks on how to relate further extensions of the algebraic approach with different areas of control systems theory.
Parts of this study were presented, albeit in German, in Reger and Jouffroy [24].
II Algebraic time-derivative estimation
The algebraic derivative estimation techniques have been presented in various styles and frameworks, mostly based on abstract algebra and operational calculus. Because of its practical interest, we recall here only the main result for a moving-horizon version of the approach (see [21] and [35]). However, note that the results shown in the present paper would also be very easily applicable to earlier expanding-horizon versions that can be found in [7] or [13].
Consider a real-valued, -th degree polynomial function of time
(1) |
where the terms are unknown constant coefficients. The goal is to obtain estimates of the time-derivatives of , up to order .
In [7, 6, 22], Fliess and co-workers proposed to do so by, roughly speaking, resorting to algebraic combinations of moving-horizon time-integrations of the available signal . Let us briefly recall these results in the following theorem [21, 35].
Theorem 1
For all , the -th order time-derivative estimate , , of the polynomial signal as defined in (1) satisfies the convolution
(2) |
where the convolution kernel
(3) |
depends on the order of the time derivative to be estimated and on an arbitrary constant time window length .
For the interested reader, as well as for the sake of completeness, a way to derive the results of Theorem 1 is given in Appendix A.
Thus, considering for example the degree-one polynomial
(4) |
applying Theorem 1 would simply give us the following first-order time-derivative estimate
(5) |
The effect of the time-integration is obviously to dampen the impact of the measurement noise on the estimate. Note that this feature can also be used to filter out noise from the signal itself, as the zero-order time-derivative estimator would be
(6) |
as obtained, once again, from Theorem 1.
III From deadbeat reconstruction of the state to the algebraic method
As will be seen, the above may be related in several ways to more traditional results of classical linear control theory. To this end, consider now the following linear time-varying system
(7) | ||||
(8) |
where and . Note that while the form of system (7)-(8) was chosen for the sake of simplicity and ease of presentation, the discussion of the present section is extendible to systems with multiple inputs and outputs.
Then let us briefly recall a few elements pertaining to the notion of state reconstructibility [14, 1, 23]. As noted in Willems and Mitter [34], this property has been quite overlooked in the control literature, possibly because of its equivalence with observability for linear continuous-time systems. Loosely speaking, we say that system (7)-(8) is reconstructible on if can be obtained from the measurements for .
A standard way of determining can be obtained by first writing the following expression for the output
(9) |
where is the transition matrix of (7). Then, left-multiply and integrate (9) to get
(10) |
Since in eq. (10) is a constant term with respect to the integral, it can be isolated, and we finally get, for an estimate of ,
(11) |
where
(12) |
is the reconstructibility Gramian.
In treatments of observability in textbooks, developments such as the above are mostly used, through the observability counterpart of (12), to check whether a system is observable (resp. reconstructible) or not. However, as noted in [5, p. 158] for the observability case, expression (12) can also be used to actually compute as integration will smooth out high-frequency noise.
The above results are well-known, even if not as much used for state estimation as linear asymptotic observers are. But the former has the interesting property of allowing to give an estimate of in a finite time, whose value is decided by the invertibility of (12).
Interestingly, these two features of the above Gramian-based estimation – deadbeat property and time-integration, coincide with those of algebraic time-derivative estimation.
Let us push the comparison a little further in a simple way by first noticing that the degree-one polynomial (4) of our example can be put into state-space phase-variable form with matrices
(13) |
with state and initial conditions .
Then, compute an estimate of using (11) and (12). To do so, use the fact that the matrices in (13) are time-invariant and that to obtain
(14) |
which implies that
(15) |
Letting (with fixed) and , we then obtain from (12) the following Gramian
(16) |
which in turn is used, in combination with (11), to get
(17) |
Hence, similarly to the previous section, an estimate of the derivatives of a degree-one polynomial can be obtained with time-integrations of the measured signal, albeit this time using tools from classical control theory.
Note, interestingly, that in this particular example, there is more than a mere similarity. Indeed, after a simple change of variable in (17), we find exactly the same expressions as (5) and (6).
The above second-order case can be generalized to obtain the -th time-derivative of any polynomial simply by specializing and in (7)-(8) to get a state-space description of polynomial (1), which yields, in phase-variable form the square matrix
(18) |
and the row vector
(19) |
associated to the state vector .
After several steps in line with the previous second-order example, we obtain, similarly to Section II, an expression of the -th time-derivative of a polynomial signal (1) based on the reconstructibility Gramian. This is summarized in the following theorem.
Theorem 2
For all , the -th order time-derivative estimate , , of the polynomial signal as defined in (1) satisfies the convolution
(20) |
where the convolution kernel
(21) |
depends on the order of the time derivative to be estimated and on an arbitrary constant time window length .
Proof:
Broadly speaking, the proof is based on obtaining a closed-form expression corresponding to equations (11) and (12) for the particular case with matrices (18) and (19).
Since this system is LTI, the corresponding transition matrix results from the matrix exponential of (18), i.e.
(22) |
which is then used to obtain the state-transition matrix
(23) |
Consequently, the entries of the reconstructibility Gramian matrix (12) read
(24) |
In view of (11), the inversion of this Gramian is required. Its entries are provided in closed-form by Lemma 1 in Appendix B, that is
(25) |
Hence, by using eq. (25) regarding the particular form of the transition matrix (23), the -th component of follows from eq. (11)
(26) |
In other words, the -th time-derivative estimate of at time can be obtained from the convolution
(27) |
where
(28) |
A receding-horizon version of equation (27) can then be obtained as follows: Let (with fixed), and . Proceed then to the change of variable to obtain (20) and (21), which completes the proof of the theorem. ∎
As might be expected from the above discussion and the second-order example, it is possible to show an equivalence between the algebraic estimator of Section II and the one of Theorem 2, and this for all . We make this statement precise in the following theorem.
Proof:
Theorem 3 follows from Riesz’ representation theorem [26], which states that for every continuous linear functional on a Hilbert space , a unique exists such that
(30) |
where denotes the inner product on .
In order to prepare the ground for applying this theorem, first note that for parameter fixed, the expressions and , given by (3) and (21), are polynomials in of degree . For fixed, furthermore is a polynomial in of degree which in view of (1) consequently spans , i.e. the Hilbert space of degree polynomials equipped with the real-valued inner product
(31) |
Hence, for fixed, and . Moreover, letting with fixed we have that .
IV Additional remarks
In addition to the main result of Section II, Fliess et al. proposed several extensions or modifications, several of which having also connections with different areas of control systems. Let us briefly consider some of them in the few following remarks.
For instance, note that an expanding-horizon version of the algebraic method was first introduced in [12], which would correspond to let and in the reconstructibility Gramian perspective. In this case, an equivalence similar to Theorem 3 can still be obtained. Furthermore, note that, interestingly, letting , and differentiating respectively and the product with respect to time using a few standard manipulations, we obtain
(36) |
and
(37) |
which draw strong similarities with the information form of the continuous-time Kalman filter [19, 15] for system (7)-(8) with additive noise of identity covariance, , on the measurement equation (8). This in turn shows that, thanks to a simple modification of Theorem 3 for expanding horizons, links with optimal estimation could be obtained even though the derivations and motivations for the algebraic method are clearly different (see in particular [12]).
As another example, one could consider the state estimation problem for a MIMO time-invariant system with inputs:
(38) | ||||
(39) |
For such systems, Byrski et al. derived a so-called moving window observer [2],[3],[4]. In order to briefly sketch the result, let
(40) |
with
(41) |
Assume that the output and the input of system (38) and (39) may be used for the reconstruction of the state, thus consequently, we may allow for input- and output-sided deterministic disturbances, bounded in an -norm sense. Moreover, assume that the pair is observable. Then the moving window observer that minimizes the estimation error on the moving fixed time horizon is given by
(42) |
where
(43) | ||||
(44) |
In the case of an input-free SISO system of the particular form (18) and (19), we have that and matrix vanishes. As a consequence, algebraic derivative estimation may be seen as a very special particularization of equation (42).
In an other extension presented in [22], the authors propose to further reduce the impact of measurement noise on the estimates by using additional integrations. This is also possible with the Gramian point-of-view as both sides of (10) can easily be time-integrated several additional times with respect to , as opposed to only once to obtain – in fact, even filter operations with respect to the variable can be applied on both sides of (10), so as to generate a variety of further estimators. Once again, an equivalence between this result of the algebraic approach and a particularization of a reconstructibility perspective can be obtained. More generally, we can for example insert in (10) another kernel as follows
(45) |
where
(46) |
this to obtain the desired response with respect to measurement noise.
Finally, and although it is clearly beyond the scope of the present paper, note that because of the convolution form of algebraic estimation (2), the latter can also be connected with Finite-Impulse Response (FIR) differentiators, on which numerous studies and results were published (see [17], [31] and references therein), with the minor difference that these differentiators are usually described in a discrete-time framework, although it is clear that a comparison similar to the present paper could also be carried out in discrete-time.
In particular, it might be of interest to compare the latest extension of the algebraic estimation approach, where time-delays are considered to improve the results, together with FIR differentiator designs considering the same issue that have been proposed over the past few years (see for example [32] and [27]).
Acknowledgments
The authors would like to express their gratitude to Håkan Hjalmarsson whose comments and suggestions were very helpful in improving the present paper. Johann Reger thanks Peter Caines and Jessy Grizzle for valuable discussions. The work of Johann Reger was partially supported by fellowships of the German Academic Exchange Service (DAAD), grant D/07/40582, and by Max Planck Institute for Dynamics of Complex Technical Systems in Magdeburg, Germany.
Appendix
IV-A Proof of Theorem 1
The following proof resorts to standard techniques from operational calculus. To this end, we rephrase eq. (1) in the Laplace domain as
(47) |
where the coefficients are identified with . In order to single out a particular term, , first multiply (47) by ,
(48) |
which results in a polynomial form in on the right side of (48). To eliminate the terms , differentiate (48) times with respect to (see [10] for a first presentation of the idea). This yields
(49) |
In the next step, we proceed to a similar treatment to eliminate the remaining constant terms , , , . But before doing so, premultiply (49) by , i.e.
(50) |
which is done to prevent from cancelation due to a -fold differentiation with respect to . Indeed, the latter operation finally gives
(51) |
This equation could readily be transformed back into the time domain. However, the left side of (51) contains the monomial , i.e. an -fold differentiation with respect to time in the time domain, meaning if a high-frequency noise is corrupting , the former would be amplified as a result. Note that a similar idea can also be found in [30, p.17–18]. In order to avoid the explicit use of these time derivatives, premultiply (51) with , thus implying that will be integrated at least one time. Therefore, we obtain
(52) |
where it can been seen that the term depends only on a finite number of operations on the signal , as shown in [21, 35].
Before performing the backward transform into the time-domain, rearrange the left side terms of (52) using Leibniz’ formula for the differentiation of products twice. This results in
(53) |
which, in view of the right hand side of (52), implies in turn
(54) |
Eq. (54) is now transformed back into the time domain. Using the following inverse Laplace transform formulae
(55) |
we obtain
(56) |
with
(57) |
The results obtained above thus give an estimate at time from the polynomial signal , see (1), taken on the interval . In order to get a moving-horizon and causal version of these results, first replace with , where is a positive constant [7, 6] and simplify using the fact that
(58) |
Finally, by shifting the -values by , Theorem 1 is immediate.
IV-B Lemma for the Proof of Theorem 2
Lemma 1 (Inverse of )
Proof:
In light of equation (24), first, left- and right-multiply with a diagonal matrix whose entries are
(60) |
where is the Kronecker delta. Then, proceed with computing the following matrix product in component form as
(61) |
whose result can be recognized as the entries of an Hilbert matrix, hereafter denoted . The entries of the inverse of are known to be [29]
(62) |
and by computing
(63) |
we obtain (25), which completes the proof of the Lemma. ∎
References
- [1] R. W. Brockett, Finite Dimensional Linear Systems. Wiley, 1970.
- [2] W. Byrski and S. Fuksa, “Optimal finite parameter observer. An Application to synthesis of stabilizing feedback for a linear system,” Control and Cybernetics, vol. 13, no. 1–2, pp. 72–83, 1984.
- [3] S. Fuksa and W. Byrski, “General approach to linear optimal estimator of finite number of parameters,” IEEE Transactions on Automatic Control, vol. 29, no. 5, pp. 470–472, 1984.
- [4] W. Byrski, “Integral description of the optimal state observers,” Proc. of 2nd European Control Conference (ECC), Groningen, 1993.
- [5] C.-T. Chen, Linear system theory and design. Oxford Univ. Press, 1999.
- [6] M. Fliess, C. Join, M. Mboup, and A. Sedoglavic, “Estimation des dérivées d’un signal multidimensionnel avec applications aux images et aux vidéos,” Actes 20e Coll. GRETSI, Louvain-la-Neuve, 2005.
- [7] M. Fliess, C. Join, M. Mboup, and H. Sira-Ramírez, “Analyse et représentation de signaux transitoires: application à la compression, au débruitage et à la détection de ruptures,” Actes 20e Coll. GRETSI, Louvain-la-Neuve, 2005.
- [8] M. Fliess, C. Join, and H. Sira-Ramírez, “Robust residual generation fo linear fault diagnosis: an algebraic setting with examples,” Int. Journal of Control, vol. 77, pp. 1223–1242, 2004.
- [9] M. Fliess, C. Join, and H. Sira-Ramírez, “Non-linear estimation is easy,” Int. Journal of Modelling, Identification and Control, vol. 3, 2008.
- [10] M. Fliess, M. Mboup, H. Mounier, and H. Sira-Ramírez, “Questioning some paradigms of signal processing via concrete examples,” in Algebraic Methods in Flatness, Signal Processing and State Estimation, H. Sira-Ramírez, G. Silva-Navarro (Eds.), Innovación Editiorial Lagares, Mexico, pp. 1–21, 2003.
- [11] M. Fliess and H. J. Sira-Ramírez, “An algebraic framework for linear identification,” ESAIM Control Optim. Calc. Variat., vol. 9, 2003.
- [12] M. Fliess and H. J. Sira-Ramírez, “State reconstructors: a possible alternative to asymptotic observers and Kalman filters,” Proceedings of CESA, 2003.
- [13] M. Fliess and H. Sira Ramírez, “Control via state estimations of some nonlinear systems,” IFAC Symposium on Nonlinear Control Systems (NOLCOS 2004), Stuttgart, 2004.
- [14] R. E. Kalman, P. L. Falb, and M. A. Arbib, Topics in Mathematical System Theory. McGraw-Hill, 1969.
- [15] P. G. Kaminski, A. E. Bryson and S. F. Schmidt, “Discrete square root filtering: a survey of current techniques,” IEEE Transactions on Automatic Control, vol. 16, no. 6, pp. 727-736, 1971.
- [16] H. Khalil, Nonlinear systems (2nd ed.). Prentice-Hall, New York, 1996.
- [17] I. R. Khan and R. Ohba, “New design of full band differentiators based on Taylor series,” IEE Proceedings Vision, Image & Signal Processing, vol. 146, pp. 185–189, 1999.
- [18] M. Krstić, I. Kanellakopoulos and P. Kokotović, Nonlinear and adaptive control design. Wiley Interscience, New York, 1995.
- [19] W. H. Kwon, P. S. Kim and P. G. Park, “A receding horizon Kalman FIR filter for linear continuous-time systems,” IEEE Transactions on Automatic Control, vol. 44, no. 11, pp. 2115–2120, 1995.
- [20] M. Mboup, “Parameter estimation via differential algebra and operational calculus,” in preparation, 2007.
- [21] M. Mboup, C. Join, and M. Fliess, “A revised look at numerical differentiation with an application to nonlinear feedback control,” 15th Mediterranean Conference on Control and Automation, Athens, 2007.
- [22] A. Neves, M. Mboup, and M. Fliess, “An algebraic identification method for the demodulation of QPSK signal through a convolutive channel,” European Signal Proc. Conf. (EUSIPCO), Vienna, 2004.
- [23] J. O’Reilly, Observers for Linear Systems, Academic Press, 1983.
- [24] J. Reger and J. Jouffroy, “Algebraische Ableitungssch tzung im Kontext der Rekonstruierbarkeit,” [in German], at-Automatisierungstechnik, vol. 56, no. 6, pp. 324–331, 2008.
- [25] J. Reger and J. Jouffroy, “Algebraic Time-Derivative Estimation and Deadbeat State Reconstruction,” Technical Report CGR-07-09, University of Michigan, USA, 2007, http://arxiv.org/abs/0710.0010
- [26] F. Riesz and B. Sz.-Nagy, Functional Analysis. Fredrick Ungar, New York, 1955.
- [27] S. Samadi and A. Nishihara, “Explicit formula for predictive FIR filters and differentiators using Hahn polynomials,” IEICE Transactions, vol. E90-A, no. 8, pp. 1511–1518, 2007.
- [28] S. Sastry, Nonlinear systems. Springer, 1999.
- [29] L. R. Savage and E. Lukas, “Tables of inverses of finite segments of the Hilbert matrix” in Contributions to the Solutions of Systems of Linear Equations and the Determination of Eigenvalues, O. Taussky (Editor), National Bureau of Standards Applied Mathematics Series, vol. 39, pp. 105–108, 1954.
- [30] E. D. Sontag, Mathematical Control Theory (2nd ed.). Springer, 1998.
- [31] C.-C. Tseng, “Digital differentiator design using fractional delay filter and limit computation,” IEEE Transactions on Circuits and Systems–I:Regular Papers, vol. 52, no. 10, pp. 2248–2259, 2002.
- [32] S. Valiviita and O. Vainio, “Delayless differentiation algorithm and its efficient implementation for motion control applications,” IEEE Transactions on Instrumentation and Measurement, vol. 48, no. 5, pp. 967–971, 1999.
- [33] H. Wilf and D. Zeilberger, “An algebraic proof theory for hypergeometric (ordinary and “q”) multisum/integral identities,” Inventiones Mathematicae, vol. 108, pp. 575–633, 1992.
- [34] J. C. Willems and S. K. Mitter, “Controllability, observability, pole allocation, and state reconstruction,” IEEE Transactions on Automatic Control, vol. 16, no. 6, pp. 582–595, 1971.
- [35] J. Zehetner, J. Reger, and M. Horn, “A Derivative Estimation Toolbox based on Algebraic Methods — Theory and Practice, ” IEEE Int. Conf. on Control Applications, Singapore, 2007.