|
|
Kalman Filter
I am employing a Kalman Filter on some test data of size 1300x128 (i.e. 1300 samples over a number of 128 records). The test data is generated from a rangefinding device. Typically for a single laser pulse, return data will be some laser pulse return completely buried in broad spectrum noise. One possible approach for digging the signal from the noise is to add together all 128 records such that the noise tends to average itself out. I was thinking that Kalman Filter was superior to the Averaging method, but it appears that this thinking is incorrect or my filter is simply not working
(I made some fundament error employing it). I used a kalman function provided on the Mathworks website (as a Kalman filter tutorial) by Michael Kleder - an excellent intro to Kalman filters (MATLAB Central)
http://www.mathworks.com/matlabcentral/fx_files/5377/1/kalmanf.m
but it did not produce good results. The output appeared as noisy as the input and there was no laser pulse return visible from the 128 record iterations (in contrast to using simple averaging). I was modifying the process noise and measurement noise variables and noting a difference in output, but certainly there was no improvement in signal over noise. I beleive I should be able to use a simple discrete Kalman Filter and don't require an Extended Kalman Filter. I and the target are stationary. Can anyone provide me any insight as to why application to a Kalman Filter might be an inferior technique to using the central limit theorum (ie., employing simple averaging).
|
|
0
|
|
|
|
Reply
|
James
|
1/20/2010 10:58:04 PM |
|
James,
Averaging several time-correlated observation vectors is a fundamental way of eliminating interfering noise. In your case, averaging 128 realizations (each with 1,300 samples) should drop the noise-level considerably.
With respect to your Kalman filter work, how did you apply Kleder's KALMANF Matlab function script-file?
The example included by Kleder's script-file considers a 1-dimensional state-vector or simple scalar case. This seems to be a solid way to introduce Kalman filter principals; see the article by Roger M. du Plessis, "Poor Man's Explanation of Kalman Filtering or How I Stopped Worrying and Learned to Love Matrix Inversion."
With respect to your case, the state transition matrix would not be unity or 1, this is because the echo-signal received by the sensor is not constant. It would be some time-dependent discrete function characterizing this behavior; I do not know what this would look like.
You should also note that there are important assumptions with respect to application of Kalman filtering. In basic cases, likely yours, the underlying noise processes (both process and measurement) are Gaussian in nature and the state-transition and measurement matrices are linear. With both of these assumptions met and having correct state transition and measurement matrices in place, the Kalman filter will operate as the optimal minimum mean-square estimator.
In more advanced cases, the associated noise processes are not Gaussian and system dynamics are not linear. Non-linear dynamics require linearization, thus the presence of the extended Kalman filter.
Michael.
|
|
0
|
|
|
|
Reply
|
Michael_RW (12)
|
1/22/2010 12:23:31 AM
|
|
|
2 Replies
777 Views
(page loaded in 0.024 seconds)
Similiar Articles: Kalman Filter - comp.soft-sys.matlabI am employing a Kalman Filter on some test data of size 1300x128 (i.e. 1300 samples over a number of 128 records). The test data is generated from a... Kalman Filter Implementation - comp.dspHi All, I am looking to use a kalman filter to predict the motion of a throw ball. I was wondering if anybody knew of a java implementation of the br... kalman filter+ white noise - comp.soft-sys.matlabby using "kalman" function i can calculate Kalman estimator gain of my plant with respect to covariance matrixes Qn and Rn. kalman(sys,Qn,Rn) I ca... Extended Kalman Filter - comp.soft-sys.matlabHi dear...., I want to estimate moving object by using extended kalman filter. this code is for kalman filter.. and its also works as not bad ... Kalman filter error. - comp.soft-sys.matlabHi friends. I am going to use of Kalman filter in my program.Assuming we have two sensors,so then measurement matrix is a kind of 2 dimensional mat... Kalman filter tutorial for the Dummy's dumber cousin? - comp.dsp ...I'm a veteran computer programmer with a Math background that came to a screeching halt at about the 1st semester of Calculus. However, I think I'm... Kalman Filter for Electronic Compass and Gyro - comp.dsp ...Hello, I'm using an electronic compass and 3-axis gyro to estimate orientation for my undergraduate project. The idea is that a user will hold and... Unscented Kalman Filter - comp.soft-sys.matlabHi, I am looking at some time series data. Does anyone have an m-file for an Unscented Kalman Filter (UKF) that is easy to use? thanks! sushm... code for extended kalman filter anyone???? - comp.soft-sys.matlab ...hi guys i am new to matlab environment .... i am running in a serious problem here ... i gotto submit my major project on " 1-d target tracking"...for... Discrete Kalman Filter in Simulink - comp.soft-sys.matlab ...hi, i want to implement a discrete kalman filter based on a paper of some other guy. my main problem is the iterative process. i dont know how to ... Kalman filter - Wikipedia, the free encyclopediaThe Kalman filter, also known as linear quadratic estimation (LQE), is an algorithm which uses a series of measurements observed over time, containing noise (random ... 7/26/2012 7:53:17 PM
|
|
|
|
|
|
|
|
|