Professional Documents
Culture Documents
Lecture 21
Lecture 21
Control Systems
Lecture 21
State Space Models
1/31
MECE 3350 - C. Rossa 1 / 31 Lecture 21
Videos in this lecture
Lecture: https://youtu.be/uIeFqmSB_K0
2/31
MECE 3350 - C. Rossa 2 / 31 Lecture 21
Outline of Lecture 21
3/31
MECE 3350 - C. Rossa 3 / 31 Lecture 21
Applications
How can we determine the future orientation of the space station for a given
control action?
4/31
MECE 3350 - C. Rossa 4 / 31 Lecture 21
Applications
The step response of position controller of the surgical robotic arm is shown in
the figure.
5/31
MECE 3350 - C. Rossa 5 / 31 Lecture 21
Time domain and time invariant systems
State of a system: The set of variables that provides the future state and
output of the system for a given input.
6/31
MECE 3350 - C. Rossa 6 / 31 Lecture 21
Space state model
Consider the following system where u(t) is the input and y (t) is the output.
What variables do we need to know to predict the new state of the system
when a force u(t) is applied?
x1 (t) = , x2 (t) =
7/31
MECE 3350 - C. Rossa 7 / 31 Lecture 21
Space state model
State variables:
dy (t)
x1 (t) = y (t), x2 (t) =
dt
Differential equation describing the dynamic behaviour of the system
d 2 y (t) dy (t)
m +b + ky (t) = u(t)
dt 2 dt
In terms of state variables:
8/31
MECE 3350 - C. Rossa 8 / 31 Lecture 21
Space state model
Consider the following system where u(t) is the input and vo (t) is the output.
What variables do we need to know to predict the new state of the system
when a current u(t) is applied?
x1 (t) = , x2 (t) =
9/31
MECE 3350 - C. Rossa 9 / 31 Lecture 21
Space state model
iC (t) = C dvdt
c (t)
= u(t) − iL (t)
10/31
MECE 3350 - C. Rossa 10 / 31 Lecture 21
Space state model
11/31
MECE 3350 - C. Rossa 11 / 31 Lecture 21
Output matrix
Recall that
y (t) = [0 R]x(t)
The space state representation is:
12/31
MECE 3350 - C. Rossa 12 / 31 Lecture 21
State space - standard form
Procedure:
→ Write the differential equations of motions for each cart
→ Define the state variables and rework step 1
→ Find the state space representation
14/31
MECE 3350 - C. Rossa 14 / 31 Lecture 21
Exercise 122 - continued
15/31
MECE 3350 - C. Rossa 15 / 31 Lecture 21
Exercise 122 - continued
16/31
MECE 3350 - C. Rossa 16 / 31 Lecture 21
Exercise 122 - continued
x(t) = , A = , B=
17/31
MECE 3350 - C. Rossa 17 / 31 Lecture 21
Exercise 122 - continued
x1 (t) p(t)
x2 (t) q(t)
x(t) = = , C= , D=0
x3 (t) ṗ(t)
x4 (t) q̇(t)
18/31
MECE 3350 - C. Rossa 18 / 31 Lecture 21
Exercise 123
Draw the block diagram model of the state space equation of the two cart
system from Exercise 1.
19/31
MECE 3350 - C. Rossa 19 / 31 Lecture 21
Exercise 123 - continued
ẋ1 (t) = x3 (t), ẋ2 (t) = x4 (t)
k1 k1 b1 b1 1
ẋ3 (t) = − x1 (t) + x2 (t) − x3 (t) + x4 (t) + u(t)
m1 m1 m1 m1 m1
k1 k1 + k2 b1 b1 + b2
ẋ4 (t) = x1 (t) − x2 (t) + x3 (t) − x4 (t)
m2 m2 m2 m2
20/31
MECE 3350 - C. Rossa 20 / 31 Lecture 21
Exercise 124
The cart shown must be moved so that mass m is always in the upright
position. The linearized equations of motion of the system are:
21/31
MECE 3350 - C. Rossa 21 / 31 Lecture 21
Exercise 124 - continued
M ÿ (t) + m`θ̈(t) − u(t) = 0
ml ÿ (t) + m`2 θ̈(t) − m`gθ(t) = 0
22/31
MECE 3350 - C. Rossa 22 / 31 Lecture 21
Exercise 124 - continued
M ÿ (t) + m`θ̈(t) − u(t) = 0
ml ÿ (t) + m`2 θ̈(t) − m`gθ(t) = 0
23/31
MECE 3350 - C. Rossa 23 / 31 Lecture 21
Exercise 125
Y (s) 6
= 3 .
R(s) s + 6s 2 + 11s + 6
Construct a state variable representation of the system.
Procedure:
24/31
MECE 3350 - C. Rossa 24 / 31 Lecture 21
Exercise 125 - continued
Y (s) 6
= 3 .
R(s) s + 6s 2 + 11s + 6
25/31
MECE 3350 - C. Rossa 25 / 31 Lecture 21
Exercise 125 - continued
26/31
MECE 3350 - C. Rossa 26 / 31 Lecture 21
Exercise 126
Procedure:
27/31
MECE 3350 - C. Rossa 27 / 31 Lecture 21
Exercise 126 - continued
28/31
MECE 3350 - C. Rossa 28 / 31 Lecture 21
Exercise 127
Derive a state space model for the system shown. The input is i(t) and the
output is v (t).
29/31
MECE 3350 - C. Rossa 29 / 31 Lecture 21
Exercise 127 - continued
30/31
MECE 3350 - C. Rossa 30 / 31 Lecture 21
Next class...
31/31
MECE 3350 - C. Rossa 31 / 31 Lecture 21