SlideShare a Scribd company logo
1
Kalman Filtering
• It is an effective and versatile mathematical procedure
for combining noisy sensor outputs to estimate the
state of a system with uncertain dynamics.
• Kalman filtering is a relatively recent (1960)
development in filtering.
2
Kalman Filtering
Kalman filtering has been applied in areas as diverse as
• Aerospace,
• Tracking missiles,
• Navigation,
• Nuclear power plant instrumentation,
• Demographic modeling,
• Manufacturing,
• Computer vision applications.
For Kalman filter the problem formulated is state space
and is time varying.
3
What is Kalman filter
Some Applied Math
Noisy data Less noisy data
Delay is the price for filtering
4
5
• The Kalman filter is a linear, recursive estimator that
produces the minimum variance estimate in a least
squares sense under the assumption of white,
Gaussian noise processes.
• Consider the problem of estimating the variables of a
system.
• In dynamic systems (that is, systems which vary
with time) the system variables are often denoted
by the term "state variables".
Since its introduction in 1960, the Kalman filter has become an integral
component in thousands of military and civilian navigation systems.
6
• The Kalman filter is a multiple-input, multiple-
output digital filter that can optimally estimate, in
real time, the states of a system based on its noisy
outputs.
• The purpose of a Kalman filter is to estimate the state
of a system from measurements which contain
random errors.
7
• An example is estimating the position and velocity of
a satellite from radar data.
• There are 3 components of position and 3 of velocity
so there are at least 6 variables to estimate.
• These variables are called state variables.
• With 6 state variables the resulting Kalman filter is
called a 6-dimensional Kalman filter.
To provide current estimates of the system variables - such as
position coordinates - the filter uses statistical models to properly
weight each new measurement relative to past information.
8
Predict Correct
• Kalman filter operates by
• Predicting the new state and its uncertainty
• Correcting with the new measurement.
Predict Correct
9
10
11
12
13
14
15
16
17
18
Example: Two-dimensional Position Only
Process Model
k
k
k
k
k
k
k
k
k
k
k
k
k
w
x
A
x
w
x
A
x
y
x
y
x
y
x
+
=
+
=
ú
û
ù
ê
ë
é
+
ú
û
ù
ê
ë
é
ú
û
ù
ê
ë
é
=
ú
û
ù
ê
ë
é
+
-
-
-
-
-
-
1
1
1
1
1
1
1
Or
~
~
1
0
0
1
Noise
Noise
State State transition
19
Measurement Model
k
v
k
x
H
k
z
k
v
k
u
k
y
k
x
y
H
x
H
k
v
k
u
+
=
ú
û
ù
ê
ë
é
+
ú
û
ù
ê
ë
é
ú
ú
û
ù
ê
ê
ë
é
=
ú
û
ù
ê
ë
é
~
~
0
0
Noise
Nose
measurement Measurement matrix
20
Preparation
{ }
{ } Covariance
Noise
t
Measuremen
0
0
Covariance
Noise
Process
yy
Q
0
0
Transition
State
1
0
0
1
ú
ú
û
ù
ê
ê
ë
é
=
*
=
ú
ú
û
ù
ê
ê
ë
é
=
*
=
ú
û
ù
ê
ë
é
=
yy
R
xx
R
T
v
v
E
R
xx
Q
T
w
w
E
Q
A
21
Initialization
ú
û
ù
ê
ë
é
=
=
e
e
0
0
o
P
o
z
H
o
x
22
Predict
Q
T
A
k
AP
k
P
k
x
A
k
x
+
-
=
-
-
=
-
1
1
Uncertainty
Transition
23
Correct
( )
1
-
÷
ø
ö
ç
è
æ +
-
-
=
-
-
=
÷
ø
ö
ç
è
æ -
-
+
-
=
R
T
H
k
HP
T
H
k
P
K
k
P
KH
I
k
P
k
x
H
k
z
K
k
x
k
x
Predicted
Actual
Measurement space
24
Summary
Q
T
A
k
AP
k
P
k
x
A
k
x
+
-
=
-
-
=
-
1
1
( ) -
-
=
-
-
+
-
=
-
ú
û
ù
ê
ë
é +
-
-
=
k
P
KH
I
k
P
k
x
H
k
z
K
k
x
k
x
R
T
H
k
HP
T
H
k
P
K
)
(
1
25
Review of State Model
noise
t
measuremen
)
1
(
matrix
output
)
(
t vector
measuremen
1)
(
function
forcing
)
1
(
matrix
n
transitio
state
)
(
at time
vector
state
)
(
1
´
´
´
´
´
´
+
=
+
=
+
m
v
m
m
H
m
z
n
w
n
n
A
t
n
n
x
v
x
H
z
w
x
A
x
k
k
k
k
k
k
k
k
k
k
k
k
k
k
k
White noise
26
The System
å å
wk xk+1 z-1 xk Hk
vk
zk
Ak
+
+ +
Measurement noise
State transition matrix
27
Kalman Predictor Update Equation
( )
[ ]
-
-
-
+ -
+
=
= k
k
k
k
k x
H
z
K
x
A
x
A
x 1
Prior estimate of xk
system.
actual
the
like
much
looks
that
system
a
be
out to
turn
will
predictor
The
28
The Predictor
-
k
x
å
zk
AkK
zk
Ak
-
+
å H
Ak
Z-1
-
+1
k
x
29
The Filter
-
k
x
å
Zk+1 AkK
zk
Ak
-
+
å H
Ak
Z-1
-
+1
k
x
30
How Kalman Filter Works?
• The Kalman filter maintains two types of variables:
• Estimate State Vector: The components of the estimated state
vector include the following:
– The variables of interest (what we want or need to know, such as
position and velocity).
– Nuisance variables that may be necessary to the estimation process.
– The Kalman filter state variables for a specific application must include
all those system dynamic variables that are measurable by the sensors
used in the application.
• A Covariance Matrix: a measure of estimation uncertainty. The
equations used to propagate the covariance matrix (collectively
called the Riccati equation) model and manage uncertainty, taking
into account how sensor noise and dynamic uncertainty contribute to
uncertainty about the estimated system state.
31
• By maintaining an estimate of its own estimation uncertainty and the
relative uncertainty in the various sensor outputs, the Kalman filter is
able to combine all sensor information “optimally” in the sense that
the resulting estimate minimizes any quadratic loss function of
estimation, including the mean-squared value of any linear
combination of static estimation errors.
• The Kalman gain is the optimal weighting matrix for combining new
sensor data with a prior estimate to obtain a new estimate.

More Related Content

Similar to Kalman filter.pdf

Kalman Filtering
Kalman FilteringKalman Filtering
Kalman Filtering
Engin Gul
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
International Journal of Latest Research in Engineering and Technology
 
Matlab
MatlabMatlab
Matlab
Akshat1295
 
lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptx
AnshulShekhar3
 
Power system static state estimation using Kalman filter algorithm
Power system static state estimation using Kalman filter algorithmPower system static state estimation using Kalman filter algorithm
Power system static state estimation using Kalman filter algorithm
Power System Operation
 
Refining Underwater Target Localization and Tracking Estimates
Refining Underwater Target Localization and Tracking EstimatesRefining Underwater Target Localization and Tracking Estimates
Refining Underwater Target Localization and Tracking Estimates
CSCJournals
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processingRavi Teja
 
A research on significance of kalman filter approach as applied in electrical...
A research on significance of kalman filter approach as applied in electrical...A research on significance of kalman filter approach as applied in electrical...
A research on significance of kalman filter approach as applied in electrical...
eSAT Journals
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
Saravanan Natarajan
 
Automatic agriculture assistance
Automatic agriculture assistanceAutomatic agriculture assistance
Automatic agriculture assistance
Surajkumar Lal
 
Maneuverable Target Tracking using Linear Kalman Filter
Maneuverable Target Tracking  using Linear Kalman FilterManeuverable Target Tracking  using Linear Kalman Filter
Maneuverable Target Tracking using Linear Kalman FilterAnnwesh Barik
 
paper term SUMMARY powerpoint.pptx
paper term SUMMARY powerpoint.pptxpaper term SUMMARY powerpoint.pptx
paper term SUMMARY powerpoint.pptx
ShathaTaha2
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
ijcseit
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
ijcseit
 
Robotics Localization
Robotics LocalizationRobotics Localization
Robotics Localization
cairo university
 
presentation data fusion methods ex.pptx
presentation data fusion methods ex.pptxpresentation data fusion methods ex.pptx
presentation data fusion methods ex.pptx
Julius346776
 
An improved fading Kalman filter in the application of BDS dynamic positioning
An improved fading Kalman filter in the application of BDS dynamic positioningAn improved fading Kalman filter in the application of BDS dynamic positioning
An improved fading Kalman filter in the application of BDS dynamic positioning
IJRES Journal
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
ijcseit
 

Similar to Kalman filter.pdf (20)

238 iit conf 238
238 iit conf  238238 iit conf  238
238 iit conf 238
 
kalman filtering "From Basics to unscented Kaman filter"
 kalman filtering "From Basics to unscented Kaman filter" kalman filtering "From Basics to unscented Kaman filter"
kalman filtering "From Basics to unscented Kaman filter"
 
Kalman Filtering
Kalman FilteringKalman Filtering
Kalman Filtering
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
 
Matlab
MatlabMatlab
Matlab
 
lecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptxlecture_18-19_state_observer_design.pptx
lecture_18-19_state_observer_design.pptx
 
Power system static state estimation using Kalman filter algorithm
Power system static state estimation using Kalman filter algorithmPower system static state estimation using Kalman filter algorithm
Power system static state estimation using Kalman filter algorithm
 
Refining Underwater Target Localization and Tracking Estimates
Refining Underwater Target Localization and Tracking EstimatesRefining Underwater Target Localization and Tracking Estimates
Refining Underwater Target Localization and Tracking Estimates
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processing
 
A research on significance of kalman filter approach as applied in electrical...
A research on significance of kalman filter approach as applied in electrical...A research on significance of kalman filter approach as applied in electrical...
A research on significance of kalman filter approach as applied in electrical...
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
Automatic agriculture assistance
Automatic agriculture assistanceAutomatic agriculture assistance
Automatic agriculture assistance
 
Maneuverable Target Tracking using Linear Kalman Filter
Maneuverable Target Tracking  using Linear Kalman FilterManeuverable Target Tracking  using Linear Kalman Filter
Maneuverable Target Tracking using Linear Kalman Filter
 
paper term SUMMARY powerpoint.pptx
paper term SUMMARY powerpoint.pptxpaper term SUMMARY powerpoint.pptx
paper term SUMMARY powerpoint.pptx
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
 
Robotics Localization
Robotics LocalizationRobotics Localization
Robotics Localization
 
presentation data fusion methods ex.pptx
presentation data fusion methods ex.pptxpresentation data fusion methods ex.pptx
presentation data fusion methods ex.pptx
 
An improved fading Kalman filter in the application of BDS dynamic positioning
An improved fading Kalman filter in the application of BDS dynamic positioningAn improved fading Kalman filter in the application of BDS dynamic positioning
An improved fading Kalman filter in the application of BDS dynamic positioning
 
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTERA NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
A NEW METHOD OF SMALL-SIGNAL CALIBRATION BASED ON KALMAN FILTER
 

Recently uploaded

Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 

Recently uploaded (20)

Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 

Kalman filter.pdf

  • 1. 1 Kalman Filtering • It is an effective and versatile mathematical procedure for combining noisy sensor outputs to estimate the state of a system with uncertain dynamics. • Kalman filtering is a relatively recent (1960) development in filtering.
  • 2. 2 Kalman Filtering Kalman filtering has been applied in areas as diverse as • Aerospace, • Tracking missiles, • Navigation, • Nuclear power plant instrumentation, • Demographic modeling, • Manufacturing, • Computer vision applications. For Kalman filter the problem formulated is state space and is time varying.
  • 3. 3 What is Kalman filter Some Applied Math Noisy data Less noisy data Delay is the price for filtering
  • 4. 4
  • 5. 5 • The Kalman filter is a linear, recursive estimator that produces the minimum variance estimate in a least squares sense under the assumption of white, Gaussian noise processes. • Consider the problem of estimating the variables of a system. • In dynamic systems (that is, systems which vary with time) the system variables are often denoted by the term "state variables". Since its introduction in 1960, the Kalman filter has become an integral component in thousands of military and civilian navigation systems.
  • 6. 6 • The Kalman filter is a multiple-input, multiple- output digital filter that can optimally estimate, in real time, the states of a system based on its noisy outputs. • The purpose of a Kalman filter is to estimate the state of a system from measurements which contain random errors.
  • 7. 7 • An example is estimating the position and velocity of a satellite from radar data. • There are 3 components of position and 3 of velocity so there are at least 6 variables to estimate. • These variables are called state variables. • With 6 state variables the resulting Kalman filter is called a 6-dimensional Kalman filter. To provide current estimates of the system variables - such as position coordinates - the filter uses statistical models to properly weight each new measurement relative to past information.
  • 8. 8 Predict Correct • Kalman filter operates by • Predicting the new state and its uncertainty • Correcting with the new measurement. Predict Correct
  • 9. 9
  • 10. 10
  • 11. 11
  • 12. 12
  • 13. 13
  • 14. 14
  • 15. 15
  • 16. 16
  • 17. 17
  • 18. 18 Example: Two-dimensional Position Only Process Model k k k k k k k k k k k k k w x A x w x A x y x y x y x + = + = ú û ù ê ë é + ú û ù ê ë é ú û ù ê ë é = ú û ù ê ë é + - - - - - - 1 1 1 1 1 1 1 Or ~ ~ 1 0 0 1 Noise Noise State State transition
  • 20. 20 Preparation { } { } Covariance Noise t Measuremen 0 0 Covariance Noise Process yy Q 0 0 Transition State 1 0 0 1 ú ú û ù ê ê ë é = * = ú ú û ù ê ê ë é = * = ú û ù ê ë é = yy R xx R T v v E R xx Q T w w E Q A
  • 23. 23 Correct ( ) 1 - ÷ ø ö ç è æ + - - = - - = ÷ ø ö ç è æ - - + - = R T H k HP T H k P K k P KH I k P k x H k z K k x k x Predicted Actual Measurement space
  • 24. 24 Summary Q T A k AP k P k x A k x + - = - - = - 1 1 ( ) - - = - - + - = - ú û ù ê ë é + - - = k P KH I k P k x H k z K k x k x R T H k HP T H k P K ) ( 1
  • 25. 25 Review of State Model noise t measuremen ) 1 ( matrix output ) ( t vector measuremen 1) ( function forcing ) 1 ( matrix n transitio state ) ( at time vector state ) ( 1 ´ ´ ´ ´ ´ ´ + = + = + m v m m H m z n w n n A t n n x v x H z w x A x k k k k k k k k k k k k k k k White noise
  • 26. 26 The System å å wk xk+1 z-1 xk Hk vk zk Ak + + + Measurement noise State transition matrix
  • 27. 27 Kalman Predictor Update Equation ( ) [ ] - - - + - + = = k k k k k x H z K x A x A x 1 Prior estimate of xk system. actual the like much looks that system a be out to turn will predictor The
  • 30. 30 How Kalman Filter Works? • The Kalman filter maintains two types of variables: • Estimate State Vector: The components of the estimated state vector include the following: – The variables of interest (what we want or need to know, such as position and velocity). – Nuisance variables that may be necessary to the estimation process. – The Kalman filter state variables for a specific application must include all those system dynamic variables that are measurable by the sensors used in the application. • A Covariance Matrix: a measure of estimation uncertainty. The equations used to propagate the covariance matrix (collectively called the Riccati equation) model and manage uncertainty, taking into account how sensor noise and dynamic uncertainty contribute to uncertainty about the estimated system state.
  • 31. 31 • By maintaining an estimate of its own estimation uncertainty and the relative uncertainty in the various sensor outputs, the Kalman filter is able to combine all sensor information “optimally” in the sense that the resulting estimate minimizes any quadratic loss function of estimation, including the mean-squared value of any linear combination of static estimation errors. • The Kalman gain is the optimal weighting matrix for combining new sensor data with a prior estimate to obtain a new estimate.