Main Content

Analyze Designs Using Response Plots

This example shows how to analyze your control system designs using the plotting tools in Control System Designer. There are two types of Control System Designer plots:

  • Analysis plots — Use these plots to visualize your system performance and display response characteristics.

  • Editor plots — Use these plots to visualize your system performance and interactively tune your compensator dynamics using graphical tuning methods.

Analysis Plots

Use analysis plots to visualize your system performance and display response characteristics. You can also use these plots to compare multiple control system designs. For more information, see Compare Performance of Multiple Designs.

To create a new analysis plot, in Control System Designer, on the Control System tab, click New Plot, and select the type of plot to add.

In the new plot dialog box, specify an existing or new response to plot.

Note

Using analysis plots, you can compare the performance of multiple designs stored in the Data Browser. For more information, see Compare Performance of Multiple Designs.

Plot Existing Response

To plot an existing response, in the Select Response to Plot drop-down list, select an existing response from the data browser. The details for the selected response are displayed in the text box.

To plot the selected response, click Plot.

Plot New Response

To plot a new response, specify the following:

  • Select Response to Plot — Select the type of response to create.

    • New input-output transfer response — Create a transfer function response for specified input signals, output signals, and loop openings.

    • New open-loop response — Create an open-loop transfer function response at a specified location with specified loop openings.

    • New sensitivity transfer response — Create a sensitivity response at a specified location with specified loop openings.

  • Response Name — Enter a name in the text box.

  • Signal selection boxes — Specify signals as inputs, outputs, or loop openings using the Add signal drop-down lists. If you open Control System Designer from:

    • MATLAB® — Select a signal using the Architecture block diagram for reference.

    • Simulink® — Select an existing signal from the current control system architecture, or add a signal from the Simulink model.

    Use , , and to reorder and delete signals.

To add the specified response to the data browser and create the selected plot, click Plot.

Editor Plots

Use editor plots to visualize your system performance and interactively tune your compensator dynamics using graphical tuning methods.

To create a new editor plot, in Control System Designer, on the Control System tab, click Tuning Methods, and select one of the Graphical Tuning methods.

For examples of graphical tuning using editor plots, see:

For more information on interactively editing compensator dynamics, see Edit Compensator Dynamics.

Plot Characteristics

On any analysis plot in Control System Designer:

Plot Tools

Mouse over any analysis plot to access plot tools at the upper right corner of the plot.

  • and — Zoom in and zoom out. Click to activate, and drag the cursor over the region to zoom. The zoom icon turns dark when zoom is active. Right-click while zoom is active to access additional zoom options. Click the icon again to deactivate.

  • — Pan. Click to activate, and drag the cursor across the plot area to pan. The pan icon turns dark when pan is active. Right-click while pan is active to access additional pan options. Click the icon again to deactivate.

  • — Legend. By default, the plot legend is inactive. To toggle the legend on and off, click this icon. To move the legend, drag it to a new location on the plot.

To change the way plots are tiled or sorted, click and drag the plots to the desired location.

Design Requirements

You can add graphical representations of design requirements to any editor or analysis plots. These requirements define shaded exclusion regions in the plot area.

Use these regions as guidelines when analyzing and tuning your compensator designs. To meet a design requirement, your response plots must remain outside of the corresponding shaded area.

To add design requirements to a plot, right-click anywhere on the plot and select Design Requirements > New.

In the New Design Requirement dialog box, specify the Design requirement type, and define the Design requirement parameters. Each type of design requirement has a different set of parameters to configure. For more information on adding design requirements to analysis and editor plots, see Design Requirements.

Related Topics