Professional Documents
Culture Documents
Control Systems 1 Term Sept Jan 2019 2020 Drs Khaled Samir Chapter 4
Control Systems 1 Term Sept Jan 2019 2020 Drs Khaled Samir Chapter 4
5 5 1 1
A=s | = 1 & B = (s + 5) | = −1 C(s) = −
s(s+5) s=0 s(s+5) s=−5 s s+5
1 1
c(t) = L−1 ( ) − L−1 ( ) = 1 − e−5t; t ≥ 0 Or c(t) = [1 − e−5t]u(t)
s s+5
MATLAB code for partial fractions: num=5; den=[1 5 0]; [r , p , k]=residue(num , den)
𝐤
For the first-order system, whose closed loop transfer function is 𝐆(𝐬) = and k=a= 5:
𝐬+𝐚
Time constant, Tc= 1/a= 1/5 seconds. Rise time, Tr= 2.2/a= 2.2/5= 0.44 seconds.
20 20 1 1
A=s | = 1 & B = (s + 20) | = −1 C(s) = −
s(s+20) s=0 s(s+20) s=−20 s s+20
1 1
c(t) = L−1 ( ) − L−1 ( ) = 1 − e−20t; t ≥ 0 Or c(t) = [1 − e−20t]u(t)
s s+20
MATLAB code for partial fractions: num=20; den=[1 20 0]; [r , p , k]=residue(num , den)
Eng. Samir A. Farag 1 Control Systems 1
Another method for determination of c(t):
𝐤
For the first-order system, whose closed loop transfer function is 𝐆(𝐬) = , the step
𝐬+𝐚
response is the inverse Laplace transform of:
k k 20 20
k a a 20 20 1 1
C(s) = ≡ − = − = −
s(s+a) s s+a s s+20 s s+20
1 1
c(t) = L−1 ( ) − L−1 ( )= 1−e −20t
; t ≥ 0 Or c(t) = [1 − e −20t ]
u(t)
s s+20
𝐤
For the first-order system, whose closed loop transfer function is 𝐆(𝐬) = and k=a= 20:
𝐬+𝐚
Time constant, Tc= 1/a= 1/20 seconds. Rise time, Tr= 2.2/a= 2.2/20= 0.11 seconds.
k k
0.7032 k a a 1 1
Vo (s) = 5 ≡5 ≡ 5[ − ] = 5[ − ]
s(s+0.7032) s(s+a) s s+a s s+0.7032
1 1
𝑣o (t) = 5L−1 ( ) − 5L−1 ( ) = 5 − 5e−0.7032t; t ≥ 0 Or c(t) = 5[1 − e−0.7032t]u(t)
s s+0.7032
Hint: you can use the partial fractions method introduced before to determine 𝒗𝐨 (𝐭), but for sure the
above method is too direct and simple, particularly for step response of first-order systems.
The general form of the step response without solving for the inverse Laplace transform:
c(t) = A + Be−2t
T=tf(2,[1 2]); % execute this command alone and look at the result
sgrid; pzmap(T)
5 1 5 A B C
b) T(s) = (s+3)(s+6) step response C(s) = = + +
s (s+3)(s+6) s s+3 s+6
The general form of the step response without solving for the inverse Laplace transform:
Nature of each response: overdamped response. See reference pages 169&172 for details
10(s+7) 1 10(s+7) A B C
c) T(s) = (s+10)(s+20) step response C(s) = (s+10)(s+20)
= + +
s s s+10 s+20
The general form of the step response without solving for the inverse Laplace transform:
MATLAB code to plot poles and zeros in s-domain: T=tf([10 70] , conv([1 10] , [1 20])); sgrid; pzmap(T)
Zeros: None
The general form of the step response without solving for the inverse Laplace transform:
c(t) = A + Be(real part of complex pole pair)t cos((imaginary part of complex pole pair)t + some pahse)
MATLAB code to plot poles and zeros in s-domain: T=tf(20 , [1 6 144]); sgrid; pzmap(T)
The general form of the step response without solving for the inverse Laplace transform:
c(t) = A + Be(real part of complex pole pair)t cos((imaginary part of complex pole pair)t + some pahse)
MATLAB code to plot poles and zeros in s-domain: T=tf(2 , [1 1 9]); sgrid; pzmap(T)
s+5 1 s+5 A B C
f) T(s) = (s+10)2 step response C(s) = (s+10)2
= + + (s+10)2
s s s+10
The general form of the step response without solving for the inverse Laplace transform:
1
c(t) = A + Be−10t + Bte−10t Hint: L{te−at} = (s+a)2
Nature of each response: critically response. See solved exercises page 173 in reference
MATLAB code to plot poles and zeros in s-domain: T=tf([1 5] , conv([1 10] , [1 10])); sgrid; pzmap(T)
16 0.04 1.05×107
a) T(s) = b) T(s) = c) T(s) =
s2 +3s+16 s2 +0.02s+0.04 s2 +1.6×103 s+1.05×107
Answers
16 w2n
a) T(s) = ≡
s2 +3s+16 s2 +2ζwn s+w2n
3
wn2 = 16 wn = 4 rad/sec and 2ζwn = 2ζ(4) = 3 ζ = = 0.375
8
4 1 8 π π
Ts = = = sec. TP = = = 0.8472 sec.
ζwn ζ 3 wn √1−ζ2 4√1−0.3752
(0.375×π)
−ζπ/√1−ζ2 −
OS = e × 100 = e √1−0.3752 × 100 = 28.06 %
1
Tr = [1.76ζ3 − 0.417ζ2 + 1.039ζ + 1]
wn
1
= [1.76(0.375)3 − 0.417(0.375)2 + 1.039(0.375) + 1] = 0.356 sec.
4
0.04 w2n
b) T(s) = ≡
s2 +0.02s+0.04 s2 +2ζwn s+w2n
1
wn2 = 0.04 wn = 0.2 rad/sec and 2ζwn = 2ζ(0.2) = 0.02 ζ = = 0.05
20
4 4 π π
Ts = = = 400 sec. TP = = = 15.73 sec.
ζwn 0.05×0.2 wn √1−ζ 2 0.2√1−0.052
(0.05×π)
−
−ζπ/√1−ζ2 √1−0.052
OS = e × 100 = e × 100 = 85.45 %
1
Tr = [1.76ζ3 − 0.417ζ2 + 1.039ζ + 1]
wn
1
= [1.76(0.05)3 − 0.417(0.05)2 + 1.039(0.05) + 1] = 5.26 sec.
0.2
1.05×107 w2n
c) T(s) = ≡ wn2 = 1.05 × 107
s2 +1.6×103 s+1.05×10 7 s2 +2𝛇wn s+w2n
20
wn ≅ 3240 rad/sec and 2ζwn = 2ζ(3240) = 1.6 × 103 ζ = = 0.247
81
1
= [1.76(0.247)3 − 0.417(0.247)2 + 1.039(0.247) + 1] = 3.88 × 10−4 sec.
3240
Problem 29: For each of the unit step responses shown in Figure P4.9, find the transfer
function of the system. [Sections: 4.3, 4.6].
Answers
From the response, we measure the time constant as depicted in Figure 4.5, that is, the time for
the amplitude to reach 63% of its final value. Since the final value is about 2, the time constant is
evaluated where the curve reaches 0.63 * 2= 1.26, or about 0.0244 second. Hence, a= 1/0.0244=
40.984. To find k, we realize from Eq. (4.11) that the forced response reaches a steady state
k
value of K/a=2. Substituting the value of a, we find = 2 k = 81.976
40.984
Eng. Samir A. Farag 6 Control Systems 1
cfinal ×a k 81.976
Thus, the transfer function for the system is G(s) = ≡ =
s+a s+a s+40.984
k k
k k
Hint: C(s) = ≡ a
− a
↔ c(t) = [1 − e−at]u(t) (4.11)
s(s+a) s s+a a
b) The response is for second-
order system whose transfer
function general form is:
k
G(s) =
s2 +2𝜁wn +w2n
w2n cfinal
= (1)
s2 +2𝜁wn +w2n
13.82−11.03
= ≅ 25.3% and from the figure, Ts = 2.62 sec.
11.03
4 4 4
Ts = wn = = ≅ 3.82 rad/sec
ζ×wn ζ×Ts 0.4×2.62
The numerator can be found, as in the first-order system, from a knowledge of the measured and
expected steady-state values. From (1), wn2cfinal = 3.822 × 11.03 ≅ 160.95
k w2n cfinal
G(s) = = (1)
s2 +2𝜁wn +w2n s2 +2𝜁wn +w2n
From the graph, %OS = 40%. Using Eq. (4.39), ζ = 0.28. Also from the graph
%OS 40
ln( 100 ) ln(100)
ζ=− %OS
=− 40
= 0.28 By MATLAB: -log(40/100)/sqrt(pi^2+ (log(40/100))^2)
√π2 +ln2 ( ) √π2 +ln2 ( )
100 100
π
Tp = =4
wn √1−ζ2
π π
wn = = = 0.8181 rad/sec By MATLAB: pi/(4*sqrt(1-0.28^2 ))
4√1−ζ2 4√1−0.28 2
Where, settling time, Ts, is the time required for the transient’s damped oscillations to reach and
stay within ±2% of the steady-state value, i.e. 0.98 or 1.02 as shown in figure below:
Samir A. Farag
Teaching assistant at Electrical and computers Engineering department,
Higher Technological Institute (H.T.I), Industrial Area 2 – Next to Small
Industries Complex P.O. Box 228- 10th of Ramadan city, Egypt
M.Sc. from Computer and Systems Engineering department, Faculty of
engineering, Zagazig University, Egypt, July 26, 2017 (Issue: Control of
Large Crane Structure)
PhD program at Electrical Power and Machines Department, Faculty of
engineering, Cairo University.
Facebook group: Mr. Eng. Samir A. Farag
e-mails: samir.harb22@yahoo.com & samir.farag@hti.edu.eg
Eng. Samir A. Farag 9 Control Systems 1