Professional Documents
Culture Documents
BEEE2364
CONTROL PRINCIPLES
Solution:
LT 3! 3∙2∙1 36
6𝑡 3 6 =6 =
𝑠 3+1 𝑠4 𝑠4
LT 𝑠 𝑠
cos 2𝑡 =
𝑠 2 +22 𝑠 2 +4
LT 𝑠+2 𝑠+2
5𝑒 −2𝑡 cos 2𝑡 5 =5
(𝑠+2)2 +4 𝑠 2 +4𝑠+8
36 𝑠+2
∴𝑌 𝑠 = −5
𝑠4 𝑠 2 +4𝑠+8
Solution:
#1. Find Laplace transform of the equation and solve for 𝑌 𝑠
32
𝑠 2 𝑌 𝑠 + 12𝑠𝑌 𝑠 + 32𝑌 𝑠 =
𝑠
32
𝑠 2 + 12𝑠 + 32 𝑌 𝑠 =
𝑠
32 32
𝑌 𝑠 = =
𝑠 𝑠 2 +12𝑠+32 𝑠(𝑠+4)(𝑠+8)
32
𝐴= | =1
(𝑠+4)(𝑠+8) 𝑠=0
32
𝐵= | = −2
𝑠(𝑠+8) 𝑠=−4
32
𝐶= | =1
𝑠(𝑠+4) 𝑠=−8
1 2 1
𝑌 𝑠 = − +
𝑠 𝑠+4 𝑠+8
1 ILT
𝑢(𝑡)
𝑠
2 ILT
2𝑒 −4𝑡 𝑢(𝑡)
𝑠+4
1 ILT
𝑒 −8𝑡 𝑢(𝑡)
𝑠+8
Solution:
#1. Find the partial-fraction expansion of 𝐹 𝑠
3 3
𝐹 𝑠 = =
𝑠 2 (𝑠 2 +2𝑠+5) 𝑠 2 (𝑠+1+𝑗2)(𝑠+1−𝑗2)
𝐴 𝐵 𝐶 𝐷
= + + +
𝑠2 𝑠 𝑠+1+𝑗2 𝑠+1−𝑗2
1 3 3
𝐴= |𝑠=0 =
0! 𝑠 2 +2𝑠+5 5
3 2𝑠+2 6
= − 2 |𝑠=0 = −
(𝑠 +2𝑠+5)2 25
3 3 3 2+𝑗 3
𝐶= | = − = − = − (2 + 𝑗)
𝑠 2 (𝑠+1−𝑗2) 𝑠=−1−𝑗2 4 2−𝑗 4 2−𝑗 2+𝑗 20
3 3 3 2−𝑗 3
𝐷= | =− =− =− (2 − 𝑗)
𝑠 2 (𝑠+1+𝑗2) 𝑠=−1+𝑗2 4 2+𝑗 4 2+𝑗 2−𝑗 20
3 1 6 1 3 2+𝑗 2−𝑗
𝐹 𝑠 = − − +
5 𝑠2 25 𝑠 20 𝑠+(1+𝑗2) 𝑠+(1−𝑗2)
3 6 3
𝑓 𝑡 = 𝑡 − − 2 + 𝑗 𝑒 (−1−𝑗2)𝑡 + (2 − 𝑗)𝑒 (−1+𝑗2)𝑡 𝑢(𝑡)
5 25 20
3 6 3
=
5
𝑡 − 25 − 20 2 + 𝑗 𝑒 −𝑡 𝑒 −𝑗2𝑡 + (2 − 𝑗)𝑒 −𝑡 𝑒 𝑗2𝑡 𝑢(𝑡)
3 6 3
=
5
𝑡 − 25 − 20 𝑒 −𝑡 2 + 𝑗 𝑒 −𝑗2𝑡 + (2 − 𝑗) 𝑒 𝑗2𝑡 𝑢(𝑡)
3 6 3 −𝑡
= 𝑡 − − 𝑒 2 𝑒 −𝑗2𝑡 + 𝑒 𝑗2𝑡 − 𝑗 𝑒 𝑗2𝑡 − 𝑒 −𝑗2𝑡 𝑢(𝑡)
5 25 20
Euler formula
3 6 3
𝑓 𝑡 = 𝑡 − − 𝑒 −𝑡 4cos 2𝑡 + 2sin 2𝑡 𝑢 𝑡
5 25 20
3 6 3 1
= 𝑡 − − 𝑒 −𝑡 cos 2𝑡 + sin 2𝑡 𝑢(𝑡).
5 25 5 2
HAFEZ JTKEK FTKEE
Question 4
Find the transfer function of the electrical network circuit below. Choose
𝑣𝑖 (𝑡) as the input and 𝑣𝑜 (𝑡) as the output.
Procedure:
1. Sum impedances
around the respective
loop.
Loop 1: 2 I1 (s) − 2 I2 (s) = Vi (s) 2. Minus impedances
share with other loops
1
Loop 2: − 2 I1 s + 2 + 2s + I2 (s) = 0
2s
HAFEZ JTKEK FTKEE
Question 4 (Cont.)
Solution (Cont.):
#2. Obtain two voltage equations (KVL) for the two loops (Cont.)
Recall:
Loop 1: 2 I1 (s) − 2 I2 (s) = Vi (s)
1
Loop 2: − 2 I1 s + 2 + 2s + I2 (s) = 0
2s
In matrix form:
2 −2
1 𝐼1 (𝑠) = Vi (s)
−2 2 + 2𝑠 + 𝐼 (𝑠) 0
2𝑠 2
HAFEZ JTKEK FTKEE
Question 4 (Cont.)
Solution (Cont.):
#3. Find the transfer function
𝑉𝑜 𝑠
Transfer function .
𝑉𝑖 𝑠
1
From the circuit, 𝑉𝑜 𝑠 = 𝐼 (𝑠).
2𝑠 2
2 −2
Thus solve for 𝐼2 (𝑠) first. 1 𝐼1 (𝑠) = Vi (s)
−2 2 + 2𝑠 + 𝐼 (𝑠) 0
2𝑠 2
2 Vi (s)
−2 0 0−(−2Vi s ) 2 𝑠 Vi s
𝐼2 𝑠 = 2 −2 = 1 = 4𝑠 2 +1
1 2 2+2s+2s −(−2)(−2)
−2 2+2𝑠+2𝑠
1 2 𝑠 Vi s 𝑉𝑜 𝑠 1
𝑉𝑜 𝑠 = ⇒ =
2𝑠 4𝑠 2 +1 𝑉𝑖 𝑠 4𝑠 2 +1
HAFEZ JTKEK FTKEE
Question 5
Find the state-space representation of the electrical network circuit
𝑖𝐿
below. Choose 𝑣𝑖 (𝑡) as the input, 𝑣𝑜 (𝑡) as the output, and 𝑥 = as
𝑣𝑐
the state vector.
𝑑𝑖𝐿 𝑑𝑖𝐿 1 1 1 1
𝑣𝐿 = 𝐿 = 𝑣𝑖 − 𝑣𝐶 ⇒ = − 𝑣𝐶 + 𝑣𝑖 = − 𝑣𝐶 + 𝑣𝑖
𝑑𝑡 𝑑𝑡 𝐿 𝐿 2 2
𝑑𝑣𝐶 𝑑𝑣𝐶 1 1
𝑖𝐶 = 𝐶 = 𝑖𝐿 ⇒ = 𝑖 = 𝑖
𝑑𝑡 𝑑𝑡 𝐶 𝐿 2 𝐿
HAFEZ JTKEK FTKEE
Question 5 (Cont.)
Solution (Cont.):
#2. Write state-space representation
General state-space representation: 𝑥ሶ = 𝐴𝑥 + 𝐵𝑢, 𝑦 = 𝐶𝑥 + 𝐷𝑢
𝑑𝑖𝐿
𝑖𝐿 𝑑𝑡
Given 𝑥 = , 𝑢 = 𝑣𝑖 , and 𝑦 = 𝑣𝑜 . Thus 𝑥ሶ = .
𝑣𝑐 𝑑𝑣𝐶
𝑑𝑡
Recall:
𝑑𝑖𝐿 1 1
= − 𝑣𝐶 + 𝑣𝑖
𝑑𝑡 2 2
𝑑𝑣𝐶 1
= 𝑖𝐿
𝑑𝑡 2
Thus
1 1
0 − 𝑠
𝑠 0 2 = 2
𝑠𝐼 − 𝐴 = −
0 𝑠 1 1
0 − 𝑠
2 2
HAFEZ JTKEK FTKEE
Question 6 (Cont.)
Solution (Cont.):
1 1
𝑠 −2 𝑠 −
2
1 1
adjoint(𝑠𝐼−𝐴) 𝑠 𝑠
−1 2
𝑠𝐼 − 𝐴 = = 1 = 2
1
determinant(𝑠𝐼−𝐴) 𝑠 𝑠2 +
2 4
1
− 𝑠
2
1
𝑠 −2
1 1
2
𝑠
𝐺 𝑠 = 𝐶 𝑠𝐼 − 𝐴 −1 𝐵 +𝐷 = 0 +0
1 1 2
𝑠 2 +4 0
1
1 𝑠
2
= 1 0 1 1
𝑠 2 +4
4
1
4 1
= 1 = (Similar with the answer of Question 4)
𝑠 2 +4 4𝑠 2 +1
HAFEZ JTKEK FTKEE
Question 7
Find the transfer function of the translational mechanical system below.
Choose 𝑥2 (𝑡) as the output.
𝐾𝑋1 𝑠
𝑓𝑣2 𝑠𝑋2 𝑠
𝑓𝑣1 + 𝑓𝑣2 𝑠𝑋1 𝑠
𝐹(𝑠)
𝑀1 𝑠 2 𝑋1 𝑠
𝐾𝑋1 𝑠
𝑓𝑣2 𝑠𝑋2 𝑠 𝑓𝑣2 + 𝑓𝑣3 𝑠𝑋2 𝑠
𝑓𝑣1 + 𝑓𝑣2 𝑠𝑋1 𝑠 𝑓𝑣2 𝑠𝑋1 𝑠
𝐹(𝑠) 𝑀2 𝑠 2 𝑋2 𝑠
𝑀1 𝑠 2 𝑋1 𝑠
Solve for 𝑋2 𝑠
𝑀1 𝑠 2 + 𝑓𝑣1 +𝑓𝑣2 𝑠+𝐾 𝐹(𝑠)
−𝑓𝑣2 𝑠 0
𝑋2 𝑠 = 𝑀1 𝑠 2 + 𝑓𝑣1 +𝑓𝑣2 𝑠+𝐾 −𝑓𝑣2 𝑠
−𝑓𝑣2 𝑠 𝑀2 𝑠 2 + 𝑓𝑣2 +𝑓𝑣3 𝑠
2𝑠 2 +2𝑠+2 𝐹(𝑠)
−𝑠 0 𝑠𝐹(𝑠)
= 2 =
2𝑠 +2𝑠+2 −𝑠 2𝑠 4 +6𝑠 3 +5𝑠 2 +4𝑠
−𝑠 𝑠 2 +2𝑠
𝑋2 𝑠 𝑠
∴ =
𝐹 𝑠 2𝑠 4 +6𝑠 3 +5𝑠 2 +4𝑠
HAFEZ JTKEK FTKEE
Question 8
Find the state-space representation of the translational mechanical
system below. Choose 𝑥2 (𝑡) as the output.