Assignment 1 Solution
Assignment 1 Solution
Engineering Office Wing Room 448 PO Box 1700 STN CSC Victoria BC V8W 2Y2 Canada
T 250-721-6036 | [email protected] |
Question 1
Find a vector-matrix state-space representation for the system of Fig. 1(10
points)
Figure 1
Solution
Figure 2
Solution
Question 3
Obtain the state space representation of the system shown in Fig. 3. (10
points)
Solution
Question 4
Find the transfer function G(s) = V0(s)/Vi(s) for the circuit of Fig. 4. (10
points)
Figure 4
Solution
Easier approach is transforming the circuit in frequency domain first. Solve
the parallel branch with 1H (1/s) inductor and 1F (1s) capacitor first, the
resultant circuit looks like following.
Writing the nodal equations yields,
2 1
(s + + 1)V1 (s) − Vo (s) = Vi (s)
s s
1 1
V1 (s) + (s + + 1)Vo (s) = Vi (s)
s s
Multiplying s on both sides and solving for Vo(s)
(s 2 + 2s + 2)
Vo(s) = 4 V (s) .
s + 2s3 + 3s2 + 3s + 2 i
Hence,
Vo (s) (s2 + 2s + 2)
= 4 3 2
Vi (s) s + 2s + 3s + 3s + 2
Question
Find the state space representation of the translational mechanical system
shown in Fig. 5, where x1(t) is the output. (10 points)
Figure 5
Solution
The impedance equations are:
(2𝑠 2 + 2𝑠 + 1)𝑋1 (𝑠) − 𝑠𝑋2 (𝑠) − (𝑠 + 1)𝑋3 (𝑠) = 0
−𝑠𝑋1 (𝑠) + (𝑠 2 + 2𝑠 + 1)𝑋2 (𝑠) − (𝑠 + 1)𝑋3 (𝑠) = 0
−(𝑠 + 1)𝑋1 (𝑠) − (𝑠 + 1)𝑋2 (𝑠) + (𝑠 2 + 2𝑠 + 2)𝑋3 (𝑠) = 𝑓(𝑡)
1 1 1 1
𝑥1̈ = −𝑥̇ 1 − 𝑥1 + 𝑥̇ 2 + 𝑥̇ 3 + 𝑥3
2 2 2 2
𝑥2̈ = 𝑥1̇ − 2𝑥̇ 2 + 𝑥2 + 𝑥3̇ + 𝑥3 = 0
𝑥3̈ = 𝑥1̇ + 𝑥1 + 𝑥2̇ + 𝑥2 − 2𝑥3̇ − 2𝑥3 + 𝑓(𝑡)