SlideShare una empresa de Scribd logo
1 de 11
Descargar para leer sin conexión
13
Consider an object falling under a constant gravitational field. Let y(t) denote
the height of the object, then
y t g
y t y t g t t
y t y t y t t t
g
t t
..
. .
.
( )
( ) ( ) ( )
( ) ( ) ( )( ) ( )
= −
⇒ = − −
⇒ = + − − −
0 0
0 0 0 0
2
2
As a discrete time system with time increment of t-t0=1
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
Kalman Filter and Particle Filter
14
y k y k y k
g
( ) ( ) ( )
.
+ = + −1
2
the height y(k+1) depends on the previous velocity and height at time k.
We can define the state as
x(k) [y(k) y(k)]'
.
≡
and then the state equation becomes
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
15
x x
F x G u
(k +1) =
1 1
0 1
(k)+
0.5










 −
= +
1
( )
( )
g
k
Assuming we observe or measure the height of the ball directly. The
measurement equation is:
z x
H x
(k) = [1 0] (k) + w(k)
= +( ) ( )k w k
The variance of w(k) needs to be known for implementing a Kalman filter.
Given the initial state and covariance, we have sufficient information to find the
optimal state estimate using the Kalman filter equations.
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
16
Kalman Filter Equations
The Kalman filter maintains the estimates of the state:
$( | ) ( ) ( ), ( ),...
$( | ) ( ) ( ), ( ),...
x x
x x
k k k z k z k
k k k z k z k
− −
+ − + −
estimateof given measurements
estimateof given measurements
1
1 1 1
and the error covariance matrix of the state estimate
P x
P x
( | ) ( ) ( ), ( ),...
( | ) ( ) ( ), ( ),...
k k k z k z k
k k k z k z k
− −
+ − + −
covarianceof given
estimateof given
1
1 1 1
We shall partition the Kalman filter recursive processing into several simple
stages with a physical interpretation:
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
17
State Estimation
0. Known are $( | ), ( ), ( | )x u Pk k k k k and the new measurement z(k+1).
1. State Prediction $( | ) ( ) $( | ) ( ) ( )x F x G uk k k k k k k+ = +1
2. Measurement Prediction: $( | ) ( ) $( | )z H xk k k k k+ = +1 1
3. Measurement Residual: v z z( ) ( ) $( | )k k k k+ = + − +1 1 1
4. Updated State Estimate: $( | ) $( | ) ( ) ( )x x W vk k k k k k+ + = + + + +1 1 1 1 1
where W(k+1) is called the Kalman Gain defined next in the state
covariance estimation.
Time update
measurement
update
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
18
State Covariance Estimation
1. State prediction covariance: P F P F Q( | ) ( ) ( | ) ( )' ( )k k k k k k k+ = +1
2. Measurement prediction covariance:
S H P H R( ) ( ) ( | ) ( )' ( )k k k k k k+ = + + + + +1 1 1 1 1
3. Filter Gain W P H S 1
( ) ( | ) ( )' ( )k k k k k+ = + + + −
1 1 1 1
4. Updated state covariance
P P W S W( | ) ( | ) ( ) ( ) ( )'k k k k k k k+ + = + − + + +1 1 1 1 1 1
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
19
Page 219 Bar-Shalom ANATOMY OF KALMAN FILTER
State at tk
x(k)
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
20
Matrix Riccati Equation
The covariance calculations are independent of state (not so for EKF later)
=> can be performed offline and are given by:
[ ]P F
P P H H P H R
H P
F Q( | ) ( )
( | ) ( | ) ( )' ( ) ( | ) ( )' ( )
. ( ) ( | )
( )' (k k k
k k k k k k k k k k
k k k
k+ =
− − − − +
−








+
−
1
1 1 1
1
1
This is the Riccati equation and can be obtained from the Kalman filter
equations above.
The solution of the Riccati equation in a time invariant system converges to
steady state (finite) covariance if the pair {F, H} is completely observable (ie
the state is visible from the measurements alone).
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
21
{F, H} is completely observable if and only if the observability matrix
Q
F
FH
FH nx
0
1
=











−
...
has full rank of nx.
The convergent solution to the Riccati equation yields the steady state gain for
the Kalman Filter.
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
22
FALLING BODY KALMAN
FILTER (continued)
Assume an initial true state of position = 100 and velocity = 0, g=1.
We choose an initial estimate state estimate $( )x 0 and initial state covariance
P( )0 based on mainly intuition. The state noise covariance Q is all zeros.
The measurement noise covariance R is estimated from knowledge of predicted
observation errors, chosen as 1 here.
F, G, H are known the Kalman filter equations can be applied:
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
23
85
87
89
91
93
95
97
99
101
1 2 3 4 5 6
True position
Estimate
measurement
www. statisticsassignmentexperts.com
email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215

Más contenido relacionado

Último

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 

Último (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Kalman Filter And Particle Filter

  • 1. 13 Consider an object falling under a constant gravitational field. Let y(t) denote the height of the object, then y t g y t y t g t t y t y t y t t t g t t .. . . . ( ) ( ) ( ) ( ) ( ) ( ) ( )( ) ( ) = − ⇒ = − − ⇒ = + − − − 0 0 0 0 0 0 2 2 As a discrete time system with time increment of t-t0=1 www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215 Kalman Filter and Particle Filter
  • 2. 14 y k y k y k g ( ) ( ) ( ) . + = + −1 2 the height y(k+1) depends on the previous velocity and height at time k. We can define the state as x(k) [y(k) y(k)]' . ≡ and then the state equation becomes www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 3. 15 x x F x G u (k +1) = 1 1 0 1 (k)+ 0.5            − = + 1 ( ) ( ) g k Assuming we observe or measure the height of the ball directly. The measurement equation is: z x H x (k) = [1 0] (k) + w(k) = +( ) ( )k w k The variance of w(k) needs to be known for implementing a Kalman filter. Given the initial state and covariance, we have sufficient information to find the optimal state estimate using the Kalman filter equations. www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 4. 16 Kalman Filter Equations The Kalman filter maintains the estimates of the state: $( | ) ( ) ( ), ( ),... $( | ) ( ) ( ), ( ),... x x x x k k k z k z k k k k z k z k − − + − + − estimateof given measurements estimateof given measurements 1 1 1 1 and the error covariance matrix of the state estimate P x P x ( | ) ( ) ( ), ( ),... ( | ) ( ) ( ), ( ),... k k k z k z k k k k z k z k − − + − + − covarianceof given estimateof given 1 1 1 1 We shall partition the Kalman filter recursive processing into several simple stages with a physical interpretation: www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 5. 17 State Estimation 0. Known are $( | ), ( ), ( | )x u Pk k k k k and the new measurement z(k+1). 1. State Prediction $( | ) ( ) $( | ) ( ) ( )x F x G uk k k k k k k+ = +1 2. Measurement Prediction: $( | ) ( ) $( | )z H xk k k k k+ = +1 1 3. Measurement Residual: v z z( ) ( ) $( | )k k k k+ = + − +1 1 1 4. Updated State Estimate: $( | ) $( | ) ( ) ( )x x W vk k k k k k+ + = + + + +1 1 1 1 1 where W(k+1) is called the Kalman Gain defined next in the state covariance estimation. Time update measurement update www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 6. 18 State Covariance Estimation 1. State prediction covariance: P F P F Q( | ) ( ) ( | ) ( )' ( )k k k k k k k+ = +1 2. Measurement prediction covariance: S H P H R( ) ( ) ( | ) ( )' ( )k k k k k k+ = + + + + +1 1 1 1 1 3. Filter Gain W P H S 1 ( ) ( | ) ( )' ( )k k k k k+ = + + + − 1 1 1 1 4. Updated state covariance P P W S W( | ) ( | ) ( ) ( ) ( )'k k k k k k k+ + = + − + + +1 1 1 1 1 1 www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 7. 19 Page 219 Bar-Shalom ANATOMY OF KALMAN FILTER State at tk x(k) www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 8. 20 Matrix Riccati Equation The covariance calculations are independent of state (not so for EKF later) => can be performed offline and are given by: [ ]P F P P H H P H R H P F Q( | ) ( ) ( | ) ( | ) ( )' ( ) ( | ) ( )' ( ) . ( ) ( | ) ( )' (k k k k k k k k k k k k k k k k k+ = − − − − + −         + − 1 1 1 1 1 1 This is the Riccati equation and can be obtained from the Kalman filter equations above. The solution of the Riccati equation in a time invariant system converges to steady state (finite) covariance if the pair {F, H} is completely observable (ie the state is visible from the measurements alone). www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 9. 21 {F, H} is completely observable if and only if the observability matrix Q F FH FH nx 0 1 =            − ... has full rank of nx. The convergent solution to the Riccati equation yields the steady state gain for the Kalman Filter. www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 10. 22 FALLING BODY KALMAN FILTER (continued) Assume an initial true state of position = 100 and velocity = 0, g=1. We choose an initial estimate state estimate $( )x 0 and initial state covariance P( )0 based on mainly intuition. The state noise covariance Q is all zeros. The measurement noise covariance R is estimated from knowledge of predicted observation errors, chosen as 1 here. F, G, H are known the Kalman filter equations can be applied: www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215
  • 11. 23 85 87 89 91 93 95 97 99 101 1 2 3 4 5 6 True position Estimate measurement www. statisticsassignmentexperts.com email us at info@ statisticsassignmentexperts.com or call us at +1 520 8371215