Lecture 2
Lecture 2
Gustav Nilsson
15 November 2016
Lund University, Department of Automatic Control
Content
1. Linearization
2. Transfer Function
4. Transient Response
2
Linearization
Linearization - Why?
Many systems are nonlinear. However, one can approximate them with
linear ones. This to get a system that are easier to analyze.
A few examples of nonlinear systems:
4
Linearization - How?
5
Linearization - How?
5
Linearization - How?
5
Linearization - How?
5
Linearization - How?
Example
The dynamics of a specific system is described by
ẋ1 = x2
x24 p
ẋ2 = 2 + x1 + u + 1
x1
y = x12 + u 2
6
Transfer Function
Laplace Transformation
8
Example - Transfer Function
Example
A system’s dynamics is described by the di↵erential equation
ÿ + a1 ẏ + a2 y = b1 u̇ + b2 u.
9
Transfer Function
Y (s) = G (s)U(s)
Q(s)
G (s) =
P(s)
Zeros of Q(s) are called zeros of the system, zeros of P(s) are called
poles of the system.
The poles play a very important role for the system’s behavior.
10
From State Space to Transfer Function
ẋ = Ax + Bu
y = Cx + Du
11
From Transfer Function to State Space
12
Three Ways to Describe a Dynamical System
Di↵erential equation
ÿ + a1 ẏ + a2 y = b1 u̇ + b2 u
x1 = y
⇣ ⌘
x2 = ẏ dn f (t)
L dt n
(s) = s n F (s)
...
Collection of Formulae
State space
Transfer function
ẋ = Ax + Bu
Y (s) = G (s)U(s) = Q(s)
P(s)
U(s)
y = Cx + Du
1
G (s) = C (sI A) B +D
13
Block Diagram Representation
Block Diagram - Transfer Function
u y
GP
Y (s) = GP (s)U(s)
15
Block Diagram - Components
r e u y
+ GR GP
16
Determine Transfer Function From Block Diagram
r e u y
+ GR GP
Y = GP U, U = GR E , E =R Y
From the equations above the transfer function between r and y is
GP GR
Y = U
1 + GP GR
17
Example - Transfer Functions
Example
Two systems, G1 and G2 , are interconnected as in the figure below
G1
u y
+
+ G2
18
Transient Response
Solution to State Space Equation
ẋ = Ax + Bu
y = Cx + Du
Initial state,
Weighted integral of Direct term, often
uninteresting except
the control signal, neglectable in
when the controller is
interesting part practical systems
initialized
20
Impulse Response
Shows how the system responds when the input is a short pulse, i.e., a
Dirac function
u(t) = (t)
The Laplace transformation is
Z 1
st
U(s) = e (t)dt = 1
0
Hence
Y (s) = G (s)U(s) = G (s)
21
Example - Impulse Response
0.6
0.4
y (t)
0.2
0
2 0 2 4 6 8 10
t
1
u(t)
0.5
0
2 0 2 4 6 8 10
t
22
Step Response
Shows how the system responds when the input is a step, i.e.,
(
1 t 0
u(t) =
0 t<0
23
Example - Step Response
1
y (t)
0.5
0
2 0 2 4 6 8 10
t
1
u(t)
0.5
0
2 0 2 4 6 8 10
t
24