statistical orbit determination smoothing monte carlo simulation

27
Colorado Center for Astrodynamics Research The University of Colorado 1 STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation ASEN 5070 LECTURE 33 11/18/09

Upload: waldo

Post on 14-Jan-2016

45 views

Category:

Documents


0 download

DESCRIPTION

STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation. ASEN 5070 LECTURE 33 11/18/09. Smoothing. Smoothing. After some after some algebra algebra. After some algebra it can be shown that. Smoothing. Finally. Smoothing. The equation for the smoothed covariance is given by. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Colorado Center for Astrodynamics Research The University of Colorado 1

STATISTICALORBIT DETERMINATION

SmoothingMonte Carlo Simulation

ASEN 5070

LECTURE 33

11/18/09

Page 2: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Smoothing

Page 3: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

After some algebra it can be shown that

Smoothing

After someafter some algebra algebra

Page 4: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Smoothing

Finally

Page 5: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Smoothing

The equation for the smoothed covariance is given byThe equation for the smoothed covariance is given by

the

Page 6: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Smoothing computational algorithm

Page 7: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Smoothing computational algorithm

Page 8: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

8Copyright 2006

Filtering - Example (Problem 41 of Ch. 4 Exercises)

Page 9: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

9Copyright 2006

Filtering - Example (Problem 41 of Ch. 4 Exercises)

Page 10: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

10Copyright 2006

Filtering - Example (Problem 41 of Ch. 4 Exercises)

where

Page 11: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

11Copyright 2006

Computational Algorithm for Smoother

Page 12: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

12Copyright 2006

Computational Algorithm for Smoother

Page 13: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

13Copyright 2006

Smoothing - Example (Problem 42 of Ch. 4 Exercises)

Solve for the smoothed history of using the computational algorithm for smoother. Plot the true values of η, the filter values (determined by the algorithm below), and the smoothed values. Compute the RMS of the smoothed fit (data is noised single cycle of a sine wave). The sequential algorithm is given by

where

Page 14: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

14Copyright 2006

Smoothing - Example (Problem 42 of Ch. 4 Exercises)

Page 15: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

15Copyright 2006

Filter – Smoother Consistency Check

The smoother covariance at stage k is given by

where

is the filter covariance at stage k

and

is the filter covariance at stage k + 1 based on k observations

kkP

1k

kP

Page 16: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

16Copyright 2006

Filter – Smoother Consistency Check

Calculate the n x n difference matrix difference between the filter and smoother covariance at stage k

for k {0, 1, 2, …, }.

• should be non negative definite, i.e. have no negative eigenvalues

• Denote the square root of the ith main diagonal element of as

• Calculate the n x 1 difference vector between the filtered and smoothed state estimate

kk k kP P P

kP

kP ik

k x

ˆ ˆkk k kx x x

Page 17: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

17Copyright 2006

Filter – Smoother Consistency Check

Calculate the ratio

for each i {0, 1, 2, …, n} and k {0, 1, 2, …, }

• If for each i and k, we have

Then the filter-smoother solutions are said to be globally consistent.

• If for each i and k, we have

The filter-smoother solutions have globally failed the consistency test.

/i ik k kR x

3ikR

3ikR

Page 18: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

Copyright 2006

Monte Carlo Simulation

George H. BornASEN 5070 Statistical Orbit Determination

The University of Colorado, Boulder

Page 19: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

19Copyright 2006

Monte Carlo Simulations

Assume we have a state vector X with associated error covariance TP E xx where x

is a vector of zero mean error realizations of the state vector X. Hence

TP E xx

factor P into

TP S S

where S is upper triangular and can be computed via Cholesky decomposition or orthogonal transformations. Note that S is not unique.

Page 20: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

20Copyright 2006

Monte Carlo Simulations

Pre-multiply P by TS and post-multiply by 1S

1 1T T TS P S S S S S I

using

1 1

T

T T T

P E

S P S E S S I

xx

xx

let TS e x

so TE I ee

Page 21: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

21Copyright 2006

Monte Carlo Simulations

Therefore e can be realized as an ,N O I vector of random numbers, and x

calculated from

TSx e

Therefore x is a realization of errors of the vector X for which P is the error covariance.

Page 22: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

22Copyright 2006

Monte Carlo Simulations

Implementation procedure using Matlab

Given an n-vector X and P, compute S

cholS P

Generate an n-vector of Gaussian random numbers with ,N O I

randn ,1ne

If desired, an n-vector of Gaussian random number, b, with mean M and variance 2 can be computed from

2sqrt randn ,1M n b

Page 23: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

23Copyright 2006

Monte Carlo Simulations

Compute a realization of error in x from

TSx e

Generate a new realization of X

n e w X X x

n e wX will have P as its error covariance

Page 24: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

24Copyright 2006

Monte Carlo Simulations

Another realization may be computed by generating a new vector of random numbers, e.

Unless you specify the seed, Matlab will generate a different random vector each time randn n,1 is used

Page 25: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

25Copyright 2006

Monte Carlo Simulations

We could also use A P in place of S

1 1

P A A

A P A I

Let

1Ae x , i s ,N O Ie

then

Ax e

Note that TA Se e

Page 26: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

26Copyright 2006

Monte Carlo Simulations

Hence this will be a different realization of x given the same random vector, e.

However, it can be shown that

S Q A

where Q is an orthogonal transformation matrix.

Therefore,

1

2

T TS A Q

A

x e e

x e

and 1x and 2x have the same Euclidean norm.

Page 27: STATISTICAL ORBIT DETERMINATION Smoothing Monte Carlo Simulation

27Copyright 2006

Monte Carlo Simulations

Proof that S Q A : from TP S S A A

using an orthogonal transformation matrix

T TP S S A Q Q A

let B Q A

then T TS S B B

or S B

S Q A

Because S is not unique i.e. there is more than one value of S for which

TS S P

We must choose Q so that S is upper triangular. If we do not require S to be triangular there are an infinite number of solutions for S, i.e. Q may be any orthogonal matrix.