Explorer les Livres électroniques
Catégories
Explorer les Livres audio
Catégories
Explorer les Magazines
Catégories
Explorer les Documents
Catégories
S. Mottelet
7 juin 2013
1 Exemples
2 Calcul des solutions
3 Points dequilibre
4 Stabilite
5 Etude locale des systemes non-lineaires
g
= sin
L
x + k x x + x 3 = b cos t,
x (1 x 2 )x + x = 0.
N
h = a bh c , (3)
d +h
N = u. (4)
X = AX + Bv , t > 0, (5)
X (0) = X0 , (6)
Z t
X (t) = exp(At)X0 + exp(At) exp(A )Bv ( )d
0
mx + kx = 0, t > 0, (7)
x(0) = x0 , x(0) = v0 (8)
x
X =
x
X = AX
v0 k
x(t) = x0 cos(t) + sin(t), 2 =
m
x + x 2 = 0, t > 0, (9)
x(0) = 1, (10)
1
x(t) =
t +1
Xk +1 = Xk + h(tk , Xk ), k = 0 . . . N 1
Le pendule en Scilab :
function dXdt=f(t,X)
dXdt=[X(2);-g/L*sin(X(1)];
endfunction
X0=[1;0];
t=linspace(0,10,1000);
X=ode(X0,0,t,f);
plot(t,X(1,:));
X = f (X ), t > 0. (S)
Definition
Le vecteur X est un point dequilibre de (S) si
f (X ) = 0.
X = AX , t > 0,
AX = 0 X Ker A,
Masse-ressort
mx + kx = 0,
Double integrateur
x = 0.
Pendule
X2
X = g , t > 0,
L sin X1
X = f (X ), t > 0, (13)
f (X ) = 0
Definition
Le point dequilibre X est stable si
Definition
Un point dequilibre X qui nest pas stable est dit instable et on a
Definition
Le point dequilibre X est asymptotiquement stable si il est stable et si
Pendule amorti
X2
X = g , t > 0,
L sin X1 X2
avec > 0.
X = AX , t > 0. (SL)
Propriete
Le systeme (SL) est
instable si au moins une valeur propre de A est a partie reelle
strictement positive,
stable si toutes les valeurs propres de A sont a partie reelle
negative,
asymptotiquement stable si si toutes les valeurs propres de A sont
a partie reelle strictement negative.
Definition
Soit f : Rn Rm , on dit que f est differentiable en X0 sil existe une
matrice f 0 (X0 ) tel que
Definition
Soit le systeme defini par lequation differentielle autonome
X = f (X ), t > 0, (S)
Z = f 0 (X )Z , t > 0. (SLTX )
Theoreme 1
(SLTX ) stable X est un point
dequilibre stable de (S).
Theoreme 2
(SLTX ) asymptotiquement stable
= X est un point dequilibre
asymptotiquement stable de (S).
X = AX + Bv , t > 0, (14)
X (0) = X0 . (15)
X (t) Rn , v (t) Rm
X = f (X , v ), t > 0, (16)
X (0) = X0 . (17)
Point dequilibre (X , v ) :
0 = f (X , v ).
Retour detat : v = v K (X X ).
X = f (X , v ), t > 0,
X (0) = X0 .
X = f (X , v K (X X )) = g(X ),
Systeme autonome
X = f (X , v K (X X )) = g(X ), (S)
Proposition
Si on note
A = fX0 (X , v ), B = fv0 (X , v ),
Z = (A BK )Z . (SLT)
g(X ) = f (X , KX ),
g 0 (X ) = fX0 (X , KX ) fv0 (X , KX )K ,
g 0 (0) = fX0 (0, 0) fv0 (0, 0)K ,
= A BK .
X = f (X , v ), (S)
Theoreme
Si (SLT) est stabilisable, alors il existe K telle que le systeme boucle
X = f (X , v K (X X ))
Systeme controlable
X = AX + Bv , t [0, T ], (18)
X (0) = X0 . (19)
Fonction cout
Z T
1
J(v ) = (X > QX + v > Rv ) dt.
2 0
Theoreme
Pour tous u, v C(0, T ) on definit lapplication derivee de J par
J(u + hv ) J(u)
J 0 (u)v = lim
h0 h
Si v est le controle optimal, alors on a necessairement
v C(0, T ), J 0 (v )v = 0.
Z t
Y (t) = exp(A(t ))Bv ( ) d.
0
On montre aisement que
Z T
J 0 (u)v = (X T QY + u T Rv ) dt.
0
Z T Z T Z t
T
X QY dt = X (t)> Q exp(A(t ))Bv ( ) d dt,
0 0 0
Z T Z T
= X (t)> Q exp(A(t ))Bv ( ) dt d,
0
Z T Z >
= exp(A> (t ))QX (t) Bv ( ) dt d,
0 T
Z T Z
= exp(A> ( t))QX (t)dt > Bv ( ) d,
0 T
Z T
= p( )> Bv ( ) d
0
Etat adjoint : p
p0 = A> p + QX , t [0, T [,
p(T ) = 0.
Calcul de la derivee
Z T >
0
J (u)v = B > p + Ru v dt
0
Condition doptimalite
v C(0, T ), J 0 (v )v = 0 = B > p + R v = 0,
v = R 1 B > p
Systeme doptimalite
X = AX + BR 1 B > p, t ]0, T ],
p = A> p + QX , t [0, T [,
X (0) = X0 ,
p(T ) = 0.
On considere le cas T
X = AX + BR 1 B > p, t > 0,
p = A> p + QX , t > 0
avec
lim X (t) = lim p(t) = 0,
t t
v = BR 1 B > PX = KX .
Theoreme
On considere le systeme stabilisable
X = AX + Bv , t > 0,
X (0) = X0 ,
et la fonction cout
Z +
1
J(v ) = (X > QX + v > Rv ) dt.
2 0
Z +
1
J(v ) = (X > QX + v > Rv ) dt.
2 0
Avec Matlab :
Z = AZ + Bv , (SLT)
0 1 0
A= g , B= 1 .
L 0 mL2
Controlabilite :
1 0 1
(B, AB) =
mL2 1 0
Systeme boucle
X2
X = ,
gL sin X1 1
mL2
K (X X )
X (0) = X0 .
Distance critique ?
X = [x, , x, ]> ,
X = [x , 0, 0, 0]> ,
v = 0,
v =F ~ .~
v + mL2 sin
M + m mL cos x
=
cos L g sin
Forme implicite
X1 = X3 ,
X2 = X4 ,
v + mLX42 sin X2
M + m mL cos X2 X3
=
cos X2 L X4 g sin X2
Forme explicite
X = f (X , v ).
H(X )f (X , v ) = g(X , v ),
ou
1 X3
1 X4
H(X ) = , g(X , v ) =
v + mLX42 sin X2
M +m mL cos X2
cos X2 L g sin X2
Calcul de fv0 (X , v ) : en derivant par rapport a v le calcul est plus simple car H(X )
ne depend pas de v . On a donc
soit
fv0 (X , v ) = H(X )1 gv0 (X , v ).
0 0 1 0 0
0 0 0 1
Z + 0
Z = v (SLT)
0
gm
M 0 0
1
M
g(M+m) 1
0 ML 0 0 ML
| {z } | {z }
A=fX0 (X ,v ) B=fv0 (X ,v )
Controlabilite
rang(B, AB, A2 B, A3 B) = 4.
X1 = X3 ,
X2 = X4 ,
KX + mLX42 sin X2
M + m mL cos X2 X3
=
cos X2 L X4 g sin X2
function dXdt=f(t,X)
v=-K*X;
accel=[M+m,m*L*cos(X(2))
cos(X(2)),L] \ [v+m*L*X(4)2*sin(X(2));g*sin(X(2))];
dXdt=[X(3:4);accel];
end
Gilet stabilisateur
Dynamique de remplissage
N = u.
pV = NR, p = p0 + hg.
f = (V0 + V )g.
m V0 C p0
a= , b = , c = R, d =
m m g
N
h = a bh c ,
d +h
N = u.
Point dequilibre
X3
f (X , u ) = 0 u = 0, X2 = 0, a c = 0,
d + X1
a
N = (d + h ).
c
Derivees
0 1 0
f
(X , u ) = b ,
X
0 0 0
a c
=
,=
d +h d + h
u = k (h h ), k R,
X2
X3
X = a bX2 c d+X 1
= g(X ).
k (X1 h )
Etude locale
0 1 0
g 0 (X ) = b .
k 0 0
det (g 0 (X ) I) = 3 + b2 k,
( 1 )( 2 )( 3 ) =3 (1 + 2 + 3 )2
+ (1 2 + 2 3 + 1 3 )
| {z }
>0
1 2 3 .
Nouvelle commande v
v X3
u= .
X1 = X2 , (22)
X3
X2 = a bh c , (23)
d + X1
v X3
X3 = (24)
Pour = 0.01 on a X3 v !
X1 = X2 ,
X3
X2 = a bX2 c ,
d + X1
X3 = v X3 .
X1 = X2 ,
v
X2 = a bX2 c
d + X1
X1 = X2 ,
v
X2 = a bX2 c ,
d + X1
v = g(X1 , X2 ).
X1 = X2 ,
X3
X2 = a bX2 c ,
d + X1
X3 = u,
g(X1 , X2 ) X3
u=
X1 = X2 ,
v
X2 = a bX2 c
d + X1
Bouclage non-lineaire
d + X1
v= (a w).
c
= systeme lineaire par rapport a la nouvelle commande w
X1 = X2 ,
X2 = bX2 + w.
X3 gVr sin(2ft)
X2 = a bX2 c ,
d + X1 m
h ,
si t < t1 ,
hd (t) = h + (t t1 ) ht02h
t 1
, si t1 t < t2 ,
si t t2 ,
h0 ,
h0 h
= 0.25.
t2 t1
1 d + X1
u= (a s1 (X1 hd (t)) + s2 X2 ) X3 .
c