Hướng dẫn control system designer của matlab

Interactive Bode, root locus, and Nichols graphical editors for adding, modifying, and removing controller poles, zeros, and gains.

  • Automated PID, LQG, or IMC tuning.
  • Optimization-based tuning (requires Simulink Design Optimization™ software).
  • Automated loop shaping (requires Robust Control Toolbox™ software).
  • Tune compensators for single-loop or multiloop control architectures.
  • Analyze control system designs using time-domain and frequency-domain responses, such as step responses and pole-zero maps.
  • Compare response plots for multiple control system designs.
  • Design controllers for multimodel control applications.

Open the Control System Designer App

  • MATLAB Toolstrip: On the Apps tab, under Control System Design and Analysis, click the app icon.
  • MATLAB command prompt: Enter`controlSystemDesigner`.
  • Simulink Toolstrip: On the Apps tab, under Control Systems, click the app icon.

Examples

  • Control System Designer Tuning Methods
  • Bode Diagram Design
  • Root Locus Design
  • Design Compensator Using Automated Tuning Methods
  • Design Multiloop Control System
  • Analyze Designs Using Response Plots
  • Compare Performance of Multiple Designs
  • Multimodel Control Design

Programmatic Use

expand all

controlSystemDesigner

controlSystemDesigner opens the Control System Designer app using the following default control architecture:

The architecture consists of the LTI objects:

  • G — Plant model
  • C — Compensator
  • H — Sensor model
  • F — Prefilter

By default, the app configures each of these models as a unit gain.

controlSystemDesigner(plant)controlSystemDesigner(plant) initializes the plant, G, to plant.plant can be any SISO LTI model created with ss, tf, zpk or controlSystemDesigner`0, or an array of such models. controlSystemDesigner(`plant,controlSystemDesigner`2)controlSystemDesigner(`plant,controlSystemDesigner`2) initializes the compensator, C, to the SISO LTI model`controlSystemDesigner`2.controlSystemDesigner(`plant,controlSystemDesigner`2,`controlSystemDesigner`8)controlSystemDesigner(`plant,controlSystemDesigner`2,`controlSystemDesigner`8) initializes the sensor model, H, to `controlSystemDesigner`8.`controlSystemDesigner`8 can be any SISO LTI model or an array of such models. If you specify both `plant and`controlSystemDesigner`8 as LTI model arrays, the lengths of the arrays must match. controlSystemDesigner(plant,controlSystemDesigner`2,`controlSystemDesigner`8,`controlSystemDesigner`9)controlSystemDesigner(`plant,controlSystemDesigner`2,controlSystemDesigner`8,`controlSystemDesigner`9) initializes the prefilter model, F, to the SISO LTI model`controlSystemDesigner`9.controlSystemDesigner(`plant`5) controlSystemDesigner(`plant`5) opens the app and specifies the initial graphical editor configuration. ``controlSystemDesigner(`plant`7 can be any of the following character vectors, or a cell array of multiple character vectors.controlSystemDesigner(`plant`8 — Root locus editorcontrolSystemDesigner(`plant`9 — Open-loop Bode EditorcontrolSystemDesigner(`plant`0 — Open-loop Nichols EditorcontrolSystemDesigner(`plant`1 — Bode Editor for the closed-loop response from prefilter input to the plant output

In addition to opening the specified graphical editors, the app plots the closed-loop, input-output step response.

controlSystemDesigner(plant`5,`plant,controlSystemDesigner`2,`controlSystemDesigner`8,`controlSystemDesigner`9)controlSystemDesigner(`plant`5,`plant,`controlSystemDesigner`2,`controlSystemDesigner`8,`controlSystemDesigner`9) specifies the initial plot configuration and initializes the plant, compensator, sensor, and prefilter using the specified models. If a model is omitted, the app uses the default value.

`plant`2)

`plant`2) opens the app and initializes the system configuration using the initialization data structure `plant`4. To create `plant`4, use `plant`6.

`plant`7)

`plant`7) opens the app and loads a previously saved session. `plant`9 is the name of a session data file on the MATLAB path. This data includes the current system architecture and plot configuration, and any designs and responses saved in the Data Browser.

To save a session, in the Control System Designer app, on the Control System tab, click

Save Session.

Version History

Introduced in R2015a

expand all

R2023b: Design controllers in Simulink Online

You can now design controllers in Simulink Online™ using Control System Designer.

R2021b: Support for opening SISO Design Tool sessions saved before release R2016a has been removed

Chủ đề