12
Kalman Filtering

Kalman Filtering With Real Time Applications

Embed Size (px)

DESCRIPTION

kalman filtering

Citation preview

Page 1: Kalman Filtering With Real Time Applications

Kalman Filtering

Page 2: Kalman Filtering With Real Time Applications

C.K. Chui · G. Chen

Kalman Filteringwith Real-Time Applications

Fourth Edition

123

Page 3: Kalman Filtering With Real Time Applications

Professor Charles K. ChuiTexas A&M UniversityDepartment Mathematics608K Blocker HallCollege Station, TX, 77843USA

Professor Guanrong ChenCity University Hong KongDepartment of Electronic Engineering83 Tat Chee AvenueKowloonHong Kong/PR China

Second printing of the third edition with ISBN 3-540-64611-6, published as softcover editionin Springer Series in Information Sciences.

ISBN 978-3-540-87848-3

DOI 10.1007/978-3-540-87849-0

e-ISBN 978-3-540-87849-0

Library of Congress Control Number: 2008940869

© 2009, 1999, 1991, 1987 Springer-Verlag Berlin Heidelberg

This work is subject to copyright. All rights are reserved, whether the whole or part of the material isconcerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting,reproduction on microfilm or in any other way, and storage in data banks. Duplication of this publicationor parts thereof is permitted only under the provisions of the German Copyright Law of September 9,1965, in its current version, and permission for use must always be obtained from Springer. Violationsare liable to prosecution under the German Copyright Law.

The use of general descriptive names, registered names, trademarks, etc. in this publication does not imply,even in the absence of a specific statement, that such names are exempt from the relevant protective lawsand regulations and therefore free for general use.

Cover design: eStudioCalamar S.L., F. Steinen-Broo, Girona, Spain

Printed on acid-free paper

9 8 7 6 5 4 3 2 1

springer.com

Page 4: Kalman Filtering With Real Time Applications

Preface to the Third Edition

Two modern topics in Kalman filtering are new additions to thisThird Edition of Kalman Filtering with Real-Time Appli­cations. Interval Kalman Filtering (Chapter 10) is added to ex­pand the capability' of Kalman filtering to uncertain systems, andWavelet Kalman Filtering (Chapter 11) is introduced to incorpo­rate efficient techniques from wavelets and splines with Kalmanfiltering to give more effective computational schemes for treatingproblems in such areas as signal estimation and signal decompo­sition. It is hoped that with the addition of these two new chap­ters, the current edition gives a more complete and up-to-datetreatment of Kalman filtering for real-time applications.

College Station and HoustonAugust 1998

Charles K. ChuiGuanrong Chen

Page 5: Kalman Filtering With Real Time Applications

Preface to the Second Edition

In addition to making a number of minor corrections and updat­ing the list of references, we have expanded the section on "real­time system identification" in Chapter 10 of the first edition intotwo sections and combined it with Chapter 8. In its place, a verybrief introduction to wavelet analysis is included in Chapter 10.Although the pyramid algorithms for wavelet decompositions andreconstructions are quite different from the Kalman filtering al­gorithms, they can also be applied to time-domain filtering, andit is hoped that splines and wavelets can be incorporated withKalman filtering in the near future.

College Station and HoustonSeptember 1990

Charles K. ChuiGuanrong Chen

Page 6: Kalman Filtering With Real Time Applications

Preface to the First Edition

Kalman filtering is an optimal state estimation process appliedto a dynamic system that involves random perturbations. Moreprecisely, the Kalman filter gives a linear, unbiased, and min­imum error variance recursive algorithm to optimally estimatethe unknown state of a dynamic system from noisy data takenat discrete real-time. It has been widely used in many areas ofindustrial and government applications such as video and lasertracking systems, satellite navigation, ballistic missile trajectoryestimation, radar, and fire control. With the recent developmentof high-speed computers, the Kalman filter has become more use­ful even for very complicated real-time applications.

In spite of its importance, the mathematical theory ofKalman filtering and its implications are not well understoodeven among many applied mathematicians and engineers. In fact,most practitioners are just told what the filtering algorithms arewithout knowing why they work so well. One of the main objec­tives of this text is to disclose this mystery by presenting a fairlythorough discussion of its mathematical theory and applicationsto various elementary real-time problems.

A very elementary derivation of the filtering equations is firstpresented. By assuming that certain matrices are nonsingular,the advantage of this approach is that the optimality of theKalman filter can be easily understood. Of course these assump­tions can be dropped by using the more well known method oforthogonal projection usually known as the innovations approach.This is done next, again rigorously. This approach is extendedfirst to take care of correlated system and measurement noises,and then colored noise processes. Kalman filtering for nonlinearsystems with an application to adaptive system identification isalso discussed in this text. In addition, the limiting or steady­state Kalman filtering theory and efficient computational schemessuch as the sequential and square-root algorithms are included forreal-time application purposes. One such application is the de­sign of a digital tracking filter such as the a - f3 -, and a - f3 -, - ()

Page 7: Kalman Filtering With Real Time Applications

VIII Preface to the First Edition

trackers. Using the limit of Kalman gains to define the a, (3, 7 pa­rameters for white noise and the a, (3,7, () values for colored noiseprocesses, it is now possible to characterize this tracking filteras a limiting or steady-state Kalman filter. The state estima­tion obtained by these much more efficient prediction-correctionequations is proved to be near-optimal, in the sense that its errorfrom the optimal estimate decays exponentially with time. Ourstudy of this topic includes a decoupling method that yields thefiltering equations for each component of the state vector.

The style of writing in this book is intended to be informal,the mathematical argument throughout elementary and rigorous,and in addition, easily readable by anyone, student or profes­sional, with a minimal knowledge of linear algebra and systemtheory. In this regard, a preliminary chapter on matrix theory,determinants, probability, and least-squares is included in an at­tempt to ensure that this text be self-contained. Each chaptercontains a variety of exercises for the purpose of illustrating cer­tain related view-points, improving the understanding of the ma­terial, or filling in the gaps of some proofs in the text. Answersand hints are given at the end of the text, and a collection of notesand references is included for the reader who might be interestedin further study.

This book is designed to serve three purposes. It is writ­ten not only for self-study but also for use in a one-quarteror one-semester introductory course on Kalman filtering theoryfor upper-division undergraduate or first-year graduate appliedmathematics or engineering students. In addition, it is hopedthat it will become a valuable reference to any industrial or gov­ernment engineer.

The first author would like to thank the U.S. Army ResearchOffice for continuous support and is especially indebted to RobertGreen of the White Sands Missile Range for' his encouragementand many stimulating discussions. To his wife, Margaret, hewould like to express his appreciation for her understanding andconstant support. The second author is very grateful to ProfessorMingjun Chen of Zhongshan University for introducing him tothis important research area, and to his wife Qiyun Xian for herpatience and encouragement.

Among the colleagues who have made valuable suggestions,the authors would especially like to thank Professors AndrewChan (Texas A&M), Thomas Huang (Illinois), and ThomasKailath (Stanford). Finally, the friendly cooperation and kindassistance from Dr. Helmut Lotsch, Dr. Angela Lahee, and theireditorial staff at Springer-Verlag are greatly appreciated.

College StationTexas, January, 1987

Charles K. ChuiGuanrong Chen

Page 8: Kalman Filtering With Real Time Applications

Contents

Notation

1. Preliminaries

1.1 Matrix and Determinant Preliminaries1.2 Probability Preliminaries1.3 Least-Squares Preliminaries

Exercises

2. Kalman Filter: An Elementary Approach

2.1 The Model2.2 Optimality Criterion2.3 Prediction-Correction Formulation2.4 Kalman Filtering Process

Exercises

3. Orthogonal Projection and Kalman Filter

XIII

1

18

1518

20

2021232729

33

3.1 Orthogonality Characterization of Optimal Estimates 333.2 Innovations Sequences 353.3 Minimum Variance Estimates 373.4 Kalman Filtering Equations 383.5 Real-Time Tracking 42

Exercises 45

4. Correlated Systemand Measurement Noise Processes 49

4.1 The Affine Model 494.2 Optimal Estimate Operators 514.3 Effect on Optimal Estimation with Additional Data 524.4 Derivation of Kalman Filtering Equations 554.5 Real-Time Applications 614.6 Linear DeterministicjStochastic Systems 63

Exercises 65

Page 9: Kalman Filtering With Real Time Applications

X Contents

5. Colored Noise 67

5.1 Outline of Procedure 675.2 Error Estimates 685.3 Kalman Filtering Process 705.4 White System Noise 735.5 Real-Time Applications 73

Exercises 75

6. Limiting Kalman Filter 77

6.1 Outline of Procedure 786.2 Preliminary Results 796.3 Geometric Convergence 886.4 Real-Time Applications 93

Exercises 95

7. Sequential and Square-Root Algorithms 97

7.1 Sequential Algorithm 977.2 Square-Root Algorithm 1037.3 An Algorithm for Real-Time Applications 105

Exercises 107

8. Extended Kalman Filter and System Identification 108

8.1 Extended Kalman Filter 1088.2 Satellite Orbit Estimation 1118.3 Adaptive System Identification 1138.4 An Example of Constant Parameter Identification 1158.5 Modified Extended Kalman Filter 1188.6 Time-Varying Parameter Identification 124

Exercises 129

9. Decoupling of Filtering Equations 131

9.1 Decoupling Formulas 1319.2 Real-Time Tracking 1349.3 The a - {3 -1 Tracker 1369.4 An Example 139

Exercises 140

Page 10: Kalman Filtering With Real Time Applications

Contents XI

10. Kalman Filtering for Interval Systems 143

10.1 Interval Mathematics 14310.2 Interval Kalman Filtering 15410.3 Weighted-Average Interval Kalman Filtering 160

Exercises 162

11. Wavelet Kalman Filtering 164

11.1 Wavelet Preliminaries 16411.2 Signal Estimation and Decomposition 170

Exercises 177

12. Notes 178

12.1 The Kalman Smoother 17812.2 The a - {3 - , - () Tracker 18012.3 Adaptive Kalman Filtering 18212.4 Adaptive Kalman Filtering Approach

to Wiener Filtering 18412.5 The Kalman-Bucy Filter 18512.6 Stochastic Optimal Control 18612.7 Square-Root Filtering

and Systolic Array Implementation 188

References 191

Answers and Hints to Exercises 197

Subject Index 227

Page 11: Kalman Filtering With Real Time Applications

Notation

A, Ak systena naatricesAC "square-root" of A

in Cholesky factorization 103AU "square-root" of A

in upper triangular deconaposition 107B, Bk control input naatricesC, Ck naeasurenaent naatricesCov(X, Y) covariance of randona variables X and Y 13E(X) expectation of randona variable X 9E(XIY = y) conditional expectation 14ej, ej 36,37f(x) probability density function 9f(Xl, X2) joint probability density function 10f(Xllx2) conditional probability density function 12fk(Xk) vector-valued nonlinear functions 108G linaiting Kalnaan gain naatrix 78Gk Kalnaan gain naatrix 23Hk(Xk) naatrix-valued nonlinear function 108H* 50In n X n identity naatrixJ Jordan canonical forna of a matrix 7Kk 56L(x, v) 51MAr controllability matrix 85NCA observability matrix 79Onxm n x m zero matrixP limiting (error) covariance matrix 79Pk,k estimate (error) covariance matrix 26P[i,j] (i, j)th entry of naatrix PP(X) probability of random variable X 8Qk variance matrix of random vector ikRk variance matrix of random vector !l.k

Page 12: Kalman Filtering With Real Time Applications

XIV Notation

Rn space of column vectors x = [Xl ... xn]TSk covariance matrix of Sk and '!1ktr traceUk deterministic control input

(at the kth time instant)Var(X) variance of random variable XVar(XIY = y) conditional varianceVk observation (or measurement) data

(at the kth time instant)

555

1014

5253,5734333435

531534164

"norm" ofw

weight matrix

integral wavelet transformstate vector (at the kth time instant)optimal filtering estimate of Xk

optimal prediction of Xk

suboptimal estimate of Xk

near-optimal estimate of Xk

V2#

WkWj

(W1/Jf)(b, a)Xk

Xk, xklkxklk-l

XkXkx*x# x#, k

IIwll(x, w) "inner product" of x and WY(wo,···, w r ) "linear span" of vectors Wo,···, Wr

{Zj} innovations sequence of data

2265110

136,141,18067

a,{3,,,,/,(}

{~k}' {lk}r, rkbij

!.k,£' ~k,£

'!1kSk<I>k£

df/dA8hj8x

tracker parameterswhite noise sequencessystem noise matricesKronecker delta 15random (noise) vectors 22measurement noise (at the kth time instant)system noise (at the kth time instant)transition matrixJacobian matrixJacobian matrix