Simulink Control Design™ - MathWorks

(Tuis.) #1

The form in which the software presents the optimized tuning-goal values depends on
whether you are tuning with Control System Tuner or at the command line.


Tuning Results at the Command Line


The systune command returns the control system model or slTuner interface with the
tuned parameter values. systune also returns the best achieved values of each fi(x) and
gj(x) as the vector-valued output arguments fSoft and gHard, respectively. See the
systune reference page for more information. (To obtain the final tuning goal values on
their own, use evalGoal.)


By default, systune displays the best achieved final values of the tuning goals in the
command window. For instance, in the example “PID Tuning for Setpoint Tracking vs.
Disturbance Rejection” (Control System Toolbox), systune is called with one soft
requirement, R1, and two hard requirements R2 and R3.


T1 = systune(T0,R1,[R2 R3]);


Final: Soft = 1.12, Hard = 0.99988, Iterations = 143


This display indicates that the largest optimized value of the hard tuning goals is less than
1, so both hard goals are satisfied. The soft goal value is slightly greater than one,
indicating that the soft goal is nearly satisfied. You can use tuning-goal plots to see in
what regimes and by how much the tuning goals are violated. (See “Visualize Tuning
Goals” on page 10-187.)


You can obtain additional information about the optimization progress and values using
the info output of systune. To make systune display additional information during
tuning, use systuneOptions.


Tuning Results in Control System Tuner


In Control System Tuner, when you click , the app compiles a Tuning Report
summarizing the best achieved values of fi(x) and gj(x). To view the tuning report
immediately after tuning a control system, click Tuning Report at the bottom-right
corner of Control System Tuner.


Interpret Numeric Tuning Results
Free download pdf