Simulink Control Design™ - MathWorks

(Tuis.) #1

As before, compute the trim condition for and.


opspec = operspec('rct_airframe2');


% Specify trim condition
% Xe,Ze: known, not steady
opspec.States(1).Known = [1;1];
opspec.States(1).SteadyState = [0;0];
% u,w: known, w steady
opspec.States(3).Known = [1 1];
opspec.States(3).SteadyState = [0 1];
% theta: known, not steady
opspec.States(2).Known = 1;
opspec.States(2).SteadyState = 0;
% q: unknown, steady
opspec.States(4).Known = 0;
opspec.States(4).SteadyState = 1;
% controller states unknown, not steady
opspec.States(5).SteadyState = [0;0];


op = findop('rct_airframe2',opspec);


Tuning of a Two-Loop Autopilot
Free download pdf