SlideShare uma empresa Scribd logo
1 de 22
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 foreSAT 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 filterstudymate
 
AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1AE8803_ProjectPresentation_Marcus_Pereira_V1
AE8803_ProjectPresentation_Marcus_Pereira_V1Marcus 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.pptdebeshidutta2
 
MIRAS: The SMOS Instrument
MIRAS: The SMOS InstrumentMIRAS: The SMOS Instrument
MIRAS: The SMOS Instrumentadrianocamps
 
Kalman filter(nanheekim)
Kalman filter(nanheekim)Kalman filter(nanheekim)
Kalman filter(nanheekim)Nanhee Kim
 
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
 
MIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOSMIRAS: the instrument aboard SMOS
MIRAS: the instrument aboard SMOSadrianocamps
 
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 Modelsmultimediaeval
 
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 5Antonios Arkas
 

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

5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..MaherOthman7
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Nitin Sonavane
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.MdManikurRahman
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualBalamuruganV28
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashidFaiyazSheikh
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...ShivamTiwari995432
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfEr.Sonali Nasikkar
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...Roi Lipman
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoninghotman30312
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor banktawat puangthong
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdfKamal Acharya
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxRashidFaridChishti
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
Lesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxLesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxmichaelprrior
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfJNTUA
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Lovely Professional University
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
BORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdfBORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdfomarzaboub1997
 

Último (20)

5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
Module-III Varried Flow.pptx GVF Definition, Water Surface Profile Dynamic Eq...
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
"United Nations Park" Site Visit Report.
"United Nations Park" Site  Visit Report."United Nations Park" Site  Visit Report.
"United Nations Park" Site Visit Report.
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Raashid final report on Embedded Systems
Raashid final report on Embedded SystemsRaashid final report on Embedded Systems
Raashid final report on Embedded Systems
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Lesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsxLesson no16 application of Induction Generator in Wind.ppsx
Lesson no16 application of Induction Generator in Wind.ppsx
 
Diploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdfDiploma Engineering Drawing Qp-2024 Ece .pdf
Diploma Engineering Drawing Qp-2024 Ece .pdf
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
BORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdfBORESCOPE INSPECTION for engins CFM56.pdf
BORESCOPE INSPECTION for engins CFM56.pdf
 

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 ^