Covariance-based least-squares filtering algorithm under Markovian measurement delays
Abstract
This research is supported by Ministerio de Economía y Competitividad and Fondo Europeo de Desarrollo Regional FEDER (grant no. MTM2014-52291-P).
Full text
Preprint version. Please cite original version: M. J. García-Ligero, A. Hermoso-Carazo & J. Linares-Pérez (2020). Covariance-based leastsquares filtering algorithm under Markovian measurement delays, International Journal of Computer Mathematics, 97 (1-2), 40-50. https://doi.org/10.1080/00207160.2017.1422496 Abstract This paper addresses the least-squares linear filtering problem of signals from measurements which may be randomly delayed by one or two sampling times. The delays are modelled by a homogeneous discrete-time Markov chain to capture the dependence between them. Assuming that the evolution equation generating the signal is not available and that only the first- and secondorder moments of the processes involved in the observation model are known, a recursive filtering algorithm is derived using an innovation approach. Recursive formulas for the filtering error variances are also obtained to measure the precision of the proposed estimators.
1. Introduction An unavoidable problem in communication networks is the existence of delays in the arrival of measurements. In practical situations such as wireless communication channels or heavy network traffic, errors commonly occur during transmission, which can lead to delayed measurements. The delays may be deterministic or random, although in most practical cases, such as mobile communications or exploration seismology, the delays are considered to be random, and can be modelled by a stochastic process. The problem of signal estimation in linear stochastic systems has been widely studied using different models of delayed observation. In this context, many researchers have focused on the case in which measurements are subject to a random delay which does not exceed one sample time, and when the observation available at any time is either the current or the previous one. A common approach to deal with one-step delays is to consider a sequence of Bernoulli random variables that take values of 0 or 1 depending on whether the real observation is received on time or otherwise. Assuming the independence of these variables, the signal estimation problem has been addressed assuming that the state-space model is either completely known or not known, in which case the information provided by the covariance functions of the processes involved in the observation model is used. In [12], who considered linear unbiased state estimation for dynamic systems with a one-step sensor delay, the question was approached by reformulating the problem as a stochastic parameter estimation contained within the filtering problem, and full and reduced-order estimators were proposed. In later studies, new filtering algorithms, both full and reduced-order, were derived by [11] for stochastic dynamic systems with random one-step sensor delays, and [10] addressed the problem of robust filtering with variance constraints. In the context of multiple sensors, a centralised linear minimum variance unbiased filter was derived by [7], in a study in which delays were modelled by independent Bernoulli variables with different delay probabilities in each sensor. All the papers cited above assume that the state-space model is known. However, the estimation problem from delayed measurements has also been addressed under a covariance information approach. For example, in [1, 2] recursive estimation algorithms based on covariance were derived assuming one-step random delays modelled by independent Bernoulli random variables. Similarly, [8] addressed the problem of filtering from one-and-two-step randomly delayed observations, and, recently, in [3], this delayed observation model was generalised to the case of measurements subject to bounded multiple-step random delays, and recursive estimation algorithms based on covariances were obtained. Nevertheless, in real-world communication systems, current delays are usually correlated with previous ones; then, a reasonable way to model the dependence on the delays is to consider them as homogeneous Markov chains. Assuming that the state-space model is known, optimal estimation problems in networked systems with correlated transmission delays are discussed in [5] and [6], where the delay process is modelled by a two-state Markov chain and by a multistate Markov chain, respectively. In this respect, too, [9] investigated the H∞filtering problem in a class of network systems with random delays modelled by a Markov chain. Finally, random delay from sensor to controller was modelled by [13] using a Markov chain with partly-known transition probability matrix, covering completely known and completely unknown transition probabilities as special cases. As in the case of delays modelled by independent random variables, estimation algorithms from Markovian delayed observations have also been deduced using only 2
covariance information. Specifically, [4] proposed covariance-based recursive filtering and smoothing algorithms to estimate a signal from one-step delayed observations, assuming that the delay is modelled by a Markov chain whose statistical characteristics are known. In the present study, the observation model presented in [4] is generalised by considering measurements that can be randomly delayed by one or two sampling times. Assuming that the state-space model of the signal is not available and that the delays are modelled by a homogeneous discrete-time Markov chain with three states, a recursive algorithm for the least-squares linear filtering problem is proposed. This algorithm uses only the information provided by the covariance functions of the processes involved in the measurements of the signal, together with the probability distribution of the Markov chain modelling the delays. The least-squares linear filter is obtained by an innovation approach which enables the estimation algorithm to be derived without too much difficulty. The proposed algorithm, based on covariances, is also applicable in situations based on the state-space model. The rest of this paper is organised as follows. In Section 2, the observation model is described and the estimation problem is formulated using an innovation approach. In Section 3, the recursive filtering algorithm and the filtering error variances, which provide a measure of the filter performance, are derived. Section 4 presents a simulation example, in which a scalar signal is estimated from observations that can be delayed by one or two sample periods during the transmission; the effectiveness of the proposed estimator is measured by the error variances. Finally, some concluding remarks are made in Section 5. 2. Observation model Consider an n-dimensional signal, xk, whose scalar measured output, zk, at each sampling time is perturbed by an additive noise: zk=Hkxk+vk, k ≥1,(1) where Hkis a known matrix and vkis the measurement noise. A common problem in communication theory is the existence of failures during the transmission, which can lead to delays in the arrivals of the measurements. In this paper, it is assumed that the measurements may be randomly delayed by one or two sampling times during the transmission; that is, the observed measurement at time k is zk−a, a = 1,2,if there is delay, or zk,if there is no delay. The delay is modelled by a homogeneous Markov chain, {θk, k ≥1}, that takes values in the state space S={0,1,2}. If θk=a, a = 1,2,this means that the k-th measurement is delayed by asampling periods; otherwise, if θk= 0,there is no delay in arrival. This situation can be represented by the following observation model: yk= (k−1)∧2 X a=0 δ(θk, a)zk−a, k ≥1,(2) where δ(·,·) is the Kronecker delta function and (k−1) ∧2 represents the minimum of k−1 and 2. The aim of this paper is to study the least-squares (LS) linear filtering problem 3
of the signal, xk, from the randomly delayed observations y1,· · · , yk. This problem is addressed using the information provided by the covariance functions of the signal and the noises present in the observation model. For this purpose, the following hypotheses about the signal and noise processes are assumed: (i) The signal process, {xk, k ≥1}, has zero mean and its covariance function is given by E[xkxT s] = AkBT s, s ≤k, where Aand Bare known n×Mmatrix functions. (ii) The measurement noise, {vk, k ≥1}, is a white process with zero mean and known variances E[v2 k] = Rk,∀k≥1. (iii){θk, k ≥1}is a homogeneous Markov chain that takes values in S={0,1,2}, with known probabilities π(k) a=P(θk=a), k ≥1, a ∈S, and transition probability matrix P= p00 p01 p02 p10 p11 p12 p20 p21 p22 ,where pab =P(θh+1 =b/θh=a), h ≥ 1, a, b ∈S. (iv) The signal process, {xk, k ≥1}, the noise, {vk, k ≥1},and {θk, k ≥1},are mutually independent. Remark 1. Hypothesis (i) actually covers many practical situations; for example, when the state-space model is available, xk= Φk−1xk−1+wk−1, the covariance function can be expressed as E[xkxT s] = Φk,sE[xsxT s], s ≤k, where Φk,s = Φk−1· · · Φs, and Hypothesis (i) is satisfied taking Ak= Φk,0and Bs=E[xsxT s](Φ−1 s,0)T. Note also that, although a state-space model can be generated from covariances, when only this kind of information is available, it is preferable to address the estimation problem directly using covariances, thus obviating the need for previous identification of the state-space model. Remark 2. From hypothesis (iii), denoting p(k) ab =P(θh+k=b/θh=a), h, k ≥1, a, b ∈Sp(1) ab =pab, the k−step transition probability from state ato state b, we have: E[δ(θk, a)δ(θh, b)] = P(θk=a/θh=b)P(θh=b) = p(k−h) ba π(h) b, h < k. Given the randomly delayed measurements up to time k,y1,· · · , yk, our aim is to determine the LS linear estimator, bxk/k, of the signal, xk.For this purpose an innovation approach is used. The innovation approach is based on an orthogonalisation procedure by means of which the observation process {yk;k≥1}is transformed into an equivalent one termed innovation process, which is denoted by {µk;k≥1}and defined as µk=yk−byk/k−1; that is, the innovation at time kis the difference between the observation ykand its estimation from the previous ones byk/k−1. The linear estimation problem is then approached by replacing the observation process with the innovation one, since both processes provide the same information. As the innovation process is white, the es- 4
timator calculated as a linear combination of innovations provides a simpler form of obtaining the algorithms than that obtained when it is expressed as a linear combination of observations. In order to apply this approach, the first step is to calculate the explicit expression for the innovation and its covariance matrix, and afterwards to determine the estimator expression. In this approach, the LS linear estimator of a random vector wkbased on the observations {y1, . . . , yk}, denoted by bwk/k, is expressed as a linear combination of the innovations {µ1, . . . , µk}; specifically: bwk/k = k X h=1 E[wkµh]Π−1 hµh, k ≥1,(3) where Πh=E[µ2 h] denotes the innovation variance. 3. Filtering algorithm Our purpose is to find the LS linear estimator of the signal xkbased on the observations {y1, . . . , yk}. Specifically, using an innovation approach our aim is to obtain a recursive algorithm for the filter bxk/k. 3.1. Notation In order to simplify the expressions of the filtering algorithm, the following notations are used: Ak= (H1A1|0|0) (P⊗IM)T, k = 1, (H2A2|H1A1|0) (P2⊗IM)T, k = 2, (HkAk|Hk−1Ak−1|Hk−2Ak−2) (Pk⊗IM)T, k ≥3, Bk= π(1) 0H1B1|0|0(P−1⊗IM)T, k = 1, π(2) 0H2B2|π(2) 1H1B1|0(P−2⊗IM)T, k = 2, π(k) 0HkBk|π(k) 1Hk−1Bk−1|π(k) 2Hk−2Bk−2(P−k⊗IM)T, k ≥3, Fk=(p01π(1) 0R1, k = 1, p02π(k) 0Hk−1(Bk−1AT k−Ak−1BT k)HT k+p01π(k) 0Rk+p12π(k) 1Rk−1, k ≥2, G(2) k=p(2) 02 π(k) 0Rk, k ≥1, where ⊗denotes the Kronecker product and IMis the M×Midentity matrix. 3.2. Innovation process As commented above, the estimation problem is addressed by using an innovation approach; thus, in order to determine the filter, our first aim is to derive an explicit formula for the innovation and for its variance. 5
Theorem 3.1. Under hypotheses (i)-(iv)set out in Section 2, the innovation, µk, is given by µk=yk−AkOy k−1− (k−1)∧2 X j=1 G(j) k−jΠ−1 k−jµk−j, k ≥2; µ1=y1,(4) where the vectors Oy kare recursively calculated as Oy k=Oy k−1+Jy kΠ−1 kµk, k ≥1; Oy 0= 0,(5) with Jy k=BT k−ry k−1AT k− (k−1)∧2 X j=1 Jy k−jΠ−1 k−jG(j) k−j, k ≥2; Jy 1=BT 1(6) and where G(1) kis given by G(1) k=Fk+G(2) k−1Π−1 k−1(AkJy k−1+G(1) k−1), k ≥2; G(1) 1=F1.(7) The matrices ry k=E[Oy kOyT k]are obtained by ry k=ry k−1+Jy kΠ−1 kJyT k, k ≥1; ry 0= 0.(8) The innovation variance, Πk,is given by Πk= (k−1)∧2 X a=0 π(k) aHk−aAk−aBT k−aHT k−a+Rk−a−AkBT k−Jy k − (k−1)∧2 X j=1 G(j) k−jΠ−1 k−jAkJy k−j+G(j) k−j, k ≥2; Π1=π(1) 0H1A1BT 1HT 1+R1. (9) Proof. In order to obtain the expression (4) for the innovation, µk=yk−byk/k−1, it is necessary to calculate the one-stage observation predictor, byk/k−1. From (3) and noting Tk,h =E[ykµh], the predictor is expressed as byk/k−1= k−1 X h=1 Tk,hΠ−1 hµh, k ≥2; by1/0= 0.(10) Then, it is necessary to calculate the coefficients Tk,h =E[ykyh]−E[ykbyh/h−1], for k≥2 and 1 ≤h≤k−1. Using (10) for byh/h−1, it is clear that Tk,h = E[yky1], h = 1, E[ykyh]− k−1 X j=1 Tk,jΠ−1 jTh,j,2≤h≤k−1.(11) 6
First, we obtain the expectations E[ykyh], for k≥2 and 1 ≤h≤k−1. •For h= 1, using (2) for the observations and the independence of {θk, k ≥1} and {zk, k ≥1}, we have E[yky1] = (k−1)∧2 X a=0 p(k−1) 0aπ(1) 0E[zk−az1]. Now, taking into account hypotheses (i) and (iii), it is clear that, for a≤(k− 1)∧2,we have E[zk−az1] = Hk−aAk−aBT 1HT 1+R1δk−a,1,and it is then apparent that E[yky1] = A2BT 1+F1, k = 2, A3BT 1+G(2) 1, k = 3, AkBT 1, k > 3. •For 2 ≤h≤k−1, an analogous procedure leads us, after some manipulations, to the following expressions: E[ykyh] = AkBT h, h < k −2, AkBT k−2+G(2) k−2, h =k−2, AkBT k−1+Fk−1, h =k−1. Substituting the above expectations into (11), we obtain that, for k≥2 and 1 ≤ h≤k−1, the coefficients Tk,h can be expressed by Tk,h = AkJy h, h < k −2, AkJy k−2+G(2) k−2, h =k−2, AkJy k−1+G(1) k−1, h =k−1, (12) where G(1) k=Fk+G(2) k−1Π−1 k−1Tk,k−1, and Jy his a function satisfying Jy h= BT 1, h = 1, BT h− h−1 X j=1 Jy jΠ−1 jTh,j, h ≥2.(13) Then, substituting (12) in (10) and defining Oy k= k X h=1 Jy hΠ−1 hµh, k ≥1, with Oy 0= 0, the observation predictor is given by byk/k−1=AkOy k−1+ (k−1)∧2 X j=1 G(j) k−jΠ−1 k−jµk−j, k ≥2, and expression (4) for innovation is obtained. From the definition of Oy k, the recursive relation (5) is clear. Now, by substituting (12) in (13) for h=kand defining ry k= 7
k X h=1 Jy hΠ−1 hJyT h, k ≥1,with ry 0= 0, the expression (6) is obtained. Using (12) for Tk,k−1, the formula (7) for G(1) kis obtained immediately, and the recursive relation (8) is clear from the definition of ry k. Next, we prove (9) for the innovation variance, Πk=E[(yk)2]−E[ykbyk/k−1]. •Clearly, from (2) and the model hypotheses E[(yk)2] = π1 0H1A1BT 1HT 1+R1, k = 1, (k−1)∧2 X a=0 π(k) aHk−aAk−aBT k−aHT k−a+Rk−a, k ≥2. •To derive E[ykbyk/k−1], we use (10) for the observation predictor, (12) for Tk,h and (13) for k−1 X h=1 Jy hΠ−1 hTk,h; then E[ykbyk/k−1] = AkBT k−Jy k− (k−1)∧2 X j=1 G(j) k−jΠ−1 k−jAkJy k−j+G(j) k−j, k ≥2. From the two expectations, expression (9) for Πkis thus obtained. 3.3. Recursive filtering algorithm In the following theorem, an expression for the optimal LS linear signal filter is derived, which together with those of the innovations and their variances, given in Theorem 3.1, constitute the recursive filtering algorithm. Theorem 3.2. Under hypotheses (i)-(iv)of the model, the filter, bxk/k, of the signal xkis obtained by bxk/k =AkOx k, k ≥1,(14) where the vectors Ox kare recursively calculated as Ox k=Ox k−1+Jx kΠ−1 kµk, k ≥1; Ox 0= 0,(15) with Jx k= (k−1)∧2 X a=0 π(k) aBT k−aHT k−a−rxy k−1AT k− (k−1)∧2 X j=1 Jx k−jΠ−1 k−jG(j) k−j, k ≥2; Jx 1=π(1) 0BT 1HT 1. (16) 8
The matrices rxy k=E[Ox kOyT k]are obtained by rxy k=rxy k−1+Jx kΠ−1 kJyT k, k ≥1; rxy 0= 0.(17) The innovation µk, its variance Πk,Jy kand G(1) kare given in Theorem 3.1. Proof. From the general estimator expression of the estimator (3), to derive the LS linear filter of the signal, xk, the coefficients Xk,h =E[xkµh] = E[xkyh]− E[xkbyh/h−1], h ≤k, must be calculated. For this purpose, from expression (10) for byk/k−1, we have Xk,h = E[xky1], h = 1, E[xkyh]− k−1 X j=1 Xk,jΠ−1 jTh,j,2≤h≤k. Using (2) for the observations, taking into account the model hypotheses and that for h−a≤k, E[xkzh−a] = AkBT h−aHT h−a, it is clear that Xk,h = π(1) 0AkBT 1HT 1, h = 1, Ak (h−1)∧2 X a=0 π(h) aBT h−aHT h−a− h−1 X j=1 Xk,jΠ−1 jTh,j,2≤h≤k. Next, introducing the function Jx h= π(1) 0AkBT 1HT 1, h = 1, (k−1)∧2 X a=0 π(h) aBT h−aHT h−a− h−1 X j=1 Jx jΠ−1 jTh,j,2≤h≤k, we have Xk,h =AkJx h,1≤h≤k, and after defining Ox k= k X h=1 Jx hΠ−1 hµh, with Ox 0= 0,the filter expression (14) is obtained. The recursive relation (15) is immediate from the definition of Ox k. By reasoning analogous to that used in deriving Jy kin Theorem 3.1, but now defining rxy k= k X i=1 Jx iΠ−1 iJyT i, k ≥1,with rxy 0= 0, we have expression (16) for Jx k. Finally, (17) for rxy kis deduced directly from its definition. 9