SlideShare uma empresa Scribd logo
Using Kalman Filter to
Track Particles
Saša Fratina
advisor:
Samo Korpar
2004-01-13
Overview
 Motivation
 Basic principles of Kalman Filter
 example
 Application to particle tracking
No big deal
R. E. Kalman
 Born 1930 in Hungary
 Studied at MIT / Columbia
 Developed filter in 1960/61
i i + 1
Illustration example
Measuring parameters of a particle track in 2D
particle
track
parameters:
y, k
measurement:
m
System:
our
knowledge
of the
system
Kalman filter – KF
System
state:
unknown
system
parameters
model
measurement


noise
noise
?
KF
When and where?
When and where?
 Tracking and navigation
– Tracking missiles, aircrafts and spacecrafts
– GPS technology
– Visual reality
 Tracking in
HEP experiments
KF assumptions
 Linear system
– System parameters are linear
function of parameters at
some previous time
– Measurements are linear
function of parameters
 White Gaussian noise
– White: uncorrelated in time
– Gaussian: noise amplitude
 KF is the
optimal filter
KF description
System:
our
knowledge
of the
system
System
state:
unknown
system
parameters
model
measurement
KF
parameters
v
vi = A vi - 1
m i = H vi


noise
noise
+ qi
+ ri
using vectors and matrices
estimation
of
parameters
v
^
KF description: example
 System parameters: v
 System model:
linear motion y = k x
vi = A vi - 1
 Measurement model:
m i = H vi
1
i
k
y
1
0
Δx
1
i
k
y


























i
k
y
0
1
i
m 














i
k
y
i
v 








Noise
Noise: e
Noise covariance matrix
 System noise: vi = A vi – 1+ qi  Q = E(qqT)
 Measurement noise: m i = H vi + ri
 R = E(rrT)















)
e
E(e
)
e
E(e
)
e
E(e
)
e
E(e
)
E(ee
V 2
2
1
2
2
1
1
1
T
Gaussian  E(e2) = σ2
KF algorithm
 Prediction: vi
- = A vi – 1
 Correction: vi = vi
- + K (mi – H vi
-)
vi = A vi – 1 + q
m i = H vi + r
v
^
v KF
Kalman gain matrix
minimize the difference v - v
^
^
^ ^ ^
^
Kalman gain matrix
 It is easy to show
K = V-HT (H V-HT +R)-1,
where Vi
- = AVi-1AT + Q
 Minimize the expected error
 Limits:
– system noise << measurement noise  vi = vi
–
– system noise >> measurement noise  vi = H–1 mi
0
K
V
)
e
E(e
)
e
E(e
)
e
E(e
)
e
E(e
)
E(ee
V
;
v
v
e
ab
ij
2
2
1
2
2
1
1
1
T






















^ ^
^
Error on parameters
 Predictor: Vi
- = AVi-1AT + Q
– Q: system noise
 Corrector: Vi = (I - KH) Vi
-
– error reduced
Kalman filter
Least squares
Example
 Simulation
y = k x
 Implemented
KF
– prediction
– correction
 Compare with
LS method
x
y
System noise
x
y
Kalman filter
Least squares
 Matrix description of system state, model
and measurement
 Progressive method
 Proper dealing with noise
KF overview
prediction
correction
Application to particle tracking
 Detector:
– Silicon vertex detector
– Central drift
chamber
 Description
of track:
5 parameters
Advantages of using KF
in particle tracking
 Progressive method
– No large matrices has to be inverted
 Proper dealing with system noise
 Track finding and track fitting
 Detection of outliers
 Merging track from different segments
Modifications of KF
 (!) Non - linear
system  extended
Kalman filter
 Full precision only
after the last step
– Prediction
– Correction
– Smoothing
Kalman filter
Least squares
x
y
Conclusion
 We have demonstrated the principles
predictor – corrector method
combining model and measurement
 Very useful in tracking
 For given assumptions, KF is the optimal filter
 Extensions for non-linear systems
 Extensive application
To sum up…
Tracking in BELLE detector
Track finding
Track fitting
Track managing
Notation overview
 v: vector of parameters
– v: our estimation
– v-: predicted value
 m: vector of measurements
 A: matrix describing linear system  vi = A vi – 1
 H: matrix describing measurements  m i = H vi
 V: error (on parameter) covariance matrix
 Q: system noise covariance matrix
 R: measurement noise covariance matrix
 K: Kalman gain matrix
^

Mais conteúdo relacionado

Semelhante a kalman filter illustrated with 2D example

Vlsi implementation of adaptive kalman filter for
Vlsi implementation of adaptive kalman filter forVlsi implementation of adaptive kalman filter for
Vlsi implementation of adaptive kalman filter for
eSAT Publishing House
 
07 image filtering of colored noise based on kalman filter
07 image filtering of colored noise based on kalman filter07 image filtering of colored noise based on kalman filter
07 image filtering of colored noise based on kalman filter
studymate
 
mimo
mimomimo
testing
testingtesting
testing
Ram Ji D R
 
AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1
Marcus Pereira
 
A combined approach for anomaly detection in production systems using ML tech...
A combined approach for anomaly detection in production systems using ML tech...A combined approach for anomaly detection in production systems using ML tech...
A combined approach for anomaly detection in production systems using ML tech...
za_slide
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.ppt
debeshidutta2
 
Rail Deflection
Rail DeflectionRail Deflection
Rail Deflection
Railways and Harbours
 
adaptive equa.ppt
adaptive equa.pptadaptive equa.ppt
adaptive equa.ppt
mohamadfarzansabahi1
 
MIRAS: The SMOS Instrument
MIRAS: The SMOS InstrumentMIRAS: The SMOS Instrument
MIRAS: The SMOS Instrument
adrianocamps
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)
Nanhee Kim
 
Kalman_filtering
Kalman_filteringKalman_filtering
Kalman_filtering
mahsa rezaei
 
Channel equalization
Channel equalizationChannel equalization
Channel equalization
Munnangi Anirudh
 
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
Avishek Patra
 
Unit-4 Pulse analog Modulation.ppt
Unit-4  Pulse analog Modulation.pptUnit-4  Pulse analog Modulation.ppt
Unit-4 Pulse analog Modulation.ppt
MATRUSRI ENGINEERING COLLEGE
 
MIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOSMIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOS
adrianocamps
 
Dynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space ModelsDynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space Models
multimediaeval
 
presentation0.ppt
presentation0.pptpresentation0.ppt
presentation0.ppt
ssuser9ccea9
 
Flight Dynamics Software Presentation Part I Version 5
Flight Dynamics Software Presentation Part I Version 5Flight Dynamics Software Presentation Part I Version 5
Flight Dynamics Software Presentation Part I Version 5
Antonios Arkas
 
History of feedback
History of feedbackHistory of feedback
History of feedback
Hasit Trivedi
 

Semelhante a kalman filter illustrated with 2D example (20)

Vlsi implementation of adaptive kalman filter for
Vlsi implementation of adaptive kalman filter forVlsi implementation of adaptive kalman filter for
Vlsi implementation of adaptive kalman filter for
 
07 image filtering of colored noise based on kalman filter
07 image filtering of colored noise based on kalman filter07 image filtering of colored noise based on kalman filter
07 image filtering of colored noise based on kalman filter
 
mimo
mimomimo
mimo
 
testing
testingtesting
testing
 
AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1
 
A combined approach for anomaly detection in production systems using ML tech...
A combined approach for anomaly detection in production systems using ML tech...A combined approach for anomaly detection in production systems using ML tech...
A combined approach for anomaly detection in production systems using ML tech...
 
Introduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.pptIntroduction to adaptive filtering and its applications.ppt
Introduction to adaptive filtering and its applications.ppt
 
Rail Deflection
Rail DeflectionRail Deflection
Rail Deflection
 
adaptive equa.ppt
adaptive equa.pptadaptive equa.ppt
adaptive equa.ppt
 
MIRAS: The SMOS Instrument
MIRAS: The SMOS InstrumentMIRAS: The SMOS Instrument
MIRAS: The SMOS Instrument
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)
 
Kalman_filtering
Kalman_filteringKalman_filtering
Kalman_filtering
 
Channel equalization
Channel equalizationChannel equalization
Channel equalization
 
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
Experimental Evaluation of a Novel Fast Beamsteering Algorithm for Link Re-Es...
 
Unit-4 Pulse analog Modulation.ppt
Unit-4  Pulse analog Modulation.pptUnit-4  Pulse analog Modulation.ppt
Unit-4 Pulse analog Modulation.ppt
 
MIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOSMIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOS
 
Dynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space ModelsDynamic Music Emotion Recognition Using State-Space Models
Dynamic Music Emotion Recognition Using State-Space Models
 
presentation0.ppt
presentation0.pptpresentation0.ppt
presentation0.ppt
 
Flight Dynamics Software Presentation Part I Version 5
Flight Dynamics Software Presentation Part I Version 5Flight Dynamics Software Presentation Part I Version 5
Flight Dynamics Software Presentation Part I Version 5
 
History of feedback
History of feedbackHistory of feedback
History of feedback
 

Último

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
Divyanshu
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
ecqow
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
AjmalKhan50578
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
shahdabdulbaset
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
Madan Karki
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
Prakhyath Rai
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
abbyasa1014
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
gowrishankartb2005
 

Último (20)

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Null Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAMNull Bangalore | Pentesters Approach to AWS IAM
Null Bangalore | Pentesters Approach to AWS IAM
 
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
一比一原版(CalArts毕业证)加利福尼亚艺术学院毕业证如何办理
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
Welding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdfWelding Metallurgy Ferrous Materials.pdf
Welding Metallurgy Ferrous Materials.pdf
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
Hematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood CountHematology Analyzer Machine - Complete Blood Count
Hematology Analyzer Machine - Complete Blood Count
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
john krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptxjohn krisinger-the science and history of the alcoholic beverage.pptx
john krisinger-the science and history of the alcoholic beverage.pptx
 
Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...Software Engineering and Project Management - Introduction, Modeling Concepts...
Software Engineering and Project Management - Introduction, Modeling Concepts...
 
Engineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdfEngineering Drawings Lecture Detail Drawings 2014.pdf
Engineering Drawings Lecture Detail Drawings 2014.pdf
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Material for memory and display system h
Material for memory and display system hMaterial for memory and display system h
Material for memory and display system h
 

kalman filter illustrated with 2D example

  • 1. Using Kalman Filter to Track Particles Saša Fratina advisor: Samo Korpar 2004-01-13
  • 2. Overview  Motivation  Basic principles of Kalman Filter  example  Application to particle tracking No big deal
  • 3. R. E. Kalman  Born 1930 in Hungary  Studied at MIT / Columbia  Developed filter in 1960/61
  • 4. i i + 1 Illustration example Measuring parameters of a particle track in 2D particle track parameters: y, k measurement: m
  • 5. System: our knowledge of the system Kalman filter – KF System state: unknown system parameters model measurement   noise noise ? KF When and where?
  • 6. When and where?  Tracking and navigation – Tracking missiles, aircrafts and spacecrafts – GPS technology – Visual reality  Tracking in HEP experiments
  • 7. KF assumptions  Linear system – System parameters are linear function of parameters at some previous time – Measurements are linear function of parameters  White Gaussian noise – White: uncorrelated in time – Gaussian: noise amplitude  KF is the optimal filter
  • 8. KF description System: our knowledge of the system System state: unknown system parameters model measurement KF parameters v vi = A vi - 1 m i = H vi   noise noise + qi + ri using vectors and matrices estimation of parameters v ^
  • 9. KF description: example  System parameters: v  System model: linear motion y = k x vi = A vi - 1  Measurement model: m i = H vi 1 i k y 1 0 Δx 1 i k y                           i k y 0 1 i m                i k y i v         
  • 10. Noise Noise: e Noise covariance matrix  System noise: vi = A vi – 1+ qi  Q = E(qqT)  Measurement noise: m i = H vi + ri  R = E(rrT)                ) e E(e ) e E(e ) e E(e ) e E(e ) E(ee V 2 2 1 2 2 1 1 1 T Gaussian  E(e2) = σ2
  • 11. KF algorithm  Prediction: vi - = A vi – 1  Correction: vi = vi - + K (mi – H vi -) vi = A vi – 1 + q m i = H vi + r v ^ v KF Kalman gain matrix minimize the difference v - v ^ ^ ^ ^ ^ ^
  • 12. Kalman gain matrix  It is easy to show K = V-HT (H V-HT +R)-1, where Vi - = AVi-1AT + Q  Minimize the expected error  Limits: – system noise << measurement noise  vi = vi – – system noise >> measurement noise  vi = H–1 mi 0 K V ) e E(e ) e E(e ) e E(e ) e E(e ) E(ee V ; v v e ab ij 2 2 1 2 2 1 1 1 T                       ^ ^ ^
  • 13. Error on parameters  Predictor: Vi - = AVi-1AT + Q – Q: system noise  Corrector: Vi = (I - KH) Vi - – error reduced
  • 14. Kalman filter Least squares Example  Simulation y = k x  Implemented KF – prediction – correction  Compare with LS method x y
  • 16.  Matrix description of system state, model and measurement  Progressive method  Proper dealing with noise KF overview prediction correction
  • 17. Application to particle tracking  Detector: – Silicon vertex detector – Central drift chamber  Description of track: 5 parameters
  • 18. Advantages of using KF in particle tracking  Progressive method – No large matrices has to be inverted  Proper dealing with system noise  Track finding and track fitting  Detection of outliers  Merging track from different segments
  • 19. Modifications of KF  (!) Non - linear system  extended Kalman filter  Full precision only after the last step – Prediction – Correction – Smoothing Kalman filter Least squares x y
  • 20. Conclusion  We have demonstrated the principles predictor – corrector method combining model and measurement  Very useful in tracking  For given assumptions, KF is the optimal filter  Extensions for non-linear systems  Extensive application To sum up…
  • 21. Tracking in BELLE detector Track finding Track fitting Track managing
  • 22. Notation overview  v: vector of parameters – v: our estimation – v-: predicted value  m: vector of measurements  A: matrix describing linear system  vi = A vi – 1  H: matrix describing measurements  m i = H vi  V: error (on parameter) covariance matrix  Q: system noise covariance matrix  R: measurement noise covariance matrix  K: Kalman gain matrix ^