vrfttuneOptions
Description
returns an options object based on the controller structure for virtual reference feedback
tuning.opt = vrfttuneOptions(ControllerStructure)
Examples
Create option set for vrttune to specify the controller structure for tuning.
By default, vrfttuneOptions returns options for parallel-form PID controller.
options = vrfttuneOptions
options =
ParallelPID with properties:
PIDType: 'PI'
IntegratorMethod: 'ForwardEuler'
DiscretizationMethod: 'tustin'
To set the values of options, use dot notation.
options.PIDType = "PID"options =
ParallelPID with properties:
PIDType: 'PID'
IntegratorMethod: 'ForwardEuler'
DiscretizationMethod: 'tustin'
Similarly, you can create options for other controller structures such as FIR filter, LTI combination, and tunable LTI.
options = vrfttuneOptions("fir-filter")options =
FIRFilter with properties:
FilterOrder: 5
DiscretizationMethod: 'tustin'
options = vrfttuneOptions("lti-combination")options =
LTICombination with properties:
LinearControlBasis: {2×1 cell}
DiscretizationMethod: 'tustin'
options = vrfttuneOptions("tunable-lti")options =
TunableLTI with properties:
TunableController: [1×1 tunablePID]
OptimizationOptions: [1×1 optim.options.Fmincon]
DiscretizationMethod: 'tustin'
Input Arguments
Controller structure, specified as a string scalar with one of the following values.
"parallel-pid"— Parallel-form PID controllers"fir-filter"— FIR filters"lti-combination"— Linear combination of LTI systems"tunable-lti"— Tunable LTI objects such astunableTFortunablePID.
Output Arguments
Option set, returned as one of the following objects.
| Options Object | Properties | Values |
|---|---|---|
vrfttune.options.ParallelPID | PIDType | Specify the PID controller type.
|
IntegratorMethod | Specify the PID integrator method α(z).
| |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.FIRFilter | FilterOrder | Specify a positive integer between 2 and 10. |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.LTICombination | LinearControlBasis | Linear systems
Ci(z) in the
generic-form control structure, specified as a cell array of LTI objects
( Specify this parameter such that the value matches the form of the controller to tune. This can also represent a combination of linearly parameterized controllers. Here, the controller parameters θi are ordered corresponding to the index of LTI objects provided in the array. For example, the default value of this parameter represents a discrete-time parallel-form PID controller, with θ1 as the proportional gain and θ2 as the integral gain. |
DiscretizationMethod | Specify the discretization method.
| |
vrfttune.options.TunableLTI | TunableController | Specify a tunable LTI object. You can provide the following tunable LTI objects:
|
OptimizationOptions | Specify fmincon options created using
optimoptions. | |
DiscretizationMethod | Specify the discretization method.
|
Version History
Introduced in R2026a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)