Finally, use feedback to obtain a tunable closed-loop model of the outer loops. To enable
tuning and closed-loop analysis, insert analysis points at the plant outputs.
RollOffFilter = tf(10,[1 10]);
APy = AnalysisPoint('y',3); APy.Location = {'Phi_deg','Alpha_deg','Beta_deg'};
T0 = feedback(APy * Gpos(4:6,:) * RollOffFilter * Cpos ,eye(3));
T0.InputName = {'Phi_demand','Alpha_demand','Beta_demand'};
T0.OutputName = {'Phi_deg','Alpha_deg','Beta_deg'};
You can plot the closed-loop responses for the initial gain surface settings (constant gains
of 0.05).
step(T0,6)
11 Gain-Scheduled Controllers