Steady-state DKF. M. Sami Fadali Professor EE UNR

Similar documents
Dissipativity. Outline. Motivation. Dissipative Systems. M. Sami Fadali EBME Dept., UNR

Particle Filters. Outline

Outline. Input to state Stability. Nonlinear Realization. Recall: _ Space. _ Space: Space of all piecewise continuous functions

OPTIMAL CONTROL AND ESTIMATION

The Kalman Filter. Data Assimilation & Inverse Problems from Weather Forecasting to Neuroscience. Sarah Dance

Linear-Quadratic Optimal Control: Full-State Feedback

Semidefinite Programming Basics and Applications

6.435, System Identification

Outline. Random Variables. Examples. Random Variable

4 Derivations of the Discrete-Time Kalman Filter

Contents. 1 State-Space Linear Systems 5. 2 Linearization Causality, Time Invariance, and Linearity 31

ESTIMATOR STABILITY ANALYSIS IN SLAM. Teresa Vidal-Calleja, Juan Andrade-Cetto, Alberto Sanfeliu

Riccati difference equations to non linear extended Kalman filter constraints

Using Lyapunov Theory I

Nonlinear Observers. Jaime A. Moreno. Eléctrica y Computación Instituto de Ingeniería Universidad Nacional Autónoma de México

Conditions for Suboptimal Filter Stability in SLAM

RECURSIVE ESTIMATION AND KALMAN FILTERING

EE226a - Summary of Lecture 13 and 14 Kalman Filter: Convergence

Georgia Institute of Technology Nonlinear Controls Theory Primer ME 6402

Exploring Granger Causality for Time series via Wald Test on Estimated Models with Guaranteed Stability

Optimal control and estimation

Kalman Filter. Predict: Update: x k k 1 = F k x k 1 k 1 + B k u k P k k 1 = F k P k 1 k 1 F T k + Q

Cramér-Rao Bounds for Estimation of Linear System Noise Covariances

EE451/551: Digital Control. Chapter 8: Properties of State Space Models

7.1 Linear Systems Stability Consider the Continuous-Time (CT) Linear Time-Invariant (LTI) system

Lessons in Estimation Theory for Signal Processing, Communications, and Control

Time-Invariant Linear Quadratic Regulators!

Time-Invariant Linear Quadratic Regulators Robert Stengel Optimal Control and Estimation MAE 546 Princeton University, 2015

Lecture 4. Chapter 4: Lyapunov Stability. Eugenio Schuster. Mechanical Engineering and Mechanics Lehigh University.

Final Exam Solutions

Recursive Solutions of the Matrix Equations X + A T X 1 A = Q and X A T X 1 A = Q

Chap 3. Linear Algebra

Nonlinear Control. Nonlinear Control Lecture # 3 Stability of Equilibrium Points

THE PYTHAGOREAN THEOREM

Converse Lyapunov theorem and Input-to-State Stability

6.4 Kalman Filter Equations

Lecture 2: Discrete-time Linear Quadratic Optimal Control

ECE 516: System Control Engineering

FEL3210 Multivariable Feedback Control

Stability lectures. Stability of Linear Systems. Stability of Linear Systems. Stability of Continuous Systems. EECE 571M/491M, Spring 2008 Lecture 5

NETWORK ANALYSIS WITH APPLICATIONS

Control of Mobile Robots

Estimation, Detection, and Identification CMU 18752

ECE504: Lecture 8. D. Richard Brown III. Worcester Polytechnic Institute. 28-Oct-2008

High School Mathematics Honors PreCalculus

Matrix Mathematics. Theory, Facts, and Formulas with Application to Linear Systems Theory. Dennis S. Bernstein

CONTROL SYSTEMS, ROBOTICS AND AUTOMATION - Vol. XII - Lyapunov Stability - Hassan K. Khalil

ADAPTIVE FILTER THEORY

Stochastic Processes. M. Sami Fadali Professor of Electrical Engineering University of Nevada, Reno

The stability of limit cycles in nonlinear systems

An Iteration-Domain Filter for Controlling Transient Growth in Iterative Learning Control

Linear Systems Control

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Steady State Kalman Filter for Periodic Models: A New Approach. 1 Steady state Kalman filter for periodic models

/$ IEEE

Nonlinear systems. Lyapunov stability theory. G. Ferrari Trecate

Applied Nonlinear Control

Control Systems. Internal Stability - LTI systems. L. Lanari

Digital Control Engineering Analysis and Design

Discrete-Time State-Space Equations. M. Sami Fadali Professor of Electrical Engineering UNR

OUTPUT REGULATION OF RÖSSLER PROTOTYPE-4 CHAOTIC SYSTEM BY STATE FEEDBACK CONTROL

Output Regulation of the Tigan System

Elements of Multivariate Time Series Analysis

LQR, Kalman Filter, and LQG. Postgraduate Course, M.Sc. Electrical Engineering Department College of Engineering University of Salahaddin

Stability of Parameter Adaptation Algorithms. Big picture

Linear Algebra And Its Applications Chapter 6. Positive Definite Matrix

Optimal Distributed Lainiotis Filter

4 Second-Order Systems

Linear Systems. Manfred Morari Melanie Zeilinger. Institut für Automatik, ETH Zürich Institute for Dynamic Systems and Control, ETH Zürich

Nonlinear Control. Nonlinear Control Lecture # 8 Time Varying and Perturbed Systems

Prediction-based adaptive control of a class of discrete-time nonlinear systems with nonlinear growth rate

A Characterization of the Hurwitz Stability of Metzler Matrices

Module 06 Stability of Dynamical Systems

WORD: EXAMPLE(S): COUNTEREXAMPLE(S): EXAMPLE(S): COUNTEREXAMPLE(S): WORD: EXAMPLE(S): COUNTEREXAMPLE(S): EXAMPLE(S): COUNTEREXAMPLE(S): WORD:

N.G.Bean, D.A.Green and P.G.Taylor. University of Adelaide. Adelaide. Abstract. process of an MMPP/M/1 queue is not a MAP unless the queue is a

Semidefinite Programming Duality and Linear Time-invariant Systems

SEC POWER METHOD Power Method

Here represents the impulse (or delta) function. is an diagonal matrix of intensities, and is an diagonal matrix of intensities.

State estimation and the Kalman filter

Applied Linear Algebra in Geoscience Using MATLAB

João P. Hespanha. January 16, 2009

Remarks on stability of time-varying linear systems

Probability and Statistics for Final Year Engineering Students

Converse to Lagrange s Theorem Groups

Identify the graph of a function, and obtain information from or about the graph of a function.

Asymptotic Stability by Linearization

Notes on Linear Minimum Mean Square Error Estimators

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

Distributed Adaptive Consensus Protocol with Decaying Gains on Directed Graphs

Output Regulation of the Arneodo Chaotic System

Hybrid Systems - Lecture n. 3 Lyapunov stability

Postface to Model Predictive Control: Theory and Design

process on the hierarchical group

An Input-Output Approach to Structured Stochastic Uncertainty

Hybrid Systems Course Lyapunov stability

Lecture 3: Functions of Symmetric Matrices

Stability theory is a fundamental topic in mathematics and engineering, that include every

Invertibility and stability. Irreducibly diagonally dominant. Invertibility and stability, stronger result. Reducible matrices

SYSTEMTEORI - KALMAN FILTER VS LQ CONTROL

Nonlinear Control. Nonlinear Control Lecture # 8 Time Varying and Perturbed Systems

Transcription:

Steady-state DKF M. Sami Fadali Professor EE UNR 1

Outline Stability of linear estimators. Lyapunov equation. Uniform exponential stability. Steady-state behavior of Lyapunov equation. Riccati equation. Steady-state behavior of Riccati equation. 2

Time-varying Recursion x k + 1 = φ k x + k, x + k = x k + K k φ k = φ k + 1, k z k H k x k Eliminate x + k (or eliminate x k ). x k + 1 = φ k I n K k H k x k + φ k K k z k = Aҧ k x k + φ k Kz k Aҧ k = φ k I n K k H k, φ k = φ k + 1, k x + k + 1 = I n K k + 1 H k + 1 φ k x + k +K k + 1 z k + 1 3

Stability of Predictor/Corrector Consider LTI case with a constant gain K. x k + 1 = φ I n KH x k + φkz k x + k + 1 = I n KH φ x + k + Kz k + 1 Stable dynamics for eigenvalues of state matrix inside the unit circle. Example: φ = 0.2I 2, K = 0.2 0.3 T, H = 1 5 Eigenvalues (0.2, 0.14): Stable filter. 4

Implications of Stability Test Must have a known constant gain to test stability: Kalman filter must be first designed before its stability can be determined. Result is for any gain not necessarily the optimal Kalman gain. Tells us nothing about error dynamics. 5

ҧ ҧ Discrete Lyapunov Equation P k+1 = φ k P + k φ T k + Q k Substitute for P + k (Joseph form) P k+1 = φ k I n K k H k P k I n K k H T T k φ k +φ k K k R k K T k φ T k + Q k Lyapunov Equation: P k+1 = Aҧ k P k A T k + തQ k A k = φ k I n K k H k തQ k = φ k K k R k K T k φ T k + Q k Applies for any gain K (not just the optimal Kalman gain K) 6

ҧ ҧ ҧ Solution of Lyapunov Eqn. P k+1 = Aҧ k P k A T k + തQ k P k = Φ k, 0 P 0 Φ T k, 0 k 1 + i=0 A k 1 Φ k, i + 1 തQ i Φ T k, i + 1 Φ k, i = A k 2 Aҧ i, For constant A, ҧ Φ k, i = Proof by induction. Φ k, k = I n Aҧ k i 7

Uniform Exponential Stability (UES) There exists a positive constant γ > 0, and a constant λ, 0 < λ < 1, s.t. x k γλ k k 0 x k 0 1 0.9 0.8 0.7 Upper bound 0.6 0.5 0.4 Norm of response 0.3 0.2 0.1 0 0 0.5 1 1.5 2 2.5 3 Response bounded above by an exponential decay curve. 8

U.E.S. Theorem x k γλ k k 0 x k 0 Φ k, k 0 i γλ k k 0 Proof of only k, k 0, k k 0 x k = Φ k, k 0 x k 0 Using norm inequalities and the condition x k Φ k, k 0 i x k 0 γλ k k 0 x k 0 Note that the bound on the state-transition matrix implies that Lim Φ k, 0 i is zero. k 9

Proof of Necessity Assume uniformly exponentially stable: There exists a positive constant γ > 0, and a constant λ, 0 < λ < 1, s.t. x k γλ k k 0 x k 0 For any k 0, there is a state x a, k a k 0, such that x a = 1, Φ k, k 0 x a = Φ k, k 0 i Initial state x 0 = x a x k a = Φ k, k 0 x a = Φ k, k 0 i Φ k, k 0 i γλ k k 0 k, k 0, k k 0 10

U.E.S Condition Theorem: The linear system x k = Φ k, k 0 x k 0 is u.e.s. iff there exist a finite positive constant β s. t. Φ k, k 0 i β, k 0 0 k=k 0 11

Proof (Necessity) If the system is U.E.S. k=k 0 Φ k, k 0 i γλ k k 0, k k 0, k 0 Φ k, k 0 i k=k 0 = γ 1 λ = β γλ k k 0 = k=0 γλ k 12

ҧ Lyapunov Eqn. Steady-state Solution P k+1 = Aҧ k P k A T k + തQ k, തQ k i < β Q, k Steady-state Solution P = Lim k P k = Lim k k 1 Φ k, 0 P 0 Φ T k, 0 + i=0 First term depends on Lim k Φ k, 0 Φ k, i + 1 തQ i Φ T k, i + 1 i 13

Steady-state Solution: UES Assuming u.e.s. x k = Φ k, k 0 x k 0 Lim Φ k, 0 i = 0, k P = Lim k i=0 P i i=0 k 1 k=k 0 Φ k, k 0 Φ k, i + 1 തQ i Φ T k, i + 1 i β Φ k, i + 1 i തQ k i Φ T k, i + 1 i < β 2 β Q <, തQ k i < β Q, k 14

ҧ LTI Case Aҧ k A = φ I n KH Φ k, 0 = n i i=1 n ҧ A k = i=1 Z i λ i k Z i λ i k γ λ max k, k 0 λ max = spectral radius of the matrix ҧ A Exponentially stable if and only if λ max < 1 15

ҧ ҧ ҧ Exponential Stability Exponential stability for eigenvalues of state matrix inside the unit circle λ max < 1. Aҧ k γ λ i max k, k 0 Exponential stability iff the solution of the algebraic Lyapunov equation is positive definite symmetric. AP A T P = തQ, P = i=0 Aҧ i തQ( Aҧ T ) i A = φ I n KH, തQ = φkrk T φ T + Q > 0 16

MATLAB: DLYAP MATLAB solution of algebraic Lyapunov equation >> phi=[0.1,0.2;.3,.4];h=[1,1] ;% observable >>k=[5;-3] ; A= phi*(eye(2)-k*h); >> P=dlyap(A,eye(2)) % Pos. Def. P, Q=I ans = 1.1402 0.0309 0.0309 1.0101 >> eig(phi*(eye(2)-k*h)) % Fast stable dynamics ans = 0.2000 0.1000 17

Discrete Riccati Equation P k+1 = φ k P k P k H k T H k P k H k T + R k 1 Hk P k φ k T Derived earlier Nonlinear difference equation. +Q k Valid for the optimal Kalman gain only. 18

Algebraic Riccati Equation Consider a time-invariant system with stationary noise. Assume that the limiting solution to the Riccati equation exists. Lim k P k = P P = φ P P H T HP H T + R 1 HP φ T + Q 19

Theorem (Lewis, p. 100) If φ, H is detectable (observable) then for every initial matrix P 0 there is a bounded limiting solution to the Riccati equation. The solution is the positive semidefinite (definite) solution of the algebraic Riccati equation. 20

MATLAB: DARE (see Kalman) MATLAB solution of algebraic Riccati equation >> phi=[0.1,0.2;.3,.4];h=[1,1]; % Observable >> Q=eye(2) ; R=0.1; >> [X,L,G]=dare(phi,H,Q, R) % P=X, K=G, L=eig(phi*(I-K*H)) X = 1.0072 0.0100 0.0100 1.0167 L = -0.0212 0.0441 G = 0.1432 0.3339 21

Theorem (Lewis, p. 101) Assume that Q = Q 1/2 Q 1/2 T 0, R > 0 and φ, Q 1/2 is reachable. Then H, φ is detectable if and only if 1. There is a unique positive definite limiting solution to the algebraic Riccati equation. 2. The steady-state error system ҧ A = φ I n KH with steady-state Kalman gain K = P H T HP H T + R 1 is asymptotically stable. 22

Stability Test Check 1. Q = Q 1/2 Q 1/2 T 0, R > 0 2. φ, Q 1/2 is reachable. 3. H, φ is detectable Apply the last theorem to test the stability of the DKF before you design it. Book: Scalar system with one measurement is reachable and observable (trivial case). 23

Example: MATLAB >> phi=[0.1,0.2;.3,.4];h=[1,1]; % For Q= eye(2), Q 1/2 = eye(2) >0 ; R=0.1 >0 ; >> Q= ; eig(q) % Positive eigenvalues for pos. def. >> Qs=sqrt(Q); >> rank(ctrb(phi,qs)) % Check reachability ans = 2 >> rank(obsv(phi,h)) % Check observability ans = 2 24

Conclusion Suboptimal filter steady-state behavior: Lyapunov equation. Optimal filter steady-state behavior: Riccati equation. Exponential stability. Can test Kalman filter stability before it is designed and implemented. 25

References F. L. Lewis, Optimal Estimation: With an Introduction to Stochastic Control Theory, Wiley-Interscience, New York, 1986. W. J. Rugh, Linear System Theory, Prentice- Hall, Upper Saddle River, NJ, 1996. 26