卡尔曼滤波器笔记

卡尔曼滤波器笔记

1.基本动态系统模型

状态转移 xk=Fkxk1+Bkuk+wk x k = F k x k − 1 + B k u k + w k

测量模型 zk=Hkxk+vk z k = H k x k + v k

x x 表示状态向量, u u 表示控制向量, z z 表示观测向量, w w 表示过程噪声, v v 表示观测噪声。 F F 表示状态转移模型, B B 表示控制-输入模型, H H 表示观测模型。下标 k k k1表示当前时刻以及上一时刻。

2.卡尔曼滤波流程

预测阶段

预测(先验)状态估计 x̂ k|k1=Fkx̂ k1|k1+Bkuk x ^ k | k − 1 = F k x ^ k − 1 | k − 1 + B k u k

预测(先验)估计协方差 Pk|k1=FkPk1|k1FTk+Qk P k | k − 1 = F k P k − 1 | k − 1 F k T + Q k

更新阶段

计算测量余量 ỹ k=zkHkx̂ k|k1 y ~ k = z k − H k x ^ k | k − 1

计算测量余量协方差 Sk=HkPk|k1HT+Rk S k = H k P k | k − 1 H T + R k

计算最优卡尔曼增益 Kk=Pk|k1HTkS1k K k = P k | k − 1 H k T S k − 1

更新状态估计 x̂ k|k=x̂ k|k1+Kkỹ k x ^ k | k = x ^ k | k − 1 + K k y ~ k

更新估计协方差 Pk|k=(IKkHk)Pk|k1 P k | k = ( I − K k H k ) P k | k − 1

下标 k|k k | k 以及 k1|k1 k − 1 | k − 1 表示当前估计以及上一时刻估计。下标 k|k1 k | k − 1 表示当前时刻的预测估计,是一种中间向量或模型。

卡尔曼滤波流程如下图所示。

卡尔曼滤波流程图

1.1推导最优卡尔曼增益

卡尔曼滤波器的最优化目的在于最小化估计状态变量 x̂  x ^ 相对于真实状态变量 x x 的均方误差 E[|xkx̂ k|k|] E [ | x k − x ^ k | k | ] ,等价于最小化估计协方差 Pk|k P k | k 的迹。其公式推导如下:

Pk|k=cov(xkx̂ k|k)Pk|k=cov(xk(x̂ k|k1+Kk(Hkxk+vkHkx̂ k|k1)))Pk|k=(IKkHk)Pk|k1(IKkHk)T+KkRkKTk P k | k = c o v ( x k − x ^ k | k ) P k | k = c o v ( x k − ( x ^ k | k − 1 + K k ( H k x k + v k − H k x ^ k | k − 1 ) ) ) P k | k = ( I − K k H k ) P k | k − 1 ( I − K k H k ) T + K k R k K k T

dtr(Pk|k)dKk=2(HkPk|k1)T+2KkSk=0Kk=Pk|k1HTkS1k d t r ( P k | k ) d K k = − 2 ( H k P k | k − 1 ) T + 2 K k S k = 0 K k = P k | k − 1 H k T S k − 1

3.扩展卡尔曼滤波

基本卡尔曼滤波受限于线性模型假设。对于非线性模型,利用一阶麦克劳林将其展开近似等效,展开公式中的常数部分对协方差的计算没有贡献,因此可利用Jacobians矩阵代替非线性模型计算协方差以及最优卡尔曼增益。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
1 Introduction 1 1.1 Chapter Focus, 1 1.2 On Kalman Filtering, 1 1.3 On Optimal Estimation Methods, 6 1.4 Common Notation, 28 1.5 Summary, 30 Problems, 31 References, 34 2 Linear Dynamic Systems 37 2.1 Chapter Focus, 37 2.2 Deterministic Dynamic System Models, 42 2.3 Continuous Linear Systems and their Solutions, 47 2.4 Discrete Linear Systems and their Solutions, 59 2.5 Observability of Linear Dynamic System Models, 61 2.6 Summary, 66 Problems, 69 References, 3 Probability and Expectancy 73 3.1 Chapter Focus, 73 3.2 Foundations of Probability Theory, 74 3.3 Expectancy, 79 3.4 Least-Mean-Square Estimate (LMSE), 87 3.5 Transformations of Variates, 93 3.6 The Matrix Trace in Statistics, 102 3.7 Summary, 106 Problems, 107 References, 110 4 Random Processes 111 4.1 Chapter Focus, 111 4.2 Random Variables, Processes, and Sequences, 112 4.3 Statistical Properties, 114 4.4 Linear Random Process Models, 124 4.5 Shaping Filters (SF) and State Augmentation, 131 4.6 Mean and Covariance Propagation, 135 4.7 Relationships Between Model Parameters, 145 4.8 Orthogonality Principle, 153 4.9 Summary, 157 Problems, 159 References, 167 5 Linear Optimal Filters and Predictors 169 5.1 Chapter Focus, 169 5.2 Kalman Filter, 172 5.3 Kalman–Bucy Filter, 197 5.4 Optimal Linear Predictors, 200 5.5 Correlated Noise Sources, 200 5.6 Relationships Between Kalman and Wiener Filters, 201 5.7 Quadratic Loss Functions, 202 5.8 Matrix Riccati Differential Equation, 204 5.9 Matrix Riccati Equation in Discrete Time, 219 5.10 Model Equations for Transformed State Variables, 223 5.11 Sample Applications, 224 5.12 Summary, 228 Problems, 232 References, 235 6 Optimal Smoothers 239 6.1 Chapter Focus, 239 6.2 Fixed-Interval Smoothing, 244 6.3 Fixed-Lag Smoothing, 256 6.4 Fixed-Point Smoothing, 268 7 Implementation Methods 281 7.1 Chapter Focus, 281 7.2 Computer Roundoff, 283 7.3 Effects of Roundoff Errors on Kalman Filters, 288 7.4 Factorization Methods for “Square-Root” Filtering, 294 7.5 “Square-Root” and
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值