Professional Documents
Culture Documents
CS Lecture 4
CS Lecture 4
3–1
DYNAMIC RESPONSE
t t
t
Symbol
• Sifting property:1
% ∞
x(τ )δ(t − τ ) dτ = x(t).
−∞
1
Assumes that x(t) is continuous at t = τ . Interpretation: no value of x(t) matters
except that over the short range where δ(t) occurs.
y(t) = T[x(t)]
&% ∞ '
=T x(τ )δ(t − τ ) dτ (sifting)
−∞
% ∞
= x(τ )T[δ(t − τ )] dτ . (linear)
−∞
Let h(t, τ ) = T[δ(t − τ )]
% ∞
= x(τ )h(t, τ ) dτ
−∞
If the system is time invariant, h(t, τ ) = h(t − τ )
% ∞
= x(τ )h(t − τ ) dτ (time invariant)
−∞
△
= x(t) ∗ h(t).
■ The output of an LTI system is equal to the convolution of its impulse
response with the input.
■ This makes life EASY (TRUST me!)
ẏ(t) = Asest
Asest + k Aest = 0
s+k = 0
s = −k.
■ We have solved for s; now, solve for A.
% 0+ % 0+ % 0+
ẏ(t) dt + k y(t) dt = δ(t) dt
− − −
( 0 )* + ( 0 )* + ( 0 )* +
+ 0 1
y(t)|00−
y(0+) − y(0−) = 1
+
Ae−k0 − 0 = 1
A = 1.
= est H (s).
■ An est input decouples the convolution into two independent parts: a
part depending on est and a part depending on h(t).
EXAMPLE : ẏ(t) + ky(t) = u(t) = est :
but , y(t) = H (s)est , ẏ(t) = s H (s)est ,
△
Now, H ( jω) = Me j φ
Let t ′ = t − τ :
% ∞ % ∞
−sτ ′
Y (s) = h(τ )e dτ u(t ′)e−st dt ′
τ =0− t ′ =0−
Y (s) = H (s)U (s).
ci = (s − pi )F(s)|s= pi
n
7 . / 1
f (t) = ci e pi t 1(t) since L ekt 1(t) = .
i =1
s−k
5 5
EXAMPLE : F(s) = = .
s 2 + 3s + 2 (s + 1)(s + 2)
8 5 88
8
c1 = (s + 1)F(s)8 = 8 =5
s=−1 s + 2 s=−1
8 5 88
8
c2 = (s + 2)F(s)8 = 8 = −5
s=−2 s+1 s=−2
Example 1. Example 2.
r = -5 r = -2
5 -1
p = -2 2
-1 p = -2
k = [] -2
-1
k = []
■ When you use “residue” and get repeated roots, BE SURE to type
“help residue” to correctly interpret the result.
s 2Y (s) − αs − β + Y (s) = 0
Y (s)(s 2 + 1) = αs + β
αs + β
Y (s) = 2
s +1
αs β
= 2 + 2 .
s +1 s +1
From tables, y(t) = [α cos(t) + β sin(t)]1(t).
■ If initial conditions are zero, things are very simple.
EXAMPLE :
ÿ(t)+5 ẏ(t)+4y(t) = u(t), y(0−) = 0, ẏ(0−) = 0, u(t) = 2e−2t 1(t).
2
s 2Y (s) + 5sY (s) + 4Y (s) =
s+2
2
Y (s) =
(s + 2)(s + 1)(s + 4)
−1 2/3 1/3
= + + .
s+2 s +1 s+4
& '
2 1
From tables, y(t) = −e−2t + e−t + e−4t 1(t).
3 3
0.8 0.8
K (1 − e−t/τ )
−σ t
e System response. K = dc gain
y(t) × K
0.6 0.6
h(t)
0.4 1 0.4
←−
e
Response to initial condition
0.2 0.2
−→ 0.
0 0
0 1 2 3 4 5 0 1 2 3 4 5
t =τ t =τ
Time (sec × τ ) Time (sec × τ )
Time response due to complex-conjugate poles
■ Now, consider a second-order transfer function having
complex-conjugate poles
c 1998–2013, Gregory L. Plett and M. Scott Trimboli
Lecture notes prepared by and copyright ⃝
ECE4510/ECE5510, DYNAMIC RESPONSE 3–16
b0 ωn2
H (s) = 2 =K 2 .
s + a1 s + a2 s + 2ζ ωn s + ωn2
( )* +
standard form
ζ = damping ratio.
ωn
R(s) R(s) R(s) R(s)
ωd
σ
0.5
e−σ t
h(t)
0
Envelope of sinusoid decays as e−σ t
−0.5
−e−σ t
−1
0 5 10 15 20 25 30
Time (sec)
y(t)
0 1
ζ =1 0.8
−1 0
0 2 4 6 8 10 12 0 2 4 6 8 10 12
ωn t ωn t
R(s) R(s)
Impulse responses vs. pole locations Step responses vs. pole locations
tp Mp
1
0.9
0.1
tr t
ts
Rise Time
■ All step responses rise in roughly the same amount of time (see
pg. 3–17.) Take ζ = 0.5 to be average.
➠ time from 0.1 to 0.9 is approx ωn tr = 1.8:
1.8
tr ≈ .
ωn
c 1998–2013, Gregory L. Plett and M. Scott Trimboli
Lecture notes prepared by and copyright ⃝
ECE4510/ECE5510, DYNAMIC RESPONSE 3–19
■ We could make this more accurate, but note:
;
ωd = ωn 1 − ζ 2 , σ = ζ ωn .
ωd t p = π, 80
70
π π
tp = = ; Text . 60
M p, %
ωd ωn 1 − ζ 2 50
√ 40
−ζ π/ 1−ζ 2
■ Mp = e × 100. 30
20
EXAMPLE :
ϵ = 0.01 ϵ ts
e−ωn ζ ts = 0.01 0.01 ts = 4.6/σ
0.02 ts = 3.9/σ
ωn ζ ts = 4.6
0.05 ts = 3.0/σ
4.6 4.6
ts = =
ζ ωn σ
Design synthesis
1
I(s)
0
−1
−2
−3
−5 −4 −3 −2 −1 0 1
R(s)
EXAMPLE : Designing motor compensator
■ Suppose a servo-motor system for a pen-plotter has transfer function
0.5K a ωn2
= 2 .
s 2 + 2s + 0.5K a s + 2ζ ωn s + ωn2
■ Only one adjustable parameter K a , so can choose only one spec: tr ,
ts or M p ➠ Allow NO overshoot.
■ M p = 0, ζ = 1.
■ From transfer fn: 2 = 2ζ ωn ➠ ωn = 1.
■ ωn2 = 12 = 0.5K a , K a = 2.0
■ Note: ts = 4.6 seconds. We will need a better controller than this for a
pen plotter!
Non-unity gain
■ If we multiply by K , the dc gain is K . tr , ts , M p , t p are not affected.
2 2(s + 1.1)
H1(s) = H2(s) =
(s + 1)(s + 2) 1.1(s
9 + 1)(s + 2) :
2 2 2 0.1 0.9
= − = +
s+1 s +2 1.1 s + 1 s + 2
0.18 1.64
= +
s+1 s+2
• Poles at R(s) = −σ .
1.5 1.5
ζ = 0.3
0.5
Mp
1 1
α=1 0.7
2
0.5 4 0.5
100
0 0
0 2 4 6 8 10 0 2 4 6 8 10
ωn t α
H (s) 1
1.5 Ho (s)
0.5
1
Ho (s) H (s)
y(t)
y(t)
0
0.5
−0.5
0
Hd (s)
Hd (s) −1
−0.5 −1.5
0 2 4 6 8 10 0 2 4 6 8 10
Time (sec) Time (sec)
1.2 8
Step Response
7
1
ζ = 1.0
6
0.8 0.7
ωn tr
100 5
0.6 0.5
0.4
5 4
3
0.2
2
2
0
α=1 1
0 1 2 3 4 5 6 7 8 0 2 4 6 8 10
ωn t α
I(s)
Unstable
Insignificant Dominant region
R(s)
■ MATLAB ‘step’ and ‘impulse’ commands can plot higher order system
responses.
■ Since a model is an approximation of a true system, it may be all right
to reduce the order of the system to a first or second order system. If
higher order poles and zeros are a factor of 5 or 10 time farther from
the imaginary axis.
• 1st- and 2nd-order models provide us with great intuition into how
the system works.
• May be just as accurate as high-order model, since high-order
model itself may be inaccurate.
Block-diagram manipulation
■ We have already seen block diagrams (see pg. 1–4).
■ Shows information/energy flow in a system, and when used with
Laplace transforms, can simplify complex system dynamics.
■ Four BASIC configurations:
H1 (s)
H2 (s)
H1(s) H2(s)
U (s) Y (s)
H1(s)
U (s) Y (s)
H2(s)
H1(s)
R(s) Y (s)
−H2(s)
EXAMPLE : Recall dc generator dynamics from page 2–19
i f (t) R f Ra L a i a (t)
( )* + ( )* +( )* +
Field Rotor Load
circuit circuit circuit
i f (t) eg (t) i a (t)
e f (t) Field Kg Rotor Zl ea (t)
circuit circuit
d
e f (t) = R f i f (t) + L f i f (t) eg (t) = K g i f (t)
dt
E f (s) = R f I f (s) + L f s I f (s) E g (s) = K g I f (s)
I f (s) 1 E g (s)
= . = Kg.
E f (s) Rf + L fs I f (s)
d
eg (t) = Ra i a (t) + L a i a (t) + ea (t)
ea (t) = i a (t)Z l dt
E g (s) = Ra Ia (s) + L a s Ia (s) + E a (s)
E a (s) = Z l Ia (s)
E a (s) = (Ra + L a s + Z l ) Ia (s)
= Zl . Ia (s) 1
Ia (s) = .
E g (s) L a s + Ra + Z l
■ Put everything together.
E a (s) E a (s) Ia (s) E g (s) I f (s)
=
E f (s) Ia (s) E g (s) I f (s) E f (s)
K g Zl
=, - .
L f s + R f (L a s + Ra + Z l )
Block-diagram algebra
1
R(s) H1(s) Y (s) R(s) H2(s) H1(s) Y (s)
H2 (s)
⇐⇒
H2(s)
“Unity Feedback”
EXAMPLE : Simplify:
H6 (s)
H3 (s)
H4 (s)
H6 (s)
H1(s)
R(s) H2 (s) H5 (s) Y (s)
1 − H1 (s)H3(s)
H4 (s)
H6(s)
H2(s)
H1(s)
R(s) H2 (s) H5 (s) Y (s)
1 − H1 (s)H3(s)
H4 (s)
( 9
)* :
+( )* +
H1 (s)H2(s) H (s)
1−H1(s)H3 (s) H5(s)+ H6(s)
9 : 2
H1(s)H2 (s)H4 (s)
1+
1−H1(s)H3 (s)
H1 (s)H2(s)H5(s) + H1 (s)H6(s)
R(s) Y (s)
1 − H1 (s)H3(s) + H1(s)H2(s)H4(s)