SlideShare a Scribd company logo
Nonlinear Kalman Filtering
Min Sung Ahn
July 17, 2020
Sensor Fusion
Table of Contents
• Linearized Kalman Filter
• Extended Kalman Filter (EKF)
• “Higher-order” Nonlinear Kalman Filtering
• Kalman Filtering Parameter Estimation
7/17/20 Nonlinear Kalman Filtering 2
Linearized Kalman Filter
7/17/20 Nonlinear Kalman Filtering 3
Linearized Kalman Filter
Consider the general nonlinear system model:
7/17/20 Nonlinear Kalman Filtering 4
Linearized Kalman Filter
Taylor series of the system model:
7/17/20 Nonlinear Kalman Filtering 5
Linearized Kalman Filter
Define nominal system trajectory:
Define deviation of state derivatives and measurement:
Using these definitions results in the following system:
7/17/20 Nonlinear Kalman Filtering 6
Linearized Kalman Filter
7/17/20 Nonlinear Kalman Filtering 7
Linearization Kalman Filter Summary
1. Given system equations and nominal trajectory ahead of time.
2. Compute partial derivative matrices evaluated at the nominal
trajectory values.
3. Compute the new covariance matrices.
4. Define Δ𝑦 = 𝑦 − 𝑦!.
5. Execute the Kalman filter equations.
6. Estimate the state as: %𝑥 = 𝑥! + Δ%𝑥.
7/17/20 Nonlinear Kalman Filtering 8
Extended Kalman Filter
7/17/20 Nonlinear Kalman Filtering 9
Extended Kalman Filter (Continuous)
Since the EKF tries to directly solve for %𝑥, we start by summing 𝑥! and
Δ ̇%𝑥 system equations:
Choosing 𝑥! 𝑡 = %𝑥(𝑡), the nominal measurement equation gets
updated:
And the state becomes:
7/17/20 Nonlinear Kalman Filtering 10
Extended Kalman Filter (CT) Summary
1. Given system equations.
2. Compute the partial derivative matrices evaluated at the current
state estimate.
3. Compute the new covariance matrices.
4. Execute the Kalman filter equations.
7/17/20 Nonlinear Kalman Filtering 11
Extended Kalman Filter (Hybrid)
Suppose a continuous-time system with discrete-time measurements:
Propagate state estimate according to nonlinear dynamics.
Propagate covariance as in the continuous-time EKF.
Time-update equations for hybrid EKF become:
7/17/20 Nonlinear Kalman Filtering 12
Extended Kalman Filter (Hybrid)
At each measurement time, update the state estimate and covariance
as in the discrete-time Kalman filter:
𝐻" and 𝑀" are evaluated at %𝑥"
#
.
𝑃" and 𝐾" cannot be computed offline because of dependence on 𝐻"
and 𝑀".
Hence, (generally) no steady-state solution exists for EKF.
7/17/20 Nonlinear Kalman Filtering 13
Extended Kalman Filter (Hybrid) Summary
1. Given system equations with continuous-time dynamics and
discrete-time measurements.
2. Initialize the filter as follows:
3. For 𝑘 = 1,2, … , perform the time update and measurement update as
follows:
7/17/20 Nonlinear Kalman Filtering 14
Extended Kalman Filter Example
Given the system equations:
𝑥!: altitude 𝑥": velocity
1/𝑥#: constant ballistic coefficient
𝑤: process noise 𝑣: measurement noise
𝜌$: air density at seal level 𝑔: gravitational acceleration
𝑘: constant relationship between air density and altitude
7/17/20 Nonlinear Kalman Filtering 15
Extended Kalman Filter Example
Compute the partial derivatives: Initialize the filter:
7/17/20 Nonlinear Kalman Filtering 16
Extended Kalman Filter Example
Estimation error magnitudes
averaged over 100 simulations
CT EKF performs better in general
than hybrid EKF
7/17/20 Nonlinear Kalman Filtering 17
Extended Kalman Filter (Discrete)
Suppose a discrete-time dynamics and discrete-time measurements.
Perform a Taylor series expansion of the state equation around 𝑥"#$ =
%𝑥"#$
%
and 𝑤"#$ = 0, and the measurement equation around 𝑥" = %𝑥"
#
and
𝑣" = 0.
7/17/20 Nonlinear Kalman Filtering 18
Extended Kalman Filter (Discrete) Summary
1. Given the discrete-time system and discrete-time measurement
equations.
2. Initialize the filter as follows:
3. For 𝑘 = 1,2, … , compute the partial derivative matrices and perform
the time update and measurement update equations.
7/17/20 Nonlinear Kalman Filtering 19
Higher-Order Approaches
7/17/20 Nonlinear Kalman Filtering 20
Iterated EKF
Recall ℎ(𝑥", 𝑣") approximation by expanding it in a Taylor series around
%𝑥"
#
:
and how the measurement-update equations based on this linearization
are:
If we reformulate the Taylor series of ℎ(𝑥", 𝑣") about the a posteriori
estimate and recalculate the measurement-update equations, we
should get a better a posteriori estimate!
7/17/20 Nonlinear Kalman Filtering 21
Iterated EKF
Notation: %𝑥",'
%
, 𝑃",'
%
, 𝐾",', 𝐻",'
Initialization:
For 𝑖 = 0, 1, … , 𝑁, evaluate:
Additional modification to obtain
the iterated Kalman filter:
7/17/20 Nonlinear Kalman Filtering 22
Iterated EKF Summary
1. Given a nonlinear system and measurement equations.
2. Initialize the filter.
3. For 𝑘 = 1, 2, … , perform:
(a) Time-update
(b) Measurement-update
i) Initialize the iterated EKF estimate to the standard EKF estimate:
ii) For 𝑖 = 0, 1, … , 𝑁, evaluate the measurement update equations:
(c) Final a posteriori state estimate and estimation-error covariance are:
7/17/20 Nonlinear Kalman Filtering 23
Second-Order EKF
Given a system (hybrid, in this case):
We previously conducted first-order Taylor series expansion to get the
time-update equation for EKF by evaluating at 𝑥 = %𝑥:
Second-order Taylor series expansion includes an additional term:
7/17/20 Nonlinear Kalman Filtering 24
Second-Order EKF
The quadratic term can be re-written as follows:
But since the 𝑥 − %𝑥 (
(𝑥 − %𝑥) is unknown, we replace it with its
expected value, the Kalman filter covariance:
Substituting to the Taylor series expansion and evaluating at 𝑥 = %𝑥:
7/17/20 Nonlinear Kalman Filtering 25
Second-Order EKF
Suppose the measurement-update equation for the state estimate is:
If we define the estimation error as:
Using the system equations and the supposed measurement-update
equation for state-estimate, the a posteriori error becomes:
7/17/20 Nonlinear Kalman Filtering 26
Second-Order EKF
Performing the second-order Taylor series expansion of ℎ around the
nominal point %𝑥"
#
results in:
Substituting the above into 𝑒"
%
:
7/17/20 Nonlinear Kalman Filtering 27
Second-Order EKF
Taking the expected value of both sides, and assuming 𝐸 𝑒"
#
= 0, in
order to have 𝐸 𝑒"
%
= 0, we must set:
Defining 𝑃"
%
as:
Leads to the following expression after some calculations:
7/17/20 Nonlinear Kalman Filtering 28
Second-Order EKF
Defining a cost function that we want to minimize as a weighted sum of
estimation errors:
The 𝐾" that minimizes this is:
Substituting this back into 𝑃"
%
results in:
Λ" is complex, but 𝜙', 𝜙) are binary vectors with all zeros except at 𝑖, 𝑗,
which simplifies it:
7/17/20 Nonlinear Kalman Filtering 29
Second-Order EKF
Measurement-update equations are then:
7/17/20 Nonlinear Kalman Filtering 30
4. Run measurement-update:
Second-Order EKF Summary
1. Given a system equation.
2. Initialize the estimator:
3. Run time-update:
7/17/20 Nonlinear Kalman Filtering 31
Other Approaches (Gaussian Sum Filter)
1. Given a discrete-time n-state system and measurement equations.
2. Initialize the filter by approximating the pdf of the initial state as:
3. For 𝑘 = 1, 2, … , do:
(a) Obtain the a priori estimate by first executing the time-update equations for
𝑖 = 1, 2, … , 𝑀:
The pdf of the a priori state estimate is then obtained by the following sum:
7/17/20 Nonlinear Kalman Filtering 32
Other Approaches (Gaussian Sum Filter)
3. For 𝑘 = 1, 2, … , do:
(b) Obtain the a posteriori estimate by first executing the measurement-update
equations for 𝑖 = 1, 2, … , 𝑀:
The weighting coefficients 𝑎!" for the individual estimates are obtained as
follows:
And finally, the pdf:
7/17/20 Nonlinear Kalman Filtering 33
Other Approaches
Grid-based Filtering:
- Similar to particle filtering, but has some computational requirements
that increase exponentially with the dimension of the state
- Has limited application
Linearizing the optimal nonlinear filter:
- Theoretically optimal nonlinear filter is very difficult to compute
7/17/20 Nonlinear Kalman Filtering 34
Parameter Estimation
7/17/20 Nonlinear Kalman Filtering 35
Parameter Estimation
Assume a discrete-time model with nonlinear system matrices
dependent on a constant parameter 𝑝:
Define an augmented state to derive an augmented system model:
Since 𝑓 is nonlinear, estimate the augmented state (which contains 𝑝)
using EKF or any other nonlinear filter.
7/17/20 Nonlinear Kalman Filtering 36
Chapter Summary
Nonlinear filtering is the most widespread approach to state estimation
for nonlinear systems.
Unlike the linear Kalman filter , stability and convergence results are
more difficult to obtain for nonlinear Kalman filtering.
• Some convergence results have been found.
• If nonlinearities are bounded, the Riccati equation can be modified to
guarantee stability for CT EKF.
• Conditions to guarantee boundedness of DT EKF error covariance can be
related to the nonlinear system’s observability.
7/17/20 Nonlinear Kalman Filtering 37

More Related Content

PPTX
Synchronous Counter
DOCX
Report kalman filtering
PPTX
Sensor Fusion Study - Ch14. The Unscented Kalman Filter [Sooyoung Kim]
PPT
Kalman filters
PPTX
Kalman filters
PPTX
Stability ppt
PDF
Dcs lec01 - introduction to discrete-time control systems
PDF
Control systems lab manual R19 jntuk, vignan's institute of engineering for w...
Synchronous Counter
Report kalman filtering
Sensor Fusion Study - Ch14. The Unscented Kalman Filter [Sooyoung Kim]
Kalman filters
Kalman filters
Stability ppt
Dcs lec01 - introduction to discrete-time control systems
Control systems lab manual R19 jntuk, vignan's institute of engineering for w...

What's hot (6)

PDF
Modulation, Frequency Modulation, Phase Modulation, Amplitude Modulation
PPTX
Frequency shift keying report
PPTX
Cyclic code non systematic
PPTX
Signal Filtering
PPTX
Sistemas de primer , segundo y orden superior
PPTX
Modulation
Modulation, Frequency Modulation, Phase Modulation, Amplitude Modulation
Frequency shift keying report
Cyclic code non systematic
Signal Filtering
Sistemas de primer , segundo y orden superior
Modulation
Ad

Similar to Sensor Fusion Study - Ch13. Nonlinear Kalman Filtering [Ahn Min Sung] (20)

PPTX
Av 738-Adaptive Filters - Extended Kalman Filter
DOCX
The extended kalman filter
PDF
B04402016018
PDF
Kalman filter - Applications in Image processing
PDF
kalman filtering "From Basics to unscented Kaman filter"
PDF
Balancing Robot Kalman Filter Design – Estimation Theory Project
PPTX
Kalman filter for object tracking
PDF
Kalman Filtering
PPTX
Av 738 - Adaptive Filtering - Kalman Filters
PPTX
Applying Smoothing Techniques to Passive Target Tracking.pptx
PDF
Paper id 26201484
PPTX
Slideshare
PDF
Kalman filter.pdf
PPT
Kalman Equations
PDF
6-A robust data fusion scheme for integrated navigation systems employing fau...
PPTX
Introduction to Kalman Filtering: Estimating True Values in Digital Signal Pr...
PPTX
Kalman Filter Tracking Method (22-5J3).pptx
PDF
lect8.pdf.dsp.advanced digital signal processing
PDF
Kalman_filtering
PDF
SLAM using Extended Kalman Filter on a Robot for Localization and Mappings
Av 738-Adaptive Filters - Extended Kalman Filter
The extended kalman filter
B04402016018
Kalman filter - Applications in Image processing
kalman filtering "From Basics to unscented Kaman filter"
Balancing Robot Kalman Filter Design – Estimation Theory Project
Kalman filter for object tracking
Kalman Filtering
Av 738 - Adaptive Filtering - Kalman Filters
Applying Smoothing Techniques to Passive Target Tracking.pptx
Paper id 26201484
Slideshare
Kalman filter.pdf
Kalman Equations
6-A robust data fusion scheme for integrated navigation systems employing fau...
Introduction to Kalman Filtering: Estimating True Values in Digital Signal Pr...
Kalman Filter Tracking Method (22-5J3).pptx
lect8.pdf.dsp.advanced digital signal processing
Kalman_filtering
SLAM using Extended Kalman Filter on a Robot for Localization and Mappings
Ad

More from AI Robotics KR (17)

PPTX
Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
PPTX
Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]
PDF
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
PDF
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
PDF
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
PPTX
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
PDF
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
PDF
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
PDF
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
PPTX
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
PPTX
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
PDF
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
PPTX
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
PDF
Sensor Fusion Study - Ch2. Probability Theory [Stella]
PDF
Sensor Fusion Study - Ch1. Linear System [Hayden]
PDF
ROS2 on WebOS - Brian Shin(LG)
PPTX
Bayesian Inference : Kalman filter 에서 Optimization 까지 - 김홍배 박사님
Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
Sensor Fusion Study - Ch9. Optimal Smoothing [Hayden]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
Sensor Fusion Study - Ch2. Probability Theory [Stella]
Sensor Fusion Study - Ch1. Linear System [Hayden]
ROS2 on WebOS - Brian Shin(LG)
Bayesian Inference : Kalman filter 에서 Optimization 까지 - 김홍배 박사님

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
web development for engineering and engineering
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Well-logging-methods_new................
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
composite construction of structures.pdf
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Construction Project Organization Group 2.pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Current and future trends in Computer Vision.pptx
PDF
Digital Logic Computer Design lecture notes
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPT
Mechanical Engineering MATERIALS Selection
Automation-in-Manufacturing-Chapter-Introduction.pdf
web development for engineering and engineering
OOP with Java - Java Introduction (Basics)
Well-logging-methods_new................
bas. eng. economics group 4 presentation 1.pptx
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
composite construction of structures.pdf
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Foundation to blockchain - A guide to Blockchain Tech
Construction Project Organization Group 2.pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Lecture Notes Electrical Wiring System Components
Current and future trends in Computer Vision.pptx
Digital Logic Computer Design lecture notes
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
additive manufacturing of ss316l using mig welding
Mechanical Engineering MATERIALS Selection

Sensor Fusion Study - Ch13. Nonlinear Kalman Filtering [Ahn Min Sung]

  • 1. Nonlinear Kalman Filtering Min Sung Ahn July 17, 2020 Sensor Fusion
  • 2. Table of Contents • Linearized Kalman Filter • Extended Kalman Filter (EKF) • “Higher-order” Nonlinear Kalman Filtering • Kalman Filtering Parameter Estimation 7/17/20 Nonlinear Kalman Filtering 2
  • 3. Linearized Kalman Filter 7/17/20 Nonlinear Kalman Filtering 3
  • 4. Linearized Kalman Filter Consider the general nonlinear system model: 7/17/20 Nonlinear Kalman Filtering 4
  • 5. Linearized Kalman Filter Taylor series of the system model: 7/17/20 Nonlinear Kalman Filtering 5
  • 6. Linearized Kalman Filter Define nominal system trajectory: Define deviation of state derivatives and measurement: Using these definitions results in the following system: 7/17/20 Nonlinear Kalman Filtering 6
  • 7. Linearized Kalman Filter 7/17/20 Nonlinear Kalman Filtering 7
  • 8. Linearization Kalman Filter Summary 1. Given system equations and nominal trajectory ahead of time. 2. Compute partial derivative matrices evaluated at the nominal trajectory values. 3. Compute the new covariance matrices. 4. Define Δ𝑦 = 𝑦 − 𝑦!. 5. Execute the Kalman filter equations. 6. Estimate the state as: %𝑥 = 𝑥! + Δ%𝑥. 7/17/20 Nonlinear Kalman Filtering 8
  • 9. Extended Kalman Filter 7/17/20 Nonlinear Kalman Filtering 9
  • 10. Extended Kalman Filter (Continuous) Since the EKF tries to directly solve for %𝑥, we start by summing 𝑥! and Δ ̇%𝑥 system equations: Choosing 𝑥! 𝑡 = %𝑥(𝑡), the nominal measurement equation gets updated: And the state becomes: 7/17/20 Nonlinear Kalman Filtering 10
  • 11. Extended Kalman Filter (CT) Summary 1. Given system equations. 2. Compute the partial derivative matrices evaluated at the current state estimate. 3. Compute the new covariance matrices. 4. Execute the Kalman filter equations. 7/17/20 Nonlinear Kalman Filtering 11
  • 12. Extended Kalman Filter (Hybrid) Suppose a continuous-time system with discrete-time measurements: Propagate state estimate according to nonlinear dynamics. Propagate covariance as in the continuous-time EKF. Time-update equations for hybrid EKF become: 7/17/20 Nonlinear Kalman Filtering 12
  • 13. Extended Kalman Filter (Hybrid) At each measurement time, update the state estimate and covariance as in the discrete-time Kalman filter: 𝐻" and 𝑀" are evaluated at %𝑥" # . 𝑃" and 𝐾" cannot be computed offline because of dependence on 𝐻" and 𝑀". Hence, (generally) no steady-state solution exists for EKF. 7/17/20 Nonlinear Kalman Filtering 13
  • 14. Extended Kalman Filter (Hybrid) Summary 1. Given system equations with continuous-time dynamics and discrete-time measurements. 2. Initialize the filter as follows: 3. For 𝑘 = 1,2, … , perform the time update and measurement update as follows: 7/17/20 Nonlinear Kalman Filtering 14
  • 15. Extended Kalman Filter Example Given the system equations: 𝑥!: altitude 𝑥": velocity 1/𝑥#: constant ballistic coefficient 𝑤: process noise 𝑣: measurement noise 𝜌$: air density at seal level 𝑔: gravitational acceleration 𝑘: constant relationship between air density and altitude 7/17/20 Nonlinear Kalman Filtering 15
  • 16. Extended Kalman Filter Example Compute the partial derivatives: Initialize the filter: 7/17/20 Nonlinear Kalman Filtering 16
  • 17. Extended Kalman Filter Example Estimation error magnitudes averaged over 100 simulations CT EKF performs better in general than hybrid EKF 7/17/20 Nonlinear Kalman Filtering 17
  • 18. Extended Kalman Filter (Discrete) Suppose a discrete-time dynamics and discrete-time measurements. Perform a Taylor series expansion of the state equation around 𝑥"#$ = %𝑥"#$ % and 𝑤"#$ = 0, and the measurement equation around 𝑥" = %𝑥" # and 𝑣" = 0. 7/17/20 Nonlinear Kalman Filtering 18
  • 19. Extended Kalman Filter (Discrete) Summary 1. Given the discrete-time system and discrete-time measurement equations. 2. Initialize the filter as follows: 3. For 𝑘 = 1,2, … , compute the partial derivative matrices and perform the time update and measurement update equations. 7/17/20 Nonlinear Kalman Filtering 19
  • 21. Iterated EKF Recall ℎ(𝑥", 𝑣") approximation by expanding it in a Taylor series around %𝑥" # : and how the measurement-update equations based on this linearization are: If we reformulate the Taylor series of ℎ(𝑥", 𝑣") about the a posteriori estimate and recalculate the measurement-update equations, we should get a better a posteriori estimate! 7/17/20 Nonlinear Kalman Filtering 21
  • 22. Iterated EKF Notation: %𝑥",' % , 𝑃",' % , 𝐾",', 𝐻",' Initialization: For 𝑖 = 0, 1, … , 𝑁, evaluate: Additional modification to obtain the iterated Kalman filter: 7/17/20 Nonlinear Kalman Filtering 22
  • 23. Iterated EKF Summary 1. Given a nonlinear system and measurement equations. 2. Initialize the filter. 3. For 𝑘 = 1, 2, … , perform: (a) Time-update (b) Measurement-update i) Initialize the iterated EKF estimate to the standard EKF estimate: ii) For 𝑖 = 0, 1, … , 𝑁, evaluate the measurement update equations: (c) Final a posteriori state estimate and estimation-error covariance are: 7/17/20 Nonlinear Kalman Filtering 23
  • 24. Second-Order EKF Given a system (hybrid, in this case): We previously conducted first-order Taylor series expansion to get the time-update equation for EKF by evaluating at 𝑥 = %𝑥: Second-order Taylor series expansion includes an additional term: 7/17/20 Nonlinear Kalman Filtering 24
  • 25. Second-Order EKF The quadratic term can be re-written as follows: But since the 𝑥 − %𝑥 ( (𝑥 − %𝑥) is unknown, we replace it with its expected value, the Kalman filter covariance: Substituting to the Taylor series expansion and evaluating at 𝑥 = %𝑥: 7/17/20 Nonlinear Kalman Filtering 25
  • 26. Second-Order EKF Suppose the measurement-update equation for the state estimate is: If we define the estimation error as: Using the system equations and the supposed measurement-update equation for state-estimate, the a posteriori error becomes: 7/17/20 Nonlinear Kalman Filtering 26
  • 27. Second-Order EKF Performing the second-order Taylor series expansion of ℎ around the nominal point %𝑥" # results in: Substituting the above into 𝑒" % : 7/17/20 Nonlinear Kalman Filtering 27
  • 28. Second-Order EKF Taking the expected value of both sides, and assuming 𝐸 𝑒" # = 0, in order to have 𝐸 𝑒" % = 0, we must set: Defining 𝑃" % as: Leads to the following expression after some calculations: 7/17/20 Nonlinear Kalman Filtering 28
  • 29. Second-Order EKF Defining a cost function that we want to minimize as a weighted sum of estimation errors: The 𝐾" that minimizes this is: Substituting this back into 𝑃" % results in: Λ" is complex, but 𝜙', 𝜙) are binary vectors with all zeros except at 𝑖, 𝑗, which simplifies it: 7/17/20 Nonlinear Kalman Filtering 29
  • 30. Second-Order EKF Measurement-update equations are then: 7/17/20 Nonlinear Kalman Filtering 30
  • 31. 4. Run measurement-update: Second-Order EKF Summary 1. Given a system equation. 2. Initialize the estimator: 3. Run time-update: 7/17/20 Nonlinear Kalman Filtering 31
  • 32. Other Approaches (Gaussian Sum Filter) 1. Given a discrete-time n-state system and measurement equations. 2. Initialize the filter by approximating the pdf of the initial state as: 3. For 𝑘 = 1, 2, … , do: (a) Obtain the a priori estimate by first executing the time-update equations for 𝑖 = 1, 2, … , 𝑀: The pdf of the a priori state estimate is then obtained by the following sum: 7/17/20 Nonlinear Kalman Filtering 32
  • 33. Other Approaches (Gaussian Sum Filter) 3. For 𝑘 = 1, 2, … , do: (b) Obtain the a posteriori estimate by first executing the measurement-update equations for 𝑖 = 1, 2, … , 𝑀: The weighting coefficients 𝑎!" for the individual estimates are obtained as follows: And finally, the pdf: 7/17/20 Nonlinear Kalman Filtering 33
  • 34. Other Approaches Grid-based Filtering: - Similar to particle filtering, but has some computational requirements that increase exponentially with the dimension of the state - Has limited application Linearizing the optimal nonlinear filter: - Theoretically optimal nonlinear filter is very difficult to compute 7/17/20 Nonlinear Kalman Filtering 34
  • 36. Parameter Estimation Assume a discrete-time model with nonlinear system matrices dependent on a constant parameter 𝑝: Define an augmented state to derive an augmented system model: Since 𝑓 is nonlinear, estimate the augmented state (which contains 𝑝) using EKF or any other nonlinear filter. 7/17/20 Nonlinear Kalman Filtering 36
  • 37. Chapter Summary Nonlinear filtering is the most widespread approach to state estimation for nonlinear systems. Unlike the linear Kalman filter , stability and convergence results are more difficult to obtain for nonlinear Kalman filtering. • Some convergence results have been found. • If nonlinearities are bounded, the Riccati equation can be modified to guarantee stability for CT EKF. • Conditions to guarantee boundedness of DT EKF error covariance can be related to the nonlinear system’s observability. 7/17/20 Nonlinear Kalman Filtering 37