Professional Documents
Culture Documents
Le Système Non Linéaire Converge Vers Une Trajectoire Différente de Celle Désirait Cela Est Du Au Choix Arbitraire Du Point de La Linearization
Le Système Non Linéaire Converge Vers Une Trajectoire Différente de Celle Désirait Cela Est Du Au Choix Arbitraire Du Point de La Linearization
arbitraire du point de la linearization, de plus les conditions initiales ainsi que le temps de calcul joue
un rôle tres important et l faut constaté que ce system est difficile à stabiliser ;
On a mis un cout eleve pour s’approcher du zero mais ça donne aucun effet
On doit faire en sorte que les pôles instable de A soit contrôlé par le B
It's important to note that the perturbation term p should be small compared to the linear
component represented by Ax + bu. The analysis of the system can then be performed by considering
the linear dynamics first and then incorporating the effects of the perturbation term.
La reponse depend fortement des condition initiales lorsque je met une petite valeur de x1 je me
rapproche de zero et je m’éloigne en vitesse.
clear all
clc
A = [0 1 0 0 0 0 0 0 0 0;
1 0 1 0 0 0 0 0 0 0;
0 0 0 1 0 0 0 0 0 0;
0 0 1 0 0 0 0 0 0 0;
0 0 0 0 0 1 0 0 0 0;
0 0 0 0 1 0 0 0 0 0;
0 0 0 0 1 0 0 1 0 0;
0 0 0 0 0 0 1 0 0 0;
0 0 0 1 0 0 0 0 0 1;
0 0 0 0 0 0 0 0 1 0];
B = [0 0 0;
1 0 0;
0 0 0;
0 1 0;
0 0 0;
0 0 1;
1 0 0;
0 0 0;
0 0 0;
0 0 0];
syms x1 x2 x3 x4 x5 x6 x7 x8 x9 x10;
mu = 398600;
syms x1 x2 x3 x4 x5 x6 x7 x8 x9 x10;
Q = eye(10);
R = 10e9*eye(3);
for i = 2:length(t)
% Get the current state
current_x = x(i-1, :).';
function dxdt=non_linear(t,x)
mu=398601;
dxdt(1)=x(2);
dxdt(2)=2*x(10)*x(4)-(2*x(8)*x(10)/x(7))*x(3)+x(10)^2*x(1)+...
(mu/x(7)^2)-mu*(x(7)+x(1))/((x(7)+x(1))^2+x(3)^2+x(5)^2)^1.5;
dxdt(3)=x(4);
dxdt(4)=-2*x(10)*x(2)+2*x(8)*x(10)/x(7)*x(1)+x(10)^2*x(3)-...
mu*x(3)/((x(7)+x(1))^2+x(3)^2+x(5)^2)^1.5;
dxdt(5)=x(6);
dxdt(6)=-mu*x(5)/((x(7)+x(1))^2+x(3)^2+x(5)^2)^1.5;
dxdt(7)=x(8);
dxdt(8)=x(7)*x(10)^2-mu/x(7)^2;
dxdt(9)=x(10);
dxdt(10)=-2*x(8)*x(10)/x(7);
dxdt=dxdt';
A = [0 1 0 0 0 0;
3*n^2 0 0 2*n 0 0;
0 0 0 1 0 0;
0 -2*n 0 0 0 0;
0 0 0 0 0 0;
0 0 0 0 -n^2 0];
B = [0 0 0;
1 0 0;
0 0 0;
0 1 0;
0 0 1;
0 0 1];
C = eye(6);
D = zeros(6,3);
Q = eye(6);
R = 10e9*eye(3);
% Define the closed-loop system with the controller and set point
Ac = A - B*K;
Bc = B;
Cc = C;
Dc = D;
sys_cl = ss(Ac, Bc, Cc, Dc);
%plot(t,y(1,:),t,y(3,:),t,y(5,:))
plot(y(2,:),y(1,:))
Adaptative lqr :
engineers are typically not comfortable to switch over to nonlinear control theory completely,
lqr is the nominal controller.
it's important to note that a nominal controller may not perform optimally or robustly in the
presence of significant changes or uncertainties in the system. It may not be able to handle
large disturbances, variations in system parameters, or unexpected operating conditions. In
such cases, additional techniques like adaptive control or robust control may be necessary to
ensure satisfactory performance.