Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Systems
B.D.S.G.Weerasooriya 198393C
R.M.J.Ranathunga 198384B
1
a) Designing a servo system step by step in order to achieve a bandwidth of 20 rad/s, phase
margin of 45o and steady state 1% error. The open loop plant is as follow.
3(𝑠 + 3)
𝐺(𝑠) =
(𝑠 + 4)(𝑠 2 + 3𝑠 + 20)
b)
Step 1 - Gain and phase plot
𝐾|𝐺(𝑗𝜔)|𝜔 = 20 = 1
𝑘 = 129.3
Corresponding MATLAB code for bandwidth adjustment
G1
3
Figure 2 – Gain and phase
response
c)
Step 3 - Phase margin adjustment
∠𝐺(𝑗𝜔)𝜔 = 20 = −168°
𝑃ℎ𝑎𝑠𝑒 𝑚𝑎𝑟𝑔𝑖𝑛𝑒 = 180° − 168° = 12°
𝐴𝑑𝑑𝑖𝑡𝑖𝑜𝑛𝑎𝑙 𝑝ℎ𝑎𝑠𝑒 𝑟𝑒𝑞𝑢𝑖𝑟𝑒𝑚𝑒𝑛𝑡 = 𝑝ℎ𝑎𝑠𝑒 𝑚𝑎𝑟𝑔𝑖𝑛𝑒 − 12° = 33°
4
Gain and phase response for the lead compensator
5
Adding the lead compensator to the controlled plant
G1
G2
G
G2
G1
6
Figure 4 – Gain and phase response of the controlled plant with lead compensator
d)
Step 5 - Steady state error correction (Lag compensator)
𝑠 + 0.95
𝐶𝑙𝑒 =
𝑠 + 0.1
7
Figure 5 – Frequency response of the Lag compensator
8
Adding lag compensator to the controlled plant
9
Final output
G3 G1
G2
G
G1
G2
G3
Figure 6 – Frequency response of the controlled plant for 20 rad/s bandwidth, 45 o phase margin and
ess = 0.01
10
e) Using the Simulink tool the above designed system is tested and
Bellow graph shows the tracking response of the servo system for time varying reference
11