- **Mechanical Engineering**
(*http://www.physicsforums.com/forumdisplay.php?f=101*)

- - **The Extended Kalman Filter**
(*http://www.physicsforums.com/showthread.php?t=132304*)

The Extended Kalman FilterI've been asked to design a Kalman Filter where we can observe several states of a process (some of which being related to each other) and to use the Kalman filter to combine related observations to get a better estimate of each.
Some texts I've been reading seem to indicate instead of making a prediction and measurement and using these to form the best estimate, two measurements are combined to form the best estimate (of one of the measurements). In examples, the two measurements seem to be usually a state and its derivative. I find all of this quite confusing - is this a proper technique? Let's say, for example, we can measure [tex] u,\ v,\ w,\ V_{tot} [/tex] where [tex]u,\ v\ and\ w[/tex] represent the speed in 3 dimensions and [tex]V_{tot}[/tex] is the total velocity - i.e. [tex]V_{tot}=\sqrt{(u^2+v^2+w^2)}[/tex] I guess the rates of change of these variables are also observable. How could the Kalman filter be used here (where functions to make predictions of the next step are unknown)... Something else that would really be terrific would be a worked example of an ekf with a nonlinear system - many people seem to have difficulty understanding this (myself included, and I've been reading about them for over a year now!). |

EKF & Complementary FiltersHello Ultima,
Quote:
When you sense atmospheric pressures around the airplane, it is a natural result that pressure measurements will have a high amplitude, high frequency noise content. This is a result of small and rapid pressure fluctuations as the airplane moves through an airmass. Since control surface effectiveness varies with dynamic pressure (airspeed squared), air speed becomes an important measurement for being able to "schedule" the control system's gain and phase frequency response. Quote:
Quote:
For any given system sensor (pressure sensor, rate sensor, temperature sensor, acceleration sensor...) the manufacturer of that sensor can tell you the sensor's performance in terms of its frequency response (gain and phase). The EKF/Comp Filter technique tells you to look at the freq responses of SIMILAR/RELATED sensor measurements and see where they complement each other in Gain and/or Phase. For any given control application you can (as a result of plant dynamic analysis) define a required control frequency response for the overall vehicle/system. Your task in doing the filter design is to mathematically merge (in the frequency domain) the two signals to come out with an estimated signal that meets the system frequency response requirement. I hope this helps. I know I did not get into specifics, but it was just to give you a flavor of the task. Rainman |

Hi Rainman,
Thanks for replying. I wasn't expecting such a quick response. You've certainly brought some things to my attention I was unaware of and given me some interesting things to think about. In actual fact, it's the states of an aircraft I'm looking at (about 12, including position, angle of attack, sideslip, attitude and angular velocities) - but I want to keep things as simple as possible for the moment. Currently I'm not worrying about control (may incorporate that later), but rather just on how to improve the sensor measurements (using a kf/efk), given other measurements, all of which are assigned an arbitrary amount of noise. Aside:I'm also trying to figure out equations that would allow the normal predictive element of the ekf to be used (how to build a state transition matrix) as the plane will be describing a diagonal figure of 8 - so [tex]x_{k+1}=x_k + \dot{x_k}\Delta t[/tex] would be a bit inappropriate. (where x is any particular state) |

Hi Ultima, your name isnt Pedro by any chance, is it? :wink: :biggrin:
Someone should make a tutorial on kalman filtering....any takers? o:) But I will admit, that stuff becomes way over my head after page 2! :surprised I need to take that course in the future, what do you recomend in terms of math? I think a ton of linear algebra, and a ton of statistics? What courses specifically do you recomend I take? I have taken basic linear algebra and engineering prob/stat. |

I know this is a tricky area, but I had kind of hoped for at least some light shed on my initial question.
Cyrus, there are several good tutorials about the basic Kalman filter on the internet that provide the ground-work. It's easy to implement on simple, linear systems. The EKF is the point when help fades away and you only find vague concepts and no fully worked examples. I think reading on the modelling of dynamic systems, ODE's, and linearisation techniques (for using the EKF) are usually the biggest milestones when it comes to creating such a filter. |

All times are GMT -5. The time now is 01:19 PM. |

Powered by vBulletin Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

© 2014 Physics Forums