Abstract

In a distributed sensor (and actuator) network, several sensors may be lumped to a single transmitter or communicate via a remote terminal unit. Due to bandwidth limitations in the network, the transmitter/remote terminal should decide on the communication sequence according to which it sends sensor data. This decision must be based on an appropriate performance criterion. In this paper, we formulize this problem and propose a convex optimization scheme to optimize the estimation variance via choosing the most appropriate communication sequence. The derived communication sequence is then used for designing a Kalman filter to estimate states of the underlying system. Both cases of Zero-Order Hold and Reset To Zero output policies are investigated and compared in the simulation.

1. Introduction

Networks are being used in almost any application which involves a distributed system. Using a shared network results in reduced wiring and maintenance costs [1]. It also facilitates any extension or restructuring of the network [2]. A restrictive limitation of a shared network is the bandwidth limitation which is usually characterized by the maximum number of simultaneous communications permitted by the network medium access policy [3]. The sequence, according to which sensors are granted access to the network, is henceforth called the sensor communication sequence [3, 4]. Choice of the sensor communication sequence affects estimation and control performance. Figure 1 depicts the situation in which several sensors are sending measurements through a shared limited bandwidth network which cause different measurements to reach the destination with different time delays. A similar problem arises in sensor-actuator networks known also as networked control systems where actuator accesses to the network should be arbitrated in order to stabilize a plant or optimize the control performance [24]. The problem of choosing the best communication sequence is hybrid involving both continuous and binary-valued variables [5] and of combinatorial nature [6] in which the number of feasible sequences is of a combinatorial order. In this paper, we use results of [7, 8] to formulate the problem as a convex optimization which could be solved via numerically efficient tools like CVX [8] and similar software. In order to formulate the problem into a convex optimization one, binary-valued variables are relaxed and expressed as continuous variables with inequality constraints which results in suboptimal solutions to the original problem.

The scheduler shown in Figure 1 is a functional block representing a medium access policy for arbitration of sensor accesses to the network, for example, via token passing. It is worth noticing that we assume contention-free medium access policies (e.g., field bus networks) in which access to the network could be determined via an algorithm like a round robin or an online programming. This contrasts to contention-based networks where the access to network occurs randomly based on a multiple access policy in which a node can access the network whenever it is idle [6].

The sensor selection/scheduling problem has been studied for a while [713]. Different approaches have been practiced for different problem settings in sensor scheduling paradigm. This problem is known to be challenging [7] firstly due to its mixed nature, involving both integer and continuously valued variables [3, 10], secondly, as it usually results in a combinatorial optimization problem with severely increasing computational complexity due to the large number of possible schedules in large systems [7], and thirdly due to the complicated relationship between usually used any performance criteria (i.e., logarithmic, quadratic, etc.) and the schedule. This complication hinders the application of conventional optimization methods [7]. It is shown in [12] that most of the conventionally used functions for optimization of sensor schedules are not submodular and, therefore, incremental algorithms could not be used for derivation of optimal schedules in this problem. Though sensor selection problem and sensor scheduling are closely related, some differences should be pointed out. The sensor selection is usually performed offline to select a few sensors out of all available ones [10] in order to achieve optimal estimation. On the other hand, the sensor scheduling is performed offline, online, or semionline in order to determine the order of sensor accesses to network which may be randomly chosen based on a preassigned distribution function [13] or a deterministically (offline or online) assigned schedule as in [4, 5, 7] and the present paper. Also, the result of a sensor selection algorithm is a subset of all sensors which means some of the sensors are to be discarded and there is no priority between the selected sensors. However, in the sensor scheduling problem, no sensor is discarded and each sensor is granted a portion of the available bandwidth. Some authors [7] however used static sensor scheduling and sensor selection as alternative terms.

In [7, 8, 10], a static schedule is derived via minimization of the trace of estimation covariance matrix. The schedule is derived offline and does not change during run time. It is known that the estimation error extremely depends on the sensor scheduling [6]. Therefore, the static schedule proposed in [7] lacks the flexibility required for real applications. In fact, we expect a scheduler to reschedule the sensor accesses (either in a time triggered or in event triggered manner) to adequately reject disturbances. Therefore, those methods, suitable for online or semionline implementation like that of [10], are generally preferred in practice. In [9] a periodic schedule is derived via offline optimization of a joint system consisting of scheduling and estimation problems. The bandwidth limited communication is simulated by penalizing the number of communicating sensors in the cost function. Therefore, the number of sensors simultaneously using the network may be different in each time tick. This approach is not suitable in real time networks with bandwidth limitations where the number of sensors capable of communicating simultaneously is bounded by a fixed number and could not be exceeded. In these networks, it is better to model the bandwidth limitation as a hard constraint in the optimization problem or via the use of scheduling matrices (as shown in the next section of this paper).

References [4, 9] assume that those channels that have not been updated in the last time tick are Reset to Zero (henceforth referred to as RTZ policy) instead of being held (henceforth referred to as Zero-Order Hold; ZOH policy). The question of either holding or forgetting sensor or actuator data is discussed in [4, 5]. While the problem has received attention in the case of actuator scheduling (see [2, 4, 14]), the case of sensor scheduling, apparently, has received less attention. In this paper we assume both policies and compared them to each other in the simulation example. While ZOH seems to be more practical, using RTZ is computationally easier.

It is important to note that this work differs from that of [1521] and references therein, where it is assumed that all sensor information could be sent to the estimator when network bandwidth is available. This situation is usually referred to as “intermittent” measurement/observation, though the term “scheduled measurement” has been used for this situation in [15]. We also assume that the network is always available to the smart sensor/transmitter but the available bandwidth is limited and constant. Therefore, the smart sensor must decide which of the sensors should be connected to the network at each time tick. The optimal observer gain is derived via periodic Riccati equation which is introduced in [22] and later used in [20, 21]. The main difference between this paper and [20, 21] is that the communication sequence is also optimized in this paper. Therefore a twofold optimization is given. Firstly, the sensor communication sequence is optimized. Secondly, the optimal observer is designed for the derived communication sequence. Structural properties of the underlying system are investigated in [2, 6, 23].

Contributions of the Present Paper. This paper utilizes a convex optimization approach for the derivation of optimal sensor schedule and uses the conventional Kalman filter for periodic time-varying systems practiced in [4, 22] for optimal state estimation. For this purpose, the optimal schedule is first chosen and incorporated into the plant dynamics. The incorporation of the sensor schedule into the plant model results in a periodic time-varying linear system which is then used as the model for optimal state estimation. Therefore, the state vector of the underlying time invariant discrete time plant is estimated via optimally scheduled measurements. The adopted approach, which facilitates modeling of constant delays (as shown in the sequel) as well as bandwidth limitations, allows for use of existing software in convex programming and simplifies the design procedure. While previous work has considered bandwidth limitations or delays separately, this paper proposes a framework for modeling both constraints simultaneously.

2. Modeling and Preliminaries

Consider a Linear Time Invariant (LTI) system subject to bandwidth limited measurements with holding policy in output, described by the following relations: Matrices , and are real valued, constant matrices representing state, input, and output matrices of the state space model, respectively. is the transmitted value of output where Reset To Zero (RTZ) policy is in place. contains those elements from to which medium access is granted with other elements replaced by their most recent (previous) values. is the transmitted output when ZOH policy is used. To establish a relationship between and the notions of scheduling matrix and communication sequence are used. Due to bandwidth limitation, only nodes can access the medium simultaneously; that isA p-periodic sensor (output) communication sequence represents the order of accesses granted to sensors. This is a binary-valued function denoting the medium access status of the th output at time ticks and is repeated afterwards. A “0” in the th diagonal element of means “accessing the network” and a “1” means “not accessing the network.”

Remark 1. System description (1)-(2) could be used for modeling constant delays as well. To show this, consider an LTI system with delayed output measurements as follows: Define where if appears in the output and is a zero matrix otherwise. The augmented state space representation is in the form of (1)-(2) and, therefore, is suitable for the methods proposed by this paper.

The following definition is essential to sensor scheduling problem.

Definition 2. A p-periodic communication sequence is called admissible if all sensors are read at least once, during each period.

The admissibility feature of a sensor communication sequence guarantees that the plant preserves its structural properties (i.e., observability, reconstructability, and detectability) after inclusion of the communication sequence into the plant model. (See [2, 4, 6].)

At each time tick k, the observer is to estimate the system state vector based on data received from sensors which were granted medium access at the previous time tick. For other sensors, the observer may use data from the last time tick they have been granted access, that is, the most recent data (ZOH policy), or it may simply forget the last data and uses the newly received output as the current output. Note that the observer will, however, use past data in the observation process, via dynamic equations governing the Kalman filter (see equations (22)–(27)). Therefore, using RTZ does not mean that past data are completely neglected by the observer. Equations (1)–(4) describe the distributed system from the observer point of view. This model incorporated dynamics of the plant together with the access status of the communication medium. The incorporated plant is a time-varying linear system whose parameters are functions of the communication sequence. In this setting, it is required to choose a communication sequence (which will control traffic on the shared medium) and the observer (gain) to reconstruct state vector via available measurements. As the communication sequence determines the time-varying dynamics of the resulting incorporated plant, the optimal estimator (including observer dynamics and the chosen communication sequence) depends on the communication sequence. Therefore, a joint problem, that is, optimizing with respect to both estimation and communication, should be solved. A crucial requirement for a communication sequence is that after it is incorporated into the plant dynamics, the incorporated NCS remains observable/detectable. This is addressed in the following Lemma.

Lemma 3. If the pair is observable/detectable and is admissible, then the networked system (1)-(2) with either ZOH or RTZ policies is observable/detectable. Also, the networked system with constant delays and bandwidth limitation will be reconstructible if the pair is observable/detectable and is admissible.

Proof. See [2] for ZOH and [4] for RTZ cases.

To choose an appropriate communication sequence, by evaluating performance function, is a tedious and time-consuming procedure. Therefore, one has to seek simplified versions of the problem, yielding acceptable suboptimal results. In this regard, an “appropriateness measure” is required to compare two or more communication sequences. The estimation error covariance is assumed here as the measure for optimizing communication sequences. The best communication sequence is the one that results in the smallest confidence ellipsoid which is the minimum volume ellipsoid that contains estimation error with a certain probability (i.e., , where the probability of the estimation error to be contained in the ellipsoid is described via a -squared cumulative distribution function). In connection with this, consider a set of potential measurements, characterized by relation (7). It is desired to choose a subset of measurements (sensors) that minimizes the volume (or mean radius) of the resulting confidence ellipsoid. The following lemma is recalled for this purpose.

Lemma 4. Given measurements the MLE and MAP estimates of are given by Also, if represents selection of a specific measurement from all possible candidate measurements, the problem of choosing measurements out of possible, to yield a minimum variance estimation based on MAP, could be formulated as

By relaxing the nonconvex constraints to the convex constraints , one obtains a convex relaxation of (10). The resulting optimization problem, unlike the original sensor selection problem, is a convex optimization problem since the objective function is convex in and the equality and inequality constraints are linear (in . This problem can be solved efficiently, for instance, using interior point methods. (See [10] and references therein.) These methods are known to typically require a few tens of iterations each of which having a complexity of [10]. The relaxed problem is not equivalent to the original sensor selection problem; however the optimal objective value of the relaxed problem is a lower bound for the original sensor selection problem as its feasible set contains the feasible set of the original problems.

3. Sensor Scheduling Problem

3.1. RTZ Case

The problem of optimal scheduling of sensors in an LTI system described by (1) and (2) could be stated as a convex optimization problem of the following form: where Possible measurements and the set of values for are is the set of all possible sensor scheduling matrices. For a bandwidth of , the number of possible matrices is . If some logical constraints on the selected set of sensors exist, for instance, when number of sensors are to be read simultaneously, the number of possible scheduling matrices decreases.

Remark 5. Equations (11)-(12) are a convex optimization problem since the objective function is convex and all constraints could be stated as linear equalities/inequalities.

Adding a slack variable, (12) could be transformed into a semidefinite convex program, as [10]It may be of interest to dedicate a specific portion of available accesses to each sensor. Therefore, the last constraint of (15) may be replaced by represents a portion of dedicated to the th sensor.

Remark 6. The proposed formulation could be modified to cover a time-varying state matrix as follows:

3.1.1. Design Procedure

Using the idea provided in the previous sections, an appropriate schedule could be derived via the following procedure.

Step 1. Solve the optimization problem to find a sequence.

Step 2. Derive a time-varying (periodic) system by including the sequence computed in Step 1, into the plant dynamics.

Step 3. Design a Kalman filter for the system derived is Step 2.

Step 4. Apply the filter for sufficiently large number of time ticks (a multiplication of ), until the next optimization round.

The optimal estimator for the time-varying plant that resulted from incorporation of network dynamics into the original plant dynamics is the discrete time Kalman filter, described in two recursive steps. In the following, the analytical expressions for the Kalman filter are reviewed: is the Kalman gain and and are the state estimation and covariance matrix of estimation error at time tick when the estimation is performed using measurements taken at time tick . As the communication sequence is assumed to be periodic, the aforementioned equations become periodic. Discrete time periodic Ricatti equations are discussed in many works. A comprehensive treatment including conditions for existence and convergence of the solutions could be found in [22].

3.2. ZOH Case

When ZOH is used in the observer, the system is described asNote that is no longer invertible. Therefore, immediate application of (11) or (20) is not possible. In order to resolve this issue, one may construct an augmented system including a period of the communication sequence. More specifically, defineIt could be shown that this augmented system is observable if the pair is observable and the communication sequence is admissible (see [2]). Also noticing the lower triangular structure of state matrix and counting the number of linearly independent rows provided by identity matrices located in diagonal configuration and the two block rows and , it is easily shown that if is invertible and is of full-row rank, the matrix will be invertible for all . (If is not of full-row rank, it will contain linearly dependent rows which implies linearly dependent outputs; by eliminating dependent (redundant) outputs, one may achieve a full-row rank output matrix ; as a result, the assumption of having a full-row rank output matrix is not restrictive.)

The resultant augmented system (29) could be used for the scheduling problem (11)–(13) or (15). Kalman filter equations could be applied to (29) after the optimal communication sequence is substituted in the aforementioned equations and system matrices replaced by those given in (29). It is straightforward to derive the Kalman gains for (28) from the solutions of the optimal estimation for (29). One may see [3] or [6] for similar treatments.

3.2.1. Further Considerations

Integer represents the optimization horizon. The lower limit of is determined by admissibility constraint. is the maximum allowable time between two consecutive readings of a sensor and is the minimum time between two consecutive readings on the network. Therefore, one has the following design criterion for choosing : Resultant ’s may be close to each other which means no preference exists among several sensors. Therefore, sensors are read based on a round robin schedule until the optimization results in a with significant certainty to grant access to the chosen sensor(s).

Note that if the trace of left hand side of (25) is assumed as the cost function as in [6, ch.6], then the optimization problem becomes nonconvex and should be solved using methods like branch and bound [3], genetic algorithms and particle swarm optimization [6], heuristic methods, and tree pruning algorithms (see ch.6 of [6] and references cite therein). However, choosing (19) as the cost function facilitates the use of a convex optimization method, resulting in less computational complexity compared to optimization approaches in previous works including [6, 7, 9]. For MLE estimation, as the current error covariance is not required for optimization, it suffices for the computation time to be smaller than the time required for communications; that is,

4. Simulation Example

This section simulates a model for active-passive car suspension system studied in [3, 5, 20, 21]. A quarter car model shown in Figure 2 is used for simulation. The quarter car model represents the automotive system at each wheel, that is, the motion of the axle and of the vehicle body at any one of the four wheels of the vehicle. Figure 3 shows the estimation errors for the proposed method: and a round robin schedule with RTZ policy. Figure 4 shows the estimation error with a round robin; and the proposed method; with ZOH policy. It is noticed that the proposed method outperforms the round robin. Figure 5 depicts estimation error for the round robin schedule with ZOH and RTZ policies. Figure 6 shows the state estimation error for the proposed scheduling method with RTZ and ZOH policies. For both scheduling methods, a Kalman filter is designed based on the time-varying formulation that resulted from incorporating the communication sequence into output equation of (1). Figures 7 and 8 depict the quadratic norm of the estimation errors. According to the estimation error quadratic norms, the proposed method significantly enhanced the estimation. In Figure 9 accesses granted to the first output are shown. It is noticed that in some time ticks the scheduling is different from that of a round robin which has a cyclic pattern with equidistant accesses to each sensor. It is noticed that more accesses are granted to the corresponding output, after scheduling intervals, during and . Simulation parameters are shown in Table 1.

In RTZ policy, the estimation error is deviated more frequently. Also, note that while ZOH results in a smoother estimation error, the quadratic of the estimation error for RTZ is smaller. This is due to the fact that, in RTZ, outputs are Reset To Zero (and remain zero) until the next access is granted to the corresponding sensor. Quadratic norms of estimation error for the proposed method are significantly smaller than that of RTZ. However, the difference between quadratic norms of estimation errors for ZOH and RTZ used with the proposed method is not significant (compare the blue curve in Figure 7 with the green curve in Figure 8). In conclusion, the proposed method yields smoother estimation with less estimation error. The simulation results are not conclusive about choosing ZOH or RTZ.

5. Conclusions

This paper deals with scheduling of medium access for sensors in a distributed sensor environment. It is assumed that a smart sensor, transmitter, or remote terminal unit is used, capable of arbitrating the network bandwidth among different sensors. A convex optimization approach is proposed for derivation of the optimal schedule. The Kalman filter equations are derived for the resultant periodic system. The utilized modeling approach is disjoint and computationally simple compared to previous works which strived to integrate the estimation and scheduling problems into a single optimization framework which could only be solved in offline manner, lacking desirable flexibility. We derived formulations for semionline computation of a periodic output communication sequence specifying the order according to which sensors are to be granted medium access. In order for the optimization problem to be implementable online, instead of summed square estimation error, estimation error covariance at a specific time horizon is considered. The problem of determining optimal sensor communication sequence is formulated as an optimization problem which is then transformed into a convex problem by relaxing the nonconvex constraints into convex constraints. Compared to previously examined approaches, the proposed method has the benefit of convexity and could be solved with less computational effort. The proposed method is compared to a round robin schedule with respect to estimation error via a simulation experiment. When the output does not have access to network, it may be kept constant (equal to the last updated value) or Reset To Zero. Both cases are formulated and compared in simulations.

Competing Interests

The authors declare that they have no competing interests.