Professional Documents
Culture Documents
Today's Goals: State Space So Far
Today's Goals: State Space So Far
b1
From this result we can obtain transfer functions for position, velocity:
−1
for position choose c = (1 0) , X(s) ≡ Y (s) = c (sI − A) bW (s) ⇒
X(s) 1/m1
= 2 .
W (s) s + (b1 /m1 ) s + (k1 /m1 )
−1
for velocity choose c = (0 1) , V (s) ≡ Y (s) = c (sI − A) bW (s) ⇒
V (s) s/m1
= 2 .
W (s) s + (b1 /m1 ) s + (k1 /m1 )
velocity position
2.004 Fall ’07 Lecture 28 – Wednesday, Nov. 14
Poles are the eigenvalues of A | Stability
Consider the eigevalue problem for the matrix A: The system represented by A is
stable if A’s eigenvalues
Aξ = μξ,
have negative real part
where the solutions for μ are the eigenvalues and ξ are the eigenvectors. (i.e., are on the left—hand half—plane.)
To solve the eigenvalue problem, we set det (μI − A) = 0. The phase diagram is then oriented
That is, the eigenvalues are the roots of the determinant towards the origin (“sink.”)
of the matrix (μI − A).
−1 adj (sI − A)
velocity
q̂(s) = (sI − A) bW (s) = bW (s) =
det (sI − A)
µ ¶
1 1/m1
= 2 W (s),
s + (b1 /m1 ) s + (k1 /m1 ) s/m1
where adj(.) denotes the adjoint. The same denominator det (sI − A)
appears in the transfer functions for both velocity and position.
This denominator is also referred to as characteristic equation. position
Therefore, the poles of the system are the roots of the determinant
of the matrix (sI − A), i.e., the eigenvalues. The system represented by A is
The uncompensated 2.004 Tower is a 2nd order system with unstable if A’s eigenvalues
have positive real part (phase diagram
k1 b1 explodes outwards — “source”)
ωn2 = ; ζ= √
m1 2 k1 m1 and marginally stable if A’s eigenvalues
have zero real part (phase diagram
Therefore the eigenvalues/poles are
rotates around the origin
³ p ´ without either approaching or moving away.)
s± = −ωn ζ ± ζ 2 − 1 .
w +
.
q q y
B C
+
W (s) Y (s)
C (sI − A)−1 B
r + w +
.
q q y
B C
- +
³ ´ ³ ´
q̇(t) = Aq(t) + B r(t) − Kq , q̇(t) = A − BK q(t) + Br(t),
⇒
y(t) = Cq(t). y(t) = Cq(t).
Y (s) −1
Closed—Loop TF: = C (sI − A + BK) B
R(s)
Design problem: We are given transient response requirements of 9.5% over- Let the gain matrix be
shoot and 0.74sec settling time. Moreover, we would like to approximately ⎛⎞ ⎛ ⎞
cancel the zero in the opn—loop transfer function. 0 0 0 0
To meet these goals, we select two closed—loop poles at −5.4 ± j7.2. These K = (k1 k2 k3 ) ⇒ BK = ⎝ 0 ⎠ (k1 k2 k3 ) = ⎝ 0 0 0 ⎠
meet the transient reponse requirements. Moreover, we select an additional 1 k1 k2 k3
closed—loop pole at −5.1 to approximately cancel the open—loop zero. Therefore, ⎛ ⎞
the desired closed—loop transfer function should be proportional to 0 1 0
⇒ A − BK = ⎝ 0 0 1 ⎠
(s + 5) (s + 5) −k1 −(4 + k2 ) −(5 + k3 )
= 3 .
(s + 5.1)(s + 5.4 − j7.2)(s + 5.4 + j7.2) s + 15.9s2 + 136s + 413
The denominator of the transfer function is the determinant of the matrix
Next we convert the given transfer function to a state—space representation. ⎛ ⎞
s −1 0
This is done by first considering a system without the open—loop zeros, i.e. of sI − A + BK = ⎝ 0 s −1 ⎠
the form s + k1 s + (4 + k2 ) s + (5 + k3 )
X(s) 1 1 ³ ´
= = 3 ⇔ x(3) + 5ẍ + 4ẋ = w.
W (s) s(s + 1)(s + 4) s + 5s2 + 4s det sI − A + BK = s3 + (5 + k3 )s2 + (4 + k2 )s + k1 .
The state variable are selected as Equating coefficients with the desired denominator (characteristic equation) s3 +
⎛ ⎞ ⎛ ⎞ ⎛ ⎞ ⎛ ⎞ 15.9s2 + 136s + 413, we obtain the gains
q1 x 0 1 0 0
q = ⎝ q2 ⎠ = ⎝ ẋ ⎠ ⇒ A = ⎝ 0 0 1 ⎠, b = ⎝ 0 ⎠. k1 = 413; k2 = 132; k3 = 10.9.
q3 ẍ 0 −4 −5 1
The state space representation of the closed—loop system is
This choise of state variables is also known as phase—variable form, because ⎛ ⎞ ⎛ ⎞
it agrees with the phase diagram representation that we saw earlier (except in 0 1 0 0
this case we have a 3rd order system, and hence three state/phase variables: q̇ = ⎝ 0 0 1 ⎠ q + ⎝ 0 ⎠ r.
position, velocity, acceleration.) −413 −136 −15.9 1
We also need to determine the observation matrix C. Since the open—loop
transfer function has a zero, the response includes a derivative term; that is, y = (100 20 0) q.
h i The closed—loop transfer function is
Y (s) = 20(s+5)X(s) ⇒ y(t) = 20 ẋ(t) + 5x(t) = 20(q2 +5q1 ) ⇒ c = (100 20 0) .
Y (s) 20(s + 5)
= 3 .
R(s) s + 15.9s2 + 136s + 413