文件名称:KalmanGain
-
所属分类:
- 标签属性:
- 上传时间:2013-09-08
-
文件大小:275.16kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
卡尔曼滤波在单片机上的应用
KalmanGain = EstimateCovariance * sqrt( 1 / ( EstimateCovariance * EstimateCovariance + MeasureCovariance * MeasureCovariance ));
//计算本次滤波估计值
EstimateValue = EstimateValue + KalmanGain*( Measure – EstimateValue );
//更新估计协方差
EstimateCovariance = sqrt(1 - KalmanGain) * EstimateCovariance
//更新测量方差
MeasureCovariance = sqrt(1 - KalmanGain) * MeasureCovariance
//返回估计值
return EstimateValue
-Kalman filter KalmanGain = EstimateCovariance* sqrt (1/(EstimateCovariance* EstimateCovariance+ MeasureCovariance* MeasureCovariance))
//Calculate the estimated value of this filter
EstimateValue = EstimateValue+ KalmanGain* (Measure- EstimateValue)
//Update the covariance
EstimateCovariance = sqrt (1- KalmanGain)* EstimateCovariance
//Update the measurement variance
MeasureCovariance = sqrt (1- KalmanGain)* MeasureCovariance
//Returns the estimated value
return EstimateValue
KalmanGain = EstimateCovariance * sqrt( 1 / ( EstimateCovariance * EstimateCovariance + MeasureCovariance * MeasureCovariance ));
//计算本次滤波估计值
EstimateValue = EstimateValue + KalmanGain*( Measure – EstimateValue );
//更新估计协方差
EstimateCovariance = sqrt(1 - KalmanGain) * EstimateCovariance
//更新测量方差
MeasureCovariance = sqrt(1 - KalmanGain) * MeasureCovariance
//返回估计值
return EstimateValue
-Kalman filter KalmanGain = EstimateCovariance* sqrt (1/(EstimateCovariance* EstimateCovariance+ MeasureCovariance* MeasureCovariance))
//Calculate the estimated value of this filter
EstimateValue = EstimateValue+ KalmanGain* (Measure- EstimateValue)
//Update the covariance
EstimateCovariance = sqrt (1- KalmanGain)* EstimateCovariance
//Update the measurement variance
MeasureCovariance = sqrt (1- KalmanGain)* MeasureCovariance
//Returns the estimated value
return EstimateValue
(系统自动生成,下载前可以参看下载内容)
下载文件列表
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.