8 Kinematic Models For Target Tracking

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Technion – Israel Institute of Technology, Department of Electrical Engineering

Estimation and Identification in Dynamical Systems (048825)


Lecture Notes, Fall 2009, Prof. N. Shimkin

8 Kinematic Models for Target Tracking

Target tracking is a major application area of Kalman Filtering. Typical applications


include aircraft tracking using noisy remote sensors (radar, vision, IR, etc.), and
tracking moving objects in video sequences. We consider here very briefly some
basic models for target tracking, in order to illustrate:

∗ Physical modeling and discretization.

∗ The basic structure of a tracking filter.

For simplicity we consider tracking in one cartesian coordinate only.

8.1 Modelling Target Motion

A. Second-order models: random acceleration

These are the simplest useful models. Here the velocity is constant except for a
noise term.

Let p(t) denote the object position, V (t) = ṗ(t) its velocity, and a(t) = p̈(t) its
acceleration. The basic second-order model in continuous time is described by

p̈(t) = w(t) ,

where w(t) is white noise: Rw (t) = σw2 δ(t). The corresponding state equations are:
" # " # " #
p 0 1 0
x= ; ẋ(t) = x(t) + w(t) .
ṗ 0 0 1

1
As the measurements are typically obtained in discrete times, we need to consider
discretized versions of this model.

B. Discretization

Consider the state-space equation:

ẋ(t) = Ax(t) + Bu(t) + Gw(t)

and sampling times tk = kT .

As we know,
Zt ³ ´
0
x(t) = eA(t−tk ) x(tk ) + eA(t −tk ) Bu(t0 ) + Gw(t0 ) dt0 .
tk

We now assume that the input uk changes slowly relative to the sampling period,
so that u(t) ' u(tk ) on [tk , tk+1 ). This gives

x(tk+1 ) = F x(tk ) + Bu(tk ) + wk ,

where
F = eAT
Z T
0
B= eA(T −t ) B dt0
Z0 tk+1
0
wk = eA(tk+1 −t ) Gw(t0 ) dt0 .
tk

If w(t) is a white noise process with Rw (t) = Qw (t) δ(t), then {wk } is a white noise
sequence with
Z tk+1
0 T (t 0
Qk = cov(wk ) = eA(tk+1 −t ) GQw (t0 )GT eA k+1 −t )
dt0 .
tk

If w(t) is also Gaussian, then wk ∼ N (0, Qk ).

2
For our 2nd–order model we get
   
1 3 1 2
1 T T , T
F =  , Q= 3 2  σw2 .
1 2
0 1 2
T , T

We note that the “order of magnitude” of possible velocity change over [tk , tk+1 ] is
√ p
∆V ≈ Q22 = T σw2 . This should guide the choice of σw2 .

Typical measurements include position, velocity, or both. The measurement equa-


tion is of the usual form z(tk ) = Hx(tk ) + vk , where vk is the measurement noise
(which depends on the sensor).

C. Simplified discretization

A slightly different model can be obtained from p̈(t) = w(t) by making the sim-
plifying assumption that the noise is constant between sampling instants, that is
w(t) ≡ w(tk ) for t ∈ [tk , tk+1 ). This gives the equations

V (tk+1 ) = V (tk ) + T w(tk )


T2
p(tk+1 ) = p(tk ) + T V (tk ) + wk
2

so that
 
1 T
xk =   xk + w̃k ,
0 1

where    
1 1
T 2 /2 T4 , T3
w̃k =   w(tk ) , Q̃k = 4 2  σw2 .
1
T 2
T3 , T2
After scaling σw2 by T , the model is similar to the previous one except for the “ 14 ”
coefficient in Q11 .

3
D. Direct modeling in discrete time

A simplified model can sometimes be directly constructed in discrete time. Let pk


and Vk denote the target position and velocity at time tk . Let xk = (pk , Vk )T , and
let T = tk+1 − tk The approximate state equations are:

pk+1 = pk + T Vk

Vk+1 = Vk + wk

where (wk ) is a white noise sequence. These equations reflect the following assump-
tions:

• The velocity Vk is constant on [tk , tk+1 ].

• The velocity increments (Vk+1 − Vk ) are white.

The last assumption can be interpreted as a white-noise acceleration. The variance


σw2 should reflect the possible change in velocity over period T .

The resulting state model is:


" # " #
1 T 0
xk+1 = x(t) + wk .
0 1 1

The model is similar to the previous ones except for zero noise in the position
component. The previous models should be preferred unless T is very small.

4
8.2 Steady-State Filter for 2nd Order Models:
The α-β
β Filter

Assuming a fixed sampling interval T , we have arrived at the stationary model:

xk+1 = F xk + wk

zk = Hxk + vk

with      
T4 T3
p 1 T
x= , F = , Q= 4 2 
σw2
T3 2
ṗ 0 1 2
T

Assume a noisy position measurement: zk = p(tk ) + vk , so that

4
H = [1, 0] , R = σv2 .

The steady-state filter will be of the form

x̂k+1|k = F x̂k|k
   
K1 4 α
x̂k|k = x̂k|k−1 +   z̃k = x̂k|k−1 +   z̃k
K2 β/T

where, as usual, z̃k = zk − H x̂k|k−1 . Note that this filter gives both position and
velocity estimates.

We wish to compute the Kalman gain K, namely the coefficients α and β, and the
error covariance P .

5
Recall the Ricatti equation for P ≡ P − :

P = F [P − P H T S −1 HP ] F T + Q

with S = HPH T + R, and K = P H T S −1 . Denote


à !
m11 m21
P = .
m12 m22

After some algebra, we obtain 3 quadratic equations in (m11 , m21 , m22 ), which can
be solved (excercise). The Kalman gain elements may be expressed as:

4 1³ 2 √ ´
α = K1 = −λ − 8λ + (λ + 4) λ2 + 8λ
8
4 1³ 2 √ ´
β = T K2 = λ + 4λ − λ λ2 + 8λ ,
4

where
T 2 σw
λ=
σv
is the “maneuvering index”. Essentially, it is the ratio of the state noise to the
measurement noise. The behavior of the optimal gain parameters as a function of
λ is illustrated in the next figure.

It can also be shown that


(P + )11 = α σv2

so that α also represents the improvement in position estimation variance as com-


pared with that of a single measurement.

6
8.3 Higher-Order Models

Our basic model so far was a(t) = w(t), which essentially corresponds to a constant
velocity motion (with white noise perturbation). In some cases a constant accelera-
tion model may be more appropriate. In this case we can increase the model order
and consider
ȧ(t) = w(t) .

This leads to a 3rd order system. The resulting steady-state filer is called the “α-β-γ
filter”, and has the form:
 
α
 
 
x̂k|k = x̂k|k−1 +  β/T  z̃k .
 
2
γ/T

T 2 σw
The coefficients α, β, γ again depend only on the maneuvering index λ = σv
.

2.0
β
1.5

1.0 α

0.5

0.0
10 −3 1 10 3
λ

Figure 1: The gain coefficients as function of λ (α-β filter)

7
Another option to regularize the velocity change in the 2nd-order filter is to use
filtered noise in place of white noise. This simplest such model is:

ȧ(t) = −b a(t) + w(t) .

Note that this may be viewed as the (second-order) noise acceleration model a(t) =
w̃(t) with low-pass filtered noise w̃ = w/(s + b). This model is useful for tracking
maneuvering targets, where velocity changes cannot be too abrupt.

8
8.4 Target Tracking in General

Target tracking in practice involves many additional issues with varying degrees of
difficulty. Among those we mention:

• Correlated motion in several dimensions.

• Polar measurements (leading to nonlinear filters).

• Partial measurements (such as bearings-only measurements in sonar).

• Spurious measurements (”clutter”).

• Different target maneuvers (which requires adaptive or multiple models).

• Multi-target tracking.

You might also like