SlideShare a Scribd company logo
1 of 31
2020 AI Robotics KR
Sensor Fusion Study
Ch5. The discrete-time
Kalman Filter
박정은
Overview
1. Mathematical description of a dynamic system whose state we want to estimate
2. Implement equations that describe how the mean and variance of the state and
the covariance of the state propagate with time. These equations, derived in Ch.4
themselves form a dynamic system.
3. We take dynamic systems that describes the propagation of the state mean and
covariance, and implement equations on a computer.
(a) The mean of the state is the Kalman filter estimate of the state
(b) The covariance of the state is the covariance of the Kalman filter state estimate
4. Every time that we get a measurement, we update the mean and covariance of
the state.
5-1. Derivation of the Discrete-Time Kalman Filter
<Assumtion>
Linear discrete-time system
(5.1)
{w_k},{v_k} white,zero mean, uncorrelated, known variane Q_k, R_k
참고 (2.96), (2.85)
(5.2)
5-1. Derivation of the Discrete-Time Kalman Filter
<Types of Estimates>
Figure 5.1
smoothed estimate: k+N개의 관찰 값을 이용해 k번째 값을 예측
predicted estimate: k-m개의 관찰 값을 이용해 k번째 값을 예측
5-1. Derivation of the Discrete-Time Kalman Filter
<Priori, Posteriori>
Initial estimate x0
(5.8) reasonable!
P_k : covariance of estimation error
Figure 5.2
(k-1) time
Estimation 𝑥 𝑘−1
+
Covariance of estimate 𝑃𝑘−1
+
(k) time
Compute Estimation 𝑥 𝑘
−
Covariance of estimate 𝑃𝑘
−
(k) time
Measurement
Resulting estimate 𝑥 𝑘
+
Covariance of estimate 𝑃𝑘
+
5-1. Derivation of the Discrete-Time Kalman Filter
<Time update equation for 𝑥 >
Best estimate of Initial state x0 (assumption?)
𝑤𝑒 𝑤𝑎𝑛𝑡 𝑡𝑜 𝑠𝑒𝑡: 𝑥1
−
= 𝐸(𝑥1)
위의 식에 따라서
좀 더 일반적으로
Time update equation for 𝑥. Do not need additional Measurement
5-1. Derivation of the Discrete-Time Kalman Filter
<Time update equation for P>
Best estimate of Initial state P0+
If we know initial state perfect P=0, no idea the P is infinity
Represents uncertainty in our initial estimate of x0
Want to estimate 𝑃1
−
에 따라서 일반적인 식으로
Time update equation for P
5-1. Derivation of the Discrete-Time Kalman Filter
<Meausrement update equations>
Given 𝑥 𝑘
−
->estimate 𝑥 𝑘
+
Takes measurement of 𝑦 𝑘
-recursive least squares development from section 3.3
5-1. Derivation of the Discrete-Time Kalman Filter
<Meausrement update equations>
Replacement!
5-1. Derivation of the Discrete-Time Kalman Filter
<Summary>
First expression for Pk+: Joseph stabilized version of the covariance measurement update equation
always be symmetric positive definite
Third expression for Pk+: simpler than first one
does not guarantee symmetry or positive definitess
Second expression for Pk+: rarely used . But useful for information filter
Second expression for Kk: we need expression for pk+ that does not depend on Kk
Calculation of 𝑃𝑘
+
, 𝐾𝑘, 𝑃𝑘
−
does not depend on the measurement yk
-> Kalman Gain Kk can be calculated offline before the system operates and saved in memory
-> 𝑥 𝑘 equation need to be implemented in real time
the performance of the filter can be investigated and evaluated before the filter fun
5-2. Kalman Filter Properties
We want to find a causal filter that results in a state estimate 𝑥 𝑘
Error between true state and estimated state 𝑥 𝑘 = 𝑥 𝑘 − 𝑥 𝑘
Objective -> min 𝐸[𝑥 𝑘
𝑇
𝑆 𝑘 𝑥 𝑘] (minimize weighted two-norm)
(S is a positive definite user-defined weighting matrix)
-> optimal linear filter in any case
5-3. One-step Kalman Filter Equations
① 𝑥 𝑘+1
−
in expression for 𝑥 𝑘
−
② 𝑃𝑘+1
−
in expression for 𝑃𝑘
−
discrete Riccati equation
③ 𝑥 𝑘+1
+
in expression for 𝑥 𝑘
+
, 𝑃𝑘+1
+
in expression for 𝑃𝑘
+
Example 5.1
System dynamics
𝑥 𝑘+1 = 𝐹𝑥 𝑘
Kalman filter for system
covariance increases between time
Example 5.1
After measurement?
covariance
decreases!
Example 5.1
Overall graph
5.4 Alternative Propagation of Covariance
1) Multiple state systems
-Used to find a closed form equation for scalar Kalman filter
-Used to find a fast solution to the steady-state estimation-error covariance
Recall the equation
Factorize n*n matrix Pk- where A and B are n*n matrix to be determined
Then A and B are propagated as follows
5.4 Alternative Propagation of Covariance
1) Multiple state systems
<Proof>
From above,
𝐴 𝑘+1 = 𝐹𝑘 + 𝑄 𝑘 𝐹𝑘
−𝑇
𝐻 𝑘 𝑅 𝑘
−1
𝐻 𝑘 𝐴 𝑘 + 𝑄 𝑘 𝐹𝑘
−𝑇
𝐵 𝑘
정리하면,
Matrix inverse Lemma를 사용하면 𝐴 = 𝐼, 𝐵 = −𝐻 𝑘, 𝐷 = 𝑅 𝑘, 𝐶 = 𝐻 𝑘 𝑃𝑘
−
5.4 Alternative Propagation of Covariance
1) Multiple state systems
<Steady State Kalman Gain>
𝐴1 = 𝑃1
−1
, 𝐵1 = 𝐼, Ψ2𝑝
가 수렴 할 때 까지 곱하면, 아래와 같다. (왜 2p?)
Steady State Covariance가 𝑃∞
−
= 𝐴∞ 𝐵∞이므로 steady state Kalman Gain을 구할 수 있다.
𝐾∞ = 𝑃∞
−1 𝐻 𝑇 𝐻𝑃∞
−1 𝐻 𝑇 + 𝑅 −1
5.4 Alternative Propagation of Covariance
2) Scalar systems
-Used to find a closed form equation for scalar Kalman filter
-Used to find a fast solution to the steady-state estimation-error covariance
Suppose that F,Q,H,R are constant scalars
Eigen values 𝜆1, 𝜆2, Eigen vector matrix M
𝐴1 = 𝑃1
−1
, 𝐵1 = 𝐼
5.4 Alternative Propagation of Covariance
2) Scalar systems
열심히 잘 계산하면…
Steady State Value of 𝑃𝑘
−
(𝜇2 < 𝜇1 이므로 k가 증가 할 때 𝜇2
𝑘
가 더 빨리 감소)
Example 5.2
(Scalar System)
F=H=Q=R=1 -> for Priori Estimation Covariance and Kalman Gain
Posteriori Estimation Covariance : 𝑃𝑘
+
= 𝐼 − 𝐾𝑘 𝐻 𝑘 𝑃𝑘
−
5.5 Divergence Issues
In real system it may NOT work!
① finite precision arithmetic : only a certain number of bits are used to represent
Kalman filter Equations (유한 정밀도 산술)
② Modeling errors:
-model may not be Precisely known
-Noise is may not be pure white with zero mean, completely uncorrelated
5.5 Divergence Issues
<Remedy>
1. Increase arithmetic precision
-메모리를 더 할당해!
-simply forces the digital implementation of the filter to more closely match the analog theory
-OK for PC, not good for microcontroller
2. Square Root Filtering
-effectively increases arithmetic precision
-but needs more computational efforts
5.5 Divergence Issues
<Remedy>
3. Symmetrize P at each time step P=(P+PT)/2
4. Initialize P approximately to avoid changes in P
-do not result in major improvements
-can prevent numerical problems easily
-𝑃𝑘
−
𝑖𝑠 𝑎𝑙𝑤𝑎𝑦𝑠 𝑠𝑦𝑚𝑚𝑒𝑡𝑟𝑖𝑐, 𝑃𝑘
+
may not always be symmetric
-mathematically equivalent but not numerically
-𝑃𝑘
+ 𝑛𝑒𝑤
= (Pk
+
+ Pk
+T
)/2
-다른 방법도 있음 책에 두가지 방법 더 소개
5.5 Divergence Issues
<Remedy>
5. Use a fading memory filter
-forget the measurements in the distant past and place more emphasis on recent measurements
-theoretically results in loss of optimality
-restore convergence and stability
-work due to modeling error
6. The use of fictitious process noise
-mathematically equivalent to the 5
-less confidence on system model, emphasis on measurements
Example 5.3
<Fictitious Noise>
assume process noise 0
앞선 식 들에 따라 계산하면,
하지만!
True system은 다음과 같다
Example 5.3
<Fictitious Noise>
Estimation of 𝑥1,𝑘 를 비교해보면, 발산하는 것을 볼 수 있다.
만약 fictitious process noise를 추가한다면, 관찰 값에
더 가중치를 것이다.
물론 모델이 완벽하다면 성능이 떨어지겠지…
if Q becomes larger, filter will be more responsive to
measurements
오른쪽의 그래프를 보면 Q=1 일 때 가장 실재와 비슷함
Example 5.3
<Fictitious Noise>
가장 좋은 Q값은 모델에 따라 달라진다.
일반적으로 process noise는 좋지만 노이즈가 너무 많아지면 state를 추정하기 어려워진다.
Need to balance our confidence in our model.
5.5 Divergence Issues
Fictitious process noise compensates for modeling error
<If Qk is small>
In example 3
-𝑄 𝑘 = 0 이므로 𝐹𝑘 = 1, 𝑃𝑘
−
= 𝑃𝑘
+
. Measurement 가 진행되므로 𝑃𝑘
−
> 𝑃𝑘
+
-𝑃𝑘
−
는 0으로 수렴한다.
-𝐾𝑘는 0으로 수렴한다.
-measurement is completely ignored!
-measurement noise covariance R will be infinitely larger than process noise Q
5.5 Divergence Issues
Fictitious process noise compensates for modeling error
<If Qk is large>
-Measurement 가 진행되므로 𝑃𝑘
−
> 𝑃𝑘
+
-P는 큰 어떠한 값으로 수렴하게 된다.
-K는 어떠한 큰 값으로 수렴하게 된다.
-larger K means that measurement equation will include a larger emphasis on the measurement
Q값을 적절하게 정해야 한다.
-끝-
Ch5. The discrete-time
Kalman Filter
박정은

More Related Content

What's hot

Chap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systemsChap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systemsProf. Ihab Ali
 
Kalman filters
Kalman filtersKalman filters
Kalman filtersAJAL A J
 
Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shahKaushal Shah
 
Real time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingReal time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingIAEME Publication
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisationRamaiahsubasri
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginnerswinfred lu
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processingRavi Teja
 
Multi Object Filtering Multi Target Tracking
Multi Object Filtering Multi Target TrackingMulti Object Filtering Multi Target Tracking
Multi Object Filtering Multi Target TrackingEngin Gul
 
State space analysis, eign values and eign vectors
State space analysis, eign values and eign vectorsState space analysis, eign values and eign vectors
State space analysis, eign values and eign vectorsShilpa Shukla
 
Time domain analysis
Time domain analysisTime domain analysis
Time domain analysisHussain K
 
PRML Chapter 11
PRML Chapter 11PRML Chapter 11
PRML Chapter 11Sunwoo Kim
 
Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.Ratul
 
Fun and Easy Kalman filter Tutorial - Using Pokemon Example
Fun and Easy Kalman filter Tutorial - Using Pokemon ExampleFun and Easy Kalman filter Tutorial - Using Pokemon Example
Fun and Easy Kalman filter Tutorial - Using Pokemon ExampleRitesh Kanjee
 
Kalman filtering and it's applications
Kalman filtering and it's applicationsKalman filtering and it's applications
Kalman filtering and it's applicationsMADHAVASAIYENDUVA
 

What's hot (20)

Chap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systemsChap 2 discrete_time_signal_and_systems
Chap 2 discrete_time_signal_and_systems
 
Kalman Filter
 Kalman Filter    Kalman Filter
Kalman Filter
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
Time response and analysis kaushal shah
Time response and analysis kaushal shahTime response and analysis kaushal shah
Time response and analysis kaushal shah
 
Real time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target trackingReal time implementation of unscented kalman filter for target tracking
Real time implementation of unscented kalman filter for target tracking
 
Feedback linearisation
Feedback linearisationFeedback linearisation
Feedback linearisation
 
Kalman filter for Beginners
Kalman filter for BeginnersKalman filter for Beginners
Kalman filter for Beginners
 
Me314 week08-stability and steady state errors
Me314 week08-stability and steady state errorsMe314 week08-stability and steady state errors
Me314 week08-stability and steady state errors
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processing
 
Multi Object Filtering Multi Target Tracking
Multi Object Filtering Multi Target TrackingMulti Object Filtering Multi Target Tracking
Multi Object Filtering Multi Target Tracking
 
Kalman Filter Basic
Kalman Filter BasicKalman Filter Basic
Kalman Filter Basic
 
State space analysis, eign values and eign vectors
State space analysis, eign values and eign vectorsState space analysis, eign values and eign vectors
State space analysis, eign values and eign vectors
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
Time domain analysis
Time domain analysisTime domain analysis
Time domain analysis
 
Data fusion with kalman filtering
Data fusion with kalman filteringData fusion with kalman filtering
Data fusion with kalman filtering
 
Kalman filter
Kalman filterKalman filter
Kalman filter
 
PRML Chapter 11
PRML Chapter 11PRML Chapter 11
PRML Chapter 11
 
Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.
 
Fun and Easy Kalman filter Tutorial - Using Pokemon Example
Fun and Easy Kalman filter Tutorial - Using Pokemon ExampleFun and Easy Kalman filter Tutorial - Using Pokemon Example
Fun and Easy Kalman filter Tutorial - Using Pokemon Example
 
Kalman filtering and it's applications
Kalman filtering and it's applicationsKalman filtering and it's applications
Kalman filtering and it's applications
 

Similar to Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]

Estimators and observers-Optimal Control
Estimators and observers-Optimal ControlEstimators and observers-Optimal Control
Estimators and observers-Optimal ControlWissam Kafa
 
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]AI Robotics KR
 
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.pptxAnshulShekhar3
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3Hattori Sidek
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3mkazree
 
Seminar On Kalman Filter And Its Applications
Seminar On  Kalman  Filter And Its ApplicationsSeminar On  Kalman  Filter And Its Applications
Seminar On Kalman Filter And Its ApplicationsBarnali Dey
 
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 EstimatesCSCJournals
 
IFAC2008art
IFAC2008artIFAC2008art
IFAC2008artYuri Kim
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)Nanhee Kim
 
Chaos Presentation
Chaos PresentationChaos Presentation
Chaos PresentationAlbert Yang
 
Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Adrian Aley
 
14th_Class_19-03-2024 Control systems.pptx
14th_Class_19-03-2024 Control systems.pptx14th_Class_19-03-2024 Control systems.pptx
14th_Class_19-03-2024 Control systems.pptxbuttshaheemsoci77
 
Transient and Steady State Response - Control Systems Engineering
Transient and Steady State Response - Control Systems EngineeringTransient and Steady State Response - Control Systems Engineering
Transient and Steady State Response - Control Systems EngineeringSiyum Tsega Balcha
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryKhulna University
 
Design of imc based controller for industrial purpose
Design of imc based controller for industrial purposeDesign of imc based controller for industrial purpose
Design of imc based controller for industrial purpose375ankit
 
Adaptive Control and Synchronization of Hyperchaotic Cai System
Adaptive Control and Synchronization of Hyperchaotic Cai SystemAdaptive Control and Synchronization of Hyperchaotic Cai System
Adaptive Control and Synchronization of Hyperchaotic Cai Systemijctcm
 

Similar to Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은] (20)

Av 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman FilterAv 738-Adaptive Filters - Extended Kalman Filter
Av 738-Adaptive Filters - Extended Kalman Filter
 
Estimators and observers-Optimal Control
Estimators and observers-Optimal ControlEstimators and observers-Optimal Control
Estimators and observers-Optimal Control
 
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
 
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
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Meeting w6 chapter 2 part 3
Meeting w6   chapter 2 part 3Meeting w6   chapter 2 part 3
Meeting w6 chapter 2 part 3
 
Kalman filter demonstration
Kalman filter demonstrationKalman filter demonstration
Kalman filter demonstration
 
Seminar On Kalman Filter And Its Applications
Seminar On  Kalman  Filter And Its ApplicationsSeminar On  Kalman  Filter And Its Applications
Seminar On Kalman Filter And Its Applications
 
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
 
IFAC2008art
IFAC2008artIFAC2008art
IFAC2008art
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)
 
Chaos Presentation
Chaos PresentationChaos Presentation
Chaos Presentation
 
P1111130668
P1111130668P1111130668
P1111130668
 
Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)Intro to Quant Trading Strategies (Lecture 6 of 10)
Intro to Quant Trading Strategies (Lecture 6 of 10)
 
14th_Class_19-03-2024 Control systems.pptx
14th_Class_19-03-2024 Control systems.pptx14th_Class_19-03-2024 Control systems.pptx
14th_Class_19-03-2024 Control systems.pptx
 
Transient and Steady State Response - Control Systems Engineering
Transient and Steady State Response - Control Systems EngineeringTransient and Steady State Response - Control Systems Engineering
Transient and Steady State Response - Control Systems Engineering
 
5 2020 04_06!09_40_10_pm
5 2020 04_06!09_40_10_pm5 2020 04_06!09_40_10_pm
5 2020 04_06!09_40_10_pm
 
Stat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng TheoryStat 2153 Introduction to Queiueng Theory
Stat 2153 Introduction to Queiueng Theory
 
Design of imc based controller for industrial purpose
Design of imc based controller for industrial purposeDesign of imc based controller for industrial purpose
Design of imc based controller for industrial purpose
 
Adaptive Control and Synchronization of Hyperchaotic Cai System
Adaptive Control and Synchronization of Hyperchaotic Cai SystemAdaptive Control and Synchronization of Hyperchaotic Cai System
Adaptive Control and Synchronization of Hyperchaotic Cai System
 

More from AI Robotics KR

Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]AI Robotics KR
 
Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]
Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]
Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]AI Robotics KR
 
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]AI Robotics KR
 
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]AI Robotics KR
 
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]AI Robotics KR
 
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...AI Robotics KR
 
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]AI Robotics KR
 
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]AI Robotics KR
 
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]AI Robotics KR
 
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]AI Robotics KR
 
Sensor Fusion Study - Ch2. Probability Theory [Stella]
Sensor Fusion Study - Ch2. Probability Theory [Stella]Sensor Fusion Study - Ch2. Probability Theory [Stella]
Sensor Fusion Study - Ch2. Probability Theory [Stella]AI Robotics KR
 
Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]AI Robotics KR
 
ROS2 on WebOS - Brian Shin(LG)
ROS2 on WebOS - Brian Shin(LG)ROS2 on WebOS - Brian Shin(LG)
ROS2 on WebOS - Brian Shin(LG)AI Robotics KR
 

More from AI Robotics KR (13)

Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]Sensor Fusion Study - Real World 2: GPS & INS Fusion [Stella Seoyeon Yang]
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 - Real World 1: Lidar radar fusion [Kim Soo Young]Sensor Fusion Study - Real World 1: Lidar radar fusion [Kim Soo Young]
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 - Ch15. The Particle Filter [Seoyeon Stella Yang]Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
 
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
Sensor Fusion Study - Ch12. Additional Topics in H-Infinity Filtering [Hayden]
 
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
Sensor Fusion Study - Ch11. The H-Infinity Filter [김영범]
 
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
Sensor Fusion Study - Ch10. Additional topics in kalman filter [Stella Seoyeo...
 
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
 
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
Sensor Fusion Study - Ch6. Alternate Kalman filter formulations [Jinhyuk Song]
 
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
Sensor Fusion Study - Ch3. Least Square Estimation [강소라, Stella, Hayden]
 
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
Sensor Fusion Study - Ch4. Propagation of states and covariance [김동현]
 
Sensor Fusion Study - Ch2. Probability Theory [Stella]
Sensor Fusion Study - Ch2. Probability Theory [Stella]Sensor Fusion Study - Ch2. Probability Theory [Stella]
Sensor Fusion Study - Ch2. Probability Theory [Stella]
 
Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]Sensor Fusion Study - Ch1. Linear System [Hayden]
Sensor Fusion Study - Ch1. Linear System [Hayden]
 
ROS2 on WebOS - Brian Shin(LG)
ROS2 on WebOS - Brian Shin(LG)ROS2 on WebOS - Brian Shin(LG)
ROS2 on WebOS - Brian Shin(LG)
 

Recently uploaded

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsvanyagupta248
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...HenryBriggs2
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxnuruddin69
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARKOUSTAV SARKAR
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfsmsksolar
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesRAJNEESHKUMAR341697
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projectssmsksolar
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 

Recently uploaded (20)

HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptxBridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Rums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdfRums floating Omkareshwar FSPV IM_16112021.pdf
Rums floating Omkareshwar FSPV IM_16112021.pdf
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects2016EF22_0 solar project report rooftop projects
2016EF22_0 solar project report rooftop projects
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
Call Girls in South Ex (delhi) call me [🔝9953056974🔝] escort service 24X7
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]

  • 1. 2020 AI Robotics KR Sensor Fusion Study Ch5. The discrete-time Kalman Filter 박정은
  • 2. Overview 1. Mathematical description of a dynamic system whose state we want to estimate 2. Implement equations that describe how the mean and variance of the state and the covariance of the state propagate with time. These equations, derived in Ch.4 themselves form a dynamic system. 3. We take dynamic systems that describes the propagation of the state mean and covariance, and implement equations on a computer. (a) The mean of the state is the Kalman filter estimate of the state (b) The covariance of the state is the covariance of the Kalman filter state estimate 4. Every time that we get a measurement, we update the mean and covariance of the state.
  • 3. 5-1. Derivation of the Discrete-Time Kalman Filter <Assumtion> Linear discrete-time system (5.1) {w_k},{v_k} white,zero mean, uncorrelated, known variane Q_k, R_k 참고 (2.96), (2.85) (5.2)
  • 4. 5-1. Derivation of the Discrete-Time Kalman Filter <Types of Estimates> Figure 5.1 smoothed estimate: k+N개의 관찰 값을 이용해 k번째 값을 예측 predicted estimate: k-m개의 관찰 값을 이용해 k번째 값을 예측
  • 5. 5-1. Derivation of the Discrete-Time Kalman Filter <Priori, Posteriori> Initial estimate x0 (5.8) reasonable! P_k : covariance of estimation error Figure 5.2 (k-1) time Estimation 𝑥 𝑘−1 + Covariance of estimate 𝑃𝑘−1 + (k) time Compute Estimation 𝑥 𝑘 − Covariance of estimate 𝑃𝑘 − (k) time Measurement Resulting estimate 𝑥 𝑘 + Covariance of estimate 𝑃𝑘 +
  • 6. 5-1. Derivation of the Discrete-Time Kalman Filter <Time update equation for 𝑥 > Best estimate of Initial state x0 (assumption?) 𝑤𝑒 𝑤𝑎𝑛𝑡 𝑡𝑜 𝑠𝑒𝑡: 𝑥1 − = 𝐸(𝑥1) 위의 식에 따라서 좀 더 일반적으로 Time update equation for 𝑥. Do not need additional Measurement
  • 7. 5-1. Derivation of the Discrete-Time Kalman Filter <Time update equation for P> Best estimate of Initial state P0+ If we know initial state perfect P=0, no idea the P is infinity Represents uncertainty in our initial estimate of x0 Want to estimate 𝑃1 − 에 따라서 일반적인 식으로 Time update equation for P
  • 8. 5-1. Derivation of the Discrete-Time Kalman Filter <Meausrement update equations> Given 𝑥 𝑘 − ->estimate 𝑥 𝑘 + Takes measurement of 𝑦 𝑘 -recursive least squares development from section 3.3
  • 9. 5-1. Derivation of the Discrete-Time Kalman Filter <Meausrement update equations> Replacement!
  • 10. 5-1. Derivation of the Discrete-Time Kalman Filter <Summary> First expression for Pk+: Joseph stabilized version of the covariance measurement update equation always be symmetric positive definite Third expression for Pk+: simpler than first one does not guarantee symmetry or positive definitess Second expression for Pk+: rarely used . But useful for information filter Second expression for Kk: we need expression for pk+ that does not depend on Kk Calculation of 𝑃𝑘 + , 𝐾𝑘, 𝑃𝑘 − does not depend on the measurement yk -> Kalman Gain Kk can be calculated offline before the system operates and saved in memory -> 𝑥 𝑘 equation need to be implemented in real time the performance of the filter can be investigated and evaluated before the filter fun
  • 11. 5-2. Kalman Filter Properties We want to find a causal filter that results in a state estimate 𝑥 𝑘 Error between true state and estimated state 𝑥 𝑘 = 𝑥 𝑘 − 𝑥 𝑘 Objective -> min 𝐸[𝑥 𝑘 𝑇 𝑆 𝑘 𝑥 𝑘] (minimize weighted two-norm) (S is a positive definite user-defined weighting matrix) -> optimal linear filter in any case
  • 12. 5-3. One-step Kalman Filter Equations ① 𝑥 𝑘+1 − in expression for 𝑥 𝑘 − ② 𝑃𝑘+1 − in expression for 𝑃𝑘 − discrete Riccati equation ③ 𝑥 𝑘+1 + in expression for 𝑥 𝑘 + , 𝑃𝑘+1 + in expression for 𝑃𝑘 +
  • 13. Example 5.1 System dynamics 𝑥 𝑘+1 = 𝐹𝑥 𝑘 Kalman filter for system covariance increases between time
  • 16. 5.4 Alternative Propagation of Covariance 1) Multiple state systems -Used to find a closed form equation for scalar Kalman filter -Used to find a fast solution to the steady-state estimation-error covariance Recall the equation Factorize n*n matrix Pk- where A and B are n*n matrix to be determined Then A and B are propagated as follows
  • 17. 5.4 Alternative Propagation of Covariance 1) Multiple state systems <Proof> From above, 𝐴 𝑘+1 = 𝐹𝑘 + 𝑄 𝑘 𝐹𝑘 −𝑇 𝐻 𝑘 𝑅 𝑘 −1 𝐻 𝑘 𝐴 𝑘 + 𝑄 𝑘 𝐹𝑘 −𝑇 𝐵 𝑘 정리하면, Matrix inverse Lemma를 사용하면 𝐴 = 𝐼, 𝐵 = −𝐻 𝑘, 𝐷 = 𝑅 𝑘, 𝐶 = 𝐻 𝑘 𝑃𝑘 −
  • 18. 5.4 Alternative Propagation of Covariance 1) Multiple state systems <Steady State Kalman Gain> 𝐴1 = 𝑃1 −1 , 𝐵1 = 𝐼, Ψ2𝑝 가 수렴 할 때 까지 곱하면, 아래와 같다. (왜 2p?) Steady State Covariance가 𝑃∞ − = 𝐴∞ 𝐵∞이므로 steady state Kalman Gain을 구할 수 있다. 𝐾∞ = 𝑃∞ −1 𝐻 𝑇 𝐻𝑃∞ −1 𝐻 𝑇 + 𝑅 −1
  • 19. 5.4 Alternative Propagation of Covariance 2) Scalar systems -Used to find a closed form equation for scalar Kalman filter -Used to find a fast solution to the steady-state estimation-error covariance Suppose that F,Q,H,R are constant scalars Eigen values 𝜆1, 𝜆2, Eigen vector matrix M 𝐴1 = 𝑃1 −1 , 𝐵1 = 𝐼
  • 20. 5.4 Alternative Propagation of Covariance 2) Scalar systems 열심히 잘 계산하면… Steady State Value of 𝑃𝑘 − (𝜇2 < 𝜇1 이므로 k가 증가 할 때 𝜇2 𝑘 가 더 빨리 감소)
  • 21. Example 5.2 (Scalar System) F=H=Q=R=1 -> for Priori Estimation Covariance and Kalman Gain Posteriori Estimation Covariance : 𝑃𝑘 + = 𝐼 − 𝐾𝑘 𝐻 𝑘 𝑃𝑘 −
  • 22. 5.5 Divergence Issues In real system it may NOT work! ① finite precision arithmetic : only a certain number of bits are used to represent Kalman filter Equations (유한 정밀도 산술) ② Modeling errors: -model may not be Precisely known -Noise is may not be pure white with zero mean, completely uncorrelated
  • 23. 5.5 Divergence Issues <Remedy> 1. Increase arithmetic precision -메모리를 더 할당해! -simply forces the digital implementation of the filter to more closely match the analog theory -OK for PC, not good for microcontroller 2. Square Root Filtering -effectively increases arithmetic precision -but needs more computational efforts
  • 24. 5.5 Divergence Issues <Remedy> 3. Symmetrize P at each time step P=(P+PT)/2 4. Initialize P approximately to avoid changes in P -do not result in major improvements -can prevent numerical problems easily -𝑃𝑘 − 𝑖𝑠 𝑎𝑙𝑤𝑎𝑦𝑠 𝑠𝑦𝑚𝑚𝑒𝑡𝑟𝑖𝑐, 𝑃𝑘 + may not always be symmetric -mathematically equivalent but not numerically -𝑃𝑘 + 𝑛𝑒𝑤 = (Pk + + Pk +T )/2 -다른 방법도 있음 책에 두가지 방법 더 소개
  • 25. 5.5 Divergence Issues <Remedy> 5. Use a fading memory filter -forget the measurements in the distant past and place more emphasis on recent measurements -theoretically results in loss of optimality -restore convergence and stability -work due to modeling error 6. The use of fictitious process noise -mathematically equivalent to the 5 -less confidence on system model, emphasis on measurements
  • 26. Example 5.3 <Fictitious Noise> assume process noise 0 앞선 식 들에 따라 계산하면, 하지만! True system은 다음과 같다
  • 27. Example 5.3 <Fictitious Noise> Estimation of 𝑥1,𝑘 를 비교해보면, 발산하는 것을 볼 수 있다. 만약 fictitious process noise를 추가한다면, 관찰 값에 더 가중치를 것이다. 물론 모델이 완벽하다면 성능이 떨어지겠지… if Q becomes larger, filter will be more responsive to measurements 오른쪽의 그래프를 보면 Q=1 일 때 가장 실재와 비슷함
  • 28. Example 5.3 <Fictitious Noise> 가장 좋은 Q값은 모델에 따라 달라진다. 일반적으로 process noise는 좋지만 노이즈가 너무 많아지면 state를 추정하기 어려워진다. Need to balance our confidence in our model.
  • 29. 5.5 Divergence Issues Fictitious process noise compensates for modeling error <If Qk is small> In example 3 -𝑄 𝑘 = 0 이므로 𝐹𝑘 = 1, 𝑃𝑘 − = 𝑃𝑘 + . Measurement 가 진행되므로 𝑃𝑘 − > 𝑃𝑘 + -𝑃𝑘 − 는 0으로 수렴한다. -𝐾𝑘는 0으로 수렴한다. -measurement is completely ignored! -measurement noise covariance R will be infinitely larger than process noise Q
  • 30. 5.5 Divergence Issues Fictitious process noise compensates for modeling error <If Qk is large> -Measurement 가 진행되므로 𝑃𝑘 − > 𝑃𝑘 + -P는 큰 어떠한 값으로 수렴하게 된다. -K는 어떠한 큰 값으로 수렴하게 된다. -larger K means that measurement equation will include a larger emphasis on the measurement Q값을 적절하게 정해야 한다.