TuningGoal.WeightedGain
Frequency-weighted gain constraint for control system tuning
Description
Use TuningGoal.WeightedGain to limit the
            weighted gain from specified inputs to outputs. The weighted gain is the maximum across
            frequency of the gain from input to output, multiplied by weighting functions that you
            specify. You can use the TuningGoal.WeightedGain
            tuning goal for control system tuning with tuning commands such as
                systune or looptune. 
After you create a tuning goal, you can configure it further by setting Properties of the object.
Creation
Description
                        Req =
TuningGoal.WeightedGain(inputname,outputname,WL,WR)
| ||WL(s)H(s)WR(s)||∞ < 1. | (1) | 
The notation ||•||∞ denotes the maximum gain across frequency (the H∞ norm).
Input Arguments
Properties
Examples
Tips
- This tuning goal imposes an implicit stability constraint on the weighted closed-loop transfer function from - Inputto- Output, evaluated with loops opened at the points identified in- Openings. The dynamics affected by this implicit constraint are the stabilized dynamics for this tuning goal. The- MinDecayand- MaxRadiusoptions of- systuneOptionscontrol the bounds on these implicitly constrained dynamics. If the optimization fails to meet the default bounds, or if the default bounds conflict with other requirements, use- systuneOptionsto change these defaults.
Algorithms
When you tune a control system using a TuningGoal, the software
            converts the tuning goal into a normalized scalar value
                f(x). x is the vector of
            free (tunable) parameters in the control system. The software then adjusts the parameter
            values to minimize f(x) or to drive
                f(x) below 1 if the tuning goal is a hard
            constraint.
For TuningGoal.WeightedGain,
                f(x) is given by:
T(s,x) is the closed-loop
            transfer function from Input to Output.  denotes the H∞ norm
            (see getPeakGain).
Version History
Introduced in R2012bSee Also
looptune | systune | looptune (for slTuner) (Simulink Control Design) | systune (for slTuner) (Simulink Control Design) | slTuner (Simulink Control Design) | viewGoal | evalGoal

