Professional Documents
Culture Documents
Peter Avitabile
Mechanical Engineering Department
University of Massachusetts Lowell
22.451 Dynamic Systems Mathematical Topics
Complex Analysis
z = x + jy = x + iy
Where:
i = j = 1
Re(z) = x
Im(z) = y
Addition
z1 = x1 + jy1
z 2 = x 2 + jy 2
z1 + z 2 = (x1 + x 2 ) + j(y1 + y 2 )
z1 z1 * = x12 + y12
where: z1* = complex conjugate
and: z1* = x jy
if:
Division
z1 = x + jy
x1 + jy1
x1 + jy1 x 2 jy 2
=
x 2 + jy 2 x 2 + jy 2 x 2 jy 2
(
x1x 2 + y1y 2 ) + j(y1x 2 y 2 x1 )
=
x 22 + y22
( 2 + j5)(3 j2)
( 2 + j5)(3 j2)
= 6 + j19 + 10
= 6 + j4 + j15 j 10
= 4 + j19
4
1 + j3
2 + j5
Solution:
1 + j3 2 j5 13 + j11 13 j11
=
+
=
2 + j5 2 j5
29
29 29
z = 1 + 2 j
Evaluate:
zz *
Solution:
zz* = ( 1 + 2 j)( 1 2 j)
= ( 1) + (2 ) = 5
2
Complex Conjugates
Location of Complex
Conjugates in the
Complex Plane
x jy
x = r cos
y = r sin
z = x + jy
e = cos + j sin
z = x + jy = r cos + j r sin
z = r (cos + j sin ) = r e
r = z = Re{z} + Im{z} = x 2 + y 2
2
y
= tan
x
Example
Express the complex number
z = 3+ j 3
in polar form.
Solution:
3
=
= tan
6
3
z = 12 = 2 3
z=2
j
6
3e
10
Example
Determine the location and the phase angle of
the complex number:
2
1 + j
Solution: Express this number in standard
rectangular form by multiplying its numerator and
denominator by the conjugate of the denominator.
2
1 j 2 2 j
=
= 1 j
1+1
1+ j 1 j
Location = third quadrant
Phase Angle = +225 or -135
22.451 Dynamic Systems Mathematical Topics
11
z1 = r1e
j1
; z 2 = r2e
z1z 2 = r1r2e j( + )
1
Division
j 2
z1 r1 j( )
= e
z 2 r2
1
Complex Conjugate
z1* = re
j1
z z* = re j re j = r 2
1
12
Complex Functions
Complex Variable, s
s = + j
G (s) = K
N(s)
=
D(s)
s m + a1s m 1 + K + a m 1s + a m
s n + b1s n 1 + K + b n 1s + b n
(where m < n )
13
Complex Function
The complex function can be expressed in POLE-ZERO form as:
(
s z1 )(s z 2 )K (s z m )
G (s) = K
(s p1 )(s p 2 )K (s pn )
The roots of the numerator are referred to as ZEROS.
The roots of the denominator are referred to as POLES.
Often this can be written is partial fraction form as:
a1
a2
an
G (s) =
+
+K
s p1 s p 2
s pn
14
Example
Express the given complex function in pole-zero form. Identify
the zeros and the poles, as well as the multiplicity of each.
G (s) =
2s + 1
s(s + 2 )2 (10s + 3)
G (s) =
2(s + 0.5)
10s(s + 2 )2 (s + 0.3)
s + 0.5
1
=
5 s(s + 2 )2 (s + 0.3)
Simple zero: s=-0.5
Two simple poles: s=0 and s=-0.3
Double pole: s=-2
22.451 Dynamic Systems Mathematical Topics
15
Differential Equations
1st Order ODE
1
x& + x = f ( t ) for ( > 0 )
&x& + 2n x& + n 2 x = f ( t )
- damping ratio
cc critical damping
n natural frequency
c
2 k
= ; cc = 2mn ; n =
cc
m
22.451 Dynamic Systems Mathematical Topics
16
17
2x& + x = 0
&x& + 3x& + 9x = 2 sin t
&x& + (2t 1)x& + 2x = 0
x& + (sin t )x = sin 3t
First-order, linear
2
&
2x + x = t
&x& + (x +1)x& + 9x = 0
First-order, nonlinear
Second-order, nonlinear
18
RA &
R
h + h = qi (t)
g
g
Level
19
Flowrate
OUT
1
g
h = qi (t)
h& +
A
RA
As a result, the systems time constant is identified as:
RA
=
g
20
1
x& + x = 0 > 0
Characteristic Equation
1
1
+ =0 =
x ( t ) = ce
21
Ax& + Bx = f ( t )
And subjected to a step input.
dx
f(t)
+ x =
dt
B
In standard form:
dx
1
f(t)
+
x =
dt
A
22.451 Dynamic Systems Mathematical Topics
22
yh (t) = e
where
The solution is
y( t ) = Ce
1
=
+ yp (t)
23
= 0 t 0
f ( t ) = s ( t )
= 1 t > 0
The particular solution can be found to be
y( t ) = Ce
+1
y( t ) = 1 e
22.451 Dynamic Systems Mathematical Topics
24
95.0
Percentage of Response
86.5
63.2
0.1
3
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Time (sec)
25
dy 1
=
dt
22.451 Dynamic Systems Mathematical Topics
26
Ax& + Bx = f ( t )
HOMEWORK ASSIGNMENT ----Calculate the response by hand and plot by hand.
Let A = month and B = day of your birthday
Use MATLAB to confirm your results
27
Ax& + Bx = f ( t )
A
x& + x =
B
1
x& + A x =
B
1
f (t)
B
1
f (t)
A
1
x(s) A
=
f(s) (s + AB )
28
1
A
B
1
S + =
B
A
A
S +
A
NUM = [0 1/A];
DEN = [1 B/A];
step(NUM,DEN)
95.0
Percentage of Response
86.5
63.2
2
0.1
3
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Time (sec)
29
&x& + 2n x& + n 2 x = 0
Characteristic Solution
2 + 2n + n 2 = 0
1, 2 = n
(n )2 n 2
= n n 2 1
c
=
;
cc
cc = 2mn ;
30
k
=
m
d2x
dx
m 2 + c + kx = f ( t )
dt
dt
m
c
x(t)
With I.C.s
31
(m
x=
t fits
e
+ c + k e t = 0
Characteristic equation
c c 2 4mk
2
m + c + k = 0 =
2m
32
c 2 < 4 mk
( < 1)
c 4mk c 2
=
2m
c
4mk c 2
1, 2 =
j
2m
2m
= j
The solution is
(
(
+j)t
j)t
x h = Ae
+ Be
22.451 Dynamic Systems Mathematical Topics
33
e t
Factor out:
x h =e
(Ae
j t
+ Be jt
Recall that:
xh = e
34
Using
xh = ce
xh
sin ( t + )
t
= ce 2 m
2
m
4mk c 2
t +
sin
2m
35
x=e
n t
where
k
m
sin (d t + )
d = n 1 2
36
1.5
Magnitude
1.
2.
3.
4.
0.5
0
0
0.5
1.5
2.5
-0.5
-1
-1.5
Tim e (sec)
37
c 2 > 4 mk
c
c 2 4mk
=
2m
2m
( > 1)
x = c1e t + c 2e t
1
Recall
x = c3 sinh 1t + c 4 cosh 2 t
Solution of this type will always be of the form
of a lag in the system.
22.451 Dynamic Systems Mathematical Topics
38
Amplitude
0.07
0.06
0.05
0.04
0.03
0.02
0.01
0
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
Time (sec)
39
c 2 = 4mk
c
1 = 1 =
2m
= 1)
x = c1e t + c 2 te t
1
40
< 1
= 1
> 1
22.451 Dynamic Systems Mathematical Topics
41
S-plane Representation
X Conjugate
Poles
Repeated
Roots
= 1
Real Roots
> 1
< 1
1 = n + jd
1, 2 = n
1* = n jd
42
S-PLANE PLOTS
FOR IMPULSE
RESPONSE
OF A SINGLE
DEGREE OF
FREEDOM
MECHANICAL
SYSTEM
FRF
TIME
FRF
FRF
TIME
TIME
= 0.1
=0
= 0.3
FRF
TIME
= 0.7
= 1.0
TIME
> 1.0
TIME
STABLE
43
UNSTABLE
Example 1.12
44
45
Example 1.13
46
Example 1.14
47
Example 1.16
48
49
Example 1.17
50
51
Example 1.18
52
53
Example 1.19
54
55
56
5 t
1 4t
2t
x (t ) =
e
e
+ e
3
3
57
Laplace Transform
Differential
Equations with force
or I.C. in time
domain
Laplace
Transform
using I.C.
Algebraic Equation
in
Laplace domain
Alternative:
Convolution Integral
(very difficult)
Closed-Form Solution
Inverse
Laplace
or
Numerical Solution
Time domain x(t)
58
G ( s ) = L {g (t )} = e st g (t ) dt
Derivatives
L{g& (t )} = s G ( s ) g (0)
59
Laplace Transform
s
s
1
s2
Unit Step
Unit Ramp
1
s
Unit Pulse
Unit Impulse (Dirac
delta function)
Unit Sinusoid
1
SIN
COS
Exponential
22.451 Dynamic Systems Mathematical Topics
s2 + 2
s
s2 + 2
1
s+a
60
Laplace Transform
Unit Step
L{u s (t )} = u s ( s ) = u s (t ) e st dt
0
u s st
us
= e |0 = 0 =
s
s
Unit Ramp
us
s
L{u s (t )} = ur ( s ) = t e st dt
0
e st e st
e st 1
|0
dt =
|0 = 2
=t
2
0
s
s
s
s
Inverse Laplace
61
Convolution Integral
If G(s) and H(s) have known inverses g(t) and h(t),
L1 {F ( s )} = L1{G ( s ) H ( s )} = ( g h)(t )
t
= h( ) g (t )dt = (h g )(t )
0
62
1
x& + x = ( t )
x0 = 0
Laplace
1
s X(s) + X(s) = 1
1
(s + ) X(s) = 1 look up inverse laplace
1
t
X(s) =
x
(
t
)
=
e
1
s+
63
1 B
s& = s
A A
22.451 Dynamic Systems Mathematical Topics
64
s&
+
Step
= 1/A
integrate
1
Normalize
to A coef
1
s
SCOPE
Multiply by
B/A
65
66
67
68
Then,
with
x&0 = 0 and x 0 = 0
(s + 2 n s + n ) X (s) = 1
X(s) =
1
s 2 + 2 n s + n 2
69
s 2 + 2 n s + n 2 = (s + n ) 2 ( n 2 ) + n 2
= (s + n ) 2 + n 2 (1 2 )
= (s + ) 2 + d 2
So that
X(s) =
1
(s + ) 2 + d 2
70
1
d
x(t ) = L
2
2
d ( s + ) + d
1
=
=
d
1
e t sin d t
e t sin d t
71
x 0 = 0, x& 0 = 0
&x& + 2 n x& + n 2 x = u ( t )
with x& 0 = 0, x 0 = 0
Laplace with IC=0 gives
1
(s + 2 n s + n ) x (s) =
s
1
1
X(s) =
s s 2 + 2 n s + n 2
2
72
1
X(s) = 2
n
s + 2 n
2
2
s s + 2 n s + n
1 1
s + 2 n
X (t ) = L 2 2
2
n s s + 2 n s + n
1
1
n t
X (t ) = 2 1 e
sin d t
cos d t +
2
n
1
73
Example 1.40
74
75
&x& + 2 n x& + n 2 x = f ( t )
Laplace
76
(s 2 + 2 n s + n 2 ) x (s)
F(s)
(s + 2 n )x(0) + x& (0)
+
x(s) = 2
2
2
2
s + 2 n s + n
s + 2 n s + n
If initial conditions are zero, then the system
transfer function is
aka
output
input
x (s)
1
= H (s) = 2
2
F(s)
s + 2 n s + n
ms + cs + k
77
OR
22.451 Dynamic Systems Mathematical Topics
78
79
80