Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
State-Space Systems
What are state-space models?
Why should we use them?
How are they related to the transfer functions used in
classical control design and how do we develop a statespace model?
What are the basic properties of a state-space model, and
how do we analyze these?
Fall 2010
16.30/31 52
SS Introduction
p
0
1
p
0
=
+
u
p
k/m c/m
p
1/m
Let u = F and introduce the state
x1
p
x=
=
x = Ax + Bu
x2
p
If the measured output of the system is the position, then we have
that
x1
y=p= 1 0
= 1 0
= Cx
p
x2
Fall 2010
16.30/31 53
Fall 2010
16.30/31 54
Basic Denitions
Fall 2010
16.30/31 55
Fall 2010
16.30/31 56
Fall 2010
16.30/31 57
Equilibrium Points
x 1
x2
=
x 2
rx2 gl sin x1
Setting f (x, u) = 0 yields x2 = 0 and x2 = rlg sin x1, which
implies that x1 = = {0, }
Fall 2010
16.30/31 58
Linearization
Can then develop the linearized equations by using the Taylor series
expansion of f (, ) about xe and ue.
fi
fi
fi(xe, ue) +
x +
u
x
0
u 0
where
fi
fi
fi
=
x
xn
x1
Fall 2010
Since
16.30/31 59
d
dt xe i
d
fi
fi
(xi)
x +
u
dt
0
u 0
Combining for all n state equations, gives (note that we also set
=) that
f1
f1
f2
f2
0
u
0
x
=
x +
...
...
dt
fn
fn
x
0
u
0
= A(t)x + B(t)u
where
f1
x1
f2
x1
A(t)
fn
x1
f1
x2
f2
x2
fn
x2
...
f1
xn
f2
xn
fn
xn
f1
u1
f2
and
B(t)
u1
fn
u1
f1
u2
f2
u2
fn
u2
...
f1
um
f2
um
fn
um
Fall 2010
16.30/31 510
g1
g1
.
0
.
0
.
.
y
=
. x +
. u
gp
gp
x
0
u 0
= C(t)x + D(t)u
Typically drop the as they are rather cumbersome, and (abusing
notation) we write the state equations as:
x (t) = A(t)x(t) + B(t)u(t)
y(t) = C(t)x(t) + D(t)u(t)
which is of the same form as the previous linear models
If the system is operating around just one set point then the partial
fractions in the expressions for AD are all constant LTI lin
earized model.
Fall 2010
16.30/31 511
1 more
on Jordan blocks on 6??, but this basically means that these eigenvalues are not repeated.
Fall 2010
16.30/31 512
f
A =
x
xe
Then:
The origin is an asymptotically stable equilibrium point for the
nonlinear system if Ri(A) < 0 i
The origin is unstable if Ri(A) > 0 for any i
Note that this doesnt say anything about the stability of the nonlinear
system if the linear system is neutrally stable.
A very powerful result that is the basis of all linear control theory.
2 Much
Fall 2010
16.30/31 513
Linearization Example
Fall 2010
16.30/31 514
d y
y
=
x = f (x)
k1y k2y 3
dt y
Find the equilibrium points and then make a state space model
y
f (x) =
=0
k1y k2y 3
which gives
y e = 0 and k1ye + k2(ye)3 = 0
k1 3k2(y)2 0
k1 3k2(ye)2 0
Fall 2010
16.30/31 515
A0 =
k1 0
which are the standard dynamics of a system with just a linear spring
of stiness k1
Stable motion about y = 0 if k1 > 0
0 1
A1 =
2 0
which are the dynamics of a stable oscillator about the equilibrium
point
Fig. 3: Nonlinear response (k1 = 1, k2 = 0.5). The gure on the right shows the
oscillation about the equilibrium point.
Fall 2010
16.30/31 516
function test=nlplant(ft);
global k1 k2
x0 = [1 2]/10;
4
5
6
k1=1;k2=0;
[T,x]=ode23('plant', [0 20], x0); % linear
7
8
9
k2=2;
[T1,x1]=ode23('plant', [0 20], x0);
%nonlinear
10
11
12
13
14
15
16
17
18
19
20
21
22
23
figure(1);clf;
subplot(211)
plot(T,x(:,1),T1,x1(:,1),'');
legend('Linear','Nonlinear')
ylabel('X','FontSize',ft)
xlabel('Time','FontSize',ft)
subplot(212)
plot(T,x(:,2),T1,x1(:,2),'');
legend('Linear','Nonlinear')
ylabel('V','FontSize',ft)
xlabel('Time','FontSize',ft)
text(4,0.3,['k 2=',num2str(k2)],'FontSize',ft)
return
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
1
2
3
4
5
6
xdot(1) = x(2);
xdot(2) = k1*x(1)k2*(x(1))3;
xdot = xdot';
Fall 2010
16.30/31 5A1
B + BI
T = H
H
Transport Thm.
q
= Pi + Qj + Rk
P
BI B = Q
R
BI
r
Z
Image by MIT OpenCourseWare.
U
(vc)B = V
W
Hx
Ixx 0 Ixz
P
HB = Hy = 0 Iyy 0 Q
Hz
Ixz 0 Izz
R
September 21, 2010
Fall 2010
16.30/31 5A2
U
X
0 R Q
U
1
Y = V + R
0 P V
m
Q P
0
W
Z
W
U + QW RV
= V + RU P W
+ P V QU
W
B +
T = H
BI
IxxP + Ixz R
L
0 R Q
Ixx 0 Ixz
P
+ R
M =
0 P 0 Iyy 0 Q
Iyy Q
N
Q P
0
Ixz 0 Izz
R
Izz R + Ixz P
Equations are very nonlinear and complicated, and we have not even
said where F and T come from need to linearize to develop analytic
results
Assume that the aircraft is ying in an equilibrium condition and
we will linearize the equations about this nominal ight condition.
Fall 2010
16.30/31 5A3
Linearization
Can linearize about various steady state conditions of ight.
For steady state ight conditions must have
F = Faero + Fgravity + Fthrust = 0 and T = 0
So for equilibrium condition, forces balance on the aircraft
L = W and T = D
=0
Also assume that P = Q = R = U = V = W
Impose additional constraints that depend on ight condition:
Steady wings-level ight = = = = 0
P
Uo
BI o
o
B = Q
(vc)B = 0
R
0
which are associated with the ight condition. In fact, these dene
the type of equilibrium motion that we linearize about. Note:
W0 = 0 since we are using the stability axes, and
V0 = 0 because we are assuming symmetric ight
Fall 2010
16.30/31 5A4
Perturbed
Velocity
Perturbed
Acceleration
Velocities
U0 ,
W0 = 0,
V0 = 0,
U = U0 + u
W =w
V =v
U = u
= w
W
V = v
Angular
Rates
P0 = 0,
Q0 = 0,
R0 = 0,
P =p
Q=q
R=r
P = p
Q = q
R = r
Angles
0 ,
0 = 0,
0 = 0,
= 0 +
=
=
=
=
=
Fall 2010
16.30/31 5A5
X
u
1
Y = v + rU0
m
Z
w qU0
1
2
3
Attitude motion:
L
Ixxp + Ixz r
M =
Iyy q
N
Izz r + Ixz p
Fall 2010
16.30/31 5A6
U
W
W
g
X
X
X
X
X
=
u+
w+
w +
+ ... +
+ X c
U
W
X
U
Fall 2010
16.30/31 5A7
Stability Derivatives
Fall 2010
16.30/31 5A8
()/() X
u
v
0
w
p
0
q
0
r
0
Y
0
L
0
N
0
Note that we must also nd the perturbation gravity and thrust forces
and moments
X g
Z g
= mg cos 0
= mg sin 0
Aerodynamic summary:
X
X
1A
X = U 0 u + W 0 w X u, x w/U0
2A
Y v/U0, p, r
3A
Z u, x w/U0, x w/U
0, q
4A
L v/U0, p, r
5A
M u, x w/U0, x w/U
0, q
6A
N v/U0, p, r
Fall 2010
16.30/31 5A9
X
mu
Z = m(w qU0)
M
Iyy q
X
U 0 u
W 0 w
X g
+ X
Z u + Z w + Z w + Z q + Z g + Z c
U 0
Q 0
0
W 0
W
0
M
M
M
w + M
q + M c
Q
U 0 u + W 0 w + W
Y
m(v + rU0)
L = Ixxp + Ixz r
N
Izz r + Ixz p
Y
V 0 v
+ P 0 p + R 0 r + +Y
L
L
L
c
v
+
p
+
P 0
R 0 r + L
V 0
N
N
N
c
V 0 v + P 0 p + R 0 r + N
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.