Simulink Control Design™ - MathWorks

(Tuis.) #1
Simulink Coder automatically turns this MATLAB code into efficient embedded C code.
Whether to use lookup tables or MATLAB Function blocks depends on the application.
The MATLAB Function option ensures smooth variation of the gains as a function of alpha
and beta (no kinks at breakpoints). It can also be more memory-efficient as it only needs
to store the coefficients of the polynomial equation for the gain surface. On the other
hand, evaluating the gain at a given (alpha,beta) point may take a few more operations
than in a lookup table, and further adjustment of the gains is easier in a lookup table.

Once you pushed the gains to Simulink, the autopilot tuning is complete and you can
simulate its behavior during the landing approach.

11 Gain-Scheduled Controllers

Free download pdf