14. Observer Design
1. State Observer (Luenburger Observer (LO) )
1.1 Nominal LO Design
Given a linear system,
Since states cannot be measured directly, we can design a state observer to get the unknown states,
- \(\hat x\) is the state estimation
Given the state estimation error \(e = x - \hat x\), there have:
The eigenvalue for \((A-LC)\) have:
we can let:
- \(\tilde A = A^T\)
- \(\tilde B = C^T\)
- \(\tilde K = L^T\)
thus we have: \(A^T-C^TL^T = \tilde A - \tilde B \tilde K\), Given the observable matrix:
A N&S condition for the design of an asymptotic observer with arbitrarily specified eigenvalue of the estimation error dynamics is that \((A,C)\) is observable.
Given a system \(p = 1\), we can apply Ackermann's formula,
When the system with \(p > 1\), \(C = \begin{bmatrix} C_1 \\ \vdots \\ C_p \end{bmatrix}\)
If \((A,C)\) is observable, \(\Rightarrow\) \(\exists i\), such that \((A, C_i)\) that is observable. We can apply Ackermann's formula on \((A,C_i)\):
1.2 LO for the System With Disturbances
Given the linear system with disturbances,
-
If \(d\) is measurable, we can calculate the estimation error directly:
\[ \dot{\hat x} = A \dot{\hat x} + Bu + Md + L(y - C\hat x - Du - Nd) \]We let \(e=x - \hat x\), thus we have:\(\dot e=(A-LC)e\)
-
If \(d\) is not measurable:
\[ \begin{aligned} \dot{\hat x} &= A \dot{\hat x} + Bu + L(y - C\hat x - Du) \\ e &= x - \hat x \\ \dot e &= (A-LC) e + (M-LN) d \end{aligned} \]If \(d(t) = \bar d\), \(\forall t \geq 0\),
\[ e_\infty = -(A-LC)^{-1} (M-LN) \bar d \]
We can draw the system schematic:

1.3 Estimation of Constant Disturbances via Observer Design
Motivations:
- You can estimate the state correctly
- You can use the disturbances estimation for the disturbance compensation
Consider a system with disturbance:

To eliminate the disturbance, we can design a disturbance estimator:

If the disturbance is constant, \(d(t) = \bar d\), \(\forall t\),
Since \(d\) is constant, \(\dot d = 0\), and we have:
The condition should be satisfied for designing the observer:
-
\((\tilde A, \tilde C)\) must be observable \(\Leftrightarrow\) \((A,C)\) is observable
-
\(\text{rank}\begin{bmatrix} A&M \\ 0&0 \end{bmatrix} = n+r \left\{\begin{aligned} &r \leq p \quad \text{more output than disturbances} \\ &\text{No invariant zero in 0 in the transfer matrix for } d \text{ to } y \end{aligned}\right.\)
What are the close loop eigenvalues?

We assume the order of the system is \(n\),
Apply the controller and observer to the system:
Since we have: \(e = x - \hat x\),
1.4 Separation Principle
We can let:
The eigenvalue of \(\tilde A\) are the union of the eigenvalue of \(A-BK\) and \(A-LC\), it means that we can design controller and observer independently.
2. Stabilizing Regulator Transfer Matrix

We replaced observer with the transfer matrix \(R(s)\),

to find the expression of \(R(s)\),
We have:
The transfer matrix is:
3. Reduced Order Observer (RO)
For the linear system with the state space equation below:
We can transfer the system into canonical form,
- \(T = \begin{bmatrix} C \\ T_1 \end{bmatrix}\), \(\det T \neq 0\)
- \((A,C)\) should be observable
We have the output part \(y\) and other unknown states \(x_v\), \(\tilde x = \begin{bmatrix} y \\ \tilde x_v \end{bmatrix}\), thus:
We can let:
- \(z = \dot y - \tilde A_{11}y - \tilde B_1 u = \tilde A_{12} \tilde x_v\)
- \(\eta = \tilde A_{21}y + \tilde B_2 u\)
and we can simplify the system:
Now this new system have \(n-p\) states,
- \((\tilde A_{22}, \tilde A_{12})\) must be observable
For this system, we can apply the observer design:
Let \(w = \tilde x_v - Ly\),
And we have: \(\hat{\tilde x}_v = w + Ly\),
Example
- \(A = \begin{bmatrix} 0&1\\0&0 \end{bmatrix}\), \(B = \begin{bmatrix} 0\\1 \end{bmatrix}\), \(C = \begin{bmatrix} 1&0 \end{bmatrix}\)
- \((A,C)\) is observable
let \(z = \dot y\), We have \(\left\{\begin{aligned} &\dot y = x_2 \\ &\dot x_2 = u \\ &z = x_2 \end{aligned}\right.\),
from these equations:
let \(w = \hat x_2 - Ly\),
And because there have: \(\hat x_2 = w + Ly\), we can draw the block diagram:
Thus all the states could be obtained: \(\hat x = \begin{bmatrix} y \\ \hat x_2 \end{bmatrix}\)
4. Pole placement and State Observer in Discrete Time Systems
Given the discrete time system with state space equation:
Assume all the states can be observed directly, thus:
- \(y(k) = x(k)\)
And we can design the state feedback controller for the system,
Apply the controller to the system, we can get the closed loop function:
To make sure the controller is feasible, it should meet the condition:
- \((A, B)\) is reachable
When designing the eigenvalues, we need to consider the stability regions of the system
Since not all the state could be obtained directly, for estimating the state, there have following methods:
- Predictor: use the info up to \(K\) to estimate \(x(k+1)\)
- Filter: use the info up to \(K\) to estimate \(x(k)\)
4.1 Predictor
We can design a state estimator with predicted states:
And the estimation error is:
To make the observer design feasible,
- \((A, C)\) must be observable
If all the eigenvalues of \(A-LC\) are set to 0, then you get a deadbeat observer (for the finite number of \(x\), the estimation error goes to \(0\))
Example
4.2 Filter
We can design a state estimator with current states:
And the estimation error is:
To make the observer design feasible,
- \((A, \tilde C)\) must be observable
Info
Proof:
This is observable when \(A\) is non singular and \((A, C)\) is observable
If \(A\) is singular, \((A, \tilde C)\) is not observable even if \((A,C)\) is observable and \(\lambda = 0\) is in the unobservable part.
Example
For a system:
- \(x(0) = v\), \(v\) is the eigenvector assume to \(\lambda = 0\)
- \(x(1) = Av = \lambda v = 0\)
- \(x(k) = 0\), \(k\geq 1\)
- \(z(0) = CAV = 0\)
- \(z(k) = 0\), \(k \geq 0\)
4.3 Regulator Transfer Matrix
For the discrete time system:
Within the predictor:
And control law:
We can draw the system schematics:

And we can ge the expression for \(R(z)\):
- \(R(z)\) is strictly proper
Within the Filter Design:
The expression of \(R(z)\) becomes:
- \(R(z)\) is proper
Example
Consider a strict proper case for the SISO system:
We can let \(V(z) = R(z) Y(z)\),
Do the inverse z-transform, we can get:
Example
And we consider the proper case for the SISO system:
We can let \(V(z) = R(z) Y(z)\),
Do the inverse z-transform, we can get:
This case use the instant data from \(y(k)\), which does not provide time for calculation
4.4 Estimate of Constant Disturbance via Observer
Consider the discrete time system with constant disturbance:
We can write the equation with extended form:
It should satisfy that \((\bar A, \bar C)\) is observable, which is equivalent to:
- \((A, C)\) is observable
- \(r \leq p\)
- No invariant zeros in \(z = 1\) in the transfer matrix of \(d \to y\)
5. Discrete Time RO
Given the discrete time system:
We can transform it into canonical form:
And there have \(z(k) = Cx(k) = y(k) - Du(k)\)
- \((A, C)\) should be observable
- \(\tilde A = TAT^{-1} = \begin{bmatrix} \tilde A_{11}&\tilde A_{12} \\ \tilde A_{21}&\tilde A_{22} \end{bmatrix}\), \(\tilde B = TB = \begin{bmatrix} \tilde B_1 \\ \tilde B_2 \end{bmatrix}\)
And,
- \(z(k+1) = y(k+1) - \tilde A_{11}y(k) - \tilde B_1 u = \tilde A_{12} \tilde x_v(k)\)
- \(\eta(k) = \tilde A_{21}y(k) + \tilde B_2 u\)
- \(\tilde x_v(k) = \tilde A_{22} \tilde x_v(k) + \eta(k)\)
For the filter design, there have:
We know that \(\tilde x = Tx\), The full state could be expressed as: