help on programming a control function for double integrator system

1 vue (au cours des 30 derniers jours)
lady bird
lady bird le 1 Août 2016
Hello all,
Please could you help me out programming the following controller using matlab or simulink. I'm just beginning with matlab programming.
for the system
x1dot = x2;
x2dot = u + (2+3*sin(t));
the control input u is
u= -k1*sign(phi1)*(abs(phi1))^1/2 - integral from 0 to t (k3*sign(phi1) dt)
phi1 = x2 + k2*sign (x1)*((abs(x1))^2/3)
initial conditions :
x(1) = -1; x2(0) = 3
gains k1= 6, k2= 4; k3 = 4
Thank you so much for any help
best regards

Réponses (0)

Catégories

En savoir plus sur Power and Energy Systems dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by