Академический Документы
Профессиональный Документы
Культура Документы
18-05-2016 1
Kalman & Kalman Filter -
Information
Kalman
https://en.wikipedia.org/wiki/Rudolf_E._K%C3%A1lm
%C3%A1n
Kalman Filter
https://en.wikipedia.org/wiki/Kalman_filter
http://www.cs.unc.edu/~welch/kalman/
18-05-2016 2
Estimation
Estimation theory: Finding an approximate value
(called estimate) of a quantity from observations or
measurements which contain the information on the
quantity to be estimated.
18-05-2016 3
Hence, estimation is to correctly calculate the true
values of the system variables or parameters in the
presence of the disturbances and errors due to errors in
measurement.
18-05-2016 4
Procedure for Optimal Estimation
The procedure for optimal estimation is as follows:
3. Problem formulation,
18-05-2016 5
Parameter Estimation and State
Estimation
Parameter estimation:
This deals with estimating the process parameters like gain,
time constant of a process.
Techniques used are least squares, recursive least squares
(RLS) maximum likelihood techniques etc.
State estimation:
State estimation deals with estimation the state(s) of a
systems like position and velocity of an airplane.
Techniques used are Kalman filter (KF), state observer.
Extended Kalman Filter (EKF) is used for estimating the
parameters as well as the states.
18-05-2016 6
Areas of Application of Estimation
Theory
The areas of application of estimation theory are:
Communication systems: extract message from a
received signal which usually has some noise.
Navigation: Estimating the position and velocity of a
vehicle like airplane, missile, ship.
Post experimental data analysis: Recorded data is
analysed to access the success or failure of a mission
(satellite launch, effectiveness of a new control
algorithm).
Process control: Regulation of a chemical process.
18-05-2016 7
Main Aspects of Estimation
Prediction, Filtering and Smoothing: improve noisy
measurements, typically due to process noise and
measurement noise.
18-05-2016 9
Kalman Filter: Information Required
& Task
Information Required
System model (linear/linearized model)
Measurements and their statistical behaviours
Statistical models characterizing the process and
measurement noise (typically zero-mean uncorrelated
white noise)
Initial condition information for the states
Task
To estimate (filter) the state by processing the
measurement data and using the system model
18-05-2016 10
State Estimation Problem
w(t) v(t)
SYSTEM
18-05-2016 11
Problem Statement
System Dynamics: = + +
Measured Output: = +
: Process noise, : Measurement noise
Assumptions:
a) 0 ~ 0 , 0 , ~ 0, , ~ 0, are mutually
orthogonal
b) and are uncorrelated white noise
c) + = , Q 0 (psdf)
+ = , R > 0 (pdf)
18-05-2016 12
Kalman Filter
= + +
Where,
= + = + = =
as is zero.
18-05-2016 13
Note:
P(t) is a measure of uncertainty in the estimate.
Key:
18-05-2016 14
Observer/Estimator/Filter Design
= + +
Where,
1. = : Estimate of the state
2. = : Estimate of the state
= +
= +
= ( = 0)
=
3. : Estimator/Filter/Kalman Gain
Problem: How to design ?
18-05-2016 15
Error Dynamics
The error in estimation dynamics is given by
=
= + + + +
= A +
= A + +
= + = 0 +
Note: The error dynamics is driven by both the process
noise and the sensor noise
18-05-2016 16
Observations
= 0 + = 0
= =
= 0 . and . are interchangeable
If 0 = is stable, then = 0
In this case, the estimate is said to be unbiased.
If 0, the estimate is said to be biased
18-05-2016 17
Solution for
Error Dynamics
= 0 +
Solution:
= 0 0 + 0
0
= 0 0 + 0 0
0 0
18-05-2016 18
Cross-correlation Matrices
Note: , , and are mutually orthogonal. Hence,
, = = 0
0
= 0
0
= 0
0
= 0
0
1 1 1
= 0
= =
0
2 = 2 2
18-05-2016 19
, = = 0
0
= 0
0
= 0
0
1 1
= 0 =
2 = 2
18-05-2016 20
Error Covariance Propogation
Error Covariance Matrix:
Propagation of Error Covariance Matrix
= +
= +
= +
18-05-2016 21
= 0 +
= 0 +
= 0 +
= 0 +
1 1
= 0 +
2 2
1 1
= 0 + +
2 2
18-05-2016 22
1 1
= 0 + +
2 2
1 1
+ 0 + +
2 2
= 0 + 0 + +
18-05-2016 23
Error Covariance Propagation
The error covariance matrix P(t) reaches a steady state
value P as long as 0 = is stable.
where .
18-05-2016 24
Derivation of Kalman Gain
Philosophy:
=
=1
Optimal formulation:
1 1 2 2
Minimize = = lim 1 + +
2 2
subject to = 0 + 0 + + = 0
18-05-2016 25
Derivation of Kalman Gain
Augmented Cost Function:
1 1
= +
2 2
where, is the Langrage multiplie matrix.
Necessary conditions:
i. = 0 + 0 + =
ii. = 2 =
iii. = 0 + 0 + + =
18-05-2016 26
From i), the Langrange multiplier matrix S is the solution
of the Lyapunov Equation
0 + 0 =
18-05-2016 27
From iii), we get
0 + 0 + + = 0
+ + + = 0
1 + 1
+ 1 1 + = 0
1 + 1 + 1 1 +
= 0
+ 1 + = 0
18-05-2016 28
Summary: Problem
System Dynamics: = + +
Measured Output: = +
Assumptions:
a) 0 ~ 0 , 0 , ~ 0, , ~ 0, are mutually
orthogonal
b) and are uncorrelated white noise
Problem:
Find such that = lim , is minimized.
where
18-05-2016 29
Summary: Solution
Filter steps
i. Initialization: 0 = 0
ii. Solve for Riccatti matrix P from the filter ARE:
+ 1 + = 0
iii. Compute Kalman Gain
= 1 , >0
iv. Propagate the estimator (filter) dynamics
= + +
18-05-2016 30