Good
Good
Lecture 6
Emam Fathy
email: [email protected]
http://www.aast.edu/cv.php?disp_unit=346&ser=68525
1
Introduction
• In the pole-placement approach to the design of control systems, we
assumed that all state variables are available for feedback.
• In practice, however, not all state variables are available for feedback,
for instance, if the component is in an inaccessible location, or the
sensors are expensive.
ሶ = 𝑨𝒙 + 𝑩𝑢 − 𝑨
𝒙ሶ − 𝒙 𝒙 − 𝑩𝑢 − 𝑲𝑒 𝑪𝒙 − 𝑪
𝒙
Full Order State Observer
ሶ = 𝑨𝒙 + 𝑩𝑢 − 𝑨
𝒙ሶ − 𝒙 𝒙 − 𝑩𝑢 − 𝑲𝑒 𝑪𝒙 − 𝑪
𝒙
• Simplifications in above equation yields
ሶ = 𝑨(𝒙 − 𝒙
𝒙ሶ − 𝒙 ) − 𝑲𝑒 𝑪 𝒙 − 𝒙
(3)
• That is, 𝒙
(𝒕) will converge to 𝒙(𝒕) regardless of the values of
x(0).
𝑣 = −𝑲𝒛
Duality Property
• If the dual system is completely state controllable, then the
state feedback gain matrix K can be determined such that
matrix A*-C*K will yield a set of the desired eigenvalues.
𝑠𝐼 − (𝑨 − 𝑲∗ 𝑪 ) = 𝑠𝐼 − (𝑨 − 𝑲𝑒 𝑪 )
𝑲∗ = 𝑲𝑒
𝑘1
𝑘2
𝑲𝒆 = ⋮
𝑘3
𝑘𝑛
Observer Gain Matrix
• The feedback signal through the observer gain matrix Ke serves
as a correction signal to the plant model to account for the
unknowns in the plant.
𝐶 0 1
𝑂= =
𝐶𝐴 1 0
• Since rank(O)=2 the given system is completely state observable and the
determination of the desired observer gain matrix is possible.
Direct Substitution Method
𝑥ሶ1 020.6 𝑥1 0
= 𝑥2 + 1 𝑢(𝑡)
𝑥ሶ 2 1 0
𝑥1
𝑦= 0 1 𝑥
2
𝑠𝑰 − 𝑨 + 𝑲𝑒 𝑪 = 0
• Assuming 𝑘𝑒1
𝑲𝑒 =
𝑘𝑒2
𝑠 0 0 20.6 𝑘𝑒1
𝑠𝑰 − 𝑨 + 𝑲𝑒 𝑪 = − + 0 1
0 𝑠 1 0 𝑘𝑒2
(𝑠 − 𝛽1 )( 𝑠 − 𝛽2 ) = 𝑠 2 + 20𝑠 + 100
• Comparing coefficients of different powers of s
120.6
𝑲𝑒 =
20
• We get the same Ke regardless of the method employed.
ሶ = 𝑨
𝒙 𝒙 + 𝑩𝑢 + 𝑲𝒆 (𝑦 − 𝑪
𝒙)
ሶ 𝟏
𝒙 0 1
20.6 𝒙 0 120.6 1
𝒙
= + 𝑢(𝑡) + (𝑦 − 0 1 )
ሶ 𝟐
𝒙 1 0
𝒙2 1 20
𝒙2
ሶ 𝟏
𝒙 0 1
20.6 𝒙 0 120.6 120.6 1
𝒙
= + 𝑢(𝑡) + 𝑦− 0 1
ሶ 𝟐
𝒙 1 0 2
𝒙 1 20 20 2
𝒙
ሶ 𝟏
𝒙 1
0 −100 𝒙 0 120.6
= + 𝑢(𝑡) + 𝑦
ሶ𝒙
𝟐 1 −20
𝒙 2 1 20
End of Lec
35
Using Transformation Matrix Q
𝑥ሶ1 0 20.6 𝑥1 0
= 𝑥 + 𝑢(𝑡)
𝑥ሶ 2 1 0 2 1
𝑥1
𝑦= 0 1 𝑥
2
• We have
𝑎1 = 0, 𝑎2 = −20.6
𝑥ሶ1 0 20.6 𝑥1 0
= 𝑥 + 𝑢(𝑡)
𝑥ሶ 2 1 0 2 1
𝑥1
𝑦= 0 1 𝑥
2
(𝑠 − 𝛽1 )( 𝑠 − 𝛽2 ) = 𝑠 2 + 20𝑠 + 100
• We have
𝛼1 = 20, 𝛼2 = 100
• Observer gain matrix Ke can be calculated using following formula
𝛼2 − 𝑎 2
𝑲𝑒 = 𝛼 − 𝑎
1 1
• Where
100 − (−20.6)
𝑲𝑒 =
20 − 0
120.6
𝑲𝑒 =
20
Ackermann’s formula
𝑥ሶ1 0 20.6 𝑥1 0
= 𝑥 + 𝑢(𝑡)
𝑥ሶ 2 1 0 2 1
𝑥1
𝑦= 0 1 𝑥
2
𝛼1 = 20, 𝛼2 = 100
∅ 𝑨 = 𝐴2 + 20𝐴 + 100𝐼
∅ 𝑨 = 𝑨2 + 20𝑨 + 100𝑰
2
0 20.6 0 20.6 1 0
∅ 𝑨 = + 20 + 100
1 0 1 0 0 1
120.6 412
∅ 𝑨 =
20 120.6
• Using Ackermann’s formula
−1
𝑪 0
𝑲𝑒 = ∅(𝑨)
𝑪𝑨 1
−1
120.6 412 0 1 0
𝑲𝑒 =
20 120.6 1 0 1
120.6
𝑲𝑒 =
20
• We get the same Ke regardless of the method employed.
ሶ = 𝑨
𝒙 𝒙 + 𝑩𝑢 + 𝑲𝒆 (𝑦 − 𝑪
𝒙)
ሶ 𝟏
𝒙 0 1
20.6 𝒙 0 120.6 1
𝒙
= + 𝑢(𝑡) + (𝑦 − 0 1 )
ሶ 𝟐
𝒙 1 0
𝒙2 1 20
𝒙2
ሶ 𝟏
𝒙 0 1
20.6 𝒙 0 120.6 120.6 1
𝒙
= + 𝑢(𝑡) + 𝑦− 0 1
ሶ 𝟐
𝒙 1 0 2
𝒙 1 20 20 2
𝒙
ሶ 𝟏
𝒙 1
0 −100 𝒙 0 120.6
= + 𝑢(𝑡) + 𝑦
ሶ𝒙
𝟐 1 −20
𝒙 2 1 20
Example 2
Example-2
• Design a regulator system for the following plant:
𝑥ሶ1 0 20.6 𝑥1 0
= 𝑥 + 𝑢(𝑡)
𝑥ሶ 2 1 0 2 1
𝑥1
𝑦= 1 0 𝑥
2
• The desired closed-loop poles for this system are at 𝜇1 = −1.8
+ 𝑗2.4, 𝜇2 = −1.8 − 𝑗2.4. Compute the state feedback gain matrix K
to place the poles of the system at desired location.
• Obtain the observer gain matrix Ke and draw a block diagram for the
observed-state feedback control system.
End of Lec
48