Anda di halaman 1dari 21

University of California at Riverside, Department of Mechanical Engineering

ME 121, Spring 2016, Elisa Franco

Week 1

Review
Contents
I

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

.
.
.
.

1
1
3
6
8

II The Laplace transform method to solve ordinary differential equations


II.1 Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
II.2 Common Laplace transforms (LT) . . . . . . . . . . . . . . . . . . . .
II.3 Properties of Laplace transforms . . . . . . . . . . . . . . . . . . . . .
II.4 Inverse Laplace Transform . . . . . . . . . . . . . . . . . . . . . . . .
II.5 Using Laplace Transforms to solve ODEs . . . . . . . . . . . . . . . .
II.6 Poles and zeros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

.
.
.
.
.
.

10
10
10
12
13
14
16

III Block diagrams


III.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

19
21

I
I.1

Modeling physical systems


I.1 A cart system . . . . . . . . . . . . . . . . . . . . . . . . . . .
I.2 Mass-spring-damper systems . . . . . . . . . . . . . . . . . . .
I.3 Electrical circuits . . . . . . . . . . . . . . . . . . . . . . . . . .
I.4 Using Matlab to numerically solve ordinary differential equations

.
.
.
.

.
.
.
.

.
.
.
.

Modeling physical systems


Dynamics of a moving cart

u
M

Friction ~ bv
Figure 1: Sketch of a cart moving on a surface with viscous friction
Figure 1 shows a scheme for one of the simplest mechanical systems: a cart having mass M , moving on
wheels on a surface with dynamic friction coefficient b. The cart could represent a vehicle or a dolly used to
move loads in a factory. We want do describe the dynamics of its speed. Suppose the cart has an engine,
which produces a force u in the direction shown in the figure.
We start from the fundamental laws:

M a = u bv

Elisa Franco

Now remember that a =

dv
dt .

Therefore, we instantly get a simple ordinary differential equation (ODE) model:

v =

b
u
v+
M
M

What is the solution?


This differential equation is LINEAR. Therefore, we can use the superposition principle to find the solution.
When u = 0, and v(0) = v0 we find the natural response of the system:
b

vN (t) = v0 e M t
When initial conditions are zero, but we have an input u 6= 0, we find the forced response using the convolution1 integral:
Z
t

vF (t) =

e M (t )

1
u( )d
M

Note: If you never heard of convolution - that is how forced response solutions to ODEs are computed. Do not
worry too much about it, since we will hardly use convolution throughout this course. The overall solution is:

v(t) = vN (t) + vF (t) = v0 e

b
M
t

Z
+

e M (t )

1
u( )d
M

Let us take u = 1 for simplicity:

Z t
b
1
v(t) = v0 e
+
e M (t ) d
M 0
Z
b
1 bt t b
M
t
M
= v0 e
+
e
e M d
M
0
b
1 b t M h b i =t
= v0 e M t +
e M
eM
M
b
=0
h
i
b
b 1
b
M
t
M
t
t
= v0 e
+e
eM 1
b
i
b
b
1h
1 e M t
= v0 e M t +
| {z }
|b
{z
}
b
M
t

as

1b

as

As you probably remember from your Linear Systems course, there are better ways to find solutions to linear
ODEs. The Laplace transform method will be our standard choice in the following weeks.
We call this system a FIRST ORDER system, since there is only ONE dynamic variable, an the natural response
dynamics are ALWAYS of exponential type, regardless of b, M and u.
The only dynamic variable is called the STATE of the system. We were able to find analytically the state for this
simple case. As you can see, v(t) only depends on INITIAL CONDITIONS, INPUT and PARAMETERS. We
say that the system is CAUSAL, as it does not depend on future values of the external inputs. In addition, we
say that the system is LINEAR TIME INVARIANT, because the dynamics are linear, and because the solution
does not depend on the specific times at which we begin or finish observing it, but only on their difference.
For first order system, whose natural response is of type ept we can define a characteristic timescale = p1 .
At t = , the steady state of the system has reached a value (1 e1 ) = %63 of its steady state value. Finally,
1

Convolution integral: given f (t), g(t), with f (t) = g(t) = 0 for t 0: h(t) , f (t) ~ g(t) =

Rt
0

f ( )g(t )d

Elisa Franco

engineers like to represent dynamical systems with simple block diagrams: see figure 2.

1 +
M -

b
M

Figure 2: Block diagram representing the cart dynamics

I.2

Mass-spring-damper systems
1. A mass-spring system (Figure 3). Suppose a mass M hangs from support with a spring having spring
constant k. For example, M could represent a cable cart or a load on a crane. We assume that the
resting length of the spring is zero. We are interested in describing mathematically the dynamics of the
mass. A static description would not give us a lot of useful information: for example, suppose M changes
suddenly. Does the system oscillate? If it does, how long? What happens if M changes very slowly over
time or very fast?

k
r(t)

M
Mg

Figure 3: Mass-spring system


We use the fundamental laws of physics, and simply write the resultant force on the mass. We choose
our axes as in the figure, and define r as the position of the mass.

M a = M g kr
M v = M g kr,

v = r

M r = M g kr
We want to reduce this equation to a first order differential equation.
We define two variables x1 = r and x2 = r , and we find:

x 1 = x2
x 2 = g

k
k
r=g
x1
M
M

We can rewrite the equations above in matrix form:

 
0
x 1
=
k
x 2
M

   
1 x1
0
+
g
1
0 x2

Elisa Franco

Variables x1 and x2 are the STATES of our system. Because we have two states, this is a SECOND
ORDER system. Second order systems can oscillate, in contrast with first order systems which we just
saw in the first example. We will learn more about this in the next lectures.
By solving the differential equation we can find x1 (t) and x2 (t), which depend only on the initial conditions,
the parameters of the system, and on the external inputs (in this case only gravity).
In general, we will write linear dynamical system in state space form as:

x = Ax + Bu,
where:

x Rn is the state vector


u Rm is a vector of inputs
A is a matrix in Rnn (also called the state matrix, describes how state affect the dynamics of the
states)

B is a matrix in Rnm (describes how external inputs affect the dynamics of the states)
2. A mass-damper system (Figure 4). In this case, we assume that viscous friction slows the system
proportionally to the speed. This is a standard assumption when we model hydraulic dampers commonly
used in industry.

b
r(t)

M
Mg

Figure 4: Mass-damper system

M a = M g bv
v = r,

a = v = r

M r = M g br
Now as done before, define two variables x1 = r and x2 = r , and we find:

x 1 = x2
x 2 = g

b
b
b=g
x2
M
M

In matrix form:

 
   
0
1
x 1
x1
0
=
+
g x = Ax + Bu
x 2
x2
1
0 Mb

Elisa Franco

r(t)

M
Mg

Figure 5: Mass-spring-damper system


3. A mass-spring-damper system (Figure 5). This example combines the ones we just saw.

M a = M g kr bv
M r = M g kr br
We define two states as before

x 1 = x2
x 2 = g

b
k
b
b=g
x1
x2
M
M
M

In matrix form:

 
0
x 1
=
k
x 2
M

1
Mb

   
0
x1
g x = Ax + Bu
+
1
x2

4. A mass-spring-damper system with an active element (Figure 6). The active element can be, for example,
a motor that we can control. Thus, it is a new external input. (This is useful for your homework Matlab
project!)

k
r(t)

F
F

M
Mg

Figure 6: Mass-spring-damper system with an active element


Newtons law gives:

M v = M g kr bv + F

Elisa Franco

In matrix form:

 
0
x 1
=
k
x 2
M

1
Mb

   
 

0
x1
0
0
+
g+ 1 F =
k
x2
1
M
M

1
Mb

  
x1
0
+
x2
1


0 

1
M

g F

Implementing an AUTOMATIC CONTROL action on the system means determining F as a function of


x1 = r and x2 = v . Sensors will measure the actual x1 and x2 , provide that information to a computer
that will compare those values to the desired ones, and feed-back automatically a value of F that will
decrease the error. Just to give a simple example, take F = K(xd1 x1 ) = Ke, where xd1 is the desired
position of the mass M and e stands for error, e = x1 xd1 . Note: if x1 > xd1 , then e > 0 but F < 0;
if instead x1 < xd1 , then e < 0 but F > 0. Error and control action have the opposite sign: this is called
negative feedback. The system model will change:

 
   
 
0
1
0
x 1
x1
0
=
+
g + K (xd1 x1 )
k
x 2
x2
1
M
Mb
  
M


0
1
x1
0 0 
g xd1
+
=
1
b
k+K
x2
1 M

| M {z M }
New matrix!

5. Finally, we can represent with simple schemes all the dynamic relationships we just described with ODEs:

xd1

+
K
k
M M
g

+ + -

Equivalent scheme

x1
xd1

b
M

x1

x2

+ - 1
+ - M

x2

Figure 7: Mass-spring-damper system: block diagram. Note: the common factor 1/M can be moved in the
diagram as long as the overall physical interconnections are consistent.

I.3

Electrical circuits

Electronic devices are present in almost every technological application! Control theory developed around
analysis of electrical circuits.
1. Resistances, capacities and inductors. These are the fundamental elements of any circuit, and are characterized by specific dynamic relationships between their currents and voltages.
Resistance

V = Ri

Inductor

V =L

di
dt

Capacity

i=C

dV
dt

Elisa Franco

V (t)

V (t)

V (t)

i(t)

i(t)
_

i(t)
_

_
Figure 8: Fundamental elements of electrical circuits

u(t)

i(t)

Figure 9: A series RL circuit


2. A series RL circuit.
di
We use Kirchhoffs voltage law: u = VR + VL = Ri + L dt
. We immediately have a dynamic relationship
describing the only state of the system:

di
1
R
= u i
dt
L
L
This is a first order system and has exponential dynamics.
3. An RC circuit: derive its state space representation as homework.

u(t)

i(t)

Figure 10: A series RC circuit


4. An LC circuit.
Now Kirchhoffs voltage law tells us:

u = VL + VC = L

di
+ VC
dt

Now, note that i = iL = iC , and i = C dV


dt . This yields:

u = LC

d2 VC
+ VC
dt2

We have now a second order differential equation; as done for the mechanical system, we define x1 = VC ,
dVc
dt :

x1 =

x 1 = x2
x 2 =

1
1
x1 +
u
LC
LC

Elisa Franco

u(t)

i(t)

Figure 11: A series LC circuit


In matrix form:

 
x 1
0
=
1
x 2
LC

   
1 x1
0
+ 1 u = Ax + Bu
0 x2
LC

Notice the similarity of the A matrix structure with that of the mass-spring example.
5. An RLC circuit: derive its state space representation as homework.

u(t)

i(t)

Figure 12: A series RLC circuit

I.4

Using Matlab to numerically solve ordinary differential equations

Matlab is extremely useful to solve differential equations numerically.


Matlab offers several ordinary differential equation solvers. The syntax is the same for all of them. The most
important feature: the dynamics of the system have to be defined in a separate function file (see below). (In
some cases, functions can be nested in the main file.) As an example, here is the code that will simulate the
mass-spring-damper system. Try to run this code, change the damping and spring constants and see what
happens!

Main file:
%MAIN FILE
clear all
close all
% DEFINE PARAMETERS:
par.k= 14.8e3;
par.b= 800;

% N/m
% Ns/m

par.M= 400;

% Kg

%
%
%
%

NOTE: WE ARE PUTTING ALL THE PARAMETERS IN A SINGLE struct ELEMENT, SO


IT IS EASIER TO PASS IT TO THE SOLVER!
WE COULD ALSO DEFINE THEM AS
SEPARATE VARIALBES AND PASS EACH OF THEM TO THE SOLVER

Elisa Franco

% INITIAL CONDITION
x0=[10 1];
% TIME DURATION OF THE SIMULATION
tspan=[0:.1:10];
%OPTIONS FOR THE SOLVER
options = odeset(RelTol,10^-11,AbsTol,10^-13);
[t,x]=ode45(@MassSpringDamper,tspan,x0,options,par);
plot(t,x(:,1),b,LineWidth,3)
hold on
plot(t,x(:,2),r,LineWidth,3)
hold on
% PLOT, PRINT AND SAVE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
legend(Position, Speed)
legend boxoff
Fsize=16;
FontForPlot=Arial;
set(gca,Fontsize,Fsize, FontName,FontForPlot) % SETS FONT AND FONTSIZE FOR AXES
xlabel(Time, [s],Fontsize,Fsize, FontName,FontForPlot)
ylabel(Response,Fontsize,Fsize, FontName,FontForPlot)

set(gcf, PaperPositionMode, manual);


set(gcf, PaperUnits, centimeters);
set(gcf, PaperPosition, [0 0 15 10])
print(gcf,-dpdf, [MassSpringDamper])

Function file
Must be saved with the same name as the function! In this case, save as MassSpringDamper.m

function dx=MassSpringDamper(t,x,par)
% F(1) AND F(2) ARE THE DYNAMICS OF THE SYSTEM
F(1)= x(2);
F(2)= -(par.k/par.M)*x(1) - (par.b/par.M)*x(2);
dx=F; % MUST RETURN A COLUMN VECTOR

10

Elisa Franco

II

The Laplace transform method to solve ordinary differential equations

Laplace transforms are useful to solve linear time invariant differential equations. Differential equations are
turned into algebraic equations; the solution in the time domain can be found by decomposing the algebraic
solution in the Laplace domain into terms that are easy to reverse-transform.

II.1

Definition

Laplace Transform (LT): bijective (invertible) transformation that maps functions of time f (t) with functions of
complex argument F (s), s = + j C.

L
Functions of time
Differential equations

t R

s C

Functions of complex variables


Algebraic equations

L1
THE SCHEME ABOVE IS THE MOST IMPORTANT THING YOU SHOULD REMEMBER ABOUT LAPLACE
TRANSFORMS!
Given f (t), piecewise continuous and bounded, f (t) 6= 0 for t 0

Z
F (s) = L[f (t)] ,

f (t)est dt

For those values of s C such that the integral converges.


If the integral converges for s0 , then it does s such that Re{s} > Re{s0 } = 0 .
The value 0 limits the region of convergence, or ROC, of the transform (Figure 13).

Figure 13: Example of region of convergence of Laplace Transforms

II.2

Common Laplace transforms (LT)

Notation: I will indicate as 1(t) a step function, which is zero for negative time, and equal to one for t 0.
When we multiply a function by 1(t), for instance et 1(t), it means we consider the function only for t 0.
1. LT of Diracs function:

11

Elisa Franco

Diracs delta function, can be defined in many ways... Intuitively, it is a very large signal with a very
short duration. Also called impulse.

(x x0 ) = lim0

(xx0 )2
2

x0

In the limit for 0:

f ( ) ( 0 )d = f (0 )
0
+

Z
L [(t)] =

(t)e

st

dt =

(t)est dt = 1

2. LT of the step function:

L [1(t)] =
0

1
1
1(t)est dt = [est ]
0 =
s
s

3. LT of the exponential function:

h
i Z
kt
L e 1(t) =

kt st

e e

dt =

e(ks)t dt =

1
1
=
[e(ks)t ]+
0
ks
sk

4. LT of time to the power n: tn

L [tn 1(t)] = (1)n {(1)n

n!
sn+1

}=

n!
sn+1

5. LT of the sine function sin(t).


Use Euler formulas ej = cos + j sin , ej = cos j sin .




ejt ejt
1
1
1
1 2j

1(t) =

=
L
= 2
2
2
2j
2j s j s + j
2j s +
s + 2


6. LT of the cosine function cos(t).




ejt + ejt
1
1
1
1 2s
s
1(t) =
+
=
= 2
L
2
2 s j s + j
2 s2 + 2
s + 2


12

Elisa Franco

II.3

Properties of Laplace transforms

1. Linearity The integral operation is linear, therefore the LT inherits such property:

L[c1 f1 (t) + c2 f2 (t)] = c1 L[f1 (t)] + c2 L[f2 (t)]


Rt
2. Transformation of the integral Given f (t) and g(t) = 0 f ( )d , where the LT of f (t) is F (s):
1
L[g(t)] = L[f (t)]
s
3. Trasformation of the derivative Given f (t) and its derivative f 0 (t), where the LT of f (t) is F (s):



L f 0 (t) = sL [f (t)] f (0 )
This can be extended to the derivative of order n:


n1
X
dn
n
f
(t)
=
s
L
[f
(t)]

L
snk1 f k (0 )
dtn


k=0

4. Frequency shift Given F (s), the LT of f (t), and k C. Then, the LT of function ekt f (t) is:

h
i
L ekt f (t) = F (s k)
In fact:

ekt f (t)est dt =

f (t)e(sk)t dt

5. Multiplication by tn Assume n = 1, and develop the derivative of F (s):

Z +
Z +
d
d
f (t)est dt =
f (t) est dt
ds 0
ds
0
Z +
Z +
=
f (t)test dt =
tf (t)est dt = L [tf (t)]

d
F (s) =
ds

This yields the general formula:

L [tn f (t)] = (1)n

dn
F (s)
dsn

6. Convolution VERY IMPORTANT property of the LT.


Given f (t), g(t), f (t) = g(t) = 0 for t 0,

f ( )g(t )d

z(t) , f (t) ~ g(t) =


0

Then the Laplace transform of z(t) is

Z(s) = F (s)G(s)
LAPLACE TRANSFORMS CONVERT CONVOLUTION INTEGRALS IN SIMPLE PRODUCTS!
Application: remember the general expression for the forced response of an linear time invariant system?

Z
xF (t) =

A(t )

h(t )w( )d,

Bu( )d =

where h(t) := eA(t ) is the state transition matrix and w(t) := Bu(t). We find:

X(s) = H(s)W (s)


We will see that this product is very easy to handle!

13

Elisa Franco

7. Time shift If f (t) admits a LT, the introduction of a time shift t0 > 0 still yields a LT with the same ROC
and :

L [f (t t0 ) 1(t t0 )] = est0 F (s)


This can be shown with a change of variable:

st

f (t t0 )e

Z
dt =

f ( )es est0 dt = est0 F (s)

t0

8. Time scaling (Not too frequently used)

1 s
F
, a R+
a
a

L [f (at)] =

Again this can be proved with a change of variables:

st

f (at)e

f (t)es a d

 

II.4

dt =

1 s
F
a
a

Inverse Laplace Transform

Given F (s) = L [f (t)], its Inverse Laplace Transform (ILT) is denoted as f (t) = L1 [F (s)]; the operator
L1 is linear. The general formula is:

f (t) =

1
2 j

+j

F (s) est ds

where
> 0 delimits the ROC and the integration is along the vertical line =
.
There is a lot of theory on the ILTs. This is outside of the scope of this course.
Our approach to inverting LTs will be to try to reduce a general complex function to a sum of
elementary, known LTs which we can straightforwardly invert.
Most LTs we will encounter are rational polynomial functions which can be expanded in partial fractions.
PARTIAL FRACTION EXPANSION
(a) Example 1 Antitransform

G(s) =

s2

1
3s + 2

We want to reduce this to a sum of simple monomial fractions.


i. Find the roots of the denominator of G(s)

s1,2 =

98
=
2

(
2
1

ii. Expand in partial fractions

1
A
B
A(s 1) + B(s 2)
=
+
=
3s + 2
s2 s1
(s 2)(s 1)
(
A+B =0
s(A + B) (A + 2B) = 1
A + 2B = 1

G(s) =

s2

14

Elisa Franco
So we find A = 1, B = 1. Therefore:

G(s) =

1
1

s2 s1

L1 [G(s)] = g(t) = e2t et

Which was easy to find using the Laplace transform of the exponential function.
(b) Example 2 Antitransform:

G(s) =

1
s(s2 + 1)

Using partial fractions expansion:

G(s) =

1 1
s
1
= 2
+
2
ss +1
s +1 s

The time function is g(t) = 1(t) cos(t)


(c) Example 3 Antitransform:

G(s) =

s2

1
+ 2s + 2

1
1
=
+ 2s + 2
(s + 1 j)(s + 1 + j)
1
=
(s + 1)2 + 1

G(s) =

s2

Now we apply the frequency shift property, and we can find:

g(t) = et sin t

II.5

Using Laplace Transforms to solve ODEs

We will start with an example. Consider this differential equation:

( d2 y

+ 3 dy
dt + 2y(t) = (1 + 3t)u(t)
y(0 ) = 1, dy
=0
dt |

dt

t=0

If u(t) = 1(t), lets apply the property of LT for the derivatives:



1
3
s2 Y (s) s y(0 ) y(0
) + 3 [s Y (s) y(0 )] + 2 Y (s) = + 2
s s
 2

1
3
s Y (s) s + {3 [s Y (s) 1]} + 2 Y (s) = + 2
s s
1
3
(s2 + 3 s + 2)Y (s) s 3 = + 2
s s


This is an algebraic equation in s we can easily solve for Y (s) :

s+3
1
Y (s) = 2
+ 2
s + 3s + 2 s + 3s + 2

YN (s): Natural response, depends on initial conditions!


YF (s): Forced response, depends on the input u(t)!
Now we need to go back to the time domain to find y(t)!

1
3
+ 2
s s


= YN (s) + YF (s)

15

Elisa Franco

Natural response YN .
The roots of the denominator are: s1 = 1, s2 = 2. Then:

YN =

C1
C2
+
(s + 1) (s + 2)

Find C1 and C2 :

YN =

C1 (s + 2) + C2 (s + 1)
s(C1 + C2 ) + 2 C1 + C2
s+3
=
= 2
2
2
(s + 3s + 2)
(s + 3s + 2)
s + 3s + 2

Equating the numerators:

(
C1 + C2 = 1
2 C1 + C2 = 3
We get C1 = 2, C2 = 1.

YN =

1
2

(s + 1) (s + 2)

These two terms are in our list of common LTs...

= L1 [YN ] = yN (t) = 2 et e2t


Forced response YF .
Roots of the denominator: s1 = 1, s2 = 2, s3 = 0, where zero is a root that is repeated twice.
Expansion in simple fractions:

YF =

C3,1 C3,2
C1
C2
+
+ 2 +
(s + 1) (s + 2)
s
s

The final inverse transform is:

3
7
1
yF (t) = t 1(t) + 2 et e2t
2
4
4
9. Lets recap:
(a) We have a method to write down systems in state space form and solve the ODEs.
(b) We have seen how to find the solution to an ODEs applying directly the Laplace transform method
to the differential equation.
Now lets use this method to analyze a model of a physical system and find the solution to the ODEs.
Consider a modification of our mass-spring system, operating on a horizontal plane with dynamic friction
- Figure 14.

kl0

u(t)

l(t)

Figure 14: Another mass-spring system with dynamic friction


We know how to obtain the differential equation that describes it:

d2 (l l0 )
d(l l0 )
+ k(l l0 ) + b
= u(t)
dt2
dt

16

Elisa Franco
d
(l l0 ) is a term describing viscous friction.
b dt
Defining y = (l l0 ):

d2 y
dy
+ky +b
= u(t)
2
dt
dt

Applying directly the Laplace Transform Method:

M [s2 Y (s) sy(0) y(0)]

+ kY (s) + b [sY (s) y(0)] = U (s)


Solve for Y (s):

Y (s)(M s2 + bs + k) = sM y(0) + M y(0)

+ by(0) + U (s)

Y (s) =

U (s)
(sM + b)y(0) + M y(0)

+
2
2
M s +{zbs + k
} |M s +{zbs + k}
|
natural response

II.6

forced response

Poles and zeros

The most common type of Laplace transforms we will encounter is:

F (s) =

N (s)
, N (s), D(s) polynomials in s = + j
D(s)
deg(D) = nd , deg(N ) = nd , nn < nd

This can be rewritten as:

F (s) =

(s z1 )r1 (s z2 )r2 (s zr )rq


N (s)
=K
D(s)
(s p1 )m1 (s p2 )m2 (s pn )mn

IMPORTANT DEFINITIONS:

zj zeros, j = 1, ..., q . The scalar rj is called multiplicity of each zero.


pi poles of the function, i = 1, ..., n. The scalar mi is called multiplicity or each pole.
Expand in partial fractions:

F (s) =

C1,m1
C1,1
+ ... +
+
(s p1 )
(s p1 )m1
C2,1
C2,m2
+
+ ... +
+
(s p2 )
(s p2 )m2
Cn,1
Cn,mn
+
+ ... +
(s pn )
(s pn )mn

Linearity:
1

[F (s)] =

mi
n X
X
i=1 k=1

Ci,k
(s pi )k

The ILT of each simple fraction has the form:


1


Ci,k
Ci,k
=
t(k1) epi t 1(t)
k
(k 1)!
(s pi )

17

Elisa Franco

NOTE: Repeated poles are associated to exponential functions multiplied by a power of time factor. What drives
the convergence of each term is the sign of the real part of the pole. (Exponential functions converge or diverge
faster than any power.)
Going back to the use of Laplace transforms to solve linear time invariant systems.: recall our definition of
eigenvalues of the A matrix in state space form. The poles are a subset of the eigenvalues of A.

p<0

p=0

k=1

0.8

Real poles:

For p > 0: time function diverges!!

p>0

1.5
1
1
0.5

10

0.5
0

10

10

10

10

0.4

10

0.3

k=2

1
t(k1) ept
(k 1)!

2.5

1.5

x 10

0.2
0.1
0

10

0.5

10

0
5

0.4

50

15

x 10

40

0.3

k=3

x 10

1.5

0.4

2.5

0.6

0.2

10

30
0.2
20
0.1
0

10
0

Time

10

Time

10

Time

18

Elisa Franco

k=1

<0

Complex poles

For > 0: time function diverges!! =


5rad/s

0.5

0.5

0.5

0.5

x 10

>0

2
1
0

10

1
0

10

10

10

10

k=2

1
t(k1) e(+j)t
(k 1)!

0.4

10

0.2

0.2

0.4

10

x 10

2
1
0

10

1
0

10

0
6

0.4

50

1.5

x 10

0.2

k=3

L1

=0

0.5
0

0
0

0.2
0.4

0.5
0

Time

10

50

Time

10

Time

19

Elisa Franco

III

Block diagrams

As a consequence of the convolution property of Laplace transforms (convolution integrals become products!)
we can represent dynamical systems in a very simple and convenient way.
As an example, consider again the mass-spring-damper system in Fig. 15:

k
r(t)

M
Mg

Figure 15: Mass-spring-damper system

M r = M g kr br
Assuming zero initial conditions, and applying the derivative rule:

M s2 R(s) = M g kR(s) sbR(s)


M
g
R(s) =
2
M s + sb + k

See Figure 16. This is an input-output (I/O) representation.


We do not include information about initial conditions.

M s2

M
+ sb + k

R(s)

Figure 16: Mass-spring-damper system: block diagram in the Laplace complex domain
With Laplace transforms we can represent interconnected systems of differential equations with blocks. And
(because of the convolution property) there are some useful simplification rules. These block diagrams are
much simpler than the diagrams in the time domain - see, for instance, Fig. 7.
1) Series, Figure 17

U (s)

H1 (s)

H2 (s)

Y (s)

U (s)

H1 (s) H2 (s)

Y (s)

Figure 17: Representation of blocks in series the Laplace domain


2) Parallel, Figure 18. 3) Negative feedback: In this case, we need to do a few steps to derive the mathematical
expression of the equivalent block in Figure 19.

20

Elisa Franco

H1 (s)

U (s)

Y (s)

U (s)

H1 (s) + H2 (s)

Y (s)

H2 (s)
Figure 18: Representation of blocks in parallel the Laplace domain
If our error is E(s) = Yd (s) H(s)Y (s), where Yd (s) is the desired output in the Laplace domain, we have that
Y (s) = G(s) [Yd (s) H(s)Y (s)]. Therefore, we collect Y (s) and derive:

Y (s)(1 + G(s)H(s)) = G(s)Yd (s)

Yd (s)

+
_

E(s)

G(s)

Y (s)

Y (s) =

G(s)
Yd (s)
1 + G(s)H(s)

Yd (s)

G(s)
1 + G(s)H(s)

Y (s)

H(s)
Figure 19: Representation of blocks in a negative feedback interconnection, in the Laplace domain

21

Elisa Franco

III.1

Exercises

Antitransform the following complex functions:

Exercise 1:
F (s) =

s+3
s+5

Solution: f (t) = (t) 2e5t

Exercise 2:
F (s) =

s+1
s2 + 2s + 5

F (s) =

12
(s + 2)2 + 9

Solution: f (t) = et cos(2t)

Exercise 3:

Solution: f (t) = 4e2t sin(3t).

Exercise 4:
F (s) =
Solution: f (t) = e3t (cos(4t) +

1
2

sin(4t))

(s 1)
(s2 6s + 25)

Anda mungkin juga menyukai