Control Systems_Part 2(1)
Control Systems_Part 2(1)
References:
Modern Control Engineering by Katsushiko Ogata
!
C (s) = "# $!
R (s)
Example: Suppose for a unit step function r(t), the transfer function
%
G (s) =
#$&
what is the value of time constant T ?
Solution:
% &.% !
G (s) = = = 2.5 [ ]
#$& (.%# $! (.%#$!
! ) !* &- )* ) !* )*
+ +𝑥 = 0 + 2𝜁𝜔𝑛 +𝜔𝑛& 𝑥 = 0
, ! " )+ ! ," )+ )+ ! )+
R (s) 𝐺 𝑠 C (s)
C (s) = G (s) R (s)
Zeros ?
Values of the Laplace Transform variable(s) that causes the transfer
function 𝐺 𝑠 to become zero.
Poles?
Values of the Laplace Transform variable (s) that causes that transfer
function 𝐺 𝑠 to become infinite
In other words, you can control the output function between zero and infinity
by controlling the transfer function between zero and poles.
Example 1:
Suppose a linear system is described by the differential equation
) !. ). )/
+7 + 12y = 4 +u
)+ ! )+ )+
Solution:
Taking Laplace Transform: [ S2 + 7s +12] Y(s) = [4s +1] U(s)
From (s + 0.25) = 0 we can say that the system has a single real zero at s = - 0.25
From (s + 3) = 0 & (s + 4) = 0 we can say that a pair of real pole exists at s = -3, - 4
System response varies between 0 and infinity based on the value of s
Example 2:
U (s) 𝐺 𝑠 =
(𝑠 + 5) X (s)
𝑠 + 2 (𝑠 + 4)
The block diagram shows the Transfer Function G (s), output X (s) due to a unit
step input U(s). Find the following:
a. The zeros and poles for the system.
b. Find the response x(t) for the unit step input u(t).
Solution:
!
We know U(s) = is the Laplace transform for a unit step function u(t)
#
(#$%) !
Hence, X (s) = G(s) U (s) =
#$& #$0 #
a. The system has single real zero at s = -5 and two poles at s = -2, and at -4
Example 2:
U (s) 𝐺 𝑠 =
(𝑠 + 5) X (s)
𝑠 + 2 (𝑠 + 4)
b. To calculate x (t):
7! 7& 73
X (s) = #
+ #$&+ #$0
(#$%) %
Where, K1 = #$& (#$0)
; Substitute s = 0 , K1 = 8
(#$%) 3
K2 = ; Substitute s + 2 = 0 à s = -2, K2 = -
# (#$0) 0
(#$%) !
K3 = ; Substitute s + 4 = 0 à s = - 4, K3 =
# (#$&) 8
Taking inverse Laplace transform we get:
Forced
Response Natural Response
% 3 !
x (t) = 8 - 0 exp -2t + 8 exp -4t
Spring-mass-dashpot system
x (t) x (t)
Output
b b𝑥̇
m F (t) m F (t)
Input
kx
k Free Body Diagram
𝑑𝑥 𝑑!𝑥
Newton’s Law =>, 𝐹𝑥 = 𝐹 𝑡 − 𝑏 − 𝑘𝑥 = 𝑚 =>A second order system
𝑑𝑡 𝑑𝑡 !
) !* )*
For a unit step function u(t) , we have 𝑚 +𝑏 + 𝑘𝑥 = u (t)
)+ ! )+
" $
Using 𝜔𝑛 = natural frequency = #
, and 𝜁 = damping ratio = ! "#
9 ) !* &9- )*
, ! " )+ !
+ ," )+
+𝑘 𝑥 = u (t)
Unit Step Response of a Second Order System
U (s) X(s)
𝐺 (𝑠)
9 ) !* &9- )*
+ +𝑘 𝑥 = u (t)
, ! " )+ ! ," )+
: # ,!"
Transfer Function, G(s) = =K Where K = 1/k = constant
5(#) # ! $&-,"#$, ! "
Unit Step Response of a Second Order System
: # ,!"
Transfer Function = G(s) = =K
5(#) # ! $&-,"#$, ! "
Let’s review the following four cases of varying damping ratio (ζ) :
1) Undamped (ζ=0)
2) Underdamped (0< ζ < 1)
3) Critically damped (ζ=1)
4) Overdamped (ζ > 1)
1) Undamped System (𝜁 = damping ratio = 0)
As expected from the name, the undamped system (ζ=0) has no damping,
and the response oscillates forever.
2) Underdamped System (0 < 𝜁 = damping ratio < 1)
The roots are complex conjugate;
s1 & s2 = - 𝜁𝜔𝑛 + 𝑗 𝜔𝑛 1 − 𝜁 &
x(t) =
In reality, all systems have a damping ratio >1 and 𝜁=1 rarely happens.
Now let’s look at graphically how these four cases differ from each other
Unit Step Response for various damping ratio (𝜁)
https://lpsa.swarthmore.edu/Transient/TransInputs/TransStep.html
• In the limiting case of zero
damping (ζ = 0) the solution
oscillates continuously about
the steady state.(not shown in
the Figure.
x(t)
• As the damping is increased (0 <
ζ <1), the solutions are
oscillatory and overshoot the
steady-state response (red,
green, blue).
• For damping ratios, ζ > 1 , the response exhibits
• at critical damping, ζ = 1, the no overshoot, and as the damping ratio is further
response reaches steady-state increased the response approaches the steady-
with no overshoot state value more slowly (skyblue and yellow)
Unit Step Response of a Control System
The transient response of a
Unit Step input often exhibits
damped oscillations before
reaching steady state.
1. Delay time, td
2. Rise time, tr
3. Peak time, tp
4. Maximum overshoot (%) Mp
5. Settling time, ts
https://www.youtube.com/watch?v=crm6FDEUBdA
td = Delay time = the time required for the
response to reach half the final value the
very first time.
tr = Rise time = the time required for the
response to rise from 0% to 100% of its
final value. (see next slide)
tp = Peak time = the time required for the
response to reach the first peak of the
overshoot.
ts = Settling time = the time required for the
response curve to reach and stay within
a range about the final value of size
specified by absolute percentage of the
final value (usually 2% or 5%).
Mp = Overshoot = the maximum peak value
of the response curve measured from
unity.
Example 3: Unit Step Response for a Spring-Mass-
Dashpot system
Figure 1
Solution:
Given: m = 10kg; b = 20N-s/m; k = 100N/m
and input u(t) is a unit- step input
4 (#)
Transfer function G(s) =
5 #
(>#$9) (&(#$!(() (&#$!()
= (?# !$>#$9) = (!(@!$&(@$!(() = (# !$&#$!()
Solution:
4 (#) (&#$!()
G(s) = ==
5 # (# ! $&#$!()
Output y
>> num = [2 10];
>> den = [1 2 10];
>> sys = tf(num, den)
>> step(sys)
>> grid
>> title(‘Unit-Step Response’, ‘Fontsize’, ‘20’)
>> xlabel (‘t’, ‘Fontsize’, 20’)
>> ylabel (‘Output y’, ‘Fontsize’, ‘20’) t (sec)
You can measure following characteristics for this response from the plot :
Delay time (td ); Rise time (tr ) ; Peak time (tp ); Maximum overshoot (Mp );
and Settling time (ts )
End