MATLAB MODEL PREDICTIVE CONTROL TOOLBOX - S Spécifications Page 130

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 166
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 129
4 Designing Controllers Using the Command Line
4-20
When the switch input is 1 the block automatically activates the first controller listed
(MPC1), which is appropriate when the masses are separated. When the switch input is
2 the block automatically enables the second controller (MPC2).
The following code simulates the controller performance
Tstop=100; % Simulation time
y1initial=0; % Initial M1 and M2 Positions
y2initial=10;
open('mpc_switching');
sim('mpc_switching',Tstop);
The figure below shows the signals scope output.
Vue de la page 129
1 2 ... 125 126 127 128 129 130 131 132 133 134 135 ... 165 166

Commentaires sur ces manuels

Pas de commentaire