Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
on 5
Controlabilidad y observabilidad
= A(t)x(t) + B(t)u(t) t T
()
y(t) = C(t)x(t) + D(t)u(t)
= A(t)x(t) + B(t)u(t)
x(t0 ) = x0
cumple x(tf ) = x1 ((t0 , x0 ) es controlable a (tf , x1 ) o (tf , x1 ) es
alcanzable desde (t0 , x0 )).
Nota
Para sistemas continuos alcanzabilidad y controlabilidad son
conceptos (matematicamente) equivalentes.
La u
nica soluci
on del P.C.I.
x(t)
= A(t)x(t) + B(t)u(t)
x(t0 ) = x0
es
0
x(t) = (t, t0 )x +
t0
tT
X(t)
= A(t)X(t), t T
X(t0 ) = In
Recordar concepto y poner ejemplo
x(t)
At
k
X
t
k=0
k!
Ak ,
tR
(Matlab: expm)
Solucion (funci
on de transici
on de estados):
Z t
x(t) = eA(tt0 ) x0 +
eA(t ) B( )u( ) d,
tR
t0
Z t
y(t) = Cx(t)+Du(t) = CeA(tt0 ) x0 + CeA(t ) B( )u( ) d +Du(t)
t0
J =
J1
.
.
Jr
, Jj =
j
0
.
.
.
0
0
1
j
.
.
.
0
0
0
1
.
j
0
0
0
.
.
.
1
j
Cnj nj ,
Jt
J t
e 1
Jj t
t
=e j
,e
Jk t
t2
.
.
.
0
0
.
.
.
0
0
.
.
.
0
0
2!
n 2
t j
n 1
t j
(nj 2)!
n 3
t j
(nj 1)!
n 2
t j
(nj 3)!
.
.
.
1
0
(nj 2)!
.
.
.
t
1
eA(t ) = T eJ(t ) T 1
m
x + cx + kx = 0
(movimiento libre)
x(0) = x0 , x(0)
= v0
Con el cambio
k
c
=
m
2 km
(frecuencia natural) (raz
on de amortiguamiento)
0 =
x
+ 20 x + 02 x = 0
Ecuaciones de estado (x1 = x, x2 = x):
0
1
x 1
x1
x1 (0)
x0
=
,
=
x 2
x2 (0)
v0
02 20 x2
p
2
+ 20 +
= +
0 0 1
x
Soluci
on general: x(t) = T eJt T 1 0
v0
Movimiento subamortiguado: 0 < < 1.
2
02
(0 +d i)t
0
e
eJt =
e(0 d i)t
p 0
d = 0 2 1 (frecuencia natural amortiguada)
e(0 d i)t = e0 t (cos(d t) i sen(d t))
x(t) = e0 t (A cos(d t) + B sen(d t))
Movimiento sobreamortiguado: > 1.
eJt =
"
(+
x(t) = Ae
2 1)0 t
(+
e(
2 1)0 t
0 2
1)0 t
+ Be
#
2 1)0 t
8
Observaci
on: Las tres figuras tienen una caractrstica com
un:
despues de un tiempo en el que el sistema evoluciona con cambios
significativos, tiende al estado estacionario. Es una propiedad
general de los sistemas lineales.
x(t)
Hipotesis:
on salto unidad
Una entrada (m = 1), la funci
0, t < 0
(t) :=
Condici
on inicial: x(0) = 0
1, t 0
Respuesta del sistema (A invertible):
y(t)
t
A(t )
Ce
0Z
= C
=
eA(t ) D d + D =
eA D d = C(A1
0
1 At
CA
B( )u( ) d + Du(t) = C
=t
A
e B)=0 + D =
e B CA1 B + D
respuesta transitoria
soluci
on del P.C.I.:
(t, s)B(s)u(s) ds es la u
nica
t0
x(t)
= A(t)x(t) + B(t)u(t)
x(t0 ) = x0
Observaciones importante:
Z t f
(tf , s)B(s)u(s) ds : u() U es un espacio
R(tf , t0 ) =
t0
11
() es controlable en [t0 , tf ] si y s
olo si R(tf , t0 ) = Rn
() es controlable en [t0 , tf ] si y s
olo si W (t0 , tf ) es invertible.
w(t) = B(t)T (tf , t)T W (tf , t0 )1 (x1 (tf , t0 )x0 ) lleva el
estado x0 en t = t0 al estado x1 en t = tf , y
Z tf
Z tf
kw(t)k2 dt
ku(t)k2 dt entre todos los controles
t0
t0
12
x(t)
= Ax(t) + Bu(t) t T
y(t) = Cx(t) + Du(t)
x(t)
= Ax(t) + Bu(t)
y(t) = Cx(t)
0
1
0
0
2
m2 `2 g
M `cP
0 c(J + m` )
M0
M0
M0
A=
0
0
0
1
(M + m)mg`
(M + m)cP
m`c
M
M
M0
0
0
0
J + m`2
1 0 0 0
M0
B=
, C =
0 0 1 0
m`
M0
14
syms c J m l cp M g b M0
A=[0 1 0 0; 0 -c*(J+m*l^2)/M0 m^2*l^2*g/M0 -M*l*cp/M0;...
0 0 0 1;0 -m*l*c/M0 (M+m)*m*g*l/M0 -(M+m)*cp/M0]
B=[0;b*(J+m*l^2)/M0;0;b*m*l/M0]
C=simplify([B A*B A^2*B A^3*B])
de=simplify(det(C))
m=0.1;M=1;g=9.68;J=1/2; l=1; cp=0.1;c=0.2;
M0=(M+m)*J+m*l^2*M;
Cs=subs(C)
des=det(Cs)
15
1
0
0
0
1
0
0 2R0
0
0
1 x(t) + 0
2
0
0
0
R0
0 1 0 x(t)
0
32
x(t)
= 0
0
y(t) = 0
0
0
0 u(t)
1
R0
C
odigo Matlab para calcular la matriz la matriz de controlabilidad y un
control de norma mnima
echo on
syms w R0 t
A=[0 1 0 0; 3*w^2 0 0 2*w*R0; 0 0 0 1; 0 -2*w/R0 0 0]
B=[0 0;1 0; 0 0; 0 1/R0]
C=[B A*B A^2*B A^3*B]
rangomc=rank(C)
%Control con motor radial estropeado (u_1=0)
B1=B(:,2)
Ct=[B1 A*B1 A^2*B1 A^3*B1]
r2=rank(Ct)
16
%A por la grammiana
%matriz de transicion
E=simplify(T*expm(JR*(1-t))*T^(-1)); vpa(E,4)
%integrando
W0=simplify(E*B*B*E);vpa(W0,4)
%matriz grammiana
W=int(W0,0,1); vpa(W,4)
%Control
u=B*E*W^(-1)*[0;0;1;0]; vpa(u,4)
18
Teorema
(A, B) es controlable si y s
olo si se cumple cualquiera de las dos
siguientes condiciones equivalentes:
(i) rang In A B = n para todo C
(ii) rang In A B = n para cada valor propio de A.
de rango.
Popov-Belevitch-Hautus
19
x(t)
= f (x, u),
tT
x X Rn (estados) y u U Rm (controles), O = X U
abierto, f C (O, Rn ).
20
= A(t)x(t) + Bu(t), t T
()
y(t) = C(t)x(t) + D(t)u(t)
Definicion de observabilidad
() es observable en [t0 , tf ] si cualquier estado inicial x(t0 ) = x0
esta determinado de manera u
nica por la salida y(t) en [t0 , tf ].
| t0
Un criterio de observabilidad
Si C(t)(t, t0 )x1 = C(t)(t, t0 )x2 en [t0 , tf ] el sistema no es
observable (hay dos estados iniciales distintos que producen la
misma salida).
La aplicaci
on L : Rn C ([t0 , tf ], Rp ) es lineal y el
x C(t)(t, t0 )x
sistema es no observable si y s
olo si Ker L 6= {0}.
Ker L = Ker M (tf , t0 ) donde M (tf , t0 ) es la matriz
grammiana de observabilidad:
Z tf
M (tf , t0 ) =
(t, t0 )T C(t)T C(t)(t, t0 ) dt
t0
() es observable en [t0 , tf ] si y s
olo si det M (tf , t0 ) 6= 0.
El estado inicial determinado por la salida es:
Z tf
x(t0 ) = M (tf , t0 )1
(t, t0 )T C(t)T y(t) dt
t0
23
x(t)
= Ax(t) + Bu(t) t T
y(t) = Cx(t) + Du(t)
Teorema Fundamental: Si
C
T
CA
T T
T n1 T
MT = C
A C
(A )
C ..
.
CAn1
entonces
T
Im M (tf , t0 ) = Im MT = Im C T AT C T (AT )n1 C T
y
T
Ker M (tf , t0 ) = Ker MT = Ker C
AT C T (AT )n1 C T
C
CA
() observable si y s
olo si rang O(A, C) = n
24
1
0
0
0
1
0
0 2R0
0
0
1 x(t) + 0
2
0
0
0
R0
0 1 0 x(t)
0
32
x(t)
= 0
0
y(t) = 0
0
0
0
0
2
R0
0
0
0 u(t)
1
R0
0
1
0
0
2
0 4
1
0
O(A, C) = 0
63
0
R0
Si y(t) = 1 0 0 0 x(t) el sistema no sera observable.
25