Professional Documents
Culture Documents
2024 TEST1 Memo
2024 TEST1 Memo
Assessment: Test 1
Number of Pages: 5
Additional Instructions:
• Write your student number below and hand you your question paper with your
answer sheet.
Student Number:
Name (optional):
1|Page
ANSWER ALL QUESTIONS
QUESTION 1 [10]
Consider the RLC circuit presented in Figure 1 with input 𝒗𝒊 (𝒕) and output 𝒗𝒐𝒖𝒕 (𝒕). Derive the
state-space equations representing the circuit. Explain why the state variables should be chosen as
𝒊𝑳 (𝒕), 𝒗𝑪𝟏 (𝒕) and 𝒗𝑪𝟐 (𝒕). Let 𝐶1 be the grounded capacitor and 𝐶2 be the other.
C2
C1
ANSWER
1) There are three independent energy-storing elements (one inductor and two capacitors). The
energy stored in the inductor is a function of the current (𝒊𝑳 (𝒕)) and also the enrgy stored in the
capacitor is a function of the voltage (𝒗𝑪𝟏 (𝒕) and 𝒗𝑪𝟐 (𝒕)). Hence, the minimum set of state
𝑥̇ = 𝐴𝑥 + 𝐵𝑢 𝑦 = 𝐶𝑥 + 𝐷𝑢
2|Page
Writing KVL around Loop 2 yields:
Substituting the loop currents of Eqns. (2)-(4) in Eqn. (1) yields the results in the state variable
𝑑𝑖𝐿
2
𝑑𝑡
𝑑𝑣𝐶1 0 −1 0 𝒊𝑳 1
= [1 −2 2 ] [𝒗𝑪𝟏 ] + [1] 𝑣𝑖
𝑑𝑡 0 2 −2 𝒗𝑪𝟐 1
𝑑𝑣𝐶2
[ 𝑑𝑡 ]
2
Since 𝑣𝑜 = 𝑖2 = 𝑣𝐶1 − 𝑣𝐶2 , the output equation is given as:
𝒊𝑳
𝑦 = [0 1 1] [ 𝒗 𝑪𝟏 ]
𝒗𝑪𝟐
3|Page
Question 2: [10]
Consider the following Transfer Function model.
𝐶(𝑠) 𝑠 2 + 7𝑠 + 2
𝑇(𝑠) = =
𝑅(𝑠) 𝑠 3 + 9𝑠 2 + 26𝑠 + 24
1) Find its corresponding State-Variable Matrix (State-Space) model.
2) Draw the equivalent block diagram representing the Transfer Function Model in controllable
canonical form.
3) What is the nature of the relationship between each state-variable and the control input?
ANSWER
𝐶(𝑠) 𝐶(𝑠) 𝑋(𝑠) 𝐶(𝑠) 𝑋(𝑠) 1
𝑇(𝑠) = = . = 𝑠 2 + 7𝑠 + 2 =
𝑅(𝑠) 𝑋(𝑠) 𝑅(𝑠) 𝑋(𝑠) 𝑅(𝑠) 𝑠 3 +9𝑠 2 +26𝑠+24 3
𝑥1 = 𝑥 𝑥2 = 𝑥̇ = 𝑥̇ 1 𝑥3 = 𝑥̈ = 𝑥̇ 2 𝑥4 = 𝑥⃛ = 𝑥̇ 3
𝑅(𝑠) = (𝑠 3 + 9𝑠 2 + 26𝑠 + 24)𝑋(𝑠) 𝑟 = 𝑥⃛ + 9𝑥̈ + 26𝑥̇ + 24𝑥
𝑥⃛ = −24𝑥 − 26𝑥̇ − 9𝑥̈ + 𝑟 𝑥̇ 3 = −24𝑥1 − 26𝑥2 − 9𝑥3 + 𝑟
The State-Variable Matrix (State-Space) model is shown below:
𝑥̇ 1 0 1 0 𝑥1 0
[𝑥̇ 2 ] = [ 0 0 1 ] [𝑥2 ] + [0]
̇𝑥3 −24 −26 −9 𝑥3 1
2
The output equation is given as:
𝐶 = 𝑥̈ + 7𝑥̇ + 2𝑥 = 2𝑥1 + 7𝑥2 + 𝑥3
𝑥1
𝑦 = [2 7 1] [𝑥2 ]
𝑥3 2) The equivalent block diagram
representing the Transfer
3 Function model in controllable
canonical form is shown below:
3) It is important to note that each
state-variable feeds back to the
control input r(t), through the
coefficients of the system matrix
A obtained above.
2
4|Page
Question 3 [10]
Consider a control system whose open loop transfer fuction is given as:
𝑠
(1 + )2
𝐺 (𝑠)𝐻 (𝑠) = 𝐴
𝑠 3
Analytically determine the value of 𝐴 that gives the system a phase margin of 500 .
ANSWER
𝑠 𝑗𝑤 2 𝑤2
(1+ )2 (1+ ) (1+ 2 )
𝐴
𝐴 𝐴
𝐺(𝑠)𝐻(𝑠) = 𝐺(𝑗𝑤)𝐻(𝑗𝑤) = |𝐺(𝑗𝑤)𝐻(𝑗𝑤)| =
𝑠3 (𝑗𝑤) 3 𝑤3
2
For phase margin, 𝑤 = 𝑤𝑔𝑐 and at 𝑤𝑔𝑐 , |𝐺(𝑗𝑤)𝐻(𝑗𝑤)| = 1
𝑤𝑔𝑐 2
(1+ )
𝐴2 𝑤𝑔𝑐 2 3
|𝐺(𝑗𝑤)𝐻(𝑗𝑤)| = 3
=1 𝑤𝑔𝑐 3 = 1 + 𝐴2 𝑤𝑔𝑐 = 𝐴2 + 𝑤𝑔𝑐 2 (1)
𝑤𝑔𝑐 𝐴2
2
Phase margin =1800 + |𝐺(𝑗𝑤)𝐻(𝑗𝑤)|0 at 𝑤 = 𝑤𝑔𝑐
𝑤𝑔𝑐 𝑤𝑔𝑐
500 = 1800 + 2𝑡𝑎𝑛−1 − 2700 2𝑡𝑎𝑛−1 = 140 𝑤𝑔𝑐 = 2.7474𝐴
𝐴 𝐴
2
Substituting 𝑤𝑔𝑐 = 2.7474𝐴 into Eqn. (1)
2
(2.7474𝐴)3 𝐴2 = 𝐴2 + (2.7474𝐴)2 20.738𝐴5 = 8.548𝐴2
2
3
𝐴 = 0.4122 𝐴 = 0.7442
5|Page
Question 4 [10]
Consider a unity feedback system having open-loop transfer function as shown below:
𝐾
𝐺(𝑠) =
𝑠(1 + 0.2𝑠)(1 + 0.5𝑠)
Analytically determines the value of 𝐾 that gives the system:
(i) A gain margin of 18 dB
(ii) A phase margin of 𝟔𝟎𝟎
ANSWER
1 1
Gain margin = |𝐺(𝑗𝜔)𝐻(𝑗𝜔)| in decibel, Gain margin = 20𝑙𝑜𝑔10 |𝐺(𝑗𝜔)𝐻(𝑗𝜔)|
𝜔=𝜔𝑝𝑐 𝜔=𝜔𝑝𝑐
To find 𝜔𝑝𝑐
2
𝝎𝒑𝒄 = 𝟑. 𝟏𝟔 𝒓𝒂𝒅/𝒔𝒆𝒄 Substitute 𝝎𝒑𝒄 = 𝟑. 𝟏𝟔 𝒓𝒂𝒅/𝒔𝒆𝒄 into Eqn. (1)
𝑲 = 𝟎. 𝟖𝟖𝟏 2
Phase margin = 600 = 1800 + 𝜙𝑔𝑐 𝜙𝑔𝑐 = −1200
2
−1200 = −900 − 𝑡𝑎𝑛−1 (0.2𝜔𝑔𝑐 ) − 𝑡𝑎𝑛−1 (0.5𝜔𝑔𝑐 ) 𝝎𝒈𝒄 = 𝟎. 𝟕𝟗𝟐 𝒓𝒂𝒅/𝒔𝒆𝒄
At 𝜔𝑔𝑐 , |𝐺(𝑗𝜔)𝐻(𝑗𝜔)|𝜔=𝜔𝑔𝑐 = 1
𝐾
|𝐺(𝑗𝜔)𝐻(𝑗𝜔)|𝜔=𝜔𝑔𝑐 = 1 = (2)
𝜔√1+(0.2𝜔)2 √1+(0.5𝜔)2
1|Page