Understanding Transfer Functions in Systems
Understanding Transfer Functions in Systems
.
was
,
Mech 3900
Wednesday November 6th ,
8.1 Transfer Function (Sections 2.5 and 5.1 in the textbook by W. Palm)
A transfer function is to describe the relationship of the system from the input to the output.
U(s) Y(s)
G(s)
2 m)
G(s) = = =
The roots of the numerator are called zeros; the roots of the denominator are called poles.
The denominator is called the characteristic equation of the system. 23wns Wa
152 ,
+
The roots of the characteristic equation are poles of the Transfer Function. O =
(S Si)(5 Sa)
-
-
8.2 Relationship to State-Space Representation (Section 12.7 in the textbook textbook by R&W)
Take Laplace Transform (assume zero initial conditions (IC’s)) of the following SS form:
! x = Ax + Bu
"
# y = Cx + Du
We can get the transfer function represented as:
v
Y (s) −1 is
G(s) =
U(s)
= C ( SI − A) B + D our
goal
To demonstrate the derivation in the class:
1
note'
not matrix is it must be
I =
[ ] ,
S is a ,
will
multiplied by I the I matrix always be
equal
to one
transform I
take laplace of and
y
①
Bu()
2(f) 2(Ax Bu)
+ = SX(s) = AX(s) +
Sy (s) -
Ax(s) = Bu(s)
(SI
-
A)"(SI A) -
= (s) =
Bu(s)(SI A) -
multiply by inverse
Y =
(x + umY(s) = (x(s) + Du(s)8
take L
=
[c(Sy A)
-
B +
0]u(s)
G = (SFA
:
Handout – Ya-Jun Pan Chapter 8 - Page 2
Example: For the mass-spring-damper system, we have derived the state space equation as:
! $ ! B 1 $! $ ! 1 $
d # vm &=# − m − &# vm &+# m &F
m
dt #" Fk &% # &# F &% # &
#" k 0 &%" k #" 0 &%
Find the single ODE from mass displacement, i.e. y = xm . Use the transfer function expression as
Y (s)
= C(sI − A)−1 B + D .
U(s)
Solution:
! x #
For the output: ! #
y = x1 = " 1 0 $%
1
& + [ 0 ] F(t)
" 2 &$
% x D
C
2
Handout – Ya-Jun Pan Chapter 8 - Page 3
0.2
Transfer Function in Matlab: G( s) = .
s + 0.2 s + 0.4
2
Simulink Diagram:
ODE
X initial
valusa
~
no initial
velocity
·
present to O
3
mass
spring damper system example
? A X * U
= xm
y (x Bu
Fr
+
=
kym =
y
2
-
=
+ [037
Y
= 20 1) .
adiCS On
.
u(s)
= [m Ym] a]
= 20 ]. [*]
all 922-Q1292l
[0][ -
·
20 (
Ym[*]
+
=
im 7
transfora
4m
5 +ms +
So +
Tms + 4m
Y(s) (s2 +
%ms +
Ym) = YmU()
+ Ymy =
Ym]00z
Handout – Ya-Jun Pan Chapter 8 - Page 4
of motion
equation
52 +
0 25.
+ 0 4 .
3-O = As
=
b
anti
Wh =2 = 0 632
.
=
F/m
SS-value = 0 S
.
Question: What are the damping ratio, undamped natural frequency, and steady state value?
4
Handout – Ya-Jun Pan Chapter 8 - Page 5
where
ci : constantsdetermined from givenset of IC's
pi : exponent are roots of characteristic equation (n poles)
For the ith pole :
pi = - +
ju
Yi(t) A
=
*
sin(w+ + b)
1. pi = −σ in the left hand side of the s-plane: real pole.
where AI and
Combine to generate a response component that is decaying sinusoid of the form as:
Ae−σ t sin(ω t + Φ)
where A and Φ are determined by IC’s.
Note: The rate of decay is specified by σ ;
The frequency of oscillations is specified by ω .
5
Overview of the DifferentCases
case a
Im
& Re
+
(t)
-
t
Case 2
x(t)
I
Im
↓
-
* Re
case
+
(t)
Im
- Re
-
Case &
y(t)
Im
- - .
ju
I
,
In
I
Re
I
=....
-ju
case S
y(t)
Im
&
Wit
&
case C
+ (t)
Im
&
·
N +
-
Handout – Ya-Jun Pan Chapter 8 - Page 6
C
A
O
-o + ju/imaginary
(
real
112
poles
? 1) ;
- -
Zeros : -2
b(s) = k(s +
2) =
k(s +
2)
(S + 1)((S + 1) 4)
=
2j)(S
1
2j) +
-
+
(S r)(s +
+
+ note !
-
- a je j
=
j = Fi
s + 5
6
I could be determined if other conditions
au
given
Handout – Ya-Jun Pan Chapter 8 - Page 7
Aerotsin (wt b)
+
u
41 Ansin (w 4) ++
Vy(t) -
t
Ce-ot Cert
ju
⑦
-
O +
: constant
Suntjens F
I =
En (wi
within-wa constant
Wh
②
=
-Funn
circiature
③ 30 From
will
polo
approach
the
ax
-
imaginary
7 4
① just-jun
⑤ RHS : unstable
Determine response from plot (4th order)
pole-zero
X - - -
2j
&
3 - 0 . 1+
-
(e Ce
y(t)
= +
- A &
Re
3
·
+ Ae sin(2+ +
b)
E
= .. 2)
,
=
C, A
↓, determined by initial conditions
Handout – Ya-Jun Pan Chapter 8 - Page 8
From A- : Wh ,
34 ,
was
overshoot
less
of oscillation
· same
period
from A-B-C :
und ,5
· the same overshoot
8
Handout – Ya-Jun Pan Chapter 8 - Page 9
As shown in the pole-zero plot above, analyze the influence of the poles on the system response.
Discussions:
1). p1 = −6 :
2). p1 = −0.2 :
3). p1 = −3± j :
9
Lucas started by providing a brief overview
?
why
analize and simulate
· to
design ,
Example
Car suspension
+(t)
a mi(H) bj(+) hy(t) +
-
+
u(t) =
t
-o
- y(t)a
car over a
bump
going
y(t)
'unedt
u(t
3
2) it makes it easy to
analyze a
system
Stable ?
poles
3) we can
design Feedback controllere)