Professional Documents
Culture Documents
Controller
Power Amplifier
R4
R2
Summing Amplifier R3
R1 - Va
-
R
+
Vs + U
- Angular
Position
+
Vref R
e=Vref- Vm
R
Position
Sensor
Vm
θ
E Motor
Antenna
Ks
Objective:
Design a controller to achieve the following Performance Measures
− Desired behavior of the output (over-damped / under-damped response)
− Time required to reach a new reference value r
− Accuracy (error in steady state)
u = K p e → U ( s ) = K p E( s )
→ K (s) = K p
r + e u
Kp
−
r + e u R(s) + E(s)
Ki
U(s)
−
∫ Ki
−
s
y Y(s)
Increasing the value of Kd increases the stability of the system. The steady-state error, however, is
unaffected since the derivative of the steady-state error is zero.
y Y(s)
4. PI Controller:
Ki
K( s ) = K p +
s
The combination of Proportional plus Integral control.
R(s) + E(s)
K
U(s)
Kp + i
s
−
Y(s)
Y(s)
6. PID Controller:
Ki
K ( s) = K p + + Kd s
s
The combination of Proportional plus Integral plus Derivative control. For motion systems, the PID
loop has become a very popular control algorithm. The feedback elements are interactive and knowing
how they interact is essential for tuning a motion system. Optimum system performance requires that
the coefficients, Kp, Ki, and Kd be tuned for a given combination of motion mechanics and payload
inertias.
Y(s)
Case studies:
Controller System
r + e u V θ (s)
θ y
K(s) Ka G (s) = Ks
V (s)
−
Gp(s)
Example:
Consider the closed loop control system
r e y
+
4 10 40 𝑁𝑁
𝐾𝐾 (𝑠𝑠)𝐺𝐺 (𝑠𝑠) = × = =
𝑠𝑠 0.1𝑠𝑠 2 + 𝑠𝑠 + 10 𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10) 𝐷𝐷
1 1 𝐷𝐷
𝑒𝑒(∞) = lim 𝑠𝑠 × 𝑅𝑅(𝑠𝑠) � � = lim 𝑠𝑠 × � �
𝑠𝑠→0 1 + 𝐾𝐾 (𝑠𝑠)𝐺𝐺(𝑠𝑠) 𝑠𝑠→0 𝑠𝑠 𝐷𝐷 + 𝑁𝑁
𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10)
= lim � �=0
𝑠𝑠→0 𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10) + 40
1 1 𝐷𝐷
𝑒𝑒(∞) = lim 𝑠𝑠 × 𝑅𝑅(𝑠𝑠) � � = lim 𝑠𝑠 × 2 � �
𝑠𝑠→0 1 + 𝐾𝐾 (𝑠𝑠)𝐺𝐺(𝑠𝑠) 𝑠𝑠→0 𝑠𝑠 𝐷𝐷 + 𝑁𝑁
1 𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10) 10
= lim × � � = = 0.25
𝑠𝑠→0 𝑠𝑠 0.1𝑠𝑠 3 + 𝑠𝑠 2 + 10𝑠𝑠 + 40 40
b) Step response:
40
𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10) 40
( )
𝐺𝐺𝑐𝑐𝑐𝑐 𝑠𝑠 = =
40 0.1𝑠𝑠 3 + 𝑠𝑠 2 + 10𝑠𝑠 + 40
1+
𝑠𝑠(0.1𝑠𝑠 2 + 𝑠𝑠 + 10)
Method 1:
Find directly Y(s) and next find the inverse Laplace transform using the partial fraction method.
r + e y
K(s)G(s
̄
1 40
𝑌𝑌(𝑠𝑠) = 𝑅𝑅(𝑠𝑠) × 𝐺𝐺𝑐𝑐𝑐𝑐 (𝑠𝑠) = ×
𝑠𝑠 0.1𝑠𝑠 3 + 𝑠𝑠 2 + 10𝑠𝑠 + 40
𝑎𝑎 𝑏𝑏 𝑐𝑐𝑐𝑐 + 𝑑𝑑
𝑌𝑌(𝑠𝑠) = + + 2
𝑠𝑠 𝑠𝑠 + 5.326 𝑠𝑠 + 4.674𝑠𝑠 + 75.11
a=1
b = -0.9558
c = -0.0442
d = -5.2972
𝑎𝑎 𝑏𝑏 𝑐𝑐𝑐𝑐 + 𝑑𝑑
𝑌𝑌(𝑠𝑠) = + +
𝑠𝑠 𝑠𝑠 + 5.326 (𝑠𝑠 + 2.337)2 + 8.3452
𝑎𝑎 𝑏𝑏 𝑐𝑐(𝑠𝑠+2.337)+𝑑𝑑−2.337𝑐𝑐
𝑌𝑌(𝑠𝑠) = + +
𝑠𝑠 𝑠𝑠+5.326 (𝑠𝑠+2.337)2 +8.3452
𝑦𝑦(𝑡𝑡) = 1 − 0.9558 𝑒𝑒 −5.326 𝑡𝑡 − 0.0442 𝑒𝑒 −2.337 𝑡𝑡 cos (8.345𝑡𝑡) − 0.6224 𝑒𝑒 −2.337 𝑡𝑡 sin (8.345𝑡𝑡)
40 400
𝐺𝐺𝑐𝑐𝑐𝑐 (𝑠𝑠) = =
0.1𝑠𝑠 3 + 𝑠𝑠 2 + 10𝑠𝑠 + 40 𝑠𝑠 3 + 10𝑠𝑠 2 + 100𝑠𝑠 + 400
400
=
(𝑠𝑠 + 5.326)(𝑠𝑠 2 + 4.674𝑠𝑠 + 75.11)
𝑎𝑎 𝑏𝑏𝑏𝑏 + 𝑐𝑐
𝐺𝐺𝑐𝑐𝑐𝑐 (𝑠𝑠) = + 2
𝑠𝑠 + 5.326 𝑠𝑠 + 4.674𝑠𝑠 + 75.11
𝑎𝑎 𝑏𝑏𝑏𝑏 𝑐𝑐
𝐺𝐺𝑐𝑐𝑐𝑐 (𝑠𝑠) = + 2 + 2
𝑠𝑠 + 5.326 𝑠𝑠 + 4.674𝑠𝑠 + 75.11 𝑠𝑠 + 4.674𝑠𝑠 + 75.11
a = 5.0906
b = -5.0906
c = 3.3188
y2 + +
G2(s) y
+
y3
G3(s)
𝑎𝑎 𝑎𝑎/5.326 0.9558
𝐺𝐺1 (𝑠𝑠) = = =
𝑠𝑠 + 5.326 1 + 𝑠𝑠 1+
𝑠𝑠
5.326 5.326
This is a 1st order system with gain K0=0.9558 and time constant τ=5.326. Therefore, the unit-step
response is
𝑏𝑏𝑏𝑏
𝐺𝐺2 (𝑠𝑠) =
𝑠𝑠 2 + 4.674𝑠𝑠 + 75.11
This is a 2nd order system with a factor s in the numerator. Therefore, the unit-step response is
1 𝑏𝑏𝑏𝑏 𝑏𝑏 −5.0906
𝑌𝑌2 (𝑠𝑠) = × 2 = 2 =
𝑠𝑠 𝑠𝑠 + 4.674𝑠𝑠 + 75.11 𝑠𝑠 + 4.674𝑠𝑠 + 75.11 (𝑠𝑠 + 2.337)2 + 8.3452
This is a 2nd order system with 𝜔𝜔𝑛𝑛 2 = 75.11 and 2ξ 𝜔𝜔𝑛𝑛 = 4.674
= 0.9558(1 − 𝑒𝑒 −5.326 𝑡𝑡 )