Академический Документы
Профессиональный Документы
Культура Документы
May 8, 2017
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
L[y(t)] = f (t),
n
X dni y
Ln (y) = Ai (t) = f (t).
dtni
i=0
dN (t)
= kN (t),
dt
for some constant k > 0.
Characteristic equation:
n
X
F (z) = Ai z ni = 0.
i=0
Example
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
Definition
The Laplace transform of f (t), for all real numbers t 0:
Z
est f (t)dt.
F (s) = L f (t) =
0
Rt 1
integration 0 f ( )d = (u f )(t) s F (s)
Rt
convolution (f g)(t) = 0 f ( )g(t )d F (s) G(s)
1 s
time scaling f (at) aF(a)
Rt
with u(t) =
(t)dt (Heaviside) and (t) the Dirac delta.
Prof. Bart De Moor (KUL) Chapter 5: Continuous-time systems 12 / 65
Laplace transform
Definition
The inverse Laplace transform converts s-domain to time domain:
Z +jT
1 1
f (t) = L {F (s)} = est F (s)ds.
j2 jT
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
The Laplace transform can be used to solve LDEs with given initial
conditions (the previous approach gave us the basis functions).
This is done by using the following property (differentiation):
n
X
L{f (n) } = sn F (s) snj f (j1) (0)
j=1
n
X
Ai L{y (ni) (t)} = L{f (t)} (1)
i=0
n
X
L{f (n) } = sn F (s) snj f (j1) (0) (2)
j=1
The solution in the time domain is obtained via the inverse Laplace
transform: y(t) = L1 {Y (s)}.
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
Observability
Definition
A measure of how well a systems internal states x can be inferred by
knowledge of its outputs y.
Controllability
Definition
A measure of the ability to move a system around in its entire
configuration space using only certain admissible manipulations.
A system is controllable if its state can be moved from any initial state x0
to any final state xf via some finite sequence of inputs u0 . . . uf .
A linear, time-invariant system with n states is controllable if:
rank(C) = n, C = B AB . . . An1 B ,
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
Transfer function
Definition
The transfer function of input i to output j is defined as:
Yj (s)
Hi,j (s) = , U(s) = L{u(t)}, Y(s) = L{y(t)}.
Ui (s)
N (s)
H(s) = .
D(s)
Impulse response
Definition
The impulse response h(t) of input i to output j is the output yj (t) of a
system when an impulse (t) is applied at input ui (t).
The impulse response is the inverse Laplace transform of the transfer
function h(t) = L1 {H(s)}.
For stable continuous time systems the impulse response always converges
to 0:
lim h(t) = 0, because D = 0 and lim x(t) = 0.
t t
Time constant
Definition
The transfer function of first order systems can be written as:
K K t/
H(s) = h(t) = e ,
s + 1
where is called the systems time constant.
Poles are zeros of the denominator of H(s), e.g. those values of s for
which H(s) is singular.
The relationship between state-space representation (matrices A, B, C
and D) and transfer functions is given by
H(s) cannot be computed when (sI A)1 does not exist, ie.
det(sI A) = 0
Outline
2 Laplace transform
5 Transfer functions
Impulse response and time constant
Relationship between state space and transfer functions
Transient Response
where ytr (t) is the transient response and yss (t) is the steady state
response.
Definition
The transient response of a system is the time-difference between the
change of the inputs and the change of the outputs: when the input of a
system changes, the output does not change immediately but takes time
to go to steady state.
Example
Unit step response of RC circuit, thermal system, ...
Y (s) 1
The transfer function is given by: U (s) = s+1
1
Laplace of unit-step is s substituting U (s) = 1s : Y (s) = 1 1
s s+1 ;
1 1 1
Expanding into partial fractions gives Y (s) = s s+1 = s s+ 1 .
1 1 1
1 Y (s) = s s+1 = s s+ 1
;
2 Taking the inverse Laplace transform
t
y(t) = 1 e , for t 0;
3 At t = 0, the output y(t) = 0;
4 At t = , the output y(t) = 0.632, or y(t) has reached 63.2% of its
total change y( ) = 1 e1 = 0.632;
5 Slope at time t = 0 is 1
dy 1 t
dt |t=0 = e |t=0 = 1 ,
where is called the system time constant.
1
1 Laplace transform of unit ramp is s2
1 1
Y (s) = s+1 s2
;
2 Expanding into partial fractions gives
2
Y (s) = s12 s + s+1 ;
3 Taking the inverse Laplace transform
t
y(t) = t + e , for t 0;
4 The error signal e(t) is then
t
e(t) = u(t) y(t) = (1 e );
5 For t approaching infinity, e(t) approaches
e() = .
Unit-Impulse Response
1
Y (s) = .
s + 1
The inverse Laplace transform gives:
1 t
y(t) = e , for t 0.
For t +, y(t) 0.
Unit-Impulse Response
Y (s) as2 + bs + c
= H(s) = 2
U (s) ds + es + f
If the transfer function has two real poles, the frequency response can be
found by combining the effects of both poles
Sometimes the transfer function has two complex conjugate poles. In that
case we have to find a different solution for finding the frequency response.
In order to study the transient behaviour, let us first consider the following
simplified example of a second order system:
c
H(s) = .
ds2 + es + c
c
1 H(s) = ds2 +es+c
;
2 The transfer function can be rewritten as:
c
d
H(s) = e c
s2 + ds + d
c
d
=h q ih q i;
e e 2 c e e 2 c
s+ 2d + 2d d s+ 2d 2d d
p
= n , = n 1 2
If 0 < < 1, the poles are complex conjugates and lie in the left-half
s-plane
The system is then called underdamped
The transient response is oscillatory
If = 0, the transient response doesnt die out. If = 1, the system is
called critically damped. If > 1, the system is called overdamped. We
will now look at the unit step response for each of these cases.
Underdamped system
For the underdamped case (0 < < 1), the transfer function can be
written as:
n2
H(s) =
(s + n + jd )(s + n jd )
p
Where d is called the damped natural frequency d = n 1 2 .
Underdamped system
Underdamped system
Therefore:
L1 {Y (s)} = y(t)
= 1 en t (cos(d t) + p sin(d t))
1 2
p
en t 1 2
=1 p sin(d t + tan1 ( )).
1 2
It can be seen that the frequency of the transient oscillation is the damped
natural frequency d and thus varies with the damping ratio .
Underdamped system
Underdamped system
If the two poles of the system are equal, the system is critically damped
and = 1. For a unit-step, R(s) = 1s and we can write:
n2
Y (s) = .
(s + n )2 s
y(t) = 1 en t (1 + n t) for t 0.
Overdamped system
A system is overdamped ( > 1) when the two poles are negative, real and
unequal. For a unit-step R(s) = 1s , Y (s) can be written as
n2
Y (s) = p p .
(s + n + n 2 1)(s + n n 2 1)s
es1 t es2 t
wn
y(t) = 1 + p , for t 0.
2 2 1 s1 s2
Where p p
s1 = ( + 2 1)n and s2 = ( 2 1)n .
Overdamped system
p p
s1 = ( + 2 1)n and s2 = ( 2 1)n
Overdamped system
The time response for the approximate transfer function is then given as:
2
y(t) = 1 e( 1)n t , for t 0
Rise time: Time needed for the response to rise from 10% to 90%,
or 0% to 100% of its final value.
tr = 1.8
n
Peak Time: Time required for the response to reach the first peak of
the overshoot.
tp = d
Settling Time: Time required for the response curve to reach and
stay within a range about the final value.
ts = 4n (2% criterion), ts =
4.6
n
(1% criterion)
()
= 0.02 Example
1
Given: = 0.02 2
0.9 1
We find a settling time of:
rise time
peak time
settling time en ts < 0.02
overshoot
4
ts =
n
0.1
0
The resonance frequency is the frequency at which the systems output has
a larger amplitude than at other frequencies. This happens when
underdamped functions oscillate at a greater magnitude than the input.
An input with this frequency can sometime have catastrophic effects.
p
The resonance frequency is: r = n 1 2.
We mostly want a short settling time (< 4s). This results in another
restriction on the poles of the system:
4
n = < 4s
n > 1