DSPRelated.com

Q matrix tuning - Kalman filtering

Started by res in comp.dsp20 years ago

Hi there, I am using a Kalman filter to determine trajectory and attitude of a terrestrial vehicle, with the measurements of an INS/GPS...

Hi there, I am using a Kalman filter to determine trajectory and attitude of a terrestrial vehicle, with the measurements of an INS/GPS system. I have some difficulties in choosing the right values of the Q matrix. Are there any methods to choose them? I heard about Bartlett's method but I don't know how to make it work properly... Thanks a lot for your help and sorry for my English! ...


VHDL code for Kalman filter

Started by V in comp.dsp13 years ago 9 replies

Hi I am currently trying to implement particle filter in vhdl for my project. It would be great if someone could provide me d link to...

Hi I am currently trying to implement particle filter in vhdl for my project. It would be great if someone could provide me d link to similar implementions in vhdl like vhdl code for autoregressive process or kalman filter implementation in vhdl etc Thanks a lot venkat _____________________________________ Do you know a company who employs DSP engineers? Is it already listed at http...


Help, want to learn about and use Kalman filtering

Started by Beginner in comp.dsp19 years ago 8 replies

I would want to learn to use and understand Kalman filtering. Which books should i read to achieve that? My algebra math skills are at...

I would want to learn to use and understand Kalman filtering. Which books should i read to achieve that? My algebra math skills are at elementary linear algebra level.


can anyone help design a state space model applying into Extended Kalman Filter

Started by Terry in comp.dsp19 years ago 11 replies

x1(t) = x2(t)+x3(t)*exp(-x4(t)*x1(t-1)^2)*x1(t-1)+x5(t)*exp (-x6(t)*x1(t-1)^2)*x1(t-2) + randn*v1; x2(t) = x2(t-1) + randn*v2; x3(t) =...

x1(t) = x2(t)+x3(t)*exp(-x4(t)*x1(t-1)^2)*x1(t-1)+x5(t)*exp (-x6(t)*x1(t-1)^2)*x1(t-2) + randn*v1; x2(t) = x2(t-1) + randn*v2; x3(t) = x3(t-1) + randn*v3; x4(t) = x4(t-1) + randn*v4; x5(t) = x5(t-1) + randn*v5; x6(t) = x6(t-1) + randn*v6; x2 x3 x4 x5 x6 follows a random walk. I tried many ways but alway wrong. Can anyone help design a state space model applied by Extended kalman fil...


Kalman Filtering

Started by mj in comp.dsp18 years ago 2 replies

Hi My final year project on Inertial navigation system using Gyro and Acclerometer. for filtering i calculate the bias,angular random walk and...

Hi My final year project on Inertial navigation system using Gyro and Acclerometer. for filtering i calculate the bias,angular random walk and RRW variance from Allan variance, But i dont know how to use it in Kalman filter equation. Can anybody tell me How to write the matrix x(k+1) = Ax(k)+ bu(k)+w(k) y(k) = cx(k)+z(k) i am measuring acceleration from that i have to calculate the velocity a...


Kalman filtering with multiplicative noise

Started by ac123 in comp.dsp18 years ago 4 replies

I'm trying to implement a Kalman filter in MATLAB that will use two types of measurements: volume and in/out flow rate. For the flow rate,...

I'm trying to implement a Kalman filter in MATLAB that will use two types of measurements: volume and in/out flow rate. For the flow rate, the measurement error is additive Gaussian, but for the volume the measurement error is expressed as a percentage of the volume, so that the volume measurement is less accurate when its value is higher. I think the measurement model should therefore be: Flow...


Kalman Filter Post processing of IMU data

Started by Kiwi23 in comp.dsp18 years ago 3 replies

Hello All I'm quite a newbie to the Kalman Filter. I'm using a 3 axis accelerometer and gyroscope data to calculate angle, and from this 3D...

Hello All I'm quite a newbie to the Kalman Filter. I'm using a 3 axis accelerometer and gyroscope data to calculate angle, and from this 3D position (I also have a magnetometer, but its outputs are too unreliable). I'm still trying to understand how to apply the data I'm getting to the filter equations (if you feel like explaining that it would be great :D). Anyway, I have the advantage in...


Re: Kalman filtering with multiplicative noise

Started by Anonymous in comp.dsp18 years ago

On Jul 21, 5:35 pm, "Bruno Luong" wrote: > d...@myallit.com wrote in message > > You might consider Extended Kalman filtering (EKF). Be...

On Jul 21, 5:35 pm, "Bruno Luong" wrote: > d...@myallit.com wrote in message > > You might consider Extended Kalman filtering (EKF). Be aware > about the eventual non-stability of the scheme. > What do you mean by the eventual non-stability? I did look at the EKF, there is some simple sample MATLAB code here: http://www.mathworks.com/matlabcentral/fileexchange/loadFil


Re: Kalman filtering with multiplicative noise

Started by Tim Wescott in comp.dsp18 years ago

dsp@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > d...@myallit.com wrote in message > > > > You might consider...

dsp@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > d...@myallit.com wrote in message > > > > You might consider Extended Kalman filtering (EKF). Be aware > > about the eventual non-stability of the scheme. > > > > What do you mean by the eventual non-stability? I did look at the EKF, > there is some simple sample MATLAB code here: > http://www.mathworks


Re: Kalman filtering with multiplicative noise

Started by RRogers in comp.dsp18 years ago

On Jul 21, 8:06 pm, d...@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > > d...@myallit.com wrote in message > > >...

On Jul 21, 8:06 pm, d...@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > > d...@myallit.com wrote in message > > > You might consider Extended Kalman filtering (EKF). Be aware > > about the eventual non-stability of the scheme. > > What do you mean by the eventual non-stability? I did look at the EKF, > there is some simple sample MATLAB code here:htt


Re: Kalman filtering with multiplicative noise

Started by stanp in comp.dsp18 years ago

On Jul 21, 8:06 pm, d...@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > > d...@myallit.com wrote in message > > >...

On Jul 21, 8:06 pm, d...@myallit.com wrote: > On Jul 21, 5:35 pm, "Bruno Luong" wrote: > > > d...@myallit.com wrote in message > > > You might consider Extended Kalman filtering (EKF). Be aware > > about the eventual non-stability of the scheme. > > What do you mean by the eventual non-stability? I did look at the EKF, > there is some simple sample MATLAB code here:htt


Some basic questions about Kalman Filtering

Started by Kai in comp.dsp18 years ago 4 replies

Hi, I'm trying to work with Kalman Filter for Sensor Fusion/state estimation purposes. A very basic question first: I model my system...

Hi, I'm trying to work with Kalman Filter for Sensor Fusion/state estimation purposes. A very basic question first: I model my system with a continuos time state space model. I'm using a high sample rate (3000 Hz). Do I have to transform my state space model into time-discrete domain anyways? What would happen if not, what special properties may occur when I'm using a continous time m...


signals applied to a kalman filter or other estimator

Started by Kai in comp.dsp18 years ago 1 reply

Hello, I'm using a Kalman-filter for state estimation issues. My question is dealing with the signals that I apply to the filter. Let's...

Hello, I'm using a Kalman-filter for state estimation issues. My question is dealing with the signals that I apply to the filter. Let's think of an analog sensor with a changeable low-pass filter at its output. I could think of tuning the RC-elements to a bandwith of let's say 40 Hz or 400 Hz. When I measure the noise levels and variances I can use these values in both cases to feed my K...


applied Hinfinity filtering

Started by Kai in comp.dsp18 years ago 2 replies

Hinfinity filtering is often mentioned by the readers of this group. For sure, it has theortic advantages over the kalman filter under...

Hinfinity filtering is often mentioned by the readers of this group. For sure, it has theortic advantages over the kalman filter under certain conditions. Now I encounter the problem of tuning the weighting matrices and I wonder if you have any cooking recipes, rules of thumb or references to help. A good startoff for me is trying the covariance matrices of the corresponding kalman filter for...


Kalman filter estimation position

Started by leo in comp.dsp18 years ago 4 replies

Hi We have the position and velocity of products on the conveyor in time t=t1. How can we estimate position in time t=t1+T (T is scan time)...

Hi We have the position and velocity of products on the conveyor in time t=t1. How can we estimate position in time t=t1+T (T is scan time) if we know max.acceleration, max.jerk, max. velocity for this product? Product is on the conveyor. We need probably Kalman filter, but can somebody tell me formel how can we calculate position in t=t1+T. Thanks. Best regards Leo


Kalman Filter Instability

Started by Tim Wescott in comp.dsp18 years ago 5 replies

First, some background: I've done some Kalman filters "for pretend" and they always worked out just fine. Now I'm doing one for a client,...

First, some background: I've done some Kalman filters "for pretend" and they always worked out just fine. Now I'm doing one for a client, and of course it's blowing up in my face -- go figure. What's happening is that the state covariance matrix is acquiring some negative eigenvalues, followed shortly by the whole thing rapidly and exponentially growing (bang). It's an extended...


extended kalman fixed-point issues

Started by Muzaffer Kal in comp.dsp18 years ago

Hi everyone, I have an extended kalman filter which seems to be working OK in floating point and I converted it to fixed point with a large...

Hi everyone, I have an extended kalman filter which seems to be working OK in floating point and I converted it to fixed point with a large number of bits in the fractional part. What I'm observing is that the error between the floating point and fixed point outputs seems to grow over time. I'm using float C type in my floating-point implementation and I have 28 bits of fractional portions i...


Calculating noise covariance matrix in Kalman filtering.

Started by chammidhan in comp.dsp17 years ago 2 replies

Hello all.. I am developing a vehicle acceleration pattern capturing device using accelerometers. I intend to use a Kalman filter for noise...

Hello all.. I am developing a vehicle acceleration pattern capturing device using accelerometers. I intend to use a Kalman filter for noise reduction in the accelerometer data. I saw elsewhere the following model for the state of the system for a similar problem. s(k+1)=s(k)+T*v(k)+0.5*T^2*a(k) v(k+1)=v(k)+T*a(k) a(k+1)=a(k) My first question is, is this model correct regarding the acce...


Forgetting factor for discrete linear kalman filter

Started by adrian116 in comp.dsp17 years ago 13 replies

Dear all, I am doing a final year project to estimate the power consumption of a chiller plant. I have built a basic model by using...

Dear all, I am doing a final year project to estimate the power consumption of a chiller plant. I have built a basic model by using Kalman Filter and get a result with some percent of error. For my model, I used a moving windows say 60 sets of data, then calculated the parameters to be estimated from these data sets. Use these a,b,c,d,e and the measurement of 61set of data to estimat...


Kalman filter - getting biased estimates: for multi parameter estimation

Started by lgganesh in comp.dsp17 years ago 6 replies

I am a beginner & am using Kalman Filter for multiple parameter estimation in processing of dual freq. carrier phase navigation...

I am a beginner & am using Kalman Filter for multiple parameter estimation in processing of dual freq. carrier phase navigation receiver.(position, velocity, Ionospheric error, receiver bias(units of length) and transmitter(satellite) bias (again units of length) are the five parameters I am estimating together). When I start with a very poor estimate to begin the filter (meaning when I give highe...