LMIs in Control/pages/Discrete-Time H2-Optimal Observer

From testwiki
Jump to navigation Jump to search

LMIs in Control/pages/Discrete-Time H2-Optimal Observer

In many applications, perhaps even most, the state of the system cannot be directly known. In this case, you will need to strategically to measure key system outputs that will make the system states indirectly observable. Observers need to converge much faster than the system dynamics in order for their estimations to be accurate. Optimal observer synthesis is therefore advantageous. In this LMI, we seek to optimize the H2 norm, which conceptually is minimizing the average magnitude of error in the observer.

The System

xk+1=Adxk+Bd1wk,yk=Cc2xk+Dd21wk

where xRn and is the state vector, ARn×n and is the state matrix, BRn×r and is the input matrix, wRr and is the exogenous input, CRm×n and is the output matrix, DRm×r and is the feedthrough matrix, yRm and is the output, and it is assumed that (Ad,Cd2) is detectable.

The Data

The matrices Ad,Bd1,Ccd2,Ccd1,Dd21.

The Optimization Problem

An observer of the form:

x^k+1=Adx^k+Ld(yky^k),y^k=Cd2x^k

is to be designed, where LdRnx×ny is the observer gain.

Defining the error state ek=xkx^k, the error dynamics are found to be

ek+1=(AdLdCd2ek+(Bd1LdDd21)wk,

and the performance output is defined as

zk=Cd1ek.

The observer gain Ld is to be designed such that the H2 of the transfer matrix from wk to zk, given by

LdT(z)=Cd1(z1(AdLdCd2))1(Bd1LdDd21),

is minimized.

The LMI: Discrete-Time H2-Optimal Observer

The discrete-time H2-optimal observer gain is synthesized by solving for PSnx, ZSnz, GdRnx×ny, and vR>0 that minimize J(v)=v subject to P>0,Z>0,

[PPAdGdCd2PBd1GdDd21*P0**1]>0,[ZPCd1*P]>0,trZ<v

where tr refers to the trace of a matrix.

Conclusion:

The H2-optimal observer gain is recovered by Ld=P1Gd and the H2 norm of T(z) is μ=v. The Ld matrix is the observer gains that can be used to form the optimal observer:

x^k+1=Adx^k+Ld(yky^k),y^k=Cd2x^k

Implementation

This implementation requires Yalmip and Sedumi.

https://github.com/rezajamesahmed/LMImatlabcode/blob/master/Discrete_Time_H2_Optimal_Observer_LMIs_Wikibook_Example.m

Mixed H2-Hinfinity discrete time observer

Discrete-Time_Hinfinity-Optimal_Observer

This LMI comes from Ryan Caverly's text on LMI's (Section 5.1.2):

Other resources:

Return to Main Page:

Template:BookCat