Linearizing Models in the Control and Estimation Tools Manager

Linearizing at an Operating Point

You can use linearize around operating points. Refer to What Are Operating Points? in the Simulink Control Design getting started documentation for more information on the role of operating points in linearization.

This section contains the following topics:

Linearizing at a Simulink Model Operating Point

To linearize around the operating point in the Simulink model:

  1. Select the Operating Points tab in the Linearization Task node.

  2. Select the Linearize at the operating point currently specified in the Simulink model option button. This button is selected by default.

  3. Click Linearize Model. The software does the following:

Linearizing at Captured Operating Points

You can linearize around operating points that you captured in the Operating Points node.

To linearize around one or more operating points:

  1. Select the Operating Points tab in the Linearization Task node.

  2. Select the Linearize at one or more of the following operating points option button.

  3. In the Operating Point list, select one or more operating points around which to linearize the model.

  4. Click Linearize Model. The software linearizes around these operating points and adds the linearization result, labeled Model, to the Linearization Task node.

Linearizing at Specified Simulation Times

You can linearize around operating points extracted from a simulation of your model at specified times, such as when the simulation reaches a steady state solution.

To linearize around one or more simulation times:

  1. Select the Operating Points tab in the Linearization Task node.

  2. From the Select operating point type list, select Simulation snapshot.

  3. Enter a vector of one or more times in the Simulation snapshot times (sec.) field. For example, enter [1,10] to compute operating points at t=1 and t=10.

  4. Click Linearize Model. The software does the following:

Linearizing at Simulation Events

You can linearize around operating points extracted from a simulation of your model at one or more of the following simulation events:

For more information about modeling events in Simulink, see Creating Conditional Subsystems in the Simulink User's Guide.

The Simulink Control Designn software linearizes around the operating points of all simulation events within a specified simulation time. The linearization takes into account all states in the model operating point.

To linearize around one or more simulation events:

  1. Add a Trigger-Based Operating Point Snapshot block to your model.

    This block is in the Simulink Control Design block library. The model in the Trigger-Based Operating Point Snapshot demo shows the use of this block.
  2. Select the Operating Points tab in the Linearization Task node.

  3. From the Select operating point type list, select Simulation snapshot.

  4. Enter a scalar value that specifies the simulation end time in the Simulation snapshot times (sec.) field.

  5. Click Linearize Model. The software does the following:

Analyzing Linearization Results

For information on analyzing the linearization results, see Viewing Linearization Results in the Simulink Control Design getting started documentation.

Changing Linearization Options

You have many options for controlling and modifying the results of a linearization. This section describes these options in the following topics:

Changing Linearization Settings and Algorithms

To change the linearization settings and algorithms, select Tools > Options in the Control and Estimation Tools Manager window, and then click the Linearization tab. This opens the Linearization Task Options dialog box.

To get help on each option or setting in the Options dialog box, right-click an option's label and select What's This?.

For more information on these settings, refer to the linoptions reference page. For information about numerical-perturbation linearization, which is used when you select Numerical perturbation as the Linearization algorithm parameter, see Numerical-Perturbation Linearization.

Changing State Ordering in the Linearized Model

In some control applications it may be necessary to order the states of the linearized models. To specify the state ordering in the GUI, select Tools > Options, and then click the Linearization State Ordering tab. This opens the Linearization Task Options dialog box.

To specify the order of the states, select the Enable state ordering check box at the bottom of the tab. Then, use the Move Up and Move Down buttons to move states to a new position in the list. When you add new states to or remove existing states from the model diagram, click the Sync with Model button to update the list.

Creating Other Types of Linear Models

In addition to creating simple transfer functions using the input and output points, you can create more sophisticated linearized models using some of the other options in the Linearization Points menu.

Linearizing Discrete-Time and Multirate Models

The linearization method is the same for models containing discrete-time states or several different sample times. However, you can choose to adjust the Linearization sample time in the Linearization options pane. By default, this parameter is set to -1, in which case the software linearizes at the slowest sample rate in the model. To create a linearized model with a different sample time, enter a new value in the dialog box. A value of 0 gives a continuous-time model.

To change the method that Simulink Control Design software uses for converting a multirate model to a single-rate model, change the Rate conversion method in the Options dialog box.

For more information, and examples, on methods and algorithms for rate conversions and linearization of multirate models, see the "Linearization of Multi-Rate Models" and "Rate Conversion Method Selection for Linearization" demos listed under the Simulink Control Design Demos in the demos browser.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS