User:ParaTechNoid/ABfilter
An alpha beta filter (or alpha-beta filter) is a simplified form of state observer for estimation, data smoothing and control applications. It is closely related to Kalman filters and to state observers used in control theory.
Overview
[edit]An alpha beta filter presumes that a sampled data set results from measuring a system having two states, where the first state is obtained by integrating the value of the second state over time. This is an adequate approximation for many simple systems, for example, mechanical systems where position is obtained as the time integral of velocity. Based on a mechanical system analogy, the two states will be called position x and velocity v. Assuming that velocity remains approximately constant for the small increment of time T between measurements, the position state can be projected forward to the next time interval using
If additional information about a driving function for the v state is known, v can be projected in the same manner as the x state, replacing the usual assumption is that v is approximately constant.
The system output corresponds to the measured value of the state x. The deviation (also called the residual or innovation) between the measured x and the projected value can be calculated. Call this difference r.
Suppose that residual r is positive. Possibly the previous x estimate was low, the previous v was low, or some combination of the two. The alpha beta filter takes selected alpha and beta constants (from which the filter gets its name), uses alpha times the deviation r to correct the position estimate, and uses beta times the deviation r to correct the velocity estimate. An extra T factor conventionally serves to approximately normalize magnitudes of the multipliers. The alpha and beta gains are selected for best performance, yielding the following estimates.
Over a large number of updates, the effects of the corrections accumulate. The state estimates often track actual state values closely, even when the measurements of x contain substantial levels of zero-mean random noise. This ability to estimate states more accurately than they can be measured directly is the motivation for calling the alpha-beta process a filter. Sometimes the results are sufficiently good that more sophisticated and elaborate methods do not offer any significant improvement.
Relationship to general state observers
[edit]More general state observers, such as the Luenberger observer for linear control models, use a rigorous system model. As a generalization of the alpha and beta gains, linear observers use a gain matrix to determine state estimate corrections from multiple observed deviations. Like alpha beta filters, but unlike Kalman filters, there is no general theory for determining the best observer gain terms.
In linear control applications, the Luenberger observer equations reduce to the alpha beta filter by applying the following specializations and simplifications.
- The discrete state transition matrix A is a square matrix of dimension 2, with all main diagonal terms equal to 1, and T on the super-diagonal.
- The observation equation matrix C has one row that selects the value of the first state variable for output.
- The filter correction gain matrix L has one column containing the alpha and beta gain values.
- Any known driving signal for the second state term is represented as part of the input signal vector u, otherwise the u vector is set to zero.
- Input coupling matrix B has a non-zero gain term as its last element if u is non-zero.
Relationship to Kalman Filters
[edit]A Kalman filter estimates the values of state variables and corrects them in a manner similar to a state observer or an alpha beta filter. However, a Kalman filter does this in a much more formal and rigorous manner. The principal differences between Kalman filters and alpha beta filters are the following:
- Like a state observer, a Kalman filter uses a detailed dynamic system model that is not restricted to two states.
- A Kalman filter uses covariance noise models for states and observations.
- Like observers, Kalman filters can use multiple observed variables to correct state variable estimates. Alpha beta filtering uses only one residual.
- The state estimate variance is time-varying and adjusted automatically. Uncertainty about the initial state of the system can be represented by an appropriate selection of the initial-state covariance matrix.
- The alpha and beta gains are generalized to a Kalman gain matrix, computed automatically using the system and covariance models.
- Within certain limitations, a Kalman filter is Wiener optimal.
The alpha beta gamma extension
[edit]It is sometimes useful to extend the assumptions of the alpha beta filter one level. The second state variable v is presumed to be obtained from integrating a third acceleration a state, analogous to the way that the first state is obtained by integrating the second. An equation for integrating the a state to obtain v is added to the equation system. A third multiplier, gamma, is selected for applying corrections to the new a state estimates. The alpha beta gamma update equations then become
Extensions to additional higher orders are possible, but typically are not as useful.
See also
[edit][1] [2] [3] [4] [5] [6] [7] [8]
References
[edit]- ^ http://www.ddj.com/cpp/184402735 "The Alpha-Beta Filter", Penoyer, Robert; C Users Journal, July 1993.
- ^ http://www.mstarlabs.com/control/engspeed.htm "Engine Speed Monitoring: The Alpha-Beta Filter", Trammell, Larry; Microstar Laboratories.
- ^ http://code.eng.buffalo.edu/tracking/papers/tenne_optimalFilter2000.pdf "Optimal Design of Alpha-Beta(-Gamma) Filters", Tenne, Dirk; and Singh, Tarunraj; Center for Multisource Information Fusion, State University of New York at Buffalo, Buffalo, NY.
- ^ http://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel4/7/2265/00062250.pdf?arnumber=62250 "Reconciling steady-state Kalman and alpha-beta filter design", by Painter, J.H.; Kerstetter, D.; Jowers, S. IEEE Transactions on Aerospace and Electronic Systems, Volume 26, Issue 6, Nov 1990 Page(s):986 - 991.
- ^ http://ieeexplore.ieee.org/Xplore/login.jsp?url=/iel5/7/30189/01386894.pdf?temp=x Fixed-lag alpha-beta filter for target trajectory smoothing Ogle, T.L.; Blair, W.D. Aerospace and Electronic Systems, IEEE Transactions on Volume 40, Issue 4, Oct. 2004 Page(s): 1417 - 1421.
- ^ http://stinet.dtic.mil/oai/oai?verb=getRecord&metadataPrefix=html&identifier=AD0759011 "Description of an alpha-beta Filter in Cartesian Coordinates", by Cantrell, Ben H., NAVAL RESEARCH LAB WASHINGTON DC, March 21, 1973.
- ^ http://stinet.dtic.mil/oai/oai?verb=getRecord&metadataPrefix=html&identifier=ADA329021 "Comparison of Four Filtering Options for a Radar Tracking Problem", by Lawton, John A. ; Jesionowski, Robert J. ; Zarchan, Paul. NAVAL SURFACE WARFARE CENTER DAHLGREN DIV VA, 1979.
- ^ "Mathematical Techniques in Multisensor Data Fusion", By David Lee Hall, Sonya A. H., Artech House, 2004, ISBN 1580533353, section 4.4.4
Category:Signal processing Category:Control theory Category:Estimation theory