版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Introduction to Kalman Filters Michael Williams 5 June 2003 1教书育人 Overview The Problem Why do we need Kalman Filters? What is a Kalman Filter? Conceptual Overview The Theory of Kalman Filter Simple Example 2教书育人 The Problem System state cannot be measured directly Need to estimate “optimally” from m
2、easurements Measuring Devices Estimator Measurement Error Sources System State (desired but not known) External Controls Observed Measurements Optimal Estimate of System State System Error Sources System Black Box 3教书育人 What is a Kalman Filter? Recursive data processing algorithm Generates optimal e
3、stimate of desired quantities given the set of measurements Optimal? For linear system and white Gaussian errors, Kalman filter is “best” estimate based on all previous measurements For non-linear system optimality is qualified Recursive? Doesnt need to store all previous measurements and reprocess
4、all data each time step 4教书育人 Conceptual Overview Simple example to motivate the workings of the Kalman Filter Theoretical Justification to come later for now just focus on the concept Important: Prediction and Correction 5教书育人 Conceptual Overview Lost on the 1-dimensional line Position y(t) Assume
5、Gaussian distributed measurements y 6教书育人 Conceptual Overview 0102030405060708090100 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Sextant Measurement at t1: Mean = z1 and Variance = z1 Optimal estimate of position is: (t1) = z1 Variance of error in estimate: 2x (t1) = 2z1 Boat in same position at time t
6、2 - Predicted position is z1 7教书育人 0102030405060708090100 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Conceptual Overview So we have the prediction -(t2) GPS Measurement at t2: Mean = z2 and Variance = z2 Need to correct the prediction due to measurement to get (t2) Closer to more trusted measurement l
7、inear interpolation? prediction -(t2) measurement z(t2) 8教书育人 0102030405060708090100 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Conceptual Overview Corrected mean is the new optimal estimate of position New variance is smaller than either of the previous two variances measurement z(t2) corrected optim
8、al estimate (t2) prediction -(t2) 9教书育人 Conceptual Overview Lessons so far: Make prediction based on previous data - -, - Take measurement zk, z Optimal estimate () = Prediction + (Kalman Gain) * (Measurement - Prediction) Variance of estimate = Variance of prediction * (1 Kalman Gain) 10教书育人 010203
9、0405060708090100 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Conceptual Overview At time t3, boat moves with velocity dy/dt=u Nave approach: Shift probability to the right to predict This would work if we knew the velocity exactly (perfect model) (t2) Nave Prediction -(t3) 11教书育人 0102030405060708090100
10、 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 Conceptual Overview Better to assume imperfect model by adding Gaussian noise dy/dt = u + w Distribution for prediction moves and spreads out (t2) Nave Prediction -(t3) Prediction -(t3) 12教书育人 0102030405060708090100 0 0.02 0.04 0.06 0.08 0.1 0.12 0.14 0.16 C
11、onceptual Overview Now we take a measurement at t3 Need to once again correct the prediction Same as before Prediction -(t3) Measurement z(t3) Corrected optimal estimate (t3) 13教书育人 Conceptual Overview Lessons learnt from conceptual overview: Initial conditions (k-1 and k-1) Prediction (-k , -k) Use
12、 initial conditions and model (eg. constant velocity) to make prediction Measurement (zk) Take measurement Correction (k , k) Use measurement to correct prediction by blending prediction and residual always a case of merging only two Gaussians Optimal estimate with smaller variance 14教书育人 Theoretica
13、l Basis Process to be estimated: yk = Ayk-1 + Buk + wk-1 zk = Hyk + vk Process Noise (w) with covariance Q Measurement Noise (v) with covariance R Kalman Filter Predicted: -k is estimate based on measurements at previous time-steps k = -k + K(zk - H -k ) Corrected: k has additional information the m
14、easurement at time k K = P-kHT(HP-kHT + R)-1 -k = Ayk-1 + Buk P-k = APk-1AT + Q Pk = (I - KH)P-k 15教书育人 Blending Factor If we are sure about measurements: Measurement error covariance (R) decreases to zero K decreases and weights residual more heavily than prediction If we are sure about prediction
15、Prediction error covariance P-k decreases to zero K increases and weights prediction more heavily than residual 16教书育人 Theoretical Basis -k = Ayk-1 + Buk P-k = APk-1AT + Q Prediction (Time Update) (1) Project the state ahead (2) Project the error covariance ahead Correction (Measurement Update) (1)
16、Compute the Kalman Gain (2) Update estimate with measurement zk (3) Update Error Covariance k = -k + K(zk - H -k ) K = P-kHT(HP-kHT + R)-1 Pk = (I - KH)P-k 17教书育人 Quick Example Constant Model Measuring Devices Estimator Measurement Error Sources System State External Controls Observed Measurements O
17、ptimal Estimate of System State System Error Sources System Black Box 18教书育人 Quick Example Constant Model Prediction k = -k + K(zk - H -k ) Correction K = P-k(P-k + R)-1 -k = yk-1 P-k = Pk-1 Pk = (I - K)P-k 19教书育人 Quick Example Constant Model 0102030405060708090100 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1
18、 0 20教书育人 Quick Example Constant Model 0102030405060708090100 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 Convergence of Error Covariance - Pk 21教书育人 0102030405060708090100 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 Quick Example Constant Model Larger value of R the measurement error covariance (indicates poorer quality of measurements) Filter slower to believe measurements slower convergence 22教书育人 References 1.Kalman, R. E. 1960. “A New Approach to Linear Filtering and Prediction Problems”
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026及未来5年差速器行星齿轮项目可行性研究报告(市场调查与数据分析)
- 5-Nitro-1-1-biphenyl-3-3-5-tricarboxylic-acid-生命科学试剂-MCE
- 东莞高中数学试题及答案
- 2026年行业财富管理趋势分析报告:高净值人群消费偏好研究
- 2026年汽车行业售后服务报告:市场拓展与服务创新
- 2026年人工智能行业应用案例研究报告及2025-2030行业市场增长趋势分析
- 2026年网络安全行业风险与对策研究报告
- 2026年环保材料行业报告:新锐企业绿色制造技术
- 2026年新能源行业储能解决方案报告及市场趋势分析
- 2026年量子通信技术产业布局报告001
- 世界各大洲国家中英文、区号、首都大全
- 2024新人教版英语七年级上单词默写单(小学部分)
- 心理健康教育开题报告
- 2024年国家储备粮食购销标准化合同
- DL∕T 1751-2017 燃气-蒸汽联合循环机组余热锅炉运行规程
- 磁疗产品注册审查指导原则(2024年修订版)
- 变电站智能辅助系统施工方案
- 泄密调查情况报告
- 老年抑郁量表GDS、焦虑自评量表SAS、心理状态评估量表MSSNS、汉密尔顿抑郁量表(HAMD)
- 少女乙女的恋爱革命全中文攻略
- 幼儿园学前-《小鸡捉虫》教学课件设计
评论
0/150
提交评论