Docsity

Solved Problems for Assignment 3 - Control System Theory and Design | ECE 515, Assignments of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 515, Fall 2005 Problem Set #3 Solution
1. Linear vs. Nonlinear Maps (10 points)
(a) The map f:X7→ AX +BX C is linear:
f(αX +βY ) = A(αX +βY ) + B(αX +βY )C
=α(AX +BX C) + β(AY +BY C)
=αf(X) + βf (Y).
(b) The map f:X7→ AXA −Bis not linear if B6= 0:
f(αX +βY ) = A(αX +βY )A−B
6=αf(X) + βf (Y)
=α(AXX −B) + β(AY A −B)
=A(αX +βY )A−(α+β)B
The map is linear when B= 0n×n(since it becomes a special case of (a)). In general it is
nonlinear. For example, n= 1 and A=B= 1. Then f(1 + 1) = 2 −1 = 1 but f(1) = 0. So
f(1 + 1) 6=f(1) + f(1).
(c) The map f:X7→ AX +XB X is not linear in general (in fact, it is quadratic in X).
Under the same assumption as in (b), f(1 + 1) = 2 + 22= 6 6=f(1) + f(1) = 4.
2. Inner product (10 points)
(a) We assume xand yare orthogonal, that is hx, yi= 0 (also, hy , xi= 0). Therefore,
kx+yk2=hx+y, x +yi=hx, xi+hx, y i+hy, xi+hy, yi
=hx, xi+hy, yi
=kxk2+kyk2.
(b) Please notice that in this part we didn’t assume xand yto be orthogonal. (You will get
deduction if you use hx, yi= 0).
kx+yk2+kx−yk2=hx, xi+hx, yi+hy, xi+hy , yi
+hx, xi−hx, yi−hy, xi+hy , yi
= 2hx, xi+ 2hy, yi
= 2kxk2+ 2kyk2.
Comment: Here, we works with complex field so hx, yi=hy, xi 6=hy, xiin general. You will
get a deduction if writing hx+y, x +yi=hx, xi+ 2hx, y i+hy, yibecause this is not true in
general.
3. Jordan Form (10 points)
1
pf3
pf4
pf5

Partial preview of the text

Download Solved Problems for Assignment 3 - Control System Theory and Design | ECE 515 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

ECE 515, Fall 2005 Problem Set #3 Solution

  1. Linear vs. Nonlinear Maps (10 points) (a) The map f : X 7 → AX + BXC is linear:

f (αX + βY ) = A(αX + βY ) + B(αX + βY )C = α(AX + BXC) + β(AY + BY C) = αf (X) + βf (Y ).

(b) The map f : X 7 → AXA − B is not linear if B 6 = 0:

f (αX + βY ) = A(αX + βY )A − B 6 = αf (X) + βf (Y ) = α(AXX − B) + β(AY A − B) = A(αX + βY )A − (α + β)B

The map is linear when B = 0n×n (since it becomes a special case of (a)). In general it is nonlinear. For example, n = 1 and A = B = 1. Then f (1 + 1) = 2 − 1 = 1 but f (1) = 0. So f (1 + 1) 6 = f (1) + f (1). (c) The map f : X 7 → AX + XBX is not linear in general (in fact, it is quadratic in X). Under the same assumption as in (b), f (1 + 1) = 2 + 2^2 = 6 6 = f (1) + f (1) = 4.

  1. Inner product (10 points)

(a) We assume x and y are orthogonal, that is 〈x, y〉 = 0 (also, 〈y, x〉 = 0). Therefore,

‖x + y‖^2 = 〈x + y, x + y〉 = 〈x, x〉 + 〈x, y〉 + 〈y, x〉 + 〈y, y〉 = 〈x, x〉 + 〈y, y〉 = ‖x‖^2 + ‖y‖^2.

(b) Please notice that in this part we didn’t assume x and y to be orthogonal. (You will get deduction if you use 〈x, y〉 = 0).

‖x + y‖^2 + ‖x − y‖^2 = 〈x, x〉 + 〈x, y〉 + 〈y, x〉 + 〈y, y〉 +〈x, x〉 − 〈x, y〉 − 〈y, x〉 + 〈y, y〉 = 2 〈x, x〉 + 2〈y, y〉 = 2 ‖x‖^2 + 2‖y‖^2.

Comment: Here, we works with complex field so 〈x, y〉 = 〈y, x〉 6 = 〈y, x〉 in general. You will get a deduction if writing 〈x + y, x + y〉 = 〈x, x〉 + 2〈x, y〉 + 〈y, y〉 because this is not true in general.

  1. Jordan Form (10 points)

(a) Eigenvalue { 1 , 2 , 2 }. For λ = 1, solving (A − I)v 1 = 0 gives an eigenvector is v 1 =

. For λ = 2, solving (A − 2 I)v 2 = 0 gives an eigenvector v 2 =

 (^) and solving

(A − 2 I)v 3 = v 2 gives a generalized eigenvector v 3 =

. Then

P =

[

v 1 v 2 v 3

]

and

P −^1 AP =

 = D.

(b) [ a 0 0 b

]m

[

am^0 0 bm

]

and

[

a 1 0 a

]m

[

am^ mam−^1 0 am

]

Proof: (by induction) [ a 0 0 b

]m+

[

am^0 0 bm

] [

a 0 0 b

]

[

am+1^ (m + 1)am 0 am+

]

[

am^ mam−^1 0 am

] [

a 1 0 a

]

(c)

e

2 4 a^0 0 b

3 5 =

[

]

[

a 0 0 b

]

[

a^2 0 b^2

]

[

a^3 0 b^3

]

[

1 + a + (^) 2!^1 a^2 + (^) 3!^1 a^3 +... 0 0 1 + b + (^) 2!^1 b^2 + (^) 3!^1 b^3 +...

]

[

ea^0 0 eb

]

Similarly,

e

2 4 a^1 0 a

3 5 =

[

1 + a + (^) 2!^1 a^2 + (^) 3!^1 a^3 +... 0 + 1 + (^) 2!^1 2 a + (^) 3!^1 3 a^2 + (^) 4!^1 4 a^3 +... 0 1 + a + (^) 2!^1 a^2 + (^) 3!^1 a^3 +...

]

[

ea^ ea 0 ea

]

(d) We have

eA^ = I + A +

A^2 +

A^3 +...

= I + P D−^1 +

(P DP −^1 )(P DP −^1 ) +

(P DP −^1 )(P DP −^1 )(P DP −^1 ) +...

= P (I + D +

D^2 +

D^3 +... )P −^1

= P eDP −^1

working with the Cayley-Hamilton theorem directly as in the solution avoids the calculation of eigenvalues (in this example, the eigenvalues will be messy; you need to get the exact numbers, not approximations).

  1. Calculation of eAt^ (10 points)

(a) Using the Cayley-Hamilton theorem: Let f (x) = ext. We calculate f (A). We find h(x) = a 0 + a 1 x such that h(A) = f (A). Eigenvalues of A : { 1 , 3 }. Then to find a 0 , a 1 we solve

f (1) = h(1) ⇒ et^ = a 0 + a 1 f (3) = h(3) ⇒ e^3 t^ = a 0 + 3a 1

which yields a 1 = 12 (e^3 t^ − et) and a 0 = 12 (3et^ − e^3 t). Hence,

eAt^ = (

(3et^ − e^3 t))I + (

(e^3 t^ − et))A =

[

et^ + e^3 t^ et^ − e^3 t et^ − e^3 t^ et^ + e^3 t

]

(b) Using Inverse Laplace transform: We have

(sI − A)−^1 =

[

s − 2 1 1 s − 2

]− 1

s^2 − 4 s + 3

[

s − 2 − 1 − 1 s − 2

]

[ 1

s− 1 +^

1 s− 3

1 s− 1 −^

1 1 s−^3 s− 1 −^

1 s− 3

1 s− 1 +^

1 s− 3

]

using partial fraction.

Taking inverse Laplace transform, we have

eAt^ = L−^1

[ 1

s− 1 +^

1 s− 3

1 s− 1 −^

1 1 s−^3 s− 1 −^

1 s− 3

1 s− 1 +^

1 s− 3

])

[

et^ + e^3 t^ et^ − e^3 t et^ − e^3 t^ et^ + e^3 t

]

  1. Correlation between transfer functions and state-space equations (10 points)

(a) Answer: G(s) = C(sI − A)−^1 B + D. The derivation is in the textbook page 15 (also in the note). The conversion from state space to transfer function is not difficult but the procedure is important, so the purpose of this part is to have you to have a hand on the derivation. Also, keep in mind that in general, for MIMO systems, we have a matrix of transfer functions instead of a single transfer function. (b) Nonlinear equations:

V˙ = − D M − g sin γ +

T

M

= f 1 (V, γ, T )

γ˙ =

L

V M

g V cos γ + α

T

V M

= f 2 (V, γ, T )

Linearization at V ,¯ 0 , T¯ :

( (^) ˙ δV δγ^ ˙

[ (^) ∂f 1 ∂V

∂f 1 ∂γ ∂f 2 ∂V

∂f 2 ∂γ

]

V = V ,γ¯ =0,T = T¯

δV δγ

[ (^) ∂f 1 ∂f^ ∂T 2 ∂T

]

V = V ,γ¯ =0,T = T¯

δT

[

0 −g (− (^) ML + g − α T¯ M )^

1 V¯ 2 0

] (

δV δγ

[ 1

Mα V M^ ¯

]

δT

The matrices are

A =

[

0 −g a 0

]

, B =

[ 1

Mα V M^ ¯

]

, C =

[

]

, D =

[

]

where a = (− (^) ML + g − α (^) MT¯ ) (^) V¯^1 2. Then the transfer matrix is

G(s) = C(sI − A)−^1 B + D =

s^2 + ag

[

(1/M )s − gα/( V M¯ ) −a/M + (α/( V M¯ ))s

]