EEE512 Observer Updated
EEE512 Observer Updated
State Space
State Observers
By
H. M. Yusuf
State Observers
• In the pole placement design of state feedback, we assumed
that all state variables are available for feedback
• In practice, however, not all state variables are available for
feedback i.e. not all states are measurable.
• Therefore we need to estimate unmeasurable state variables by
a method called observation using a replica of the system to
provide an “estimate” of the system states based on the
measured output of the system.
• A device that estimates or observes unmeasurable state
variables is called a state observer or simply an observer
• If the observer observes all states of the system, it is called a
full-order state observer
• If the observer observes less than the total number of states of
the system, it is called reduced-order observer
Full Order State Observer
A full-order observer estimates all the state variables of a system based on the measurement
of the output and control variables
Full Order State Observer
Consider the system
𝑥 = 𝐴𝑥 + 𝐵𝑢 (1)
𝑦 = 𝐶𝑥
∴ 𝑥 = A𝑥 + Bu + 𝐾𝑒 𝑦 − 𝐶𝑥 (4)
Then, the characteristic equation of the observer system given by (7) should be equal
to the characteristic equation of the desired eigenvalues of the observer matrix
sI ( A K eC ) ( s 1 )( s 2 )...( s n ) (9)
Since both sides of this characteristic equation are polynomials in s, by equating the
coefficients of the like powers of s on both sides, it is possible to determine the
value of 𝐾𝑒
Solving for 𝐾𝑒 in equation (9) will give the elements of the observer gain matrix
0 20.6 0
Where A , B , C 0 1
1 0 1
Design a full-order state observer, assuming that the desired eigenvalues of the observer matrix
are
𝜇1 = −10 and 𝜇2 = −10
Solution:
Step1: Check Observability;
0 1
N C T AT C T
1 0
Since det(N)≠0, The system is observable
Step 2: Define 𝐾𝑒
K
K e e1
Ke2
Method 1:Direct Substitution Method
Step 3: Form the closed loop characteristic equation
s 0 0 20.6 ke1
sI A K eC 0 1
0 s 1 0 ke 2
=s 2 ke 2 s ( 20.6 ke1 )
Step 4: Form the characteristic equation of the desired closed loop poles
( s 1 )( s 2 ) ( s 10)( s 10)
= s 2 20 s 100
Note: If the given system equation is already in the observable canonical form, then Q= 𝑰
Step 4: Using the desired eigenvalues (desired closed-loop poles), write the desired
characteristic polynomial: 𝒔 − 𝝁𝟏 … 𝒔 − 𝝁𝒏 = 𝒔𝒏 +𝜶𝟏 𝒔𝒏−𝟏 + 𝜶𝟐 𝒔𝒏−𝟐 …𝜶𝒏−𝟏 𝒔+𝜶𝒏
And determine the values of 𝛼1 , ∝2 … ∝𝑛
Step 5: The required state feedback gain matrix K can be determined from
K Q 1 n an n 1 an 1 ... 2 a2 1 a1
T
Method 1: Transformation Matrix Method
Example 1:
Consider the system
𝑥 = 𝐴𝑥 + 𝐵𝑢
𝑦 = 𝐶𝑥
0 20.6 0
A , B , C 0 1
Where 1 0 1
Design a full-order state observer, assuming that the desired eigenvalues of the observer matrix
are
𝜇1 = −10 and 𝜇2 = −10
Solution:
Step1: Check Observability;0 1
N C T AT C T
1 0
0
1
Where N is the Observability matrix given by
N C T AT C T ( AT ) 2 C T ... ( AT ) n 1 C T
Method 3: Ackermann’s formula
Example 1:
Consider the system
𝑥 = 𝐴𝑥 + 𝐵𝑢
𝑦 = 𝐶𝑥
0 20.6 0
A , B , C 0 1
Where 1 0 1
Design a full-order state observer, assuming that the desired eigenvalues of the observer matrix
are 𝜇1 = −10 and 𝜇2 = −10
Solution:
Step1: Check Observability; 0 1
N C T AT C T
1 0
0 1
N T
AT C T
1
C
0
0
K e ( A) N
1
1
120.6 412 0 1 0 120.6
Ke
20 120.6 1 0
1 20