Professional Documents
Culture Documents
Assignment 1 - Answer
Assignment 1 - Answer
Assignment 1 - Answer
SEMESTER 2 - 2023/2024
ANSWER - ASSIGNMENT 1
Objective:
To design cascaded controllers via root locus techniques and Ziegler-Nichols Method
using calculation and then verify by simulation MATLAB.
1
Question:
An adaptive suspension vehicle (ASV) will be a mobility system for use in very rough terrain. It
uses a legged locomotion principle rather than wheels or tracks. An adaptive suspension vehicle
that used a legged locomotion principle. The closed-loop control of the system can be
represented as shown in Figure 1. Do the following:
1. Design a K Gain using Root Locus technique to yield percentage of overshoot (%OS)
≤ 10 % using calculation. (Use the simulation for uncompensated dominant poles
location). Then simulate using in MATLAB.
2. Design a PID using Root Locus technique to yield requirement in Table 1. Then simulate
using in MATLAB.
R(s) +¿ +¿ Y (s)
10
GC (s) 3 2
s + 14 s +43 s+28
−¿ −¿
0.2
Figure 1
2
Table 1: Performance analysis of the uncompensated and compensated systems
4
Settling time =2.35 2.38 1.175 1.3
1.7
π π
=1.56 =0.74
Peak Time 1.68 4.23 0.864
2.02
3
Design PID controller via Root Locus Method
R(s) +¿ +¿ Y (s)
10
GC (s) 3 2
s + 14 s +43 s+28
−¿ −¿
0.2
R(s) +¿ Y (s)
10
GC (s) 3 2
s + 14 s +43 s+28+10 (0.2)
−¿
R(s) +¿ 10 Y (s)
GC (s) 3 2
s + 14 s +43 s+30
−¿
K=4.5226
4
Find steady-state error
4.5226(1 0)
K p=lim KG ( s )=¿ =1.5 075 ¿
s →0 (1 ×3 ×10)
1 1
e ss = = =0.399
1+ K p 1+1. 51
5
Simulation
6
Design PID Controller (Compensated) via Root Locus
Calculation
Determine the sd (comp) =¿ - based on design requirement.
T s (uncomp) 2.35
T s (comp )= = =1.175
2 2
4
ζ ω n= =3.4
1.175
3.4
ω n= =5.43
0. 6266
Therefore,
−3.4+ j 4.23
.
θ3
θ zpd θ1 θ2
O X X X
−Z pd=¿ −10 −3 −1
7
−1 4.23
θ1=tan =32.66 °
1 0−3.4
−1 4.23
θ2=180 ° −tan =95.4 °
3.4−3
−1 4.23
θ 4=180 °−tan =119.57 °
3.4−1
∑ θ z −¿ ∑ θ p=−180° ¿
−1 4.23
θ zpd =tan =67.63 °
z pd−3.4
Z pd =5.14
Design PI
K (s +0.1)
G PI (s)=
s
K=
| 1
G ( s) H ( s ) | |
s=sd
¿
( s+1)(s +3)(s +10)(s)
|
10( s+5.14)( s+ 0.1) s=−3.4 + j 4.23
K=3.58
8
3.57 (1 0 )( 0.1 ) ( 5.14 )
K p=lim KG ( s )=¿ =∞ ¿
s →0 0 ( 1 ×3 ×10 )
1 1
e ss = = =0
1+ K p 1+ ∞
9
10
Design PID Controller (Compensated) via Ziegler-Nichols
Calculation
10 K 2M
T ( s )= 3 2
s +14 s + 43 s +30+10 K
Construct RH table
s
3
1 43
s
2
14 30+10 K
s
1
602−30−10 K
14
s
0
30+10 K
602−30−10 K
>0
14
572
K<
10
K <57.2
∴ K critical=57.2
Find theω c 0
2
1 4 s +3 0+10 K =0
2
1 4 s +3 0+10 (57.2)=0
s=± j6.56
∴ ωc 0=6.56 rad/s
11
Calculate
K ult =57.2
2π 2π
T ult = = =0. 958
ωc 0 6.56
(
G PID ( s )=K p 1+
1
Tis ) (
+T d s =33.65 1+
1
0. 479 s
+0. 12 s )
12
Simulation: PID Controller (Compensated) via Ziegler-Nichols
13