The Unscented Kalman Filter for Nonlinear Estimation
Total Page:16
File Type:pdf, Size:1020Kb
Load more
Recommended publications
-
A Neural Implementation of the Kalman Filter
A Neural Implementation of the Kalman Filter Robert C. Wilson Leif H. Finkel Department of Psychology Department of Bioengineering Princeton University University of Pennsylvania Princeton, NJ 08540 Philadelphia, PA 19103 [email protected] Abstract Recent experimental evidence suggests that the brain is capable of approximating Bayesian inference in the face of noisy input stimuli. Despite this progress, the neural underpinnings of this computation are still poorly understood. In this pa- per we focus on the Bayesian filtering of stochastic time series and introduce a novel neural network, derived from a line attractor architecture, whose dynamics map directly onto those of the Kalman filter in the limit of small prediction error. When the prediction error is large we show that the network responds robustly to changepoints in a way that is qualitatively compatible with the optimal Bayesian model. The model suggests ways in which probability distributions are encoded in the brain and makes a number of testable experimental predictions. 1 Introduction There is a growing body of experimental evidence consistent with the idea that animals are some- how able to represent, manipulate and, ultimately, make decisions based on, probability distribu- tions. While still unproven, this idea has obvious appeal to theorists as a principled way in which to understand neural computation. A key question is how such Bayesian computations could be per- formed by neural networks. Several authors have proposed models addressing aspects of this issue [15, 10, 9, 19, 2, 3, 16, 4, 11, 18, 17, 7, 6, 8], but as yet, there is no conclusive experimental evidence in favour of any one and the question remains open. -
Kalman and Particle Filtering
Abstract: The Kalman and Particle filters are algorithms that recursively update an estimate of the state and find the innovations driving a stochastic process given a sequence of observations. The Kalman filter accomplishes this goal by linear projections, while the Particle filter does so by a sequential Monte Carlo method. With the state estimates, we can forecast and smooth the stochastic process. With the innovations, we can estimate the parameters of the model. The article discusses how to set a dynamic model in a state-space form, derives the Kalman and Particle filters, and explains how to use them for estimation. Kalman and Particle Filtering The Kalman and Particle filters are algorithms that recursively update an estimate of the state and find the innovations driving a stochastic process given a sequence of observations. The Kalman filter accomplishes this goal by linear projections, while the Particle filter does so by a sequential Monte Carlo method. Since both filters start with a state-space representation of the stochastic processes of interest, section 1 presents the state-space form of a dynamic model. Then, section 2 intro- duces the Kalman filter and section 3 develops the Particle filter. For extended expositions of this material, see Doucet, de Freitas, and Gordon (2001), Durbin and Koopman (2001), and Ljungqvist and Sargent (2004). 1. The state-space representation of a dynamic model A large class of dynamic models can be represented by a state-space form: Xt+1 = ϕ (Xt,Wt+1; γ) (1) Yt = g (Xt,Vt; γ) . (2) This representation handles a stochastic process by finding three objects: a vector that l describes the position of the system (a state, Xt X R ) and two functions, one mapping ∈ ⊂ 1 the state today into the state tomorrow (the transition equation, (1)) and one mapping the state into observables, Yt (the measurement equation, (2)). -
Linearisation of Analogue to Digital and Digital to Analogue Converters Can Be Achieved by Threshold Tracking
LINEARISATION OF ANALOGUE TO DIGITAL AND DIGITAL TO ANALOGUE CONVERTERS ALAN CHRISTOPHER DENT, B.Sc, AMIEE, MIEEE A thesis submitted for the degree of Doctor of Philosophy, to the Faculty of Science, at the University of Edinburgh, May 1990. 7. DECLARATION OF ORIGINALITY I hereby declare that this thesis and the work reported herein was composed and originated entirely by myself in the Department of Electrical Engineering, at the University of Edinburgh, between October 1986 and May 1990. Iffl ABSTRACT Monolithic high resolution Analogue to Digital and Digital to Analogue Converters (ADC's and DAC's), cannot currently be manufactured with as much accuracy as is desirable, due to the limitations of the various fabrication technologies. The tolerance errors introduced in this way cause the converter transfer functions to be nonlinear. This nonlinearity can be quantified in static tests measuring integral nonlinearity (INL) and differential nonlinearity (DNL). In the dynamic testing of the converters, the transfer function nonlinearity is manifested as harmonic distortion, and intermodulation products. In general, regardless of the conversion technique being used, the effects of the transfer function nonlinearities get worse as converter resolution and speed increase. The result is that these nonlinearities can cause severe problems for the system designer who needs to accurately convert an input signal. A review is made of the performance of modern converters, and the existing methods of eliminating the nonlinearity, and of some of the schemes which have been proposed more recently. A new method is presented whereby code density testing techniques are exploited so that a sufficiently detailed characterisation of the converter can be made. -
Lecture 8 the Kalman Filter
EE363 Winter 2008-09 Lecture 8 The Kalman filter • Linear system driven by stochastic process • Statistical steady-state • Linear Gauss-Markov model • Kalman filter • Steady-state Kalman filter 8–1 Linear system driven by stochastic process we consider linear dynamical system xt+1 = Axt + But, with x0 and u0, u1,... random variables we’ll use notation T x¯t = E xt, Σx(t)= E(xt − x¯t)(xt − x¯t) and similarly for u¯t, Σu(t) taking expectation of xt+1 = Axt + But we have x¯t+1 = Ax¯t + Bu¯t i.e., the means propagate by the same linear dynamical system The Kalman filter 8–2 now let’s consider the covariance xt+1 − x¯t+1 = A(xt − x¯t)+ B(ut − u¯t) and so T Σx(t +1) = E (A(xt − x¯t)+ B(ut − u¯t))(A(xt − x¯t)+ B(ut − u¯t)) T T T T = AΣx(t)A + BΣu(t)B + AΣxu(t)B + BΣux(t)A where T T Σxu(t) = Σux(t) = E(xt − x¯t)(ut − u¯t) thus, the covariance Σx(t) satisfies another, Lyapunov-like linear dynamical system, driven by Σxu and Σu The Kalman filter 8–3 consider special case Σxu(t)=0, i.e., x and u are uncorrelated, so we have Lyapunov iteration T T Σx(t +1) = AΣx(t)A + BΣu(t)B , which is stable if and only if A is stable if A is stable and Σu(t) is constant, Σx(t) converges to Σx, called the steady-state covariance, which satisfies Lyapunov equation T T Σx = AΣxA + BΣuB thus, we can calculate the steady-state covariance of x exactly, by solving a Lyapunov equation (useful for starting simulations in statistical steady-state) The Kalman filter 8–4 Example we consider xt+1 = Axt + wt, with 0.6 −0.8 A = , 0.7 0.6 where wt are IID N (0, I) eigenvalues of A are -
Active Non-Linear Filter Design Utilizing Parameter Plane Analysis Techniques
1 ACTIVE NONLINEAR FILTER DESIGN UTILIZING PARAMETER PLANE ANALYSIS TECHNIQUES by Wi 1 ?am August Tate It a? .1 L4 ULUfl United States Naval Postgraduate School ACTIVE NONLINEAR FILTER DESIGN UTILIZING PARAMETER PLANE ANALYSIS TECHNIQUES by William August Tate December 1970 ThU document ka6 bzzn appnjovtd ^oh. pubtic. K.Z.- tza&c and 6 ate; Ltb dUtAtbuutlon -U untunitzd. 13781 ILU I I . Active Nonlinear Filter Design Utilizing Parameter Plane Analysis Techniques by William August Tate Lieutenant, United States Navy B.S., Leland Stanford Junior University, 1963 Submitted in partial fulfillment of the requirement for the degrees of ELECTRICAL ENGINEER and MASTER OF SCIENCE IN ELECTRICAL ENGINEERING from the NAVAL POSTGRADUATE SCHOOL December 1970 . SCHOSf NAVAL*POSTGSi&UATE MOMTEREY, CALIF. 93940 ABSTRACT A technique for designing nonlinear active networks having a specified frequency response is presented. The technique, which can be applied to monolithic/hybrid integrated-circuit devices, utilizes the parameter plane method to obtain a graphical solution for the frequency response specification in terms of a frequency-dependent resistance. A limitation to this design technique is that the nonlinear parameter must be a slowly-varying quantity - the quasi-frozen assumption. This limitation manifests itself in the inability of the nonlinear networks to filter a complex signal according to the frequency response specification. Within the constraints of this limitation, excellent correlation is attained between the specification and measurements of the frequency response of physical networks Nonlinear devices, with emphasis on voltage-controlled nonlinear FET resistances and nonlinear device frequency controllers, are realized physically and investigated. Three active linear filters, modified with the nonlinear parameter frequency are constructed, and comparisons made to the required specification. -
Chapter 3 FILTERS
Chapter 3 FILTERS Most images are a®ected to some extent by noise, that is unexplained variation in data: disturbances in image intensity which are either uninterpretable or not of interest. Image analysis is often simpli¯ed if this noise can be ¯ltered out. In an analogous way ¯lters are used in chemistry to free liquids from suspended impurities by passing them through a layer of sand or charcoal. Engineers working in signal processing have extended the meaning of the term ¯lter to include operations which accentuate features of interest in data. Employing this broader de¯nition, image ¯lters may be used to emphasise edges | that is, boundaries between objects or parts of objects in images. Filters provide an aid to visual interpretation of images, and can also be used as a precursor to further digital processing, such as segmentation (chapter 4). Most of the methods considered in chapter 2 operated on each pixel separately. Filters change a pixel's value taking into account the values of neighbouring pixels too. They may either be applied directly to recorded images, such as those in chapter 1, or after transformation of pixel values as discussed in chapter 2. To take a simple example, Figs 3.1(b){(d) show the results of applying three ¯lters to the cashmere ¯bres image, which has been redisplayed in Fig 3.1(a). ² Fig 3.1(b) is a display of the output from a 5 £ 5 moving average ¯lter. Each pixel has been replaced by the average of pixel values in a 5 £ 5 square, or window centred on that pixel. -
Kalman-Filter Control Schemes for Fringe Tracking
A&A 541, A81 (2012) Astronomy DOI: 10.1051/0004-6361/201218932 & c ESO 2012 Astrophysics Kalman-filter control schemes for fringe tracking Development and application to VLTI/GRAVITY J. Menu1,2,3,, G. Perrin1,3, E. Choquet1,3, and S. Lacour1,3 1 LESIA, Observatoire de Paris, CNRS, UPMC, Université Paris Diderot, Paris Sciences et Lettres, 5 place Jules Janssen, 92195 Meudon, France 2 Instituut voor Sterrenkunde, KU Leuven, Celestijnenlaan 200D, 3001 Leuven, Belgium e-mail: [email protected] 3 Groupement d’Intérêt Scientifique PHASE (Partenariat Haute résolution Angulaire Sol Espace) between ONERA, Observatoire de Paris, CNRS and Université Paris Diderot, France Received 31 January 2012 / Accepted 28 February 2012 ABSTRACT Context. The implementation of fringe tracking for optical interferometers is inevitable when optimal exploitation of the instrumental capacities is desired. Fringe tracking allows continuous fringe observation, considerably increasing the sensitivity of the interfero- metric system. In addition to the correction of atmospheric path-length differences, a decent control algorithm should correct for disturbances introduced by instrumental vibrations, and deal with other errors propagating in the optical trains. Aims. In an effort to improve upon existing fringe-tracking control, especially with respect to vibrations, we attempt to construct con- trol schemes based on Kalman filters. Kalman filtering is an optimal data processing algorithm for tracking and correcting a system on which observations are performed. As a direct application, control schemes are designed for GRAVITY, a future four-telescope near-infrared beam combiner for the Very Large Telescope Interferometer (VLTI). Methods. We base our study on recent work in adaptive-optics control. -
1 the Kalman Filter
Macroeconometrics, Spring, 2019 Bent E. Sørensen August 20, 2019 1 The Kalman Filter We assume that we have a model that concerns a series of vectors αt, which are called \state vectors". These variables are supposed to describe the current state of the system in question. These state variables will typically not be observed and the other main ingredient is therefore the observed variables yt. The first step is to write the model in state space form which is in the form of a linear system which consists of 2 sets of linear equations. The first set of equations describes the evolution of the system and is called the \Transition Equation": αt = Kαt−1 + Rηt ; where K and R are matrices of constants and η is N(0;Q) and serially uncorrelated. (This setup allows for a constant also.) The second set of equations describes the relation between the state of the system and the observations and is called the \Measurement Equation": yt = Zαt + ξt ; where ξt is N(0;H), serially uncorrelated, and E(ξtηt−j) = 0 for all t and j. It turns out that a lot of models can be put in the state space form with a little imagination. The main restriction is of course on the linearity of the model while you may not care about the normality condition as you will still be doing least squares. The state-space model as it is defined here is not the most general possible|it is in principle easy to allow for non-stationary coefficient matrices, see for example Harvey(1989). -
BDS/GPS Multi-System Positioning Based on Nonlinear Filter Algorithm
Global Journal of Computer Science and Technology: G Interdisciplinary Volume 16 Issue 1 Version 1.0 Year 2016 Type: Double Blind Peer Reviewed International Research Journal Publisher: Global Journals Inc. (USA) Online ISSN: 0975-4172 & Print ISSN: 0975-4350 BDS/GPS Multi-System Positioning based on Nonlinear Filter Algorithm By JaeHyok Kong, Xuchu Mao & Shaoyuan Li Shanghai Jiao Tong University Abstract- The Global Navigation Satellite System can provide all-day three-dimensional position and speed information. Currently, only using the single navigation system cannot satisfy the requirements of the system's reliability and integrity. In order to improve the reliability and stability of the satellite navigation system, the positioning method by BDS and GPS navigation system is presented, the measurement model and the state model are described. Furthermore, Unscented Kalman Filter (UKF) is employed in GPS and BDS conditions, and analysis of single system/multi-systems’ positioning has been carried out respectively. The experimental results are compared with the estimation results, which are obtained by the iterative least square method and the extended Kalman filtering (EFK) method. It shows that the proposed method performed high-precise positioning. Especially when the number of satellites is not adequate enough, the proposed method can combine BDS and GPS systems to carry out a higher positioning precision. Keywords: global navigation satellite system (GNSS), positioning algorithm, unscented kalman filter (UKF), beidou navigation system (BDS). GJCST-G Classification : G.1.5, G.1.6, G.2.1 BDSGPSMultiSystemPositioningbasedonNonlinearFilterAlgorithm Strictly as per the compliance and regulations of: © 2016. JaeHyok Kong, Xuchu Mao & Shaoyuan Li. This is a research/review paper, distributed under the terms of the Creative Commons Attribution-Noncommercial 3.0 Unported License http://creativecommons.org/ licenses/by-nc/3.0/), permitting all non- commercial use, distribution, and reproduction in any medium, provided the original work is properly cited. -
E160 – Lecture 11 Autonomous Robot Navigation
E160 – Lecture 11 Autonomous Robot Navigation Instructor: Chris Clark Semester: Spring 2016 1 Figures courtesy of Siegwart & Nourbakhsh A “cool” robot? https://www.youtube.com/watch?v=R8NXWkGzm1E 2 A “mobile” robot? http://www.theguardian.com/lifeandstyle/video/2015/feb/19/ 3 wearable-tomato-2015-tokyo-marathon-video Control Structures Planning Based Control Prior Knowledge Operator Commands Localization Cognition Perception Motion Control 4 ! Kalman Filter Localization § Introduction to Kalman Filters 1. KF Representations 2. Two Measurement Sensor Fusion 3. Single Variable Kalman Filtering 4. Multi-Variable KF Representations § Kalman Filter Localization 5 KF Representations § What do Kalman Filters use to represent the states being estimated? Gaussian Distributions! 6 KF Representations § Single variable Gaussian Distribution § Symmetrical § Uni-modal § Characterized by § Mean µ § Variance σ2 § Properties § Propagation of errors § Product of Gaussians 7 KF Representations § Single Var. Gaussian Characterization § Mean § Expected value of a random variable with a continuous Probability Density Function p(x) µ = E[X] = x p(x) dx § For a discrete set of K samples K µ = Σ xk /K k=1 8 KF Representations § Single Var. Gaussian Characterization § Variance § Expected value of the difference from the mean squared σ2 =E[(X-µ)2] = (x – µ)2p(x) dx § For a discrete set of K samples K 2 2 σ = Σ (xk – µ ) /K k=1 9 KF Representations § Single variable Gaussian Properties § Propagation of Errors 10 KF Representations § Single variable Gaussian Properties § Product of Gaussians 11 KF Representations § Single variable Gaussian Properties… § We stay in the “Gaussian world” as long as we start with Gaussians and perform only linear transformations. -
Improved Audio Coding Using a Psychoacoustic Model Based on a Cochlear Filter Bank Frank Baumgarte
IEEE TRANSACTIONS ON SPEECH AND AUDIO PROCESSING, VOL. 10, NO. 7, OCTOBER 2002 495 Improved Audio Coding Using a Psychoacoustic Model Based on a Cochlear Filter Bank Frank Baumgarte Abstract—Perceptual audio coders use an estimated masked a band and the range of spectral components that can interact threshold for the determination of the maximum permissible within a band, e.g., two sinusoids creating a beating effect. This just-inaudible noise level introduced by quantization. This es- interaction plays a crucial role in the perception of whether a timate is derived from a psychoacoustic model mimicking the properties of masking. Most psychoacoustic models for coding sound is noise-like which in turn corresponds to a significantly applications use a uniform (equal bandwidth) spectral decomposi- more efficient masking compared with a tone-like signal [2]. tion as a first step to approximate the frequency selectivity of the The noise or tone-like character is basically determined by human auditory system. However, the equal filter properties of the the amount of envelope fluctuations at the cochlear filter uniform subbands do not match the nonuniform characteristics of outputs which widely depend on the interaction of the spectral cochlear filters and reduce the precision of psychoacoustic mod- eling. Even so, uniform filter banks are applied because they are components in the pass-band of the filter. computationally efficient. This paper presents a psychoacoustic Many existing psychoacoustic models, e.g., [1], [3], and [4], model based on an efficient nonuniform cochlear filter bank employ an FFT-based transform to derive a spectral decom- and a simple masked threshold estimation. -
Introduction to the Kalman Filter and Tuning Its Statistics for Near Optimal Estimates and Cramer Rao Bound
Introduction to the Kalman Filter and Tuning its Statistics for Near Optimal Estimates and Cramer Rao Bound by Shyam Mohan M, Naren Naik, R.M.O. Gemson, M.R. Ananthasayanam Technical Report : TR/EE2015/401 arXiv:1503.04313v1 [stat.ME] 14 Mar 2015 DEPARTMENT OF ELECTRICAL ENGINEERING INDIAN INSTITUTE OF TECHNOLOGY KANPUR FEBRUARY 2015 Introduction to the Kalman Filter and Tuning its Statistics for Near Optimal Estimates and Cramer Rao Bound by Shyam Mohan M1, Naren Naik2, R.M.O. Gemson3, M.R. Ananthasayanam4 1Formerly Post Graduate Student, IIT, Kanpur, India 2Professor, Department of Electrical Engineering, IIT, Kanpur, India 3Formerly Additional General Manager, HAL, Bangalore, India 4Formerly Professor, Department of Aerospace Engineering, IISc, Banglore Technical Report : TR/EE2015/401 DEPARTMENT OF ELECTRICAL ENGINEERING INDIAN INSTITUTE OF TECHNOLOGY KANPUR FEBRUARY 2015 ABSTRACT This report provides a brief historical evolution of the concepts in the Kalman filtering theory since ancient times to the present. A brief description of the filter equations its aesthetics, beauty, truth, fascinating perspectives and competence are described. For a Kalman filter design to provide optimal estimates tuning of its statistics namely initial state and covariance, unknown parameters, and state and measurement noise covariances is important. The earlier tuning approaches are reviewed. The present approach is a reference recursive recipe based on multiple filter passes through the data without any optimization to reach a ‘statistical equilibrium’ solution. It utilizes the a priori, a pos- teriori, and smoothed states, their corresponding predicted measurements and the actual measurements help to balance the measurement equation and similarly the state equation to help form a generalized likelihood cost function.