Av-738
Adaptive Filter Theory
Lecture 4- Optimum Filtering
[Extended Kalman Filters]
Dr. Bilal A. Siddiqui
Air University (PAC Campus)
Spring 2018
All systems are ultimately nonlinear
• All of our discussion to this point has considered linear filters for linear systems.
Unfortunately, linear systems do not exist. All systems are ultimately nonlinear.
• But nonlinear problems are very difficult to solve. Therefore, it is often a
compromise between simplicity and performance.
Famous physicist Richard Feynman: “Linear systems are important because we
can solve them.”
• However, many systems are close enough to linear that linear estimation
approaches give satisfactory results. Eventually, we run across a system
that does not behave linearly even over a small range of operation. In this case,
we need to explore nonlinear estimators.
• Schwartz and Stear “No linear filter is consistently better than any other linear
filter…but any nonlinear filter is better than a strictly linear one.”
•
Extended Kalman Filter (EKF)
• The Kalman filter that we discussed in previous lecture directly applies only to linear
systems.
• However, a nonlinear system can be linearized, and then linear estimation techniques
(such as the Kalman or H∞) can be applied.
• In this lecture, we will discuss the linearized Kalman filter. This will involve
finding a linear system whose states represent the deviations from a nominal tra-
jectory of a nonlinear system.
• We can then use the Kalman filter to estimate the deviations from the nominal
trajectory, and hence obtain an estimate of the states of the nonlinear system.
• We will extend the linearized Kalman filter to directly estimate the states of a nonlinear
system.
• This filter, called the extended Kalman filter (EKF), is undoubtedly the most widely used
nonlinear state estimation technique that has been applied in the past few decades.
• It is also the work horse of aerospace navigation.
Linearized Kalman Filter
• Consider the following general nonlinear system model:
• Here, f(.) and h(.) are nonlinear functions.
• We will use Taylor series to expand these equations around a nominal control uo, nominal state xo, nominal
output yo, and nominal noise values wo and vo.
• These nominal values (all of which are functions of time) are based on a priori guesses of what the system
trajectory might look like.
• For example, if the system equations represent the dynamics of an airplane, then the nominal control, state,
and output might be the planned flight trajectory. The actual flight trajectory will differ from this nominal
trajectory due to mismodeling, disturbances, and other unforeseen effects.
• But the actual trajectory should be close to the nominal trajectory, in which case the Taylor series
linearization should be approximately correct.
Taylor Series expansion
• Since wo(t)=0 and vo(t) = 0, Δw(t) = w(t) and Δ v(t) = v(t).
• The inputs to the filter consist of Δy, which is the difference between the actual measurement y and the nominal measurement yo.
• Δx is output from the Kalman filter. It is an estimate of the difference between the actual state x and the nominal state xo.
• Assume that the control u(t) is perfectly known. Since it is determined by our control system, so there should not be any
uncertainty in its value. This means that uo(t) = u(t) and Δ u(t) = 0.
• The linearized Kalman filter would then be
Extended Kalman Filter
• We obtained a linearized KF for estimating the states of a nonlinear system.
• Derivation based on linearizing nonlin sys around a nominal state
trajectory.
• How do we know the nominal state trajectory?
• In some cases it may not be straightforward to find the nominal trajectory.
• Since the Kalman filter estimates the state of the system, we can use the
Kalman filter estimate as the nominal state trajectory.
• This is sort of an adhoc method. This is the idea of the extended Kalman
filter (EKF), which was originally proposed by Stanley Schmidt so that the
Kalman filter could be applied to nonlinear spacecraft navigation problems
Discrete-time EKF
• Suppose we have the system
• We perform a Taylor series expansion of the state equation around𝑥 𝑘−1
+
and 𝑤 𝑘−1 = 0
EKF Algorithm
Example
𝛾
𝛾
Solution (1)
• First, let’s find the discrete time equivalent of the system
𝑥1 𝑘
= 𝑥1 𝑘−1
+ 𝑇𝑥2 𝑘−1 + 𝑇𝑤1 𝑘−1
𝑥2 𝑘
= 𝑥2 𝑘−1
+ 𝑇𝜌0 𝑒
−
𝑥1 𝑘−1
𝑥2 𝑘−1
2
2𝛾𝑥3 𝑘 − 𝑇𝑔 + 𝑇𝑤2 𝑘−1
𝑥3 𝑘
= 𝑥3 𝑘−1
+ 𝑇𝑤3 𝑘−1
𝑦 𝑘 = 𝑥1 𝑘 + 𝑣 𝑘
Step a
𝐹𝑘−1 =
1 𝑇 0
𝐴1 𝐴2 𝐴3
0 0 1
Where
𝐴1 = −
𝑥2 𝑘−1
2
2𝛾𝑥3 𝑘
+ 𝑇𝜌0 𝑒
−
𝑥1 𝑘−1
+ 𝑥2 𝑘−1
+2
2𝛾𝑥3 𝑘
+
, 𝐴2 = 1 −
𝑥1 𝑘−1
+
𝑥2 𝑘−1
+
𝛾𝑥3 𝑘−1
+ 𝑇𝜌0 𝑒
−
𝑥1 𝑘−1
+ 𝑥2 𝑘−1
+2
2𝛾𝑥3 𝑘−1
+
, 𝐴3 =
𝑥2 𝑘−1
2
𝛾𝑥3 𝑘−1
+2 𝑇𝜌0 𝑒
−
𝑥1 𝑘−1
+ 𝑥2 𝑘−1
+2
2𝛾𝑥3 𝑘−1
+
𝐿 𝑘−1 =
𝑇 0 0
0 𝑇 0
0 0 𝑇
Step b-d
Since 𝑦 𝑘 = 𝑥1 𝑘 + 𝑣 𝑘
𝐻 𝑘 = 1 0 0
𝑀 𝑘 = 1
Take Home Pre-Mid Exam (submit by 8 am
Thursday) – Question 1
• Find altitude, velocity, and ballistic coefficient reciprocal
estimation-error magnitudes of a falling body averaged over 100 simulations for the
previous example.
• Submit by email to airbilal(at)gmail.com by 9 pm tonight. Late submisisons and copied
submissions will not be entertained.
• Compare with a linear Kalman filter in which F,L, H and M matrices are constant,
linearized at some midlevel altitude.
• Now change the situation. We change the measurement system so that it does not
measure the altitude of the falling body, but instead measures the range to the
measuring device. The measuring device is Iocated at an altitude “a” and at a
horizontal distance “M” from the body's vertical line of fall. The measurement
equation is therefore given by
• Repeat the question.
Parameter Estimation
• Kalman filters have been successfully used in system identification /
parameter estimation applications.
• We can consider the unknown parameter to be a constant (or very
slow varying) and then estimate it as a ‘state’.
• Suppose we have the following system
Parameter Estimation - continued
Solution
• First, let’s find the discrete time equivalent of the system
𝑥1 𝑘
= 𝑥1 𝑘−1
+ 𝑇𝑥2 𝑘−1
𝑥2 𝑘
= 𝑥2 𝑘−1
+ 𝑇(𝑥3 𝑘−1
𝑥1 𝑘−1
+ 𝑏𝑥2 𝑘−1
− 𝑥3 𝑘−1
𝑤 𝑘−1)
𝑥3 𝑘
= 𝑥3 𝑘−1
+ 𝑇𝑤 𝑝 𝑘−1
Steps of EKF
𝐹𝑘−1 =
1 𝑇 0
𝑇𝑥3 𝑘−1
+
1 + 𝑏𝑇 𝑇𝑥1 𝑘−1
+
0 0 1
, 𝐿 𝑘−1 =
0
−𝑇𝑥3 𝑘−1
+
0
𝐻 𝑘 =
1 0 0
0 1 0
𝑀 𝑘 = 1
Take Home Pre-Mid Exam (submit by 8 am
Thursday) – Question 2
• Solve the above example on Matlab.
• The true system parameters are 𝜔 𝑛= 2 and 𝜁= 0.1. Suppose that we
begin by estimating 𝜔 𝑛
2
as -8 with an initial estimation variance of 20.
• We set the variance of the artificial noise 𝜔 𝑝 = 0.1.
• In how many samples were you able to converge?
• Also, set different values of 𝜔 𝑝 and see its effect on parameter
estimates.
• Solutions will be posted online in the code folder after deadline.
• It is very easy to figure out if you are merely copying someone else’s
code. So, try to do your own work. It’s all about learning.

More Related Content

PPTX
Av 738 - Adaptive Filtering - Kalman Filters
PPTX
Av 738- Adaptive Filtering - Wiener Filters[wk 3]
PPTX
Me314 week08-stability and steady state errors
PPTX
Me314 week 06-07-Time Response
PPTX
Av 738- Adaptive Filtering - Background Material
PPTX
ME-314- Control Engineering - Week 02
PPTX
ME-314- Control Engineering - Week 03-04
PPT
ME-314- Control Engineering - Week 01
Av 738 - Adaptive Filtering - Kalman Filters
Av 738- Adaptive Filtering - Wiener Filters[wk 3]
Me314 week08-stability and steady state errors
Me314 week 06-07-Time Response
Av 738- Adaptive Filtering - Background Material
ME-314- Control Engineering - Week 02
ME-314- Control Engineering - Week 03-04
ME-314- Control Engineering - Week 01

What's hot (20)

PDF
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
PPT
Kalman filters
PDF
kalman filtering "From Basics to unscented Kaman filter"
PDF
Kalman filter for Beginners
PPTX
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
PPTX
Me314 week09-root locusanalysis
PPTX
Slideshare
PDF
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
PPTX
Lecture 2 transfer-function
PPTX
Kalman filter for object tracking
PPTX
Kalman filters
PDF
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
PDF
Sensor Fusion Study - Ch13. Nonlinear Kalman Filtering [Ahn Min Sung]
PPTX
Lecture 12 time_domain_analysis_of_control_systems
PDF
Kalman filter - Applications in Image processing
PPT
Transfer function and mathematical modeling
PPTX
Maneuverable Target Tracking using Linear Kalman Filter
PPT
Meeting w4 chapter 2 part 2
PPTX
Me314 week05a-block diagreduction
PDF
Application of the Kalman Filter
Sensor Fusion Study - Ch15. The Particle Filter [Seoyeon Stella Yang]
Kalman filters
kalman filtering "From Basics to unscented Kaman filter"
Kalman filter for Beginners
Sensor Fusion Study - Ch5. The discrete-time Kalman filter [박정은]
Me314 week09-root locusanalysis
Slideshare
Sensor Fusion Study - Ch8. The Continuous-Time Kalman Filter [이해구]
Lecture 2 transfer-function
Kalman filter for object tracking
Kalman filters
Sensor Fusion Study - Ch7. Kalman Filter Generalizations [김영범]
Sensor Fusion Study - Ch13. Nonlinear Kalman Filtering [Ahn Min Sung]
Lecture 12 time_domain_analysis_of_control_systems
Kalman filter - Applications in Image processing
Transfer function and mathematical modeling
Maneuverable Target Tracking using Linear Kalman Filter
Meeting w4 chapter 2 part 2
Me314 week05a-block diagreduction
Application of the Kalman Filter
Ad

Similar to Av 738-Adaptive Filters - Extended Kalman Filter (20)

PDF
Kalman_filtering
PPTX
lecture_18-19_state_observer_design.pptx
PPT
presentation.ppt
PDF
Transient and Steady State Response - Control Systems Engineering
PDF
Kalman filter.pdf
PPTX
Chaos Presentation
PPTX
Control System Modeling case study with complete explanation
PPTX
Lecture 23 24-time_response
PDF
Vibration Isolation of a LEGO® plate
PPTX
KEC-602 Control System Unit-3 gandgfdghhg
PPTX
Linear control system Open loop & Close loop Systems
PDF
unit-v_modelling-and-analysis-of-mechatronic-system.pdf
PPTX
Time Response in Control System
PPTX
Vibration isolation progect lego(r)
PPTX
Detection&Tracking - Thermal imaging object detection and tracking
PDF
The describing function
PDF
Week_10.2.pdf
PDF
solver (1)
PPTX
control_5.pptx
PPT
week1a-cohhgghgggggggggggggggggntrol.ppt
Kalman_filtering
lecture_18-19_state_observer_design.pptx
presentation.ppt
Transient and Steady State Response - Control Systems Engineering
Kalman filter.pdf
Chaos Presentation
Control System Modeling case study with complete explanation
Lecture 23 24-time_response
Vibration Isolation of a LEGO® plate
KEC-602 Control System Unit-3 gandgfdghhg
Linear control system Open loop & Close loop Systems
unit-v_modelling-and-analysis-of-mechatronic-system.pdf
Time Response in Control System
Vibration isolation progect lego(r)
Detection&Tracking - Thermal imaging object detection and tracking
The describing function
Week_10.2.pdf
solver (1)
control_5.pptx
week1a-cohhgghgggggggggggggggggntrol.ppt
Ad

More from Dr. Bilal Siddiqui, C.Eng., MIMechE, FRAeS (18)

PPTX
Av 738 - Adaptive Filtering Lecture 1 - Introduction
PPTX
Marketing Presentation of Mechanical Engineering @ DSU for High School Students
PPTX
"It isn't exactly Rocket Science" : The artsy science of rocket propulsion
PPTX
2 Day Workshop on Digital Datcom and Simulink
PPTX
Why Choose Graduate Studies at the University you work in?
PPTX
ME 312 Mechanical Machine Design [Screws, Bolts, Nuts]
PPTX
ME 312 Mechanical Machine Design - Introduction [Week 1]
PPTX
ME438 Aerodynamics (week 12)
PPTX
ME438 Aerodynamics (week 11)
PPTX
ME-438 Aerodynamics (week 10)
PPTX
ME-438 Aerodynamics (week 9)
PPTX
ME438 Aerodynamics (week 8)
PPTX
ME438 Aerodynamics (week 5-6-7)
PPTX
Me438 Aerodynamics (week 1-2-3)
PPTX
ME 312 Mechanical Machine Design - Lecture 01
PPTX
ME 313 Mechanical Measurements and Instrumentation Lecture 01
Av 738 - Adaptive Filtering Lecture 1 - Introduction
Marketing Presentation of Mechanical Engineering @ DSU for High School Students
"It isn't exactly Rocket Science" : The artsy science of rocket propulsion
2 Day Workshop on Digital Datcom and Simulink
Why Choose Graduate Studies at the University you work in?
ME 312 Mechanical Machine Design [Screws, Bolts, Nuts]
ME 312 Mechanical Machine Design - Introduction [Week 1]
ME438 Aerodynamics (week 12)
ME438 Aerodynamics (week 11)
ME-438 Aerodynamics (week 10)
ME-438 Aerodynamics (week 9)
ME438 Aerodynamics (week 8)
ME438 Aerodynamics (week 5-6-7)
Me438 Aerodynamics (week 1-2-3)
ME 312 Mechanical Machine Design - Lecture 01
ME 313 Mechanical Measurements and Instrumentation Lecture 01

Recently uploaded (20)

PDF
My India Quiz Book_20210205121199924.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PPTX
Introduction to pro and eukaryotes and differences.pptx
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
PDF
Complications of Minimal Access-Surgery.pdf
PDF
Empowerment Technology for Senior High School Guide
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PDF
Trump Administration's workforce development strategy
My India Quiz Book_20210205121199924.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
Introduction to pro and eukaryotes and differences.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Hazard Identification & Risk Assessment .pdf
Computer Architecture Input Output Memory.pptx
A powerpoint presentation on the Revised K-10 Science Shaping Paper
History, Philosophy and sociology of education (1).pptx
Practical Manual AGRO-233 Principles and Practices of Natural Farming
B.Sc. DS Unit 2 Software Engineering.pptx
Cambridge-Practice-Tests-for-IELTS-12.docx
Virtual and Augmented Reality in Current Scenario
David L Page_DCI Research Study Journey_how Methodology can inform one's prac...
Complications of Minimal Access-Surgery.pdf
Empowerment Technology for Senior High School Guide
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
FORM 1 BIOLOGY MIND MAPS and their schemes
Trump Administration's workforce development strategy

Av 738-Adaptive Filters - Extended Kalman Filter

  • 1. Av-738 Adaptive Filter Theory Lecture 4- Optimum Filtering [Extended Kalman Filters] Dr. Bilal A. Siddiqui Air University (PAC Campus) Spring 2018
  • 2. All systems are ultimately nonlinear • All of our discussion to this point has considered linear filters for linear systems. Unfortunately, linear systems do not exist. All systems are ultimately nonlinear. • But nonlinear problems are very difficult to solve. Therefore, it is often a compromise between simplicity and performance. Famous physicist Richard Feynman: “Linear systems are important because we can solve them.” • However, many systems are close enough to linear that linear estimation approaches give satisfactory results. Eventually, we run across a system that does not behave linearly even over a small range of operation. In this case, we need to explore nonlinear estimators. • Schwartz and Stear “No linear filter is consistently better than any other linear filter…but any nonlinear filter is better than a strictly linear one.” •
  • 3. Extended Kalman Filter (EKF) • The Kalman filter that we discussed in previous lecture directly applies only to linear systems. • However, a nonlinear system can be linearized, and then linear estimation techniques (such as the Kalman or H∞) can be applied. • In this lecture, we will discuss the linearized Kalman filter. This will involve finding a linear system whose states represent the deviations from a nominal tra- jectory of a nonlinear system. • We can then use the Kalman filter to estimate the deviations from the nominal trajectory, and hence obtain an estimate of the states of the nonlinear system. • We will extend the linearized Kalman filter to directly estimate the states of a nonlinear system. • This filter, called the extended Kalman filter (EKF), is undoubtedly the most widely used nonlinear state estimation technique that has been applied in the past few decades. • It is also the work horse of aerospace navigation.
  • 4. Linearized Kalman Filter • Consider the following general nonlinear system model: • Here, f(.) and h(.) are nonlinear functions. • We will use Taylor series to expand these equations around a nominal control uo, nominal state xo, nominal output yo, and nominal noise values wo and vo. • These nominal values (all of which are functions of time) are based on a priori guesses of what the system trajectory might look like. • For example, if the system equations represent the dynamics of an airplane, then the nominal control, state, and output might be the planned flight trajectory. The actual flight trajectory will differ from this nominal trajectory due to mismodeling, disturbances, and other unforeseen effects. • But the actual trajectory should be close to the nominal trajectory, in which case the Taylor series linearization should be approximately correct.
  • 5. Taylor Series expansion • Since wo(t)=0 and vo(t) = 0, Δw(t) = w(t) and Δ v(t) = v(t). • The inputs to the filter consist of Δy, which is the difference between the actual measurement y and the nominal measurement yo. • Δx is output from the Kalman filter. It is an estimate of the difference between the actual state x and the nominal state xo. • Assume that the control u(t) is perfectly known. Since it is determined by our control system, so there should not be any uncertainty in its value. This means that uo(t) = u(t) and Δ u(t) = 0. • The linearized Kalman filter would then be
  • 6. Extended Kalman Filter • We obtained a linearized KF for estimating the states of a nonlinear system. • Derivation based on linearizing nonlin sys around a nominal state trajectory. • How do we know the nominal state trajectory? • In some cases it may not be straightforward to find the nominal trajectory. • Since the Kalman filter estimates the state of the system, we can use the Kalman filter estimate as the nominal state trajectory. • This is sort of an adhoc method. This is the idea of the extended Kalman filter (EKF), which was originally proposed by Stanley Schmidt so that the Kalman filter could be applied to nonlinear spacecraft navigation problems
  • 7. Discrete-time EKF • Suppose we have the system • We perform a Taylor series expansion of the state equation around𝑥 𝑘−1 + and 𝑤 𝑘−1 = 0
  • 10. Solution (1) • First, let’s find the discrete time equivalent of the system 𝑥1 𝑘 = 𝑥1 𝑘−1 + 𝑇𝑥2 𝑘−1 + 𝑇𝑤1 𝑘−1 𝑥2 𝑘 = 𝑥2 𝑘−1 + 𝑇𝜌0 𝑒 − 𝑥1 𝑘−1 𝑥2 𝑘−1 2 2𝛾𝑥3 𝑘 − 𝑇𝑔 + 𝑇𝑤2 𝑘−1 𝑥3 𝑘 = 𝑥3 𝑘−1 + 𝑇𝑤3 𝑘−1 𝑦 𝑘 = 𝑥1 𝑘 + 𝑣 𝑘
  • 11. Step a 𝐹𝑘−1 = 1 𝑇 0 𝐴1 𝐴2 𝐴3 0 0 1 Where 𝐴1 = − 𝑥2 𝑘−1 2 2𝛾𝑥3 𝑘 + 𝑇𝜌0 𝑒 − 𝑥1 𝑘−1 + 𝑥2 𝑘−1 +2 2𝛾𝑥3 𝑘 + , 𝐴2 = 1 − 𝑥1 𝑘−1 + 𝑥2 𝑘−1 + 𝛾𝑥3 𝑘−1 + 𝑇𝜌0 𝑒 − 𝑥1 𝑘−1 + 𝑥2 𝑘−1 +2 2𝛾𝑥3 𝑘−1 + , 𝐴3 = 𝑥2 𝑘−1 2 𝛾𝑥3 𝑘−1 +2 𝑇𝜌0 𝑒 − 𝑥1 𝑘−1 + 𝑥2 𝑘−1 +2 2𝛾𝑥3 𝑘−1 + 𝐿 𝑘−1 = 𝑇 0 0 0 𝑇 0 0 0 𝑇
  • 12. Step b-d Since 𝑦 𝑘 = 𝑥1 𝑘 + 𝑣 𝑘 𝐻 𝑘 = 1 0 0 𝑀 𝑘 = 1
  • 13. Take Home Pre-Mid Exam (submit by 8 am Thursday) – Question 1 • Find altitude, velocity, and ballistic coefficient reciprocal estimation-error magnitudes of a falling body averaged over 100 simulations for the previous example. • Submit by email to airbilal(at)gmail.com by 9 pm tonight. Late submisisons and copied submissions will not be entertained. • Compare with a linear Kalman filter in which F,L, H and M matrices are constant, linearized at some midlevel altitude. • Now change the situation. We change the measurement system so that it does not measure the altitude of the falling body, but instead measures the range to the measuring device. The measuring device is Iocated at an altitude “a” and at a horizontal distance “M” from the body's vertical line of fall. The measurement equation is therefore given by • Repeat the question.
  • 14. Parameter Estimation • Kalman filters have been successfully used in system identification / parameter estimation applications. • We can consider the unknown parameter to be a constant (or very slow varying) and then estimate it as a ‘state’. • Suppose we have the following system
  • 16. Solution • First, let’s find the discrete time equivalent of the system 𝑥1 𝑘 = 𝑥1 𝑘−1 + 𝑇𝑥2 𝑘−1 𝑥2 𝑘 = 𝑥2 𝑘−1 + 𝑇(𝑥3 𝑘−1 𝑥1 𝑘−1 + 𝑏𝑥2 𝑘−1 − 𝑥3 𝑘−1 𝑤 𝑘−1) 𝑥3 𝑘 = 𝑥3 𝑘−1 + 𝑇𝑤 𝑝 𝑘−1
  • 17. Steps of EKF 𝐹𝑘−1 = 1 𝑇 0 𝑇𝑥3 𝑘−1 + 1 + 𝑏𝑇 𝑇𝑥1 𝑘−1 + 0 0 1 , 𝐿 𝑘−1 = 0 −𝑇𝑥3 𝑘−1 + 0 𝐻 𝑘 = 1 0 0 0 1 0 𝑀 𝑘 = 1
  • 18. Take Home Pre-Mid Exam (submit by 8 am Thursday) – Question 2 • Solve the above example on Matlab. • The true system parameters are 𝜔 𝑛= 2 and 𝜁= 0.1. Suppose that we begin by estimating 𝜔 𝑛 2 as -8 with an initial estimation variance of 20. • We set the variance of the artificial noise 𝜔 𝑝 = 0.1. • In how many samples were you able to converge? • Also, set different values of 𝜔 𝑝 and see its effect on parameter estimates. • Solutions will be posted online in the code folder after deadline. • It is very easy to figure out if you are merely copying someone else’s code. So, try to do your own work. It’s all about learning.