Universal robust filtering process
 |
Lin, Ching-Fang; |

A universal robust filtering process is adapted for eliminating the need of prediscretizing a continuous-time differential model into a discrete-time difference model. It provides a universal robust solution to the most general formulation, in the sense that the system dynamics are described by nonlinear continuous-time differential equations, and the nonlinear measurements are taken at intermittent discrete times randomly spaced. The universal robust filtering process includes the procedures of validating the measurement using fuzzy logic, and incorporating factorized forward filtering and backward smoothing to guarantee numerical stability. It provides users a reliable and convenient solution to extracting internal dynamic system state estimates from noisy measurements, with wider applications, better accuracy, better stability, easier design, and easier implementation.

FIELD OF THE PRESENT INVENTION
The present invention relates to robust information extraction, and more particularly to a universal robust filtering process for extracting internal state information of a dynamic system from noisy measurements.
BACKGROUND OF THE PRESENT INVENTION
In most information extraction applications, propagation of an internal state of a dynamic system, which is not measurable by sensors directly, is naturally described by nonlinear continuous-time differential equations, based upon physical laws,
x(t)=f(x(t))+w(t)
where x(t) is a state vector, f(x) is a vector nonlinear function describing the system dynamics, and w(t) is a system noise with a covariance matrix Q(t).
Measurable quantities, which are generally available at intermittent discrete times, are usually in nonlinear relationship with the internal system states,
z(k)=h(x(k))+v(k)
where z(k) represents a discrete measurement at the k-th sampling time t.sub.k, h(x) is a vector nonlinear function which describes the relationship of the measurement with the state vector, and v(k) is a measurement noise with a covariance of R(k).
A filtering process deals with the problem of extracting the internal, sometimes hidden and unmeasurable, state, x(t), from the measurement z(k). Applications of the filtering process are very common, to name a few, such as classifying the component materials from hyperspectral imagery, obtaining the aircraft position and attitude from the accelerometer and gyro measurements of an Inertial Measurement Unit, and tracking a target's velocity and acceleration from a Radar's positional measurements.
Under the conditions of a linear system with linear measurements, a Gaussian system noise and a Gaussian measurement noise, a linear Kalman filter provides an optimal estimate of the internal system state. The estimate is optimal in the sense that the covariance of the estimate is minimal, the residuals are a white Gaussian noise process, and innovative information is absent in the residuals. If selectively, the system model and the measurement model are nonlinear, extracting an estimate of the internal system state, x(t), from noisy measurements, z(k), is conventionally accomplished by an extended Kalman filter, and selectively, in some cases, by a variant of the extended Kalman filter. An extended Kalman filter shares most of the salient features with a linear Kalman filter, by linearizing the nonlinear system equations and measurement equations about the most recent estimate and taking a first-order approximation to a Taylor-series expansion.
In the nonlinear cases, an optimal estimate of the system state is difficult for the extended Kalman filter to attain. A direct implementation of an extended Kalman filter possesses several inherent drawbacks. First, it is prone to numerical divergence. The correct propagation of the state estimates relies on the proper propagation of a covariance error matrix, which must remain symmetric and positive definite all the time, due to its mathematical definition. Finite-length manipulations, such as computer roundoff error, usually result in a loss of the symmetry and positive definiteness of the covariance error matrix resulting in numerical instability. A feasible approach is unavailable to recover from such a numerical divergence status.
An extended Kalman filter passively accepts measurements and is sensitive to measurement quality. Conventionally, it accepts whatever measurement data the measurement input interface provides in full confidence. The Kalman filter is unable to distinguish good-quality measurements from low-quality ones. It generally does not attempt to correct the measurement data by any means even though there might be enough evidence that the quality of measurement data is very poor. When the quality of the measurements applied to the Kalman filter is worse than that accounted for by the measurement noise, the results generated by the Kalman filter are usually meaningless, and yet, it is difficult to determine whether the results are meaningless.
Another difficulty in a conventional extended Kalman filter is the requirement of discretizing the continuous-time differential model into a discrete-time difference model. This in turn requires the selection of a discretization time prior to the design of the extended Kalman filter. A standard method is to set the discretization time the same as the sampling period of the measurements. Such a prediscretization approach does not guarantee that the discrete-time difference model is a good approximation to the continuous-time differential model, especially in the case of a slow sampling rate. Neither is this prediscretization approach able to detect a divergence of the discrete-time difference model from the continuous-time differential model when the divergence occurs.
SUMMARY OF THE PRESENT INVENTION
An objective of the present invention is to provide a universal robust filtering process for the most general formulation, in the sense that the system dynamics are described by nonlinear continuous-time differential equations, and the nonlinear measurements are taken at intermittent discrete times randomly spaced, wherein the selection of a discretization time for the continuous-time differential model is unnecessary, which possesses wider applications, better accuracy, better stability, easier design, and easier implementation.
Another objective of the present invention is to provide a universal robust filtering process, wherein the propagation of the system state estimate between two consecutive measurement instants in the time update is governed by an adaptive stepsize control, which automatically determines the time step and guarantees the convergence.
Another objective of the present invention is to provide a universal robust filtering process, which validates measurement data, in order to reject poor-quality measurement data before they are fed into the filter.
Another objective of the present invention is to provide a universal robust filtering process, which corrects measurement data, in order to correct low-quality measurement data before they are fed into the filter.
Another objective of the present invention is to provide a universal robust filtering process, comprising an adaptive stepsize control to automatically compute the stepsize to propagate the backward state estimate in the backward time update.
Another objective of the present invention is to provide a universal robust filtering process, wherein square root implementations are enforced for covariance matrix propagation, wherever applied, to ensure numerical stability.
Another objective of the present invention is to provide a universal robust filtering process, wherein the system state estimates are obtained by using, selectively, forward estimating solution, and combined forward estimating solution and backward smoothing solution.
Accordingly, in order to accomplish the above objectives, the present invention provides a universal robust filtering process which comprises the steps of:
(a) inputting measurement data, such as target position in the tracking applications, from a measurement input interface into a fuzzy logic validation module;
(b) providing an expected measurement in the fuzzy logic validation module;
(c) validating the input measurement data through a fuzzy logic inference process in the fuzzy logic validation module, by comparing with the expected measurement, and outputting an approved measurement, a corrected measurement and a rejected-measurement flag to a state estimate module;
(d) producing estimates of system state based on the approved measurement and corrected measurement output from the fuzzy logic validation module in the state estimate module which processes three different activities based on three different inputs in the fuzzy logic validation module; and
(e) outputting the obtained estimates of system state by a state estimate output interface.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 illustrates a universal robust filtering process of the present invention.
FIG. 2 is a block diagram of the universal robust filtering process of the present invention, illustrating the measurement data validation process thereof.
FIG. 3 is a block diagram illustrating the fuzzy logic inference process of the universal robust filtering process of the present invention.
FIG. 4 is a block diagram illustrating the first preferred implementation of the state estimate module, forward filtering, according to the universal robust filtering process of the present invention.
FIG. 5 is a functional block diagram illustrating the second preferred implementation of the state estimate module, backward smoothing, according to the universal robust filtering process of the present invention.
FIG. 6 is a graphical illustration showing the procedures of determining the time steps in the time update according to the universal robust filtering process of the present invention.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
The present invention substantially solves the problems of extracting internal state information of a dynamic system from noisy measurements. The present invention provides a method that automatically determines the time step in the propagation of the system state estimate between two consecutive measurement instants in the time update, based upon accuracy and convergence considerations. The present invention eliminates the requirement of selecting a discretization time to discretize a continuous-time differential model into a discrete-time difference model prior to the design of the filter, which is the primary first step in the conventional approach.
Referring to FIG. 1, the universal robust filtering process of the present invention comprises the following steps.
(a) Input measurement data, such as target position in the tracking applications, from a measurement input interface 10 into a fuzzy logic validation module 15.
(b) Provide an expected measurement in the fuzzy logic validation module.
(c) Validate the input measurement data through a fuzzy logic inference process in the fuzzy logic validation module 15, by comparing with the expected measurement, and
(i) outputting an approved measurement to a state estimate module 20 by approving the input measurement data by the fuzzy logic validation module 15 when a discrepancy between the expected measurement and the input measurement data lies close within a prescribed acceptance range, wherein the input measurement is considered to be useful and accepted;
(ii) outputting a rejected-measurement flag to the state estimate module 20 by rejecting the input measurement data by the fuzzy logic validation module 15 when the discrepancy between the expected measurement and the input measurement data goes beyond a prescribed rejection range, wherein the measurement input is considered to be useless and rejected; and
(iii) outputting a corrected measurement to the state estimate module 20 by correcting the input measurement data by the fuzzy logic validation module 15 when the discrepancy between the expected measurement and the input measurement data lies between the prescribed acceptance range and the prescribed rejection range, wherein the measurement input is considered to be useful and corrected measurement data are generated.
(d) Produce an estimate of system state based on the approved measurement and corrected measurement output from the fuzzy logic validation module 15 in the state estimate module 20 which processes three different activities based on three different inputs in the fuzzy logic validation module 15, referring to FIG. 2, including
(i) extracting a first estimate of system state from the approved measurement passed from the fuzzy logic validation module 15;
(ii) extracting a second estimate of system state from the corrected measurement sent from the fuzzy logic validation module 15; and
(iii) predicting a third estimate of system state without measurement data when receiving the rejected measurement flag from the fuzzy logic validation module 15.
(e) output the obtained first, second and third estimates of system state by a state estimate output interface 90.
Referring to FIG. 1, the fuzzy logic validation step (c) of the universal robust filtering process of the present invention provides a reference standard to examine the quality of the measurement. The kernel of the fuzzy logic validation is a fuzzy rule base, which is established from system dynamics characteristics and measurement relationships. The measurement data are of any nature, including but not limited to target position, velocity, and acceleration in the tracking applications, spectral intensity in different bands in the hyperspectral applications, and accelerometer and gyro measurements in inertial navigation applications. Within the fuzzy logic validation, an expected measurement is computed and compared to the measurement input. When the discrepancy between the expected measurement and the measurement input lies in a prescribed acceptance range, the measurement input is considered to be useful and accepted. When the discrepancy between the expected measurement and the measurement input goes beyond a prescribed rejection range, the measurement input is considered to be useless and rejected. When the discrepancy between the expected measurement and the measurement input lies between the acceptance range and the rejection range, the measurement input is considered to be useful and corrected measurement data are generated.
The measurement data is provided by the measurement input interface 10 to the fuzzy logic validation module 15. Referring to FIG. 3, the step (c) further comprises the following steps:
(c1) Receive the original measurement data from the measurement input interface 10 in a fuzzifier module 151. Perform a scale mapping on the original measurement data, which transfers the range of measurement into a corresponding universe of discourse. Perform fuzzification and convert the measurement data into suitable linguistic values which are labeled as fuzzy sets. Interpret the crisp measurement data as fuzzy sets with membership functions belonging to [0, 1]. Output these fuzzy sets to a fuzzy interface engine 152.
(c2) Receive the fuzzy sets from the fuzzifier module 151 in a fuzzy interface engine 152, wherein human decision making is simulated to infer fuzzy outputs, using fuzzy implication and the fuzzy logic inference rules, and the fuzzy logic inference rules are supported by a fuzzy rule base 153. Send the obtained fuzzy outputs to a defuzzifier module 154.
(c3) Provide the fuzzy logic inference rules for the fuzzy interface engine 152 in the fuzzy rule base 153 which characterizes goals and domain knowledge of experts by means of a set of linguistic rules, wherein the fuzzy rule base 153 comprises the knowledge of the application domain and the attendant goal. Primarily determine the performance of the fuzzy logic validation 15 by the fuzzy rule base 153.
(c4) Receive the fuzzy outputs from the fuzzy interface engine 152 in the defuzzifier module 154. Selectively, it approves the original measurement data (approved measurement) and passes it down without change to the state estimate module 20, generates a crisp corrected measurement data (corrected measurement) that best represents the possibility distribution of the inferred fuzzy outputs from the fuzzy interface engine 152 and outputs the corrected measurement data (corrected measurement) to the state estimate module 20, and rejects the measurement data and outputs the rejected-measurement flag to the state estimate module 20.
In the step (d), the output from the defuzzifier module 154 in the fuzzy logic validation module 15 is processed to produce the estimate of system state in the state estimate module 20. The state estimate module 20 of the present invention provides two options, forward filtering, referring to FIG. 4, and backward smoothing, referring to FIG. 5. Backward smoothing requires that forward filtering be executed first and forward filtering results are stored. Forward filtering is suitable for real-time applications, while backward smoothing is useful in non-real-time applications with a higher accuracy.
To accommodate randomly spaced measurement intervals, the measurement data is required to be clearly time-stamped, such that the interval span between two consecutive valid measurements is computed to monitor how long the state estimate propagates without a measurement update in a time update 202 in the state estimate module 20.
The first preferred processing of the step (d), forward filtering, as shown in FIG. 4, further comprises the following steps.
(d1) Compute a model relevant information for the time update 202 and a measurement update 201 in a model selection 203. Specifically, the model selection 203 provides an initial condition of the system estimate for a system model computation 2021 in the time update 202, an initial condition of the covariance error matrix for a derivative system model computation 2022 in the time update 202, a system model for the system model computation 2021 in the time update 202, a derivative system model for the derivative system model computation 2022 in the time update 202, a measurement model for a measurement model computation 2011 in the measurement update 201, and a derivative measurement model for a derivative measurement model computation 2012 in the measurement update 201.
(d2) Propagate the state estimate during the interval of the last two consecutive valid measurements in the time update 202. The time update is exclusively based upon the system model. Denote by x(t.sub.k-1) and P(t.sub.k-1) the state estimate and its associated covariance error matrix at time t.sub.k-1, respectively, just after the last measurement z(k-1) at t.sub.k-1 has been processed by the measurement update 201. The step (d2) also comprises the steps of:
(d2-1) computing the interval span between the last two consecutive valid measurements z(k-1) and z(k). wherein this interval span, calculated by
t.sub.k -t.sub.k-1
determines how long the time update propagates without a measurement update;
(d2-2) receiving the system model from the model selection 203 and computing a time derivative of the system state at the latest estimate of the system state x(t.sub.k-1) in the system model computation 2021,
{dot over (x)}(t.sub.k-1)=f(x(t.sub.k-1))
(d2-3) receiving the derivative system model from the model selection 203 and computing a time derivative of a covariance error matrix for the system state at the latest estimate of the system state x(t.sub.k-1) in the derivative system model computation 2022,
P(t.sub.k-1)=F(t.sub.k-1)P(t.sub.k-1)+P(t.sub.k-1)F.sup.T (t.sub.k-1)+Q(t.sub.k-1)
where the Jacobian matrix F(t.sub.k-1) is calculated at x(t.sub.k-1) by ##EQU1##
(d2-4) propagating the state estimate by utilizing the time derivative of the system state estimate x(t.sub.k-1) computed in the system model computation 2021 in a prediction update 2023, using a Runge-Kutta integration algorithm with adaptive stepsize control,


x(t.sub.k-1).fwdarw.x(t.sub.k)
(d2-5) propagating the covariance error matrix of the state estimate by utilizing the time derivative of the covariance error matrix P(t.sub.k-1) computed in the derivative system model computation 2022 in a prediction covariance update 2024, using a factorized implementation which is detailed later, to ensure the symmetry and positive definiteness of P(t) during the propagation,
P(t.sub.k-1).fwdarw.P(t.sub.k)
(d3) Correct the state estimate by using the latest measurement data z(k) at t.sub.k in the measurement update 201. The measurement update is based upon the measurement model and the measurement data. In the case that a rejected-measurement flag is received corresponding to z(k) from the fuzzy logic validation 15, the measurement update for z(k) is skipped and the time update continues. When z(k) is adopted, the results obtained in the time update are utilized as the initial conditions. Denote by x_(k) and P_(k) the state estimate and its associated covariance error matrix at time t.sub.k, respectively, obtained from the time update 202 just before the last measurement z(k) at t.sub.k is processed by the measurement update 201,
x_(k)=x(t.sub.k.sup.-)
P_(k)=P(t.sub.k.sup.-)
wherein the step (d3) further comprises the steps of:
(d3-1) receiving the measurement model from the model selection 203 and computing a predicted measurement at the latest estimate of the system state x_(k) in the measurement model computation 2011, as follows,
z(k)=h(x_(k))
(d3-2) receiving the derivative measurement model from the model selection and computing a measurement Jacobian matrix at the latest estimate of the system state x_(k) in the derivative measurement model computation 2012, ##EQU2##
(d3-3) updating the covariance error matrix using the measurement update equations in the estimate covariance update 2013, as follows,
P.sub.+ (k)=[I-K(k)H(k)]P_(k)
K(k)=P_(k)H.sup.T (k).eta..sup.-1 (k)
.eta.(k)=H(k)P_(k)H.sup.T (k)+R(k)
wherein a factorized implementation is detailed later, to ensure the symmetry and positive definiteness of P.sub.+ (k).
(d3-4) updating the estimate of the system state using the measurement update equations in the estimate update 2014,
x.sub.+ (k)=x_(k)+K(k)[z(k)-z(k)]
The steps (d2) and (d3) constitute a complete forward filtering process for the measurement data z(k). When a new valid measurement data z(k+1) becomes available, a new time update is initiated, based on the initial conditions,
x(t.sub.k)=x.sub.+ (k)
P(t.sub.k)=P.sub.+ (k)
It should be noted that the universal robust filter is applicable to practically any applications, because the user is allowed to change the system model and measurement model to fit his/her own applications via the model selection 203. The model selection is an integral part of the universal robust filter. The system model is described in nonlinear continuous-time differential equations. The measurable model is formulated in nonlinear discrete-time equations.
In some applications where a real time requirement is not stringent and higher accuracy is desired, backward smoothing, which exploits future measurements to improve the current state estimates, is useful. Backward smoothing is not started until the predetermined range of the measurement data has been received. Smoothing is performed backwards in time. The backward filter operates recursively on the measurement data, beginning at the terminal time and proceeding toward the desired smoothing point.
Referring to FIG. 5, the universal robust filter 21 for backward smoothing includes a model selection 213, a forward measurement update 211, a forward time update 212, a backward measurement update 214, and a backward time update 215. The forward measurement update 211 and the forward time update 212 comprise the forward filtering portion. The forward measurement update 211, the forward time update 212, as well as their contained subblocks, a measurement model computation 2111, a derivative measurement model computation 2112, an estimate covariance update 2113, an estimate update 2114, a system model computation 2121, a derivative system model computation 2122, a prediction update 2123, a prediction covariance update 2124, are exactly the same as their corresponding blocks in FIG. 4. The backward measurement update 214 and the backward time update 215 include the backward filtering portion. Forward filtering results and backward filtering results are combined in a smoothed estimate covariance update 216 and a smoothed estimate update 217 to provide smoothed results.
Referring to FIG. 5, the second preferred processing of the step (d), backward smoothing, further comprises the following additional steps:
(d4) Calculate the interval from which a backward smoothed estimate is extracted. By defining .tau.=T-t and .tau..sub.k =T-t.sub.N-k with T the terminal time, the system dynamic equation and the measurement equation are reformulated as ##EQU3##
(d5) Perform the first preferred processing steps D2 (D2-1.about.D2-5) and D3 (D3-1.about.D3-4) to compute the forward state estimate x(t) and its covariance error matrix P(t) in the forward measurement update 211 and the forward time update 212.
(d6) Propagate the backward estimate during the interval of the last two consecutive reversed measurements in the backward time update 215. The backward time update is exclusively based upon the backward system model. Define x.sub.b (.tau..sub.k-1) and P.sub.b (.tau..sub.k-1) the backward state estimate and its associated covariance error matrix for the backward system model at time .tau..sub.k-1, respectively, just after the last reversed measurement z(N-k+1) has been processed by the backward measurement update 214. The initial condition, x.sub.b (0), is chosen as x(T), and the initial condition, P.sub.b (0), is set to be a diagonal matrix with large diagonal elements, wherein the step (d6) further comprise the steps of:
(d6-1) computing the interval span between the last two consecutive reserved valid measurements z(N-k+1) and z(N-k). This interval span, .tau..sub.k -.tau..sub.k-1 =t.sub.N-k+1 -t.sub.N-k, determines how long the backward time update propagates without a measurement update;
(d6-2) receiving the system model and the derivative system model from the model selection 213, computing a system function and a Jacobian matrix at the forward state estimate x(T-.tau..sub.k-1) obtained in forward filtering, and calculating a time derivative of the backward system state in the system model computation 2151,
{dot over (x)}.sub.b (.tau..sub.k-1)=-f(x(T-.tau..sub.k-1))-F(T-.tau..sub.k-1)[x.sub.b (.tau..sub.k-1)-x(T-.tau..sub.k-1)]
where the Jacobian matrix F(T-.tau..sub.k-1) is calculated at x(T-.tau..sub.k-1) by ##EQU4##
(d6-3) receiving the derivative system model from the model selection 213 and computing a time derivative of the covariance error matrix for the backward system state at the forward state estimate x(T-.tau..sub.k-1) in the derivative system model computation 2152,
P.sub.b (.tau..sub.k-1)=-F(T-.tau..sub.k-1)P.sub.b (.tau..sub.k-1)-P.sub.b (.tau..sub.k-1)F.sup.T (T-.tau..sub.k-1)+Q(T-.tau..sub.k-1)
(d6-4) propagating the backward state estimate by utilizing the time derivative of the backward system state {dot over (x)}.sub.b (.tau..sub.k-1) computed in the system model computation 2151 in a backward prediction update 2154, using a Runge-Kutta integration algorithm with adaptive stepsize control,
x.sub.b (.tau..sub.k-1).fwdarw.x.sub.b (.tau..sub.k)
(d6-5) propagating the covariance error matrix of the backward state estimate by utilizing the time derivative of the covariance error matrix P.sub.b (.tau..sub.k-1) computed in the derivative system model computation 2152 in a backward prediction covariance update 2153, using a factorized implementation which is detailed later, to ensure the symmetry and positive definiteness of P.sub.b (.tau.) during the propagation,
P.sub.b (.tau..sub.k-1).fwdarw.P.sub.b (.tau..sub.k)
(d7) Correct the backward state estimate by using the reversed measurement data z(N-k) at time .tau..sub.k in the backward measurement update 214. The measurement update is based upon the measurement model and the measurement data. The results obtained in the backward time update are utilized as the initial conditions. Denote by x.sub.b- (k) and P.sub.b- (k) the backward state estimate and its associated covariance error matrix at time .tau..sub.k, respectively, obtained from the backward time update 215 just before the new reversed measurement z(N-k) at time .tau..sub.k is processed by the backward measurement update 214,
x.sub.b- (k)=x.sub.b (.tau..sub.k.sup.-)
P.sub.b- (k)=P.sub.b (.tau..sub.k.sup.-)
wherein the step (d7) further comprises the steps of:
(d7-1) receiving the measurement model from the model selection 213 and computing a predicted measurement at the forward state estimate x(N-k) in the measurement model computation 2141,
z.sub.b (k)=h(x(N-k))
(d7-2) receiving the derivative measurement model from the model selection 213 and computing a measurement Jacobian matrix at the forward state estimate x(N-k) in the derivative measurement model computation 2142, ##EQU5##
(d7-3) updating the covariance error matrix of the backward system estimate using the backward measurement update equations in the backward estimate covariance update 2143,
P.sub.b+ (k)=[I-K.sub.b (k)H(N-k)]P.sub.b- (k)
K.sub.b (k)=P.sub.b- (k)H.sup.T (N-k).eta..sub.b.sup.-1 (k)
.eta..sub.b (k)=H(N-k)P.sub.b- (k)H.sup.T (N-k)+R(N-k)
wherein a factorized implementation is detailed later, to ensure the symmetry and positive definiteness of P.sub.b+ (k),
(d7-4) updating the backward state estimate using the backward measurement update equations in the backward estimate update 2144,
x.sub.b+ (k)=x.sub.b- (k)+K.sub.b (k)[z(N-k)-z.sub.b (k)-H(N-k)(x.sub.b- (k)-x(N-k))]
The steps (d6) and (d7) constitute a complete backward filtering process for the reversed measurement data z(N-k). For the next reversed measurement data z(N-k-1), a new backward time update is started, based on the initial conditions,
x.sub.b (.tau..sub.k)=x.sub.b+ (k)
P.sub.b (.tau..sub.k)=P.sub.b+ (k)
(d8) Compute a covariance error matrix for a smoothed state estimate using the covariance error matrix of the forward system estimate and the covariance error matrix of the backward system estimate in a smoothed estimate covariance update 216,
P(t.vertline.T)=[P.sup.-1 (t)+P.sub.b.sup.-1 (t)].sup.-1
(d9) Compute the smoothed state estimate using the forward system estimate and the backward system estimate in a smoothed estimate update 217,
x(t.vertline.T)=P(t.vertline.T)[P.sup.-1 (t)x(t)+P.sub.b.sup.-1 (t)x.sub.b (t)]
To assure filtering/smoothing accuracy and numerical stability, the propagation of the covariance error matrix is accomplished using a factorized implementation. Instead of computing P(t), the factorized implementation propagates P.sup.1/2 (t) at each iteration, where P(t)=P.sup.1/2 (t) P.sup.T/2 (t), P.sup.1/2 (t) is a lower triangular matrix, and P.sup.T/2 (t) is the upper triangular transpose of P.sup.1/2 (t).
In the step (d2-5), updating P.sup.T/2 (t.sub.k-1) from time t.sub.k-1 to t.sub.k-1 +.DELTA.t is accomplished using the numerically stable QR decomposition,
P.sup.T/2 (t.sub.k-1)+[P.sup.T/2 (t.sub.k-1)F.sup.T (t.sub.k-1)+1/2P.sup.-1/2 (t.sub.k-1)Q(t.sub.k-1)].DELTA.t=.GAMMA..sub.1 P.sup.T/2 (t.sub.k-1 +.DELTA.t)
The above QR decomposition is completed in two steps. First, the matrix on the left-hand side is constructed. Then, QR decomposition is performed on the constructed matrix, and the right-hand side matrices are obtained, with .GAMMA..sub.1 an orthogonal matrix which satisfies .GAMMA..sub.1.sup.T.GAMMA..sub.1 =I. In this process, the orthogonal matrix .GAMMA..sub.1 is not required to be saved. Only the upper triangular matrix P.sup.T/2 (t.sub.k-1 +.DELTA.t), which is the updated covariance error matrix, is needed to be kept.
Referring to FIG. 6, the time step used in updating P.sup.T/2 (t.sub.k-1) from time t.sub.k-1, .DELTA.t, is inherited from step D2-4, in which a Runge-Kutta integration algorithm with adaptive stepsize control is used. Based on the current state estimate, x(t.sub.k-1), and the time derivative of the system state, {dot over (x)}(t.sub.k-1), the Runge-Kutta adaptive stepsize control integration algorithm produces the stepsize to propagate the state estimate, .DELTA.t, and the updated state estimate, x(t.sub.k-1 +.DELTA.t). It is thus possible that multiple steps are taken for updating x(t.sub.k-1) from time t.sub.k-1 to t.sub.k. Updating of P.sup.T/2 (t.sub.k-1) from time t.sub.k-1 to t.sub.k follows the exactly same time steps as those used in updating x(t.sub.k-1) from time t.sub.k-1 to t.sub.k.
In the step (d3-3), updating the covariance error matrix in the measurement update is accomplished using QR decomposition, ##EQU6##
The QR decomposition is completed similarly. First, the matrix on the left-hand side is constructed. Then, QR decomposition is performed on the constructed matrix, and the right-hand side matrices are obtained, with .GAMMA..sub.2 an orthogonal matrix which satisfies .GAMMA..sub.2.sup.T.GAMMA..sub.2 =I. The orthogonal matrix .GAMMA..sub.2 is not required to be saved either.
In the step (d3-4), updating the state estimate in the measurement update is accomplished by utilizing the results obtained in the QR decomposition, as follows, ##EQU7##
The gain above is composed of two terms available from the QR decomposition. The first term, P_(k)H.sup.T (k).eta..sup.-T/2 (k), is directly derived from the transpose of the (1, 2)-block of the right-hand side upper triangular matrix. The second term, .eta..sup.-1/2 (k), is calculated from the inversion of the (1, 1)-block of the right-hand side upper triangular matrix.
In the step (d6-5), updating P.sub.b.sup.T/2 (.tau..sub.k-1) from time .tau..sub.k-1 to .tau..sub.k-1 +.DELTA..tau. is accomplished using QR decomposition,
P.sub.b.sup.T/2 (.tau..sub.k-1)+[-P.sub.b.sup.T/2 (.tau..sub.k-1)F.sup.T-.tau..sub.k-1)+1/2P.sub.b.sup.-1/2 (.tau..sub.k-1)Q(T-.tau..sub.k-1)].DELTA..tau.=.GAMMA..sub.3 P.sub.b.sup.T/2 (.tau..sub.k-1 +.DELTA..tau.)
The QR decomposition is completed in a similar way. First, the matrix on the left-hand side is constructed. Then, QR decomposition is performed on the constructed matrix, and the right-hand side matrices are obtained, with .GAMMA..sub.3 an orthogonal matrix which satisfies .GAMMA..sub.3.sup.T.GAMMA..sub.3 =I. The orthogonal matrix .GAMMA..sub.3 does not have to be saved.
The time step used in updating P.sub.b.sup.T/2 (.tau..sub.k-1) from time .tau..sub.k-1, .DELTA..tau., is obtained in a similar way to that in forward filtering. In the step (d6-4), based on the current backward state estimate, x.sub.b (.tau..sub.k-1), and the time derivative of the system state, {dot over (x)}.sub.b (.tau..sub.k-1), a Runge-Kutta integration algorithm with adaptive stepsize control produces the stepsize to propagate the backward state estimate, .DELTA..tau., and the updated state estimate, x.sub.b (.tau..sub.k-1 +.DELTA..tau.). It is possible that multiple steps are taken for updating x.sub.b (.tau..sub.k-1) from time .tau..sub.k-1 to .tau..sub.k. Updating of P.sub.b.sup.T/2 (.tau..sub.k-1) from time .tau..sub.k-1 to .tau..sub.k follows the exactly same time steps as those used in updating x.sub.b (.tau..sub.k-1) from time .tau..sub.k-1 to .tau..sub.k.
In the step (d7-3), updating the backward covariance error matrix in the backward measurement update is accomplished using QR decomposition, ##EQU8##
The QR decomposition is completed similarly. First, the matrix on the left-hand side is constructed. Then, QR decomposition is performed on the constructed matrix, and the right-hand side matrices are obtained, with .GAMMA..sub.4 an orthogonal matrix which satisfies .GAMMA..sub.4.sup.T.GAMMA..sub.4 =I. The orthogonal matrix .GAMMA..sub.4 is not required to be saved either.
In the step (d7-4), updating the backward state estimate in the backward measurement update is accomplished by utilizing the results obtained in the QR decomposition,
x.sub.b+ (k)=x.sub.b- (k)+K.sub.b (k)[z(N-k)-z.sub.b (k)-H(N-k)(x.sub.b- (k)-x(N-k))]
K.sub.b (k)=[1,2].sup.T [1,1].sup.-T
where the gain matrix, K.sub.b (k), is composed of two terms available from the QR decomposition. The first term, P.sub.b- (k) H.sup.T (N-k) .eta..sub.b.sup.-T/2 (k), is directly derived from the transpose of the (1, 2)-block of the right-hand side upper triangular matrix. The second term, .eta..sub.b.sup.-1/2 (k), is calculated from the inversion of the (1, 1)-block of the right-hand side upper triangular matrix.
The present invention is highly applicable to hyperspectral image processing to detect the presence of a particular material and classify the comprising materials. Hyperspectral image sets contain large amounts of data that are difficult to exploit. Most materials have unique spectral signatures and if that signature can be observed or detected, then these materials can be identified with certainty. Prior techniques for hyperspectral imagery exploitation use classical pattern recognition methods. These methods include model based or least squares approaches to detect and classify materials present in the data. The present invention can be applied to hyperspectral image processing and pixel unmixing.
The application of the present invention to hyperspectral image processing comprises the following steps.
Select the system state elements to be the square root of abundance of the candidate materials, which guarantees the nonnegativeness of the abundance.
Establish a dynamical system model, by converting a two-dimensional spatial index (x, y) into a one-dimensional index k, and assume that the relationship of the square root of the abundance between two adjacent pixels is modeled as a Gauss-Markov process. The rule to the index conversion is that two consecutive pixel in one-dimension indexing must be physically adjacent.
Establish a measurement model, by assuming that the spectrum of a pixel is modeled as a linear mixture of spectral signatures of materials within the pixel. The constraint that the sum of abundance of all materials within a pixel equals to 1.0 is translated into an extra measurement equation.
Apply the universal robust filtering process in the present invention to estimate the abundance of the comprising materials for each pixel.
It should be noted that the system model established in the above steps is a discrete-time difference model, which is determined by the inherent discrete nature of the hyperspectral problem. The adaptive stepsize control of the present invention is thus unnecessary for the hyperspectral applications. Also, the system model is linear, based upon the Gauss-Markov process assumption for the relationship of the square root of the abundance between two adjacent pixels. Therefore, the hyperspectral image processing is nicely embodied into the application domain of the present invention as a special case.
|