| |
 |
|
|
Science Forum Index » Statistics - Math Forum » Kalman filtering with multiplicative noise...
Page 1 of 1
|
| Author |
Message |
| ... |
Posted: Sun Jul 20, 2008 4:51 pm |
|
|
|
Guest
|
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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to
make the noise additive but how do I deal with a noise mean of one
when the Kalman filter assumes a mean of zero? And how can I have a
Kalman filter using both the measurements if one is in the log domain
and the other one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling
rate, any other pointers on these too would be appreciated. |
|
|
| Back to top |
|
| ... |
Posted: Mon Jul 21, 2008 1:49 pm |
|
|
|
Guest
|
On Jul 22, 2:20 am, Tim Wescott <t... at (no spam) seemywebsite.com> wrote:
Quote: On Sun, 20 Jul 2008 19:51:02 -0700, dsp wrote:
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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to make
the noise additive but how do I deal with a noise mean of one when the
Kalman filter assumes a mean of zero? And how can I have a Kalman filter
using both the measurements if one is in the log domain and the other
one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling rate,
any other pointers on these too would be appreciated.
As Ray pointed out these seem to be completely independent measurements,
unless V1 and V2 are correlated.
With any affine system, such as the log-domain volume system, you can
subtract out the offset to make the system linear, do your linear
processing, then add the offset back in. I.O.W., calculate log z2 = log
x2 + log v2 + 1, then define dlz2 = log z2 - 1, then find your estimated
dlz2, then back up to your estimated z2. (Note that your estimate of z2
probably won't be strictly optimal in the mean-squared sense, only your
estimate of dlz2 will be. But you'll certainly be closer than you would
by a lot of other means).
--
Tim Wescott
Control systems and communications consultinghttp://www.wescottdesign.com
Need to learn how to apply control theory in your embedded system?
"Applied Control Theory for Embedded Systems" by Tim Wescott
Elsevier/Newnes,http://www.wescottdesign.com/actfes/actfes.html
My state transition for these two measurements is given by:
F = [dt 1
1 0]
where dt is the time step, so as far as I understand it these
measurements are correlated - if z1 is positive, then z2 will be
increasing and vice versa.
Doing this in the log domain makes sense, but how can I have one
measurement in the log domain and the other not? The state transition
won't make sense.
Equation 2 will actually reach zero quite often, so maybe I need
multiplicative and additive noise in my measurement model for z2, not
too sure about that. |
|
|
| Back to top |
|
| ... |
Posted: Mon Jul 21, 2008 2:06 pm |
|
|
|
Guest
|
On Jul 21, 5:35 pm, "Bruno Luong" <b.lu... at (no spam) fogale.fr> wrote:
Quote: d... at (no spam) 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/loadFile.do?objectId=18189
But in the first few lines of this script it says:
% for nonlinear dynamic system:
% x_k+1 = f(x_k) + w_k
% z_k = h(x_k) + v_k
% where w ~ N(0,Q) meaning w is gaussian noise with covariance Q
% v ~ N(0,R) meaning v is gaussian noise with covariance R
so the EKF looks appropriate for non-linear process models and
measurement models that can be represented by any arbitrary functions
f(x) and h(x), but the noise is still assumed to be additive. |
|
|
| Back to top |
|
| pnachtwey... |
Posted: Mon Jul 21, 2008 5:39 pm |
|
|
|
Guest
|
On Jul 20, 7:51 pm, d... at (no spam) myallit.com wrote:
Quote: 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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to
make the noise additive but how do I deal with a noise mean of one
when the Kalman filter assumes a mean of zero? And how can I have a
Kalman filter using both the measurements if one is in the log domain
and the other one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling
rate, any other pointers on these too would be appreciated.
If this is a student project then why not assume there will be a set
point and the controller will maintain that set point with little
variation. Now the volume is fixed and the variance is therefore
fixed. Now you can assume the system is linear around that set point.
Peter Nachtwey |
|
|
| Back to top |
|
| Tim Wescott... |
Posted: Mon Jul 21, 2008 8:06 pm |
|
|
|
Guest
|
dsp at (no spam) myallit.com wrote:
Quote: On Jul 22, 2:20 am, Tim Wescott <t... at (no spam) seemywebsite.com> wrote:
On Sun, 20 Jul 2008 19:51:02 -0700, dsp wrote:
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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to make
the noise additive but how do I deal with a noise mean of one when the
Kalman filter assumes a mean of zero? And how can I have a Kalman filter
using both the measurements if one is in the log domain and the other
one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling rate,
any other pointers on these too would be appreciated.
As Ray pointed out these seem to be completely independent measurements,
unless V1 and V2 are correlated.
With any affine system, such as the log-domain volume system, you can
subtract out the offset to make the system linear, do your linear
processing, then add the offset back in. I.O.W., calculate log z2 = log
x2 + log v2 + 1, then define dlz2 = log z2 - 1, then find your estimated
dlz2, then back up to your estimated z2. (Note that your estimate of z2
probably won't be strictly optimal in the mean-squared sense, only your
estimate of dlz2 will be. But you'll certainly be closer than you would
by a lot of other means).
--
Tim Wescott
Control systems and communications consultinghttp://www.wescottdesign.com
Need to learn how to apply control theory in your embedded system?
"Applied Control Theory for Embedded Systems" by Tim Wescott
Elsevier/Newnes,http://www.wescottdesign.com/actfes/actfes.html
My state transition for these two measurements is given by:
F = [dt 1
1 0]
where dt is the time step, so as far as I understand it these
measurements are correlated - if z1 is positive, then z2 will be
increasing and vice versa.
Doing this in the log domain makes sense, but how can I have one
measurement in the log domain and the other not? The state transition
won't make sense.
Equation 2 will actually reach zero quite often, so maybe I need
multiplicative and additive noise in my measurement model for z2, not
too sure about that.
You probably need an extended Kalman filter, where you use your current
best guess of the flow to update the covariance. This will be more
computationally intensive because you won't be able to pre-calculate
your covariance, and it'll be nonlinear because you'll be multiplying by
one of your states.
That's about as much as I know about the subject, so try google, or get
a copy of "Optimal State Estimation" by Simon and have fun.
Alternately, can you do a good enough job with good ol' low-pass filters?
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html |
|
|
| Back to top |
|
| Tim Wescott... |
Posted: Mon Jul 21, 2008 8:11 pm |
|
|
|
Guest
|
dsp at (no spam) myallit.com wrote:
Quote: On Jul 21, 5:35 pm, "Bruno Luong" <b.lu... at (no spam) fogale.fr> wrote:
d... at (no spam) 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/loadFile.do?objectId=18189
But in the first few lines of this script it says:
% for nonlinear dynamic system:
% x_k+1 = f(x_k) + w_k
% z_k = h(x_k) + v_k
% where w ~ N(0,Q) meaning w is gaussian noise with covariance Q
% v ~ N(0,R) meaning v is gaussian noise with covariance R
so the EKF looks appropriate for non-linear process models and
measurement models that can be represented by any arbitrary functions
f(x) and h(x), but the noise is still assumed to be additive.
He means that it's a nonlinear system, and therefore you can't assume
that just because it's locally stable around some state that it's
globally stable for any state. In particular, there may be input
vectors that will drive it into a limit cycle or off toward infinity,
either permanently or temporarily.
Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab
isn't an extension of the Bible. I would trust them for examples, but
don't take their documentation for anything but a means of selling you
copies of MatLab.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html |
|
|
| Back to top |
|
| RRogers... |
Posted: Tue Jul 22, 2008 2:54 am |
|
|
|
Guest
|
On Jul 21, 8:06 pm, d... at (no spam) myallit.com wrote:
Quote: On Jul 21, 5:35 pm, "Bruno Luong" <b.lu... at (no spam) fogale.fr> wrote:
d... at (no spam) 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/loadFile.do?objec...
But in the first few lines of this script it says:
% for nonlinear dynamic system:
% x_k+1 = f(x_k) + w_k
% z_k = h(x_k) + v_k
% where w ~ N(0,Q) meaning w is gaussian noise with covariance Q
% v ~ N(0,R) meaning v is gaussian noise with covariance R
so the EKF looks appropriate for non-linear process models and
measurement models that can be represented by any arbitrary functions
f(x) and h(x), but the noise is still assumed to be additive.
If you change the second equation to log's, and if the log(v2) was
adequately described by a normal distribution then the noise would be
additive and the non-linearity would pushed into the x2/z2 and it
seems that the EKF could deal with it. In terms of the wikipedia
article and your state equation
z1=x1+v1
lz2=lx2+lv2
and presumptively
x1'=dt*lx1+exp(lx2)+v1
lx2'=log(x1)+lv2
You should really presume these state equations are wrong! Without
the differential equations including the noise terms I really can't
get a handle on them mentally ( I usually get the first go round wrong
anyway).
RayR |
|
|
| Back to top |
|
| RRogers... |
Posted: Tue Jul 22, 2008 3:11 am |
|
|
|
Guest
|
On Jul 21, 7:49 pm, d... at (no spam) myallit.com wrote:
Quote: On Jul 22, 2:20 am, Tim Wescott <t... at (no spam) seemywebsite.com> wrote:
On Sun, 20 Jul 2008 19:51:02 -0700, dsp wrote:
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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to make
the noise additive but how do I deal with a noise mean of one when the
Kalman filter assumes a mean of zero? And how can I have a Kalman filter
using both the measurements if one is in the log domain and the other
one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling rate,
any other pointers on these too would be appreciated.
As Ray pointed out these seem to be completely independent measurements,
unless V1 and V2 are correlated.
With any affine system, such as the log-domain volume system, you can
subtract out the offset to make the system linear, do your linear
processing, then add the offset back in. I.O.W., calculate log z2 = log
x2 + log v2 + 1, then define dlz2 = log z2 - 1, then find your estimated
dlz2, then back up to your estimated z2. (Note that your estimate of z2
probably won't be strictly optimal in the mean-squared sense, only your
estimate of dlz2 will be. But you'll certainly be closer than you would
by a lot of other means).
--
Tim Wescott
Control systems and communications consultinghttp://www.wescottdesign.com
Need to learn how to apply control theory in your embedded system?
"Applied Control Theory for Embedded Systems" by Tim Wescott
Elsevier/Newnes,http://www.wescottdesign.com/actfes/actfes.html
My state transition for these two measurements is given by:
F = [dt 1
1 0]
where dt is the time step, so as far as I understand it these
measurements are correlated - if z1 is positive, then z2 will be
increasing and vice versa.
Doing this in the log domain makes sense, but how can I have one
measurement in the log domain and the other not? The state transition
won't make sense.
Equation 2 will actually reach zero quite often, so maybe I need
multiplicative and additive noise in my measurement model for z2, not
too sure about that.
I really suggest that you make up a graphical model of the system,
Simulink or Scicos ( I can deal with Scicos), both the physical system
and then the proposed filtering.
RayR |
|
|
| Back to top |
|
| illywhacker... |
Posted: Tue Jul 22, 2008 3:44 am |
|
|
|
Guest
|
On Jul 21, 4:51 am, d... at (no spam) myallit.com wrote:
Quote: 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 rate measurement model:
z1 = x1 + v1 where v1 ~ N(0,e1)
Volume measurement model:
z2 = x2*v2 where v2 ~ N(1,e2)
I assumed the volume filtering should be done in the log domain to
make the noise additive but how do I deal with a noise mean of one
when the Kalman filter assumes a mean of zero? And how can I have a
Kalman filter using both the measurements if one is in the log domain
and the other one isn't?
I am also dealing with a system where measurements will usually be
missing (they are arriving sequentially) and at an uneven sampling
rate, any other pointers on these too would be appreciated.
So your multiplicative noise can be negative? This seems strange.
In any case, why not simply derive the appropriate filtering from
scratch instead of trying to find off the shelf solutions? That way
you can incorporate all the specifics of your problem.
illywhacker; |
|
|
| Back to top |
|
| stanp... |
Posted: Tue Jul 22, 2008 7:18 am |
|
|
|
Guest
|
On Jul 21, 8:06 pm, d... at (no spam) myallit.com wrote:
Quote: On Jul 21, 5:35 pm, "Bruno Luong" <b.lu... at (no spam) fogale.fr> wrote:
d... at (no spam) 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/loadFile.do?objec...
But in the first few lines of this script it says:
% for nonlinear dynamic system:
% x_k+1 = f(x_k) + w_k
% z_k = h(x_k) + v_k
% where w ~ N(0,Q) meaning w is gaussian noise with covariance Q
% v ~ N(0,R) meaning v is gaussian noise with covariance R
so the EKF looks appropriate for non-linear process models and
measurement models that can be represented by any arbitrary functions
f(x) and h(x), but the noise is still assumed to be additive.
The EKF propagates first and second moments which is essentially
treating the problem like it can be approximated like a linear
Gaussian.
Particle filters come in various flavors and there are versions that
can handle multiplicative noise. |
|
|
| Back to top |
|
| ... |
Posted: Tue Jul 22, 2008 7:02 pm |
|
|
|
Guest
|
Quote: Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab
isn't an extension of the Bible. I would trust them for examples, but
don't take their documentation for anything but a means of selling you
copies of MatLab.
The link I posted is a user contribution, not an example from the
Mathworks, so I don't trust it entirely. However the Wikipedia article
on EKF's seems to show the same formulation with the noise being
assumed to be additive, only the process and measurement models are
allowed to be non-linear:
http://en.wikipedia.org/wiki/Extended_Kalman_filter#Formulation
Does this mean the EKF is not appropriate for my problem or am I
misunderstanding how it works?
Quote: If this is a student project then why not assume there will be a set
point and the controller will maintain that set point with little
variation. Now the volume is fixed and the variance is therefore
fixed. Now you can assume the system is linear around that set point.
I have already implemented a regular Kalman filter simply by
approximating both of the noise terms as additive noise and the
results are okay but not great (another idea I might try is
approximating both of them as multiplicative noise, and then I can do
all the calculations in the log domain). To improve it I want to try
incorporating the multiplicative noise. When z2 terms have smaller
values, we have more confidence in them (less variance), so I want to
explicitly incorporate this into the filter. In particular, when z2
reaches zero, we have almost 100% confidence it is correct.
Quote: I really suggest that you make up a graphical model of the system,
Simulink or Scicos ( I can deal with Scicos), both the physical system
and then the proposed filtering.
I'm not too familiar with Simulink or Scicos but here's a small
diagram:
z2
+---------+
| |
======>| |
z1 | |
<====== | |
| |
+---------+
The measurement z1 is measuring the amount going in and out of the
container (flow rate), the measurement z2 is measuring the total
currently in the container (volume). I am trying to find the true
value of x2 (the volume) by combining the noisy measurements of z1 and
z2. Actually there are multiple sensors measuring flow rate and
volume, but I've only shown one of each to simplify the problem. The
z1 measurement has additive Gaussian noise, the z2 measurement has
multiplicative (and possibly additive?) Gaussian noise.
Quote: So your multiplicative noise can be negative? This seems strange.
In any case, why not simply derive the appropriate filtering from
scratch instead of trying to find off the shelf solutions? That way
you can incorporate all the specifics of your problem.
No I suppose it should always should be positive, I have uploaded an
example image to help clarify:
http://picasaweb.google.com.au/dspmyallit/ExampleVolumeMeasurements/photo#5226062785340902530
Quote: The EKF propagates first and second moments which is essentially
treating the problem like it can be approximated like a linear
Gaussian.
Particle filters come in various flavors and there are versions that
can handle multiplicative noise.
I will look into particle filters. Are you aware of any good C++
implementations? (For the Kalman filter I have been using MATLAB to
design and test it, OpenCV to implement it.) |
|
|
| Back to top |
|
| Tim Wescott... |
Posted: Wed Jul 23, 2008 1:16 am |
|
|
|
Guest
|
dsp at (no spam) myallit.com wrote:
Quote: Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab
isn't an extension of the Bible. I would trust them for examples, but
don't take their documentation for anything but a means of selling you
copies of MatLab.
The link I posted is a user contribution, not an example from the
Mathworks, so I don't trust it entirely. However the Wikipedia article
on EKF's seems to show the same formulation with the noise being
assumed to be additive, only the process and measurement models are
allowed to be non-linear:
http://en.wikipedia.org/wiki/Extended_Kalman_filter#Formulation
Does this mean the EKF is not appropriate for my problem or am I
misunderstanding how it works?
The 'E' in 'EKF' stands for 'extended'. I'd take that and run with it.
If you understand how the Kalman filter works you know how to iterate
your covariance matrix with known noise properties -- why not use the
predicted volume to set the noise intensity from one iteration to the next?
Quote: If this is a student project then why not assume there will be a set
point and the controller will maintain that set point with little
variation. Now the volume is fixed and the variance is therefore
fixed. Now you can assume the system is linear around that set point.
I have already implemented a regular Kalman filter simply by
approximating both of the noise terms as additive noise and the
results are okay but not great (another idea I might try is
approximating both of them as multiplicative noise, and then I can do
all the calculations in the log domain). To improve it I want to try
incorporating the multiplicative noise. When z2 terms have smaller
values, we have more confidence in them (less variance), so I want to
explicitly incorporate this into the filter. In particular, when z2
reaches zero, we have almost 100% confidence it is correct.
Good for you -- you're not just using the fancy math because it's there,
you're using it because you have to.
(responses to other guy snipped)
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Do you need to implement control loops in software?
"Applied Control Theory for Embedded Systems" gives you just what it says.
See details at http://www.wescottdesign.com/actfes/actfes.html |
|
|
| Back to top |
|
| RRogers... |
Posted: Wed Jul 23, 2008 4:35 am |
|
|
|
Guest
|
On Jul 23, 1:02 am, d... at (no spam) myallit.com wrote:
Quote: Contrary to the beliefs of some, the MathWorks isn't on high, and MatLab
isn't an extension of the Bible. I would trust them for examples, but
don't take their documentation for anything but a means of selling you
copies of MatLab.
The link I posted is a user contribution, not an example from the
Mathworks, so I don't trust it entirely. However the Wikipedia article
on EKF's seems to show the same formulation with the noise being
assumed to be additive, only the process and measurement models are
allowed to be non-linear:
http://en.wikipedia.org/wiki/Extended_Kalman_filter#Formulation
Does this mean the EKF is not appropriate for my problem or am I
misunderstanding how it works?
If this is a student project then why not assume there will be a set
point and the controller will maintain that set point with little
variation. Now the volume is fixed and the variance is therefore
fixed. Now you can assume the system is linear around that set point.
I have already implemented a regular Kalman filter simply by
approximating both of the noise terms as additive noise and the
results are okay but not great (another idea I might try is
approximating both of them as multiplicative noise, and then I can do
all the calculations in the log domain). To improve it I want to try
incorporating the multiplicative noise. When z2 terms have smaller
values, we have more confidence in them (less variance), so I want to
explicitly incorporate this into the filter. In particular, when z2
reaches zero, we have almost 100% confidence it is correct.
I really suggest that you make up a graphical model of the system,
Simulink or Scicos ( I can deal with Scicos), both the physical system
and then the proposed filtering.
I'm not too familiar with Simulink or Scicos but here's a small
diagram:
z2
+---------+
| |
======>| |
z1 | |
====== | |
| |
+---------+
The measurement z1 is measuring the amount going in and out of the
container (flow rate), the measurement z2 is measuring the total
currently in the container (volume). I am trying to find the true
value of x2 (the volume) by combining the noisy measurements of z1 and
z2. Actually there are multiple sensors measuring flow rate and
volume, but I've only shown one of each to simplify the problem. The
z1 measurement has additive Gaussian noise, the z2 measurement has
multiplicative (and possibly additive?) Gaussian noise.
So your multiplicative noise can be negative? This seems strange.
In any case, why not simply derive the appropriate filtering from
scratch instead of trying to find off the shelf solutions? That way
you can incorporate all the specifics of your problem.
No I suppose it should always should be positive, I have uploaded an
example image to help clarify:
http://picasaweb.google.com.au/dspmyallit/ExampleVolumeMeasurements/p...
The EKF propagates first and second moments which is essentially
treating the problem like it can be approximated like a linear
Gaussian.
Particle filters come in various flavors and there are versions that
can handle multiplicative noise.
I will look into particle filters. Are you aware of any good C++
implementations? (For the Kalman filter I have been using MATLAB to
design and test it, OpenCV to implement it.)
So your multiplicative noise can be negative? This seems strange.
In any case, why not simply derive the appropriate filtering from
scratch instead of trying to find off the shelf solutions? That way
you can incorporate all the specifics of your problem.
No I suppose it should always should be positive, I have uploaded an
example image to help clarify:
http://picasaweb.google.com.au/dspmyallit/ExampleVolumeMeasurements/p...
Example? Where did this data come from? If it's experimental data,
can you post the raw numbers. I can characterize it if you want.
RayR |
|
|
| Back to top |
|
| |
|
Page 1 of 1
All times are GMT - 5 Hours
The time now is Sat Nov 22, 2008 7:36 pm
|
|