SlideShare a Scribd company logo
1 of 12
Download to read offline
APPLICATION OF THE KALMAN FILTER
ROHULLAH LATIF
ALICIA FESSLER
MATHEMATICAL METHODS
Outline
 History
 The Kalman Filter
 UAV & The Kalman Filter
 Study Approach
 Problem Statement
 Results- Time Update
 Results- Measurement Update
 Results – 10 Iterations
 Results- Graphics
 Conclusion
History
 Developed by Rudolf E. Kalman
in 1960
 Operates by combining 2
methods: Prediction &
measurement
 Successfully used in the Apollo
navigational system
 Commonly used in tracking
systems in satellites, cell phones,
noise cancellation devices,
etc..
http://www.northropgrumman.com/AboutUs/OurHeritage/Pages/Inspace.
aspx
Navigation Photo Link Gps Picture Link
Kalman Filter
 Used in applications where
variables of interest can not be
directly measured
 Instead indirect measurements
are used to calculate the
desired parameters.
 Certain degree of error are
present with such analysis.
 Kalman Filter combines all
measurements data along with
previous knowledge to estimate
a desired variableFigure 1. Application of Kalman Filter
Courtesy of: http://www.cs.unc.edu/~welch/kalman/media/pdf/maybeck_ch1.pdf
UAV and the Kalman Filter
 Rely heavily on navigational
methods
 By estimating certain variables,
operator can determine the
location of the UAV
UAV Helicopter Image Link
Study Approach
[1] xt = Atxt−1 + B 𝑡u 𝑡 + wt
[2]Pt−1 = AtPt−1 + At + Qt
[3] Kt = PtHt HPtHt + R −1
4 xt = xt + Kt(zt − Hxt
5 Pt = (I − Kt + H Pt
Figure 2. Continuous Kalman Filter Cycle
Courtesy of: http://www.edn.com/design/analog/4413345/2/Using-adaptive-filtering-to-enhance-capacitive-sensing-of-buttons-sliders
Problem Statement
Estimate the true altitude &
velocity, without measurement
noise, of the UAV at each time
step:
Table 1: UAV’s Measured Altitude and Velocity
Time (seconds), Measured Altitude (meters), Measured Velocity
(meters/second)
Results- Time Update
1. Project the state ahead
𝑥0
−
= 𝐴 𝑥−1 =
1 1
0 1
150
−1
=
149
−1
2. Project the error covariance ahead
𝑃0
−
= 𝐴𝑃−1 𝐴 𝑇 =
1 1
0 1
∗ 𝐼 ∗
1 0
1 1
=
1 1
0 1
1 0
1 1
=
2 1
1 1
Results- Measurement Update
1. Compute the Kalman Gain
𝐾0 = 𝑃0
−
𝑃0
−
+ 𝑅 −1
=
2 1
1 1
2 1
1 1
+
1 0
0 1
−1
=
2 1
1 1
3 1
1 2
−1
=
0.6 0.2
0.2 0.4
2. Update the estimate via 𝑧𝑡
𝑥0 = 𝑥0
−
+ 𝐾0 𝑧0 − 𝑥0
−
=
149
−1
+
0.6 0.2
0.2 0.4
150.54
−0.47994
−
149
−1
=
149
−1
+
0.6 0.2
0.2 0.4
1.54
0.52006
=
149
−1
+
1.028
0.516
=
150.028
−0.4834
3. Update the error covariance
𝑃0 = 1 − 𝐾0 𝑃0
−
= 𝐼 −
0.6 0.2
0.2 0.4
2 1
1 1
=
.4 .8
.8 .6
2 1
1 1
=
1.6 1.2
2.2 1.4
Results- 10 Iterations
Table 2: Simulated Kalman filter with known state, shown as Actual Altitude (meters) and
Actual Velocity (meters/second), and the resulting Kalman estimate, shown as Estimated
Altitude (meters) and Estimated Velocity(meters/second). The error between the true value
and the estimated values are also shown as Altitude Difference (meters) and Velocity
Difference (meters/second).
Results- Graphics
Figure 5: Graphical representation of simulated Kalman Filter. (a) Actual altitude (orange line) plotted with altitude
estimated by the Kalman filter (blue line). (b) Error in altitude estimate as calculated by subtracting the estimated
altitude from the real simulated altitude. (c) Actual velocity (orange line) plotted with velocity estimated by the Kalman
filter (blue line). (d) Error in velocity estimate as calculated by subtracting the estimated velocity from the real simulated
velocity.
Conclusion
 Prediction and measurement
 Kalman filter is used as an
estimator for signals in the
presence of Gaussian noise.
 This filter provides a powerful
tool that is able to provide
estimation of past, present, and
even future states
World GPS Image Link

More Related Content

What's hot

Kalman Filter and its Application
Kalman Filter and its ApplicationKalman Filter and its Application
Kalman Filter and its ApplicationSaptarshi Mazumdar
 
Kalman Filtering
Kalman FilteringKalman Filtering
Kalman FilteringEngin Gul
 
Kalman filter for object tracking
Kalman filter for object trackingKalman filter for object tracking
Kalman filter for object trackingMohit Yadav
 
Kalman filters
Kalman filtersKalman filters
Kalman filtersAJAL A J
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filterMudit Parnami
 
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSA KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSIJCSES Journal
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processingRavi Teja
 
Guidance, navigation and control
Guidance, navigation and controlGuidance, navigation and control
Guidance, navigation and controlSarah Christy
 
Multisensor data fusion in object tracking applications
Multisensor data fusion in object tracking applicationsMultisensor data fusion in object tracking applications
Multisensor data fusion in object tracking applicationsSayed Abulhasan Quadri
 
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
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizerSayahnarahul
 
Model based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopModel based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopMahmoud Hussein
 
Missile control Cp-1.pptx
Missile  control Cp-1.pptxMissile  control Cp-1.pptx
Missile control Cp-1.pptxMSPrasad7
 

What's hot (20)

Kalman Filter and its Application
Kalman Filter and its ApplicationKalman Filter and its Application
Kalman Filter and its Application
 
Kalman Filtering
Kalman FilteringKalman Filtering
Kalman Filtering
 
Kalman filter for object tracking
Kalman filter for object trackingKalman filter for object tracking
Kalman filter for object tracking
 
kalman filtering "From Basics to unscented Kaman filter"
 kalman filtering "From Basics to unscented Kaman filter" kalman filtering "From Basics to unscented Kaman filter"
kalman filtering "From Basics to unscented Kaman filter"
 
Kalman filters
Kalman filtersKalman filters
Kalman filters
 
The extended kalman filter
The extended kalman filterThe extended kalman filter
The extended kalman filter
 
Av 738 - Adaptive Filtering - Kalman Filters
Av 738 - Adaptive Filtering - Kalman Filters Av 738 - Adaptive Filtering - Kalman Filters
Av 738 - Adaptive Filtering - Kalman Filters
 
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTSA KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
A KALMAN FILTERING TUTORIAL FOR UNDERGRADUATE STUDENTS
 
Kalman filter - Applications in Image processing
Kalman filter - Applications in Image processingKalman filter - Applications in Image processing
Kalman filter - Applications in Image processing
 
Guidance, navigation and control
Guidance, navigation and controlGuidance, navigation and control
Guidance, navigation and control
 
Kalman Filter | Statistics
Kalman Filter | StatisticsKalman Filter | Statistics
Kalman Filter | Statistics
 
Multisensor data fusion in object tracking applications
Multisensor data fusion in object tracking applicationsMultisensor data fusion in object tracking applications
Multisensor data fusion in object tracking applications
 
Kalman Filter Presentation
Kalman Filter PresentationKalman Filter Presentation
Kalman Filter Presentation
 
Kalman filter
Kalman filterKalman filter
Kalman filter
 
Handbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL TestingHandbook on Functional Testing; HIL | MIL | SIL Testing
Handbook on Functional Testing; HIL | MIL | SIL Testing
 
Kalman Equations
Kalman EquationsKalman Equations
Kalman Equations
 
Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.Understanding kalman filter for soc estimation.
Understanding kalman filter for soc estimation.
 
Application of adaptive linear equalizer
Application of adaptive linear equalizerApplication of adaptive linear equalizer
Application of adaptive linear equalizer
 
Model based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopModel based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loop
 
Missile control Cp-1.pptx
Missile  control Cp-1.pptxMissile  control Cp-1.pptx
Missile control Cp-1.pptx
 

Similar to Application of the Kalman Filter

Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)Nanhee Kim
 
PLC Based Annunciation System Report
PLC Based Annunciation System ReportPLC Based Annunciation System Report
PLC Based Annunciation System ReportFasih Ahmed
 
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
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise controlsheetal kapoor
 
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
 
Application of kalman filtering in delta v
Application of kalman filtering in delta vApplication of kalman filtering in delta v
Application of kalman filtering in delta vEmerson Exchange
 

Similar to Application of the Kalman Filter (11)

Kalmanfilter
Kalmanfilter Kalmanfilter
Kalmanfilter
 
Kalmanfilter
KalmanfilterKalmanfilter
Kalmanfilter
 
B04402016018
B04402016018B04402016018
B04402016018
 
Kalman filter.pdf
Kalman filter.pdfKalman filter.pdf
Kalman filter.pdf
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)
 
PLC Based Annunciation System Report
PLC Based Annunciation System ReportPLC Based Annunciation System Report
PLC Based Annunciation System Report
 
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
 
Chapter 01 projects
Chapter 01 projectsChapter 01 projects
Chapter 01 projects
 
Adaptive cruise control
Adaptive cruise controlAdaptive cruise control
Adaptive cruise 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 [김영범]
 
Application of kalman filtering in delta v
Application of kalman filtering in delta vApplication of kalman filtering in delta v
Application of kalman filtering in delta v
 

Application of the Kalman Filter

  • 1. APPLICATION OF THE KALMAN FILTER ROHULLAH LATIF ALICIA FESSLER MATHEMATICAL METHODS
  • 2. Outline  History  The Kalman Filter  UAV & The Kalman Filter  Study Approach  Problem Statement  Results- Time Update  Results- Measurement Update  Results – 10 Iterations  Results- Graphics  Conclusion
  • 3. History  Developed by Rudolf E. Kalman in 1960  Operates by combining 2 methods: Prediction & measurement  Successfully used in the Apollo navigational system  Commonly used in tracking systems in satellites, cell phones, noise cancellation devices, etc.. http://www.northropgrumman.com/AboutUs/OurHeritage/Pages/Inspace. aspx Navigation Photo Link Gps Picture Link
  • 4. Kalman Filter  Used in applications where variables of interest can not be directly measured  Instead indirect measurements are used to calculate the desired parameters.  Certain degree of error are present with such analysis.  Kalman Filter combines all measurements data along with previous knowledge to estimate a desired variableFigure 1. Application of Kalman Filter Courtesy of: http://www.cs.unc.edu/~welch/kalman/media/pdf/maybeck_ch1.pdf
  • 5. UAV and the Kalman Filter  Rely heavily on navigational methods  By estimating certain variables, operator can determine the location of the UAV UAV Helicopter Image Link
  • 6. Study Approach [1] xt = Atxt−1 + B 𝑡u 𝑡 + wt [2]Pt−1 = AtPt−1 + At + Qt [3] Kt = PtHt HPtHt + R −1 4 xt = xt + Kt(zt − Hxt 5 Pt = (I − Kt + H Pt Figure 2. Continuous Kalman Filter Cycle Courtesy of: http://www.edn.com/design/analog/4413345/2/Using-adaptive-filtering-to-enhance-capacitive-sensing-of-buttons-sliders
  • 7. Problem Statement Estimate the true altitude & velocity, without measurement noise, of the UAV at each time step: Table 1: UAV’s Measured Altitude and Velocity Time (seconds), Measured Altitude (meters), Measured Velocity (meters/second)
  • 8. Results- Time Update 1. Project the state ahead 𝑥0 − = 𝐴 𝑥−1 = 1 1 0 1 150 −1 = 149 −1 2. Project the error covariance ahead 𝑃0 − = 𝐴𝑃−1 𝐴 𝑇 = 1 1 0 1 ∗ 𝐼 ∗ 1 0 1 1 = 1 1 0 1 1 0 1 1 = 2 1 1 1
  • 9. Results- Measurement Update 1. Compute the Kalman Gain 𝐾0 = 𝑃0 − 𝑃0 − + 𝑅 −1 = 2 1 1 1 2 1 1 1 + 1 0 0 1 −1 = 2 1 1 1 3 1 1 2 −1 = 0.6 0.2 0.2 0.4 2. Update the estimate via 𝑧𝑡 𝑥0 = 𝑥0 − + 𝐾0 𝑧0 − 𝑥0 − = 149 −1 + 0.6 0.2 0.2 0.4 150.54 −0.47994 − 149 −1 = 149 −1 + 0.6 0.2 0.2 0.4 1.54 0.52006 = 149 −1 + 1.028 0.516 = 150.028 −0.4834 3. Update the error covariance 𝑃0 = 1 − 𝐾0 𝑃0 − = 𝐼 − 0.6 0.2 0.2 0.4 2 1 1 1 = .4 .8 .8 .6 2 1 1 1 = 1.6 1.2 2.2 1.4
  • 10. Results- 10 Iterations Table 2: Simulated Kalman filter with known state, shown as Actual Altitude (meters) and Actual Velocity (meters/second), and the resulting Kalman estimate, shown as Estimated Altitude (meters) and Estimated Velocity(meters/second). The error between the true value and the estimated values are also shown as Altitude Difference (meters) and Velocity Difference (meters/second).
  • 11. Results- Graphics Figure 5: Graphical representation of simulated Kalman Filter. (a) Actual altitude (orange line) plotted with altitude estimated by the Kalman filter (blue line). (b) Error in altitude estimate as calculated by subtracting the estimated altitude from the real simulated altitude. (c) Actual velocity (orange line) plotted with velocity estimated by the Kalman filter (blue line). (d) Error in velocity estimate as calculated by subtracting the estimated velocity from the real simulated velocity.
  • 12. Conclusion  Prediction and measurement  Kalman filter is used as an estimator for signals in the presence of Gaussian noise.  This filter provides a powerful tool that is able to provide estimation of past, present, and even future states World GPS Image Link