Need a filter identified.
Need a filter identified.
(OP)
I have a filter, I need someone to bell this cat;
FilteredValue = (0.3 x LastFilteredValue) + [(1.0 - 0.3) x Value]
LastFilteredValue = FilteredValue
What kind of filter is this, weighted box?
Can you point me to an explaination somewhere?
Thanks for the help.
FilteredValue = (0.3 x LastFilteredValue) + [(1.0 - 0.3) x Value]
LastFilteredValue = FilteredValue
What kind of filter is this, weighted box?
Can you point me to an explaination somewhere?
Thanks for the help.





RE: Need a filter identified.
TTFN
RE: Need a filter identified.
RE: Need a filter identified.
RE: Need a filter identified.
I will search for all combinations.
Thanks much guys..
BTW: It's a nice filter for microprocessors because you can avoid division.
RE: Need a filter identified.
In a physical (Newton) system you usually have Distance, speed, acceleration etc. With those 3 states you have a Alpha-Beta-Gamma (or G-H-K) filter, where the 3 'Greeks' are the gain parameters for each state. (Not including the derived time matrix. 1, t, sqr(t)/2 etc.)
Digital filters like this are the core in regulators, trackers and Kalman filters.
RE: Need a filter identified.
h
has a long discussion about the canonical forms of this type of filter. Basic alpha-beta, ghk, and Kalman filters all have the same generic form. The difference is in the values of the weightings, and when and how they are changed.
TTFN
RE: Need a filter identified.
I even made it through all the matrix stuff implementing a full Kalman thing
I later settled for the easier Simpson filter also mentioned there.
RE: Need a filter identified.
Do you want or need the equations for the coefficients of the filter?
RE: Need a filter identified.
This it turns out, is more generally called, a Weighted Moving Average filter. Turns out it is one of the three standard stock market filters used. Apparently traders frequently use a 200 day moving average. But if a stock starts moving quickly with large amplitude the two hundred day moving average doesn't reflect this worth a dang. So they weight the previous 199 days less and "today" more.
Which is what this filter does (and works well!). The reason I wrote it with that strange second subtraction is to remind me that what ever percent you weight the past with, you must contend with on the present, so everything stays 100%.
Thanks everyone for the help!
RE: Need a filter identified.
The filter you describe would be more colloquially called a weighted fading memory filter, because, as long as you have precision to resolve it, every old sample is still weighted into the current value. The weighting of the old value dictates the time constant of the memory of the filter.
TTFN
RE: Need a filter identified.
I might even call it a "weighted infinite memory filter".
Since there is a piece of the very first reading in the latest calculation. Rather like trying to dilute a batch of liquid by changing out 70% over and over.
RE: Need a filter identified.
Is my terminology very outdated? Or do we not speak the same language when it comes to filters?
RE: Need a filter identified.
EE -- IIR, FIR
Finance -- Moving average
Radar -- alpha-beta
Navigation -- Kalman
commensurate with those is that the implementer is usually a different discipline as well
TTFN
RE: Need a filter identified.
Much needed clarification!!
I think that I am too much EE - and very little finance or navigation.
RE: Need a filter identified.
It never solidified in my mind in that clear form.
A star!