#### Abstract

This paper is concerned with the Kalman filtering problem for tracking a single target on the fixed-topology wireless sensor networks (WSNs). Both the insufficient anchor coverage and the packet dropouts have been taken into consideration in the filter design. The resulting tracking system is modeled as a multichannel nonlinear system with multiplicative noise. Noting that the channels may be correlated with each other, we use a general matrix to express the multiplicative noise. Then, a modified extended Kalman filtering algorithm is presented based on the obtained model to achieve high tracking accuracy. In particular, we evaluate the effect of various parameters on the tracking performance through simulation studies.

#### 1. Introduction

Recent advancements of micro sensors technology have boosted the development of wireless sensor networks (WSNs). As is well known, WSNs can perform a variety of tasks that range from environment monitoring [1] and military surveillance [2] to hospital healthcare [3] and traffic control [4]. Nowadays, target tracking is a crucial practical application of WSNs, such as tracking emergency rescue workers, tracking military targets, and tracking moving devices in transportation systems. Indeed, we benefit greatly from the availability of accurate tracking. However, the problem of accurate and reliable tracking is still one of the major challenges in WSNs to be fully addressed due to the finite system resources and environment constraints.

Prior work for tracking mobile target in WSNs can be roughly categorized into three types in the light of the mechanism adopted: the trilateration-based schemes [5], the model-based methods like Kalman filter [6–8] and particle filtering [9–11], and techniques based on the additional hardware on the target [12]. It is noticed that all the tracking methods given in the aforementioned references are derived based on the assumption that the WSNs are reliable to get the satisfactory tracking results. The effect of packet dropouts is neglected due to the complicated analysis or modeling. In fact, packet dropouts are unavoidable in data transmission due to the unreliable characteristics of networks. Recently, some results are obtained on the tracking problem for WSNs with packet dropouts by using Kalman filter or its variations. Motivated by tracking applications of WSNs, paper [13] studies the problem of performing Kalman filtering with intermittent observations, where the measurements are assumed to be received in full or lost completely. Paper [14] extends the results in [13] to allow partial observation losses, where the observation processes can be sent in two packets which are lost separately. For the general case that observations are sent over more than two different wireless channels, the Kalman filter is designed in [15] where the time delay is considered simultaneously. As we can see, the problem of packet dropouts is discussed in the papers listed above. However, all these papers assume that the tracking systems are linear systems with multiplicative noise, where multiplicative noise is employed to describe the phenomenon of packet losses. In the practical tracking applications, the linear conditions are not always met; hence, the extended Kalman filter (EKF) suitable for nonlinear systems [16] is needed to account for the nonlinearity in the tracking systems.

Besides the packet dropouts resulting in intermittent observations, insufficient anchor coverage is also a main issue which affects the tracking accuracy in WSNs. As is known, the target cannot always be detected by anchors simultaneously in practical application scenarios due to lack of costly anchors and environment constraints [17], where is the requisite number of the anchors covering each location point, typically, for most of the tracking schemes based on trilateration. Therefore, it is desirable to develop a filtering algorithm taking into account the above two constraints: packet dropouts and insufficient anchor coverage. To the best of authors’ knowledge, this topic has not been fully investigated in the existing literature. This is the motivation of the present research.

In this paper, we design the modified extended Kalman filter (MEKF) for tracking systems suffering from both multiple packet dropouts and insufficient anchor coverage. The main contributions of this paper are as follows: (1) the phenomenon of packet dropouts and the condition of insufficient anchor coverage are modeled as two different Bernoulli random processes; thus it is reasonable to define the effective packet arrival indicator, indicating whether the desired measurements are received correctly or not, as the products of above two Bernoulli variables; (2) a general measurement model with multiplicative noise is proposed to describe the case of intermittent and insufficient observations; compared with some existing ones, the obtained model is more practical due to two facts: (a) the nonlinearity in the tracking systems is considered; (b) a matrix rather than a scalar quantity is employed to express the multiplicative noise since the matrix can describe the characteristics of different channels; (3) the modified extended Kalman filtering algorithm is proposed based on the obtained system model. Moreover, the effects of various parameters on the tracking performance are evaluated through simulation studies.

The paper is organized as follows. Section 2 describes the system scenario. The classical EKF is introduced in Section 3. In Section 4, the measurement model considering insufficient and intermittent observations is given, and the corresponding MEKF is designed. Numerical examples illustrating and evaluating the proposed filter are given in Section 5. Section 6 concludes the paper.

#### 2. System Description

We consider the tracking problem in a distributed network system setting with fixed-topology anchors and filters/controllers. Even if it were simpler, the fixed-topology framework well addresses many relevant applications, for instance, environmental monitoring [18]. As shown in Figure 1, anchors and filters/controllers are located at different physical locations and thus communicate over wireless networks. Assume a system model underlying Kalman filtering where the nonobservable state of the moving target is denoted by and the observation vector consists of the noisy measurements. In the scenario of Figure 1, the components of are the measurements collected by the No. anchors which will be used to estimate . The No. filter in charge of estimating can directly exchange information with the filters handling the states and . Due to the dynamic noise and environment constraints, the target cannot always be detected by anchors simultaneously. Besides, packet losses are inevitable because of collisions and transmission errors. Suffering from above two constraints, the target cannot always be localized based on trilateration. It should also be pointed out that since the measurements are noisy and fluctuate, the target can only be localized at possible location region rather than at a single point by trilateration, even if under three or more measurements. Figure 2 where depicts the estimated trace by directly connecting the centroid of possible locations (i.e., , , and ) under three measurements fails to provide a high tracking accuracy. Aiming at enhancing the tracking accuracy, we design the MEKF for the target tracking; and the corresponding estimation curve is shown as solid line with pentagram marker in Figure 2.

#### 3. Overview of the Classical Extended Kalman Filtering Algorithm

In this section, we introduce the classical extended Kalman filtering theory which assumes periodic measurement updates; that is, the target can be detected by anchors at any given time step , and all the measurement packets can be received successfully.

##### 3.1. The Moving Model for Mobile Target

The low dynamic scenario (pedestrian speeds) is considered throughout the paper; hence the position-velocity (PV) model is adopted to describe the two-dimensional motion of the target [19], which can be expressed by the following equation:where is the state vector and it is composed by the position coordinates and the velocity components; that is, , in which and are the target’s position coordinates in horizontal and vertical directions, respectively. Correspondingly, and are the speeds in horizontal and vertical directions, respectively. Assume that the target moves at near constant velocity between two adjacent estimation steps; the state transition matrix can be expressed bywhere is the interval between the current estimation time and the previous estimation time .

As is well known, the moving target is often subject to different forces (e.g., frictions) that could temporally affect target’s dynamics. Hence, the process noise which takes into account the perturbation on the system needs to be incorporated in the PV model. Without loss of generality, we model the process noise as the independent random acceleration with zero mean and covariance matrix . From the above analysis, we can get that has the following form:

For the sake of simplicity, let us define Then, it follows from (4) thatIt is easy to verify that is the independent noise with zero mean and covariance:

##### 3.2. The Observation Model for WSNs

This subsection presents the position and distance observation models for the ideal case of Figure 1. At any given time step , we assume that the target can be simultaneously detected by anchors which are located at known coordinates , respectively. If no observations are lost, measured distances between the target location and the locations of anchors can be used to estimate the target position by the following equation:where is the distance measurement error. Then, we rewrite (7) aswhere is the observation vector, and it is defined as . is the observation function that relates the current state to the output. And is the observation noise which is typically assumed as the independent white Gaussian noise with zero mean and covariance matrix .

##### 3.3. Extended Kalman Filter

The classical EKF design is described in this subsection for tracking the moving target. As described above, the tracking system can be formulated as the state equation (5) and the observation equation (8). Under the assumption that the random processes and for all and the initial state are mutually independent, the following equations can be calculated iteratively to track the target.

*(1) State Prediction Step*. Assume that state estimation and the error covariance are available at time step ; the one-step state prediction and the one-step error covariance prediction can be estimated as follows:

*(2) Measurement Update Step*. When the new distance measurements are obtained, they can be used to update the state prediction. Correspondingly, the error covariance is also updated. The state estimation and the error covariance at time step can be calculated aswhere and are, respectively, the EKF gain and the innovation and they are defined as follows:

It is obvious that the function in (8) is nonlinear, so its linear approximation is needed for the iterative calculation of the EKF. In the general case, can be chosen as the Jacobian matrix of the observation function evaluated around the state prediction ; that is,where the partial derivatives are given below:

#### 4. Tracking with Insufficient and Intermittent Observations

In this section, we modify the classical EKF to account for possible insufficient and intermittent observations. We first improve the observation equation to make it suitable for both the case of insufficient anchor coverage and the case of unreliable network connections. Then we design the MEKF based on the observation model obtained.

##### 4.1. The Observation Model with Multiplicative Noise

Under the scenario of insufficient sensor coverage, the anchors transmit measurement signals if they can detect the target; otherwise they transmit empty packets with special flags (we will call them ineffective packets in this paper) to the filter. We use to indicate whether the measurement packet sent by the No. anchor is ineffective packet at time step . Moreover, we assume is independent and identically distributed (i.i.d.) Bernoulli random variable with . Note that packet dropouts are inevitable due to transmission errors and collisions. We use the i.i.d. Bernoulli variables with means to represent whether the signal transmitted over the No. channel is received correctly. Denote the effective packet arrival indicator of the No. channel by ; obviously, .

*Remark 1. *The effective packet arrival indicator contains two important aspects: (1) describing the phenomenon of packet dropouts in the No. channel; (2) showing whether the No. anchor can detect the target or not. Obviously, the modeling and analysis method proposed is suitable for both the conditions of insufficient sensor coverage and the conditions of unreliable network connections.

Note that the channels may be correlated with each other; we use a general matrix to describe the multiplicative noise matrix of the tracking system; that is,where the diagonal element of can be expressed by and the nondiagonal component indicates the correlation of the channels and . Without loss of generality, the following assumptions are made on the multiplicative noise matrix throughout this subsection.

*Assumption 2. *, where .

*Assumption 3. *, where is the Kronecker Delta function.

*Assumption 4. * is independent of , , and .

It is clear that Assumption 3 indicates that all channels of the multiplicative noise matrix are correlated with each other at the same time.

##### 4.2. Modified Extended Kalman Filter

Consider the system given by (5) and (16). Since in (16) is a nonlinear function, we first expand the nonlinearities in about using the Taylor series expansion method [20]. Retaining only the first order terms and constant terms, we can approximate (16) aswhere can be expressed by (13) and

Suppose that the assumptions on , , and in Section 3 still hold. Before formulating the problem of the state estimation with insufficient and intermittent observations, we define the following innovation sequence associated with the measurement :where the one-step measurement prediction can be described asObviously, the state estimation of can be expressed aswhere the one-step state prediction is calculated by (9) and the filter gain is chosen to minimize the following function:

The estimation problem is now formulated as follows: find the estimation as in (21), wherein the filter gain can minimize (22).

*Remark 5. *Obviously, as shown in Figure 1, the multiplicative noise together with the observation is available for the filter at time step , which is different from the iterative filter in [21], where the multiplicative noise cannot be obtained; hence the one-step measurement prediction is formulated aswhere is the mean of . It is not surprising that our filter performs better since is available in the one-step measurement prediction while the multiplicative noise in [21] is the unknown stochastic matrix for the filter; hence the expectation of is adopted for the iterative calculating.

*Remark 6. *The above estimation problem is also different from the suboptimal filtering problem studied in [22], where the measurement model is linear. Though it is simpler, the linear model has important limitations in many typical applications of sensor networks. For example, it cannot well address the problem of localization and tracking. Due to the practical requirement of tracking in WSNs, we adopt the nonlinear measurement model (16).

We are now in the position to present the filtering method for the multichannel nonlinear systems with multiplicative noise.

Theorem 7. *For systems (5) and (16), the iterative modified extended Kalman filtering algorithm is given as below:**where the one-step state prediction is formulated as in (9) and the gain matrix is calculated as**in which is defined as in (34) below. Moreover, the one-step error covariance prediction satisfies the recursive equation (10), and the error covariance matrix can be expressed by*

*Proof. *We firstly give the following definitions, which are useful for the development of our work:From (28) and (30), it is obvious that is equivalent to (22); hence our objective is now to find to minimize .

Substituting (21) into (28) and noting (27), one can obtain where is the identity matrix of appropriate dimensions.

From the aforementioned hypotheses on , , , and , it is easy to check thatThus, it follows from (31) that where is defined asLettingwe obtain that the element of the matrix in (34) satisfies the following equation:In order to find to minimize (33), we rewrite (33) asIt then follows from (37) that the minimizer can be found by choosing as in (25), and corresponding minimum error covariance can be expressed by (26), which concludes the proof.

##### 4.3. A Special Case: Uncorrelated Communication Channels

As discussed above, the multiplicative noise matrix is assumed to be a general matrix, which corresponds to the practical case in which different communication channels (including the corresponding anchors) are correlated. When the channels are independent of each other, the multiplicative noise matrix can be described as a diagonal matrix which is the special form of the general matrix. Obviously, Theorem 7 can be directly applied for this case. However, in (34) can be actually expressed by a simple form due to the characteristics of the diagonal matrix.

Throughout this subsection, we assume that is the multiplicative noise matrix and the effective packet arrival indicators are i.i.d. Bernoulli random variables with the mean and covariance as follows:Hence, we obtain

Define and note the characteristics of the diagonal matrix. Then, we have where is defined as in (35). It is noteworthy that (41) is much simpler than (36) which corresponds to the case of a general matrix.

*Remark 8. *Note that, as a special form, the diagonal matrix has all elements being zeros except for the diagonal elements. As a result, the filtering problem discussed in this subsection can be actually thought of as the particular case of the estimation studied in Section 4.2. It is important to stress that in (39) is symmetric matrix due to the diagonal form (while in (25) is not necessarily symmetric); thus (25) in Theorem 7 can be simply modified as

#### 5. Numerical Examples

In this section, the results from the previous section are illustrated through simulation studies. Moreover, we evaluate the effect of various noise parameters on tracking performances for both the MEKF and the trilateration-based method.

##### 5.1. Simulation Example for MEKF

Suppose the sample period is constant and the desired number of the observations is . Consider the system (1) and (16), where and are random noise with zero means and covariances and , respectively. The mean of the multiplicative noise has the form of . We design the MEKF for the above system, and its tracking performance is shown in Figure 3, which shows that our filter is effective.

##### 5.2. Performance Evaluation under Various Parameters

We evaluate the tracking accuracies of the MEKF and the trilateration-based method under different noise scenarios. The average distance error (ADE) is introduced to compare the tracking performances, which is defined as

Two kinds of noise parameters affecting the tracking performances are discussed: the multiplicative noise and the measurement noise.

###### 5.2.1. Impact of Multiplicative Noise

Table 1 shows the ADEs of the MEKF and the trilateration-based method suffering three different types of multiplicative noise. The corresponding distance error comparisons are shown in Figure 4. As shown in Figure 4, compared to the trilateration-based method, the MEKF proposed performs better for all three cases.

**(a)**Comparison with

**(b)**Comparison with

**(c)**Comparison withIt is evident that, with the increase of the effective packet arrival rate (corresponding to the increase of the positive definite matrix in Table 1), the estimation error becomes smaller and smaller for both methods. This is to be expected, since more measurements may provide more valuable information for updating the estimation. Moreover, it is worth pointing out that if decreases, the performance of the trilateration-based method will degrade considerably, while the tracking accuracy of our filter will be affected slightly. The reasons are as follows. The trilateration-based method requires at least three effective measurements for each location point. Due to the sparse anchor support and the unreliable communication link, the target cannot always be localized during its movement. The trace estimated by connecting localized positions with three measurements fails to provide the high tracking accuracy. However, our algorithm given in Theorem 7 can propagate the state estimation of the previous time step and exploit information regarding the arrival partial observations sufficiently. As a result, it has a better performance under insufficient and intermittent observations.

###### 5.2.2. Impact of Measurement Noise

The measurement noise would reduce the accuracy of the measurement signals and consequently degrade the tracking performance. In this subsection, we simulate the distance errors under different measurement noise. Figure 5 shows all of these cases, comparing the distance errors of our filter with those of the trilateration-based method. The detailed account of the corresponding ADEs is given in Table 2. As the covariance of the measurement noise increases, we can see the ADEs for both schemes increase.

**(a)**Comparison with

**(b)**Comparison with

**(c)**Comparison withIt is easy to see that the ADE of our filter is smaller than that of the trilateration-based method, especially for the case of larger measurement noise covariance. This is not surprising, since the trilateration only depends on the distances between the target location and the locations of anchors (i.e., the measurement equation) to track the moving target, while our method exploits additional information from the state equation. As a consequence, our scheme is more suitable for the scenario assuming the state equation is available. It is also worth noting that there are some sharp protrusions on the trilateration curves as shown in Figures 4 and 5, which indicate considerable estimation errors. However, our method gives smoother curves for all cases.

#### 6. Conclusions

This paper considers the tracking problem in the context of distributed sensor networks. The anchors collect observation data and send them to the corresponding central filtering units. The observations may be insufficient or intermittent or both due to environment constraints and unreliable links. We propose the modified extended Kalman filtering algorithm suitable for the above cases. Moreover, the effect of various parameters on tracking performances is evaluated by numerical examples. Future works will consist in designing and conducting experiments using the proposed MEKF algorithm.

#### Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

#### Acknowledgments

This work was supported by the Fundamental Research Funds for the Central Universities under Grant 2012QNB18, the National Natural Science Foundation of China under Grant 61202478, and the Postdoctoral Science Foundation of China under Grant 2014M561727.