viewGoal
View tuning goals; validate design against tuning goals
Description
viewGoal(
displays a graphical view of a tuning
goal or vector of tuning goals, specified as Req
)TuningGoal
objects.
The form of the tuning-goal plot depends on the specific tuning goals you use. Plots
for time-domain tuning goals typically show the target time-domain response
specified in the tuning goal. Plots for frequency-domain tuning goals typically show
a shaded area that represents the region in which the tuning goal is
violated.
When you provide a vector of tuning goals, viewGoal
plots each
tuning goal on separate axes in a single figure window.
viewGoal(
plots the
performance of a tuned control system against the tuning goal or goals. The form of
the tuning-goal plot depends on the specific tuning goals you use. Typically, the
plot shows both the target response specified in the tuning goal and the
corresponding response of the control system represented by Req
,T
)T
.
For more information about interpreting tuning-goal plots, see Visualize Tuning Goals.
Examples
Input Arguments
Tips
For general information about how to interpret tuning-goal plots, see Visualize Tuning Goals. For information about interpreting margin-goal plots in particular, see Stability Margins in Control System Tuning.
For varying tuning goals that you create with
varyingGoal
, the tuning-goal plot generated byviewGoal
lets you examine the tuning goal at each design point. For more information, see Validate Gain-Scheduled Control Systems.With some frequency-domain tuning goals, there might be a difference between the gain profile you specify in the tuning goal (dashed line), and the profile the software uses for tuning (shaded region). In this case, the shaded region of the plot reflects the profile that the software uses for tuning. The gain profile you specify and the gain profile used for tuning might differ if:
You tune a control system in discrete time, but specify the gain profile in continuous time.
The software modifies the asymptotes of the specified gain profile to improve numeric stability.
For more information about how an enforced tuning goal might differ from the goal, see Visualize Tuning Goals.
For MIMO feedback loops, the
LoopShape
,MinLoopGain
,MaxLoopGain
,Margins
,Sensitivity
, andRejection
goals are sensitive to the relative scaling of each SISO loop.systune
tries to balance the overall loop-transfer matrix while enforcing such goals. The optimal loop scaling is stored in the tuned closed-loop model orslTuner
interfaceT
returned bysystune
. For consistency,viewGoal(R,T)
takes this scaling into account, and plots the scaled open-loop response or sensitivity. To omit this scaling, useviewGoal(R,clearTuningInfo(T))
.Modifying
T
might compromise the validity of the stored scaling. Therefore, if you make significant modifications toT
, retuning is recommended to update the scaling data.
Version History
Introduced in R2012b
See Also
systune
| genss
| evalGoal
| systune (for slTuner)
(Simulink Control Design)