main content

getting started with the control system designer -凯发k8网页登录

this example shows how to tune compensators for a feedback control system using control system designer.

using control system designer you can:

1) define control design requirements on time, frequency, and pole/zero response plots.

2) tune compensators using:

  • automated design methods, such as pid tuning, imc, and lqg.

  • graphically tune poles and zeros on design plots, such as bode and root locus.

  • optimization-based control design to meet time-domain and frequency-domain requirements using simulink® design optimization™.

3) visualize closed-loop and open-loop responses that dynamically update to display the control system performance.

compensator design problem

for this example, design a compensator for the system

g(s)=1s 1

with the following design requirements:

  • zero steady-state error with respect to a step input.

  • 80% rise time less than 1 second.

  • settling time less than 2 seconds.

  • maximum overshoot less than 20%.

  • open-loop crossover frequency less than 5 rad/s.

open control system designer

use the standard feedback structure with the controller in the forward path. this structure is the default control system designer architecture.

open control system designer with the specified plant.

controlsystemdesigner(tf(1,[1,1]))

on the control system tab, you can select a compensator tuning method, and create response plots for analyzing your controller performance. you can also store, compare, and export different control system designs.

for this example, graphically tune your compensator using the root locus editor and open-loop bode editor, and validate the design using the closed-loop step response. by default, control system designer displays these responses when it opens. to add additional response plots, click new plot.

add design requirements

add the time-domain design requirements to the step response plot. right-click the plot area, and select design requirements > new. in the design requirement type drop-down list, select step response bound. enter the time-domain design requirements.

click ok. the app adds the design requirement to the step response plot as a shaded exclusion region. to meet the requirement, the step response must remain outside of this region.

to specify the frequency-domain crossover requirement, right-click the bode editor plot area, and select design requirements > new. in the design requirement type drop-down list, select upper gain limit, and specify the design requirement.

click ok.

tune compensator

to meet the zero steady-state error design requirement, add an integrator to the compensator. right-click the root locus editor plot area, and select add pole or zero > integrator.

to create a desirable shape for the root locus plot, add a real zero near -2. right-click the root locus plot area and select add pole or zero > real zero. in the root locus plot, left-click the real axis near -2.

to create a faster response by increasing the compensator gain, in the bode editor, drag the magnitude response upward. to satisfy the crossover frequency requirement, keep the response below the exclusion region in the bode editor.

to view the compensator, right-click in the bode editor or root locus editor plot area, and select edit compensator...

you can also tune the compensator parameters using the compensator editor dialog box.

automated compensator tuning

in addition to graphical tuning, you can also use automated tuning methods. to select an automated tuning method, click tuning methods.

  • pid tuning, imc tuning, and lqg synthesis - compute initial compensator parameters based on tuning specifications such as closed-loop time constants. for an example, see .

  • optimization-based tuning - optimize compensators using both time-domain and frequency-domain design requirements (requires simulink design optimization). for an example, see (simulink design optimization).

  • loop shaping - specify a desired target loop shape (requires robust control toolbox™).

see also

related topics

网站地图