Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Model Reducer

Reduce complexity of linear time-invariant (LTI) models

Description

The Model Reducer app lets you compute reduced-order approximations of high-order models. Working with lower-order models can simplify analysis and control design. Simpler models are also easier to understand and manipulate. You can reduce a plant model to focus on relevant dynamics before designing a controller for the plant. Or, you can use model reduction to simplify a full-order controller.

Using any of the following methods, Model Reducer helps you reduce model order while preserving model characteristics that are important to your application:

  • Balanced Truncation — Remove states with relatively small energy contributions.

  • Mode Selection — Select modes by specifying a region of interest in the complex plane.

  • Pole-Zero Simplification — Eliminate canceling or near-canceling pole-zero pairs.

Model Reducer provides response plots and error plots to help ensure that the reduced-order model preserves important dynamics.

Open the Model Reducer App

  • MATLAB® Toolstrip: On the Apps tab, under Control System Design and Analysis, click the app icon.

  • MATLAB command prompt: Enter modelReducer.

Parameters

expand all

Balanced Truncation Tab

Specify the model you want to reduce by selecting from the Model drop-down list. The list includes all models currently in the Data Browser. To get a model from the MATLAB workspace into the Data Browser, on the Model Reducer tab, click Import Model.

Specify the number of states in the reduced-order model. Any value is permitted that falls between the number of unstable states in the model and the number of states in a minimal realization of the system (see minreal). If you specify a single value, Model Reducer computes and displays the responses of a model of that order. If you specify multiple values, Model Reducer computes models of all specified orders and displays their responses on the same plot. To store reduced models in the Data Browser, click .

For more information, see Balanced Truncation Model Reduction.

Example: 5

Example: 4:7

Example: [3,7,10]

When Preserve DC Gain is checked, the DC gain of the reduced model equals the DC gain of the original model. When the DC behavior of the model is important in your application, leave this option checked. Uncheck the option to get better matching of higher-frequency behavior.

For more information, see Balanced Truncation Model Reduction.

By default, Model Advisor analyzes Hankel singular values across all frequencies. Such a limit is useful when you know the model has modes outside the region of interest to your particular application. When you apply a frequency limit, Model Reducer determines which states are the low-energy states to truncate based on their energy contribution within the specified frequency range only.

To limit the analysis of state contributions to a particular frequency range, check Select frequency range. Then enter a frequency range in the text box as a vector of the form [fmin,fmax]. Units are rad/TimeUnit, where TimeUnit is the TimeUnit property of the model you are reducing.

Mode Selection Tab

Specify the model you want to reduce by selecting from the Model drop-down list. The list includes all models currently in the Data Browser. To get a model from the MATLAB workspace into the Data Browser, on the Model Reducer tab, click Import Model.

For more information, see Mode-Selection Model Reduction.

Enter the frequency of the slowest dynamics to preserve in the reduced model. Poles with natural frequency below this cutoff are eliminated from the reduced model.

Enter the frequency of the fastest dynamics to preserve in the reduced model. Poles with natural frequency above this cutoff are eliminated from the reduced model.

Pole/Zero Simplification Tab

Specify the model you want to reduce by selecting from the Model drop-down list. The list includes all models currently in the Data Browser. To get a model from the MATLAB workspace into the Data Browser, on the Model Reducer tab, click Import Model.

Set the tolerance for pole-zero cancellation by using the slider or entering a value in the text box. The value determines how close together a pole and zero must be for Model Reducer to eliminate them from the reduced model. Moving the slider to the left or entering a smaller value in the text box simplifies the model less, by cancelling fewer poles and zeros. Moving the slider to the right, or entering a larger value, simplifies the model more by cancelling poles and zeros that are further apart.

For more information, see Pole-Zero Simplification.

Programmatic Use

expand all

modelReducer opens the Model Reducer app with no models in the Data Browser. To import a model from the MATLAB workspace, click Import Model.

modelReducer(model) opens app and imports the specified LTI model. model can be a:

modelReducer(model1,...,modelN) opens the app and imports the specified models.

modelReducer(sessionFile) opens the app and loads a previously saved session. sessionFile is the name of a session data file in the current working directory or on the MATLAB path.

To save session data to disk, in the Model Reducer app, on the Model Reducer tab, click Save Session. The saved session data includes the current plot configuration and all models in the Data Browser.

See Also

Functions

Introduced in R2016a