Docsity

solved example and skill assessment exercise, Exercises of Linear Control Systems

Toggle sidebar
bg1
Linear Control Systems — EEN 412
Week 09 — Laplace Transform Solution of State Equations
Full Step-by-Step Solutions: Example 4.11 & Skill-Assessment 4.9
EXAMPLE 4.11 — Laplace Transform Solution; Eigenvalues and
Poles
Given Information
State equation:
x_dot = A·x + B·u(t)
| 0 1 0 | |0|
A = | 0 0 1 | B = |0|
|-24 -26 -9| |1|
C = [1 1 0]
x(0) = [1, 0, 2]^T (initial conditions)
u(t) = e^(-t) (input signal)
STEP 1: Convert Input u(t) to Laplace Domain
We need everything in the s-domain. The Laplace transform of e^(-at) = 1/(s+a).
Here a = 1, so:
U(s) = L{ e^(-t) } = 1/(s+1)
STEP 2: Form the Matrix (sI - A)
sI means: put s on every diagonal position, zeros elsewhere.
Then subtract A from it entry by entry.
First write sI:
|s 0 0|
sI = |0 s 0|
|0 0 s|
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download solved example and skill assessment exercise and more Exercises Linear Control Systems in PDF only on Docsity!

Linear Control Systems — EEN 412

Week 09 — Laplace Transform Solution of State Equations

Full Step-by-Step Solutions: Example 4.11 & Skill-Assessment 4.

EXAMPLE 4.11 — Laplace Transform Solution; Eigenvalues and

Poles

Given Information

State equation:

x_dot = A·x + B·u(t) | 0 1 0 | |0| A = | 0 0 1 | B = |0| |-24 -26 -9| |1| C = [1 1 0] x(0) = [1, 0, 2]^T (initial conditions) u(t) = e^(-t) (input signal)

STEP 1: Convert Input u(t) to Laplace Domain

We need everything in the s-domain. The Laplace transform of e^(-at) = 1/(s+a).

Here a = 1, so:

U(s) = L{ e^(-t) } = 1/(s+1)

STEP 2: Form the Matrix (sI - A)

sI means: put s on every diagonal position, zeros elsewhere.

Then subtract A from it entry by entry.

First write sI:

|s 0 0| sI = |0 s 0| |0 0 s|

Now compute sI - A (subtract each element of A from sI):

|s-0 0-1 0-0 | | s -1 0 | (sI - A) = |0-0 s-0 0-1 | = | 0 s -1 | |0-(-24) 0-(-26) s-(-9)| |24 26 s+9 |

STEP 3: Find det(sI - A) — The Characteristic Polynomial

For a 3x3 matrix, we expand the determinant along the first row.

Formula: det = a11·M11 - a12·M12 + a13·M

where Mij = determinant of the 2x2 matrix left after removing row i and column j.

Our matrix:

| s -1 0 | (sI-A) = | 0 s -1 | |24 26 s+9 |

TERM 1: a11 = s, remove row1 and col1, get 2x2:

2x2 matrix = | s -1 | |26 s+9 | det of 2x2 = s·(s+9) - (-1)· = s^2 + 9s + 26 Term 1 = s · (s^2 + 9s + 26) = s^3 + 9s^2 + 26s

TERM 2: a12 = -1, remove row1 and col2, get 2x2:

2x2 matrix = | 0 -1 | |24 s+9 | det of 2x2 = 0·(s+9) - (-1)·24 = 0 + 24 = 24 Term 2 = -(-1) · 24 = +1 · 24 = + ^^^^ note the minus sign in front is part of the formula

TERM 3: a13 = 0, so the whole term = 0

C31 = (+1) · [(-1)(-1) - (0)(s)] = 1

C32: remove row3, col2 → 2x2 = |0 0 / 0 -1| (rows 1,2 cols 1,3)

C32 = (-1) · [0·(-1) - 0·0] = 0... Actually row1col1=s, row1col3=0, row2col1=0, row2col3=- C32 = (-1) · [s(-1) - (0)(0)] = (-1)(-s) = s

C33: remove row3, col3 → 2x2 = |s -1 / 0 s|

C33 = (+1) · [s·s - (-1)·0] = s^

The cofactor matrix is:

Cofactor matrix = | s^2+9s+26 -24 -24s | | s+9 s^2+9s -(26s+24) | | 1 s s^2 |

TRANSPOSE it (swap rows and columns) to get adj(sI-A):

| s^2+9s+26 s+9 1 | adj(sI-A) = | -24 s^2+9s s | | -24s -(26s+24) s^2 |

STEP 5: Build the Vector [x(0) + B·U(s)]

U(s) = 1/(s+1). Multiply B by U(s):

B·U(s) =|0| × 1/(s+1) = | 0 | |1| | 1/(s+1) |

Now add to x(0) = [1, 0, 2]^T entry by entry:

x(0) + B·U(s) = |0| + | 0 | = | 0 + 0 | = | 0 | |2| | 1/(s+1) | | 2 + 1/(s+1) | | (2s+3)/(s+1) | Bottom entry: 2 + 1/(s+1) = 2(s+1)/(s+1) + 1/(s+1) = (2s+2+1)/(s+1) = (2s+3)/(s+1)

STEP 6: Calculate X(s) = adj(sI-A) × [x(0) + B·U(s)] / det(sI-A)

Multiply the 3×3 adjugate matrix by the 3×1 vector. Each row gives one state variable.

The denominator det(sI-A) = (s+1)(s+2)(s+3)(s+4).

→ Computing X1(s) — use ROW 1 of adj: [s^2+9s+26, s+9, 1]

Numerator of X1 = (s^2+9s+26)·1 + (s+9)·0 + 1·(2s+3)/(s+1) = (s^2+9s+26) + (2s+3)/(s+1) = [(s^2+9s+26)(s+1) + (2s+3)] / (s+1) Expand (s^2+9s+26)(s+1): = s^3 + s^2 + 9s^2 + 9s + 26s + 26 = s^3 + 10s^2 + 35s + 26 Add (2s+3): = s^3 + 10s^2 + 35s + 26 + 2s + 3 = s^3 + 10s^2 + 37s + 29 So: X1(s) = (s^3 + 10s^2 + 37s + 29) / [(s+1)(s+2)(s+3)(s+4)]

→ Computing X2(s) — use ROW 2 of adj: [-24, s^2+9s, s]

Numerator of X2 = (-24)·1 + (s^2+9s)·0 + s·(2s+3)/(s+1) = -24 + s(2s+3)/(s+1) = [-24(s+1) + s(2s+3)] / (s+1) Expand: -24(s+1) = -24s - 24 s(2s+3) = 2s^2 + 3s Sum = 2s^2 + 3s - 24s - 24 = 2s^2 - 21s - 24 So: X2(s) = (2s^2 - 21s - 24) / [(s+1)(s+2)(s+3)(s+4)]

Find A → set s = -2, cover (s+2): A = ((-2)^2 + 11(-2) + 5) / [(-2+3)(-2+4)] = (4 - 22 + 5) / [(1)(2)] = (-13) / 2 = -6. Find B → set s = -3, cover (s+3): B = ((-3)^2 + 11(-3) + 5) / [(-3+2)(-3+4)] = (9 - 33 + 5) / [(-1)(1)] = (-19) / (-1) = + Find C → set s = -4, cover (s+4): C = ((-4)^2 + 11(-4) + 5) / [(-4+2)(-4+3)] = (16 - 44 + 5) / [(-2)(-1)] = (-23) / (2) = -11. Y(s) = -6.5/(s+2) + 19/(s+3) + (-11.5)/(s+4)

STEP 9: Inverse Laplace Transform → y(t)

Standard formula: L^{-1} { 1/(s+a) } = e^(-at)

Apply to each term:

-6.5/(s+2) → -6.5 · e^(-2t) 19/(s+3) → 19 · e^(-3t) -11.5/(s+4) → -11.5 · e^(-4t) FINAL ANSWER — Example 4. y(t) = -6.5·e^(-2t) + 19·e^(-3t) - 11.5·e^(-4t) (for t ≥

Eigenvalues = Poles = { -2, -3, -4 }

SKILL-ASSESSMENT EXERCISE 4.9 — 2×2 System

Same method as above, but 2×2 matrices — easier calculations!

Given Information

A = |-3 -5 | B = |1|

C = [1 3]

x(0) = [2, 1]^T u(t) = e^(-t) → U(s) = 1/(s+1)

STEP 1: Form (sI - A)

Same rule: s on diagonal, subtract A:

|s 0| | 0 2 | | s-0 0-2 | | s -2 | sI = |0 s| A = |-3 -5 | so | 0-(-3) s-(-5)| = | 3 s+5| (sI - A) = | s -2 | | 3 s+5|

STEP 2: Find det(sI - A)

For a 2x2 matrix |a b| the det = a·d - b·c (just cross multiply)

|c d|

det(sI-A) = s·(s+5) - (-2)·(3) = s^2 + 5s - (-6) = s^2 + 5s + 6 Factor: s^2 + 5s + 6 = (s+2)(s+3)

→ X1(s) — Row 1 of adj = [s+5, 2]:

Numerator of X1 = (s+5)·2 + 2·(s+2)/(s+1) = 2(s+5) + 2(s+2)/(s+1) = [2(s+5)(s+1) + 2(s+2)] / (s+1) Expand 2(s+5)(s+1): = 2(s^2 + s + 5s + 5) = 2(s^2 + 6s + 5) = 2s^2 + 12s + 10 Add 2(s+2) = 2s + 4: = 2s^2 + 12s + 10 + 2s + 4 = 2s^2 + 14s + 14 X1(s) = (2s^2 + 14s + 14) / [(s+1)(s+2)(s+3)]

→ X2(s) — Row 2 of adj = [-3, s]:

Numerator of X2 = (-3)·2 + s·(s+2)/(s+1) = -6 + s(s+2)/(s+1) = [-6(s+1) + s(s+2)] / (s+1) Expand: -6(s+1) = -6s - 6 s(s+2) = s^2 + 2s Sum = s^2 + 2s - 6s - 6 = s^2 - 4s - 6 X2(s) = (s^2 - 4s - 6) / [(s+1)(s+2)(s+3)]

STEP 6: Find Y(s) = C · X(s)

C = [1 3] → Y(s) = 1·X1(s) + 3·X2(s)

Y(s) = (2s^2 + 14s + 14) / [(s+1)(s+2)(s+3)]

  • 3·(s^2 - 4s - 6) / [(s+1)(s+2)(s+3)] Same denominator — combine numerators: Numerator = (2s^2 + 14s + 14) + 3(s^2 - 4s - 6) = 2s^2 + 14s + 14 + 3s^2 - 12s - 18 = 5s^2 + 2s - 4 Y(s) = (5s^2 + 2s - 4) / [(s+1)(s+2)(s+3)]

STEP 7: Partial Fractions

Write: Y(s) = A/(s+1) + B/(s+2) + C/(s+3)

Cover-up method:

Y(s) = (5s^2 + 2s - 4) / [(s+1)(s+2)(s+3)] Find A → set s = -1, cover (s+1): A = (5(1) + 2(-1) - 4) / [(-1+2)(-1+3)] = (5 - 2 - 4) / [(1)(2)] = (-1) / 2 = -0. Find B → set s = -2, cover (s+2): B = (5(4) + 2(-2) - 4) / [(-2+1)(-2+3)] = (20 - 4 - 4) / [(-1)(1)] = (12) / (-1) = - Find C → set s = -3, cover (s+3): C = (5(9) + 2(-3) - 4) / [(-3+1)(-3+2)]