Next Article in Journal
A NIR-Spectroscopy-Based Approach for Detection of Fluids in Rectangular Glass Micro-Capillaries
Previous Article in Journal
Terrestrial and Satellite-Based Positioning and Navigation Systems—A Review with a Regional and Global Perspective
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Nonlinear Filter for a System with Randomly Delayed Measurements and Inputs †

Department of Electrical Engineering, Indian Institute of Technology Patna, Patna 801103, India
*
Author to whom correspondence should be addressed.
Presented at the 7th International Electronic Conference on Sensors and Applications, 15–30 November 2020; Available online: https://ecsa-7.sciforum.net/.
Eng. Proc. 2020, 2(1), 40; https://doi.org/10.3390/ecsa-7-08236
Published: 14 November 2020
(This article belongs to the Proceedings of 7th International Electronic Conference on Sensors and Applications)

Abstract

:
This paper deals with a remote state estimation problem for a nonlinear system. In a typical networked control system (NCS) scenario, the estimator and controller are remotely located, and they are connected with the plant through a common communication network. Traditional Bayesian filters assume that the measurements are always available. However, this may not be the case in reality. As the sensor measurements are transmitted to the remotely located estimator through an unreliable communication channel, delay may arise during data transfer. Similarly, the control signal is also applied remotely, and it reaches to the plant through a similar unreliable communication channel, and due to which here also delay may occur. In this paper, the authors develop a generalized framework of nonlinear filtering where the states can be estimated in the presence of arbitrary random delay in (i) transmission of measurement from sensor to the estimator and (ii) transmission of input from the remotely located controller to the system. The filtering algorithm in such a scenario is realized with deterministic sample points. The performance of the proposed method is tested experimentally on one simulation problem. With the help of the simulation result, it is shown that the developed method performs better than traditional non-delayed nonlinear filters in the presence of arbitrary delay in measurement and input.

1. Introduction

In the networked control system (NCS) [1,2], traditional Bayesian filters assumed that measurements are always available and reach to estimator without delay. However, that may not be the case in reality. In such a scenario [2], the estimator and controller are remotely located, and they are connected with the physical system through a common network. Here, the sensor measurements reach the remotely located estimators through a common network, which incurs delay in it. Similarly, the input signal is applied remotely, and it reaches to plant through a common network.
In this paper, the emphasis is given to handle measurement delay that arises due to the transmission of measurement signals through a common network channel. The literature on the described problem began with the work of Ray et al. [3], where the authors developed a randomly delayed filtering method for linear systems [4]. In [5], an optimal filter is proposed for randomly sampled and delayed measurements. Later, Sun et al. [6] have introduced an optimal filtering algorithm considering packet dropouts and extended their work [7] for randomly delayed measurements and inputs. Hermoso-Carazo et al. considered a nonlinear system and proposed a suboptimal solution with the extended Kalman filter (EKF) [8] and unscented Kalman filter (UKF) [9] for one step [10], and two steps [11] randomly delayed measurements. Wang et al. have used the cubature Kalman filter (CKF) [12] for one step randomly delayed measurement [13]. Zhang et al. [14] have proposed a new particle filter algorithm [15] when model parameter for delay in the channel (latency probability) is unknown. All the above filters assume that the random delay’s extent is known. Singh et al. [16] introduced a framework of Bayesian filtering for a nonlinear system where the delay could be arbitrary and random. Under this framework, the cubature quadrature Kalman filter (CQKF) [16,17], UKF [18] and particle filter [19] were realized.
To date, no estimator has been formulated for nonlinear systems that can take care of the effect of input, applied remotely, and transmitted the system through an unreliable communication channel. In this paper, we extend the work of [16], so that a generalized framework of nonlinear filtering could be developed which can estimate the states in the presence of arbitrary random delay during (i) transmission of measurement to estimator, and (ii) transmission of input from the controller (located remotely) to system. It is seen that to realize any filter in the proposed framework, a few intractable integrals are required to be evaluated. We have used the cubature quadrature rule of integration [17] to realize those integrals. The developed method is named as randomly delayed cubature quadrature Kalman filter (CQKF-RD), and it is applied to one nonlinear estimation problem. The simulation result shows that the developed CQKF-RD outperforms ordinary CQKF in the presence of randomly delayed measurement and input.

2. Problem Formulation

Let us consider a dynamic system whose state equation is given by
x k = ϕ ( x k 1 ) + B u ˜ k + η k 1 ,
and measurement equation is
z k = γ ( x k ) + ν k ,
where x k R n is a state vector and z k R d is sensor measurement. ϕ ( x k ) R n and γ ( x k ) R d are nonlinear function of x k . B is a matrix with acceptable dimension, and u ˜ k is the control input received by the system. η k R n is the process noise, and ν k R d is the measurement noise. η k and ν k are assumed to be white, mutually uncorrelated and normally distributed with zero mean and covariance Q k , R k , respectively.

2.1. Delayed Measurement

In NCS, sensor measurements ( z k ) reach the remote estimator through a common, unreliable communication network. Due to limited bandwidth and common network channels, data may be delayed. Moreover, the delay may be a random and arbitrary step. The delayed measurement ( y k ) can be expressed as
y k = i = 0 N 1 β ( j , i ) z k i ,
where β ( j , i ) = ( j = 0 i β j ) ( 1 β i + 1 ) , β j ( j = 0 , 1 , 2 , ) are mutually independent Bernoulli random variables and the value of β 0 is 1. As β j is the Bernoulli random variable, the values of β j could be either 0 or 1. N 1 is considered as the maximum extent of delayed step. From Equation (3), we see that at any instant at most one β ( j , i ) will be 1 and all other β ( j , i ) will be 0. When β ( j , i ) will be 1, we will get i t h step delayed measurement.
Furthermore, the variable β j satisfies P ( β j = 1 ) = p j and P ( β j = 0 ) = 1 p j , where p j is latency probability. From the distribution of β j , it can be easily obtained that E [ β j ] = p j and E [ β j 2 ] = p j .

2.2. Delay in Control Input

Here, u k is the control input, determined in the remote location. It is transmitted to the plant through an unreliable network. The control input received by the plant ( u ˜ k ) can be expressed as
u ˜ k = i = 0 N 1 α ( j , i ) u k i ,
where α ( j , i ) = ( j = 0 i α j ) ( 1 α i + 1 ) , α j , j { 0 , 1 , 2 , } are mutually independent Bernoulli random variables and the value of α 0 is 1. Moreover, P ( α j = 1 ) = q j and P ( α j = 0 ) = 1 q j , where q j is latency probability. From the distribution of α j , we can calculate that E [ α j ] = q j and E [ α j 2 ] = q j .

3. Bayesian Estimation for Randomly Delayed Measurements and Inputs

In this section, we derive a few Lemmas, which will be used to construct the nonlinear filtering algorithm for the considered scenario. It is to be noted that, due to nonlinearity in process and measurement model, the prior and posterior probability density function (pdf) of states will be non-Gaussian and arbitrary. Throughout the derivation, we assume that the prior and posterior pdf of states are Gaussian and characterized with mean and covariance. In filtering literature, the estimators designed with this assumption are collectively known as Gaussian filter [9,12,17].
Assumption 1.
We assume that there is no loss of control and measurement data during transmission. They are only delayed by maximum ( N 1 ) step. This is a prerequisite of all the remaining Lemmas.
Lemma 1.
The expectation of control input received to the plant is given by E [ u ˜ k ] = i = 0 N 1 ( j = 1 i q j ) ( 1 q i + 1 ) u k i .
Proof. 
From Equation (4), it can be written as
E [ u ˜ k ] = E [ i = 0 N 1 α ( j , i ) u k i ] = i = 0 N 1 E [ α ( j , i ) ] E [ u k i ] .
Substituting the value of E [ α ( j , i ) ] which can be calculated similarly to E [ β ( j , i ) ] in [16], we obtain
E [ u ˜ k ] = E [ i = 0 N 1 α ( j , i ) u k i ] = i = 0 N 1 ( j = 1 i q j ) ( 1 q i + 1 ) u k i .
Lemma 2.
The expectation of u ˜ k u ˜ k T can be expressed as E [ u ˜ k u ˜ k T ] = i = 0 N 1 ( j = 1 i q j 2 ) ( 1 q i + 1 ) 2 u k i u k i T .
The derivation of Lemma 2 is similar to Lemma 1, and proof is not provided here due to page restriction. Generally, Bayesian filters are realized in two steps: (i) time update (ii) measurement update.

3.1. Time Update

In this step, we calculate prior mean ( x ^ k | k 1 ) and prior error covariance ( P k | k 1 ). The expressions for them are derived in Lemmas 3 and 4.
Lemma 3.
Prior estimate of the states can be expressed as x ^ k | k 1 = ϕ ( x k 1 ) N ( x k 1 ; x ^ k 1 | k 1 , P k 1 | k 1 ) d x k 1 + B E [ u ˜ k ] .
Proof. 
Prior mean,
x ^ k | k 1 = E [ x k | y 1 : k 1 ] = E [ ( ϕ ( x k 1 ) + B u ˜ k + η k 1 ) | y 1 : k 1 ] = ϕ ( x k 1 ) N ( x k 1 ; x ^ k 1 | k 1 , P k 1 | k 1 ) d x k 1 + B E [ u ˜ k ] .
In the above equation, E [ u ˜ k ] can be calculated using Lemma 1.
Lemma 4.
Prior error covariance can be expressed as P k | k 1 = E [ ϕ ( x k 1 ) ϕ T ( x k 1 ) | y 1 : k 1 ] E [ ϕ ( x k 1 ) | y 1 : k 1 ] E [ ϕ T ( x k 1 ) | y 1 : k 1 ] + Q k + B E [ u ˜ k u ˜ k T ] B T B E [ u ˜ k ] E [ u ˜ k T ] B T .
Proof. 
Prior estimate error can be written as
e k | k 1 = x k x ^ k | k 1 = ϕ ( x k 1 ) + B ( u ˜ k E [ u ˜ k ] ) + η k 1 E [ ϕ ( x k 1 ) | y 1 : k 1 ] ,
where B = B ( u ˜ k E [ u ˜ k ] ) and E [ B ] = E [ B ( u ˜ k E [ u ˜ k ] ) ] = 0 . Prior error covariance can be expressed as
P k | k 1 = E [ e k | k 1 e k | k 1 T | y 1 : k 1 ] = E [ { ϕ ( x k 1 ) + B + η k 1 E [ ϕ ( x k 1 ) | y 1 : k 1 ] } { ϕ ( x k 1 ) + B + η k 1 E [ ϕ ( x k 1 ) | y 1 : k 1 ] } T | y 1 : k 1 ] = E [ { ϕ ( x k 1 ) ϕ T ( x k 1 ) ϕ ( x k 1 ) E [ ϕ T ( x k 1 ) | y 1 : k 1 ] + B B T + η k 1 η k 1 T E [ ϕ ( x k 1 ) | y 1 : k 1 ] ϕ T ( x k 1 ) + E [ ϕ ( x k 1 ) | y 1 : k 1 ] E [ ϕ T ( x k 1 ) | y 1 : k 1 ] } | y 1 : k 1 ] + C ,
where C = E [ { ϕ ( x k 1 ) B T + ϕ ( x k 1 ) η k 1 T + B ϕ T ( x k 1 ) + B η k 1 T B E [ ϕ T ( x k 1 ) | y 1 : k 1 ] + η k 1 ϕ T ( x k 1 ) η k 1 E [ ϕ T ( x k 1 ) | y 1 : k 1 ] + η k 1 B T E [ ϕ ( x k 1 ) | y 1 : k 1 ] B T E [ ϕ ( x k 1 ) | y 1 : k 1 ] η k 1 T } | y 1 : k 1 ] .
As E [ η k ] = 0 and E [ B ] = 0 , C = 0 . Finally, the prior error covariance can be written as
P k | k 1 = E [ ϕ ( x k 1 ) ϕ T ( x k 1 ) | y 1 : k 1 ] E [ ϕ ( x k 1 ) | y 1 : k 1 ] E [ ϕ T ( x k 1 ) | y 1 : k 1 ] + B E [ u ˜ k u ˜ k T ] B T B E [ u ˜ k ] E [ u ˜ k T ] B T + Q k .
In the above equation, E [ u ˜ k ] and E [ u ˜ k u ˜ k T ] can be calculated with the help of Lemmas 1 and 2, respectively.

3.2. Measurement Update

In this step, the prior pdf is combined with the current measurement and provides the refined state estimate, generally called the posterior state estimate. To compute the posterior state estimate, x ^ k | k and error covariance ( P k | k ), we need to evaluate the estimated value of delayed measurement y ^ k | k 1 , covariance of the delayed measurement P k | k 1 y y , and cross-covariance between state and delayed measurement P k | k 1 x y . The detailed derivation of these equations is given in [16], and readers are requested to see those equations.
Finally, we calculate the posterior state estimate and error covariance matrix as follows:
x ^ k | k = x ^ k | k 1 + K ( y k y ^ k | k 1 ) ,
P k | k = P k | k 1 K P k | k 1 y y K T ,
where the Kalman gain, K is
K = P k | k 1 x y ( P k | k 1 y y ) 1 .

4. Simulation Result

Problem 1: In this problem, we consider a nonlinear system [16], with process model
x k = 2 c o s ( x k 1 ) + B u ˜ k + η k ,
and measurement model
y k = 1 + x k T x k + ν k ,
where x k R 6 is the state vector, y k R is the measurement and u k is control input. The process noise, η k , and measurement noise, ν k , are assumed to be uncorrelated, white and normally distributed with mean zero, and covariance Q k and R k , respectively. For this problem, the following values are used for simulation: u k =2 s i n ( 0.2k ) , Q k = 5 I n and R k =5. Initial truth value of the state is x 0 = 0 . 1 6 × 1 . The filter is initialized with x ^ 0 | 0 = 15 6 × 1 and P 0 | 0 =5 I 6 .
Simulation has been carried out for 200 time-steps. Here, second order quadrature ( n = 2 ) is used for CQKF and CQKF-RD. Filtering performance has been compared in terms of averaged root mean square error (RMSE) calculated over 200 Monte Carlo runs for different values of p (we assume p = q ) and plotted in Figure 1. From the figure, we see that the proposed filter performs better than conventional CQKF.

5. Discussion and Conclusions

In a cyber physical system, it is very common that an estimator and controller are remotely located, and communicate with the plant through a common unreliable network. During such communications, data may be delayed randomly. In this paper, we have developed a framework for nonlinear filtering where the measurements and input data are randomly delayed. The framework is realized with a popular Gaussian filter, namely CQKF. With the help of one nonlinear filtering problem, the superiority of the proposed method over the traditional filter has been demonstrated.

Author Contributions

S.B. conceived the idea. K.K. and S.B. formulated the problem, designed the filtering algorithm, and implemented the proposed algorithm in a numerical simulation problem. All authors have read and agreed to the published version of the manuscript.

Funding

The second author acknowledges the Young Faculty Research Fellowship grant, received from Ministry of Electronics and Information Technology, Government of India.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Yang, T.C. Networked control system: A brief survey. IEE Proc. Control Theory Appl. 2006, 153, 403–412. [Google Scholar] [CrossRef]
  2. Zhang, X.M.; Han, Q.L.; Yu, X. Survey on recent advances in networked control systems. IEEE Trans. Industr. Inform. 2015, 12, 1740–1752. [Google Scholar] [CrossRef]
  3. Ray, A.; Liou, L.W.; Shen, J.H. State estimation using randomly delayed measurements. ASME J. Dyn. Syst. Meas. Contr. 1993, 115, 19–26. [Google Scholar] [CrossRef]
  4. Kalman, R.E. A new approach to linear filtering and prediction problems. ASME J. Basic Eng. 1960, 82, 35–45. [Google Scholar] [CrossRef]
  5. Thomopoulos, S.C.A.; Zhang, L. Decentralized filtering with random sampling and delay. Inf. Sci. 1994, 81, 117–131. [Google Scholar] [CrossRef]
  6. Sun, S.; Xie, L.; Xiao, W.; Xiao, N. Optimal filtering for systems with multiple packet dropouts. IEEE Trans. Circuits Syst. II 2008, 55, 695–699. [Google Scholar]
  7. Sun, S.; Ma, J. Linear estimations for networked control systems with random transmission delays and packet dropouts. Inf. Sci. 2014, 269, 349–365. [Google Scholar] [CrossRef]
  8. Bar-Shalom, Y.; Li, X.R.; Kirubarajan, T. Estimation with Application to Tracking and Navigation; Wiley-Interscience Pub.: New York, NY, USA, 2001. [Google Scholar]
  9. Julier, S.J.; Uhlmann, J.K.; Durrant-Whyte, H.F. A new approach for filtering nonlinear systems. In Proceedings of the 1995 American Control Conference—ACC’95, Seattle, WA, USA, 21–23 June 1995; pp. 1628–1632. [Google Scholar]
  10. Hermoso-Carazo, A.; Linares-Pérez, J. Extended and unscented filtering algorithms using one-step randomly delayed observations. Appl. Math. Comput. 2007, 190, 1375–1393. [Google Scholar] [CrossRef]
  11. Hermoso-Carazo, A.; Linares-Pérez, J. Unscented filtering algorithm using two-step randomly delayed observations in nonlinear ssytems. Appl. Math. Model. 2009, 33, 3705–3717. [Google Scholar] [CrossRef]
  12. Arasaratnam, I.; Haykin, S. Cubature Kalman filter. IEEE Trans. Automat. Control 2009, 54, 1254–1269. [Google Scholar] [CrossRef]
  13. Wang, X.; Liang, Y.; Pan, Q.; Zhao, C. Gaussian filter for nonlinear systems with one step randomly delayed measurements. Automatica 2013, 49, 976–986. [Google Scholar] [CrossRef]
  14. Zhang, Y.; Huang, Y.; Li, N.; Zhao, L. Particle filter with one step randomly delayed measurements and unknown latency probability. Int. J. Syst. Sci. 2016, 47, 209–221. [Google Scholar] [CrossRef]
  15. Carpenter, J.; Clifford, P.; Fearnhead, P. Improved particle filter for nonlinear problems. Proc. Inst. Elect. Eng. 1999, 146, 2–7. [Google Scholar] [CrossRef]
  16. Singh, A.K.; Date, P.; Bhaumik, S. A modified Bayesian filter for randomly delayed measurements. IEEE Trans. Automat. Control 2017, 62, 419–424. [Google Scholar] [CrossRef]
  17. Bhaumik, S. Cubature quadrature Kalman filter. IET Signal Process. 2013, 7, 533–541. [Google Scholar] [CrossRef]
  18. Yadav, A.K.; Mishra, V.K.; Singh, A.K.; Bhaumik, S. Unscented Kalman filter for arbitrary step randomly delayed measurements. In Proceedings of the 2017 Indian Control Conference (ICC), Guwahati, India, 4–6 January 2017; pp. 82–86. [Google Scholar]
  19. Tiwari, R.K.; Bhaumik, S.; Date, P.; Kirubarajan, T. Particle filter for randomly delayed measurements with unknown latency probability. Sensors 2020, 20, 5689. [Google Scholar] [CrossRef] [PubMed]
Figure 1. Averaged RMSE against probability plot, for (a) state-1 (b) state-2 (c) state-3 (d) state-4 (e) state-5 (f) state-6
Figure 1. Averaged RMSE against probability plot, for (a) state-1 (b) state-2 (c) state-3 (d) state-4 (e) state-5 (f) state-6
Engproc 02 00040 g001
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Kumar, K.; Bhaumik, S. Nonlinear Filter for a System with Randomly Delayed Measurements and Inputs. Eng. Proc. 2020, 2, 40. https://doi.org/10.3390/ecsa-7-08236

AMA Style

Kumar K, Bhaumik S. Nonlinear Filter for a System with Randomly Delayed Measurements and Inputs. Engineering Proceedings. 2020; 2(1):40. https://doi.org/10.3390/ecsa-7-08236

Chicago/Turabian Style

Kumar, Kundan, and Shovan Bhaumik. 2020. "Nonlinear Filter for a System with Randomly Delayed Measurements and Inputs" Engineering Proceedings 2, no. 1: 40. https://doi.org/10.3390/ecsa-7-08236

Article Metrics

Back to TopTop