Simulink Control Design™ - MathWorks

(Tuis.) #1

During simulation, the block can also output a logical assertion signal:



  • If all bounds are satisfied, the signal is true ( 1 ).

  • If a bound is not satisfied, the signal is false ( 0 ).


You can add multiple Check Gain and Phase Margins blocks in your model to check gain
and phase margin bounds on various portions of the model.


You can also plot the gain and phase margins on a Bode, Nichols or Nyquist plot or view
the margins in a table and verify that the gain and phase margins satisfy the bounds.


This block and the other Model Verification blocks test that the linearized behavior of a
nonlinear Simulink model is within specified bounds during simulation.



  • When a model does not violate any bound, you can disable the block by clearing the
    assertion option. If you modify the model, you can re-enable assertion to ensure that
    your changes do not cause the model to violate a bound.

  • When a model violates any bound, you can use Simulink Design Optimization software
    to optimize the linear system to meet the specified requirements in this block.


You can save the linear system as a variable in the MATLAB workspace.


The block does not support code generation and can be used only in Normal simulation
mode.


Parameters


The following table summarizes the Gain and Phase Margin Plot block parameters,
accessible via the block parameter dialog box. For more information, see “Parameters” on
page 16-107 in the Gain and Phase Margin Plot block reference page.


Task Parameters
Configure
linearization.

Specify inputs and
outputs (I/Os).

In Linearizations tab:


  • Linearization inputs/outputs

  • Click a model signal to add it as a
    linearization I/O


Check Gain and Phase Margins
Free download pdf